/* <<< BRASIL POBRE >>> Troca o nome do servidor pos esse servidor esta ON e é registrado Gamemode 100% desbugada e Configurada por DG HD SAMP. Por favor nao tirar os meus Creditos . Nunca os Creditos. Creditos:DG HD SAMP Scripter:DG HD SAMP < || < TODO POSSO NA QUELE QUE MIN FORTALECE:) > || > */ //------------ Pastas do servidor --------------------// #include //#include //#include //#include #include #include #include #include #include //#include #define RESPAWN_VEHICLES_TIME (-1) // respawn de veiculos a cada (5 minutos) #define TIME_DESTROY_VEHICLE (15 * 60 * 1000)//(20 * 60 * 1000) // Tempo para destruir um veículo desocupado (20 minutos) Temp #include "../RYZ_Includes/config.cfg" //#include //#include //#include new PrimeiroLogin[MAX_PLAYERS]; new Text:TDEditor_TD[10]; #pragma disablerecursion #pragma warning disable 239 #pragma warning disable 217 #pragma warning disable 214 #define MAX_FREQUENCIAS 50 new SV_GSTREAM:Frequencia[MAX_FREQUENCIAS] = SV_NULL; new FrequenciaConectada[MAX_PLAYERS]; #define function%0(%1) \ forward%0(%1); public%0(%1) // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // new Float:PosicoesPlayer[MAX_PLAYERS][100][4], PosicoesPlayerContagem[MAX_PLAYERS], OldNick[MAX_PLAYERS][24], NewNick[MAX_PLAYERS][24], PlayerJaSpawnadoProf[MAX_PLAYERS]; // Recuperação senha #define MAX_TENTATIVAS_LOGIN 5 #define D_REGISTRAR_EMAIL 27302 #define D_CODIGO_RECUPERAR_CONTA 27303 #define D_NOVA_SENHA_RECUPERAR 27304 #define D_CIDADE_ESCOLHER_EMPREGO 27289 #define MAX_TAMANHO_EMAIL 100 #define LINK_IMAGEM_EMAIL "i.gyazo.com/c3f631a3c32e6fb76c03351c008b526f.png" #define SAMPMAILJS_RESPONSE_OK 200 #define SAMPMAILJS_RESPONSE_FORBIDEN 403 #define SAMPMAILJS_RESPONSE_ERROR 400 #define SAMPMAILJS_RESPONSE_NOTFOUND 404 #define SAMPMAILJS_URL "135.148.6.199:9547" // IP + PORT of the server running the NodeJS script #define SAMPMAILJS_PASSWORD "lucastavora2005@gmail.com" // This password should be the same as the NodeJS script #define SAMPMAILJS_CONSOLELOG 1 // Log some information on console #define SAMPMAILJS_MAXPOSTDATA 1024 // Cellsize of the variable that holds the data sent to the script. Lower for small emails, higher for more extense emails #define USAR_TEMPLATE 0 // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // new NumeroTentativasLogin[MAX_PLAYERS]; new CodigoRecuperacaoConta[MAX_PLAYERS]; new OrgVehiclesListitem[MAX_PLAYERS][100]; new EmpVehiclesListitem[MAX_PLAYERS][100]; new JaSeCandidatou[MAX_PLAYERS]; #define VerificarAdm(%0, %1) if(PlayerInfo[%0][pAdmin] >= %1) // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // // beditorobjetos // Dialogs #define D_MODELO_OBJETO_SHOW 12830 // Variáveis new EditandoObjID[MAX_PLAYERS] = {-1, ...}, TipoEdicaoObj[MAX_PLAYERS], Float:OldPosObj[MAX_PLAYERS][6], Text:TDEditorObjetos[23], PlayerText:PTDEditorObjetos[MAX_PLAYERS][2]; // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // // bmortes // Defines #define LEVEL_PARAMEDICO 5 new Float:OldPos[MAX_PLAYERS][4], OldBaixada[MAX_PLAYERS], OldInterior[MAX_PLAYERS], TimerAceitarMorte[MAX_PLAYERS] = {-1, ...}, TempoAceitarMorte[MAX_PLAYERS], PermitidoSetarAnimMorte[MAX_PLAYERS], HaviaMorrido[MAX_PLAYERS], TempoSetarVidaAceitarMorte[MAX_PLAYERS], ReanimandoPlayerID[MAX_PLAYERS] = {INVALID_PLAYER_ID, ...}, PorcentagemPlayerReanimando[MAX_PLAYERS], PlayerJaEstaMorrendo[MAX_PLAYERS], bool:PlayerMurreu[MAX_PLAYERS], PlayerChamouMorte[MAX_PLAYERS], PlayerTempoTaser[MAX_PLAYERS], SelecionandoEmpregoID[MAX_PLAYERS]; // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // // ====== Variavel Global (Geral) ======== // // #define MAX_FAMILIAS 15 #define PASTA_FAMILIAS "Familias/Familia%d.ini" new bool:CelularAberto[MAX_PLAYERS] = false; new gstring[500]; #define minutos(%0) (1000 * %0 * 60) #define horas(%0) (1000 * %0 * 60 * 60) #define segundos(%0) (1000 * %0) #define dias(%0) (1000 * %0 * 60 * 60 * 24) #if defined MAX_ORGS #undef MAX_ORGS #define MAX_ORGS 39 #endif native IsValidVehicle(vehicleid); new ObjectSpawn; #define DIALOG_SALARIOS_EMPREGOS 1342 new TimingPlayerMorto[MAX_PLAYERS]; new SenhaAdministracao[45]; new ErroSenhaAdmin[MAX_PLAYERS]; new TimerPayDay[MAX_PLAYERS]; //new TimerFome[MAX_PLAYERS]; //new TimerSede[MAX_PLAYERS]; //variaveis brazz new Text:TxDCelular[46]; new TimerCairBolso[MAX_PLAYERS]; new CountAniv = 0; new BRASILJogadores; new JaPegouAniversarioCNF[MAX_PLAYERS]; new TaTrampandoAerio[MAX_PLAYERS] = -1; new Text:ConceTxD[13]; new bool:helperhide[MAX_PLAYERS]; new PlayerText:ConceTxDPlayer[3]; new carbrowse[MAX_PLAYERS]; #define rRy_KDinheiroX 5000 new rRy_CheckFINAL; new rRy_CheckSTART; new rRy_AddCheck; new rRy_CheckGPRace[MAX_PLAYERS]; new rRy_M11_CPR_ON[MAX_PLAYERS]; new rRy_CorAtivada; new Text:rRy_Textdraw0; new rRy_TimeM, rRy_sTimeS;//DEFINA: TimeM = 10 => TEMPO total do CRONOMETRO new RadioFre[MAX_PLAYERS]; static const Float:rRy_Positions[][] = { {369.7630,-1943.2350,7.5078,0.4176}, // percurso {370.0848,-1745.1377,15.9748,0.6206}, // percurso {369.7104,-1648.5746,32.5595,3.9694}, // percurso {330.0205,-1641.6261,32.9412,25.3081}, // percurso {326.2271,-1584.6870,32.9452,27.7016}, // percurso {240.8129,-1568.6670,32.8829,32.2161}, // percurso {290.1265,-1491.9939,32.4705,1.3695}, // percurso {242.9723,-1495.4894,23.2158,135.3003}, // percurso {189.8713,-1520.7295,12.3717,59.7864}, // percurso {273.2644,-1423.8282,13.4939,300.1518}, // percurso {399.1125,-1358.5781,14.5006,299.8593}, // percurso {621.3008,-1218.8259,17.9432,228.3603}, // percurso {638.8952,-1319.9540,13.2228,264.8658}, // percurso {774.9702,-1319.9440,13.2227,264.2312}, // percurso {777.8385,-1393.8575,13.2318,186.4465}, // percurso {878.3889,-1400.5743,12.7432,269.7545}, // percurso {989.6467,-1399.8401,12.8469,274.4407}, // percurso {994.7233,-1340.2134,13.2205,357.0450}, // percurso {1054.4115,-1320.8947,13.2197,284.9165}, // percurso {1076.2679,-1280.3705,13.2289,271.9713}, // percurso {1150.8817,-1279.8496,13.4446,277.9372}, // percurso {1154.1395,-1207.1810,19.0204,318.5946}, // percurso {1216.3022,-1207.4227,19.0139,288.6138}, // percurso {1217.2921,-1173.8110,22.3356,354.3228}, // percurso {1321.1744,-1175.1351,23.5135,285.8863}, // percurso {1342.9116,-1125.7501,23.5166,350.6487}, // percurso {1368.3730,-1036.7510,25.9972,278.6820}, // percurso {1480.3590,-1034.0222,23.4964,228.4628}, // percurso {1482.4388,-1159.9988,23.7383,184.0795}, // percurso {1609.0988,-1160.3461,23.7415,270.0982}, // percurso {1776.1952,-1167.9551,23.4937,259.1996}, // percurso {1851.1956,-1261.2405,13.2264,208.3896}, // percurso {1938.4705,-1261.8569,18.8172,269.9671}, // percurso {2061.0603,-1260.7325,23.6563,271.3124}, // percurso {2182.2058,-1258.9539,23.7444,274.6017}, // percurso {2299.8877,-1258.5562,23.7645,275.0848}, // percurso {2343.9995,-1384.4570,23.6666,101.1148}, // percurso {2342.8723,-1588.8428,23.5167,180.2133}, // percurso {2347.4851,-1731.7308,13.2191,260.5341}, // percurso {2481.9800,-1730.0652,13.2186,315.1707}, // percurso {2463.8904,-1658.5371,13.1291,91.2796}, // percurso {2342.7734,-1658.0112,13.2184,62.3915}, // percurso {2342.4963,-1565.8163,23.6871,29.2740} // percurso }; static M11_MapIconCPR[MAX_PLAYERS]; static const Float:rRy_PosSTARTr[][] ={ {367.2322,-2014.9354,7.5083,2.2446}, // spawn carros {372.1550,-2014.3564,7.5657,0.3935}, // spawn carros {367.3667,-2021.5979,7.5083,0.3091}, // spawn carros {372.1385,-2022.0154,7.5082,0.0317}, // spawn carros {372.2603,-2029.1499,7.5083,1.7281}, // spawn carros {367.2879,-2029.8271,7.5079,0.5059}, // spawn carros {367.3530,-2037.1812,7.5084,0.5059}, // spawn carros {372.5417,-2036.5508,7.5080,0.7138}, // spawn carros {372.6172,-2043.4932,7.5082,1.7378}, // spawn carros {367.2508,-2044.3519,7.5081,359.9284} // spawn carros }; static rRy_PlayersID[sizeof(rRy_PosSTARTr)],rRy_Carrosid[sizeof(rRy_PosSTARTr)]; //static const rRy_ModelCar[][] ={ // {502} //}; //new TempJaSetouFomeSede[MAX_PLAYERS]; new Text:TelaLoginCNF[8]; new VarLoanding[MAX_PLAYERS]; new timerload[MAX_PLAYERS]; new Text:TelaLoginCNF2[15]; new PlayerText:TelaLoginCNF3[MAX_PLAYERS][1]; new VehicleAluguel[6]; new bool:MotorLigado[MAX_VEHICLES]; new CarroAluguel[MAX_PLAYERS]; new PlayerCarroIDOrg[MAX_PLAYERS] = {INVALID_VEHICLE_ID, ...}; new PlayerCarroIDEmp[MAX_PLAYERS] = {INVALID_VEHICLE_ID, ...}; new PlayerText:TxDBincoPlayer[MAX_PLAYERS][24]; new PaginaBinco[MAX_PLAYERS] = 1; new MudarSenhaAceito[MAX_PLAYERS]; new TimerHosp[MAX_PLAYERS]; new FlyOn[MAX_PLAYERS]; new Text:CaixaEletroCNF[28]; new PlayerText:CaixaEletroCNFPlayer[MAX_PLAYERS][10]; new bool:CarregouArmas[MAX_PLAYERS]; new BincoInfo[12][2] = { {294, 3000},//pag 1 {18, 1000},//pag 1 {1, 1000},//pag 1 {26, 1000},//pag 1 {22, 3000},//pag 2 {29, 1000},//pag 2 {30, 1000},//pag 2 {44, 1000},//pag 2 {40, 3000},//pag 3 {31, 1000},//pag 3 {56, 1000},//pag 3 {91, 1000}//pag 3 }; //objetos pedagio new portao1; new portao2; new portao3; new portao4; new portao5; new portao6; new portao7; new portao8; #define SemPermCMD SCM(playerid, COLOR_GRAD1, "Você não está autorizado a utilizar esse comando."); #define VerificarID(%0) if(%0 == INVALID_PLAYER_ID ) return SCM(playerid, COLOR_GRAD1, "Não existe nenhum jogador on-line com esse ID/Nick!"); #define VerificarTrampoADM if(admtrampando[playerid] != 1 && PlayerInfo[playerid][pAdmin] < 1340 ) return SCM(playerid, COLOR_GRAD1, "você precisa estar em modo trabalho, use /tb."); new PortaoTDT; new TdTText[2]; new bool:BincoAberta[MAX_PLAYERS] = false; new bool:CaixaAberto[MAX_PLAYERS] = false; #define EditAttachedObject(%0,%1) \ EditAttachedObjectEx(%0, %1) #define AddVehicleComponent(%0,%1) \ AddVehicleComponentEx(%0, %1) #define EMPRESA_WORLD 500 //Modulos #include <../RYZ_Includes/fixobject.inc> // Include do Leomay para objetos sumindo // banco de dados #define HOST "localhost" #define USUARIO "root" #define DATABASE "BPC" #define SENHA "" #define strcatEx(%0,%1,%2) \ format(String, sizeof(String), %1, %2) , strcat(%0, String) #define MAX_RADAR 15 #define PastaRadares "Radares/Radar%d.ini" #define dialog_nascer 9631 //#define DIALOG_VENDER_CARRO_CONCE 15000 static lString[256], radarid[MAX_PLAYERS], vel, Text3D:TRadar[MAX_RADAR], MapIconRadar[MAX_RADAR], //Variavel[MAX_PLAYERS], ObjetoRadar[2][MAX_RADAR], CriandoRadar, Float:PosXradar, Float:PosYradar, Float:PosZradar, Float:Anguloradar; enum radar { Float:lPosXradar, Float:lPosYradar, Float:lPosZradar, Float:lAnguloradar, lVelocidade, }; new Float:SpawnsLS[][4] = { //SPAWNS CIVIL DA CIDADE {1450.0985,-2287.4214,13.5469, 89.9801}, {1450.0985,-2287.4214,13.5469,0.5039}, {1450.0985,-2287.4214,13.5469,89.9801}, {1450.0985,-2287.4214,13.5469,89.9801} }; enum fInfo{ fID, fNome[24], fLider[24], fSubLider[24], Float:fSpawnX, Float:fSpawnY, Float:fSpawnZ, fVenc, fDias, fPickup, Text3D:fLabel, Float:fExitX, Float:fExitY, Float:fExitZ, Membro1[MAX_PLAYER_NAME], Membro2[MAX_PLAYER_NAME], Membro3[MAX_PLAYER_NAME], Membro4[MAX_PLAYER_NAME], Membro5[MAX_PLAYER_NAME], Membro6[MAX_PLAYER_NAME], Membro7[MAX_PLAYER_NAME], Membro8[MAX_PLAYER_NAME], Membro9[MAX_PLAYER_NAME], Membro10[MAX_PLAYER_NAME] }; new FamiliaInfo[MAX_FAMILIAS][fInfo], PlayerFamilyID[MAX_PLAYERS] = {-1, ...}; enum SalarioInfo { GanhoEletricista, GanhoCaminhoneiro, GanhoMOnibus, GanhoFrentista }; new salInfo[SalarioInfo]; new InfoRadar[MAX_RADAR][radar]; new EletricistaTimer[MAX_PLAYERS]; new CaminhoneiroTimer[MAX_PLAYERS]; new CaminhoneiroTrampando[MAX_PLAYERS]; new bool:LogadoAdm[MAX_PLAYERS]; #define PATH "SalveINFO" //PASTA que vai as infos #define DG_Central_Menu 9731 #define DG_Prox_Serv DG_Central_Menu+1 #define yMP_TLP_Eletrec 5 //Tempo para terminar o serviço #define yMP_TLP_CarFort 3 //Tempo para terminar o serviço #define yMP_VAlor_CarFort 0.7 //Defina o valor que o Eletricista vai receber (Distancia * 0.4 ) Tipo: 1700KM * 0.4 new yMP_Infos[MAX_PLAYERS], yMP_Carro[MAX_PLAYERS], yMP_Bau[MAX_PLAYERS], yMP_Skin[MAX_PLAYERS], yMP_PegouServ[MAX_PLAYERS], yMP_KillTimer[MAX_PLAYERS], yMP_AddQntLP[MAX_PLAYERS], yMP_Objs[4][MAX_PLAYERS], yMP_Valor[MAX_PLAYERS], yMP_TempPegar[MAX_PLAYERS], Float:yMP_Pos[3][MAX_PLAYERS], yMPStr[128] ; new pID; static const Float:yMP_PsStrCarFort[] ={//POSIÇÃO INICIAL 2376.9092,2460.9690,10.8203 }; static const Float:yMP_PosC_CarFort[][] ={//POSIÇÕES DOS CARROS DE SPAWN {2372.6758,2425.9011,10.8660,0.1533}, {2372.5762,2436.9880,10.8645,0.6198}, {2372.0767,2461.8535,10.8646,1.4021}, {2372.0505,2483.5945,10.8657,359.5169} }; static const Float:yMP_PosR_CarFort[][] ={ {1933.1891,-1781.5945,13.3828,180.7111}, // carro forte {1362.4945,-1282.5206,13.3828,177.8443}, // carro forte {1348.9617,-1754.6143,13.3545,269.1442}, // carro forte {1479.2872,-1737.3467,13.5469,268.6174}, // carro forte {1536.8224,-1671.1075,13.3828,178.4817}, // carro forte {1826.4287,-1680.9351,13.3828,177.1077}, // carro forte {2244.9319,-1660.8995,15.4690,253.8938}, // carro forte {2116.2571,902.5782,10.8203,90.8582}, // carro forte {2038.6432,1004.4513,10.6719,359.4625}, // carro forte {1998.7284,1243.2778,10.8130,89.5982}, // carro forte {2221.6233,1839.7885,10.8203,184.7588}, // carro forte {2154.9038,2054.8733,10.6719,356.1835}, // carro forte {2156.0461,2171.2361,10.6719,358.2710}, // carro forte {2094.5940,2221.0520,10.8203,89.5322}, // carro forte {2361.6919,2069.2295,10.6719,176.1784}, // carro forte {2339.8584,2159.9441,10.7266,344.4760}, // carro forte {2411.2363,2132.6196,10.6719,274.8148}, // carro forte {-1970.3262,284.6496,35.1719,159.1194}, // carro forte {-1883.3494,834.6958,35.0078,274.2083}, // carro forte {-1775.5508,856.5552,24.7344,265.6058}, // carro forte {-1970.4480,1117.2413,53.3462,182.4131}, // carro forte {-1676.8243,427.6898,7.1797,310.2486}, // carro forte {-1613.6200,675.1901,7.1875,82.3397}, // carro forte {-1644.2883,1217.8087,7.0391,44.0316}, // carro forte {-2621.5471,1408.6351,7.1016,56.6280}, // carro forte {-2755.3540,787.6356,53.7393,179.5082}, // carro forte {-2723.4780,-311.3126,7.1875,134.1395}, // carro forte {1477.2491,-1028.6914,23.8256,268.8506} // entregar (BANCO) }; #define yMP_SegsPegarServ 15 //new MySQL:BRASILSQL; new GLOBALString[128]; #define DIALOG_CREDITOS 1248 new Gate; new bool:SeRegistrouAgora[MAX_PLAYERS]; new SV_GSTREAM:gstream = SV_NULL; new SV_LSTREAM:lstream[MAX_PLAYERS] = { SV_NULL, ... }; // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // #define D_QUER_ADQUIRIR_ITEM_SERVER 27392 #define C_COMPRA_INVALID 0 #define C_COMPRA_CARRO 1 new VendendoItemServerPara[MAX_PLAYERS] = {INVALID_PLAYER_ID, ...}, ComprandoItemServerDe[MAX_PLAYERS] = {INVALID_PLAYER_ID, ...}, IndexIDVendendo[MAX_PLAYERS] = {-1, ...}, IndexPrecoVendendo[MAX_PLAYERS], TempoComprarItemServer[MAX_PLAYERS], TimerComprarItemServer[MAX_PLAYERS] = {-1, ...}, TipoCompraItemIDD[MAX_PLAYERS]; // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // #define CallBack::%0(%1) forward %0(%1); \ public %0(%1) enum pInfo { pBene, pKey[128], pPlatina, pVW, pLevel, pVotou, pVoipMute, pQCoinAgendado, pCashAgendado, pYoutuber, pBonusYT, pDiamante, pAdmin, pFuncao[64], pTITULOP[128], pAdminTemp, pKitCocaina, pKitCrack, pAvaliacoes, pAFinal, SenhaFila, pTimerTuto, pAgendado, pTitulo, pMoneyAgendado, bool:ComExplosivo, bool:pGalao, bool:pIsqueiro, bool:pResetado, bool:pPatins, bool:pTelevisao, bool:pRadio, bool:pComRadio, pMatouSniper, pTemCarro, gPlayerUsandoPlataformaID, pTrazerChuck, pTimerBalao, pTempoAgendado, pQMoneyAgendado, pAdminAgendou[64], pMotivoAgendou[128], pContratos, pCigarros, pDiaBanTemp, pMesBanTemp, pAnoBanTemp, pDataBanTemp, pEvento, pEventoa, pExplosivos, pHelper, pAviso, pVIP, vipWait, pOuros, pJackSkill, pModel, pChar, gPupgrade, pConnectTime, pReg, pSex, pAge, pAcP, pMuted, pSequestrado, pExp, pCash, pConta, pCasher, pCrimes, pKills, pDeaths, pPhoneBook, pLottoNr, pLottoWin, pEmprego, pGasReserva, pSalario, pHeadValue, pJailed, pPhousekey, pJailTime, pArmasb, pAnGov, pBloqNoob, pMats, pDrogas, pDrogas2, pDrogas3, pLider, pMembro, pCargo, pSkin, pContractTime, pMinutosOn, pHorasOn, pDias5On, pDias15On, pMesOn, bool:p5VOk, bool:p15VOk, pSexSkill, pBoxSkill, pLawSkill, pMechSkill, pNewsSkill, pChave, pDrogasSkill, pCarSkill, pLimparb, Float:pSHealth, Float:pSArmour, pInt, pCapacete, pLocal, pPnumber, pTelColor, pPHousekey, pPbiskey, pPFazkey, Float:pPos_x, Float:pPos_y, Float:pPos_z, pInterior, pCarLic, pFlyLic, pBoatLic, pGunLic, pPayDay, pCDPlayer, pAlcoholPerk, pDrugPerk, pMiserPerk, pPainPerk, pTraderPerk, pTut, pWarns, pMarried, pMarriedTo[64], pSpawn, pVeiculo, pCarKey, psMats, pLuta, bool:pAjustado, pDorgado, pDorgado2, pDoenca, pCreditos, pLaastLogin[255], pLastVerification[255], pGun1, pGun2, pGun3, pGun4, pGun5, pGun6, pGun7, pGun8, pGun9, pGun10, pGun11, pGun12, pAmmo1, pAmmo2, pAmmo3, pAmmo4, pAmmo5, pAmmo6, pAmmo7, pAmmo8, pAmmo9, pAmmo10, pAmmo11, pAmmo12, pCheckInfoOrg, pBanTemp, pBan, pSementes, pDecod, pChatVipDesativado, pChatNoticias, pChatTerritorio, pMenuRG, //pChatFomeSede, pChatNoob, pDiasvip, pDiaVIP, pMesVIP, pAnoVIP, pDiasD, pDiaD, pMesD, pAnoD, pCidadeEscolheu, pTituloPersonalizado, pAtendimentos, pTrocaNick, pULDia, pULMes, pULAno, pPontosHab, pSkinFixa, pChatWppON, pVezesPreso, pPayDayTime, pFomeSedeDesativado, pFome, pSede, pDinheiroSujo, //familias pFamiliaID, pFamiliaCargo, Float:VelocidadePortaoMover, Float:VelocidadePortaoMoverRot, PlayerDesconectouMorto, Float:OldPosSaiu[4], InteriorSaiu, CidadePegouEmprego, }; new PlayerInfo[MAX_PLAYERS][pInfo]; //#include new Text3D:TituloPlayerBrazz[MAX_PLAYERS]; new comprararma[MAX_PLAYERS]; new voIP[MAX_PLAYERS]; new Text3D:TextovoIP[MAX_PLAYERS]; new LiberaCrack[MAX_PLAYERS]; new LiberaCocaina[MAX_PLAYERS]; new InfoCont[3]; // ==================== [ SISTEMA DE ELEIÇOES ] ===================== //===================================[Sistema de Eleições]====================// new EleicoesOn; enum Canditato { CandNome[MAX_PLAYER_NAME], CandVotos, }; new CandidatoInfo[11][Canditato]; CallBack:: SaveEleicoes() { new idx; new File: file2; print("===========[Salvando Eleições]============"); while (idx < sizeof(CandidatoInfo)) { new coordsstring[128]; format(coordsstring, sizeof(coordsstring), "%s|%d\n",CandidatoInfo[idx][CandNome],CandidatoInfo[idx][CandVotos]); if(idx == 0) { file2 = fopen("Eleicoes/Eleicoes.cfg", io_write); } else { file2 = fopen("Eleicoes/Eleicoes.cfg", io_append); } printf("Candidato: %s, Salvo!", CandidatoInfo[idx][CandNome]); fwrite(file2, coordsstring); idx++; fclose(file2); } print("======================================="); return 1; } CallBack:: AbrirEleicoes() { new arrCoords[2][64]; new strFromFile2[128]; new File: file = fopen("Eleicoes/Eleicoes.cfg", io_read); if (file) { new idx = 0; print("===========[Carregando Eleições]============"); while(idx < sizeof(CandidatoInfo)) { fread(file, strFromFile2); split(strFromFile2, arrCoords, '|'); strmid(CandidatoInfo[idx][CandNome], arrCoords[0], 0, strlen(arrCoords[0]), 255); CandidatoInfo[idx][CandVotos] = strval(arrCoords[1]); idx++; } printf("Sistema de Eleições Carregado! Canditatos: %d ", idx); } fclose(file); return 1; } CallBack:: EleicoesOnLoad() { new arquivo[64]; new idx = 1; format(arquivo, sizeof(arquivo), "Eleicoes/CheckEleicoes.cfg",idx); if(!DOF2_FileExists(arquivo)) { DOF2_CreateFile(arquivo); DOF2_SetInt(arquivo,"Eleicoes",EleicoesOn); } EleicoesOn = DOF2_GetInt(arquivo,"Eleicoes"); return 1; } CallBack:: EleicoesOnSave() { new arquivo[64]; new idx = 1; format(arquivo, sizeof(arquivo), "Eleicoes/CheckEleicoes.cfg",idx); if(!DOF2_FileExists(arquivo)) { DOF2_CreateFile(arquivo); DOF2_SetInt(arquivo,"Eleicoes",EleicoesOn); } DOF2_SetInt(arquivo,"Eleicoes",EleicoesOn); return 1; } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // // beditaracessorioandroid #define TAMANHO_DIMINUIR_AUMENTAR_X 0.1 #define TAMANHO_DIMINUIR_AUMENTAR_Y 0.1 #define TAMANHO_DIMINUIR_AUMENTAR_Z 0.1 #define TAMANHO_DIMINUIR_AUMENTAR_RX 3.0 #define TAMANHO_DIMINUIR_AUMENTAR_RY 3.0 #define TAMANHO_DIMINUIR_AUMENTAR_RZ 3.0 #define TAMANHO_DIMINUIR_AUMENTAR_SCALEX 0.1 #define TAMANHO_DIMINUIR_AUMENTAR_SCALEY 0.1 #define TAMANHO_DIMINUIR_AUMENTAR_SCALEZ 0.1 // Enums & Arrays enum Enum_InfoAttachedIndexed { r_Model, r_Bone, Float:r_OffSets[6], Float:r_Scale[3], r_MaterialColors[2], }; enum _:Tipo_EdicoesDD { EDICAO_POSICAO, // 0 EDICAO_ROTACAO, // 1 EDICAO_TAMANHO, // 2 }; enum { B_TD_EDIT_ATTACHED_OBJECT, B_TD_EDIT_DYNAMIC_OBJECT, } // Variáveis new VarAttachedIndexObj[MAX_PLAYERS][MAX_PLAYER_ATTACHED_OBJECTS][Enum_InfoAttachedIndexed], Float:VarOldPos[MAX_PLAYERS][6], Float:VarOldScale[MAX_PLAYERS][3], Text:TDAppAjustarObj[22], PlayerText:PTDAppAjustarObj[MAX_PLAYERS][1], bool:PainelAbertoEditObjAndroid[MAX_PLAYERS], EditandoObjetoAttachadoID[MAX_PLAYERS] = {-1, ...}, gPlayerVarTipoEdit[MAX_PLAYERS] = {EDICAO_POSICAO, ...}, pDrunkLevelLast[MAX_PLAYERS], bool:JaMostrouEscolherPlataforma[MAX_PLAYERS]; // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // // ==================== [ FORMATAR MSG GLOBAL ] ===================== new Gas[MAX_VEHICLES]; new GasETanto[MAX_PLAYERS]; new GranaGas[MAX_PLAYERS]; // SISTEMA DE FLASH VIATURAS // new LightPwr[MAX_VEHICLES]; new Flasher[MAX_VEHICLES] = 0; new FlasherState[MAX_VEHICLES]; new elettrampando[MAX_PLAYERS]; new obj[MAX_VEHICLES] = { INVALID_OBJECT_ID, ... }; new obj2[MAX_VEHICLES] = { INVALID_OBJECT_ID, ... }; new WString[256]; #define MensagemFormatada(%1,%2,%3,%4) do{format(WString,sizeof(WString),%3,%4);SendClientMessage(%1,%2,WString);}while(IsPlayerConnected(-1)) #define MensagemFormatadaAll(%1,%2,%3) do{format(WString,sizeof(WString),%2,%3);SendClientMessageToAll(%1,WString);}while(IsPlayerConnected(-1)) // evento tesouro new Float:tesourox,Float:tesouroy,Float:tesouroz; new tesouro; new EventoTesouro[MAX_PLAYERS]; // ANTI - BUG dos Carros // new CarroParticular[MAX_VEHICLES]; new PlayerCarroConce[MAX_PLAYERS] = {INVALID_VEHICLE_ID, ...}; // Bolsa Timer new BolsaBlock[MAX_PLAYERS]; new TimerTrabalho[MAX_PLAYERS]; // new GariTrabalhando[MAX_PLAYERS]; // Sistema de Veículos enum pHaul { pCapasity, pLoad, }; new PlayerHaul[MAX_VEHICLES][pHaul]; // Caminhoneiro new TimerDestroy[MAX_VEHICLES]; new bool:JaSpawnouVeh[MAX_PLAYERS]; new antibugcarros; new CreatedCar = 0; // Pega o total de veiculos criados new CriadoPorADM[MAX_VEHICLES]; new CarroORGID[MAX_VEHICLES]; new CarroEMPREGOID[MAX_VEHICLES]; new ObjMiliciaPortao; new VehicleNames[212][] = { {"Landstalker"},{"Bravura"},{"Buffalo"},{"Linerunner"},{"Perrenial"},{"Sentinel"},{"Dumper"}, {"Firetruck"},{"Trashmaster"},{"Stretch"},{"Manana"},{"Infernus"},{"Voodoo"},{"Pony"},{"Mule"}, {"Cheetah"},{"Ambulance"},{"Leviathan"},{"Moonbeam"},{"Esperanto"},{"Taxi"},{"Washington"}, {"Bobcat"},{"Mr Whoopee"},{"BF Injection"},{"Hunter"},{"Premier"},{"Enforcer"},{"Securicar"}, {"Banshee"},{"Predator"},{"Bus"},{"Rhino"},{"Barracks"},{"Hotknife"},{"Trailer 1"},{"Previon"}, {"Coach"},{"Cabbie"},{"Stallion"},{"Rumpo"},{"RC Bandit"},{"Romero"},{"Packer"},{"Monster"}, {"Admiral"},{"Squalo"},{"Seasparrow"},{"Pizzaboy"},{"Tram"},{"Trailer 2"},{"Turismo"}, {"Speeder"},{"Reefer"},{"Tropic"},{"Flatbed"},{"Yankee"},{"Caddy"},{"Solair"},{"Berkley's RC Van"}, {"Skimmer"},{"PCJ-600"},{"Faggio"},{"Freeway"},{"RC Baron"},{"RC Raider"},{"Glendale"},{"Oceanic"}, {"Sanchez"},{"Sparrow"},{"Patriot"},{"Quad"},{"Coastguard"},{"Dinghy"},{"Hermes"},{"Sabre"}, {"Rustler"},{"ZR-350"},{"Walton"},{"Regina"},{"Comet"},{"BMX"},{"Burrito"},{"Camper"},{"Marquis"}, {"Baggage"},{"Dozer"},{"Maverick"},{"News Chopper"},{"Rancher"},{"FBI Rancher"},{"Virgo"},{"Greenwood"}, {"Jetmax"},{"Hotring"},{"Sandking"},{"Blista Compact"},{"Police Maverick"},{"Boxville"},{"Benson"}, {"Mesa"},{"RC Goblin"},{"Hotring Racer A"},{"Hotring Racer B"},{"Bloodring Banger"},{"Rancher"}, {"Super GT"},{"Elegant"},{"Journey"},{"Bike"},{"Mountain Bike"},{"Beagle"},{"Cropdust"},{"Stunt"}, {"Tanker"}, {"Roadtrain"},{"Nebula"},{"Majestic"},{"Buccaneer"},{"Shamal"},{"Hydra"},{"FCR-900"}, {"NRG-500"},{"HPV1000"},{"Cement Truck"},{"Tow Truck"},{"Fortune"},{"Cadrona"},{"FBI Truck"}, {"Willard"},{"Forklift"},{"Tractor"},{"Combine"},{"Feltzer"},{"Remington"},{"Slamvan"}, {"Blade"},{"Freight"},{"Streak"},{"Vortex"},{"Vincent"},{"Bullet"},{"Clover"},{"Sadler"}, {"Firetruck LA"},{"Hustler"},{"Intruder"},{"Primo"},{"Cargobob"},{"Tampa"},{"Sunrise"},{"Merit"}, {"Utility"},{"Nevada"},{"Yosemite"},{"Windsor"},{"Monster A"},{"Monster B"},{"Uranus"},{"Jester"}, {"Sultan"},{"Stratum"},{"Elegy"},{"Raindance"},{"RC Tiger"},{"Flash"},{"Tahoma"},{"Savanna"}, {"Bandito"},{"Freight Flat"},{"Streak Carriage"},{"Kart"},{"Mower"},{"Duneride"},{"Sweeper"}, {"Broadway"},{"Tornado"},{"AT-400"},{"DFT-30"},{"Huntley"},{"Stafford"},{"BF-400"},{"Newsvan"}, {"Tug"},{"Trailer 3"},{"Emperor"},{"Wayfarer"},{"Euros"},{"Hotdog"},{"Club"},{"Freight Carriage"}, {"Trailer 3"},{"Andromada"},{"Dodo"},{"RC Cam"},{"Launch"},{"Police Car (LSPD)"},{"Police Car (SFPD)"}, {"Police Car (LVPD)"},{"Police Ranger"},{"Picador"},{"S.W.A.T. Van"},{"Alpha"},{"Phoenix"},{"Glendale"}, {"Sadler"},{"Luggage Trailer A"},{"Luggage Trailer B"},{"Stair Trailer"},{"Boxville"},{"Farm Plow"}, {"Utility Trailer"} }; enum infoLocais { Float:xX, Float:yY, Float:zZ, orgID }; new LocalesE[][infoLocais] = { {1562.4778,-2180.2881,13.5469, 2}, // Mecanicos {1658.3730,2193.1682,10.8203, 2}, // Mecanicos LV {1935.3746,167.9037,37.2752, 3}, // agricultor {2427.1072,-2113.0928,13.5469, 4}, // Caminhoneiro {1776.8330,-1905.5629,13.3870, 5}, // taxista {1713.9789,1316.1366,10.8203, 5}, // taxista lv {2022.9463,-2094.6870,13.5469, 6}, // bombeiro {852.6471,-1444.1340,13.5838, 7}, // bombeiro {2161.5056,-1980.7163,13.5529, 8}, {1404.4366,-2339.2708,13.5469, 9}, //onibus {17.1238,-192.2843,1.8075,10}, {781.8199,-609.6881,16.3359,12}, //eletricista {-74.4159,-1135.4814,1.0781,13}, //caminhoneiro {1337.5746,1665.5343,10.8203, 15}, //entregador aereo {1183.7931, -1321.2831, 13.5755, 11}, // /medico veiculo {2018.2854, -1412.8673, 16.9922, 11}, // /medico veiculo 2 {1604.3811, 1843.8124, 10.8203, 11} // /medico lv veiculo }; new Locales[][infoLocais] = { // locais labelde orgs e emprego {1543.6316, -1643.9388, 5.8906, 1}, // /policia Militar veiculo {307.2565,-1515.0070,24.5938, 2}, // /Bope veiculo {-1310.4517, 458.7545, 7.1875, 3}, // /exercito veiculo //{1183.7931, -1321.2831, 13.5755, 4}, // /medico veiculo {759.4851,381.7263,23.1719, 5}, // /Tropa da Franca veiculo {910.7314,-1043.5062,31.6085, 6}, // GATE VEICULOS {1259.7423, -2014.2942, 59.4273, 7}, // /prefeitura veiculo {2350.9722,-1215.4221,22.5000, 8}, // /hitmans veiculo {748.5222, -1339.3179, 13.5298, 9}, // /reportes veiculo {690.5984,1837.7784,5.3457, 10}, // /Amigos dos Amigos veiculos {-495.1537,-496.1995,25.5178, 11}, // /policia federal veiculo {1480.9811,-693.0758,94.7500, 12}, // /Mafia Cosa Nostra veiculo {680.9185, -1259.4174, 13.5819, 13}, // /mafia yakuza veiculo {2505.1614, -1670.9572, 13.3688, 14}, // /Black Elements veiculo {-333.5509, 1515.4840, 75.3594, 15}, // /estado islameco veiculo {2269.9136,2451.8826,10.8203, 16}, // /rota veiculo {1100.2694, -1235.4055, 15.8203, 17}, // /ballas veiculo {2583.9556,-959.2116,81.3516, 18}, // /los vagos veiculo {2166.4609,-1800.7450,13.3664, 19}, // /comando vermelho veiculo {2600.1296,1414.5330,10.8203, 20}, // MAFIA RUSSA {91.0294,1177.0199,18.6641, 21}, // /pcc veiculo {2778.8711, -1617.9928, 10.9219, 22}, // /the triads veiculo {-2261.5076, 2297.9988, 4.8202, 23}, // /as farc veiculo {484.2118, -1515.4191, 20.2775, 24}, // /mayans veiculo {702.9242, -458.3230, 16.3359, 25}, // /sons of anarchy veiculo {2501.0854,925.6076,11.0234, 26}, // Milicia veiculo {882.0867, -1209.0470, 16.9766, 33}, // /policia civil veiculo {1075.9812, 1243.6790, 10.8203, 34}, // /detran veiculo {2909.4104,2127.6619,10.8203, 35}, // /baep veiculo {2592.1357, 1847.1351, 10.8203, 36}, // /força tatica veiculo {1438.0477,371.0233,18.9827, 37},//tropa da turquia veiculo {2781.7173,-1969.4225,13.5469, 38}//tropa da esc veiculo // Empregos //{1404.4366,-2339.2708,13.5469, 9}, // onibus // {1246.0822,-1819.4725,13.4124, 10}, // taxista // {2427.1072,-2113.0928,13.5469, 11} // caminhoneiro // {2022.9463,-2094.6870,13.5469, 14}, // bombeiro // {2090.3765,-1818.1742,13.3904, 20}, // pizzaiolo // {1935.3746,167.9037,37.2752, 21} // agricultor }; enum veInfo { modelId, Float:vX, Float:vY, Float:vZ, Float:vA, vCor1, vCor2, vRespawn, orgID, bool:Disponivel, vID }; new Float:RotasEletricistas[10][3] = { {1119.6005, -739.6630, 106.5115}, {805.9108, -760.9918, 83.2790}, {824.8941, -855.5991, 74.0947}, {2018.2084, -1652.9230, 17.7803}, {2066.6873, -1630.7061, 18.3797}, {2258.6079, -1641.9316, 19.8538}, {2303.9011, -1678.5549, 18.0280}, {2323.5688, -1680.0668, 18.6305}, {1892.5588, -1915.1841 ,19.2760}, {793.6577,- 1711.8846, 17.6159} }; new empVehicles[][veInfo] = { // VEICULOS DE EMPREGO // Mecanicos - 2 {525, 1576.0553, -2167.0845, 13.4401, 178.5053, 0, 1, RESPAWN_VEHICLES_TIME, 2, true, -1}, {525, 1582.4149, -2172.3608, 13.4366, 177.1769, 0, 1, RESPAWN_VEHICLES_TIME, 2, true, -1}, {525, 1586.2728, -2172.6555, 13.4359, 175.7739, 0, 1, RESPAWN_VEHICLES_TIME, 2, true, -1}, {525, 1590.1963, -2172.8540, 13.4336, 175.0600, 0, 1, RESPAWN_VEHICLES_TIME, 2, true, -1}, {525, 1551.1317, -2172.6423, 13.4282, 181.1940, 0, 1, RESPAWN_VEHICLES_TIME, 2, true, -1}, {525, 1583.7266, -2210.1096, 13.4298, 359.0630, 0, 1, RESPAWN_VEHICLES_TIME, 2, true, -1}, {525, 1579.5461, -2209.6536, 13.4333, 359.3625, 0, 1, RESPAWN_VEHICLES_TIME, 2, true, -1}, {525, 1574.0153, -2210.0081, 13.4371, 0.5909, 0, 1, RESPAWN_VEHICLES_TIME, 2, true, -1}, {525, 1521.1248, -2181.4626, 13.4313, 177.2798, 0, 1, RESPAWN_VEHICLES_TIME, 2, true, -1}, {525, 1514.4880, -2180.9880, 13.4291, 179.5736, 0, 1, RESPAWN_VEHICLES_TIME, 2, true, -1}, {525, 1507.4800, -2181.9246, 13.4254, 179.8431, 0, 1, RESPAWN_VEHICLES_TIME, 2, true, -1}, {525, 1669.8762,2213.7751,10.8203,179.5181, 0, 1, RESPAWN_VEHICLES_TIME, 2, true, -1}, {525, 1669.7874,2203.1072,10.8203,179.5181, 0, 1, RESPAWN_VEHICLES_TIME, 2, true, -1}, {525, 1657.9852,2194.2388,10.8203,180.7715, 0, 1, RESPAWN_VEHICLES_TIME, 2, true, -1}, {525, 1650.0234,2194.4651,10.8203,179.8314, 0, 1, RESPAWN_VEHICLES_TIME, 2, true, -1}, {525, 1642.7094,2194.1650,10.8203,182.0247, 0, 1, RESPAWN_VEHICLES_TIME, 2, true, -1}, {525, 1633.9675,2194.5479,10.8203,182.6514, 0, 1, RESPAWN_VEHICLES_TIME, 2, true, -1}, {525, 1623.6458,2193.5837,10.8203,186.0981, 0, 1, RESPAWN_VEHICLES_TIME, 2, true, -1}, {525, 1624.7101,2185.9204,10.8203,271.0123, 0, 1, RESPAWN_VEHICLES_TIME, 2, true, -1}, {525, 1668.4131,2188.1406,10.8203,90.5541, 0, 1, RESPAWN_VEHICLES_TIME, 2, true, -1}, // Agricultor - 3 {478,1940.1445,246.4903,28.3799,354.0965,7,7, RESPAWN_VEHICLES_TIME, 3, true, -1}, // Agr1 {478,1944.4211,246.1107,28.2312,355.7698,7,7, RESPAWN_VEHICLES_TIME, 3, true, -1}, // Agr2 {478,1948.7677,245.8983,28.0832,358.8594,7,7, RESPAWN_VEHICLES_TIME, 3, true, -1}, // Agr3 {478,1953.0836,245.5835,27.9542,356.8527,7,7, RESPAWN_VEHICLES_TIME, 3, true, -1}, // Agr4 {478,1957.6429,245.2807,27.8110,356.5688,7,7, RESPAWN_VEHICLES_TIME, 3, true, -1}, // Agr5 {478,1962.9563,244.9828,27.6843,356.7919,7,7, RESPAWN_VEHICLES_TIME, 3, true, -1}, // Agr6 // Vendedoor de produtos - 4 {456, 2395.0317, -2074.8997, 14.1028, 270.4443, 13, 13, RESPAWN_VEHICLES_TIME, 4, true, -1}, // {456, 2395.3081, -2085.2664, 14.1611, 270.4413, 13, 13, RESPAWN_VEHICLES_TIME, 4, true, -1}, // {456, 2395.3672, -2095.3425, 14.1361, 270.4455, 13, 13, RESPAWN_VEHICLES_TIME, 4, true, -1}, // {456, 2395.8252, -2106.1665, 14.1728, 270.4456, 13, 13, RESPAWN_VEHICLES_TIME, 4, true, -1}, // {456, 2452.8201, -2114.6450, 14.1291, 358.5566, 13, 13, RESPAWN_VEHICLES_TIME, 4, true, -1}, // {456, 2457.4534, -2114.6560, 14.1470, 358.1867, 13, 13, RESPAWN_VEHICLES_TIME, 4, true, -1}, // {456, 2462.3892, -2114.6616, 14.1414, 355.6524, 13, 13, RESPAWN_VEHICLES_TIME, 4, true, -1}, // {456, 2466.9685, -2114.6980, 14.1335, 358.2290, 13, 13, RESPAWN_VEHICLES_TIME, 4, true, -1}, // {456, 2522.1353, -2076.2073, 14.1311, 179.7512, 13, 13, RESPAWN_VEHICLES_TIME, 4, true, -1}, //aaqqq {456, 2509.6243, -2075.8071, 14.1015, 181.8935, 13, 13, RESPAWN_VEHICLES_TIME, 4, true, -1}, // {456, 2471.0425, -2079.1487, 14.0956, 180.8696, 13, 13, RESPAWN_VEHICLES_TIME, 4, true, -1}, // {456, 2531.7085, -2113.7625, 14.0951,357.1375, 13, 13, RESPAWN_VEHICLES_TIME, 4, true, -1}, // // Taxista - 5 {420, 1776.8330,-1905.5629,13.3870,260.4072, 6, 6, RESPAWN_VEHICLES_TIME, 5, true, -1}, // Taxista {420, 1776.8330,-1905.5629,13.3870,260.4072, 6, 6, RESPAWN_VEHICLES_TIME, 5, true, -1}, // Taxista {420, 1776.8330,-1905.5629,13.3870,260.4072, 6, 6, RESPAWN_VEHICLES_TIME, 5, true, -1}, // Taxista {420, 1776.8330,-1905.5629,13.3870,260.4072, 6, 6, RESPAWN_VEHICLES_TIME, 5, true, -1}, // Taxista {420, 1776.8330,-1905.5629,13.3870,260.4072, 0, 0, RESPAWN_VEHICLES_TIME, 5, true, -1}, // Taxista {420, 1776.8330,-1905.5629,13.3870,260.4072, 0, 0, RESPAWN_VEHICLES_TIME, 5, true, -1}, // Taxista {420, 1776.8330,-1905.5629,13.3870,260.4072, 6, 6, RESPAWN_VEHICLES_TIME, 5, true, -1}, // Taxista {420, 1776.8330,-1905.5629,13.3870,260.4072, 6, 6, RESPAWN_VEHICLES_TIME, 5, true, -1}, // Taxista {420, 1776.8330,-1905.5629,13.3870,260.4072, 6, 6, RESPAWN_VEHICLES_TIME, 5, true, -1}, // Taxista {420, 1776.8330,-1905.5629,13.3870,260.4072, 6, 6, RESPAWN_VEHICLES_TIME, 5, true, -1}, // Taxista {420, 1776.8330,-1905.5629,13.3870,260.4072, 6, 6, RESPAWN_VEHICLES_TIME, 5, true, -1}, // Taxista {420, 1776.8330,-1905.5629,13.3870,260.4072, 6, 6, RESPAWN_VEHICLES_TIME, 5, true, -1}, // Taxista {420, 1776.8330,-1905.5629,13.3870,260.4072, 6, 6, RESPAWN_VEHICLES_TIME, 5, true, -1}, // Taxista {420, 1660.1255,1306.9279,10.8203,1.0571, 6, 6, RESPAWN_VEHICLES_TIME, 5, true, -1}, // Taxista Lv daqui para baixo {420, 1663.3827,1306.1456,10.8203,358.8638, 6, 6, RESPAWN_VEHICLES_TIME, 5, true, -1}, // Taxista {420, 1666.5974,1305.9567,10.8203,358.8638, 6, 6, RESPAWN_VEHICLES_TIME, 5, true, -1}, // Taxista {420, 1676.0903,1287.9724,10.8203,2.6237, 6, 6, RESPAWN_VEHICLES_TIME, 5, true, -1}, // Taxista {420, 1672.8921,1287.6427,10.8203,2.6237, 6, 6, RESPAWN_VEHICLES_TIME, 5, true, -1}, // Taxista {420, 1641.6924,1293.3362,10.8203,270.0445, 6, 6, RESPAWN_VEHICLES_TIME, 5, true, -1}, // Taxista {420, 1650.5540,1316.1506,10.8203,182.1653, 6, 6, RESPAWN_VEHICLES_TIME, 5, true, -1}, // Taxista {420, 1704.9653,1287.8418,10.8203,3.5870, 6, 6, RESPAWN_VEHICLES_TIME, 5, true, -1}, // Taxista {420, 1695.4578,1306.4391,10.8203,1.0804, 6, 6, RESPAWN_VEHICLES_TIME, 5, true, -1}, // Taxista {420, 1669.7391,1306.6892,10.8203,357.9471, 6, 6, RESPAWN_VEHICLES_TIME, 5, true, -1}, // Taxista {420, 1660.0372,1307.2870,10.8203,359.8271, 6, 6, RESPAWN_VEHICLES_TIME, 5, true, -1}, // Taxista {420, 1642.2770,1302.1981,10.8203,271.1763, 6, 6, RESPAWN_VEHICLES_TIME, 5, true, -1}, // Taxista {420, 1642.6343,1305.2601,10.8203,269.9229, 6, 6, RESPAWN_VEHICLES_TIME, 5, true, -1}, // Taxista {420, 1642.4147,1308.2222,10.8203,269.2962, 6, 6, RESPAWN_VEHICLES_TIME, 5, true, -1}, // Taxista // Bombeiros - 6 {586, 2050.6418, -2079.8250, 13.0669, 268.2958, 3, 3, RESPAWN_VEHICLES_TIME, 6, true, -1}, {586, 2050.5151, -2081.5803, 13.0671, 266.6501, 3, 3, RESPAWN_VEHICLES_TIME, 6, true, -1}, {586, 2050.4480, -2083.4709, 13.0670, 262.7430, 3, 3, RESPAWN_VEHICLES_TIME, 6, true, -1}, {586, 2050.3550, -2085.0244, 13.0670, 264.4443, 3, 3, RESPAWN_VEHICLES_TIME, 6, true, -1}, {586, 2050.2764, -2086.3333, 13.0670, 258.2259, 3, 3, RESPAWN_VEHICLES_TIME, 6, true, -1}, {586, 2050.2385, -2087.7656, 13.0670, 264.2364, 3, 3, RESPAWN_VEHICLES_TIME, 6, true, -1}, {407, 2044.2839, -2095.9478, 13.7814, 180.2798, 3, 3, RESPAWN_VEHICLES_TIME, 6, true, -1}, {407, 2035.1046, -2095.5869, 13.7856, 178.6611, 3, 3, RESPAWN_VEHICLES_TIME, 6, true, -1}, {407, 2026.5286, -2095.5281, 13.7826, 177.9110, 3, 3, RESPAWN_VEHICLES_TIME, 6, true, -1}, {407, 2036.5275, -2114.7488, 13.6571, 270.6729, 3, 3, RESPAWN_VEHICLES_TIME, 6, true, -1}, {407, 2027.0448, -2114.9395, 13.6677, 270.3588, 3, 3, RESPAWN_VEHICLES_TIME, 6, true, -1}, {407, 2015.9999, -2114.7607, 13.6985, 269.6699, 3, 3, RESPAWN_VEHICLES_TIME, 6, true, -1}, // iFood - 7 {461, 830.9594, -1444.7067, 13.1437, 264.3271, 3, 3, RESPAWN_VEHICLES_TIME, 7, true, -1}, {461, 830.6900, -1448.2699, 13.1966, 263.8256, 3, 3, RESPAWN_VEHICLES_TIME, 7, true, -1}, {461, 830.4258, -1452.5548, 13.1944, 269.5124, 3, 3, RESPAWN_VEHICLES_TIME, 7, true, -1}, {461, 835.3538, -1454.5839, 13.1656, 358.6172, 3, 3, RESPAWN_VEHICLES_TIME, 7, true, -1}, {461, 839.6508, -1454.5396, 13.1684, 357.0991, 3, 3, RESPAWN_VEHICLES_TIME, 7, true, -1}, {461, 843.3479, -1454.8900, 13.1706, 2.6092, 3, 3, RESPAWN_VEHICLES_TIME, 7, true, -1}, {461, 847.0237, -1454.8726, 13.1752, 358.4134, 3, 3, RESPAWN_VEHICLES_TIME, 7, true, -1}, // Gari {408, 2163.4500,-1971.7676,14.0909,180.5521, 3, 3, RESPAWN_VEHICLES_TIME, 8, true, -1}, {408, 2159.6819,-1971.6329,14.1798,178.5353, 3, 3, RESPAWN_VEHICLES_TIME, 8, true, -1}, {408, 2152.7742,-1971.7693,14.0779,179.7092, 3, 3, RESPAWN_VEHICLES_TIME, 8, true, -1}, {408, 2156.1392,-1971.6147,14.1863,179.0344, 3, 3, RESPAWN_VEHICLES_TIME, 8, true, -1}, // MOTORISTA DE ONIBUS 9 {431, 1404.705200, -2313.053710, 13.546875, 355.276641, -1, -1,RESPAWN_VEHICLES_TIME, 9, true, -1}, {431, 1388.297607, -2312.529296, 13.546875, 0.603283, -1, -1,RESPAWN_VEHICLES_TIME, 9, true, -1}, {431, 1394.870727, -2331.793212, 13.546875, 1.762586, -1, -1,RESPAWN_VEHICLES_TIME, 9, true, -1}, {431, 1407.728637, -2332.604736, 13.546875, 359.570220, -1, -1,RESPAWN_VEHICLES_TIME, 9, true, -1}, {431, 1398.096191, -2349.239990, 13.539070, 2.076128, -1, -1,RESPAWN_VEHICLES_TIME, 9, true, -1}, {431, 1388.2390, -2348.2954, 13.2662, 358.0127, -1, -1,RESPAWN_VEHICLES_TIME, 9, true, -1}, {431, 1388.1102, -2331.4971, 13.2740, 1.2950, -1, -1,RESPAWN_VEHICLES_TIME, 9, true, -1}, {431, 1388.6318, -2313.9167, 13.2740, 0.7864, -1, -1,RESPAWN_VEHICLES_TIME, 9, true, -1}, {431, 1451.1741, -2348.4565, 13.2739, 358.1741, -1, -1,RESPAWN_VEHICLES_TIME, 9, true, -1}, {431, 1365.8035, -2326.6956, 13.2740, 91.0363, -1, -1,RESPAWN_VEHICLES_TIME, 9, true, -1}, {431, 1365.2888, -2355.4006, 13.2740, 90.6139, -1, -1,RESPAWN_VEHICLES_TIME, 9, true, -1}, // SEDEX 10 {482, 2251.4128, -2186.0459, 13.6538, 134.9000, -1, -1,RESPAWN_VEHICLES_TIME, 10, true, -1}, {482, 8.7718, -167.9167, 1.7710, -186.8993, -1, -1,RESPAWN_VEHICLES_TIME, 10, true, -1}, {482, 13.4701, -168.3515, 1.7710, -186.8993, -1, -1,RESPAWN_VEHICLES_TIME, 10, true, -1}, {482, 12.6505, -176.3366, 1.7710, -186.8993, -1, -1,RESPAWN_VEHICLES_TIME, 10, true, -1}, {482, 7.9130, -175.9742, 1.7710, -186.8993, -1, -1,RESPAWN_VEHICLES_TIME, 10, true, -1}, {482, 7.1551, -183.8899, 1.7710, -186.8993, -1, -1,RESPAWN_VEHICLES_TIME, 10, true, -1}, {482, 11.7511, -184.7499, 1.7710, -186.8993, -1, -1,RESPAWN_VEHICLES_TIME, 10, true, -1}, //ELETRICISTA 12 {552, 830.3054, -609.6050, 16.0114, 359.7648, -1, -1,RESPAWN_VEHICLES_TIME, 12, true, -1}, {552, 824.9310, -609.9568, 16.0419, 1.2048, -1, -1,RESPAWN_VEHICLES_TIME, 12, true, -1}, {552, 819.7615, -611.4853, 16.0472 ,2.0141, -1, -1,RESPAWN_VEHICLES_TIME, 12, true, -1}, {552, 812.1133, -609.5724, 16.0417, 1.4193, -1, -1,RESPAWN_VEHICLES_TIME, 12, true, -1}, {552, 802.8732, -610.5077, 16.0454, 358.9936, -1, -1,RESPAWN_VEHICLES_TIME, 12, true, -1}, {552, 794.0212, -607.7541, 16.0440, 357.0913, -1, -1,RESPAWN_VEHICLES_TIME, 12, true, -1}, {552, 788.3121, -609.5096, 16.0415, 357.6265, -1, -1,RESPAWN_VEHICLES_TIME, 12, true, -1}, {552, 781.5021, -590.8520 ,16.0375, 279.3201, -1, -1,RESPAWN_VEHICLES_TIME, 12, true, -1}, {552, 820.5861, -588.6086, 15.9671 ,179.0922, -1, -1,RESPAWN_VEHICLES_TIME, 12, true, -1}, //Caminhoneiro 13 {578, -46.1498,-1136.5804,0.8365,71.6623, -1, -1,RESPAWN_VEHICLES_TIME, 13, true, -1}, {578, -51.0150,-1152.5435,0.8364,65.8362, -1, -1,RESPAWN_VEHICLES_TIME, 13, true, -1}, {578, -50.1753,-1147.0313,0.8365,62.9076, -1, -1,RESPAWN_VEHICLES_TIME, 13, true, -1}, {578, -48.9740,-1140.7576,0.8365,69.6443, -1, -1,RESPAWN_VEHICLES_TIME, 13, true, -1}, {578, -77.7103,-1109.5447,0.8381,160.7830, -1, -1,RESPAWN_VEHICLES_TIME, 13, true, -1}, {578, -73.3354,-1112.7928,0.8365,159.0972, -1, -1,RESPAWN_VEHICLES_TIME, 13, true, -1}, {578, -67.8231,-1114.6270,0.8364,162.1570, -1, -1,RESPAWN_VEHICLES_TIME, 13, true, -1}, {578, -86.5142,-1132.6550,0.8364,335.7213, -1, -1,RESPAWN_VEHICLES_TIME, 13, true, -1}, {578, -82.6506,-1135.2875,0.8364,336.2130, -1, -1,RESPAWN_VEHICLES_TIME, 13, true, -1}, //entregador aereo 15 {593, 1341.1490,1686.2063,11.2783,266.1994, -1, -1,RESPAWN_VEHICLES_TIME, 15, true, -1}, {593, 1341.8909,1668.8765,11.2756,272.5698, -1, -1,RESPAWN_VEHICLES_TIME, 15, true, -1}, {593, 1338.7828,1625.8990,11.2794,268.0474, -1, -1,RESPAWN_VEHICLES_TIME, 15, true, -1}, {593, 1339.6046,1608.0133,11.2818,268.5792, -1, -1,RESPAWN_VEHICLES_TIME, 15, true, -1}, {593, 1336.0715,1585.7374,11.2803,264.7063, -1, -1,RESPAWN_VEHICLES_TIME, 15, true, -1}, {593, 1337.0962,1565.5380,11.2823,270.0129, -1, -1,RESPAWN_VEHICLES_TIME, 15, true, -1}, {593, 1344.2286,1553.3604,11.2814,268.9820, -1, -1,RESPAWN_VEHICLES_TIME, 15, true, -1}, {593, 1365.2577,1627.5128,11.2790,268.2669, -1, -1,RESPAWN_VEHICLES_TIME, 15, true, -1}, {593, 1364.7036,1606.5599,11.2788,274.3209, -1, -1,RESPAWN_VEHICLES_TIME, 15, true, -1}, // medicos - 11 {416, 1178.4658, -1338.8140, 14.0220, 270.3398, 3, 3, RESPAWN_VEHICLES_TIME, 11, true, -1}, {416, 1178.8547, -1308.7769, 13.9507, 270.2191, 3, 3, RESPAWN_VEHICLES_TIME, 11, true, -1}, {416, 1209.4264, -1314.7849, 13.5481, 1.0508, 3, 3, RESPAWN_VEHICLES_TIME, 11, true, -1}, {416, 1209.4889, -1348.4762, 13.5494, 0.1383, 3, 3, RESPAWN_VEHICLES_TIME, 11, true, -1}, {416, 1213.6702,-1349.9556,13.5733,0.8279, 3, 3, RESPAWN_VEHICLES_TIME, 11, true, -1}, {416, 1213.9425,-1324.2369,13.5670,180.9729, 3, 3, RESPAWN_VEHICLES_TIME, 11, true, -1}, {416, 1248.3822,-1327.2831,13.3880,180.0329, 3, 3, RESPAWN_VEHICLES_TIME, 11, true, -1}, {416, 1187.8694,-1309.7659,13.5625,179.0929, 3, 3, RESPAWN_VEHICLES_TIME, 11, true, -1}, {586, 1186.9750, -1311.2726, 13.0825, 265.8270, 3, 3, RESPAWN_VEHICLES_TIME, 11, true, -1}, {586, 1186.9734, -1308.8359, 13.0827, 272.1561, 3, 3, RESPAWN_VEHICLES_TIME, 11, true, -1}, {586, 1187.0486, -1306.4915, 13.0788, 271.0253, 3, 3, RESPAWN_VEHICLES_TIME, 11, true, -1}, {563, 1161.0101, -1361.0912, 27.3325, 272.7065, 1, 3, RESPAWN_VEHICLES_TIME, 11, true, -1}, {563, 1161.4071, -1374.8723, 27.3232, 274.3977, 1, 3, RESPAWN_VEHICLES_TIME, 11, true, -1}, // medicos 2 - 14 {416, 2001.2463, -1353.2061, 23.9475, 357.6476, 3, 3, RESPAWN_VEHICLES_TIME, 11, true, -1}, {416, 2000.6486, -1369.7032, 22.1811, 359.8358, 3, 3, RESPAWN_VEHICLES_TIME, 11, true, -1}, {416, 2000.7656, -1396.4558, 18.5292, 0.2596, 3, 3, RESPAWN_VEHICLES_TIME, 11, true, -1}, {416, 2000.8842, -1416.3580, 16.9830, 0.3180, 3, 3, RESPAWN_VEHICLES_TIME, 11, true, -1}, {416, 2013.7584, -1415.5743, 16.9783, 271.4943, 3, 3, RESPAWN_VEHICLES_TIME, 11, true, -1}, {416, 2032.2354, -1431.6425, 17.1204, 186.9505, 3, 3, RESPAWN_VEHICLES_TIME, 11, true, -1}, {416, 2072.5132, -1448.0277, 20.9529, 270.8959, 3, 3, RESPAWN_VEHICLES_TIME, 11, true, -1}, {416, 2050.7188, -1448.0768, 18.5558, 270.0545, 3, 3, RESPAWN_VEHICLES_TIME, 11, true, -1}, {586, 2031.1738, -1447.9323, 17.1284, 269.7556, 3, 3, RESPAWN_VEHICLES_TIME, 11, true, -1}, {586, 2008.8960, -1453.3687, 13.5482, 274.2870, 3, 3, RESPAWN_VEHICLES_TIME, 11, true, -1}, // medicos lv - 16 {416, 1625.2269, 1819.5217, 10.5255, 4.1805, 3, 3, RESPAWN_VEHICLES_TIME, 11, true, -1}, {416, 1623.7389, 1847.1111, 10.5258, 1.3585, 3, 3, RESPAWN_VEHICLES_TIME, 11, true, -1}, {416, 1590.6622, 1851.0535, 10.5256, 1.0240, 3, 3, RESPAWN_VEHICLES_TIME, 11, true, -1}, {416, 1590.8933, 1838.1458, 10.5251, 1.0240, 3, 3, RESPAWN_VEHICLES_TIME, 11, true, -1}, {416, 1591.2992, 1818.9283, 10.5252, 1.1844, 3, 3, RESPAWN_VEHICLES_TIME, 11, true, -1}, {416, 1581.6245, 1806.6962, 10.5257, 177.9821, 3, 3, RESPAWN_VEHICLES_TIME, 11, true, -1}, {416, 1602.3129, 1838.4326, 10.5260, 354.6065, 3, 3, RESPAWN_VEHICLES_TIME, 11, true, -1}, {416, 1605.9038, 1850.8315, 10.5258, 3.1162, 3, 3, RESPAWN_VEHICLES_TIME, 11, true, -1}, {586, 1631.1334, 1848.9031, 10.5251, 350.5592, 3, 3, RESPAWN_VEHICLES_TIME, 11, true, -1}, {586, 1639.6296, 1821.4631, 10.5248, 6.0653, 3, 3, RESPAWN_VEHICLES_TIME, 11, true, -1}, {586, 1639.4991, 1844.4409, 10.5385, 359.3291, 3, 3, RESPAWN_VEHICLES_TIME, 11, true, -1}, {563, 1598.2924, 1865.5554, 10.5264, 92.5355, 1, 3, RESPAWN_VEHICLES_TIME, 11, true, -1}, {563, 1574.8168, 1816.6644, 10.5245, 182.0154, 1, 3, RESPAWN_VEHICLES_TIME, 11, true, -1}, {416, 1609.6731,1850.8750,10.8203,179.1579, 1, 3, RESPAWN_VEHICLES_TIME, 11, true, -1}, {416, 1618.0679,1850.4771,10.8203,179.4713, 1, 3, RESPAWN_VEHICLES_TIME, 11, true, -1}, {416, 1623.7083,1850.3358,10.8203,179.4713, 1, 3, RESPAWN_VEHICLES_TIME, 11, true, -1}, {416, 1616.7852,1840.5691,10.8203,0.2430, 1, 3, RESPAWN_VEHICLES_TIME, 11, true, -1}, {416, 1614.9878,1840.8340,10.8203,359.7846, 1, 3, RESPAWN_VEHICLES_TIME, 11, true, -1}, {416, 1608.5245,1830.9686,10.8203,180.7246, 1, 3, RESPAWN_VEHICLES_TIME, 11, true, -1}, {416, 1600.1121,1831.2721,10.8203,181.9780, 1, 3, RESPAWN_VEHICLES_TIME, 11, true, -1}, {416, 1591.4407,1821.8700,10.8203,0.7481, 1, 3, RESPAWN_VEHICLES_TIME, 11, true, -1}, {416, 1624.4360,1821.1825,10.8203,2.3148, 1, 3, RESPAWN_VEHICLES_TIME, 11, true, -1}, {416, 1632.2559,1806.0715,10.8203,2.4831, 1, 3, RESPAWN_VEHICLES_TIME, 11, true, -1}, {416, 1582.0833,1807.9836,10.8203,356.8665, 1, 3, RESPAWN_VEHICLES_TIME, 11, true, -1}, {416, 1583.2872,1854.2792,10.8203,183.9049, 1, 3, RESPAWN_VEHICLES_TIME, 11, true, -1} }; // Dialogs // Variables new Float:HousePos[16][3] = { {2013.6630, -1656.3639, 14.0733}, {2018.2024, -1629.8944, 14.0733}, {1980.9697, -1719.0088, 17.0321}, {2066.9150, -1731.6338, 14.0879}, {2067.4844, -1643.7155, 14.0866}, {1853.9839, -1914.2035, 15.2474}, {1938.5319, -1911.3409, 15.1402}, {1928.5387, -1916.0127, 15.2403}, {2238.3540, -1906.7906, 14.9349}, {2307.0564, -1679.1633, 14.2915}, {2326.7124, -1716.8486, 13.8206}, {2385.3164, -1711.6276, 14.1911}, {2696.3904, -1990.4764, 14.1993}, {2787.2646, -1926.0974, 13.5604}, {1872.4790, -2132.6597, 15.5008}, {1667.4546, -2106.8040, 14.0209} }; new EntrouNessaPN[MAX_PLAYERS]; //pesquisa a saida #define DIALOG_STATUS (3333) #define DIALOG_JOB (3332) #define DIALOG_ELETRICISTAINFO 10398 new Gifts[MAX_PLAYERS], TotalGifts[MAX_PLAYERS], PresenteNaMao[MAX_PLAYERS], PresenteCP[MAX_PLAYERS], //SedexActor, CarroPresentes[MAX_PLAYERS]; new orgVehicles[][veInfo] = { // PM - 1 {597, 1530.6513, -1644.7926, 6.0225, 181.4815, 152, 1, RESPAWN_VEHICLES_TIME, 1, true, -1},//Cop Car SF {597, 1545.1876, -1651.0690, 5.6118, 90.2952, 152, 1, RESPAWN_VEHICLES_TIME, 1, true, -1},//Cop Car SF {497, 1567.5164,-1648.8385,28.4021,86.6060, 152, 1, RESPAWN_VEHICLES_TIME, 1, true, -1},//HELI // BOPE - 2 {490,295.5233,-1540.7909,24.7213,56.3761,0,0,RESPAWN_VEHICLES_TIME, 2, true, -1}, // COP CAR LSPD {596,291.1323,-1545.1426,24.7223,54.8829,0,0,RESPAWN_VEHICLES_TIME, 2, true, -1}, // COP CAR LSPD //EXERCITO - 3 {598, -1227.8358, 452.9356, 7.2006, 89.2371, 86, 86, RESPAWN_VEHICLES_TIME, 3, true, -1}, {598, -1227.6935, 468.0202, 7.2005, 88.6465, 86, 86, RESPAWN_VEHICLES_TIME, 3, true, -1}, {598, -1334.0588, 443.4516, 6.8910, 359.2509, 202, 128, RESPAWN_VEHICLES_TIME, 3, true, -1}, {598, -1325.2241, 443.1027, 6.9061, 359.7466, 202, 128, RESPAWN_VEHICLES_TIME, 3, true, -1}, {470, -1316.0884, 442.9895, 7.1832, 359.5066, 202, 128, RESPAWN_VEHICLES_TIME, 3, true, -1}, {470, -1307.7202, 442.9413, 7.1828, 0.4435, 202, 128, RESPAWN_VEHICLES_TIME, 3, true, -1}, {433, -1295.2557, 445.0778, 7.6231, 358.8351, 1, 1, RESPAWN_VEHICLES_TIME, 3, true, -1}, {433, -1284.1067, 445.2265, 7.6228, 357.9004, 1, 1, RESPAWN_VEHICLES_TIME, 3, true, -1}, {427, -1273.9225, 444.0561, 7.3122, 357.2698, 202, 128, RESPAWN_VEHICLES_TIME, 3, true, -1}, {468, -1265.1178, 443.5576, 6.7418, 358.8881, 128, 128, RESPAWN_VEHICLES_TIME, 3, true, -1}, {468, -1259.2461, 443.4483, 6.7511, 359.8180, 128, 128, RESPAWN_VEHICLES_TIME, 3, true, -1}, {468, -1253.7181, 443.5089, 6.7519, 1.1828, 128, 128, RESPAWN_VEHICLES_TIME, 3, true, -1}, {520, -1421.6041, 497.3953, 11.9185, 27.4271, 113, 113, RESPAWN_VEHICLES_TIME, 3, true, -1}, {520, -1409.2382, 495.2721, 11.9192, 51.5251, 113, 113, RESPAWN_VEHICLES_TIME, 3, true, -1}, {548, -1308.2046, 493.4254, 19.8783, 253.1222, 202, 86, RESPAWN_VEHICLES_TIME, 3, true, -1}, {425, -1260.5425, 495.3485, 18.8045, 89.6005, 1, 1, RESPAWN_VEHICLES_TIME, 3, true, -1}, {425, -1278.9393, 495.4998, 18.8066, 89.7873, 1, 1, RESPAWN_VEHICLES_TIME, 3, true, -1}, {497, -1293.9374, 495.0912, 18.4509, 0.3532, 202, 128, RESPAWN_VEHICLES_TIME, 3, true, -1}, {430, -1281.2770, 485.7846, -0.2118, 267.9676, 202, 128, RESPAWN_VEHICLES_TIME, 3, true, -1}, {430, -1452.4417, 505.7320, -0.3274, 89.2602, 202, 128, RESPAWN_VEHICLES_TIME, 3, true, -1}, {430, -1485.9309, 484.6871, -0.0394, 91.3087, 202, 128, RESPAWN_VEHICLES_TIME, 3, true, -1}, {596, -1345.1558, 455.5187, 6.9084, 0.5128, 202, 128, RESPAWN_VEHICLES_TIME, 3, true, -1}, {596, -1354.7914, 455.1299, 6.9092, 359.9993, 202, 128, RESPAWN_VEHICLES_TIME, 3, true, -1}, {596, -1363.7050, 455.1025, 6.9079, 1.9180, 202, 128, RESPAWN_VEHICLES_TIME, 3, true, -1}, {432, -1245.7301, 476.2427, 7.1928, 180.2233, 1, 1, RESPAWN_VEHICLES_TIME, 3, true, -1}, {432, -1254.1906, 476.4855, 7.1921, 179.0830, 1, 1, RESPAWN_VEHICLES_TIME, 3, true, -1}, // MÉDICO - 4 /* {416, 1178.4658, -1338.8140, 14.0220, 270.3398, 3, 3, RESPAWN_VEHICLES_TIME, 4, true, -1}, {416, 1178.8547, -1308.7769, 13.9507, 270.2191, 3, 3, RESPAWN_VEHICLES_TIME, 4, true, -1}, {416, 1209.4264, -1314.7849, 13.5481, 1.0508, 3, 3, RESPAWN_VEHICLES_TIME, 4, true, -1}, {416, 1209.4889, -1348.4762, 13.5494, 0.1383, 3, 3, RESPAWN_VEHICLES_TIME, 4, true, -1}, {586, 1186.9750, -1311.2726, 13.0825, 265.8270, 3, 3, RESPAWN_VEHICLES_TIME, 4, true, -1}, {586, 1186.9734, -1308.8359, 13.0827, 272.1561, 3, 3, RESPAWN_VEHICLES_TIME, 4, true, -1}, {586, 1187.0486, -1306.4915, 13.0788, 271.0253, 3, 3, RESPAWN_VEHICLES_TIME, 4, true, -1}, {563, 1161.0101, -1361.0912, 27.3325, 272.7065, 1, 3, RESPAWN_VEHICLES_TIME, 4, true, -1}, {563, 1161.4071, -1374.8723, 27.3232, 274.3977, 1, 3, RESPAWN_VEHICLES_TIME, 4, true, -1}, */ // Tropa da Franca - 5 {413, 759.4851,381.7263,23.1719,283.0372, 0, 6, RESPAWN_VEHICLES_TIME, 5, true, -1},//VAN {461, 759.4851,381.7263,23.1719,283.0372, 0, 0, RESPAWN_VEHICLES_TIME, 5, true, -1},//PCJ-600 {560, 759.4851,381.7263,23.1719,283.0372, 0, 6, RESPAWN_VEHICLES_TIME, 5, true, -1},//SULTAN {560, 759.4851,381.7263,23.1719,283.0372, 0, 6, RESPAWN_VEHICLES_TIME, 5, true, -1},//246 // GATE - 6 {598,900.0999800,-1051.3000000,31.6000000,0.0000000,1,93,RESPAWN_VEHICLES_TIME, 6, true, -1}, //Cop Cop LV {598,892.0000000,-1051.4004000,31.4000000,0.0000000,1,93,RESPAWN_VEHICLES_TIME, 6, true, -1}, //Cop Cop LV {427,882.0999800,-1030.5000000,32.2000000,270.0000000,1,93,RESPAWN_VEHICLES_TIME, 6, true, -1}, //Enforcer {427,882.2000100,-1035.0000000,32.2000000,270.0000000,1,93,RESPAWN_VEHICLES_TIME, 6, true, -1}, //Enforcer // GOV - 7 {409, 1247.1140, -2057.8220, 59.5685, 268.8982, 0, 0, RESPAWN_VEHICLES_TIME, 7, true, -1}, {421, 1244.4873, -2010.2992, 59.7508, 182.5962, 0, 0, RESPAWN_VEHICLES_TIME, 7, true, -1}, // HITMAN - 8 {581,2325.3787,-1234.3219,22.0663,267.9189,122,122,RESPAWN_VEHICLES_TIME, 8, true, -1}, //NRG-500 {560,2348.1870,-1242.0604,22.2184,92.7089,122,122,RESPAWN_VEHICLES_TIME, 8, true, -1}, //Sultan {581,2325.3787,-1234.3219,22.0663,267.9189,122,122,RESPAWN_VEHICLES_TIME, 8, true, -1}, //NRG-500 // REPORTER - 9 {582, 739.8584, -1333.6587, 13.5972, 180.1957, 13, 13, RESPAWN_VEHICLES_TIME, 9, true, -1}, {582, 747.1868, -1333.6637, 13.5940, 180.6823, 13, 13, RESPAWN_VEHICLES_TIME, 9, true, -1}, {582, 754.7347, -1333.7186, 13.5787, 180.9125, 13, 13, RESPAWN_VEHICLES_TIME, 9, true, -1}, // Amigos dos Amigos - 10 {413,679.9000200,1827.1000000,5.2000000,260.0000000,183,183,RESPAWN_VEHICLES_TIME, 10, true, -1}, //VAN {560,680.2999900,1831.5000000,5.0000000,260.0000000,183,183,RESPAWN_VEHICLES_TIME, 10, true, -1}, //Sultan {521,697.7999900,1844.8000000,5.3000000,80.0000000,183,183,RESPAWN_VEHICLES_TIME, 10, true, -1}, //FCR-900 // PF - 11 {490,-467.2528,-504.9776,25.0571,78.6762,0, 6, RESPAWN_VEHICLES_TIME, 11, true, -1}, // FBI-RANCHER {490,-494.4342,-472.2443,25.6488,178.3937,0, 6, RESPAWN_VEHICLES_TIME, 11, true, -1}, // FBI-RANCHER // RUSSA - 12 {461,1479.6000000,-677.2000100,94.4000000,90.0000000,93,93,RESPAWN_VEHICLES_TIME, 12, true, -1}, //PCJ-600 {413,1479.7002000,-675.2002000,94.4000000,90.0000000,93,93,RESPAWN_VEHICLES_TIME, 12, true, -1}, //VAN {560,1459.8000000,-677.5000000,94.6000000,270.0000000,93,93,RESPAWN_VEHICLES_TIME, 12, true, -1}, //Sultan {609,1474.3000000,-660.5999800,95.0000000,180.0000000,93,93,RESPAWN_VEHICLES_TIME, 12, true, -1}, //Boxville // YAKUZA - 13 {413, 656.5402, -1284.8342, 13.1990, 270.5237, 0, 0, RESPAWN_VEHICLES_TIME, 13, true, -1},//VAN {560, 656.4924, -1283.0856, 13.2013, 268.7094, 0, 0, RESPAWN_VEHICLES_TIME, 13, true, -1},//SULTAN {461, 656.5429, -1292.1849, 13.3399, 359.7515, 0, 0, RESPAWN_VEHICLES_TIME, 13, true, -1},//PCJ 600 {498, 656.8552, -1268.3540, 13.8088, 177.6409, 0, 0, RESPAWN_VEHICLES_TIME, 13, true, -1},//Boxvillie // GROOVE - 14 {413, 2499.3936, -1683.6714, 13.1049, 277.9147, 86, 86, RESPAWN_VEHICLES_TIME, 14, true, -1},//VAN {560, 2473.9622, -1693.5035, 13.2200, 359.7079, 86, 86, RESPAWN_VEHICLES_TIME, 14, true, -1},//SULTAN {461, 2508.3750, -1677.2435, 13.2115, 328.8571, 86, 86, RESPAWN_VEHICLES_TIME, 14, true, -1},//PCJ 600 // AlQaeda - 15 {413, -384.9692, 1524.4194, 75.5362, 359.7443, 40, 40, RESPAWN_VEHICLES_TIME, 15, true, -1},//VAN {560, -394.1199, 1524.4644, 75.5954, 0.0402, 40, 40, RESPAWN_VEHICLES_TIME, 15, true, -1},//SULTAN {461, -354.3334, 1542.9111, 76.2879, 177.3473, 40, 40, RESPAWN_VEHICLES_TIME, 15, true, -1},//PCJ 600 //ROTA - 16 {490,2240.7795,2454.1848,11.1080,89.1295,0,0, RESPAWN_VEHICLES_TIME, 16, true, -1}, //FBI Rancher {490,2240.7795,2454.1848,11.1080,89.1295,0,0, RESPAWN_VEHICLES_TIME, 16, true, -1}, //FBI Rancher // BALLAS - 17 {413, 1086.2722, -1197.5608, 17.7738, 177.9684, 211, 211, RESPAWN_VEHICLES_TIME, 17, true, -1},//VAN {560, 1093.8402, -1197.1453, 17.7657, 187.2408, 211, 211, RESPAWN_VEHICLES_TIME, 17, true, -1},//SULTAN {461, 1130.7351, -1165.1901, 32.1440, 116.5551, 211, 211, RESPAWN_VEHICLES_TIME, 17, true, -1},//PCJ 600 // VAGOS - 18 {413,2582.0000000,-975.0000000,81.3000000,10.0000000,6, 6, RESPAWN_VEHICLES_TIME, 18, true, -1}, //VAN {560,2593.0000000,-950.7000100,81.2000000,194.0000000,6, 6, RESPAWN_VEHICLES_TIME, 18, true, -1}, //Sultan {461,2578.3000000,-958.9000200,81.0000000,193.0000000,6, 6, RESPAWN_VEHICLES_TIME, 18, true, -1}, //PCJ-600 // CV - 19 {413,2157.2,-1806.9,13.6,0.0,3, 3,RESPAWN_VEHICLES_TIME, 19, true, -1}, //VAN {560,2166.3,-1807.4,13.1,0.0,3, 3,RESPAWN_VEHICLES_TIME, 19, true, -1}, //Flash {560,2170.7,-1807.4,13.2,0.0,3, 3,RESPAWN_VEHICLES_TIME, 19, true, -1}, //Sultan //Mafia Russa (LV) {560,2613.3000000,1430.4000000,10.6000000,90.0000000,150, 150,RESPAWN_VEHICLES_TIME, 20, true, -1}, //Sultan {498,2612.2000000,1407.4000000,11.0000000,90.0000000,150, 150,RESPAWN_VEHICLES_TIME, 20, true, -1}, //Boxville {522,2613.9004000,1400.5996000,10.5000000,90.0000000,150, 150,RESPAWN_VEHICLES_TIME, 20, true, -1}, //NRG-500 // PCC - 21 {402,80.6992,1160.8394,18.6565,354.6194, 65, 65, RESPAWN_VEHICLES_TIME, 21, true, -1}, //Buffalo {560,80.6992,1160.8394,18.6565,354.6194, 65, 65, RESPAWN_VEHICLES_TIME, 21, true, -1}, //Sultan {413,80.6992,1160.8394,18.6565,354.6194, 65, 65, RESPAWN_VEHICLES_TIME, 21, true, -1}, //VAN {521,80.6992,1160.8394,18.6565,354.6194, 65, 65, RESPAWN_VEHICLES_TIME, 21, true, -1}, //FCR-900 // TRIADS - 22 {413, 2793.9202, -1617.6040, 10.9168, 73.7157, 32, 32, RESPAWN_VEHICLES_TIME, 22, true, -1},//VAN {461, 2769.0405, -1626.1870, 10.4897, 267.8643, 32, 32, RESPAWN_VEHICLES_TIME, 22, true, -1},//PCJ-600 {560, 2792.6367, -1621.8864, 10.5844, 78.0775, 32, 32, RESPAWN_VEHICLES_TIME, 22, true, -1},//SULTAN // FARC - 23 {461, -2273.2861, 2312.3357, 4.3846, 270.1851, 0, 0, RESPAWN_VEHICLES_TIME, 23, true, -1},//PCJ-600 {413, -2273.3621, 2315.2454, 4.3852, 270.6380, 0, 0, RESPAWN_VEHICLES_TIME, 23, true, -1},//VAN {560, -2272.3164, 2324.3250, 4.5057, 270.2993, 0, 0, RESPAWN_VEHICLES_TIME, 23, true, -1},//SULTAN // MAYANS - 24 {461, 482.8841, -1494.9019, 19.7726, 267.2075, 31, 31, RESPAWN_VEHICLES_TIME, 24, true, -1},//PCJ-600 {413, 482.7080, -1492.9288, 19.7338, 275.2716, 31, 31, RESPAWN_VEHICLES_TIME, 24, true, -1},//VAN {560, 480.4734, -1509.4674, 20.1656, 271.3956, 31, 31, RESPAWN_VEHICLES_TIME, 24, true, -1},//SULTAN // SONS - 25 {487, 676.2000100, -452.3999900, 20.9000000, 90.0000000, 0, 0, RESPAWN_VEHICLES_TIME, 25, true, -1}, {463, 708.7999900, -461.1000100, 16.0000000, 90.0000000, 0, 0, RESPAWN_VEHICLES_TIME, 25, true, -1}, {463, 708.9003900, -458.2002000, 16.0000000, 90.0000000, 0, 0, RESPAWN_VEHICLES_TIME, 25, true, -1}, {463, 668.5000000, -461.5000000, 16.0000000, 90.0000000, 0, 0, RESPAWN_VEHICLES_TIME, 25, true, -1}, {463, 708.9003900, -464.2002000, 16.0000000, 90.0000000, 0, 0, RESPAWN_VEHICLES_TIME, 25, true, -1}, {463, 695.2000100, -460.5000000, 16.0000000, 270.0000000, 0, 0, RESPAWN_VEHICLES_TIME, 25, true, -1}, {463, 695.0000000, -463.7999900, 16.0000000, 270.0000000, 0, 0, RESPAWN_VEHICLES_TIME, 25, true, -1}, {463, 695.0999800, -466.8999900, 16.0000000, 270.0000000, 0, 0, RESPAWN_VEHICLES_TIME, 25, true, -1}, {463, 668.4000200, -464.6000100, 16.0000000, 90.0000000, 0, 0, RESPAWN_VEHICLES_TIME, 25, true, -1}, {463, 668.5000000, -467.5000000, 16.0000000, 90.0000000, 0, 0, RESPAWN_VEHICLES_TIME, 25, true, -1}, {560, 667.5000000, -458.2999900, 16.1000000, 90.0000000, 0, 0, RESPAWN_VEHICLES_TIME, 25, true, -1}, // MILICIA {413,2485.4668,936.7382,10.5328,0.0000000,69, 69, RESPAWN_VEHICLES_TIME, 26, true, -1}, //VAN {560,2517.5659,935.6787,10.4999,0.0000000,69, 69, RESPAWN_VEHICLES_TIME, 26, true, -1}, //Sultan {521,2523.7783,936.3839,10.4972,0.0000000,69, 69, RESPAWN_VEHICLES_TIME, 26, true, -1}, //FCR-900 // PC - 33 {579, 925.4674, -1193.2428, 16.6226, 89.9216, 123, 123, RESPAWN_VEHICLES_TIME, 33, true, -1},//Huntley {579, 926.9197, -1188.4312, 16.6833, 91.0562, 123, 123, RESPAWN_VEHICLES_TIME, 33, true, -1},//Huntley {497, 894.6365, -1282.1791, 23.2570, 1.6912, 123, 123, RESPAWN_VEHICLES_TIME, 33, true, -1}, // DETRAN - 34 {596, 1094.1348, 1319.7321, 10.5424, 94.0409, 1, 6, RESPAWN_VEHICLES_TIME, 34, true, -1}, //carro {596, 1093.9098, 1327.1005, 10.5418, 94.2935, 1, 6, RESPAWN_VEHICLES_TIME, 34, true, -1}, // {596, 1093.6720, 1333.2329, 10.5418, 93.3233, 1, 6, RESPAWN_VEHICLES_TIME, 34, true, -1}, // {596, 1093.3826, 1338.6781, 10.5438, 93.1588, 1, 6, RESPAWN_VEHICLES_TIME, 34, true, -1}, // {596, 1092.7920, 1344.2577, 10.5341, 91.4854, 1, 6, RESPAWN_VEHICLES_TIME, 34, true, -1}, // {525, 1092.7456, 1249.3413, 10.6989, 88.9823, 6, 1, RESPAWN_VEHICLES_TIME, 34, true, -1}, //guicho {525, 1092.8611, 1254.0289, 10.6992, 85.8842, 6, 1, RESPAWN_VEHICLES_TIME, 34, true, -1}, //1 {525, 1092.7129, 1258.4686, 10.7037, 86.7445, 6, 1, RESPAWN_VEHICLES_TIME, 34, true, -1}, //2 {525, 1092.9008, 1263.0802, 10.7012, 90.6369, 6, 1, RESPAWN_VEHICLES_TIME, 34, true, -1}, //3 {525, 1092.8987, 1267.7925, 10.7035, 91.1476, 6, 1, RESPAWN_VEHICLES_TIME, 34, true, -1}, //4 {525, 1092.8958, 1272.1368, 10.7010, 90.7254, 6, 1, RESPAWN_VEHICLES_TIME, 34, true, -1}, //5 {487, 1049.6266, 1346.3971, 11.0017, 358.9684, 6, 1, RESPAWN_VEHICLES_TIME, 34, true, -1}, //heli {523, 1063.9923, 1227.3624, 10.3975, 359.4045, 6, 1, RESPAWN_VEHICLES_TIME, 34, true, -1}, //moto {523, 1066.5061, 1227.0884, 10.3880, 357.2605, 6, 1, RESPAWN_VEHICLES_TIME, 34, true, -1}, //moto {523, 1068.6680, 1227.4606, 10.3879, 4.8538, 6, 1, RESPAWN_VEHICLES_TIME, 34, true, -1},//moto {459, 1093.6047, 1291.4480, 10.5410, 84.5841, 6, 1, RESPAWN_VEHICLES_TIME, 34, true, -1}, //van {459, 1093.3936, 1296.1025, 10.6936, 87.0870, 6, 1, RESPAWN_VEHICLES_TIME, 34, true, -1}, //van // BAEP - 35 {490,2902.6001000,2134.3999000,10.6000000,90.0000000,0,0, RESPAWN_VEHICLES_TIME, 35, true, -1}, //fbirancher {490,2902.5000000,2138.8999000,10.6000000,90.0000000,0,0, RESPAWN_VEHICLES_TIME, 35, true, -1}, //fbirancher {497,2926.0000000,2113.1001000,22.0000000,0.0000000,0,0, RESPAWN_VEHICLES_TIME, 35, true, -1}, //Police Maverick // FT - 36 {497, 2623.8040, 1698.3364, 10.5937, 88.1556, 198, 198, RESPAWN_VEHICLES_TIME, 36, true, -1}, {490, 2630.9189, 1861.5382, 10.5922, 267.9507, 198, 198, RESPAWN_VEHICLES_TIME, 36, true, -1}, {490, 2630.8999, 1785.0917, 10.5939, 269.6717, 198, 198, RESPAWN_VEHICLES_TIME, 36, true, -1}, //Tropa da turquia {413,1438.0477,371.0233,18.9827,336.6787,3, 3,RESPAWN_VEHICLES_TIME, 37, true, -1}, //VAN {560,1438.0477,371.0233,18.9827,336.6787,3, 3,RESPAWN_VEHICLES_TIME, 37, true, -1}, //Sultan {521,1438.0477,371.0233,18.9827,336.6787,3, 3,RESPAWN_VEHICLES_TIME, 37, true, -1}, //FCR-900 //Tropa da escocia {413,2775.6118,-1965.9728,13.1680,90.1144,135, 135, RESPAWN_VEHICLES_TIME, 38, true, -1}, //Pony {522,2775.0142,-1956.9891,13.1613,89.3124,135, 135, RESPAWN_VEHICLES_TIME, 38, true, -1}, //Sultan {560,2775.7212,-1982.2570,13.2024,87.6232,135, 135, RESPAWN_VEHICLES_TIME, 38, true, -1} //FCR-900 }; stock checkList(orgid, listitem) { new open = -1; for(new i = 0; i < sizeof(orgVehicles); i++) { if((orgid == orgVehicles[i][orgID]) && (orgVehicles[i][Disponivel])) { open++; if(open == listitem) { return i; } } } return listitem; } stock checkListE(orgid, listitem) { new open = -1; for(new i = 0; i < sizeof(empVehicles); i++) { if((orgid == empVehicles[i][orgID]) && (empVehicles[i][Disponivel])) { open++; if(open == listitem) { return i; } } } return listitem; } stock IsVehicleOccupied(vehid) { foreach(Player, i) { if(IsPlayerConnected(i)) { if(IsPlayerInVehicle(i, vehid)) return 1; } } return 0; } CallBack::DestroyVehicleEmp(id, liberar_id) { if(IsVehicleOccupied(id)) return SetTimerEx("DestroyVehicleEmp", TIME_DESTROY_VEHICLE, false, "ii", id, liberar_id); if(!IsValidVehicle(id)) return 1; /* empVehicles[liberar_id][Disponivel] = true; empVehicles[liberar_id][vID] = -1; CreatedCar--; CriadoPorADM[id] = -1; CarroEMPREGOID[id] = -1; CarroORGID[id] = -1; CarroParticular[id] = -1; CriadoPorADM[id] = -1; for(new p; p < MAX_PLAYERS; ++p) { if(IsPlayerConnected(p)) { if(PlayerCarroIDEmp[p] == id) { PlayerCarroIDEmp[p] = INVALID_VEHICLE_ID; } } } if(IsValidVehicle(id)) { DestroyVehicleEx(id); } */ return true; } CallBack::DestroyVehicleOrg(id, liberar_id) { if(IsVehicleOccupied(id)) return SetTimerEx("DestroyVehicleOrg", TIME_DESTROY_VEHICLE, false, "ii", id, liberar_id); if(!IsValidVehicle(id)) return 1; /* CriadoPorADM[id] = -1; CarroEMPREGOID[id] = -1; CarroORGID[id] = -1; CarroParticular[id] = -1; CriadoPorADM[id] = -1; orgVehicles[liberar_id][Disponivel] = true; orgVehicles[liberar_id][vID] = -1; CreatedCar--; for(new p; p < MAX_PLAYERS; ++p) { if(IsPlayerConnected(p)) { if(PlayerCarroIDOrg[p] == id) { PlayerCarroIDOrg[p] = INVALID_VEHICLE_ID; } } } if(IsValidVehicle(id)) { DestroyVehicleEx(id); } */ return true; } CallBack::ResetarSpawnouVeh(playerid) { JaSpawnouVeh[playerid] = false; } CallBack::ResetarBugCarros(playerid) { antibugcarros = false; } stock GetPlayerOrg(playerid) { if(!IsPlayerConnected(playerid))return 0; new org; if(PlayerInfo[playerid][pLider] > 0) { org = PlayerInfo[playerid][pLider]; return org; } if(PlayerInfo[playerid][pMembro] > 0) { org = PlayerInfo[playerid][pMembro]; return org; } return 0; } stock LoadLabelV() { for(new i = 0; i < sizeof(Locales); i++) { CreateDynamic3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Veiculos\nUse: {00FFFF}'F ou H' {FFFFFF}Para spawnar um veiculo",0x1E90FFFF,Locales[i][xX], Locales[i][yY], Locales[i][zZ], 35.0,INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 0, -1, -1, -1, STREAMER_3D_TEXT_LABEL_SD, -1, 0); //Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Veiculos\nUse: {00FFFF}'F ou H' {FFFFFF}Para spawnar um veiculo",0x1E90FFFF,Locales[i][xX], Locales[i][yY], Locales[i][zZ],35.0,0); AddStaticPickup(1318, 23, Locales[i][xX],Locales[i][yY], Locales[i][zZ], 0); } /*for(new i = 0; i < sizeof(LocalesG); i++) { // LocalesG Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Veiculos\nUse: {00FFFF}'F ou H' {FFFFFF}Para spawnar um veiculo",0x1E90FFFF,LocalesG[i][xX],LocalesG[i][yY], LocalesG[i][zZ],35.0,0); AddStaticPickup(1318, 23, Locales[i][xX],Locales[i][yY], Locales[i][zZ], 0); }*/ for(new i = 0; i < sizeof(LocalesE); i++) { CreateDynamic3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Veiculos\nUse: {00FFFF}'F ou H' {FFFFFF}Para spawnar um veiculo",0x1E90FFFF, LocalesE[i][xX], LocalesE[i][yY], LocalesE[i][zZ], 35.0,INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 0, -1, -1, -1, STREAMER_3D_TEXT_LABEL_SD, -1, 0); //Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Veiculos\nUse: {00FFFF}'F ou H' {FFFFFF}Para spawnar um veiculo",0x1E90FFFF,LocalesE[i][xX], LocalesE[i][yY], LocalesE[i][zZ],35.0,0); AddStaticPickup(1318, 23, LocalesE[i][xX],LocalesE[i][yY], LocalesE[i][zZ], 0); } } //============ Sistema Anti-boots ============== #define MAX_IP_CONNECTS 3 //============================================= // ========= Sistema Area Safe ======== // new bool:entrouAreaProtegida[MAX_PLAYERS]; new Float:VidaForaAP[MAX_PLAYERS]; new Text:AntSpawn0; new Text:AntSpawn1; new Text:AntSpawn2; // ==================================== // new bool:ChatStaff[MAX_PLAYERS]; new Concessionaria[MAX_PLAYERS]; new bool:TaDanificado[MAX_PLAYERS]; new dentrocasa[MAX_PLAYERS]; // Variavel para sistema de Sono new bool:NaPorraDoEvento[MAX_PLAYERS]; new EventoX1W[MAX_PLAYERS]; new bool:UsouEstacionar[MAX_PLAYERS]; new EventoX1WStatus; // foi login new bool: FoiRegistro[MAX_PLAYERS] = {false, ...}; // =========== [Sistema Paramedico] =========== // new SistemaParaMedico = 1; new SysMsgLogin = 0; new SysMsgBRASIL = 0; new PedMorto[MAX_PLAYERS]; new TimingPlayer[MAX_PLAYERS]; // desbugar // carros helpers new CarrosHelpers[7]; //new CarrosADM[14]; new PortaoADM; new PortaoCN; new PortaoAztecas; new PortaoBallas; new PortaoHitmans; new PortaoCV; new PortaoBope1; new PortaoBope2; new PortaoVagos; // // Musicas // new PlayerText:Textdrawmorte0[MAX_PLAYERS]; new PlayerText:Textdrawmorte1[MAX_PLAYERS]; new PlayerText:Textdrawmorte2[MAX_PLAYERS]; new PlayerText:Textdrawmorte3[MAX_PLAYERS]; new PlayerText:Textdrawmorte4[MAX_PLAYERS]; new PlayerText:Textdrawmorte5[MAX_PLAYERS]; new Float:XMorte[MAX_PLAYERS], Float:YMorte[MAX_PLAYERS], Float:ZMorte[MAX_PLAYERS]; // ============================================= // new tpRegrasGerais[][] = { "{00FFFF}-- Regras Gerais --\n\n", "{00FFFF}Anti-RP: {FFFFFF}45m + /KICK\nA SEGUNDABAN\n", "{00FFFF}Deathmatch (DM): {FFFFFF}25m - 35m + /KICK\n", "{00FFFF}Drive-By (DB): {FFFFFF}25m - 35m + /KICK\n", "{00FFFF}Spawn-Kill: {FFFFFF}45m + /KICK\n", "{00FFFF}Flood ou Spam: {FFFFFF}10m - 15m + /KICK\n", "{00FFFF}Abuso de BUG: {FFFFFF}60m - 1 a 2 Dias de Banimento\n", "{00FFFF}ESC area Neutra: {FFFFFF}/KICK\n", "{00FFFF}ESC Cela Administrativa: {FFFFFF}/KICK - 3 KICKS somam 5m\n", "{00FFFF}Calotes: {FFFFFF}Banimento temporario - Banimento permanente\n", "{00FFFF}Desrespeito com ADM'S: {FFFFFF}20m - 30m\n", "{00FFFF}Abuso de BUG's/Falhas: {FFFFFF}120m + Aviso\n", "{00FFFF}Preconceito: {FFFFFF}Banimento" }; new tpAnuncioseRelatorios[][] = { "{00FFFF}-- Anúncios e Relatorios --\n\n", "{00FFFF}Anúncio falho: {FFFFFF}/KICK\n", "{00FFFF}Anúncio indevido: {FFFFFF}15m + /KICK\n", "{00FFFF}Anúncio burlado: {FFFFFF}15m + /KICK\n", "{00FFFF}Anúncio ofensivo: {FFFFFF}15m + /KICK\n", "{00FFFF}Relatorio indevido: {FFFFFF}/KICK - 10m + /KICK\n", "{00FFFF}Relatorio ofensivo: {FFFFFF}25m + /KICK" }; new tpInvasoes[][] = { "{00FFFF}-- Invasões --\n\n", "{00FFFF}Civil invadindo HQ: {FFFFFF}30m + /KICK\n", "{00FFFF}Policiais em GGs, Mafias ou Familias s/ procurados: {FFFFFF}30m + /KICK\n", "{00FFFF}Policiais com menos de 3 membros participando: {FFFFFF}30m + /KICK\n", "{00FFFF}Invasao sem anúncio por /GOV ou /ANG: {FFFFFF}35m + /KICK\n", "{00FFFF}Assassinos sem contrato: {FFFFFF}30m + /KICK\n", "{00FFFF}GG's ou Terroristas em HQ Policial: {FFFFFF}30m + /KICK\n", "{00FFFF}PM, GATE, FT, BOPE, PC, ROTA, Exercito, BAEP em Mafias sem ser solicitado: {FFFFFF}45m + /KICK\n", "{00FFFF}Civis, Policias, GGs, Mafias e Familias em Terroristas: {FFFFFF}30m + /KICK" }; new tpModificacoes[][] = { "{00FFFF}-- Modificacões e Cheaters --\n\n", "{00FFFF}Cheater que beneficie o usuario: {FFFFFF}Banimento Permanente\n", "{00FFFF}Cheater que prejudique o servidor: {FFFFFF}Banimento serial (Master +)" }; new tpLideres[][] = { "{00FFFF}-- Regras de conduta para Lideres --\n\n", "{00FFFF}Convidar sem Teste: {FFFFFF}3 Avisos na Lideranca\n", "{00FFFF}Demissao/Rebaixamento sem motivo legivel: {FFFFFF}2 Avisos na Lideranca\n", "{00FFFF}10 Avisos na Lideranca: {FFFFFF}Retirada do Lider\n", "{00FFFF}Atividade inferior a 2 horas diarias: {FFFFFF}Perda da Lideranca + 1 mes Black List\n", "{00FFFF}Deathmatch (DM): {FFFFFF}1 Aviso na Lideranca + 30m + /KICK\n", "{00FFFF}Drive-By (DB): {FFFFFF}1 Aviso na Lideranca + 30m + /KICK\n", "{00FFFF}Anti-RP: {FFFFFF}2 Avisos na Lideranca + 45m + /KICK\n", "{00FFFF}Spawn-Kill: {FFFFFF}1 Aviso na Lideranca + 45m + /KICK" }; // =========== [Novas Mensagens] =========== // #define TRABALHARADM "{8B0000}[ERRO] {D3D3D3}Voce nao pode usar este comando fora do modo trabalho!" #define NAOCONECTADO "{8B0000}[ERRO] {D3D3D3}Voce nao esta conectado!" #define LEVELADM "{8B0000}[ERRO] {D3D3D3}Voce nao pode usar este comando!" // ======================================= // // Banco de dados new DB:Database; // =========== [Carros e Objetos] =========== // new PortaoFT; new PortaoSFR; new PortaoGroove; new PortaoRussa; // ======================================== // new SNIPER_ATIVADO = 1; #define PASTA_ARVORES "Natal/Arvore%d.ini" #define PASTA_VENCIMENTOS "VencimentosVIP/%s.ini" #define Pasta_Cadeias "Cadeia/%s.ini" #define Pasta_Contas "Contas/%s.ini" #define Pasta_SenhaAdm "SenhaAdmin.cfg" #define Pasta_CharAttach "CharAttach/%s.ini" #define Pasta_Inventario "Inventario/%s.ini" #define Pasta_Atividades "Atividade/%s.ini" #define Pasta_Casas "Props/Casas/Casa_%d.ini" #define Pasta_Carros "Props/Carros/Carro_%d.ini" #define Pasta_Carras "Props/Carras/Carra_%d.ini" #define Pasta_Empresas "Props/Empresas/Empresa_%d.ini" #define Pasta_SEmpresas "Props/MiniEmpresas/MiniEmpresa_%d.ini" #define Pasta_FEmpresas "Props/Fazendas/Fazenda_%d.ini" #define Pasta_Admins "Props/Admins/%s.ini" #define Pasta_AdminsTemp "Props/AdminsTemp/%s.ini" #define Pasta_AdminsList "Props/AdminsList.cfg" #define Pasta_AdminsListTemp "Props/AdminsListTemp.cfg" #define Pasta_HelpersList "Props/HelpersList.cfg" #define Pasta_Helpers "Props/Helpers/%s.ini" #define Pasta_AdminsLogin "adminslogin.txt" #define Pasta_Banidos "Banidos/%s.ini" #define Pasta_IPsBanidos "IPsBanidos/%s.ini" #define Pasta_BanidosTemp "BanidosTemp/%s.ini" #define Pasta_IPsBanidosTemp "IPsBanidosTemp/%s.ini" #define Pasta_CofreOrg "Cofre Org/Org%d.cfg" #define Pasta_Candidatos "Candidatos/Org%d.cfg" #define Pasta_MembrosOrg "OrgMembros/Org%d.cfg" #define Pasta_PatrociniosOrg "Patrocinios/Org%d.cfg" #define Pasta_BUGS "BUGS.pwn" #define Pasta_SUG "Sugestoes.pwn" #define Pasta_SenhaSeguranca "SenhaSeguranca.ini" #define Pasta_Logados "Logados.ini" #define Pasta_Logs "Logs/%s.log" #define Pasta_Corridas "Corrida_%d.cfg" #define Pasta_Deletadas "ContasDeletadas/%s.ini" #define Pasta_Ranks "rank/rank_%s.ini" #define Pasta_Objetos "Objetos/%d.ini" #define Pasta_Skins "lSelections/skins.txt" #define Pasta_CarrosCasa "lSelections/carroscasa.txt" #define Pasta_CarrosVip "lSelections/carrosvip.txt" #define Pasta_Eastereggs "EasterEggs.cfg" #define VEH_SAVE_FILE "/Carros Conce/%s.ini" #define PASTA_BLACKLIST "BlackList/Socios/%s.ini" new StringDialog[4095]; /* => DEFINES <= */ #define HaveCap(%0) pObject[%0][omodel] ? pObject[%0][omodel] : -1 #define pc(%1,%2) (%2)-(%2*%1/100) //Porcentagem #define Temporoubo (6*60000) #define TEMPO 6 #define Controle TogglePlayerControllable #define novotel 198 #define novocapacete 190 #define TELEPORTE 4324 #define usarpatrocinio 2454 #define confirmarfamiliat 2455 #define confirmarpatrocinio 2453 #define char 255 #define AFK_TIME 10 #define AFK_TIME2 2 #define SLOTS 500 #define SCM \ SendClientMessage #define SCMAll \ SendClientMessageToAll #define Loop(%0,%1) \ for(new %0 = 0; %0 != %1; %0++) /* => DEFINES MENU's <= */ #define DIALOG_MENU_VIP 3825 #define DIALOG_MENU_VIP_CARROS 3826 #define DIALOG_MENU_VIP_CARROS_CF 3827 #define DIALOG_MENU_VIP_ITENS 3828 #define DIALOG_MENU_VIP_ITENS_CF 3829 #define DIALOG_MENU_VIP_EFEITOS 3830 #define DIALOG_MENU_VIP_EFEITOS_CF 3831 #define DIALOG_MENU_VIP_ACSS 3832 #define DIALOG_MENU_VIP_ACSS_CF 3833 #define DIALOG_TRANSFERIR_CASH 3834 #define DIALOG_CUPOM_COMPRA 3835 #define DIALOG_TRANSFERIR_CASH2 3836 #define DIALOG_TRANSFERIR_CASH3 3837 #define DIALOG_MENU_UTILIDADES 3838 #define DIALOG_MENU_UTILIDADES_CF 3839 #define DIALOG_MENU_VIP_COMPR 3840 #define DIALO_MENU_VIP_COMPR_CF 3841 #define menuvei 197 #define menubolsa 2452 #define menuajuda 2457 #define menuskills 2460 #define menuevento 2450 /* => DEFINES DIALOG <= */ #define DIALOG_LIBERARMV 6964 #define DIALOG_LIBERARMV2 6963 #define DIALOG_LIBERARMV3 6962 #define DIALOG_LIBERARMV5 6960 #define DIALOG_PARTICULAR 15544 #define DIALOG_SMS 15546 #define DIALOG_CAIXA_ELETRONICO 172 #define DIALOG_CAIXA_ELETRONICO_INPUT 173 #define DIALOG_TRANSFERIR 176 #define DIALOG_ALUGAR 1212 #define DIALOG_ALUGAR2 1213 #define DIALOG_ATTACHMENTS 1742 #define DIALOG_ATTACHMENTS_EDITDELETE 1743 #define DIALOG_SIREN 9476 #define DIALOG_SIREN2 9477 #define DIALOG_LOGIN2 1389 #define DIALOG_LOGID 1338 #define DIALOG_CASAGPS 1982 #define DIALOG_ATTACH_INDEX 13500 #define DIALOG_ATTACH_INDEX_SELECTION DIALOG_ATTACH_INDEX+1 #define DIALOG_ATTACH_EDITREPLACE DIALOG_ATTACH_INDEX+2 #define DIALOG_ATTACH_MODEL_SELECTION DIALOG_ATTACH_INDEX+3 #define DIALOG_ATTACH_BONE_SELECTION DIALOG_ATTACH_INDEX+4 #define DIALOG_LOGARADM 15324 /* => DEFINES MAX's <= */ #define MAX_ITEMS 49 #define MAX_CADAVERES 100 #define MAX_OBJ 800 #define MAX_OBJETOS 400 #define MAX_TITULOS 14 #define MAX_ANUNCIOS 100 #define MAX_MEMBERS 25 #define MAX_CAIXASEQUIPAMENTOS 500 #define MAX_REAL_OBJ 28 #define MAX_HOUSES 496 #define MAX_BIZZES 56 #define MAX_SBIZZES 32 #define MAX_FBIZZES 20 #define MAX_STRING 128 #define MAX_ZONE_NAME 28 #define MAX_TRUNK_SLOTS (5) #define MAX_TRUNK_SLOTS (5) #define MAX_MOVEIS 250 #define MAX_EASTER_EGGS 21 #define MAX_TERRITORIOS 100 #define MAX_PICKUPS_ROUBO 40 #define MAX_SOUNDS 50 #define MAX_MODS 12 #define MAX_MUROS 9 #define MAX_ADMINS 41 #define MAX_HELPERS 41 #define MAX_PREGOS 80 #define MAX_BARREIRAS 80 #define MAX_CONES 400 #define MAX_CPS_CORRIDA 51 #define MAX_PLAYERS_IN_CORRIDA 30 /* => DEFINES VAGAS / SLOTS <= */ #define Vaga_Roubo 6 #define Vaga_Pizza 7 #define Vaga_Maconha 8 #define Vaga_Pa 9 #define Vaga_Radio 10 #define Vaga_Celular 11 #define Vaga_Escudo 16 #define Vaga_Capacete 17 #define Vaga_Planta 18 #define Vaga_Aureola1 20 #define Vaga_Aureola2 21 #define Vaga_Corrente 22 #define Vaga_Colete 24 #define Vaga_Ejetar 25 #define Vaga_Ejetar2 26 #define Vaga_Taser 27 #define Slot_Sniper 0 #define SlotAKeFUZIL 1 #define SlotEscopeta 2 #define SlotCacetete 3 #define SlotDesert 4 #define SlotExt 5 /* => DEFINES CORES <= */ #define TRANPARENTE #00000000 #define BRANCO_COR -1 #define COLOR_LIGHTGREEN 0x00FF00FF #define COLOR_ERRO 0xFF0000FF #define AMARELO_COR 0xF6F600FF #define COR_LIGHTRED 0xff6347FF #define COR_LIGHTBLUE 0x33CCFFAA #define COR_GRAD1 0xB4B5B7FF #define COR_EXE 0x00660CF6 #define COR_AMARELO 0xFFFF00AA #define COLOR_WHITE 0xFFFFFFFF #define COR_3DLABEL 0xFFFFFFFF #define COLOR_LIGHTRED 0xFF6347AA #define COLOR_GREEN 0x00660CAA #define COLOR_PURPLE 0xC2A2DAAA #define TEAM_GROVE_COLOR 0x00D900AA #define TEAM_BALLAS_COLOR 0x9900FFAA #define COR_BPCHOQUE 0x8B4513FF #define TEAM_AZTECAS_COLOR 0x2641FEAA #define COLOR_GRAD1 0xB4B5B7FF #define COLOR_GRAD2 0xBFC0C2FF #define COLOR_GRAD3 0xBFC0C2FF #define COLOR_GRAD4 0xD8D8D8FF #define COLOR_GRAD5 0xF0F0F0FF #define COLOR_GRAD6 0xF0F0F0FF #define COLOR_LIGHTBLUE 0x33CCFFFF #define COLOR_DBLUE 0x243defAA #define COLOR_YELLOW 0xFFFF00AA #define COLOR_GREY 0xAFAFAFAA #define COLOR_RED 0xF78181AA #define TEAM_VAGOS_COLOR 0xFFC801AA #define COLOR_FADE4 0x8C8C8C8C #define COLOR_FADE5 0x6E6E6E6E #define COLOR_FADE3 0xAAAAAAAA #define COLOR_FADE2 0xC8C8C8C8 #define COLOR_FADE1 0xE6E6E6E6 #define COLOR_YELLOW2 0xFFB90FAA #define TEAM_BLUE_COLOR 0x8D8DFF00 #define COR_GRAD5 0xE3E3E3FF /* => DEFINES ANTI-XITER <= */ #define C_AirBreak (1) #define C_Speed (2) #define C_Money (3) #define C_StateHack (4) #define C_Fly (5) #define C_Weapon (6) #define C_Colete (7) #define C_FakeKill (8) #define C_DV (9) #define C_Joy (10) #define C_Armas (11) #define C_PC (12) #define C_AntCrashing (13) /* => DEFINES SNIPER <= */ #define SENSETIVE 0.42 #define MP 100 /* => DEFINES CARTEIRA <= */ #define W_Velocidade 10 #define W_Damage 25 #define V_Damage 250.0 /* => DEFINES ELEVADOR <= */ #define ELEVATOR_SPEED (5.0) #define DOORS_SPEED (5.0) #define ELEVATOR_WAIT_TIME (5000) #define ELEVADOR_ID (4785) #define X_DOOR_CLOSED (1786.627685) #define X_DOOR_R_OPENED (1785.027685) #define X_DOOR_L_OPENED (1788.227685) #define GROUND_Z_COORD (14.511476) #define ELEVATOR_OFFSET (0.059523) /* => DEFINES TEXT's <= */ #define TextCasaVenda "Esta casa esta a venda\nDescricao: %s\nPreco: R$%d\nNivel: %d\nPara compra-la use /comprarcasa" #define TextCasa "O dono desta casa e %s\nNivel: %d\nAperte a letra F para entrar" #define TextCasaAl "O dono desta casa e %s\nAluguel: R$%d\nNivel: %d\nUSE /alugarquarto para aluga-la\nAperte a letra F para entrar" #define TextEmpresaVenda "Esta empresa esta a venda\n%s\nPreco da Empresa: R$%s\nNivel: %d\nFundos: R$%s\nPara comprar digite /comprarempresa\nAperte a letra 'H' para entrar" #define TextEmpresa "%s\nDono: %s\nEntrada: R$%d\nFundos: R$%s\nPreco por Produto:R$%d\nAperte a letra 'H' para entrar" #define TextMEmpresaVenda "Esta empresa esta a venda\n%s\nPreco da mini empresa: R$%s\nNivel: %d\nPara comprar digite /comprarempresa" #define TextMEmpresa "%s\nDono da empresa: %s\nExtorsao: %s\nEntrada: R$%d\nNivel: %d\nPreco por Produto:R$ %d" #define TextFEmpresaVenda "%s\nEsta Fazenda esta a venda\nValor: R$%s\nNivel: %d\nProdutos Requeridos: %d\nPreco por Produto:R$ %d\nPara comprar digite /comprarfazenda" #define TextFEmpresa "%s\nDono da Fazenda: %s\nExtorcao: %s\nProdutos Requeridos: %d\nPreco por Produto:R$ %d\nFundos:R$ %s" // |__________________[Logins RCON]__________________________| #define NOME1 "DG HD SAMP" #define NOME2 "" #define NOME3 "" #define NOME4 "" #define NOME5 "" #define CALLBACK::%1(%2) forward %1(%2);public %1(%2) #define HAY_X 4 #define HAY_Y 4 #define HAY_Z 30 #define HAY_B 146 #define HAY_R 4 #define SPEED_FACTOR 3000.0 #define ID_HAY_OBJECT 3374 #define HOLDING(%0) \ ((newkeys & (%0)) == (%0)) #define RELEASED(%0) \ (((newkeys & (%0)) != (%0)) && ((oldkeys & (%0)) == (%0))) #define SetPlayerHoldingObject(%1,%2,%3,%4,%5,%6,%7,%8,%9) SetPlayerAttachedObject_Droid(%1,MAX_PLAYER_ATTACHED_OBJECTS-1,%2,%3,%4,%5,%6,%7,%8,%9) #define StopPlayerHoldingObject(%1) RemovePlayerAttachedObject(%1,MAX_PLAYER_ATTACHED_OBJECTS-1) #define IsPlayerHoldingObject(%1) IsPlayerAttachedObjectSlotUsed(%1,MAX_PLAYER_ATTACHED_OBJECTS-1) #define ForPlayers(%1) for(new %1 = 0; %1 < MAX_PLAYERS; %1++) if(IsPlayerConnected(%1) && !IsPlayerNPC(%1)) #define PlayerToPoint(%1,%2,%3) IsPlayerInRangeOfPoint(%2,%1,%3) #define for___loop(%1;%2;%3) \ PrintAmxBacktrace(); \ for(%1;%2;%3) #define while___loop(%1) \ PrintAmxBacktrace(); \ while(%1) #define PRESSED(%0) \ (((newkeys & (%0)) == (%0)) && ((oldkeys & (%0)) != (%0))) #pragma dynamic 36495848 #define GANHO_MIN 400 //GANHO MINIMO POR ENTREGA #define GANHO_MAX 1500 //GANHO MAXIMO POR ENTREGA #define ID_MOTOCA 461 //ID DA MOTOCA DE ENTREGAS // System iFood // new AppLigado[MAX_PLAYERS]; new iFood[MAX_PLAYERS]; new Entregando[MAX_PLAYERS]; new Retiroupedido[MAX_PLAYERS]; new buscandocorridas[MAX_PLAYERS]; new TempoDeResposta[MAX_PLAYERS]; new TemCorrida[MAX_PLAYERS]; new PlayerText:texto_novaentrega[MAX_PLAYERS]; new PlayerText:playertextdraw_1[MAX_PLAYERS]; new PlayerText:playertextdraw_2[MAX_PLAYERS]; new PlayerText:playertextdraw_3[MAX_PLAYERS]; new Temporizador[][1] = //TEMPO DE ESPERA ENTRE CADA ENTREGA { {5000}, {8000}, {10000}, {12000}, {16000} }; enum Rests { Float:BrX, Float:BrY, Float:BrZ, Local[64] } new Restaurantes[][Rests] = //ADICIONE QUANTOS RESTAURANTES QUISER :D ESQUEMA -> (X,Y,Z,"NOME") { {953.6340,-1379.8330,13.3438, "Cluckin' Bell"},// Cluckin Bells {1045.5018,-1269.2733,13.6790, "China's Food"},//Chinese Food {1126.0450,-1372.2838,13.9844, "Loja de bebidas"},// Loja de bebidas {1196.8871,-921.3952,43.0530, "Burguer Shot"},//Burguer Shot {1300.6167,-1156.1165,23.8281, "Disk Bebidas"},// Conveniencia 24hrs {421.7389,-1758.9269,8.1689, "Pizzaria da Praia"}// Pizzaria Praia }; new Float:Entregas_ifood[][3] = { {1247.3604,-1101.0178,26.6719}, {1243.1884,-1076.3695,31.5547}, {856.1241,-1687.5447,13.5550}, {840.9093,-1477.0052,13.5930} //ADICIONE QUANTAS CASAS QUISER, SEGUINDO O ESQUEMA: {X,Y,Z}, }; // -------------------------------------------------------------------------------------------------------------------------------------- // // Defines #define MAX_PLAYER_MAPICONS 100 #define SetPlayerMapIcon SetPlayerMapIconEx #define RemovePlayerMapIcon RemovePlayerMapIconEx // Dialogs #define D_PCOUANDROID 2832 #define D_INVENTARIO_MOBILE 2850 #define D_OPCOES_INVENTARIO 2851 #define D_QUER_VER_TUTORIAL 2852 #define D_CIDADE_NASCER 2853 // Enums & Arrays enum Enum_DataPlayerMapIcon { Float:m_PosX, Float:m_PosY, Float:m_PosZ, } new InventarioListitem[MAX_PLAYERS][75], bool:DebugFechouInventario[MAX_PLAYERS], DataPlayerMapIcon[MAX_PLAYERS][MAX_PLAYER_MAPICONS][Enum_DataPlayerMapIcon], bool:PlayerRegistrandoConta[MAX_PLAYERS], Float:VarPlayerOldPos[MAX_PLAYERS][3]; // -------------------------------------------------------------------------------------------------------------------------------------- // const Float: Radius = 1.4; //do not edit this const Float: Speed = 1.25; //do not edit this const Float: Heigh = 1.0; // do not edit this enum enum_CadaverInfo { cadaver_ID, Float:cadaver_Pos[4], Text3D:cadaver_Label } new CadaverInfo[MAX_CADAVERES][enum_CadaverInfo], Iterator:Cadaveres; new SendoAbordado[MAX_PLAYERS]; new SendoAbordadoPor[MAX_PLAYERS]; new PolicialAbordagem[MAX_PLAYERS]; new Abordando[MAX_PLAYERS]; new bool:JaUsou; enum cEquipamentos{ Float:caX, Float:caY, Float:caZ, Float:caRange, Text3D:caText, caObject, caMateriais, caType, bool:caCreated } new PlayerText:textEquipar[MAX_PLAYERS][2]; new CaixaEquipamentos[MAX_CAIXASEQUIPAMENTOS][cEquipamentos]; createCaixaEquipamento(caixatype, Float:range, Float:x, Float:y, Float:z, bool:load = false){ new files[70]; for(new c; c != MAX_CAIXASEQUIPAMENTOS; c++){ if(!load) { format(files, 70, "CaixasEquipamentos/Caixa%d.ini", c); if(DOF2_FileExists(files)) continue; } if(!CaixaEquipamentos[c][caCreated]){ new Str[78] ; CaixaEquipamentos[c][caCreated] = true; CaixaEquipamentos[c][caType] = caixatype; CaixaEquipamentos[c][caX] = x; CaixaEquipamentos[c][caY] = y; CaixaEquipamentos[c][caZ] = z; CaixaEquipamentos[c][caRange] = range; if(CaixaEquipamentos[c][caType] == 1){ CaixaEquipamentos[c][caMateriais] = 400; CaixaEquipamentos[c][caObject] = CreateDynamicObject(3016, x, y, z, 0, 0, 0); format(Str, sizeof Str, "[ CAIXA DE EQUIPAMENTOS P]\n{FFFFFF}Segure a tecla Y para equipar-se\nMateriais: %d", CaixaEquipamentos[c][caMateriais]); CaixaEquipamentos[c][caText] = CreateDynamic3DTextLabel(Str, COLOR_RED, x, y, z, range); } if(CaixaEquipamentos[c][caType] == 2){ CaixaEquipamentos[c][caMateriais] = 600; CaixaEquipamentos[c][caObject] = CreateDynamicObject(3052, x, y, z, 0, 0, 0); format(Str, sizeof Str, "[ CAIXA DE EQUIPAMENTOS M]\n{FFFFFF}Segure a tecla Y para equipar-se\nMateriais: %d", CaixaEquipamentos[c][caMateriais]); CaixaEquipamentos[c][caText] = CreateDynamic3DTextLabel(Str, COLOR_RED, x, y, z, range); } if(CaixaEquipamentos[c][caType] == 3){ CaixaEquipamentos[c][caMateriais] = 1000; CaixaEquipamentos[c][caObject] = CreateDynamicObject(3014, x, y, z, 0, 0, 0); format(Str, sizeof Str, "[ CAIXA DE EQUIPAMENTOS G]\n{FFFFFF}Segure a tecla Y para equipar-se\nMateriais: %d", CaixaEquipamentos[c][caMateriais]); CaixaEquipamentos[c][caText] = CreateDynamic3DTextLabel(Str, COLOR_RED, x, y, z, range); } if(!load) { DOF2_CreateFile(files); DOF2_SetInt(files, "Type", CaixaEquipamentos[c][caType]); DOF2_SetFloat(files, "X", CaixaEquipamentos[c][caX]); DOF2_SetFloat(files, "Y", CaixaEquipamentos[c][caY]); DOF2_SetFloat(files, "Z", CaixaEquipamentos[c][caZ]); DOF2_SetFloat(files, "Range", CaixaEquipamentos[c][caRange]); DOF2_SaveFile(); } return c; } } return -1; } stock LoadCaixasEquipamentos() { new files[70]; for(new c; c != MAX_CAIXASEQUIPAMENTOS; c++){ format(files, 70, "CaixasEquipamentos/Caixa%d.ini", c); if(DOF2_FileExists(files)) { CaixaEquipamentos[c][caType] = DOF2_GetInt(files, "Type"); CaixaEquipamentos[c][caX] = DOF2_GetFloat(files, "X"); CaixaEquipamentos[c][caY] = DOF2_GetFloat(files, "Y"); CaixaEquipamentos[c][caZ] = DOF2_GetFloat(files, "Z"); CaixaEquipamentos[c][caRange] = DOF2_GetFloat(files, "Range"); createCaixaEquipamento(CaixaEquipamentos[c][caType], CaixaEquipamentos[c][caRange], CaixaEquipamentos[c][caX], CaixaEquipamentos[c][caY], CaixaEquipamentos[c][caZ], true); } else { continue; } } } new timeFixer = 0; stock GetTimeFix(&h, &m, &s) { gettime(h, m, s); h += timeFixer; if(h > 23) h -= 24; if(h < 0) h += 24; return 1; } new year; new month; new day; new hour; new minute; new second; new sendername[MAX_PLAYER_NAME]; enum comInfo{ iniciouCombate[MAX_PLAYER_NAME], outroCombate[MAX_PLAYER_NAME], horaCombate[32], } new CombateInfo[35][comInfo]; resetCombate(){ for(new c; c < sizeof(CombateInfo); ++c){ strmid(CombateInfo[c][iniciouCombate], "Ninguem", 0, strlen("Ninguem"), 256); strmid(CombateInfo[c][outroCombate], "Ninguem", 0, strlen("Ninguem"), 256); strmid(CombateInfo[c][horaCombate], "00/00/00 00:00:00", 0, strlen("00/00/00 00:00:00"), 256); } } CombateLog(deudano, recebeu){ for(new c; c < sizeof(CombateInfo); ++c){ if(!strcmp(CombateInfo[c][iniciouCombate], "Ninguem", true)){ gettime(hour,minute,second); strmid(CombateInfo[c][iniciouCombate], PlayerName(deudano), 0, strlen(PlayerName(deudano)), 255); strmid(CombateInfo[c][outroCombate], PlayerName(recebeu), 0, strlen(PlayerName(recebeu)), 255); format(CombateInfo[c][horaCombate], 32, "%02d:%02d:%02d", hour,minute,second); return 1; } } return 1; } new pIP[MAX_PLAYERS][17]; new Erquivo[60]; //new TodosPlayers[MAX_PLAYERS][50]; new ItemVender[MAX_PLAYERS]; new PlayerText:invBox[MAX_PLAYERS][9]; new PlayerText:textAbordagem[MAX_PLAYERS][5]; new Text:CNF[6]; new PlayerText:CNFTelaPlayer[MAX_PLAYERS][3]; new UnidadesInventario[MAX_PLAYERS][75]; new SlotInventario[MAX_PLAYERS][75]; enum iInfo{ iSlot, iUnidades, } enum aInfo{ aModel, aSlot, aLocal, Float:aX, Float:aY, Float:aZ, Float:aRX, Float:aRY, Float:aRZ, Float:aTX, Float:aTY, Float:aTZ }; new AcessorioInfo[MAX_PLAYERS][10][aInfo]; new InventarioInfo[MAX_PLAYERS][75][iInfo]; new PaginaInventario[MAX_PLAYERS]; new ItemSelecionado[MAX_PLAYERS]; new MovendoInventario[MAX_PLAYERS]; new CombinandoInventario[MAX_PLAYERS]; new VendendoInv[MAX_PLAYERS]; new InventarioAberto[MAX_PLAYERS]; new VendedorInv[MAX_PLAYERS]; new ValorCompraInv[MAX_PLAYERS]; new PlayerText:invText[MAX_PLAYERS][7]; new PlayerText:invPreview[MAX_PLAYERS][75]; new PlayerText:invName[MAX_PLAYERS][75]; new ppp = 0; new xxx = 18; new yyy = 137; new xxx2 = 109; new yyy2 = 204; enum minfo { Crescida, Timer, Dono[MAX_PLAYER_NAME], Float:mX, Float:mY, Float:mZ, Object, Text3D:TT, bool:PodeUsar, GramasProntas, } new MaconhaInfo[MAX_MACONHA][minfo]; new LocalizeMaconha[11][MAX_PLAYERS]; new bool:PlantandoMaconha[MAX_PLAYERS]; //------------- DIALOGS TABLIST HEADER ------ new tablists[] = { 8764, 3738, 10798, 9901, 9902, 9903, 9904, 9905, 9906, 2587, 8971, 6587, 86, 89, 95, 5407, 5410, 5408, 15546, 2569, 2590, 2569, 8890, 6602, 10899, 8724, DIALOG_SMS, DIALOG_PARTICULAR, 5556, 3600, menuajuda, 9950, DIALOG_SMS, 10727 }; //------------- Sistema de caixa de itens --- enum caixass { CaixaDono[40], CaixaText[300], Text3D:Caixa3d, CaixaObj, CaixaInterior, CaixaBaixada, Float:CaixaX, Float:CaixaY, Float:CaixaZ, Float:CaixaRX, Float:CaixaRY, Float:CaixaRZ, CaixaItem[50], CaixaUnidades[50] } new SistemaCaixa[1000][caixass]; new EditandoCaixa[MAX_PLAYERS]; //------------- Sistema de portao individual --- enum ports { PortaoDono[40], PortaoSenha[20], PortaoObj, Text3D:Portao3d, PortaoText[300], Float:PortaoX, Float:PortaoY, Float:PortaoZ, Float:PortaoRX, Float:PortaoRY, Float:PortaoRZ, PortaoInterior, PortaoBaixada } new SistemaPortao[1000][ports]; new PortaoAberto[1000]; new PortaoOcupado[1000]; new EditandoPortao[MAX_PLAYERS]; CMD:reanimar(playerid) { ExecutarPlayerReanimacao(playerid); return 1; } CMD:reviver(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] < 1 && PlayerInfo[playerid][pAdminTemp] < 1) { SendClientMessage(playerid, COLOR_GRAD1, LEVELADM); return 1; } new id; if(sscanf(params, "i", id)) { SendClientMessage(playerid, COLOR_GRAD2, "USE: /Reviver [ID]"); return 1; } if(!IsPlayerConnected(id)) { SendClientMessage(playerid, COLOR_GRAD2, "Jogador não conectado."); return 1; } if(TimerAceitarMorte[id] == -1) { SendClientMessage(playerid, COLOR_GRAD2, "Esse jogador não morreu!"); return 1; } ResetPlayerAceitarMorte(id); SCMf(playerid, 0x00FFFFFF, "~> Você reviveu o jogador %s!", pNome(id)); SCMf(id, 0x00FFFFFF, "~> Administrador %s te reviveu!", pNome(playerid)); return 1; } CMD:guardarportao(playerid, params[]) { if(EditandoObjID[playerid] != -1) return SCM(playerid, COLOR_ERRO, "[Erro] Você está editando um objeto. Termine a edição do mesmo."); new ta[MAX_PLAYERS],dono[MAX_PLAYERS]; for(new i; i<300; i++) { if(IsPlayerInRangeOfPoint(playerid,5, SistemaPortao[i][PortaoX],SistemaPortao[i][PortaoY],SistemaPortao[i][PortaoZ])) { ta[playerid] = 1; if(!strcmp(NomePlayer(playerid), SistemaPortao[i][PortaoDono])) { dono[playerid] = 1; for(new d = 0; d<75; d++) { if(InventarioInfo[playerid][d][iSlot] == 19382) { new Filea[40]; format(Filea,40,"Portoes/Portao_%d.ini",i); if(DOF2_FileExists(Filea)) { InventarioInfo[playerid][d][iSlot] = 980; InventarioInfo[playerid][d][iUnidades] = 1; DOF2_RemoveFile(Filea); DestroyDynamicObject(SistemaPortao[i][PortaoObj]); DestroyDynamic3DTextLabel(SistemaPortao[i][Portao3d]); SendClientMessage(playerid, -1, "{00FFFF}• {FFFFFF}Voce guardou este portao no seu Inventario !"); OnPlayerSave(playerid); SaveObjects(playerid); return 1; } } } SendClientMessage(playerid, 0xFF6347AA, "* Seu inventario esta cheio!"); return 1; } } } if(ta[playerid] == 0) return SendClientMessage(playerid,-1,"Voce nao esta Proximo a nenhum portao !"); if(dono[playerid] == 0) return SendClientMessage(playerid,-1,"Voce nao e dono deste portao !"); return 1; } CMD:editarportao(playerid, params[]) { if(EditandoObjID[playerid] != -1) return SCM(playerid, COLOR_ERRO, "[Erro] Você já está editando um objeto. Termine a edição do mesmo."); new ta[MAX_PLAYERS],dono[MAX_PLAYERS]; for(new i; i<300; i++) { if(IsPlayerInRangeOfPoint(playerid,5, SistemaPortao[i][PortaoX],SistemaPortao[i][PortaoY],SistemaPortao[i][PortaoZ])) { ta[playerid] = 1; if(!strcmp(NomePlayer(playerid), SistemaPortao[i][PortaoDono])) { dono[playerid] = 1; EditandoCaixa[playerid] = -1; EditandoPortao[playerid] = i; EditDynamicObjectEx(playerid,SistemaPortao[i][PortaoObj]); SendClientMessage(playerid, -1, "Use os Eixos X, Y e Z para mover a posicao do seu Portao."); SendClientMessage(playerid, -1, "Edite a Posicao do seu Portao, e click no Icone de Salvar."); return 1; } } } if(ta[playerid] == 0) return SendClientMessage(playerid,-1,"Voce nao esta Proximo a nenhum portao !"); if(dono[playerid] == 0) return SendClientMessage(playerid,-1,"Voce nao e dono deste portao !"); return 1; } CMD:senhaportao(playerid, params[]) { if(EditandoObjID[playerid] != -1) return SCM(playerid, COLOR_ERRO, "[Erro] Você está editando um objeto. Termine a edição do mesmo."); new ta[MAX_PLAYERS],dono[MAX_PLAYERS]; for(new i; i<1000; i++) { if(IsPlayerInRangeOfPoint(playerid,5, SistemaPortao[i][PortaoX],SistemaPortao[i][PortaoY],SistemaPortao[i][PortaoZ])) { ta[playerid] = 1; if(!strcmp(NomePlayer(playerid), SistemaPortao[i][PortaoDono])) { dono[playerid] = 1; SetPVarInt(playerid, "portaofrente", i); ShowPlayerDialog(playerid,10103, DIALOG_STYLE_INPUT, "Editar Senha Portao", "{FFFFFF}Digite uma nova senha para seu portao:", "Ok", "Cancelar"); return 1; } } } if(ta[playerid] == 0) return SendClientMessage(playerid,-1,"Voce nao esta Proximo a nenhum portao !"); if(dono[playerid] == 0) return SendClientMessage(playerid,-1,"Voce nao e dono deste portao !"); return 1; } CMD:ajudacarro(playerid, params[]) { SendClientMessage(playerid, COLOR_WHITE,"{FFFFFF}[ CNF-Car's ]{FFFFFF} Ajuda Carro"); // {FFFFFF}[ System ]{FFFFFF} COR BRANCA MENU // "{FFFFFF}[ System ]{FFA07A} » • Cor Vermelha Texto SendClientMessage(playerid, COLOR_GRAD2,"{FFFFFF}[ CNF-Car's ]{FFA07A} » • AJUDA CARRO - /descricaomeucarro /entradameucarro /estacionarmeucarro /mv"); SendClientMessage(playerid, COLOR_GRAD2,"{FFFFFF}[ CNF-Car's ]{FFA07A} » • CARROS VIPS - /modelomeucarro /vendermeucarro /cormeucarro /retirargrana"); SendClientMessage(playerid, COLOR_GRAD2,"{FFFFFF}[ CNF-Car's ]{FFA07A} » • OUTROS - /ajuda "); return 1; } CMD:abrirportao(playerid, params[]) { new ta[MAX_PLAYERS],dono[MAX_PLAYERS]; for(new i; i<300; i++) { if(IsPlayerInRangeOfPoint(playerid,5, SistemaPortao[i][PortaoX],SistemaPortao[i][PortaoY],SistemaPortao[i][PortaoZ])) { ta[playerid] = 1; if(!strcmp(NomePlayer(playerid), SistemaPortao[i][PortaoDono])) { if(PortaoOcupado[i] == 1) return SendClientMessage(playerid, -1,"Portao em movimento ! Aguarde ate ele parar."); dono[playerid] = 1; SistemaAbrirPortao(playerid, i); return 1; } else { ShowPlayerDialog(playerid,10102, DIALOG_STYLE_INPUT, "Senha Portao", "{FFFFFF}Digite a Senha deste portao:", "Ok", "Cancelar"); SetPVarInt(playerid, "portaofrente", i); } } } if(ta[playerid] == 0) return SendClientMessage(playerid,-1,"Voce nao esta Proximo a nenhum portao !"); if(dono[playerid] == 0) return SendClientMessage(playerid,-1,"Voce nao e dono deste portao !"); return 1; } //~~~~~~~~~~~~~~~~~~~~~~~~~~~[Defines da Guerra na Pedreira]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ new TempoAn[MAX_PLAYERS]; new bool:teveprevisao = false; //Balões new Float:Evx[MAX_PLAYERS],Float:Evy[MAX_PLAYERS],Float:Evz[MAX_PLAYERS]; //Motos e Bikes da Arena de Stunt new mot1, mot2, mot3, mot4, mot5, mot6, mot7, mot8, mot9; new strbrazz[256]; new Text:TextPedreira0; new Text:TextPedreira1; new Text:TextPedreira2; new Text:TextPedreira3; new Text:TextPedreira4; new Text:TextPedreira5; new Text:TextPedreira6; new GZPedreira; // Sistema de guerras da Pedreira forward DefinirCorPedreira(); forward IniciarGuerraPedreira(); forward FinalizarGuerraPedreira(); enum PedreiraInfo { Dono, Cor, Guerra, }; new Pedreira[PedreiraInfo]; new PedreiraPontos[MAX_ORGS]; new IniciandoGuerraP; new FinalizandoGuerraP; new CheckPTempo; new PedreirPtempo; new RespawnPedreiraAuto; new donopedreira; //================================== //------------------------- Sistema de Roubo ----------------------------------- new temporoubobanco = 0; new roubobanco; new ProvocoBanco[MAX_PLAYERS]; new tempobanco; // - - - - - [ Roubo Loterica LS ] - - - - - new ProvocoLot[MAX_PLAYERS]; new tempolot; new temporoubolot = 0; new roubolot; // - - - - - [ Roubo Navio ] - - - - - new roubonavio; new Provoconavio[MAX_PLAYERS]; new temponavio; new temporoubonavio = 0; // - - - - - [ Roubo Mercado 24/7 ] - - - - - new rouboilha; new Provocoilha[MAX_PLAYERS]; new tempoilha; new temporouboilha = 0; // - - - - - [ Roubo mercado negro ] - - - - - new roubomerc; new Provocomerc[MAX_PLAYERS]; new tempomerc; new temporoubomerc = 0; // - - - - - [ Roubo Loja de Armas 1 ] - - - - - new rouboloja1; new ProvocoLoja1[MAX_PLAYERS]; new tempoloja1; new temporouboloja1 = 0; // - - - - - [ Roubo Puteiro ] - - - - - new rouboput; new ProvocoPut[MAX_PLAYERS]; new tempoput; new temporouboput = 0; // - - - - - [ Roubo Ammu Nation ] - - - - - new roubomotel; new ProvocoMotel[MAX_PLAYERS]; new tempomotel; new temporoubomotel = 0; //======================== ==========================// new TempoContagem[MAX_PLAYERS]; new Contagem[MAX_PLAYERS]; new invasaopenitenciaria; new ProvocoInvasao[MAX_PLAYERS]; new tempoinvasao; new tempoinvasaosistema = 0; // invasao sistema //SISTEMA DE ATENDIMENTO. new FilaAtendimento[MAX_PLAYERS]; new TempoAtendimento2[MAX_PLAYERS]; forward TempoAtendimento(); // Sistema de FOME SEDE E SONO // forward Anime(playerid); new BusID[MAX_PLAYERS]; new PlayerSitting[MAX_PLAYERS]; new Float:Playerx[MAX_PLAYERS], Float:Playery[MAX_PLAYERS], Float:Playerz[MAX_PLAYERS], Float:Playera[MAX_PLAYERS], PlayerSkin[MAX_PLAYERS]; forward IsAtBlackBusStop(playerid); forward ResetView(playerid); forward CPOff(playerid); // ----------------------------------- new Float:InvX[MAX_PLAYERS], Float:InvY[MAX_PLAYERS], Float:InvZ[MAX_PLAYERS], Float:InvR[MAX_PLAYERS]; new carroinvID[MAX_PLAYERS] = {INVALID_VEHICLE_ID, ...}; //ID Brinquedos new ContagemHoras[MAX_PLAYERS]; new ContagemSeg[MAX_PLAYERS]; new ChatAtendimento[MAX_PLAYERS]; new NumeroChatAtendimento[MAX_PLAYERS]; new IDAvaliou[MAX_PLAYERS]; new rouboportas[MAX_PLAYERS]; new AbrirPortaBanco[MAX_PLAYERS]; new AbrirPortaNavio[MAX_PLAYERS]; new portabanco; new portanavio; new portanavio2; new dinamitebanco1; new dinamitebanco2; new dinamitenavio; new dinamitounavio[MAX_PLAYERS]; new dinamitoubanco[MAX_PLAYERS]; new tempoexplodir[MAX_PLAYERS]; new phbomba[MAX_PLAYERS]; new pcbomba; new Tempocbomba; new Tempohbomba; new ProvocoMata[MAX_PLAYERS]; new TempoDominar[MAX_PLAYERS]; new GuerranaMata; new TempoGuerraMata; new donoMata; new BaniuPlayer[MAX_PLAYERS]; new Float:Ax, Float:Bx, Float:Cx; new Pacote[MAX_PLAYERS]; new TemAnuncioPersonalizado[MAX_PLAYERS]; new TemJetpack[MAX_PLAYERS]; new bool:DarNota[MAX_PLAYERS]; new Fala[128]; new Fala2[128]; new motivoafk[128]; new AFK[MAX_PLAYERS]; new skinadm[MAX_PLAYERS]; #pragma tabsize 0 stock KickCNF(playerid)return SetTimerEx("Kick_Ex", 110, 0, "i", playerid); CallBack::Kick_Ex(playerid)return Kick(playerid); #define Kick KickCNF stock BanCNF(playerid)return SetTimerEx("Ban_Ex", 110, 0, "i", playerid); CallBack::Ban_Ex(playerid)return Ban(playerid); #define Ban BanCNF native gpci(playerid, serial[], len); //------------------------------------------------------- static const TempoNomes[][] = { /*0 -*/ "Tempo limpo", /*1 -*/ "Tempo firme, sem chances de chuva", /*2 -*/ "Poucas nuvens, sem chuva", /*3 -*/ "Tempo seco", /*4 -*/ "Algumas nuvens com vento", /*5 -*/ "Tempo firme", /*6 -*/ "Tempo seco", /*7 -*/ "Vento forte, mas sem chuva", /*8 -*/ "Temporal forte", /*9 -*/ "Neblina intensa", /*10 -*/ "Sem muitas nuvens", /*11 -*/ "Sem nuvens", /*12 -*/ "Nublado", /*13 -*/ "Ceu com poucas nuvens", /*14 -*/ "Ceu com poucas nuvens", /*15 -*/ "Nublado, com muito vento", /*16 -*/ "Temporal com vento forte", /*17 -*/ "Nublado e tempo firme", /*18 -*/ "Nublado e tempo firme", /*19 -*/ "Tempestade de areia", /*20 -*/ "Tempo fechado, com chances de chuva", /*21 -*/ "Tempo escuro", /*22 -*/ "Tempo escuro", /*23 -*/ "Sol e tempo firme", /*24 -*/ "Poucas nuvens", /*25 -*/ "Tempo fechado", /*26 -*/ "Nuvens no ceu, mas sem chuva", /*27 -*/ "Pouca neblina", /*28 -*/ "Ceu incoberto", /*29 -*/ "Ceu incoberto", /*30 -*/ "nublado, com chances de chuva", /*31 -*/ "Nublado, com risco de chuva", /*32 -*/ "Neblina forte", /*33 -*/ "Poucas nuvens", /*34 -*/ "Sem nuvens", /*35 -*/ "Ceu incoberto", /*36 -*/ "Tempo firme", /*37 -*/ "Tempo firme", /*38 -*/ "Tempo nublado", /*39 -*/ "Com muita chance de chuva", /*40 -*/ "Tempo claro", /*41 -*/ "Tempo claro", /*42 -*/ "Neblina forte e intensa", /*43 -*/ "Risco de tempestades", /*44 -*/ "Tempo fechado" }; enum mvInfo2 { Codigo[128], }; new MVInfo2[mvInfo2]; //------------------------------------------------------- stock ConvertMoney(number) { new real,mil,milhao,milhaor,bilhao,bilhaor,string[100]; if(number > 999999999) { bilhao = number / 1000000000; bilhaor = number % 1000000000; milhao = bilhaor / 1000000; milhaor = bilhaor % 1000000; mil = milhaor / 1000; real = milhaor % 1000; } else if(number > 999999) { milhao = number / 1000000; milhaor = number % 1000000; mil = milhaor / 1000; real = milhaor % 1000; } else if(number > 999) { mil = number / 1000; real = number % 1000; } if(number > 999999999) { format(string, 100, "%d.%03d.%03d.%03d", bilhao, milhao, mil, real); } else if(number > 999999) { format(string, 100, "%d.%03d.%03d", milhao, mil, real); } else if(number > 999) { format(string, 100, "%d.%03d", mil, real); } else { format(string, 100, "%d", number); } return string; } stock ConvertCash(number) { new real,mil,milhao,milhaor,bilhao,bilhaor,string[100]; if(number > 999999999) { bilhao = number / 1000000000; bilhaor = number % 1000000000; milhao = bilhaor / 1000000; milhaor = bilhaor % 1000000; mil = milhaor / 1000; real = milhaor % 1000; } else if(number > 999999) { milhao = number / 1000000; milhaor = number % 1000000; mil = milhaor / 1000; real = milhaor % 1000; } else if(number > 999) { mil = number / 1000; real = number % 1000; } if(number > 999999999) { format(string, 100, "%d,%03d,%03d,%03d", bilhao, milhao, mil, real); } else if(number > 999999) { format(string, 100, "%d,%03d,%03d", milhao, mil, real); } else if(number > 999) { format(string, 100, "%d,%03d", mil, real); } else { format(string, 100, "%d", number); } return string; } //------------------------------------------------------- //new pedagio[MAX_PLAYERS]; new ItemSlotP[MAX_PLAYERS][10]; new ItemSlotA[MAX_PLAYERS][MAX_REAL_OBJ]; new SlotDItem[MAX_PLAYERS][10]; new ultimoSlotEQ[MAX_PLAYERS]; new gPlayerLogged [MAX_PLAYERS]; new gs_Buffer[3000]; new MEGAString[3000]; new StrDialog[3000]; new VarChatDuvida[3000]; new VarChatAtendimento[3000]; new VarChatLider[3000]; new PlayerText:balaoAviso[MAX_PLAYERS]; new kickname[MAX_PLAYER_NAME]; new victmname[MAX_PLAYER_NAME]; new GetPlayerDB[MAX_PLAYERS]; new strvinny[256]; new SysDBOn = 1; new GZMata; //------------------------------------------------------- new FormString[256]; #define fMessage(%1,%2,%3,%4) \ format(FormString,sizeof(FormString),%3,%4),\ SendClientMessage(%1,%2,FormString) #define fMessageToAll(%0,%1,%2) \ format(FormString,sizeof(FormString),%1,%2),\ SendClientMessageToAll(%0,FormString) #define SendRaceMessage(%1); \ foreach(Player,i){if(PlayerInCorrida[i])SendClientMessage(i,COLOR_YELLOW2,%1);} //------------------------------------------------------- new ArmasGuardadas[MAX_PLAYERS][MAX_ITEMS]; new BalasGuardadas[MAX_PLAYERS][MAX_ITEMS]; new SlotCheio[MAX_PLAYERS] = 0; forward hbomba(playerid); forward cbomba(); //Sistema de Salvar armas nos locais forward RemovArmasLocaisArquivo(playerid); forward SavArmasLocais(playerid); forward SetArmasLocais(playerid); forward Contagem1(playerid); forward Contagem2(playerid); forward Contagem3(playerid); forward Contagem4(playerid); forward Contagem5(playerid); new Paredao[MAX_PLAYERS]; new AguardarA[MAX_PLAYERS]; new PlantouParedao[MAX_PLAYERS]; //---------------------------- Sistema De Duelo -------------------------------- new emduelo[MAX_PLAYERS]; new BrinCriado[MAX_PLAYERS]; new carroinvCriado[MAX_PLAYERS]; new desafiou[MAX_PLAYERS]; new desafiado[MAX_PLAYERS]; new duelols[MAX_PLAYERS]; new Cbugbalas[MAX_PLAYERS]; new Cbugtempo[MAX_PLAYERS]; //------------------------------------------------------- enum MedKitEnum { bool: MedKitPlayer, bool: MedPlayer, MedKits, VidaMedKit, MedKitObject, TimerReceber, Float:PosPlayerX, Float:PosPlayerY, Float:PosPlayerZ } new MedKitDados[MAX_PLAYERS][MedKitEnum]; //[Movel Selection] new MoveisList = mS_INVALID_LISTID; new CozinhaList = mS_INVALID_LISTID; new QuartoList = mS_INVALID_LISTID; new SalaList = mS_INVALID_LISTID; new DecoracaoList = mS_INVALID_LISTID; new BanheiroList = mS_INVALID_LISTID; enum ObjetoEnum { ObjetoID, //Var que amarzenara o objeto criado ObjectModel, //Modelo do objeto criado Float:PosX, //Posicao Float:PosY, Float:PosZ, Float:RotX, //Rotacao Float:RotY, Float:RotZ, Text3D:TextoInfo, //texto informando o id world, //Baixada Virtual } new ObjInfo[MAX_OBJETOS][ObjetoEnum]; enum ObjInfo2 { Objindexid2, Objmodelid, Objboneid, Float:ObjOffsetX, Float:ObjOffsetY, Float:ObjOffsetZ, Float:ObjRotX, Float:ObjRotY, Float:ObjRotZ, Float:ObjScaleX, Float:ObjScaleY, Float:ObjScaleZ, }; new ObjectLoad[MAX_PLAYERS][MAX_PLAYER_ATTACHED_OBJECTS][ObjInfo2]; //------------------------ [ textlabels ] --------------------------------------- Text3D:EXCreate3DTextLabel(text[], color, Float:X, Float:Y, Float:Z, Float:DrawDistance, virtualworld, testLOS=0) { /* if(virtualworld == -1)virtualworld=0; new Text3D:d3d; d3d = Create3DTextLabel(text, color, X, Y, Z, DrawDistance, virtualworld, testLOS); return d3d; */ new Text3D:d3d; d3d = CreateDynamic3DTextLabel(text, color, X, Y, Z, DrawDistance, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, testLOS, virtualworld == 0 ? -1 : virtualworld); return d3d; } #define Create3DTextLabel EXCreate3DTextLabel CallBack::RemovePlayerAttachedObjectEx(playerid,SlotReal) { if(ItemSlotA[playerid][SlotReal] != -1) { /* if(ItemSlotP[playerid][ItemSlotA[playerid][SlotReal]] != Vaga_Aureola1 && ItemSlotP[playerid][ItemSlotA[playerid][SlotReal]] != Vaga_Aureola2 && ItemSlotP[playerid][ItemSlotA[playerid][SlotReal]] != Vaga_Celular && ItemSlotP[playerid][ItemSlotA[playerid][SlotReal]] != Vaga_Radio && ItemSlotP[playerid][ItemSlotA[playerid][SlotReal]] != Vaga_Pa && ItemSlotP[playerid][ItemSlotA[playerid][SlotReal]] != Vaga_Maconha && ItemSlotP[playerid][ItemSlotA[playerid][SlotReal]] != Vaga_Escudo && ItemSlotP[playerid][ItemSlotA[playerid][SlotReal]] != Vaga_Planta && ItemSlotP[playerid][ItemSlotA[playerid][SlotReal]] != Vaga_Corrente && ItemSlotP[playerid][ItemSlotA[playerid][SlotReal]] != Vaga_Ejetar && ItemSlotP[playerid][ItemSlotA[playerid][SlotReal]] != Vaga_Ejetar2 && ItemSlotP[playerid][ItemSlotA[playerid][SlotReal]] != Vaga_Escudo && ItemSlotP[playerid][ItemSlotA[playerid][SlotReal]] != Vaga_Colete && ItemSlotP[playerid][ItemSlotA[playerid][SlotReal]] != Vaga_Taser) */ RemovePlayerAttachedObject(playerid, ItemSlotA[playerid][SlotReal]); ItemSlotP[playerid][ItemSlotA[playerid][SlotReal]] = -1; SlotDItem[playerid][ItemSlotA[playerid][SlotReal]] = -1; ObjectLoad[playerid][ItemSlotA[playerid][SlotReal]][Objindexid2] = 0; ItemSlotA[playerid][SlotReal] = -1; } } CallBack::SetPlayerAttachedObjectEx(Modelid, SlotReal, playerid, index) { if(index < 10) { ItemSlotP[playerid][index] = SlotReal; ItemSlotA[playerid][SlotReal] = index; SlotDItem[playerid][index] = Modelid; } } new bool:ChatKill[MAX_PLAYERS]; stock SendDeathMessageBPF(killerid,playerid,reason) { foreach(Player, i){ if(ChatKill[i]){ SendDeathMessageToPlayer(i, killerid,playerid,reason); } } } #define SendDeathMessage SendDeathMessageBPF new Text3D:labelDano[MAX_PLAYERS]; //Drop Weapons enum dGunEnum { Float:ObjPos[3], ObjID, dropTimer, dropWorld, Text3D:text3d, ObjData[2] }; new dGunData[MAX_OBJ][dGunEnum]; //Drop Itens enum dItEnum { Float:ObjtPos[3], ObjtID, droptTimer, droptWorld, Text3D:textt3d, ObjtData[2], DinSujo }; new dItemData[MAX_OBJ][dItEnum]; //new PlayerText3D:labelvip[MAX_PLAYERS]; new Text3D:Titulo[MAX_PLAYERS]; /* New Velocimetro */ new PlayerText:textPlayerVelocimetro[10][MAX_PLAYERS]; new bool:PlayerVelocimetro[MAX_PLAYERS]; new PlayerVelocimetroTimer[MAX_PLAYERS]; new Tocando[MAX_PLAYERS]; new comCapacete[MAX_PLAYERS]; new CarregandoI[MAX_PLAYERS]; new TantoOuros; // ----------------------------------------------------------------------------- new GunNames[47][] = { "Nothink", "Brass Knuckles", "Golf Club", "Nitestick", "Knife", "Baseball Bat", "Showel", "Pool Cue", "Katana", "Chainsaw", "Purple Dildo", "Small White Dildo", "Long White Dildo", "Vibrator", "Flowers", "Cane", "Grenade", "Tear Gas", "Molotov", "Vehicle Missile", "Hydra Flare", "Jetpack", "Glock", "Silenced Colt", "Desert Eagle", "Shotgun", "Sawn Off", "Combat Shotgun", "Micro UZI", "MP5", "AK47", "M4", "Tec9", "Rifle", "Sniper Rifle", "Rocket Launcher", "HS Rocket Launcher", "Flamethrower", "Minigun", "Satchel Charge", "Detonator", "Spraycan", "Fire Extinguisher", "Camera", "Nightvision", "Infrared Vision", "Parachute" }; // ----------------------------------------------------------------------------- new GunObjects[47] = { 0,331,333,334,335,336,337,338,339,341,321,322,323,324,325,326,342,343,344, 0,0,0,346,347,348,349,350,351,352,353,355,356,372,357,358,359,360,361,362, 363,364,365,366,367,368,368,371 }; // ----------------------------------------------------------------------------- //Elevador /* ------------------ // Constants: -------------------*/ static FloorNames[21][] = { "Terraco", "Primeiro andar", "Segundo andar", "Terceiro andar", "Quarto andar", "Quinto andar", "Sexto andar", "Setimo andar", "Oitavo andar", "Nono andar", "Decimo andar", "Decimo primeiro andar", "Decimo segundo andar", "Decimo terceiro andar", "Decimo quarto andar", "Decimo quinto andar", "Decimo sexto andar", "Decimo setimo andar", "Decimo oitavo andar", "Decimo nono andar", "Último andar" }; //------------------------------------------------------- static Float:FloorZOffsets[21] = { 0.0, // 0.0, 8.5479, // 8.5479, 13.99945, // 8.5479 + (5.45155 * 1.0), 19.45100, // 8.5479 + (5.45155 * 2.0), 24.90255, // 8.5479 + (5.45155 * 3.0), 30.35410, // 8.5479 + (5.45155 * 4.0), 35.80565, // 8.5479 + (5.45155 * 5.0), 41.25720, // 8.5479 + (5.45155 * 6.0), 46.70875, // 8.5479 + (5.45155 * 7.0), 52.16030, // 8.5479 + (5.45155 * 8.0), 57.61185, // 8.5479 + (5.45155 * 9.0), 63.06340, // 8.5479 + (5.45155 * 10.0), 68.51495, // 8.5479 + (5.45155 * 11.0), 73.96650, // 8.5479 + (5.45155 * 12.0), 79.41805, // 8.5479 + (5.45155 * 13.0), 84.86960, // 8.5479 + (5.45155 * 14.0), 90.32115, // 8.5479 + (5.45155 * 15.0), 95.77270, // 8.5479 + (5.45155 * 16.0), 101.22425, // 8.5479 + (5.45155 * 17.0), 106.67580, // 8.5479 + (5.45155 * 18.0), 112.12735 // 8.5479 + (5.45155 * 19.0) }; new hassiren[MAX_VEHICLES]; new siren[MAX_VEHICLES]; new Naorespawn[MAX_VEHICLES]; new Blindagem[MAX_VEHICLES]; new Cblindado[MAX_VEHICLES]; //--------------------[bombeiros/mecanico Sistema]--------------------- new PegouF[MAX_VEHICLES]; new Fogando[MAX_VEHICLES]; new Apagando[MAX_PLAYERS]; #define COLOR_MARINE 0x00BB99FF //------------------------------------------------------------ new Platform[MAX_VEHICLES]; new Platform1[MAX_VEHICLES]; new Platform2[MAX_VEHICLES]; new Platform3[MAX_VEHICLES]; new CountStage = 0; new timer; new Obj_Elevator, Obj_ElevatorDoors[2], Obj_FloorDoors[21][2], Elevator_Pickup; new Text3D:Label_Elevator, Text3D:Label_Floors[21]; #define ELEVATOR_STATE_IDLE (0) #define ELEVATOR_STATE_WAITING (1) #define ELEVATOR_STATE_MOVING (2) new ElevatorState, ElevatorFloor; // If Idle or Waiting, this is the current floor. If Moving, the floor it's moving to. #define INVALID_FLOOR (-1) #define INVALID_FLOORR (-1) // ----------------------------------------------------------------------------- new rocamativado[MAX_PLAYERS]; new skinrocam[MAX_PLAYERS]; new ElevatorQueue[21], // Floors in queue. FloorRequestedBy[21]; // FloorRequestedBy[floor_id] = playerid; - Points out who requested which floor. new ElevatorBoostTimer; // Timer that makes the elevator move faster after players start surfing the object. new ObjectMovePlayer[MAX_PLAYERS] = -1; //------------------------------------------------------- stock Float:GetElevatorZCoordForFloor(floorid) return (GROUND_Z_COORD + FloorZOffsets[floorid] + ELEVATOR_OFFSET); // A small offset for the elevator object itself. //------------------------------------------------------- stock Float:GetDoorsZCoordForFloor(floorid) return (GROUND_Z_COORD + FloorZOffsets[floorid]); //------------------------------------------------------- //============================================================================== stock Float: GetXYInFrontOfPlayer ( playerid , &Float: X , &Float: Y , Float: distance ) { new Float: Z; GetPlayerPos ( playerid , X , Y , Z ); if ( IsPlayerInAnyVehicle ( playerid ) ) { GetVehicleZAngle ( GetPlayerVehicleID ( playerid ) , Z ); } else { GetPlayerFacingAngle ( playerid , Z ); } X += ( distance * floatsin ( - Z , degrees ) ); Y += ( distance * floatcos ( - Z , degrees ) ); return Z; } stock convert_encoding(string[]) { new original[50] = {192,193,194,196,198,199,200,201,202,203,204,205,206,207,210,211,212,214,217,218,219,220,223,224,225,226,228,230,231,232,233,234,235,236,237,238,239,242,243,244,246,249,250,251,252,209,241,191,161,176}; new fixed[50] = {128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,94,124}; new len = strlen(string); for (new i; i < len; i++) { for(new j;j < 50;j++) { if(string[i] == original[j]) { string[i] = fixed[j]; break; } } } } stock GameTextForAllBPF(string[], time, style) { convert_encoding(string); return GameTextForAll(string, time, style); } stock GameTextForPlayerBPF(playerid, string[], time, style) { convert_encoding(string); return GameTextForPlayer(playerid, string, time, style); } #define GameTextForAll GameTextForAllBPF #define GameTextForPlayer GameTextForPlayerBPF stock Float:GetDistanceBetweenVehicles(p1,p2) { new Float:x11,Float:y11,Float:z11,Float:x3,Float:y3,Float:z3; if(!IsValidVehicle(p1) || !IsValidVehicle(p2)) return -1.00; GetVehiclePos(p1,x11,y11,z11); GetVehiclePos(p2,x3,y3,z3); return floatsqroot(floatpower(floatabs(floatsub(x3,x11)),2)+floatpower(floatabs(floatsub(y3,y11)),2)+floatpower(floatabs(floatsub(z3,z11)),2)); } stock Float:GetDistanceBetweenPlayers(p1,p2) { new Float:x11,Float:y11,Float:z11,Float:x3,Float:y3,Float:z3; if (!IsPlayerConnected(p1) || !IsPlayerConnected(p2)) { return -1.00; } GetPlayerPos(p1,x11,y11,z11); GetPlayerPos(p2,x3,y3,z3); return floatsqroot(floatpower(floatabs(floatsub(x3,x11)),2)+floatpower(floatabs(floatsub(y3,y11)),2)+floatpower(floatabs(floatsub(z3,z11)),2)); } stock PlayerInPref(playerid) { new Float:x, Float:y, Float:z; GetPlayerPos(playerid, x, y, z); if((1545.1626 >= x && x >= 1402.9213) && (-1523.2427 >= y && y >= -1773.2897)) return true; return false; } #define Temporoubo (6*60000) // minutos pra roubar outro caixa new bool:TendoRoubo; new bool:UsandoGorro[MAX_PLAYERS]; enum OldSpeedoPos{Float:sX,Float:sY,Float:sZ} //xenon new xenon[4][MAX_PLAYERS]; //------ Carros -------// /* new CarrosAluguel1[30]; new CarrosAluguel2[20]; new CarrosAluguel3[6]; new CarrosAluguel4[12]; new CarrosAluguelBarcos[18]; new CarrosAluguelAero[13];*//* new CarrosMecan[20]; new CarrosDetran[5];*/ new AviaoAlugado[8]; //------------------------------------------------------- //------------------------------------------------------- static const Float:AGR_CP[][] = { {1981.1200,202.6118,29.1334}, {1932.7427,211.5608,30.5497}, {1936.8708,230.5394,28.8707}, {1965.6681,231.1323,28.2593}, {2001.4396,231.3327,27.3367}, {1915.8505,203.0421,32.7941} }; //------------------------------------------------------- static const Float:AGR_Pos[][] = { {1980.2015,197.8509,29.9665}, {1931.8563,207.5751,31.3362}, {1936.3918,227.2393,28.9003}, {1965.1821,228.1173,28.3861}, {1998.4159,227.9798,27.2241}, {1915.3198,198.5890,33.6940} }; new GZLocalizar[MAX_PLAYERS]; new antihands[MAX_PLAYERS]; new EmTunning[MAX_PLAYERS]; new EmTutorial[MAX_PLAYERS]; new CameraFPS[MAX_PLAYERS]; new bool:DevolveuSkin[MAX_PLAYERS]; new PlayerLogado[MAX_PLAYERS]; new LogadoSV[MAX_PLAYERS]; new ColocarColete[MAX_PLAYERS]; new totaldemortes[MAX_PLAYERS] = {0, ... }; new Cartola[MAX_PLAYERS]; new DPExit[MAX_PLAYERS] = 0; new timejump[MAX_PLAYERS]; new tempoang[MAX_ORGS] = 0; new temporeparo = 0; new tempoabastecer = 0; new TotalAGR[6]; new Float:UltimaCaixaRoubada[3]; //Corda no heli #define chopperid 497 //ID of the vehicle model ( http://wiki.sa-mp.com/wiki/Vehicles:Helicopters ) #define ropelength 130 //length of slideable rope (ingame meters) #define offsetz 12 #define dur 250 new r0pes[MAX_PLAYERS][ropelength], Float:pl_pos[MAX_PLAYERS][5], Float:pl_pos_z[MAX_PLAYERS]; //cause pvar + array = sux //------------------------------------------------------- new bool:VerSMS[MAX_PLAYERS]; new bool:VerPar[MAX_PLAYERS]; new Text3D:TextsAGR[6]; new balaseagle[MAX_PLAYERS]; new armaeagle[MAX_PLAYERS]; new bool:InTaser[MAX_PLAYERS]; new bool:InChoque[MAX_PLAYERS]; new PlayerText:TextHospital[MAX_PLAYERS]; new PlayerText:TutoAviso[MAX_PLAYERS]; new PlayerText:WeaponMod[MAX_PLAYERS]; new PlayerText:WeaponModBox[MAX_PLAYERS]; new PlayerText:AjudaConce1[MAX_PLAYERS]; new PlayerText:AjudaConce2[MAX_PLAYERS]; new TempoAFK[MAX_PLAYERS]; new EstaAFK[MAX_PLAYERS]; new PlayerText:textguerratr[MAX_PLAYERS]; new portagov; //new PortaoNeon; //new PortaoNeon2; //------------------------------------------------------- new NumeroTutorial[MAX_PLAYERS]; new CarregandoPCPref[MAX_PLAYERS]; //------------------------------------------------------- new timerx1; new countx1; new Playersx1[2]; new tempox1; //Fallout by: dimmy_scarface (Base: MTA) #define rows 8 #define colums 8 #define totalo rows*colums new Float:MuroPos[MAX_PLAYERS][3]; new Float:Fall_x = 0.0; new Float:Fall_y = 0.0; new Float:ZFall = 700.0; enum fallobj { flobject, status, }; new chaofladm; new fallo[totalo][fallobj]; new fallCount; new fallTimer; new EventoAviao[MAX_PLAYERS]; new EventoHotel[MAX_PLAYERS]; new EventoGalpao[MAX_PLAYERS]; new tempoevento[MAX_PLAYERS]; forward TempoEvento(playerid); new falliniciado = 0; new fallstart = 0; new typeevento = 0; stock SetPlayerFall(playerid) { SetPlayerPos(playerid, Fall_x+10.0, Fall_y+10.0, ZFall+5.0); SetPlayerInterior(playerid, 0); SetPlayerHealth(playerid, 100.0); ResetPlayerWeapons(playerid); SetPlayerVirtualWorld(playerid, 0); } loadFall(){ new objectscount; for(new i = 0; i < colums; i++){ for(new j = 0; j < rows; j++){ fallo[objectscount][flobject] = CreateDynamicObject ( 1697, Fall_x + 4.466064 * j, Fall_y + 5.362793 * i, ZFall, 32.000, 0.000, 0.000); fallo[objectscount][status] = 0; objectscount++; } } } stock DarGorro(playerid) { SetPlayerAttachedObject_Droid(playerid, 1, 19065, 15, -0.025, -0.04, 0.23, 0, 0, 270, 2, 2, 2); return 1; } stock RemoverGorro(playerid) { RemovePlayerAttachedObjectEx(playerid, 1); return 1; } stock fallPlayerWin(playerid) { new string[128]; format(string, sizeof string, "FallOut: %s conseguiu ficar ate o final!", NomePlayer(playerid)); SendClientMessageToAll(0xFFFF00FF, string); return 1; } CallBack::fallfunc() { new fallplayers = fallGetPlayers(); if(fallCountObjects() < 2) { if(fallplayers > 0) { fallEnd(1); } else { fallEnd(0); } fallDestroy(); return 1; } new fallDowning = fallRandom(); if(fallo[fallDowning][status] == 0) { fallo[fallDowning][status]=1; SetTimerEx("fallObjectMove", 200, 0, "d", fallDowning); SetTimerEx("fallObjectDestroy", 10000, 0, "d", fallo[fallDowning][flobject]); } return 1; } stock fallEnd(players) { new string[128]; if(players){ foreach(Player, p) { if(fallIsPlayerIn(p)) { format(string, sizeof string, "FallOut: %s conseguiu ficar ate o final!", NomePlayer(p)); SendClientMessageToAll(0xFFFF00FF, string); } } }else{ SendClientMessageToAll(0xFFFF00FF, "FallOut: Ninguem conseguiu ficar ate o final!"); } return 1; } stock fallDestroy() { KillTimer(fallTimer); falliniciado = 0; fallstart = 0; foreach(Player, i) { if(fallIsPlayerIn(i)) { SpawnPlayer(i); } } for(new f; f != totalo; f++){ DestroyObject(fallo[f][flobject]); fallo[f][flobject] = -1; } DestroyObject(chaofladm); return 1; } CallBack::fallObjectMove(fallid) { new Float:pos[3]; GetObjectPos(fallo[fallid][flobject], pos[0], pos[1], pos[2]); switch(fallo[fallid][status]) { case 1: { fallo[fallid][status]=2; SetObjectRot(fallo[fallid][flobject], 32.000, 3.000, 0); return SetTimerEx("fallObjectMove", 300, 0, "d", fallid); } case 2: { fallo[fallid][status]=3; SetObjectRot(fallo[fallid][flobject], 32.000, -3.000, 0); return SetTimerEx("fallObjectMove", 300, 0, "d", fallid); } case 3: { fallo[fallid][status]=4; SetObjectRot(fallo[fallid][flobject], 32.000, 3.000, 0); return SetTimerEx("fallObjectMove", 300, 0, "d", fallid); } case 4: { fallo[fallid][status]=5; SetObjectRot(fallo[fallid][flobject], 32.000, -3.000, 0); return SetTimerEx("fallObjectMove", 300, 0, "d", fallid); } case 5: { fallo[fallid][status]=6; SetObjectRot(fallo[fallid][flobject], 32.000, 3.000, 0); return SetTimerEx("fallObjectMove", 300, 0, "d", fallid); } case 6: { fallo[fallid][status]=7; SetObjectRot(fallo[fallid][flobject], 32.000, -3.000, 0); return SetTimerEx("fallObjectMove", 300, 0, "d", fallid); } case 7://final { fallo[fallid][status]=8; MoveDynamicObject(fallo[fallid][flobject], pos[0], pos[1], 0.0, 8.8); fallCount--; return 1; } } return 0; } stock Palavrao(string[]) { new x=0; for (new i = 0, j = strlen(string); i <= j; i++) { if (string[i] >= 46 && string[i] <= 58) { x+=1; } } if(x >= 8) return 1; if(strfind(string, "krl", true) != -1 || strfind(string, "pinto", true) != -1 || strfind(string, "rola", true) != -1 || strfind(string, "buceta", true) != -1 || strfind(string, "viado", true) != -1 || strfind(string, "vsf", true) != -1 || strfind(string, "bucetuda", true) != -1 || strfind(string, "boqueteiro", true) != -1 || strfind(string, "boqueteira", true) != -1 || strfind(string, "corno", true) != -1 || strfind(string, "vai se fuder", true) != -1 || strfind(string, "cu", true) != -1 || strfind(string, "cú", true) != -1 || strfind(string, "kct", true) != -1 || strfind(string, "lixo", true) != -1 || strfind(string, "kacete", true) != -1 || strfind(string, "arrombado", true) != -1 || strfind(string, "viadinho", true) != -1 || strfind(string, "foda-se", true) != -1 || strfind(string, "capeta", true) != -1 || strfind(string, "diabo", true) != -1 || strfind(string, "viadao", true) != -1 || strfind(string, "pinto", true) != -1 || strfind(string, "pnc", true) != -1 || strfind(string, "puta", true) != -1 || strfind(string, "desgracado", true) != -1 || strfind(string, "arrombada", true) != -1 || strfind(string, "lixo", true) != -1 || strfind(string, "lixao", true) != -1 || strfind(string, "satanas", true) != -1 || strfind(string, "caralho", true) != -1 || strfind(string, "fdp", true) != -1 || strfind(string, "filho da puta", true) != -1 || strfind(string, "filho de rapariga", true) != -1 || strfind(string, "rapariga", true) != -1 || strfind(string, "vadia", true) != -1 || strfind(string, "poha", true) != -1 || strfind(string, "porra", true) != -1) { return 1; } return 0; } stock fallIsPlayerIn(playerid) { new Float:pos[3]; GetPlayerPos(playerid, pos[0], pos[1], pos[2]); if(IsPlayerInRangeOfPoint(playerid, 100.0, Fall_x, Fall_y, ZFall) && ZFall < pos[2]) { return 1; } return 0; } stock fallCountObjects() { new fallC; for(new f; f != totalo; f++){ if(fallo[f][status] < 8){ fallC++; } } return fallC; } stock fallGetPlayer() { foreach(Player, i) { if(fallIsPlayerIn(i)) { return i; } } return INVALID_PLAYER_ID; } stock fallGetPlayers() { new Count=0; foreach(Player, i) { if(fallIsPlayerIn(i)) { Count++; } else { if(GetPVarInt(i, "inFall")) { fallResetPlayer(i); } } } return Count; } stock fallRandom() { new z = 0, w, y = totalo; static fallObjectRandom[totalo]; while(z < y){ if(fallo[z][status] == 0){ fallObjectRandom[w] = z; w++; } z++; } return !w ? -1 : fallObjectRandom[random(w)]; } CallBack::fallObjectDestroy(objectid) { return DestroyObject(objectid); } CMD:verinv(playerid, params[]) { new ID; if(PlayerInfo[playerid][pAdmin] >= 1339) { new str[2000], linha[60], Tittle[50]; if(sscanf(params, "u", ID)) return SCM(playerid, COLOR_GRAD1, "Use: /verinventario [ID/Nick]"); format(linha,sizeof(linha), "Slot\tNome\tUnidades\n"); strcat(str, linha); for(new i; i<75; i++) { format(linha,sizeof(linha), "%d\t%s\t%d\n",i +1, NomeItemInventario(InventarioInfo[ID][i][iSlot]),InventarioInfo[ID][i][iUnidades] ); strcat(str, linha); } format(Tittle, sizeof(Tittle), "Inventario de: %s", PlayerName(ID)); ShowPlayerDialog(playerid, 14744, DIALOG_STYLE_TABLIST_HEADERS, Tittle, str, "Certo", "Voltar"); return 1; } else SCM(playerid, COLOR_GRAD1,"você nao tem acesso a esse comando."); return 1; } CMD:editarinv(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] >= 1340) { new str[2000], linha[60], Tittle[50]; if(sscanf(params, "u", pID)) return SCM(playerid, COLOR_GRAD1, "Use: /verinventario [ID/Nick]"); if(PlayerInfo[pID][pAdmin] >= 1340 && PlayerInfo[playerid][pAdmin] < 1342) return SCM(playerid, COLOR_GRAD1, "Você não pode ver o inventario de um admin diretor/dono."); format(linha,sizeof(linha), "Slot\tNome\tUnidades\n"); strcat(str, linha); for(new i; i<75; i++) { format(linha,sizeof(linha), "%d\t%s\t%d\n",i +1, NomeItemInventario(InventarioInfo[pID][i][iSlot]),InventarioInfo[pID][i][iUnidades] ); strcat(str, linha); } format(Tittle, sizeof(Tittle), "Editando Inventario de: %s", PlayerName(pID)); ShowPlayerDialog(playerid, 14745, DIALOG_STYLE_TABLIST_HEADERS, Tittle, str, "Pegar", "Voltar"); return 1; } else SCM(playerid, COLOR_GRAD1,"você nao tem acesso a esse comando."); return 1; } CMD:guardararma(playerid, params[]) { new str[300]; if(GetPlayerWeapon(playerid) == 0) return SendClientMessage(playerid, -1, "Voce nao possue uma arma em maos !"); format(str,300,"Voce guardou um(a) %s com %d unidades no seu inventario.",NomeArmaInventario(GetPlayerWeapon(playerid)), GetPlayerAmmo(playerid)); for(new i; i<75; i++) { if(InventarioInfo[playerid][i][iSlot] == 19382) { InventarioInfo[playerid][i][iSlot] = MudarIdArma(GetPlayerWeapon(playerid)); InventarioInfo[playerid][i][iUnidades] = GetPlayerAmmo(playerid); GivePlayerWeapon(playerid, GetPlayerWeapon(playerid),-GetPlayerAmmo(playerid)); SendClientMessage(playerid, COLOR_LIGHTBLUE, str); return 1; } } SendClientMessage(playerid, COLOR_LIGHTRED,"* Seu inventario esta cheio!"); return 1; } CallBack::isPlayerInArea() { for(new c=0; c < MAX_VEHICLES; c++) { if(IsCarInHQMecLS(c)) { Naorespawn[c] = 1; } else { Naorespawn[c] = 0; } } } //Sistema de Tirar e Salvar Armas ao Entrar nos Locais public SavArmasLocais(playerid) { new Armado[MAX_PLAYERS]; Armado[playerid] = GetPlayerWeapon(playerid); if(Armado[playerid] >= 0) { new i, arlocais[50], string[128], weaponid, ammo, Float:pcolete; arlocais = JogadorNome(playerid); if (!DOF2_FileExists(arlocais)) DOF2_CreateFile(arlocais);SendClientMessage(playerid,0x0CBB00FF,"Local Público - Por seguranca suas Armas foram Retiradas. Ao sair elas serao Devolvidas!"); for (i=0; i<13; i++) { GetPlayerWeaponData(playerid,i,weaponid,ammo); format(string,sizeof(string),"LocalArma - %d",i); DOF2_SetInt(arlocais,string,weaponid); format(string,sizeof(string),"LocalMunicao - %d",i); DOF2_SetInt(arlocais,string,ammo == 65535 ? 0 : ammo); ResetPlayerWeapons(playerid); } GetPlayerArmour(playerid, pcolete); if(pcolete > 0){ DOF2_SetFloat(arlocais,"Colete", pcolete); SetPlayerArmour(playerid, 0); } } } public SetArmasLocais(playerid) { new i, arlocais[50], string[128], weaponid, ammo; arlocais = JogadorNome(playerid); if(DOF2_FileExists(arlocais)) SendClientMessage(playerid,COLOR_GRAD5,"Suas Armas foram Devolvidas."); for (i=0; i<13; i++) { format(string,sizeof(string),"LocalArma - %d",i); weaponid = DOF2_GetInt(arlocais,string); format(string,sizeof(string),"LocalMunicao - %d",i); ammo = DOF2_GetInt(arlocais,string); GivePlayerWeapon(playerid,weaponid,ammo); } if(DOF2_GetInt(arlocais,"Colete") > 0) { SetPlayerArmour(playerid, DOF2_GetInt(arlocais,"Colete")); } RemovArmasLocaisArquivo(playerid); } public RemovArmasLocaisArquivo(playerid) { new arlocais[50]; arlocais = JogadorNome(playerid); if(DOF2_FileExists(arlocais)) { DOF2_RemoveFile(arlocais); } } JogadorNome(playerid) { new name[24], full[50]; GetPlayerName(playerid,name,sizeof(name)); format(full,sizeof(full),"%s/%s.txt","ArmasLocais",name); return full; } CallBack::Float:SetPlayerInclinedFacePos(playerid, Float:X, Float:Y) { new Float:pX, Float:pY, Float:pZ, Float:ang; if(!IsPlayerConnected(playerid)) return 0.0; GetPlayerPos(playerid, pX, pY, pZ); if( Y > pY ) ang = (-acos((X - pX) / floatsqroot((X - pX)*(X - pX) + (Y - pY)*(Y - pY))) - 90.0); else if( Y < pY && X < pX ) ang = (acos((X - pX) / floatsqroot((X - pX)*(X - pX) + (Y - pY)*(Y - pY))) - 450.0); else if( Y < pY ) ang = (acos((X - pX) / floatsqroot((X - pX)*(X - pX) + (Y - pY)*(Y - pY))) - 90.0); if(X > pX) ang = (floatabs(floatabs(ang) + 180.0)); else ang = (floatabs(ang) - 180.0); ang += 90.0; SetPlayerFacingAngle(playerid, ang); return ang; } //------------------------------------------------------- new TextoCarros[MAX_VEHICLES] = 0; //------ Checkpoints corrida -------// new Float:CPCorrida[MAX_CPS_CORRIDA][3]; new Float:PosCorrida[MAX_PLAYERS_IN_CORRIDA + 1][4]; new CPsCorrida = 0; new PremioCorrida[4]; //-------- Vars Corrida -------- new bool:corridainiciada = false; new PlayersInCorrida = 0; new InteriorCorrida = 0; new WorldCorrida = 0; new bool:IniciouCorrida; //--------- Players Vars corrida ----// new bool:PlayerInCorrida[MAX_PLAYERS]; new PlayerInCPCorrida[MAX_PLAYERS]; //--------- Carros da corrida -------// new VeiculoCorrida = 999; new CarroCorrida[MAX_PLAYERS_IN_CORRIDA + 1]; new VeiculoNeon[MAX_VEHICLES][2]; //------- CountDown ------// new CountDownCorrida; new TimerCountDown; //----- ganhadores ----// new GanhadoresCorrida; new bool:VendoNick[MAX_PLAYERS]; new Titulos[MAX_PLAYERS][MAX_TITULOS]; new Text3D:TituloP[MAX_PLAYERS]; new MEGAString2[2500]; new MEGAString3[2500]; new cash2[2500]; //-------- Checkpoints carteira de motorista -----------------// static const Float:CPsCarteira[][] = { {533.9781,-1613.3921,15.9729}, {496.6134,-1663.5321,19.6371}, {368.0127,-1646.2122,32.3616}, {238.6763,-1580.2913,32.7526}, {389.1283,-1412.7395,33.7790}, {615.6747,-1320.0083,13.521}, {628.5461,-1388.0393,13.1540}, {760.4673,-1404.3176,13.0799}, {1039.5890,-1403.8013,12.9526}, {1058.1910,-1464.4951,13.0762}, {1002.5800,-1573.6125,13.0885}, {852.3422,-1600.3179,13.0920}, {786.8358,-1587.0516,13.0923}, {604.1711,-1586.8290,15.6761}, {505.6995,-1561.0339,16.2139} }; //----------------- S0beit Teleportes ------------ // Mods 'n' Bombs // ============== static const Float:TLES[][] = { {-1935.77, 228.79, 34.16}, {-2707.48, 218.65, 4.93}, {2645.61, -2029.15, 14.28}, {1041.26, -1036.77, 32.48}, {2387.55, 1035.70, 11.56}, {1836.93, -1856.28, 14.13}, {2006.11, 2292.87, 11.57}, // Pay 'n' Sprays // ============== {-1787.25, 1202.00, 25.84}, {720.10, -470.93, 17.07}, {-1420.21, 2599.45, 56.43}, {-100.16, 1100.79, 20.34}, {2078.44, -1831.44, 14.13}, {-2426.89, 1036.61, 51.14}, {1957.96, 2161.96, 11.56}, {488.29, -1724.85, 12.01}, {1025.08, -1037.28, 32.28}, {2393.70, 1472.80, 11.42}, {-1904.97, 268.51, 41.04}, // Player Garages // ============== {403.58, 2486.33, 17.23}, {1578.24, 1245.20, 11.57}, {-2105.79, 905.11, 77.07}, {423.69, 2545.99, 17.07}, {785.79, -513.12, 17.44}, {-2027.34, 141.02, 29.57}, {1698.10, -2095.88, 14.29}, {-361.10, 1185.23, 20.49}, {-2463.27, -124.86, 26.41}, {2505.64, -1683.72, 14.25}, {1350.76, -615.56, 109.88}, {2231.64, 156.93, 27.63}, {-2695.51, 810.70, 50.57}, {1293.61, 2529.54, 11.42}, {1401.34, 1903.08, 11.99}, {2436.50, 698.43, 11.60}, {322.65, -1780.30, 5.55}, {917.46, 2012.14, 11.65}, // All Interiors around SA // ======================= {2338.32, -1180.61, 1027.98}, {-975.5766, 1061.1312, 1345.6719}, {-750.80, 491.00, 1371.70}, {-1400.2138, 106.8926, 1032.2779}, {-2015.6638, 147.2069, 29.3127}, {2220.26, -1148.01, 1025.80}, {-2660.6185, 1426.8320, 907.3626}, // Stadiums // ======== {-1394.20, 987.62, 1023.96}, {-1410.72, 1591.16, 1052.53}, {-1417.8720, -276.4260, 1051.1910}, // 24/7 Stores // =========== {-25.8844, -185.8689, 1003.5499}, {6.0911, -29.2718, 1003.5499}, {-30.9469, -89.6095, 1003.5499}, {-25.1329, -139.0669, 1003.5499}, {-27.3123, -29.2775, 1003.5499}, {-26.6915, -55.7148, 1003.5499}, // Airport / Airplane interiors // ============================ {-1827.1473, 7.2074, 1061.1435}, {-1855.5687, 41.2631, 1061.1435}, {2.3848, 33.1033, 1199.8499}, {315.8561, 1024.4964, 1949.7973}, // Interesting Places // ================== {1641.14, -1526.87, 14.30}, {-1617.58, 688.69, -4.50}, {837.05, -1101.93, 23.98}, // Main Spawns // ============== {2536.08, -1632.98, 13.79}, {1992.93, 1047.31, 10.82}, {2033.00, -1416.02, 16.99}, {-2653.11, 634.78, 14.45}, {1580.22, 1768.93, 10.82}, {-1550.73, 99.29, 17.33}, // Outros Spawns // ============== {1414.74, -1708.91, 14.0}, {-2026.54, -96.38, 35.7}, {1474.52, -1769.77, 18.80}, {-379.40, -1427.45, 25.73}, {110.70, -3.94, 3.12}, {-1055.86, -1198.84, 129.07}, {0.68, 72.61, 3.12}, {1921.55, 174.71, 37.28}, {2031.88, 1007.13, 10.82}, {2192.36, 1676.65, 12.37}, {-2451.91, 500.73, 30.08}, {-1588.57, 711.99, -5.24}, {1563.92, -1693.57, 5.89}, {2291.53, 2452.07, 10.82}, {550.91, -1289.30, 17.25}, {-1958.42, 288.71, 35.47}, {-1654.75, 1213.21, 7.25}, {2196.36, 1388.02, 10.82}, {855.11, -591.56, 17.92}, {-1798.39, 1194.51, 24.98}, {1666.29, 2196.65, 10.82}, {2648.04, -2021.90, 13.55}, {2494.21, -1686.11, 13.51}, {2184.89, -1810.38, 13.38}, {2772.81, -1625.32, 10.93}, {1668.63, -2110.08, 13.55}, {1656.60, -1694.70, 15.61}, {-2048.81, 465.86, 35.17}, {2648.56, 1181.76, 10.82 } }; //------------------------------------------------------- static const NomesTLES[][][] = { {"Transfender near Wang Cars in Doherty", 0}, {"Wheel ArchSons in Ocean Flats", 0}, {"LowRider Tuning Garage in Willowfield", 0}, {"Transfender in Temple", 0}, {"Transfender in come-a-lot", 0}, {"Eight Ball Autos near El Corona", 0}, {"Welding Wedding Bomb-workshop in Emerald Isle", 0}, //---------------------------------------------- {"Michelles Pay 'n' Spray in Downtown", 0}, {"Pay 'n' Spray in Dillimore", 0}, {"Pay 'n' Spray in El Quebrados", 0}, {"Pay 'n' Spray in Fort Carson", 0}, {"Pay 'n' Spray in Idlewood", 0}, {"Pay 'n' Spray in Juniper Hollow", 0}, {"Pay 'n' Spray in Redsands East", 0}, {"Pay 'n' Spray in Santa Maria Beach", 0}, {"Pay 'n' Spray in Temple", 0}, {"Pay 'n' Spray near Royal Casino", 0}, {"Pay 'n' Spray near Wang Cars in Doherty", 0}, //-------------------------------------------- {"Player Garage Verdant Meadows",0}, {"Player Garage: Las Venturas Airport",0}, {"Player Garage: Calton Heights",0}, {"Player Garage: Derdant Meadows",0}, {"Player Garage: Dillimore",0}, {"Player Garage: Doherty",0}, {"Player Garage: El Corona",0}, {"Player Garage: Fort Carson",0}, {"Player Garage: Hashbury",0}, {"Player Garage: Johnson House",0}, {"Player Garage: Mulholland",0}, {"Player Garage: Palomino Creek",0}, {"Player Garage: Paradiso",0}, {"Player Garage: Prickle Pine",0}, {"Player Garage: Redland West",0}, {"Player Garage: Rockshore West",0}, {"Player Garage: Santa Maria Beach",0}, {"Player Garage: Whitewood Estates",0}, //---------------------------------------- {"Interior: Burning Desire House", 5}, {"Interior: RC Zero's Battlefield",10}, {"Interior: Liberty City",1}, {"Interior: Unknown Stadium",1}, {"Interior: Secret San Fierro Chunk",14}, {"Interior: Jefferson Motel",15}, {"Interior: Jizzy's Pleasure Dome",3}, //------------------------------------- {"Stadium: Bloodbowl",15}, {"Stadium: Kickstart",14}, {"Stadium: 8-Track Stadium",7}, //------------------------------------ {"24/7 Store: Big - L-Shaped",17}, {"24/7 Store: Big - Oblong",10}, {"24/7 Store: Med - Square",18}, {"24/7 Store: Med - Square2",16}, {"24/7 Store: Sml - Long",4}, {"24/7 Store: Sml - Square",6}, //------------------------------------ {"Airport: Ticket Sales",14}, {"Airport: Baggage Claim",14}, {"Airplane: Shamal Cabin",1}, {"Airplane: Andromada Cargo hold",9}, //-------------------------------------- {"Commerce Region Loading Bay",0}, {"San Fierro Police Garage",0}, {"Los Santos Cemetery",0}, //------------------------------------ {"Black Elements",0}, {"4D casino",0}, {"LS Hospital",0}, {"SF Hospital",0}, {"LV Hospital",0}, {"SF Export",0}, //------------------------------------ {"Bank",0}, {"AutoSchool",0}, {"Maria",0}, {"Ferma 0",0}, {"Ferma 1",0}, {"Ferma 2",0}, {"Ferma 3",0}, {"Ferma 4",0}, {"4 Drakona",0}, {"Caligula",0}, {"FBI",0}, {"SFPD",0}, {"LSPD",0}, {"LVPD",0}, {"Avtosalon LS",0}, {"Avtosalon SF",0}, {"Avtosalon SF2",0}, {"Avtosalon LV",0}, {"CTO LS",0}, {"CTO SF",0}, {"CTO LV",0}, {"Ballas",0}, {"Groove",0}, {"Vagos",0}, {"Aztec",0}, {"News LS",0}, {"News SF",0}, {"News LV",0} }; //------------------------------------------------------- //------------------- boxs mafias ----------------- new ComMats[MAX_PLAYERS]; //-------- procurar ----------- new TempoProc[MAX_PLAYERS]; new ProcurarNov[MAX_PLAYERS]; new TimerProcurar[MAX_PLAYERS]; static const Float:RandomCameras[][]= { //---------- Cam1 ---------- {343.81, -2007.32, 31.66,347.86, -2010.91, 29.07}, //----------------------------------- //---------- Cam2 ---------- {-1524.28, -410.43, 63.87, -1520.42, -406.82, 61.02}, //----------------------------------- //---------- Cam3 ---------- {-2692.71, 375.69, 56.63,-2688.00, 375.70, 52.91}, //----------------------------------- //---------- Cam4 ---------- {-520.29, 1207.17, 31.44,-514.42, 1208.42, 31.38}, //----------------------------------- //---------- Cam5 ---------- {-288.11, 1538.91, 153.74,-289.89, 1544.59, 153.01}, //----------------------------------- //---------- Cam6 ---------- {-716.87, 1685.94, 96.20,-717.05, 1691.75, 94.73}, //----------------------------------- //---------- Cam7 ---------- {-2649.04, 564.50, 35.34,-2652.18, 569.25, 33.43}, //----------------------------------- //---------- Cam8 ---------- {-2672.17, 1383.59, 7.61,-2666.19, 1384.11, 7.62}, //----------------------------------- //---------- LV LC ---------- {1750.28, 1444.66, 33.68,1745.04, 1442.17, 32.11}, //----------------------------------- //---------- LV LC ---------- {2106.67, 1305.13, 36.46,2112.42, 1303.48, 35.95}, //----------------------------------- //---------- LV LC ---------- {2129.71, 2005.22, 32.20,2133.03, 2010.20, 31.86}, //----------------------------------- //---------- Cam9 ---------- {1188.16, 1153.71, 65.54,1183.69, 1150.29, 63.43}, //----------------------------------- //---------- LV LC ---------- {2126.70, 2327.89, 24.29,2126.60, 2333.47, 22.10}, //----------------------------------- //---------- Cam10 ---------- {1097.07, 1385.04, 34.48,1097.06, 1390.95, 33.45}, //----------------------------------- //---------- Cam11 ---------- {1030.43, 1735.57, 33.45,1024.71, 1735.47, 31.64}, //----------------------------------- //---------- LV LC ---------- {2164.73, 1825.14, 25.82,2170.69, 1825.82, 26.04}, //----------------------------------- //---------- Cam12 ---------- {1278.98, 2087.95, 61.31,1283.07, 2091.42, 58.61} }; //------------------------------------------------------- //------------------------------------------------------- enum inf { omodel, oslot, bool: slotreserved, }; new MensagemDesligou = 0; new VeiculoPortaM[MAX_PLAYERS]; new Inventario[MAX_PLAYERS]; new NaoPodeLogar[MAX_PLAYERS]; new TempoMostrarLife[MAX_PLAYERS]; new MostrandoVida[MAX_PLAYERS]; //------------------------------------------------------- enum sbInfo { sbOwned, sbOwner[64], sbDate, sbMessage[255], sbExtortion[MAX_PLAYER_NAME], Float:sbEntranceX, Float:sbEntranceY, Float:sbEntranceZ, sbLevelNeeded, sbBuyPrice, sbEntranceCost, sbInterior, sbProducts, sbPriceProd, sbMaxProducts, sbProductsReq, sbTill, sbLocked, sbPickup, }; new SBizzInfo[MAX_SBIZZES][sbInfo]; enum fbInfo { fbOwned, fbOwner[64], fbDate, fbMessage[255], fbExtortion[MAX_PLAYER_NAME], Float:fbEntranceX, Float:fbEntranceY, Float:fbEntranceZ, fbDiscription[128], fbLevelNeeded, fbBuyPrice, fbEntranceCost, fbTill, fbLocked, fbProducts, fbMaxProducts, fbProductsReq, fbPriceProd, fIdCarro1, fIdCarro2, fVec1, fVec2, Float:fCarro1x, Float:fCarro1y, Float:fCarro1z, Float:fCarro1a, Float:fCarro2x, Float:fCarro2y, Float:fCarro2z, Float:fCarro2a, fV1col1, fV1col2, fV2col1, fV2col2, }; new FBizzInfo[MAX_FBIZZES][fbInfo]; //------------------------------------------------------- new PickupAGR[6]; new Text:TextKick; new Text:TextKick1; new Text:TextBan; new Text:TextBan1; //new bool:mostrarv; new Text:TextdrawBomb[MAX_PLAYERS]; new PlayerText:gpss[MAX_PLAYERS]; new SenhaSeguranca[128]; new cVIPc[MAX_PLAYERS]; new Ocupado[MAX_PLAYERS]; new cHelperc[MAX_PLAYERS]; new cAdminHelperc[MAX_PLAYERS]; new TempoLoteria = 0; new NaoPode[MAX_PLAYERS]; new OrgCofre[MAX_PLAYERS]; new EscolhaV[MAX_PLAYERS]; new EscolhaCash[MAX_PLAYERS]; new EditGive[MAX_PLAYERS]; new CheCks[MAX_PLAYERS]; new PediuPraEntrar[MAX_PLAYERS]; new TipoOrg[MAX_PLAYERS]; new pObject[MAX_PLAYERS][inf]; new pickparachute; //Components dos veiculos new vComponent[MAX_VEHICLES][16]; new bool:AFKon = false; new bool:Caixaon = false; enum floatinfo { Float:posxafk, Float:posyafk, Float:poszafk, Float:angleafk, } new PlayerUpdateInfo[MAX_PLAYERS][floatinfo]; new PlayerInactivity[MAX_PLAYERS]; //===============================// new Float:PeniSpawn[42][3] = { {2282.6707, 1943.0887, 39.3827}, {2282.8452, 1945.8604, 39.3094}, {2282.9590, 1949.5337, 39.3094}, {2283.0869, 1953.6591, 39.3094}, {2283.1194, 1954.7009, 39.3094}, {2283.2253, 1958.1212, 39.3094}, {2283.3286, 1961.3024, 39.3094}, {2253.2246, 1962.1842, 39.3827}, {2253.1667, 1958.8149, 39.3827}, {2253.1196, 1956.0452, 39.3827}, {2253.3198, 1953.0953, 39.3827}, {2253.6335, 1949.6583, 39.3827}, {2253.4993, 1946.3298, 39.3827}, {2253.5806, 1943.3157, 39.3827}, {2282.3352, 1942.8826, 42.8683}, {2282.2910, 1946.0266, 42.8683}, {2282.0566, 1949.1096, 42.8683}, {2282.2205, 1953.2517, 42.8683}, {2282.2910, 1955.6427, 42.8683}, {2282.3953, 1959.1499, 42.8683}, {2282.4731, 1961.7760, 42.8683}, {2253.0457, 1942.6833, 42.8683}, {2253.1279, 1946.6169, 42.8683}, {2253.1726, 1948.7618, 42.8683}, {2253.3376, 1952.6332, 42.8683}, {2253.4746, 1955.8357, 42.8683}, {2253.5303, 1958.0819, 42.8683}, {2253.6694, 1962.0470, 42.8683}, {2283.1467, 1943.1292, 46.4310}, {2283.1428, 1946.8489, 46.4310}, {2283.1411, 1948.8115, 46.4310}, {2283.1382, 1952.2070, 46.4310}, {2283.1350, 1955.4994, 46.4310}, {2283.1321, 1958.5946, 46.4310}, {2283.1289, 1962.0760, 46.4310}, {2251.6746, 1942.8828, 46.4310}, {2252.3889, 1945.9631, 46.4310}, {2252.1582, 1949.3523, 46.4310}, {2253.2424, 1952.0861, 46.4310}, {2253.7700, 1955.5237, 46.4310}, {2251.6631, 1958.7126, 46.4310}, {2250.4290, 1961.7892, 46.4310} }; new Float:VMachines[43][3] = { //Candy machines: {2480.86,-1959.27,12.9609}, {1634.11,-2237.53,12.8906}, {2139.52,-1161.48,23.3594}, {2153.23,-1016.15,62.2344}, {-1350.12,493.859,10.5859}, {-2229.19,286.414,34.7031}, {1659.46,1722.86,10.2188}, {2647.7,1129.66,10.2188}, {2845.73,1295.05,10.7891}, {1398.84,2222.61,10.4219}, {-1455.12,2591.66,55.2344}, {-76.0312,1227.99,19.125}, {662.43,-552.164,15.7109}, {-253.742,2599.76,62.2422}, {2271.73,-76.4609,25.9609}, //Sprunk machines: {1789.21,-1369.27,15.1641}, {1729.79,-1943.05,12.9453}, {2060.12,-1897.64,12.9297}, {1928.73,-1772.45,12.9453}, {2325.98,-1645.13,14.2109}, {2352.18,-1357.16,23.7734}, {1154.73,-1460.89,15.1562}, {-1350.12,492.289,10.5859}, {-2118.97,-423.648,34.7266}, {-2118.62,-422.414,34.7266}, {-2097.27,-398.336,34.7266}, {-2092.09,-490.055,34.7266}, {-2063.27,-490.055,34.7266}, {-2005.65,-490.055,34.7266}, {-2034.46,-490.055,34.7266}, {-2068.56,-398.336,34.7266}, {-2039.85,-398.336,34.7266}, {-2011.14,-398.336,34.7266}, {-1980.79,142.664,27.0703}, {2319.99,2532.85,10.2188}, {1520.15,1055.27,10.00}, {2503.14,1243.7,10.2188}, {2085.77,2071.36,10.4531}, {-862.828,1536.61,21.9844}, {-14.7031,1175.36,18.9531}, {-253.742,2597.95,62.2422}, {201.016,-107.617,0.898438}, {1277.84,372.516,18.9531} }; //Sistema de guardar armas na mochila new Selected[MAX_PLAYERS][3]; new vehTrunkCounter[MAX_VEHICLES] = 1; new vehTrunk[MAX_VEHICLES][MAX_TRUNK_SLOTS]; new vehTrunkAmmo[MAX_VEHICLES][MAX_TRUNK_SLOTS]; new Float:vehTrunkArmour[MAX_VEHICLES]; new vehTrunkDroga[MAX_VEHICLES]; new vehTrunkMaterial[MAX_VEHICLES]; new UpdateSeconds = 2; // Nao Mecher //---------------------------------------------------------- /* getidxPMModelSlot(vehicleid, idx){ if(vehTrunk[vehicleid][idx] > 0) return GunObjects[vehTrunk[vehicleid][idx]]; else return 5699; } */ //---------------------------------------------------------- /* dialogGuardarPM(playerid){ ShowPlayerDialog(playerid, 307, DIALOG_STYLE_MSGBOX, " ", "{00CCFF} Voce quer guardar uma arma neste slot?\n\ {00CCFF} OBS: Voce precisa ter uma arma com voce!", "Sim", "Voltar"); SetPVarInt(playerid, "guardando", 1); CancelSelectTextDraw(playerid); } */ //------------------------------------------------------ countWeapons(playerid){ new count, weap, ammo; for(new x = 1; x != 13; x++){ GetPlayerWeaponData(playerid, x, weap, ammo); if(weap && ammo){ count++; } } return count; } //------------------------------------------------------ dialogArmas(playerid){ if(!countWeapons(playerid)) return SendClientMessage(playerid, 0x00FFFFAA, "* Voce nao tem uma arma com voce."), SelectTextDraw(playerid, 0xAAAAAAFF); new Str[95], weap, ammo; MEGAString[0] = EOS; for(new x = 1; x != 13; x++){ GetPlayerWeaponData(playerid, x, weap, ammo); if(weap && ammo){ format(Str, 95, "{FFFFFF}Arma: {00BB00}%s {FFFFFF}Balas: {00BB00}%03d\n", GunNames[weap], ammo); strcat(MEGAString, Str); }else{ strcat(MEGAString, "{FFFFFF}Arma: {00BB00}-------- {FFFFFF}Balas: {00BB00}---\n"); } } ShowPlayerDialog(playerid, 306, DIALOG_STYLE_LIST, "Escolha a arma para guardar", MEGAString, "Guardar", "Sair"); return 1; } dialogArmasPM(playerid){ if(!countWeapons(playerid)) return SendClientMessage(playerid, COLOR_YELLOW, "*Voce nao tem uma arma com voce."), SelectTextDraw(playerid, 0xAAAAAAFF); new Str[95], weap, ammo; MEGAString[0] = EOS; for(new x = 1; x != 13; x++){ GetPlayerWeaponData(playerid, x, weap, ammo); if(weap && ammo){ format(Str, 95, "{FFFFFF}Arma: {A0A0A0}%s {FFFFFF}Balas: {A0A0A0}%03d\n", GunNames[weap], ammo); strcat(MEGAString, Str); }else{ strcat(MEGAString, "{FFFFFF}Arma: {A0A0A0}-------- {FFFFFF}Balas: {A0A0A0}---\n"); } } ShowPlayerDialog(playerid, 308, DIALOG_STYLE_LIST, "Escolha a arma para guardar", MEGAString, "Guardar", "Sair"); return 1; } //hq cv removebuildings stock RemoveVendingMachines(playerid) { // Remove 24/7 machines RemoveBuildingForPlayer(playerid, 1776, -33.8750, -186.7656, 1003.6328, 0.25); RemoveBuildingForPlayer(playerid, 1775, -32.4453, -186.6953, 1003.6328, 0.25); // Remove all other machines for(new i = 0; i < 43; i++) { RemoveBuildingForPlayer(playerid, 955, VMachines[i][0], VMachines[i][1], VMachines[i][2], 0.50); RemoveBuildingForPlayer(playerid, 956, VMachines[i][0], VMachines[i][1], VMachines[i][2], 0.50); } return 1; } //------------------------------------------------------------------------------ new Morreu1[MAX_PLAYERS][100],Morreu2[MAX_PLAYERS][100],Morreu3[MAX_PLAYERS][100],Morreu4[MAX_PLAYERS][100],Morreu5[MAX_PLAYERS][100]; new Matou1[MAX_PLAYERS][100],Matou2[MAX_PLAYERS][100],Matou3[MAX_PLAYERS][100],Matou4[MAX_PLAYERS][100],Matou5[MAX_PLAYERS][100]; new TrueMorte1[MAX_PLAYERS],TrueMorte2[MAX_PLAYERS],TrueMorte3[MAX_PLAYERS],TrueMorte4[MAX_PLAYERS],TrueMorte5[MAX_PLAYERS]; new TrueMatar1[MAX_PLAYERS],TrueMatar2[MAX_PLAYERS],TrueMatar3[MAX_PLAYERS],TrueMatar4[MAX_PLAYERS],TrueMatar5[MAX_PLAYERS]; //news new Matrix[HAY_X][HAY_Y][HAY_Z]; new Speed_xy; new Speed_z; new CF_x; new CF_y; new Hays[HAY_B]; new faztime; // * - * - * Sistema de Eventos - * - * - * new JoinedHay[MAX_PLAYERS] = -1; new TimerHay; new hayObject; new EventoHayIniciado; new pickHay; new moneyHay; stock DestroyHay() { for (new Number=0 ; Number= 1445.8544 && y >= -2703.1616 && x <= 1460.5145 && y <= -2696.4771) return 1; else return 0; } stock IsCarInHQMecLS(vehicleid) { new Float:x,Float:y,Float:z; GetVehiclePos(vehicleid, x, y, z); if(x >= 1070.2504 && y >= 1321.7101 && x <= 10.8203 && y <= 330.9129) return 1; else return 0; } stock IsPlayerInMata(playerid) { new Float:x,Float:y,Float:z; GetPlayerPos(playerid, x, y, z); if(x >= -852.345336 && y >= -2125.557617 && x <= -636.345336 && y <= -1861.557617) return 1; else return 0; } stock IsPlayerInChuck(playerid) { new Float:x,Float:y,Float:z; GetPlayerPos(playerid, x, y, z); if(x >= -467.385620 && y >= 2137.753662 && x <= -307.385620 && y <= 2313.753662) return 1; else return 0; } stock IsPlayerFacingPlayer(playerid, targetid, Float:dOffset) { new Float:pX, Float:pY, Float:pZ, Float:pA, Float:X, Float:Y, Float:Z, Float:ang; if(!IsPlayerConnected(playerid) || !IsPlayerConnected(targetid)) return 0; GetPlayerPos(targetid, pX, pY, pZ); GetPlayerPos(playerid, X, Y, Z); GetPlayerFacingAngle(playerid, pA); if( Y > pY ) ang = (-acos((X - pX) / floatsqroot((X - pX)*(X - pX) + (Y - pY)*(Y - pY))) - 90.0); else if( Y < pY && X < pX ) ang = (acos((X - pX) / floatsqroot((X - pX)*(X - pX) + (Y - pY)*(Y - pY))) - 450.0); else if( Y < pY ) ang = (acos((X - pX) / floatsqroot((X - pX)*(X - pX) + (Y - pY)*(Y - pY))) - 90.0); return AngleInRangeOfAngle(-ang, pA, dOffset); } stock AngleInRangeOfAngle(Float:a1, Float:a2, Float:range) { a1 -= a2; if((a1 < range) && (a1 > -range)) return true; return false; } stock Fone(playerid) { new id; id = CountAttachedObjects(playerid); SetPlayerAttachedObject_Droid(playerid,id,19421,2,0.012999,0.015999,0.000000,90.699928,-13.199942,-86.999931,1.000000,0.945000,1.000000); SetPlayerAttachedObjectEx(19421,Vaga_Pa,playerid,id); } stock ColocarAureola(playerid) { new id; id = CountAttachedObjects(playerid); SetPlayerAttachedObject_Droid(playerid,id,2992,2,0.306000,-0.012000,0.009000,0.000000,-95.299942,-1.399999,1.000000,1.000000,1.000000); SetPlayerAttachedObjectEx(2992,Vaga_Aureola1,playerid,id); id = CountAttachedObjects(playerid); SetPlayerAttachedObject_Droid(playerid,id,2992,2,0.313000,-0.007000,0.032999,-0.299999,83.700019,0.000000,1.000000,1.000000,1.000000); SetPlayerAttachedObjectEx(2992,Vaga_Aureola2,playerid,id); } stock TirarAureola(playerid) { RemovePlayerAttachedObjectEx(playerid, Vaga_Aureola1); RemovePlayerAttachedObjectEx(playerid, Vaga_Aureola2); } stock MataMorre(playerid,killerid) { if(TrueMorte5[playerid] == 1) { TrueMorte1[playerid] = 0; TrueMorte2[playerid] = 0; TrueMorte3[playerid] = 0; TrueMorte4[playerid] = 0; TrueMorte5[playerid] = 0; } if(TrueMorte5[playerid] == 0 && TrueMorte4[playerid] == 1) { format(Morreu5[playerid], 100, NomePlayer(killerid)); TrueMorte5[playerid] = 1; } if(TrueMorte4[playerid] == 0 && TrueMorte3[playerid] == 1) { format(Morreu4[playerid], 100, NomePlayer(killerid)); TrueMorte4[playerid] = 1; } if(TrueMorte3[playerid] == 0 && TrueMorte2[playerid] == 1) { format(Morreu3[playerid], 100, NomePlayer(killerid)); TrueMorte3[playerid] = 1; } if(TrueMorte2[playerid] == 0 && TrueMorte1[playerid] == 1) { format(Morreu2[playerid], 100, NomePlayer(killerid)); TrueMorte2[playerid] = 1; } if(TrueMorte1[playerid] == 0) { format(Morreu1[playerid], 100, NomePlayer(killerid)); TrueMorte1[playerid] = 1; } if(TrueMatar5[killerid] == 1) { TrueMatar1[killerid] = 0; TrueMatar2[killerid] = 0; TrueMatar3[killerid] = 0; TrueMatar4[killerid] = 0; TrueMatar5[killerid] = 0; } if(TrueMatar5[killerid] == 0 && TrueMatar4[killerid] == 1) { format(Matou5[killerid], 100, NomePlayer(playerid)); TrueMatar5[killerid] = 1; } if(TrueMatar4[killerid] == 0 && TrueMatar3[killerid] == 1) { format(Matou4[killerid], 100, NomePlayer(playerid)); TrueMatar4[killerid] = 1; } if(TrueMatar3[killerid] == 0 && TrueMatar2[killerid] == 1) { format(Matou3[killerid], 100, NomePlayer(playerid)); TrueMatar3[killerid] = 1; } if(TrueMatar2[killerid] == 0 && TrueMatar1[killerid] == 1) { format(Matou2[killerid], 100, NomePlayer(playerid)); TrueMatar2[killerid] = 1; } if(TrueMatar1[killerid] == 0) { format(Matou1[killerid], 100, NomePlayer(playerid)); TrueMatar1[killerid] = 1; } } stock IsPlayerInSprunk(playerid) { if(IsPlayerInRangeOfPoint(playerid, 1.5, -33.8750, -186.7656, 1003.6328)) return 1; else if(IsPlayerInRangeOfPoint(playerid, 1.5, -32.4453, -186.6953, 1003.6328)) return 1; for(new lo; lo != sizeof(VMachines); lo++) { if(IsPlayerInRangeOfPoint(playerid, 1.5, VMachines[lo][0], VMachines[lo][1], VMachines[lo][2])) return 1; } return 0; } static stock const Float:CUFF_CuffObjectOffsets[][] = { {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}, // CJ - The animation (special action) does not work :/ {-0.027999, 0.052999, -0.029999, -18.099925, -14.000000, 104.199928, 1.405999, 3.036000, 1.635999}, {-0.015998, 0.021999, -0.029999, -18.099925, -14.000000, 104.199928, 1.157999, 2.612998, 1.561999}, {-0.027999, 0.078998, -0.029999, -18.699926, 0.000000, 104.199928, 1.489999, 3.036000, 1.957998}, {-0.027999, 0.078998, -0.029999, -18.699926, 0.000000, 104.199928, 1.982999, 3.036000, 2.327999}, {-0.016998, 0.074999, -0.024000, -6.299927, -14.000000, 107.499961, 1.999999, 2.612998, 2.404001}, {0.015001, 0.027999, -0.024000, -6.299927, -14.000000, 107.499961, 1.444999, 2.612998, 1.844001}, {0.015001, 0.038999, -0.035000, -6.299927, -14.000000, 107.499961, 1.444999, 2.612998, 1.844001}, {0.015001, 0.038999, -0.035000, -6.299927, -14.000000, 107.499961, 1.444999, 2.612998, 1.844001}, {0.015001, 0.006999, -0.039000, -6.299927, -14.000000, 107.499961, 1.065999, 2.612998, 1.424002}, {0.015001, 0.006999, -0.039000, -6.299927, -14.000000, 107.499961, 1.065999, 2.612998, 1.424002}, {-0.013998, -0.005000, -0.013000, -6.299927, -14.000000, 107.499961, 0.773998, 2.612998, 1.419001}, {-0.013998, -0.005000, -0.013000, -6.299927, -14.000000, 107.499961, 0.773998, 2.612998, 1.419001}, {-0.013998, -0.005000, -0.013000, -6.299927, -14.000000, 107.499961, 0.773998, 2.612998, 1.419001}, {-0.013998, 0.051999, -0.013000, -6.299927, -14.000000, 107.499961, 1.274998, 2.612998, 2.159001}, {-0.013998, 0.025999, -0.023000, -6.299927, -14.000000, 107.499961, 1.124998, 2.612998, 2.016000}, {-0.013998, 0.040999, -0.032000, -6.299927, -14.000000, 107.499961, 1.344999, 2.612998, 2.492002}, {-0.013998, 0.040999, -0.032000, -6.299927, -14.000000, 107.499961, 1.344999, 2.612998, 2.492002}, {-0.013998, 0.026999, -0.013000, -6.299927, -14.000000, 107.499961, 1.344999, 2.612998, 2.492002}, {-0.013998, 0.026999, -0.013000, -6.299927, -14.000000, 107.499961, 1.344999, 2.612998, 2.492002}, {-0.013998, 0.026999, -0.013000, -6.299927, -14.000000, 107.499961, 1.344999, 2.612998, 2.492002}, {-0.013998, 0.026999, -0.013000, -6.299927, -14.000000, 107.499961, 1.344999, 2.612998, 2.492002}, {-0.013998, 0.026999, -0.033000, -6.299927, -14.000000, 107.499961, 1.344999, 2.612998, 2.492002}, {-0.013998, 0.060999, -0.033000, -6.299927, -14.000000, 107.499961, 1.344999, 2.612998, 2.492002}, {-0.003998, 0.032999, -0.014000, -6.299927, -14.000000, 107.499961, 1.344999, 2.612998, 2.492002}, {-0.002998, 0.028999, -0.021000, -6.299927, -14.000000, 107.499961, 1.525998, 2.612998, 2.492002}, {-0.002998, 0.049999, -0.021000, -6.299927, -14.000000, 107.499961, 1.525998, 2.612998, 2.492002}, {-0.002998, 0.033999, -0.021000, -6.299927, -14.000000, 107.499961, 1.316998, 2.612998, 1.977001}, {-0.002998, 0.026999, -0.021000, -6.299927, -14.000000, 107.499961, 1.189998, 2.612998, 1.869001}, {-0.002998, 0.040999, -0.018000, -6.299927, -14.000000, 107.499961, 1.189998, 2.612998, 1.869001}, {-0.002998, 0.034999, -0.018000, -6.299927, -14.000000, 107.499961, 1.189998, 2.612998, 1.869001}, {-0.006998, 0.020999, -0.039000, -6.299927, -14.000000, 107.499961, 0.971998, 2.612998, 1.627001}, {-0.006998, 0.020999, -0.009000, -6.299927, -14.000000, 107.499961, 0.971998, 2.612998, 1.627001}, {0.026001, 0.032999, -0.009000, -6.299927, -14.000000, 107.499961, 0.971998, 2.612998, 1.627001}, {-0.013998, 0.053999, -0.009000, -6.299927, -14.000000, 107.499961, 1.330997, 2.612998, 2.222002}, {-0.013998, 0.027999, -0.017000, -6.299927, -14.000000, 107.499961, 1.123997, 2.573997, 1.688002}, {-0.013998, 0.027999, -0.017000, -6.299927, -14.000000, 107.499961, 1.123997, 2.573997, 1.688002}, {-0.013998, 0.027999, -0.017000, -6.299927, -14.000000, 107.499961, 1.123997, 2.573997, 1.688002}, {-0.013998, 0.027999, -0.038000, -6.299927, -14.000000, 107.499961, 1.123997, 2.573997, 1.688002}, {0.006001, 0.027999, -0.038000, -6.299927, -14.000000, 107.499961, 1.123997, 2.573997, 1.688002}, {0.006001, 0.011999, -0.010000, -6.299927, -14.000000, 107.499961, 0.872997, 2.573997, 1.168002}, {0.006001, 0.011999, -0.010000, -6.299927, -14.000000, 107.499961, 0.872997, 2.573997, 1.168002}, {0.006001, 0.026999, -0.024000, -6.299927, -14.000000, 107.499961, 1.147997, 2.573997, 1.755001}, {0.006001, 0.021999, -0.012000, -6.299927, -14.000000, 107.499961, 0.928997, 2.573997, 1.435001}, {0.006001, 0.035999, -0.012000, -6.299927, -14.000000, 107.499961, 1.044997, 2.573997, 1.554002}, {0.006001, 0.035999, -0.012000, -6.299927, -14.000000, 107.499961, 1.044997, 2.573997, 1.554002}, {0.006001, 0.035999, -0.012000, -6.299927, -14.000000, 107.499961, 1.044997, 2.573997, 1.554002}, {0.006001, 0.035999, -0.012000, -6.299927, -14.000000, 107.499961, 1.044997, 2.573997, 1.554002}, {0.006001, 0.035999, -0.012000, -6.299927, -14.000000, 107.499961, 1.044997, 2.573997, 1.554002}, {-0.011998, 0.001999, -0.028000, -6.299927, -14.000000, 107.499961, 1.044997, 2.573997, 1.554002}, {0.004001, 0.025999, -0.028000, -6.299927, -14.000000, 107.499961, 1.419997, 2.573997, 2.230002}, {0.004001, 0.044999, -0.028000, -6.299927, -14.000000, 107.499961, 1.419997, 2.573997, 2.230002}, {0.004001, 0.044999, -0.028000, -6.299927, -14.000000, 107.499961, 1.419997, 2.573997, 2.230002}, {0.004001, 0.019999, -0.028000, -6.299927, -14.000000, 107.499961, 1.026996, 2.573997, 1.536001}, {0.004001, 0.019999, -0.028000, -6.299927, -14.000000, 107.499961, 1.026996, 2.573997, 1.536001}, {0.004001, 0.007999, -0.005000, -6.299927, -14.000000, 107.499961, 0.824997, 2.573997, 1.341000}, {0.004001, 0.007999, -0.005000, -6.299927, -14.000000, 107.499961, 1.056996, 2.573997, 1.879001}, {0.004001, 0.007999, -0.005000, -6.299927, -14.000000, 107.499961, 1.056996, 2.573997, 1.879001}, {0.004001, 0.042999, -0.005000, -6.299927, -14.000000, 107.499961, 1.056996, 2.573997, 1.879001}, {-0.024998, 0.026999, -0.025000, -6.299927, -14.000000, 107.499961, 1.056996, 2.573997, 1.879001}, {-0.009998, 0.039999, -0.010000, -6.299927, -14.000000, 107.499961, 1.056996, 2.573997, 1.879001}, {0.018001, 0.049999, -0.025000, -6.299927, -14.000000, 107.499961, 1.225996, 2.573997, 2.201001}, {-0.009998, 0.075999, -0.024000, -10.599922, -26.000003, 106.999954, 1.591997, 2.573997, 2.532999}, {-0.009998, 0.003999, -0.004000, -10.599922, -26.000003, 106.999954, 0.719997, 2.573997, 1.799999}, {-0.009998, 0.003999, -0.004000, -10.599922, -26.000003, 106.999954, 0.719997, 2.573997, 1.799999}, {-0.009998, 0.003999, -0.004000, -10.599922, -26.000003, 106.999954, 0.719997, 2.573997, 1.799999}, {0.004001, 0.029999, -0.010000, -10.599922, -26.000003, 106.999954, 0.946997, 2.573997, 2.151999}, {0.004001, 0.029999, -0.010000, -10.599922, -26.000003, 106.999954, 0.946997, 2.573997, 2.151999}, {0.004001, 0.034999, -0.022000, -10.599922, -26.000003, 106.999954, 1.082998, 2.573997, 2.240000}, {-0.020998, -0.009000, -0.022000, -10.599922, -26.000003, 106.999954, 0.945998, 2.573997, 1.684999}, {0.023001, 0.041999, -0.020000, -10.599922, -26.000003, 106.999954, 1.308998, 2.573997, 2.138000}, {-0.008998, 0.041999, -0.020000, -10.599922, -26.000003, 106.999954, 1.308998, 2.573997, 2.138000}, {-0.008998, 0.050999, -0.020000, -10.599922, -26.000003, 106.999954, 1.308998, 2.573997, 2.138000}, {-0.008998, 0.050999, -0.020000, -10.599922, -26.000003, 106.999954, 1.308998, 2.573997, 2.138000}, {0.053000, 0.050999, -0.020000, -10.599922, -26.000003, 106.999954, 1.308998, 2.573997, 2.138000}, {-0.023999, -0.010000, -0.020000, -10.599922, -26.000003, 106.999954, 1.308998, 2.573997, 2.138000}, {0.027000, 0.006999, 0.003999, -10.599922, -26.000003, 106.999954, 1.308998, 2.573997, 2.138000}, {0.027000, 0.039999, -0.026000, -10.599922, -26.000003, 106.999954, 1.308998, 2.573997, 2.138000}, {0.027000, 0.039999, -0.026000, -10.599922, -26.000003, 106.999954, 1.308998, 2.573997, 2.138000}, {0.027000, 0.039999, -0.026000, -10.599922, -26.000003, 106.999954, 1.308998, 2.573997, 2.138000}, {0.027000, 0.039999, -0.026000, -10.599922, -26.000003, 106.999954, 1.308998, 2.573997, 2.138000}, {0.027000, 0.039999, -0.026000, -10.599922, -26.000003, 106.999954, 1.308998, 2.573997, 2.138000}, {0.027000, 0.039999, -0.026000, -10.599922, -26.000003, 106.999954, 1.308998, 2.573997, 2.138000}, {0.027000, 0.039999, -0.026000, -10.599922, -26.000003, 106.999954, 1.308998, 2.573997, 2.138000}, {0.027000, 0.039999, -0.026000, -10.599922, -26.000003, 106.999954, 1.308998, 2.573997, 2.138000}, {0.027000, -0.012000, -0.026000, -10.599922, -26.000003, 106.999954, 1.308998, 2.573997, 2.138000}, {0.027000, 0.040999, -0.026000, -10.599922, -26.000003, 106.999954, 1.308998, 2.573997, 2.138000}, {-0.037999, -0.027000, -0.026000, -10.599922, -26.000003, 106.999954, 1.308998, 2.573997, 2.138000}, {-0.011999, 0.018999, -0.038000, -10.599922, -26.000003, 106.999954, 1.308998, 2.573997, 2.138000}, {-0.011999, 0.018999, -0.038000, -10.599922, -26.000003, 106.999954, 1.308998, 2.573997, 2.138000}, {-0.011999, -0.000000, -0.038000, -10.599922, -26.000003, 106.999954, 1.308998, 2.573997, 2.138000}, {-0.011999, 0.010999, -0.006000, -10.599922, -26.000003, 106.999954, 1.074998, 2.573997, 1.762999}, {-0.011999, 0.010999, -0.006000, -10.599922, -26.000003, 106.999954, 1.074998, 2.573997, 1.762999}, {-0.011999, -0.006000, -0.037000, -10.599922, -26.000003, 106.999954, 1.074998, 2.573997, 1.762999}, {-0.011999, 0.007999, -0.037000, -10.599922, -26.000003, 106.999954, 1.074998, 2.573997, 1.762999}, {-0.011999, 0.026999, -0.024000, -10.599922, -26.000003, 106.999954, 1.373998, 2.573997, 2.071999}, {-0.011999, 0.050999, -0.024000, -10.599922, -26.000003, 106.999954, 1.373998, 2.573997, 2.071999}, {-0.011999, 0.029999, -0.024000, -10.599922, -26.000003, 106.999954, 1.425998, 2.573997, 2.134999}, {-0.011999, 0.029999, -0.024000, -10.599922, -26.000003, 106.999954, 1.425998, 2.573997, 2.134999}, {-0.011999, 0.029999, -0.024000, -10.599922, -26.000003, 106.999954, 1.425998, 2.573997, 2.134999}, {-0.011999, 0.023999, -0.024000, -10.599922, -26.000003, 106.999954, 1.425998, 2.573997, 2.134999}, {0.007000, 0.023999, -0.024000, -10.599922, -26.000003, 106.999954, 1.425998, 2.573997, 2.134999}, {0.006000, 0.043999, -0.000000, -10.599922, -26.000003, 106.999954, 1.231999, 2.573997, 1.906999}, {0.006000, 0.109999, -0.041000, -10.599922, -26.000003, 106.999954, 2.172999, 2.573997, 2.635000}, {0.004000, 0.046999, -0.004000, -10.599922, -26.000003, 106.999954, 1.382000, 2.573997, 2.559998}, {-0.048999, 0.131999, -0.004000, -10.599922, -26.000003, 106.999954, 2.232000, 2.573997, 3.521998}, {0.000000, 0.037999, -0.004000, -10.599922, -26.000003, 106.999954, 1.075000, 2.573997, 1.932999}, {0.000000, 0.029999, -0.004000, -10.599922, -26.000003, 106.999954, 1.075000, 2.573997, 1.932999}, {0.000000, 0.062999, -0.004000, -10.599922, -26.000003, 106.999954, 1.075000, 2.573997, 1.932999}, {0.000000, 0.039999, -0.004000, -10.599922, -26.000003, 106.999954, 1.075000, 2.573997, 1.932999}, {0.000000, 0.039999, -0.004000, -10.599922, -26.000003, 106.999954, 1.075000, 2.573997, 1.932999}, {0.017000, 0.045999, -0.031000, -10.599922, -26.000003, 106.999954, 1.075000, 2.573997, 1.932999}, {0.017000, 0.045999, -0.031000, -10.599922, -26.000003, 106.999954, 1.075000, 2.573997, 1.932999}, {0.034000, 0.045999, -0.031000, -10.599922, -26.000003, 106.999954, 1.189000, 2.573997, 2.121999}, {0.034000, 0.034999, -0.031000, -10.599922, -26.000003, 106.999954, 1.189000, 2.573997, 2.121999}, {0.034000, 0.034999, -0.031000, -10.599922, -26.000003, 106.999954, 1.189000, 2.573997, 2.121999}, {0.034000, 0.034999, -0.031000, -10.599922, -26.000003, 106.999954, 1.189000, 2.573997, 2.121999}, {0.009000, 0.023999, -0.012000, -10.599922, -26.000003, 106.999954, 0.973000, 2.573997, 1.650999}, {0.009000, 0.023999, -0.012000, -10.599922, -26.000003, 106.999954, 0.973000, 2.573997, 1.650999}, {0.009000, 0.023999, -0.012000, -10.599922, -26.000003, 106.999954, 0.973000, 2.573997, 1.650999}, {0.009000, 0.071999, -0.012000, -10.599922, -26.000003, 106.999954, 1.606999, 2.573997, 2.610999}, {0.009000, 0.071999, -0.012000, -10.599922, -26.000003, 106.999954, 1.606999, 2.573997, 2.610999}, {0.009000, 0.062999, -0.012000, -10.599922, -26.000003, 106.999954, 1.606999, 2.573997, 2.610999}, {0.009000, 0.050999, -0.012000, -10.599922, -26.000003, 106.999954, 1.606999, 2.573997, 2.610999}, {0.009000, 0.040999, -0.012000, -10.599922, -26.000003, 106.999954, 1.606999, 2.573997, 2.610999}, {0.009000, 0.030999, -0.012000, -10.599922, -26.000003, 106.999954, 1.606999, 2.573997, 2.610999}, {-0.000999, 0.035999, -0.026000, -10.599922, -26.000003, 106.999954, 1.606999, 2.573997, 2.610999}, {-0.000999, 0.064999, -0.026000, -10.599922, -26.000003, 106.999954, 1.606999, 2.573997, 2.610999}, {-0.000999, 0.064999, -0.026000, -10.599922, -26.000003, 106.999954, 1.606999, 2.573997, 2.610999}, {-0.000999, 0.015999, -0.020000, -10.599922, -26.000003, 106.999954, 1.203999, 2.573997, 2.227999}, {-0.013999, 0.029999, -0.029000, -10.599922, -26.000003, 106.999954, 1.203999, 2.573997, 2.227999}, {-0.013999, 0.002999, -0.029000, -10.599922, -26.000003, 106.999954, 1.203999, 2.573997, 2.227999}, {-0.013999, 0.034999, -0.018000, -10.599922, -26.000003, 106.999954, 1.203999, 2.573997, 1.778998}, {-0.013999, 0.050999, -0.018000, -10.599922, -26.000003, 106.999954, 1.203999, 2.573997, 1.778998}, {-0.013999, 0.038999, -0.018000, -10.599922, -26.000003, 106.999954, 1.203999, 2.573997, 1.778998}, {0.008000, 0.038999, -0.018000, -10.599922, -26.000003, 106.999954, 1.400999, 2.573997, 2.047998}, {0.008000, 0.038999, -0.018000, -10.599922, -26.000003, 106.999954, 1.400999, 2.573997, 2.047998}, {0.008000, 0.030999, -0.002000, -10.599922, -26.000003, 106.999954, 1.117999, 2.573997, 1.710999}, {0.008000, 0.010999, -0.002000, -10.599922, -26.000003, 106.999954, 1.117999, 2.573997, 1.710999}, {0.008000, 0.010999, -0.002000, -10.599922, -26.000003, 106.999954, 1.117999, 2.573997, 1.710999}, {0.008000, 0.010999, -0.002000, -10.599922, -26.000003, 106.999954, 1.117999, 2.573997, 1.710999}, {0.008000, 0.010999, -0.002000, -10.599922, -26.000003, 106.999954, 1.117999, 2.573997, 1.710999}, {0.008000, 0.038999, -0.002000, -10.599922, -26.000003, 106.999954, 1.117999, 2.573997, 1.710999}, {0.008000, 0.038999, -0.002000, -10.599922, -26.000003, 106.999954, 1.314999, 2.573997, 2.124999}, {0.008000, 0.038999, -0.002000, -10.599922, -26.000003, 106.999954, 1.314999, 2.573997, 2.124999}, {0.008000, 0.017999, -0.002000, -10.599922, -26.000003, 106.999954, 1.314999, 2.573997, 2.124999}, {0.008000, 0.058999, -0.002000, -10.599922, -26.000003, 106.999954, 1.314999, 2.573997, 2.124999}, {0.008000, 0.053999, -0.002000, -10.599922, -26.000003, 106.999954, 1.314999, 2.573997, 2.124999}, {0.008000, 0.023999, -0.002000, -10.599922, -26.000003, 106.999954, 1.314999, 2.573997, 2.124999}, {0.008000, 0.047999, -0.015000, -10.599922, -26.000003, 106.999954, 1.314999, 2.573997, 2.124999}, {0.008000, 0.019999, -0.015000, -10.599922, -26.000003, 106.999954, 1.067999, 2.573997, 1.860999}, {0.008000, 0.027999, -0.015000, -10.599922, -26.000003, 106.999954, 1.067999, 2.573997, 1.860999}, {-0.008999, -0.002000, -0.028000, -10.599922, -26.000003, 106.999954, 1.067999, 2.573997, 1.860999}, {-0.008999, 0.044999, -0.028000, -10.599922, -26.000003, 106.999954, 1.067999, 2.573997, 1.860999}, {-0.008999, 0.029999, -0.028000, -10.599922, -26.000003, 106.999954, 1.067999, 2.573997, 1.860999}, {-0.008999, 0.029999, -0.028000, -10.599922, -26.000003, 106.999954, 1.067999, 2.573997, 1.860999}, {-0.008999, 0.051999, -0.028000, -10.599922, -26.000003, 106.999954, 1.271999, 2.573997, 2.094999}, {-0.008999, 0.002999, -0.028000, -10.599922, -26.000003, 106.999954, 0.653999, 2.573997, 1.504999}, {-0.008999, 0.046999, -0.028000, -10.599922, -26.000003, 106.999954, 1.552998, 2.573997, 2.796000}, {-0.008999, 0.020999, -0.008000, -10.599922, -26.000003, 106.999954, 1.064998, 2.573997, 2.115999}, {-0.008999, 0.025999, -0.008000, -10.599922, -26.000003, 106.999954, 1.064998, 2.573997, 2.115999}, {-0.008999, 0.025999, -0.008000, -10.599922, -26.000003, 106.999954, 1.064998, 2.573997, 2.115999}, {-0.018999, 0.025999, -0.014000, -10.599922, -26.000003, 106.999954, 1.064998, 2.573997, 2.115999}, {-0.018999, 0.042999, -0.014000, -10.599922, -26.000003, 106.999954, 1.328998, 2.573997, 2.533999}, {-0.018999, 0.042999, -0.014000, -10.599922, -26.000003, 106.999954, 1.328998, 2.573997, 2.533999}, {-0.018999, -0.006000, -0.045000, -10.599922, -26.000003, 106.999954, 0.907998, 2.573997, 1.861999}, {-0.018999, -0.006000, -0.045000, -10.599922, -26.000003, 106.999954, 0.907998, 2.573997, 1.861999}, {-0.018999, 0.027999, -0.045000, -10.599922, -26.000003, 106.999954, 1.306998, 2.573997, 2.221999}, {-0.018999, 0.013999, -0.045000, -10.599922, -26.000003, 106.999954, 1.306998, 2.573997, 2.221999}, {-0.018999, 0.000999, -0.045000, -10.599922, -26.000003, 106.999954, 1.090998, 2.573997, 1.614999}, {-0.018999, 0.026999, -0.045000, -10.599922, -26.000003, 106.999954, 1.328998, 2.573997, 2.105999}, {-0.018999, 0.018999, -0.045000, -10.599922, -26.000003, 106.999954, 1.328998, 2.573997, 2.105999}, {-0.018999, -0.017000, -0.045000, -10.599922, -26.000003, 106.999954, 1.085998, 2.573997, 1.653999}, {-0.018999, 0.030999, -0.023999, -10.599922, -26.000003, 106.999954, 1.546998, 2.573997, 2.329000}, {-0.018999, 0.030999, -0.023999, -10.599922, -26.000003, 106.999954, 1.546998, 2.573997, 2.329000}, {-0.018999, 0.030999, -0.023999, -10.599922, -26.000003, 106.999954, 1.546998, 2.573997, 2.329000}, {-0.018999, 0.030999, -0.023999, -10.599922, -26.000003, 106.999954, 1.546998, 2.573997, 2.329000}, {-0.018999, 0.030999, -0.023999, -10.599922, -26.000003, 106.999954, 1.546998, 2.573997, 2.329000}, {-0.018999, -0.003000, -0.023999, -10.599922, -26.000003, 106.999954, 1.129998, 2.573997, 2.010000}, {-0.018999, 0.027999, -0.023999, -10.599922, -26.000003, 106.999954, 1.129998, 2.573997, 2.010000}, {-0.018999, 0.027999, -0.023999, -10.599922, -26.000003, 106.999954, 1.129998, 2.573997, 2.010000}, {-0.018999, 0.047999, -0.023999, -10.599922, -26.000003, 106.999954, 1.502998, 2.573997, 2.519000}, {-0.018999, 0.030999, -0.023999, -10.599922, -26.000003, 106.999954, 1.502998, 2.573997, 2.519000}, {-0.018999, 0.030999, -0.023999, -10.599922, -26.000003, 106.999954, 1.502998, 2.573997, 2.519000}, {-0.018999, 0.030999, -0.023999, -10.599922, -26.000003, 106.999954, 1.502998, 2.573997, 2.519000}, {-0.018999, 0.030999, -0.023999, -10.599922, -26.000003, 106.999954, 1.502998, 2.573997, 2.519000}, {0.024000, 0.043999, -0.023999, -10.599922, -26.000003, 106.999954, 1.502998, 2.573997, 2.519000}, {0.024000, 0.043999, -0.023999, -10.599922, -26.000003, 106.999954, 1.502998, 2.573997, 2.519000}, {0.012000, 0.043999, -0.023999, -10.599922, -26.000003, 106.999954, 1.502998, 2.573997, 2.519000}, {-0.010999, 0.023999, -0.023999, -10.599922, -26.000003, 106.999954, 1.332998, 2.573997, 2.051000}, {-0.001999, 0.010999, -0.020999, -10.599922, -26.000003, 106.999954, 0.949998, 2.573997, 2.051000}, {-0.001999, 0.021999, -0.010999, -10.599922, -26.000003, 106.999954, 0.949998, 2.573997, 1.658000}, {-0.001999, 0.021999, -0.010999, -10.599922, -26.000003, 106.999954, 0.949998, 2.573997, 1.658000}, {-0.001999, 0.021999, -0.010999, -10.599922, -26.000003, 106.999954, 0.949998, 2.573997, 1.658000}, {-0.001999, 0.021999, -0.010999, -10.599922, -26.000003, 106.999954, 0.949998, 2.573997, 1.658000}, {-0.001999, 0.021999, -0.010999, -10.599922, -26.000003, 106.999954, 0.949998, 2.573997, 1.658000}, {-0.001999, 0.021999, -0.010999, -10.599922, -26.000003, 106.999954, 0.949998, 2.573997, 1.658000}, {-0.001999, 0.021999, -0.010999, -10.599922, -26.000003, 106.999954, 0.949998, 2.573997, 1.658000}, {-0.001999, 0.021999, -0.010999, -10.599922, -26.000003, 106.999954, 0.949998, 2.573997, 1.658000}, {-0.001999, 0.021999, -0.010999, -10.599922, -26.000003, 106.999954, 0.949998, 2.573997, 1.658000}, {-0.001999, 0.055999, -0.010999, -10.599922, -26.000003, 106.999954, 1.488999, 2.573997, 2.591001}, {-0.001999, 0.018999, -0.010999, -10.599922, -26.000003, 106.999954, 0.995998, 2.573997, 1.734001}, {-0.001999, 0.050999, -0.010999, -10.599922, -26.000003, 106.999954, 1.318998, 2.573997, 2.427001}, {0.016000, 0.032999, -0.010999, -10.599922, -26.000003, 106.999954, 1.318998, 2.573997, 2.649002}, {0.016000, 0.032999, -0.010999, -10.599922, -26.000003, 106.999954, 1.318998, 2.573997, 2.649002}, {0.016000, 0.032999, -0.010999, -10.599922, -26.000003, 106.999954, 1.318998, 2.573997, 2.649002}, {0.016000, 0.063999, -0.010999, -10.599922, -26.000003, 106.999954, 1.318998, 2.573997, 2.649002}, {-0.012999, 0.008999, -0.010999, -10.599922, -26.000003, 106.999954, 0.782998, 2.573997, 1.527001}, {0.035000, 0.019999, -0.010999, -10.599922, -26.000003, 106.999954, 1.023998, 2.573997, 2.074001}, {0.035000, 0.030999, -0.010999, -10.599922, -26.000003, 106.999954, 1.023998, 2.573997, 2.074001}, {0.035000, 0.030999, -0.010999, -10.599922, -26.000003, 106.999954, 1.023998, 2.573997, 2.074001}, {-0.019999, 0.000999, -0.010999, -10.599922, -26.000003, 106.999954, 1.023998, 2.573997, 2.074001}, {-0.019999, 0.027999, -0.010999, -10.599922, -26.000003, 106.999954, 1.285998, 2.573997, 2.470001}, {-0.019999, 0.027999, -0.010999, -10.599922, -26.000003, 106.999954, 1.285998, 2.573997, 2.470001}, {-0.019999, 0.013999, -0.010999, -10.599922, -26.000003, 106.999954, 0.957997, 2.573997, 1.784001}, {0.005000, 0.013999, -0.010999, -10.599922, -26.000003, 106.999954, 1.263998, 2.573997, 2.263001}, {0.005000, 0.013999, -0.010999, -10.599922, -26.000003, 106.999954, 1.263998, 2.573997, 2.263001}, {0.005000, 0.058999, -0.010999, -10.599922, -26.000003, 106.999954, 1.263998, 2.573997, 2.263001}, {0.005000, 0.025999, -0.040999, -10.599922, -26.000003, 106.999954, 0.959998, 2.573997, 1.387001}, {0.005000, 0.009999, -0.040999, -10.599922, -26.000003, 106.999954, 0.959998, 2.573997, 1.387001}, {0.005000, 0.041999, -0.013999, -10.599922, -26.000003, 106.999954, 1.294998, 2.573997, 2.168000}, {0.005000, 0.063999, -0.013999, -10.599922, -26.000003, 106.999954, 1.294998, 2.573997, 2.168000}, {0.005000, 0.063999, -0.013999, -10.599922, -26.000003, 106.999954, 1.294998, 2.573997, 2.168000}, {-0.032999, 0.023999, -0.013999, -10.599922, -26.000003, 106.999954, 1.294998, 2.573997, 2.168000}, {-0.032999, 0.004999, -0.013999, -10.599922, -26.000003, 106.999954, 1.294998, 2.573997, 2.168000}, {-0.032999, 0.004999, -0.013999, -10.599922, -26.000003, 106.999954, 1.294998, 2.573997, 2.168000}, {-0.032999, 0.004999, -0.013999, -10.599922, -26.000003, 106.999954, 1.294998, 2.573997, 2.168000}, {0.010000, 0.004999, -0.034999, -10.599922, -26.000003, 106.999954, 1.294998, 2.573997, 2.168000}, {0.010000, 0.004999, -0.034999, -10.599922, -26.000003, 106.999954, 1.294998, 2.573997, 2.168000}, {0.010000, 0.029999, -0.034999, -10.599922, -26.000003, 106.999954, 0.933998, 2.573997, 1.888000}, {0.010000, 0.037999, -0.011999, -10.599922, -26.000003, 106.999954, 1.043997, 2.573997, 2.135000}, {0.010000, 0.037999, -0.011999, -10.599922, -26.000003, 106.999954, 1.043997, 2.573997, 2.135000}, {0.010000, 0.037999, -0.011999, -10.599922, -26.000003, 106.999954, 1.043997, 2.573997, 2.135000}, {0.010000, 0.001999, -0.011999, -10.599922, -26.000003, 106.999954, 1.043997, 2.573997, 2.135000}, {-0.006999, 0.038999, -0.011999, -10.599922, -26.000003, 106.999954, 1.043997, 2.573997, 2.135000}, {-0.006999, 0.030999, -0.011999, -10.599922, -26.000003, 106.999954, 1.043997, 2.573997, 2.135000}, {-0.006999, 0.030999, -0.011999, -10.599922, -26.000003, 106.999954, 1.043997, 2.573997, 2.135000}, {-0.022999, 0.008999, -0.011999, -10.599922, -26.000003, 106.999954, 1.043997, 2.573997, 2.135000}, {-0.022999, 0.008999, -0.011999, -10.599922, -26.000003, 106.999954, 1.043997, 2.573997, 2.135000}, {-0.022999, 0.027999, -0.011999, -10.599922, -26.000003, 106.999954, 1.431997, 2.573997, 2.910001}, {-0.022999, 0.027999, -0.011999, -10.599922, -26.000003, 106.999954, 1.431997, 2.573997, 2.910001}, {-0.022999, 0.027999, -0.011999, -10.599922, -26.000003, 106.999954, 1.431997, 2.573997, 2.910001}, {-0.022999, 0.027999, -0.011999, -10.599922, -26.000003, 106.999954, 1.431997, 2.573997, 2.910001}, {-0.022999, 0.008999, -0.011999, -10.599922, -26.000003, 106.999954, 0.837997, 2.573997, 2.142000}, {-0.022999, -0.025000, -0.011999, -10.599922, -26.000003, 106.999954, 0.837997, 2.573997, 2.142000}, {-0.022999, 0.026999, -0.011999, -10.599922, -26.000003, 106.999954, 1.562997, 2.573997, 2.611000}, {-0.022999, -0.015000, -0.011999, -10.599922, -26.000003, 106.999954, 0.991997, 2.573997, 1.622996}, {-0.022999, 0.036999, -0.025999, -10.599922, -26.000003, 106.999954, 1.304997, 2.573997, 1.857996}, {-0.022999, 0.021999, -0.025999, -10.599922, -26.000003, 106.999954, 1.304997, 2.573997, 1.857996}, {-0.022999, 0.021999, -0.025999, -10.599922, -26.000003, 106.999954, 1.743997, 2.573997, 2.624996}, {-0.022999, 0.044999, -0.025999, -10.599922, -26.000003, 106.999954, 1.414997, 2.573997, 1.979995}, {-0.022999, 0.008999, -0.025999, -10.599922, -26.000003, 106.999954, 0.964996, 2.573997, 1.467995}, {-0.022999, 0.053999, -0.025999, -10.599922, -26.000003, 106.999954, 1.693996, 2.573997, 2.664995}, {-0.022999, 0.023999, -0.004999, -10.599922, -26.000003, 106.999954, 1.166996, 2.573997, 2.171994}, {-0.022999, 0.040999, -0.004999, -10.599922, -26.000003, 106.999954, 1.212996, 2.573997, 2.383994}, {-0.022999, 0.040999, -0.004999, -10.599922, -26.000003, 106.999954, 1.212996, 2.573997, 2.383994}, {-0.022999, -0.008000, -0.004999, -10.599922, -26.000003, 106.999954, 1.212996, 2.573997, 2.383994}, {-0.022999, -0.008000, -0.004999, -10.599922, -26.000003, 106.999954, 1.212996, 2.573997, 2.383994}, {-0.022999, 0.061999, -0.020999, -10.599922, -26.000003, 106.999954, 1.212996, 2.573997, 2.383994}, {-0.022999, 0.061999, -0.020999, -10.599922, -26.000003, 106.999954, 1.212996, 2.573997, 2.383994}, {-0.022999, 0.026999, -0.020999, -10.599922, -26.000003, 106.999954, 1.212996, 2.573997, 2.383994}, {-0.022999, 0.026999, -0.020999, -10.599922, -26.000003, 106.999954, 1.212996, 2.573997, 2.383994}, {-0.022999, 0.026999, -0.020999, -10.599922, -26.000003, 106.999954, 1.212996, 2.573997, 2.383994}, {-0.022999, 0.001999, -0.020999, -10.599922, -26.000003, 106.999954, 1.212996, 2.573997, 2.383994}, {-0.022999, 0.023999, -0.020999, -10.599922, -26.000003, 106.999954, 1.212996, 2.573997, 2.383994}, {-0.022999, 0.023999, -0.020999, -10.599922, -26.000003, 106.999954, 1.212996, 2.573997, 2.383994}, {-0.022999, 0.023999, -0.020999, -10.599922, -26.000003, 106.999954, 1.212996, 2.573997, 2.383994}, {-0.022999, -0.006000, -0.020999, -10.599922, -26.000003, 106.999954, 1.212996, 2.573997, 2.383994}, {-0.022999, 0.031999, -0.020999, -10.599922, -26.000003, 106.999954, 1.212996, 2.573997, 2.383994}, {-0.022999, 0.046999, -0.020999, -10.599922, -26.000003, 106.999954, 1.563997, 2.573997, 2.764994}, {-0.022999, 0.032999, -0.020999, -10.599922, -26.000003, 106.999954, 1.175997, 2.573997, 2.325994}, {-0.022999, 0.032999, -0.020999, -10.599922, -26.000003, 106.999954, 1.175997, 2.573997, 2.325994}, {0.031000, 0.066999, -0.020999, -10.599922, -26.000003, 106.999954, 1.505997, 2.573997, 2.687994}, {-0.001999, -0.005000, -0.020999, -10.599922, -26.000003, 106.999954, 0.748999, 2.573997, 1.579993}, {-0.001999, 0.037999, -0.020999, -10.599922, -26.000003, 106.999954, 0.987999, 2.573997, 2.194994}, {-0.001999, 0.037999, -0.020999, -10.599922, -26.000003, 106.999954, 0.987999, 2.573997, 2.194994}, {-0.001999, 0.037999, -0.020999, -10.599922, -26.000003, 106.999954, 0.987999, 2.573997, 2.194994}, {-0.001999, 0.037999, -0.020999, -10.599922, -26.000003, 106.999954, 1.146999, 2.573997, 2.483994}, {-0.001999, 0.037999, -0.020999, -10.599922, -26.000003, 106.999954, 1.146999, 2.573997, 2.483994}, {-0.001999, 0.037999, -0.020999, -10.599922, -26.000003, 106.999954, 1.146999, 2.573997, 2.483994}, {-0.001999, 0.037999, -0.020999, -10.599922, -26.000003, 106.999954, 1.146999, 2.573997, 2.483994}, {-0.001999, 0.037999, -0.020999, -10.599922, -26.000003, 106.999954, 1.146999, 2.573997, 2.483994}, {-0.001999, 0.037999, -0.020999, -10.599922, -26.000003, 106.999954, 1.146999, 2.573997, 2.483994}, {-0.001999, 0.037999, -0.020999, -10.599922, -26.000003, 106.999954, 1.146999, 2.573997, 2.483994}, {-0.001999, 0.018999, -0.020999, -10.599922, -26.000003, 106.999954, 1.146999, 2.573997, 2.483994}, {-0.001999, 0.018999, -0.020999, -10.599922, -26.000003, 106.999954, 1.146999, 2.573997, 2.483994}, {-0.001999, 0.046999, -0.020999, -10.599922, -26.000003, 106.999954, 1.146999, 2.573997, 2.483994}, {-0.001999, 0.046999, -0.020999, -10.599922, -26.000003, 106.999954, 1.146999, 2.573997, 2.483994}, {-0.001999, 0.046999, -0.020999, -10.599922, -26.000003, 106.999954, 1.146999, 2.573997, 2.483994}, {-0.001999, 0.046999, -0.020999, -10.599922, -26.000003, 106.999954, 1.146999, 2.573997, 2.483994}, {-0.001999, 0.042999, -0.020999, -10.599922, -26.000003, 106.999954, 1.146999, 2.573997, 2.483994}, {-0.001999, 0.026999, -0.020999, -10.599922, -26.000003, 106.999954, 1.146999, 2.573997, 2.483994}, {-0.001999, 0.058999, -0.020999, -10.599922, -26.000003, 106.999954, 1.146999, 2.573997, 2.483994}, {-0.001999, 0.029999, -0.020999, -10.599922, -26.000003, 106.999954, 1.146999, 2.573997, 2.483994}, {-0.001999, 0.029999, -0.020999, -10.599922, -26.000003, 106.999954, 1.146999, 2.573997, 2.483994}, {-0.001999, -0.001000, -0.020999, -10.599922, -26.000003, 106.999954, 1.146999, 2.573997, 2.483994}, {-0.001999, -0.001000, -0.020999, -10.599922, -26.000003, 106.999954, 1.146999, 2.573997, 2.483994}, {-0.001999, 0.027999, -0.020999, -10.599922, -26.000003, 106.999954, 1.146999, 2.573997, 2.483994}, {-0.001999, 0.011999, -0.020999, -10.599922, -26.000003, 106.999954, 1.146999, 2.573997, 2.483994}, {-0.001999, 0.044999, -0.020999, -10.599922, -26.000003, 106.999954, 1.146999, 2.573997, 2.483994} }; #define INVALID_DATA -1.11 // mindegy... new dcObject[MAX_PLAYERS]; new Float: dCam_Xes[212] = { 0.330000/*400*/,0.500000/*401*/,0.540000/*402*/,0.430000/*403*/,0.460000/*404*/,0.430000/*405*/, 1.379999/*406*/,0.600000/*407*/,0.439999/*408*/,0.460000/*409*/,0.419999/*410*/,0.490000/*411*/, 0.460000/*412*/,0.490000/*413*/,0.439999/*414*/,0.419999/*415*/,0.419999/*416*/,0.439999/*417*/, 0.519999/*418*/,0.409999/*419*/,0.519999/*420*/,0.449999/*421*/,0.409999/*422*/,0.579999/*423*/, 0.389999/*424*/,INVALID_DATA/*425*/,0.519999/*426*/,0.379999/*427*/,0.649999/*428*/,0.490000/*429*/, 0.400000/*430*/,0.709999/*431*/,0.379999/*432*/,0.490000/*433*/,0.259999/*434*/,INVALID_DATA/*435*/, 0.400000/*436*/,0.209999/*437*/,0.460000/*438*/,0.490000/*439*/,0.500000/*440*/,0.059999/*441*/, 0.490000/*442*/,0.389999/*443*/,0.540000/*444*/,0.479999/*445*/,0.689999/*446*/,0.419999/*447*/, INVALID_DATA/*448*/,0.460000/*449*/,INVALID_DATA/*450*/,0.529999/*451*/,0.500000/*452*/,0.409999/*453*/, -0.560000/*454*/,0.490000/*455*/,0.419999/*456*/,0.340000/*457*/,0.449999/*458*/,0.490000/*459*/, 0.319999/*460*/,INVALID_DATA/*461*/,-0.000000/*462*/,0.000000/*463*/,INVALID_DATA/*464*/,INVALID_DATA/*465*/, 0.500000/*466*/,0.460000/*467*/,0.000000/*468*/,0.419999/*469*/,0.529999/*470*/,INVALID_DATA/*471*/, -0.200000/*472*/,INVALID_DATA/*473*/,0.490000/*474*/,0.419999/*475*/,INVALID_DATA/*476*/,0.550000/*477*/, 0.439999/*478*/,0.490000/*479*/,0.409999/*480*/,-0.009999/*481*/,0.469999/*482*/,0.379999/*483*/, INVALID_DATA/*484*/,0.150000/*485*/,INVALID_DATA/*486*/,0.460000/*487*/,0.449999/*488*/,0.500000/*489*/, 0.529999/*490*/,0.430000/*491*/,0.460000/*492*/,-0.670000/*493*/,0.479999/*494*/,0.490000/*495*/, 0.479999/*496*/,0.460000/*497*/,0.730000/*498*/,0.449999/*499*/,0.449999/*500*/,INVALID_DATA/*501*/, 0.419999/*502*/,0.409999/*503*/,0.460000/*504*/,0.500000/*505*/,0.469999/*506*/,0.540000/*507*/, 0.540000/*508*/,INVALID_DATA/*509*/,INVALID_DATA/*510*/,0.419999/*511*/,INVALID_DATA/*512*/,INVALID_DATA/*513*/, 0.449999/*514*/,0.560000/*515*/,0.469999/*516*/,0.509999/*517*/,0.509999/*518*/,0.349999/*519*/, INVALID_DATA/*520*/,0.000000/*521*/,0.000000/*522*/,0.000000/*523*/,0.490000/*524*/,0.509999/*525*/, 0.469999/*526*/,0.409999/*527*/,0.500000/*528*/,0.490000/*529*/,INVALID_DATA/*530*/,INVALID_DATA/*531*/, 1.009999/*532*/,0.479999/*533*/,0.589999/*534*/,0.419999/*535*/,0.519999/*536*/,0.460000/*537*/, 0.709999/*538*/,INVALID_DATA/*539*/,0.519999/*540*/,0.479999/*541*/,0.509999/*542*/,0.449999/*543*/, 0.600000/*544*/,0.330000/*545*/,0.569999/*546*/,0.519999/*547*/,0.649999/*548*/,0.469999/*549*/, 0.519999/*550*/,0.490000/*551*/,0.620000/*552*/,0.430000/*553*/,0.540000/*554*/,0.439999/*555*/, 0.540000/*556*/,0.540000/*557*/,0.540000/*558*/,0.479999/*559*/,0.479999/*560*/,0.519999/*561*/, 0.509999/*562*/,0.419999/*563*/,0.059999/*564*/,0.479999/*565*/,0.540000/*566*/,0.509999/*567*/, INVALID_DATA/*568*/,INVALID_DATA/*569*/,INVALID_DATA/*570*/,INVALID_DATA/*571*/,INVALID_DATA/*572*/,0.560000/*573*/, 0.230000/*574*/,0.500000/*575*/,0.469999/*576*/,1.289999/*577*/,0.469999/*578*/,0.460000/*579*/, 0.540000/*580*/,INVALID_DATA/*581*/,0.419999/*582*/,INVALID_DATA/*583*/,INVALID_DATA/*584*/,0.469999/*585*/, 0.000000/*586*/,0.519999/*587*/,0.699999/*588*/,0.419999/*589*/,INVALID_DATA/*590*/,INVALID_DATA/*591*/, 0.560000/*592*/,0.319999/*593*/,0.059999/*594*/,0.479999/*595*/,0.519999/*596*/,0.519999/*597*/, 0.519999/*598*/,0.500000/*599*/,0.519999/*600*/,0.529999/*601*/,0.479999/*602*/,0.519999/*603*/, 0.500000/*604*/,0.449999/*605*/,INVALID_DATA/*606*/,INVALID_DATA/*607*/,INVALID_DATA/*608*/,0.730000/*609*/, INVALID_DATA/*610*/,INVALID_DATA/*611*/ }; new Float:dCam_Highs[212] = // Kamera magassaga. { 0.460000/*400*/,0.500000/*401*/,0.449999/*402*/,1.029999/*403*/,0.610000/*404*/,0.430000/*405*/, INVALID_DATA/*406*/,0.779999/*407*/,0.589999/*408*/,0.500000/*409*/,0.569999/*410*/,0.409999/*411*/, 0.419999/*412*/,0.709999/*413*/,0.899999/*414*/,0.340000/*415*/,0.800000/*416*/,INVALID_DATA/*417*/, 0.569999/*418*/,INVALID_DATA/*419*/,0.529999/*420*/,0.389999/*421*/,0.479999/*422*/,0.769999/*423*/, INVALID_DATA/*424*/,INVALID_DATA/*425*/,0.529999/*426*/,0.930000/*427*/,0.769999/*428*/,0.400000/*429*/, INVALID_DATA/*430*/,1.330000/*431*/,INVALID_DATA/*432*/,1.240000/*433*/,0.409999/*434*/,INVALID_DATA/*435*/, 0.540000/*436*/,INVALID_DATA/*437*/,0.439999/*438*/,0.400000/*439*/,0.569999/*440*/,INVALID_DATA/*441*/, 0.469999/*442*/,1.029999/*443*/,1.340000/*444*/,0.509999/*445*/,INVALID_DATA/*446*/,INVALID_DATA/*447*/, INVALID_DATA/*448*/,INVALID_DATA/*449*/,INVALID_DATA/*450*/,0.340000/*451*/,INVALID_DATA/*452*/,INVALID_DATA/*453*/, INVALID_DATA/*454*/,1.220000/*455*/,0.889999/*456*/,0.550000/*457*/,0.419999/*458*/,0.709999/*459*/, INVALID_DATA/*460*/,INVALID_DATA/*461*/,0.900000/*462*/,0.800000/*463*/,INVALID_DATA/*464*/,INVALID_DATA/*465*/, 0.529999/*466*/,0.519999/*467*/,0.900000/*468*/,INVALID_DATA/*469*/,0.720000/*470*/,INVALID_DATA/*471*/, INVALID_DATA/*472*/,INVALID_DATA/*473*/,0.560000/*474*/,0.439999/*475*/,INVALID_DATA/*476*/,0.460000/*477*/, 0.529999/*478*/,0.629999/*479*/,0.430000/*480*/,INVALID_DATA/*481*/,0.540000/*482*/,0.509999/*483*/, INVALID_DATA/*484*/,INVALID_DATA/*485*/,INVALID_DATA/*486*/,INVALID_DATA/*487*/,INVALID_DATA/*488*/,0.750000/*489*/, 0.750000/*490*/,0.439999/*491*/,0.550000/*492*/,INVALID_DATA/*493*/,0.449999/*494*/,0.620000/*495*/, 0.529999/*496*/,INVALID_DATA/*497*/,1.049999/*498*/,0.629999/*499*/,0.589999/*500*/,INVALID_DATA/*501*/, 0.449999/*502*/,0.479999/*503*/,INVALID_DATA/*504*/,0.750000/*505*/,0.370000/*506*/,0.500000/*507*/, 0.409999/*508*/,INVALID_DATA/*509*/,INVALID_DATA/*510*/,INVALID_DATA/*511*/,INVALID_DATA/*512*/,INVALID_DATA/*513*/, 0.910000/*514*/,0.819999/*515*/,0.540000/*516*/,0.519999/*517*/,0.449999/*518*/,INVALID_DATA/*519*/, INVALID_DATA/*520*/,1.000000/*521*/,1.000000/*522*/,0.900000/*523*/,0.500000/*524*/,1.029999/*525*/, 0.389999/*526*/,0.579999/*527*/,0.670000/*528*/,0.620000/*529*/,INVALID_DATA/*530*/,INVALID_DATA/*531*/, INVALID_DATA/*532*/,0.500000/*533*/,0.370000/*534*/,0.569999/*535*/,0.349999/*536*/,INVALID_DATA/*537*/, INVALID_DATA/*538*/,INVALID_DATA/*539*/,0.389999/*540*/,0.400000/*541*/,0.519999/*542*/,0.569999/*543*/, 0.870000/*544*/,0.479999/*545*/,0.509999/*546*/,0.589999/*547*/,INVALID_DATA/*548*/,0.490000/*549*/, 0.400000/*550*/,0.519999/*551*/,1.000000/*552*/,INVALID_DATA/*553*/,0.689999/*554*/,0.379999/*555*/, 1.309999/*556*/,1.320000/*557*/,0.569999/*558*/,0.469999/*559*/,0.540000/*560*/,0.490000/*561*/, 0.519999/*562*/,INVALID_DATA/*563*/,INVALID_DATA/*564*/,0.430000/*565*/,0.550000/*566*/,0.379999/*567*/, 0.449999/*568*/,INVALID_DATA/*569*/,INVALID_DATA/*570*/,INVALID_DATA/*571*/,INVALID_DATA/*572*/,0.829999/*573*/, 0.759999/*574*/,0.709999/*575*/,0.589999/*576*/,INVALID_DATA/*577*/,0.680000/*578*/,0.800000/*579*/, 0.720000/*580*/,INVALID_DATA/*581*/,0.720000/*582*/,1.090000/*583*/,INVALID_DATA/*584*/,0.680000/*585*/, 0.900000/*586*/,0.449999/*587*/,1.159999/*588*/,0.750000/*589*/,INVALID_DATA/*590*/,INVALID_DATA/*591*/, INVALID_DATA/*592*/,INVALID_DATA/*593*/,INVALID_DATA/*594*/,INVALID_DATA/*595*/,0.529999/*596*/,0.529999/*597*/, 0.540000/*598*/,0.750000/*599*/,0.500000/*600*/,INVALID_DATA/*601*/,0.409999/*602*/,0.349999/*603*/, 0.529999/*604*/,0.569999/*605*/,INVALID_DATA/*606*/,INVALID_DATA/*607*/,INVALID_DATA/*608*/,1.049999/*609*/, INVALID_DATA/*610*/,INVALID_DATA/*611*/ }; new Float:dCam_Yes[212] = { 0.029999/*400*/,-0.059999/*401*/,-0.349999/*402*/,1.450000/*403*/,-0.129999/*404*/,INVALID_DATA/*405*/,2.559999/*406*/, 2.890000/*407*/,2.730000/*408*/,1.059999/*409*/,-0.170000/*410*/,0.050000/*411*/,-0.129999/*412*/,0.779999/*413*/, 0.959999/*414*/,INVALID_DATA/*415*/,0.949999/*416*/,3.269999/*417*/,0.460000/*418*/,-0.209999/*419*/,0.059999/*420*/, 0.109999/*421*/,0.070000/*422*/,0.670000/*423*/,-0.090000/*424*/,2.549999/*425*/,0.059999/*426*/,1.100000/*427*/,0.649999/*428*/, -0.500000/*429*/,0.519999/*430*/,4.730000/*431*/,2.769999/*432*/,1.159999/*433*/,-0.449999/*434*/,INVALID_DATA/*435*/,-0.170000/*436*/, 4.289999/*437*/,0.419999/*438*/,-0.540000/*439*/,0.750000/*440*/,-0.070000/*441*/,0.270000/*442*/,2.880000/*443*/, 0.349999/*444*/,-0.029999/*445*/,0.250000/*446*/,0.949999/*447*/,-0.340000/*448*/,3.359999/*449*/,INVALID_DATA/*450*/,-0.200000/*451*/, 2.980000/*452*/,1.570000/*453*/,2.730000/*454*/,1.169999/*455*/,1.389999/*456*/,-0.270000/*457*/,0.140000/*458*/,0.779999/*459*/, 0.280000/*460*/,-0.400000/*461*/,0.000000/*462*/,-0.300000/*463*/,INVALID_DATA/*464*/,INVALID_DATA/*465*/,0.150000/*466*/, 0.109999/*467*/,-0.000000/*468*/,0.949999/*469*/,-0.039999/*470*/,-0.349999/*471*/,-0.159999/*472*/,0.579999/*473*/,-0.300000/*474*/, -0.129999/*475*/,-0.449999/*476*/,-0.250000/*477*/,0.090000/*478*/,-0.070000/*479*/,-0.280000/*480*/,-0.340000/*481*/, 0.529999/*482*/,1.649999/*483*/,-5.010000/*484*/,-0.449999/*485*/,-0.389999/*486*/,1.620000/*487*/,0.730000/*488*/, -0.090000/*489*/,0.460000/*490*/,-0.280000/*491*/,0.140000/*492*/,0.600000/*493*/,-0.289999/*494*/,INVALID_DATA/*495*/,-0.250000/*496*/, 1.620000/*497*/,1.379999/*498*/,0.209999/*499*/,-0.239999/*500*/,INVALID_DATA/*501*/,-0.119999/*502*/,-0.289999/*503*/,0.180000/*504*/, -0.090000/*505*/,-0.340000/*506*/,0.050000/*507*/,1.419999/*508*/,-0.479999/*509*/,-0.270000/*510*/,2.009999/*511*/, -0.219999/*512*/,-0.910000/*513*/,1.600000/*514*/,1.340000/*515*/,0.070000/*516*/,-0.019999/*517*/,0.070000/*518*/, 5.179999/*519*/,2.839999/*520*/,0.100000/*521*/,0.100000/*522*/,0.000000/*523*/,1.450000/*524*/,0.259999/*525*/, -0.079999/*526*/,-0.019999/*527*/,-0.140000/*528*/,-0.079999/*529*/,-0.319999/*530*/,-0.460000/*531*/,3.000000/*532*/, -0.239999/*533*/,0.029999/*534*/,0.009999/*535*/,-0.219999/*536*/,5.130000/*537*/,5.989999/*538*/,0.349999/*539*/,-0.059999/*540*/, -0.119999/*541*/,-0.150000/*542*/,0.090000/*543*/,2.509999/*544*/,-0.340000/*545*/,-0.159999/*546*/,INVALID_DATA/*547*/,4.570000/*548*/, 0.250000/*549*/,0.050000/*550*/,0.109999/*551*/,0.639999/*552*/,9.529999/*553*/,0.100000/*554*/,-0.170000/*555*/,0.100000/*556*/, INVALID_DATA/*557*/,-0.239999/*558*/,-0.189999/*559*/,0.109999/*560*/,0.090000/*561*/,-0.050000/*562*/,2.640000/*563*/, -0.070000/*564*/,-0.059999/*565*/,0.090000/*566*/,0.250000/*567*/,-0.029999/*568*/,INVALID_DATA/*569*/,1.960000/*570*/, -0.180000/*571*/,-0.620000/*572*/,2.029999/*573*/,0.550000/*574*/,0.059999/*575*/,-0.159999/*576*/,21.059999/*577*/,3.430000/*578*/, -0.159999/*579*/,-0.009999/*580*/,-0.400000/*581*/,0.560000/*582*/,-1.009999/*583*/,INVALID_DATA/*584*/,INVALID_DATA/*585*/,-0.200000/*586*/, -0.239999/*587*/,2.289999/*588*/,-0.019999/*589*/,INVALID_DATA/*590*/,INVALID_DATA/*591*/,12.510000/*592*/,0.029999/*593*/,-0.070000/*594*/, 0.899999/*595*/,0.059999/*596*/,0.059999/*597*/,0.059999/*598*/,-0.090000/*599*/,0.059999/*600*/,-0.300000/*601*/,-0.119999/*602*/, -0.419999/*603*/,0.150000/*604*/,0.090000/*605*/,INVALID_DATA/*606*/,INVALID_DATA/*607*/,INVALID_DATA/*608*/,1.379999/*609*/, INVALID_DATA/*610*/,INVALID_DATA/*611*/ }; //------------------------------------------------------- new entrousv; //-------------------------------------- enum { CommonRed = 19006, CommonOrange, CommonGreen, CommonBlue, CommonPurple, CommonEspiral, CommonBlack, CommonEyes, CommonXadrex, CommonTransparent, CommonXRayVision, SquareFormatYellow, SquareFormatOrange, SquareFormatRed, SquareFormatBlue, SquareFormatGreen, RayBanGray, RayBanBlue, RayBanPurple, RayBanPink, RayBanRed, RayBanOrange, RayBanYellow, RayBanGreen, CircularNormal, CircularYellow, CircularRed, CircularBlack, CircularXadrex, CircularThunders, CopGlassesBlack = 19138, CopGlassesRed = 19139, CopGlassesBlue = 19140, }; //------------------------------------------------------- new Float:GuerraMinX; new Float:GuerraMinY; new Float:GuerraMaxX; new Float:GuerraMaxY; new senha = 1; new gCarLock[MAX_VEHICLES]; //========= ============== new PortaoMayans; new PlayerText:Speex[MAX_PLAYERS]; new portaomecls; new Text:textmorte[2]; new bool:pmorto[MAX_PLAYERS]; //------------------------------------------------------- new PlayerText: __[MAX_PLAYERS]; new PlayerText:donotext[MAX_PLAYERS]; new pYak1; new pYak2; new pYak3; new PortaoPC; new PortaoPC3; new pportaozin; //new OrgVencedora; new donoMercadoNegro = 0; new DominandoMercadoNegro[MAX_PLAYERS]; new ProvocoMercadoNegro[MAX_PLAYERS]; new TempoGuerraMercadoNegro; new GuerranoMercadoNegro; new Text:Previsao1; new Text:Previsao2; new Text:Previsao3; new Text:Previsao4; new StyleWalk[MAX_PLAYERS]; new PortaoPF; new PortaoPRO1; new PortaoROTA; new VozDePrisao[MAX_PLAYERS]; new psinc; new GuerraName[50]; new donomafia; new donomafiaporto; new TerminarDescerC; new TempoGuerrabar1; new TempoGuerrabar2; new TempoGuerrabar3; new TempoGuerrabar4; new TempoGuerrabar5; new Guerrandobar1 = 0; new Guerrandobar2 = 0; new Guerrandobar3 = 0; new Guerrandobar4 = 0; new Guerrandobar5 = 0; new donobar = 0; new donobar2 = 0; new donobar3 = 0; new donobar4 = 0; new donobar5 = 0; new pcorrida; new psequestrar; new pamarrar; new pcorridaoni; new PSG[25]; new Text:TextGuerra1; new Text:TextGuerra2; new Text:TextGuerra3; new Text:TextGuerra4; new Text:TextGuerra5; new TempoGuerra = 0; new GranaGuerra; new TimerGuerra; new GZGuerra; new TempoSinc; new shifthour; new pickups; new Text:Hidealto2,Text:Hidebaixo2; new NaCamera[MAX_PLAYERS]; new PaintballPlayers = 0; new PlayerPaintballing[MAX_PLAYERS]; new PlayerPaintballKills[MAX_PLAYERS]; new LastVeh[MAX_PLAYERS]; new StartingPaintballRound = 0; new AnnouncedPaintballRound = 0; new PaintballRound = 0; new PaintballWinner = 999; new PaintballWinnerKills = 0; ///evento parkour new ppk11[MAX_PLAYERS]; new ppk12[MAX_PLAYERS]; new ppk13[MAX_PLAYERS]; new Ppk2[MAX_PLAYERS]; new Ppk3[MAX_PLAYERS]; new PrimeiroChuck[MAX_PLAYERS]; new LimiteChuck; new TempoEventoChuck; new eventopk1 = 0; new eventopk2 = 0; new eventopk3 = 0; new arenax1 = 0; new vszumbi = 0; new vscops = 0; forward ZerarEventoChuck(playerid); new Trazervs[MAX_PLAYERS]; new KillEvento[MAX_PLAYERS]; new DeatEvento[MAX_PLAYERS]; new MorteEvento[MAX_PLAYERS]; static const Float:gChuckArena[7][4] = { {-973.4500,1060.6805,1345.6750}, {-969.4534,1044.8157,1345.0568}, {-977.3695,1021.3350,1345.0256}, {-1131.1207,1057.8539,1346.4141}, {-1136.2985,1076.4047,1345.8022}, {-1136.6195,1030.8734,1345.7631}, {-1136.4711,1049.5575,1345.7776} }; static const Float:PaintballSpawns[7][3] = { {-394.8027,2232.2317,42.4297}, {-430.8412,2240.5371,42.9834}, {-369.2361,2248.3127,42.4844}, {-350.8910,2218.0215,42.4912}, {-384.0544,2206.2908,42.4235}, {-395.7100,2214.9480,42.4297}, {-445.3718,2222.5481,42.4297} }; static const Float:Arenax1Spawns[9][4] = { {-1131.3898,1057.2852,1346.4130,263.6864}, {-1132.2286,1030.5897,1345.7313,75.9254}, {-1133.9681,1095.9108,1345.8059,54.4011}, {-1084.4851,1085.7716,1342.5974,258.0464}, {-1060.1200,1050.2115,1344.2872,258.0464}, {-1030.1155,1044.7891,1341.9045,294.3934}, {-1011.0789,1078.9055,1343.2344,235.4137}, {-977.9871,1061.8613,1345.6301,228.2794}, {-973.9790,1023.3136,1345.0469,143.9920} }; enum sinfo { sCreated, Float:sX, Float:sY, Float:sZ, sObject, sID, Text3D:sText, }; new SpikeInfo[MAX_PREGOS][sinfo]; enum brinfo { brCreated, brObject, brID, Text3D:brText, }; new BarreiraInfo[MAX_BARREIRAS][brinfo]; enum coinfo { ConeCreated1, ConeCreated2, ConeCreated3, ConeCreated4, ConeCreated5, ConeObject1, ConeObject2, ConeObject3, ConeObject4, ConeObject5, ConeID1, ConeID2, ConeID3, ConeID4, ConeID5, Text3D:ConeText1, Text3D:ConeText2, Text3D:ConeText3, Text3D:ConeText4, Text3D:ConeText5, }; new ConeInfo[MAX_PLAYERS][coinfo]; enum bqinfo { bqCreated, bqObject, bqID, Text3D:bqText, }; new BloqueioInfo[100][bqinfo]; #define VEHSHOW_X -1949.9879 #define VEHSHOW_Y 260.5953 #define VEHSHOW_Z 35.0898 #define VEHSHOW_A 48.5582 #define PLASHOW_X -1953.5065 #define PLASHOW_Y 268.7401 #define PLASHOW_Z 37.0737 #define VTYPE_CAR 1 #define VTYPE_HEAVY 2 #define VTYPE_BIKE 3 #define VTYPE_AIR 4 #define VTYPE_SEA 5 #define VTYPE_MISC 6 #define VTYPE_MOTORBIKE 7 #define VTYPE_INFERNUS 8 #define VTYPE_stretch 9 #define VTYPE_voodoo 10 #define VTYPE_pony 11 #define VTYPE_cheetah 12 #define VTYPE_moonbeam 13 #define VTYPE_monster 14 #define VTYPE_turismo 15 #define VTYPE_zr3 16 #define VTYPE_supergt 17 #define VTYPE_nrg 18 #define VTYPE_bullet 19 #define VTYPE_sultan 20 #define VTYPE_phoenix 21 #define VTYPE_Mediano 22 #define VTYPE_Clasemedia 23 #define CAR_COST 20000 #define BIKE_COST 1000 #define MOTORBIKE_COST 7000 #define BOAT_COST 225000 #define PLANE_COST 520000 #define MISC_COST 390000 #define TRUCK_COST 30000 #define TRUCK_INFERNUS 85000 #define TRUCK_stretch 200000 #define TRUCK_voodoo 9000 #define TRUCK_pony 30000 #define TRUCK_cheetah 60000 #define TRUCK_moonbeam 30000 #define TRUCK_monster 1350000 #define TRUCK_turismo 550000 #define TRUCK_supergt 500000 #define TRUCK_zr3 40000 #define TRUCK_nrg 50000 #define TRUCK_bullet 250000 #define TRUCK_sultan 70000 #define TRUCK_phoenix 100000 #define TRUCK_mediano 40000 #define TRUCK_Clasemedia 20000 #define on 1 #define off 0 #define SHOW_LEGEND // Shows the legend of the script on how to buy a car, etc. Comment to not show, leave it uncommented to show. stock getVehicleName(vehicleid){ new vehmodel = GetVehicleModel(vehicleid); new nameVeh[75]; if (vehmodel < 400 || vehmodel > 611) { strcat(nameVeh, "Nenhum"); return nameVeh; } strcat(nameVeh, VehicleNames[vehmodel - 400]); return nameVeh; } enum vInfo { vModel, Float:vX, Float:vY, Float:vZ, Float:vA, Float:vPX, Float:vPY, Float:vPZ, Float:vPA, Float:vLataria, vColor1, vColor2, vPaintjob, vMod[MAX_MODS], vOwner[MAX_PLAYER_NAME], vName[128], vLock, vPark, carRadioOn, CRURL[256], SoundCar, } new CarModels[93] = { 400, 401, 402, 404, 405, 409, 410, 411, 412, 413, 415, 418, 419, 421, 422, 424, 426, 429, 434, 436, 439, 442, 444, 445, 451, 458, 461, 462, 463, 466, 467, 468, 471, 474, 475, 477, 479, 480, 482, 483, 489, 491, 492, 496, 500, 505, 506, 507, 516, 517, 518, 521, 522, 526, 527, 529, 533, 534, 535, 536, 540, 541, 542, 543, 545, 546, 547, 549, 550, 551, 554, 555, 558, 559, 560, 561, 562, 565, 566, 567, 568, 575, 576, 579, 580, 581, 585, 586, 587, 589, 600, 602, 603 }; new VehicleName[][] = { "Landstalker", "Bravura", "Buffalo", "Perenniel", "Sentinel", "Stretch", "Manana", "Infernus", "Voodoo", "Pony", "Cheetah", "Moonbeam", "Esperanto", "Washington", "Bobcat", "BF Injection", "Premier", "Banshee", "Hotknife", "Previon", "Stallion", "Romero", "Monster", "Admiral", "Turismo", "Solair", "PCJ-600", "Faggio", "Freeway", "Glendale", "Oceanic", "Sanchez", "Quad", "Hermes", "Sabre", "ZR-350", "Regina", "Comet", "Burrito", "Camper", "Rancher", "Virgo", "Greenwood", "Blista Compact", "Mesa", "Rancher", "Super GT", "Elegant", "Nebula", "Majestic", "Buccaneer", "FCR-900", "NRG-500", "Fortune", "Cadrona", "Willard", "Feltzer", "Remington", "Slamvan", "Blade", "Vincent", "Bullet", "Clover", "Sadler", "Hustler", "Intruder", "Primo", "Tampa", "Sunrise", "Merit", "Yosemite", "Windsor", "Uranus", "Jester", "Sultan", "Stratum", "Elegy", "Flash", "Tahoma", "Savanna", "Bandito", "Broadway", "Tornado", "Huntley", "Stafford", "BF-400", "Emperor", "Wayfarer", "Euros", "Club", "Picador", "Alpha", "Phoenix" }; new VehicleInfo[MAX_VEHICLES][vInfo]; new MAX_VEH_SPAWNED = 0; new ShopCar[MAX_PLAYERS]; new bool:CarShopping[MAX_PLAYERS]; new INCOMPRA[MAX_PLAYERS]; new Float:OrgX[MAX_PLAYERS]; new Float:OrgY[MAX_PLAYERS]; new Float:OrgZ[MAX_PLAYERS]; new Float:OrgA[MAX_PLAYERS]; new CarColor[MAX_PLAYERS][2]; new bool:cheaterligado[20]; new PortaoGAT; new PortaoGAT3; new TotalRegistro; new v[6]; new TimerSS[MAX_PLAYERS]; new PedirAvaliar[MAX_PLAYERS]; //new total_vehicles_from_files=0; new TendoGuerra = 0; new bool:teveguerra = false; //------------------------------------------------------- //Var Global new TruckMission[MAX_PLAYERS]; new CostMecanicMission[MAX_PLAYERS]; new var1[MAX_PLAYERS]; new pban[MAX_PLAYERS]; new gPlayerTerminal[MAX_PLAYERS]; new Equipamentos[MAX_PLAYERS]; new Dia, Mes, Ano, Hora, Minuto, Segundo; new CaixaEletronico_Ok[MAX_PLAYERS]; new BusFed[MAX_PLAYERS]; new Inenforcer[MAX_PLAYERS]; new Watching[MAX_PLAYERS]; new Goto[MAX_PLAYERS]; //new bool:entrou[MAX_PLAYERS]; new CarCalls[MAX_PLAYERS]; new TransferenciaID[MAX_PLAYERS]; new HidePM[MAX_PLAYERS]; new Avaliado[MAX_PLAYERS]; new Bucetuda[MAX_PLAYERS]; new PutaGorda[MAX_PLAYERS]; new AdmHelperComido[MAX_PLAYERS]; new Sequestrado[MAX_PLAYERS]; new MoneyMessage[MAX_PLAYERS]; new InviteOffer2[MAX_PLAYERS]; new InviteOffer[MAX_PLAYERS]; new InviteJob[MAX_PLAYERS]; new InviteAtt[MAX_PLAYERS]; new storeexit[MAX_PLAYERS]; new barexit[MAX_PLAYERS]; new mercadoexit[MAX_PLAYERS]; new guinchado[MAX_PLAYERS]; new EmDialog[MAX_PLAYERS]; new roubando[MAX_PLAYERS]; new Temporoubando[MAX_PLAYERS]; new invadindo[MAX_PLAYERS]; new Tempoinvadindo[MAX_PLAYERS]; new bool:RoubandoCaixa[MAX_PLAYERS]; new TunningOn[MAX_PLAYERS]; new InAFoodPlace[MAX_PLAYERS]; new s_tate[MAX_PLAYERS]; new spawnado[MAX_PLAYERS]; new admtrampando[MAX_PLAYERS]; new helpertrampando[MAX_PLAYERS]; new logouagora[MAX_PLAYERS]; new Preso_Dialog[MAX_PLAYERS][MAX_PLAYERS]; new Float:FaceAngle[MAX_PLAYERS]; new Float:PlayerHPP[MAX_PLAYERS]; new VehicleIDD[MAX_PLAYERS]; new ammoo[13][MAX_PLAYERS]; new Float:APP[MAX_PLAYERS]; new vehicledd[MAX_PLAYERS]; new AdvId[MAX_PLAYERS]; new HospId[MAX_PLAYERS]; new interior[MAX_PLAYERS]; new Float:xx[MAX_PLAYERS]; new Float:yy[MAX_PLAYERS]; new Float:zz[MAX_PLAYERS]; new skinneg[MAX_PLAYERS]; new gunsinc[13][MAX_PLAYERS]; new virt[MAX_PLAYERS]; new sincronizando[MAX_PLAYERS]; new MudarNickAceito[MAX_PLAYERS]; new OnEquipado[MAX_PLAYERS]; new JaEquipado[MAX_PLAYERS]; new ProvocoMafia[MAX_PLAYERS]; new ProvocoMafiaPorto[MAX_PLAYERS]; new PolicialInRonda[MAX_PLAYERS]; new Text3D:HouseLabel[MAX_HOUSES]; new HousePickup[MAX_HOUSES]; new Text3D:BizzLabel[MAX_BIZZES]; new Text3D:SBizzLabel[MAX_SBIZZES]; new Text3D:FBizzLabel[MAX_FBIZZES]; new HouseFed[MAX_PLAYERS]; new VTrancado[MAX_VEHICLES]; new CreatedCars[200]; new giveplayerid; new giveplayer[MAX_PLAYER_NAME]; new Text:TextDraw0; new Text:TextDraw1; new Text:TextDraw2; new Text:TextDraw3; new Text:TextDraw4; new eEjet[MAX_PLAYERS]; enum TrInfo{ Float:MinX, Float:MinY, Float:MaxX, Float:MaxY, }; new PlayerText:textinfodamage[MAX_PLAYERS][2]; new PlayerText:textinfodamaga[MAX_PLAYERS][2]; //mselection //new SkinsList = mS_INVALID_LISTID; new ComprarSkinList= mS_INVALID_LISTID; new CarrosCasaList = mS_INVALID_LISTID; new CarrosVipList = mS_INVALID_LISTID; new GZMafia; new GZPorto; new GZRC2; new GZRC3; new GZHOSP; new GZRESPAWN; new GZIGREJA; new GZEVENTOS; new GZSPAWNLV; enum incend { Float:incendiox, Float:incendioy, Float:incendioz, incendiop, incendior, incendioname[35], } enum Camrea { bool:air,cameraman,audience,Float:campostion[4],tup }; //static's / new's new bool:player_viewer[200]; new CamreaInfo[Camrea]; new CPU[200]; enum GMorro { bool:gGuerra, gDono, gPontosDono, gMortes, gColor, gDinheiro, gTempo, gTimer, gCash, bool:gAcabou }; new GuerraMorro[GMorro]; new GZMorro[7]; new MorroPontos[MAX_ORGS]; new Text:gTextdraw1; new Text:gTextdraw2; stock OrgMorro(orgid){ switch(orgid) { case 1,2,5,6,14,17,18,19,21,33,35, 37, 38:return 1; } return 0; } stock gPlayerInGuerra(playerid) { if(!GuerraMorro[gGuerra])return 0; new Float:x,Float:y,Float:z; GetPlayerPos(playerid, x, y, z); if(x >= 1994.30 && y >= -1100.80 && x <= 2056.80 && y <= -920.80) return 1; // morro 1 else if(x >= 2056.80 && y >= -1126.30 && x <= 2126.80 && y <= -920.80) return 1; // morro 2 else if(x >= 2185.30 && y >= -1154.50 && x <= 2281.40 && y <= -934.40) return 1; // morro 3 else if(x >= 2126.80 && y >= -1126.30 && x <= 2185.30 && y <= -934.40) return 1; // morro 4 else if(x >= 2632.70 && y >= -1135.00 && x <= 2747.70 && y <= -945.00) return 1; // morro 5 else if(x >= 2281.40 && y >= -1135.00 && x <= 2632.70 && y <= -945.00) return 1; // morro 6 else return 0; } //------------------------------------------------------- // Menu Tunar new Menu:TuningMenu, Menu:TuningMenu1, Menu:Paintjobs, Menu:Colors, Menu:Colors1, Menu:Exhausts, Menu:Frontbumper, Menu:Rearbumper, Menu:Roof, Menu:Spoilers, Menu:Sideskirts, Menu:Bullbars, Menu:Wheels, Menu:Wheels1, Menu:Carstereo, Menu:Hydraulics, Menu:Nitro, Menu:Neon ; new pvehicleid[MAX_PLAYERS], pmodelid[MAX_PLAYERS] ; stock Float:GetPlayerVehicleHealth(playerid) { new Float:health; GetVehicleHealth(GetPlayerVehicleID(playerid), health); if(health > 900.0)return health/10.0; else return (health/10.0)-(24); } new PlayerText:Estrelas[2][MAX_PLAYERS]; new IsAttached[MAX_PLAYERS] = false; new playername[MAX_PLAYER_NAME]; new plname[MAX_PLAYER_NAME]; new Territorio[TrInfo]; enum BlInfo{ pMotivo[126], pAdmBan[MAX_PLAYER_NAME], pData[20], pHora[20], BanData, BanDia, BanMes, BanAno, TempHora, TempMinuto, TempSegundo, TimeData, BanSegundo[20], BanHora[20], BanMinuto[20], pNick[64]}; new BanInfo[MAX_PLAYERS][BlInfo]; new bool:MecanicMission[MAX_PLAYERS] = false; new VehicleMission[MAX_PLAYERS]; new TimeMission[MAX_PLAYERS]; new Dominando[MAX_PLAYERS]; static const Float:CarMissionSpawn[][] = { {982.3575,-923.7010,41.4279,181.4496}, {762.4952,-1026.4790,23.6919,176.0483}, {-64.4038,-1158.7947,1.4563,65.7577}, {-470.7942,-510.2506,25.2227,91.6728}, {-568.0504,-498.4012,25.2283,2.3046}, {-921.5026,-526.6678,25.6585,347.6651}, {-758.4755,-115.8890,65.5447,17.0265}, {-541.5983,-83.6108,62.9128,95.0392}, {-119.7279,589.8327,2.2891,9.6851}, {-267.4589,1128.8445,19.4471,180.1424}, {-87.0296,1359.1443,10.0065,278.1221}, {111.0141,1950.3417,18.5674,0.3540}, {647.5017,1687.7833,6.6974,42.7367}, {-276.0235,-2186.6711,28.4523,113.1144}, {-17.4219,-2504.0667,36.3607,125.3904}, {19.3055,-2658.5090,40.2335,93.1001}, {-1547.4736,-2742.2776,48.2436,138.5745}, {-1581.1984,-2711.2014,48.2442,154.7500}, {-2225.4263,-2426.5952,30.3923,231.6836}, {-2240.8860,-2553.7319,31.6269,74.6334}, {-2614.5398,-2315.3606,10.5879,230.2215}, {-2542.2708,-2173.4067,30.5847,203.7707}, {-2122.7781,-840.2109,31.7287,273.0225}, {-1941.3562,-997.3842,31.8937,268.3474} }; new PlayerText:localidade[MAX_PLAYERS]; new EmGuerra[MAX_PLAYERS]; new CorGuerra; //------------------------------------------------------- //----[Portao das ORG VIP]------ new pSons2; //============================== new bool:IrPosicao[MAX_PLAYERS]; Float:GetPlayerArmourEx(playerid) { new Float:coolete; GetPlayerArmour(playerid, coolete); return coolete; } new TempDropArmas[MAX_PLAYERS]; new TempDropArmasBody[MAX_PLAYERS]; enum somI { bool: somCreated, Float: somX, Float: somY, Float: somZ, Float: somVida, Text3D: somText, somLink [256], somID, somWorld, somObject, }; enum somIC { bool: somCreated, Float: somX, Float: somY, Float: somZ, Float: somVida, Text3D: somText, somLink [256], somID, somWorld, somCar, }; new Sound1[MAX_VEHICLES]; new Sound2[MAX_VEHICLES]; new Sound3[MAX_VEHICLES]; new Sound4[MAX_VEHICLES]; new SomInfo[MAX_SOUNDS][somI]; new SomInCarInfo[MAX_SOUNDS][somIC]; new bool: OuvindoSom[MAX_PLAYERS]; new bool: OuvindoSomCar[MAX_PLAYERS]; CMD:tocarsom(playerid, params[]) { if(IsPlayerInRangeOfPoint(playerid, 20.0, 1134.1287,-1749.5795,13.5703) || IsPlayerInRangeOfPoint(playerid, 40.0, 1477.9197,-1731.7781,13.3828) || IsPlayerInRangeOfPoint(playerid, 40.0, 1917.8677,-1411.0074,13.5703) || IsPlayerInRangeOfPoint(playerid, 40.0, 2155.4438,-1010.9413,62.9640) || IsPlayerInRangeOfPoint(playerid, 40.0, 2007.9270,-1439.8019,13.5618) || IsPlayerInRangeOfPoint(playerid, 20.0, 1462.2650,-1011.5679,26.8438) || PlayerInPref(playerid) || IsPlayerInRangeOfPoint(playerid, 40.0, 1450.0985,-2287.4214,13.5469) || IsPlayerInRangeOfPoint(playerid, 20.0, 1705.4833,1480.4753,10.7879)) return SendClientMessage(playerid, 0x00FFFFAA, "Voce nao pode usar sua Radio nesse LOCAL!"); if(PlayerInfo[playerid][pJailed] >= 1) { SendClientMessage(playerid, COLOR_GREY, "Voce nao pode usar sua Radio estando preso!"); return true; } if(!PlayerInfo[playerid][pRadio])return SendClientMessage(playerid, COLOR_GREY, " Voce nao tem um JBL, compre um na 24/7 !"); if(!PlayerInfo[playerid][pComRadio])return SendClientMessage(playerid, COLOR_GREY, " Voce nao esta com seu JBL em maos, use /pegarradio !"); if(isPertoSound(playerid))return SendClientMessage(playerid, COLOR_GREY, " Ja existe um radio tocando muito proximo a este local !"); if(isPertoCarSound(playerid))return SendClientMessage(playerid, COLOR_GREY, "Existe um som de Carro tocando muito proximo a este local !"); if(isPlayerSound(playerid))return SendClientMessage(playerid, COLOR_GREY, " Seu JBL ja esta tocando, desligue-o primeiro !"); if(GetPlayerSpeedEx(playerid) > 1) return SendClientMessage(playerid, AMARELO_COR, "Voce precisa estar completamente parado para ligar o radio!"); ShowPlayerDialog(playerid, 5414, DIALOG_STYLE_LIST, "{EE82EE}|> Lista de Radios CNF <|", "{EE82EE}1 » {FFFFFF}Pop\n\ {EE82EE}2 » {FFFFFF}Sertanejo\n\ {EE82EE}3 » {FFFFFF}Rock\n\ {EE82EE}4 » {FFFFFF}POP2K\n\ {EE82EE}5 » {FFFFFF}LO-FI\n\ {EE82EE}6 » {FFFFFF}Tropical\n\ {EE82EE}7 » {FFFFFF}SMASH\n\ {EE82EE}8 » {FFFFFF}Hunter\n\ {EE82EE}9 » {FFFFFF}Funk-Mandelao\n\ {EE82EE}10 » {FFFFFF}Rave\n\ {EE82EE}11 » {FFFFFF}RADIO CNF EXCLUSIVA\n\ {EE82EE}12 » {FFFFFF}Digitar Link\n\ Desligar","Ligar","Sair"); return 1; } CMD:pegarradio(playerid){ if(antihands[playerid] == 1)return SendClientMessage(playerid, COLOR_GREY, "Voce nao pode usar este comando estando congelado !"); if(GetPlayerSpecialAction(playerid) == SPECIAL_ACTION_CUFFED) return SendClientMessage(playerid, COLOR_GREY, "[ERRO] Voce nao pode usar este comando agora. !"); if(!PlayerInfo[playerid][pRadio])return SendClientMessage(playerid, COLOR_GREY, "Voce nao tem um JBL, compre um na 24/7 !"); if(PlayerInfo[playerid][pComRadio])return SendClientMessage(playerid, COLOR_GREY, "Voce ja esta com seu JBL em maos, use /guardarradio !"); if(isPlayerSound(playerid))return SendClientMessage(playerid, COLOR_GREY, " Seu JBL ja esta tocando, desligue-o primeiro !"); static string[73] ; format(string, sizeof(string), "* %s pega seu JBL.", NomePlayer(playerid)); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); PlayerInfo[playerid][pComRadio] = true; new id = CountAttachedObjects(playerid); SetPlayerAttachedObject_Droid(playerid,id,2226,5,0.394999,0.045000,0.027000,-25.299999,-101.699974); SetPlayerAttachedObjectEx(2226,Vaga_Radio,playerid,id); return 1; } CMD:guardarradio(playerid){ if(antihands[playerid] == 1)return SendClientMessage(playerid, COLOR_GREY, "Voce nao pode usar este comando estando congelado !"); if(GetPlayerSpecialAction(playerid) == SPECIAL_ACTION_CUFFED) return SendClientMessage(playerid, COLOR_GREY, "[ERRO] Voce nao pode usar este comando agora. !"); if(!PlayerInfo[playerid][pRadio])return SendClientMessage(playerid, COLOR_GREY, "Voce nao tem um JBL, compre um na 24/7 !"); if(!PlayerInfo[playerid][pComRadio])return SendClientMessage(playerid, COLOR_GREY, "Voce nao esta com seu JBL em maos, use /pegarradio !"); if(isPlayerSound(playerid))return SendClientMessage(playerid, COLOR_GREY, " Seu JBL ja esta tocando, desligue-o primeiro !"); static string[73] ; format(string, sizeof(string), "* %s guardou seu JBL.", NomePlayer(playerid)); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); PlayerInfo[playerid][pComRadio] = false; RemovePlayerAttachedObjectEx(playerid, Vaga_Radio); return 1; } stock CountAttachedObjects(playerid) { new count=-1; new i=0; while(i < MAX_PLAYER_ATTACHED_OBJECTS) { if(PlayerInfo[playerid][pAcP] == 1 && i < 6) { i=6; continue; } if(IsPlayerAttachedObjectSlotUsed(playerid, i)) { i++; continue; } else { count = i; ultimoSlotEQ[playerid] = i; i = MAX_PLAYER_ATTACHED_OBJECTS; break; } } if(count == -1) { return SlotCheio[playerid] = 1; } return count; } createSound(playerid, urlSound[]){ static Float:Pos[4], string[128] ; format(string, sizeof(string), "* %s ligou seu JBL.", NomePlayer(playerid)); SendClientMessageInRange(30.0, playerid, string, 0x00660CC8,0x00660CC8,0x00660CC8,0x00660CC8,0x00660CC8); ApplyAnimationEx(playerid,"BOMBER","BOM_Plant_2Idle",4.1,0,1,1,0,0); RemovePlayerAttachedObjectEx(playerid, Vaga_Radio); PlayerInfo[playerid][pComRadio] = false; GetPlayerPos(playerid, Pos[0], Pos[1], Pos[2]); GetPlayerFacingAngle(playerid, Pos[3]); for(new x; x != MAX_SOUNDS; x++){ if(!SomInfo[x][somCreated]){ SomInfo[x][somCreated] = true; SomInfo[x][somWorld] = GetPlayerVirtualWorld(playerid); SomInfo[x][somVida] = 100.0; SomInfo[x][somX] = Pos[0]; SomInfo[x][somY] = Pos[1]; SomInfo[x][somZ] = Pos[2]-0.95; SomInfo[x][somID] = playerid; format(SomInfo[x][somLink], 128, urlSound); SomInfo[x][somObject] = CreateDynamicObject(2226, SomInfo[x][somX], SomInfo[x][somY], SomInfo[x][somZ], 0.0, 0.0, Pos[3], SomInfo[x][somWorld]); format(string, sizeof string, "[ JBL ] Som de: %s\nID JBL: %d", NomePlayer(playerid),x); SomInfo[x][somText] = CreateDynamic3DTextLabel(string, 0x33CCFFFF, SomInfo[x][somX], SomInfo[x][somY], SomInfo[x][somZ]+0.3, 20.0, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 0, SomInfo[x][somWorld]); return 1; } } return 1; } destroySound(id){ if(SomInfo[id][somCreated]){ SomInfo[id][somCreated] = false; DestroyDynamicObject(SomInfo[id][somObject]); DestroyDynamic3DTextLabel(SomInfo[id][somText]); SomInfo[id][somID] = 999; foreach(Player, i){ if(IsPlayerInRangeOfPoint(i, 71.0, SomInfo[id][somX], SomInfo[id][somY], SomInfo[id][somZ]) && OuvindoSom[i] && GetPlayerVirtualWorld(i) == SomInfo[id][somWorld]){ StopAudioStreamForPlayer(i); OuvindoSom[i] = false; } } } } /*createSoundInCar(playerid, urlSound[]) { static Float:Pos[4], string[78] ; GetPlayerPos(playerid, Pos[0], Pos[1], Pos[2]); GetPlayerFacingAngle(playerid, Pos[3]); for(new x; x != MAX_SOUNDS; x++) { SomInCarInfo[x][somCreated] = true; SomInCarInfo[x][somWorld] = GetPlayerVirtualWorld(playerid); SomInCarInfo[x][somVida] = 100.0; SomInCarInfo[x][somX] = Pos[0]; SomInCarInfo[x][somY] = Pos[1]; SomInCarInfo[x][somZ] = Pos[2]-0.95; SomInCarInfo[x][somID] = playerid; format(SomInCarInfo[x][somLink], 128, urlSound); //SomInCarInfo[x][somObject] = CreateDynamicObject(2226, SomInCarInfo[x][somX], SomInCarInfo[x][somY], SomInCarInfo[x][somZ], 0.0, 0.0, Pos[3], SomInCarInfo[x][somWorld]); format(string, sizeof string, "-o))) Som do carro de: %s", NomePlayer(playerid)); VehicleInfo[GetPlayerVehicleID(playerid)][carRadioOn] = 1; SomInCarInfo[x][somCar] = GetPlayerVehicleID(playerid); SomInCarInfo[x][somText] = CreateDynamic3DTextLabel(string, 0x33CCFFAA, SomInCarInfo[x][somX], SomInCarInfo[x][somY], SomInCarInfo[x][somZ]+0.3, 20.0, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 0, SomInCarInfo[x][somWorld]); return 1; } return 1; } */ destroySoundInCar(id){ if(SomInCarInfo[id][somCreated]){ SomInCarInfo[id][somCreated] = false; DestroyDynamic3DTextLabel(SomInCarInfo[id][somText]); SomInCarInfo[id][somID] = 999; VehicleInfo[SomInCarInfo[id][somCar]][carRadioOn] = 0; foreach(Player, i){ if(IsPlayerInRangeOfPoint(i, 71.0, SomInCarInfo[id][somX], SomInCarInfo[id][somY], SomInCarInfo[id][somZ]) && OuvindoSomCar[i] && GetPlayerVirtualWorld(i) == SomInCarInfo[id][somWorld]){ StopAudioStreamForPlayer(i); OuvindoSomCar[i] = false; } } } } public OnPlayerShootDynamicObject(playerid, weaponid, objectid, Float:x, Float:y, Float:z){ for(new id; id != MAX_SOUNDS; id++){ if(SomInfo[id][somCreated] && objectid == SomInfo[id][somObject]){ GameTextForPlayer(playerid, "~r~~>~destruindo radio~<~", 5000, 1); if(SomInfo[id][somVida] > 0){ SomInfo[id][somVida] -= 4.0; }else{ static Str[97] ; format(Str, sizeof Str, "AVISO: %s destruiu seu JBL.", NomePlayer(playerid)); SendClientMessage(SomInfo[id][somID], COLOR_LIGHTRED, Str); format(Str, sizeof(Str), "* %s destruiu o JBL de %s.", NomePlayer(playerid), NomePlayer(SomInfo[id][somID])); SendClientMessageInRange(30.0, playerid, Str, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); destroyPlayerSound(SomInfo[id][somID]); } } } return 1; } isPlayerSound(playerid){ for(new x; x != MAX_SOUNDS; x++){ if(SomInfo[x][somCreated] && SomInfo[x][somID] == playerid){ return 1; } } return 0; } isPertoSound(playerid){ for(new x; x != MAX_SOUNDS; x++){ if(SomInfo[x][somCreated] && GetPlayerVirtualWorld(playerid) == SomInfo[x][somWorld] && IsPlayerInRangeOfPoint(playerid, 80.0, SomInfo[x][somX], SomInfo[x][somY], SomInfo[x][somZ])){ return 1; } } return 0; } destroyPlayerSound(playerid){ for(new x; x != MAX_SOUNDS; x++){ if(SomInfo[x][somCreated] && SomInfo[x][somID] == playerid){ destroySound(x); } } } CheckSoundProx(playerid){ static Str[55] ; for(new x; x != MAX_SOUNDS; x++){ if(SomInfo[x][somCreated] && GetPlayerVirtualWorld(playerid) == SomInfo[x][somWorld] && IsPlayerInRangeOfPoint(playerid, 70.0, SomInfo[x][somX], SomInfo[x][somY], SomInfo[x][somZ])){ if(!OuvindoSom[playerid]){ OuvindoSom[playerid] = true; PlayAudioStreamForPlayer(playerid, SomInfo[x][somLink], SomInfo[x][somX], SomInfo[x][somY], SomInfo[x][somZ], 30.0, 1); format(Str, sizeof Str, "-o))) Voce esta ouvindo o radio de %s.", NomePlayer(SomInfo[x][somID])); SendClientMessage(playerid, 0x33CCFFAA, Str); } return 1; } } if(OuvindoSom[playerid]){ StopAudioStreamForPlayer(playerid); OuvindoSom[playerid] = false; } return 1; } //---------------------------------------------------------- isPlayerCarSound(playerid){ for(new x; x != MAX_SOUNDS; x++) { if(SomInCarInfo[x][somCreated] && SomInCarInfo[x][somID] == playerid){ return 1; } } return 0; } isPertoCarSound(playerid){ for(new x; x != MAX_SOUNDS; x++){ if(SomInCarInfo[x][somCreated] && GetPlayerVirtualWorld(playerid) == SomInCarInfo[x][somWorld] && IsPlayerInRangeOfPoint(playerid, 80.0, SomInCarInfo[x][somX], SomInCarInfo[x][somY], SomInCarInfo[x][somZ])){ return 1; } } return 0; } destroyPlayerCarSound(playerid){ for(new x; x != MAX_SOUNDS; x++) { if(SomInCarInfo[x][somCreated] && SomInCarInfo[x][somID] == playerid){ destroySoundInCar(x); } } } CheckCarSoundProx(playerid){ static Str[80] ; for(new x; x != MAX_SOUNDS; x++){ if(SomInCarInfo[x][somCreated] && GetPlayerVirtualWorld(playerid) == SomInCarInfo[x][somWorld] && IsPlayerInRangeOfPoint(playerid, 70.0, SomInCarInfo[x][somX], SomInCarInfo[x][somY], SomInCarInfo[x][somZ])) { if(!OuvindoSomCar[playerid]){ OuvindoSomCar[playerid] = true; PlayAudioStreamForPlayer(playerid, SomInCarInfo[x][somLink], SomInCarInfo[x][somX], SomInCarInfo[x][somY], SomInCarInfo[x][somZ], 60.0, 1); format(Str, sizeof Str, "-o))) Voce esta ouvindo o Som do carro de %s.", NomePlayer(SomInCarInfo[x][somID])); SendClientMessage(playerid, 0xFFA500F6, Str); } return 1; } if(OuvindoSomCar[playerid]) { StopAudioStreamForPlayer(playerid); OuvindoSomCar[playerid] = false; } } return 1; } public OnPlayerClickTextDraw(playerid, Text:clickedid) { new color1 = CarColor[playerid][0]; new color2 = CarColor[playerid][1]; new index = EditandoObjetoAttachadoID[playerid]; if(clickedid == Text:INVALID_TEXT_DRAW) { // beditaracessorio if(CelularAberto[playerid] == true) return FecharCelularTxD(playerid); if(CaixaAberto[playerid] == true) return FecharCaixaEletronico(playerid); if(EditandoObjID[playerid] != -1) return SelectTextDraw(playerid, -1); CancelEditObjectAndroid(playerid, true); } if (clickedid == TxDCelular[27]) { ForT:190(playerid); return 1; } if (clickedid == TxDCelular[28]) { ForT:servico(playerid, "medico"); return 1; } if(clickedid == TxDCelular[38]){ ForT:servico(playerid, "mecanico"); return 1; } if(clickedid == TxDCelular[36]){ SCM(playerid, COLOR_LIGHTGREEN, "=======> Extrato Bancario <======="); SCMf(playerid, COLOR_LIGHTGREEN, "====> Saldo Bancario: %s", ConvertMoney(PlayerInfo[playerid][pConta])); SCMf(playerid, COLOR_LIGHTGREEN, "====> Dinheiro na Mao: %s", ConvertMoney(GetPlayerMoney(playerid))); SCMf(playerid, COLOR_LIGHTGREEN, "====> Cash: %s", ConvertCash(PlayerInfo[playerid][pCasher])); SCM(playerid, COLOR_LIGHTGREEN, "=======> Extrato Bancario <======="); return 1; } if(clickedid == TxDCelular[32]){ ForT:gps(playerid); return 1; } if(clickedid == TxDCelular[30]){ ShowPlayerDialog(playerid, 2560, DIALOG_STYLE_INPUT, "WhatsApp", "Digite Abaixo, A Mensagem a ser Enviada\nPara O WhatsApp!", "Enviar", "Cancelar"); return 1; } if(clickedid == TxDCelular[41]){ ShowPlayerDialog(playerid, 2561, DIALOG_STYLE_INPUT, "Anuncio", "Digite Abaixo, A Mensagem a ser Anunciada\nPara Todos Do Servidor!", "Enviar", "Cancelar"); return 1; } if(clickedid == TxDCelular[44]){ SendClientMessage(playerid, 0xFFFFFFAA, "[ERRO] Sistema em desenvolvimento!"); return 1; } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // new sObj = EditandoObjID[playerid]; if(sObj != -1) { new Float:oPos[6], Float:angle; GetPlayerFacingAngle(playerid, angle); GetDynamicObjectPos(sObj, oPos[0], oPos[1], oPos[2]); GetDynamicObjectRot(sObj, oPos[3], oPos[4], oPos[5]); // mudar edicao if(clickedid == TDEditorObjetos[3]) { TipoEdicaoObj[playerid] --; if(TipoEdicaoObj[playerid] < 0) TipoEdicaoObj[playerid] = 0; } // mudar edicao if(clickedid == TDEditorObjetos[4]) { TipoEdicaoObj[playerid] ++; if(TipoEdicaoObj[playerid] > EDICAO_ROTACAO) TipoEdicaoObj[playerid] = EDICAO_POSICAO; } // -velocidade movimentação if(clickedid == TDEditorObjetos[5]) { if(TipoEdicaoObj[playerid] == EDICAO_POSICAO) { PlayerInfo[playerid][VelocidadePortaoMover] -= 0.1; if(PlayerInfo[playerid][VelocidadePortaoMover] < 0.0) PlayerInfo[playerid][VelocidadePortaoMover] = 0.0; } else { PlayerInfo[playerid][VelocidadePortaoMoverRot] -= 10.0; if(PlayerInfo[playerid][VelocidadePortaoMoverRot] < 0.0) PlayerInfo[playerid][VelocidadePortaoMoverRot] = 0.0; } } // +velocidade movimentação if(clickedid == TDEditorObjetos[6]) { if(TipoEdicaoObj[playerid] == EDICAO_POSICAO) { PlayerInfo[playerid][VelocidadePortaoMover] += 0.1; } else { PlayerInfo[playerid][VelocidadePortaoMoverRot] += 10.0; } } // fechar if(clickedid == TDEditorObjetos[8]) { CancelPlayerEditDynObject(playerid); SCM(playerid, COLOR_ERRO, "[Info] Você cancelou o menu de edição do objeto."); } // -x if(clickedid == TDEditorObjetos[9]) { if(TipoEdicaoObj[playerid] == EDICAO_POSICAO) oPos[0] -= PlayerInfo[playerid][VelocidadePortaoMover] * floatsin(-angle, degrees); else oPos[3] -= PlayerInfo[playerid][VelocidadePortaoMoverRot]; SetDynamicObjectPos(sObj, oPos[0], oPos[1], oPos[2]); SetDynamicObjectRot(sObj, oPos[3], oPos[4], oPos[5]); } // -y if(clickedid == TDEditorObjetos[10]) { if(TipoEdicaoObj[playerid] == EDICAO_POSICAO) oPos[1] -= PlayerInfo[playerid][VelocidadePortaoMover] * floatcos(-angle, degrees); else oPos[4] -= PlayerInfo[playerid][VelocidadePortaoMoverRot]; SetDynamicObjectPos(sObj, oPos[0], oPos[1], oPos[2]); SetDynamicObjectRot(sObj, oPos[3], oPos[4], oPos[5]); } // -z if(clickedid == TDEditorObjetos[11]) { if(TipoEdicaoObj[playerid] == EDICAO_POSICAO) oPos[2] -= PlayerInfo[playerid][VelocidadePortaoMover]; else oPos[5] -= PlayerInfo[playerid][VelocidadePortaoMoverRot]; SetDynamicObjectPos(sObj, oPos[0], oPos[1], oPos[2]); SetDynamicObjectRot(sObj, oPos[3], oPos[4], oPos[5]); } // +x if(clickedid == TDEditorObjetos[12]) { if(TipoEdicaoObj[playerid] == EDICAO_POSICAO) oPos[0] += PlayerInfo[playerid][VelocidadePortaoMover] * floatsin(-angle, degrees); else oPos[3] += PlayerInfo[playerid][VelocidadePortaoMoverRot]; SetDynamicObjectPos(sObj, oPos[0], oPos[1], oPos[2]); SetDynamicObjectRot(sObj, oPos[3], oPos[4], oPos[5]); } // +y if(clickedid == TDEditorObjetos[13]) { if(TipoEdicaoObj[playerid] == EDICAO_POSICAO) oPos[1] += PlayerInfo[playerid][VelocidadePortaoMover] * floatcos(-angle, degrees); else oPos[4] += PlayerInfo[playerid][VelocidadePortaoMoverRot]; SetDynamicObjectPos(sObj, oPos[0], oPos[1], oPos[2]); SetDynamicObjectRot(sObj, oPos[3], oPos[4], oPos[5]); } // +z if(clickedid == TDEditorObjetos[14]) { if(TipoEdicaoObj[playerid] == EDICAO_POSICAO) oPos[2] += PlayerInfo[playerid][VelocidadePortaoMover]; else oPos[5] += PlayerInfo[playerid][VelocidadePortaoMoverRot]; SetDynamicObjectPos(sObj, oPos[0], oPos[1], oPos[2]); SetDynamicObjectRot(sObj, oPos[3], oPos[4], oPos[5]); } // info if(clickedid == TDEditorObjetos[21]) { ShowPlayerDialogEx(playerid, D_MODELO_OBJETO_SHOW); } // salvar if(clickedid == TDEditorObjetos[22]) { CancelPlayerEditDynObject(playerid, true); SCM(playerid, 0x009F00FF, "[Info] Posição do objeto salva com sucesso."); } Streamer_Update(playerid); UpdatePlayerTextDraws(playerid, B_TD_EDIT_DYNAMIC_OBJECT); } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // if(clickedid == ConceTxD[3]) { if(GetPVarInt(playerid, "TempoMandarMsgPlayer") < gettime()) { SCM(playerid, 0x71B8FFFF, "Deseja comprar esse modelo? Use: {FFFFFF}/CompraC"); SetPVarInt(playerid, "TempoMandarMsgPlayer", gettime() + 5); } carbrowse[playerid]--; if (carbrowse[playerid] < 0) carbrowse[playerid] = 92; DestroyVehicleEx(ShopCar[playerid]); ShopCar[playerid] = CreateVehicle(CarModels[carbrowse[playerid]], VEHSHOW_X, VEHSHOW_Y, VEHSHOW_Z, VEHSHOW_A, color1, color2, 6000000); SetVehicleVirtualWorld(ShopCar[playerid], playerid); PutPlayerInVehicle(playerid, ShopCar[playerid], 0); SetPlayerCameraPos(playerid, PLASHOW_X, PLASHOW_Y, PLASHOW_Z); SetPlayerCameraLookAt(playerid, VEHSHOW_X, VEHSHOW_Y, VEHSHOW_Z); TogglePlayerControllableEx(playerid, false); new strbrazzs[90]; format(strbrazzs, 90, "Veiculo: %s", VehicleName[carbrowse[playerid]]); PlayerTextDrawSetString(playerid, ConceTxDPlayer[0] , strbrazzs); new vehid = GetPlayerVehicleID(playerid); new model = GetVehicleModel(GetPlayerVehicleID(playerid)); format(strbrazzs, 90, "Valor: %s", ConvertMoney(GetVehicleCost(vehid))); PlayerTextDrawSetString(playerid, ConceTxDPlayer[1] , strbrazzs); PlayerTextDrawSetPreviewModel(playerid, ConceTxDPlayer[2], model); PlayerTextDrawHide(playerid, ConceTxDPlayer[2]); PlayerTextDrawShow(playerid, ConceTxDPlayer[2]); } if(clickedid == ConceTxD[2]) { if(GetPVarInt(playerid, "TempoMandarMsgPlayer") < gettime()) { SCM(playerid, 0x71B8FFFF, "Deseja comprar esse modelo? Use: {FFFFFF}/CompraC"); SetPVarInt(playerid, "TempoMandarMsgPlayer", gettime() + 5); } carbrowse[playerid]++; if (carbrowse[playerid] > 92) carbrowse[playerid] = 0; DestroyVehicleEx(ShopCar[playerid]); ShopCar[playerid] = CreateVehicle(CarModels[carbrowse[playerid]], VEHSHOW_X, VEHSHOW_Y, VEHSHOW_Z, VEHSHOW_A, color1, color2, 6000000); SetVehicleVirtualWorld(ShopCar[playerid], playerid); PutPlayerInVehicle(playerid, ShopCar[playerid], 0); SetPlayerCameraPos(playerid, PLASHOW_X, PLASHOW_Y, PLASHOW_Z); SetPlayerCameraLookAt(playerid, VEHSHOW_X, VEHSHOW_Y, VEHSHOW_Z); TogglePlayerControllableEx(playerid, false); new strbrazz22[90]; format(strbrazz22, 90, "Veiculo: %s", VehicleName[carbrowse[playerid]]); PlayerTextDrawSetString(playerid, ConceTxDPlayer[0] , strbrazz22); new vehid = GetPlayerVehicleID(playerid); new model = GetVehicleModel(GetPlayerVehicleID(playerid)); format(strbrazz22, 90, "Valor: %s", ConvertMoney(GetVehicleCost(vehid))); PlayerTextDrawSetString(playerid, ConceTxDPlayer[1] , strbrazz22); PlayerTextDrawSetPreviewModel(playerid, ConceTxDPlayer[2], model); PlayerTextDrawHide(playerid, ConceTxDPlayer[2]); PlayerTextDrawShow(playerid, ConceTxDPlayer[2]); } if(clickedid == ConceTxD[1]) { ForT:comprac(playerid); } if(clickedid == CaixaEletroCNF[23]) { FecharCaixaEletronico(playerid); } if(clickedid == Text:INVALID_TEXT_DRAW) { if(InventarioAberto[playerid] == 1) { InventarioAberto[playerid] = 0; CancelSelectTextDraw(playerid); FecharInventario(playerid); FecharInventario(playerid); ClearAnimations(playerid); ClearAnimations(playerid); CombinandoInventario[playerid] = 0; MovendoInventario[playerid] = 0; if(!IsPlayerInAnyVehicle(playerid)) ClearAnimations(playerid); if(!IsPlayerInAnyVehicle(playerid)) SetPlayerSpecialAction(playerid,SPECIAL_ACTION_NONE); RemovePlayerAttachedObject(playerid, 9); ClearAnimations(playerid); InventarioAberto[playerid] = 0; for(new i = 0; i != 7; i++){ PlayerTextDrawHide(playerid, invText[playerid][i]); } for(new i = 0; i != 75; i++){ PlayerTextDrawHide(playerid, invPreview[playerid][i]); PlayerTextDrawHide(playerid, invName[playerid][i]); } return 1; } if(BincoAberta[playerid] == true) { FecharMenuBinco(playerid); } } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // // beditaracessorio // Fechar if(clickedid == TDAppAjustarObj[3]) { CancelEditObjectAndroid(playerid, true); } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // if(clickedid == TDAppAjustarObj[6] && index != -1) // +x { if(gPlayerVarTipoEdit[playerid] == EDICAO_POSICAO) VarAttachedIndexObj[playerid][index][r_OffSets][0] += TAMANHO_DIMINUIR_AUMENTAR_X; if(gPlayerVarTipoEdit[playerid] == EDICAO_ROTACAO) VarAttachedIndexObj[playerid][index][r_OffSets][3] += TAMANHO_DIMINUIR_AUMENTAR_RX; if(gPlayerVarTipoEdit[playerid] == EDICAO_TAMANHO) VarAttachedIndexObj[playerid][index][r_Scale][0] += TAMANHO_DIMINUIR_AUMENTAR_SCALEX; ReporObjetoEditando(playerid, index); } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // if(clickedid == TDAppAjustarObj[7] && index != -1) // +y { if(gPlayerVarTipoEdit[playerid] == EDICAO_POSICAO) VarAttachedIndexObj[playerid][index][r_OffSets][1] += TAMANHO_DIMINUIR_AUMENTAR_Y; if(gPlayerVarTipoEdit[playerid] == EDICAO_ROTACAO) VarAttachedIndexObj[playerid][index][r_OffSets][4] += TAMANHO_DIMINUIR_AUMENTAR_RY; if(gPlayerVarTipoEdit[playerid] == EDICAO_TAMANHO) VarAttachedIndexObj[playerid][index][r_Scale][1] += TAMANHO_DIMINUIR_AUMENTAR_SCALEY; // ------------ // ReporObjetoEditando(playerid, index); } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // if(clickedid == TDAppAjustarObj[8] && index != -1) // +z { if(gPlayerVarTipoEdit[playerid] == EDICAO_POSICAO) VarAttachedIndexObj[playerid][index][r_OffSets][2] += TAMANHO_DIMINUIR_AUMENTAR_Z; if(gPlayerVarTipoEdit[playerid] == EDICAO_ROTACAO) VarAttachedIndexObj[playerid][index][r_OffSets][5] += TAMANHO_DIMINUIR_AUMENTAR_RZ; if(gPlayerVarTipoEdit[playerid] == EDICAO_TAMANHO) VarAttachedIndexObj[playerid][index][r_Scale][2] += TAMANHO_DIMINUIR_AUMENTAR_SCALEZ; // ------------ // ReporObjetoEditando(playerid, index); } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // if(clickedid == TDAppAjustarObj[9] && index != -1) // -x { if(gPlayerVarTipoEdit[playerid] == EDICAO_POSICAO) VarAttachedIndexObj[playerid][index][r_OffSets][0] -= TAMANHO_DIMINUIR_AUMENTAR_X; if(gPlayerVarTipoEdit[playerid] == EDICAO_ROTACAO) VarAttachedIndexObj[playerid][index][r_OffSets][3] -= TAMANHO_DIMINUIR_AUMENTAR_RX; if(gPlayerVarTipoEdit[playerid] == EDICAO_TAMANHO) VarAttachedIndexObj[playerid][index][r_Scale][0] -= TAMANHO_DIMINUIR_AUMENTAR_SCALEX; // ------------ // ReporObjetoEditando(playerid, index); } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // if(clickedid == TDAppAjustarObj[10] && index != -1) // -y { if(gPlayerVarTipoEdit[playerid] == EDICAO_POSICAO) VarAttachedIndexObj[playerid][index][r_OffSets][1] -= TAMANHO_DIMINUIR_AUMENTAR_Y; if(gPlayerVarTipoEdit[playerid] == EDICAO_ROTACAO) VarAttachedIndexObj[playerid][index][r_OffSets][4] -= TAMANHO_DIMINUIR_AUMENTAR_RY; if(gPlayerVarTipoEdit[playerid] == EDICAO_TAMANHO) VarAttachedIndexObj[playerid][index][r_Scale][1] -= TAMANHO_DIMINUIR_AUMENTAR_SCALEY; // ------------ // ReporObjetoEditando(playerid, index); } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // if(clickedid == TDAppAjustarObj[11] && index != -1) // -z { if(gPlayerVarTipoEdit[playerid] == EDICAO_POSICAO) VarAttachedIndexObj[playerid][index][r_OffSets][2] -= TAMANHO_DIMINUIR_AUMENTAR_Z; if(gPlayerVarTipoEdit[playerid] == EDICAO_ROTACAO) VarAttachedIndexObj[playerid][index][r_OffSets][5] -= TAMANHO_DIMINUIR_AUMENTAR_RZ; if(gPlayerVarTipoEdit[playerid] == EDICAO_TAMANHO) VarAttachedIndexObj[playerid][index][r_Scale][2] -= TAMANHO_DIMINUIR_AUMENTAR_SCALEZ; // ------------ // ReporObjetoEditando(playerid, index); } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // if(clickedid == TDAppAjustarObj[19] && index != -1) // alternar { new bool:sDebug; if(gPlayerVarTipoEdit[playerid] == EDICAO_POSICAO) gPlayerVarTipoEdit[playerid] = EDICAO_ROTACAO, sDebug = true; if(gPlayerVarTipoEdit[playerid] == EDICAO_ROTACAO && !sDebug) gPlayerVarTipoEdit[playerid] = EDICAO_TAMANHO, sDebug = true; if(gPlayerVarTipoEdit[playerid] == EDICAO_TAMANHO && !sDebug) gPlayerVarTipoEdit[playerid] = EDICAO_POSICAO, sDebug = true; UpdatePlayerTextDraws(playerid, B_TD_EDIT_ATTACHED_OBJECT); } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // if(clickedid == TDAppAjustarObj[21] && index != -1) // salvar { SalvarEdicoesObjetoAndroid(playerid, index); } if(clickedid == TelaLoginCNF2[5]) { login_dialog(playerid); } if(clickedid == TelaLoginCNF2[7]) { ShowPlayerDialog(playerid, 23214, DIALOG_STYLE_MSGBOX, "Novidades", "• Resolvido Bug's\n\ • Melhorado Tags Do Chat.\n\ • Nova POBRE Tropa da Turquia.\n\ • Nova POBRE PCC.\n\ • Nova POBRE Tropa da Franca.\n\ • Novo Sistema de WhitList.\n\ • Adicionado Aluguel De Carros\n\ • Nova tela de login\n\ • Loja FREE(Dinheiro IC)\n\ • Agora Mostrará o dono do veiculo ao entrar.\n\ • Novos Comandos Admins.\n\ • Adicionado o comando: /mandarloc (Enviar sua localização a um player)\n\ • Adicionado o comando: /verrg melhorado.\n\ • Emprego de bombeiro não dará armas de fogo.\n\ • Preços de veiculos reduzidos.\n\ • Bugs de farms de dinheiro e armas resolvidos.\n\ • Bugs de carros na rua resolvidos.\n\ • Bugs da Tropa Da Turquia resolvidos.", "Visto", #); } if(clickedid == TelaLoginCNF2[9]) { ForT:creditos(playerid); } if(clickedid == TelaLoginCNF2[11]) { KickCNF(playerid); } return 1; } public OnPlayerClickPlayerTextDraw(playerid, PlayerText:playertextid) { if(playertextid == invText[playerid][1]) { //volta if(PaginaInventario[playerid] == 1) return 1; PaginaInventario[playerid] -= 1; FecharInventario(playerid); AbrirInventario(playerid); if(MovendoInventario[playerid] == 1) SelectTextDraw(playerid, 0xCD0400FF); for(new i = 0; i<9; i++) { PlayerTextDrawDestroy(playerid,invBox[playerid][i]); } return 1; } if(playertextid == invText[playerid][2]){ //volta if(PaginaInventario[playerid] == 5) return 1; PaginaInventario[playerid] += 1; FecharInventario(playerid); AbrirInventario(playerid); if(MovendoInventario[playerid] == 1) SelectTextDraw(playerid, 0xCD0400FF); for(new i = 0; i<9; i++) { PlayerTextDrawDestroy(playerid,invBox[playerid][i]); } return 1; } if(playertextid == invText[playerid][6]) { FecharInventario(playerid); CancelSelectTextDraw(playerid); for(new i = 0; i<9; i++) { PlayerTextDrawDestroy(playerid,invBox[playerid][i]); } return 1; } for(new i = 0; i < 75; i++) { if(playertextid == invPreview[playerid][i]) { if(MovendoInventario[playerid] == 0 || CombinandoInventario[playerid] == 0) { new str[256]; if(PaginaInventario[playerid] == 1){ for(new j = 0; j < 15; j++){ if(InventarioInfo[playerid][j][iUnidades] > 0){ format(str, sizeof str, "%s ~b~~h~%d", NomeItemInventario(InventarioInfo[playerid][j][iSlot]), InventarioInfo[playerid][j][iUnidades]); PlayerTextDrawSetString(playerid, invName[playerid][j], str); PlayerTextDrawShow(playerid, invName[playerid][j]); } } } if(PaginaInventario[playerid] == 2){ for(new j = 15; j < 30; j++){ if(InventarioInfo[playerid][j][iUnidades] > 0){ format(str, sizeof str, "%s ~b~~h~%d", NomeItemInventario(InventarioInfo[playerid][j][iSlot]), InventarioInfo[playerid][j][iUnidades]); PlayerTextDrawSetString(playerid, invName[playerid][j], str); PlayerTextDrawShow(playerid, invName[playerid][j]); } } } if(PaginaInventario[playerid] == 3){ for(new j = 30; j < 45; j++){ if(InventarioInfo[playerid][j][iUnidades] > 0){ format(str, sizeof str, "%s ~b~~h~%d", NomeItemInventario(InventarioInfo[playerid][j][iSlot]), InventarioInfo[playerid][j][iUnidades]); PlayerTextDrawSetString(playerid, invName[playerid][j], str); PlayerTextDrawShow(playerid, invName[playerid][j]); } } } if(PaginaInventario[playerid] == 4){ for(new j = 45; j < 60; j++){ if(InventarioInfo[playerid][j][iUnidades] > 0){ format(str, sizeof str, "%s ~b~~h~%d", NomeItemInventario(InventarioInfo[playerid][j][iSlot]), InventarioInfo[playerid][j][iUnidades]); PlayerTextDrawSetString(playerid, invName[playerid][j], str); PlayerTextDrawShow(playerid, invName[playerid][j]); } } } if(PaginaInventario[playerid] == 5){ for(new j = 60; j < 75; j++){ if(InventarioInfo[playerid][j][iUnidades] > 0){ format(str, sizeof str, "%s ~b~~h~%d", NomeItemInventario(InventarioInfo[playerid][j][iSlot]), InventarioInfo[playerid][j][iUnidades]); PlayerTextDrawSetString(playerid, invName[playerid][j], str); PlayerTextDrawShow(playerid, invName[playerid][j]); } } } if(i == 0 || i == 15 || i == 30 || i == 45 || i == 60){ showInventarioBox(playerid, i); } if(i == 1 || i == 16 || i == 31 || i == 46 || i == 61){ showInventarioBox(playerid, i); } if(i == 2 || i == 17 || i == 32 || i == 47 || i == 62){ showInventarioBox(playerid, i); } if(i == 3 || i == 18 || i == 33 || i == 48 || i == 63){ showInventarioBox(playerid, i); } if(i == 4 || i == 19 || i == 34 || i == 49 || i == 64){ showInventarioBox(playerid, i); } if(i == 5 || i == 20 || i == 35 || i == 50 || i == 65){ showInventarioBox(playerid, i); } if(i == 6 || i == 21 || i == 36 || i == 51 || i == 66){ showInventarioBox(playerid, i); } if(i == 7 || i == 22 || i == 37 || i == 52 || i == 67){ showInventarioBox(playerid, i); } if(i == 8 || i == 23 || i == 38 || i == 53 || i == 68){ showInventarioBox(playerid, i); } if(i == 9 || i == 24 || i == 39 || i == 54 || i == 69){ showInventarioBox(playerid, i); } if(i == 10 || i == 25 || i == 40 || i == 55 || i == 70){ showInventarioBox(playerid, i); } if(i == 11 || i == 26 || i == 41 || i == 56 || i == 71){ showInventarioBox(playerid, i); } if(i == 12 || i == 27 || i == 42 || i == 57 || i == 72){ showInventarioBox(playerid, i); } if(i == 13 || i == 28 || i == 43 || i == 58 || i == 73){ showInventarioBox(playerid, i); } if(i == 14 || i == 29 || i == 44 || i == 59 || i == 74){ showInventarioBox(playerid, i); } PlayerTextDrawHide(playerid, invName[playerid][i]); } if(CombinandoInventario[playerid] == 1) { if(InventarioInfo[playerid][ItemSelecionado[playerid]][iSlot] != InventarioInfo[playerid][i][iSlot]){ CombinandoInventario[playerid] = 0; SelectTextDraw(playerid, 0x00FFFFFF); SendClientMessage(playerid, COLOR_LIGHTRED, "* Nao foi possivel combinar os dois itens!"); for(new o = 0; o<9; o++) { PlayerTextDrawDestroy(playerid,invBox[playerid][o]); } FecharInventario(playerid); AbrirInventario(playerid); return 1; } if(ItemSelecionado[playerid] == i){ CombinandoInventario[playerid] = 0; SelectTextDraw(playerid, 0x00FFFFFF); SendClientMessage(playerid, COLOR_LIGHTRED, "* Nao foi possivel combinar os dois itens!"); for(new o = 0; i<9; o++) { PlayerTextDrawDestroy(playerid,invBox[playerid][o]); } FecharInventario(playerid); AbrirInventario(playerid); return 1; } InventarioInfo[playerid][i][iUnidades] += InventarioInfo[playerid][ItemSelecionado[playerid]][iUnidades]; InventarioInfo[playerid][ItemSelecionado[playerid]][iSlot] = 19382; InventarioInfo[playerid][ItemSelecionado[playerid]][iUnidades] = 0; for(new o = 0; o<9; o++) { PlayerTextDrawDestroy(playerid,invBox[playerid][o]); } FecharInventario(playerid); AbrirInventario(playerid); SelectTextDraw(playerid, 0x00FFFFFF); CombinandoInventario[playerid] = 0; } if(MovendoInventario[playerid] == 1) { if(InventarioInfo[playerid][i][iSlot] != 19382) { MovendoInventario[playerid] = 0; SelectTextDraw(playerid, 0x00FFFFFF); SendClientMessage(playerid, COLOR_LIGHTRED, "* Nao foi possivel mover este item!"); for(new o = 0; o<9; o++){PlayerTextDrawDestroy(playerid,invBox[playerid][o]);} FecharInventario(playerid); AbrirInventario(playerid); return 1; } MovendoInventario[playerid] = 0; InventarioInfo[playerid][i][iSlot] = InventarioInfo[playerid][ItemSelecionado[playerid]][iSlot]; InventarioInfo[playerid][i][iUnidades] = InventarioInfo[playerid][ItemSelecionado[playerid]][iUnidades]; InventarioInfo[playerid][ItemSelecionado[playerid]][iSlot] = 19382; InventarioInfo[playerid][ItemSelecionado[playerid]][iUnidades] = 0; for(new o = 0; o<9; o++) { PlayerTextDrawDestroy(playerid,invBox[playerid][o]); } FecharInventario(playerid); AbrirInventario(playerid); SelectTextDraw(playerid, 0x00FFFFFF); MovendoInventario[playerid] = 0; } ItemSelecionado[playerid] = i; SelectTextDraw(playerid, 0x00FFFFFF); } } if(playertextid == invBox[playerid][2]) { new str[200]; if(PaginaInventario[playerid] == 1){ for(new i = 0; i < 15; i++){ if(InventarioInfo[playerid][i][iUnidades] > 0){ format(str, sizeof str, "%s ~b~~h~%d", NomeItemInventario(InventarioInfo[playerid][i][iSlot]), InventarioInfo[playerid][i][iUnidades]); PlayerTextDrawSetString(playerid, invName[playerid][i], str); PlayerTextDrawShow(playerid, invName[playerid][i]); } } } if(PaginaInventario[playerid] == 2){ for(new i = 15; i < 30; i++){ if(InventarioInfo[playerid][i][iUnidades] > 0){ format(str, sizeof str, "%s ~b~~h~%d", NomeItemInventario(InventarioInfo[playerid][i][iSlot]), InventarioInfo[playerid][i][iUnidades]); PlayerTextDrawSetString(playerid, invName[playerid][i], str); PlayerTextDrawShow(playerid, invName[playerid][i]); } } } if(PaginaInventario[playerid] == 3){ for(new i = 30; i < 45; i++){ if(InventarioInfo[playerid][i][iUnidades] > 0){ format(str, sizeof str, "%s ~b~~h~%d", NomeItemInventario(InventarioInfo[playerid][i][iSlot]), InventarioInfo[playerid][i][iUnidades]); PlayerTextDrawSetString(playerid, invName[playerid][i], str); PlayerTextDrawShow(playerid, invName[playerid][i]); } } } if(PaginaInventario[playerid] == 4){ for(new i = 45; i < 60; i++){ if(InventarioInfo[playerid][i][iUnidades] > 0){ format(str, sizeof str, "%s ~b~~h~%d", NomeItemInventario(InventarioInfo[playerid][i][iSlot]), InventarioInfo[playerid][i][iUnidades]); PlayerTextDrawSetString(playerid, invName[playerid][i], str); PlayerTextDrawShow(playerid, invName[playerid][i]); } } } if(PaginaInventario[playerid] == 5){ for(new i = 60; i < 75; i++){ if(InventarioInfo[playerid][i][iUnidades] > 0){ format(str, sizeof str, "%s ~b~~h~%d", NomeItemInventario(InventarioInfo[playerid][i][iSlot]), InventarioInfo[playerid][i][iUnidades]); PlayerTextDrawSetString(playerid, invName[playerid][i], str); PlayerTextDrawShow(playerid, invName[playerid][i]); } } } for(new i = 0; i<9; i++) { PlayerTextDrawDestroy(playerid,invBox[playerid][i]); } return 1; } if(playertextid == invText[playerid][3]) { new index, i; for(i = 0; i < 75; i++) { SlotInventario[playerid][i] = 19382; UnidadesInventario[playerid][i] = 0; if(InventarioInfo[playerid][i][iSlot] != 19382) { SlotInventario[playerid][index] = InventarioInfo[playerid][i][iSlot]; UnidadesInventario[playerid][index] = InventarioInfo[playerid][i][iUnidades]; index++; } } for(i = 0; i < 75; i++) { InventarioInfo[playerid][i][iSlot] = 19382; InventarioInfo[playerid][i][iUnidades] = 0; if(SlotInventario[playerid][i] != 19382) { InventarioInfo[playerid][i][iSlot] = SlotInventario[playerid][i]; InventarioInfo[playerid][i][iUnidades] = UnidadesInventario[playerid][i]; } } ShowPlayerDialog(playerid, 8724, DIALOG_STYLE_MSGBOX, " ", "{FF6347}Inventario Organizado com Sucesso", "OK",""); FecharInventario(playerid); AbrirInventario(playerid); return 1; } if( playertextid == invBox[playerid][3] ) { new item = InventarioInfo[playerid][ItemSelecionado[playerid]][iSlot]; new slot = ItemSelecionado[playerid]; new str[1500]; GetPlayerName(playerid, sendername, sizeof sendername); if(item == 1575 || item == 1580) return 1; if(item == 19382) return SendClientMessage(playerid, 0xFF6347AA, "* Nao ha itens suficientes para ser utilizado!"); if(item > 10 && item < 312 ){ new skin = GetPlayerSkin(playerid); SetPlayerSkin(playerid, item); for(new i = 0; i < 75; i++) { if(InventarioInfo[playerid][i][iSlot] == 19382) { format(str, 100, "* Voce colocou a skin %d", item); SendClientMessage(playerid, 0x00ccccFF, str); format(str, 100, "* %s Trocou de roupa.", PlayerName(playerid)); SendClientMessageInRange(30.0, playerid, str, 0xC2A2DAAA,0xC2A2DAAA,0xC2A2DAAA,0xC2A2DAAA,0xC2A2DAAA); AddItem(playerid, skin, 1); for(new o = 0; o<9; o++) { PlayerTextDrawDestroy(playerid,invBox[playerid][o]); } DiminuirInv(slot, playerid); FecharInventario(playerid); AbrirInventario(playerid); return 1; } } SendClientMessage(playerid, 0xFF6347AA, "* Seu inventario esta cheio!"); return 1; } if(item == 1271)// caixa de itens { // SendClientMessage(playerid, -1, "Item desativado."); if(IsPlayerInRC(playerid)) return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao pode colocar uma caixa de itens neste local!"); new Filea[40]; for(new i; i<1000; i++) { format(Filea,40, "Caixas/Caixa_%d.ini",i); if(!IsValidDynamicObject(SistemaCaixa[i][CaixaObj])) { new Float:p[3]; GetPlayerPos(playerid, p[0],p[1],p[2]); DOF2_CreateFile(Filea); format(SistemaCaixa[i][CaixaDono],40, NomePlayer(playerid)); for(new o; o<50; o++) { SistemaCaixa[i][CaixaItem][o] = 19382; } //format(SistemaCaixa[i][CaixaText],300,"{CD853F}• {FFFFFF}Caixa de Itens{CD853F} •\n{CD853F}Dono: {FFFFFF}%s\n{CD853F}Itens: {FFFFFF}%d/50\nAperte ' {CD853F}F{FFFFFF} ' para usar.",NomePlayer(playerid),ItemsCaixa(i)); format(SistemaCaixa[i][CaixaText],300,"Caixa de Itens\n\n\ Proprietario: {00FFFF}%s\n\ {FFFFFF}Itens: {00FFFF}%d/50\n\n\ {FFFFFF}Aperte a letra {00aaff}F{FFFFFF} para usar",NomePlayer(playerid),ItemsCaixa(i)); SistemaCaixa[i][CaixaX] = p[0]+1.6; SistemaCaixa[i][CaixaY] = p[1]+1.6; SistemaCaixa[i][CaixaZ] = p[2]+1.0; SistemaCaixa[i][CaixaRX] = 0; SistemaCaixa[i][CaixaRY] = 0; SistemaCaixa[i][CaixaRZ] = 0; SistemaCaixa[i][CaixaInterior] = GetPlayerInterior(playerid); SistemaCaixa[i][CaixaBaixada] = GetPlayerVirtualWorld(playerid); SistemaCaixa[i][CaixaObj] = CreateDynamicObject(1271, SistemaCaixa[i][CaixaX],SistemaCaixa[i][CaixaY], SistemaCaixa[i][CaixaZ], SistemaCaixa[i][CaixaRX], SistemaCaixa[i][CaixaRY], SistemaCaixa[i][CaixaRZ], SistemaCaixa[i][CaixaBaixada], SistemaCaixa[i][CaixaInterior], -1, 800.0); SistemaCaixa[i][Caixa3d] = CreateDynamic3DTextLabel(SistemaCaixa[i][CaixaText], -1, SistemaCaixa[i][CaixaX],SistemaCaixa[i][CaixaY], SistemaCaixa[i][CaixaZ], 30, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 0, SistemaCaixa[i][CaixaBaixada], SistemaCaixa[i][CaixaInterior], -1, 100.0); salvarcaixa(i); DiminuirInv(slot,playerid); for(new o = 0; o<9; o++) { PlayerTextDrawDestroy(playerid,invBox[playerid][o]); } FecharInventario(playerid); EditandoCaixa[playerid] = i; Streamer_Update(playerid); EditDynamicObjectExInTime(playerid,SistemaCaixa[i][CaixaObj]); SendClientMessage(playerid, -1, "{00FFFF}• {FFFFFF}Use os Eixos X, Y e Z para mover a posicao da sua Caixa de Itens."); SendClientMessage(playerid, -1, "{00FFFF}• {FFFFFF}Edite a Posicao da sua Caixa de Itens, e click no Icone de Salvar."); Streamer_Update(playerid); return 1; } } return 1; //} } if(item == 980) // portao { //SendClientMessage(playerid, COLOR_GRAD1,"[ INFO ] Desativado por enquanto."); if(IsPlayerInRC(playerid)) return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao pode colocar um portao neste local!"); new Filea[40]; for(new i; i<1000; i++) { format(Filea,40, "Portoes/Portao_%d.ini",i); if(!IsValidDynamicObject(SistemaPortao[i][PortaoObj])) { new Float:p[3]; GetPlayerPos(playerid, p[0],p[1],p[2]); DOF2_CreateFile(Filea); format(SistemaPortao[i][PortaoDono],40, NomePlayer(playerid)); format(SistemaPortao[i][PortaoSenha],20, "1234"); format(SistemaPortao[i][PortaoText],300,"{FFA500}Portao de %s buzine ou\ndigite /abrirportao para abrir",SistemaPortao[i][PortaoDono]); SistemaPortao[i][PortaoX] = p[0]+1.6; SistemaPortao[i][PortaoY] = p[1]+1.6; SistemaPortao[i][PortaoZ] = p[2]+1.0; SistemaPortao[i][PortaoRX] = 0; SistemaPortao[i][PortaoRY] = 0; SistemaPortao[i][PortaoRZ] = 0; SistemaPortao[i][PortaoInterior] = GetPlayerInterior(playerid); SistemaPortao[i][PortaoBaixada] = GetPlayerVirtualWorld(playerid); SistemaPortao[i][PortaoObj] = CreateDynamicObject(980, SistemaPortao[i][PortaoX],SistemaPortao[i][PortaoY], SistemaPortao[i][PortaoZ], SistemaPortao[i][PortaoRX], SistemaPortao[i][PortaoRY], SistemaPortao[i][PortaoRZ], SistemaPortao[i][PortaoBaixada], SistemaPortao[i][PortaoInterior], -1, 800.0); SistemaPortao[i][Portao3d] = CreateDynamic3DTextLabel(SistemaPortao[i][PortaoText], -1, SistemaPortao[i][PortaoX],SistemaPortao[i][PortaoY], SistemaPortao[i][PortaoZ], 30, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 0, SistemaPortao[i][PortaoBaixada], SistemaPortao[i][PortaoInterior], -1, 100.0); DOF2_SetString(Filea,"PortaoDono", SistemaPortao[i][PortaoDono] ); DOF2_SetString(Filea,"PortaoSenha", SistemaPortao[i][PortaoSenha] ); DOF2_SetString(Filea,"PortaoText", SistemaPortao[i][PortaoText] ); DOF2_SetFloat(Filea,"PortaoX", SistemaPortao[i][PortaoX] ); DOF2_SetFloat(Filea,"PortaoY", SistemaPortao[i][PortaoY] ); DOF2_SetFloat(Filea,"PortaoZ", SistemaPortao[i][PortaoZ] ); DOF2_SetFloat(Filea,"PortaoRX", SistemaPortao[i][PortaoRX] ); DOF2_SetFloat(Filea,"PortaoRY", SistemaPortao[i][PortaoRY] ); DOF2_SetFloat(Filea,"PortaoRZ", SistemaPortao[i][PortaoRZ] ); DOF2_SetInt(Filea,"PortaoInterior", SistemaPortao[i][PortaoInterior] ); DOF2_SetInt(Filea,"PortaoBaixada", SistemaPortao[i][PortaoBaixada] ); DOF2_SaveFile(); DiminuirInv(slot,playerid); FecharInventario(playerid); for(new o = 0; o<9; o++) { PlayerTextDrawDestroy(playerid,invBox[playerid][o]); } Streamer_Update(playerid); EditandoPortao[playerid] = i; EditandoCaixa[playerid] = -1; EditDynamicObjectExInTime(playerid,SistemaPortao[i][PortaoObj]); // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // SendClientMessage(playerid, -1, "{00FFFF}• {FFFFFF}Utilize o comando /EditarPortao para você editar as posições de seu portão."); Streamer_Update(playerid); // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // format(str,300, "portao %d criado",i); print(str); return 1; } } return 1; } if(item == 3016){ new Float:X, Float:Y, Float:Z; GetPlayerPos(playerid, X, Y, Z); createCaixaEquipamento(1, 10, X, Y+2, Z-0.8); SendClientMessage(playerid, 0x00ccccFF, "* Voce montou uma Caixa de equipamentos P, segure Y em cima dela para equipar!"); SetPlayerPos(playerid, X, Y+0.1, Z); DiminuirInv(slot, playerid); FecharInventario(playerid); AbrirInventario(playerid); for(new i = 0; i<9; i++) { PlayerTextDrawDestroy(playerid,invBox[playerid][i]); } return 1; } if(item == 3052){ new Float:X, Float:Y, Float:Z; GetPlayerPos(playerid, X, Y, Z); createCaixaEquipamento(2, 10, X, Y+2, Z-0.8); SendClientMessage(playerid, 0x00ccccFF, "* Voce montou uma Caixa de equipamentos M, segure Y em cima dela para equipar!"); SetPlayerPos(playerid, X, Y+0.1, Z); DiminuirInv(slot, playerid); FecharInventario(playerid); AbrirInventario(playerid); for(new i = 0; i<9; i++) { PlayerTextDrawDestroy(playerid,invBox[playerid][i]); } return 1; } if(item == 3014){ new Float:X, Float:Y, Float:Z; GetPlayerPos(playerid, X, Y, Z); createCaixaEquipamento(3, 10, X, Y+2, Z-0.8); SendClientMessage(playerid, 0x00ccccFF, "* Voce montou uma Caixa de equipamentos G, segure Y em cima dela para equipar!"); SetPlayerPos(playerid, X, Y+0.1, Z); DiminuirInv(slot, playerid); FecharInventario(playerid); AbrirInventario(playerid); for(new i = 0; i<9; i++) { PlayerTextDrawDestroy(playerid,invBox[playerid][i]); } return 1; } if(item == 19054) // Caixa Pequena { //new it[2]; // new tem; SetPVarInt(playerid, "amountMoney", 1000+random(1000)); SendClientMessage(playerid, 0x00ccccFF, "* Voce abriu uma Caixa Supresa Pequena!"); format(str, 300, "{FFFFFF}Itens:\n\n\ {F5DEB3}Respeitos: {FFFFFF}1 Unidade(s)\n\ {F5DEB3}Dinheiro: {FFFFFF}%d Unidade(s)\n\n\ {FF6347}*OBS: {BFC0C2}Os itens foram colocados no seu inventario!", GetPVarInt(playerid, "amountMoney")); ShowPlayerDialog(playerid, 5471, DIALOG_STYLE_MSGBOX, "» Itens da Caixa Supresa Pequena", str, "Fechar", ""); new Float: X, Float: Y, Float: Z; GetPlayerPos(playerid, X, Y, Z); AddItem(playerid, 1212, GetPVarInt(playerid, "amountMoney")); AddItem(playerid, 19941, 1); SetPlayerPos(playerid, X, Y+0.1, Z); DiminuirInv(slot, playerid); FecharInventario(playerid); AbrirInventario(playerid); for(new i = 0; i<9; i++) { PlayerTextDrawDestroy(playerid,invBox[playerid][i]); } return 1; } // skin if(item == 19058) // Caixa Pequena { PlayerInfo[playerid][pCasher] += GetPVarInt(playerid, "amountCash"); SetPVarInt(playerid, "amountMoney", 10000+random(1000)); SendClientMessage(playerid, 0x00ccccFF, "* Voce abriu uma Caixa Surpresa Gigante!"); format(str, 300, "{FFFFFF}Itens:\n\n\ {F5DEB3}Respeitos: {FFFFFF}15 Unidade(s)\n\ {F5DEB3}Dinheiro: {FFFFFF}%d Unidade(s)\n\ {F5DEB3}Item raro: {FFFFFF}1 Unidade(s)\n\ {F5DEB3}Maca: {FFFFFF}1 Unidade(s)\n\n\ {FF6347}*OBS: {BFC0C2}Os itens foram colocados no seu inventario!", GetPVarInt(playerid, "amountMoney"), GetPVarInt(playerid, "amountCash")); ShowPlayerDialog(playerid, 5471, DIALOG_STYLE_MSGBOX, "» Itens da Caixa Surpresa Gigante", str, "Fechar", ""); AddItem(playerid, 1212, GetPVarInt(playerid, "amountMoney")); AddItem(playerid, 19941, 15); DiminuirInv(slot, playerid); FecharInventario(playerid); AbrirInventario(playerid); for(new i = 0; i<9; i++) {PlayerTextDrawDestroy(playerid,invBox[playerid][i]); } if(InventarioInfo[playerid][slot][iUnidades] > 1) return InventarioInfo[playerid][slot][iUnidades] --; if(InventarioInfo[playerid][slot][iUnidades] == 1){ InventarioInfo[playerid][slot][iUnidades] = 0; InventarioInfo[playerid][slot][iSlot] = 19382; } new raropresente = random(8); if(raropresente == 0) { AddItem(playerid, 19086, 1); return 1; } if(raropresente == 1) { AddItem(playerid, 19078, 1); return 1; } if(raropresente == 2) { AddItem(playerid, 19382, 1); return 1; } if(raropresente == 3) { AddItem(playerid, 19625, 1); return 1; } if(raropresente == 4) { AddItem(playerid, 321, 1); return 1; } if(raropresente == 5) { AddItem(playerid, 2469, 1); return 1; } if(raropresente == 6) { AddItem(playerid, 19319, 1); return 1; } if(raropresente == 7) { AddItem(playerid, 19631, 1); return 1; } FecharInventario(playerid); AbrirInventario(playerid); return 1; } if(item == 19059) //Reveillon { SetPVarInt(playerid, "amountCash", 50+random(60)); PlayerInfo[playerid][pCasher] += GetPVarInt(playerid, "amountCash"); SetPVarInt(playerid, "amountMoney", 40000+random(1000)); SendClientMessage(playerid, 0x00ccccFF, "* Voce abriu uma Caixa Surpresa Reveillon 2020!"); format(str, 800, "{FFFFFF}Itens:\n\n\ {F5DEB3}Respeitos: {FFFFFF}5 Unidade(s)\n\ {F5DEB3}Dinheiro: {FFFFFF}%d Unidade(s)\n\ {F5DEB3}Cash: {FFFFFF}%d Unidade(s)\n\ {F5DEB3}Item Cavalo: {FFFFFF}1 Unidade(s)\n\ {F5DEB3}Item Bota: {FFFFFF}1 Unidade(s)\n\ {F5DEB3}Item Laser: {FFFFFF}1 Unidade(s)\n\n\ {FF6347}*OBS: {BFC0C2}Os itens foram colocados no seu inventario!", GetPVarInt(playerid, "amountMoney"), GetPVarInt(playerid, "amountCash")); ShowPlayerDialog(playerid, 5471, DIALOG_STYLE_MSGBOX, "» Itens da Caixa Surpresa Reveillon 2020", str, "Fechar", ""); new Float: X, Float: Y, Float: Z; GetPlayerPos(playerid, X, Y, Z); AddItem(playerid, 1212, GetPVarInt(playerid, "amountMoney")); AddItem(playerid, 19941, 5); SetPlayerPos(playerid, X, Y+0.1, Z); for(new i = 0; i<9; i++) { PlayerTextDrawDestroy(playerid,invBox[playerid][i]); } DiminuirInv(slot, playerid); AddItem(playerid, 11733, 1); AddItem(playerid, 11735, 1); AddItem(playerid, 19080, 1); AddItem(playerid, 19631, 1); new raropresente = random(3); if(raropresente == 1) { AddItem(playerid, 19424, 1); return 1; } FecharInventario(playerid); AbrirInventario(playerid); return 1; } if(item == 19060) // Caixa Pequena { SetPVarInt(playerid, "amountCash", 400+random(60)); PlayerInfo[playerid][pCasher] += GetPVarInt(playerid, "amountCash"); SetPVarInt(playerid, "amountMoney", 700000+random(1000)); SendClientMessage(playerid, 0x00ccccFF, "* Voce abriu uma Caixa Surpresa Natal!"); format(str, 800, "{FFFFFF}Itens:\n\n\ {F5DEB3}Respeitos: {FFFFFF}5 Unidade(s)\n\ {F5DEB3}Dinheiro: {FFFFFF}%d Unidade(s)\n\ {F5DEB3}Cash: {FFFFFF}%d Unidade(s)\n\ {F5DEB3}Item raro: {FFFFFF}1 Unidade(s)\n\n\ {FF6347}*OBS: {BFC0C2}Os itens foram colocados no seu inventario!", GetPVarInt(playerid, "amountMoney"), GetPVarInt(playerid, "amountCash")); ShowPlayerDialog(playerid, 5471, DIALOG_STYLE_MSGBOX, "» Itens da Caixa Surpresa Natal", str, "Fechar", ""); new Float: X, Float: Y, Float: Z; GetPlayerPos(playerid, X, Y, Z); AddItem(playerid,1212, GetPVarInt(playerid, "amountMoney")); AddItem(playerid, 19941, 5); SetPlayerPos(playerid, X, Y+0.1, Z); for(new i = 0; i<9; i++){PlayerTextDrawDestroy(playerid,invBox[playerid][i]);} new string[200]; format(string, sizeof(string), "[Caixa Surpresa]:{FFFFFF} %s abriu uma Caixa Surpresa {00FFFF}Natal{FFFFFF} e recebeu +%d Cash.", PlayerName(playerid),GetPVarInt(playerid, "amountCash")); SendClientMessageToAll(0x9c9c9cFF, string); DiminuirInv(slot, playerid); FecharInventario(playerid); AbrirInventario(playerid); new raropresente = random(8); if(raropresente == 1) { AddItem(playerid, 19424, 1); return 1; } if(raropresente == 2) { AddItem(playerid, 19424, 1); return 1; } if(raropresente == 3) { AddItem(playerid, 3528, 1); return 1; } if(raropresente == 4) { AddItem(playerid, 557, 1); return 1; } if(raropresente == 5) { AddItem(playerid, 415, 1); return 1; } if(raropresente == 6) { AddItem(playerid, 19066, 1); return 1; } if(raropresente == 7) { AddItem(playerid, 19065, 1); return 1; } if(raropresente == 8) { AddItem(playerid, 19064, 1); return 1; } return 1; } if(item == 19057) // Caixa Pequena { SetPVarInt(playerid, "amountCash", 199+random(60)); PlayerInfo[playerid][pCasher] += GetPVarInt(playerid, "amountCash"); SetPVarInt(playerid, "amountMoney", 10000+random(1000)); SendClientMessage(playerid, 0x00ccccFF, "* Voce abriu uma Caixa Surpresa Extreme!"); format(str, 800, "{FFFFFF}Itens:\n\n\ {F5DEB3}Respeitos: {FFFFFF}5 Unidade(s)\n\ {F5DEB3}Dinheiro: {FFFFFF}%d Unidade(s)\n\ {F5DEB3}Cash: {FFFFFF}%d Unidade(s)\n\ {F5DEB3}Item raro: {FFFFFF}1 Unidade(s)\n\n\ {FF6347}*OBS: {BFC0C2}Os itens foram colocados no seu inventario!", GetPVarInt(playerid, "amountMoney"), GetPVarInt(playerid, "amountCash")); ShowPlayerDialog(playerid, 5471, DIALOG_STYLE_MSGBOX, "» Itens da Caixa Surpresa Extreme", str, "Fechar", ""); new Float: X, Float: Y, Float: Z; GetPlayerPos(playerid, X, Y, Z); AddItem(playerid,1212, GetPVarInt(playerid, "amountMoney")); AddItem(playerid,19941, 5); SetPlayerPos(playerid, X, Y+0.1, Z); new string[200]; format(string, sizeof(string), "[Caixa Surpresa]:{FFFFFF} %s abriu uma Caixa Surpresa {FF5A00}Extreme{FFFFFF}.", PlayerName(playerid)); SendClientMessageToAll(0x9c9c9cFF, string); DiminuirInv(slot, playerid); FecharInventario(playerid); AbrirInventario(playerid); for(new i = 0; i<9; i++){PlayerTextDrawDestroy(playerid,invBox[playerid][i]);} new raropresente = random(8); if(raropresente == 1) { AddItem(playerid, 1276, 1); return 1; } if(raropresente == 2) { AddItem(playerid, 19424, 1); return 1; } if(raropresente == 3) { AddItem(playerid, 3528, 1); return 1; } if(raropresente == 4) { AddItem(playerid, 19086, 1); return 1; } if(raropresente == 5) { AddItem(playerid, 1274, 1); return 1; } if(raropresente == 6) { AddItem(playerid, 19081, 1); return 1; } if(raropresente == 7) { AddItem(playerid, 19080, 1); return 1; } if(raropresente == 8) { AddItem(playerid, 19084, 1); return 1; } return 1; } if(item == 19055) // Caixa Pequena { SetPVarInt(playerid, "amountMoney", 2000+random(1000)); SendClientMessage(playerid, 0x00ccccFF, "* Voce abriu uma Caixa Supresa Media!"); format(str, 300, "{FFFFFF}Itens:\n\n\ {F5DEB3}Respeitos: {FFFFFF}1 Unidade(s)\n\ {F5DEB3}Dinheiro: {FFFFFF}%d Unidade(s)\n\n\ {FF6347}*OBS: {BFC0C2}Os itens foram colocados no seu inventario!", GetPVarInt(playerid, "amountMoney")); ShowPlayerDialog(playerid, 5471, DIALOG_STYLE_MSGBOX, "» Itens da Caixa Supresa", str, "Fechar", ""); new Float: X, Float: Y, Float: Z; GetPlayerPos(playerid, X, Y, Z); AddItem(playerid, 1212, GetPVarInt(playerid, "amountMoney")); AddItem(playerid, 19941, 1); SetPlayerPos(playerid, X, Y+0.1, Z); DiminuirInv(slot, playerid); FecharInventario(playerid); AbrirInventario(playerid); for(new i = 0; i<9; i++) { PlayerTextDrawDestroy(playerid,invBox[playerid][i]); } return 1; } if(item == 1212) // dinheiro { format(str,300,"* Voce pegou $%d do seu inventario!",InventarioInfo[playerid][slot][iUnidades]); SendClientMessage(playerid,0x00ccccFF,str); GiveDinheiro(playerid, InventarioInfo[playerid][slot][iUnidades] );// InventarioInfo[playerid][slot][iSlot] = 19382; InventarioInfo[playerid][slot][iUnidades] = 0; FecharInventario(playerid); AbrirInventario(playerid); for(new i = 0; i<9; i++) { PlayerTextDrawDestroy(playerid,invBox[playerid][i]); } return 1; } if(item == 19941) // skin { format(str,300,"* Voce adquiriu +%d respeito do seu inventario!",InventarioInfo[playerid][slot][iUnidades]); SendClientMessage(playerid,0x00ccccFF,str); PlayerInfo[playerid][pExp] += InventarioInfo[playerid][slot][iUnidades];// InventarioInfo[playerid][slot][iSlot] = 19382; InventarioInfo[playerid][slot][iUnidades] = 0; FecharInventario(playerid); AbrirInventario(playerid); for(new i = 0; i<9; i++) { PlayerTextDrawDestroy(playerid,invBox[playerid][i]); } return 1; } if(item == 19576) // { new string[200]; SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Você comeu um Maça, +10 fome e +5 de vida."); format(string, sizeof(string), "* %s comeu uma Maça.", sendername); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SendClientMessage(playerid, COLOR_LIGHTBLUE,"* Você comeu uma Maça, e foi adicionado a sua fome!"); GameTextForPlayer(playerid, "~w~voce esta~n~~p~comendo...", 5000, 1); ApplyAnimationEx(playerid, "FOOD","EAT_Vomit_P",3.0,0,0,0,0,0); PlayerInfo[playerid][pFome] += 10; if(PlayerInfo[playerid][pFome] > 100) PlayerInfo[playerid][pFome] = 100; DiminuirInv(slot, playerid); FecharInventario(playerid); AtualizarTxDFS(playerid); AbrirInventario(playerid); for(new i = 0; i<9; i++) { PlayerTextDrawDestroy(playerid,invBox[playerid][i]); } return 1; } if(item == 19094) // { new string[200]; SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Você comeu um hamburguer, +15 fome e +5 de vida."); format(string, sizeof(string), "* %s comeu um hamburguer.", sendername); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SendClientMessage(playerid, COLOR_LIGHTBLUE,"* Você comeu um hamburguer, e foi adicionado a sua fome!"); GameTextForPlayer(playerid, "~w~voce esta~n~~p~comendo...", 5000, 1); ApplyAnimationEx(playerid, "FOOD","EAT_Vomit_P",3.0,0,0,0,0,0); PlayerInfo[playerid][pFome] += 15; if(PlayerInfo[playerid][pFome] > 100) PlayerInfo[playerid][pFome] = 100; DiminuirInv(slot, playerid); AtualizarTxDFS(playerid); FecharInventario(playerid); AbrirInventario(playerid); for(new i = 0; i<9; i++) { PlayerTextDrawDestroy(playerid,invBox[playerid][i]); } return 1; } if(item == 19578) // { new string[200]; SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Você comeu um Banana, +10 fome e +5 de vida."); format(string, sizeof(string), "* %s comeu uma Banana.", sendername); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SendClientMessage(playerid, COLOR_LIGHTBLUE,"* Você comeu uma Banana, e foi adicionado a sua fome!"); GameTextForPlayer(playerid, "~w~voce esta~n~~p~comendo...", 5000, 1); ApplyAnimationEx(playerid, "FOOD","EAT_Vomit_P",3.0,0,0,0,0,0); PlayerInfo[playerid][pFome] += 10; if(PlayerInfo[playerid][pFome] > 100) PlayerInfo[playerid][pFome] = 100; DiminuirInv(slot, playerid); FecharInventario(playerid); AbrirInventario(playerid); AtualizarTxDFS(playerid); for(new i = 0; i<9; i++) { PlayerTextDrawDestroy(playerid,invBox[playerid][i]); } return 1; } if(item == 19630) // { new string[200]; SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Você comeu um Peixe, +20 fome e +5 de vida."); format(string, sizeof(string), "* %s comeu um Peixe.", sendername); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SendClientMessage(playerid, COLOR_LIGHTBLUE,"* Você comeu um Peixe, e foi adicionado a sua fome!"); GameTextForPlayer(playerid, "~w~voce esta~n~~p~comendo...", 5000, 1); ApplyAnimationEx(playerid, "FOOD","EAT_Vomit_P",3.0,0,0,0,0,0); PlayerInfo[playerid][pFome] += 20; if(PlayerInfo[playerid][pFome] > 100) PlayerInfo[playerid][pFome] = 100; DiminuirInv(slot, playerid); AtualizarTxDFS(playerid); FecharInventario(playerid); AbrirInventario(playerid); for(new i = 0; i<9; i++) { PlayerTextDrawDestroy(playerid,invBox[playerid][i]); } return 1; } if(item == 19811) // { new string[200]; SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Você comeu um Lanche, +16 fome e +5 de vida."); format(string, sizeof(string), "* %s comeu um Lanche.", sendername); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SendClientMessage(playerid, COLOR_LIGHTBLUE,"* Você comeu um Lanche, e foi adicionado a sua fome!"); GameTextForPlayer(playerid, "~w~voce esta~n~~p~comendo...", 5000, 1); ApplyAnimationEx(playerid, "FOOD","EAT_Vomit_P",3.0,0,0,0,0,0); PlayerInfo[playerid][pFome] += 16; if(PlayerInfo[playerid][pFome] > 100) PlayerInfo[playerid][pFome] = 100; DiminuirInv(slot, playerid); AtualizarTxDFS(playerid); FecharInventario(playerid); AbrirInventario(playerid); for(new i = 0; i<9; i++) { PlayerTextDrawDestroy(playerid,invBox[playerid][i]); } return 1; } if(item == 19580) // { new string[200]; SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Você comeu um Pizza, +35 fome e +5 de vida."); format(string, sizeof(string), "* %s comeu uma Pizza.", sendername); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SendClientMessage(playerid, COLOR_LIGHTBLUE,"* Você comeu uma Pizza, e foi adicionado a sua fome!"); GameTextForPlayer(playerid, "~w~voce esta~n~~p~comendo...", 5000, 1); ApplyAnimationEx(playerid, "FOOD","EAT_Vomit_P",3.0,0,0,0,0,0); PlayerInfo[playerid][pFome] += 35; if(PlayerInfo[playerid][pFome] > 100) PlayerInfo[playerid][pFome] = 100; DiminuirInv(slot, playerid); AtualizarTxDFS(playerid); FecharInventario(playerid); AbrirInventario(playerid); for(new i = 0; i<9; i++) { PlayerTextDrawDestroy(playerid,invBox[playerid][i]); } return 1; } if(item == 19574) // { new string[200]; SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Você comeu uma Laranja, +20 fome e +5 de vida."); format(string, sizeof(string), "* %s comeu uma Laranja.", sendername); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SendClientMessage(playerid, COLOR_LIGHTBLUE,"* Você comeu uma Laranja, e foi adicionado a sua fome!"); GameTextForPlayer(playerid, "~w~voce esta~n~~p~comendo...", 5000, 1); ApplyAnimationEx(playerid, "FOOD","EAT_Vomit_P",3.0,0,0,0,0,0); PlayerInfo[playerid][pFome] += 20; if(PlayerInfo[playerid][pFome] > 100) PlayerInfo[playerid][pFome] = 100; DiminuirInv(slot, playerid); AtualizarTxDFS(playerid); FecharInventario(playerid); AbrirInventario(playerid); for(new i = 0; i<9; i++) { PlayerTextDrawDestroy(playerid,invBox[playerid][i]); } return 1; } if(item == 19835) // { new string[200]; SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Você bebeu uma lata de coca-cola, +10 sede e +5 vida."); format(string, sizeof(string), "* %s bebeu uma lata de coca-cola.", sendername); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SendClientMessage(playerid, COLOR_LIGHTBLUE,"* Você bebeu uma lata de coca-cola, e foi adicionado a sua sede!"); GameTextForPlayer(playerid, "~w~voce esta~n~~p~bebendo coca-cola...", 5000, 1); ApplyAnimationEx(playerid, "FOOD","EAT_Vomit_P",3.0,0,0,0,0,0); PlayerInfo[playerid][pSede] += 10; if(PlayerInfo[playerid][pSede] > 100) PlayerInfo[playerid][pSede] = 100; DiminuirInv(slot, playerid); AtualizarTxDFS(playerid); FecharInventario(playerid); AbrirInventario(playerid); for(new i = 0; i<9; i++) { PlayerTextDrawDestroy(playerid,invBox[playerid][i]); } return 1; } if(item == 19570) // { new string[200]; SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Você bebeu uma garrafa de leite, +35 sede e +5 de vida."); format(string, sizeof(string), "* %s bebeu um litro de leite.", sendername); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SendClientMessage(playerid, COLOR_LIGHTBLUE,"* Você bebeu um litro de leite, e foi adicionado a sua sede!"); GameTextForPlayer(playerid, "~w~voce esta~n~~p~bebendo leite...", 5000, 1); ApplyAnimationEx(playerid, "FOOD","EAT_Vomit_P",3.0,0,0,0,0,0); PlayerInfo[playerid][pSede] += 35; if(PlayerInfo[playerid][pSede] > 100) PlayerInfo[playerid][pSede] = 100; DiminuirInv(slot, playerid); FecharInventario(playerid); AbrirInventario(playerid); AtualizarTxDFS(playerid); for(new i = 0; i<9; i++) { PlayerTextDrawDestroy(playerid,invBox[playerid][i]); } return 1; } if(item == 2647) // { new string[200]; SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Você bebeu refrigerante, +25 sede e +5 de vida."); format(string, sizeof(string), "* %s bebeu um refrigerante.", sendername); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SendClientMessage(playerid, COLOR_LIGHTBLUE,"* Você bebeu um refrigerante, e foi adicionado a sua sede!"); GameTextForPlayer(playerid, "~w~voce esta~n~~p~bebendo refrigerante...", 5000, 1); ApplyAnimationEx(playerid, "FOOD","EAT_Vomit_P",3.0,0,0,0,0,0); PlayerInfo[playerid][pSede] += 25; if(PlayerInfo[playerid][pSede] > 100) PlayerInfo[playerid][pSede] = 100; DiminuirInv(slot, playerid); AtualizarTxDFS(playerid); FecharInventario(playerid); AbrirInventario(playerid); AtualizarTxDFS(playerid); for(new i = 0; i<9; i++) { PlayerTextDrawDestroy(playerid,invBox[playerid][i]); } return 1; } if(item == 19056) // Caixa Pequena { SetPVarInt(playerid, "amountMoney", 5000+random(1000)); SendClientMessage(playerid, 0x00ccccFF, "* Voce abriu uma Caixa Supresa Grande!"); format(str, 300, "{FFFFFF}Itens:\n\n\ {F5DEB3}Maca: {FFFFFF}1 Unidade(s)\n\ {F5DEB3}Leite: {FFFFFF}1 Unidade(s)\n\ {F5DEB3}Respeitos: {FFFFFF}4 Unidade(s)\n\n\ {FF6347}*OBS: {BFC0C2}Os itens foram colocados no seu inventario!", GetPVarInt(playerid, "amountMoney")); ShowPlayerDialog(playerid, 5471, DIALOG_STYLE_MSGBOX, "» Itens da Caixa Supresa Grande", str, "Fechar", ""); new Float: X, Float: Y, Float: Z; GetPlayerPos(playerid, X, Y, Z); AddItem(playerid, 1212, GetPVarInt(playerid, "amountMoney")); AddItem(playerid, 19941, 4); SetPlayerPos(playerid, X, Y+0.1, Z); DiminuirInv(slot, playerid); FecharInventario(playerid); AbrirInventario(playerid); for(new i = 0; i<9; i++){PlayerTextDrawDestroy(playerid,invBox[playerid][i]); } return 1; } if(item == 1210) // Caixa Pequena { PlayerInfo[playerid][pCasher] += 2; SetPVarInt(playerid, "amountMoney", 10000+random(1000)); SendClientMessage(playerid, 0x00ccccFF, "* Voce abriu uma Maleta!"); format(str, 300, "{FFFFFF}Itens:\n\n\ {F5DEB3}Respeitos: {FFFFFF}10 Unidade(s)\n\ {F5DEB3}Dinheiro: {FFFFFF}%d Unidade(s)\n\ {F5DEB3}Cash: {FFFFFF}2 Unidade(s)\n\ {F5DEB3}Item: {FFFFFF}1 Unidade(s)\n\n\ {FF6347}*OBS: {BFC0C2}Os itens foram colocados no seu inventario!", GetPVarInt(playerid, "amountMoney")); ShowPlayerDialog(playerid, 5471, DIALOG_STYLE_MSGBOX, "» Itens da Maleta", str, "Fechar", ""); new string[200]; format(string, sizeof(string), "[{FFFFFF}Maleta{47EE0B}]: %s{FFFFFF} abriu uma Maleta.", PlayerName(playerid)); SendClientMessageToAll(0x47EE0BFF, string); new Float: X, Float: Y, Float: Z; GetPlayerPos(playerid, X, Y, Z); AddItem(playerid, 1212, GetPVarInt(playerid, "amountMoney")); AddItem(playerid, 19941, 10); SetPlayerPos(playerid, X, Y+0.1, Z); DiminuirInv(slot, playerid); FecharInventario(playerid); AbrirInventario(playerid); for(new i = 0; i<9; i++) { PlayerTextDrawDestroy(playerid,invBox[playerid][i]); } new raropresente = random(8); if(raropresente == 1) { AddItem(playerid, 18641, 1); return 1; } if(raropresente == 2) { AddItem(playerid, 19528, 1); return 1; } if(raropresente == 3) { AddItem(playerid, 19137, 1); return 1; } if(raropresente == 4) { AddItem(playerid, 1240, 1); return 1; } if(raropresente == 5) { AddItem(playerid, 321, 1); return 1; } if(raropresente == 6) { AddItem(playerid, 2469, 1); return 1; } if(raropresente == 7) { AddItem(playerid, 19319, 1); return 1; } if(raropresente == 8) { AddItem(playerid, 19319, 1); return 1; } return 1; } if(item == 11737) // skin { SendClientMessage(playerid, 0x00ccccFF, "* Voce abriu um Pacote de Efeito e o efeito foi colocado no seu inventario, aperte N para usar."); new string[200]; format(string, sizeof(string), "[Pacote de Efeitos]: {FFFFFF}%s abriu um Pacote de Efeitos para voce comprar o seu efeito digite /lojavip.", PlayerName(playerid)); SendClientMessageToAll(0xFF69B4FF, string); DiminuirInv(slot, playerid); FecharInventario(playerid); AbrirInventario(playerid); for(new i = 0; i<9; i++) { PlayerTextDrawDestroy(playerid,invBox[playerid][i]); } new raroefeito = random(3); if(raroefeito == 0) { AddItem(playerid, 18693, 1); return 1; } if(raroefeito == 1) { AddItem(playerid, 18729, 1); return 1; } if(raroefeito == 2) { AddItem(playerid, 18688, 1); return 1; } if(raroefeito == 3) { AddItem(playerid, 18688, 1); return 1; } return 1; } if(item == 11738) // skin { DiminuirInv(slot, playerid); FecharInventario(playerid); AbrirInventario(playerid); for(new i = 0; i<9; i++) { PlayerTextDrawDestroy(playerid,invBox[playerid][i]); } ForT:mekitkjms(playerid); return 1; } if(item == 1654) // skin { ForT:explosivao(playerid); DiminuirInv(slot, playerid); FecharInventario(playerid); AbrirInventario(playerid); for(new i = 0; i<9; i++) { PlayerTextDrawDestroy(playerid,invBox[playerid][i]); } return 1; } if(item == 2901) // skin { if(PlayerInfo[playerid][pSementes] < 1) return SendClientMessage(playerid, AMARELO_COR, "Voce nao possui sementes de maconha para plantar"); if(GetPlayerInterior(playerid) > 0 || IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, AMARELO_COR, "Voce nao pode plantar maconha agora!"); if(GetPlayerSpeedEx(playerid) > 1) return SendClientMessage(playerid, AMARELO_COR, "Voce precisa estar parado para plantar a semente"); if(CountPlantacao(playerid) >= 10) return SendClientMessage(playerid, AMARELO_COR, "Voce pode plantar no maximo 10 sementes"); if(PlantandoMaconha[playerid] == true) return SendClientMessage(playerid, AMARELO_COR, "Voce ja esta plantando ou colhendo uma semente"); if(IsPlayerInRC(playerid)) return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao pode plantar maconha em areas neutras!"); for(new mac = 0; mac < MAX_MACONHA; mac++) { if(MaconhaInfo[mac][PodeUsar] == false && IsPlayerInRangeOfPoint(playerid, 5.0, MaconhaInfo[mac][mX],MaconhaInfo[mac][mY],MaconhaInfo[mac][mZ])) { SendClientMessage(playerid, COLOR_GRAD1, "Ja existe uma plantacao de maconha muito proximo a este local"); return true; } } FecharInventario(playerid); for(new i = 0; i<9; i++) { PlayerTextDrawDestroy(playerid,invBox[playerid][i]); } ForT:maconhadotio(playerid); return 1; } if(item == 370) // skin { FecharInventario(playerid); AbrirInventario(playerid); for(new i = 0; i<9; i++) { PlayerTextDrawDestroy(playerid,invBox[playerid][i]); } if(IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid,-1,"Voce nao pode usar seu jetpack em um veiculo !"); if(GetPlayerSpecialAction(playerid) == 2) return SendClientMessage(playerid,-1,"Voce ja esta com seu JetPack !"); FecharInventario(playerid); RemovePlayerAttachedObject(playerid, 9); CancelSelectTextDraw(playerid); SetPlayerSpecialAction(playerid, 2); format(str, sizeof str, "* O jogador %s pegou seu JetPack.", NomePlayer(playerid)); SendClientMessageInRange(30.0, playerid, str, 0x33AA33AA, 0x33AA33AA,0x33AA33AA, 0x33AA33AA, 0x33AA33AA); SendClientMessage(playerid, COLOR_YELLOW, "Aviso: Voce Pegou um JetPack!"); return 1; } if(item >= 331 && item < 369) { new string[310]; GivePlayerWeapon(playerid,MudarIdArma(item), InventarioInfo[playerid][slot][iUnidades]); format(string, sizeof string, "* Voce pegou uma %s com %d bala(s) do seu inventario !", NomeArmaInventario(InventarioInfo[playerid][slot][iSlot]), InventarioInfo[playerid][slot][iUnidades]); SendClientMessage(playerid, 0x00ccccFF, string); InventarioInfo[playerid][slot][iSlot] = 19382; InventarioInfo[playerid][slot][iUnidades] = 0; DiminuirInv(slot, playerid); FecharInventario(playerid); AbrirInventario(playerid); for(new i = 0; i<9; i++) { PlayerTextDrawDestroy(playerid,invBox[playerid][i]); } return 1; } if(item > 399 && item < 612) { FecharInventario(playerid); for(new i = 0; i<9; i++) { PlayerTextDrawDestroy(playerid,invBox[playerid][i]); } if(carroinvCriado[playerid] == 0) { if(GetPlayerInterior(playerid) > 0) return SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao pode usar um carro de inventário nesse local!"); if(PlayerInfo[playerid][pJailed] > 0) return SendClientMessage(playerid, COLOR_GRAD1, "Voce esta preso, nao pode usar sua NRG-500!"); GetPlayerPos(playerid,InvX[playerid],InvY[playerid],InvZ[playerid]); GetPlayerFacingAngle(playerid,InvR[playerid]); if(carroinvID[playerid] != INVALID_VEHICLE_ID) DestroyVehicleEx(carroinvID[playerid]); carroinvID[playerid] = INVALID_VEHICLE_ID; carroinvID[playerid] = AddStaticVehicleEx_Debug(item, InvX[playerid], InvY[playerid], InvZ[playerid], InvR[playerid], -1, -1, 0); carroinvCriado[playerid] = 1; Gas[carroinvID[playerid]] = 100; MotorLigado[carroinvID[playerid]] = false; PutPlayerInVehicle(playerid, carroinvID[playerid], 0); new strbraia[100]; format(strbraia, sizeof(strbraia), "[Veiculo de Inventário]: %s Pegou um(a) %s em seu inventário.", PlayerName(playerid), getVehicleName(carroinvID[playerid])); ProxDetector(30.0, playerid, strbraia, COLOR_GRAD1, COLOR_GRAD1,COLOR_GRAD1,COLOR_GRAD1,COLOR_GRAD1); } CancelSelectTextDraw(playerid); return 1; } if(item == 1314) { new msgbrazz[1200]; format(msgbrazz, 1200, "{00FF00}ATENÇÃO, Para criar sua Familia, vocé deve seguir alguns critérios citado abaixo, ou podera\n\ ter sua Familia VIP removida por um administrador sem direito a reembolso!\n\ \n\ \n\ {00FFFF}Leia atentamente:\n\ {FFFFFF}• Sua Familia nao podera ser criada próximo ao Spawn Civil, Prefeitura, Penitenciaria e dentre outras areas neutra.\n\ {FFFFFF}• Sua Familia de maneira nenhuma podera ser criada do meio da RUA.\n\ {FFFFFF}• Sua familia podera conter no minimo 3 digito. e no maximo 30.\n\ {FFFFFF}• E Possivel adicionar um sub-lider na Familia, Para ver os comandos basta digitar: /fpromover.\n\ {FFFFFF}• Quem usar este item ficara como fundador da Familia e nao tera como transferir posteriormente.\n\ {4F4F4F}Clique apenas em '{FFFFFF}Prosseguir{4F4F4F}' quando ja estiver no local exato de onde sera a HQ"); if(PlayerInfo[playerid][pFamiliaID] != 0) return SCM(playerid, COLOR_LIGHTRED, "Voce ja tem uma familia."); ShowPlayerDialog(playerid, 15339, DIALOG_STYLE_INPUT, "Criar Familia CNF", msgbrazz, #Prosseguir, #Cancelar); SetPVarInt(playerid, #VarSlotFamilia, slot); return 1; } if(item != 980) { for(new o; o < 10; o++) { if(!IsPlayerAttachedObjectSlotUsed(playerid, o)) { new str1[300]; format(str1,300,"Espinha\nCabeca\nBraco esquerdo\nBraco direito\nMao esquerda\nMao direita\nCoxa esquerda\nCoxa direita\nPe esquerdo\nPe direito\nPanturrilha direita\nPanturrilha esquerda\nAntebraco esquerdo\nAntebraco direito\nOmbro esquerto\nOmbro direito\nPescoco\nMandibula"); SetPVarInt(playerid,"slotusar",slot); ShowPlayerDialog(playerid, 21215, DIALOG_STYLE_LIST, "Escolher Local", str1, "Escolher", "Cancelar"); FecharInventario(playerid); for(new i = 0; i<9; i++) { PlayerTextDrawDestroy(playerid,invBox[playerid][i]); } CancelSelectTextDraw(playerid); if(!IsPlayerInAnyVehicle(playerid)) ClearAnimations(playerid); if(!IsPlayerInAnyVehicle(playerid)) SetPlayerSpecialAction(playerid,SPECIAL_ACTION_NONE); RemovePlayerAttachedObject(playerid, 9); return 1; } } } SendClientMessage(playerid,-1,"Voce ja tem 10 acessorios."); } if(playertextid == invBox[playerid][5]){ if(InventarioInfo[playerid][ItemSelecionado[playerid]][iSlot] == 19382){ SendClientMessage(playerid, COLOR_LIGHTRED, "* Nao ha itens suficientes para ser movido!"); for(new i = 0; i<9; i++) { PlayerTextDrawDestroy(playerid,invBox[playerid][i]); } FecharInventario(playerid); AbrirInventario(playerid); return 1; } for(new i = 0; i<9; i++) { PlayerTextDrawDestroy(playerid,invBox[playerid][i]); } FecharInventario(playerid); AbrirInventario(playerid); SelectTextDraw(playerid, 0xCD0400FF); MovendoInventario[playerid] = 1; CombinandoInventario[playerid] = 0; } if(playertextid == invBox[playerid][7]){ new str[180]; if(InventarioInfo[playerid][ItemSelecionado[playerid]][iSlot] == 19382){ SendClientMessage(playerid, 0xFF6347AA, "* Nao ha itens suficientes para ser descartado!"); for(new i = 0; i<9; i++) { PlayerTextDrawDestroy(playerid,invBox[playerid][i]); } return 1; } //new name[24]; new Float:X, Float:Y, Float:Z; GetPlayerPos(playerid, X, Y, Z); if(InventarioInfo[playerid][ItemSelecionado[playerid]][iSlot] > 399 && InventarioInfo[playerid][ItemSelecionado[playerid]][iSlot] < 612) { format(str, 280, "[AVISO] Voce nao pode dropar um veiculo de inventario, por questoes de seguranca"); SCM(playerid, COLOR_LIGHTRED, str); return 1; } format(str, 280, "* Voce largou um item: %s, com %d unidade(s)", NomeItemInventario(InventarioInfo[playerid][ItemSelecionado[playerid]][iSlot]), InventarioInfo[playerid][ItemSelecionado[playerid]][iUnidades]); SendClientMessage(playerid, 0x00ccccFF, str); format(str, 280, "%s dropou um item: %s, com %d unidade(s)", PlayerName(playerid), NomeItemInventario(InventarioInfo[playerid][ItemSelecionado[playerid]][iSlot]), InventarioInfo[playerid][ItemSelecionado[playerid]][iUnidades]); CNFLogs("droparitem", str); if(InventarioInfo[playerid][ItemSelecionado[playerid]][iSlot] == 1654) { PlayerInfo[playerid][pExplosivos] --; } CreateDroppedItem(InventarioInfo[playerid][ItemSelecionado[playerid]][iSlot], InventarioInfo[playerid][ItemSelecionado[playerid]][iUnidades], X, Y, Z); InventarioInfo[playerid][ItemSelecionado[playerid]][iSlot] = 19382; InventarioInfo[playerid][ItemSelecionado[playerid]][iUnidades] = 0; FecharInventario(playerid); AbrirInventario(playerid); for(new i = 0; i<9; i++) { PlayerTextDrawDestroy(playerid,invBox[playerid][i]); } } if(playertextid == invBox[playerid][4]){ if(ItemVender[playerid] == ItemSelecionado[playerid]) return SendClientMessage(playerid,-1,"{00FFFF}• {FFFFFF}Voce esta negociando este Item."); if(InventarioInfo[playerid][ItemSelecionado[playerid]][iSlot] == 19382){ SendClientMessage(playerid, 0xFF6347AA, "* Nao ha itens suficientes para ser combinado!"); for(new i = 0; i<9; i++) { PlayerTextDrawDestroy(playerid,invBox[playerid][i]); } FecharInventario(playerid); AbrirInventario(playerid); } CombinandoInventario[playerid] = 1; MovendoInventario[playerid] = 0; FecharInventario(playerid); AbrirInventario(playerid); SelectTextDraw(playerid, 0x00FFFFFF); for(new i = 0; i<9; i++) { PlayerTextDrawDestroy(playerid,invBox[playerid][i]); } } if(playertextid == invBox[playerid][8]){ ShowPlayerDialog(playerid, 1099, DIALOG_STYLE_INPUT, "Separar item", "{FFFFFF}Digite a quantidade que voce deseja separar:\n\n\ {FF6347}OBS:{9C9C9C}O valor deve ser acima de zero!", "Separar", "Cancelar"); for(new i = 0; i<9; i++) { PlayerTextDrawDestroy(playerid,invBox[playerid][i]); } } if( playertextid == invBox[playerid][6]) { ItemVender[playerid] = ItemSelecionado[playerid]; new Float:p[3]; //new str1[40]; //new str[300]; //new cu; GetPlayerPos(playerid, p[0],p[1],p[2]); if(InventarioInfo[playerid][ItemSelecionado[playerid]][iSlot] == 19382){ SendClientMessage(playerid, 0xFF6347AA, "* Nao ha itens suficientes para ser vendido!"); for(new i = 0; i<9; i++) { PlayerTextDrawDestroy(playerid,invBox[playerid][i]); } return 1; } if(VendendoInv[playerid] == 1) return SendClientMessage(playerid,-1,"Voce ja esta negociando um item!"); VendendoInv[playerid] = 1; MovendoInventario[playerid] = 0; CombinandoInventario[playerid] = 0; for(new i = 0; i<9; i++) { PlayerTextDrawDestroy(playerid,invBox[playerid][i]); } ShowPlayerDialog(playerid, 9182, DIALOG_STYLE_INPUT, "Player(s) Proximo(s)", "Digite o ID do jogador que deseja negociar:", "Negociar", "Fechar"); return 1; } if(playertextid == TxDBincoPlayer[playerid][23]) { FecharMenuBinco(playerid); CancelSelectTextDraw(playerid); } if(playertextid == TxDBincoPlayer[playerid][22]) { new gstr[256]; if(PaginaBinco[playerid] == 3) { PaginaBinco[playerid] = 3; AbrirMenuBinco(playerid); format(gstr, 256, "Pagina: 3/3"); PlayerTextDrawSetString(playerid, TxDBincoPlayer[playerid][9], gstr); return 1; } PaginaBinco[playerid] += 1; AbrirMenuBinco(playerid); format(gstr, 256, "Pagina: %d/3", PaginaBinco[playerid]); PlayerTextDrawSetString(playerid, TxDBincoPlayer[playerid][9], gstr); } if(playertextid == TxDBincoPlayer[playerid][21]) { new gstr[256]; if(PaginaBinco[playerid] == 1) { PaginaBinco[playerid] = 1; AbrirMenuBinco(playerid); format(gstr, 256, "Pagina: 1/3"); PlayerTextDrawSetString(playerid, TxDBincoPlayer[playerid][9], gstr); return 1; } PaginaBinco[playerid] -= 1; AbrirMenuBinco(playerid); format(gstr, 256, "Pagina: %d/3", PaginaBinco[playerid]); PlayerTextDrawSetString(playerid, TxDBincoPlayer[playerid][9], gstr); } if(playertextid == TxDBincoPlayer[playerid][17]) { if(PaginaBinco[playerid] == 1) { if(GetPlayerMoney(playerid) < BincoInfo[0][1]) return SCMf(playerid, COLOR_LIGHTRED, "Você não tem dinheiro, você precisa de: %d!", BincoInfo[0][1]), FecharMenuBinco(playerid); SetPlayerSkin(playerid, BincoInfo[0][0]); GivePlayerMoney(playerid, -BincoInfo[0][1]); format(strbrazz, 256, "{00FF00}Informações da Compra:\n\ {00FF00}Skin ID: {FFFFFF}%d\n\ {00FF00}Valor: {FFFFFF}%d\n\ {00FF00}- Compra Efetuada com sucesso!", BincoInfo[0][0], BincoInfo[0][1]); ShowPlayerDialog(playerid, 1533, DIALOG_STYLE_MSGBOX, "INFO COMPRA:", strbrazz, #Certo, #); PlayerInfo[playerid][pSkin] = BincoInfo[0][0]; FecharMenuBinco(playerid); } if(PaginaBinco[playerid] == 2) { if(GetPlayerMoney(playerid) < BincoInfo[4][1]) return SCMf(playerid, COLOR_LIGHTRED, "Você não tem dinheiro, você precisa de: %d!", BincoInfo[4][1]), FecharMenuBinco(playerid); SetPlayerSkin(playerid, BincoInfo[4][0]); GivePlayerMoney(playerid, -BincoInfo[4][1]); format(strbrazz, 256, "{00FF00}Informações da Compra:\n\ {00FF00}Skin ID: {FFFFFF}%d\n\ {00FF00}Valor: {FFFFFF}%d\n\ {00FF00}- Compra Efetuada com sucesso!", BincoInfo[4][0], BincoInfo[4][1]); ShowPlayerDialog(playerid, 1533, DIALOG_STYLE_MSGBOX, "INFO COMPRA:", strbrazz, #Certo, #); PlayerInfo[playerid][pSkin] = BincoInfo[4][0]; FecharMenuBinco(playerid); } if(PaginaBinco[playerid] == 3) { if(GetPlayerMoney(playerid) < BincoInfo[8][1]) return SCMf(playerid, COLOR_LIGHTRED, "Você não tem dinheiro, você precisa de: %d!", BincoInfo[8][1]), FecharMenuBinco(playerid); SetPlayerSkin(playerid, BincoInfo[8][0]); GivePlayerMoney(playerid, -BincoInfo[8][1]); format(strbrazz, 256, "{00FF00}Informações da Compra:\n\ {00FF00}Skin ID: {FFFFFF}%d\n\ {00FF00}Valor: {FFFFFF}%d\n\ {00FF00}- Compra Efetuada com sucesso!", BincoInfo[8][0], BincoInfo[8][1]); ShowPlayerDialog(playerid, 1533, DIALOG_STYLE_MSGBOX, "INFO COMPRA:", strbrazz, #Certo, #); PlayerInfo[playerid][pSkin] = BincoInfo[8][0]; FecharMenuBinco(playerid); } } if(playertextid == TxDBincoPlayer[playerid][18]) { if(PaginaBinco[playerid] == 1) { if(GetPlayerMoney(playerid) < BincoInfo[1][1]) return SCMf(playerid, COLOR_LIGHTRED, "Você não tem dinheiro, você precisa de: %d!", BincoInfo[1][1]), FecharMenuBinco(playerid); SetPlayerSkin(playerid, BincoInfo[1][0]); GivePlayerMoney(playerid, -BincoInfo[1][1]); format(strbrazz, 256, "{00FF00}Informações da Compra:\n\ {00FF00}Skin ID: {FFFFFF}%d\n\ {00FF00}Valor: {FFFFFF}%d\n\ {00FF00}- Compra Efetuada com sucesso!", BincoInfo[1][0], BincoInfo[1][1]); ShowPlayerDialog(playerid, 1533, DIALOG_STYLE_MSGBOX, "INFO COMPRA:", strbrazz, #Certo, #); PlayerInfo[playerid][pSkin] = BincoInfo[1][0]; FecharMenuBinco(playerid); } if(PaginaBinco[playerid] == 2) { if(GetPlayerMoney(playerid) < BincoInfo[5][1]) return SCMf(playerid, COLOR_LIGHTRED, "Você não tem dinheiro, você precisa de: %d!", BincoInfo[5][1]), FecharMenuBinco(playerid); SetPlayerSkin(playerid, BincoInfo[5][0]); GivePlayerMoney(playerid, -BincoInfo[5][1]); format(strbrazz, 256, "{00FF00}Informações da Compra:\n\ {00FF00}Skin ID: {FFFFFF}%d\n\ {00FF00}Valor: {FFFFFF}%d\n\ {00FF00}- Compra Efetuada com sucesso!", BincoInfo[5][0], BincoInfo[5][1]); ShowPlayerDialog(playerid, 1533, DIALOG_STYLE_MSGBOX, "INFO COMPRA:", strbrazz, #Certo, #); PlayerInfo[playerid][pSkin] = BincoInfo[5][0]; FecharMenuBinco(playerid); } if(PaginaBinco[playerid] == 3) { if(GetPlayerMoney(playerid) < BincoInfo[9][1]) return SCMf(playerid, COLOR_LIGHTRED, "Você não tem dinheiro, você precisa de: %d!", BincoInfo[9][1]), FecharMenuBinco(playerid); SetPlayerSkin(playerid, BincoInfo[9][0]); GivePlayerMoney(playerid, -BincoInfo[9][1]); format(strbrazz, 256, "{00FF00}Informações da Compra:\n\ {00FF00}Skin ID: {FFFFFF}%d\n\ {00FF00}Valor: {FFFFFF}%d\n\ {00FF00}- Compra Efetuada com sucesso!", BincoInfo[9][0], BincoInfo[9][1]); ShowPlayerDialog(playerid, 1533, DIALOG_STYLE_MSGBOX, "INFO COMPRA:", strbrazz, #Certo, #); PlayerInfo[playerid][pSkin] = BincoInfo[9][0]; FecharMenuBinco(playerid); } } if(playertextid == TxDBincoPlayer[playerid][19]) { if(PaginaBinco[playerid] == 1) { if(GetPlayerMoney(playerid) < BincoInfo[2][1]) return SCMf(playerid, COLOR_LIGHTRED, "Você não tem dinheiro, você precisa de: %d!", BincoInfo[2][1]), FecharMenuBinco(playerid); SetPlayerSkin(playerid, BincoInfo[2][0]); GivePlayerMoney(playerid, -BincoInfo[2][1]); format(strbrazz, 256, "{00FF00}Informações da Compra:\n\ {00FF00}Skin ID: {FFFFFF}%d\n\ {00FF00}Valor: {FFFFFF}%d\n\ {00FF00}- Compra Efetuada com sucesso!", BincoInfo[2][0], BincoInfo[2][1]); ShowPlayerDialog(playerid, 1533, DIALOG_STYLE_MSGBOX, "INFO COMPRA:", strbrazz, #Certo, #); PlayerInfo[playerid][pSkin] = BincoInfo[2][0]; FecharMenuBinco(playerid); } if(PaginaBinco[playerid] == 2) { if(GetPlayerMoney(playerid) < BincoInfo[6][1]) return SCMf(playerid, COLOR_LIGHTRED, "Você não tem dinheiro, você precisa de: %d!", BincoInfo[6][1]), FecharMenuBinco(playerid); SetPlayerSkin(playerid, BincoInfo[6][0]); GivePlayerMoney(playerid, -BincoInfo[6][1]); format(strbrazz, 256, "{00FF00}Informações da Compra:\n\ {00FF00}Skin ID: {FFFFFF}%d\n\ {00FF00}Valor: {FFFFFF}%d\n\ {00FF00}- Compra Efetuada com sucesso!", BincoInfo[6][0], BincoInfo[6][1]); ShowPlayerDialog(playerid, 1533, DIALOG_STYLE_MSGBOX, "INFO COMPRA:", strbrazz, #Certo, #); PlayerInfo[playerid][pSkin] = BincoInfo[6][0]; FecharMenuBinco(playerid); } if(PaginaBinco[playerid] == 3) { if(GetPlayerMoney(playerid) < BincoInfo[10][1]) return SCMf(playerid, COLOR_LIGHTRED, "Você não tem dinheiro, você precisa de: %d!", BincoInfo[10][1]), FecharMenuBinco(playerid); SetPlayerSkin(playerid, BincoInfo[10][0]); GivePlayerMoney(playerid, -BincoInfo[10][1]); format(strbrazz, 256, "{00FF00}Informações da Compra:\n\ {00FF00}Skin ID: {FFFFFF}%d\n\ {00FF00}Valor: {FFFFFF}%d\n\ {00FF00}- Compra Efetuada com sucesso!", BincoInfo[10][0], BincoInfo[10][1]); ShowPlayerDialog(playerid, 1533, DIALOG_STYLE_MSGBOX, "INFO COMPRA:", strbrazz, #Certo, #); PlayerInfo[playerid][pSkin] = BincoInfo[10][0]; FecharMenuBinco(playerid); } } if(playertextid == TxDBincoPlayer[playerid][20]) { if(PaginaBinco[playerid] == 1) { if(GetPlayerMoney(playerid) < BincoInfo[3][1]) return SCMf(playerid, COLOR_LIGHTRED, "Você não tem dinheiro, você precisa de: %d!", BincoInfo[3][1]), FecharMenuBinco(playerid); SetPlayerSkin(playerid, BincoInfo[3][0]); GivePlayerMoney(playerid, -BincoInfo[3][1]); format(strbrazz, 256, "{00FF00}Informações da Compra:\n\ {00FF00}Skin ID: {FFFFFF}%d\n\ {00FF00}Valor: {FFFFFF}%d\n\ {00FF00}- Compra Efetuada com sucesso!", BincoInfo[3][0], BincoInfo[3][1]); ShowPlayerDialog(playerid, 1533, DIALOG_STYLE_MSGBOX, "INFO COMPRA:", strbrazz, #Certo, #); PlayerInfo[playerid][pSkin] = BincoInfo[3][0]; FecharMenuBinco(playerid); } if(PaginaBinco[playerid] == 2) { if(GetPlayerMoney(playerid) < BincoInfo[7][1]) return SCMf(playerid, COLOR_LIGHTRED, "Você não tem dinheiro, você precisa de: %d!", BincoInfo[7][1]), FecharMenuBinco(playerid); SetPlayerSkin(playerid, BincoInfo[7][0]); GivePlayerMoney(playerid, -BincoInfo[7][1]); format(strbrazz, 256, "{00FF00}Informações da Compra:\n\ {00FF00}Skin ID: {FFFFFF}%d\n\ {00FF00}Valor: {FFFFFF}%d\n\ {00FF00}- Compra Efetuada com sucesso!", BincoInfo[7][0], BincoInfo[7][1]); ShowPlayerDialog(playerid, 1533, DIALOG_STYLE_MSGBOX, "INFO COMPRA:", strbrazz, #Certo, #); PlayerInfo[playerid][pSkin] = BincoInfo[7][0]; FecharMenuBinco(playerid); } if(PaginaBinco[playerid] == 3) { if(GetPlayerMoney(playerid) < BincoInfo[11][1]) return SCMf(playerid, COLOR_LIGHTRED, "Você não tem dinheiro, você precisa de: %d!", BincoInfo[1][1]), FecharMenuBinco(playerid); SetPlayerSkin(playerid, BincoInfo[11][0]); GivePlayerMoney(playerid,- BincoInfo[11][1]); format(strbrazz, 256, "{00FF00}Informações da Compra:\n\ {00FF00}Skin ID: {FFFFFF}%d\n\ {00FF00}Valor: {FFFFFF}%d\n\ {00FF00}- Compra Efetuada com sucesso!", BincoInfo[11][0], BincoInfo[11][1]); ShowPlayerDialog(playerid, 1533, DIALOG_STYLE_MSGBOX, "INFO COMPRA:", strbrazz, #Certo, #); PlayerInfo[playerid][pSkin] = BincoInfo[11][0]; FecharMenuBinco(playerid); } } if (playertextid == CaixaEletroCNFPlayer[playerid][3]) { CaixaEletronico_Ok[playerid] = 1; ShowPlayerDialog(playerid, DIALOG_CAIXA_ELETRONICO_INPUT, DIALOG_STYLE_INPUT, " Saque","Digite a Quantia que Deseja Sacar:", "Confirma", "Sair"); return 1; } if (playertextid == CaixaEletroCNFPlayer[playerid][4]) { CaixaEletronico_Ok[playerid] = 4; ShowPlayerDialog(playerid, DIALOG_TRANSFERIR, DIALOG_STYLE_INPUT, " Transferencia","Digite o ID de quem recebera o dinheiro transferido:", "Confirma", "Sair"); return 1; } if (playertextid == CaixaEletroCNFPlayer[playerid][5]) { CaixaEletronico_Ok[playerid] = 2; ShowPlayerDialog(playerid, DIALOG_CAIXA_ELETRONICO_INPUT, DIALOG_STYLE_INPUT, " Deposito","Digite a Quantia que Deseja Depositar:", "Confirma", "Sair"); return 1; } if(playertextid == CaixaEletroCNFPlayer[playerid][9]) { ForT:roubar(playerid); FecharCaixaEletronico(playerid); return 1; } return 1; } //---------------------------------------- //------------------------------------------------------- enum pGroceries { pChickens, pChicken, pHamburgers, pHamburger, pPizzas, pPizza, }; new Groceries[MAX_PLAYERS][pGroceries]; //------------------------------------------------------- new Text:ImagemEntrada; new Text:TextoEntrada; new Text:TextoEntrada1; new Text:TextoEntrada2; //new Text:BoxEntradaBlue; new Text:BoxEntrada1; new Text:BoxEntrada2; new Text:BoxEntrada3; new Text:BoxEntrada4; //--------------------------------------------------------------------- stock GetXYInTrasOfPlayer(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 GetPressingKey(playerid, key) { new keys, updown, leftright; GetPlayerKeys(playerid, keys, updown, leftright); if(keys & key) return true; return 0; } //------------------------------------------------------- //static const Float:CamasHospital[][]= //{ // {1150.787597,-1331.204956,-43.449481,269.804687}, // Cama1 // {1156.784912,-1331.126342,-43.449481,91.944999}, // Cama2 // {1150.701293,-1326.906250,-43.449481,272.986999}, // Cama3 // {1157.036010,-1326.839233,-43.449481,87.940910}, // Cama4 // {1156.812011,-1328.939575,-43.449481,94.271926} // Cama26 //}; //new camaid[MAX_PLAYERS]; //------------------------------------------------------- enum CofreInfo { DiaLider, Dinheiro, Materiais, Maconha, Cocaina, Crack, dMaconha, dEaglec1, dEaglec2, dEaglec3, dEaglec4, dEaglec5, dShotc1, dShotc2, dShotc3, dShotc4, dShotc5, dMP5c1, dMP5c2, dMP5c3, dMP5c4, dMP5c5, dAKc1, dAKc2, dAKc3, dAKc4, dAKc5, dM4c1, dM4c2, dM4c3, dM4c4, dM4c5, dRiflec1, dRiflec2, dRiflec3, dRiflec4, dRiflec5, cMaconha, cMateriais, mMateriais, mMaconha, salarioc1, salarioc2, salarioc3, salarioc4, salarioc5, salariolider, Vip, Diasvip, DiaVIP, MesVIP, AnoVIP, MatBox1, MatBox2, MatBox3, }; new CofreOrg[MAX_ORGS][CofreInfo]; new pCofreOrg[MAX_PLAYERS]; enum Oinfo { Lider[128], SubLider[128], Membro1[128], Membro2[128], Membro3[128], Membro4[128], Membro5[128], Membro6[128], Membro7[128], Membro8[128], Membro9[128], Membro10[128], Membro11[128], Membro12[128], Membro13[128], Membro14[128], Membro15[128], Membro16[128], Membro17[128], Membro18[128], Membro19[128], Membro20[128], Membro21[128], Membro22[128], Membro23[128], Membro24[128], Membro25[128], Membro26[128], Membro27[128], Membro28[128], Membro29[128], Membro30[128], //------ Ultimo Login ------ UL_Lider[128], UL_SubLider[128], UL_Membro1[128], UL_Membro2[128], UL_Membro3[128], UL_Membro4[128], UL_Membro5[128], UL_Membro6[128], UL_Membro7[128], UL_Membro8[128], UL_Membro9[128], UL_Membro10[128], UL_Membro11[128], UL_Membro12[128], UL_Membro13[128], UL_Membro14[128], UL_Membro15[128], UL_Membro16[128], UL_Membro17[128], UL_Membro18[128], UL_Membro19[128], UL_Membro20[128], UL_Membro21[128], UL_Membro22[128], UL_Membro23[128], UL_Membro24[128], UL_Membro25[128], UL_Membro26[128], UL_Membro27[128], UL_Membro28[128], UL_Membro29[128], UL_Membro30[128], }; //------------------------------------------------------- enum Oinfo2 { Candidato1[75], Candidato2[75], Candidato3[75], Candidato4[75], Candidato5[75], Candidato6[75], Candidato7[75], Candidato8[75], Candidato9[75], Candidato10[75], Candidato11[75], Candidato12[75], Candidato13[75], Candidato14[75], Candidato15[75], Candidato16[75], Candidato17[75], Candidato18[75], Candidato19[75], Candidato20[75], }; //------------------------------------------------------- new InfoOrg[MAX_ORGS][Oinfo]; new InfoOrg2[MAX_ORGS][Oinfo2]; new PatrocinioOrg[256][MAX_ORGS]; new admhide[MAX_PLAYERS]; new CP[MAX_PLAYERS]; new Choqued[MAX_VEHICLES]; //----------- taximetro ---------------- new PlayerText:ValorTaxista[MAX_PLAYERS]; new PlayerText:passTaxista[MAX_PLAYERS]; new PlayerText:Taxistam[MAX_PLAYERS]; new PlayerText:box1Taxista[MAX_PLAYERS]; new PlayerText:box2Taxista[MAX_PLAYERS]; new PlayerText:box3Taxista[MAX_PLAYERS]; //----------- Caminhao Carga ----------- new PlayerText:BoxC1[MAX_PLAYERS]; new PlayerText:BoxC2[MAX_PLAYERS]; new PlayerText:BoxC3[MAX_PLAYERS]; new PlayerText:Produtos[MAX_PLAYERS]; new PlayerText:Produtosnb[MAX_PLAYERS]; new PlayerText:tracoc[MAX_PLAYERS]; new PlayerText:MaxProdutosnb[MAX_PLAYERS]; new PlayerText:MaxProdutos[MAX_PLAYERS]; //--------------------------------------------------------- new bool:EntregandoPizza[MAX_PLAYERS]; new Text3D:BarDono[5]; new Text3D:TextMercadoNegro; new TempoEntrega[MAX_PLAYERS]; new bool:LocalSairHosp[MAX_PLAYERS]; new ValorSairHosp[MAX_PLAYERS]; enum e_votacao { bool:iniciada, sim, nao, } new bool:votou[MAX_PLAYERS]; new votacao[e_votacao]; new SeqOrg[MAX_ORGS]; //------------------- sistema login --------------- new MechLift; Float:GetXYInFrontOfCaixa(objectid, &Float:q, &Float:w, Float:distance) { new Float:a, Float:rotx, Float:roty; GetDynamicObjectPos(objectid, q, w, a); GetDynamicObjectRot(objectid, rotx, roty, a); q -= (distance * floatsin(-a, degrees)); w -= (distance * floatcos(-a, degrees)); return a; } enum caixa_info { bool:Caixa_Roubada, Caixa_Dinheiro, Caixa_Object, Caixa_Pickup, Text3D:Caixa_Text, Caixa_Pickups, //--- Objeto bomba Caixa_ObjectBomba, }; new CaixaInfo[MAX_CAIXAS][caixa_info]; new Pickups_Roubo[MAX_CAIXAS][MAX_PICKUPS_ROUBO]; new caixaid = 1; //------------------------------------------------------- enum pAInfo{ cMotivoAgendou[128], cAdminAgendou[64],}; new AgendouInfo[MAX_PLAYERS][pAInfo]; //------------------------------------------------------- new Float:goldx,Float:goldy,Float:goldz; new gold; new Eventogold[MAX_PLAYERS]; new Float:maletax,Float:maletay,Float:maletaz; new maleta; new Eventomaleta[MAX_PLAYERS]; new Float:bpfx,Float:bpfy,Float:bpfz; new bpf; new Eventobpf[MAX_PLAYERS]; new CarOffered[MAX_PLAYERS]; new AnuncioMandado; enum SAZONE_MAIN {SAZONE_NAME[28],Float:SAZONE_AREA[6]}; static const gSAZones[][SAZONE_MAIN] = { {"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 B", {-2831.80,-430.20,-6.10,-2646.40,-222.50,200.00}}, {"Avispa Country Club C", {-2361.50,-417.10,0.00,-2270.00,-355.40,200.00}}, {"Avispa Country Club D", {-2667.80,-302.10,-28.80,-2646.40,-262.30,71.10}}, {"Avispa Country Club E", {-2470.00,-355.40,0.00,-2270.00,-318.40,46.10}}, {"Avispa Country Club F", {-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 B ", {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 B", {1325.60,596.30,-89.00,1375.60,795.00,110.90}}, {"Blackfield C", {1197.30,1044.60,-89.00,1277.00,1163.30,110.90}}, {"Blackfield D", {1166.50,795.00,-89.00,1375.60,1044.60,110.90}}, {"Blackfield E", {1277.00,1044.60,-89.00,1315.30,1087.60,110.90}}, {"Blackfield F", {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 B", {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 B", {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 H all", {-2867.80,277.40,-9.10,-2593.40,458.40,200.00}}, {"Castelo", {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 B", {1323.90,-1722.20,-89.00,1440.90,-1577.50,110.90}}, {"Commerce C", {1370.80,-1577.50,-89.00,1463.90,-1384.90,110.90}}, {"Commerce D", {1463.90,-1577.50,-89.00,1667.90,-1430.80,110.90}}, {"Commerce E", {1583.50,-1722.20,-89.00,1758.90,-1577.50,110.90}}, {"Commerce F", {1667.90,-1577.50,-89.00,1812.60,-1430.80,110.90}}, {"Conference CF", {1046.10,-1804.20,-89.00,1323.90,-1722.20,110.90}}, {"Conference CF", {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,-2018.92,110.90}}, {"Estacao Unity", {1692.60,-2018.92,-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 ", {-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}}, {"Pista de Skate", {1812.60,-1449.60,-89.00,1996.90,-1350.70,110.90}}, {"Parque Gleen", {1812.60,-1100.80,-89.00,1994.30,-973.30,110.90}}, {"Parque Gleen", {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}}, {"Morro", {1994.30,-1100.80,-89.00,2056.80,-920.80,110.90}}, {"Morro", {2056.80,-1126.30,-89.00,2126.80,-920.80,110.90}}, {"Morro", {2185.30,-1154.50,-89.00,2281.40,-934.40,110.90}}, {"Morro", {2126.80,-1126.30,-89.00,2185.30,-934.40,110.90}}, {"Morro", {2747.70,-1120.00,-89.00,2959.30,-945.00,110.90}}, {"Morro", {2632.70,-1135.00,-89.00,2747.70,-945.00,110.90}}, {"Morro", {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}}, {"Liberty City", {-1000.00,400.00,1300.00,-700.00,600.00,1400.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}}, {"HQ ADM", {3033.17, -2053.81,-89.00,3102.69,-1933.12,110.90}}, {"Aeroporto Los Santos", {1249.60,-2394.30,-89.00,1852.00,-2179.20,110.90}}, {"Aeroporto Los Santos", {1852.00,-2394.30,-89.00,2089.00,-2179.20,110.90}}, {"Aeroporto Los Santos", {1382.70,-2730.80,-89.00,2201.80,-2394.30,110.90}}, {"Aeroporto Los Santos", {1974.60,-2394.30,-39.00,2089.00,-2256.50,60.90}}, {"Aeroporto Los Santos", {1400.90,-2669.20,-39.00,2189.80,-2597.20,60.90}}, {"Aeroporto Los Santos", {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", {1546.60,208.10,0.00,1745.80,347.40,200.00}}, {"Montgomery", {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}}, {"Richman", {321.30,-768.00,-89.00,700.70,-674.80,110.90}}, {"Robada", {-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}}, {"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,-1056.02,-89.00,952.60,-954.60,110.90}}, {"Cemiterio", {787.40,-1130.80,-89.00,952.59,-1056.01,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}}, {"Navio de Cargas", {721.48,-2263.62,-89.00,985.48,-2173.20,110.90}}, // Citys 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}} }; enum cInfo { cModel, Float:cLocationx, Float:cLocationy, Float:cLocationz, Float:cOLocationx, Float:cOLocationy, Float:cOLocationz, Float:cAngle, Float:cOAngle, cColorOne, cColorTwo, cEntrada, cOwner[35], cDescription[128], cDate, cValue, cLicense, cRegistration, cOwned, cLock, ownedvehicle, cGrana, Text3D:cText, cID, paintjob, PaintJobOn, }; new CarInfo[20][cInfo]; enum StreetInfo { Tels[20], PLojaA1, pTels, PLojaA2, PpLoja247, PpLoja2472, ArmaLoja[52], InicioGuerra, PAbriuRG, }; new BPFInfo[MAX_PLAYERS][StreetInfo]; //------------------------------------------------------- static const aNames[55][] ={ "Desarmado", "Soqueira", "Taco de Golf", "Cacetete", "Faca", "Taco de Base-Ball", "Pa de pedreiro", "Cano", "Espada", "Motoserra", "Vibrador", "Vibrador", "Vibrador", "Vibrador", "Flores", "Pe de cabra", "Granada", "Bomba de Gas", "Coquetel-Molotov", "Desconhecido 19", "Desconhecido 20", "Jetpack", "Pistola 9mm", "Pistola 9mm com Silenciador", "Desert Eagle", "Shotgun", "Escopeta do cano serrado", "Escopeta de combate", "Micro Uzi", "MP5", "Ak-47", "M4", "Tec9", "Rifle", "Rifle-Sniper", "Lanca Missil", "Lanca Missil RPG", "Lanca Chamas", "Minigun", "Explosivo Remoto", "Detonador", "Spray", "Extintor", "Camera", "Òculos de Visao noturna", "Oculos Infra Vermelho", "Paraquedas", "Desconhecido", "Desconhecido", "Desconhecido", "Desconhecido", "Desconhecido", "Desconhecido", "Desconhecido", "Desconhecido"}; //------------------------------------------------------- new Float:ex; new Float:ey; new Float:ez; new Evento; new vwa; new inta; //testee new Text:textXizinho; new NomeCarro[128]; new pYakuza1; new PDEx; new PortaoRally; new PortaoReporter; new PDDOORa; new PDDOORb; new PDDOORc; new PDPMLS; new PDPE; new PDPE2; new PDPE3; new PDELEVATOR; //-------------- new PortaoPMSF; new Tax = 0; new TaxValue= 0; new Jackpot = 0; new PLE = 0; new PLO = 0; new PLPG = 0; new PMA = 0; new PTC = 0; new PLV = 0; new PMC = 0; new PMH = 0; new PME = 0; new PRE = 0; new PCE = 0; new PDU = 0; new hitfound = 0; new hittid = 999; new Copsronda = 0; new CopsrondaCall = 999; new CopsrondaCallTime[MAX_PLAYERS]; new CopsrondaAccepted[MAX_PLAYERS]; new Medics = 0; new MedicCall = 999; new Bombers = 0; new BombCall = 999; new ErrouSenha[MAX_PLAYERS]; new BombCallTime[MAX_PLAYERS]; new MedicCallTime[MAX_PLAYERS]; new MedicAccepted[MAX_PLAYERS]; new BombAccepted[MAX_PLAYERS]; new Mechanics = 0; new MechanicCall = 999; new MechanicCallTime[MAX_PLAYERS]; new MechanicAccepted[MAX_PLAYERS]; new DetranTrampo = 0; new DetranChamada = 999; new DetranChamadaTempo[MAX_PLAYERS]; new DetranAceitou[MAX_PLAYERS]; new TaxistaDrivers = 0; new AdvOns = 0; new AdvCall = 999; new AdvCallTime[MAX_PLAYERS]; new AdvAccepted[MAX_PLAYERS]; new TaxistaCall = 999; new TaxistaCallTime[MAX_PLAYERS]; new TaxistaAccepted[MAX_PLAYERS]; new BusDrivers = 0; new BusCall = 999; new BusCallTime[MAX_PLAYERS]; new BusAccepted[MAX_PLAYERS]; new TransportDuty[MAX_PLAYERS]; new TransportValue[MAX_PLAYERS]; new TransportMoney[MAX_PLAYERS]; new TransportTime[MAX_PLAYERS]; new TransportPlayer[MAX_PLAYERS]; new TransportCost[MAX_PLAYERS]; new TransportDriver[MAX_PLAYERS]; new EmpregoDuty[MAX_PLAYERS]; new RegistrationStep[MAX_PLAYERS]; new UsedFind[MAX_PLAYERS]; new WatchingTV[MAX_PLAYERS]; new NoFuel[MAX_PLAYERS]; new MatsHolding[MAX_PLAYERS]; new DivorceOffer[MAX_PLAYERS]; new MarriageCeremoney[MAX_PLAYERS]; new ProposeOffer[MAX_PLAYERS]; new ProposedTo[MAX_PLAYERS]; new GotProposedBy[MAX_PLAYERS]; new MarryWitness[MAX_PLAYERS]; new MarryWitnessOffer[MAX_PLAYERS]; new TicketOffer[MAX_PLAYERS]; new TicketMoney[MAX_PLAYERS]; new MercOffer[MAX_PLAYERS]; new MercMoney[MAX_PLAYERS]; new PlayerStoned[MAX_PLAYERS]; new PlayerDrunk[MAX_PLAYERS]; new PlayerDrunkTime[MAX_PLAYERS]; new timeinc; new PlayerTazeTime[MAX_PLAYERS]; new CarOffer[MAX_PLAYERS]; new CarPrice[MAX_PLAYERS]; new CarID[MAX_PLAYERS]; new GotHit[MAX_PLAYERS]; new GotTri[MAX_PLAYERS]; new GotMer[MAX_PLAYERS]; new GoChase[MAX_PLAYERS]; new GetChased[MAX_PLAYERS]; new OrderReady[MAX_PLAYERS]; new ConnectedToPC[MAX_PLAYERS]; new MedicTime[MAX_PLAYERS]; new NeedMedicTime[MAX_PLAYERS]; new MedicBill[MAX_PLAYERS]; new PlayerTied[MAX_PLAYERS]; new BlindFold[MAX_PLAYERS]; new PlayerCuffed[MAX_PLAYERS]; new PlayerCuffedTime[MAX_PLAYERS]; new LiveOffer[MAX_PLAYERS]; new TalkingLive[MAX_PLAYERS]; new SelectChar[MAX_PLAYERS]; new SelectCharID[MAX_PLAYERS]; new SelectCharPlace[MAX_PLAYERS]; new ChosenSkin[MAX_PLAYERS]; new GettingEmprego[MAX_PLAYERS]; new GuardOffer[MAX_PLAYERS]; new GuardPrice[MAX_PLAYERS]; new Condom[MAX_PLAYERS]; new SexOffer[MAX_PLAYERS]; new SexPrice[MAX_PLAYERS]; new BlindarOffer[MAX_PLAYERS]; new BlindarPrice[MAX_PLAYERS]; new RepairOffer[MAX_PLAYERS]; new RepairPrice[MAX_PLAYERS]; new RefillOffer[MAX_PLAYERS]; new RefillPrice[MAX_PLAYERS]; new RepairCar[MAX_PLAYERS]; new DrugOffer[MAX_PLAYERS]; new DrugPrice[MAX_PLAYERS]; new DrugGram[MAX_PLAYERS]; new WantedPoints[MAX_PLAYERS]; new OnDuty[MAX_PLAYERS]; new gPlayerCheckpointStatus[MAX_PLAYERS]; new gPlayerSpawned[MAX_PLAYERS]; new gLastCar[MAX_PLAYERS]; new BigEar[MAX_PLAYERS]; new Spectate[MAX_PLAYERS]; new CellTime[MAX_PLAYERS]; new HireCar[MAX_PLAYERS]; new SafeTime[MAX_PLAYERS]; new PhoneOnline[MAX_PLAYERS]; new gDice[MAX_PLAYERS]; new OfAssalto[MAX_PLAYERS]; new OfVerLicencas[MAX_PLAYERS]; new VendoLicencas[MAX_PLAYERS]; new EmLicencas[MAX_PLAYERS]; new OfPorteArmas[MAX_PLAYERS]; new OffBaz[MAX_PLAYERS]; new PrecoBaz[MAX_PLAYERS]; new AmmoBaz[MAX_PLAYERS]; new SwitchKey[MAX_PLAYERS]; new Fixr[MAX_PLAYERS]; new Mobile[MAX_PLAYERS]; new RingTone[MAX_PLAYERS]; new CallCost[MAX_PLAYERS]; new gPlayerConta[MAX_PLAYERS]; new DMSystem[MAX_PLAYERS][MAX_PLAYERS]; new gLastDriver[MAX_VEHICLES]; new ghour = 0; //new levelcost = 50000; new callcost = 10; new realchat = 1; new timeshift = 0; new levelexp = 4; new cchargetime = 60; new Float:ChangePos[MAX_PLAYERS][3]; new ChangePos2[MAX_PLAYERS][2]; new TimeGranaTR = (2)*60;//2 minutos new Timer_Object_Maconha[MAX_PLAYERS]; //=========== new Refueling[MAX_PLAYERS]; new TunC= -1; new Weathersave = 0; new Music[MAX_PLAYERS]; //------------------------------------------------------- static const Float:RotaChecks[9][3] = { {1346.7188,-1732.3940,13.3906}, {2100.3240,-1806.8553,13.5547}, {1498.9061,-1591.8199,13.3828}, {1789.4310,-1173.4104,23.6518}, {1465.6827,-1033.9873,23.6563}, {1018.5015,-1144.9186,23.6563}, {1061.5659,-1874.6350,13.2288}, {1242.4274,-1851.4144,13.3828}, {2081.7222,-1809.4294,13.3828}}; //------------------------------------------------------- static const Float:gInviteSpawns[10][4] = { {-1976.5912,166.1818,36.9623,272.6393}, {-1975.8610,162.1945,36.9623,272.0126}, {-1975.7461,157.5404,36.9623,276.1093}, {-1975.2136,151.4920,36.9623,268.2993}, {-1974.9963,145.3430,36.9623,269.2628}, {-1975.5842,140.8170,36.9623,269.8895}, {-1975.7874,134.0368,36.9623,271.7696}, {-1975.1681,129.0926,36.9623,270.8531}, {-1975.9069,121.4700,36.9623,270.5631}, {-1975.3311,112.7078,36.9623,267.7665}}; //------------------------------------------------------- static const Float:FlySpawns[][] = { //----[ Aviao ]-----// {-1491.1969,-11.7741,48.7185}, {-1789.4520,-415.3133,113.8290}, {-1896.8480,-1263.6472,132.0538}, {-2037.3015,-1897.4117,177.8156}, {-2274.9436,-2610.8142,68.1777}, {-1525.0313,-2945.8933,44.1423}, {-978.3129,-2930.2197,62.2493}, {-755.1094,-3373.6997,69.6178}, {-1107.6266,-3440.2268,70.5846}, {-1114.9528,-2894.9722,44.0651} }; //------------------------------------------------------- static const Float:BoatSpawns[][] = { {111.3130,-432.2714,-0.5148}, {303.4040,-339.7429,-0.2797}, {555.4991,-242.5986,-0.0648}, {823.6974,-139.2229,-0.3063}, {1056.0095,-110.0787,0.0905}, {1317.9407,-235.2081,-0.1033}, {1598.9757,-78.1478,-0.0086}, {1870.5237,-47.7913,-0.0711}, {2097.8455,-2.9056,-0.3076}, {2210.1038,382.6406,-0.0424}, {2529.3115,456.7664,0.0935}, {2847.7654,335.6822,-0.1901}, {2963.8286,-85.5185,-0.0494}, {2996.7993,-715.7225,0.0608}, {2977.1450,-1561.7919,0.0817}, {2988.7041,-1881.2853,-0.0454}, {2908.3611,-2410.7231,-0.1064}, {2624.6680,-2770.3235,0.1763}, {2016.3397,-2897.8135,-0.2225}, {1268.5513,-2756.5977,0.0159}, {921.5064,-2275.2744,0.0590}, {906.0276,-1943.5052,-0.4901} }; //------------------------------------------------------- enum pCooking { pCook1[20], pCook2[20], pCook3[20], pCook4[20], pCook5[20], pCWeight1, pCWeight2, pCWeight3, pCWeight4, pCWeight5, pCookID1, pCookID2, pCookID3, pCookID4, pCookID5, }; new Cooking[MAX_PLAYERS][pCooking]; enum pSpec { Float:Coords[3], Float:sPx, Float:sPy, Float:sPz, sPint, sLocal, sCam, }; new Unspec[MAX_PLAYERS][pSpec]; new bool:UsouDesbugar[MAX_PLAYERS]; //------------------------------------------------------- //------------------------------------------------------- new Text:DropTextdraw0; new Text:DropTextdraw1; new Text:DropTextdraw2; new Text:DropTextdraw3; new Text:DropTextdraw4; new PlayerText:DropTextdraw5[MAX_PLAYERS]; #define MAX_IMPOSTOS_CASA 15 #define D_PAGAR_IMPOSTOS 28372 enum hInfo { Float:hEntrancex, Float:hEntrancey, Float:hEntrancez, Float:hExitx, Float:hExity, Float:hExitz, hHealthx, hHealthy, hHealthz, hArmorrx, hArmorry, hArmorrz, hOwner[MAX_PLAYER_NAME], hDiscription[128], hVerData[85], hValue, hHel, hArm, hInt, hLock, hOwned, hRooms, hRent, hRentabil, hTakings, hMapIcon, hVcol1, hVcol2, hDate, hLevel, hImpostos, hPagarImpostos, hWorld, bool:Created, //-----Neon-----// hNeon }; new HouseInfo[MAX_HOUSES][hInfo]; //------------------------------------------------------- enum bInfo { bOwned, bOwner[64], bDate, bMessage[255], bExtortion[MAX_PLAYER_NAME], Float:bEntranceX, Float:bEntranceY, Float:bEntranceZ, Float:bExitX, Float:bExitY, Float:bExitZ, bLevelNeeded, bBuyPrice, bEntranceCost, bTill, bLocked, bInterior, bWorld, bProducts, bMaxProducts, bPriceProd, bProductsReq, MapICON, }; new BizzInfo[MAX_BIZZES][bInfo], PlayerBizzID[MAX_PLAYERS] = {-1, ...}; 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; } //------------------------------------------------------- enum pCrime { pBplayer[55], pAccusing[55], pAccusedof[55], pVictim[55], }; new PlayerCrime[MAX_PLAYERS][pCrime]; //------------------------------------------------------- new PlayerText:TextTeste[MAX_PLAYERS][4]; new InTeste[MAX_PLAYERS]; new TempoTeste[MAX_PLAYERS]; new AtualCP[MAX_PLAYERS]; new TOTAL_CARROS; //------------------------------------------------------- public OnDynamicObjectMoved(objectid) { new Float:x, Float:y, Float:z; for(new i; i < sizeof(Obj_FloorDoors); i ++) { if(objectid == Obj_FloorDoors[i][0]) { GetDynamicObjectPos(Obj_FloorDoors[i][0], x, y, z); if(x < X_DOOR_L_OPENED - 0.5) // Some floor doors have shut, move the elevator to next floor in queue: { Elevator_MoveToFloor(ElevatorQueue[0]); RemoveFirstQueueFloor(); } } } if(objectid == Obj_Elevator) // The elevator reached the specified floor. { KillTimer(ElevatorBoostTimer); // Kills the timer, in case the elevator reached the floor before boost. FloorRequestedBy[ElevatorFloor] = INVALID_PLAYER_ID; Elevator_OpenDoors(); Floor_OpenDoors(ElevatorFloor); GetDynamicObjectPos(Obj_Elevator, x, y, z); Label_Elevator = Create3DTextLabel("{CCCCCC}Pressione '{FFFFFF}F{CCCCCC}' para usar o elevador", 0xCCCCCCAA, 1784.9822, -1302.0426, z - 0.9, 10.0, 0); Elevator_Pickup = CreatePickup(1239,23,1784.9822, -1302.0426, z - 0.9,-1); ElevatorState = ELEVATOR_STATE_WAITING; SetTimer("Elevator_TurnToIdle", ELEVATOR_WAIT_TIME, 0); } foreach(Player, playerid) { if(ObjectMovePlayer[playerid] == 0) { PlayerPlaySound(playerid, 1036, 0.0, 0.0, 0.0); PlayerPlaySound(playerid, 0, 0.0, 0.0, 0.0); ObjectMovePlayer[playerid] = -1; } if(ObjectMovePlayer[playerid] == objectid) { PlayerPlaySound(playerid, 1036, 0.0, 0.0, 0.0); PlayerPlaySound(playerid, 0, 0.0, 0.0, 0.0); ObjectMovePlayer[playerid] = 0; } } return 1; } new Text:MsgBox; //-------------------------------------------------------------------------- ShowTaxista(playerid) { PlayerTextDrawShow(playerid,ValorTaxista[playerid]); PlayerTextDrawShow(playerid,Taxistam[playerid]); PlayerTextDrawShow(playerid,passTaxista[playerid]); PlayerTextDrawShow(playerid,box1Taxista[playerid]); PlayerTextDrawShow(playerid,box2Taxista[playerid]); PlayerTextDrawShow(playerid,box3Taxista[playerid]); } HideTaxista(playerid) { PlayerTextDrawHide(playerid,ValorTaxista[playerid]); PlayerTextDrawHide(playerid,Taxistam[playerid]); PlayerTextDrawHide(playerid,passTaxista[playerid]); PlayerTextDrawHide(playerid,box1Taxista[playerid]); PlayerTextDrawHide(playerid,box2Taxista[playerid]); PlayerTextDrawHide(playerid,box3Taxista[playerid]); } ShowCami(playerid) { PlayerTextDrawShow(playerid,BoxC1[playerid]); PlayerTextDrawShow(playerid,BoxC2[playerid]); PlayerTextDrawShow(playerid,BoxC3[playerid]); PlayerTextDrawShow(playerid,Produtos[playerid]); PlayerTextDrawShow(playerid,Produtosnb[playerid]); PlayerTextDrawShow(playerid,MaxProdutos[playerid]); PlayerTextDrawShow(playerid,MaxProdutosnb[playerid]); PlayerTextDrawShow(playerid,tracoc[playerid]); } HideCami(playerid) { PlayerTextDrawHide(playerid,BoxC1[playerid]); PlayerTextDrawHide(playerid,BoxC2[playerid]); PlayerTextDrawHide(playerid,BoxC3[playerid]); PlayerTextDrawHide(playerid,Produtos[playerid]); PlayerTextDrawHide(playerid,Produtosnb[playerid]); PlayerTextDrawHide(playerid,MaxProdutos[playerid]); PlayerTextDrawHide(playerid,MaxProdutosnb[playerid]); PlayerTextDrawHide(playerid,tracoc[playerid]); } static stock Ex_AddStaticVehicleEx(modelidd, Float:spawn_xx, Float:spawn_yy, Float:spawn_zz, Float:z_anglee, color11, color22, respawn_delayy) { new cid = AddStaticVehicleEx(modelidd, Float:spawn_xx, Float:spawn_yy, Float:spawn_zz, Float:z_anglee, color11, color22, respawn_delayy); TOTAL_CARROS = cid; return cid; } #if defined _ALS_AddStaticVehicleEx #undef AddStaticVehicleEx #else #define _ALS_AddStaticVehicleEx #endif #define AddStaticVehicleEx Ex_AddStaticVehicleEx new CarConce[MAX_VEHICLES] = 0; stock ConvertTime(number) { new hours = 0, mins = 0, secs = 0, string[100]; hours = floatround(number / 3600); mins = floatround((number / 60) - (hours * 60)); secs = floatround(number - ((hours * 3600) + (mins * 60))); new days = 0; if(hours >= 24) { days = floatround((hours/24), floatround_floor); hours = hours % 24; } if(days > 0) { format(string, 100, "%d dias, %02d:%02d:%02d", days, hours, mins, secs); } else if(hours > 0) { format(string, 100, "%02d:%02d:%02d", hours, mins, secs); } else { format(string, 100, "%02d:%02d", mins, secs); } return string; } stock convertNumber(n) { new dia, hr, mn, seg, resto; resto = n; seg = resto % 60; resto /= 60; mn = resto % 60; resto /= 60; hr = resto % 24; resto /= 24; dia = resto; new str[50]; format(str, sizeof(str), "%dd, %02dh %02dm %02ds", dia, hr, mn, seg); return str; } stock GetPlayerPosCorrida(playerid) { if(!PlayerInCorrida[playerid])return true; PlayerInCPCorrida[playerid]++; new string[200]; if(PlayerInCPCorrida[playerid] == CPsCorrida) { new cpid = PlayerInCPCorrida[playerid]; SetPlayerRaceCheckpoint(playerid, 1, CPCorrida[cpid][0], CPCorrida[cpid][1],CPCorrida[cpid][2], CPCorrida[cpid+1][0],CPCorrida[cpid+1][1],CPCorrida[cpid+1][2], 15.0); PlayerPlaySound(playerid, 1139, 0.0, 0.0, 0.0); return true; } if(PlayerInCPCorrida[playerid]-1 >= CPsCorrida) { GanhadoresCorrida++; new record = DOF2_GetInt(Pasta_Corridas, "record"); new time = gettime()-GetPVarInt(playerid, "TimeCorrida"); if(GanhadoresCorrida >= 1 && GanhadoresCorrida <= 3) { if(time < record) { DOF2_SetInt(Pasta_Corridas, "record", time); DOF2_SaveFile(); format(string, sizeof string, "{00DB1D}[NOVO RECORD: %s]{FFFFFF}*** Corrida: O corredor %s Chegou em %dº lugar na corrida*** {00DB1D}[R$%s]", ConvertTime(time), NomePlayer(playerid), GanhadoresCorrida, ConvertMoney(PremioCorrida[GanhadoresCorrida])); } else{ format(string, sizeof string, "*** Corrida: O corredor %s Chegou em %dº lugar na corrida, Tempo: %s *** {00DB1D}[R$%s]",NomePlayer(playerid), GanhadoresCorrida, ConvertTime(time), ConvertMoney(PremioCorrida[GanhadoresCorrida])); } SendClientMessageToAll(-1, string); GiveDinheiro(playerid, PremioCorrida[GanhadoresCorrida]); } else { format(string, sizeof string, "*** Corrida: O corredor %s Chegou em %dº lugar na corrida, Tempo: %s ***", NomePlayer(playerid), GanhadoresCorrida, ConvertTime(gettime()-GetPVarInt(playerid, "TimeCorrida"))); SendClientMessageToAll(-1, string); } DisablePlayerRaceCheckpoint(playerid); SoundToAll(36205); return true; } new cpid = PlayerInCPCorrida[playerid]; SetPlayerRaceCheckpoint(playerid, 0, CPCorrida[cpid][0], CPCorrida[cpid][1],CPCorrida[cpid][2], CPCorrida[cpid+1][0],CPCorrida[cpid+1][1],CPCorrida[cpid+1][2], 15.0); PlayerPlaySound(playerid, 1139, 0.0, 0.0, 0.0); return true; } //------------------------------------------------------- SalvarSenhaAdmin(){ if(!DOF2_FileExists(Pasta_SenhaAdm)){ DOF2_CreateFile(Pasta_SenhaAdm); } DOF2_SetString(Pasta_SenhaAdm, "Senha", SenhaAdministracao); DOF2_SaveFile(); } LoadSenhaAdmin(){ if(DOF2_FileExists(Pasta_SenhaAdm)){ format(SenhaAdministracao, 128, DOF2_GetString(Pasta_SenhaAdm, "Senha")); } return SenhaAdministracao; } CallBack::SalvarSenhaSeguranca() { DOF2_SetString(Pasta_SenhaSeguranca,"Senha",SenhaSeguranca); DOF2_SaveFile(); return true; } static stock SalvarLogados() { DOF2_SetInt(Pasta_Logados,"Logados",entrousv); DOF2_SaveFile(); return true; } static stock CarregarLogados() { entrousv = DOF2_GetInt(Pasta_Logados,"Logados"); return true; } stock IsPlayerInAnyLanchonete(playerid){ if(IsPlayerInRangeOfPoint(playerid, 2.0, 375.5736,-68.2086,1001.5151) || IsPlayerInRangeOfPoint(playerid, 2.0, 368.7890,-6.8570,1001.8516) || IsPlayerInRangeOfPoint(playerid, 2.0, 374.0000,-119.6410,1001.4922)) { return 1; } return 0; } //------------------------------------------------------- CallBack::CarregarSenhaSeguranca() { strmid(SenhaSeguranca,DOF2_GetString(Pasta_SenhaSeguranca,"Senha"),0,strlen(DOF2_GetString(Pasta_SenhaSeguranca,"Senha")),255); return true; } stock FomeChange(playerid, Float:change){ static Str[78] ; //Burger Play if(IsPlayerInRangeOfPoint(playerid, 2.0, 375.5736,-68.2086,1001.5151)) { GivePlayerMoneyEx(playerid, - 10); format(Str, 78, "* Voce esta comendo algo no Burger Play, -%.0f de fome !", change); SendClientMessage(playerid, COLOR_LIGHTBLUE, Str); //Grana para a empresa Burger Play SBizzInfo[25][sbProducts] -= 5; SBizzInfo[25][sbTill] += 500; ExtortionSBiz(25, 250); SalvarSEmpresa(25); Atualizar3Dtexts(); } //Cluckin'Bell else if(IsPlayerInRangeOfPoint(playerid, 2.0, 368.7890,-6.8570,1001.8516)) { GivePlayerMoneyEx(playerid, - 10); format(Str, 78, "* Voce esta comendo algo no Cluckin'Bell, -%.0f de fome !", change); SendClientMessage(playerid, COLOR_LIGHTBLUE, Str); //Grana para a empresa Cluckin'Bell SBizzInfo[25][sbProducts] -= 5; SBizzInfo[25][sbTill] += 500; ExtortionSBiz(25, 250); SalvarSEmpresa(25); Atualizar3Dtexts(); } //Pizza Stack else if(IsPlayerInRangeOfPoint(playerid, 2.0, 374.0000,-119.6410,1001.4922)) { GivePlayerMoneyEx(playerid, - 10); format(Str, 78, "* Voce esta comendo algo no Pizza Stack, -%.0f de fome !", change); SendClientMessage(playerid, COLOR_LIGHTBLUE, Str); //Grana para a empresa Pizza Stack SBizzInfo[25][sbProducts] -= 5; SBizzInfo[25][sbTill] += 500; ExtortionSBiz(25, 250); SalvarSEmpresa(25); Atualizar3Dtexts(); } return 1; } //------------------------------------------------------- stock PlaySoundForPlayersInRange(soundid, Float:range, Float:x, Float:y, Float:z) { foreach(Player, i) { if(IsPlayerInRangeOfPoint(i,range,x,y,z)) { PlayerPlaySound(i, soundid, x, y, z); } } } //------------------------------------------------------- stock RemovePlayerWeapon(playerid, weaponid) { new plyWeapons[12] = 0; new plyAmmo[12] = 0; for(new sslot = 0; sslot != 12; sslot++) { new wep, ammo; GetPlayerWeaponData(playerid, sslot, wep, ammo); if(wep != weaponid && ammo != 0) GetPlayerWeaponData(playerid, sslot, plyWeapons[sslot], plyAmmo[sslot]); } ResetPlayerWeapons(playerid); for(new sslot = 0; sslot != 12; sslot++) if(plyAmmo[sslot] != 0) GivePlayerWeapon(playerid, plyWeapons[sslot], plyAmmo[sslot]); return 1; } //------------------------------------------------------- //------ Pizza TextLabels ------ stock UpdateBarText(id) { new string[128]; if(id == 1) { if(donobar == 1) { format(string, sizeof string, "Dono do Bar\nJizzy's Bar\nDono:{961e32} %s\n{FFFFFF}Aperte F para Acessar", GetNomeOrg(24)); UpdateDynamic3DTextLabelText(BarDono[0], COLOR_WHITE, string); } else if(donobar == 2) { format(string, sizeof string, "Dono do Bar\nJizzy's Bar\nDono:{535d71} %s\n{FFFFFF}Aperte F para Acessar", GetNomeOrg(25)); UpdateDynamic3DTextLabelText(BarDono[0], COLOR_WHITE, string); } else if(donobar == 0) { UpdateDynamic3DTextLabelText(BarDono[0], COLOR_WHITE, "Dono do Bar\nJizzy's Bar\nDono: Ninguem\n{FFFFFF}Aperte F para Acessar"); } } else if(id == 2) { if(donobar2 == 1) { format(string, sizeof string, "Dono do Bar\nRock Bar\nDono:{961e32} %s\n{FFFFFF}Aperte F para Acessar", GetNomeOrg(24)); UpdateDynamic3DTextLabelText(BarDono[1], COLOR_WHITE, string); } else if(donobar2 == 2) { format(string, sizeof string, "Dono do Bar\nRock Bar\nDono:{535d71} %s\n{FFFFFF}Aperte F para Acessar", GetNomeOrg(25)); UpdateDynamic3DTextLabelText(BarDono[1], COLOR_WHITE, string); } else if(donobar2 == 0) { UpdateDynamic3DTextLabelText(BarDono[1], COLOR_WHITE, "Dono do Bar\nRock Bar\nDono: Ninguem\n{FFFFFF}Aperte F para Acessar"); } } else if(id == 3) { if(donobar3 == 1) { format(string, sizeof string, "Dono do Bar\nConqui's Bar\nDono:{961e32} %s\n{FFFFFF}Aperte F para Acessar", GetNomeOrg(24)); UpdateDynamic3DTextLabelText(BarDono[2], COLOR_WHITE, string); } else if(donobar3 == 2) { format(string, sizeof string, "Dono do Bar\nConqui's Bar\nDono:{535d71} %s\n{FFFFFF}Aperte F para Acessar", GetNomeOrg(25)); UpdateDynamic3DTextLabelText(BarDono[2], COLOR_WHITE, string); } else if(donobar3 == 0) { UpdateDynamic3DTextLabelText(BarDono[2], COLOR_WHITE, "Dono do Bar\nConqui's Bar\nDono: Ninguem\n{FFFFFF}Aperte F para Acessar"); } } else if(id == 4) { if(donobar4 == 1) { format(string, sizeof string, "Dono do Bar\nFifth's Bar\nDono:{961e32} %s\n{FFFFFF}Aperte F para Acessar", GetNomeOrg(24)); UpdateDynamic3DTextLabelText(BarDono[3], COLOR_WHITE, string); } else if(donobar4 == 2) { format(string, sizeof string, "Dono do Bar\nFifth's Bar\nDono:{535d71} %s\n{FFFFFF}Aperte F para Acessar", GetNomeOrg(25)); UpdateDynamic3DTextLabelText(BarDono[3], COLOR_WHITE, string); } else if(donobar4 == 0) { UpdateDynamic3DTextLabelText(BarDono[3], COLOR_WHITE, "Dono do Bar\nFifth's Bar\nDono: Ninguem\n{FFFFFF}Aperte F para Acessar"); } } else if(id == 5) { if(donobar5 == 1) { format(string, sizeof string, "Dono do Bar\nLone's Bar\nDono:{961e32} %s\n{FFFFFF}Aperte F para Acessar", GetNomeOrg(24)); UpdateDynamic3DTextLabelText(BarDono[4], COLOR_WHITE, string); } else if(donobar5 == 2) { format(string, sizeof string, "Dono do Bar\nLone's Bar\nDono:{535d71} %s\n{FFFFFF}Aperte F para Acessar", GetNomeOrg(25)); UpdateDynamic3DTextLabelText(BarDono[4], COLOR_WHITE, string); } else if(donobar5 == 0) { UpdateDynamic3DTextLabelText(BarDono[4], COLOR_WHITE, "Dono do Bar\nLone's Bar\nDono: Ninguem\n{FFFFFF}Aperte F para Acessar"); } } return 0; } CMD:specialaction(playerid, params[]) { new sp; if(sscanf(params, "d", sp))return true; SetPlayerSpecialAction(playerid, sp); return true; } //------------------------------------------------------- stock GetPizzaMotoC(playerid) { new Float:x, Float:y, Float:z; for(new j = 0, i = 0; j < sizeof(empVehicles); j++) { if(empVehicles[i][orgID] == 20) { GetVehiclePos(CarroPizza(i), x, y, z); if(IsPlayerInRangeOfPoint(playerid, 2.0, x, y, z)) { return i; } i++; } } return -1; } //------------------------------------------------------- static stock CreateCaixa(objectid, Float:x, Float:y, Float:z, Float:rotx, Float:roty, Float:rotz) { if(caixaid >= MAX_CAIXAS)return 0; CaixaInfo[caixaid][Caixa_Object] = CreateDynamicObject(objectid, x, y, z, rotx, roty, rotz); CaixaInfo[caixaid][Caixa_Dinheiro] = 0; CaixaInfo[caixaid][Caixa_Roubada] = false; new Float:pX, Float:pY, Float:pZ; GetDynamicObjectPos(CaixaInfo[caixaid][Caixa_Object], pX, pY, pZ); GetXYInFrontOfCaixa(CaixaInfo[caixaid][Caixa_Object], pX, pY, 1.0); CaixaInfo[caixaid][Caixa_Pickup] = CreatePickup(1274 , 1, pX,pY,pZ); CaixaInfo[caixaid][Caixa_Text] = Create3DTextLabel("[CNF-RP]\n{FFFFFF}Caixa Eletronico\nAperte '{4682B4}F{FFFFFF}' para usar", 0x4682B4FF, pX, pY, pZ, 15.0, 0); caixaid ++; return true; } static stock GetPlayerCaixa(playerid) { new Float:px, Float:py, Float:pz; for(new caixa = 1; caixa < MAX_CAIXAS; caixa++) { GetDynamicObjectPos(CaixaInfo[caixa][Caixa_Object], px, py, pz); if(IsPlayerInRangeOfPoint(playerid, 2.0, px, py, pz)) return caixa; } return 0; } //------------------------------------------------------- stock SetPlayerWantedLevelEx(playerid, level){ SetPlayerWantedLevel(playerid, 0); new string[55]; // new gstring[100]; if(level < 1){ PlayerTextDrawHide(playerid, Estrelas[0][playerid]); PlayerTextDrawHide(playerid, Estrelas[1][playerid]); return true; } if(level > 9){ level = 9; } for(new i; i < level; i++){ strcat(string, "]"); if(i == 9) strcat(string, "~n~"); } PlayerTextDrawSetString(playerid, Estrelas[1][playerid], string); format(gstring, sizeof gstring, "Nivel de Procura:%d", level); PlayerTextDrawShow(playerid, Estrelas[0][playerid]); PlayerTextDrawShow(playerid, Estrelas[1][playerid]); return true; } static stock IsPlayerInGuerra(playerid) { if(!TendoGuerra)return 0; new Float:x,Float:y,Float:z; GetPlayerPos(playerid, x, y, z); if(x >= GuerraMinX && y >= GuerraMinY && x <= GuerraMaxX && y <= GuerraMaxY) return 1; else return 0; } static stock IsCarInGuerra(vehicleid) { if(!TendoGuerra)return 0; new Float:x,Float:y,Float:z; GetVehiclePos(vehicleid, x, y, z); if(x >= GuerraMinX && y >= GuerraMinY && x <= GuerraMaxX && y <= GuerraMaxY) return 1; else return 0; } //------------------------------------------------------- static stock IsPlayerInGuerraGZ(playerid) { new Float:x,Float:y,Float:z; GetPlayerPos(playerid, x, y, z); if(x >= -451.7781 && y >= -1505.8854 && x <= -191.7781 && y <= -1245.8854) return 1; else return 0; } //------------------------------------------------------- static stock IsAMoto(vehicleid) // Veiculos de 2 Rodas { new result; new model = GetVehicleModel(vehicleid); switch(model) { case 509, 481, 510, 462, 448, 581, 522, 461, 521, 523, 463, 586, 468, 471: result = model; default: result = 0; } return result; } //------------------------------------------------------- static stock IsPlayerInHospLosSantos(playerid) { new Float:x,Float:y,Float:z; GetPlayerPos(playerid, x, y, z); if(x >= 44.60 && y >= -2892.90 && x <= 2997.00 && y <= -768.00) return 1; else return 0; } //------------------------------------------------------- static stock IsPlayerInLosSantos(playerid) { new Float:x,Float:y,Float:z; GetPlayerPos(playerid, x, y, z); if(x >= 44.60 && y >= -2892.90 && x <= 2997.00 && y <= -768.00) return 1; else return 0; } //------------------------------------------------------- CallBack::PlayerCheater(playerid, cheater, descricao[]) { if(!gPlayerLogged[playerid] || PlayerInfo[playerid][pAdmin] >= 1338)return true; //new gstring[256]; new hora, minuto, segundo, dia, mes, ano; getdate(ano, mes, dia); gettime(hora, minuto, segundo); //if(GetPlayerMoney(playerid) > PlayerInfo[playerid][pCash]) { if(cheater == Money_Hack && cheaterligado[C_Money] == true){ format(gstring, sizeof gstring, "%s (State Hack) [%d:%d:%d - %d/%d/%d]", NomePlayer(playerid), hora, minuto, segundo, dia, mes, ano); CNFLogs("xiters", gstring); format(gstring, sizeof gstring, "ANTI-CHEAT: %s[ID: %d] foi kickado automaticamente por suspeita de Money-Hack!", NomePlayer(playerid), playerid); ABroadCast(COLOR_LIGHTRED,gstring, 1); SendClientMessage(playerid, COLOR_WHITE, "{FFFF00}ANTICHEAT: {B4B5B7}Voce foi kickado do servidor por suspeita de Money Hack!"); SendClientMessage(playerid, COLOR_WHITE, "OBS: Caso voce nao esteja usando por favor, relate isso no nosso Discord!"); KickCNF(playerid); } if(cheater == Speed_Hack && cheaterligado[C_Speed] == true) { format(gstring, sizeof gstring, "%s (Speed Hack) [%d:%d:%d - %d/%d/%d]", NomePlayer(playerid), hora, minuto, segundo, dia, mes, ano); CNFLogs("xiters", gstring); format(gstring, sizeof gstring, "ANTI-CHEAT: %s[ID: %d] estava usando speed-hack e foi kickado automatico.", NomePlayer(playerid), playerid); SendClientMessageToAll(COLOR_LIGHTRED, gstring); KickCNF(playerid); } else if(cheater == Money_Hack && cheaterligado[C_Money] == true) { format(gstring, sizeof gstring, "ANTI-CHEAT: %s[ID: %d] foi kickado automaticamente por suspeita de Money-Hack!", NomePlayer(playerid), playerid); ABroadCast(COLOR_LIGHTRED,gstring, 1); format(gstring, sizeof gstring, "%s (Money Hack) [%d:%d:%d - %d/%d/%d]", NomePlayer(playerid), hora, minuto, segundo, dia, mes, ano); CNFLogs("xiters", gstring); } else if(cheater == State_Hack && cheaterligado[C_StateHack] == true) { format(gstring, sizeof gstring, "%s (State Hack) [%d:%d:%d - %d/%d/%d]", NomePlayer(playerid), hora, minuto, segundo, dia, mes, ano); CNFLogs("xiters", gstring); format(gstring, sizeof gstring, "ANTI-CHEAT: %s[ID: %d] foi kickado automaticamente por suspeita de State-Hack ou Crasher!", NomePlayer(playerid), playerid); ABroadCast(COLOR_LIGHTRED,gstring, 1); SendClientMessage(playerid, COLOR_WHITE, "{FFFF00}ANTICHEAT: {B4B5B7}Voce foi kickado do servidor por suspeita de State Hack ou Crasher!"); SendClientMessage(playerid, COLOR_WHITE, "OBS: Caso voce nao esteja usando por favor, relate isso no nosso Discord!"); } else if(cheater == Cheater_Fly && cheaterligado[C_Fly] == true) { format(gstring, sizeof gstring, "%s (Fly) [%d:%d:%d - %d/%d/%d]", NomePlayer(playerid), hora, minuto, segundo, dia, mes, ano); CNFLogs("xiters", gstring); format(gstring, sizeof gstring, "ANTI-CHEAT: %s[ID: %d] pode estar usando Fly, /tv nele!", NomePlayer(playerid), playerid); ABroadCast(COLOR_LIGHTRED,gstring, 1); } else if(cheater == Weapon_Hack && cheaterligado[C_Weapon] == true) { format(gstring, sizeof gstring, "%s (Weapon Hack) [%d:%d:%d - %d/%d/%d]", NomePlayer(playerid), hora, minuto, segundo, dia, mes, ano); CNFLogs("xiters", gstring); format(gstring, sizeof gstring, "ANTI-CHEAT: %s[ID: %d] pode estar usando Weapon-Hack, /tv nele!", NomePlayer(playerid), playerid); ABroadCast(COLOR_LIGHTRED,gstring, 1); } else if(cheater == Armour_Hack && cheaterligado[C_Colete] == true) { format(gstring, sizeof gstring, "%s (Armour/Health Hack) [%d:%d:%d - %d/%d/%d]", NomePlayer(playerid), hora, minuto, segundo, dia, mes, ano); CNFLogs("xiters", gstring); format(gstring, sizeof gstring, "ANTI-CHEAT: %s[ID: %d] foi kickado automaticamente por suspeita de Health ou Armour Hack!", NomePlayer(playerid), playerid); ABroadCast(COLOR_LIGHTRED,gstring, 1); } else if(cheater == Fake_Kill && cheaterligado[C_FakeKill] == true) { format(gstring, sizeof gstring, "%s (Fake Kill) [%d:%d:%d - %d/%d/%d]", NomePlayer(playerid), hora, minuto, segundo, dia, mes, ano); CNFLogs("xiters", gstring); format(gstring, sizeof gstring, "ANTI-CHEAT: %s[ID: %d] foi kickado automaticamente por suspeita de Fake-Kill!", NomePlayer(playerid), playerid); ABroadCast(COLOR_LIGHTRED,gstring, 1); } else if(cheater == Armas_Proibidas && cheaterligado[C_Armas] == true && GetPVarInt(playerid, "VarAC")) { CNFLogs("xiters", gstring); TempDropArmasBody[playerid] = 0; } else if(cheater == Player_Divulguer && cheaterligado[C_DV] == true) { format(gstring, sizeof gstring, "AdmCmd: Cuidado, pois %s[ID: %d] pode estar divulgando algum IP, /tv nele!", NomePlayer(playerid), playerid); ABroadCast(COLOR_LIGHTRED,gstring, 1); format(gstring, sizeof gstring, "» (( %s ))", descricao); ABroadCast(COLOR_LIGHTRED,gstring, 1); format(gstring, sizeof gstring, "%s (Divulgando IP) [%d:%d:%d - %d/%d/%d]", NomePlayer(playerid), hora, minuto, segundo, dia, mes, ano); CNFLogs("xiters", gstring); format(gstring, sizeof gstring, "» (( %s ))", descricao); CNFLogs("xiters", gstring); } else if(cheater == 13) { format(gstring, sizeof gstring, "%s (Rapid Fire) [%d:%d:%d - %d/%d/%d]", NomePlayer(playerid), hora, minuto, segundo, dia, mes, ano); CNFLogs("xiters", gstring); format(gstring, sizeof gstring, "ANTI-CHEAT: %s[ID: %d] foi kickado por suspeita de Rapid-Fire!", NomePlayer(playerid), playerid); SendClientMessageToAll(COLOR_LIGHTRED, gstring); KickCNF(playerid); } else if(cheater == 15) { format(gstring, sizeof gstring, "%s (Macro ou Auto CBUG) [%d:%d:%d - %d/%d/%d]", NomePlayer(playerid), hora, minuto, segundo, dia, mes, ano); CNFLogs("xiters", gstring); if(GetPVarInt(playerid, "WarnningMacro") > 5){ format(gstring, sizeof gstring, "ANTI-CHEAT: %s[ID: %d] foi kickado automaticamente por suspeita de MACRO ou AUTO-CBUG!", NomePlayer(playerid), playerid); ABroadCast(COLOR_LIGHTRED,gstring, 1); SendClientMessage(playerid, COLOR_WHITE, "{FFFF00}ANTICHEAT: {B4B5B7}Voce foi kickado do servidor por suspeita de Macro ou Auto CBUG !"); SendClientMessage(playerid, COLOR_WHITE, "OBS: Caso voce nao esteja usando por favor, relate isso no nosso Discord!"); KickCNF(playerid); } } else if(cheater == 16) { format(gstring, sizeof gstring, "%s (ProAim.cs) [%d:%d:%d - %d/%d/%d]", NomePlayer(playerid), hora, minuto, segundo, dia, mes, ano); CNFLogs("xiters", gstring); if(GetPVarInt(playerid, "WarnningAimbot") > 5){ format(gstring, sizeof gstring, "ANTI-CHEAT: %s[ID: %d] foi kickado automaticamente por suspeita de AimBot!", NomePlayer(playerid), playerid); ABroadCast(COLOR_LIGHTRED,gstring, 1); SendClientMessage(playerid, COLOR_WHITE, "{FFFF00}ANTICHEAT: {B4B5B7}Voce foi kickado do servidor por suspeita de AimBot !"); SendClientMessage(playerid, COLOR_WHITE, "OBS: Caso voce nao esteja usando por favor, relate isso no nosso Discord!"); KickCNF(playerid); } } else if(cheater == 17 && cheaterligado[C_PC] == true) { format(gstring, sizeof gstring, "%s (Puxando Carros) [%d:%d:%d - %d/%d/%d]", NomePlayer(playerid), hora, minuto, segundo, dia, mes, ano); CNFLogs("xiters", gstring); format(gstring, sizeof gstring, "ANTI-CHEAT: %s[ID: %d] foi kickado automaticamente por suspeita de puxar veiculos !", NomePlayer(playerid), playerid); ABroadCast(COLOR_LIGHTRED,gstring, 1); SendClientMessage(playerid, COLOR_WHITE, "{FFFF00}ANTICHEAT: {B4B5B7}Voc foi kickado do servidor por suspeita de AimBot !"); SendClientMessage(playerid, COLOR_WHITE, "OBS: Caso voce nao esteja usando por favor, relate isso no nosso Discord!"); KickCNF(playerid); } return true; } stock LogAimbot(playerid, Float:dist1, Float:dist2) { //new gstring[128]; format(gstring, sizeof gstring, "ANTI-AIMBOT: (%s): Distancia do tiro:[%0.2f], Distancia do atingido:[%0.2f]", NomePlayer(playerid), dist1, dist2); CNFLogs("aimbots", gstring); } //------------------------------------------------------- static stock IsPlayerInLasVenturas(playerid) { new Float:x,Float:y,Float:z; GetPlayerPos(playerid, x, y, z); if(x >= 869.40 && y >= 596.30 && x <= 2997.00 && y <= 2993.80) return 1; else return 0; } //------------------------------------------------------- static stock GetNumberOfPlayersOnThisIP(const test_ip[]) { new against_ip[32+1]; new ip_count = 0; foreach(Player, x) { GetPlayerIp(x,against_ip,32); if(!strcmp(against_ip,test_ip)) ip_count++; } return ip_count; } //------------------------------------------------------- static stock OrgPlayerCity(playerid) { new txt[12]; if(IsAGroove(playerid)||IsAVagos(playerid)||IsABallas(playerid)||IsAAzteca(playerid)||IsAComandoVermelho(playerid)||IsAPCC(playerid)||IsAMedicos(playerid)||IsAPM(playerid)||IsAGARRAs(playerid)||IsAJornal(playerid)) { format(txt, sizeof(txt),"Los Santos"); } else if(IsAGrooveSF(playerid)||IsAVagosSF(playerid)||IsABallasSF(playerid)||IsAAztecaSF(playerid)||IsASonsofAnarchy(playerid)||IsAPCCSF(playerid)||IsAMedicosSF(playerid)||IsAPoliciaCivil(playerid)||IsAPMSF(playerid)||IsAJornalSF(playerid)) { format(txt, sizeof(txt),"San Fierro"); } return txt; } //------------------------------------------------------- static stock AbertoFechado(carid) { new txt[75]; if(VTrancado[carid] == 0) { format(txt, sizeof(txt),"A~n~b~n~e~n~r~n~t~n~o"); } else if(VTrancado[carid] == 1) { format(txt, sizeof(txt),"~r~t~n~r~n~a~n~n~n~c~n~a~n~d~n~o"); } return txt; } static stock AbertoFechadoAviao(carid) { new txt[75]; if(VTrancado[carid] == 0) { format(txt, sizeof(txt),"A~n~b~n~e~n~r~n~t~n~o"); } else if(VTrancado[carid] == 1) { format(txt, sizeof(txt),"~r~t~n~r~n~a~n~n~n~c~n~a~n~d~n~o"); } return txt; } //------------------------------------------------------- static stock MudarNomeServer() { new rdon = random(sizeof(NomesServer)); SendRconCommand(NomesServer[rdon]); } //------------------------------------------------------- static stock right(const sorrce[], len) { new retval[MAX_STRING], srclen; srclen = strlen(sorrce); strmid(retval, sorrce, srclen - len, srclen, MAX_STRING); return retval; } static stock ini_GetKey(const line[] ) { new keyRes[128]; keyRes[0] = 0;if ( strfind( line , "=" , true ) == -1 ) return keyRes; strmid( keyRes , line , 0 , strfind( line , "=" , true ) , sizeof( keyRes) ); return keyRes; } static stock ini_GetValue(const line[] ) { new valRes[128];valRes[0]=0; if ( strfind( line , "=" , true ) == -1 ) return valRes; strmid( valRes , line , strfind( line , "=" , true )+1 , strlen( line ) , sizeof( valRes ) ); return valRes; } static stock IsPlayerInSF(playerid) { new Float:x,Float:y,Float:z; GetPlayerPos(playerid, x, y, z); if(x >= -2954.502 && y >= -3012.892 && x <= -957.5858 && y <= 1436.379) return 1; else return 0; } static stock IsPlayerInLSSF(playerid) { new Float:x,Float:y,Float:z; GetPlayerPos(playerid, x, y, z); if(x >= -2919.469 && y >= -2919.469 && x <= -116.7788 && y <= 525.5044) return 1; else return 0; } static stock IsPlayerInLSLV(playerid) { new Float:x,Float:y,Float:z; GetPlayerPos(playerid, x, y, z); if(x >= -817.4513 && y >= -338.6584 && x <= 3012.892 && y <= 537.1823) return 1; else return 0; } static stock IsPlayerInLS(playerid) { new Float:x,Float:y,Float:z; GetPlayerPos(playerid, x, y, z); if(x >= -922.5522 && y >= -2791.012 && x <= 2954.502 && y <= 385.3699) return 1; else return 0; } static stock IsPlayerInSFLV(playerid) { new Float:x,Float:y,Float:z; GetPlayerPos(playerid, x, y, z); if(x >= -1471.412 && y >= 560.538 && x <= 513.8265 && y <= 3117.993) return 1; else return 0; } static stock IsPlayerInLV(playerid) { new Float:x,Float:y,Float:z; GetPlayerPos(playerid, x, y, z); if(x >= -1307.922 && y >= 490.4708 && x <= 2977.858 && y <= 3153.026) return 1; else return 0; } static stock IsPlayerInMorro(playerid) { if(PlayerToPoint(40.0,playerid,2155.4438,-1010.9413,62.9640)) return true; else return 0; } static stock IsPlayerInConstrucao(playerid) { new Float:x,Float:y,Float:z; GetPlayerPos(playerid, x, y, z); if(x >= -2132.02 && y >= 124.611 && x <= -1996.826 && y <= 317.9143) return true; else return 0; } static stock IsPlayerInPista(playerid) { if(IsPlayerInRangeOfPoint(playerid, 40.0, 1917.8677,-1411.0074,13.5703)) return true; return 0; } static stock IsPlayerInRoda(playerid) { if(IsPlayerInRangeOfPoint(playerid, 50.0, 370.1786,-2032.8887,7.6719)) return true; return 0; } static stock IsPlayerInPorto(playerid) { if(IsPlayerInRangeOfPoint(playerid, 50.0, 154.1210,-1942.0751,3.7734)) return true; return 0; } static stock IsPlayerInPark(playerid) { if(PlayerToPoint(30.0,playerid,1972.9639,-1236.0793,20.0549)) return true; else return 0; } static stock IsPlayerInEstacao(playerid) { if(PlayerToPoint(20.5,playerid,1722.8297,-1939.5002,13.5826)) return true; else return 0; } static stock IsPlayerInCasarao(playerid) { if(PlayerToPoint(30.5,playerid,1242.5645,-2036.7051,60.0828)) return true; else return 0; } static stock IsPlayerInPraia(playerid) { new Float:x,Float:y,Float:z; GetPlayerPos(playerid, x, y, z); if(x >= -2981.811 && y >= 400.7585 && x <= -2865.93 && y <= 534.8873) return true; else return 0; } static stock IsPlayerInAeroSF(playerid) { new Float:x,Float:y,Float:z; GetPlayerPos(playerid, x, y, z); if(x >= -1587.381 && y >= -459.2437 && x <= -1398.11 && y <= -269.8854) return true; else return 0; } static stock IsPlayerInPuteiro(playerid) { new Float:x,Float:y,Float:z; GetPlayerPos(playerid, x, y, z); if(x >= -2668.933 && y >= 1292.32 && x <= -2568.503 && y <= 1450.119) return true; else return 0; } static stock ChecarveiculoBPF(Float:radi, playerid, vehicleid) { new Float:x, Float:y, Float:z; GetVehiclePos(vehicleid, x, y, z); if(IsPlayerInRangeOfPoint(playerid, radi, x, y, z)) return 1; return 0; } static stock ChecarveiculoBD(Float:radi, playerid, vehicleid) { if(IsPlayerConnected(playerid)) { new Float:PX,Float:PY,Float:PZ,Float:X,Float:Y,Float:Z; GetPlayerPos(playerid,PX,PY,PZ); GetVehiclePos(vehicleid, X,Y,Z); new Float:Distance = (X-PX)*(X-PX)+(Y-PY)*(Y-PY)+(Z-PZ)*(Z-PZ); if(Distance <= radi*radi) { return 1; } } return 0; } static stock GetWeaponModel(weaponid) { switch(weaponid) { case 0: return 1240; case 1: return 331; case 2..8: return weaponid+331; case 9: return 341; case 10..15: return weaponid+311; case 16..18: return weaponid+326; case 22..29: return weaponid+324; case 30,31: return weaponid+325; case 32: return 372; case 33..45: return weaponid+324; case 46: return 371; } return 0; } stock MaconhaPronta(playerid) { new pronta = 0; for(new maconhaid = 0; maconhaid < MAX_MACONHA; maconhaid ++) { if(MaconhaInfo[maconhaid][PodeUsar] == false && MaconhaInfo[maconhaid][Crescida] >= Max_Crescida) { if(strcmp(MaconhaInfo[maconhaid][Dono], NomePlayer(playerid), true) == 0) { pronta++; } } } if(pronta > 0){ new string[128]; if(pronta == 1)format(string, sizeof string, "Aviso: %d plantacao de maconha sua pode ser colhida, USE /maconhas",pronta); else format(string, sizeof string, "Aviso: %d plantacões de maconha sua podem ser colhidas, USE /maconhas",pronta); return SendClientMessage(playerid, COLOR_DBLUE, string); } return true; } stock SalvarPlantacao() { new string[128]; for(new m = 0; m < MAX_MACONHA; m++){ format(string, sizeof string, "Plantacoes/PL%d.ini", m); if(DOF2_FileExists(string))DOF2_RemoveFile(string); } for(new m = 0; m < MAX_MACONHA; m++) { format(string, sizeof string, "Plantacoes/PL%d.ini", m); if(!MaconhaInfo[m][PodeUsar]) { if(!DOF2_FileExists(string))DOF2_CreateFile(string); DestroyDynamic3DTextLabel(MaconhaInfo[m][TT]); DOF2_SetString(string, "Dono", MaconhaInfo[m][Dono]); DOF2_SetInt(string, "Crescida", MaconhaInfo[m][Crescida]); DOF2_SetInt(string, "GramasProntas", MaconhaInfo[m][GramasProntas]); DOF2_SetFloat(string, "MacX", MaconhaInfo[m][mX]); DOF2_SetFloat(string, "MacY", MaconhaInfo[m][mY]); DOF2_SetFloat(string, "MacZ", MaconhaInfo[m][mZ]); DOF2_SaveFile(); } } } stock CarregarPlantacao() { new string[128]; for(new maconhaid = 0; maconhaid < MAX_MACONHA; maconhaid++) { format(string, sizeof string, "Plantacoes/PL%d.ini", maconhaid); if(DOF2_FileExists(string)) { format(MaconhaInfo[maconhaid][Dono], 24, DOF2_GetString(string, "Dono")); MaconhaInfo[maconhaid][Crescida] = DOF2_GetInt(string, "Crescida"); MaconhaInfo[maconhaid][GramasProntas] = DOF2_GetInt(string, "GramasProntas"); MaconhaInfo[maconhaid][mX] = DOF2_GetFloat(string, "MacX"); MaconhaInfo[maconhaid][mY] = DOF2_GetFloat(string, "MacY"); MaconhaInfo[maconhaid][mZ] = DOF2_GetFloat(string, "MacZ"); if(MaconhaInfo[maconhaid][Crescida] > 4) { MaconhaInfo[maconhaid][Object] = CreateDynamicObject(3409, MaconhaInfo[maconhaid][mX], MaconhaInfo[maconhaid][mY], MaconhaInfo[maconhaid][mZ],0.0, 0.0, 0.0); } format(string, sizeof string, "•Plantacao de maconha•\nDono: %s\nPlantacao Nº: %d\nCrescida: %d/%d\nGramas: %dg", MaconhaInfo[maconhaid][Dono], maconhaid,MaconhaInfo[maconhaid][Crescida],Max_Crescida, MaconhaInfo[maconhaid][GramasProntas]); MaconhaInfo[maconhaid][TT] = Create3DTextLabel(string, 0xFF8C00FF, MaconhaInfo[maconhaid][mX], MaconhaInfo[maconhaid][mY], MaconhaInfo[maconhaid][mZ], 10.0, 0); MaconhaInfo[maconhaid][PodeUsar]=false; } } } CallBack::UpdateDrogas() { new string[128]; for(new maconhaid = 0; maconhaid < MAX_MACONHA; maconhaid++) { if(MaconhaInfo[maconhaid][PodeUsar] == false) { if(MaconhaInfo[maconhaid][Crescida] < Max_Crescida) { MaconhaInfo[maconhaid][GramasProntas] += random(10)+5; MaconhaInfo[maconhaid][Crescida]++; } if(MaconhaInfo[maconhaid][Crescida] > 4) { DestroyDynamicObject(MaconhaInfo[maconhaid][Object]); MaconhaInfo[maconhaid][Object] = CreateDynamicObject(3409, MaconhaInfo[maconhaid][mX], MaconhaInfo[maconhaid][mY], MaconhaInfo[maconhaid][mZ],0.0, 0.0, 0.0); } format(string, sizeof string, "•Maconha•\nDono: %s\nPlantacao Nº: %d\nCrescida: %d/%d\nGramas: %dg", MaconhaInfo[maconhaid][Dono], maconhaid,MaconhaInfo[maconhaid][Crescida],Max_Crescida, MaconhaInfo[maconhaid][GramasProntas]); UpdateDynamic3DTextLabelText(MaconhaInfo[maconhaid][TT], 0x1FF61F99, string); } } foreach(Player, i) { if(gPlayerLogged[i])MaconhaPronta(i); } return true; } static stock ComecarTeste(playerid, testeid) { new vehicle; AtualCP[playerid] = 0; SetPlayerVirtualWorld(playerid, 0); new vehicleid; if(testeid == 1) { InTeste[playerid] = 1; TempoTeste[playerid] = 8*60; SetPlayerInterior(playerid, 0); vehicleid = CreateVehicleDebug(560,506.2180,-1567.9919,15.9929,215.1712, 1, 1, -1); SetPlayerRaceCheckpoint(playerid, 0, CPsCarteira[AtualCP[playerid]][0], CPsCarteira[AtualCP[playerid]][1], CPsCarteira[AtualCP[playerid]][2], CPsCarteira[AtualCP[playerid]+1][0],CPsCarteira[AtualCP[playerid]+1][1],CPsCarteira[AtualCP[playerid]+1][2], 8.0); SetPlayerPos(playerid, 533.9781, -1613.3921, 15.9729 + 2.5); SetVehiclePos(vehicleid, 533.9781, -1613.3921, 15.9729);//compila, para testes se tu não conseguir tudo bemm.. o outro ja ta esperando kk PutPlayerInVehicle(playerid, vehicleid, 0); CriarTextTeste(playerid); SendClientMessage(playerid, AMARELO_COR, "Teste iniciado! use: /motor para ligar o carro."); } else if(testeid == 2) { InTeste[playerid] = 2; TempoTeste[playerid] = 10*60; SetPlayerInterior(playerid, 0); vehicleid = CreateVehicleDebug(593,-1091.7706,400.4440,14.3178,134.3243, 1, 3, -1); SetPlayerRaceCheckpoint(playerid, 4, FlySpawns[AtualCP[playerid]][0], FlySpawns[AtualCP[playerid]][1], FlySpawns[AtualCP[playerid]][2], FlySpawns[AtualCP[playerid]+1][0],FlySpawns[AtualCP[playerid]+1][1],FlySpawns[AtualCP[playerid]+1][2], 20.0); CriarTextTeste(playerid); SendClientMessage(playerid, AMARELO_COR, "Teste iniciado! use: /motor para ligar o planador."); SendClientMessage(playerid, -1, "[DICA]: Use as teclas 'Q' e 'E' para controlar melhor o aviao."); } else if(testeid == 3) { InTeste[playerid] = 3; TempoTeste[playerid] = 10*60; vehicleid = CreateVehicleDebug(452,1.7691,-568.5583,-0.5061,318.0349, 1, 3, -1); SetPlayerInterior(playerid, 0); SetPlayerRaceCheckpoint(playerid, 0, BoatSpawns[AtualCP[playerid]][0], BoatSpawns[AtualCP[playerid]][1], BoatSpawns[AtualCP[playerid]][2], BoatSpawns[AtualCP[playerid]+1][0],BoatSpawns[AtualCP[playerid]+1][1],BoatSpawns[AtualCP[playerid]+1][2], 10.0); CriarTextTeste(playerid); SendClientMessage(playerid, AMARELO_COR, "Teste iniciado! use: /motor para ligar o barco."); SendClientMessage(playerid, -1, "[DICA]: Quando for fazer uma curva, sempre acelere o barco."); } SetPVarInt(playerid, "WarnningVelocidade", 0); SetPVarInt(playerid, "WarnningDamage", 0); SetVehicleParamsEx(vehicleid, 0, 1, 0, 0, 0, 0, 0); vehicle = vehicleid; Gas[vehicle] += 100; SetPlayerInterior(playerid, 0); SetPVarInt(playerid, "CarroTeste", vehicleid); PutPlayerInVehicleEx(playerid, vehicleid, 0); PlayerTextDrawShow(playerid, TextTeste[playerid][0]); PlayerTextDrawShow(playerid, TextTeste[playerid][1]); PlayerTextDrawShow(playerid, TextTeste[playerid][2]); PlayerTextDrawShow(playerid, TextTeste[playerid][3]); SetTimerEx("delayTeste", 3000, 0, "i", playerid); return true; } CallBack:: delayTeste(playerid){ return SetPVarInt(playerid, "TimerTeste", SetTimerEx("UpdateTeste", 1000, true, "i", playerid)); } stock TestEnd(playerid, sucess) { return EndTeste(playerid, InTeste[playerid], sucess); } CallBack::UpdateTeste(playerid) { if(InTeste [playerid]) { new Float:vhealth, striiing[256]; GetVehicleHealth(GetPlayerVehicleID(playerid), vhealth); if(GetPlayerVehicleSpeed(playerid) > 100) { SetPVarInt(playerid, "WarnningVelocidade", GetPVarInt(playerid, "WarnningVelocidade")+1); SendClientMessage(playerid, AMARELO_COR, "Auto Escola: voce esta acima do limite de velocidade, reduza a velocidade para nao reprovar."); } TempoTeste[playerid] --; if(GetPVarInt(playerid, "WarnningVelocidade") > W_Velocidade || GetPVarInt(playerid, "WarnningDamage") > W_Damage || vhealth < V_Damage) { SendClientMessage(playerid, AMARELO_COR, "Voce excedeu o limite de avisos e foi reprovado."); return TestEnd(playerid, 0); } if(TempoTeste[playerid] < 1) { SendClientMessage(playerid, AMARELO_COR, "Tempo estourado, voce foi reprovado no teste."); return TestEnd(playerid, 0); } if(GetPlayerState(playerid) != PLAYER_STATE_DRIVER) { SendClientMessage(playerid, AMARELO_COR, "Voce nao esta no carro da Auto Escola, teste encerrado"); return TestEnd(playerid, 0); } format(striiing, sizeof(striiing), "~g~maxima velocidade: ~r~100~n~\ ~w~Velocidade: ~g~%d~n~_~n~_~n~\ ~g~minimo damage: ~r~%.0f~n~\ ~w~Damage: ~g~%.0f", GetPlayerVehicleSpeed(playerid), V_Damage, vhealth); PlayerTextDrawSetString(playerid, TextTeste[playerid][2], striiing); format(striiing, sizeof striiing, "avisos: %d/%d", GetPVarInt(playerid, "WarnningVelocidade"), W_Velocidade); PlayerTextDrawSetString(playerid, TextTeste[playerid][0], striiing); format(striiing, sizeof striiing, "avisos: %d/%d~n~_~n~~y~tempo: %02d", GetPVarInt(playerid, "WarnningDamage"), W_Damage, TempoTeste[playerid]); PlayerTextDrawSetString(playerid, TextTeste[playerid][3], striiing); } return 0; } static stock CriarTextTeste(playerid) { if( InTeste[playerid]) { TextTeste[playerid][0] = CreatePlayerTextDraw(playerid, 514.000000, 233.000000, "avisos: 1/10"); PlayerTextDrawBackgroundColor(playerid, TextTeste[playerid][0], 20); PlayerTextDrawFont(playerid, TextTeste[playerid][0], 2); PlayerTextDrawLetterSize(playerid, TextTeste[playerid][0], 0.220000, 1.000000); PlayerTextDrawColor(playerid, TextTeste[playerid][0], -16776961); PlayerTextDrawSetOutline(playerid, TextTeste[playerid][0], 1); PlayerTextDrawSetProportional(playerid, TextTeste[playerid][0], 1); TextTeste[playerid][1] = CreatePlayerTextDraw(playerid, 617.000000, 209.000000, "_"); PlayerTextDrawBackgroundColor(playerid, TextTeste[playerid][1], 255); PlayerTextDrawFont(playerid, TextTeste[playerid][1], 1); PlayerTextDrawLetterSize(playerid, TextTeste[playerid][1], 0.500000, 8.499998); PlayerTextDrawColor(playerid, TextTeste[playerid][1], -1); PlayerTextDrawSetOutline(playerid, TextTeste[playerid][1], 0); PlayerTextDrawSetProportional(playerid, TextTeste[playerid][1], 1); PlayerTextDrawSetShadow(playerid, TextTeste[playerid][1], 1); PlayerTextDrawUseBox(playerid, TextTeste[playerid][1], 1); PlayerTextDrawBoxColor(playerid, TextTeste[playerid][1], 80); PlayerTextDrawTextSize(playerid, TextTeste[playerid][1], 505.000000, 0.000000); TextTeste[playerid][2] = CreatePlayerTextDraw(playerid, 513.000000, 215.000000, "~g~maxima velocidade: ~r~150~n~~w~Velocidade: ~g~135~n~_~n~_~n~~g~minimo damage: ~r~650~n~~w~Damage: ~g~980"); PlayerTextDrawBackgroundColor(playerid, TextTeste[playerid][2], 20); PlayerTextDrawFont(playerid, TextTeste[playerid][2], 1); PlayerTextDrawLetterSize(playerid, TextTeste[playerid][2], 0.230000, 1.099999); PlayerTextDrawColor(playerid, TextTeste[playerid][2], -65281); PlayerTextDrawSetOutline(playerid, TextTeste[playerid][2], 1); PlayerTextDrawSetProportional(playerid, TextTeste[playerid][2], 1); TextTeste[playerid][3] = CreatePlayerTextDraw(playerid, 514.000000, 273.000000, "avisos: 1/10"); PlayerTextDrawBackgroundColor(playerid, TextTeste[playerid][3], 20); PlayerTextDrawFont(playerid, TextTeste[playerid][3], 2); PlayerTextDrawLetterSize(playerid, TextTeste[playerid][3], 0.220000, 1.000000); PlayerTextDrawColor(playerid, TextTeste[playerid][3], -16776961); PlayerTextDrawSetOutline(playerid, TextTeste[playerid][3], 1); PlayerTextDrawSetProportional(playerid, TextTeste[playerid][3], 1); } } static stock EndTeste(playerid, testeid, success) { new Float:vhealth; //new gstring[256]; GetVehicleHealth(GetPlayerVehicleID(playerid), vhealth); if(success) { format(gstring, sizeof gstring, "---------- Aprovado ----------\n\ Avisos de Velocidade: %d/%d\n\ Avisos de Damage: %d/%d\n\ Veiculo Damage: %.0f/%.0f\n\ Tempo limite: %02d\n\ {00CC00}---------- APROVADO ------------", GetPVarInt(playerid, "WarnningVelocidade"), W_Velocidade, GetPVarInt(playerid, "WarnningDamage"), W_Damage, vhealth, V_Damage, TempoTeste[playerid]); ShowPlayerDialog(playerid, 9999, DIALOG_STYLE_MSGBOX, "Resultado", gstring, "Fechar", ""); PlayerPlaySound(playerid, 36205, 0.0, 0.0, 0.0); } else { format(gstring, sizeof gstring, "---------- Reprovado ----------\n\ Avisos de Velocidade: %d/%d\n\ Avisos de Damage: %d/%d\n\ Veiculo Damage: %.0f/%.0f\n\ Tempo limite: %02d\n\ {00FFFF}---------- REPROVADO ------------", GetPVarInt(playerid, "WarnningVelocidade"), W_Velocidade, GetPVarInt(playerid, "WarnningDamage"), W_Damage, vhealth, V_Damage, TempoTeste[playerid]); ShowPlayerDialog(playerid, 9999, DIALOG_STYLE_MSGBOX, "Resultado", gstring, "Fechar", ""); } InTeste[playerid] = 0; AtualCP[playerid] = 0; TempoTeste[playerid] = 0; DestroyVehicleEx(GetPVarInt(playerid, "CarroTeste")); DeletePVar(playerid, "CarroTeste"); KillTimer(GetPVarInt(playerid, "TimerTeste")); DeletePVar(playerid, "TimerTeste"); PlayerTextDrawDestroy(playerid, TextTeste[playerid][0]); PlayerTextDrawDestroy(playerid, TextTeste[playerid][1]); PlayerTextDrawDestroy(playerid, TextTeste[playerid][2]); PlayerTextDrawDestroy(playerid, TextTeste[playerid][3]); SetPlayerPos(playerid, -2033.4347,-117.4312,1035.1719); SetPlayerInterior(playerid, 3); DisablePlayerRaceCheckpoint(playerid); if(!success) { SendClientMessage(playerid, 0xCD0400AA, "Voce foi reprovado no teste."); return true; } else { if(testeid == 1) { SendClientMessage(playerid, 0x2ED82DAA, "Parabens!! Voce foi aprovado e adquiriu a carteira de motorista."); PlayerInfo[playerid][pCarLic] = 1; } else if(testeid == 2) { SendClientMessage(playerid, 0x2ED82DAA, "Parabens!! Voce foi aprovado e adquiriu a licenca de pilotagem."); PlayerInfo[playerid][pFlyLic] = 1; } else if(testeid == 3) { SendClientMessage(playerid, 0x2ED82DAA, "Parabens!! Voce foi aprovado e adquiriu a licenca Nautica."); PlayerInfo[playerid][pBoatLic] = 1; } return true; } } stock SoundToAll(soundid) { foreach(Player, p) { PlayerPlaySound(p, soundid, 0.0, 0.0, 0.0); } return 1; } stock SoundToPlayer(playerid, soundid) { return PlayerPlaySound(playerid, soundid, 0.0, 0.0, 0.0); } stock SoundInRange(soundid, Float:range, Float:x, Float:y, Float:z) { foreach(Player, p) { if(IsPlayerInRangeOfPoint(p, range, x, y, z)) PlayerPlaySound(p, soundid, x, y, z); } } public OnPlayerEnterRaceCheckpoint(playerid) { if(rRy_CorAtivada == 1){ if(rRy_M11_CPR_ON[playerid] == 1){ DestroyDynamicMapIcon(M11_MapIconCPR[playerid]); rRy_CheckGPRace[playerid] += 1; if(rRy_CheckGPRace[playerid] >= sizeof(rRy_Positions)){ new string[128]; DisablePlayerRaceCheckpoint(playerid); rRy_CheckGPRace[playerid] = 0; rRy_M11_CPR_ON[playerid] = 0; rRy_CheckFINAL += 1; PlayerPlaySound(playerid,1057,0.0, 0.0, 0.0); rRy_sTimeS = 0; rRy_CorAtivada = 0; rRy_AddCheck = 0; rRy_CheckFINAL = 0; rRy_CheckSTART = 0; GivePlayerMoney(playerid,rRy_KDinheiroX); format(string, sizeof(string), "~w~Vencedor! ~n~~g~R$%i", rRy_KDinheiroX); GameTextForPlayer(playerid,string,3000,4); format(string, sizeof(string), "~w~%s chegou no final!", rRy_GetNome(playerid)); for (new K = 0; K < sizeof(rRy_PlayersID); K++) if(rRy_PlayersID[K] != -1){ rRy_M11_CPR_ON[rRy_PlayersID[K]] = 0; DestroyDynamicMapIcon(M11_MapIconCPR[rRy_PlayersID[K]]); rRy_CheckGPRace[rRy_PlayersID[K]] = 0; GameTextForPlayer(rRy_PlayersID[K],string,4000,4); DisablePlayerRaceCheckpoint(rRy_PlayersID[K]); rRy_M11_CPR_ON[rRy_PlayersID[K]] = 0; rRy_PlayersID[K] = -1; } return 1; } if(rRy_CheckGPRace[playerid] == sizeof(rRy_Positions)-1){ SetPlayerRaceCheckpoint(playerid,1,rRy_Positions[rRy_CheckGPRace[playerid]][0],rRy_Positions[rRy_CheckGPRace[playerid]][1],rRy_Positions[rRy_CheckGPRace[playerid]][2], 0.0,0.0,0.0,5); PlayerPlaySound(playerid,1056,0.0, 0.0, 0.0); return 1; } PlayerPlaySound(playerid,1056,0.0, 0.0, 0.0); DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,rRy_Positions[rRy_CheckGPRace[playerid]][0],rRy_Positions[rRy_CheckGPRace[playerid]][1],rRy_Positions[rRy_CheckGPRace[playerid]][2], rRy_Positions[rRy_CheckGPRace[playerid]+1][0],rRy_Positions[rRy_CheckGPRace[playerid]+1][1],rRy_Positions[rRy_CheckGPRace[playerid]+1][2],5); M11_MapIconCPR[playerid] = CreateDynamicMapIcon(rRy_Positions[rRy_CheckGPRace[playerid]+1][0],rRy_Positions[rRy_CheckGPRace[playerid]+1][1],rRy_Positions[rRy_CheckGPRace[playerid]+1][2], 0, 0x990000FF, 0, 0, playerid, 6000.0); } return 1; } if(PlayerInCorrida[playerid])GetPlayerPosCorrida(playerid); if( InTeste[playerid]) { AtualCP[playerid]++; if(InTeste[playerid] == 1) { fMessage(playerid, 0xFFA500F6, "Voce passou pelo checkpoint [%d/%d]!", AtualCP[playerid], sizeof(CPsCarteira)); if(AtualCP[playerid] >= sizeof(CPsCarteira)) { GameTextForPlayer(playerid, "~w~Teste~n~~g~concluido", 3000, 0); DisablePlayerRaceCheckpoint(playerid); TestEnd(playerid, 1); return true; } else if(AtualCP[playerid] >= sizeof(CPsCarteira)-1) { SetPlayerRaceCheckpoint(playerid, 1, CPsCarteira[AtualCP[playerid]][0], CPsCarteira[AtualCP[playerid]][1], CPsCarteira[AtualCP[playerid]][2], 0.0,0.0,0.0, 10.0); PlayerPlaySound(playerid, 1056, 0.0,0.0,0.0); return true; } SetPlayerRaceCheckpoint(playerid, 0, CPsCarteira[AtualCP[playerid]][0], CPsCarteira[AtualCP[playerid]][1], CPsCarteira[AtualCP[playerid]][2], CPsCarteira[AtualCP[playerid]+1][0],CPsCarteira[AtualCP[playerid]+1][1],CPsCarteira[AtualCP[playerid]+1][2], 8.0); } else if(InTeste[playerid] == 2) { fMessage(playerid, 0xFFA500F6, "Voce passou pelo checkpoint [%d/%d]!", AtualCP[playerid], sizeof(FlySpawns)); if(AtualCP[playerid] >= sizeof(FlySpawns)) { GameTextForPlayer(playerid, "~w~Teste~n~~g~concluido", 3000, 0); DisablePlayerRaceCheckpoint(playerid); TestEnd(playerid, 1); return true; } if(AtualCP[playerid] >= sizeof(FlySpawns)-1) { SetPlayerRaceCheckpoint(playerid, 1, FlySpawns[AtualCP[playerid]][0], FlySpawns[AtualCP[playerid]][1], FlySpawns[AtualCP[playerid]][2], 0.0,0.0,0.0, 20.0); PlayerPlaySound(playerid, 1056, 0.0,0.0,0.0); return true; } SetPlayerRaceCheckpoint(playerid, 4, FlySpawns[AtualCP[playerid]][0], FlySpawns[AtualCP[playerid]][1], FlySpawns[AtualCP[playerid]][2], FlySpawns[AtualCP[playerid]+1][0],FlySpawns[AtualCP[playerid]+1][1],FlySpawns[AtualCP[playerid]+1][2], 20.0); } else if(InTeste[playerid] == 3) { fMessage(playerid, 0xFFA500F6, "Voce passou pelo checkpoint [%d/%d]!", AtualCP[playerid], sizeof(BoatSpawns)); if(AtualCP[playerid] >= sizeof(BoatSpawns)) { GameTextForPlayer(playerid, "~w~Teste~n~~g~concluido", 3000, 0); DisablePlayerRaceCheckpoint(playerid); TestEnd(playerid, 1); return true; } else if(AtualCP[playerid] >= sizeof(BoatSpawns)-1) { SetPlayerRaceCheckpoint(playerid, 1, BoatSpawns[AtualCP[playerid]][0], BoatSpawns[AtualCP[playerid]][1], BoatSpawns[AtualCP[playerid]][2], 0.0,0.0,0.0, 10.0); PlayerPlaySound(playerid, 1056, 0.0,0.0,0.0); return true; } SetPlayerRaceCheckpoint(playerid, 0, BoatSpawns[AtualCP[playerid]][0], BoatSpawns[AtualCP[playerid]][1], BoatSpawns[AtualCP[playerid]][2], BoatSpawns[AtualCP[playerid]+1][0],BoatSpawns[AtualCP[playerid]+1][1],BoatSpawns[AtualCP[playerid]+1][2], 8.0); } PlayerPlaySound(playerid, 1056, 0.0,0.0,0.0); } return 1; } main() { } CallBack:: SearchingHit(playerid) { new searchhit = 0,gsstring[256]; foreach(Player, i) { if(IsPlayerConnected(i)) { if(searchhit == 0) { if(PlayerInfo[i][pHeadValue] > 0 && GotHit[i] == 0 && PlayerInfo[i][pMembro] != 8 && PlayerInfo[i][pMembro] != 22) { searchhit = 1; hitfound = 1; hittid = i; //for(new k=0; k= 1 && cVIPc[i] == 0) { SendClientMessage(i, color, striing); } } } CallBack::SendVIPMessage2(color, striing[]) { foreach(Player, i) { if(PlayerInfo[i][pVIP] >= 2 && cVIPc[i] == 0) { SendClientMessage(i, color, striing); } } } forward CarregarPosicao(playerid); public CarregarPosicao(playerid) { SCM(playerid, COLOR_LIGHTRED, "INFO: Seu tempo de continuar(/carregarposicao) acabou"); IrPosicao[playerid] = false; } forward usouDesbugar(playerid); public usouDesbugar(playerid) { UsouDesbugar[playerid] = false; } CallBack::carregarposicao(playerid) { ShowPlayerDialog(playerid, 8081, DIALOG_STYLE_MSGBOX, "Posicao", "{FFFFFF}Deseja carregar sua ultima posicao?", "Sim", "Nao"); } CallBack::AdminDonoOculto(playerid) { ShowPlayerDialog(playerid, 8082, DIALOG_STYLE_MSGBOX, "Menu Admin Dono", "{FFFFFF}Escolha o modo de admin:\n\ {FFFFFF}- Oculto: {C0C0C0} Não mostrará no /admins\n\ {FFFFFF}- Visivel: {C0C0C0} Mostrará no /admins\n\ {FFFFFF}* NOTA: {C0C0C0}Você poderá mudar isso com o /oculto.", "Oculto", "Visivel"); } forward STuto(playerid, numero); public STuto(playerid, numero) { PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); if(numero == 0) { EmTutorial[playerid] = 1; PlayerTextDrawHide(playerid, TutoAviso[playerid]); NumeroTutorial[playerid] ++; PlayerRegistrandoConta[playerid] = true; return ShowPlayerDialog(playerid, D_QUER_VER_TUTORIAL, DIALOG_STYLE_MSGBOX, "{00FF00}Deseja visualizar o tutorial?", "Clique em 'Sim' ou 'Nao'", "Sim", "Nao"); } else if(numero == 1) { SetPlayerInterior(playerid,0); PlayerInfo[playerid][pInt] = 0; SetPlayerVirtualWorld(playerid, 0); SetPlayerCameraPos(playerid, 1481.17, -1717.57, 34.97); SetPlayerCameraLookAt(playerid, 1481.14, -1723.14, 32.74); showBalao(playerid, "~>~Prefeitura~n~~n~Aqui onde voce pode encontrar o Governador e resolver problemas", 40000); /* sleep(40000); */ NumeroTutorial[playerid] = 2; } else if(numero == 2) { SetPlayerInterior(playerid,0); PlayerInfo[playerid][pInt] = 0; SetPlayerVirtualWorld(playerid, 0); SetPlayerCameraPos(playerid, 1481.17, -1717.57, 34.97); SetPlayerCameraPos(playerid, 1435.75, -1716.61, 23.29); SetPlayerCameraLookAt(playerid, 1431.00, -1713.19, 22.00); showBalao(playerid, "~>~Centro de licencas~n~~n~Aqui voce pode fazer a carteira de motorista, veiculos terrestres,aereos e maritimos", 40000); NumeroTutorial[playerid] = 3; } else if(numero == 3) { SetPlayerInterior(playerid,0); PlayerInfo[playerid][pInt] = 0; SetPlayerVirtualWorld(playerid, 0); SetPlayerCameraPos(playerid, 1481.17, -1717.57, 34.97); SetPlayerCameraPos(playerid, 1995.66, -1467.93, 42.59); SetPlayerCameraLookAt(playerid, 1998.82, -1463.31, 40.44); showBalao(playerid, "~>~Hospital~n~~n~Aqui vai ser onde voce ira nascer depois de morrer", 40000); NumeroTutorial[playerid] = 4; } else if(numero == 4) { SetPlayerInterior(playerid,0); PlayerInfo[playerid][pInt] = 0; SetPlayerVirtualWorld(playerid, 0); SetPlayerCameraPos(playerid, 1481.17, -1717.57, 34.97); SetPlayerCameraPos(playerid, 2305.48, -1658.29, 18.86); SetPlayerCameraLookAt(playerid, 2307.25, -1652.84, 17.07); showBalao(playerid, "~>~Barzinho~n~~n~Neste bar voce podera divertir com seus amigos jogando sinuca", 40000); NumeroTutorial[playerid] = 5; } else if(numero == 5) { SetPlayerInterior(playerid,0); PlayerInfo[playerid][pInt] = 0; SetPlayerVirtualWorld(playerid, 0); SetPlayerCameraPos(playerid, 1481.17, -1717.57, 34.97); SetPlayerCameraPos(playerid, 2250.19, -1647.97, 25.83); SetPlayerCameraLookAt(playerid, 2248.67, -1653.27, 23.46); showBalao(playerid, "~>~Loja de Roupas~n~~n~Neste local voce podera trocar a skin de seu personagem", 40000); NumeroTutorial[playerid] = 6; } else if(numero == 6) { SetPlayerInterior(playerid,0); PlayerInfo[playerid][pInt] = 0; SetPlayerVirtualWorld(playerid, 0); SetPlayerCameraPos(playerid, 1481.17, -1717.57, 34.97); SetPlayerCameraPos(playerid, 2223.68, -1735.28, 19.46); SetPlayerCameraLookAt(playerid, 2226.25, -1730.19, 17.60); showBalao(playerid, "~>~Ginasio de Lutas~n~~n~Aqui voce podera trocar a qualquer momento seu estilo de lutar", 40000); NumeroTutorial[playerid] = 7; } else if(numero == 7) { SetPlayerInterior(playerid,0); PlayerInfo[playerid][pInt] = 0; SetPlayerVirtualWorld(playerid, 0); SetPlayerCameraPos(playerid, 1481.17, -1717.57, 34.97); SetPlayerCameraPos(playerid, 1514.50, -1675.46, 35.07); SetPlayerCameraLookAt(playerid, 1519.89, -1675.46, 32.44); showBalao(playerid, "~>~Delegacia de Policia~n~~n~Quando voce precisar de um policial, venha ate este local", 40000); NumeroTutorial[playerid] = 8; } else if(numero == 8) { SetPlayerInterior(playerid,0); PlayerInfo[playerid][pInt] = 0; SetPlayerVirtualWorld(playerid, 0); SetPlayerCameraPos(playerid, 1481.17, -1717.57, 34.97); SetPlayerCameraPos(playerid, 1352.19, -1738.42, 28.44); SetPlayerCameraLookAt(playerid, 1352.27, -1743.52, 25.30); showBalao(playerid, "~>~Mercado 24-7~n~~n~Aqui voce pode comprar um celular e outras coisas para comecar a sua vida", 40000); NumeroTutorial[playerid] = 9; } else if(numero == 9) { SetPlayerInterior(playerid,0); PlayerInfo[playerid][pInt] = 0; SetPlayerVirtualWorld(playerid, 0); SetPlayerCameraPos(playerid, 1481.17, -1717.57, 34.97); SetPlayerCameraPos(playerid, 2079.53, -1806.77, 29.47); SetPlayerCameraLookAt(playerid, 2084.53, -1806.65, 26.16); showBalao(playerid, "~>~Well Pizza Stacked~n~~n~Quando voce sentir fome, venha ate este local para comer algo", 40000); NumeroTutorial[playerid] = 10; } else if(numero == 10) { SetPlayerInterior(playerid,0); PlayerInfo[playerid][pInt] = 0; SetPlayerVirtualWorld(playerid, 0); SetPlayerCameraPos(playerid, 1481.17, -1717.57, 34.97); SetPlayerCameraPos(playerid, 912.55, -1352.67, 25.93); SetPlayerCameraLookAt(playerid, 917.32, -1352.62, 22.30); showBalao(playerid, "~>~Cluckin Bell~n~~n~Quando voce sentir fome, venha ate este local para comer algo", 40000); NumeroTutorial[playerid] = 11; } else if(numero == 11) { SetPlayerInterior(playerid,0); PlayerInfo[playerid][pInt] = 0; SetPlayerVirtualWorld(playerid, 0); SetPlayerCameraPos(playerid, 1481.17, -1717.57, 34.97); SetPlayerCameraPos(playerid, 831.44, -1620.04, 24.76); SetPlayerCameraLookAt(playerid, 826.05, -1619.93, 22.13); showBalao(playerid, "~>~Burger Play~n~~n~Quando voce sentir fome, venha ate este local para comer algo", 40000); NumeroTutorial[playerid] = 12; } else if(numero == 12) { SetPlayerInterior(playerid,0); PlayerInfo[playerid][pInt] = 0; SetPlayerVirtualWorld(playerid, 0); SetPlayerCameraPos(playerid, 1481.17, -1717.57, 34.97); SetPlayerCameraPos(playerid, 1686.44, -2282.18, 34.05); SetPlayerCameraLookAt(playerid, 1686.46, -2287.50, 31.28); showBalao(playerid, "~>~Seja bem vindo~n~~n~Precisando de ajuda, chame um administrador ou helper usando /relatorio", 40000); NumeroTutorial[playerid] = 13; } else if(numero > 12) { static gsstring[85]; Controle(playerid, 1); PlayerInfo[playerid][pTut] = 1; Controle(playerid, 1); TogglePlayerSpectating(playerid, 0); SetPlayerVirtualWorld(playerid,0); MedicBill[playerid] = 0; SetPlayerSpawn(playerid); SetCameraBehindPlayer(playerid); PlayerInfo[playerid][pConta] = 100; PlayerInfo[playerid][pCasher] = 0; PlayerInfo[playerid][pCreditos] += 0; PlayerPlayMusic(playerid); RegistrationStep[playerid] = 4; ResetPlayerMoney(playerid); GiveDinheiro(playerid, 100); StopAudioStreamForPlayer(playerid); EmTutorial[playerid] = 0; Pacote[playerid] = 0; TemAnuncioPersonalizado[playerid] = 0; TemJetpack[playerid] = 0; LogadoSV[playerid] = 1; if(PlayerInfo[playerid][pSex] == 2) { format(gsstring, sizeof(gsstring), "~p~~h~Bem vinda ~n~~y~~h~ %s", PlayerName(playerid)); GameTextForPlayer(playerid, gsstring, 5000, 1); } if(PlayerInfo[playerid][pSex] == 1) { format(gsstring, sizeof(gsstring), "~w~Bem vindo ~n~~b~ %s", PlayerName(playerid)); GameTextForPlayer(playerid, gsstring, 5000, 1); } ShowPlayerDialog(playerid,875, DIALOG_STYLE_LIST, "Escolha a Cidade", "{F6F600}Los Santos\n{F6F600}Las Venturas\n{F6F600}San Fierro", "Morar", "Cancelar"); SetPlayerPos(playerid, 1450.0985,-2287.4214,13.5469); // ShowPlayerDialog(playerid,874,DIALOG_STYLE_MSGBOX,"Sistema de Fomefe","{FFFFFF}Deseja que o sistema de fome/sede seja ativado?\nCom sistema de fome/sede ativo, voce recebera\n+2 Respeitos por Payday(Salario) por esta sendo RP\nCaso queira ativar ou desativar depois,\nBasta usar o comando /configuracoes\n","ON","OFF"); SetPlayerWeather(playerid, Weathersave); SetPlayerAttachedObject_Droid(playerid, 8, 3026, 1, -0.16, -0.08, 0.0, 0.5, 0.5, 0.0, 1.0, 1.3, 1.0, -1, 0); //inventario Azul SeRegistrouAgora[playerid] = true; SendClientMessage(playerid, 0xFFAA00AA, "[!]{FFFFFF} Para atendimento presencial digite {09C3FB}/atendimento{FFFFFF} e acompanhe o processo pelo comando /fila."); SendClientMessage(playerid, 0xFF6600AA, "* siga a marca vermelha marcada no seu mapa para pegar um emprego."); SetPlayerCheckpoint(playerid, 951.7770,-1744.5381,13.6210, 8.0);//pref return true; } PlayerInfo[playerid][pTimerTuto] = SetTimerEx("STuto", 6000, 0, "ii", playerid, NumeroTutorial[playerid]); return true; } stock GetMuro(playerid,muroid) { if(muroid == 0) { MuroPos[playerid][0] = 2196.0759; MuroPos[playerid][1] = -1741.0487; MuroPos[playerid][2] = 13.2835; } else if(muroid == 1) { MuroPos[playerid][0] = 1811.0255; MuroPos[playerid][1] = -1749.3859; MuroPos[playerid][2] = 13.5464; } else if(muroid == 2) { MuroPos[playerid][0] = 1674.8973; MuroPos[playerid][1] = -1719.5397; MuroPos[playerid][2] = 13.5469; } else if(muroid == 3) { MuroPos[playerid][0] = 1278.5701; MuroPos[playerid][1] = -1738.5083; MuroPos[playerid][2] = 13.6017; } else if(muroid == 4) { MuroPos[playerid][0] = 1070.0283; MuroPos[playerid][1] = -1864.0562; MuroPos[playerid][2] = 13.5469; } else if(muroid == 5) { MuroPos[playerid][0] = 1836.5292; MuroPos[playerid][1] = -1673.3462; MuroPos[playerid][2] = 13.3441; } else if(muroid == 6) { MuroPos[playerid][0] = 1832.4529; MuroPos[playerid][1] = -1289.3695; MuroPos[playerid][2] = 13.5768; } else if(muroid == 7) { MuroPos[playerid][0] = 1254.0901; MuroPos[playerid][1] = -1124.2345; MuroPos[playerid][2] = 24.1698; } else if(muroid == 8) { MuroPos[playerid][0] = 2371.0710; MuroPos[playerid][1] = -1393.4617; MuroPos[playerid][2] = 24.0067; } } stock PegarCaixaProximo(playerid) { new cid = -1, Float:dis = 999999.999; new Float:x, Float:y, Float:z; for(new i; i < MAX_CAIXAS; i++) { GetDynamicObjectPos(CaixaInfo[i][Caixa_Object], x, y, z); if(GetPlayerDistanceFromPoint(playerid, x, y, z) < dis) { dis = GetPlayerDistanceFromPoint(playerid, x, y, z); cid = i; } } return cid; } stock PegarMuroProximo(playerid) { new cid = -1, Float:dis = 999999.999; new Float:x, Float:y, Float:z; for(new i; i < MAX_MUROS; i++) { GetMuro(playerid,i); x = MuroPos[playerid][0]; y = MuroPos[playerid][1]; z = MuroPos[playerid][2]; if(GetPlayerDistanceFromPoint(playerid, x, y, z) < dis) { dis = GetPlayerDistanceFromPoint(playerid, x, y, z); cid = i; } } return cid; } new PlayerText:textaviso[MAX_PLAYERS]; new Float:PosXGZ; new Float:PosYGZ; new Float:PosX2GZ; new Float:PosY2GZ; //------ novo sistema de /tr ----------- enum tr_New { Float:trminX, Float:trminY, Float:trmaxX, Float:trmaxY, trName[128], trDono, trColor, trArea, trGZ, trTempoGuerra, trLiberarGuerra, trGangAttack, trGangDeffend, trPontosAttack, trPontosDeffend, trTimer, bool:trGuerra, bool:trCreated, }; new trLS[MAX_TERRITORIOS][tr_New]; stock CreateTr(Float:minx, Float:miny, Float:maxx, Float:maxy, const trname[]) { new string[128]; for(new tr; tr != MAX_TERRITORIOS; tr++) { if(!trLS[tr][trCreated]) { format(string, sizeof string, "Territorios/TR_%d.ini", tr); if(!DOF2_FileExists(string)) { trLS[tr][trminX] = minx; trLS[tr][trminY] = miny; trLS[tr][trmaxX] = maxx; trLS[tr][trmaxY] = maxy; format(trLS[tr][trName], 128, trname); trLS[tr][trDono] = 0; trLS[tr][trColor] = 0xAAAAAAAA; trLS[tr][trCreated] = true; trLS[tr][trGZ] = GangZoneCreate(trLS[tr][trminX], trLS[tr][trminY], trLS[tr][trmaxX], trLS[tr][trmaxY]); trLS[tr][trArea] = CreateDynamicRectangle(trLS[tr][trminX], trLS[tr][trminY], trLS[tr][trmaxX], trLS[tr][trmaxY]); GangZoneShowForAll(trLS[tr][trGZ], trLS[tr][trColor]); DOF2_CreateFile(string); TrSave(tr); return 1; } } } return 1; } CMD:ircorrida(playerid){ if(!IsPlayerInRangeOfPoint(playerid,200.0,rRy_PosSTARTr[0][0],rRy_PosSTARTr[0][1],rRy_PosSTARTr[0][2])) return SendClientMessage(playerid, 0x00FFFFFF, "Você não está proximo ai Pier da Praia de LS para entrar na Corrida!"); if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, 0x00FFFFFF, "Você não está em um veiculo!"); if(rRy_M11_CPR_ON[playerid] != 0) return SendClientMessage(playerid, 0x00FFFFFF, "Você já está na Corrida!"); if(rRy_CorAtivada == 0){ if(rRy_AddCheck >= sizeof(rRy_Carrosid)) return SendClientMessage(playerid, 0x00FFFFFF, "Limite de corredores atingidos!"); new string[128]; rRy_CorAtivada = 1; rRy_sTimeS = 50; rRy_CheckFINAL = 0; rRy_CheckSTART = 0; rRy_CheckSTART += 1; /*for(new i = 0; i < sizeof(rRy_Carrosid); i++){ DestroyVehicle(rRy_Carrosid[i]); rRy_Carrosid[i] = AddStaticVehicle(rRy_ModelCar[random(sizeof(rRy_ModelCar))][0],rRy_PosSTARTr[i][0],rRy_PosSTARTr[i][1],rRy_PosSTARTr[i][2],rRy_PosSTARTr[i][3],1,0); // CARRO DOS CORREDORES }*/ for (new K = 0; K < sizeof(rRy_PlayersID); K++) rRy_PlayersID[K] = -1; PutPlayerInVehicle(playerid,rRy_Carrosid[0],0); SetPlayerRaceCheckpoint(playerid,0,rRy_Positions[0][0],rRy_Positions[0][1],rRy_Positions[0][2], rRy_Positions[1][0],rRy_Positions[1][1],rRy_Positions[1][2],5); M11_MapIconCPR[playerid] = CreateDynamicMapIcon(rRy_Positions[1][0],rRy_Positions[1][1],rRy_Positions[1][2], 0, 0x990000FF, 0, 0, playerid, 6000.0); rRy_M11_CPR_ON[playerid] = 1; rRy_TimeM = SetTimer("UpdateTime", 1000, true); TextDrawShowForPlayer(playerid, rRy_Textdraw0); TogglePlayerControllable(playerid,0); rRy_AddCheck = 0; rRy_PlayersID[rRy_AddCheck] = playerid; format(string, sizeof(string), "%s iniciou a corrida!", rRy_GetNome(playerid)); SendClientMessageToAll(0xFFFF00FF, string); SetVehicleZAngle(GetPlayerVehicleID(playerid), rRy_PosSTARTr[rRy_AddCheck][2]); SetVehiclePos(GetPlayerVehicleID(playerid),rRy_PosSTARTr[rRy_AddCheck][0],rRy_PosSTARTr[rRy_AddCheck][1],rRy_PosSTARTr[rRy_AddCheck][2]); for(new i = 0; i < MAX_PLAYERS; i++) if(IsACop(i) && OnDuty[i] != 0){ SetPlayerCheckpoint(i, 2309.9460,-1643.6337,14.8270, 8.0);// SendClientMessage(i, BRANCO_COR, "Corrida foi iniciada! Foi marcada o local de inicio!"); } } else{ if(rRy_sTimeS == 0) return SendClientMessage(playerid, 0x00FFFFFF, "A corrida já foi iniciada!"); new string[128]; rRy_AddCheck++; rRy_PlayersID[rRy_AddCheck] = playerid; rRy_CheckSTART += 1; rRy_M11_CPR_ON[playerid] = 1; PutPlayerInVehicle(playerid,rRy_Carrosid[rRy_AddCheck],0); SetPlayerRaceCheckpoint(playerid,0,rRy_Positions[0][0],rRy_Positions[0][1],rRy_Positions[0][2], rRy_Positions[1][0],rRy_Positions[1][1],rRy_Positions[1][2],5); M11_MapIconCPR[playerid] = CreateDynamicMapIcon(rRy_Positions[1][0],rRy_Positions[1][1],rRy_Positions[1][2], 0, 0x990000FF, 0, 0, playerid, 6000.0); TextDrawShowForPlayer(playerid, rRy_Textdraw0); TogglePlayerControllable(playerid,0); format(string, sizeof(string), "%s Entrou na corrida! [Participante: %i]", rRy_GetNome(playerid),rRy_AddCheck+1); SendClientMessageToAll( 0xFFFF00FF, string); SetVehicleZAngle(GetPlayerVehicleID(playerid), rRy_PosSTARTr[rRy_AddCheck][2]); SetVehiclePos(GetPlayerVehicleID(playerid),rRy_PosSTARTr[rRy_AddCheck][0],rRy_PosSTARTr[rRy_AddCheck][1],rRy_PosSTARTr[rRy_AddCheck][2]); } return 1; } stock DestroyTr(trid) { new string[128]; if(trLS[trid][trCreated]) { format(string, sizeof string, "Territorios/TR_%d.ini", trid); if(DOF2_FileExists(string)) { trLS[trid][trCreated] = false; GangZoneDestroy(trLS[trid][trGZ]); DestroyDynamicArea(trLS[trid][trArea]); DOF2_RemoveFile(string); } } return 1; } stock IsOrgTrmafia(playerid) { new org = GetPlayerOrg(playerid); if(org != 12 && //Yakuza org != 13 && //Mayans org != 20) //russa return 0; return 1; } stock IsOrgTr(playerid) { new org = GetPlayerOrg(playerid); if(org != 1 && //PM org != 2 && //BOPE org != 3 && // EXERCITO org != 5 && //Tropa da Franca org != 6 && // GATE org != 10 && // SFR org != 14 && //Groove org != 16 && //SWAT org != 17 && //Ballas org != 18 && //Vagos org != 19 && //CV org != 20 && //Mafia Russa org != 21 && //PCC org != 26 && //Milicia org != 27 && //Destroyers org != 28 && //Hells Angels org != 33 && //Policia Civil org != 12 && //Yakuza org != 13 && //Mayans org != 24 && //Cosa org != 11 && org != 36 && org != 37 &&//Tropa Da Turq org != 38 && //Tropa Da Esc org != 35) //BAEP return 0; return 1; } CMD:do(playerid) return ForT:tr(playerid); CMD:territorio(playerid) return ForT:tr(playerid); CMD:tr(playerid) { new string[MAX_STRING]; new org = GetPlayerOrg(playerid); if(!IsOrgTr(playerid)) return SendClientMessage(playerid, COLOR_GREY, "Voce nao pode dominar um territorio"); if(IsAPlane(GetPlayerVehicleID(playerid)) && IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, COLOR_GREY, "Voce nao pode dominar dentro de um aviao ou helicoptero!"); if((PlayerInfo[playerid][pAdmin] && admtrampando[playerid]) || (PlayerInfo[playerid][pHelper] && helpertrampando[playerid])) return SendClientMessage(playerid, COLOR_GREY, "Voce precisa estar em modo jogo para dominar territorios."); if(Dominando[playerid]) return SendClientMessage(playerid, COLOR_GREY, "Voce ja esta dominando um territorio"); if(IsOrgTrmafia(playerid)) { if(PlayerToPoint(30.0,playerid,199.9464,-1956.0801,-5.0446)) // GZ Mafia 50.0 { if(donomafiaporto == org)return SendClientMessage(playerid, COLOR_GREY, "Este local ja pertence a sua organizacao"); Dominando[playerid] = 1; ProvocoMafiaPorto[playerid] = 1; GangZoneFlashForAll(GZPorto,GetPlayerGZColor(playerid)); if(donomafiaporto < 1) { if(IsACop(playerid)) { format(string, sizeof string, "[Policial Federal]: %s esta retomando o controle do Porto de Los Santos.", NomePlayer(playerid)); SendClientMessageToAll(0x91766296, string); } else { format(string, sizeof string, "[Mafioso]: %s e a %s estao tomando o territorio do Porto de Los Santos", NomePlayer(playerid), GetOrgName(org)); SendClientMessageToAll(0x00660CC8, string); } SetTimerEx("GuerraMafiaPorto", 40000, 0, "i", playerid); } else { if(IsACop(playerid)) { format(string, sizeof string, "[Policial Federal]: %s esta retomando o controle do Porto de Los Santos.", NomePlayer(playerid)); SendClientMessageToAll(0x91766296, string); } else { format(string, sizeof string, "[Mafioso]: %s e a %s estao tomando o territorio do Porto de Los Santos da %s", NomePlayer(playerid), GetOrgName(org), GetOrgName(donomafiaporto)); SendClientMessageToAll(GetPlayerColor(playerid), string); } SetTimerEx("GuerraMafiaPorto", 40000, 0, "i", playerid); format(string, sizeof string, " %s e a %s estao tomando a Roda Gigante de voces, vao ate la!", NomePlayer(playerid), GetOrgName(org)); SendFamilyMessage(donomafiaporto, 0x00660CC8, string); } SendClientMessage(playerid, COLOR_GREY, "Voce esta dominando este territorio, espere 45 segundos, a PF e as mafias foram avisadas."); return 1; } if(PlayerToPoint(25.5,playerid,370.1786,-2032.8887,7.6719)) // GZ Mafia { if(donomafia == org)return SendClientMessage(playerid, COLOR_GREY, "Este local ja pertence a sua organizacao"); Dominando[playerid] = 1; ProvocoMafia[playerid] = 1; GangZoneFlashForAll(GZMafia,GetPlayerGZColor(playerid)); if(donomafia < 1) { if(IsACop(playerid)) { format(string, sizeof string, "[Policial Federal]: %s esta retomando o controle da Roda Gigante.", NomePlayer(playerid)); SendClientMessageToAll(0x91766296, string); } else { format(string, sizeof string, "[Mafioso]: %s e a %s estao tomando o territorio da Roda Gigante", NomePlayer(playerid), GetOrgName(org)); SendClientMessageToAll(0x00660CC8, string); } SetTimerEx("GuerraMafia", 40000, 0, "i", playerid); } else { if(IsACop(playerid)) { format(string, sizeof string, "[Policial Federal]: %s esta retomando o controle da Roda Gigante.", NomePlayer(playerid)); SendClientMessageToAll(0x91766296, string); } else { format(string, sizeof string, "[Mafioso]: %s e a %s estao tomando o territorio da Roda Gigante da %s", NomePlayer(playerid), GetOrgName(org), GetOrgName(donomafia)); SendClientMessageToAll(GetPlayerColor(playerid), string); } SetTimerEx("GuerraMafia", 40000, 0, "i", playerid); format(string, sizeof string, " %s e a %s estao tomando a Roda Gigante de voces, vao ate la!", NomePlayer(playerid), GetOrgName(org)); SendFamilyMessage(donomafia, 0x00660CC8, string); } SendClientMessage(playerid, COLOR_GREY, "Voce esta dominando este territorio, espere 45 segundos, a PF e as mafias foram avisadas."); return 1; } return 1; } new tr = GetPlayerTr(playerid); if(tr < 0) return SendClientMessage(playerid, COLOR_GREY, "Voce nao esta em nenhum terrotorio da cidade."); if(gettime() < trLS[tr][trLiberarGuerra]) { format(string, sizeof string, "Teve uma guerra aqui recentemente, espere %s para criar outra nesta regiao!",ConvertTime(trLS[tr][trLiberarGuerra] - gettime())); SendClientMessage(playerid, COLOR_GREY, string); return 1; } if(trLS[tr][trDono] == org) return SendClientMessage(playerid, COLOR_GREY, "Esta regiao ja pertence a sua organizacao."); if(trLS[tr][trGuerra]) return SendClientMessage(playerid, COLOR_GREY, "ja esta tendo uma guerra neste local."); for(new i; i != MAX_TERRITORIOS; i++) { if(trLS[i][trGangAttack] == org || trLS[i][trGangDeffend] == org) return SendClientMessage(playerid, COLOR_GREY, "Sua organizacao ja esta defendendo ou atacando algum territorio."); } for(new tri; tri != MAX_TERRITORIOS; tri++) { for(new i=1; i != MAX_ORGS; i++) { if(trLS[tri][trGangAttack] == i || trLS[tri][trGangDeffend] == i) { return SendClientMessage(playerid, COLOR_GREY, "Os donos desta regiao nao podem defender esta area no momento, pois ja estao em uma guerra!"); } } } new color; if(IsACop(playerid)) { format(string, sizeof string, "Voce esta retomando o controle da regiao de ~g~%s~w~~n~espere 1 minuto para conseguir dominar esta area", trLS[tr][trName]); PlayerTextDrawSetString(playerid, textaviso[playerid], string); GangZoneFlashForAll(trLS[tr][trGZ], 0x9fa4e895); color = 0x9fa4e895; foreach(Player, i) { if(PlayerInfo[i][pChatTerritorio] == 0) { format(string, sizeof string, "[GangZone]: Policial: %s esta retomando o controle da regiao de %s.", NomePlayer(playerid), trLS[tr][trName]); SendClientMessage(i, GetPlayerColor(playerid), string); } } } else { if(trLS[tr][trDono] < 1) { format(string, sizeof string, "Sua organizacao esta tentando tomar a regiao de ~g~%s", trLS[tr][trName]); SendFamilyTextMessage(org, string); foreach(Player, i) { if(PlayerInfo[i][pChatTerritorio] == 0) { format(string, sizeof(string), "[GangZone]: %s esta tentando tomar a regiao de %s para os %s.", NomePlayer(playerid), trLS[tr][trName], GetOrgNameG(org)); SendClientMessage(i, GetPlayerColor(playerid), string); } } } else { format(string, sizeof string, "~r~%s (%s)~w~ estao tentando dominar a regiao de ~r~%s ~w~de voces~n~vao ate la e protejam o que e de voces", NomePlayer(playerid), GetOrgName(org), trLS[tr][trName]); SendFamilyTextMessage(trLS[tr][trDono], string); format(string, sizeof string, "Sua organizacao esta tentando tomar a regiao de ~g~%s~w~ dos ~r~%s", trLS[tr][trName], GetOrgNameG(trLS[tr][trDono])); SendFamilyTextMessage(org, string); foreach(Player, i) { if(PlayerInfo[i][pChatTerritorio] == 0) { format(string, sizeof string, "[GangZone]: %s e os %s estao tentando tomar a regiao de %s dos %s.", NomePlayer(playerid), GetOrgNameG(org), trLS[tr][trName], GetOrgNameG(trLS[tr][trDono])); SendClientMessage(i, GetPlayerColor(playerid), string); } } } GangZoneFlashForAll(trLS[tr][trGZ], GetPlayerGZColor(playerid)); color = GetPlayerGZColor(playerid); } SendClientMessage(playerid, COLOR_GRAD1, "**Fique esperto, porque todos os Policiais e as Gangs foram avisadas de sua invasao!"); SetPVarInt(playerid, "TomandoTr", trLS[tr][trArea]); trLS[tr][trGuerra] = true; trLS[tr][trGangAttack] = org; trLS[tr][trGangDeffend] = trLS[tr][trDono]; trLS[tr][trLiberarGuerra] = gettime()+3*60; trLS[tr][trPontosAttack] = 0; trLS[tr][trPontosDeffend] = 0; trLS[tr][trTempoGuerra] = 60; trLS[tr][trTimer] = SetTimerEx("GuerraTr", 1000, 1, "dd", tr, color); return 1; } /* CMD:tr(playerid) { new string[MAX_STRING]; new org = GetPlayerOrg(playerid); if(!IsOrgTr(playerid)) return SendClientMessage(playerid, COLOR_GREY, "Voce nao pode dominar um territorio"); if(IsAPlane(GetPlayerVehicleID(playerid)) && IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, COLOR_GREY, "Voce nao pode dominar dentro de um aviao ou helicoptero!"); if((PlayerInfo[playerid][pAdmin] && admtrampando[playerid]) || (PlayerInfo[playerid][pHelper] && helpertrampando[playerid])) return SendClientMessage(playerid, COLOR_GREY, "Voce precisa estar em modo jogo para dominar territorios."); if(Dominando[playerid]) return SendClientMessage(playerid, COLOR_GREY, "Voce ja esta dominando um territorio"); if(IsOrgTrmafia(playerid)) { if(PlayerToPoint(50.0,playerid,370.1786,-2032.8887,7.6719)) // GZ Mafia { if(donomafiaporto == org)return SendClientMessage(playerid, COLOR_GREY, "Este local ja pertence a sua organizacao"); Dominando[playerid] = 1; ProvocoMafiaPorto[playerid] = 1; GangZoneFlashForAll(GZPorto,GetPlayerGZColor(playerid)); if(donomafiaporto < 1) { if(IsACop(playerid)) { format(string, sizeof string, "[Policial Federal]: %s esta retomando o controle do Porto de Los Santos.", NomePlayer(playerid)); SendClientMessageToAll(0x91766296, string); } else { format(string, sizeof string, "[Mafioso]: %s e a %s estao tomando o territorio do Porto de Los Santos", NomePlayer(playerid), GetOrgName(org)); SendClientMessageToAll(0x00660CC8, string); } SetTimerEx("GuerraMafiaPorto", 40000, 0, "i", playerid); } else { if(IsACop(playerid)) { format(string, sizeof string, "[Policial Federal]: %s esta retomando o controle do Porto de Los Santos.", NomePlayer(playerid)); SendClientMessageToAll(0x91766296, string); } else { format(string, sizeof string, "[Mafioso]: %s e a %s estao tomando o territorio do Porto de Los Santos da %s", NomePlayer(playerid), GetOrgName(org), GetOrgName(donomafiaporto)); SendClientMessageToAll(GetPlayerColor(playerid), string); } SetTimerEx("GuerraMafiaPorto", 40000, 0, "i", playerid); format(string, sizeof string, " %s e a %s estao tomando a Roda Gigante de voces, vao ate la!", NomePlayer(playerid), GetOrgName(org)); SendFamilyMessage(donomafiaporto, 0x00660CC8, string); } SendClientMessage(playerid, COLOR_GREY, "Voce esta dominando este territorio, espere 45 segundos, a PF e as mafias foram avisadas."); } if(PlayerToPoint(25.5,playerid,370.1786,-2032.8887,7.6719)) // GZ Mafia { if(donomafia == org)return SendClientMessage(playerid, COLOR_GREY, "Este local ja pertence a sua organizacao"); Dominando[playerid] = 1; ProvocoMafia[playerid] = 1; GangZoneFlashForAll(GZMafia,GetPlayerGZColor(playerid)); if(donomafia < 1) { if(IsACop(playerid)) { format(string, sizeof string, "[Policial Federal]: %s esta retomando o controle da Roda Gigante.", NomePlayer(playerid)); SendClientMessageToAll(0x91766296, string); } else { format(string, sizeof string, "[Mafioso]: %s e a %s estao tomando o territorio da Roda Gigante", NomePlayer(playerid), GetOrgName(org)); SendClientMessageToAll(0x00660CC8, string); } SetTimerEx("GuerraMafia", 40000, 0, "i", playerid); } else { if(IsACop(playerid)) { format(string, sizeof string, "[Policial Federal]: %s esta retomando o controle da Roda Gigante.", NomePlayer(playerid)); SendClientMessageToAll(0x91766296, string); } else { format(string, sizeof string, "[Mafioso]: %s e a %s estao tomando o territorio da Roda Gigante da %s", NomePlayer(playerid), GetOrgName(org), GetOrgName(donomafia)); SendClientMessageToAll(GetPlayerColor(playerid), string); } SetTimerEx("GuerraMafia", 40000, 0, "i", playerid); format(string, sizeof string, " %s e a %s estao tomando a Roda Gigante de voces, vao ate la!", NomePlayer(playerid), GetOrgName(org)); SendFamilyMessage(donomafia, 0x00660CC8, string); } SendClientMessage(playerid, COLOR_GREY, "Voce esta dominando este territorio, espere 45 segundos, a PF e as mafias foram avisadas."); } return 1; } new tr = GetPlayerTr(playerid); if(tr < 0) return SendClientMessage(playerid, COLOR_GREY, "Voce nao esta em nenhum terrotorio da cidade."); if(gettime() < trLS[tr][trLiberarGuerra]) { format(string, sizeof string, "Teve uma guerra aqui recentemente, espere %s para criar outra nesta regiao!",ConvertTime(trLS[tr][trLiberarGuerra] - gettime())); SendClientMessage(playerid, COLOR_GREY, string); return 1; } if(trLS[tr][trDono] == org) return SendClientMessage(playerid, COLOR_GREY, "Esta regiao ja pertence a sua organizacao."); if(trLS[tr][trGuerra]) return SendClientMessage(playerid, COLOR_GREY, "ja esta tendo uma guerra neste local."); for(new i; i != MAX_TERRITORIOS; i++) { if(trLS[i][trGangAttack] == org || trLS[i][trGangDeffend] == org) return SendClientMessage(playerid, COLOR_GREY, "Sua organizacao ja esta defendendo ou atacando algum territorio."); } for(new tri; tri != MAX_TERRITORIOS; tri++) { for(new i=1; i != MAX_ORGS; i++) { if(trLS[tri][trGangAttack] == i || trLS[tri][trGangDeffend] == i) { return SendClientMessage(playerid, COLOR_GREY, "Os donos desta regiao nao podem defender esta area no momento, pois ja estao em uma guerra!"); } } } new color; if(IsACop(playerid)) { format(string, sizeof string, "Voce esta retomando o controle da regiao de ~g~%s~w~~n~espere 1 minuto para conseguir dominar esta area", trLS[tr][trName]); PlayerTextDrawSetString(playerid, textaviso[playerid], string); GangZoneFlashForAll(trLS[tr][trGZ], 0x9fa4e895); color = 0x9fa4e895; foreach(Player, i) { if(PlayerInfo[i][pChatTerritorio] == 0) { format(string, sizeof string, "[GangZone]: Policial: %s esta retomando o controle da regiao de %s.", NomePlayer(playerid), trLS[tr][trName]); SendClientMessage(i, GetPlayerColor(playerid), string); } } } else { if(trLS[tr][trDono] < 1) { format(string, sizeof string, "Sua organizacao esta tentando tomar a regiao de ~g~%s", trLS[tr][trName]); SendFamilyTextMessage(org, string); foreach(Player, i) { if(PlayerInfo[i][pChatTerritorio] == 0) { format(string, sizeof(string), "[GangZone]: %s esta tentando tomar a regiao de %s para os %s.", NomePlayer(playerid), trLS[tr][trName], GetOrgNameG(org)); SendClientMessage(i, GetPlayerColor(playerid), string); } } } else { format(string, sizeof string, "~r~%s (%s)~w~ estao tentando dominar a regiao de ~r~%s ~w~de voces~n~vao ate la e protejam o que e de voces", NomePlayer(playerid), GetOrgName(org), trLS[tr][trName]); SendFamilyTextMessage(trLS[tr][trDono], string); format(string, sizeof string, "Sua organizacao esta tentando tomar a regiao de ~g~%s~w~ dos ~r~%s", trLS[tr][trName], GetOrgNameG(trLS[tr][trDono])); SendFamilyTextMessage(org, string); foreach(Player, i) { if(PlayerInfo[i][pChatTerritorio] == 0) { format(string, sizeof string, "[GangZone]: %s e os %s estao tentando tomar a regiao de %s dos %s.", NomePlayer(playerid), GetOrgNameG(org), trLS[tr][trName], GetOrgNameG(trLS[tr][trDono])); SendClientMessage(i, GetPlayerColor(playerid), string); } } } GangZoneFlashForAll(trLS[tr][trGZ], GetPlayerGZColor(playerid)); color = GetPlayerGZColor(playerid); } SendClientMessage(playerid, COLOR_GRAD1, "**Fique esperto, porque todos os Policiais e as Gangs foram avisadas de sua invasao!"); SetPVarInt(playerid, "TomandoTr", trLS[tr][trArea]); trLS[tr][trGuerra] = true; trLS[tr][trGangAttack] = org; trLS[tr][trGangDeffend] = trLS[tr][trDono]; trLS[tr][trLiberarGuerra] = gettime()+3*60; trLS[tr][trPontosAttack] = 0; trLS[tr][trPontosDeffend] = 0; trLS[tr][trTempoGuerra] = 60; trLS[tr][trTimer] = SetTimerEx("GuerraTr", 1000, 1, "dd", tr, color); return 1; } */ forward UpdateTime(); public UpdateTime(){ if(rRy_CorAtivada == 1){ new Str[34]; rRy_sTimeS --; for (new Q = 0; Q < sizeof(rRy_PosSTARTr); Q++){PlayerPlaySound(rRy_PlayersID[Q],1053,0.0, 0.0, 0.0);} if(rRy_sTimeS <= 0){ KillTimer(rRy_TimeM); for (new Q = 0; Q < sizeof(rRy_PosSTARTr); Q++){ GameTextForPlayer(rRy_PlayersID[Q],"~g~-~y~]~g~-~g~START~g~-~y~]~g~-",1000,3); PlayerPlaySound(rRy_PlayersID[Q],1056,0.0, 0.0, 0.0); TextDrawHideForPlayer(rRy_PlayersID[Q], rRy_Textdraw0); TogglePlayerControllable(rRy_PlayersID[Q],1); rRy_sTimeS = 0; } return 1; } if(rRy_sTimeS<10) format(Str, sizeof(Str), "00:0%d", rRy_sTimeS); if(rRy_sTimeS>9) format(Str, sizeof(Str), "00:%d", rRy_sTimeS); TextDrawSetString(rRy_Textdraw0, Str); } return 1; } CMD:dominarmoto(playerid) { new string[MAX_STRING]; if(GetPlayerOrg(playerid) == 24) { if(barexit[playerid] == 1) { if(Dominando[playerid] == 1) { SendClientMessage(playerid, COLOR_GRAD5, "Voce ja esta dominando um Bar."); return 1; } if(Guerrandobar1 == 1) { SendClientMessage(playerid, COLOR_GRAD5, "Ja esta tendo uma Briga por esse Bar."); return 1; } GetPlayerName(playerid, playername, MAX_PLAYER_NAME); foreach(Player, i) { if(PlayerInfo[i][pChatTerritorio] == 0) { format(string, sizeof(string), "[GangZone]: %s e a Mayans Estao Tentando Ocupar o Bar Jizzy's!",playername); SendClientMessage(i, 0x33FFFFAA, string); } } SendClientMessage(playerid, COLOR_GRAD3, "Fique esperto, os Sons Of Anarchy Ja Estao Sabendo Disto!"); SendClientMessage(playerid, COLOR_GRAD5, "Espere 1 minuto para o bar ser seu."); Dominando[playerid] = 1; Guerrandobar1 = 1; TempoGuerrabar1 = SetTimerEx("Guerrabar1", 60000, 0, "i", playerid); return 1; } if(barexit[playerid] == 2) { if(Dominando[playerid] == 1) { SendClientMessage(playerid, COLOR_GRAD5, "Voce ja esta dominando um Bar."); return 1; } if(Guerrandobar2 == 1) { SendClientMessage(playerid, COLOR_GRAD5, "Ja esta tendo uma Briga por esse Bar."); return 1; } GetPlayerName(playerid, playername, MAX_PLAYER_NAME); foreach(Player, i) { if(PlayerInfo[i][pChatTerritorio] == 0) { format(string, sizeof(string), "[GangZone]: %s e a Mayans Estao Tentando Ocupar o Rock Bar!",playername); SendClientMessage(i, 0x33FFFFAA, string); } } SendClientMessage(playerid, COLOR_GRAD3, "Fique esperto, os Sons Of Anarchy Ja Estao Sabendo Disto!"); SendClientMessage(playerid, COLOR_GRAD5, "Espere 1 minuto para o bar ser seu."); Dominando[playerid] = 1; Guerrandobar2 = 1; TempoGuerrabar2 = SetTimerEx("Guerrabar2", 60000, 0, "i", playerid); return 1; } if(barexit[playerid] == 3) { if(Dominando[playerid] == 1) { SendClientMessage(playerid, COLOR_GRAD5, "Voce ja esta dominando um Bar."); return 1; } if(Guerrandobar3 == 1) { SendClientMessage(playerid, COLOR_GRAD5, "Ja esta tendo uma Briga por esse Bar."); return 1; } GetPlayerName(playerid, playername, MAX_PLAYER_NAME); foreach(Player, i) { if(PlayerInfo[i][pChatTerritorio] == 0) { format(string, sizeof(string), "[GangZone]: %s e Mayans Estao Tentando Ocupar o Bar Conqui's!",playername); SendClientMessage(i, 0x33FFFFAA, string); } } SendClientMessage(playerid, COLOR_GRAD3, "Fique esperto, os Sons Of Anarchy Ja Estao Sabendo Disto!"); SendClientMessage(playerid, COLOR_GRAD5, "Espere 1 minuto para o bar ser seu."); Dominando[playerid] = 1; Guerrandobar3 = 1; TempoGuerrabar3 = SetTimerEx("Guerrabar3", 60000, 0, "i", playerid); return 1; } if(barexit[playerid] == 4) { if(Dominando[playerid] == 1) { SendClientMessage(playerid, COLOR_GRAD5, "Voce ja esta dominando um Bar."); return 1; } if(Guerrandobar4 == 1) { SendClientMessage(playerid, COLOR_GRAD5, "Ja esta tendo uma Briga por esse Bar."); return 1; } GetPlayerName(playerid, playername, MAX_PLAYER_NAME); foreach(Player, i) { if(PlayerInfo[i][pChatTerritorio] == 0) { format(string, sizeof(string), "[GangZone]: %s e a Mayans Estao Tentando Ocupar o Bar Fifth's!",playername); SendClientMessage(i, 0x33FFFFAA, string); } } SendClientMessage(playerid, COLOR_GRAD3, "Fique esperto, os Sons Of Anarchy Ja Estao Sabendo Disto!"); SendClientMessage(playerid, COLOR_GRAD5, "Espere 1 minuto para o bar ser seu."); Dominando[playerid] = 1; Guerrandobar4 = 1; TempoGuerrabar4 = SetTimerEx("Guerrabar4", 60000, 0, "i", playerid); return 1; } if(barexit[playerid] == 5) { if(Dominando[playerid] == 1) { SendClientMessage(playerid, COLOR_GRAD5, "Voce ja esta dominando um Bar."); return 1; } if(Guerrandobar5 == 1) { SendClientMessage(playerid, COLOR_GRAD5, "Ja esta tendo uma Briga por esse Bar."); return 1; } GetPlayerName(playerid, playername, MAX_PLAYER_NAME); foreach(Player, i) { if(PlayerInfo[i][pChatTerritorio] == 0) { format(string, sizeof(string), "[GangZone]: %s e a Mayans Estao Tentando Ocupar o Bar Lone's!",playername); SendClientMessage(i, 0x33FFFFAA, string); } } SendClientMessage(playerid, COLOR_GRAD3, "Fique esperto, os Sons Of Anarchy Ja Estao Sabendo Disto!"); SendClientMessage(playerid, COLOR_GRAD5, "Espere 1 minuto para o bar ser seu."); Dominando[playerid] = 1; Guerrandobar5 = 1; TempoGuerrabar5 = SetTimerEx("Guerrabar5", 60000, 0, "i", playerid); return 1; } } if(GetPlayerOrg(playerid) == 25) { if(barexit[playerid] == 1) { if(Dominando[playerid] == 1) { SendClientMessage(playerid, COLOR_GRAD5, "Voce ja esta dominando um Bar."); return 1; } if(Guerrandobar1 == 1) { SendClientMessage(playerid, COLOR_GRAD5, "Ja esta tendo uma Briga por esse Bar."); return 1; } GetPlayerName(playerid, playername, MAX_PLAYER_NAME); foreach(Player, i) { if(PlayerInfo[i][pChatTerritorio] == 0) { format(string, sizeof(string), "[GangZone]: %s e os Sons Of Anarchy Estao Tentando Ocupar o Bar Jizzy's!",playername); SendClientMessage(i, 0x535d7165, string); } } SendClientMessage(playerid, COLOR_GRAD3, "Fique esperto, os Mayans Ja Estao Sabendo Disto!"); SendClientMessage(playerid, COLOR_GRAD5, "Espere 1 minuto para o bar ser seu."); Dominando[playerid] = 1; Guerrandobar1 = 1; TempoGuerrabar1 = SetTimerEx("Guerrabar1", 60000, 0, "i", playerid); return 1; } if(barexit[playerid] == 2) { if(Dominando[playerid] == 1) { SendClientMessage(playerid, COLOR_GRAD5, "Voce ja esta dominando um Bar."); return 1; } if(Guerrandobar2 == 1) { SendClientMessage(playerid, COLOR_GRAD5, "Ja esta tendo uma Briga por esse Bar."); return 1; } GetPlayerName(playerid, playername, MAX_PLAYER_NAME); foreach(Player, i) { if(PlayerInfo[i][pChatTerritorio] == 0) { format(string, sizeof(string), "[GangZone]: %s e os Sons Of Anarchy Estao Tentando Ocupar o Rock Bar!",playername); SendClientMessage(i, 0x535d7165, string); } } SendClientMessage(playerid, COLOR_GRAD3, "Fique esperto, os Mayans Ja Estao Sabendo Disto!"); SendClientMessage(playerid, COLOR_GRAD5, "Espere 1 minuto para o bar ser seu."); Dominando[playerid] = 1; Guerrandobar2 = 1; TempoGuerrabar2 = SetTimerEx("Guerrabar2", 60000, 0, "i", playerid); return 1; } if(barexit[playerid] == 3) { if(Dominando[playerid] == 1) { SendClientMessage(playerid, COLOR_GRAD5, "Voce ja esta dominando um Bar."); return 1; } if(Guerrandobar3 == 1) { SendClientMessage(playerid, COLOR_GRAD5, "Ja esta tendo uma Briga por esse Bar."); return 1; } GetPlayerName(playerid, playername, MAX_PLAYER_NAME); foreach(Player, i) { if(PlayerInfo[i][pChatTerritorio] == 0) { format(string, sizeof(string), "[GangZone]: %s e os Sons Of Anarchy Estao Tentando Ocupar o Bar Conqui's!",playername); SendClientMessage(i, 0x535d7165, string); } } SendClientMessage(playerid, COLOR_GRAD3, "Fique esperto, os Mayans Ja Estao Sabendo Disto!"); SendClientMessage(playerid, COLOR_GRAD5, "Espere 1 minuto para o bar ser seu."); Dominando[playerid] = 1; Guerrandobar3 = 1; TempoGuerrabar3 = SetTimerEx("Guerrabar3", 60000, 0, "i", playerid); return 1; } if(barexit[playerid] == 4) { if(Dominando[playerid] == 1) { SendClientMessage(playerid, COLOR_GRAD5, "Voce ja esta dominando um Bar."); return 1; } if(Guerrandobar4 == 1) { SendClientMessage(playerid, COLOR_GRAD5, "Ja esta tendo uma Briga por esse Bar."); return 1; } GetPlayerName(playerid, playername, MAX_PLAYER_NAME); foreach(Player, i) { if(PlayerInfo[i][pChatTerritorio] == 0) { format(string, sizeof(string), "%s e os Sons Of Anarchy Estao Tentando Ocupar o Bar Fifth's!",playername); SendClientMessage(i, 0x535d7165, string); } } SendClientMessage(playerid, COLOR_GRAD3, "Fique esperto, os Mayans Ja Estao Sabendo Disto!"); SendClientMessage(playerid, COLOR_GRAD5, "Espere 1 minuto para o bar ser seu."); Dominando[playerid] = 1; Guerrandobar4 = 1; TempoGuerrabar4 = SetTimerEx("Guerrabar4", 60000, 0, "i", playerid); return 1; } if(barexit[playerid] == 5) { if(Dominando[playerid] == 1) { SendClientMessage(playerid, COLOR_GRAD5, "Voce ja esta dominando um Bar."); return 1; } if(Guerrandobar5 == 1) { SendClientMessage(playerid, COLOR_GRAD5, "Ja esta tendo uma Briga por esse Bar."); return 1; } GetPlayerName(playerid, playername, MAX_PLAYER_NAME); foreach(Player, i) { if(PlayerInfo[i][pChatTerritorio] == 0) { format(string, sizeof(string), "%s e os Sons Of Anarchy Estao Tentando Ocupar o Bar Lone's!",playername); SendClientMessage(i, 0x535d7165, string); } } SendClientMessage(playerid, COLOR_GRAD3, "Fique esperto, os Mayans Ja Estao Sabendo Disto!"); SendClientMessage(playerid, COLOR_GRAD5, "Espere 1 minuto para o bar ser seu."); Dominando[playerid] = 1; Guerrandobar5 = 1; TempoGuerrabar5 = SetTimerEx("Guerrabar5", 60000, 0, "i", playerid); return 1; } } return 1; } stock rRy_GetNome(playerid){ new xNome[32]; GetPlayerName(playerid,xNome,sizeof(xNome)); return xNome; } CMD:dominar(playerid){ new string[256]; new org = GetPlayerOrg(playerid); if(org == 11 || org == 12 || org == 13 || org == 24){ if(IsPlayerInRangeOfPoint(playerid, 5.0, 942.2549,2163.4644,1012.2277)){ if(DominandoMercadoNegro[playerid] == 1) return SendClientMessage(playerid, -1, "Voce ja esta dominando o Mercado Negro!"); if(donoMercadoNegro == org) return SendClientMessage(playerid, -1, "O Mercado Negro ja pertence a sua organizacao!"); if(GuerranoMercadoNegro == 1) return SendClientMessage(playerid, -1, "Ja estao dominando o Mercado Negro!"); new color[10]; if(org == 11) color = "{917662}"; if(org == 12) color = "{D48A30}"; if(org == 13) color = "{00483A}"; if(org == 24) color = "{66CCFF}"; new color2[10]; if(donoMercadoNegro == 11) color2 = "{917662}"; if(donoMercadoNegro == 12) color2 = "{D48A30}"; if(donoMercadoNegro == 13) color2 = "{00483A}"; if(donoMercadoNegro == 24) color2 = "{66CCFF}"; if(donoMercadoNegro != 0) format(string, sizeof string, "[Mercado Negro]: {FFFFFF}A organizacao %s%s {FFFFFF}esta tentando dominar o mercado negro dos %s%s", color, GetOrgName(org), color2, GetOrgName(donoMercadoNegro)); else format(string, sizeof string, "[Mercado Negro]: {FFFFFF}A organizacao %s%s {FFFFFF}esta tentando dominar o mercado negro para si", color, GetOrgName(org)); SendClientMessageToAll(0x00aaffFF, string); SendFamilyTextMessage(org, #Sua organizacao esta tentando tomar a regiao do ~g~Mercado Negro); DominandoMercadoNegro[playerid] = 1; GuerranoMercadoNegro = 1; ProvocoMercadoNegro[playerid] = 1; TempoGuerraMercadoNegro = SetTimerEx("DominarMercadoNegro", 60000, 0, "i", playerid); return 1; } else{ SendClientMessage(playerid, -1, "Voce nao esta no Mercado Negro!"); } } else{ SendClientMessage(playerid, -1, "Voce nao pode dominar o Mercado Negro!"); } return 1; } CallBack::DominarMercadoNegro(playerid){ if(ProvocoMercadoNegro[playerid] == 1){ new string[256]; new org = GetPlayerOrg(playerid); new color[10]; if(org == 11) color = "{917662}"; if(org == 12) color = "{D48A30}"; if(org == 13) color = "{00483A}"; if(org == 24) color = "{66CCFF}"; if(donoMercadoNegro != 0){ format(string, sizeof string, "~r~Os %s~w~ conseguiram tomar a regiao do ~r~Mercado Negro ~w~de voces~n~vao la e retomem o local", GetOrgName(org)); SendFamilyTextMessage(donoMercadoNegro, string); } else SendFamilyTextMessage(org, #Voces conseguiram tomar a regiao do ~g~Mercado Negro~w~~n~Nao deixem que tomem de voces); new color2[10]; if(donoMercadoNegro == 11) color2 = "{917662}"; if(donoMercadoNegro == 12) color2 = "{D48A30}"; if(donoMercadoNegro == 13) color2 = "{00483A}"; if(donoMercadoNegro == 24) color2 = "{66CCFF}"; if(donoMercadoNegro != 0) format(string, sizeof string, "[Mercado Negro]: {FFFFFF}A organizacao %s%s {FFFFFF}conseguiu dominar o mercado negro dos %s%s", color, GetOrgName(org), color2, GetOrgName(donoMercadoNegro)); else format(string, sizeof string, "[Mercado Negro]: {FFFFFF}A organizacao %s%s {FFFFFF}conseguiu dominar o mercado negro para si", color, GetOrgName(org)); SendClientMessageToAll(0x00aaffFF, string); donoMercadoNegro = org; new color3[10]; if(donoMercadoNegro == 11) color3 = "{917662}"; if(donoMercadoNegro == 12) color3 = "{D48A30}"; if(donoMercadoNegro == 13) color3 = "{00483A}"; if(donoMercadoNegro == 24) color3 = "{66CCFF}"; DestroyDynamic3DTextLabel(TextMercadoNegro); format(string, sizeof string, "Use o comando {00FFFF}/dominar{FFFFFF} para dominar este local\nOrganizacao dona: %s%s", color3, GetOrgName(org)); TextMercadoNegro = CreateDynamic3DTextLabel(string, 0xFFFFFF00, 942.2549,2163.4644,1012.2277, 10.0); KillTimer(TempoGuerraMercadoNegro); DominandoMercadoNegro[playerid] = 0; ProvocoMercadoNegro[playerid] = 0; GuerranoMercadoNegro = 0; } } CMD:dotr(playerid) { new string[MAX_STRING]; if(TempoDominar[playerid] > gettime()) { SendClientMessage(playerid, COLOR_GREY, "Voce so pode usar este comando a cada 5 segundos !"); return 1; } if(IsAPlane(GetPlayerVehicleID(playerid)) && IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, COLOR_GREY, "Voce nao pode dominar dentro de um aviao ou helicoptero!"); if(GetPlayerOrg(playerid) == 3) { if(IsPlayerInMata(playerid)) { if(Dominando[playerid] == 1) { SendClientMessage(playerid, COLOR_GRAD5, "Voce ja esta dominando um territorio."); TempoDominar[playerid] = gettime() + 5; return 1; } if(GuerranaMata == 1) { SendClientMessage(playerid, COLOR_GRAD5, "Ja esta tendo uma guerra nesse territorio."); TempoDominar[playerid] = gettime() + 5; return 1; } TempoDominar[playerid] = gettime() + 5; GetPlayerName(playerid, playername, MAX_PLAYER_NAME); foreach(Player, i) { if(PlayerInfo[i][pChatTerritorio] == 0) { format(string, sizeof(string), "[GangZone]: %s e o Exercito estao dominando a Mata!",playername); SendClientMessage(i, COR_EXE, string); } } SendClientMessage(playerid, COLOR_GRAD3, "Fique esperto os Terroristas Foram Avisados"); SendClientMessage(playerid, COLOR_GRAD5, "Espere 1 minuto para dominar esta area ."); GangZoneFlashForAll(GZMata,COR_EXE); Dominando[playerid] = 1; ProvocoMata[playerid] = 1; GuerranaMata = 1; TempoGuerraMata = SetTimerEx("GuerraMata", 60000, 0, "i", playerid); return 1; } else { SendClientMessage(playerid, COLOR_GRAD3, "Voce nao esta em nenhum territorio!"); } return 1; } if(GetPlayerOrg(playerid) == 23) { if(IsPlayerInMata(playerid)) { if(Dominando[playerid] == 1) { SendClientMessage(playerid, COLOR_GRAD5, "Voce ja esta dominando um territorio."); TempoDominar[playerid] = gettime() + 5; return 1; } if(GuerranaMata == 1) { SendClientMessage(playerid, COLOR_GRAD5, "Ja esta tendo uma guerra nesse territorio."); TempoDominar[playerid] = gettime() + 5; return 1; } TempoDominar[playerid] = gettime() + 5; GetPlayerName(playerid, playername, MAX_PLAYER_NAME); foreach(Player, i) { if(PlayerInfo[i][pChatTerritorio] == 0) { format(string, sizeof(string), "[GangZone]: %s e a As FARC estao dominando A Mata!",playername); SendClientMessage(i, 0xCC0196FF, string); } } SendClientMessage(playerid, COLOR_GRAD3, "Fique esperto o Exercito e os Terroristas Foram Avisados"); SendClientMessage(playerid, COLOR_GRAD5, "Espere 1 minuto para dominar esta area ."); GangZoneFlashForAll(GZMata,0xCC0196FF); Dominando[playerid] = 1; ProvocoMata[playerid] = 1; GuerranaMata = 1; TempoGuerraMata = SetTimerEx("GuerraMata", 60000, 0, "i", playerid); return 1; } else { SendClientMessage(playerid, COLOR_GRAD3, "Voce nao esta em nenhum territorio!"); } return 1; } if(GetPlayerOrg(playerid) == 15) { if(IsPlayerInMata(playerid)) { if(Dominando[playerid] == 1) { SendClientMessage(playerid, COLOR_GRAD5, "Voce ja esta dominando um territorio."); TempoDominar[playerid] = gettime() + 5; return 1; } if(GuerranaMata == 1) { SendClientMessage(playerid, COLOR_GRAD5, "Ja esta tendo uma guerra nesse territorio."); TempoDominar[playerid] = gettime() + 5; return 1; } TempoDominar[playerid] = gettime() + 5; GetPlayerName(playerid, playername, MAX_PLAYER_NAME); foreach(Player, i) { if(PlayerInfo[i][pChatTerritorio] == 0) { format(string, sizeof(string), "[GangZone]: %s e o Estado Islâmico estao dominando a Mata!",playername); SendClientMessage(i, 0x6E6E6E96, string); } } SendClientMessage(playerid, COLOR_GRAD3, "Fique esperto o Estado Islâmico e os Terroristas Foram Avisados"); SendClientMessage(playerid, COLOR_GRAD5, "Espere 1 minuto para dominar esta area ."); GangZoneFlashForAll(GZMata,0x6E6E6E96); Dominando[playerid] = 1; ProvocoMata[playerid] = 1; GuerranaMata = 1; TempoGuerraMata = SetTimerEx("GuerraMata", 60000, 0, "i", playerid); return 1; } } return 1; } stock CheckPontosTr(playerid, killerid) { new okiller = GetPlayerOrg(killerid); new oplayer = GetPlayerOrg(playerid); if(okiller < 1 || oplayer < 1)return 1; for(new i; i != MAX_TERRITORIOS; i++) { if(IsPlayerInDynamicArea(playerid, trLS[i][trArea]) && IsPlayerInDynamicArea(killerid, trLS[i][trArea])) { if(trLS[i][trGangAttack] == okiller && trLS[i][trGangDeffend] == oplayer) { trLS[i][trPontosAttack]++; } else if(trLS[i][trGangAttack] == oplayer && trLS[i][trGangDeffend] == okiller) { trLS[i][trPontosDeffend]++; } } } return 1; } CallBack::GuerraTr(trid, color) { new pontosattack = trLS[trid][trPontosAttack]; new pontosdeffend = trLS[trid][trPontosDeffend]; new string[128]; if(trLS[trid][trGuerra]) { if(trLS[trid][trTempoGuerra] > 0) trLS[trid][trTempoGuerra] --; if(trLS[trid][trGangDeffend] > 0) { format(string, sizeof string, "~g~Tempo: %s~n~~p~%s~n~~y~Defendendo: ~w~%s:~r~ %d~n~~y~Atacando: ~w~%s: ~r~%d", ConvertTime(trLS[trid][trTempoGuerra]), trLS[trid][trName], GetOrgName(trLS[trid][trGangDeffend]), pontosdeffend, GetOrgName(trLS[trid][trGangAttack]), pontosattack); } else { format(string, sizeof string, "~g~Tempo: %s~n~~p~%s", ConvertTime(trLS[trid][trTempoGuerra]), trLS[trid][trName]); } foreach(Player, i) { if(trLS[trid][trGangAttack] == GetPlayerOrg(i) || trLS[trid][trGangDeffend] == GetPlayerOrg(i)) { PlayerTextDrawSetString(i, textguerratr[i], string); PlayerTextDrawShow(i, textguerratr[i]); } if(GetPlayerOrg(i) < 1) { PlayerTextDrawHide(i, textguerratr[i]); } } if(trLS[trid][trTempoGuerra] < 1) { KillTimer(trLS[trid][trTimer]); trLS[trid][trGuerra] = false; if(CountOrgTr(trLS[trid][trGangAttack], trid) > 0) { if(pontosattack == pontosdeffend || pontosattack > pontosdeffend) { WinsGuerra(trid, trLS[trid][trGangAttack], trLS[trid][trGangDeffend], color); } else { DeffendGuerra(trid, trLS[trid][trGangDeffend], trLS[trid][trGangAttack]); } } else { DeffendGuerra(trid, trLS[trid][trGangDeffend], trLS[trid][trGangAttack]); } trLS[trid][trGangAttack] = 0; trLS[trid][trGangDeffend] = 0; } } return 1; } stock WinsGuerra(trid, org, orgperde, gzcolor) { static string[256]; format(string, sizeof string, "~r~Os %s~w~ conseguiram tomar a regiao ~r~%s ~w~de voces~n~vao la e retomem o local", GetOrgName(org), trLS[trid][trName]); SendFamilyTextMessage(orgperde, string); format(string, sizeof string, "Voces conseguiram tomar a regiao de ~g~%s~w~ dos %s~n~Nao deixem que retomem de voces", trLS[trid][trName], GetOrgName(orgperde)); SendFamilyTextMessage(org, string); foreach(Player, i) { if(PlayerInfo[i][pChatTerritorio] == 0) { if(orgperde) format(string, sizeof string, "*Os %s conseguiram tomar a regiao de %s dos %s!", GetOrgName(org), trLS[trid][trName], GetOrgName(orgperde)); else format(string, sizeof string, "*Os %s conseguiram tomar a regiao de %s!", GetOrgName(org), trLS[trid][trName]); SendClientMessage(i, GetPlayerColor(i), string); } } trLS[trid][trDono] = org; trLS[trid][trColor] = gzcolor; GangZoneStopFlashForAll(trLS[trid][trGZ]); GangZoneShowForAll(trLS[trid][trGZ], trLS[trid][trColor]); TrSave(trid); foreach(Player, i) { if(trLS[trid][trGangAttack] == GetPlayerOrg(i) || trLS[trid][trGangDeffend] == GetPlayerOrg(i)) { PlayerTextDrawHide(i, textguerratr[i]); } } } stock DeffendGuerra(trid, org, orgperde) { static string[256]; format(string, sizeof string, "Voces conseguiram defender a regiao de ~g~%s~w~ do ataque dos ~r~%s~n~~w~Cuidem bem do local e nao deixe que ataquem novamente", trLS[trid][trName], GetOrgName(orgperde)); SendFamilyTextMessage(org, string); format(string, sizeof string, "Os ~r~%s~w~ conseguiram defender a regiao de ~r~%s~w~ do ataque de voces!", GetOrgName(org), trLS[trid][trName]); SendFamilyTextMessage(orgperde, string); format(string, sizeof string, "*Os %s conseguiram defender a regiao de %s do ataque dos %s!", GetOrgName(org), trLS[trid][trName], GetOrgName(orgperde)); SendClientMessageToAll(COLOR_LIGHTRED, string); GangZoneStopFlashForAll(trLS[trid][trGZ]); foreach(Player, i) { if(trLS[trid][trGangAttack] == GetPlayerOrg(i) || trLS[trid][trGangDeffend] == GetPlayerOrg(i)) { PlayerTextDrawHide(i, textguerratr[i]); } } } stock CountOrgTr(orgid, trid) { new count = 0; foreach(Player, i) { if(IsPlayerInDynamicArea(i, trLS[trid][trArea]) && GetPlayerOrg(i) == orgid){ count++; } } return count; } stock SendFamilyTextMessage(orgtext, message[]) { foreach(Player, i) { if(GetPlayerOrg(i) == orgtext && orgtext > 0){ PlayerTextDrawSetString(i, textaviso[i], message); PlayerTextDrawShow(i, textaviso[i]); SetTimerEx("HideMessage", 20000, 0, "d", i); } } return 1; } BPF:SendPlayerTextMessage(playerid, message[], tempo) { PlayerTextDrawSetString(playerid, textaviso[playerid], message); PlayerTextDrawShow(playerid, textaviso[playerid]); SetTimerEx("HideMessage", tempo, 0, "d", playerid); } CallBack::HideMessage(playerid) return PlayerTextDrawHide(playerid, textaviso[playerid]); //------------- Sistema de Easter Eggs ------------------ enum eastE{ eaDescricao [50], bool: eaDescoberto, Float: eaX, Float: eaY, Float: eaZ, Float: eaRange, Text3D: eaText, eaNick [MAX_PLAYER_NAME], }; new EEInfo[MAX_EASTER_EGGS][eastE]; createEE(eeid, descricao[], modelid, Float:range, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz){ static Str[98] ; EEInfo[eeid][eaX] = x; EEInfo[eeid][eaY] = y; EEInfo[eeid][eaZ] = z; EEInfo[eeid][eaRange] = range; EEInfo[eeid][eaDescoberto] = false; format(EEInfo[eeid][eaNick], 24, "Ninguem"); format(EEInfo[eeid][eaDescricao], 50, descricao); CreateDynamicObject(modelid, x, y, z, rx, ry, rz); format(Str, sizeof Str, "*** EASTER EGG ***\n''%s''{FFFFFF}\nDescoberto por %s", EEInfo[eeid][eaDescricao], EEInfo[eeid][eaNick]); EEInfo[eeid][eaText] = CreateDynamic3DTextLabel(Str, 0xFFA500AA, x, y, z, EEInfo[eeid][eaRange]); } loadEE(){ static string[70], Str[79] ; for(new e; e != MAX_EASTER_EGGS; e++){ format(string, sizeof string, "%d_descoberto", e); EEInfo[e][eaDescoberto] = DOF2_GetBool(Pasta_Eastereggs, string); format(string, sizeof string, "%d_nick", e); format(EEInfo[e][eaNick], 24, DOF2_GetString(Pasta_Eastereggs, string)); if(strlen(EEInfo[e][eaNick]) < 2){ format(EEInfo[e][eaNick], 24, "Ninguem"); } if(EEInfo[e][eaDescoberto]){ DestroyDynamic3DTextLabel(EEInfo[e][eaText]); format(Str, sizeof Str, "*** EASTER EGG ***\n''%s''{FFFFFF}\nDescoberto por %s", EEInfo[e][eaDescricao], EEInfo[e][eaNick]); EEInfo[e][eaText] = CreateDynamic3DTextLabel(Str, 0xFFA500AA, EEInfo[e][eaX], EEInfo[e][eaY], EEInfo[e][eaZ], EEInfo[e][eaRange]); } } } saveEE(){ static string[70] ; if(!DOF2_FileExists(Pasta_Eastereggs))DOF2_CreateFile(Pasta_Eastereggs); for(new e; e != MAX_EASTER_EGGS; e++){ format(string, sizeof string, "%d_descoberto", e); DOF2_SetBool(Pasta_Eastereggs, string, EEInfo[e][eaDescoberto]); format(string, sizeof string, "%d_nick", e); DOF2_SetString(Pasta_Eastereggs, string, EEInfo[e][eaNick]); } DOF2_SaveFile(); } descobrirEE(playerid, eeid){ static string[1000] ; new ItemVIP = random(4); format(string, sizeof string, "**Easter Egg** %s acaba de descobrir ''%s'' ganhou $300.000 por ter achado!", NomePlayer(playerid), EEInfo[eeid][eaDescricao]); SendClientMessageToAll(0xFFFF99FF, string); GiveDinheiro(playerid, 300000); if(ItemVIP == 3 || ItemVIP == 4) { SendClientMessageToAll(0xFFFF99FF, "**Easter Egg** Bonus: +400 | 1 {FBED2D}Caixa Supresa Gigante."); PlayerInfo[playerid][pCasher] += 400; AddItem(playerid, 19058, 1); } if(ItemVIP == 2) { SendClientMessageToAll(0xFFFF99FF, "**Easter Egg** Bonus: +157 | 1 {00FFFF}Caixa Supresa Natal"); PlayerInfo[playerid][pCasher] += 157; AddItem(playerid, 19060, 1); } if(ItemVIP == 1 || ItemVIP == 0) { SendClientMessageToAll(0xFFFF99FF, "**Easter Egg** Bonus: +200 | 1 {FF5A00}Caixa Supresa Extreme"); PlayerInfo[playerid][pCasher] += 200; AddItem(playerid, 19057, 1); } EEInfo[eeid][eaDescoberto] = true; format(EEInfo[eeid][eaNick], 24, NomePlayer(playerid)); DestroyDynamic3DTextLabel(EEInfo[eeid][eaText]); format(string, sizeof string, "*** EASTER EGG ***\n''%s''{FFFFFF}\nDescoberto por %s", EEInfo[eeid][eaDescricao], EEInfo[eeid][eaNick]); EEInfo[eeid][eaText] = CreateDynamic3DTextLabel(string, 0xFFA500AA, EEInfo[eeid][eaX], EEInfo[eeid][eaY], EEInfo[eeid][eaZ], EEInfo[eeid][eaRange]); saveEE(); } checkEE(playerid){ for(new e; e != MAX_EASTER_EGGS; e++){ if(IsPlayerInRangeOfPoint(playerid, EEInfo[e][eaRange], EEInfo[e][eaX], EEInfo[e][eaY], EEInfo[e][eaZ]) && !EEInfo[e][eaDescoberto]){ descobrirEE(playerid, e); } } return 0; } CMD:misterios(playerid){ MEGAString[0] = EOS; static Str[128] ; strcat(MEGAString, "Nome do Easter Egg\tQuem descobriu\n"); for(new e; e != MAX_EASTER_EGGS; e++){ if(EEInfo[e][eaDescoberto]){ format(Str, sizeof Str, "{888888}%s \t%s\n", EEInfo[e][eaDescricao], EEInfo[e][eaNick]); } else{ format(Str, sizeof Str, "{888888}%s \tNinguem\n", EEInfo[e][eaDescricao]); } strcat(MEGAString, Str); } ShowPlayerDialog(playerid, 8764, DIALOG_STYLE_TABLIST_HEADERS, "Encontre os Easter EGGS", MEGAString, "Localizar", "Sair"); return 1; } stock LoadTrForPlayer(playerid) { for(new trid; trid != MAX_TERRITORIOS; trid++) { if(trLS[trid][trCreated]) { GangZoneShowForPlayer(playerid, trLS[trid][trGZ], trLS[trid][trColor]); } } return 1; } stock LoadTrs() { new string[128]; for(new trid; trid != MAX_TERRITORIOS; trid++) { trLS[trid][trCreated] = false; format(string, sizeof string, "Territorios/TR_%d.ini", trid); if(DOF2_FileExists(string)) { trLS[trid][trCreated] = true; format(trLS[trid][trName], 128, DOF2_GetString(string, "name")); trLS[trid][trDono] = DOF2_GetInt(string, "dono"); trLS[trid][trColor] = DOF2_GetInt(string, "color"); trLS[trid][trminX] = DOF2_GetFloat(string, "minx"); trLS[trid][trminY] = DOF2_GetFloat(string, "miny"); trLS[trid][trmaxX] = DOF2_GetFloat(string, "maxx"); trLS[trid][trmaxY] = DOF2_GetFloat(string, "maxy"); trLS[trid][trGZ] = GangZoneCreate(trLS[trid][trminX], trLS[trid][trminY], trLS[trid][trmaxX], trLS[trid][trmaxY]); trLS[trid][trArea] = CreateDynamicRectangle(trLS[trid][trminX], trLS[trid][trminY], trLS[trid][trmaxX], trLS[trid][trmaxY]); GangZoneShowForAll(trLS[trid][trGZ], trLS[trid][trColor]); } } return 1; } stock TrSave(trid) { new string[128]; format(string, sizeof string, "Territorios/TR_%d.ini", trid); if(DOF2_FileExists(string)) { DOF2_SetString(string, "name", trLS[trid][trName]); DOF2_SetInt(string, "dono", trLS[trid][trDono]); DOF2_SetInt(string, "color", trLS[trid][trColor]); DOF2_SetFloat(string, "minx", trLS[trid][trminX]); DOF2_SetFloat(string, "miny", trLS[trid][trminY]); DOF2_SetFloat(string, "maxx", trLS[trid][trmaxX]); DOF2_SetFloat(string, "maxy", trLS[trid][trmaxY]); DOF2_SaveFile(); } return 1; } stock GetPlayerTr(playerid) { new Float:x, Float:y, Float:z; GetPlayerPos(playerid, x, y, z); for(new tr; tr != MAX_TERRITORIOS; tr++) { if(trLS[tr][trCreated]){ if(x >= trLS[tr][trminX] && y >= trLS[tr][trminY] && x <= trLS[tr][trmaxX] && y <= trLS[tr][trmaxY]){ return tr; } } } return -1; } stock GetOrgTrs(orgid) { if(orgid == 0)return 0; new quant=0; for(new tr; tr != MAX_TERRITORIOS; tr++){ if(trLS[tr][trCreated] && trLS[tr][trDono] == orgid){ quant++; } } return quant; } public OnPlayerEnterDynamicArea(playerid, areaid) { if(!gPlayerLogged[playerid])return 1; if(areaid == GetPVarInt(playerid, "TomandoTr") && Dominando[playerid]) { PlayerTextDrawHide(playerid, textaviso[playerid]); } return 1; } public OnPlayerLeaveDynamicArea(playerid, areaid) { if(areaid == GetPVarInt(playerid, "TomandoTr") && Dominando[playerid]) { PlayerTextDrawSetString(playerid, textaviso[playerid], "~r~Volte para a area, caso contrario nao conseguira domina-la"); PlayerTextDrawShow(playerid, textaviso[playerid]); } for(new tr; tr != MAX_TERRITORIOS; tr++) { if(trLS[tr][trCreated]) { if(IsPlayerInDynamicArea(playerid, trLS[tr][trArea])) return 1; } } return 1; } stock CountTr() { new count = 0; for(new tr; tr != MAX_TERRITORIOS; tr++){ if(trLS[tr][trCreated]){ count++; } } return count; } gIniciarGuerraMorro(){ SendClientMessageToAll(-1, "»-----------------------------{FFFF00}[GUERRA NO MORRO]{FFFFFF}-----------------------------«"); SendClientMessageToAll(-1, "» ATENcAO: A guerra no morro comecou !!!"); SendClientMessageToAll(-1, "» Boa sorte a todas as organizacões participantes !!!"); SendClientMessageToAll(-1, "» E que venca a melhor!!!"); SendClientMessageToAll(-1, "»-----------------------------{FFFF00}[GUERRA NO MORRO]{FFFFFF}-----------------------------«"); SoundToAll(1133); for(new gOrgs; gOrgs < MAX_ORGS; gOrgs++){ if(OrgMorro(gOrgs)){ SendFamilyMessage(gOrgs, COLOR_YELLOW2, "sua organizacao e uma das concorrentes da guerra no morro, reuna os membros e mate o maximo possivel!"); } } GuerraMorro[gGuerra] = true; GuerraMorro[gPontosDono]= 0; GuerraMorro[gTempo] = 60 * 30; GuerraMorro[gDono] = 0; GuerraMorro[gDinheiro] = 0; GuerraMorro[gMortes] = 0; GuerraMorro[gCash] = 0; GuerraMorro[gColor] = 0xAAAAAAAA; GuerraMorro[gAcabou] = false; gCriarTextdraws(); GuerraMorro[gTimer] = SetTimer("UpdateMorro", 1000, 1); for(new gOrgs; gOrgs < MAX_ORGS; gOrgs++){ MorroPontos[gOrgs] = 0; } } gFlashGZ(){ for(new gZone=1; gZone < sizeof(GZMorro); gZone++){ GangZoneShowForAll(GZMorro[gZone], 0x000000AA); GangZoneFlashForAll(GZMorro[gZone], GuerraMorro[gColor]); } } gStopFlash(){ for(new gZone=1; gZone < sizeof(GZMorro); gZone++){ GangZoneStopFlashForAll(GZMorro[gZone]); GangZoneShowForAll(GZMorro[gZone], GuerraMorro[gColor]); } } gCriarTextdraws(){ gTextdraw1 = TextDrawCreate(3.000000, 151.000000, "_"); TextDrawBackgroundColor(gTextdraw1, 80); TextDrawFont(gTextdraw1, 1); TextDrawLetterSize(gTextdraw1, 0.189999, 0.899999); TextDrawColor(gTextdraw1, -1); TextDrawSetOutline(gTextdraw1, 1); TextDrawSetProportional(gTextdraw1, 1); TextDrawSetSelectable(gTextdraw1, 0); gTextdraw2 = TextDrawCreate(3.000000, 134.000000, "~b~Pontos~h~~h~ Guerra"); TextDrawBackgroundColor(gTextdraw2, 255); TextDrawFont(gTextdraw2, 0); TextDrawLetterSize(gTextdraw2, 0.359999, 1.499999); TextDrawColor(gTextdraw2, 16777215); TextDrawSetOutline(gTextdraw2, 1); TextDrawSetProportional(gTextdraw2, 1); TextDrawSetSelectable(gTextdraw2, 0); } gDestruirTextdraws(){ TextDrawDestroy(gTextdraw1); TextDrawDestroy(gTextdraw2); } gTerminarGuerraMorro(){ KillTimer(GuerraMorro[gTimer]); gDestruirTextdraws(); gStopFlash(); new gStr[128]; switch(GuerraMorro[gDono]){ case 0: { SendClientMessageToAll(0xfcb118AA,"{fcb118}[GUERRA] {FFFFFF}NENHUMA ORGANIZACAO VENCEU A GUERRA DO MORRO!"); format(gStr, sizeof(gStr), "» Numero total de mortes na guerra: {fcb118}[%d MORTES]{FFFFFF}", GuerraMorro[gMortes]); SendClientMessageToAll(-1, gStr); SendClientMessageToAll(-1, "» Mais sorte da proxima vez!!"); } default: { if(GuerraMorro[gAcabou] == false) { format(gStr, sizeof(gStr), "»{fcb118}[GUERRA] {FFFFFF}: A Organizacao: {fcb118}%s {FFFFFF}saiu como vencedora da guerra no morro!!", GetOrgNameGM(GuerraMorro[gDono])); SendClientMessageToAll(-1, gStr); format(gStr, sizeof(gStr), "» A Organizacao foi resposavel por {fcb118}%d{FFFFFF} das {fcb118}%d{FFFFFF} mortes da guerra!", MorroPontos[GuerraMorro[gDono]], GuerraMorro[gMortes]); SendClientMessageToAll(-1, gStr); format(gStr, sizeof(gStr), "» Cada player da organizacao ganhou {fcb118}R$%s{FFFFFF} por terem vencido a guerra", ConvertMoney(GuerraMorro[gDinheiro])); SendClientMessageToAll(-1, gStr); foreach(Player, i){ if(GuerraMorro[gDono] == 1) { if(GetPlayerOrg(i) == 1 || GetPlayerOrg(i) == 2 || GetPlayerOrg(i) == 33 || GetPlayerOrg(i) == 35) { GiveDinheiro(i, GuerraMorro[gDinheiro]); } } else { if(GetPlayerOrg(i) == GuerraMorro[gDono]) { GiveDinheiro(i, GuerraMorro[gDinheiro]); } } } } } } GuerraMorro[gAcabou] = true; SoundToAll(1133); } stock gSendMessage(color, message[]){ for(new gOrgs; gOrgs < MAX_ORGS; gOrgs++) { if(OrgMorro(gOrgs)){ SendFamilyMessage(gOrgs, color, message); } } return 1; } gCheckPontos(playerid, killerid){ if((PlayerInfo[killerid][pAdmin]&&admtrampando[killerid])|| (PlayerInfo[killerid][pHelper]&&helpertrampando[killerid]))return 1; if(!gPlayerInGuerra(killerid) && !gPlayerInGuerra(playerid))return 0; new oplayer = GetPlayerOrg(playerid); new okiller = GetPlayerOrg(killerid); if(okiller == 1 || okiller == 2 || okiller == 33 || okiller == 35) okiller = 1; if(oplayer == 1 || oplayer == 2 || oplayer == 33 || oplayer == 35) oplayer = 1; new gStr[128]; if(OrgMorro(oplayer) && OrgMorro(okiller) && oplayer != okiller){ GuerraMorro[gMortes] ++; GuerraMorro[gDinheiro] += 3000+random(3524); MorroPontos[okiller] ++; format(gStr, 128, "Guerra Morro: {FFFFFF}%s matou {%s}%s(%s){FFFFFF} e pontuou para: {%s}%s", NomePlayer(killerid), GetPlayerColorEx(playerid), NomePlayer(playerid), GetOrgName(oplayer), GetPlayerColorEx(killerid), GetOrgNameGM(okiller)); gSendMessage(0x00AA00AA, gStr); if(MorroPontos[okiller] > GuerraMorro[gPontosDono]){ if(GuerraMorro[gDono] != okiller){ format(gStr, 128, "[GUERRA MORRO]: {FFFFFF}A Organizacao [%s] acaba de assumir a lideranca com [%d mortes]!", GetOrgNameGM(okiller), MorroPontos[okiller]); SendClientMessageToAll(COLOR_DBLUE, gStr); if(okiller == 1) { SendFamilyMessage(1, COLOR_LIGHTBLUE, "***Voces agora estao na lideranca da guerra no morro, nao deixem que a tomem de voces***"); SendFamilyMessage(2, COLOR_LIGHTBLUE, "***Voces agora estao na lideranca da guerra no morro, nao deixem que a tomem de voces***"); SendFamilyMessage(33, COLOR_LIGHTBLUE, "***Voces agora estao na lideranca da guerra no morro, nao deixem que a tomem de voces***"); SendFamilyMessage(35, COLOR_LIGHTBLUE, "***Voces agora estao na lideranca da guerra no morro, nao deixem que a tomem de voces***"); } else SendFamilyMessage(okiller, COLOR_LIGHTBLUE, "***Voces agora estao na lideranca da guerra no morro, nao deixem que a tomem de voces***"); } GuerraMorro[gPontosDono] = MorroPontos[okiller]; GuerraMorro[gDono] = okiller; GuerraMorro[gColor] = GetPlayerColor(killerid)+75; } } return 1; } CallBack::UpdateMorro(){ if(GuerraMorro[gTempo]) GuerraMorro[gTempo]--; if(GuerraMorro[gCash] == 300) { GuerraMorro[gDinheiro] += 3000+random(10000); GuerraMorro[gCash] = 0; } GuerraMorro[gCash]++; gFlashGZ(); new gStr[500], gPontos[100]; foreach(Player, gPlayer) { if(gPlayerInGuerra(gPlayer)){ TextDrawShowForPlayer(gPlayer, gTextdraw1); TextDrawShowForPlayer(gPlayer, gTextdraw2); } else{ TextDrawHideForPlayer(gPlayer, gTextdraw1); TextDrawHideForPlayer(gPlayer, gTextdraw2); } } gStr[0]=EOS; format(gStr,sizeof gStr, "Dinheiro: ~g~R$%s~n~~w~Tempo: ~p~%s~n~", ConvertMoney(GuerraMorro[gDinheiro]), ConvertTime(GuerraMorro[gTempo])); for(new gOrgs; gOrgs < MAX_ORGS; gOrgs++) { if(OrgMorro(gOrgs)) { if(gOrgs == 2 || gOrgs == 33 || gOrgs == 35) { } else { if(GuerraMorro[gDono] == gOrgs) { { format(gPontos,sizeof gPontos, "~n~~g~~h~[L]~y~%s~w~ pts: %02d", GetOrgNameGM(gOrgs), MorroPontos[gOrgs]); } } else { { format(gPontos,sizeof gPontos, "~n~~y~%s~w~ pts: %02d", GetOrgNameGM(gOrgs), MorroPontos[gOrgs]); } } strcat(gStr, gPontos); } } } TextDrawSetString(gTextdraw1, gStr); if(GuerraMorro[gTempo] < 1){ gTerminarGuerraMorro(); } } CMD:horariosguerra(playerid) { SendClientMessage(playerid, COLOR_GRAD1, "|____________[Horarios Guerras]____________|"); SendClientMessage(playerid, COLOR_GRAD1, "Morro: 8 Horas 14 Horas 20 Horas e 2 Horas"); return 1; } stock RemoverTitulo(playerid) { DestroyDynamic3DTextLabel(Titulo[playerid]); DestroyDynamic3DTextLabel(TituloP[playerid]); } stock espaco(const data[]){ new string[128]; format(string, sizeof(string), "%s", data); for(new i = 0; i < strlen(data); i++){ if(data[i] == ' '){ string[i] = '+'; } } return string; } stock isTablist(dialogid, listitem) { for(new i = 0; i < sizeof(tablists); i++){ if(tablists[i] == dialogid) { return listitem - 1; } } return listitem; } public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) { new stringe[300]; new string[650]; //new gstring[300]; //Familias if(dialogid == 2561){ if(response){ if(strlen(inputtext) < 1) return 1; ForT:an(playerid, inputtext); } else{ SCM(playerid, COLOR_LIGHTRED, "[Anuncio] Anuncio Cancelado."); } } if(dialogid == 2560){ if(response){ if(strlen(inputtext) < 1) return 1; ForT:wpp(playerid, inputtext); } else{ SCM(playerid, COLOR_LIGHTRED, "[WhatsApp] Mensagem Cancelada"); } } if(dialogid == 2409){ if(response){ ShowInfoFamilia(playerid, listitem+1); SetPVarInt(playerid, "FamiliaIDCh", listitem+1); } } if(dialogid == 2409+1) { if(response){ new fid = GetPVarInt(playerid, #FamiliaIDCh); SetPlayerCheckpoint(playerid, FamiliaInfo[fid][fSpawnX], FamiliaInfo[fid][fSpawnY], FamiliaInfo[fid][fSpawnZ], 6.0); SCMf(playerid, COLOR_LIGHTGREEN, "Foi Marcado No Seu GPS A HQ Da Familia %s!", FamiliaInfo[fid][fNome]); } } if(dialogid == 15339) { if(response) { if(strlen(inputtext) <= 3 || strlen(inputtext) >= 30) return SCM(playerid, COLOR_LIGHTRED, "Erro: O Nome da sua familia precisa ter entre 3 e 30 caracteres."); CriarFamilia(inputtext, playerid); } } if(dialogid == 1343) { if(response) { new idx = GetPVarInt(playerid, #FamiliaID); PlayerInfo[playerid][pFamiliaID] = idx; PlayerInfo[playerid][pFamiliaCargo] = 1; RemoveVagaFamilia(idx, PlayerName(playerid)); ConviteInfoFamilia(idx, PlayerName(playerid)); SCM(playerid, -1, "vc aceitou ser da familia."); } else{ SCM(playerid, -1, "vc recusou ser da familia."); } } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // if(dialogid == D_CIDADE_ESCOLHER_EMPREGO) { if(response) { new emprego = SelecionandoEmpregoID[playerid]; // Mecânico LS if(listitem == 0 && emprego == 2) { SetPlayerCheckpoint(playerid, 1561.6332,-2167.2244,13.5643,8.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}HQ de Mecânicos LS{FFFFFF}, siga a marca vermelha no mapa para pegar o emprego!"); } // Mecânico LV if(listitem == 1 && emprego == 2) { SetPlayerCheckpoint(playerid, 1662.2340,2199.0193,10.8203,8.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}HQ de Mecânicos LV{FFFFFF}, siga a marca vermelha no mapa para pegar o emprego!"); } // Taxistas LS if(listitem == 0 && emprego == 5) { SetPlayerCheckpoint(playerid, 1776.8330,-1905.5629,13.3870,8.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}HQ de Taxistas LS{FFFFFF}, siga a marca vermelha no mapa para pegar o emprego!"); } // Taxistas LV if(listitem == 1 && emprego == 5) { SetPlayerCheckpoint(playerid, 1706.7694,1317.8314,10.8203,8.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}HQ de Taxistas LV{FFFFFF}, siga a marca vermelha no mapa para pegar o emprego!"); } // Paramedico LS if(listitem == 0 && emprego == 11) { SetPlayerCheckpoint(playerid, 1188.9204,-1331.0398,13.5608,8.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}HQ de Paramedicos LS{FFFFFF}, siga a marca vermelha no mapa para pegar o emprego!"); } // Paramedico LV if(listitem == 1 && emprego == 11) { SetPlayerCheckpoint(playerid, 1604.8793,1818.1849,10.8203,8.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}HQ de Paramedicos LV{FFFFFF}, siga a marca vermelha no mapa para pegar o emprego!"); } } } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // if(dialogid == D_REGISTRAR_EMAIL) { if(response) { if(strlen(inputtext) < 10 || strlen(inputtext) >= MAX_TAMANHO_EMAIL) return ShowPlayerDialogEx(playerid, dialogid, 0); if(!IsValidEmail(inputtext)) return ShowPlayerDialogEx(playerid, dialogid, 1); if(JaExisteContaNoEmail(inputtext)) return ShowPlayerDialogEx(playerid, dialogid, 2); GameTextForPlayer(playerid, "~g~Email vinculado a conta", 5000, 5); DOF2_SetString(pArquivo(playerid), "EmailPessoal", inputtext); SalvarPlayer_DB(playerid); } else { GameTextForPlayer(playerid, "~r~Email nao registrado", 5000, 5); } } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // if(dialogid == D_CODIGO_RECUPERAR_CONTA) { if(response) { new codigo; if(sscanf(inputtext, "i", codigo)) return ShowPlayerDialogEx(playerid, D_CODIGO_RECUPERAR_CONTA, 0); if(codigo != CodigoRecuperacaoConta[playerid]) { SCM(playerid, COLOR_ERRO, "* Código de recuperação da conta inválido."); return ShowPlayerDialogEx(playerid, D_CODIGO_RECUPERAR_CONTA, 1); } ShowPlayerDialogEx(playerid, D_NOVA_SENHA_RECUPERAR); } else { SCM(playerid, COLOR_ERRO, "* Você desistiu da recuperação da conta!"); KickEx(playerid); } } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // if(dialogid == D_NOVA_SENHA_RECUPERAR) { if(response) { if(strlen(inputtext) < 6 || strlen(inputtext) >= 20) ShowPlayerDialogEx(playerid, D_NOVA_SENHA_RECUPERAR, 0); Encrypt(inputtext); DOF2_SetString(pArquivo(playerid), "Key", inputtext); SCM(playerid, 0xFFFF00FF, "* {FFFFFF}Senha alterada com sucesso!!!"); showDialogLogin(playerid); } else { ShowPlayerDialogEx(playerid, D_NOVA_SENHA_RECUPERAR); } } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // if(dialogid == 1234) { if(response){ switch(listitem){ case 0:{ if(TaTrampandoAerio[playerid] != -1) { SCM(playerid, COLOR_GRAD4, "[INFO] Voce ja tem uma carga, para cancelar, abra o menu do entregador e escolha a opcao cancelar."); return 1; } SetPlayerCheckpoint(playerid, 1932.7751,-2643.0977,13.5469, 8.0); TaTrampandoAerio[playerid] = 1; SCM(playerid, COLOR_LIGHTGREEN, "[Entregador Aereo] Siga o checkpoint para entregar sua carga!"); } case 1:{ if(TaTrampandoAerio[playerid] != -1) { SCM(playerid, COLOR_GRAD4, "[INFO] Voce ja tem uma carga."); return 1; } SetPlayerCheckpoint(playerid, -1259.3451,-52.6048,14.1484, 8.0); TaTrampandoAerio[playerid] = 2; SCM(playerid, COLOR_LIGHTGREEN, "[Entregador Aereo] Siga o checkpoint para entregar sua carga!"); } case 2:{ if(TaTrampandoAerio[playerid] == -1) { SCM(playerid, COLOR_GRAD4, "[INFO] Voce nao tem uma carga."); return 1; } TaTrampandoAerio[playerid] = -1; SCM(playerid, COLOR_LIGHTGREEN, "[Entregador Aereo] Entrega cancelada com sucesso."); } } } } if(dialogid == 4192) { if(response) { /*"Cardapio Do Restaurante", "Nome Da Comida\tValor\nAgua\t{FFFFFF}R$ {228B22}100\nHamburguer\t{FFFFFF}R$ {228B22}500\nLeite\t{FFFFFF}R$ {228B22}300", "Comprar", "Cancelar");*/ if(listitem == 0) { PlayerInfo[playerid][pSede] += 15+random(10); if(PlayerInfo[playerid][pSede] > 100) PlayerInfo[playerid][pSede] = 100; GivePlayerMoneyEx(playerid, - 100); SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DRINK_BEER); AtualizarTxDFS(playerid); } if(listitem == 1) { AddItem(playerid, 19094, 1); GivePlayerMoneyEx(playerid, - 20); SendClientMessage(playerid, COLOR_GRAD4, "Hamburguer Comprado / Use: /Inventario para come-la."); } if(listitem == 2) { AddItem(playerid, 19570, 1); GivePlayerMoneyEx(playerid, - 17); SendClientMessage(playerid, COLOR_GRAD4, "Leite Comprado / Use: /Inventario para bebe-la."); } } } if(dialogid == 1345) { if(response) { switch(listitem) { case 0: { ForT:candidatos(playerid); } case 1: { if (IsPlayerConnected(playerid)) { new strvip[2500]; MEGAString[0] = EOS; format(strvip, sizeof strvip, "{FFFFFF}----------- [ {7CFC00}Lista De Candidatos CNF {FFFFFF}]-----------\n\n"); strcat(MEGAString, strvip); format(strvip, sizeof strvip,"{7CFC00}Candidato Número {FFFFFF}1: {7CFC00}%s.\n", CandidatoInfo[0][CandNome]); strcat(MEGAString, strvip); format(strvip, sizeof strvip,"{7CFC00}Candidato Número {FFFFFF}2: {7CFC00}%s.\n", CandidatoInfo[1][CandNome]); strcat(MEGAString, strvip); format(strvip, sizeof strvip,"{7CFC00}Candidato Número {FFFFFF}3: {7CFC00}%s.\n", CandidatoInfo[2][CandNome]); strcat(MEGAString, strvip); format(strvip, sizeof strvip,"{7CFC00}Candidato Número {FFFFFF}4: {7CFC00}%s.\n", CandidatoInfo[3][CandNome]); strcat(MEGAString, strvip); format(strvip, sizeof strvip,"{7CFC00}Candidato Número {FFFFFF}5: {7CFC00}%s.\n", CandidatoInfo[4][CandNome]); strcat(MEGAString, strvip); format(strvip, sizeof strvip,"{7CFC00}Candidato Número {FFFFFF}6: {7CFC00}%s.\n", CandidatoInfo[5][CandNome]); strcat(MEGAString, strvip); format(strvip, sizeof strvip,"{7CFC00}Candidato Número {FFFFFF}7: {7CFC00}%s.\n", CandidatoInfo[6][CandNome]); strcat(MEGAString, strvip); format(strvip, sizeof strvip,"{7CFC00}Candidato Número {FFFFFF}8: {7CFC00}%s.\n", CandidatoInfo[7][CandNome]); strcat(MEGAString, strvip); format(strvip, sizeof strvip,"{7CFC00}Candidato Número {FFFFFF}9: {7CFC00}%s.\n", CandidatoInfo[8][CandNome]); strcat(MEGAString, strvip); format(strvip, sizeof strvip,"{7CFC00}Candidato Número {FFFFFF}10: {7CFC00}%s.\n", CandidatoInfo[9][CandNome]); strcat(MEGAString, strvip); format(strvip, sizeof strvip, "{FFFFFF}----------- [ {7CFC00}Lista De Candidatos CNF {FFFFFF}]-----------\n\n"); strcat(MEGAString, strvip); strcat(MEGAString, "{696969}Digite o numero da vaga para se candidatar:"); ShowPlayerDialog(playerid, 1346, DIALOG_STYLE_INPUT, "Se Candidatar", MEGAString, "Certo", "Cancelar"); } } case 2: { if (IsPlayerConnected(playerid)) { new strvip[2500]; MEGAString[0] = EOS; format(strvip, sizeof strvip, "{FFFFFF}----------- [ {7CFC00}Lista De Candidatos CNF {FFFFFF}]-----------\n\n"); strcat(MEGAString, strvip); format(strvip, sizeof strvip,"{7CFC00}Candidato Número {FFFFFF}1: {7CFC00}%s.\n", CandidatoInfo[0][CandNome]); strcat(MEGAString, strvip); format(strvip, sizeof strvip,"{7CFC00}Candidato Número {FFFFFF}2: {7CFC00}%s.\n", CandidatoInfo[1][CandNome]); strcat(MEGAString, strvip); format(strvip, sizeof strvip,"{7CFC00}Candidato Número {FFFFFF}3: {7CFC00}%s.\n", CandidatoInfo[2][CandNome]); strcat(MEGAString, strvip); format(strvip, sizeof strvip,"{7CFC00}Candidato Número {FFFFFF}4: {7CFC00}%s.\n", CandidatoInfo[3][CandNome]); strcat(MEGAString, strvip); format(strvip, sizeof strvip,"{7CFC00}Candidato Número {FFFFFF}5: {7CFC00}%s.\n", CandidatoInfo[4][CandNome]); strcat(MEGAString, strvip); format(strvip, sizeof strvip,"{7CFC00}Candidato Número {FFFFFF}6: {7CFC00}%s.\n", CandidatoInfo[5][CandNome]); strcat(MEGAString, strvip); format(strvip, sizeof strvip,"{7CFC00}Candidato Número {FFFFFF}7: {7CFC00}%s.\n", CandidatoInfo[6][CandNome]); strcat(MEGAString, strvip); format(strvip, sizeof strvip,"{7CFC00}Candidato Número {FFFFFF}8: {7CFC00}%s.\n", CandidatoInfo[7][CandNome]); strcat(MEGAString, strvip); format(strvip, sizeof strvip,"{7CFC00}Candidato Número {FFFFFF}9: {7CFC00}%s.\n", CandidatoInfo[8][CandNome]); strcat(MEGAString, strvip); format(strvip, sizeof strvip,"{7CFC00}Candidato Número {FFFFFF}10: {7CFC00}%s.\n", CandidatoInfo[9][CandNome]); strcat(MEGAString, strvip); format(strvip, sizeof strvip, "{FFFFFF}----------- [ {7CFC00}Lista De Candidatos CNF {FFFFFF}]-----------\n\n"); strcat(MEGAString, strvip); strcat(MEGAString, "{686868}Digite o numero do candidato para votar!"); ShowPlayerDialog(playerid, 1347, DIALOG_STYLE_INPUT, "Votar", MEGAString, "Certo", "Cancelar"); } } } } }/* ShowPlayerDialog(playerid, 1345, DIALOG_STYLE_LIST, "Menu De Eleicoes", "Ver Candidatos\n\ Se Candidatar\n\ Votar", "Escolher", "Cancelar"); */ if(dialogid == 1346) { if(response) { if(strval(inputtext)) { //if(JaSeCandidatou[playerid] == 1) return SCM(playerid, COLOR_YELLOW, "[Erro]: Voce ja se candidatou."); //if(strval(inputtext) > 10) return SCM(playerid, COLOR_YELLOW, "[Erro]: Vaga invalida, use de 1-10."); //new escolha = strval(inputtext); ForT:candidatar(playerid, inputtext); } } } if(dialogid == 1347) { if(response) { if(strval(inputtext)) { //if(JaSeCandidatou[playerid] == 1) return SCM(playerid, COLOR_YELLOW, "[Erro]: Voce ja se candidatou."); //if(strval(inputtext) > 10) return SCM(playerid, COLOR_YELLOW, "[Erro]: Vaga invalida, use de 1-10."); //new escolha = strval(inputtext); ForT:votar(playerid, inputtext); } } } if(dialogid == D_PAGAR_IMPOSTOS) { if(response) { new house = PlayerInfo[playerid][pPHousekey]; if(house == 500) return SCM(playerid, COLOR_ERRO, "[Erro] Você não possui uma casa própria. Portanto você não deve nada ao governo."); new impostos = HouseInfo[house][hImpostos]; new quantia = HouseInfo[house][hPagarImpostos]; if(impostos == 0) return SCM(playerid, COLOR_ERRO, "[Erro] Você não possui contas de casa em atraso."); if(IsPlayerInRangeOfPoint(playerid, 1.5, 358.8736,180.4437,1008.3828)) { if(GetPlayerMoney(playerid) < quantia) return SCM(playerid, COLOR_ERRO, "[Erro] Você não possui dinheiro suficiente para quitar as contas da sua casa."); HouseInfo[house][hImpostos] = 0; HouseInfo[house][hPagarImpostos] = 0; SaveCasa(house); Atualizar3Dtexts(); // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // GivePlayerMoneyEx(playerid, -quantia); // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // format(gstring, sizeof(gstring), "\ {AAEA15}* Comprovante de pagamento de impostos da casa\n\n\ {FFFFFF}Você quitou %i de impostos pagando R$%i ao governo.\n\n\ {FFFFFF}Sempre mantenha as suas contas em dia, para não perder sua casa.\n\ {FFFFFF}By Estado.", impostos, quantia); ShowPlayerDialog(playerid, 30000, DIALOG_STYLE_MSGBOX, "Pagamento concluido.", gstring, "Ok", #); } else { SCM(playerid, COLOR_ERRO, "[Erro] Você não está na prefeitura para pagar impostos."); } } else { SCM(playerid, 0xFFFF00FF, "[Aviso] {FFFFFF}Você cancelou o pagamento de dividas da sua casa."); } } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // if(dialogid == 15390) { if(response) { ForT:logaradm(playerid); } else { SCM(playerid, COLOR_LIGHTBLUE, "[STAFF] Você escolheu não digitar a senha."); SetTimerEx("AskPlayerEmail_Timer", 1000, false, "i", playerid); } } if(dialogid == DIALOG_LOGARADM) { if(response) { if (!strcmp(inputtext, SenhaAdministracao) && !isnull(inputtext)) { new strcheck[40]; format(strcheck, sizeof strcheck, Pasta_Admins, NomePlayer(playerid)); PlayerInfo[playerid][pAdmin] = DOF2_GetInt(strcheck, "AdminNivel"); admhide[playerid] = 0; SetPlayerToTeamColor(playerid); format(strbrazz, sizeof(strbrazz), "[STAFF]: Você logou como admin [%s]" ,NomeLevelAdmin(PlayerInfo[playerid][pAdmin])); SCM(playerid, COLOR_LIGHTBLUE,strbrazz); LogadoAdm[playerid] = true; format(strbrazz, sizeof strbrazz, "%s digitou corretamente a senha da administracao!", PlayerName(playerid)); CNFLogs("LoginAdmin", strbrazz); new AdminName[MAX_PLAYER_NAME]; GetPlayerName(playerid, AdminName, sizeof(AdminName)); format(gstring, sizeof(gstring), "~b~Admin~n~~w~%s: ~r~~h~~h~ON", AdminName); if(PlayerInfo[playerid][pAdmin] >= 1340) { ShowPlayerDialog(playerid, DIALOG_LOGARADM+9, DIALOG_STYLE_MSGBOX, "Modo Admin", "Escolha seu modo admin", "Visivel", "Oculto"); } else { foreach(Player, i) { GameTextForPlayer(i, gstring , 5000, 1); } SetTimerEx("AskPlayerEmail_Timer", 1000, false, "i", playerid); } return 1; } else { SetTimerEx("AskPlayerEmail_Timer", 1000, false, "i", playerid); return ErroSenhaAdmin[playerid]++, SCMf(playerid, COLOR_LIGHTRED, "Senha errada, essa ja é a sua %d tentativa, se exeder será desconectado e suas informações serão mostradas aos admins.", ErroSenhaAdmin[playerid]); } } else { SetTimerEx("AskPlayerEmail_Timer", 1000, false, "i", playerid); } } if(dialogid == DIALOG_LOGARADM+9) { if(response) { SCM(playerid, COLOR_GRAD1, "[INFO] Modo visivel escolhido, os players vera voce no /admins."); admhide[playerid] = 0; new AdminName[MAX_PLAYER_NAME]; GetPlayerName(playerid, AdminName, sizeof(AdminName)); format(gstring, sizeof(gstring), "~b~Admin~n~~w~%s: ~r~~h~~h~ON", AdminName); foreach(Player, i) { GameTextForPlayer(i, gstring , 5000, 1); } SetTimerEx("AskPlayerEmail_Timer", 1000, false, "i", playerid); } else { SCM(playerid, COLOR_GRAD1, "[INFO] Modo oculto escolhido, os players nao vera voce no /admins."); admhide[playerid] = 1; SetTimerEx("AskPlayerEmail_Timer", 1000, false, "i", playerid); } } if(dialogid == 15232) { if(response) { TextDrawShowForPlayer(playerid, TelaLoginCNF[0]); TextDrawShowForPlayer(playerid, TelaLoginCNF[1]); TextDrawShowForPlayer(playerid, TelaLoginCNF[2]); TextDrawShowForPlayer(playerid, TelaLoginCNF[3]); TextDrawShowForPlayer(playerid, TelaLoginCNF[4]); TextDrawShowForPlayer(playerid, TelaLoginCNF[5]); TextDrawShowForPlayer(playerid, TelaLoginCNF[6]); TextDrawShowForPlayer(playerid, TelaLoginCNF[7]); new name[24]; GetPlayerName(playerid, name, sizeof(name)); PlayerTextDrawSetString(playerid, TelaLoginCNF3[playerid][0], name); VarLoanding[playerid] = 0; TextDrawSetString(TelaLoginCNF[6], VarLoanding[playerid]); SetPlayerVirtualWorld(playerid, 1); timerload[playerid] = SetTimerEx("TelaCarregamento", 69, true, "i", playerid); } else { TextDrawHideForPlayer(playerid, TelaLoginCNF[6]); TextDrawHideForPlayer(playerid, TelaLoginCNF[6]); TextDrawHideForPlayer(playerid, TelaLoginCNF[6]); for(new i; i < sizeof(TelaLoginCNF); ++i) {TextDrawHideForPlayer(playerid, TelaLoginCNF[i]);} TogglePlayerSpectating(playerid, true); SetTimerEx("CameraLogin", 1000, false, "i", playerid); SetTimerEx("AskPcOuAndroid", 1500, false, "i", playerid); } } if(dialogid == 15320) { if(response) { ForT:comprarvei(playerid); ForT:pularid(playerid, "411"); } } if(dialogid == 25883) { if(response) { OnPlayerText(playerid, inputtext); } } if(dialogid == 15382) { new money = PlayerInfo[playerid][pPontosHab]*800; if(response) { if(GetPlayerMoney(playerid) > money) { PlayerInfo[playerid][pPontosHab] = 0; SCMf(playerid, 0x0ff00, "[Habilitação] Você pagou suas multas, e zerou seus pontos na carteira!, dinheiro gasto: R$ %d", money); GiveDinheiro(playerid, -money); } else return SCM(playerid, 0x0ff00, "[Habilitação] Você não tem o dinheiro das multas."); } if(!response) return 1; } if(dialogid == 14689) { if(!response) { RemovePlayerFromVehicleEx(playerid); TogglePlayerControllableEx(playerid, 1); SendClientMessage(playerid, 0xffc801FF, "Você optou por não alugar o veículo !"); return 1; } if(response) { ForT:alugarcarro(playerid); } } if(dialogid == 4710) { new id2 = GetPVarInt(playerid, "IDRGP"); if(response == 1) { ShowStats(GetPVarInt(playerid, "IDRGP"), playerid); format(strbrazz, 256, "[RG] %s aceitou o jogador: %s a ver seu rg.", PlayerName(playerid), PlayerName(id2)); SendClientMessageInRange(30.0, id2, strbrazz, 0xC2A2DAAA,0xC2A2DAAA,0xC2A2DAAA,0xC2A2DAAA,0xC2A2DAAA); } if(!response) { format(strbrazz, 256, "[Ver RG] O Jogador: %s não deixou você ver o rg dele.", PlayerName(id2)); SendClientMessage(id2, COLOR_LIGHTRED, strbrazz); } DeletePVar(playerid, "IDRGP"); } if(dialogid == 4709) { if(response) { new org = GetPlayerOrg(playerid); if(!IsOrgTr(playerid)) return SendClientMessage(playerid, COLOR_GREY, "Voce nao pode dominar um territorio"); if(IsAPlane(GetPlayerVehicleID(playerid)) && IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, COLOR_GREY, "Voce nao pode dominar dentro de um aviao ou helicoptero!"); if((PlayerInfo[playerid][pAdmin] && admtrampando[playerid]) || (PlayerInfo[playerid][pHelper] && helpertrampando[playerid])) return SendClientMessage(playerid, COLOR_GREY, "Voce precisa estar em modo jogo para dominar territorios."); if(Dominando[playerid]) return SendClientMessage(playerid, COLOR_GREY, "Voce ja esta dominando um territorio"); if(IsOrgTrmafia(playerid)) { if(PlayerToPoint(30.0,playerid,199.9464,-1956.0801,-5.0446)) // GZ Mafia 50.0 { if(donomafiaporto == org)return SendClientMessage(playerid, COLOR_GREY, "Este local ja pertence a sua organizacao"); Dominando[playerid] = 1; ProvocoMafiaPorto[playerid] = 1; GangZoneFlashForAll(GZPorto,GetPlayerGZColor(playerid)); if(donomafiaporto < 1) { if(IsACop(playerid)) { format(string, sizeof string, "[Policial Federal]: %s esta retomando o controle do Porto de Los Santos.", NomePlayer(playerid)); SendClientMessageToAll(0x91766296, string); } else { format(string, sizeof string, "[Mafioso]: %s e a %s estao tomando o territorio do Porto de Los Santos", NomePlayer(playerid), GetOrgName(org)); SendClientMessageToAll(0x00660CC8, string); } SetTimerEx("GuerraMafiaPorto", 40000, 0, "i", playerid); } else { if(IsACop(playerid)) { format(string, sizeof string, "[Policial Federal]: %s esta retomando o controle do Porto de Los Santos.", NomePlayer(playerid)); SendClientMessageToAll(0x91766296, string); } else { format(string, sizeof string, "[Mafioso]: %s e a %s estao tomando o territorio do Porto de Los Santos da %s", NomePlayer(playerid), GetOrgName(org), GetOrgName(donomafiaporto)); SendClientMessageToAll(GetPlayerColor(playerid), string); } SetTimerEx("GuerraMafiaPorto", 40000, 0, "i", playerid); format(string, sizeof string, " %s e a %s estao tomando a Roda Gigante de voces, vao ate la!", NomePlayer(playerid), GetOrgName(org)); SendFamilyMessage(donomafiaporto, 0x00660CC8, string); } SendClientMessage(playerid, COLOR_GREY, "Voce esta dominando este territorio, espere 45 segundos, a PF e as mafias foram avisadas."); return 1; } if(PlayerToPoint(25.5,playerid,370.1786,-2032.8887,7.6719)) // GZ Mafia { if(donomafia == org)return SendClientMessage(playerid, COLOR_GREY, "Este local ja pertence a sua organizacao"); Dominando[playerid] = 1; ProvocoMafia[playerid] = 1; GangZoneFlashForAll(GZMafia,GetPlayerGZColor(playerid)); if(donomafia < 1) { if(IsACop(playerid)) { format(string, sizeof string, "[Policial Federal]: %s esta retomando o controle da Roda Gigante.", NomePlayer(playerid)); SendClientMessageToAll(0x91766296, string); } else { format(string, sizeof string, "[Mafioso]: %s e a %s estao tomando o territorio da Roda Gigante", NomePlayer(playerid), GetOrgName(org)); SendClientMessageToAll(0x00660CC8, string); } SetTimerEx("GuerraMafia", 40000, 0, "i", playerid); } else { if(IsACop(playerid)) { format(string, sizeof string, "[Policial Federal]: %s esta retomando o controle da Roda Gigante.", NomePlayer(playerid)); SendClientMessageToAll(0x91766296, string); } else { format(string, sizeof string, "[Mafioso]: %s e a %s estao tomando o territorio da Roda Gigante da %s", NomePlayer(playerid), GetOrgName(org), GetOrgName(donomafia)); SendClientMessageToAll(GetPlayerColor(playerid), string); } SetTimerEx("GuerraMafia", 40000, 0, "i", playerid); format(string, sizeof string, " %s e a %s estao tomando a Roda Gigante de voces, vao ate la!", NomePlayer(playerid), GetOrgName(org)); SendFamilyMessage(donomafia, 0x00660CC8, string); } SendClientMessage(playerid, COLOR_GREY, "Voce esta dominando este territorio, espere 45 segundos, a PF e as mafias foram avisadas."); return 1; } return 1; } } } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // // bvendas if(dialogid == D_QUER_ADQUIRIR_ITEM_SERVER) { new vendedorid = ComprandoItemServerDe[playerid]; new IndexID = IndexIDVendendo[playerid]; new sTipo = TipoCompraItemIDD[playerid]; new bQuantia = IndexPrecoVendendo[playerid]; // --------------------- // if(!IsPlayerConnected(vendedorid)) return SCM(playerid, COLOR_ERRO, "[ERRO] O(A) Vendedor(a) não está mais online no servidor."); if(TipoCompraItemIDD[playerid] == C_COMPRA_CARRO && !IsValidVehicle(IndexID)) return SCM(playerid, COLOR_ERRO, "[ERRO] Esse carro não existe mais no servidor!"), ResetVendaItemServer(playerid, vendedorid); if(GetDistanceBetweenPlayers(playerid, vendedorid) > 10.0) return SCM(playerid, COLOR_ERRO, "[ERRO] Você está longe do(a) ofertador(a)."), ResetVendaItemServer(playerid, vendedorid); // --------------------- // if(response) { // bcarros if(TipoCompraItemIDD[playerid] == C_COMPRA_CARRO) { if(PlayerInfo[playerid][pTemCarro]) return SCM(playerid, COLOR_ERRO, "[ERRO] Você já possui um carro."), ResetVendaItemServer(playerid, vendedorid); PlayerCarroConce[vendedorid] = INVALID_VEHICLE_ID; PlayerInfo[vendedorid][pTemCarro] = 0; new file[60]; format(file, sizeof(file), VEH_SAVE_FILE, PlayerName(vendedorid)); if(DOF2_FileExists(file)) DOF2_RemoveFile(file); // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // GameTextForPlayer(playerid, "Parabens pela compra!", 1000, 3); format(VehicleInfo[IndexID][vOwner], MAX_PLAYER_NAME, PlayerName(playerid)); PlayerCarroConce[playerid] = IndexID; PlayerPlaySound(playerid, 1139, 0.0, 0.0, 0.0); PlayerPlaySound(vendedorid, 1139, 0.0, 0.0, 0.0); SCM(playerid, 0x5AE7DFFF, "~» Parabéns pela compra do seu novo carro. Use /mv para ver as configurações do seu carro."); // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // SavePlayerVehicleFirst(playerid); PlayerInfo[playerid][pTemCarro] = 1; GivePlayerMoneyEx(playerid, -bQuantia); GivePlayerMoneyEx(vendedorid, bQuantia); SCMf(playerid, 0x4DE69DFF, "[INFO] Você aceita comprar o carro de %s(%i) por R$%i.", PlayerName(vendedorid), vendedorid, bQuantia); SCMf(vendedorid, 0x4DE69DFF, "[INFO] O(A) Jogador(a) %s(%i) aceitou comprar seu carro por R$%i.", PlayerName(playerid), playerid, bQuantia); ResetVendaItemServer(playerid, vendedorid); } } else { if(sTipo == C_COMPRA_CARRO) { SCMf(playerid, COLOR_ERRO, "[INFO] Você recusou comprar o carro de %s(%i).", PlayerName(vendedorid), vendedorid); SCMf(vendedorid, COLOR_ERRO, "[INFO] Jogador(a) %s(%i) recusa comprar o seu carro.", PlayerName(playerid), playerid); } ResetVendaItemServer(playerid, vendedorid); } } if(dialogid == 15325) { if(response) { SCMf(playerid, COLOR_LIGHTRED, "Você aceitou o pedido de teleport de: %s!", NomePlayer(GetPVarInt(playerid, "IDTP"))); new Float:Pos[3]; GetPlayerPos(playerid, Pos[0], Pos[1], Pos[2]); SetPlayerPos(GetPVarInt(playerid, "IDTP"), Pos[0], Pos[1]+2, Pos[2]); new I = GetPlayerInterior(playerid); new W = GetPlayerVirtualWorld(playerid); SetPlayerVirtualWorld(GetPVarInt(playerid, "IDTP"), W); SetPlayerInterior(GetPVarInt(playerid, "IDTP"), I); SCMf(GetPVarInt(playerid, "IDTP"), COLOR_LIGHTRED, "O Admin: %s aceitou seu pedido de teleporte!", NomePlayer(playerid)); DeletePVar(playerid, "IDTP"); } } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // if(dialogid == 13333) { new string2[128]; if(response == 0) return 1; if(response) { if(listitem == 0) { TogglePlayerControllableEx(playerid, 0); MEGAString[0] = EOS; format(string2, sizeof(string2), "{FFFFFF}»{33CCFF} Profissao\t{FFFFFF}Level\t{33AA33}Licienciamento\n"); strcat(MEGAString,string2); format(string2, sizeof(string2), "{FFFFFF}»{33CCFF} Advogado\t{FFFFFF}+2\t{33AA33}Nao precisa\n"); strcat(MEGAString,string2); format(string2, sizeof(string2), "{FFFFFF}»{33CCFF} Mecanico\t{FFFFFF}+3\t{33AA33}Nao precisa\n"); strcat(MEGAString,string2); format(string2, sizeof(string2), "{FFFFFF}»{33CCFF} Agricultor\t{FFFFFF}+2\t{33AA33}Nao precisa\n"); strcat(MEGAString,string2); format(string2, sizeof(string2), "{FFFFFF}»{33CCFF} Vendedor de Produtos\t{FFFFFF}+1\t{33AA33}Terrestre\n"); strcat(MEGAString,string2); format(string2, sizeof(string2), "{FFFFFF}»{33CCFF} Taxista\t{FFFFFF}+3\t{33AA33}Terrestre\n"); strcat(MEGAString,string2); format(string2, sizeof(string2), "{FFFFFF}»{33CCFF} Bombeiro\t{FFFFFF}+6\t{33AA33}Terrestre\n"); strcat(MEGAString,string2); format(string2, sizeof(string2), "{FFFFFF}»{33CCFF} Entregador iFood\t{FFFFFF}+6\t{33AA33}Terrestre\n"); strcat(MEGAString,string2); format(string2, sizeof(string2), "{FFFFFF}»{33CCFF} Gari\t{FFFFFF}+2\t{33AA33}Terrestre\n"); strcat(MEGAString,string2); format(string2, sizeof(string2), "{FFFFFF}»{33CCFF} Motorista de Onibus {FFFFFF}\t{FFFFFF}+3\t{33AA33}Terrestre\n"); strcat(MEGAString,string2); format(string2, sizeof(string2), "{FFFFFF}»{33CCFF} Eletricista {FFFFFF}\t{FFFFFF}+5\t{33AA33}Terrestre\n"); strcat(MEGAString,string2); format(string2, sizeof(string2), "{FFFFFF}»{33CCFF} Caminhoneiro {FFFFFF}\t{FFFFFF}+3\t{33AA33}Terrestre\n"); strcat(MEGAString,string2); format(string2, sizeof(string2), "{FFFFFF}»{33CCFF} Frentista {00FF00}[NEW]{FFFFFF}\t{FFFFFF}+3\t{33AA33}Nao precisa\n"); strcat(MEGAString,string2); format(string2, sizeof(string2), "{FFFFFF}»{33CCFF} Paramédico {00FF00}[NEW]\t{FFFFFF}+"#LEVEL_PARAMEDICO"\t{33AA33}Terrestre\n"); strcat(MEGAString,string2); ShowPlayerDialog(playerid,2569,DIALOG_STYLE_TABLIST_HEADERS, "• CNF - Profissões •", MEGAString,"Aceitar","Cancelar"); EmDialog[playerid] = 1; } if(listitem == 1) { TogglePlayerControllableEx(playerid, 0); MEGAString[0] = EOS; format(string2, sizeof(string2), "{FFFFFF}»{33CCFF} Profissao\t{FFFFFF}Level\t{33AA33}Licienciamento\n"); strcat(MEGAString,string2); format(string2, sizeof(string2), "{FFFFFF}»{33CCFF} Entregador aereo\t{FFFFFF}+2\t{33AA33}Nenhuma\n"); strcat(MEGAString,string2); format(string2, sizeof(string2), "{FFFFFF}»{33CCFF} Mecânico\t{FFFFFF}+3\t{33AA33}Terrestre\n"); strcat(MEGAString,string2); format(string2, sizeof(string2), "{FFFFFF}»{33CCFF} Taxista\t{FFFFFF}+3\t{33AA33}Terrestre\n"); strcat(MEGAString,string2); format(string2, sizeof(string2), "{FFFFFF}»{33CCFF} Paramédico {00FF00}[NEW]\t{FFFFFF}+"#LEVEL_PARAMEDICO"\t{33AA33}Terrestre\n"); strcat(MEGAString,string2); ShowPlayerDialog(playerid,2579,DIALOG_STYLE_TABLIST_HEADERS, "• CNF - Profissões •", MEGAString,"Aceitar","Cancelar"); EmDialog[playerid] = 1; } } } if(dialogid == DG_Central_Menu){ if(response){ if(listitem == 0) { if(PlayerInfo[playerid][pEmprego] == 9){ if(!IsPlayerInRangeOfPoint(playerid,2.0,yMP_PsStrCarFort[0],yMP_PsStrCarFort[1],yMP_PsStrCarFort[2])) return SendClientMessage(playerid, 0x00FFFFFF, "Você não está na HQ!"); if(yMP_Carro[playerid] == 0){ new yAlet = random(sizeof(yMP_PosC_CarFort)); yMP_Carro[playerid] = AddStaticVehicleEx_Debug(428,yMP_PosC_CarFort[yAlet][0],yMP_PosC_CarFort[yAlet][1],yMP_PosC_CarFort[yAlet][2]+3.0,yMP_PosC_CarFort[yAlet][3],0,1,-1); // carreta return SendClientMessage(playerid, 0x33CC33FF, "Seu veiculo foi criado!"); }else yMPDellCarrosEmpre(playerid); } } else if(listitem == 1){ if(yMP_PegouServ[playerid] > 0) return SendClientMessage(playerid, 0x00FFFFFF, "Você já pegou um serviço de reparos!"); if(yMP_TempPegar[playerid] > gettime()) return yMPErrTempoServ(playerid); if(PlayerInfo[playerid][pEmprego] == 9){ if(!IsPlayerInRangeOfPoint(playerid,2.0,yMP_PsStrCarFort[0],yMP_PsStrCarFort[1],yMP_PsStrCarFort[2])) return SendClientMessage(playerid, 0x00FFFFFF, "Você não está na HQ!"); new yAlet = random(sizeof(yMP_PosR_CarFort)-1); yMP_Pos[0][playerid] = yMP_PosR_CarFort[yAlet][0]; yMP_Pos[1][playerid] = yMP_PosR_CarFort[yAlet][1]; yMP_Pos[2][playerid] = yMP_PosR_CarFort[yAlet][2]; yMP_PegouServ[playerid] = yAlet+1; SetPlayerCheckpoint(playerid, yMP_PosR_CarFort[yAlet][0],yMP_PosR_CarFort[yAlet][1],yMP_PosR_CarFort[yAlet][2], 4.0); yMP_Skin[playerid] = GetPlayerSkin(playerid); SetPlayerSkin(playerid,71); yMP_Valor[playerid] = floatround(yMP_GetDist(yMP_PosR_CarFort[yAlet][0],yMP_PosR_CarFort[yAlet][1],yMP_PosR_CarFort[yAlet][2] ,yMP_PsStrCarFort[0],yMP_PsStrCarFort[1],yMP_PsStrCarFort[2]) * yMP_VAlor_CarFort); format(yMPStr, sizeof(yMPStr), "Você pegou um Transporte! Carregamento a {33CC33}%i{FFFFFF}/KM",yMP_GetDist(yMP_PosR_CarFort[yAlet][0],yMP_PosR_CarFort[yAlet][1],yMP_PosR_CarFort[yAlet][2] ,yMP_PsStrCarFort[0],yMP_PsStrCarFort[1],yMP_PsStrCarFort[2])); return SendClientMessage(playerid, 0xFFFFFFFF, yMPStr); } } else if(listitem == 2){ if(yMP_PegouServ[playerid] == 0) return SendClientMessage(playerid, 0x00FFFFFF, "Você nao tem nenhum serviço para fazer!"); SetPlayerCheckpoint(playerid, yMP_Pos[0][playerid],yMP_Pos[1][playerid],yMP_Pos[2][playerid], 2.0); return SendClientMessage(playerid, 0xFFFFFFFF, "Você localizou o local!"); } else if(listitem == 3){ if(yMP_PegouServ[playerid] == 0) return SendClientMessage(playerid, 0x00FFFFFF, "Você não está a serviço!"); if(IsPlayerInAnyVehicle(playerid)) if(GetPlayerVehicleID(playerid) == yMP_Carro[playerid]) return SendClientMessage(playerid, 0x00FFFFFF, "Você não pode usar este comando dentro do veiculo da Empresa!"); yMP_PegouServ[playerid] = 0; yMP_Infos[playerid] = 0; if(yMP_Carro[playerid] != 0){ DestroyVehicleEx(yMP_Carro[playerid]); yMP_Carro[playerid] = 0; } SetPlayerSkin(playerid,yMP_Skin[playerid]); SendClientMessage(playerid, 0xFFFFFFFF, "Você parou de trabalhar!"); DisablePlayerCheckpoint(playerid); yMP_TempPegar[playerid] = gettime()+yMP_SegsPegarServ; for(new i = 0; i < sizeof(yMP_Objs); i++) if(IsValidObject(yMP_Objs[i][playerid])) DestroyObject(yMP_Objs[i][playerid]); } } return 1; } if(dialogid == 10333) { if(!response) return 1; if(response) { if(listitem == 0) { CaminhoneiroTrampando[playerid] = 1; SetPlayerCheckpoint(playerid, -1702.3896,-92.4703,3.1151, 8.0); SCM(playerid, COLOR_LIGHTBLUE, #Seu GPS foi ativado em EASTER BAY AIRPORT!); } if(listitem == 1) { CaminhoneiroTrampando[playerid] = 1; SetPlayerCheckpoint(playerid, -1956.2517,1344.1301,6.7450, 8.0); SCM(playerid, COLOR_LIGHTBLUE, #Seu GPS foi ativado em ESPLANADE NORTH!); } if(listitem == 2) { CaminhoneiroTrampando[playerid] = 1; SetPlayerCheckpoint(playerid, 2334.3997,30.6592,26.1556, 8.0); SCM(playerid, COLOR_LIGHTBLUE, #Seu GPS foi ativado em RED COUNTY!); } if(listitem == 3) { CaminhoneiroTrampando[playerid] = 1; SetPlayerCheckpoint(playerid, 1373.3235,297.7067,19.1281, 8.0); SCM(playerid, COLOR_LIGHTBLUE, #Seu GPS foi ativado em MONTGOMERY!); } if(listitem == 4) { CaminhoneiroTrampando[playerid] = 1; SetPlayerCheckpoint(playerid, 1446.3979,971.0087,10.3759, 8.0); SCM(playerid, COLOR_LIGHTBLUE, #Seu GPS foi ativado em IVA FREIGHT DEPOT!); } if(listitem == 5) { CaminhoneiroTrampando[playerid] = 1; SetPlayerCheckpoint(playerid, 2436.2046,1726.7625,10.3856, 8.0); SCM(playerid, COLOR_LIGHTBLUE, "Seu GPS foi ativado em GALIGULA'S PALACE B!"); } } } if(dialogid == 10398) { if(PlayerInfo[playerid][pEmprego] != 12) return 1; if(!response) return 1; if(response) { switch(listitem) { case 0: { ForT:iniciareletricista(playerid); } case 1: { ForT:cancelareletricista(playerid); } } } } if(dialogid == DG_Prox_Serv){ if(response){ if(PlayerInfo[playerid][pEmprego] == 9){ new yAlet = random(sizeof(yMP_PosR_CarFort)-1); yMP_Pos[0][playerid] = yMP_PosR_CarFort[yAlet][0]; yMP_Pos[1][playerid] = yMP_PosR_CarFort[yAlet][1]; yMP_Pos[2][playerid] = yMP_PosR_CarFort[yAlet][2]; yMP_PegouServ[playerid] = yAlet+1; SetPlayerCheckpoint(playerid, yMP_PosR_CarFort[yAlet][0],yMP_PosR_CarFort[yAlet][1],yMP_PosR_CarFort[yAlet][2], 4.0); new Float:Pos[3]; GetPlayerPos(playerid,Pos[0],Pos[1],Pos[2]); yMP_Valor[playerid] = floatround(yMP_GetDist(yMP_PosR_CarFort[yAlet][0],yMP_PosR_CarFort[yAlet][1],yMP_PosR_CarFort[yAlet][2] ,Pos[0],Pos[1],Pos[2]) * yMP_VAlor_CarFort); format(yMPStr, sizeof(yMPStr), "Você pegou um Transporte! Carregamento a {33CC33}%i{FFFFFF}/KM",yMP_GetDist(yMP_PosR_CarFort[yAlet][0],yMP_PosR_CarFort[yAlet][1],yMP_PosR_CarFort[yAlet][2] ,Pos[0],Pos[1],Pos[2])); return SendClientMessage(playerid, 0xFFFFFFFF, yMPStr); } }else yMPPararDeTrabalhar(playerid); } switch(dialogid) { case DIALOG_STATUS: { if(response) return SendClientMessage(playerid, COLOR_LIGHTBLUE, "[SEDEX]{FFFFFF} Continue a pegar presentes!"); format(GLOBALString, sizeof(GLOBALString), "{FFBC63}Parabéns, {638DFF}%s{FFBC63}!\nVocê conseguiu {94FF63}terminar{FFBC63} o primeiro passo.\nO Próximo passo é entregar em diferentes casas!", PlayerName(playerid)); ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, " ", GLOBALString, "OK", ""); new rand = random(sizeof(HousePos)); SetPlayerCheckpoint(playerid, HousePos[rand][0] ,HousePos[rand][1], HousePos[rand][2], 2.0); format(GLOBALString, sizeof(GLOBALString), "Você ainda tem %d presentes para entregar! Distância: %0.2fm", Gifts[playerid], GetPlayerDistanceFromPoint(playerid, HousePos[rand][0] ,HousePos[rand][1], HousePos[rand][2])); SendClientMessage(playerid, 0xFFFF00FF, GLOBALString); PresenteCP[playerid] = 1; } case DIALOG_JOB: { if(!response) return 1; if(EmpregoDuty[playerid] == 1) return 1; PlayerInfo[playerid][pSkin] = GetPlayerSkin(playerid); SetPlayerSkin(playerid, 261); EmpregoDuty[playerid] = 1; TotalGifts[playerid] = 0; Gifts[playerid] = 0; SendClientMessage(playerid, COLOR_LIGHTBLUE, "[SEDEX]:{FFFFFF} Você bateu o cartão e está de servico."); } } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // if(dialogid == 2458) { if(response) { SendClientMessage(playerid,0x32CD32FF,"| INFO OFICINA | {FFFFFF}Seu carro acaba de ser blindado."); GivePlayerMoneyEx(playerid, - 20000); Cblindado[GetPlayerVehicleID(playerid)] = 1; Blindagem[GetPlayerVehicleID(playerid)] = 100; } else { SendClientMessage(playerid,0xA52A2AFF,"| INFO OFICINA | {FFFFFF}Você optou por não blindar seu carro."); } } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // if(dialogid == D_CIDADE_NASCER) { if(response) { PlayerInfo[playerid][pCidadeEscolheu] = listitem; if(PlayerInfo[playerid][pCidadeEscolheu] == 0) { SetPlayerPos(playerid, 1450.0985,-2287.4214,13.5469); SetPlayerFacingAngle(playerid, 359.5704); } if(PlayerInfo[playerid][pCidadeEscolheu] == 1) { SetPlayerPos(playerid, 1705.4833,1480.4753,10.7879); SetPlayerFacingAngle(playerid, 262.0798); } } } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // // Dialog ORG // Dialog ORG if(dialogid == 7273) { if(response) { if(listitem == -1) return true; if(antibugcarros) return ShowPlayerDialog(playerid, 7979, DIALOG_STYLE_MSGBOX, "Aviso", "{FFFFFF}Alguém acabou de spawncar um carro\n{FFFFFF}Aguarde 2 segundos e spawne novamente.", "Fechar", ""); if(JaSpawnouVeh[playerid]) return ShowPlayerDialog(playerid, 7979, DIALOG_STYLE_MSGBOX, "Aviso", "{FFFFFF}Voce ja spawnou um veiculo\n{FFFFFF}Aguarde 1 minutos para spawnar novamente.", "Fechar", ""); new rListitem = OrgVehiclesListitem[playerid][listitem]; listitem = rListitem; if(listitem == -1) { if(PlayerCarroIDOrg[playerid] == INVALID_VEHICLE_ID) return SCM(playerid, COLOR_ERRO, "[Erro] Você não possui nenhum veículo para entregar de volta ao pickup"); DestroyPVehicleOrg(playerid); SCM(playerid, 0x30E826FF, "[Aviso] Você entregou o seu veículo de volta ao pickup. Agora você pode pegar um novo veículo."); } else { JaSpawnouVeh[playerid] = true; antibugcarros = true; SetTimer("ResetarBugCarros", 2000, 0); SetTimerEx("ResetarSpawnouVeh", 1000 * 60, false, "i", playerid); PlayerPlaySound(playerid,1057,0.0,0.0,0.0); SendClientMessage(playerid, -1, "{4695e3}Veiculo spawnado!"); listitem = checkList(GetPlayerOrg(playerid), listitem); // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // /* if(IsValidVehicle(orgVehicles[listitem][vID])) DestroyVehicleEx(orgVehicles[listitem][vID]); orgVehicles[listitem][vID] = -1; */ DestroyPVehicleOrg(playerid); orgVehicles[listitem][vID] = AddStaticVehicleEx (orgVehicles[listitem][modelId], orgVehicles[listitem][vX], orgVehicles[listitem][vY], orgVehicles[listitem][vZ], orgVehicles[listitem][vA], orgVehicles[listitem][vCor1], orgVehicles[listitem][vCor2], RESPAWN_VEHICLES_TIME); PlayerCarroIDOrg[playerid] = orgVehicles[listitem][vID]; PutPlayerInVehicle(playerid, orgVehicles[listitem][vID], 0); orgVehicles[listitem][Disponivel] = false; TimerDestroy[orgVehicles[listitem][vID]] = SetTimerEx("DestroyVehicleOrg", TIME_DESTROY_VEHICLE, false, "ii", orgVehicles[listitem][vID], listitem); // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // CreatedCar++; new vehicle = GetPlayerVehicleID(playerid); CriadoPorADM[vehicle] = -1; CarroEMPREGOID[vehicle] = -1; CarroParticular[vehicle] = -1; CarroORGID[vehicle] = GetPlayerOrg(playerid); UnLockCar(vehicle); Gas[vehicle] = 100; } } return true; } if(dialogid == 195) { if(response) { if(listitem == 0) { new strvipum[2000]; strcat(strvipum, "{00fefe}____________________________| BENEFÍCIOS VIP |____________________________\n\n"); strcat(strvipum, "{2fce3c}Ao ativar (recebimento):\n\n"); strcat(strvipum, "{fcfcfc}• Receberá level {6d6a6d}(Quantidade: 2)\n"); strcat(strvipum, "{fcfcfc}• Receberá dinheiro {6d6a6d}(Quantidade: 100.000)\n"); strcat(strvipum, "{fcfcfc}• Receberá pontos melhora {6d6a6d}(Quantidade: 2)\n"); strcat(strvipum, "{fdfa00}Lembrete: {6d6a6d}A Quantidade é de acordo com os meses que será ativado !\n\n"); strcat(strvipum, "{2fce3c}Ganhos ao ser VIP:\n\n"); strcat(strvipum, "{fcfcfc}• Dinheiro {6d6a6d}(Por Payday/Pagamento Horário)\n"); strcat(strvipum, "{6d6a6d}Funcionamento:\n\n"); strcat(strvipum, "{fcfcfc}• Ganha 2 vezes a quantidade que tem no banco dividido por 2630\n"); strcat(strvipum, "{e40000}Exemplo:{fcfcfc} 2 x 1.000.000.000 / 2630 = R$571.428 por PayDay\n\n"); strcat(strvipum, "{2fce3c}Direitos ao ser VIP:\n"); strcat(strvipum, "{fcfcfc}• Direito de comprar fazenda {6d6a6d}(Quantidade: 1)\n"); strcat(strvipum, "{fcfcfc}• Direito de usar KIT-VIP {6d6a6d}(Local: Loja de Armas)\n"); strcat(strvipum, "{fcfcfc}• Armas {6d6a6d}(Colete 50 por cento, Faca,Eagle,Shotgun,MP5,M4)\n"); strcat(strvipum, "{fcfcfc}• Direito de usar chat-VIP(Comando: /v)\n"); strcat(strvipum, "{fcfcfc}• Direito de usar Titulo VIP {6d6a6d}(Comando: /titulos)\n"); strcat(strvipum, "{fcfcfc}• Direito de desligar celular {6d6a6d}(Comando: /desligarcel)\n"); strcat(strvipum, "{fcfcfc}• Direito de comprar Casa\n"); strcat(strvipum, "{fcfcfc}• Direito de comprar Carros\n"); strcat(strvipum, "{fcfcfc}• Não precisa ter nível para comprar casa\n"); strcat(strvipum, "{fcfcfc}• Poderá se equipar VIP na sua organização!\n"); strcat(strvipum, "{fcfcfc}• Ao Digitar no chat a fala é com cor diferenciada\n"); strcat(strvipum, "{00fefe}____________________________________________________________________________"); ShowPlayerDialog(playerid, 5018, DIALOG_STYLE_MSGBOX, "Beneficios VIP/SÓCIO", strvipum, "Voltar", ""); } if(listitem == 1) { new strsocioum[2000]; strcat(strsocioum, "{faa788}____________________________| BENEFÍCIOS SUPER VIP |____________________________\n\n"); strcat(strsocioum, "{2fce3c}Ao ativar (recebimento):\n\n"); strcat(strsocioum, "{fcfcfc}• Receberá level {6d6a6d}(Quantidade: 4)\n"); strcat(strsocioum, "{fcfcfc}• Receberá dinheiro {6d6a6d}(Quantidade: 200.000)\n"); strcat(strsocioum, "{fcfcfc}• Receberá pontos melhora {6d6a6d}(Quantidade: 3)\n"); strcat(strsocioum, "{fdfa00}Lembrete: {6d6a6d}A Quantidade é de acordo com os meses que será ativado !\n\n"); strcat(strsocioum, "{2fce3c}Ganhos ao ser SÓCIO:\n\n"); strcat(strsocioum, "{fcfcfc}• Respeito {6d6a6d}(Quantidade: 2 Por Payday)\n\n"); strcat(strsocioum, "{fcfcfc}• Dinheiro {6d6a6d}(Por Payday/Pagamento Horário)\n"); strcat(strsocioum, "{6d6a6d}Funcionamento:\n\n"); strcat(strsocioum, "{fcfcfc}• Ganha 3 vezes a quantidade que tem no banco dividido por 2630\n"); strcat(strsocioum, "{e40000}Exemplo:{fcfcfc} 2 x 1.000.000.000 / 3500 = R$571.428 por PayDay\n\n"); strcat(strsocioum, "{2fce3c}Direitos ao ser SÓCIO:\n"); strcat(strsocioum, "{fcfcfc}• Direito de comprar fazenda {6d6a6d}(Quantidade: 1)\n"); strcat(strsocioum, "{fcfcfc}• Direito de usar KIT-SÓCIO {6d6a6d}(Local: Loja de Armas)\n"); strcat(strsocioum, "{fcfcfc}• Armas {6d6a6d}(Colete 70 por cento, Faca,Eagle,Shotgun,MP5,M4)\n"); strcat(strsocioum, "{fcfcfc}• Direito de comprar empresas {6d6a6d}(Quantidade: 1)\n"); strcat(strsocioum, "{fcfcfc}• Direito de usar chat-VIP(Comando: /v)\n"); strcat(strsocioum, "{fcfcfc}• Direito de usar chat-SOCIO (Comando: /s)\n"); strcat(strsocioum, "{fcfcfc}• Direito de usar Titulo SÓCIO {6d6a6d}(Comando: /titulos)\n"); strcat(strsocioum, "{fcfcfc}• Direito de desligar celular {6d6a6d}(Comando: /desligarcel)\n"); strcat(strsocioum, "{fcfcfc}• Direito de comprar Casa\n"); strcat(strsocioum, "{fcfcfc}• Direito de comprar Carros\n"); strcat(strsocioum, "{fcfcfc}• Não precisa ter nível para comprar casa\n"); strcat(strsocioum, "{fcfcfc}• Poderá se equipar SÓCIO na sua organização!\n"); strcat(strsocioum, "{fcfcfc}• Ao Digitar no chat a fala é com cor diferenciada\n"); strcat(strsocioum, "{faa788}____________________________________________________________________________"); ShowPlayerDialog(playerid, 5018, DIALOG_STYLE_MSGBOX, "Beneficios VIP/SÓCIO", strsocioum, "Voltar", ""); } if(listitem == 2) { new strsociogo[2500]; strcat(strsociogo, "{fef33c}____________________________| BENEFÍCIOS SÓCIO RELIQUIA |____________________________\n\n"); strcat(strsociogo, "{2fce3c}Ao ativar (recebimento):\n\n"); strcat(strsociogo, "{fcfcfc}• Receberá level {6d6a6d}(Quantidade: 6)\n"); strcat(strsociogo, "{fcfcfc}• Receberá dinheiro {6d6a6d}(Quantidade: 500.000)\n"); strcat(strsociogo, "{fcfcfc}• Receberá pontos melhora {6d6a6d}(Quantidade: 5)\n"); strcat(strsociogo, "{fcfcfc}• Receberá portão {6d6a6d}(Quantidade: 2)\n"); strcat(strsociogo, "{fdfa00}Lembrete: {6d6a6d}A Quantidade é de acordo com os meses que será ativado !\n\n"); strcat(strsociogo, "{2fce3c}Ganhos ao ser SÓCIO-GOLD:\n\n"); strcat(strsociogo, "{fcfcfc}• Respeito {6d6a6d}(Quantidade: 4 Por Payday)\n\n"); strcat(strsociogo, "{fcfcfc}• Pontos de Melhora {6d6a6d}(Quantidade: 3 Por Legal Upado)\n"); strcat(strsociogo, "{fcfcfc}• Dinheiro {6d6a6d}(Por Payday/Pagamento Horário)\n"); strcat(strsociogo, "{6d6a6d}Funcionamento:\n\n"); strcat(strsociogo, "{fcfcfc}• Ganha 5 vezes a quantidade que tem no banco dividido por 2630\n"); strcat(strsociogo, "{e40000}Exemplo:{fcfcfc} 3 x 1.000.000.000 / 3500 = R$857.142 por PayDay\n\n"); strcat(strsociogo, "{2fce3c}Direitos ao ser SÓCIO GOLD:\n"); strcat(strsociogo, "{fcfcfc}• Direito de comprar fazenda {6d6a6d}(Quantidade: 1)\n"); strcat(strsociogo, "{fcfcfc}• Direito de usar KIT-SÓCIO {6d6a6d}(Local: Qualquer lugar)\n"); strcat(strsociogo, "{fcfcfc}• Armas {6d6a6d}(Colete 100 por cento, Faca,Eagle,Shotgun,MP5,M4,Sniper,Bazuka)\n"); strcat(strsociogo, "{fcfcfc}• Direito de comprar empresas {6d6a6d}(Quantidade: 1)\n"); strcat(strsociogo, "{fcfcfc}• Direito de usar chat-VIP(Comando: /v)\n"); strcat(strsociogo, "{fcfcfc}• Direito de usar chat-SOCIO (Comando: /s)\n"); strcat(strsociogo, "{fcfcfc}• Direito de usar Titulo SÓCIO GOLD {6d6a6d}(Comando: /titulos)\n"); strcat(strsociogo, "{fcfcfc}• Direito de desligar celular {6d6a6d}(Comando: /desligarcel)\n"); strcat(strsociogo, "{fcfcfc}• Direito de comprar Mansão\n"); strcat(strsociogo, "{fcfcfc}• Direito de comprar Carros\n"); strcat(strsociogo, "{fcfcfc}• Direito de usar JetPack {6d6a6d}(Comando: /jetpack)\n"); strcat(strsociogo, "{fcfcfc}• Direito de reparar carro em qualquer local {6d6a6d}(Comando: /repararvip)\n"); strcat(strsociogo, "{fcfcfc}• Direito de abastecer carro em qualquer local {6d6a6d}(Comando: /abastecervip)\n"); strcat(strsociogo, "{fcfcfc}• Direito de pegar presente em qualquer local {6d6a6d}(Comando: /caixinha)\n"); strcat(strsociogo, "{fcfcfc}• Direito de entrar em organizações (Comando: /entrarorg)\n"); strcat(strsociogo, "{6d6a6d}(Entrar em organização em qualquer lugar direto com cargo 3)\n"); strcat(strsociogo, "{6d6a6d}(Não é possivel entrar em organizações pagas ou premium)\n"); strcat(strsociogo, "{6d6a6d}(Não é possivel entrar em organização cop com nível de procura)\n"); strcat(strsociogo, "{fcfcfc}• Não precisa ter nível para comprar casa\n"); strcat(strsociogo, "{fcfcfc}• Poderá se equipar SÓCIO-GOLD na sua organização!\n"); strcat(strsociogo, "{fcfcfc}• Ao Digitar no chat a fala é com cor diferenciada\n"); strcat(strsociogo, "{fef33c}____________________________________________________________________________"); ShowPlayerDialog(playerid, 5018, DIALOG_STYLE_MSGBOX, "Beneficios VIP/SÓCIO", strsociogo, "Voltar", ""); } if(listitem == 3) { new strsociodi[2700]; strcat(strsociodi, "{AEFFD1}____________________________| BENEFÍCIOS SÓCIO PLATINA |____________________________\n\n"); strcat(strsociodi, "{2fce3c}Ao ativar (recebimento):\n\n"); strcat(strsociodi, "{ffcfcfc}• Receberá level {6d6a6d}(Quantidade: 10)\n"); strcat(strsociodi, "{fcfcfc}• Receberá dinheiro {6d6a6d}(Quantidade: 1.000.000)\n"); strcat(strsociodi, "{fcfcfc}• Receberá pontos melhora {6d6a6d}(Quantidade: 6)\n"); strcat(strsociodi, "{fcfcfc}• Receberá Veiculo de Inventário {6d6a6d}(Quantidade: 1)\n"); strcat(strsociodi, "{fcfcfc}• Receberá portão {6d6a6d}(Quantidade: 2)\n"); strcat(strsociodi, "{fdfa00}Lembrete: {6d6a6d}A Quantidade é de acordo com os meses que será ativado !\n\n"); strcat(strsociodi, "{2fce3c}Ganhos ao ser SÓCIO-PLATINA:\n\n"); strcat(strsociodi, "{fcfcfc}• Respeito {6d6a6d}(Quantidade: 6 Por Payday)\n\n"); strcat(strsociodi, "{fcfcfc}• Pontos de Melhora {6d6a6d}(Quantidade: 5 Por Legal Upado)\n"); strcat(strsociodi, "{fcfcfc}• Dinheiro {6d6a6d}(Por Payday/Pagamento Horário)\n"); strcat(strsociodi, "{6d6a6d}Funcionamento:\n\n"); strcat(strsociodi, "{fcfcfc}• Ganha 8 vezes a quantidade que tem no banco dividido por 2630\n"); strcat(strsociodi, "{e40000}Exemplo:{fcfcfc} 4 x 1.000.000.000 / 2630 = R$1.142.857 por PayDay\n\n"); strcat(strsociodi, "{2fce3c}Direitos ao ser SÓCIO PLATINA:\n"); strcat(strsociodi, "{fcfcfc}• Direito de comprar fazenda {6d6a6d}(Quantidade: 1)\n"); strcat(strsociodi, "{fcfcfc}• Direito de usar KIT-SÓCIO {6d6a6d}(Local: Qualquer lugar)\n"); strcat(strsociodi, "{fcfcfc}• Armas {6d6a6d}(Colete 100 por cento, Faca,Eagle,Shotgun,MP5,M4,Sniper,Bazuka)\n"); strcat(strsociodi, "{fcfcfc}• Direito de comprar empresas {6d6a6d}(Quantidade: 1)\n"); strcat(strsociodi, "{fcfcfc}• Direito de usar Chat-VIP e SOCIO {6d6a6d}(Comando: /v e /s)\n"); strcat(strsociodi, "{fcfcfc}• Direito de usar Titulo SÓCIO PLATINA {6d6a6d}(Comando: /titulos)\n"); strcat(strsociodi, "{fcfcfc}• Direito de desligar celular {6d6a6d}(Comando: /desligarcel)\n"); strcat(strsociodi, "{fcfcfc}• Direito de comprar Mansão\n"); strcat(strsociodi, "{fcfcfc}• Direito de comprar Carros\n"); strcat(strsociodi, "{fcfcfc}• Direito de usar JetPack {6d6a6d}(Comando: /jetpack)\n"); strcat(strsociodi, "{fcfcfc}• Direito de reparar carro em qualquer local {6d6a6d}(Comando: /repararvip)\n"); strcat(strsociodi, "{fcfcfc}• Direito de abastecer carro em qualquer local {6d6a6d}(Comando: /abastecervip)\n"); strcat(strsociodi, "{fcfcfc}• Direito de pegar presente em qualquer local {6d6a6d}(Comando: /caixinha)\n"); strcat(strsociodi, "{fcfcfc}• Anúncio diferenciado e uso mais rápido {6d6a6d}(Comando: /an)\n"); strcat(strsociodi, "{fcfcfc}• Direito de entrar em organizações (Comando: /entrarorg)\n"); strcat(strsociodi, "{6d6a6d}(Entrar em organização em qualquer lugar direto com cargo 4)\n"); strcat(strsociodi, "{6d6a6d}(Não é possivel entrar em organizações pagas ou premium)\n"); strcat(strsociodi, "{6d6a6d}(Não é possivel entrar em organização cop com nível de procura)\n"); strcat(strsociodi, "{fcfcfc}• Poderá se equipar SÓCIO-PLATINA na sua organização!\n"); strcat(strsociodi, "{00cc00}• Apenas SOCIO-PLATINA poderá receber Caixa Surpresa Platina nos Presentes!\n"); strcat(strsociodi, "{6d6a6d}(Agora o 'ITEM RARO DO MES' vem apenas nas Caixa Surpresa Platina\n"); strcat(strsociodi, "{6d6a6d}Poderá pegar 2 caixinha por Payday\n\n"); strcat(strsociodi, "{AEFFD1}____________________________________________________________________________"); ShowPlayerDialog(playerid, 5018, DIALOG_STYLE_MSGBOX, "Beneficios VIP/SÓCIO", strsociodi, "Voltar", ""); } } if(!response) { ForT:vip(playerid); } } // DIALOG Emprego if(dialogid == 7274) { if(response) { if(listitem == -1) return true; // if(JaSpawnouVeh[playerid]) // return ShowPlayerDialog(playerid, 7979, DIALOG_STYLE_MSGBOX, "Aviso", "{FFFFFF}Voce ja spawnou um veiculo\n{FFFFFF}Aguarde 1 minutos para spawnar novamente.", "Fechar", ""); new rListitem = EmpVehiclesListitem[playerid][listitem]; listitem = rListitem; JaSpawnouVeh[playerid] = true; SetTimerEx("ResetarSpawnouVeh", 1000 * 60, false, "i", playerid); PlayerPlaySound(playerid,1057,0.0,0.0,0.0); SendClientMessage(playerid, -1, "{4695e3}Veiculo spawnado!"); listitem = checkListE(PlayerInfo[playerid][pEmprego], listitem); //brazz if(PlayerInfo[playerid][pEmprego] == 15) { SCM(playerid, COLOR_GREEN, "[INFO] Siga o checkpoint para carregar seu aviao!"); SetPlayerCheckpoint(playerid, 1351.2909,1709.8282,11.2796, 6.0); } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // /* if(IsValidVehicle(empVehicles[listitem][vID])) DestroyVehicleEx(empVehicles[listitem][vID]); empVehicles[listitem][vID] = -1; */ DestroyPVehicleEmp(playerid); empVehicles[listitem][vID] = AddStaticVehicleEx (empVehicles[listitem][modelId], empVehicles[listitem][vX], empVehicles[listitem][vY], empVehicles[listitem][vZ], empVehicles[listitem][vA], empVehicles[listitem][vCor1], empVehicles[listitem][vCor2], RESPAWN_VEHICLES_TIME); PlayerCarroIDEmp[playerid] = empVehicles[listitem][vID]; PutPlayerInVehicle(playerid, empVehicles[listitem][vID], 0); empVehicles[listitem][Disponivel] = false; TimerDestroy[empVehicles[listitem][vID]] = SetTimerEx("DestroyVehicleEmp", TIME_DESTROY_VEHICLE, false, "ii", empVehicles[listitem][vID], listitem); CreatedCar++; // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // CriadoPorADM[empVehicles[listitem][vID]] = -1; CarroORGID[empVehicles[listitem][vID]] = -1; CarroParticular[empVehicles[listitem][vID]] = -1; CarroEMPREGOID[empVehicles[listitem][vID]] = PlayerInfo[playerid][pEmprego]; UnLockCar(empVehicles[listitem][vID]); if(PlayerInfo[playerid][pEmprego] == 4) { for(new i = 0, j = 0; i < sizeof(empVehicles); i++) { if(empVehicles[i][orgID] == 4) { if(empVehicles[listitem][vID] == CarroCaminhao(j)) { if(j >= 0 && j <= 12) { PlayerHaul[empVehicles[listitem][vID]][pCapasity] = 500; break; } j++; } } } } } } if( dialogid == 5566 ) { new linha[ 150 ]; new str[ 1000 ]; if( response ) { if( listitem == 0 ) { format( str, sizeof str, tpRegrasGerais[ 0 ] ); for( new i = 1; i < sizeof tpRegrasGerais; i++ ) { format( linha, sizeof linha, tpRegrasGerais[ i ] ); strcat( str, linha ); } } if( listitem == 1 ) { format( str, sizeof str, tpAnuncioseRelatorios[ 0 ] ); for( new i = 1; i < sizeof tpAnuncioseRelatorios; i++ ) { format( linha, sizeof linha, tpAnuncioseRelatorios[ i ] ); strcat( str, linha ); } } if( listitem == 2 ) { format( str, sizeof str, tpInvasoes[ 0 ] ); for( new i = 1; i < sizeof tpInvasoes; i++ ) { format( linha, sizeof linha, tpInvasoes[ i ] ); strcat( str, linha ); } } if( listitem == 3 ) { format( str, sizeof str, tpModificacoes[ 0 ] ); for( new i = 1; i < sizeof tpModificacoes; i++ ) { format( linha, sizeof linha, tpModificacoes[ i ] ); strcat( str, linha ); } } if( listitem == 4 ) { format( str, sizeof str, tpLideres[ 0 ] ); for( new i = 1; i < sizeof tpLideres; i++ ) { format( linha, sizeof linha, tpLideres[ i ] ); strcat( str, linha ); } } ShowPlayerDialog( playerid, 5568, DIALOG_STYLE_MSGBOX, "{FFFFFF}Tempo de Punicões", str, "Sair", "Voltar" ); } } if( dialogid == 5568 ) { if( !response ) ShowPlayerDialog( playerid, 5566, DIALOG_STYLE_LIST, "{FFFFFF}Tempo de Punicões", "{FFFFFF}Regras Gerais\nAnúncios e Relatorios\nInvasões\nModificacões e Cheaters\nRegras de Conduta para Lideres", "Continuar", "Sair" ); } // --------------------------------- // if(dialogid == D_PCOUANDROID) { if(response) { if(PlayerRegistrandoConta[playerid]) { ShowPlayerDialogEx(playerid, D_CIDADE_NASCER); } PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0); PlayerInfo[playerid][gPlayerUsandoPlataformaID] = 1; ShowTelaLogin(playerid); } else { PlayerInfo[playerid][gPlayerUsandoPlataformaID] = 0; login_dialog(playerid); } } if(dialogid == 8081) { // (Deseja carregar sua ultima posicao?) if(response) { ForT:carregarposicao(playerid); return true; } return true; } if(dialogid == 8082) { // (Menu Admin Dono) if(response) { SCM(playerid, COLOR_GRAD1, "[MENU ADMIN DONO] Os players verá você no /admins"); admhide[playerid] = 1; } if(!response) { admhide[playerid] = 0; SCM(playerid, COLOR_GRAD1, "[MENU ADMIN DONO] Os players não verá você no /admins"); return true; } return true; } if(dialogid == 128) { if(response == 1) { ForT:absnppo(playerid, inputtext); return 1; } if(response == 0) { Controle(playerid, 1); return 1; } return 1; } if(dialogid == 9898) { // tunar android TunningOn[playerid] = 1; Controle(playerid, 0); if(response) { switch(listitem) { case 0: { ShowPlayerDialog(playerid, 9899, DIALOG_STYLE_LIST, "Paint Jobs", "Paintjob 1\nPaintjob 2\nPaintjob 3\nPaintjob 4\nPaintjob 5\nMenu Principal", "Selecionar", "Fechar"); } case 1: { ShowPlayerDialog(playerid, 9910, DIALOG_STYLE_LIST, "Cores", "Preto\nBranco\nVermelho\nAzul\nVerde\nAmarelo\nRosa\nMarrom\nProxima Pagina", "Selecionar", "Voltar"); } case 2: { ShowPlayerDialog(playerid, 9911, DIALOG_STYLE_LIST, "Escapamentos", "Wheel Arch Alien Exhaust\nWheel Arch X-Flow Exhaust\nLocos Low Chromer Exhaust\nLocos Low Slamin Exhaust\nMenu Principal", "Selecionar", "Fechar"); } case 3: { ShowPlayerDialog(playerid, 9912, DIALOG_STYLE_LIST, "Parachoque Dian", "Wheel Arch Alien bumper\nWheel Arch X-Flow bumper\nLocos Low Chromer bumper\nLocos Low Slamin bumper\nMenu Principal", "Selecionar", "Fechar"); } case 4: { ShowPlayerDialog(playerid, 9913, DIALOG_STYLE_LIST, "Parachoque Trase", "Wheel Arch Alien bumper\nWheel Arch X-Flow bumper\nLocos Low Chromer bumper\nLocos Low Slamin bumper\nMenu Principal", "Selecionar", "Fechar"); } case 5: { ShowPlayerDialog(playerid, 9914, DIALOG_STYLE_LIST, "Capo", "Wheel Arch Alien Roof Vent\nWheel Arch X-Flow Roof Vent\nLocos Low Chromer Roof\nLocos Low Slamin Roof\nMenu Principal", "Selecionar", "Fechar"); } case 6: { ShowPlayerDialog(playerid, 9915, DIALOG_STYLE_LIST, "Aerofolios", "Alien Spoiler\nX-Flow Spoiler\nMenu Principal", "Selecionar", "Fechar"); } case 7: { ShowPlayerDialog(playerid, 9916, DIALOG_STYLE_LIST, "Saias Laterais", "Wheel Arch Alien Side Skirts\nWheel Arch X-Flow Side Skirts\nLocos Low Chrome Strip\nLocos Low Chrome Flames\nLocos Low Chrome Arches\nLocos Low Chrome Trim\nLocos Low Wheelcovers\nMenu Principal", "Selecionar", "Fechar"); } case 8: { ShowPlayerDialog(playerid, 9917, DIALOG_STYLE_LIST, "Bullbars", "Locos Low Chrome Grill\nLocos Low Chrome Bars\nLocos Low Chrome Lights\nLocos Low Chrome Bullbar\nMenu Principal", "Selecionar", "Fechar"); } case 9: { ShowPlayerDialog(playerid, 9918, DIALOG_STYLE_LIST, "Rodas", "Offroad\n\ Mega\n\ Wires\n\ Twist\n\ Grove\n\ Import\n\ Atomic\n\ Ahab\n\ Virtual\n\ Access\n\ Proxima Pag\n\ Menu Principal", "Selecionar", "Fechar"); } case 10: { ShowPlayerDialog(playerid, 9919, DIALOG_STYLE_LIST, "Som", "Bass Boost\nMenu Principal", "Selecionar", "Fechar"); } case 11: { ShowPlayerDialog(playerid, 9920, DIALOG_STYLE_LIST, "Tuning 2", "Hidraulica\nNitro\nNeon\nReparar\nMenu Principal", "Selecionar", "Fechar"); } default: { SendClientMessage(playerid, -1, "O sistema esta em construcao, no dia 22/07/2020 ele estara finalizado."); } } return true; } else { TunningOn[playerid] = 0; Controle(playerid, 1); SendClientMessage(playerid, -1, "Voce saiu da tunagem!"); return true; } } if(dialogid == 9899) { // paint job if(response) { switch(listitem) { case 0: { if (pmodelid[playerid] == 562 || pmodelid[playerid] == 565 || pmodelid[playerid] == 559 || pmodelid[playerid] == 561 || pmodelid[playerid] == 560 || pmodelid[playerid] == 575 || pmodelid[playerid] == 534 || // Broadway pmodelid[playerid] == 567 || pmodelid[playerid] == 483 || pmodelid[playerid] == 536 || pmodelid[playerid] == 535 || pmodelid[playerid] == 576 || pmodelid[playerid] == 558) { new car = GetPlayerVehicleID(playerid); ChangeVehiclePaintjob(car, 0); vComponent[car][14] = 0; SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} paintjob{A9A9A9} ao veiculo"); ShowPlayerDialog(playerid, 9899, DIALOG_STYLE_LIST, "Paint Jobs", "Paintjob 1\nPaintjob 2\nPaintjob 3\nPaintjob 4\nPaintjob 5\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else { ShowPlayerDialog(playerid, 9898, DIALOG_STYLE_LIST, "Tuning", "Paint Jobs\n\ Cores\n\ Escapamentos\n\ ParaChoque Dian\n\ ParaChoque Trase\n\ Capo\n\ Aerofolios\n\ Saias Laterais\n\ Bullbars\n\ Rodas\n\ Som\n\ Proxima Pag", "Selecionar", "Fechar"); SendClientMessage(playerid, COLOR_GRAD1, "[AVISO] Voce nao pode adicionar isso."); } } case 1: if (pmodelid[playerid] == 562 || pmodelid[playerid] == 565 || pmodelid[playerid] == 559 || pmodelid[playerid] == 561 || pmodelid[playerid] == 560 || pmodelid[playerid] == 575 || pmodelid[playerid] == 534 || // Broadway pmodelid[playerid] == 567 || pmodelid[playerid] == 483 || pmodelid[playerid] == 536 || pmodelid[playerid] == 535 || pmodelid[playerid] == 576 || pmodelid[playerid] == 558) { new car = GetPlayerVehicleID(playerid); ChangeVehiclePaintjob(car, 1); vComponent[car][14] = 1; SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} paintjob{A9A9A9} ao veiculo"); ShowPlayerDialog(playerid, 9899, DIALOG_STYLE_LIST, "Paint Jobs", "Paintjob 1\nPaintjob 2\nPaintjob 3\nPaintjob 4\nPaintjob 5\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else { ShowPlayerDialog(playerid, 9898, DIALOG_STYLE_LIST, "Tuning", "Paint Jobs\n\ Cores\n\ Escapamentos\n\ ParaChoque Dian\n\ ParaChoque Trase\n\ Capo\n\ Aerofolios\n\ Saias Laterais\n\ Bullbars\n\ Rodas\n\ Som\n\ Proxima Pag", "Selecionar", "Fechar"); SendClientMessage(playerid, COLOR_GRAD1, "[AVISO] Voce nao pode adicionar isso."); } case 2: if (pmodelid[playerid] == 562 || pmodelid[playerid] == 565 || pmodelid[playerid] == 559 || pmodelid[playerid] == 561 || pmodelid[playerid] == 560 || pmodelid[playerid] == 575 || pmodelid[playerid] == 534 || // Broadway pmodelid[playerid] == 567 || pmodelid[playerid] == 483 || pmodelid[playerid] == 536 || pmodelid[playerid] == 535 || pmodelid[playerid] == 576 || pmodelid[playerid] == 558) { new car = GetPlayerVehicleID(playerid); ChangeVehiclePaintjob(car, 2); vComponent[car][14] = 2; SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} paintjob{A9A9A9} ao veiculo"); ShowPlayerDialog(playerid, 9899, DIALOG_STYLE_LIST, "Paint Jobs", "Paintjob 1\nPaintjob 2\nPaintjob 3\nPaintjob 4\nPaintjob 5\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else { SendClientMessage(playerid, COLOR_GRAD1, "[AVISO] Voce nao pode adicionar isso."); ShowPlayerDialog(playerid, 9898, DIALOG_STYLE_LIST, "Tuning", "Paint Jobs\n\ Cores\n\ Escapamentos\n\ ParaChoque Dian\n\ ParaChoque Trase\n\ Capo\n\ Aerofolios\n\ Saias Laterais\n\ Bullbars\n\ Rodas\n\ Som\n\ Proxima Pag", "Selecionar", "Fechar"); } case 3: if (pmodelid[playerid] == 562 || pmodelid[playerid] == 565 || pmodelid[playerid] == 559 || pmodelid[playerid] == 561 || pmodelid[playerid] == 560 || pmodelid[playerid] == 575 || pmodelid[playerid] == 534 || // Broadway pmodelid[playerid] == 567 || pmodelid[playerid] == 483 || pmodelid[playerid] == 536 || pmodelid[playerid] == 535 || pmodelid[playerid] == 576 || pmodelid[playerid] == 558) { new car = GetPlayerVehicleID(playerid); ChangeVehiclePaintjob(car, 3); vComponent[car][14] = 3; SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} paintjob{A9A9A9} ao veiculo"); ShowPlayerDialog(playerid, 9899, DIALOG_STYLE_LIST, "Paint Jobs", "Paintjob 1\nPaintjob 2\nPaintjob 3\nPaintjob 4\nPaintjob 5\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else { ShowPlayerDialog(playerid, 9898, DIALOG_STYLE_LIST, "Tuning", "Paint Jobs\n\ Cores\n\ Escapamentos\n\ ParaChoque Dian\n\ ParaChoque Trase\n\ Capo\n\ Aerofolios\n\ Saias Laterais\n\ Bullbars\n\ Rodas\n\ Som\n\ Proxima Pag", "Selecionar", "Fechar"); SendClientMessage(playerid, COLOR_GRAD1, "[AVISO] Voce nao pode adicionar isso."); } case 4: if (pmodelid[playerid] == 562 || pmodelid[playerid] == 565 || pmodelid[playerid] == 559 || pmodelid[playerid] == 561 || pmodelid[playerid] == 560 || pmodelid[playerid] == 575 || pmodelid[playerid] == 534 || // Broadway pmodelid[playerid] == 567 || pmodelid[playerid] == 483 || pmodelid[playerid] == 536 || pmodelid[playerid] == 535 || pmodelid[playerid] == 576 || pmodelid[playerid] == 558) { new car = GetPlayerVehicleID(playerid); ChangeVehiclePaintjob(car, 4); vComponent[car][14] = 4; SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} paintjob{A9A9A9} ao veiculo"); ShowPlayerDialog(playerid, 9899, DIALOG_STYLE_LIST, "Paint Jobs", "Paintjob 1\nPaintjob 2\nPaintjob 3\nPaintjob 4\nPaintjob 5\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else { SendClientMessage(playerid, COLOR_GRAD1, "[AVISO] Voce nao pode adicionar isso."); ShowPlayerDialog(playerid, 9898, DIALOG_STYLE_LIST, "Tuning", "Paint Jobs\n\ Cores\n\ Escapamentos\n\ ParaChoque Dian\n\ ParaChoque Trase\n\ Capo\n\ Aerofolios\n\ Saias Laterais\n\ Bullbars\n\ Rodas\n\ Som\n\ Proxima Pag", "Selecionar", "Fechar"); } case 5: { ShowPlayerDialog(playerid, 9898, DIALOG_STYLE_LIST, "Tuning", "Paint Jobs\n\ Cores\n\ Escapamentos\n\ ParaChoque Dian\n\ ParaChoque Trase\n\ Capo\n\ Aerofolios\n\ Saias Laterais\n\ Bullbars\n\ Rodas\n\ Som\n\ Proxima Pag", "Selecionar", "Fechar"); } } } else { TunningOn[playerid] = 0; Controle(playerid, 1); return true; } } if(dialogid == 9910) { // cores if(response) { switch(listitem) { case 0: if (GetPlayerMoney(playerid) >= 1) { new car = GetPlayerVehicleID(playerid); ChangeVehicleColor(car, 0, 0); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce {FFFF00}mudou a cor{A9A9A9} do seu veiculo."); ShowPlayerDialog(playerid, 9910, DIALOG_STYLE_LIST, "Cores", "Preto\nBranco\nVermelho\nAzul\nVerde\nAmarelo\nRosa\nMarrom\nProxima Pagina", "Selecionar", "Voltar"); empmoney(playerid, 19, 500); } else { SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao contem dinheiro."); ShowPlayerDialog(playerid, 9898, DIALOG_STYLE_LIST, "Tuning", "Paint Jobs\n\ Cores\n\ Escapamentos\n\ ParaChoque Dian\n\ ParaChoque Trase\n\ Capo\n\ Aerofolios\n\ Saias Laterais\n\ Bullbars\n\ Rodas\n\ Som\n\ Proxima Pag", "Selecionar", "Fechar"); } case 1: if (GetPlayerMoney(playerid) >= 1) { new car = GetPlayerVehicleID(playerid); ChangeVehicleColor(car, 1, 1); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce {FFFF00}mudou a cor{A9A9A9} do seu veiculo."); ShowPlayerDialog(playerid, 9910, DIALOG_STYLE_LIST, "Cores", "Preto\nBranco\nVermelho\nAzul\nVerde\nAmarelo\nRosa\nMarrom\nProxima Pagina", "Selecionar", "Voltar"); empmoney(playerid, 19, 500); } else { SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao contem dinheiro."); ShowPlayerDialog(playerid, 9898, DIALOG_STYLE_LIST, "Tuning", "Paint Jobs\n\ Cores\n\ Escapamentos\n\ ParaChoque Dian\n\ ParaChoque Trase\n\ Capo\n\ Aerofolios\n\ Saias Laterais\n\ Bullbars\n\ Rodas\n\ Som\n\ Proxima Pag", "Selecionar", "Fechar"); } case 2: if (GetPlayerMoney(playerid) >= 1) { new car = GetPlayerVehicleID(playerid); ChangeVehicleColor(car, 3, 3); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce {FFFF00}mudou a cor{A9A9A9} do seu veiculo."); ShowPlayerDialog(playerid, 9910, DIALOG_STYLE_LIST, "Cores", "Preto\nBranco\nVermelho\nAzul\nVerde\nAmarelo\nRosa\nMarrom\nProxima Pagina", "Selecionar", "Voltar"); empmoney(playerid, 19, 500); } else { SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao contem dinheiro."); ShowPlayerDialog(playerid, 9898, DIALOG_STYLE_LIST, "Tuning", "Paint Jobs\n\ Cores\n\ Escapamentos\n\ ParaChoque Dian\n\ ParaChoque Trase\n\ Capo\n\ Aerofolios\n\ Saias Laterais\n\ Bullbars\n\ Rodas\n\ Som\n\ Proxima Pag", "Selecionar", "Fechar"); } case 3: if (GetPlayerMoney(playerid) >= 1) { new car = GetPlayerVehicleID(playerid); ChangeVehicleColor(car, 79, 79); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce {FFFF00}mudou a cor{A9A9A9} do seu veiculo."); ShowPlayerDialog(playerid, 9910, DIALOG_STYLE_LIST, "Cores", "Preto\nBranco\nVermelho\nAzul\nVerde\nAmarelo\nRosa\nMarrom\nProxima Pagina", "Selecionar", "Voltar"); empmoney(playerid, 19, 500); } else { SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao contem dinheiro."); ShowPlayerDialog(playerid, 9898, DIALOG_STYLE_LIST, "Tuning", "Paint Jobs\n\ Cores\n\ Escapamentos\n\ ParaChoque Dian\n\ ParaChoque Trase\n\ Capo\n\ Aerofolios\n\ Saias Laterais\n\ Bullbars\n\ Rodas\n\ Som\n\ Proxima Pag", "Selecionar", "Fechar"); } case 4: if (GetPlayerMoney(playerid) >= 1) { new car = GetPlayerVehicleID(playerid); ChangeVehicleColor(car, 86, 86); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce {FFFF00}mudou a cor{A9A9A9} do seu veiculo."); ShowPlayerDialog(playerid, 9910, DIALOG_STYLE_LIST, "Cores", "Preto\nBranco\nVermelho\nAzul\nVerde\nAmarelo\nRosa\nMarrom\nProxima Pagina", "Selecionar", "Voltar"); empmoney(playerid, 19, 500); } else { SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao contem dinheiro."); ShowPlayerDialog(playerid, 9898, DIALOG_STYLE_LIST, "Tuning", "Paint Jobs\n\ Cores\n\ Escapamentos\n\ ParaChoque Dian\n\ ParaChoque Trase\n\ Capo\n\ Aerofolios\n\ Saias Laterais\n\ Bullbars\n\ Rodas\n\ Som\n\ Proxima Pag", "Selecionar", "Fechar"); } case 5: if (GetPlayerMoney(playerid) >= 1) { new car = GetPlayerVehicleID(playerid); ChangeVehicleColor(car, 6, 6); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce {FFFF00}mudou a cor{A9A9A9} do seu veiculo."); ShowPlayerDialog(playerid, 9910, DIALOG_STYLE_LIST, "Cores", "Preto\nBranco\nVermelho\nAzul\nVerde\nAmarelo\nRosa\nMarrom\nProxima Pagina", "Selecionar", "Voltar"); empmoney(playerid, 19, 500); } else { SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao contem dinheiro."); ShowPlayerDialog(playerid, 9898, DIALOG_STYLE_LIST, "Tuning", "Paint Jobs\n\ Cores\n\ Escapamentos\n\ ParaChoque Dian\n\ ParaChoque Trase\n\ Capo\n\ Aerofolios\n\ Saias Laterais\n\ Bullbars\n\ Rodas\n\ Som\n\ Proxima Pag", "Selecionar", "Fechar"); } case 6: if (GetPlayerMoney(playerid) >= 1) { new car = GetPlayerVehicleID(playerid); ChangeVehicleColor(car, 126, 126); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce {FFFF00}mudou a cor{A9A9A9} do seu veiculo."); ShowPlayerDialog(playerid, 9910, DIALOG_STYLE_LIST, "Cores", "Preto\nBranco\nVermelho\nAzul\nVerde\nAmarelo\nRosa\nMarrom\nProxima Pagina", "Selecionar", "Voltar"); empmoney(playerid, 19, 500); } else { SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao contem dinheiro."); ShowPlayerDialog(playerid, 9898, DIALOG_STYLE_LIST, "Tuning", "Paint Jobs\n\ Cores\n\ Escapamentos\n\ ParaChoque Dian\n\ ParaChoque Trase\n\ Capo\n\ Aerofolios\n\ Saias Laterais\n\ Bullbars\n\ Rodas\n\ Som\n\ Proxima Pag", "Selecionar", "Fechar"); } case 7: if (GetPlayerMoney(playerid) >= 1) { new car = GetPlayerVehicleID(playerid); ChangeVehicleColor(car, 66, 66); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce {FFFF00}mudou a cor{A9A9A9} do seu veiculo."); ShowPlayerDialog(playerid, 9910, DIALOG_STYLE_LIST, "Cores", "Preto\nBranco\nVermelho\nAzul\nVerde\nAmarelo\nRosa\nMarrom\nProxima Pagina", "Selecionar", "Voltar"); empmoney(playerid, 19, 500); } else { SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao contem dinheiro."); ShowPlayerDialog(playerid, 9898, DIALOG_STYLE_LIST, "Tuning", "Paint Jobs\n\ Cores\n\ Escapamentos\n\ ParaChoque Dian\n\ ParaChoque Trase\n\ Capo\n\ Aerofolios\n\ Saias Laterais\n\ Bullbars\n\ Rodas\n\ Som\n\ Proxima Pag", "Selecionar", "Fechar"); } case 8: { ShowPlayerDialog(playerid, 9951, DIALOG_STYLE_LIST, "Cores 2", "Ouro\n\ Azul Escuro\n\ Azul Claro\n\ Verde\n\ Cinza Claro\n\ Vermelho Escuro\n\ Marrom Escuro\n\ Menu Principal", "Selecionar", "Fechar"); } } } else { TunningOn[playerid] = 0; Controle(playerid, 1); SendClientMessage(playerid, -1, "Voce saiu da tunagem!"); return true; } } if(dialogid == 9951) { // cores pagina 2 if(response) { switch(listitem) { case 0: if (GetPlayerMoney(playerid) >= 1) { new car = GetPlayerVehicleID(playerid); ChangeVehicleColor(car, 24, 24); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce {FFFF00}mudou a cor{A9A9A9} do seu veiculo."); ShowPlayerDialog(playerid, 9951, DIALOG_STYLE_LIST, "Cores 2", "Ouro\n\ Azul Escuro\n\ Azul Claro\n\ Verde\n\ Cinza Claro\n\ Vermelho Escuro\n\ Marrom Escuro\n\ Menu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else { SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao contem dinheiro."); ShowPlayerDialog(playerid, 9898, DIALOG_STYLE_LIST, "Tuning", "Paint Jobs\n\ Cores\n\ Escapamentos\n\ ParaChoque Dian\n\ ParaChoque Trase\n\ Capo\n\ Aerofolios\n\ Saias Laterais\n\ Bullbars\n\ Rodas\n\ Som\n\ Proxima Pag", "Selecionar", "Fechar"); } case 1: if (GetPlayerMoney(playerid) >= 1) { new car = GetPlayerVehicleID(playerid); ChangeVehicleColor(car, 123, 123); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce {FFFF00}mudou a cor{A9A9A9} do seu veiculo."); ShowPlayerDialog(playerid, 9951, DIALOG_STYLE_LIST, "Cores 2", "Ouro\n\ Azul Escuro\n\ Azul Claro\n\ Verde\n\ Cinza Claro\n\ Vermelho Escuro\n\ Marrom Escuro\n\ Menu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else { SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao contem dinheiro."); ShowPlayerDialog(playerid, 9898, DIALOG_STYLE_LIST, "Tuning", "Paint Jobs\n\ Cores\n\ Escapamentos\n\ ParaChoque Dian\n\ ParaChoque Trase\n\ Capo\n\ Aerofolios\n\ Saias Laterais\n\ Bullbars\n\ Rodas\n\ Som\n\ Proxima Pag", "Selecionar", "Fechar"); } case 2: if (GetPlayerMoney(playerid) >= 1) { new car = GetPlayerVehicleID(playerid); ChangeVehicleColor(car, 53, 53); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce {FFFF00}mudou a cor{A9A9A9} do seu veiculo."); ShowPlayerDialog(playerid, 9951, DIALOG_STYLE_LIST, "Cores 2", "Ouro\n\ Azul Escuro\n\ Azul Claro\n\ Verde\n\ Cinza Claro\n\ Vermelho Escuro\n\ Marrom Escuro\n\ Menu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else { SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao contem dinheiro."); ShowPlayerDialog(playerid, 9898, DIALOG_STYLE_LIST, "Tuning", "Paint Jobs\n\ Cores\n\ Escapamentos\n\ ParaChoque Dian\n\ ParaChoque Trase\n\ Capo\n\ Aerofolios\n\ Saias Laterais\n\ Bullbars\n\ Rodas\n\ Som\n\ Proxima Pag", "Selecionar", "Fechar"); } case 3: if (GetPlayerMoney(playerid) >= 1) { new car = GetPlayerVehicleID(playerid); ChangeVehicleColor(car, 93, 93); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce {FFFF00}mudou a cor{A9A9A9} do seu veiculo."); ShowPlayerDialog(playerid, 9951, DIALOG_STYLE_LIST, "Cores 2", "Ouro\n\ Azul Escuro\n\ Azul Claro\n\ Verde\n\ Cinza Claro\n\ Vermelho Escuro\n\ Marrom Escuro\n\ Menu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else { SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao contem dinheiro."); ShowPlayerDialog(playerid, 9898, DIALOG_STYLE_LIST, "Tuning", "Paint Jobs\n\ Cores\n\ Escapamentos\n\ ParaChoque Dian\n\ ParaChoque Trase\n\ Capo\n\ Aerofolios\n\ Saias Laterais\n\ Bullbars\n\ Rodas\n\ Som\n\ Proxima Pag", "Selecionar", "Fechar"); } case 4: if (GetPlayerMoney(playerid) >= 1) { new car = GetPlayerVehicleID(playerid); ChangeVehicleColor(car, 83, 83); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce {FFFF00}mudou a cor{A9A9A9} do seu veiculo."); ShowPlayerDialog(playerid, 9951, DIALOG_STYLE_LIST, "Cores 2", "Ouro\n\ Azul Escuro\n\ Azul Claro\n\ Verde\n\ Cinza Claro\n\ Vermelho Escuro\n\ Marrom Escuro\n\ Menu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else { SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao contem dinheiro."); ShowPlayerDialog(playerid, 9898, DIALOG_STYLE_LIST, "Tuning", "Paint Jobs\n\ Cores\n\ Escapamentos\n\ ParaChoque Dian\n\ ParaChoque Trase\n\ Capo\n\ Aerofolios\n\ Saias Laterais\n\ Bullbars\n\ Rodas\n\ Som\n\ Proxima Pag", "Selecionar", "Fechar"); } case 5: if (GetPlayerMoney(playerid) >= 1) { new car = GetPlayerVehicleID(playerid); ChangeVehicleColor(car, 60, 60); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce {FFFF00}mudou a cor{A9A9A9} do seu veiculo."); ShowPlayerDialog(playerid, 9951, DIALOG_STYLE_LIST, "Cores 2", "Ouro\n\ Azul Escuro\n\ Azul Claro\n\ Verde\n\ Cinza Claro\n\ Vermelho Escuro\n\ Marrom Escuro\n\ Menu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else { SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao contem dinheiro."); ShowPlayerDialog(playerid, 9898, DIALOG_STYLE_LIST, "Tuning", "Paint Jobs\n\ Cores\n\ Escapamentos\n\ ParaChoque Dian\n\ ParaChoque Trase\n\ Capo\n\ Aerofolios\n\ Saias Laterais\n\ Bullbars\n\ Rodas\n\ Som\n\ Proxima Pag", "Selecionar", "Fechar"); } case 6: if (GetPlayerMoney(playerid) >= 1) { new car = GetPlayerVehicleID(playerid); ChangeVehicleColor(car, 126, 126); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce {FFFF00}mudou a cor{A9A9A9} do seu veiculo."); ShowPlayerDialog(playerid, 9951, DIALOG_STYLE_LIST, "Cores 2", "Ouro\n\ Azul Escuro\n\ Azul Claro\n\ Verde\n\ Cinza Claro\n\ Vermelho Escuro\n\ Marrom Escuro\n\ Menu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else { SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao contem dinheiro."); ShowPlayerDialog(playerid, 9898, DIALOG_STYLE_LIST, "Tuning", "Paint Jobs\n\ Cores\n\ Escapamentos\n\ ParaChoque Dian\n\ ParaChoque Trase\n\ Capo\n\ Aerofolios\n\ Saias Laterais\n\ Bullbars\n\ Rodas\n\ Som\n\ Proxima Pag", "Selecionar", "Fechar"); } case 7: if (GetPlayerMoney(playerid) >= 1) { new car = GetPlayerVehicleID(playerid); ChangeVehicleColor(car, 110, 110); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce {FFFF00}mudou a cor{A9A9A9} do seu veiculo."); ShowPlayerDialog(playerid, 9951, DIALOG_STYLE_LIST, "Cores 2", "Ouro\n\ Azul Escuro\n\ Azul Claro\n\ Verde\n\ Cinza Claro\n\ Vermelho Escuro\n\ Marrom Escuro\n\ Menu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else { SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao contem dinheiro."); ShowPlayerDialog(playerid, 9898, DIALOG_STYLE_LIST, "Tuning", "Paint Jobs\n\ Cores\n\ Escapamentos\n\ ParaChoque Dian\n\ ParaChoque Trase\n\ Capo\n\ Aerofolios\n\ Saias Laterais\n\ Bullbars\n\ Rodas\n\ Som\n\ Proxima Pag", "Selecionar", "Fechar"); } case 8: { ShowPlayerDialog(playerid, 9898, DIALOG_STYLE_LIST, "Tuning", "Paint Jobs\n\ Cores\n\ Escapamentos\n\ ParaChoque Dian\n\ ParaChoque Trase\n\ Capo\n\ Aerofolios\n\ Saias Laterais\n\ Bullbars\n\ Rodas\n\ Som\n\ Proxima Pag", "Selecionar", "Fechar"); } } } else { TunningOn[playerid] = 0; Controle(playerid, 1); SendClientMessage(playerid, -1, "Voce saiu da tunagem!"); return true; } } if(dialogid == 9911) { // escapamentos if(response) { switch(listitem) { case 0: if (pmodelid[playerid] == 562 || pmodelid[playerid] == 565 || pmodelid[playerid] == 559 || pmodelid[playerid] == 561 || pmodelid[playerid] == 560) { new car = GetPlayerVehicleID(playerid); if (pmodelid[playerid] == 562) { AddVehicleComponent(car, 1034); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch Alien Exhaust component on Elegy{A9A9A9}."); ShowPlayerDialog(playerid, 9911, DIALOG_STYLE_LIST, "Escapamentos", "Wheel Arch Alien Exhaust\nWheel Arch X-Flow Exhaust\nLocos Low Chromer Exhaust\nLocos Low Slamin Exhaust\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 565) { AddVehicleComponent(car, 1046); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch Alien Exhaust component on Flash{A9A9A9}."); ShowPlayerDialog(playerid, 9911, DIALOG_STYLE_LIST, "Escapamentos", "Wheel Arch Alien Exhaust\nWheel Arch X-Flow Exhaust\nLocos Low Chromer Exhaust\nLocos Low Slamin Exhaust\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 559) { AddVehicleComponent(car, 1065); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch Alien Exhaust component on Jetser{A9A9A9}."); ShowPlayerDialog(playerid, 9911, DIALOG_STYLE_LIST, "Escapamentos", "Wheel Arch Alien Exhaust\nWheel Arch X-Flow Exhaust\nLocos Low Chromer Exhaust\nLocos Low Slamin Exhaust\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 561) { AddVehicleComponent(car, 1064); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch Alien Exhaust component on Stratum{A9A9A9}."); ShowPlayerDialog(playerid, 9911, DIALOG_STYLE_LIST, "Escapamentos", "Wheel Arch Alien Exhaust\nWheel Arch X-Flow Exhaust\nLocos Low Chromer Exhaust\nLocos Low Slamin Exhaust\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 560) { AddVehicleComponent(car, 1028); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch Alien Exhaust component on Sultan{A9A9A9}."); ShowPlayerDialog(playerid, 9911, DIALOG_STYLE_LIST, "Escapamentos", "Wheel Arch Alien Exhaust\nWheel Arch X-Flow Exhaust\nLocos Low Chromer Exhaust\nLocos Low Slamin Exhaust\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 558) { AddVehicleComponent(car, 1089); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch Alien Exhaust component on Uranus{A9A9A9}."); ShowPlayerDialog(playerid, 9911, DIALOG_STYLE_LIST, "Escapamentos", "Wheel Arch Alien Exhaust\nWheel Arch X-Flow Exhaust\nLocos Low Chromer Exhaust\nLocos Low Slamin Exhaust\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } } else { SendClientMessage(playerid, COLOR_GRAD1, "[AVISO] Voce nao pode adicionar isso."); // SetPlayerCameraPos(playerid, 1780.1196, -1709.9355, -61.5949); // SetPlayerCameraLookAt(playerid, 1779.6116, -1710.7952, -61.9699); ShowPlayerDialog(playerid, 9898, DIALOG_STYLE_LIST, "Tuning", "Paint Jobs\n\ Cores\n\ Escapamentos\n\ ParaChoque Dian\n\ ParaChoque Trase\n\ Capo\n\ Aerofolios\n\ Saias Laterais\n\ Bullbars\n\ Rodas\n\ Som\n\ Proxima Pag", "Selecionar", "Fechar"); } case 1: if (pmodelid[playerid] == 562 || pmodelid[playerid] == 565 || pmodelid[playerid] == 559 || pmodelid[playerid] == 561 || pmodelid[playerid] == 560) { new car = GetPlayerVehicleID(playerid); if (pmodelid[playerid] == 562) { AddVehicleComponent(car, 1037); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch X-Flow Exhaust component on Elegy{A9A9A9}."); ShowPlayerDialog(playerid, 9911, DIALOG_STYLE_LIST, "Escapamentos", "Wheel Arch Alien Exhaust\nWheel Arch X-Flow Exhaust\nLocos Low Chromer Exhaust\nLocos Low Slamin Exhaust\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 565) { AddVehicleComponent(car, 1045); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch X-Flow Exhaust component on Flash{A9A9A9}."); ShowPlayerDialog(playerid, 9911, DIALOG_STYLE_LIST, "Escapamentos", "Wheel Arch Alien Exhaust\nWheel Arch X-Flow Exhaust\nLocos Low Chromer Exhaust\nLocos Low Slamin Exhaust\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 559) { AddVehicleComponent(car, 1066); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch X-Flow exaust component on Jester{A9A9A9}."); ShowPlayerDialog(playerid, 9911, DIALOG_STYLE_LIST, "Escapamentos", "Wheel Arch Alien Exhaust\nWheel Arch X-Flow Exhaust\nLocos Low Chromer Exhaust\nLocos Low Slamin Exhaust\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 561) { AddVehicleComponent(car, 1059); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch X-Flow Exhaust component on Stratum{A9A9A9}."); ShowPlayerDialog(playerid, 9911, DIALOG_STYLE_LIST, "Escapamentos", "Wheel Arch Alien Exhaust\nWheel Arch X-Flow Exhaust\nLocos Low Chromer Exhaust\nLocos Low Slamin Exhaust\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 560) { AddVehicleComponent(car, 1029); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch X-Flow Exhaust component on Sultan{A9A9A9}."); ShowPlayerDialog(playerid, 9911, DIALOG_STYLE_LIST, "Escapamentos", "Wheel Arch Alien Exhaust\nWheel Arch X-Flow Exhaust\nLocos Low Chromer Exhaust\nLocos Low Slamin Exhaust\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 558) { AddVehicleComponent(car, 1092); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch X-Flow Exhaust component on Uranus{A9A9A9}."); ShowPlayerDialog(playerid, 9911, DIALOG_STYLE_LIST, "Escapamentos", "Wheel Arch Alien Exhaust\nWheel Arch X-Flow Exhaust\nLocos Low Chromer Exhaust\nLocos Low Slamin Exhaust\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } } else { SendClientMessage(playerid, COLOR_GRAD1, "[AVISO] Voce nao pode adicionar isso."); // SetPlayerCameraPos(playerid, 1780.1196, -1709.9355, -61.5949); // SetPlayerCameraLookAt(playerid, 1779.6116, -1710.7952, -61.9699); ShowPlayerDialog(playerid, 9898, DIALOG_STYLE_LIST, "Tuning", "Paint Jobs\n\ Cores\n\ Escapamentos\n\ ParaChoque Dian\n\ ParaChoque Trase\n\ Capo\n\ Aerofolios\n\ Saias Laterais\n\ Bullbars\n\ Rodas\n\ Som\n\ Proxima Pag", "Selecionar", "Fechar"); } case 2: if (pmodelid[playerid] == 575 || pmodelid[playerid] == 534 || pmodelid[playerid] == 567 || pmodelid[playerid] == 536 || pmodelid[playerid] == 576 || pmodelid[playerid] == 535) { new car = GetPlayerVehicleID(playerid); if (pmodelid[playerid] == 575) // Brodway { AddVehicleComponent(car, 1044); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Chromer Exhaust component on Brodway{A9A9A9}."); ShowPlayerDialog(playerid, 9911, DIALOG_STYLE_LIST, "Escapamentos", "Wheel Arch Alien Exhaust\nWheel Arch X-Flow Exhaust\nLocos Low Chromer Exhaust\nLocos Low Slamin Exhaust\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 534) // Remington { AddVehicleComponent(car, 1126); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Chromer Exhaust component on Remington{A9A9A9}."); ShowPlayerDialog(playerid, 9911, DIALOG_STYLE_LIST, "Escapamentos", "Wheel Arch Alien Exhaust\nWheel Arch X-Flow Exhaust\nLocos Low Chromer Exhaust\nLocos Low Slamin Exhaust\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 567) // Savanna { AddVehicleComponent(car, 1129); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Chromer Exhaust component on Savanna{A9A9A9}."); ShowPlayerDialog(playerid, 9911, DIALOG_STYLE_LIST, "Escapamentos", "Wheel Arch Alien Exhaust\nWheel Arch X-Flow Exhaust\nLocos Low Chromer Exhaust\nLocos Low Slamin Exhaust\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 536) // Blade { AddVehicleComponent(car, 1104); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Chromer Exhaust component on Blade{A9A9A9}."); ShowPlayerDialog(playerid, 9911, DIALOG_STYLE_LIST, "Escapamentos", "Wheel Arch Alien Exhaust\nWheel Arch X-Flow Exhaust\nLocos Low Chromer Exhaust\nLocos Low Slamin Exhaust\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 535) // Slamvan { AddVehicleComponent(car, 1113); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Chromer Exhaust component on Slamvan{A9A9A9}."); ShowPlayerDialog(playerid, 9911, DIALOG_STYLE_LIST, "Escapamentos", "Wheel Arch Alien Exhaust\nWheel Arch X-Flow Exhaust\nLocos Low Chromer Exhaust\nLocos Low Slamin Exhaust\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 576) // Tornado { AddVehicleComponent(car, 1136); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Chromer Exhaust component on Tornado{A9A9A9}."); ShowPlayerDialog(playerid, 9911, DIALOG_STYLE_LIST, "Escapamentos", "Wheel Arch Alien Exhaust\nWheel Arch X-Flow Exhaust\nLocos Low Chromer Exhaust\nLocos Low Slamin Exhaust\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } } else { SendClientMessage(playerid, COLOR_GRAD1, "[AVISO] Voce nao pode adicionar isso."); ShowPlayerDialog(playerid, 9898, DIALOG_STYLE_LIST, "Tuning", "Paint Jobs\n\ Cores\n\ Escapamentos\n\ ParaChoque Dian\n\ ParaChoque Trase\n\ Capo\n\ Aerofolios\n\ Saias Laterais\n\ Bullbars\n\ Rodas\n\ Som\n\ Proxima Pag", "Selecionar", "Fechar"); } case 3: if (pmodelid[playerid] == 575 || pmodelid[playerid] == 534 || pmodelid[playerid] == 567 || pmodelid[playerid] == 536 || pmodelid[playerid] == 576 || pmodelid[playerid] == 535) { new car = GetPlayerVehicleID(playerid); if (pmodelid[playerid] == 575) // Brodway { AddVehicleComponent(car, 1043); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Slamin Exhaust component on Brodway{A9A9A9}."); ShowPlayerDialog(playerid, 9911, DIALOG_STYLE_LIST, "Escapamentos", "Wheel Arch Alien Exhaust\nWheel Arch X-Flow Exhaust\nLocos Low Chromer Exhaust\nLocos Low Slamin Exhaust\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 534) // Remington { AddVehicleComponent(car, 1127); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Slamin Exhaust component on Remingon{A9A9A9}."); ShowPlayerDialog(playerid, 9911, DIALOG_STYLE_LIST, "Escapamentos", "Wheel Arch Alien Exhaust\nWheel Arch X-Flow Exhaust\nLocos Low Chromer Exhaust\nLocos Low Slamin Exhaust\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 567) // Savanna { AddVehicleComponent(car, 1132); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Slamin Exhaust component on Savanna{A9A9A9}."); ShowPlayerDialog(playerid, 9911, DIALOG_STYLE_LIST, "Escapamentos", "Wheel Arch Alien Exhaust\nWheel Arch X-Flow Exhaust\nLocos Low Chromer Exhaust\nLocos Low Slamin Exhaust\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 536) // Blade { AddVehicleComponent(car, 1105); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Slamin Exhaust component on Blade{A9A9A9}."); ShowPlayerDialog(playerid, 9911, DIALOG_STYLE_LIST, "Escapamentos", "Wheel Arch Alien Exhaust\nWheel Arch X-Flow Exhaust\nLocos Low Chromer Exhaust\nLocos Low Slamin Exhaust\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 535) // Slamvan { AddVehicleComponent(car, 1114); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Slamin Exhaust component on Slamvan{A9A9A9}."); ShowPlayerDialog(playerid, 9911, DIALOG_STYLE_LIST, "Escapamentos", "Wheel Arch Alien Exhaust\nWheel Arch X-Flow Exhaust\nLocos Low Chromer Exhaust\nLocos Low Slamin Exhaust\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 576) // Tornado { AddVehicleComponent(car, 1135); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Slamin Exhaust component on Tornado{A9A9A9}."); ShowPlayerDialog(playerid, 9911, DIALOG_STYLE_LIST, "Escapamentos", "Wheel Arch Alien Exhaust\nWheel Arch X-Flow Exhaust\nLocos Low Chromer Exhaust\nLocos Low Slamin Exhaust\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } } else { SendClientMessage(playerid, COLOR_GRAD1, "[AVISO] Voce nao pode adicionar isso."); ShowPlayerDialog(playerid, 9898, DIALOG_STYLE_LIST, "Tuning", "Paint Jobs\n\ Cores\n\ Escapamentos\n\ ParaChoque Dian\n\ ParaChoque Trase\n\ Capo\n\ Aerofolios\n\ Saias Laterais\n\ Bullbars\n\ Rodas\n\ Som\n\ Proxima Pag", "Selecionar", "Fechar"); } case 4: { ShowPlayerDialog(playerid, 9898, DIALOG_STYLE_LIST, "Tuning", "Paint Jobs\n\ Cores\n\ Escapamentos\n\ ParaChoque Dian\n\ ParaChoque Trase\n\ Capo\n\ Aerofolios\n\ Saias Laterais\n\ Bullbars\n\ Rodas\n\ Som\n\ Proxima Pag", "Selecionar", "Fechar"); } } } else { TunningOn[playerid] = 0; Controle(playerid, 1); SendClientMessage(playerid, -1, "Voce saiu da tunagem!"); return true; } } if(dialogid == 9912) { // parachoque dian if(response) { switch(listitem) { case 0: if (pmodelid[playerid] == 562 || pmodelid[playerid] == 565 || pmodelid[playerid] == 559 || pmodelid[playerid] == 561 || pmodelid[playerid] == 560) { new car = GetPlayerVehicleID(playerid); if (pmodelid[playerid] == 562) // Elegy { AddVehicleComponent(car, 1171); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch Alien front bumper component on Elegy{A9A9A9}."); ShowPlayerDialog(playerid, 9912, DIALOG_STYLE_LIST, "Parachoque Dian", "Wheel Arch Alien bumper\nWheel Arch X-Flow bumper\nLocos Low Chromer bumper\nLocos Low Slamin bumper\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 565) // Flash { AddVehicleComponent(car, 1153); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch Alien front bumper component on Flash{A9A9A9}."); ShowPlayerDialog(playerid, 9912, DIALOG_STYLE_LIST, "Parachoque Dian", "Wheel Arch Alien bumper\nWheel Arch X-Flow bumper\nLocos Low Chromer bumper\nLocos Low Slamin bumper\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 559) // Jester { AddVehicleComponent(car, 1160); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch Alien front bumper component on Jester{A9A9A9}."); ShowPlayerDialog(playerid, 9912, DIALOG_STYLE_LIST, "Parachoque Dian", "Wheel Arch Alien bumper\nWheel Arch X-Flow bumper\nLocos Low Chromer bumper\nLocos Low Slamin bumper\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 561) // Stratum { AddVehicleComponent(car, 1155); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch Alien front bumper component on Stratum{A9A9A9}."); ShowPlayerDialog(playerid, 9912, DIALOG_STYLE_LIST, "Parachoque Dian", "Wheel Arch Alien bumper\nWheel Arch X-Flow bumper\nLocos Low Chromer bumper\nLocos Low Slamin bumper\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 560) // Sultan { AddVehicleComponent(car, 1169); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch Alien front bumper component on Sultan{A9A9A9}."); ShowPlayerDialog(playerid, 9912, DIALOG_STYLE_LIST, "Parachoque Dian", "Wheel Arch Alien bumper\nWheel Arch X-Flow bumper\nLocos Low Chromer bumper\nLocos Low Slamin bumper\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 558) // Uranus { AddVehicleComponent(car, 1166); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch Alien front bumper component on Uraus{A9A9A9}."); ShowPlayerDialog(playerid, 9912, DIALOG_STYLE_LIST, "Parachoque Dian", "Wheel Arch Alien bumper\nWheel Arch X-Flow bumper\nLocos Low Chromer bumper\nLocos Low Slamin bumper\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } } else { SendClientMessage(playerid, COLOR_GRAD1, "[AVISO] Voce nao pode adicionar isso."); // SetPlayerCameraPos(playerid, 1780.1196, -1709.9355, -61.5949); // SetPlayerCameraLookAt(playerid, 1779.6116, -1710.7952, -61.9699); // SetPlayerCameraPos(playerid, 1780.1196, -1709.9355, -61.5949); // SetPlayerCameraLookAt(playerid, 1779.6116, -1710.7952, -61.9699); ShowPlayerDialog(playerid, 9898, DIALOG_STYLE_LIST, "Tuning", "Paint Jobs\n\ Cores\n\ Escapamentos\n\ ParaChoque Dian\n\ ParaChoque Trase\n\ Capo\n\ Aerofolios\n\ Saias Laterais\n\ Bullbars\n\ Rodas\n\ Som\n\ Proxima Pag", "Selecionar", "Fechar"); } case 1: if (pmodelid[playerid] == 562 || pmodelid[playerid] == 565 || pmodelid[playerid] == 559 || pmodelid[playerid] == 561 || pmodelid[playerid] == 560) { new car = GetPlayerVehicleID(playerid); if (pmodelid[playerid] == 562) // Elegy { AddVehicleComponent(car, 1172); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch X-Flow front bumper component on Elegy{A9A9A9}."); ShowPlayerDialog(playerid, 9912, DIALOG_STYLE_LIST, "Parachoque Dian", "Wheel Arch Alien bumper\nWheel Arch X-Flow bumper\nLocos Low Chromer bumper\nLocos Low Slamin bumper\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 565) // Flash { AddVehicleComponent(car, 1152); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch X-Flow front bumper component on Flash{A9A9A9}."); ShowPlayerDialog(playerid, 9912, DIALOG_STYLE_LIST, "Parachoque Dian", "Wheel Arch Alien bumper\nWheel Arch X-Flow bumper\nLocos Low Chromer bumper\nLocos Low Slamin bumper\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 559) // Jetser { AddVehicleComponent(car, 1173); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch X-Flow front bumper component on Jester{A9A9A9}."); ShowPlayerDialog(playerid, 9912, DIALOG_STYLE_LIST, "Parachoque Dian", "Wheel Arch Alien bumper\nWheel Arch X-Flow bumper\nLocos Low Chromer bumper\nLocos Low Slamin bumper\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 561) // Stratum { AddVehicleComponent(car, 1157); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch X-Flow front bumper component on Stratum{A9A9A9}."); ShowPlayerDialog(playerid, 9912, DIALOG_STYLE_LIST, "Parachoque Dian", "Wheel Arch Alien bumper\nWheel Arch X-Flow bumper\nLocos Low Chromer bumper\nLocos Low Slamin bumper\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 560) // Sultan { AddVehicleComponent(car, 1170); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch X-Flow front bumper component on Sultan{A9A9A9}."); ShowPlayerDialog(playerid, 9912, DIALOG_STYLE_LIST, "Parachoque Dian", "Wheel Arch Alien bumper\nWheel Arch X-Flow bumper\nLocos Low Chromer bumper\nLocos Low Slamin bumper\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 558) // Uranus { AddVehicleComponent(car, 1165); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch X-Flow front bumper component on Uranus{A9A9A9}."); ShowPlayerDialog(playerid, 9912, DIALOG_STYLE_LIST, "Parachoque Dian", "Wheel Arch Alien bumper\nWheel Arch X-Flow bumper\nLocos Low Chromer bumper\nLocos Low Slamin bumper\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } } else { SendClientMessage(playerid, COLOR_GRAD1, "[AVISO] Voce nao pode adicionar isso."); ShowPlayerDialog(playerid, 9898, DIALOG_STYLE_LIST, "Tuning", "Paint Jobs\n\ Cores\n\ Escapamentos\n\ ParaChoque Dian\n\ ParaChoque Trase\n\ Capo\n\ Aerofolios\n\ Saias Laterais\n\ Bullbars\n\ Rodas\n\ Som\n\ Proxima Pag", "Selecionar", "Fechar"); } case 2: if (pmodelid[playerid] == 575 || pmodelid[playerid] == 534 || pmodelid[playerid] == 567 || pmodelid[playerid] == 536 || pmodelid[playerid] == 576 || pmodelid[playerid] == 535) { new car = GetPlayerVehicleID(playerid); if (pmodelid[playerid] == 575) // Brodway { AddVehicleComponent(car, 1174); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Chromer front bumper component on Brodway{A9A9A9}."); ShowPlayerDialog(playerid, 9912, DIALOG_STYLE_LIST, "Parachoque Dian", "Wheel Arch Alien bumper\nWheel Arch X-Flow bumper\nLocos Low Chromer bumper\nLocos Low Slamin bumper\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 534) // Remington { AddVehicleComponent(car, 1179); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Chromer front bumper component on Remington{A9A9A9}."); ShowPlayerDialog(playerid, 9912, DIALOG_STYLE_LIST, "Parachoque Dian", "Wheel Arch Alien bumper\nWheel Arch X-Flow bumper\nLocos Low Chromer bumper\nLocos Low Slamin bumper\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 567) // Savanna { AddVehicleComponent(car, 1189); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Chromer front bumper component on Savanna{A9A9A9}."); ShowPlayerDialog(playerid, 9912, DIALOG_STYLE_LIST, "Parachoque Dian", "Wheel Arch Alien bumper\nWheel Arch X-Flow bumper\nLocos Low Chromer bumper\nLocos Low Slamin bumper\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 536) // Blade { AddVehicleComponent(car, 1182); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Chromer front bumper component on Blade{A9A9A9}."); ShowPlayerDialog(playerid, 9912, DIALOG_STYLE_LIST, "Parachoque Dian", "Wheel Arch Alien bumper\nWheel Arch X-Flow bumper\nLocos Low Chromer bumper\nLocos Low Slamin bumper\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 535) // Slamvan { AddVehicleComponent(car, 1115); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Chromer front bumper component on Slamvan{A9A9A9}."); ShowPlayerDialog(playerid, 9912, DIALOG_STYLE_LIST, "Parachoque Dian", "Wheel Arch Alien bumper\nWheel Arch X-Flow bumper\nLocos Low Chromer bumper\nLocos Low Slamin bumper\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 576) // Tornado { AddVehicleComponent(car, 1191); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Chromer front bumper component on Tornado{A9A9A9}."); ShowPlayerDialog(playerid, 9912, DIALOG_STYLE_LIST, "Parachoque Dian", "Wheel Arch Alien bumper\nWheel Arch X-Flow bumper\nLocos Low Chromer bumper\nLocos Low Slamin bumper\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } } else { SendClientMessage(playerid, COLOR_GRAD1, "[AVISO] Voce nao pode adicionar isso."); ShowPlayerDialog(playerid, 9898, DIALOG_STYLE_LIST, "Tuning", "Paint Jobs\n\ Cores\n\ Escapamentos\n\ ParaChoque Dian\n\ ParaChoque Trase\n\ Capo\n\ Aerofolios\n\ Saias Laterais\n\ Bullbars\n\ Rodas\n\ Som\n\ Proxima Pag", "Selecionar", "Fechar"); } case 3: if (pmodelid[playerid] == 575 || pmodelid[playerid] == 534 || pmodelid[playerid] == 567 || pmodelid[playerid] == 536 || pmodelid[playerid] == 576 || pmodelid[playerid] == 576) { new car = GetPlayerVehicleID(playerid); if (pmodelid[playerid] == 575) // Brodway { AddVehicleComponent(car, 1175); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Slamin front bumper component on Brodway{A9A9A9}."); ShowPlayerDialog(playerid, 9912, DIALOG_STYLE_LIST, "Parachoque Dian", "Wheel Arch Alien bumper\nWheel Arch X-Flow bumper\nLocos Low Chromer bumper\nLocos Low Slamin bumper\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 534) // Remington { AddVehicleComponent(car, 1185); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Slamin front bumper component on Remington{A9A9A9}."); ShowPlayerDialog(playerid, 9912, DIALOG_STYLE_LIST, "Parachoque Dian", "Wheel Arch Alien bumper\nWheel Arch X-Flow bumper\nLocos Low Chromer bumper\nLocos Low Slamin bumper\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 567) // Savanna { AddVehicleComponent(car, 1188); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Slamin front bumper component on Savanna{A9A9A9}."); ShowPlayerDialog(playerid, 9912, DIALOG_STYLE_LIST, "Parachoque Dian", "Wheel Arch Alien bumper\nWheel Arch X-Flow bumper\nLocos Low Chromer bumper\nLocos Low Slamin bumper\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 536) // Blade { AddVehicleComponent(car, 1181); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Slamin front bumper component on Blade{A9A9A9}."); ShowPlayerDialog(playerid, 9912, DIALOG_STYLE_LIST, "Parachoque Dian", "Wheel Arch Alien bumper\nWheel Arch X-Flow bumper\nLocos Low Chromer bumper\nLocos Low Slamin bumper\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 535) // Slamvan { AddVehicleComponent(car, 1116); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Slamin front bumper component on Slamvan{A9A9A9}."); ShowPlayerDialog(playerid, 9912, DIALOG_STYLE_LIST, "Parachoque Dian", "Wheel Arch Alien bumper\nWheel Arch X-Flow bumper\nLocos Low Chromer bumper\nLocos Low Slamin bumper\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 576) // Tornado { AddVehicleComponent(car, 1190); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Slamin front bumper component on Tornado{A9A9A9}."); ShowPlayerDialog(playerid, 9912, DIALOG_STYLE_LIST, "Parachoque Dian", "Wheel Arch Alien bumper\nWheel Arch X-Flow bumper\nLocos Low Chromer bumper\nLocos Low Slamin bumper\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } } else { SendClientMessage(playerid, COLOR_GRAD1, "[AVISO] Voce nao pode adicionar isso."); ShowPlayerDialog(playerid, 9898, DIALOG_STYLE_LIST, "Tuning", "Paint Jobs\n\ Cores\n\ Escapamentos\n\ ParaChoque Dian\n\ ParaChoque Trase\n\ Capo\n\ Aerofolios\n\ Saias Laterais\n\ Bullbars\n\ Rodas\n\ Som\n\ Proxima Pag", "Selecionar", "Fechar"); } case 4: { ShowPlayerDialog(playerid, 9898, DIALOG_STYLE_LIST, "Tuning", "Paint Jobs\n\ Cores\n\ Escapamentos\n\ ParaChoque Dian\n\ ParaChoque Trase\n\ Capo\n\ Aerofolios\n\ Saias Laterais\n\ Bullbars\n\ Rodas\n\ Som\n\ Proxima Pag", "Selecionar", "Fechar"); } } } else { TunningOn[playerid] = 0; Controle(playerid, 1); SendClientMessage(playerid, -1, "Voce saiu da tunagem!"); return true; } } if(dialogid == 9913) { // parachoque traseiro if(response) { switch(listitem) { case 0: if (pmodelid[playerid] == 562 || pmodelid[playerid] == 565 || pmodelid[playerid] == 559 || pmodelid[playerid] == 561 || pmodelid[playerid] == 560) { new car = GetPlayerVehicleID(playerid); if (pmodelid[playerid] == 562) // Elegy { AddVehicleComponent(car, 1149); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch Alien rear bumper component on Elegy{A9A9A9}."); ShowPlayerDialog(playerid, 9913, DIALOG_STYLE_LIST, "Parachoque Trase", "Wheel Arch Alien bumper\nWheel Arch X-Flow bumper\nLocos Low Chromer bumper\nLocos Low Slamin bumper\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 565) // Flash { AddVehicleComponent(car, 1150); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch Alien rear bumper component on Flash{A9A9A9}."); ShowPlayerDialog(playerid, 9913, DIALOG_STYLE_LIST, "Parachoque Trase", "Wheel Arch Alien bumper\nWheel Arch X-Flow bumper\nLocos Low Chromer bumper\nLocos Low Slamin bumper\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 559) // Jester { AddVehicleComponent(car, 1159); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch Alien rear bumper component on Jester{A9A9A9}."); ShowPlayerDialog(playerid, 9913, DIALOG_STYLE_LIST, "Parachoque Trase", "Wheel Arch Alien bumper\nWheel Arch X-Flow bumper\nLocos Low Chromer bumper\nLocos Low Slamin bumper\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 561) // Stratum { AddVehicleComponent(car, 1154); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch Alien rear bumper component on Stratum{A9A9A9}."); ShowPlayerDialog(playerid, 9913, DIALOG_STYLE_LIST, "Parachoque Trase", "Wheel Arch Alien bumper\nWheel Arch X-Flow bumper\nLocos Low Chromer bumper\nLocos Low Slamin bumper\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 560) // Sultan { AddVehicleComponent(car, 1141); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch Alien rear bumper component on Sultan{A9A9A9}."); ShowPlayerDialog(playerid, 9913, DIALOG_STYLE_LIST, "Parachoque Trase", "Wheel Arch Alien bumper\nWheel Arch X-Flow bumper\nLocos Low Chromer bumper\nLocos Low Slamin bumper\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 558) // Uranus { AddVehicleComponent(car, 1168); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch Alien rear bumper component on Uranus{A9A9A9}."); ShowPlayerDialog(playerid, 9913, DIALOG_STYLE_LIST, "Parachoque Trase", "Wheel Arch Alien bumper\nWheel Arch X-Flow bumper\nLocos Low Chromer bumper\nLocos Low Slamin bumper\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } } else { SendClientMessage(playerid, COLOR_GRAD1, "[AVISO] Voce nao pode adicionar isso."); ShowPlayerDialog(playerid, 9898, DIALOG_STYLE_LIST, "Tuning", "Paint Jobs\n\ Cores\n\ Escapamentos\n\ ParaChoque Dian\n\ ParaChoque Trase\n\ Capo\n\ Aerofolios\n\ Saias Laterais\n\ Bullbars\n\ Rodas\n\ Som\n\ Proxima Pag", "Selecionar", "Fechar"); } case 1: if (pmodelid[playerid] == 562 || pmodelid[playerid] == 565 || pmodelid[playerid] == 559 || pmodelid[playerid] == 561 || pmodelid[playerid] == 560) { new car = GetPlayerVehicleID(playerid); if (pmodelid[playerid] == 562) // Elegy { AddVehicleComponent(car, 1148); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch X-Flow rear bumper component on Elegy{A9A9A9}."); ShowPlayerDialog(playerid, 9913, DIALOG_STYLE_LIST, "Parachoque Trase", "Wheel Arch Alien bumper\nWheel Arch X-Flow bumper\nLocos Low Chromer bumper\nLocos Low Slamin bumper\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 565) // Flash { AddVehicleComponent(car, 1151); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch X-Flow rear bumper component on Flash{A9A9A9}."); ShowPlayerDialog(playerid, 9913, DIALOG_STYLE_LIST, "Parachoque Trase", "Wheel Arch Alien bumper\nWheel Arch X-Flow bumper\nLocos Low Chromer bumper\nLocos Low Slamin bumper\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 559) // Jetser { AddVehicleComponent(car, 1161); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch X-Flow rear bumper component on Jester{A9A9A9}."); ShowPlayerDialog(playerid, 9913, DIALOG_STYLE_LIST, "Parachoque Trase", "Wheel Arch Alien bumper\nWheel Arch X-Flow bumper\nLocos Low Chromer bumper\nLocos Low Slamin bumper\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 561) // Stratum { AddVehicleComponent(car, 1156); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch X-Flow rear bumper component on Stratum{A9A9A9}."); ShowPlayerDialog(playerid, 9913, DIALOG_STYLE_LIST, "Parachoque Trase", "Wheel Arch Alien bumper\nWheel Arch X-Flow bumper\nLocos Low Chromer bumper\nLocos Low Slamin bumper\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 560) // Sultan { AddVehicleComponent(car, 1140); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch X-Flow rear bumper component on Sultan{A9A9A9}."); ShowPlayerDialog(playerid, 9913, DIALOG_STYLE_LIST, "Parachoque Trase", "Wheel Arch Alien bumper\nWheel Arch X-Flow bumper\nLocos Low Chromer bumper\nLocos Low Slamin bumper\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 558) // Uranus { AddVehicleComponent(car, 1167); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch X-Flow rear bumper component on Uranus{A9A9A9}."); ShowPlayerDialog(playerid, 9913, DIALOG_STYLE_LIST, "Parachoque Trase", "Wheel Arch Alien bumper\nWheel Arch X-Flow bumper\nLocos Low Chromer bumper\nLocos Low Slamin bumper\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } } else { SendClientMessage(playerid, COLOR_GRAD1, "[AVISO] Voce nao pode adicionar isso."); ShowPlayerDialog(playerid, 9898, DIALOG_STYLE_LIST, "Tuning", "Paint Jobs\n\ Cores\n\ Escapamentos\n\ ParaChoque Dian\n\ ParaChoque Trase\n\ Capo\n\ Aerofolios\n\ Saias Laterais\n\ Bullbars\n\ Rodas\n\ Som\n\ Proxima Pag", "Selecionar", "Fechar"); } case 2: if (pmodelid[playerid] == 575 || pmodelid[playerid] == 534 || pmodelid[playerid] == 567 || pmodelid[playerid] == 536 || pmodelid[playerid] == 576 || pmodelid[playerid] == 535) { new car = GetPlayerVehicleID(playerid); if (pmodelid[playerid] == 575) // Brodway { AddVehicleComponent(car, 1176); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Chromer rear bumper component on Brodway{A9A9A9}."); ShowPlayerDialog(playerid, 9913, DIALOG_STYLE_LIST, "Parachoque Trase", "Wheel Arch Alien bumper\nWheel Arch X-Flow bumper\nLocos Low Chromer bumper\nLocos Low Slamin bumper\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 534) // Remington { AddVehicleComponent(car, 1180); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Chromer rear bumper component on Remington{A9A9A9}."); ShowPlayerDialog(playerid, 9913, DIALOG_STYLE_LIST, "Parachoque Trase", "Wheel Arch Alien bumper\nWheel Arch X-Flow bumper\nLocos Low Chromer bumper\nLocos Low Slamin bumper\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 567) // Savanna { AddVehicleComponent(car, 1187); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Chromer rear bumper component on Savanna{A9A9A9}."); ShowPlayerDialog(playerid, 9913, DIALOG_STYLE_LIST, "Parachoque Trase", "Wheel Arch Alien bumper\nWheel Arch X-Flow bumper\nLocos Low Chromer bumper\nLocos Low Slamin bumper\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 536) // Blade { AddVehicleComponent(car, 1184); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Chromer rear bumper component on Blade{A9A9A9}."); ShowPlayerDialog(playerid, 9913, DIALOG_STYLE_LIST, "Parachoque Trase", "Wheel Arch Alien bumper\nWheel Arch X-Flow bumper\nLocos Low Chromer bumper\nLocos Low Slamin bumper\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 535) // Slamvan { AddVehicleComponent(car, 1109); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Chromer rear bumper component on Slamvan{A9A9A9}."); ShowPlayerDialog(playerid, 9913, DIALOG_STYLE_LIST, "Parachoque Trase", "Wheel Arch Alien bumper\nWheel Arch X-Flow bumper\nLocos Low Chromer bumper\nLocos Low Slamin bumper\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 576) // Tornado { AddVehicleComponent(car, 1192); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Chromer rear bumper component on Tornado{A9A9A9}."); ShowPlayerDialog(playerid, 9913, DIALOG_STYLE_LIST, "Parachoque Trase", "Wheel Arch Alien bumper\nWheel Arch X-Flow bumper\nLocos Low Chromer bumper\nLocos Low Slamin bumper\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } } else { SendClientMessage(playerid, COLOR_GRAD1, "[AVISO] Voce nao pode adicionar isso."); ShowPlayerDialog(playerid, 9898, DIALOG_STYLE_LIST, "Tuning", "Paint Jobs\n\ Cores\n\ Escapamentos\n\ ParaChoque Dian\n\ ParaChoque Trase\n\ Capo\n\ Aerofolios\n\ Saias Laterais\n\ Bullbars\n\ Rodas\n\ Som\n\ Proxima Pag", "Selecionar", "Fechar"); } case 3: if (pmodelid[playerid] == 575 || pmodelid[playerid] == 534 || pmodelid[playerid] == 567 || pmodelid[playerid] == 536 || pmodelid[playerid] == 576 || pmodelid[playerid] == 535) { new car = GetPlayerVehicleID(playerid); if (pmodelid[playerid] == 575) // Brodway { AddVehicleComponent(car, 1177); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Slamin rear bumper component on Brodway{A9A9A9}."); ShowPlayerDialog(playerid, 9913, DIALOG_STYLE_LIST, "Parachoque Trase", "Wheel Arch Alien bumper\nWheel Arch X-Flow bumper\nLocos Low Chromer bumper\nLocos Low Slamin bumper\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 534) // Remington { AddVehicleComponent(car, 1178); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Slamin rear bumper component on Remington{A9A9A9}."); ShowPlayerDialog(playerid, 9913, DIALOG_STYLE_LIST, "Parachoque Trase", "Wheel Arch Alien bumper\nWheel Arch X-Flow bumper\nLocos Low Chromer bumper\nLocos Low Slamin bumper\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 567) // Savanna { AddVehicleComponent(car, 1186); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Slamin rear bumper component on Savanna{A9A9A9}."); ShowPlayerDialog(playerid, 9913, DIALOG_STYLE_LIST, "Parachoque Trase", "Wheel Arch Alien bumper\nWheel Arch X-Flow bumper\nLocos Low Chromer bumper\nLocos Low Slamin bumper\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 536) // Blade { AddVehicleComponent(car, 1183); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Slamin rear bumper component on Blade{A9A9A9}."); ShowPlayerDialog(playerid, 9913, DIALOG_STYLE_LIST, "Parachoque Trase", "Wheel Arch Alien bumper\nWheel Arch X-Flow bumper\nLocos Low Chromer bumper\nLocos Low Slamin bumper\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 535) // Slamvan { AddVehicleComponent(car, 1110); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Slamin rear bumper component on Slamvan{A9A9A9}."); ShowPlayerDialog(playerid, 9913, DIALOG_STYLE_LIST, "Parachoque Trase", "Wheel Arch Alien bumper\nWheel Arch X-Flow bumper\nLocos Low Chromer bumper\nLocos Low Slamin bumper\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 576) // Tornado { AddVehicleComponent(car, 1193); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Slamin rear bumper component on Tornado{A9A9A9}."); ShowPlayerDialog(playerid, 9913, DIALOG_STYLE_LIST, "Parachoque Trase", "Wheel Arch Alien bumper\nWheel Arch X-Flow bumper\nLocos Low Chromer bumper\nLocos Low Slamin bumper\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } } else { SendClientMessage(playerid, COLOR_GRAD1, "[AVISO] Voce nao pode adicionar isso."); ShowPlayerDialog(playerid, 9898, DIALOG_STYLE_LIST, "Tuning", "Paint Jobs\n\ Cores\n\ Escapamentos\n\ ParaChoque Dian\n\ ParaChoque Trase\n\ Capo\n\ Aerofolios\n\ Saias Laterais\n\ Bullbars\n\ Rodas\n\ Som\n\ Proxima Pag", "Selecionar", "Fechar"); } case 4: { ShowPlayerDialog(playerid, 9898, DIALOG_STYLE_LIST, "Tuning", "Paint Jobs\n\ Cores\n\ Escapamentos\n\ ParaChoque Dian\n\ ParaChoque Trase\n\ Capo\n\ Aerofolios\n\ Saias Laterais\n\ Bullbars\n\ Rodas\n\ Som\n\ Proxima Pag", "Selecionar", "Fechar"); } } } else { TunningOn[playerid] = 0; Controle(playerid, 1); SendClientMessage(playerid, -1, "Voce saiu da tunagem!"); return true; } } if(dialogid == 9914) { // capo if(response) { switch(listitem) { case 0: if (pmodelid[playerid] == 562 || pmodelid[playerid] == 565 || pmodelid[playerid] == 559 || pmodelid[playerid] == 561 || pmodelid[playerid] == 560) { new car = GetPlayerVehicleID(playerid); if (pmodelid[playerid] == 562) // Elegy { AddVehicleComponent(car, 1035); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch Alien roof vent component on Elegy{A9A9A9}."); ShowPlayerDialog(playerid, 9914, DIALOG_STYLE_LIST, "Capo", "Wheel Arch Alien Roof Vent\nWheel Arch X-Flow Roof Vent\nLocos Low Chromer Roof\nLocos Low Slamin Roof\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 565) // Flash { AddVehicleComponent(car, 1054); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch Alien roof vent component on Flash{A9A9A9}."); ShowPlayerDialog(playerid, 9914, DIALOG_STYLE_LIST, "Capo", "Wheel Arch Alien Roof Vent\nWheel Arch X-Flow Roof Vent\nLocos Low Chromer Roof\nLocos Low Slamin Roof\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 559) // Jester { AddVehicleComponent(car, 1067); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch Alien roof vent component on Jester{A9A9A9}."); ShowPlayerDialog(playerid, 9914, DIALOG_STYLE_LIST, "Capo", "Wheel Arch Alien Roof Vent\nWheel Arch X-Flow Roof Vent\nLocos Low Chromer Roof\nLocos Low Slamin Roof\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 561) // Stratum { AddVehicleComponent(car, 1055); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch Alien roof vent component on Stratum{A9A9A9}."); ShowPlayerDialog(playerid, 9914, DIALOG_STYLE_LIST, "Capo", "Wheel Arch Alien Roof Vent\nWheel Arch X-Flow Roof Vent\nLocos Low Chromer Roof\nLocos Low Slamin Roof\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 560) // Sultan { AddVehicleComponent(car, 1032); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch Alien roof vent component on Sultan{A9A9A9}."); ShowPlayerDialog(playerid, 9914, DIALOG_STYLE_LIST, "Capo", "Wheel Arch Alien Roof Vent\nWheel Arch X-Flow Roof Vent\nLocos Low Chromer Roof\nLocos Low Slamin Roof\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 558) // Uranus { AddVehicleComponent(car, 1088); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch Alien roof vent component on Uranus{A9A9A9}."); ShowPlayerDialog(playerid, 9914, DIALOG_STYLE_LIST, "Capo", "Wheel Arch Alien Roof Vent\nWheel Arch X-Flow Roof Vent\nLocos Low Chromer Roof\nLocos Low Slamin Roof\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } } else { SendClientMessage(playerid, COLOR_GRAD1, "[AVISO] Voce nao pode adicionar isso."); // SetPlayerCameraPos(playerid, 1780.1196, -1709.9355, -61.5949); // SetPlayerCameraLookAt(playerid, 1779.6116, -1710.7952, -61.9699); ShowPlayerDialog(playerid, 9898, DIALOG_STYLE_LIST, "Tuning", "Paint Jobs\n\ Cores\n\ Escapamentos\n\ ParaChoque Dian\n\ ParaChoque Trase\n\ Capo\n\ Aerofolios\n\ Saias Laterais\n\ Bullbars\n\ Rodas\n\ Som\n\ Proxima Pag", "Selecionar", "Fechar"); } case 1: if (pmodelid[playerid] == 562 || pmodelid[playerid] == 565 || pmodelid[playerid] == 559 || pmodelid[playerid] == 561 || pmodelid[playerid] == 560) { new car = GetPlayerVehicleID(playerid); if (pmodelid[playerid] == 562) // Elegy { AddVehicleComponent(car, 1035); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch X-Flow roof vent component on Elegy{A9A9A9}."); ShowPlayerDialog(playerid, 9914, DIALOG_STYLE_LIST, "Capo", "Wheel Arch Alien Roof Vent\nWheel Arch X-Flow Roof Vent\nLocos Low Chromer Roof\nLocos Low Slamin Roof\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 565) // Flash { AddVehicleComponent(car, 1053); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch X-Flow roof vent component on Flash{A9A9A9}."); ShowPlayerDialog(playerid, 9914, DIALOG_STYLE_LIST, "Capo", "Wheel Arch Alien Roof Vent\nWheel Arch X-Flow Roof Vent\nLocos Low Chromer Roof\nLocos Low Slamin Roof\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 559) // Jetser { AddVehicleComponent(car, 1068); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch X-Flow roof vent component on Jester{A9A9A9}."); ShowPlayerDialog(playerid, 9914, DIALOG_STYLE_LIST, "Capo", "Wheel Arch Alien Roof Vent\nWheel Arch X-Flow Roof Vent\nLocos Low Chromer Roof\nLocos Low Slamin Roof\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 561) // Stratum { AddVehicleComponent(car, 1061); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch X-Flow roof vent component on Stratum{A9A9A9}."); ShowPlayerDialog(playerid, 9914, DIALOG_STYLE_LIST, "Capo", "Wheel Arch Alien Roof Vent\nWheel Arch X-Flow Roof Vent\nLocos Low Chromer Roof\nLocos Low Slamin Roof\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 560) // Sultan { AddVehicleComponent(car, 1033); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch X-Flow roof vent component on Sultan{A9A9A9}."); ShowPlayerDialog(playerid, 9914, DIALOG_STYLE_LIST, "Capo", "Wheel Arch Alien Roof Vent\nWheel Arch X-Flow Roof Vent\nLocos Low Chromer Roof\nLocos Low Slamin Roof\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 558) // Uranus { AddVehicleComponent(car, 1091); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch X-Flow roof vent component on Uranus{A9A9A9}."); ShowPlayerDialog(playerid, 9914, DIALOG_STYLE_LIST, "Capo", "Wheel Arch Alien Roof Vent\nWheel Arch X-Flow Roof Vent\nLocos Low Chromer Roof\nLocos Low Slamin Roof\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } } else { SendClientMessage(playerid, COLOR_GRAD1, "[AVISO] Voce nao pode adicionar isso."); // SetPlayerCameraPos(playerid, 1780.1196, -1709.9355, -61.5949); // SetPlayerCameraLookAt(playerid, 1779.6116, -1710.7952, -61.9699); ShowPlayerDialog(playerid, 9898, DIALOG_STYLE_LIST, "Tuning", "Paint Jobs\n\ Cores\n\ Escapamentos\n\ ParaChoque Dian\n\ ParaChoque Trase\n\ Capo\n\ Aerofolios\n\ Saias Laterais\n\ Bullbars\n\ Rodas\n\ Som\n\ Proxima Pag", "Selecionar", "Fechar"); } case 2: if (pmodelid[playerid] == 567 || pmodelid[playerid] == 536) { new car = GetPlayerVehicleID(playerid); if (pmodelid[playerid] == 567) // Savanna { AddVehicleComponent(car, 1130); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Hardtop Roof component on Brodway{A9A9A9}."); ShowPlayerDialog(playerid, 9914, DIALOG_STYLE_LIST, "Capo", "Wheel Arch Alien Roof Vent\nWheel Arch X-Flow Roof Vent\nLocos Low Chromer Roof\nLocos Low Slamin Roof\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 536) // Blade { AddVehicleComponent(car, 1128); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Hardtop Roof component on Blade{A9A9A9}."); ShowPlayerDialog(playerid, 9898, DIALOG_STYLE_LIST, "Tuning", "Paint Jobs\n\ Cores\n\ Escapamentos\n\ ParaChoque Dian\n\ ParaChoque Trase\n\ Capo\n\ Aerofolios\n\ Saias Laterais\n\ Bullbars\n\ Rodas\n\ Som\n\ Proxima Pag", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } } else { SendClientMessage(playerid, COLOR_GRAD1, "[WARNING] You can only add this component to Locos Low Car types Savanna and Blade{A9A9A9}."); ShowPlayerDialog(playerid, 9914, DIALOG_STYLE_LIST, "Capo", "Wheel Arch Alien Roof Vent\nWheel Arch X-Flow Roof Vent\nLocos Low Chromer Roof\nLocos Low Slamin Roof\nMenu Principal", "Selecionar", "Fechar"); } case 3: if (pmodelid[playerid] == 567 || pmodelid[playerid] == 536) { new car = GetPlayerVehicleID(playerid); if (pmodelid[playerid] == 567) // Savanna { AddVehicleComponent(car, 1131); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Softtop Roof component on Brodway{A9A9A9}."); ShowPlayerDialog(playerid, 9914, DIALOG_STYLE_LIST, "Capo", "Wheel Arch Alien Roof Vent\nWheel Arch X-Flow Roof Vent\nLocos Low Chromer Roof\nLocos Low Slamin Roof\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 536) // Blade { AddVehicleComponent(car, 1103); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Softtop Roof component on Blade{A9A9A9}."); ShowPlayerDialog(playerid, 9914, DIALOG_STYLE_LIST, "Capo", "Wheel Arch Alien Roof Vent\nWheel Arch X-Flow Roof Vent\nLocos Low Chromer Roof\nLocos Low Slamin Roof\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } } else { SendClientMessage(playerid, COLOR_GRAD1, "[WARNING] You can only add this component to Locos Low Car types Savanna and Blade{A9A9A9}."); ShowPlayerDialog(playerid, 9914, DIALOG_STYLE_LIST, "Capo", "Wheel Arch Alien Roof Vent\nWheel Arch X-Flow Roof Vent\nLocos Low Chromer Roof\nLocos Low Slamin Roof\nMenu Principal", "Selecionar", "Fechar"); } case 4: { // SetPlayerCameraPos(playerid, 1780.1196, -1709.9355, -61.5949); // SetPlayerCameraLookAt(playerid, 1779.6116, -1710.7952, -61.9699); ShowPlayerDialog(playerid, 9898, DIALOG_STYLE_LIST, "Tuning", "Paint Jobs\n\ Cores\n\ Escapamentos\n\ ParaChoque Dian\n\ ParaChoque Trase\n\ Capo\n\ Aerofolios\n\ Saias Laterais\n\ Bullbars\n\ Rodas\n\ Som\n\ Proxima Pag", "Selecionar", "Fechar"); } } } else { TunningOn[playerid] = 0; Controle(playerid, 1); SendClientMessage(playerid, -1, "Voce saiu da tunagem!"); return true; } } if(dialogid == 9915) { // aerofolios if(response) { switch(listitem) { case 0: if (pmodelid[playerid] == 562 || pmodelid[playerid] == 565 || pmodelid[playerid] == 559 || pmodelid[playerid] == 561 || pmodelid[playerid] == 560) { new car = GetPlayerVehicleID(playerid); if (pmodelid[playerid] == 562) // Elegy { AddVehicleComponent(car, 1147); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch Alien Spoilers component on Elegy{A9A9A9}."); ShowPlayerDialog(playerid, 9915, DIALOG_STYLE_LIST, "Aerofolios", "Alien Spoiler\nX-Flow Spoiler\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 565) // Flash { AddVehicleComponent(car, 1049); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch Alien Spoilers component on Flash{A9A9A9}."); ShowPlayerDialog(playerid, 9915, DIALOG_STYLE_LIST, "Aerofolios", "Alien Spoiler\nX-Flow Spoiler\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 559) // Jester { AddVehicleComponent(car, 1162); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch Alien Spoilers component on Jester{A9A9A9}."); ShowPlayerDialog(playerid, 9915, DIALOG_STYLE_LIST, "Aerofolios", "Alien Spoiler\nX-Flow Spoiler\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 561) // Stratum { AddVehicleComponent(car, 1158); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch Alien Spoilers component on Stratum{A9A9A9}."); ShowPlayerDialog(playerid, 9915, DIALOG_STYLE_LIST, "Aerofolios", "Alien Spoiler\nX-Flow Spoiler\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 560) // Sultan { AddVehicleComponent(car, 1138); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch Alien Spoilers component on Sultan{A9A9A9}."); ShowPlayerDialog(playerid, 9915, DIALOG_STYLE_LIST, "Aerofolios", "Alien Spoiler\nX-Flow Spoiler\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 558) // Uranus { AddVehicleComponent(car, 1164); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch Alien Spoilers component on Uranus{A9A9A9}."); ShowPlayerDialog(playerid, 9915, DIALOG_STYLE_LIST, "Aerofolios", "Alien Spoiler\nX-Flow Spoiler\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } } else { SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao pode adicionar isso."); // SetPlayerCameraPos(playerid, 1780.1196, -1709.9355, -61.5949); // SetPlayerCameraLookAt(playerid, 1779.6116, -1710.7952, -61.9699); ShowPlayerDialog(playerid, 9898, DIALOG_STYLE_LIST, "Tuning", "Paint Jobs\n\ Cores\n\ Escapamentos\n\ ParaChoque Dian\n\ ParaChoque Trase\n\ Capo\n\ Aerofolios\n\ Saias Laterais\n\ Bullbars\n\ Rodas\n\ Som\n\ Proxima Pag", "Selecionar", "Fechar"); } case 1: if (pmodelid[playerid] == 562 || pmodelid[playerid] == 565 || pmodelid[playerid] == 559 || pmodelid[playerid] == 561 || pmodelid[playerid] == 560) { new car = GetPlayerVehicleID(playerid); if (pmodelid[playerid] == 562) // Elegy { AddVehicleComponent(car, 1146); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch X-Flow Spoilers component on Elegy{A9A9A9}."); ShowPlayerDialog(playerid, 9915, DIALOG_STYLE_LIST, "Aerofolios", "Alien Spoiler\nX-Flow Spoiler\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 565) // Flash { AddVehicleComponent(car, 1150); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch X-Flow Spoilers component on Flash{A9A9A9}."); ShowPlayerDialog(playerid, 9915, DIALOG_STYLE_LIST, "Aerofolios", "Alien Spoiler\nX-Flow Spoiler\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 559) // Jetser { AddVehicleComponent(car, 1158); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch X-Flow Spoilers component on Jester{A9A9A9}."); ShowPlayerDialog(playerid, 9915, DIALOG_STYLE_LIST, "Aerofolios", "Alien Spoiler\nX-Flow Spoiler\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 561) // Stratum { AddVehicleComponent(car, 1060); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch X-Flow Spoilers component on Stratum{A9A9A9}."); ShowPlayerDialog(playerid, 9915, DIALOG_STYLE_LIST, "Aerofolios", "Alien Spoiler\nX-Flow Spoiler\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 560) // Sultan { AddVehicleComponent(car, 1139); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch X-Flow Spoilers component on Sultan{A9A9A9}."); ShowPlayerDialog(playerid, 9915, DIALOG_STYLE_LIST, "Aerofolios", "Alien Spoiler\nX-Flow Spoiler\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 558) // Uranus { AddVehicleComponent(car, 1163); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch X-Flow Spoilers component on Uranus{A9A9A9}."); ShowPlayerDialog(playerid, 9915, DIALOG_STYLE_LIST, "Aerofolios", "Alien Spoiler\nX-Flow Spoiler\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } } else { SendClientMessage(playerid, COLOR_GRAD1, "[AVISO] Voce nao pode adicionar isso."); // SetPlayerCameraPos(playerid, 1780.1196, -1709.9355, -61.5949); // SetPlayerCameraLookAt(playerid, 1779.6116, -1710.7952, -61.9699); ShowPlayerDialog(playerid, 9898, DIALOG_STYLE_LIST, "Tuning", "Paint Jobs\n\ Cores\n\ Escapamentos\n\ ParaChoque Dian\n\ ParaChoque Trase\n\ Capo\n\ Aerofolios\n\ Saias Laterais\n\ Bullbars\n\ Rodas\n\ Som\n\ Proxima Pag", "Selecionar", "Fechar"); } case 2: { // SetPlayerCameraPos(playerid, 1780.1196, -1709.9355, -61.5949); // SetPlayerCameraLookAt(playerid, 1779.6116, -1710.7952, -61.9699); ShowPlayerDialog(playerid, 9898, DIALOG_STYLE_LIST, "Tuning", "Paint Jobs\n\ Cores\n\ Escapamentos\n\ ParaChoque Dian\n\ ParaChoque Trase\n\ Capo\n\ Aerofolios\n\ Saias Laterais\n\ Bullbars\n\ Rodas\n\ Som\n\ Proxima Pag", "Selecionar", "Fechar"); } } } else { TunningOn[playerid] = 0; Controle(playerid, 1); SendClientMessage(playerid, -1, "Voce saiu da tunagem!"); return true; } } if(dialogid == 9916) { // saias laterais if(response) { switch(listitem) { case 0: if (pmodelid[playerid] == 562 || pmodelid[playerid] == 565 || pmodelid[playerid] == 559 || pmodelid[playerid] == 561 || pmodelid[playerid] == 560) { new car = GetPlayerVehicleID(playerid); if (pmodelid[playerid] == 562) // Elegy { AddVehicleComponent(car, 1036); AddVehicleComponent(car, 1040); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch Alien Side Skirts component on Elegy{A9A9A9}."); ShowPlayerDialog(playerid, 9916, DIALOG_STYLE_LIST, "Saias Laterais", "Wheel Arch Alien Side Skirts\nWheel Arch X-Flow Side Skirts\nLocos Low Chrome Strip\nLocos Low Chrome Flames\nLocos Low Chrome Arches\nLocos Low Chrome Trim\nLocos Low Wheelcovers\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 565) // Flash { AddVehicleComponent(car, 1047); AddVehicleComponent(car, 1051); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch Alien Sideskirts vent component on Flash{A9A9A9}."); ShowPlayerDialog(playerid, 9916, DIALOG_STYLE_LIST, "Saias Laterais", "Wheel Arch Alien Side Skirts\nWheel Arch X-Flow Side Skirts\nLocos Low Chrome Strip\nLocos Low Chrome Flames\nLocos Low Chrome Arches\nLocos Low Chrome Trim\nLocos Low Wheelcovers\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 559) // Jester { AddVehicleComponent(car, 1069); AddVehicleComponent(car, 1071); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch Alien Side Skirts component on Jester{A9A9A9}."); ShowPlayerDialog(playerid, 9916, DIALOG_STYLE_LIST, "Saias Laterais", "Wheel Arch Alien Side Skirts\nWheel Arch X-Flow Side Skirts\nLocos Low Chrome Strip\nLocos Low Chrome Flames\nLocos Low Chrome Arches\nLocos Low Chrome Trim\nLocos Low Wheelcovers\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 561) // Stratum { AddVehicleComponent(car, 1056); AddVehicleComponent(car, 1062); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch Alien Side Skirts component on Stratum{A9A9A9}."); ShowPlayerDialog(playerid, 9916, DIALOG_STYLE_LIST, "Saias Laterais", "Wheel Arch Alien Side Skirts\nWheel Arch X-Flow Side Skirts\nLocos Low Chrome Strip\nLocos Low Chrome Flames\nLocos Low Chrome Arches\nLocos Low Chrome Trim\nLocos Low Wheelcovers\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 560) // Sultan { AddVehicleComponent(car, 1026); AddVehicleComponent(car, 1027); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch Alien Side Skirts bumper component on Sultan{A9A9A9}."); ShowPlayerDialog(playerid, 9916, DIALOG_STYLE_LIST, "Saias Laterais", "Wheel Arch Alien Side Skirts\nWheel Arch X-Flow Side Skirts\nLocos Low Chrome Strip\nLocos Low Chrome Flames\nLocos Low Chrome Arches\nLocos Low Chrome Trim\nLocos Low Wheelcovers\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 558) // Uranus { AddVehicleComponent(car, 1090); AddVehicleComponent(car, 1094); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch Alien Side Skirts component on Uranus{A9A9A9}."); ShowPlayerDialog(playerid, 9916, DIALOG_STYLE_LIST, "Saias Laterais", "Wheel Arch Alien Side Skirts\nWheel Arch X-Flow Side Skirts\nLocos Low Chrome Strip\nLocos Low Chrome Flames\nLocos Low Chrome Arches\nLocos Low Chrome Trim\nLocos Low Wheelcovers\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } } else { SendClientMessage(playerid, COLOR_GRAD1, "[AVISO] Voce nao pode adicionar isso."); // SetPlayerCameraPos(playerid, 1780.1196, -1709.9355, -61.5949); // SetPlayerCameraLookAt(playerid, 1779.6116, -1710.7952, -61.9699); ShowPlayerDialog(playerid, 9898, DIALOG_STYLE_LIST, "Tuning", "Paint Jobs\n\ Cores\n\ Escapamentos\n\ ParaChoque Dian\n\ ParaChoque Trase\n\ Capo\n\ Aerofolios\n\ Saias Laterais\n\ Bullbars\n\ Rodas\n\ Som\n\ Proxima Pag", "Selecionar", "Fechar"); } case 1: if (pmodelid[playerid] == 562 || pmodelid[playerid] == 565 || pmodelid[playerid] == 559 || pmodelid[playerid] == 561 || pmodelid[playerid] == 560) { new car = GetPlayerVehicleID(playerid); if (pmodelid[playerid] == 562) // Elegy { AddVehicleComponent(car, 1039); AddVehicleComponent(car, 1041); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch X-Flow Side Skirts component on Elegy{A9A9A9}."); ShowPlayerDialog(playerid, 9916, DIALOG_STYLE_LIST, "Saias Laterais", "Wheel Arch Alien Side Skirts\nWheel Arch X-Flow Side Skirts\nLocos Low Chrome Strip\nLocos Low Chrome Flames\nLocos Low Chrome Arches\nLocos Low Chrome Trim\nLocos Low Wheelcovers\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 565) // Flash { AddVehicleComponent(car, 1048); AddVehicleComponent(car, 1052); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch X-Flow Side Skirts component on Flash{A9A9A9}."); ShowPlayerDialog(playerid, 9916, DIALOG_STYLE_LIST, "Saias Laterais", "Wheel Arch Alien Side Skirts\nWheel Arch X-Flow Side Skirts\nLocos Low Chrome Strip\nLocos Low Chrome Flames\nLocos Low Chrome Arches\nLocos Low Chrome Trim\nLocos Low Wheelcovers\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 559) // Jetser { AddVehicleComponent(car, 1070); AddVehicleComponent(car, 1072); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch X-Flow Side Skirts component on Jester{A9A9A9}."); ShowPlayerDialog(playerid, 9916, DIALOG_STYLE_LIST, "Saias Laterais", "Wheel Arch Alien Side Skirts\nWheel Arch X-Flow Side Skirts\nLocos Low Chrome Strip\nLocos Low Chrome Flames\nLocos Low Chrome Arches\nLocos Low Chrome Trim\nLocos Low Wheelcovers\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 561) // Stratum { AddVehicleComponent(car, 1057); AddVehicleComponent(car, 1063); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch X-Flow Side Skirts component on Stratum{A9A9A9}."); ShowPlayerDialog(playerid, 9916, DIALOG_STYLE_LIST, "Saias Laterais", "Wheel Arch Alien Side Skirts\nWheel Arch X-Flow Side Skirts\nLocos Low Chrome Strip\nLocos Low Chrome Flames\nLocos Low Chrome Arches\nLocos Low Chrome Trim\nLocos Low Wheelcovers\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 560) // Sultan { AddVehicleComponent(car, 1031); AddVehicleComponent(car, 1030); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch X-Flow Side Skirts component on Sultan{A9A9A9}."); ShowPlayerDialog(playerid, 9916, DIALOG_STYLE_LIST, "Saias Laterais", "Wheel Arch Alien Side Skirts\nWheel Arch X-Flow Side Skirts\nLocos Low Chrome Strip\nLocos Low Chrome Flames\nLocos Low Chrome Arches\nLocos Low Chrome Trim\nLocos Low Wheelcovers\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 558) // Uranus { AddVehicleComponent(car, 1093); AddVehicleComponent(car, 1095); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch X-Flow Side Skirts component on Uranus{A9A9A9}."); ShowPlayerDialog(playerid, 9916, DIALOG_STYLE_LIST, "Saias Laterais", "Wheel Arch Alien Side Skirts\nWheel Arch X-Flow Side Skirts\nLocos Low Chrome Strip\nLocos Low Chrome Flames\nLocos Low Chrome Arches\nLocos Low Chrome Trim\nLocos Low Wheelcovers\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } } else { SendClientMessage(playerid, COLOR_GRAD1, "[AVISO] Voce nao pode adicionar isso a esse veiculo."); // SetPlayerCameraPos(playerid, 1780.1196, -1709.9355, -61.5949); // SetPlayerCameraLookAt(playerid, 1779.6116, -1710.7952, -61.9699); ShowPlayerDialog(playerid, 9898, DIALOG_STYLE_LIST, "Tuning", "Paint Jobs\n\ Cores\n\ Escapamentos\n\ ParaChoque Dian\n\ ParaChoque Trase\n\ Capo\n\ Aerofolios\n\ Saias Laterais\n\ Bullbars\n\ Rodas\n\ Som\n\ Proxima Pag", "Selecionar", "Fechar"); } case 2: if (pmodelid[playerid] == 575 || pmodelid[playerid] == 536 || pmodelid[playerid] == 576 || pmodelid[playerid] == 567) { new car = GetPlayerVehicleID(playerid); if (pmodelid[playerid] == 575) // Brodway { AddVehicleComponent(car, 1042); AddVehicleComponent(car, 1099); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Chrome Strip Side Skirts component on Brodway{A9A9A9}."); ShowPlayerDialog(playerid, 9916, DIALOG_STYLE_LIST, "Saias Laterais", "Wheel Arch Alien Side Skirts\nWheel Arch X-Flow Side Skirts\nLocos Low Chrome Strip\nLocos Low Chrome Flames\nLocos Low Chrome Arches\nLocos Low Chrome Trim\nLocos Low Wheelcovers\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 567) // Savanna { AddVehicleComponent(car, 1102); AddVehicleComponent(car, 1133); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Chrome Strip Side Skirts component on Savanna{A9A9A9}."); ShowPlayerDialog(playerid, 9916, DIALOG_STYLE_LIST, "Saias Laterais", "Wheel Arch Alien Side Skirts\nWheel Arch X-Flow Side Skirts\nLocos Low Chrome Strip\nLocos Low Chrome Flames\nLocos Low Chrome Arches\nLocos Low Chrome Trim\nLocos Low Wheelcovers\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 576) // Tornado { AddVehicleComponent(car, 1134); AddVehicleComponent(car, 1137); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Chrome Strip Side Skirts component on Tornado{A9A9A9}."); ShowPlayerDialog(playerid, 9916, DIALOG_STYLE_LIST, "Saias Laterais", "Wheel Arch Alien Side Skirts\nWheel Arch X-Flow Side Skirts\nLocos Low Chrome Strip\nLocos Low Chrome Flames\nLocos Low Chrome Arches\nLocos Low Chrome Trim\nLocos Low Wheelcovers\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 536) // Blade { AddVehicleComponent(car, 1108); AddVehicleComponent(car, 1107); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Chrome Strip Side Skirts component on Blade{A9A9A9}."); ShowPlayerDialog(playerid, 9916, DIALOG_STYLE_LIST, "Saias Laterais", "Wheel Arch Alien Side Skirts\nWheel Arch X-Flow Side Skirts\nLocos Low Chrome Strip\nLocos Low Chrome Flames\nLocos Low Chrome Arches\nLocos Low Chrome Trim\nLocos Low Wheelcovers\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } } else { SendClientMessage(playerid, COLOR_GRAD1, "[AVISO] Voce nao pode adicionar isso a esse veiculo."); // SetPlayerCameraPos(playerid, 1780.1196, -1709.9355, -61.5949); // SetPlayerCameraLookAt(playerid, 1779.6116, -1710.7952, -61.9699); ShowPlayerDialog(playerid, 9898, DIALOG_STYLE_LIST, "Tuning", "Paint Jobs\n\ Cores\n\ Escapamentos\n\ ParaChoque Dian\n\ ParaChoque Trase\n\ Capo\n\ Aerofolios\n\ Saias Laterais\n\ Bullbars\n\ Rodas\n\ Som\n\ Proxima Pag", "Selecionar", "Fechar"); } case 3: if (pmodelid[playerid] == 534 || pmodelid[playerid] == 534) { new car = GetPlayerVehicleID(playerid); if (pmodelid[playerid] == 534) // Remington { AddVehicleComponent(car, 1122); AddVehicleComponent(car, 1101); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Chrome Flames Side Skirts component on Remington{A9A9A9}."); ShowPlayerDialog(playerid, 9916, DIALOG_STYLE_LIST, "Saias Laterais", "Wheel Arch Alien Side Skirts\nWheel Arch X-Flow Side Skirts\nLocos Low Chrome Strip\nLocos Low Chrome Flames\nLocos Low Chrome Arches\nLocos Low Chrome Trim\nLocos Low Wheelcovers\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } } else { SendClientMessage(playerid, COLOR_GRAD1, "[AVISO] Voce nao pode adicionar isso a esse veiculo."); // SetPlayerCameraPos(playerid, 1780.1196, -1709.9355, -61.5949); // SetPlayerCameraLookAt(playerid, 1779.6116, -1710.7952, -61.9699); ShowPlayerDialog(playerid, 9916, DIALOG_STYLE_LIST, "Saias Laterais", "Wheel Arch Alien Side Skirts\nWheel Arch X-Flow Side Skirts\nLocos Low Chrome Strip\nLocos Low Chrome Flames\nLocos Low Chrome Arches\nLocos Low Chrome Trim\nLocos Low Wheelcovers\nMenu Principal", "Selecionar", "Fechar"); } case 4: if (pmodelid[playerid] == 534 || pmodelid[playerid] == 534) { new car = GetPlayerVehicleID(playerid); if (pmodelid[playerid] == 534) // Remington { AddVehicleComponent(car, 1106); AddVehicleComponent(car, 1124); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Chrome Arches Side Skirts component on Remington{A9A9A9}."); ShowPlayerDialog(playerid, 9916, DIALOG_STYLE_LIST, "Saias Laterais", "Wheel Arch Alien Side Skirts\nWheel Arch X-Flow Side Skirts\nLocos Low Chrome Strip\nLocos Low Chrome Flames\nLocos Low Chrome Arches\nLocos Low Chrome Trim\nLocos Low Wheelcovers\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } } else { SendClientMessage(playerid, COLOR_GRAD1, "[AVISO] Voce nao pode adicionar isso a esse veiculo."); // SetPlayerCameraPos(playerid, 1780.1196, -1709.9355, -61.5949); // SetPlayerCameraLookAt(playerid, 1779.6116, -1710.7952, -61.9699); ShowPlayerDialog(playerid, 9898, DIALOG_STYLE_LIST, "Tuning", "Paint Jobs\n\ Cores\n\ Escapamentos\n\ ParaChoque Dian\n\ ParaChoque Trase\n\ Capo\n\ Aerofolios\n\ Saias Laterais\n\ Bullbars\n\ Rodas\n\ Som\n\ Proxima Pag", "Selecionar", "Fechar"); } case 5: if (pmodelid[playerid] == 535) { new car = GetPlayerVehicleID(playerid); if (pmodelid[playerid] == 535) // Slamvan { AddVehicleComponent(car, 1118); AddVehicleComponent(car, 1120); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Chrome Trim Side Skirts component on Slamvan{A9A9A9}."); ShowPlayerDialog(playerid, 9916, DIALOG_STYLE_LIST, "Saias Laterais", "Wheel Arch Alien Side Skirts\nWheel Arch X-Flow Side Skirts\nLocos Low Chrome Strip\nLocos Low Chrome Flames\nLocos Low Chrome Arches\nLocos Low Chrome Trim\nLocos Low Wheelcovers\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } } else { SendClientMessage(playerid, COLOR_GRAD1, "[AVISO] Voce nao pode adicionar isso a esse veiculo."); // SetPlayerCameraPos(playerid, 1780.1196, -1709.9355, -61.5949); // SetPlayerCameraLookAt(playerid, 1779.6116, -1710.7952, -61.9699); ShowPlayerDialog(playerid, 9898, DIALOG_STYLE_LIST, "Tuning", "Paint Jobs\n\ Cores\n\ Escapamentos\n\ ParaChoque Dian\n\ ParaChoque Trase\n\ Capo\n\ Aerofolios\n\ Saias Laterais\n\ Bullbars\n\ Rodas\n\ Som\n\ Proxima Pag", "Selecionar", "Fechar"); } case 6: if (pmodelid[playerid] == 535) { new car = GetPlayerVehicleID(playerid); if (pmodelid[playerid] == 535) // Slamvan { AddVehicleComponent(car, 1119); AddVehicleComponent(car, 1121); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Chrome Wheelcovers component on Slamvan{A9A9A9}."); ShowPlayerDialog(playerid, 9916, DIALOG_STYLE_LIST, "Saias Laterais", "Wheel Arch Alien Side Skirts\nWheel Arch X-Flow Side Skirts\nLocos Low Chrome Strip\nLocos Low Chrome Flames\nLocos Low Chrome Arches\nLocos Low Chrome Trim\nLocos Low Wheelcovers\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } } else { SendClientMessage(playerid, COLOR_GRAD1, "[AVISO] Voce nao pode adicionar isso a esse veiculo."); // SetPlayerCameraPos(playerid, 1780.1196, -1709.9355, -61.5949); // SetPlayerCameraLookAt(playerid, 1779.6116, -1710.7952, -61.9699); ShowPlayerDialog(playerid, 9898, DIALOG_STYLE_LIST, "Tuning", "Paint Jobs\n\ Cores\n\ Escapamentos\n\ ParaChoque Dian\n\ ParaChoque Trase\n\ Capo\n\ Aerofolios\n\ Saias Laterais\n\ Bullbars\n\ Rodas\n\ Som\n\ Proxima Pag", "Selecionar", "Fechar"); } case 7: { // SetPlayerCameraPos(playerid, 1780.1196, -1709.9355, -61.5949); // SetPlayerCameraLookAt(playerid, 1779.6116, -1710.7952, -61.9699); ShowPlayerDialog(playerid, 9898, DIALOG_STYLE_LIST, "Tuning", "Paint Jobs\n\ Cores\n\ Escapamentos\n\ ParaChoque Dian\n\ ParaChoque Trase\n\ Capo\n\ Aerofolios\n\ Saias Laterais\n\ Bullbars\n\ Rodas\n\ Som\n\ Proxima Pag", "Selecionar", "Fechar"); } } } else { TunningOn[playerid] = 0; Controle(playerid, 1); SendClientMessage(playerid, -1, "Voce saiu da tunagem!"); return true; } } if(dialogid == 9917) { // bullbars if(response) { switch(listitem) { case 0: if (pmodelid[playerid] == 534) { new car = GetPlayerVehicleID(playerid); if (pmodelid[playerid] == 534) // Remington { AddVehicleComponent(car, 1100); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Chrome Grill component on Remington{A9A9A9}."); ShowPlayerDialog(playerid, 9917, DIALOG_STYLE_LIST, "Bullbars", "Locos Low Chrome Grill\nLocos Low Chrome Bars\nLocos Low Chrome Lights\nLocos Low Chrome Bullbar\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } } else { SendClientMessage(playerid, COLOR_GRAD1, "[AVISO] Voce nao pode adicionar isso a esse veiculo."); // SetPlayerCameraPos(playerid, 1780.1196, -1709.9355, -61.5949); // SetPlayerCameraLookAt(playerid, 1779.6116, -1710.7952, -61.9699); ShowPlayerDialog(playerid, 9917, DIALOG_STYLE_LIST, "Bullbars", "Locos Low Chrome Grill\nLocos Low Chrome Bars\nLocos Low Chrome Lights\nLocos Low Chrome Bullbar\nMenu Principal", "Selecionar", "Fechar"); } case 1: if (pmodelid[playerid] == 534) { new car = GetPlayerVehicleID(playerid); if (pmodelid[playerid] == 534) // Remington { AddVehicleComponent(car, 1123); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Chrome Bars component on Remington{A9A9A9}."); ShowPlayerDialog(playerid, 9917, DIALOG_STYLE_LIST, "Bullbars", "Locos Low Chrome Grill\nLocos Low Chrome Bars\nLocos Low Chrome Lights\nLocos Low Chrome Bullbar\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } } else { SendClientMessage(playerid, COLOR_GRAD1, "[AVISO] Voce nao pode adicionar isso a esse veiculo."); // SetPlayerCameraPos(playerid, 1780.1196, -1709.9355, -61.5949); // SetPlayerCameraLookAt(playerid, 1779.6116, -1710.7952, -61.9699); ShowPlayerDialog(playerid, 9898, DIALOG_STYLE_LIST, "Tuning", "Paint Jobs\n\ Cores\n\ Escapamentos\n\ ParaChoque Dian\n\ ParaChoque Trase\n\ Capo\n\ Aerofolios\n\ Saias Laterais\n\ Bullbars\n\ Rodas\n\ Som\n\ Proxima Pag", "Selecionar", "Fechar"); } case 2: if (pmodelid[playerid] == 534) { new car = GetPlayerVehicleID(playerid); if (pmodelid[playerid] == 534) // Remington { AddVehicleComponent(car, 1125); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Chrome Lights component on Remington{A9A9A9}."); ShowPlayerDialog(playerid, 9917, DIALOG_STYLE_LIST, "Bullbars", "Locos Low Chrome Grill\nLocos Low Chrome Bars\nLocos Low Chrome Lights\nLocos Low Chrome Bullbar\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } } else { SendClientMessage(playerid, COLOR_GRAD1, "[AVISO] Voce nao pode adicionar isso a esse veiculo."); // SetPlayerCameraPos(playerid, 1780.1196, -1709.9355, -61.5949); // SetPlayerCameraLookAt(playerid, 1779.6116, -1710.7952, -61.9699); ShowPlayerDialog(playerid, 9898, DIALOG_STYLE_LIST, "Tuning", "Paint Jobs\n\ Cores\n\ Escapamentos\n\ ParaChoque Dian\n\ ParaChoque Trase\n\ Capo\n\ Aerofolios\n\ Saias Laterais\n\ Bullbars\n\ Rodas\n\ Som\n\ Proxima Pag", "Selecionar", "Fechar"); } case 3: if (pmodelid[playerid] == 535) { new car = GetPlayerVehicleID(playerid); if (pmodelid[playerid] == 535) // Slamvan { AddVehicleComponent(car, 1117); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Chrome Lights component on Slamvan{A9A9A9}."); ShowPlayerDialog(playerid, 9917, DIALOG_STYLE_LIST, "Bullbars", "Locos Low Chrome Grill\nLocos Low Chrome Bars\nLocos Low Chrome Lights\nLocos Low Chrome Bullbar\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } } else { SendClientMessage(playerid, COLOR_GRAD1, "[AVISO] Voce nao pode adicionar isso a esse veiculo."); // SetPlayerCameraPos(playerid, 1780.1196, -1709.9355, -61.5949); // SetPlayerCameraLookAt(playerid, 1779.6116, -1710.7952, -61.9699); ShowPlayerDialog(playerid, 9898, DIALOG_STYLE_LIST, "Tuning", "Paint Jobs\n\ Cores\n\ Escapamentos\n\ ParaChoque Dian\n\ ParaChoque Trase\n\ Capo\n\ Aerofolios\n\ Saias Laterais\n\ Bullbars\n\ Rodas\n\ Som\n\ Proxima Pag", "Selecionar", "Fechar"); } case 4: { // SetPlayerCameraPos(playerid, 1780.1196, -1709.9355, -61.5949); // SetPlayerCameraLookAt(playerid, 1779.6116, -1710.7952, -61.9699); ShowPlayerDialog(playerid, 9898, DIALOG_STYLE_LIST, "Tuning", "Paint Jobs\n\ Cores\n\ Escapamentos\n\ ParaChoque Dian\n\ ParaChoque Trase\n\ Capo\n\ Aerofolios\n\ Saias Laterais\n\ Bullbars\n\ Rodas\n\ Som\n\ Proxima Pag", "Selecionar", "Fechar"); } } } else { TunningOn[playerid] = 0; Controle(playerid, 1); SendClientMessage(playerid, -1, "Voce saiu da tunagem!"); return true; } } if(dialogid == 9918) { // rodas if(response) { switch(listitem) { case 0: if (GetPlayerMoney(playerid) >= 1) { new car = GetPlayerVehicleID(playerid); AddVehicleComponent(car, 1025); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Offroad Wheels{A9A9A9}."); ShowPlayerDialog(playerid, 9918, DIALOG_STYLE_LIST, "Rodas", "Offroad\n\ Mega\n\ Wires\n\ Twist\n\ Grove\n\ Import\n\ Atomic\n\ Ahab\n\ Virtual\n\ Access\n\ Proxima Pag\n\ Menu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else { SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao contem dinheiro."); // SetPlayerCameraPos(playerid, 1780.1196, -1709.9355, -61.5949); // SetPlayerCameraLookAt(playerid, 1779.6116, -1710.7952, -61.9699); ShowPlayerDialog(playerid, 9898, DIALOG_STYLE_LIST, "Tuning", "Paint Jobs\n\ Cores\n\ Escapamentos\n\ ParaChoque Dian\n\ ParaChoque Trase\n\ Capo\n\ Aerofolios\n\ Saias Laterais\n\ Bullbars\n\ Rodas\n\ Som\n\ Proxima Pag", "Selecionar", "Fechar"); } case 1: if (GetPlayerMoney(playerid) >= 1) { new car = GetPlayerVehicleID(playerid); AddVehicleComponent(car, 1074); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Mega Wheels{A9A9A9}."); ShowPlayerDialog(playerid, 9918, DIALOG_STYLE_LIST, "Rodas", "Offroad\n\ Mega\n\ Wires\n\ Twist\n\ Grove\n\ Import\n\ Atomic\n\ Ahab\n\ Virtual\n\ Access\n\ Proxima Pag\n\ Menu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else { SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao contem dinheiro."); // SetPlayerCameraPos(playerid, 1780.1196, -1709.9355, -61.5949); // SetPlayerCameraLookAt(playerid, 1779.6116, -1710.7952, -61.9699); ShowPlayerDialog(playerid, 9898, DIALOG_STYLE_LIST, "Tuning", "Paint Jobs\n\ Cores\n\ Escapamentos\n\ ParaChoque Dian\n\ ParaChoque Trase\n\ Capo\n\ Aerofolios\n\ Saias Laterais\n\ Bullbars\n\ Rodas\n\ Som\n\ Proxima Pag", "Selecionar", "Fechar"); } case 2: if (GetPlayerMoney(playerid) >= 1) { new car = GetPlayerVehicleID(playerid); AddVehicleComponent(car, 1076); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wires Wheels{A9A9A9}."); ShowPlayerDialog(playerid, 9918, DIALOG_STYLE_LIST, "Rodas", "Offroad\n\ Mega\n\ Wires\n\ Twist\n\ Grove\n\ Import\n\ Atomic\n\ Ahab\n\ Virtual\n\ Access\n\ Proxima Pag\n\ Menu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else { SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao contem dinheiro."); // SetPlayerCameraPos(playerid, 1780.1196, -1709.9355, -61.5949); // SetPlayerCameraLookAt(playerid, 1779.6116, -1710.7952, -61.9699); ShowPlayerDialog(playerid, 9898, DIALOG_STYLE_LIST, "Tuning", "Paint Jobs\n\ Cores\n\ Escapamentos\n\ ParaChoque Dian\n\ ParaChoque Trase\n\ Capo\n\ Aerofolios\n\ Saias Laterais\n\ Bullbars\n\ Rodas\n\ Som\n\ Proxima Pag", "Selecionar", "Fechar"); } case 3: if (GetPlayerMoney(playerid) >= 1) { new car = GetPlayerVehicleID(playerid); AddVehicleComponent(car, 1078); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Twist Wheels{A9A9A9}."); ShowPlayerDialog(playerid, 9918, DIALOG_STYLE_LIST, "Rodas", "Offroad\n\ Mega\n\ Wires\n\ Twist\n\ Grove\n\ Import\n\ Atomic\n\ Ahab\n\ Virtual\n\ Access\n\ Proxima Pag\n\ Menu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else { SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao contem dinheiro."); ShowPlayerDialog(playerid, 9898, DIALOG_STYLE_LIST, "Tuning", "Paint Jobs\n\ Cores\n\ Escapamentos\n\ ParaChoque Dian\n\ ParaChoque Trase\n\ Capo\n\ Aerofolios\n\ Saias Laterais\n\ Bullbars\n\ Rodas\n\ Som\n\ Proxima Pag", "Selecionar", "Fechar"); } case 4: if (GetPlayerMoney(playerid) >= 1) { new car = GetPlayerVehicleID(playerid); AddVehicleComponent(car, 1081); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Grove Wheels{A9A9A9}."); ShowPlayerDialog(playerid, 9918, DIALOG_STYLE_LIST, "Rodas", "Offroad\n\ Mega\n\ Wires\n\ Twist\n\ Grove\n\ Import\n\ Atomic\n\ Ahab\n\ Virtual\n\ Access\n\ Proxima Pag\n\ Menu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else { SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao contem dinheiro."); // SetPlayerCameraPos(playerid, 1780.1196, -1709.9355, -61.5949); // SetPlayerCameraLookAt(playerid, 1779.6116, -1710.7952, -61.9699); ShowPlayerDialog(playerid, 9898, DIALOG_STYLE_LIST, "Tuning", "Paint Jobs\n\ Cores\n\ Escapamentos\n\ ParaChoque Dian\n\ ParaChoque Trase\n\ Capo\n\ Aerofolios\n\ Saias Laterais\n\ Bullbars\n\ Rodas\n\ Som\n\ Proxima Pag", "Selecionar", "Fechar"); } case 5: if (GetPlayerMoney(playerid) >= 1) { new car = GetPlayerVehicleID(playerid); AddVehicleComponent(car, 1082); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Import Wheels{A9A9A9}."); ShowPlayerDialog(playerid, 9918, DIALOG_STYLE_LIST, "Rodas", "Offroad\n\ Mega\n\ Wires\n\ Twist\n\ Grove\n\ Import\n\ Atomic\n\ Ahab\n\ Virtual\n\ Access\n\ Proxima Pag\n\ Menu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else { SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao contem dinheiro."); // SetPlayerCameraPos(playerid, 1780.1196, -1709.9355, -61.5949); // SetPlayerCameraLookAt(playerid, 1779.6116, -1710.7952, -61.9699); ShowPlayerDialog(playerid, 9898, DIALOG_STYLE_LIST, "Tuning", "Paint Jobs\n\ Cores\n\ Escapamentos\n\ ParaChoque Dian\n\ ParaChoque Trase\n\ Capo\n\ Aerofolios\n\ Saias Laterais\n\ Bullbars\n\ Rodas\n\ Som\n\ Proxima Pag", "Selecionar", "Fechar"); } case 6: if (GetPlayerMoney(playerid) >= 1) { new car = GetPlayerVehicleID(playerid); AddVehicleComponent(car, 1085); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Atomic Wheels{A9A9A9}."); ShowPlayerDialog(playerid, 9918, DIALOG_STYLE_LIST, "Rodas", "Offroad\n\ Mega\n\ Wires\n\ Twist\n\ Grove\n\ Import\n\ Atomic\n\ Ahab\n\ Virtual\n\ Access\n\ Proxima Pag\n\ Menu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else { SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao contem dinheiro."); // SetPlayerCameraPos(playerid, 1780.1196, -1709.9355, -61.5949); // SetPlayerCameraLookAt(playerid, 1779.6116, -1710.7952, -61.9699); ShowPlayerDialog(playerid, 9898, DIALOG_STYLE_LIST, "Tuning", "Paint Jobs\n\ Cores\n\ Escapamentos\n\ ParaChoque Dian\n\ ParaChoque Trase\n\ Capo\n\ Aerofolios\n\ Saias Laterais\n\ Bullbars\n\ Rodas\n\ Som\n\ Proxima Pag", "Selecionar", "Fechar"); } case 7: if (GetPlayerMoney(playerid) >= 1) { new car = GetPlayerVehicleID(playerid); AddVehicleComponent(car, 1096); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Ahab Wheels{A9A9A9}."); ShowPlayerDialog(playerid, 9918, DIALOG_STYLE_LIST, "Rodas", "Offroad\n\ Mega\n\ Wires\n\ Twist\n\ Grove\n\ Import\n\ Atomic\n\ Ahab\n\ Virtual\n\ Access\n\ Proxima Pag\n\ Menu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else { SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao contem dinheiro."); // SetPlayerCameraPos(playerid, 1780.1196, -1709.9355, -61.5949); // SetPlayerCameraLookAt(playerid, 1779.6116, -1710.7952, -61.9699); ShowPlayerDialog(playerid, 9898, DIALOG_STYLE_LIST, "Tuning", "Paint Jobs\n\ Cores\n\ Escapamentos\n\ ParaChoque Dian\n\ ParaChoque Trase\n\ Capo\n\ Aerofolios\n\ Saias Laterais\n\ Bullbars\n\ Rodas\n\ Som\n\ Proxima Pag", "Selecionar", "Fechar"); } case 8: if (GetPlayerMoney(playerid) >= 1) { new car = GetPlayerVehicleID(playerid); AddVehicleComponent(car, 1097); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Virtual Wheels{A9A9A9}."); ShowPlayerDialog(playerid, 9918, DIALOG_STYLE_LIST, "Rodas", "Offroad\n\ Mega\n\ Wires\n\ Twist\n\ Grove\n\ Import\n\ Atomic\n\ Ahab\n\ Virtual\n\ Access\n\ Proxima Pag\n\ Menu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else { SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao contem dinheiro."); // SetPlayerCameraPos(playerid, 1780.1196, -1709.9355, -61.5949); // SetPlayerCameraLookAt(playerid, 1779.6116, -1710.7952, -61.9699); ShowPlayerDialog(playerid, 9898, DIALOG_STYLE_LIST, "Tuning", "Paint Jobs\n\ Cores\n\ Escapamentos\n\ ParaChoque Dian\n\ ParaChoque Trase\n\ Capo\n\ Aerofolios\n\ Saias Laterais\n\ Bullbars\n\ Rodas\n\ Som\n\ Proxima Pag", "Selecionar", "Fechar"); } case 9: if (GetPlayerMoney(playerid) >= 1) { new car = GetPlayerVehicleID(playerid); AddVehicleComponent(car, 1098); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Access Wheels{A9A9A9}."); ShowPlayerDialog(playerid, 9918, DIALOG_STYLE_LIST, "Rodas", "Offroad\n\ Mega\n\ Wires\n\ Twist\n\ Grove\n\ Import\n\ Atomic\n\ Ahab\n\ Virtual\n\ Access\n\ Proxima Pag\n\ Menu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else { SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao contem dinheiro."); // SetPlayerCameraPos(playerid, 1780.1196, -1709.9355, -61.5949); // SetPlayerCameraLookAt(playerid, 1779.6116, -1710.7952, -61.9699); ShowPlayerDialog(playerid, 9898, DIALOG_STYLE_LIST, "Tuning", "Paint Jobs\n\ Cores\n\ Escapamentos\n\ ParaChoque Dian\n\ ParaChoque Trase\n\ Capo\n\ Aerofolios\n\ Saias Laterais\n\ Bullbars\n\ Rodas\n\ Som\n\ Proxima Pag", "Selecionar", "Fechar"); } case 10: { ShowPlayerDialog(playerid, 9340, DIALOG_STYLE_LIST, "Roda 2", "Trance\nShadow\nRimshine\nClassic\nCutter\nSwitch\nDollar\nMenu Principal", "Selecionar", "Fechar"); // proximo (rodas) } case 11: { // SetPlayerCameraPos(playerid, 1780.1196, -1709.9355, -61.5949); // SetPlayerCameraLookAt(playerid, 1779.6116, -1710.7952, -61.9699); ShowPlayerDialog(playerid, 9898, DIALOG_STYLE_LIST, "Tuning", "Paint Jobs\n\ Cores\n\ Escapamentos\n\ ParaChoque Dian\n\ ParaChoque Trase\n\ Capo\n\ Aerofolios\n\ Saias Laterais\n\ Bullbars\n\ Rodas\n\ Som\n\ Proxima Pag", "Selecionar", "Fechar"); } } } else { TunningOn[playerid] = 0; Controle(playerid, 1); SendClientMessage(playerid, -1, "Voce saiu da tunagem!"); return true; } } if(dialogid == 9340) { // rodas pagina 2 if(response) { switch(listitem) { case 0: if (GetPlayerMoney(playerid) >= 1) { new car = GetPlayerVehicleID(playerid); AddVehicleComponent(car, 1084); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Trance Wheels{A9A9A9}."); ShowPlayerDialog(playerid, 9340, DIALOG_STYLE_LIST, "Roda 2", "Trance\nShadow\nRimshine\nClassic\nCutter\nSwitch\nDollar\nMenu Principal", "Selecionar", "Fechar"); // proximo (rodas) empmoney(playerid, 19, 500); } else { SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao contem dinheiro."); ShowPlayerDialog(playerid, 9920, DIALOG_STYLE_LIST, "Tuning 2", "Hidraulica\nNitro\nNeon\nReparar\nMenu Principal", "Selecionar", "Fechar"); } case 1: if (GetPlayerMoney(playerid) >= 1) { new car = GetPlayerVehicleID(playerid); AddVehicleComponent(car, 1073); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Shadow Wheels{A9A9A9}."); ShowPlayerDialog(playerid, 9340, DIALOG_STYLE_LIST, "Roda 2", "Trance\nShadow\nRimshine\nClassic\nCutter\nSwitch\nDollar\nMenu Principal", "Selecionar", "Fechar"); // proximo (rodas) empmoney(playerid, 19, 500); } else { SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao contem dinheiro."); ShowPlayerDialog(playerid, 9920, DIALOG_STYLE_LIST, "Tuning 2", "Hidraulica\nNitro\nNeon\nReparar\nMenu Principal", "Selecionar", "Fechar"); } case 2: if (GetPlayerMoney(playerid) >= 1) { new car = GetPlayerVehicleID(playerid); AddVehicleComponent(car, 1075); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Rimshine Wheels{A9A9A9}."); ShowPlayerDialog(playerid, 9340, DIALOG_STYLE_LIST, "Roda 2", "Trance\nShadow\nRimshine\nClassic\nCutter\nSwitch\nDollar\nMenu Principal", "Selecionar", "Fechar"); // proximo (rodas) empmoney(playerid, 19, 500); } else { SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao contem dinheiro."); ShowPlayerDialog(playerid, 9920, DIALOG_STYLE_LIST, "Tuning 2", "Hidraulica\nNitro\nNeon\nReparar\nMenu Principal", "Selecionar", "Fechar"); } case 3: if (GetPlayerMoney(playerid) >= 1) { new car = GetPlayerVehicleID(playerid); AddVehicleComponent(car, 1077); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Classic Wheels{A9A9A9}."); ShowPlayerDialog(playerid, 9340, DIALOG_STYLE_LIST, "Roda 2", "Trance\nShadow\nRimshine\nClassic\nCutter\nSwitch\nDollar\nMenu Principal", "Selecionar", "Fechar"); // proximo (rodas) empmoney(playerid, 19, 500); } else { SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao contem dinheiro."); ShowPlayerDialog(playerid, 9920, DIALOG_STYLE_LIST, "Tuning 2", "Hidraulica\nNitro\nNeon\nReparar\nMenu Principal", "Selecionar", "Fechar"); } case 4: if (GetPlayerMoney(playerid) >= 1) { new car = GetPlayerVehicleID(playerid); AddVehicleComponent(car, 1079); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Cutter Wheels{A9A9A9}."); ShowPlayerDialog(playerid, 9340, DIALOG_STYLE_LIST, "Roda 2", "Trance\nShadow\nRimshine\nClassic\nCutter\nSwitch\nDollar\nMenu Principal", "Selecionar", "Fechar"); // proximo (rodas) empmoney(playerid, 19, 500); } else { SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao contem dinheiro."); ShowPlayerDialog(playerid, 9920, DIALOG_STYLE_LIST, "Tuning 2", "Hidraulica\nNitro\nNeon\nReparar\nMenu Principal", "Selecionar", "Fechar"); } case 5: if (GetPlayerMoney(playerid) >= 1) { new car = GetPlayerVehicleID(playerid); AddVehicleComponent(car, 1080); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Switch Wheels{A9A9A9}."); ShowPlayerDialog(playerid, 9340, DIALOG_STYLE_LIST, "Roda 2", "Trance\nShadow\nRimshine\nClassic\nCutter\nSwitch\nDollar\nMenu Principal", "Selecionar", "Fechar"); // proximo (rodas) empmoney(playerid, 19, 500); } else { SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao contem dinheiro."); ShowPlayerDialog(playerid, 9920, DIALOG_STYLE_LIST, "Tuning 2", "Hidraulica\nNitro\nNeon\nReparar\nMenu Principal", "Selecionar", "Fechar"); } case 6: if (GetPlayerMoney(playerid) >= 1) { new car = GetPlayerVehicleID(playerid); AddVehicleComponent(car, 1083); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Dollar Wheels{A9A9A9}."); ShowPlayerDialog(playerid, 9340, DIALOG_STYLE_LIST, "Roda 2", "Trance\nShadow\nRimshine\nClassic\nCutter\nSwitch\nDollar\nMenu Principal", "Selecionar", "Fechar"); // proximo (rodas) empmoney(playerid, 19, 500); } else { SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao contem dinheiro."); ShowPlayerDialog(playerid, 9920, DIALOG_STYLE_LIST, "Tuning 2", "Hidraulica\nNitro\nNeon\nReparar\nMenu Principal", "Selecionar", "Fechar"); } case 7: { ShowPlayerDialog(playerid, 9920, DIALOG_STYLE_LIST, "Tuning 2", "Hidraulica\nNitro\nNeon\nReparar\nMenu Principal", "Selecionar", "Fechar"); } } } else { TunningOn[playerid] = 0; Controle(playerid, 1); SendClientMessage(playerid, -1, "Voce saiu da tunagem!"); return true; } } if(dialogid == 9919) { // Som (tuning ) if(response) { switch(listitem) { case 0: if (GetPlayerMoney(playerid) >= 1) { new car = GetPlayerVehicleID(playerid); AddVehicleComponent(car, 1086); PutSound(car); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Stereo Bass bost system{A9A9A9}."); ShowPlayerDialog(playerid, 9898, DIALOG_STYLE_LIST, "Tuning", "Paint Jobs\n\ Cores\n\ Escapamentos\n\ ParaChoque Dian\n\ ParaChoque Trase\n\ Capo\n\ Aerofolios\n\ Saias Laterais\n\ Bullbars\n\ Rodas\n\ Som\n\ Proxima Pag", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else { SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao contem dinheiro."); ShowPlayerDialog(playerid, 9898, DIALOG_STYLE_LIST, "Tuning", "Paint Jobs\n\ Cores\n\ Escapamentos\n\ ParaChoque Dian\n\ ParaChoque Trase\n\ Capo\n\ Aerofolios\n\ Saias Laterais\n\ Bullbars\n\ Rodas\n\ Som\n\ Proxima Pag", "Selecionar", "Fechar"); } case 1: { ShowPlayerDialog(playerid, 9898, DIALOG_STYLE_LIST, "Tuning", "Paint Jobs\n\ Cores\n\ Escapamentos\n\ ParaChoque Dian\n\ ParaChoque Trase\n\ Capo\n\ Aerofolios\n\ Saias Laterais\n\ Bullbars\n\ Rodas\n\ Som\n\ Proxima Pag", "Selecionar", "Fechar"); } } } else { TunningOn[playerid] = 0; Controle(playerid, 1); SendClientMessage(playerid, -1, "Voce saiu da tunagem!"); return true; } } if(dialogid == 9920) { // tunning 2 if(response) { switch(listitem) { case 0: { // Hidraulica // ShowPlayerDialog(playerid, 9930, DIALOG_STYLE_LIST, "Hidraulica", "Hidraulica\nMenu Principal", "Selecionar", "Fechar"); if (GetPlayerMoney(playerid) >= 500) { new car = GetPlayerVehicleID(playerid); AddVehicleComponent(car, 1087); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Hydraulics{A9A9A9} ao veiculo"); ShowPlayerDialog(playerid, 9920, DIALOG_STYLE_LIST, "Tuning 2", "Hidraulica\nNitro\nNeon\nReparar\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else { SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao contem dinheiro."); ShowPlayerDialog(playerid, 9920, DIALOG_STYLE_LIST, "Tuning 2", "Hidraulica\nNitro\nNeon\nReparar\nMenu Principal", "Selecionar", "Fechar"); } } case 1: { // nitro ShowPlayerDialog(playerid, 9931, DIALOG_STYLE_LIST, "Nitro", "Nitro 2x\nNitro 5x\nNitro 10x\nMenu Principal", "Selecionar", "Fechar"); } case 2: { // neon ShowPlayerDialog(playerid, 9934, DIALOG_STYLE_LIST, "Neon", "Neon Vermelho\nNeon Verde\nNeon Branco\nNeon Rosa\nNeon Amarelo\nRemover Neons\nMenu Principal", "Selecionar", "Fechar"); } case 3: { // reparar if (IsPlayerConnected(playerid)) { RepairVehicleWithBomber(GetPlayerVehicleID(playerid)); SendClientMessage(playerid, COLOR_YELLOW, "[INFO] Voce reparou seu veiculo."); ShowPlayerDialog(playerid, 9920, DIALOG_STYLE_LIST, "Tuning 2", "Hidraulica\nNitro\nNeon\nReparar\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } } case 4: { ShowPlayerDialog(playerid, 9898, DIALOG_STYLE_LIST, "Tuning", "Paint Jobs\n\ Cores\n\ Escapamentos\n\ ParaChoque Dian\n\ ParaChoque Trase\n\ Capo\n\ Aerofolios\n\ Saias Laterais\n\ Bullbars\n\ Rodas\n\ Som\n\ Proxima Pag", "Selecionar", "Fechar"); } } } else{ TunningOn[playerid] = 0; Controle(playerid, 1); SendClientMessage(playerid, -1, "Voce saiu da tunagem!"); return true; } } if(dialogid == 9931){ //nitro if(response) { switch(listitem) { case 0: if (GetPlayerMoney(playerid) >= 1) { new car = GetPlayerVehicleID(playerid); AddVehicleComponent(car, 1008); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} 2x Nitro{A9A9A9} ao veiculo"); ShowPlayerDialog(playerid, 9920, DIALOG_STYLE_LIST, "Tuning 2", "Hidraulica\nNitro\nNeon\nReparar\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else { SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao contem dinheiro."); ShowPlayerDialog(playerid, 9920, DIALOG_STYLE_LIST, "Tuning 2", "Hidraulica\nNitro\nNeon\nReparar\nMenu Principal", "Selecionar", "Fechar"); } case 1: if (GetPlayerMoney(playerid) >= 1) { new car = GetPlayerVehicleID(playerid); AddVehicleComponent(car, 1009); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} 5x Nitro{A9A9A9} ao veiculo"); ShowPlayerDialog(playerid, 9920, DIALOG_STYLE_LIST, "Tuning 2", "Hidraulica\nNitro\nNeon\nReparar\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else { SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao contem dinheiro."); ShowPlayerDialog(playerid, 9920, DIALOG_STYLE_LIST, "Tuning 2", "Hidraulica\nNitro\nNeon\nReparar\nMenu Principal", "Selecionar", "Fechar"); } case 2: if (GetPlayerMoney(playerid) >= 1) { new car = GetPlayerVehicleID(playerid); AddVehicleComponent(car, 1010); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou {FFFF00}10x Nitro{A9A9A9} ao veiculo"); ShowPlayerDialog(playerid, 9920, DIALOG_STYLE_LIST, "Tuning 2", "Hidraulica\nNitro\nNeon\nReparar\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else { SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao contem dinheiro."); ShowPlayerDialog(playerid, 9920, DIALOG_STYLE_LIST, "Tuning 2", "Hidraulica\nNitro\nNeon\nReparar\nMenu Principal", "Selecionar", "Fechar"); } case 3: { ShowPlayerDialog(playerid, 9920, DIALOG_STYLE_LIST, "Tuning 2", "Hidraulica\nNitro\nNeon\nReparar\nMenu Principal", "Selecionar", "Fechar"); } } } else { TunningOn[playerid] = 0; Controle(playerid, 1); SendClientMessage(playerid, -1, "Voce saiu da tunagem!"); return true; } } if(dialogid == 9934) { // neon if(response) { switch(listitem) { case 0: if (GetPlayerMoney(playerid) >= 1) { new car = GetPlayerVehicleID(playerid); SetVehicleNeon(car, Neon_Azul, true); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Neon Azul{A9A9A9}."); ShowPlayerDialog(playerid, 9934, DIALOG_STYLE_LIST, "Neon", "Neon Vermelho\nNeon Verde\nNeon Branco\nNeon Rosa\nNeon Amarelo\nRemover Neons\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else { SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao contem dinheiro."); ShowPlayerDialog(playerid, 9920, DIALOG_STYLE_LIST, "Tuning 2", "Hidraulica\nNitro\nNeon\nReparar\nMenu Principal", "Selecionar", "Fechar"); } case 1: if (GetPlayerMoney(playerid) >= 1) { new car = GetPlayerVehicleID(playerid); SetVehicleNeon(car, Neon_Vermelho, true); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Neon Vermelho{A9A9A9}."); ShowPlayerDialog(playerid, 9934, DIALOG_STYLE_LIST, "Neon", "Neon Vermelho\nNeon Verde\nNeon Branco\nNeon Rosa\nNeon Amarelo\nRemover Neons\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else { SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao contem dinheiro."); ShowPlayerDialog(playerid, 9920, DIALOG_STYLE_LIST, "Tuning 2", "Hidraulica\nNitro\nNeon\nReparar\nMenu Principal", "Selecionar", "Fechar"); } case 2: if (GetPlayerMoney(playerid) >= 1) { new car = GetPlayerVehicleID(playerid); SetVehicleNeon(car, Neon_Verde, true); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Neon Verde{A9A9A9}."); ShowPlayerDialog(playerid, 9934, DIALOG_STYLE_LIST, "Neon", "Neon Vermelho\nNeon Verde\nNeon Branco\nNeon Rosa\nNeon Amarelo\nRemover Neons\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else { SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao contem dinheiro."); ShowPlayerDialog(playerid, 9920, DIALOG_STYLE_LIST, "Tuning 2", "Hidraulica\nNitro\nNeon\nReparar\nMenu Principal", "Selecionar", "Fechar"); } case 3: if (GetPlayerMoney(playerid) >= 1) { new car = GetPlayerVehicleID(playerid); SetVehicleNeon(car, Neon_Branco, true); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Neon Branco{A9A9A9}."); ShowPlayerDialog(playerid, 9934, DIALOG_STYLE_LIST, "Neon", "Neon Vermelho\nNeon Verde\nNeon Branco\nNeon Rosa\nNeon Amarelo\nRemover Neons\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else { SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao contem dinheiro."); ShowPlayerDialog(playerid, 9920, DIALOG_STYLE_LIST, "Tuning 2", "Hidraulica\nNitro\nNeon\nReparar\nMenu Principal", "Selecionar", "Fechar"); } case 4: if (GetPlayerMoney(playerid) >= 1) { new car = GetPlayerVehicleID(playerid); SetVehicleNeon(car, Neon_Rosa, true); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Neon Rosa{A9A9A9}."); ShowPlayerDialog(playerid, 9934, DIALOG_STYLE_LIST, "Neon", "Neon Vermelho\nNeon Verde\nNeon Branco\nNeon Rosa\nNeon Amarelo\nRemover Neons\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else { SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao contem dinheiro."); ShowPlayerDialog(playerid, 9920, DIALOG_STYLE_LIST, "Tuning 2", "Hidraulica\nNitro\nNeon\nReparar\nMenu Principal", "Selecionar", "Fechar"); } case 5: if (GetPlayerMoney(playerid) >= 1) { new car = GetPlayerVehicleID(playerid); SetVehicleNeon(car, Neon_Amarelo, true); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Neon Amarelo{A9A9A9}."); ShowPlayerDialog(playerid, 9934, DIALOG_STYLE_LIST, "Neon", "Neon Vermelho\nNeon Verde\nNeon Branco\nNeon Rosa\nNeon Amarelo\nRemover Neons\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else { SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao contem dinheiro."); ShowPlayerDialog(playerid, 9920, DIALOG_STYLE_LIST, "Tuning 2", "Hidraulica\nNitro\nNeon\nReparar\nMenu Principal", "Selecionar", "Fechar"); } case 6: if (GetPlayerMoney(playerid) >= 1) { new car = GetPlayerVehicleID(playerid); SetVehicleNeon(car, 0, false); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce removeu{FFFF00} Todos os Neons{A9A9A9}."); ShowPlayerDialog(playerid, 9934, DIALOG_STYLE_LIST, "Neon", "Neon Vermelho\nNeon Verde\nNeon Branco\nNeon Rosa\nNeon Amarelo\nRemover Neons\nMenu Principal", "Selecionar", "Fechar"); empmoney(playerid, 19, 500); } else { SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao contem dinheiro."); ShowPlayerDialog(playerid, 9920, DIALOG_STYLE_LIST, "Tuning 2", "Hidraulica\nNitro\nNeon\nReparar\nMenu Principal", "Selecionar", "Fechar"); } case 7: { ShowPlayerDialog(playerid, 9920, DIALOG_STYLE_LIST, "Tuning 2", "Hidraulica\nNitro\nNeon\nReparar\nMenu Principal", "Selecionar", "Fechar"); } } } else { TunningOn[playerid] = 0; Controle(playerid, 1); SendClientMessage(playerid, -1, "Voce saiu da tunagem!"); return true; } } if(dialogid == D_INVENTARIO_MOBILE) { if(response) { ItemSelecionado[playerid] = InventarioListitem[playerid][listitem]; ShowPlayerDialogEx(playerid, D_OPCOES_INVENTARIO); } else { RemovePlayerAttachedObject(playerid, 9); ClearAnimations(playerid); } } // --------------------------------- // if(dialogid == D_OPCOES_INVENTARIO) { if(response) { // usar item if(listitem == 0) { DebugFechouInventario[playerid] = false; SetTimerEx("FecharInventarioEm", 200, false, "i", playerid); RemovePlayerAttachedObject(playerid, 9); ClearAnimations(playerid); new item = InventarioInfo[playerid][ItemSelecionado[playerid]][iSlot]; new slot = ItemSelecionado[playerid]; new str[1500]; GetPlayerName(playerid, sendername, sizeof sendername); if(item == 19382) return SendClientMessage(playerid, 0xFF6347AA, "* Nao ha itens suficientes para ser utilizado!"); if(item > 10 && item < 312 ){ new skin = GetPlayerSkin(playerid); SetPlayerSkin(playerid, item); for(new i = 0; i < 75; i++) { if(InventarioInfo[playerid][i][iSlot] == 19382) { format(str, 100, "* Voce colocou a skin %d", item); SendClientMessage(playerid, 0x00ccccFF, str); format(str, 100, "* %s Trocou de roupa.", PlayerName(playerid)); SendClientMessageInRange(30.0, playerid, str, 0xC2A2DAAA,0xC2A2DAAA,0xC2A2DAAA,0xC2A2DAAA,0xC2A2DAAA); InventarioInfo[playerid][slot][iSlot] = skin; InventarioInfo[playerid][slot][iUnidades] = 1; for(new o = 0; o<9; o++) { PlayerTextDrawDestroy(playerid,invBox[playerid][o]); } DiminuirInv(slot, playerid); FecharInventario(playerid); AbrirInventario(playerid); return 1; } } SendClientMessage(playerid, 0xFF6347AA, "* Seu inventario esta cheio!"); return 1; } if(item == 1271) // caixa de itens { // SCM(playerid, -1, "Item desativado"); if(IsPlayerInRC(playerid)) return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao pode colocar uma caixa de itens neste local!"); new Filea[40]; for(new i; i<1000; i++) { format(Filea,40, "Caixas/Caixa_%d.ini",i); if(!IsValidDynamicObject(SistemaCaixa[i][CaixaObj])) { new Float:p[3]; GetPlayerPos(playerid, p[0],p[1],p[2]); DOF2_CreateFile(Filea); format(SistemaCaixa[i][CaixaDono],40, NomePlayer(playerid)); for(new o; o<50; o++) { SistemaCaixa[i][CaixaItem][o] = 19382; } //format(SistemaCaixa[i][CaixaText],300,"{CD853F}• {FFFFFF}Caixa de Itens{CD853F} •\n{CD853F}Dono: {FFFFFF}%s\n{CD853F}Itens: {FFFFFF}%d/50\nAperte ' {CD853F}F{FFFFFF} ' para usar.",NomePlayer(playerid),ItemsCaixa(i)); format(SistemaCaixa[i][CaixaText],300,"Caixa de Itens\n\n\ Proprietario: {00FFFF}%s\n\ {FFFFFF}Itens: {00FFFF}%d/50\n\n\ {FFFFFF}Aperte a letra {00aaff}F{FFFFFF} para usar",NomePlayer(playerid),ItemsCaixa(i)); SistemaCaixa[i][CaixaX] = p[0]+1.6; SistemaCaixa[i][CaixaY] = p[1]+1.6; SistemaCaixa[i][CaixaZ] = p[2]+1.0; SistemaCaixa[i][CaixaRX] = 0; SistemaCaixa[i][CaixaRY] = 0; SistemaCaixa[i][CaixaRZ] = 0; SistemaCaixa[i][CaixaInterior] = GetPlayerInterior(playerid); SistemaCaixa[i][CaixaBaixada] = GetPlayerVirtualWorld(playerid); SistemaCaixa[i][CaixaObj] = CreateDynamicObject(1271, SistemaCaixa[i][CaixaX],SistemaCaixa[i][CaixaY], SistemaCaixa[i][CaixaZ], SistemaCaixa[i][CaixaRX], SistemaCaixa[i][CaixaRY], SistemaCaixa[i][CaixaRZ], SistemaCaixa[i][CaixaBaixada], SistemaCaixa[i][CaixaInterior], -1, 800.0); SistemaCaixa[i][Caixa3d] = CreateDynamic3DTextLabel(SistemaCaixa[i][CaixaText], -1, SistemaCaixa[i][CaixaX],SistemaCaixa[i][CaixaY], SistemaCaixa[i][CaixaZ], 30, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 0, SistemaCaixa[i][CaixaBaixada], SistemaCaixa[i][CaixaInterior], -1, 100.0); salvarcaixa(i); DiminuirInv(slot,playerid); for(new o = 0; o<9; o++) { PlayerTextDrawDestroy(playerid,invBox[playerid][o]); } FecharInventario(playerid); EditandoCaixa[playerid] = i; Streamer_Update(playerid); EditDynamicObjectExInTime(playerid,SistemaCaixa[i][CaixaObj]); SendClientMessage(playerid, -1, "{00FFFF}• {FFFFFF}Use os Eixos X, Y e Z para mover a posicao da sua Caixa de Itens."); SendClientMessage(playerid, -1, "{00FFFF}• {FFFFFF}Edite a Posicao da sua Caixa de Itens, e click no Icone de Salvar."); Streamer_Update(playerid); return 1; } } return 1; } if(item == 19576) // { SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Você comeu um Maça, +10 fome e +5 de vida."); format(string, sizeof(string), "* %s comeu uma Maça.", sendername); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SendClientMessage(playerid, COLOR_LIGHTBLUE,"* Você comeu uma Maça, e foi adicionado a sua fome!"); GameTextForPlayer(playerid, "~w~voce esta~n~~p~comendo...", 5000, 1); ApplyAnimationEx(playerid, "FOOD","EAT_Vomit_P",3.0,0,0,0,0,0); PlayerInfo[playerid][pFome] += 10; if(PlayerInfo[playerid][pFome] > 100) PlayerInfo[playerid][pFome] = 100; DiminuirInv(slot, playerid); FecharInventario(playerid); AtualizarTxDFS(playerid); AbrirInventario(playerid); for(new i = 0; i<9; i++) { PlayerTextDrawDestroy(playerid,invBox[playerid][i]); } return 1; } if(item == 19094) // { SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Você comeu um hamburguer, +15 fome e +5 de vida."); format(string, sizeof(string), "* %s comeu um hamburguer.", sendername); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SendClientMessage(playerid, COLOR_LIGHTBLUE,"* Você comeu um hamburguer, e foi adicionado a sua fome!"); GameTextForPlayer(playerid, "~w~voce esta~n~~p~comendo...", 5000, 1); ApplyAnimationEx(playerid, "FOOD","EAT_Vomit_P",3.0,0,0,0,0,0); PlayerInfo[playerid][pFome] += 15; if(PlayerInfo[playerid][pFome] > 100) PlayerInfo[playerid][pFome] = 100; DiminuirInv(slot, playerid); AtualizarTxDFS(playerid); FecharInventario(playerid); AbrirInventario(playerid); for(new i = 0; i<9; i++) { PlayerTextDrawDestroy(playerid,invBox[playerid][i]); } return 1; } if(item == 19578) // { SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Você comeu um Banana, +10 fome e +5 de vida."); format(string, sizeof(string), "* %s comeu uma Banana.", sendername); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SendClientMessage(playerid, COLOR_LIGHTBLUE,"* Você comeu uma Banana, e foi adicionado a sua fome!"); GameTextForPlayer(playerid, "~w~voce esta~n~~p~comendo...", 5000, 1); ApplyAnimationEx(playerid, "FOOD","EAT_Vomit_P",3.0,0,0,0,0,0); PlayerInfo[playerid][pFome] += 10; if(PlayerInfo[playerid][pFome] > 100) PlayerInfo[playerid][pFome] = 100; DiminuirInv(slot, playerid); FecharInventario(playerid); AbrirInventario(playerid); AtualizarTxDFS(playerid); for(new i = 0; i<9; i++) { PlayerTextDrawDestroy(playerid,invBox[playerid][i]); } return 1; } if(item == 19630) // { SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Você comeu um Peixe, +20 fome e +5 de vida."); format(string, sizeof(string), "* %s comeu um Peixe.", sendername); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SendClientMessage(playerid, COLOR_LIGHTBLUE,"* Você comeu um Peixe, e foi adicionado a sua fome!"); GameTextForPlayer(playerid, "~w~voce esta~n~~p~comendo...", 5000, 1); ApplyAnimationEx(playerid, "FOOD","EAT_Vomit_P",3.0,0,0,0,0,0); PlayerInfo[playerid][pFome] += 20; if(PlayerInfo[playerid][pFome] > 100) PlayerInfo[playerid][pFome] = 100; DiminuirInv(slot, playerid); AtualizarTxDFS(playerid); FecharInventario(playerid); AbrirInventario(playerid); for(new i = 0; i<9; i++) { PlayerTextDrawDestroy(playerid,invBox[playerid][i]); } return 1; } if(item == 19811) // { SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Você comeu um Lanche, +16 fome e +5 de vida."); format(string, sizeof(string), "* %s comeu um Lanche.", sendername); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SendClientMessage(playerid, COLOR_LIGHTBLUE,"* Você comeu um Lanche, e foi adicionado a sua fome!"); GameTextForPlayer(playerid, "~w~voce esta~n~~p~comendo...", 5000, 1); ApplyAnimationEx(playerid, "FOOD","EAT_Vomit_P",3.0,0,0,0,0,0); PlayerInfo[playerid][pFome] += 16; if(PlayerInfo[playerid][pFome] > 100) PlayerInfo[playerid][pFome] = 100; DiminuirInv(slot, playerid); AtualizarTxDFS(playerid); FecharInventario(playerid); AbrirInventario(playerid); for(new i = 0; i<9; i++) { PlayerTextDrawDestroy(playerid,invBox[playerid][i]); } return 1; } if(item == 19580) // { SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Você comeu um Pizza, +35 fome e +5 de vida."); format(string, sizeof(string), "* %s comeu uma Pizza.", sendername); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SendClientMessage(playerid, COLOR_LIGHTBLUE,"* Você comeu uma Pizza, e foi adicionado a sua fome!"); GameTextForPlayer(playerid, "~w~voce esta~n~~p~comendo...", 5000, 1); ApplyAnimationEx(playerid, "FOOD","EAT_Vomit_P",3.0,0,0,0,0,0); PlayerInfo[playerid][pFome] += 35; if(PlayerInfo[playerid][pFome] > 100) PlayerInfo[playerid][pFome] = 100; DiminuirInv(slot, playerid); AtualizarTxDFS(playerid); FecharInventario(playerid); AbrirInventario(playerid); for(new i = 0; i<9; i++) { PlayerTextDrawDestroy(playerid,invBox[playerid][i]); } return 1; } if(item == 19574) // { SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Você comeu uma Laranja, +20 fome e +5 de vida."); format(string, sizeof(string), "* %s comeu uma Laranja.", sendername); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SendClientMessage(playerid, COLOR_LIGHTBLUE,"* Você comeu uma Laranja, e foi adicionado a sua fome!"); GameTextForPlayer(playerid, "~w~voce esta~n~~p~comendo...", 5000, 1); ApplyAnimationEx(playerid, "FOOD","EAT_Vomit_P",3.0,0,0,0,0,0); PlayerInfo[playerid][pFome] += 20; if(PlayerInfo[playerid][pFome] > 100) PlayerInfo[playerid][pFome] = 100; DiminuirInv(slot, playerid); AtualizarTxDFS(playerid); FecharInventario(playerid); AbrirInventario(playerid); for(new i = 0; i<9; i++) { PlayerTextDrawDestroy(playerid,invBox[playerid][i]); } return 1; } if(item == 19835) // { SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Você bebeu uma lata de coca-cola, +10 sede e +5 vida."); format(string, sizeof(string), "* %s bebeu uma lata de coca-cola.", sendername); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SendClientMessage(playerid, COLOR_LIGHTBLUE,"* Você bebeu uma lata de coca-cola, e foi adicionado a sua sede!"); GameTextForPlayer(playerid, "~w~voce esta~n~~p~bebendo coca-cola...", 5000, 1); ApplyAnimationEx(playerid, "FOOD","EAT_Vomit_P",3.0,0,0,0,0,0); PlayerInfo[playerid][pSede] += 10; if(PlayerInfo[playerid][pSede] > 100) PlayerInfo[playerid][pSede] = 100; DiminuirInv(slot, playerid); AtualizarTxDFS(playerid); FecharInventario(playerid); AbrirInventario(playerid); for(new i = 0; i<9; i++) { PlayerTextDrawDestroy(playerid,invBox[playerid][i]); } return 1; } if(item == 19570) // { SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Você bebeu uma garrafa de leite, +35 sede e +5 de vida."); format(string, sizeof(string), "* %s bebeu um litro de leite.", sendername); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SendClientMessage(playerid, COLOR_LIGHTBLUE,"* Você bebeu um litro de leite, e foi adicionado a sua sede!"); GameTextForPlayer(playerid, "~w~voce esta~n~~p~bebendo leite...", 5000, 1); ApplyAnimationEx(playerid, "FOOD","EAT_Vomit_P",3.0,0,0,0,0,0); PlayerInfo[playerid][pSede] += 35; if(PlayerInfo[playerid][pSede] > 100) PlayerInfo[playerid][pSede] = 100; DiminuirInv(slot, playerid); FecharInventario(playerid); AbrirInventario(playerid); AtualizarTxDFS(playerid); for(new i = 0; i<9; i++) { PlayerTextDrawDestroy(playerid,invBox[playerid][i]); } return 1; } if(item == 2647) // { SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Você bebeu refrigerante, +25 sede e +5 de vida."); format(string, sizeof(string), "* %s bebeu um refrigerante.", sendername); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SendClientMessage(playerid, COLOR_LIGHTBLUE,"* Você bebeu um refrigerante, e foi adicionado a sua sede!"); GameTextForPlayer(playerid, "~w~voce esta~n~~p~bebendo refrigerante...", 5000, 1); ApplyAnimationEx(playerid, "FOOD","EAT_Vomit_P",3.0,0,0,0,0,0); PlayerInfo[playerid][pSede] += 25; if(PlayerInfo[playerid][pSede] > 100) PlayerInfo[playerid][pSede] = 100; DiminuirInv(slot, playerid); AtualizarTxDFS(playerid); FecharInventario(playerid); AbrirInventario(playerid); AtualizarTxDFS(playerid); for(new i = 0; i<9; i++) { PlayerTextDrawDestroy(playerid,invBox[playerid][i]); } return 1; } if(item == 980) // portao { // SendClientMessage(playerid, COLOR_GRAD1,"[ INFO ] Desativado por enquanto."); if(IsPlayerInRC(playerid)) return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao pode colocar um portao neste local!"); new Filea[40]; for(new i; i<1000; i++) { format(Filea,40, "Portoes/Portao_%d.ini",i); if(!IsValidDynamicObject(SistemaPortao[i][PortaoObj])) { new Float:p[3]; GetPlayerPos(playerid, p[0],p[1],p[2]); DOF2_CreateFile(Filea); EditandoCaixa[playerid] = -1; format(SistemaPortao[i][PortaoDono],40, NomePlayer(playerid)); format(SistemaPortao[i][PortaoSenha],20, "1234"); format(SistemaPortao[i][PortaoText],300,"{FFA500}Portao de %s buzine ou\ndigite /abrirportao para abrir",SistemaPortao[i][PortaoDono]); SistemaPortao[i][PortaoX] = p[0]+1.6; SistemaPortao[i][PortaoY] = p[1]+1.6; SistemaPortao[i][PortaoZ] = p[2]+1.0; SistemaPortao[i][PortaoRX] = 0; SistemaPortao[i][PortaoRY] = 0; SistemaPortao[i][PortaoRZ] = 0; SistemaPortao[i][PortaoInterior] = GetPlayerInterior(playerid); SistemaPortao[i][PortaoBaixada] = GetPlayerVirtualWorld(playerid); SistemaPortao[i][PortaoObj] = CreateDynamicObject(980, SistemaPortao[i][PortaoX],SistemaPortao[i][PortaoY], SistemaPortao[i][PortaoZ], SistemaPortao[i][PortaoRX], SistemaPortao[i][PortaoRY], SistemaPortao[i][PortaoRZ], SistemaPortao[i][PortaoBaixada], SistemaPortao[i][PortaoInterior], -1, 800.0); SistemaPortao[i][Portao3d] = CreateDynamic3DTextLabel(SistemaPortao[i][PortaoText], -1, SistemaPortao[i][PortaoX],SistemaPortao[i][PortaoY], SistemaPortao[i][PortaoZ], 30, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 0, SistemaPortao[i][PortaoBaixada], SistemaPortao[i][PortaoInterior], -1, 100.0); DOF2_SetString(Filea,"PortaoDono", SistemaPortao[i][PortaoDono] ); DOF2_SetString(Filea,"PortaoSenha", SistemaPortao[i][PortaoSenha] ); DOF2_SetString(Filea,"PortaoText", SistemaPortao[i][PortaoText] ); DOF2_SetFloat(Filea,"PortaoX", SistemaPortao[i][PortaoX] ); DOF2_SetFloat(Filea,"PortaoY", SistemaPortao[i][PortaoY] ); DOF2_SetFloat(Filea,"PortaoZ", SistemaPortao[i][PortaoZ] ); DOF2_SetFloat(Filea,"PortaoRX", SistemaPortao[i][PortaoRX] ); DOF2_SetFloat(Filea,"PortaoRY", SistemaPortao[i][PortaoRY] ); DOF2_SetFloat(Filea,"PortaoRZ", SistemaPortao[i][PortaoRZ] ); DOF2_SetInt(Filea,"PortaoInterior", SistemaPortao[i][PortaoInterior] ); DOF2_SetInt(Filea,"PortaoBaixada", SistemaPortao[i][PortaoBaixada] ); DOF2_SaveFile(); DiminuirInv(slot,playerid); FecharInventario(playerid); for(new o = 0; o<9; o++) { PlayerTextDrawDestroy(playerid,invBox[playerid][o]); } EditandoPortao[playerid] = i; Streamer_Update(playerid); EditDynamicObjectExInTime(playerid,SistemaPortao[i][PortaoObj]); SendClientMessage(playerid, -1, "{00FFFF}• {FFFFFF}Use os Eixos X, Y e Z para mover a posicao do seu Portao."); SendClientMessage(playerid, -1, "{00FFFF}• {FFFFFF}Edite a Posicao do seu Portao, e click no Icone de Salvar."); Streamer_Update(playerid); format(str,300, "portao %d criado",i); print(str); return 1; } } return 1; } if(item == 3016){ new Float:X, Float:Y, Float:Z; GetPlayerPos(playerid, X, Y, Z); createCaixaEquipamento(1, 10, X, Y+2, Z-0.8); SendClientMessage(playerid, 0x00ccccFF, "* Voce montou uma Caixa de equipamentos P, segure Y em cima dela para equipar!"); SetPlayerPos(playerid, X, Y+0.1, Z); DiminuirInv(slot, playerid); FecharInventario(playerid); AbrirInventario(playerid); for(new i = 0; i<9; i++) { PlayerTextDrawDestroy(playerid,invBox[playerid][i]); } return 1; } if(item == 3052){ new Float:X, Float:Y, Float:Z; GetPlayerPos(playerid, X, Y, Z); createCaixaEquipamento(2, 10, X, Y+2, Z-0.8); SendClientMessage(playerid, 0x00ccccFF, "* Voce montou uma Caixa de equipamentos M, segure Y em cima dela para equipar!"); SetPlayerPos(playerid, X, Y+0.1, Z); DiminuirInv(slot, playerid); FecharInventario(playerid); AbrirInventario(playerid); for(new i = 0; i<9; i++) { PlayerTextDrawDestroy(playerid,invBox[playerid][i]); } return 1; } if(item == 3014){ new Float:X, Float:Y, Float:Z; GetPlayerPos(playerid, X, Y, Z); createCaixaEquipamento(3, 10, X, Y+2, Z-0.8); SendClientMessage(playerid, 0x00ccccFF, "* Voce montou uma Caixa de equipamentos G, segure Y em cima dela para equipar!"); SetPlayerPos(playerid, X, Y+0.1, Z); DiminuirInv(slot, playerid); FecharInventario(playerid); AbrirInventario(playerid); for(new i = 0; i<9; i++) { PlayerTextDrawDestroy(playerid,invBox[playerid][i]); } return 1; } if(item == 19054) // Caixa Pequena { //new it[2]; // new tem; SetPVarInt(playerid, "amountMoney", 1000+random(1000)); SendClientMessage(playerid, 0x00ccccFF, "* Voce abriu uma Caixa Supresa Pequena!"); format(str, 300, "{FFFFFF}Itens:\n\n\ {F5DEB3}Respeitos: {FFFFFF}1 Unidade(s)\n\ {F5DEB3}Dinheiro: {FFFFFF}%d Unidade(s)\n\n\ {FF6347}*OBS: {BFC0C2}Os itens foram colocados no seu inventario!", GetPVarInt(playerid, "amountMoney")); ShowPlayerDialog(playerid, 5471, DIALOG_STYLE_MSGBOX, "» Itens da Caixa Supresa Pequena", str, "Fechar", ""); new Float: X, Float: Y, Float: Z; GetPlayerPos(playerid, X, Y, Z); CreateDroppedItem(1212, GetPVarInt(playerid, "amountMoney"), X, Y, Z); CreateDroppedItem(19941, 1, X, Y+0.5, Z); SetPlayerPos(playerid, X, Y+0.1, Z); DiminuirInv(slot, playerid); FecharInventario(playerid); AbrirInventario(playerid); for(new i = 0; i<9; i++) { PlayerTextDrawDestroy(playerid,invBox[playerid][i]); } return 1; } // skin if(item == 19058) // Caixa Pequena { PlayerInfo[playerid][pCasher] += GetPVarInt(playerid, "amountCash"); SetPVarInt(playerid, "amountMoney", 10000+random(1000)); SendClientMessage(playerid, 0x00ccccFF, "* Voce abriu uma Caixa Surpresa Gigante!"); format(str, 300, "{FFFFFF}Itens:\n\n\ {F5DEB3}Respeitos: {FFFFFF}15 Unidade(s)\n\ {F5DEB3}Dinheiro: {FFFFFF}%d Unidade(s)\n\ {F5DEB3}Item raro: {FFFFFF}1 Unidade(s)\n\ {F5DEB3}Maca: {FFFFFF}1 Unidade(s)\n\n\ {FF6347}*OBS: {BFC0C2}Os itens foram colocados no seu inventario!", GetPVarInt(playerid, "amountMoney"), GetPVarInt(playerid, "amountCash")); ShowPlayerDialog(playerid, 5471, DIALOG_STYLE_MSGBOX, "» Itens da Caixa Surpresa Gigante", str, "Fechar", ""); new Float: X, Float: Y, Float: Z; GetPlayerPos(playerid, X, Y, Z); CreateDroppedItem(1212, GetPVarInt(playerid, "amountMoney"), X, Y, Z); CreateDroppedItem(19941, 15, X, Y+0.5, Z); SetPlayerPos(playerid, X, Y+0.1, Z); DiminuirInv(slot, playerid); FecharInventario(playerid); AbrirInventario(playerid); for(new i = 0; i<9; i++) { PlayerTextDrawDestroy(playerid,invBox[playerid][i]); } if(InventarioInfo[playerid][slot][iUnidades] > 1) return InventarioInfo[playerid][slot][iUnidades] --; if(InventarioInfo[playerid][slot][iUnidades] == 1){ InventarioInfo[playerid][slot][iUnidades] = 0; InventarioInfo[playerid][slot][iSlot] = 19382; } new raropresente = random(8); if(raropresente == 0) { AddItem(playerid, 19086, 1); return 1; } if(raropresente == 1) { AddItem(playerid, 19078, 1); return 1; } if(raropresente == 2) { AddItem(playerid, 19137, 1); return 1; } if(raropresente == 3) { AddItem(playerid, 19625, 1); return 1; } if(raropresente == 4) { AddItem(playerid, 321, 1); return 1; } if(raropresente == 5) { AddItem(playerid, 2469, 1); return 1; } if(raropresente == 6) { AddItem(playerid, 19319, 1); return 1; } if(raropresente == 7) { AddItem(playerid, 19631, 1); return 1; } FecharInventario(playerid); AbrirInventario(playerid); return 1; } if(item == 19059) //Reveillon { SetPVarInt(playerid, "amountCash", 200+random(100)); PlayerInfo[playerid][pCasher] += GetPVarInt(playerid, "amountCash"); SetPVarInt(playerid, "amountMoney", 40000+random(1000)); SendClientMessage(playerid, 0x00ccccFF, "* Voce abriu uma Caixa Surpresa Reveillon 2019!"); format(str, 800, "{FFFFFF}Itens:\n\n\ {F5DEB3}Respeitos: {FFFFFF}5 Unidade(s)\n\ {F5DEB3}Dinheiro: {FFFFFF}%d Unidade(s)\n\ {F5DEB3}Cash: {FFFFFF}%d Unidade(s)\n\ {F5DEB3}Item Cavalo: {FFFFFF}1 Unidade(s)\n\ {F5DEB3}Item Bota: {FFFFFF}1 Unidade(s)\n\ {F5DEB3}Item Laser: {FFFFFF}1 Unidade(s)\n\n\ {FF6347}*OBS: {BFC0C2}Os itens foram colocados no seu inventario!", GetPVarInt(playerid, "amountMoney"), GetPVarInt(playerid, "amountCash")); ShowPlayerDialog(playerid, 5471, DIALOG_STYLE_MSGBOX, "» Itens da Caixa Surpresa Reveillon 2020", str, "Fechar", ""); new Float: X, Float: Y, Float: Z; GetPlayerPos(playerid, X, Y, Z); CreateDroppedItem(1212, GetPVarInt(playerid, "amountMoney"), X, Y, Z); CreateDroppedItem(19941, 5, X, Y+0.5, Z); SetPlayerPos(playerid, X, Y+0.1, Z); for(new i = 0; i<9; i++) { PlayerTextDrawDestroy(playerid,invBox[playerid][i]); } DiminuirInv(slot, playerid); AddItem(playerid, 11733, 1); AddItem(playerid, 11735, 1); AddItem(playerid, 19080, 1); AddItem(playerid, 19424, 1); FecharInventario(playerid); AbrirInventario(playerid); return 1; } if(item == 19060) // Caixa Pequena { SetPVarInt(playerid, "amountCash", 400+random(60)); PlayerInfo[playerid][pCasher] += GetPVarInt(playerid, "amountCash"); SetPVarInt(playerid, "amountMoney", 700000+random(1000)); SendClientMessage(playerid, 0x00ccccFF, "* Voce abriu uma Caixa Surpresa Natal!"); format(str, 800, "{FFFFFF}Itens:\n\n\ {F5DEB3}Respeitos: {FFFFFF}5 Unidade(s)\n\ {F5DEB3}Dinheiro: {FFFFFF}%d Unidade(s)\n\ {F5DEB3}Cash: {FFFFFF}%d Unidade(s)\n\ {F5DEB3}Item raro: {FFFFFF}1 Unidade(s)\n\n\ {FF6347}*OBS: {BFC0C2}Os itens foram colocados no seu inventario!", GetPVarInt(playerid, "amountMoney"), GetPVarInt(playerid, "amountCash")); ShowPlayerDialog(playerid, 5471, DIALOG_STYLE_MSGBOX, "» Itens da Caixa Surpresa Natal", str, "Fechar", ""); new Float: X, Float: Y, Float: Z; GetPlayerPos(playerid, X, Y, Z); CreateDroppedItem(1212, GetPVarInt(playerid, "amountMoney"), X, Y, Z); CreateDroppedItem(19941, 5, X, Y+0.5, Z); SetPlayerPos(playerid, X, Y+0.1, Z); for(new i = 0; i<9; i++) { PlayerTextDrawDestroy(playerid,invBox[playerid][i]); } DiminuirInv(slot, playerid); FecharInventario(playerid); AbrirInventario(playerid); new raropresente = random(8); if(raropresente == 1) { AddItem(playerid, 19424, 1); return 1; } if(raropresente == 2) { AddItem(playerid, 19424, 1); return 1; } if(raropresente == 3) { AddItem(playerid, 3528, 1); return 1; } if(raropresente == 4) { AddItem(playerid, 557, 1); return 1; } if(raropresente == 5) { AddItem(playerid, 415, 1); return 1; } if(raropresente == 6) { AddItem(playerid, 19066, 1); return 1; } if(raropresente == 7) { AddItem(playerid, 19065, 1); return 1; } if(raropresente == 8) { AddItem(playerid, 19064, 1); return 1; } return 1; } if(item == 19057) // Caixa Pequena { SetPVarInt(playerid, "amountCash", 199+random(60)); PlayerInfo[playerid][pCasher] += GetPVarInt(playerid, "amountCash"); SetPVarInt(playerid, "amountMoney", 10000+random(1000)); SendClientMessage(playerid, 0x00ccccFF, "* Voce abriu uma Caixa Surpresa Extreme!"); format(str, 800, "{FFFFFF}Itens:\n\n\ {F5DEB3}Respeitos: {FFFFFF}5 Unidade(s)\n\ {F5DEB3}Dinheiro: {FFFFFF}%d Unidade(s)\n\ {F5DEB3}Cash: {FFFFFF}%d Unidade(s)\n\ {F5DEB3}Item raro: {FFFFFF}1 Unidade(s)\n\ {F5DEB3}Maca: {FFFFFF}1 Unidade(s)\n\n\ {FF6347}*OBS: {BFC0C2}Os itens foram colocados no seu inventario!", GetPVarInt(playerid, "amountMoney"), GetPVarInt(playerid, "amountCash")); ShowPlayerDialog(playerid, 5471, DIALOG_STYLE_MSGBOX, "» Itens da Caixa Surpresa Extreme", str, "Fechar", ""); new Float: X, Float: Y, Float: Z; GetPlayerPos(playerid, X, Y, Z); CreateDroppedItem(1212, GetPVarInt(playerid, "amountMoney"), X, Y, Z); CreateDroppedItem(19941, 5, X, Y+0.5, Z); SetPlayerPos(playerid, X, Y+0.1, Z); format(string, sizeof(string), "[Caixa Surpresa]:{FFFFFF} %s abriu uma Caixa Surpresa {FF5A00}Extreme{FFFFFF}.", PlayerName(playerid)); SendClientMessageToAll(0x9c9c9cFF, string); DiminuirInv(slot, playerid); FecharInventario(playerid); AbrirInventario(playerid); for(new i = 0; i<9; i++) { PlayerTextDrawDestroy(playerid,invBox[playerid][i]); } new raropresente = random(8); if(raropresente == 1) { AddItem(playerid, 1276, 1); return 1; } if(raropresente == 2) { AddItem(playerid, 370, 1); return 1; } if(raropresente == 3) { AddItem(playerid, 3528, 1); return 1; } if(raropresente == 4) { AddItem(playerid, 19086, 1); return 1; } if(raropresente == 5) { AddItem(playerid, 1274, 1); return 1; } if(raropresente == 6) { AddItem(playerid, 19081, 1); return 1; } if(raropresente == 7) { AddItem(playerid, 19080, 1); return 1; } if(raropresente == 8) { AddItem(playerid, 19084, 1); return 1; } return 1; } if(item == 19055) // Caixa Pequena { SetPVarInt(playerid, "amountMoney", 2000+random(1000)); SendClientMessage(playerid, 0x00ccccFF, "* Voce abriu uma Caixa Supresa Media!"); format(str, 300, "{FFFFFF}Itens:\n\n\ {F5DEB3}Respeitos: {FFFFFF}1 Unidade(s)\n\ {F5DEB3}Dinheiro: {FFFFFF}%d Unidade(s)\n\n\ {FF6347}*OBS: {BFC0C2}Os itens foram colocados no seu inventario!", GetPVarInt(playerid, "amountMoney")); ShowPlayerDialog(playerid, 5471, DIALOG_STYLE_MSGBOX, "» Itens da Caixa Supresa", str, "Fechar", ""); new Float: X, Float: Y, Float: Z; GetPlayerPos(playerid, X, Y, Z); CreateDroppedItem(1212, GetPVarInt(playerid, "amountMoney"), X, Y, Z); CreateDroppedItem(19941, 1, X, Y+0.5, Z); SetPlayerPos(playerid, X, Y+0.1, Z); DiminuirInv(slot, playerid); FecharInventario(playerid); AbrirInventario(playerid); for(new i = 0; i<9; i++) { PlayerTextDrawDestroy(playerid,invBox[playerid][i]); } return 1; } if(item == 1212) // dinheiro { format(str,300,"* Voce pegou $%d do seu inventario!",InventarioInfo[playerid][slot][iUnidades]); SendClientMessage(playerid,0x00ccccFF,str); GiveDinheiro(playerid, InventarioInfo[playerid][slot][iUnidades] );// InventarioInfo[playerid][slot][iSlot] = 19382; InventarioInfo[playerid][slot][iUnidades] = 0; FecharInventario(playerid); AbrirInventario(playerid); for(new i = 0; i<9; i++) { PlayerTextDrawDestroy(playerid,invBox[playerid][i]); } return 1; } if(item == 19941) // skin { format(str,300,"* Voce adquiriu +%d respeito do seu inventario!",InventarioInfo[playerid][slot][iUnidades]); SendClientMessage(playerid,0x00ccccFF,str); PlayerInfo[playerid][pExp] += InventarioInfo[playerid][slot][iUnidades];// InventarioInfo[playerid][slot][iSlot] = 19382; InventarioInfo[playerid][slot][iUnidades] = 0; FecharInventario(playerid); AbrirInventario(playerid); for(new i = 0; i<9; i++) { PlayerTextDrawDestroy(playerid,invBox[playerid][i]); } return 1; } if(item == 19056) // Caixa Pequena { SetPVarInt(playerid, "amountMoney", 5000+random(1000)); SendClientMessage(playerid, 0x00ccccFF, "* Voce abriu uma Caixa Supresa Grande!"); format(str, 300, "{FFFFFF}Itens:\n\n\ {F5DEB3}Maca: {FFFFFF}1 Unidade(s)\n\ {F5DEB3}Leite: {FFFFFF}1 Unidade(s)\n\ {F5DEB3}Respeitos: {FFFFFF}4 Unidade(s)\n\ {F5DEB3}Dinheiro: {FFFFFF}%d Unidade(s)\n\n\ {FF6347}*OBS: {BFC0C2}Os itens foram colocados no seu inventario!", GetPVarInt(playerid, "amountMoney")); ShowPlayerDialog(playerid, 5471, DIALOG_STYLE_MSGBOX, "» Itens da Caixa Supresa Grande", str, "Fechar", ""); new Float: X, Float: Y, Float: Z; GetPlayerPos(playerid, X, Y, Z); CreateDroppedItem(1212, GetPVarInt(playerid, "amountMoney"), X, Y, Z); CreateDroppedItem(19941, 4, X, Y+0.5, Z); SetPlayerPos(playerid, X, Y+0.1, Z); DiminuirInv(slot, playerid); FecharInventario(playerid); AbrirInventario(playerid); for(new i = 0; i<9; i++) { PlayerTextDrawDestroy(playerid,invBox[playerid][i]); } return 1; } if(item == 1210) // Caixa Pequena { PlayerInfo[playerid][pCasher] += 2; SetPVarInt(playerid, "amountMoney", 10000+random(1000)); SendClientMessage(playerid, 0x00ccccFF, "* Voce abriu uma Maleta!"); format(str, 300, "{FFFFFF}Itens:\n\n\ {F5DEB3}Respeitos: {FFFFFF}10 Unidade(s)\n\ {F5DEB3}Dinheiro: {FFFFFF}%d Unidade(s)\n\ {F5DEB3}Cash: {FFFFFF}2 Unidade(s)\n\ {F5DEB3}Item: {FFFFFF}1 Unidade(s)\n\n\ {FF6347}*OBS: {BFC0C2}Os itens foram colocados no seu inventario!", GetPVarInt(playerid, "amountMoney")); ShowPlayerDialog(playerid, 5471, DIALOG_STYLE_MSGBOX, "» Itens da Maleta", str, "Fechar", ""); format(string, sizeof(string), "[{FFFFFF}Maleta{47EE0B}]: %s{FFFFFF} abriu uma Maleta.", PlayerName(playerid)); SendClientMessageToAll(0x47EE0BFF, string); new Float: X, Float: Y, Float: Z; GetPlayerPos(playerid, X, Y, Z); AddItem(playerid, 1212, GetPVarInt(playerid, "amountMoney")); AddItem(playerid, 19941, 10); SetPlayerPos(playerid, X, Y+0.1, Z); DiminuirInv(slot, playerid); FecharInventario(playerid); AbrirInventario(playerid); for(new i = 0; i<9; i++) { PlayerTextDrawDestroy(playerid,invBox[playerid][i]); } new raropresente = random(8); if(raropresente == 1) { AddItem(playerid, 18641, 1); return 1; } if(raropresente == 2) { AddItem(playerid, 19528, 1); return 1; } if(raropresente == 3) { AddItem(playerid, 19137, 1); return 1; } if(raropresente == 4) { AddItem(playerid, 1240, 1); return 1; } if(raropresente == 5) { AddItem(playerid, 1240, 1); return 1; } if(raropresente == 6) { AddItem(playerid, 2469, 1); return 1; } if(raropresente == 7) { AddItem(playerid, 19319, 1); return 1; } if(raropresente == 8) { AddItem(playerid, 19319, 1); return 1; } return 1; } if(item == 11737) // skin { SendClientMessage(playerid, 0x00ccccFF, "* Voce abriu um Pacote de Efeito e o efeito foi colocado no seu inventario, aperte N para usar."); format(string, sizeof(string), "[Pacote de Efeitos]: {FFFFFF}%s abriu um Pacote de Efeitos para voce comprar o seu efeito digite /lojavip.", PlayerName(playerid)); SendClientMessageToAll(0xFF69B4FF, string); DiminuirInv(slot, playerid); FecharInventario(playerid); AbrirInventario(playerid); for(new i = 0; i<9; i++) { PlayerTextDrawDestroy(playerid,invBox[playerid][i]); } new raroefeito = random(3); if(raroefeito == 0) { AddItem(playerid, 18693, 1); return 1; } if(raroefeito == 1) { AddItem(playerid, 18729, 1); return 1; } if(raroefeito == 2) { AddItem(playerid, 18688, 1); return 1; } if(raroefeito == 3) { AddItem(playerid, 18688, 1); return 1; } return 1; } if(item == 11738) // skin { DiminuirInv(slot, playerid); FecharInventario(playerid); AbrirInventario(playerid); for(new i = 0; i<9; i++) { PlayerTextDrawDestroy(playerid,invBox[playerid][i]); } ForT:mekitkjms(playerid); return 1; } if(item == 1654) // skin { ForT:explosivao(playerid); DiminuirInv(slot, playerid); FecharInventario(playerid); AbrirInventario(playerid); for(new i = 0; i<9; i++) { PlayerTextDrawDestroy(playerid,invBox[playerid][i]); } return 1; } if(item == 2901) // skin { if(PlayerInfo[playerid][pSementes] < 1) return SendClientMessage(playerid, AMARELO_COR, "Voce nao possui sementes de maconha para plantar"); if(GetPlayerInterior(playerid) > 0 || IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, AMARELO_COR, "Voce nao pode plantar maconha agora!"); if(GetPlayerSpeedEx(playerid) > 1) return SendClientMessage(playerid, AMARELO_COR, "Voce precisa estar parado para plantar a semente"); if(CountPlantacao(playerid) >= 10) return SendClientMessage(playerid, AMARELO_COR, "Voce pode plantar no maximo 10 sementes"); if(PlantandoMaconha[playerid] == true) return SendClientMessage(playerid, AMARELO_COR, "Voce ja esta plantando ou colhendo uma semente"); if(IsPlayerInRC(playerid)) return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao pode plantar maconha em areas neutras!"); for(new mac = 0; mac < MAX_MACONHA; mac++) { if(MaconhaInfo[mac][PodeUsar] == false && IsPlayerInRangeOfPoint(playerid, 5.0, MaconhaInfo[mac][mX],MaconhaInfo[mac][mY],MaconhaInfo[mac][mZ])) { SendClientMessage(playerid, COLOR_GRAD1, "Ja existe uma plantacao de maconha muito proximo a este local"); return true; } } FecharInventario(playerid); for(new i = 0; i<9; i++) { PlayerTextDrawDestroy(playerid,invBox[playerid][i]); } ForT:maconhadotio(playerid); return 1; } if(item == 370) // skin { FecharInventario(playerid); AbrirInventario(playerid); for(new i = 0; i<9; i++) { PlayerTextDrawDestroy(playerid,invBox[playerid][i]); } if(IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid,-1,"Voce nao pode usar seu jetpack em um veiculo !"); if(GetPlayerSpecialAction(playerid) == 2) return SendClientMessage(playerid,-1,"Voce ja esta com seu JetPack !"); FecharInventario(playerid); RemovePlayerAttachedObject(playerid, 9); CancelSelectTextDraw(playerid); SetPlayerSpecialAction(playerid, 2); format(str, sizeof str, "* O jogador %s pegou seu JetPack.", NomePlayer(playerid)); SendClientMessageInRange(30.0, playerid, str, 0x33AA33AA, 0x33AA33AA,0x33AA33AA, 0x33AA33AA, 0x33AA33AA); SendClientMessage(playerid, COLOR_YELLOW, "Aviso: Voce Pegou um JetPack!"); return 1; } if(item >= 331 && item < 369) { GivePlayerWeapon(playerid,MudarIdArma(item), InventarioInfo[playerid][slot][iUnidades]); format(string, sizeof string, "* Voce pegou uma %s com %d bala(s) do seu inventario !", NomeArmaInventario(InventarioInfo[playerid][slot][iSlot]), InventarioInfo[playerid][slot][iUnidades]); SendClientMessage(playerid, 0x00ccccFF, string); InventarioInfo[playerid][slot][iSlot] = 19382; InventarioInfo[playerid][slot][iUnidades] = 0; DiminuirInv(slot, playerid); FecharInventario(playerid); AbrirInventario(playerid); for(new i = 0; i<9; i++) { PlayerTextDrawDestroy(playerid,invBox[playerid][i]); } return 1; } if(item > 399 && item < 612) { FecharInventario(playerid); for(new i = 0; i<9; i++) { PlayerTextDrawDestroy(playerid,invBox[playerid][i]); } if(carroinvCriado[playerid] == 0) { if(GetPlayerInterior(playerid) > 0) return SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao pode usar um carro de inventário nesse local!"); if(PlayerInfo[playerid][pJailed] > 0) return SendClientMessage(playerid, COLOR_GRAD1, "Voce esta preso, nao pode usar sua NRG-500!"); GetPlayerPos(playerid,InvX[playerid],InvY[playerid],InvZ[playerid]); GetPlayerFacingAngle(playerid,InvR[playerid]); if(carroinvID[playerid] != INVALID_VEHICLE_ID) DestroyVehicleEx(carroinvID[playerid]); carroinvID[playerid] = INVALID_VEHICLE_ID; carroinvID[playerid] = CreateVehicleDebug(item, InvX[playerid], InvY[playerid], InvZ[playerid], InvR[playerid], -1, -1, 0); carroinvCriado[playerid] = 1; Gas[carroinvID[playerid]] = 100; PutPlayerInVehicle(playerid,carroinvID[playerid],0); format(string, sizeof string, "[%s]: acaba de spawnar seu %s de Inventário.", NomePlayer(playerid), getVehicleName(carroinvID[playerid])); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); } CancelSelectTextDraw(playerid); return 1; } if(item == 1314) { new msgbrazz[1200]; format(msgbrazz, 1200, "{00FF00}ATENCAO, Para criar sua Familia, vocé deve seguir alguns critérios citado abaixo, ou podera\n\ ter sua Familia VIP removida por um administrador sem direito a reembolso!\n\ \n\ \n\ {00FFFF}Leia atentamente:\n\ {FFFFFF}• Sua Familia nao podera ser criada próximo ao Spawn Civil, Prefeitura, Penitenciaria e dentre outras areas neutra.\n\ {FFFFFF}• Sua Familia de maneira nenhuma podera ser criada do meio da RUA.\n\ {FFFFFF}• Sua familia podera conter no minimo 3 digito. e no maximo 30.\n\ {FFFFFF}• E Possivel adicionar um sub-lider na Familia, Para ver os comandos basta digitar: /fpromover.\n\ {FFFFFF}• Quem usar este item ficara como fundador da Familia e nao tera como transferir posteriormente.\n\ {4F4F4F}Clique apenas em '{FFFFFF}Prosseguir{4F4F4F}' quando ja estiver no local exato de onde sera a HQ"); if(PlayerInfo[playerid][pFamiliaID] != 0) return SCM(playerid, COLOR_LIGHTRED, "Voce ja tem uma familia."); ShowPlayerDialog(playerid, 15339, DIALOG_STYLE_INPUT, "Criar Familia CNF", msgbrazz, #Prosseguir, #Cancelar); SetPVarInt(playerid, #VarSlotFamilia, slot); return 1; } if(item != 980) { for(new o; o < 10; o++) { if(!IsPlayerAttachedObjectSlotUsed(playerid, o)) { new str1[300]; format(str1,300,"Espinha\nCabeca\nBraco esquerdo\nBraco direito\nMao esquerda\nMao direita\nCoxa esquerda\nCoxa direita\nPe esquerdo\nPe direito\nPanturrilha direita\nPanturrilha esquerda\nAntebraco esquerdo\nAntebraco direito\nOmbro esquerto\nOmbro direito\nPescoco\nMandibula"); SetPVarInt(playerid,"slotusar",slot); ShowPlayerDialog(playerid, 21215, DIALOG_STYLE_LIST, "Escolher Local", str1, "Escolher", "Cancelar"); FecharInventario(playerid); for(new i = 0; i<9; i++) { PlayerTextDrawDestroy(playerid,invBox[playerid][i]); } CancelSelectTextDraw(playerid); if(!IsPlayerInAnyVehicle(playerid)) ClearAnimations(playerid); if(!IsPlayerInAnyVehicle(playerid)) SetPlayerSpecialAction(playerid,SPECIAL_ACTION_NONE); RemovePlayerAttachedObject(playerid, 9); return 1; } } } SendClientMessage(playerid,-1,"Voce ja tem 10 acessorios."); } // Vender item if(listitem == 1) { ItemVender[playerid] = ItemSelecionado[playerid]; RemovePlayerAttachedObject(playerid, 9); ClearAnimations(playerid); new Float:p[3]; //new str1[40]; //new str[300]; //new cu; GetPlayerPos(playerid, p[0],p[1],p[2]); if(InventarioInfo[playerid][ItemSelecionado[playerid]][iSlot] == 19382){ SCM(playerid, 0xFF6347AA, "* Nao ha itens suficientes para ser vendido!"); for(new i = 0; i<9; i++) { PlayerTextDrawDestroy(playerid,invBox[playerid][i]); } return 1; } if(VendendoInv[playerid] == 1) return SCM(playerid,-1,"Voce ja esta negociando um item!"); VendendoInv[playerid] = 1; MovendoInventario[playerid] = 0; CombinandoInventario[playerid] = 0; for(new i = 0; i<9; i++) { PlayerTextDrawDestroy(playerid,invBox[playerid][i]); } ShowPlayerDialog(playerid, 9182, DIALOG_STYLE_INPUT, "Player(s) Proximo(s)", "Digite o ID do jogador que deseja negociar:", "Negociar", "Fechar"); return 1; } // Dropar item if(listitem == 2) { new str[180]; DebugFechouInventario[playerid] = false; SetTimerEx("FecharInventarioEm", 200, false, "i", playerid); RemovePlayerAttachedObject(playerid, 9); ClearAnimations(playerid); if(InventarioInfo[playerid][ItemSelecionado[playerid]][iSlot] == 19382) { SCM(playerid, 0xFF6347AA, "* Nao ha itens suficientes para ser descartado!"); for(new i = 0; i<9; i++) { PlayerTextDrawDestroy(playerid,invBox[playerid][i]); } return 1; } if(InventarioInfo[playerid][ItemSelecionado[playerid]][iSlot] > 399 && InventarioInfo[playerid][ItemSelecionado[playerid]][iSlot] < 612) { format(str, 280, "[AVISO] Voce nao pode dropar um veiculo de inventario, por questoes de seguranca"); SCM(playerid, COLOR_LIGHTRED, str); return 1; } new Float:X, Float:Y, Float:Z; GetPlayerPos(playerid, X, Y, Z); format(str, 280, "* Voce largou um item: %s, com %d unidade(s)", NomeItemInventario(InventarioInfo[playerid][ItemSelecionado[playerid]][iSlot]), InventarioInfo[playerid][ItemSelecionado[playerid]][iUnidades]); SCM(playerid, 0x00ccccFF, str); if(InventarioInfo[playerid][ItemSelecionado[playerid]][iSlot] == 1654) { PlayerInfo[playerid][pExplosivos] --; } CreateDroppedItem(InventarioInfo[playerid][ItemSelecionado[playerid]][iSlot], InventarioInfo[playerid][ItemSelecionado[playerid]][iUnidades], X, Y, Z); InventarioInfo[playerid][ItemSelecionado[playerid]][iSlot] = 19382; InventarioInfo[playerid][ItemSelecionado[playerid]][iUnidades] = 0; FecharInventario(playerid); AbrirInventario(playerid); for(new i = 0; i<9; i++) { PlayerTextDrawDestroy(playerid,invBox[playerid][i]); } } } else { ShowPlayerDialogEx(playerid, D_INVENTARIO_MOBILE); } } // --------------------------------- // if(dialogid == 1099) { new quantidade = strval(inputtext), slot = ItemSelecionado[playerid], bool:InventarioLotado = true; if(quantidade > InventarioInfo[playerid][slot][iUnidades] || quantidade < 0) return SendClientMessage(playerid, 0x00FFFFFF, "* Quantidade invalida"); if(strval(inputtext) < InventarioInfo[playerid][ItemSelecionado[playerid]][iUnidades] && strval(inputtext) != 0){ InventarioInfo[playerid][slot][iUnidades] -= quantidade; for(new i; i < 75; i ++) { if(InventarioInfo[playerid][i][iSlot] == 19382) { InventarioInfo[playerid][i][iSlot] = InventarioInfo[playerid][slot][iSlot]; InventarioInfo[playerid][i][iUnidades] = quantidade; FecharInventario(playerid); AbrirInventario(playerid); InventarioLotado = false; break; } } } else{ SendClientMessage(playerid, 0xFF6347AA, "* Digite um valor valido!"); } if(InventarioLotado) return SendClientMessage(playerid, 0x00FFFFFF, "* Seu inventario esta lotado."); SendClientMessage(playerid, 0xC9C9C9FF, "Voce separou o item com sucesso."); return true; } //============== Sistema de Caixa de itens ================ EditandoCaixa[playerid] = GetPVarInt(playerid,"idcaixa"); if(dialogid == 14743) { if(response) { if(InventarioInfo[playerid][listitem][iSlot] == 19382) { SendClientMessage(playerid, -1, "Este Item esta vazio !"); new str[1000]; new linha[50]; format(linha,sizeof(linha), "Slot\tNome\tUnidades\n"); strcat(str, linha); for(new i; i<36; i++) { format(linha,sizeof(linha), "%d\t%s\t%d\n",i +1, NomeItemInventario(InventarioInfo[playerid][i][iSlot]),InventarioInfo[playerid][i][iUnidades] ); strcat(str, linha); } ShowPlayerDialog(playerid, 14743, 5, "{00FFFF}INVENTARIO {FFFFFF}- Guardar Item", str, "Guardar", "Voltar"); return 1; } for(new i; i<50; i++) { if(SistemaCaixa[EditandoCaixa[playerid]][CaixaItem][i] == 19382) { SistemaCaixa[EditandoCaixa[playerid]][CaixaItem][i] = InventarioInfo[playerid][listitem][iSlot]; SistemaCaixa[EditandoCaixa[playerid]][CaixaUnidades][i] = InventarioInfo[playerid][listitem][iUnidades]; InventarioInfo[playerid][listitem][iSlot] = 19382; InventarioInfo[playerid][listitem][iUnidades] = 0; new str1[300]; format(str1,300,"Voce guardou um(a) %s com %d Unidades no Slot %d da sua Caixa !",NomeItemInventario(SistemaCaixa[EditandoCaixa[playerid]][CaixaItem][i]),SistemaCaixa[EditandoCaixa[playerid]][CaixaUnidades][i],i+1); SendClientMessage(playerid, -1, str1); new str[1000]; new linha[50]; format(linha,sizeof(linha), "Slot\tNome\tUnidades\n"); strcat(str, linha); for(new p; p<36; p++) { format(linha,sizeof(linha), "%d\t%s\t%d\n", p+1, NomeItemInventario(InventarioInfo[playerid][p][iSlot]),InventarioInfo[playerid][p][iUnidades] ); strcat(str, linha); } ShowPlayerDialog(playerid, 14743, 5, "{00FFFF}INVENTARIO {FFFFFF}- Guardar Item", str, "Guardar", "Voltar"); return 1; } } SendClientMessage(playerid, COLOR_LIGHTRED, "* Seu inventario esta cheio!"); } else { new str1[300]; format(str1,300,"{FFFFFF}Caixa de %s Itens: {00ff00}%d/50",SistemaCaixa[EditandoCaixa[playerid]][CaixaDono],ItemsCaixa(EditandoCaixa[playerid])); ShowPlayerDialog(playerid, 14741, 2, str1, "Guardar Item\nPegar Item\nEditar Caixa\nDesmontar Caixa", "Ok", "Fechar"); return 1; } return 1; } if(dialogid == 9950) { if(!response) { return 1; } if(response) { if(listitem == 0) { if(PlayerInfo[playerid][pAdmin] < 1340) return SendClientMessage(playerid, COLOR_GRAD1, "você não está autorizado a utilizar esse comando."); if(SistemaParaMedico == 0) { SendClientMessage(playerid, 0x585858AA, "INFO: {FFFFFF}Sistema de Paramedico: {01DF01}ON."); SistemaParaMedico = 1; format(string, sizeof(string), "Admin %s: ligou o sistema de paramedicos do servidor", PlayerName(playerid)); ABroadCast(0xFE85E0AA, string, 1); return 1; } if(SistemaParaMedico == 1) { SendClientMessage(playerid, 0x585858AA, "INFO: {FFFFFF}Sistema de Paramedico: {ff6347}OFF."); SistemaParaMedico = 0; format(string, sizeof(string), "Admin %s: desligou o sistema de paramedicos do servidor", PlayerName(playerid)); ABroadCast(0xFE85E0AA, string, 1); return 1; } } if(listitem == 1) { if(PlayerInfo[playerid][pAdmin] < 1340) return SendClientMessage(playerid, COLOR_GRAD1, "você não está autorizado a utilizar esse comando."); if(SysDBOn == 0) { SendClientMessage(playerid, 0x585858AA, "INFO: {FFFFFF}Sistema de Anti-DB: {ff6347}ON."); SysDBOn = 1; format(string, sizeof(string), "Admin %s: ligou o sistema de Anti-DB do servidor", PlayerName(playerid)); ABroadCast(0xFE85E0AA, string, 1); return 1; } if(SysDBOn == 1) { SendClientMessage(playerid, 0x585858AA, "INFO: {FFFFFF}Sistema de Anti-DB: {01DF01}OFF."); SysDBOn = 0; format(string, sizeof(string), "Admin %s: desligou o sistema de Anti-DB do servidor", PlayerName(playerid)); ABroadCast(0xFE85E0AA, string, 1); return 1; } } if(listitem == 2) { if(PlayerInfo[playerid][pAdmin] < 1340) return SendClientMessage(playerid, COLOR_GRAD1, "você não está autorizado a utilizar esse comando."); if(SysMsgLogin == 0) { SendClientMessage(playerid, 0x585858AA, "INFO: {FFFFFF}Aviso de login(Chat Admin/Helpers {01DF01}ON."); SysMsgLogin = 1; format(string, sizeof(string), "Admin %s: ativou o aviso de login no chat Admin/Helpers /sistemas", PlayerName(playerid)); ABroadCast(0xFE85E0AA, string, 1); return 1; } if(SysMsgLogin == 1 ) { SendClientMessage(playerid, 0x585858AA, "INFO: {FFFFFF}Aviso de login(Chat Admin/Helpers {01DF01}OFF."); SysMsgLogin = 0; format(string, sizeof(string), "Admin %s: desativou o aviso de login no chat Admin/Helpers /sistemas", PlayerName(playerid)); ABroadCast(COLOR_LIGHTRED, string, 1); return 1; } } if(listitem == 3) { if(PlayerInfo[playerid][pAdmin] < 1340) return SendClientMessage(playerid, COLOR_GRAD1, "você não está autorizado a utilizar esse comando."); if(SysMsgBRASIL == 0 ) { SendClientMessage(playerid, 0x585858AA, "INFO: {FFFFFF}Aviso de conexão(Chat Admin) {01DF01}ON"); SysMsgBRASIL = 1; format(string, sizeof(string), "Admin %s: ativou o aviso de conexão no chat admin", PlayerName(playerid)); ABroadCast(0xFE85E0AA, string, 1); return 1; } if(SysMsgBRASIL == 1) { SendClientMessage(playerid, 0x585858AA, "INFO: {FFFFFF}Aviso de Conexão(Chat Admins) {01DF01}OFF."); SysMsgBRASIL = 0; format(string, sizeof(string), "Admin %s: desativou o aviso de conexão no chat admin", PlayerName(playerid)); ABroadCast(0xFE85E0AA, string, 1); return 1; } } if(listitem == 4) { if(PlayerInfo[playerid][pAdmin] < 1340) return SemPermCMD ShowPlayerDialog(playerid, DIALOG_SALARIOS_EMPREGOS, DIALOG_STYLE_INPUT, "Editar Salario", "Editando Emprego: Motorista de onibus\n Digite abaixo o novo salario do emprego.", "Editar", #Cancelar); return 1; } if(listitem == 5) { if(PlayerInfo[playerid][pAdmin] < 1340) return SemPermCMD ShowPlayerDialog(playerid, DIALOG_SALARIOS_EMPREGOS+1, DIALOG_STYLE_INPUT, "Editar Salario", "Editando Emprego: Eletricista\n Digite abaixo o novo salario do emprego.", "Editar", #Cancelar); return 1; } if(listitem == 6) { if(PlayerInfo[playerid][pAdmin] < 1340) return SemPermCMD ShowPlayerDialog(playerid, DIALOG_SALARIOS_EMPREGOS+2, DIALOG_STYLE_INPUT, "Editar Salario", "Editando Emprego: Caminhoneiro\n Digite abaixo o novo salario do emprego.", "Editar", #Cancelar); return 1; } if(listitem == 7) { if(PlayerInfo[playerid][pAdmin] < 1340) return SemPermCMD ShowPlayerDialog(playerid, DIALOG_SALARIOS_EMPREGOS+3, DIALOG_STYLE_INPUT, "Editar Salario", "Editando Emprego: Frentista\n Digite abaixo o novo salario do emprego.", "Editar", #Cancelar); return 1; } } return 1; } if(dialogid == DIALOG_SALARIOS_EMPREGOS) { if(strval(inputtext)) { new ValorNovo = strval(inputtext); salInfo[GanhoMOnibus] = ValorNovo; SCMf(playerid, COLOR_LIGHTBLUE, "Salario Do Emprego Motorista De Onibus Alterado Para: %d", salInfo[GanhoMOnibus]); } else return SCM(playerid, -1, "Use apenas numeros."); return 1; } if(dialogid == DIALOG_SALARIOS_EMPREGOS+1) { if(strval(inputtext)) { new ValorNovo = strval(inputtext); salInfo[GanhoEletricista] = ValorNovo; SCMf(playerid, COLOR_LIGHTBLUE, "Salario Do Emprego Eletricista Alterado Para: %d", salInfo[GanhoEletricista]); } else return SCM(playerid, -1, "Use apenas numeros."); return 1; } if(dialogid == DIALOG_SALARIOS_EMPREGOS+2) { if(strval(inputtext)) { new ValorNovo = strval(inputtext); salInfo[GanhoCaminhoneiro] = ValorNovo; SCMf(playerid, COLOR_LIGHTBLUE, "Salario Do Emprego Caminhoneiro Alterado Para: %d", salInfo[GanhoCaminhoneiro]); } else return SCM(playerid, -1, "Use apenas numeros."); return 1; } if(dialogid == DIALOG_SALARIOS_EMPREGOS+3) { if(strval(inputtext)) { new ValorNovo = strval(inputtext); salInfo[GanhoFrentista] = ValorNovo; SCMf(playerid, COLOR_LIGHTBLUE, "Salario Do Emprego Frentista Alterado Para: %d", salInfo[GanhoFrentista]); } else return SCM(playerid, -1, "Use apenas numeros."); return 1; } if(dialogid == 170) { if(!response) { return 1; } if(response) { if(listitem == 0) { if(PlayerInfo[playerid][pChatTerritorio] == 0) { PlayerInfo[playerid][pChatTerritorio] = 1; SendClientMessage(playerid, 0x585858AA, "INFO: {FFFFFF}Mensagens Territoriais: {ff6347}OFF."); ForT:configuracoes(playerid); } else if(PlayerInfo[playerid][pChatTerritorio] == 1) { PlayerInfo[playerid][pChatTerritorio] = 0; SendClientMessage(playerid, 0x585858AA, "INFO: {FFFFFF}Mensagens Territoriais: {01DF01}ON."); ForT:configuracoes(playerid); } } if(listitem == 1) { if(PlayerInfo[playerid][pChatVipDesativado] == 0) { PlayerInfo[playerid][pChatVipDesativado] = 1; SendClientMessage(playerid, 0x585858AA, "INFO: {FFFFFF}Mensagens do chat VIP: {ff6347}OFF."); ForT:configuracoes(playerid); } else if(PlayerInfo[playerid][pChatVipDesativado] == 1) { PlayerInfo[playerid][pChatVipDesativado] = 0; SendClientMessage(playerid, 0x585858AA, "INFO: {FFFFFF}Mensagens do chat VIP: {01DF01}ON."); ForT:configuracoes(playerid); } } if(listitem == 2) { if (PlayerInfo[playerid][pChatNoticias] == 0) { PlayerInfo[playerid][pChatNoticias] = 1; SendClientMessage(playerid, 0x585858AA, "INFO: {FFFFFF}Chat Jornal ao vivo: {ff6347}OFF."); ForT:configuracoes(playerid); } else if (PlayerInfo[playerid][pChatNoticias] == 1) { PlayerInfo[playerid][pChatNoticias] = 0; SendClientMessage(playerid, 0x585858AA, "INFO: {FFFFFF}Chat Jornal ao vivo: {01DF01}ON."); ForT:configuracoes(playerid); } } if(listitem == 3) { if (PlayerInfo[playerid][pChatNoob] == 0) { PlayerInfo[playerid][pChatNoob] = 1; SendClientMessage(playerid, 0x585858AA, "INFO: {FFFFFF}Mensagens do Chat Noob: {01DF01}OFF."); ForT:configuracoes(playerid); } else if (PlayerInfo[playerid][pChatNoob] == 1) { PlayerInfo[playerid][pChatNoob] = 0; SendClientMessage(playerid, 0x585858AA, "INFO: {FFFFFF}Mensagens do Chat Noob: {01DF01}ON."); ForT:configuracoes(playerid); } } if(listitem == 4) { PlayerInfo[playerid][gPlayerUsandoPlataformaID] = PlayerInfo[playerid][gPlayerUsandoPlataformaID] == 1 ? 0 : 1; PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0); if(PlayerInfo[playerid][gPlayerUsandoPlataformaID] == 1) GameTextForPlayer(playerid, "~b~~h~Computador", 5000, 1); else GameTextForPlayer(playerid, "~p~~h~Android", 5000, 1); ForT:configuracoes(playerid); } if(listitem == 5) { if(PlayerInfo[playerid][pSkinFixa] == 0) { PlayerInfo[playerid][pSkinFixa] = 1; SCM(playerid, COLOR_LIGHTBLUE, "Skin Fixa Ativada, agora você ficará sempre com sua skin."); } else { PlayerInfo[playerid][pSkinFixa] = 0; SCM(playerid, COLOR_LIGHTBLUE, "Skin Fixa Desativada, agora você ganha a skin do seu cargo ao relogar, ser promovido, e etc.."); } PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0); ForT:configuracoes(playerid); } if(listitem == 6) { if(PlayerInfo[playerid][pChatWppON] == 1) { PlayerInfo[playerid][pChatWppON] = 0; SCM(playerid, COLOR_LIGHTBLUE, "Chat Whatsapp desativado."); } else { PlayerInfo[playerid][pChatWppON] = 1; SCM(playerid, COLOR_LIGHTBLUE, "Chat Whatsapp Ativado."); } PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0); ForT:configuracoes(playerid); } } return 1; } if(dialogid == 14742) { if(response) { if(SistemaCaixa[EditandoCaixa[playerid]][CaixaItem][listitem] == 19382) { SendClientMessage(playerid, -1, "Este Item esta vazio !"); new str[1000]; new linha[50]; format(linha,sizeof(linha), "Slot\tNome\tUnidades\n"); strcat(str, linha); for(new p; p<50; p++) { format(linha,sizeof(linha), "%d\t%s\t%d\n",p +1, NomeItemInventario(SistemaCaixa[EditandoCaixa[playerid]][CaixaItem][p]),SistemaCaixa[EditandoCaixa[playerid]][CaixaUnidades][p] ); strcat(str, linha); } ShowPlayerDialog(playerid, 14742, 5, "{00ff00}CAIXA {FFFFFF}- Pegar Item", str, "Pegar", "Voltar"); return 1; } for(new i; i<36; i++) { if(InventarioInfo[playerid][i][iSlot] == 19382) { InventarioInfo[playerid][i][iSlot] = SistemaCaixa[EditandoCaixa[playerid]][CaixaItem][listitem]; InventarioInfo[playerid][i][iUnidades] = SistemaCaixa[EditandoCaixa[playerid]][CaixaUnidades][listitem]; SistemaCaixa[EditandoCaixa[playerid]][CaixaItem][listitem] = 19382; SistemaCaixa[EditandoCaixa[playerid]][CaixaUnidades][listitem] = 1; new str1[300]; format(str1,300,"Voce pegou um(a) %s com %d Unidades do Slot %d da sua Caixa. Confira seu Inventario !",NomeItemInventario(InventarioInfo[playerid][i][iSlot]),InventarioInfo[playerid][i][iUnidades],listitem+1); SendClientMessage(playerid, -1, str1); new str[1000]; new linha[50]; format(linha,sizeof(linha), "Slot\tNome\tUnidades\n"); strcat(str, linha); for(new p; p<50; p++) { format(linha,sizeof(linha), "%d\t%s\t%d\n", p+1, NomeItemInventario(SistemaCaixa[EditandoCaixa[playerid]][CaixaItem][p]),SistemaCaixa[EditandoCaixa[playerid]][CaixaUnidades][p] ); strcat(str, linha); } ShowPlayerDialog(playerid, 14742, 5, "{00FFFF}CAIXA {FFFFFF}- Pegar Item", str, "Guardar", "Voltar"); return 1; } } SendClientMessage(playerid, COLOR_LIGHTRED, "* Seu inventario esta cheio!"); } else { new str1[300]; format(str1,300,"{FFFFFF}Caixa de %s Itens: {00ff00}%d/50",SistemaCaixa[EditandoCaixa[playerid]][CaixaDono],ItemsCaixa(EditandoCaixa[playerid])); ShowPlayerDialog(playerid, 14741, 2, str1, "Guardar Item\nPegar Item\nEditar Caixa\nDesmontar Caixa", "Ok", "Fechar"); return 1; } return 1; } if(dialogid == 14745) { if(response) { if(InventarioInfo[pID][listitem][iSlot] == 19382) { SendClientMessage(playerid, -1, "Este Item esta vazio !"); new str[1000]; new linha[50]; format(linha,sizeof(linha), "Slot\tNome\tUnidades\n"); strcat(str, linha); for(new p; p<75; p++) { format(linha,sizeof(linha), "%d\t%s\t%d\n",p +1, NomeItemInventario(InventarioInfo[pID][p][iSlot]),InventarioInfo[pID][p][iUnidades]); strcat(str, linha); } ShowPlayerDialog(playerid, 14745, 5, "Editando inventario", str, "Pegar", "Voltar"); return 1; } for(new i; i<75; i++) { if(InventarioInfo[playerid][i][iSlot] == 19382) { InventarioInfo[playerid][i][iSlot] = InventarioInfo[pID][listitem][iSlot]; InventarioInfo[playerid][i][iUnidades] = InventarioInfo[pID][listitem][iUnidades]; InventarioInfo[pID][listitem][iSlot] = 19382; InventarioInfo[pID][listitem][iUnidades] = 1; new str1[300]; format(str1,300,"[EDITAR INV] %s retirou (a) %s com %d unidades do slot %d do inventario de: %s.",PlayerName(playerid), NomeItemInventario(InventarioInfo[playerid][i][iSlot]),InventarioInfo[playerid][i][iUnidades],listitem+1, PlayerName(pID)); ABroadCast(COLOR_LIGHTRED, str1, 1338); CNFLogs("editarinventario", str1); new str[1000]; new linha[50]; format(linha,sizeof(linha), "Slot\tNome\tUnidades\n"); strcat(str, linha); for(new p; p<75; p++) { format(linha,sizeof(linha), "%d\t%s\t%d\n",p +1, NomeItemInventario(InventarioInfo[pID][p][iSlot]),InventarioInfo[pID][p][iUnidades]); strcat(str, linha); } ShowPlayerDialog(playerid, 14745, 5, "Editando inventario", str, "Pegar", "Voltar"); return 1; } } SendClientMessage(playerid, COLOR_LIGHTRED, "* Seu inventario esta cheio!"); } else { SendClientMessage(playerid, COLOR_LIGHTRED, "* Você cancelou."); } return 1; } if(dialogid == 14741) { if(response) { if(listitem == 1) { new str[1000]; new linha[50]; format(linha,sizeof(linha), "Slot\tNome\tUnidades\n"); strcat(str, linha); for(new i; i<50; i++) { format(linha,sizeof(linha), "%d\t%s\t%d\n",i +1, NomeItemInventario(SistemaCaixa[EditandoCaixa[playerid]][CaixaItem][i]),SistemaCaixa[EditandoCaixa[playerid]][CaixaUnidades][i] ); strcat(str, linha); } ShowPlayerDialog(playerid, 14742, 5, "{00ff00}CAIXA {FFFFFF}- Pegar Item", str, "Pegar", "Voltar"); return 1; } if(listitem == 0) { new str[1000]; new linha[50]; format(linha,sizeof(linha), "Slot\tNome\tUnidades\n"); strcat(str, linha); for(new i; i<70; i++) { format(linha,sizeof(linha), "%d\t%s\t%d\n",i +1, NomeItemInventario(InventarioInfo[playerid][i][iSlot]),InventarioInfo[playerid][i][iUnidades] ); strcat(str, linha); } ShowPlayerDialog(playerid, 14743, 5, "{00FFFF}INVENTARIO {FFFFFF}- Guardar Item", str, "Guardar", "Voltar"); return 1; } if(listitem == 2) { EditDynamicObjectEx(playerid,SistemaCaixa[EditandoCaixa[playerid]][CaixaObj]); SendClientMessage(playerid, -1, "Use os Eixos X, Y e Z para mover a posicao da sua Caixa de Itens."); SendClientMessage(playerid, -1, "Edite a Posicao da sua Caixa de Itens, e click no Icone de Salvar."); Streamer_Update(playerid); return 1; } if(listitem == 3) { for(new i; i<50; i++) { if(SistemaCaixa[EditandoCaixa[playerid]][CaixaItem][i] != 19382) { SendClientMessage(playerid, -1,"Sua Caixa de Itens precisa estar vazia para ser desmontada !"); return 1; } } for(new a; a<70; a++) { if(InventarioInfo[playerid][a][iSlot] == 19382) { InventarioInfo[playerid][a][iSlot] = 1271; InventarioInfo[playerid][a][iUnidades] = 1; new fil[40]; format(fil,40,"Caixas/Caixa_%d",EditandoCaixa[playerid]); DestroyDynamicObject(SistemaCaixa[EditandoCaixa[playerid]][CaixaObj]); DestroyDynamic3DTextLabel(SistemaCaixa[EditandoCaixa[playerid]][Caixa3d]); if(DOF2_FileExists(fil)) DOF2_RemoveFile(fil); SendClientMessage(playerid, -1, "Voce desmontou sua Caixa de Itens, e ela foi para seu Inventario !"); return 1; } } SendClientMessage(playerid, COLOR_LIGHTRED, "* Seu inventario esta cheio!"); } return 1; } return 1; } // ========================= Sistema de Portao ==================================// if(dialogid == 10103) { if(response) { new str[300], idc = GetPVarInt(playerid,"portaofrente"); format(str,300,"Voce editou a senha do seu portao, Nova senha: ' %s '.", inputtext); if( strlen(inputtext) < 4 || strlen(inputtext) > 8 ) return ShowPlayerDialog(playerid,10103, DIALOG_STYLE_INPUT, "Editar Senha Portao", "{00FFFF}[ERRO] {FFFFFF}Digite uma senha de 4 - 8 caracteres!\nDigite uma nova senha para seu portao:", "Ok", "Cancelar"); SendClientMessage(playerid,-1,str); format(SistemaPortao[idc][PortaoSenha],20, inputtext); return 1; } return 1; } if(dialogid == 10102) { if(response) { if(strlen(inputtext) < 0) return SendClientMessage(playerid, COR_LIGHTRED, "Coloque a senha do portao, para tentar abrir."); new idc = GetPVarInt(playerid,"portaofrente"); if(!strcmp(inputtext, SistemaPortao[idc][PortaoSenha])) { if(PortaoOcupado[idc] == 1) return SendClientMessage(playerid, -1,"Portao em movimento ! Aguarde ate ele parar."); SistemaAbrirPortao(playerid, idc); } else { ShowPlayerDialog(playerid,10102, DIALOG_STYLE_INPUT, "Senha Portao", "{00FFFF}[ERRO] {FFFFFF}Senha Incorreta !\nDigite a Senha deste portao:", "Ok", "Cancelar"); } return 1; } return 1; } // ====================== Inventario ========================================= if(dialogid == 2020) { if(response) { new str[400]; new cu; if(GetPlayerMoney(playerid) < ValorCompraInv[playerid]) { //ShowPlayerDialog(playerid, 105, DIALOG_STYLE_MSGBOX, "_", "{00FFFF}Erro: {FFFFFF}Voce nao tem dinheiro suficiente !\n\nVenda cancelada.", "Voltar", ""); SendClientMessage(playerid, COLOR_LIGHTRED, "* Voce nao tem dinheiro suficiente para comprar este item!"); VendendoInv[VendedorInv[playerid]] = 0; ItemVender[VendedorInv[playerid]] = -1; format(str,400,"* %s nao tem $%d para comprar seu item!",NomePlayer(playerid), ValorCompraInv[playerid]); SendClientMessage(VendedorInv[playerid], COLOR_LIGHTRED, str); return 1; } if(!IsPlayerConnected( VendedorInv[playerid] )) { VendendoInv[VendedorInv[playerid]] = 0; //ShowPlayerDialog(playerid, 105, DIALOG_STYLE_MSGBOX, "_", "{00FFFF}Erro: {FFFFFF}O vendedor saiu do jogo !\n\nVenda cancelada.", "Voltar", ""); SendClientMessage(playerid, COLOR_LIGHTRED, "* O vendedor saiu do jogo!"); ItemVender[VendedorInv[playerid]] = -1; return 1; } for(new i; i<75; i++) { if(InventarioInfo[playerid][i][iSlot] == 19382) { if(VendedorInv[playerid] < 0 || ItemVender[VendedorInv[playerid]] < 0) { printf("[bug] Inventario: %d | %d", VendedorInv[playerid], ItemVender[VendedorInv[playerid]]); SendClientMessage(playerid, -1, "Falha na transacao"); return true; } InventarioInfo[playerid][i][iSlot] = InventarioInfo[VendedorInv[playerid]][ItemVender[VendedorInv[playerid]]][iSlot]; InventarioInfo[playerid][i][iUnidades] = InventarioInfo[VendedorInv[playerid]][ItemVender[VendedorInv[playerid]]][iUnidades]; InventarioInfo[VendedorInv[playerid]][ItemVender[VendedorInv[playerid]]][iSlot] = 19382; InventarioInfo[VendedorInv[playerid]][ItemVender[VendedorInv[playerid]]][iUnidades] = 0; format(str,400, "* %s aceitou o item que voce ofereceu por $%d!",NomePlayer(playerid),ValorCompraInv[playerid]); SendClientMessage(VendedorInv[playerid], COLOR_LIGHTBLUE, str); format(str,400, "* Voce aceitou o item que %s lhe ofereceu por $%d!",NomePlayer(VendedorInv[playerid]),ValorCompraInv[playerid]); FecharInventario(playerid); SetTimerEx("AbrirInv", 300, false, "i", playerid); SendClientMessage(playerid, COLOR_LIGHTBLUE, str); GivePlayerMoneyEx(playerid, -ValorCompraInv[playerid]); GivePlayerMoneyEx(VendedorInv[playerid], ValorCompraInv[playerid]); VendendoInv[VendedorInv[playerid]] = 0; ItemVender[VendedorInv[playerid]] = -1; cu = 1; return 1; } } if(cu == 1) SendClientMessage(playerid, COLOR_LIGHTRED, "* Seu inventario esta cheio!"); VendendoInv[VendedorInv[playerid]] = 0; ItemVender[VendedorInv[playerid]] = -1; return 1; } else { new str[400]; format(str,400, "* %s nao quis comprar item ofericido por voce!",NomePlayer(playerid)); SendClientMessage(VendedorInv[playerid], COLOR_LIGHTRED, str); format(str,400, "* Voce nao aceitou o item que %s lhe ofereceu por R$ %d.",NomePlayer(VendedorInv[playerid]),ValorCompraInv[playerid]); SendClientMessage(playerid, COLOR_LIGHTRED, str); VendendoInv[VendedorInv[playerid]] = 0; } return 1; } if(dialogid == 250){ if(response){ if(IsPlayerAttachedObjectSlotUsed(playerid,listitem)) { new str[500]; format(str,500,"{F5DEB3}Slot: {FFFFFF}%d\n\ {F5DEB3}Nome: {FFFFFF}%s\n\ {F5DEB3}Local: {FFFFFF}%s\n\n\ O que voce deseja fazer com este acessorio ?", listitem+1,NomeItemInventario(AcessorioInfo[playerid][listitem][aModel]),LocalAcessorio(AcessorioInfo[playerid][listitem][aLocal])); SetPVarInt(playerid,"sloteditar",listitem); ShowPlayerDialog(playerid, 25, DIALOG_STYLE_MSGBOX, "Editar seu acessorio", str, "Editar", "Guardar"); } else { ShowPlayerDialog(playerid, 24+24, DIALOG_STYLE_MSGBOX, " ", "{FF6347} Este slot esta vazio! ", "OK", ""); } } } if(dialogid == 25) { if(response) { SendClientMessage(playerid,-1, "Edite o Objeto usando os eixos X, Y e Z. Depois click no icone de Salvar."); SendClientMessage(playerid,-1, "Caso cancele a edicao, seu Item ira para seu Inventario."); EditAttachedObject(playerid, GetPVarInt(playerid,"sloteditar")); } else { for(new i; i<75; i++) { if(InventarioInfo[playerid][i][iSlot] == 19382) { InventarioInfo[playerid][i][iSlot] = AcessorioInfo[playerid][GetPVarInt(playerid,"sloteditar")][aModel]; InventarioInfo[playerid][i][iUnidades] = 1; RemovePlayerAttachedObject(playerid,GetPVarInt(playerid,"sloteditar")); SendClientMessage(playerid,-1, "Voce removeu este item, ele foi guardado em seu inventario."); AcessorioInfo[playerid][GetPVarInt(playerid,"sloteditar")][aModel] = 0; AcessorioInfo[playerid][GetPVarInt(playerid,"sloteditar")][aLocal] = 0; return 1; } } SendClientMessage(playerid,-1, "{00FFFF}>> {FFFFFF}Seu Intentario esta cheio !"); } return 1; } if(dialogid == 21215) { if(response) { for(new i = 0; i<10; i++) { if(!IsPlayerAttachedObjectSlotUsed(playerid,i)) { //FecharInv2(playerid); SetPlayerAttachedObject_Droid(playerid, i, InventarioInfo[playerid][GetPVarInt(playerid,"slotusar")][iSlot], listitem+1); EditAttachedObject(playerid, i); InventarioInfo[playerid][GetPVarInt(playerid,"slotusar")][iSlot] = 19382; InventarioInfo[playerid][GetPVarInt(playerid,"slotusar")][iUnidades] = 0; SendClientMessage(playerid,-1, "Edite o Objeto usando os eixos X, Y e Z. Depois click no icone de Salvar."); SendClientMessage(playerid,-1, "Caso cancele a edicao, seu Item ira para seu Inventario."); return 1; } } } else { SetTimerEx("AbrirInv", 300, false, "i", playerid); } return 1; } if(dialogid == 900) { if(response) { new str[400]; if( !NumerosInventario(inputtext) || ( strval(inputtext) < 1 || strval(inputtext) > 50000000 )) return SendClientMessage(playerid, -1, "O valor que voce digitou e invalido !"), VendendoInv[playerid] = 0; format(str,400,"{FFFFFF}* %s quer vender um item para voce !\n\n\ {F5DEB3}Nome do item: {FFFFFF}%s\n\ {F5DEB3}Quantidade: {FFFFFF}%d unidade(s)\n",NomePlayer(playerid), NomeItemInventarioInventario(ItemVender[playerid],playerid), InventarioInfo[playerid][ItemVender[playerid]][iUnidades]); format(str,400,"%s{F5DEB3}Valor: {33AA33}$%d\n\n\ {FF6347}*OBS: {BFC0C2}Voce deseja comprar este item?",str, strval(inputtext)); ShowPlayerDialog(GetPVarInt(playerid,"Comprador"),2020, DIALOG_STYLE_MSGBOX, "Comprar Item", str, "Comprar", "Fechar"); format(str, 400, "{FFFFFF}* Voce esta preste a negociar um item com %s !\n\n\ {F5DEB3}Nome do item: {FFFFFF}%s\n\ {F5DEB3}Quantidade: {FFFFFF}%d unidade(s)\n\ {F5DEB3}Valor oferecido: {33AA33}$%d\n\n\ {FF6347}*OBS: {BFC0C2}Voce ofereceu o item, aguarde uma resposta...", NomePlayer(GetPVarInt(playerid,"Comprador")), NomeItemInventarioInventario(ItemVender[playerid],playerid), InventarioInfo[playerid][ItemVender[playerid]][iUnidades], strval(inputtext)); format(strbrazz, 256, "AdmAviso: %s está tentando vender um item: %s Quantidade: %d para: %s, fique de olho.", PlayerName(playerid), NomeItemInventarioInventario(ItemVender[playerid],playerid), InventarioInfo[playerid][ItemVender[playerid]][iUnidades], NomePlayer(GetPVarInt(playerid,"Comprador"))); ABroadCast(COLOR_LIGHTRED, strbrazz, 1); CNFLogs("TradeItem", strbrazz); ShowPlayerDialog(playerid, 2020, DIALOG_STYLE_MSGBOX, "Negociar Item", str, "Fechar", ""); VendedorInv[GetPVarInt(playerid,"Comprador")] = playerid; ValorCompraInv[GetPVarInt(playerid, "Comprador")] = strval(inputtext); format(str,400,"* Voce ofereceu um(a) %s com %d unidades para %s por $%d, aguarde uma resposta...", NomeItemInventarioInventario(ItemVender[playerid],playerid), InventarioInfo[playerid][ItemVender[playerid]][iUnidades], NomePlayer(GetPVarInt(playerid,"Comprador")), strval(inputtext)); SendClientMessage(playerid, COLOR_LIGHTBLUE,str); format(str,400,"* Voce ofereceu um(a) %s com %d unidades para %s por $%d, aguarde uma resposta...", NomeItemInventarioInventario(ItemVender[playerid],playerid), InventarioInfo[playerid][ItemVender[playerid]][iUnidades], NomePlayer(GetPVarInt(playerid,"Comprador")), strval(inputtext)); SendClientMessage(playerid, COLOR_LIGHTBLUE,str); format(str,400,"* %s lhe ofereceu um(a) %s com %d unidades por $%d.",NomePlayer(GetPVarInt(playerid,"Comprador")), NomeItemInventarioInventario(ItemVender[playerid],playerid), InventarioInfo[playerid][ItemVender[playerid]][iUnidades], strval(inputtext)); SendClientMessage(GetPVarInt(playerid,"Comprador"),COLOR_LIGHTBLUE,str); } else { SendClientMessage(playerid,-1,"Voce cancelou a venda !"); VendendoInv[playerid] = 0; ItemVender[playerid] = -1; } return 1; } if(dialogid == 9182) { if(response) { if(strval(inputtext) == playerid) return SendClientMessage(playerid,-1,"Voce nao pode vender a si mesmo"); if(!IsPlayerConnected(strval(inputtext))) { SendClientMessage(playerid,-1,"Este jogador nao esta mais conectado!"); VendendoInv[playerid] = 0; ItemVender[playerid] = -1; return 1; } new str[300]; format(str,300,"{FFFFFF}* Voce esta preste a negociar um item com %s !\n\n\ {F5DEB3}Nome do item: {FFFFFF}%s\n\ {F5DEB3}Quantidade: {FFFFFF}%d unidade(s)\n\n\ {FF6347}*OBS: {BFC0C2}Digite quanto voce esta pedindo por este item abaixo:", NomePlayer(strval(inputtext)), NomeItemInventarioInventario(ItemVender[playerid],playerid) , InventarioInfo[playerid][ItemVender[playerid]][iUnidades]); ShowPlayerDialog(playerid,900, DIALOG_STYLE_INPUT, "Vender Item", str, "OK", "Cancelar"); SetPVarInt(playerid,"Comprador",strval(inputtext)); } else { VendendoInv[playerid] = 0; ItemVender[playerid] = -1; } return 1; } if(dialogid == 10) { if(response) { if(listitem == 0) { SendClientMessage(playerid, 0xFFFF00AA, "Ajuda para novatos."); SendClientMessage(playerid, 0xFFFF00AA,"Digite o comando desejado para mais informacoes ."); SendClientMessage(playerid, 0xFFFFFFAA,"Novatos - /rg /forum /relatorio /orgs /minhaslicencas /mudarlocal"); SendClientMessage(playerid, 0xFFFFFFAA,"Novatos - /pagar /horas /gps /mostrarlicencas /loteria /empregos"); SendClientMessage(playerid, 0xFFFFFFAA,"Novatos - /mudarlocal /servico /eu /an(anuncio) /ajuda /guardararma"); SendClientMessage(playerid, 0xFFFFFFAA,"Novatos - /ejetar /contrato( CONTRATO PARA MATAR ALGUEM ) /s(usurro) /g(ritar)"); SendClientMessage(playerid, 0xFFFFFFAA,"Novatos - /contratar /infoarma /farol /capo /portamalas /andar /hospitalizados"); SendClientMessage(playerid, 0xFFFFFFAA,"Novatos - /jogarmateriais /jogardrogas /jogardinamite /infodrogas /infomateriais"); SendClientMessage(playerid, 0xFFFFFFAA,"Novatos - Para saber sobre as novidades do servidor digite /atualizacoes"); SendClientMessage(playerid, 0xFFFFFFAA,"Novatos - /largararma /livrardrogas /livrarmats /inventario /titulos /armascostas"); } if(listitem == 1) { SendClientMessage(playerid, COLOR_WHITE, "|______________ Ajuda Empresa ______________|"); SendClientMessage(playerid, COLOR_WHITE,"Digite o comando desejado para mais informacoes!"); SendClientMessage(playerid, COLOR_GRAD3,"/sacarempresa - /extorcao - /infoempresa - /entradaempresa - /depositarempresa "); SendClientMessage(playerid, COLOR_GRAD3,"/precoproduto /pedirprodutos "); SendClientMessage(playerid, COLOR_GRAD4,"Funcionalidade:"); SendClientMessage(playerid, COLOR_GRAD4,"Vai Gastar 2 Produtos por Paydays , Cada entrada vai gastar 1 produtos"); SendClientMessage(playerid, COLOR_GRAD4,"Todas as empresas vao ter um tanto de produtos"); SendClientMessage(playerid, COLOR_GRAD4,"Empresas por gerenciamentos"); SendClientMessage(playerid, COLOR_GRAD4,"Vai Gastar 2 produtos por paydays, cada utilizada de um cmd ligado a sua empresa vai comer 1 produto"); SendClientMessage(playerid, COLOR_GREEN,"______________________________________________"); } if(listitem == 2) { SendClientMessage(playerid, COLOR_WHITE, "|______________ Ajuda Casa ______________|"); SendClientMessage(playerid, COLOR_WHITE,"/trocarcasa /selecionarmoveis /comprarmovel /resetarmoveis"); SendClientMessage(playerid, COLOR_GRAD3,"CNF > /entrar /sair /chave /mapacasa(Mostra No Mapa) /cofrecasa"); } if(listitem == 3) { SendClientMessage(playerid, COLOR_WHITE, "|______________ Ajuda Aluguel ______________|"); SendClientMessage(playerid, COLOR_GRAD3,"Aluguel > /desalugar /entrar /sair /mapacasa"); } if(listitem == 4) { if (PlayerInfo[playerid][pPnumber] > 0) { SendClientMessage(playerid, COLOR_WHITE, "|______________ Ajuda Celular ______________|"); SendClientMessage(playerid, COLOR_WHITE,"Digite o comando desejado para mais Informações!"); SendClientMessage(playerid, COLOR_GRAD3,"CNF > /ligar /sms (/at)ender (/des)ligar /agenda /desativar celular"); SendClientMessage(playerid, COLOR_WHITE,"CNF > Nao se esqueca de comprar creditos na Loja De eletronico"); } else { SendClientMessage(playerid, COLOR_GREY,"Voce nao tem um telefone, compre um na 24-7, USE: /gps"); } } if(listitem == 5) { if (PlayerInfo[playerid][pLider] >= 1) { SendClientMessage(playerid, COLOR_WHITE, "|______________ Ajuda Lider ______________|"); SendClientMessage(playerid, COLOR_WHITE,"Digite o comando desejado para mais Informações!"); SendClientMessage(playerid, COLOR_GRAD3,"CNF > /convidar /demitir /limparvaga /promover /contaslider(Pedir Contas) "); SendClientMessage(playerid, COLOR_GRAD3,"CNF > /lchat - CHAT DOS LIDERES"); if(PlayerInfo[playerid][pLider] == 7) { SendClientMessage(playerid, COLOR_GRAD3,"Governador > (/pre)feito /setartaxa"); SendClientMessage(playerid, COLOR_GRAD3,"Governador > /pagarbolsa (Cops, Médicos ou Cidadãos)"); SendClientMessage(playerid, COLOR_GRAD3,"Governador > /pagarorg (Envia direto dinheiro para orgs)"); } SendClientMessage(playerid, COLOR_DBLUE,"____________________________________________"); } else { SendClientMessage(playerid, COLOR_GREY, " Voce nao e um Lider!"); } } if(listitem == 6) { //------------ empregos ----------- if(PlayerInfo[playerid][pEmprego] == 0) { SendClientMessage(playerid, COR_AMARELO, "Voce nao possui um emprego."); } if(PlayerInfo[playerid][pEmprego] == 1) { new Dialog[1500]; format(string, sizeof(string), "{4876FF}» Advogado:\n\n"); strcat(Dialog,string); format(string, sizeof(string), " {9c9c9c}Objetivo:{FFFFFF} Liberacao dos presos no presidio\n"); strcat(Dialog,string); format(string, sizeof(string), " {9c9c9c}Ganhos:{FFFFFF} Voce mesmo determina o valor com seu cliente\n"); strcat(Dialog,string); format(string, sizeof(string), " {9c9c9c}Como trabalhar?{FFFFFF} Digite: /gps depois Locais Importantes e va em Presidio\n"); strcat(Dialog,string); format(string, sizeof(string), " {9c9c9c}Como soltar presos?{FFFFFF} Dentro do Presidio tera um 'sinal branco', aperte F nele!\n"); strcat(Dialog,string); ShowPlayerDialog(playerid,10571,DIALOG_STYLE_MSGBOX, "Ajuda Emprego", Dialog, "Fechar", ""); } if(PlayerInfo[playerid][pEmprego] == 2) { new Dialog[1500]; format(string, sizeof(string), "{4876FF}» Mecanico\n\n"); strcat(Dialog,string); format(string, sizeof(string), " {9c9c9c}Objetivo: Arrumar/abastecer/guinchar veiculo de clientes\n"); strcat(Dialog,string); format(string, sizeof(string), " {9c9c9c}Ganhos: Voce mesmo determina o valor com o seu cliente ou na missao\n"); strcat(Dialog,string); format(string, sizeof(string), " {9c9c9c}Como trabalhar? Espere por um cliente ou ande pela cidade\n"); strcat(Dialog,string); format(string, sizeof(string), " {9c9c9c}Para voce começar a receber chamados de {FFFFFF}/batercartao\n"); strcat(Dialog,string); format(string, sizeof(string), " {FFFFFF}...Para abastecer: /abastecercarro\n"); strcat(Dialog,string); format(string, sizeof(string), " {FFFFFF}...Para blindar: /blindar\n"); strcat(Dialog,string); format(string, sizeof(string), " {FFFFFF}...Para guinchar um veiculo quebrado use: /guinchar\n"); strcat(Dialog,string); format(string, sizeof(string), " {FFFFFF}...Para fazer missões de mecânico use: /missao\n\n"); strcat(Dialog,string); format(string, sizeof(string), " Comandos:{FFFFFF} /ce /reparar /abastecercarro /guinchar /bcmec /missao /batercartao\n"); strcat(Dialog,string); ShowPlayerDialog(playerid,10571,DIALOG_STYLE_MSGBOX, "Ajuda Emprego", Dialog, "Fechar", ""); } if(PlayerInfo[playerid][pEmprego] == 3) { new Dialog[1500]; format(string, sizeof(string), "{4876FF}» Agricultor:\n\n"); strcat(Dialog,string); format(string, sizeof(string), " {9c9c9c}Objetivo:{FFFFFF} Colher sementes (na fazenda do emprego)\n"); strcat(Dialog,string); format(string, sizeof(string), " {9c9c9c}Ganhos:{FFFFFF} Existe uma variacao por habilidade\n"); strcat(Dialog,string); format(string, sizeof(string), " {9c9c9c}Por remessa:{FFFFFF} R$1.500,00 a R$5.000,00(dependendo da habilidade)\n"); strcat(Dialog,string); format(string, sizeof(string), " {9c9c9c}Por semente:{FFFFFF} R$100,00 a R$300,00(dependendo da habilidade)\n"); strcat(Dialog,string); format(string, sizeof(string), " {9c9c9c}Como trabalhar?{FFFFFF} Na fazenda do emprego no sinal branco voce inicia o servico\n\n"); strcat(Dialog,string); format(string, sizeof(string), " {4876FF}Comandos:{FFFFFF} /ce /irrancho"); strcat(Dialog,string); ShowPlayerDialog(playerid,10571,DIALOG_STYLE_MSGBOX, "Ajuda Emprego", Dialog, "Fechar", ""); } if(PlayerInfo[playerid][pEmprego] == 4) { new Dialog[1500]; format(string, sizeof(string), "{4876FF}» Vendedor de produtos:\n\n"); strcat(Dialog,string); format(string, sizeof(string), " {9c9c9c}Objetivo:{FFFFFF} Vender produtos para fazendas/empresas\n"); strcat(Dialog,string); format(string, sizeof(string), " {9c9c9c}Ganho:{FFFFFF} Determinado pela fazenda/empresa que voce vender!\n"); strcat(Dialog,string); format(string, sizeof(string), " {9c9c9c}Como trabalhar?{FFFFFF} Digite /comprarprodutos no local de servico\n"); strcat(Dialog,string); format(string, sizeof(string), " {9c9c9c}Como entregar?{FFFFFF} Digite: /venderprodutos na fazenda/empresa que ira vender\n"); strcat(Dialog,string); format(string, sizeof(string), " {4876FF}* Dica:{FFFFFF} Digite /gps e procure uma empresa que pague melhor pelos produtos!\n\n"); strcat(Dialog,string); format(string, sizeof(string), " {4876FF}* Missoes:{FFFFFF} Digite /mercadorials /mercadoriasf /mercadorialv para entregar mercadorias!\n\n"); strcat(Dialog,string); format(string, sizeof(string), " {4876FF}Comandos:{FFFFFF} /ce /comprarprodutos /venderprodutos /prods /mercadorials /mercadoriasf /mercadorialv\n"); strcat(Dialog,string); ShowPlayerDialog(playerid,10571,DIALOG_STYLE_MSGBOX, "Ajuda Emprego", Dialog, "Fechar", ""); } if(PlayerInfo[playerid][pEmprego] == 5) { new Dialog[1500]; format(string, sizeof(string), "{4876FF}» Taxista:\n\n"); strcat(Dialog,string); format(string, sizeof(string), " {9c9c9c}Objetivo:{FFFFFF} Transportar jogadores de locais com seu carro/moto\n"); strcat(Dialog,string); format(string, sizeof(string), " {9c9c9c}Ganhos:{FFFFFF} Voce determina o valor usando: /corrida [PREcO]\n"); strcat(Dialog,string); format(string, sizeof(string), " {9c9c9c}Como trabalhar?{FFFFFF} Espere um chamado, ou ande por Los Santos\n"); strcat(Dialog,string); format(string, sizeof(string), " {FFFFFF}... Espere entrar no taxi para que voce receba o dinheiro\n"); strcat(Dialog,string); format(string, sizeof(string), " {FFFFFF}... Caso receba um chamado, use: /aceitar taxi ou moto-taxi\n"); strcat(Dialog,string); format(string, sizeof(string), " {FFFFFF}... Caso queira cancelar seu servico use: /cancelar\n"); strcat(Dialog,string); format(string, sizeof(string), " {4876FF}* DICA:{FFFFFF} Ande por Los Santos procurando\n\n"); strcat(Dialog,string); format(string, sizeof(string), " {4876FF}Comandos:{FFFFFF} /ce /corrida [preco]\n"); strcat(Dialog,string); ShowPlayerDialog(playerid,10571,DIALOG_STYLE_MSGBOX, "Ajuda Emprego", Dialog, "Fechar", ""); } if(PlayerInfo[playerid][pEmprego] == 6) { new Dialog[1500]; format(string, sizeof(string), "{4876FF}» Bombeiro:\n\n"); strcat(Dialog,string); format(string, sizeof(string), " {9c9c9c}Objetivo:{FFFFFF} Apagar os incendios pela cidade\n"); strcat(Dialog,string); format(string, sizeof(string), " {9c9c9c}Ganhos:{FFFFFF} R$:500,00 por fogo & R$1.000,00 a R$10.000,00 por foco de incendio\n"); strcat(Dialog,string); format(string, sizeof(string), " {9c9c9c}Como trabalhar?{FFFFFF} Espere que aconteca algum incendio e va ate ele\n"); strcat(Dialog,string); format(string, sizeof(string), " {FFFFFF}... Use o comando: /lincendio para localizar o incendio\n"); strcat(Dialog,string); format(string, sizeof(string), " {FFFFFF}... Caso receba algum chamado de jogador, use: /aceitar bombeiro\n\n"); strcat(Dialog,string); format(string, sizeof(string), " {4876FF}Comandos:{FFFFFF} /ce /aceitar bombeiro /corda /lincendio(Para localizar algum foco de incendio de carro)\n"); strcat(Dialog,string); ShowPlayerDialog(playerid,10571,DIALOG_STYLE_MSGBOX, "Ajuda Emprego", Dialog, "Fechar", ""); } if(PlayerInfo[playerid][pEmprego] == 7) { new Dialog[1500]; format(string, sizeof(string), "{4876FF}» Entregador iFood:\n\n"); strcat(Dialog,string); format(string, sizeof(string), " {9c9c9c}Objetivo:{FFFFFF} Fazer entregas aleatórias pela cidade\n"); strcat(Dialog,string); format(string, sizeof(string), " {9c9c9c}Como trabalhar?{FFFFFF} Ligue o app Espere um chamado, ou ande por Los Santos\n"); strcat(Dialog,string); format(string, sizeof(string), " {4876FF}Comandos:{FFFFFF} /ligarapp /desligarapp \n"); strcat(Dialog,string); ShowPlayerDialog(playerid,10571,DIALOG_STYLE_MSGBOX, "Ajuda Emprego", Dialog, "Fechar", ""); } if(PlayerInfo[playerid][pEmprego] == 9) { new Dialog[1500]; format(string, sizeof(string), "{4876FF}» Motorista de Onibus:\n\n"); strcat(Dialog,string); format(string, sizeof(string), " {9c9c9c}Objetivo:{FFFFFF} Transportar jogadores de locais com seu onibus\n"); strcat(Dialog,string); format(string, sizeof(string), " {9c9c9c}Ganhos:{FFFFFF} Entre R$:1.000 & RS:20.000\n"); strcat(Dialog,string); format(string, sizeof(string), " {9c9c9c}Como trabalhar?{FFFFFF} Digite /terminais e siga a marca vermelha.\n"); strcat(Dialog,string); format(string, sizeof(string), " {4876FF}* DICA:{FFFFFF} Digite /corrida e anda pelas cidades procurando passageiros\n\n"); strcat(Dialog,string); format(string, sizeof(string), " {4876FF}Comandos:{FFFFFF} /ce /terminais /corrida \n"); strcat(Dialog,string); ShowPlayerDialog(playerid,10571,DIALOG_STYLE_MSGBOX, "Ajuda Emprego", Dialog, "Fechar", ""); } if(PlayerInfo[playerid][pEmprego] == 8) { new Dialog[1500]; format(string, sizeof(string), "{4876FF}» Motorista Caminhão de Lixo:\n\n"); strcat(Dialog,string); format(string, sizeof(string), " {9c9c9c}Objetivo:{FFFFFF} Recolher lixo pela cidade\n"); strcat(Dialog,string); format(string, sizeof(string), " {9c9c9c}Como trabalhar?{FFFFFF} Use o comando para começar a rota\n"); strcat(Dialog,string); format(string, sizeof(string), " {4876FF}Comandos:{FFFFFF} /coleta /rcoleta \n"); strcat(Dialog,string); ShowPlayerDialog(playerid,10571,DIALOG_STYLE_MSGBOX, "Ajuda Emprego", Dialog, "Fechar", ""); } if(PlayerInfo[playerid][pEmprego] == 11) { new Dialog[1500]; format(string, sizeof(string), "{4876FF}» Paramédicos:\n\n"); strcat(Dialog,string); format(string, sizeof(string), " {9c9c9c}Objetivo:{FFFFFF} Reanimar jogadores que estão perto da morte.\n"); strcat(Dialog,string); format(string, sizeof(string), " {9c9c9c}Como trabalhar?{FFFFFF} Use o comando para começar a reanimação:\n"); strcat(Dialog,string); format(string, sizeof(string), " {4876FF}Comandos:{FFFFFF} /Reanimar(Ou pressione Y) /Feridos /LocalizarJ /Plantao\n"); strcat(Dialog,string); ShowPlayerDialog(playerid,10571,DIALOG_STYLE_MSGBOX, "Ajuda Emprego", Dialog, "Fechar", ""); } if(PlayerInfo[playerid][pEmprego] == 14) { new Dialog[1500]; format(string, sizeof(string), "{4876FF}» Paramédicos:\n\n"); strcat(Dialog,string); format(string, sizeof(string), " {9c9c9c}Objetivo:{FFFFFF} Reanimar jogadores que estão perto da morte.\n"); strcat(Dialog,string); format(string, sizeof(string), " {9c9c9c}Como trabalhar?{FFFFFF} Use o comando para começar a reanimação:\n"); strcat(Dialog,string); format(string, sizeof(string), " {4876FF}Comandos:{FFFFFF} /Reanimar(Ou pressione Y) /Feridos /LocalizarJ /Plantao\n"); strcat(Dialog,string); ShowPlayerDialog(playerid,10571,DIALOG_STYLE_MSGBOX, "Ajuda Emprego", Dialog, "Fechar", ""); } if(PlayerInfo[playerid][pEmprego] == 16) { new Dialog[1500]; format(string, sizeof(string), "{4876FF}» Paramédicos:\n\n"); strcat(Dialog,string); format(string, sizeof(string), " {9c9c9c}Objetivo:{FFFFFF} Reanimar jogadores que estão perto da morte.\n"); strcat(Dialog,string); format(string, sizeof(string), " {9c9c9c}Como trabalhar?{FFFFFF} Use o comando para começar a reanimação:\n"); strcat(Dialog,string); format(string, sizeof(string), " {4876FF}Comandos:{FFFFFF} /Reanimar(Ou pressione Y) /Feridos /LocalizarJ /Plantao\n"); strcat(Dialog,string); ShowPlayerDialog(playerid,10571,DIALOG_STYLE_MSGBOX, "Ajuda Emprego", Dialog, "Fechar", ""); } if(PlayerInfo[playerid][pEmprego] == 12) { new Dialog[1500]; format(string, sizeof(string), "{4876FF}» Eletricista:\n\n"); strcat(Dialog,string); format(string, sizeof(string), " {9c9c9c}Objetivo:{FFFFFF} Concertar internet das casas.\n"); strcat(Dialog,string); format(string, sizeof(string), " {9c9c9c}Como trabalhar?{FFFFFF} Use o comando para começar a rota\n"); strcat(Dialog,string); format(string, sizeof(string), " {4876FF}Comandos:{FFFFFF} /iniciareletricista /cancelareletricista /ce\n"); strcat(Dialog,string); ShowPlayerDialog(playerid,10571,DIALOG_STYLE_MSGBOX, "Ajuda Emprego", Dialog, "Fechar", ""); } if(PlayerInfo[playerid][pEmprego] == 13) { new Dialog[1500]; format(string, sizeof(string), "{4876FF}» Caminhoneiro:\n\n"); strcat(Dialog,string); format(string, sizeof(string), " {9c9c9c}Objetivo:{FFFFFF} Entregar cargas a cidades!.\n"); strcat(Dialog,string); format(string, sizeof(string), " {9c9c9c}Como trabalhar?{FFFFFF} Use o comando: /menucaminhoneiro para começar a rota\n"); strcat(Dialog,string); format(string, sizeof(string), " {4876FF}Comandos:{FFFFFF} /menucaminhoneiro /cancelarcaminhoneiro /ce\n"); strcat(Dialog,string); ShowPlayerDialog(playerid,10571,DIALOG_STYLE_MSGBOX, "Ajuda Emprego", Dialog, "Fechar", ""); } if(PlayerInfo[playerid][pEmprego] == 14) { new Dialog[1500]; format(string, sizeof(string), "{4876FF}» Frentista:\n\n"); strcat(Dialog,string); format(string, sizeof(string), " {9c9c9c}Objetivo:{FFFFFF} Abastecer veiculos!\n"); strcat(Dialog,string); format(string, sizeof(string), " {9c9c9c}Como trabalhar?{FFFFFF} Use o comando: /abplayer para abastecer alguem\n"); strcat(Dialog,string); format(string, sizeof(string), " {4876FF}Comandos:{FFFFFF} /abplayer /ce\n"); strcat(Dialog,string); ShowPlayerDialog(playerid,10571,DIALOG_STYLE_MSGBOX, "Ajuda Emprego", Dialog, "Fechar", ""); } if(PlayerInfo[playerid][pEmprego] == 15) { new Dialog[1500]; format(string, sizeof(string), "{4876FF}» Entregador Aereo:\n\n"); strcat(Dialog,string); format(string, sizeof(string), " {9c9c9c}Objetivo:{FFFFFF} Fazer entregas nas cidades!\n"); strcat(Dialog,string); format(string, sizeof(string), " {9c9c9c}Como trabalhar?{FFFFFF} Use o comando: /menuentregador para abastecer alguem\n"); strcat(Dialog,string); format(string, sizeof(string), " {4876FF}Comandos:{FFFFFF} /menuentregador /ce\n"); strcat(Dialog,string); ShowPlayerDialog(playerid,10571,DIALOG_STYLE_MSGBOX, "Ajuda Emprego", Dialog, "Fechar", ""); } } if(listitem == 7) { SendClientMessage(playerid, COLOR_WHITE, "|______________ Ajuda Cozinha ______________|"); SendClientMessage(playerid, COLOR_GRAD3,"Cozinha > /cozinhar (Mostra as opcoes disponiveis) /cozido (Mostra o que ja foi cozinhado)"); SendClientMessage(playerid, COLOR_GRAD3,"Cozinha > /comer (Come o que ja foi cozinhado)"); } if(listitem == 8) { SendClientMessage(playerid, COLOR_WHITE, "|______________ Ajuda Casamento ______________|"); SendClientMessage(playerid, COLOR_LIGHTRED,"/padrinho (cada 1 tem que ter 1 padrinho!)"); SendClientMessage(playerid, COLOR_LIGHTRED,"/casar (quem pedir tem que ter 1 casa!)"); SendClientMessage(playerid, COLOR_LIGHTBLUE,"Nao sabe o local? digite /gps - Lugares importantes - Igreja"); SendClientMessage(playerid, 0xDEBC00AA,"Separacao(Digite: /separacao)"); } if(listitem == 9) { SendClientMessage(playerid, COLOR_WHITE, "|______________ Discord Do Server ______________|"); SendClientMessage(playerid, COLOR_YELLOW,"https://discord.gg/z5P33zH5Kh"); SendClientMessage(playerid, COLOR_YELLOW,"Se cadastre e veja as contas VIP's."); } if(listitem == 10) { new Strings[2900]; strcat(Strings, "{999999}Qual o valor do cash?\n"); strcat(Strings, " {FFFFFF}O valor do cash e R$:1,00 a cada 1.000 cash.\n"); strcat(Strings, " {F7FE2E}EXEMPLO:{FFFFFF} R$:35,00 = 35.000 cash | R$:50,00 = 50.000 cash.\n"); strcat(Strings, " {FFFFFF}Voce recebe um bonus em cada ativacao veja no /bonuscash\n\n"); strcat(Strings, "{999999}Como ativar cash?\n"); strcat(Strings, " {FFFFFF}Digite /lojavip e va em ativacao para ativar seus cash's\n\n"); strcat(Strings, "{FFFFFF}Via PIX\n"); strcat(Strings, " {01DF3A}- {FFFFFF}Faça uma transferencia com o valor para uma das nossas chaves pix's\n"); strcat(Strings, " {01DF3A}- {FFFFFF}Chave PIX(Numero): {00FF7F}21996538811\n"); strcat(Strings, " {FFFFFF}- Faça a ativação de cash via {32CD32}Discord: {FFFFFF}Com Algum Res.\n\n"); strcat(Strings, "{FFFFFF}Boleto{01DF3A}Loterica\n"); strcat(Strings, " {01DF3A}- {FFFFFF}No Boleto voce tera que pagar 2 Reais A Mais Por Conta da Cobranca de Taxa do Boleto :\n"); strcat(Strings, " {FFFFFF}Pegue o Boleto para Pagamento no Discord.\n\n"); strcat(Strings, "{FFFFFF}Pic{0040FF}Pay\n"); strcat(Strings, " {0040FF}- {FFFFFF}Entre no Discord e Peca o Link de Pagamento:\n"); strcat(Strings, " {FFFFFF}https://discord.gg/z5P33zH5Kh\n\n"); strcat(Strings, "{FFFFFF}Mer{086A87}cadoPago\n"); strcat(Strings, " {086A87}-{FFFFFF}Entre em Contado com DG HD SAMP Quando Tiver Efetuado o Pagamento para o e-mail abaixo:\n"); strcat(Strings, " {FFFFFF}Faca transferencia do valor desejado para o e-mail: \n\n"); strcat(Strings, " {FFFFFF}lucastavora2005@gmail.com \n\n"); strcat(Strings, " {FFFFFF}Chame no Discord qualquer Duvida \n\n"); ShowPlayerDialog(playerid, 99, DIALOG_STYLE_MSGBOX, "Informações Cash", Strings, "Fechar", ""); } if(listitem == 11) { SendClientMessage(playerid, COLOR_WHITE,"|______________ Ajuda Veiculo ______________|"); SendClientMessage(playerid, COLOR_GRAD2,"- CARRO FREE - /mv "); SendClientMessage(playerid, COLOR_GRAD2,"- CARROS VIP"); SendClientMessage(playerid, COLOR_GRAD2," - /descricaomeucarro /entradameucarro /estacionarmeucarro /trancar"); SendClientMessage(playerid, COLOR_GRAD2,"- CARRO VIPS - /modelomeucarro /vendermeucarro /cormeucarro /retirargrana /localizarveiculo"); } if(listitem == 12) { SendClientMessage(playerid, COLOR_YELLOW,"_______________________________________ AJUDA OUROS ________________________________________"); SendClientMessage(playerid, COLOR_YELLOW, "O sistema de OUROS foi criado para proteger sua grana e evitar possiveiS BUGs."); SendClientMessage(playerid, COLOR_YELLOW,"Acontece quando tem uma quantidade muito grande de dinheiro em maos ou no Banco, ele fica Negativo."); SendClientMessage(playerid, COLOR_YELLOW,"Pode acontecer quando tiver mais de 1kkk(R$1000000000) no banco ou mais de 10kk(R$10000000) em maos."); SendClientMessage(playerid, COLOR_YELLOW,"Os OUROS funcionam da seguinte Forma:"); SendClientMessage(playerid, COLOR_YELLOW,"Cada OURO e o equivalente a 100k(R$100000) [1 OURO = R$100000]"); SendClientMessage(playerid, COLOR_YELLOW,"Voce pode ver a quantidade de OUROS que voce tem digitando /RG."); SendClientMessage(playerid, COLOR_YELLOW,"Para voce Sacar ou Depositar OUROS voce precisa estar em um Banco."); SendClientMessage(playerid, COLOR_YELLOW,"USE: /comprarouros [Quantidade] OU /venderouros [Quantidade]."); } if(listitem == 13) { SendClientMessage(playerid, COLOR_YELLOW,"___________________________________ Ajuda Fazenda ___________________________________"); SendClientMessage(playerid, COLOR_YELLOW, "- AJUDA FAZENDA - Comandos Disponiveis:"); SendClientMessage(playerid, COLOR_YELLOW,"- FAZENDA - /infofazenda /nomefazenda /precoprodutofaz /pedirprodutosfaz"); SendClientMessage(playerid, COLOR_YELLOW,"- FAZENDA - /chave /venderfazenda /sacarfazenda /depositarfazenda"); } if(listitem == 14) { SendClientMessage(playerid, COLOR_YELLOW,"___________________________________ Ajuda Pesca ___________________________________"); SendClientMessage(playerid, COLOR_YELLOW, "*** PESCA *** /pesca (Tente pegar um peixe) /peixes (Mostrar os peixes capturados que tem)"); SendClientMessage(playerid, COLOR_YELLOW,"*** PESCA *** /jogardevolta (Jogue o último peixe capturado) /jogardevoltatudo"); SendClientMessage(playerid, COLOR_YELLOW,"*** PESCA *** /jogarpeixe (Libere um de seus peixes) /vender (Venda um peixe)"); } if(listitem == 15) { if(PlayerInfo[playerid][pMembro] == 1 || PlayerInfo[playerid][pLider] == 1) { new Dialog[1500]; format(string, sizeof(string), "{FFFFFF}Comandos:"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/r - Chat da Organizacao | /d - Chat do Governo | /m - Usar o Megafone | /do - Dominar Territorios"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/su - Colocar Suspeito Procurado | /rf - Solicitar Reforco | /ficha - Ver Ficha do Suspeito"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/prender - Prender Suspeito | /procurados - Ver Jogadores Procurados | /algemar - Algemar Suspeito"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/revistar - Revitar Suspeito | /retirar - Retirar Algo do Suspeito | /arrombar - Arrombar Alguma Casa"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/multar - Multar um Jogador | /bafometro - Utilizar Bafometro no Suspeito | /imo - Imobilizar o Suspeito"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/plataforma - Adicionar plataforma no Heli | /limpar - Limpar Ficha do Suspeito | /queimarmaconha"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/gov - Anunciar Algo | /farejar - Achar platacões de maconha | /br - Colocar BR | /rbr - Retirar BR"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/bq - Colocar BQ | /rbq - Retirar BQ | /cone - colocar cone | /dcone | /rcone | /colete - usar colete"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/desarmarbomba - Desarma Bombas | /consertarcaixa - Conserta Caixas | /sirene - Colocar sirene | /abordar para abordar algum player"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/escudo - Coloca/retira um Escudo | /refemsalvar | /desamarrar | /ronda - Para Rondar | /taser | /continencia para bater continencia"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/voz Voz por Audio | /roubos para ver quais roubos estao acontecendo | /arrastar - Arrastar Suspeito | /pregos - Pregos | /rpr Retirar Pregos | /flash"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/verlicencas /verrg"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{FFFFFF}Portões:"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/pp /pv /pr /pg2"); strcat(Dialog,string); ShowPlayerDialog(playerid,1009,DIALOG_STYLE_MSGBOX, "Comandos Policia Militar", Dialog, "OK", "Cancelar"); } if(PlayerInfo[playerid][pMembro] == 2 || PlayerInfo[playerid][pLider] == 2) { new Dialog[1500]; format(string, sizeof(string), "{FFFFFF}Comandos:"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/r - Chat da Organizacao | /d - Chat do Governo | /m - Usar o Megafone | /do - Dominar Territorios"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/su - Colocar Suspeito Procurado | /rf - Solicitar Reforco | /ficha - Ver Ficha do Suspeito"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/prender - Prender Suspeito | /procurados - Ver Jogadores Procurados | /algemar - Algemar Suspeito"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/revistar - Revitar Suspeito | /retirar - Retirar Algo do Suspeito | /arrombar - Arrombar Alguma Casa"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/multar - Multar um Jogador | /bafometro - Utilizar Bafometro no Suspeito | /imo - Imobilizar o Suspeito "); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/plataforma - Adicionar plataforma no Heli | /limpar - Limpar Ficha do Suspeito | /queimarmaconha"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/gov - Anunciar Algo | /farejar - Achar platacões de maconha | /br - Colocar BR | /rbr - Retirar BR"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/bq - Colocar BQ | /rbq - Retirar BQ | /cone - colocar cone | /dcone | /rcone | /colete - usar colete"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/desarmarbomba - Desarma Bombas | /consertarcaixa - Conserta Caixas | /sirene - Colocar sirene | /abordar para abordar algum player"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/escudo - Coloca/retira um Escudo | /refemsalvar | /desamarrar | /ronda - Para Rondar | /taser | /continencia para bater continencia"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/voz Voz por Audio | /roubos para ver quais roubos estao acontecendo | /arrastar - Arrastar Suspeito | /pregos - Pregos | /rpr Retirar Pregos | /flash"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/verlicencas /verrg"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{FFFFFF}Portões:"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/pbope"); strcat(Dialog,string); ShowPlayerDialog(playerid,1009,DIALOG_STYLE_MSGBOX, "Comandos BOPE", Dialog, "OK", "Cancelar"); } if(PlayerInfo[playerid][pMembro] == 35 || PlayerInfo[playerid][pLider] == 35) { new Dialog[1500]; format(string, sizeof(string), "{FFFFFF}Comandos:"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/r - Chat da Organizacao | /d - Chat do Governo | /m - Usar o Megafone | /do - Dominar Territorios"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/su - Colocar Suspeito Procurado | /rf - Solicitar Reforco | /ficha - Ver Ficha do Suspeito"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/prender - Prender Suspeito | /procurados - Ver Jogadores Procurados | /algemar - Algemar Suspeito"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/revistar - Revitar Suspeito | /retirar - Retirar Algo do Suspeito | /arrombar - Arrombar Alguma Casa"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/multar - Multar um Jogador | /bafometro - Utilizar Bafometro no Suspeito | /imo - Imobilizar o Suspeito "); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/plataforma - Adicionar plataforma no Heli | /limpar - Limpar Ficha do Suspeito | /queimarmaconha"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/gov - Anunciar Algo | /farejar - Achar platacões de maconha | /br - Colocar BR | /rbr - Retirar BR"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/bq - Colocar BQ | /rbq - Retirar BQ | /cone - colocar cone | /dcone | /rcone | /colete - usar colete"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/desarmarbomba - Desarma Bombas | /consertarcaixa - Conserta Caixas | /sirene - Colocar sirene | /abordar para abordar algum player"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/escudo - Coloca/retira um Escudo | /refemsalvar | /desamarrar | /ronda - Para Rondar | /taser | /continencia para bater continencia"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/voz Voz por Audio | /roubos para ver quais roubos estao acontecendo | /arrastar - Arrastar Suspeito | /pregos - Pregos | /rpr Retirar Pregos | /flash"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/verlicencas /verrg"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{FFFFFF}Portões:"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/pbaep"); strcat(Dialog,string); ShowPlayerDialog(playerid,1009,DIALOG_STYLE_MSGBOX, "Comandos BAEP", Dialog, "OK", "Cancelar"); } if(PlayerInfo[playerid][pMembro] == 36 || PlayerInfo[playerid][pLider] == 36) { new Dialog[1500]; format(string, sizeof(string), "{FFFFFF}Comandos:"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/r - Chat da Organizacao | /d - Chat do Governo | /m - Usar o Megafone | /do - Dominar Territorios"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/su - Colocar Suspeito Procurado | /rf - Solicitar Reforco | /ficha - Ver Ficha do Suspeito"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/prender - Prender Suspeito | /procurados - Ver Jogadores Procurados | /algemar - Algemar Suspeito"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/revistar - Revitar Suspeito | /retirar - Retirar Algo do Suspeito | /arrombar - Arrombar Alguma Casa"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/multar - Multar um Jogador | /bafometro - Utilizar Bafometro no Suspeito | /imo - Imobilizar o Suspeito "); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/plataforma - Adicionar plataforma no Heli | /limpar - Limpar Ficha do Suspeito | /queimarmaconha"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/gov - Anunciar Algo | /farejar - Achar platacões de maconha | /br - Colocar BR | /rbr - Retirar BR"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/bq - Colocar BQ | /rbq - Retirar BQ | /cone - colocar cone | /dcone | /rcone | /colete - usar colete"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/desarmarbomba - Desarma Bombas | /consertarcaixa - Conserta Caixas | /sirene - Colocar sirene | /abordar para abordar algum player"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/escudo - Coloca/retira um Escudo | /refemsalvar | /desamarrar | /ronda - Para Rondar | /taser | /continencia para bater continencia"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/voz Voz por Audio | /roubos para ver quais roubos estao acontecendo | /arrastar - Arrastar Suspeito | /pregos - Pregos | /rpr Retirar Pregos | /flash"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/verlicencas /verrg"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{FFFFFF}Portões:"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/portaoft(portao Entrada)"); strcat(Dialog,string); ShowPlayerDialog(playerid,1009,DIALOG_STYLE_MSGBOX, "Comandos F.T", Dialog, "OK", "Cancelar"); } if(PlayerInfo[playerid][pMembro] == 3 || PlayerInfo[playerid][pLider] == 3) { new Dialog[1500]; format(string, sizeof(string), "{FFFFFF}Comandos:"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/r - Chat da Organizacao | /d - Chat do Governo | /m - Usar o Megafone | /dotr - Dominar MATA"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/su - Colocar Suspeito Procurado | /rf - Solicitar Reforco | /ficha - Ver Ficha do Suspeito"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/prender - Prender Suspeito | /procurados - Ver Jogadores Procurados | /algemar - Algemar Suspeito"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/revistar - Revitar Suspeito | /retirar - Retirar Algo do Suspeito | /arrombar - Arrombar Alguma Casa"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/multar - Multar um Jogador | /bafometro - Utilizar Bafometro no Suspeito | /imo - Imobilizar o Suspeito"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/plataforma - Adicionar plataforma no Heli | /limpar - Limpar Ficha do Suspeito | /queimarmaconha"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/gov - Anunciar Algo | /farejar - Achar platacões de maconha | /br - Colocar BR | /rbr - Retirar BR"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/bq - Colocar BQ | /rbq - Retirar BQ | /cone - colocar cone | /dcone | /rcone | /colete - usar colete"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/desarmarbomba - Desarma Bombas | /consertarcaixa - Conserta Caixas | /sirene - Colocar sirene | /continencia para bater continencia"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/escudo - Coloca/retira um Escudo | /refemsalvar | /desamarrar | /ronda - Para Rondar | /taser | /abordar para abordar algum player"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/voz Voz por Audio | /roubos para ver quais roubos estao acontecendo | /arrastar - Arrastar Suspeito | /pregos - Pregos | /rpr Retirar Pregos | /flash"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/verlicencas /verrg"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{FFFFFF}Portões:"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/pgn(portao Entrada) /pgn2(barco dentro Navio) /plate(plataforma de Hydras Radipos) /plate2(Hydras Lentos)"); strcat(Dialog,string); ShowPlayerDialog(playerid,1009,DIALOG_STYLE_MSGBOX, "Comandos GN", Dialog, "OK", "Cancelar"); } if(PlayerInfo[playerid][pMembro] == 11 || PlayerInfo[playerid][pLider] == 11) { new Dialog[1500]; format(string, sizeof(string), "{FFFFFF}Comandos:"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/r - Chat da Organizacao | /d - Chat do Governo | /m - Usar o Megafone | /do - Dominar"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/su - Colocar Suspeito Procurado | /rf - Solicitar Reforco | /ficha - Ver Ficha do Suspeito"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/prender - Prender Suspeito | /procurados - Ver Jogadores Procurados | /algemar - Algemar Suspeito"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/revistar - Revitar Suspeito | /retirar - Retirar Algo do Suspeito | /arrombar - Arrombar Alguma Casa"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/multar - Multar um Jogador | /bafometro - Utilizar Bafometro no Suspeito | /imo - Imobilizar o Suspeito"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/plataforma - Adicionar plataforma no Heli | /limpar - Limpar Ficha do Suspeito | /queimarmaconha"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/gov - Anunciar Algo | /farejar - Achar platacões de maconha | /br - Colocar BR | /rbr - Retirar BR"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/bq - Colocar BQ | /rbq - Retirar BQ | /cone - colocar cone | /dcone | /rcone | /colete - usar colete"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/desarmarbomba - Desarma Bombas | /consertarcaixa - Conserta Caixas | /sirene - Colocar sirene | /continencia para bater continencia"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/escudo - Coloca/retira um Escudo | /refemsalvar | /desamarrar | /ronda - Para Rondar | /taser | /abordar para abordar algum player"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/voz Voz por Audio | /roubos para ver quais roubos estao acontecendo | /arrastar - Arrastar Suspeito | /pregos - Pregos | /rpr Retirar Pregos | /flash"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/verlicencas /verrg"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{FFFFFF}Portões:"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/ppf"); strcat(Dialog,string); ShowPlayerDialog(playerid,1009,DIALOG_STYLE_MSGBOX, "Comandos", Dialog, "OK", "Cancelar"); } if(PlayerInfo[playerid][pMembro] == 16 || PlayerInfo[playerid][pLider] == 16) { new Dialog[1500]; format(string, sizeof(string), "{FFFFFF}Comandos:"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/r - Chat da Organizacao | /d - Chat do Governo | /m - Usar o Megafone | /do - Dominar"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/su - Colocar Suspeito Procurado | /rf - Solicitar Reforco | /ficha - Ver Ficha do Suspeito"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/prender - Prender Suspeito | /procurados - Ver Jogadores Procurados | /algemar - Algemar Suspeito"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/revistar - Revitar Suspeito | /retirar - Retirar Algo do Suspeito | /arrombar - Arrombar Alguma Casa"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/multar - Multar um Jogador | /bafometro - Utilizar Bafometro no Suspeito | /imo - Imobilizar o Suspeito"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/plataforma - Adicionar plataforma no Heli | /limpar - Limpar Ficha do Suspeito | /queimarmaconha"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/gov - Anunciar Algo | /farejar - Achar platacões de maconha | /br - Colocar BR | /rbr - Retirar BR"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/bq - Colocar BQ | /rbq - Retirar BQ | /cone - colocar cone | /dcone | /rcone | /colete - usar colete"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/desarmarbomba - Desarma Bombas | /consertarcaixa - Conserta Caixas | /sirene - Colocar sirene | /continencia para bater continencia"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/escudo - Coloca/retira um Escudo | /refemsalvar | /desamarrar | /ronda - Para Rondar | /taser | /abordar para abordar algum player"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/voz Voz por Audio | /roubos para ver quais roubos estao acontecendo | /arrastar - Arrastar Suspeito | /pregos - Pregos | /rpr Retirar Pregos | /flash"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/verlicencas /verrg"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{FFFFFF}Portões:"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/prota "); strcat(Dialog,string); ShowPlayerDialog(playerid,1009,DIALOG_STYLE_MSGBOX, "Comandos ROTA", Dialog, "OK", "Cancelar"); } if(PlayerInfo[playerid][pMembro] == 33 || PlayerInfo[playerid][pLider] == 33) { new Dialog[1500]; format(string, sizeof(string), "{FFFFFF}Comandos:"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/r - Chat da Organizacao | /d - Chat do Governo | /m - Usar o Megafone | /do - Dominar"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/su - Colocar Suspeito Procurado | /rf - Solicitar Reforco | /ficha - Ver Ficha do Suspeito"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/prender - Prender Suspeito | /procurados - Ver Jogadores Procurados | /algemar - Algemar Suspeito"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/revistar - Revitar Suspeito | /retirar - Retirar Algo do Suspeito | /arrombar - Arrombar Alguma Casa"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/multar - Multar um Jogador | /bafometro - Utilizar Bafometro no Suspeito | /imo - Imobilizar o Suspeito"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/plataforma - Adicionar plataforma no Heli | /limpar - Limpar Ficha do Suspeito | /queimarmaconha"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/gov - Anunciar Algo | /farejar - Achar platacões de maconha | /br - Colocar BR | /rbr - Retirar BR"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/bq - Colocar BQ | /rbq - Retirar BQ | /cone - colocar cone | /dcone | /rcone | /colete - usar colete"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/desarmarbomba - Desarma Bombas | /consertarcaixa - Conserta Caixas | /sirene - Colocar sirene | /continencia para bater continencia"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/escudo - Coloca/retira um Escudo | /refemsalvar | /desamarrar | /ronda - Para Rondar | /taser | /abordar para abordar algum player"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/voz Voz por Audio | /roubos para ver quais roubos estao acontecendo | /arrastar - Arrastar Suspeito | /pregos - Pregos | /rpr Retirar Pregos | /flash"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{FFFFFF}Outros:"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/verlicencas /verrg"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{FFFFFF}Portões:"); strcat(Dialog,string); format(string, sizeof(string), "\n{4876FF}/ppc /ppc2"); strcat(Dialog,string); ShowPlayerDialog(playerid,1009,DIALOG_STYLE_MSGBOX, "Comandos", Dialog, "OK", "Cancelar"); } if(PlayerInfo[playerid][pMembro] == 6 || PlayerInfo[playerid][pLider] == 6) { new Dialog[1500]; format(string, sizeof(string), "{FFFFFF}Comandos:"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/r - Chat da Organizacao | /d - Chat do Governo | /m - Usar o Megafone | /do - Dominar Territorios"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/su - Colocar Suspeito Procurado | /rf - Solicitar Reforco | /ficha - Ver Ficha do Suspeito"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/prender - Prender Suspeito | /procurados - Ver Jogadores Procurados | /algemar - Algemar Suspeito"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/revistar - Revitar Suspeito | /retirar - Retirar Algo do Suspeito | /arrombar - Arrombar Alguma Casa"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/multar - Multar um Jogador | /bafometro - Utilizar Bafometro no Suspeito | /imo - Imobilizar o Suspeito"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/plataforma - Adicionar plataforma no Heli | /limpar - Limpar Ficha do Suspeito | /queimarmaconha"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/gov - Anunciar Algo | /farejar - Achar platacões de maconha | /br - Colocar BR | /rbr - Retirar BR"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/bq - Colocar BQ | /rbq - Retirar BQ | /cone - colocar cone | /dcone | /rcone | /colete - usar colete"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/desarmarbomba - Desarma Bombas | /consertarcaixa - Conserta Caixas | /sirene - Colocar sirene | /abordar para abordar algum player"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/escudo - Coloca/retira um Escudo | /refemsalvar | /desamarrar | /ronda - Para Rondar | /taser | /continencia para bater continencia"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/voz Voz por Audio | /roubos para ver quais roubos estao acontecendo | /arrastar - Arrastar Suspeito | /pregos - Pregos | /rpr Retirar Pregos | /flash"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/verlicencas /verrg"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{FFFFFF}Portões:"); strcat(Dialog,string); format(string, sizeof(string), "\n\n{4876FF}/pgat"); strcat(Dialog,string); ShowPlayerDialog(playerid,1009,DIALOG_STYLE_MSGBOX, "Comandos Policia Militar", Dialog, "OK", "Cancelar"); } if(GetPlayerOrg(playerid) == 9 || GetPlayerOrg(playerid) == 32) { ShowPlayerDialog(playerid,1009,DIALOG_STYLE_MSGBOX, "Comandos Reporteres", "/ga - Chat Reporteres\n/prevertempo para prever o tempo\n/noticias - Dar Noticias Para o BPF\n/aovivo - Falar com Alguem(AoVio)\n/preporter - Portao HQ\n/cameraman\n/noar\n/foradoar\n/audiencia", "Ok", ""); } if(GetPlayerOrg(playerid) == 5 || GetPlayerOrg(playerid) == 10 || GetPlayerOrg(playerid) == 14 || GetPlayerOrg(playerid) == 17 || GetPlayerOrg(playerid) == 18 || GetPlayerOrg(playerid) == 38 || GetPlayerOrg(playerid) == 19 || GetPlayerOrg(playerid) == 21 || GetPlayerOrg(playerid) == 37 || GetPlayerOrg(playerid) == 27|| GetPlayerOrg(playerid) == 28 || GetPlayerOrg(playerid) == 26) { if(GetPlayerOrg(playerid) == 10) { SendClientMessage(playerid, COLOR_YELLOW,"Para abrir o portão: /portaosfr"); } if(GetPlayerOrg(playerid) == 10) { SendClientMessage(playerid, COLOR_YELLOW,"Para abrir o portão: /pmilicia"); } if(GetPlayerOrg(playerid) == 5) { SendClientMessage(playerid, COLOR_YELLOW,"Para abrir o portão: /paztecas"); } if(GetPlayerOrg(playerid) == 17) { SendClientMessage(playerid, COLOR_YELLOW,"Para abrir o portão: /pballas"); } if(GetPlayerOrg(playerid) == 18) { SendClientMessage(playerid, COLOR_YELLOW,"Para abrir o portão: /pvagos"); } ShowPlayerDialog(playerid,1009,DIALOG_STYLE_MSGBOX, "Comandos Gangster", "/ga - Chat Gang\n/bq - Criar BQ de Lixo\n/rbq - Retirar BQ de Lixo\n/sequestrar - Sequestrar Alguem\n/desamarrar - Desamarrar Sequestrado\n/ang - Anunciar\n/assaltar - Assaltar Alguem\n/do - Dominar Territorios\n/roubar - Roubar Locais\n/lenco - Colocar Lenco\n/amarrar - para amarrar\n/refemliberar - liberar refem", "Ok", ""); } if(GetPlayerOrg(playerid) == 15 || GetPlayerOrg(playerid) == 23) { ShowPlayerDialog(playerid,1009,DIALOG_STYLE_MSGBOX, "Comandos Terrorista", "/ga - Chat Org\n/sequestrar - Sequestrar Alguem\n/desamarrar - Desamarrar Alguem\n/guerra - Iniciar Guerra na Mata\n/homembomba - Se Explodir\n/carrobomba - Explodir Carro\n/ang - Anuncio Global\n/assaltar - Assaltar Alguem\n/roubar - Roubar Locais\n/lenco - Colocar Lenco\n/dotr - Dorminar Mata\n/refemliberar - Refem Sequestro", "Ok", ""); } if(GetPlayerOrg(playerid) == 25 || GetPlayerOrg(playerid) == 24) { ShowPlayerDialog(playerid,1009,DIALOG_STYLE_MSGBOX, "Comandos Mercenario", "/ga - Chat\n/bq - Criar BQ de Lixo\n/rbq - Retirar BQ de Lixo\n/sequestrar - Sequestrar Alguem\n/desamarrar - Desamarrar Sequestrado\n/ang - Anunciar\n/assaltar - Assaltar Alguem\n/roubar - Roubar Locais\n/lenco - Colocar Lenco\n/amarrar - para amarrar\n/refemliberar - liberar refem\n/psons - Abrir portao", "Ok", ""); } if(GetPlayerOrg(playerid) == 24) { SendClientMessage(playerid, COLOR_GRAD2, "*** Portoes *** /pmayans "); } if(GetPlayerOrg(playerid) == 7) { SendClientMessage(playerid, COLOR_GRAD2, "*** Governador *** /setartaxa /dartaxa /bolsafamilia /pagamento"); SendClientMessage(playerid, COLOR_GRAD2, "*** Portões *** /pgov /ppre /pagarbolsa /pagarorg"); } if(GetPlayerOrg(playerid) == 8) { ShowPlayerDialog(playerid,1009,DIALOG_STYLE_MSGBOX, "Comandos Hitmans", "/laptop - Ligar LapTop\n/ga - Chat Hitmans\n/sequestrar - Sequestrar Alguem\n/desamarrar - Desamarrar Sequestrado\n/ang - Anuncio Global\n/assaltar - Assaltar Alguem\n/roubar - Roubar Locais\n/esc - Verificar Contrato de ESC\n/arrombar - Porta Das Casas\n/meucontrato - ver o contrato\n/largarcontrato - Desistir do Contrato\n/secreto\n/arrombar", "Ok", ""); } if(GetPlayerOrg(playerid) == 12) { SendClientMessage(playerid, COLOR_GRAD2, "*** Mafia *** /venderkit /ga /obtermateriais /guardarmateriais /do(minar) /sequestrar"); SendClientMessage(playerid, COLOR_GRAD2, "*** Mafia *** /lenco /amarrar /refemliberar /bq /rbq /materiais /venderarma /materiaiscofre"); SendClientMessage(playerid, COLOR_GRAD2, "*** Mafia *** Materiais: para pegar materiais va ate o mercado negro."); SendClientMessage(playerid, COLOR_GRAD2, "*** Mafia *** Materiais: venda-os nas bases das orgs."); } if(GetPlayerOrg(playerid) == 34) { SendClientMessage(playerid, COLOR_PURPLE, "D.E.T.R.A.N>>> /r /d /reparar /abastecercarro /guinchar /respawndetran /procurarcarro"); SendClientMessage(playerid, COLOR_PURPLE, "D.E.T.R.A.N>>> /guincharmoto(em Vans) /pdetran(comando Portao) /batercartao /missao"); SendClientMessage(playerid, COLOR_PURPLE, "D.E.T.R.A.N>>> /retirar /m /missao /ang /multar"); } if(GetPlayerOrg(playerid) == 13) { SendClientMessage(playerid, COLOR_GRAD2, "*** Mafia *** /venderkit /ga /obtermateriais /guardarmateriais /tr /sequestrar"); SendClientMessage(playerid, COLOR_GRAD2, "*** Mafia *** /lenco /amarrar /refemliberar /bq /rbq /limpar"); SendClientMessage(playerid, COLOR_GRAD2, "*** Portoes *** /pYakuza1 /pYakuza2 /pYakuza3 /materiais /venderarma /materiaiscofre"); } if(GetPlayerOrg(playerid) == 20) { SendClientMessage(playerid, COLOR_GRAD2, "*** Mafia *** /venderkit /ga /obtermateriais /guardarmateriais /tr /sequestrar"); SendClientMessage(playerid, COLOR_GRAD2, "*** Mafia *** /lenco /amarrar /refemliberar /bq /rbq /limpar"); SendClientMessage(playerid, COLOR_GRAD2, "*** Portoes *** /prussa /materiais /venderarma /materiaiscofre"); } if(GetPlayerOrg(playerid) == 22) { ShowPlayerDialog(playerid,1009,DIALOG_STYLE_MSGBOX, "Comandos Triads", "/laptop - Ligar LapTop\n/ga - Chat Triads\n/sequestrar - Sequestrar Alguem\n/desamarrar - Desamarrar Sequestrado\n/ang - Anuncio Global\n/assaltar - Assaltar Alguem\n/roubar - Roubar Locais\n/esc - Verificar Contrato de ESC\n/arrombar - Porta Das Casas\n/meucontrato - ver o contrato\n/largarcontrato - Desistir do Contrato\n/secreto\n/arrombar", "Ok", ""); } /* if (GetPlayerOrg(playerid) == 4 || GetPlayerOrg(playerid) == 31) { SendClientMessage(playerid, COLOR_GRAD2, "*** Medicos *** (/r)adio (/d)epartmento /vida /reanimar /procurar /plantao /gov /feridos"); } */ } if(listitem == 16) { ShowStats(playerid,playerid); } if(listitem == 17) { SendClientMessage(playerid, COLOR_GREY, "COMANDOS DO JBL:"); SendClientMessage(playerid, COLOR_GREY, "/pegarradio /guardarradio /tocarsom"); SendClientMessage(playerid, COLOR_GREY, "OBS: Aperte F em cima do radio para pega-lo"); SendClientMessage(playerid, COLOR_GREY, "OBS 2: Atire no radio para quebra-lo"); } if(listitem == 18) { SendClientMessage(playerid, COLOR_GREY, "COMANDOS DO PORTaO:"); SendClientMessage(playerid, COLOR_GREY, "/senhaportao /guardarportao /editarportao /abrirportao"); } if(listitem == 19) { ForT:ajudayoutuber(playerid); } if(listitem == 20) { SCM(playerid, COLOR_GREY, "Ajuda Dinheiro Sujo: Como conseguir? achar no chão(Cair do bolso de alguem), roubos a cofres / caixas eletronicos."); SCM(playerid, COLOR_GREY, "Ajuda Dinheiro Sujo: Como lavar o dinheiro? foi marcado no seu mapa o local de lavagem de dinheiro. use /lavardinheiro la."); SetPlayerCheckpoint(playerid, -774.0463,2425.1511,157.1000, 5.0); } } return 1; } if(dialogid == 134) { if(!response) { if(PlayerInfo[playerid][pConta] < 100) { SendClientMessage(playerid, 0xffc801FF, "Voce nao possui saldo suficiente em sua conta bancaria."); return 1; } if(PlayerInfo[playerid][pTraderPerk] > 0) { new skill = 100 / 100; new price = (skill)*(PlayerInfo[playerid][pTraderPerk]); new payout = 100 - price; format(string, sizeof(string), "~r~-R$%s", ConvertMoney(payout)); GameTextForPlayer(playerid, string, 5000, 1); GiveDinheiro(playerid,- payout); BizzInfo[3][bTill] += payout; ExtortionBiz(3, payout); } else { format(string, sizeof(string), "~r~-R$%d", 100); GameTextForPlayer(playerid, string, 5000, 1); PlayerInfo[playerid][pConta] -= 100; BizzInfo[3][bTill] += 100; ExtortionBiz(3, 100); } PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); new randphone = 10000 + random(89999);//minimo 1000 maximo 14999 PlayerInfo[playerid][pPnumber] = randphone; format(string, sizeof(string), "[Cartao de Debito]Seu novo número de celular e %d", randphone); SendClientMessage(playerid, COLOR_GRAD4, string); SendClientMessage(playerid, COLOR_GRAD5, "De uma olhada nos seus documentos /rg"); SendClientMessage(playerid, COLOR_WHITE, "Dica: Digite /ajuda em caso de dúvidas"); return 1; } if(response) { if(GetPlayerMoney(playerid) < 100) { SendClientMessage(playerid, 0xffc801FF, "Voce nao possui saldo suficiente em suas maos."); return 1; } if(PlayerInfo[playerid][pTraderPerk] > 0) { new skill = 100 / 100; new price = (skill)*(PlayerInfo[playerid][pTraderPerk]); new payout = 100 - price; format(string, sizeof(string), "~r~-R$%s", ConvertMoney(payout)); GameTextForPlayer(playerid, string, 5000, 1); GiveDinheiro(playerid,- payout); BizzInfo[3][bTill] += payout; ExtortionBiz(3, payout); } else { format(string, sizeof(string), "~r~-R$%d", 100); GameTextForPlayer(playerid, string, 5000, 1); GiveDinheiro(playerid,-100); BizzInfo[3][bTill] += 100; ExtortionBiz(3, 100); } PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); new randphone = 10000 + random(89999);//minimo 1000 maximo 14999 PlayerInfo[playerid][pPnumber] = randphone; format(string, sizeof(string), "[Dinheiro]Seu novo número de celular e %d", randphone); SendClientMessage(playerid, COLOR_GRAD4, string); SendClientMessage(playerid, COLOR_GRAD5, "De uma olhada nos seus documentos /rg"); SendClientMessage(playerid, COLOR_WHITE, "Dica: Digite /ajuda em caso de dúvidas"); return 1; } } if(dialogid == 135) { if(!response) { if(PlayerInfo[playerid][pConta] < 300) { SendClientMessage(playerid, 0xffc801FF, "Voce nao possui saldo suficiente em sua conta bancaria."); return 1; } if(PlayerInfo[playerid][pTraderPerk] > 0) { new skill = 2 / 100; new price = (skill)*(PlayerInfo[playerid][pTraderPerk]); new payout = 300 - price; PlayerInfo[playerid][pConta] -= 300; BizzInfo[3][bTill] += payout; ExtortionBiz(3, payout); format(string, sizeof(string), "~r~-R$%s", ConvertMoney(payout)); GameTextForPlayer(playerid, string, 5000, 1); } else { GiveDinheiro(playerid,-2); BizzInfo[3][bTill] += 2; ExtortionBiz(3, 5000); format(string, sizeof(string), "~r~-R$%d", 2); GameTextForPlayer(playerid, string, 5000, 1); } PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); PlayerInfo[playerid][pPhoneBook] = 1; SendClientMessage(playerid, COLOR_GRAD4, "[Cartao de Debito]Nova agenda telefonica comprada!"); SendClientMessage(playerid, 0x934FF6F6, "Server: Digite /agenda ."); return 1; } if(response) { if(GetPlayerMoney(playerid) < 300) { SendClientMessage(playerid, 0xffc801FF, "Voce nao possui saldo suficiente em suas maos."); return 1; } if(PlayerInfo[playerid][pTraderPerk] > 0) { new skill = 2 / 100; new price = (skill)*(PlayerInfo[playerid][pTraderPerk]); new payout = 300 - price; GiveDinheiro(playerid,- payout); BizzInfo[3][bTill] += payout; ExtortionBiz(3, payout); format(string, sizeof(string), "~r~-R$%s", ConvertMoney(payout)); GameTextForPlayer(playerid, string, 5000, 1); } else { GiveDinheiro(playerid,-2); BizzInfo[3][bTill] += 2; ExtortionBiz(3, 5000); format(string, sizeof(string), "~r~-R$%d", 2); GameTextForPlayer(playerid, string, 5000, 1); } PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); PlayerInfo[playerid][pPhoneBook] = 1; SendClientMessage(playerid, COLOR_GRAD4, "[Dinheiro]Nova agenda telefonica comprada!"); SendClientMessage(playerid, 0x934FF6F6, "Server: Digite /agenda ."); return 1; } } if(dialogid == 136) { if(!response) { if(PlayerInfo[playerid][pConta] < 2) { SendClientMessage(playerid, 0xffc801FF, "Voce nao possui saldo suficiente em sua conta bancaria."); return 1; } if(PlayerInfo[playerid][pTraderPerk] > 0) { new skill = 2 / 100; new price = (skill)*(PlayerInfo[playerid][pTraderPerk]); new payout = 2 - price; PlayerInfo[playerid][pConta] -= payout; BizzInfo[3][bTill] += payout; ExtortionBiz(3, payout); format(string, sizeof(string), "~r~-R$%d", payout); GameTextForPlayer(playerid, string, 5000, 1); } else { GiveDinheiro(playerid,-2); BizzInfo[3][bTill] += 2; ExtortionBiz(3, 2); format(string, sizeof(string), "~r~-R$%d", 2); GameTextForPlayer(playerid, string, 5000, 1); } PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); gDice[playerid] = 1; SendClientMessage(playerid, COLOR_GRAD4, "Voce comprou um dado! Aproveite."); SendClientMessage(playerid, 0x934FF6F6, "Server: Digite /dado"); return 1; } if(response) { if(GetPlayerMoney(playerid) < 2) { SendClientMessage(playerid, 0xffc801FF, "Voce nao possui saldo suficiente em suas maos."); return 1; } if(PlayerInfo[playerid][pTraderPerk] > 0) { new skill = 2 / 100; new price = (skill)*(PlayerInfo[playerid][pTraderPerk]); new payout = 2 - price; GiveDinheiro(playerid,- payout); BizzInfo[3][bTill] += payout; ExtortionBiz(3, payout); format(string, sizeof(string), "~r~-R$%d", payout); GameTextForPlayer(playerid, string, 5000, 1); } else { GiveDinheiro(playerid,-2); BizzInfo[3][bTill] += 2; ExtortionBiz(3, 2); format(string, sizeof(string), "~r~-R$%d", 2); GameTextForPlayer(playerid, string, 5000, 1); } PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); gDice[playerid] = 1; SendClientMessage(playerid, COLOR_GRAD4, "Voce comprou um dado! Aproveite."); SendClientMessage(playerid, 0x934FF6F6, "Server: Digite /dado"); return 1; } } if(dialogid == 137) { if(!response) { if(PlayerInfo[playerid][pConta] < 2) { SendClientMessage(playerid, 0xffc801FF, "Voce nao possui saldo suficiente em sua conta bancaria."); return 1; } if(PlayerInfo[playerid][pTraderPerk] > 0) { new skill = 2 / 100; new price = (skill)*(PlayerInfo[playerid][pTraderPerk]); new payout = 2 - price; PlayerInfo[playerid][pConta] -= payout; format(string, sizeof(string), "~r~-R$%d", payout); GameTextForPlayer(playerid, string, 5000, 1); } else { GiveDinheiro(playerid,-2); format(string, sizeof(string), "~r~-R$%d", 2); GameTextForPlayer(playerid, string, 5000, 1); } Condom[playerid] ++; PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); SendClientMessage(playerid, COLOR_GRAD4, "Camisinha comprada."); SendClientMessage(playerid, COLOR_WHITE, "Agora voce pode fazer sexo com seguranca."); return 1; } if(response) { if(GetPlayerMoney(playerid) < 2) { SendClientMessage(playerid, 0xffc801FF, "Voce nao possui saldo suficiente em suas maos."); return 1; } if(PlayerInfo[playerid][pTraderPerk] > 0) { new skill = 2 / 100; new price = (skill)*(PlayerInfo[playerid][pTraderPerk]); new payout = 2 - price; GiveDinheiro(playerid,- payout); format(string, sizeof(string), "~r~-R$%d", payout); GameTextForPlayer(playerid, string, 5000, 1); } else { GiveDinheiro(playerid,-2); format(string, sizeof(string), "~r~-R$%d", 2); GameTextForPlayer(playerid, string, 5000, 1); } Condom[playerid] ++; PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); SendClientMessage(playerid, COLOR_GRAD4, "Camisinha comprada."); SendClientMessage(playerid, COLOR_WHITE, "Agora voce pode fazer sexo com seguranca."); return 1; } } if(dialogid == 138) { if(!response) { if(PlayerInfo[playerid][pConta] < 5000) { SendClientMessage(playerid, 0xffc801FF, "Voce nao possui saldo suficiente em sua conta bancaria."); return 1; } if (gLastCar[playerid] != 0) { if(HireCar[playerid] != 999) { gCarLock[HireCar[playerid]] = 0; UnLockCar(HireCar[playerid]); SwitchKey[playerid] = 0; HireCar[playerid] = 999; } if(PlayerInfo[playerid][pTraderPerk] > 0) { new skill = 5000 / 100; new price = (skill)*(PlayerInfo[playerid][pTraderPerk]); new payout = 5000 - price; PlayerInfo[playerid][pConta] -= payout; SBizzInfo[9][sbTill] += payout; ExtortionSBiz(9, payout); format(string, sizeof(string), "~r~-$%d", payout); GameTextForPlayer(playerid, string, 5000, 1); } else { GiveDinheiro(playerid,-5000); format(string, sizeof(string), "~r~-$%d", 5000); GameTextForPlayer(playerid, string, 5000, 1); } PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); HireCar[playerid] = gLastCar[playerid]; format(string, sizeof(string), "Voce comprou uma chave e agora voce pode trancar seu último veiculo."); SendClientMessage(playerid, COLOR_GRAD4, string); SendClientMessage(playerid, COLOR_WHITE, "DICA: Use /trancar "); } else { SendClientMessage(playerid, COLOR_WHITE, "Voce nao possui um veiculo ou nao esta conectado!"); } return 1; } if(response) { if(GetPlayerMoney(playerid) < 5000) { SendClientMessage(playerid, 0xffc801FF, "Voce nao possui saldo suficiente em suas maos."); return 1; } if (gLastCar[playerid] != 0) { if(HireCar[playerid] != 999) { gCarLock[HireCar[playerid]] = 0; UnLockCar(HireCar[playerid]); SwitchKey[playerid] = 0; HireCar[playerid] = 999; } if(PlayerInfo[playerid][pTraderPerk] > 0) { new skill = 5000 / 100; new price = (skill)*(PlayerInfo[playerid][pTraderPerk]); new payout = 5000 - price; GiveDinheiro(playerid,- payout); SBizzInfo[9][sbTill] += payout; ExtortionSBiz(9, payout); format(string, sizeof(string), "~r~-$%d", payout); GameTextForPlayer(playerid, string, 5000, 1); } else { GiveDinheiro(playerid,-1000); format(string, sizeof(string), "~r~-$%d", 1000); GameTextForPlayer(playerid, string, 5000, 1); } PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); HireCar[playerid] = gLastCar[playerid]; format(string, sizeof(string), "Voce comprou uma chave e agora voce pode trancar seu último veiculo."); SendClientMessage(playerid, COLOR_GRAD4, string); SendClientMessage(playerid, COLOR_WHITE, "DICA: Use /trancar "); } else { SendClientMessage(playerid, COLOR_WHITE, "Voce nao possui um veiculo ou nao esta conectado!"); } return 1; } } if(dialogid == 139) { if(!response) { if(PlayerInfo[playerid][pConta] < 10) { SendClientMessage(playerid, 0xffc801FF, "Voce nao possui saldo suficiente em sua conta bancaria."); return 1; } if(Groceries[playerid][pChickens] >= 3) { SendClientMessage(playerid, COLOR_GREY, "Voce tem muitos frangos, coma alguns antes de comprar mais !"); return true; } if(PlayerInfo[playerid][pTraderPerk] > 0) { new skill = 10 / 100; new price = (skill)*(PlayerInfo[playerid][pTraderPerk]); new payout = 10 - price; PlayerInfo[playerid][pConta] -= payout; format(string, sizeof(string), "~r~-R$%d", payout); GameTextForPlayer(playerid, string, 5000, 1); } else { GiveDinheiro(playerid, - 10); format(string, sizeof(string), "~r~-R$%d", 10); GameTextForPlayer(playerid, string, 5000, 1); } GiveDinheiro(playerid, - 10); PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); SendClientMessage(playerid, COLOR_GRAD4, "Frango comprado."); format(string, sizeof(string), "~r~-R$%d", 10); GameTextForPlayer(playerid, string, 5000, 1); new rand = random(15); Groceries[playerid][pChickens] += 1; Groceries[playerid][pChicken] += rand; return 1; } if(response) { if(GetPlayerMoney(playerid) < 10) { SendClientMessage(playerid, 0xffc801FF, "Voce nao possui saldo suficiente em suas maos."); return 1; } if(Groceries[playerid][pChickens] >= 3) { SendClientMessage(playerid, COLOR_GREY, "Voce tem muitos frangos, coma alguns antes de comprar mais !"); return true; } if(PlayerInfo[playerid][pTraderPerk] > 0) { new skill = 10 / 100; new price = (skill)*(PlayerInfo[playerid][pTraderPerk]); new payout = 10 - price; GiveDinheiro(playerid, - payout); format(string, sizeof(string), "~r~-R$%d", payout); GameTextForPlayer(playerid, string, 5000, 1); } else { GiveDinheiro(playerid, - 10); format(string, sizeof(string), "~r~-R$%d", 10); GameTextForPlayer(playerid, string, 5000, 1); } GiveDinheiro(playerid, - 10); PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); SendClientMessage(playerid, COLOR_GRAD4, "Frango comprado."); format(string, sizeof(string), "~r~-R$%d", 10); GameTextForPlayer(playerid, string, 5000, 1); new rand = random(15); Groceries[playerid][pChickens] += 1; Groceries[playerid][pChicken] += rand; return 1; } } if(dialogid == 140) { if(!response) { if(PlayerInfo[playerid][pConta] < 10) { SendClientMessage(playerid, 0xffc801FF, "Voce nao possui saldo suficiente em sua conta bancaria."); return 1; } if(PlayerInfo[playerid][pTraderPerk] > 0) { new skill = 10 / 100; new price = (skill)*(PlayerInfo[playerid][pTraderPerk]); new payout = 10 - price; PlayerInfo[playerid][pConta] -= payout; format(string, sizeof(string), "~r~-R$%d", payout); GameTextForPlayer(playerid, string, 5000, 1); } else { GiveDinheiro(playerid, - 10); format(string, sizeof(string), "~r~-R$%d", 10); GameTextForPlayer(playerid, string, 5000, 1); } AddItem(playerid, 19094, 1); SendClientMessage(playerid, COLOR_GRAD4, "Hamburguer Comprado / Use: /Inventario para come-la."); return 1; } if(response) { if(GetPlayerMoney(playerid) < 10) { SendClientMessage(playerid, 0xffc801FF, "Voce nao possui saldo suficiente em suas maos."); return 1; } AddItem(playerid, 19094, 1); GiveDinheiro(playerid, - 10); PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); SendClientMessage(playerid, COLOR_GRAD4, "Hamburger Comprado, use: /Inventario para comer ele."); format(string, sizeof(string), "~r~-R$%d", 10); GameTextForPlayer(playerid, string, 5000, 1); return 1; } } if(dialogid == 141) { if(!response) { if(PlayerInfo[playerid][pConta] < 10) { SendClientMessage(playerid, 0xffc801FF, "Voce nao possui saldo suficiente em sua conta bancaria."); return 1; } if(PlayerInfo[playerid][pTraderPerk] > 0) { new skill = 10 / 100; new price = (skill)*(PlayerInfo[playerid][pTraderPerk]); new payout = 10 - price; PlayerInfo[playerid][pConta] -= payout; format(string, sizeof(string), "~r~-R$%d", payout); GameTextForPlayer(playerid, string, 5000, 1); } else { GiveDinheiro(playerid, - 10); format(string, sizeof(string), "~r~-R$%d", 10); GameTextForPlayer(playerid, string, 5000, 1); } AddItem(playerid, 19580, 1); PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); SendClientMessage(playerid, COLOR_GRAD4, "Pizza Comprado / Use: /Inventario para come-la."); return 1; } if(response) { if(GetPlayerMoney(playerid) < 10) { SendClientMessage(playerid, 0xffc801FF, "Voce nao possui saldo suficiente em suas maos."); return 1; } PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); SendClientMessage(playerid, COLOR_GRAD4, "Pizza Comprado / Use: /Inventario para come-la."); GiveDinheiro(playerid, - 10); AddItem(playerid, 19580, 1); return 1; } } if(dialogid == 142) { if(!response) { if(PlayerInfo[playerid][pConta] < 30) { SendClientMessage(playerid, 0xffc801FF, "Voce nao possui saldo suficiente em sua conta bancaria."); return 1; } if(PlayerInfo[playerid][pTraderPerk] > 0) { new skill = 30 / 100; new price = (skill)*(PlayerInfo[playerid][pTraderPerk]); new payout = 30 - price; PlayerInfo[playerid][pConta] -= payout; } else { GiveDinheiro(playerid,-30); BizzInfo[3][bTill] += 30; ExtortionBiz(3, 30); } PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); PlayerInfo[playerid][pCreditos] += 30; SendClientMessage(playerid, 0x934FF6F6, "Voce comprou 30 creditos para seu celular."); SendClientMessage(playerid, 0x934FF6F6, "Server: Digite /ajuda "); return 1; } if(response) { if(GetPlayerMoney(playerid) < 30) { SendClientMessage(playerid, 0xffc801FF, "Voce nao possui saldo suficiente em suas maos."); return 1; } if(PlayerInfo[playerid][pTraderPerk] > 0) { new skill = 30 / 100; new price = (skill)*(PlayerInfo[playerid][pTraderPerk]); new payout = 30 - price; GiveDinheiro(playerid,- payout); } else { GiveDinheiro(playerid,-30); BizzInfo[3][bTill] += 30; ExtortionBiz(3, 30); } PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); PlayerInfo[playerid][pCreditos] += 30; SendClientMessage(playerid, 0x934FF6F6, "Voce comprou 30 creditos para seu celular."); SendClientMessage(playerid, 0x934FF6F6, "Server: Digite /ajuda "); return 1; } } if(dialogid == 143) { if(!response) { if(PlayerInfo[playerid][pConta] < 50) { SendClientMessage(playerid, 0xffc801FF, "Voce nao possui saldo suficiente em sua conta bancaria."); return 1; } if(PlayerInfo[playerid][pTraderPerk] > 0) { new skill = 50 / 100; new price = (skill)*(PlayerInfo[playerid][pTraderPerk]); new payout = 50 - price; PlayerInfo[playerid][pConta] -= payout; } else { GiveDinheiro(playerid,-50); BizzInfo[3][bTill] += 50; ExtortionBiz(3, 50); } PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); PlayerInfo[playerid][pCreditos] += 50; SendClientMessage(playerid, 0x934FF6F6, "Voce comprou 50 creditos para seu celular."); SendClientMessage(playerid, 0x934FF6F6, "Server: Digite /ajuda "); return 1; } if(response) { if(GetPlayerMoney(playerid) < 50) { SendClientMessage(playerid, 0xffc801FF, "Voce nao possui saldo suficiente em suas maos."); return 1; } if(PlayerInfo[playerid][pTraderPerk] > 0) { new skill = 50 / 100; new price = (skill)*(PlayerInfo[playerid][pTraderPerk]); new payout = 50 - price; GiveDinheiro(playerid,- payout); } else { GiveDinheiro(playerid,-50); BizzInfo[3][bTill] += 50; ExtortionBiz(3, 50); } PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); PlayerInfo[playerid][pCreditos] += 50; SendClientMessage(playerid, 0x934FF6F6, "Voce comprou 50 creditos para seu celular."); SendClientMessage(playerid, 0x934FF6F6, "Server: Digite /ajuda "); return 1; } } if(dialogid == 144) { if(!response) { SendClientMessage(playerid, COLOR_GRAD4, "Escolha seu Capacete:"); ShowPlayerDialog(playerid, novocapacete, DIALOG_STYLE_LIST, "Escolha seu Capacete:", "MotorBike(Azul)\nVermelho\nBranco\nRosa\nBranco e Vermelho(Chamas)", "Selecionar", "Sair"); return 1; } if(response) { SendClientMessage(playerid, COLOR_GRAD4, "Escolha seu Capacete:"); ShowPlayerDialog(playerid, novocapacete, DIALOG_STYLE_LIST, "Escolha seu Capacete:", "MotorBike(Azul)\nVermelho\nBranco\nRosa\nBranco e Vermelho(Chamas)", "Selecionar", "Sair"); return 1; } } if(dialogid == 14689) { if(!response) { RemovePlayerFromVehicleEx(playerid); SendClientMessage(playerid, 0xffc801FF, "Voce optou por nao alugar o veiculo !"); return 1; } if(response) { //ForT:alugarcarro(playerid); } } if(dialogid == 146) { if(!response) { if(PlayerInfo[playerid][pConta] < 5000) { SendClientMessage(playerid, 0xffc801FF, "Voce nao possui saldo suficiente em sua conta bancaria."); return 1; } if(PlayerInfo[playerid][pCigarros] > 0) { SendClientMessage(playerid, COLOR_GREY,"Voce ja tem uma carteira de cigarros!"); return true; } PlayerInfo[playerid][pConta] -= 5000; PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); SendClientMessage(playerid, COLOR_GRAD4, "Carteira de cigarro comprada, para fumar use: /fumar."); PlayerInfo[playerid][pCigarros] = 12; format(string, sizeof(string), "~r~-R$%d", 5000); GameTextForPlayer(playerid, string, 5000, 1); SBizzInfo[9][sbTill] += 5000; ExtortionSBiz(9, 5000); return 1; } if(response) { if(GetPlayerMoney(playerid) < 5000) { SendClientMessage(playerid, 0xffc801FF, "Voce nao possui saldo suficiente em suas maos."); return 1; } if(PlayerInfo[playerid][pCigarros] > 0) { SendClientMessage(playerid, COLOR_GREY,"Voce ja tem uma carteira de cigarros!"); return true; } PlayerInfo[playerid][pConta] -= 5000; PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); SendClientMessage(playerid, COLOR_GRAD4, "Carteira de cigarro comprada, para fumar use: /fumar."); PlayerInfo[playerid][pCigarros] = 12; format(string, sizeof(string), "~r~-R$%d", 5000); GameTextForPlayer(playerid, string, 5000, 1); SBizzInfo[9][sbTill] += 5000; ExtortionSBiz(9, 5000); return 1; } } if(dialogid == 147) { if(!response) { if(PlayerInfo[playerid][pConta] < 5000) { SendClientMessage(playerid, 0xffc801FF, "Voce nao possui saldo suficiente em sua conta bancaria."); return 1; } if(PlayerInfo[playerid][pGalao]) { SendClientMessage(playerid, COLOR_GREY,"Voce ja tem um Galao de gasolina!"); return true; } PlayerInfo[playerid][pConta] -= 5000; PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); SendClientMessage(playerid, COLOR_GRAD4, "Galao de Gasolina comprada, USE: /incendio para incendiar o local."); PlayerInfo[playerid][pGalao] = true; format(string, sizeof(string), "~r~-R$%d", 5000); GameTextForPlayer(playerid, string, 5000, 1); SBizzInfo[9][sbTill] += 5000; ExtortionSBiz(9, 5000); return 1; } if(response) { if(GetPlayerMoney(playerid) < 5000) { SendClientMessage(playerid, 0xffc801FF, "Voce nao possui saldo suficiente em suas maos."); return 1; } if(PlayerInfo[playerid][pGalao]) { SendClientMessage(playerid, COLOR_GREY,"Voce ja tem um Galao de gasolina!"); return true; } GiveDinheiro(playerid, - 5000); PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); SendClientMessage(playerid, COLOR_GRAD4, "Galao de Gasolina comprada, USE: /incendio para incendiar o local."); PlayerInfo[playerid][pGalao] = true; format(string, sizeof(string), "~r~-R$%d", 5000); GameTextForPlayer(playerid, string, 5000, 1); SBizzInfo[9][sbTill] += 5000; ExtortionSBiz(9, 5000); return 1; } } if(dialogid == 148) { if(!response) { if(PlayerInfo[playerid][pConta] < 5000) { SendClientMessage(playerid, 0xffc801FF, "Voce nao possui saldo suficiente em sua conta bancaria."); return 1; } if(PlayerInfo[playerid][pIsqueiro]) { SendClientMessage(playerid, COLOR_GREY,"Voce ja tem um Isqueiro!"); return true; } PlayerInfo[playerid][pConta] -= 5000; PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); SendClientMessage(playerid, COLOR_GRAD4, "Isqueiro comprado, Agora voce pode usar /incendio."); PlayerInfo[playerid][pIsqueiro] = true; format(string, sizeof(string), "~r~-R$%d", 2000); GameTextForPlayer(playerid, string, 5000, 1); SBizzInfo[9][sbTill] += 2000; ExtortionSBiz(9, 2000); return 1; } if(response) { if(GetPlayerMoney(playerid) < 5000) { SendClientMessage(playerid, 0xffc801FF, "Voce nao possui saldo suficiente em suas maos."); return 1; } if(PlayerInfo[playerid][pIsqueiro]) { SendClientMessage(playerid, COLOR_GREY,"Voce ja tem um Isqueiro!"); return true; } GiveDinheiro(playerid, - 5000); PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); SendClientMessage(playerid, COLOR_GRAD4, "Isqueiro comprado, Agora voce pode usar /incendio."); PlayerInfo[playerid][pIsqueiro] = true; format(string, sizeof(string), "~r~-R$%d", 2000); GameTextForPlayer(playerid, string, 5000, 1); SBizzInfo[9][sbTill] += 2000; ExtortionSBiz(9, 2000); return 1; } } if(dialogid == 149) { if(!response) { if(PlayerInfo[playerid][pConta] < 20000) { SendClientMessage(playerid, 0xffc801FF, "Voce nao possui saldo suficiente em sua conta bancaria."); return 1; } if(PlayerInfo[playerid][pPatins]) { SendClientMessage(playerid, COLOR_GREY,"Voce ja tem um Patins!"); return true; } PlayerInfo[playerid][pConta] -= 20000; PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); SendClientMessage(playerid, COLOR_GRAD4, "Patins comprado, Agora voce pode andar de patins usando /patins."); PlayerInfo[playerid][pPatins] = true; format(string, sizeof(string), "~r~-R$%d", 20000); GameTextForPlayer(playerid, string, 5000, 1); SBizzInfo[9][sbTill] += 20000; ExtortionSBiz(9, 20000); return 1; } if(response) { if(GetPlayerMoney(playerid) < 20000) { SendClientMessage(playerid, 0xffc801FF, "Voce nao possui saldo suficiente em suas maos."); return 1; } if(PlayerInfo[playerid][pPatins]) { SendClientMessage(playerid, COLOR_GREY,"Voce ja tem um Patins!"); return true; } GiveDinheiro(playerid, - 20000); PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); SendClientMessage(playerid, COLOR_GRAD4, "Patins comprado, Agora voce pode andar de patins usando /patins."); PlayerInfo[playerid][pPatins] = true; format(string, sizeof(string), "~r~-R$%d", 20000); GameTextForPlayer(playerid, string, 5000, 1); SBizzInfo[9][sbTill] += 20000; ExtortionSBiz(9, 20000); return 1; } } if(dialogid == 156) { if(response == 1) { } else if(response == 0) { } return 0; } if(dialogid == 150) { if(!response) { if(PlayerInfo[playerid][pConta] < 10000) { SendClientMessage(playerid, 0xffc801FF, "Voce nao possui saldo suficiente em sua conta bancaria."); return 1; } if(PlayerInfo[playerid][pTelevisao]) { SendClientMessage(playerid, COLOR_GREY,"Voce ja tem uma Televisao!"); return true; } PlayerInfo[playerid][pConta] -= 10000; PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); SendClientMessage(playerid, COLOR_GRAD4, "Televisao comprada, Agora voce pode assistir TV usando /assistir e /desligartv."); PlayerInfo[playerid][pTelevisao] = true; format(string, sizeof(string), "~r~-R$%d", 1000); GameTextForPlayer(playerid, string, 5000, 1); SBizzInfo[9][sbTill] += 10000; ExtortionSBiz(9, 10000); return 1; } if(response) { if(GetPlayerMoney(playerid) < 10000) { SendClientMessage(playerid, 0xffc801FF, "Voce nao possui saldo suficiente em suas maos."); return 1; } if(PlayerInfo[playerid][pTelevisao]) { SendClientMessage(playerid, COLOR_GREY,"Voce ja tem uma Televisao!"); return true; } GiveDinheiro(playerid, - 10000); PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); SendClientMessage(playerid, COLOR_GRAD4, "Televisao comprada, Agora voce pode assistir TV usando /assistir e /desligartv."); PlayerInfo[playerid][pTelevisao] = true; format(string, sizeof(string), "~r~-R$%d", 1000); GameTextForPlayer(playerid, string, 5000, 1); SBizzInfo[9][sbTill] += 10000; ExtortionSBiz(9, 10000); return 1; } } if(dialogid == 151) { if(!response) { if(PlayerInfo[playerid][pConta] < 100) { SendClientMessage(playerid, 0xffc801FF, "Voce nao possui saldo suficiente em sua conta bancaria."); return 1; } SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Voce comprou uma garrafa de leite, foi pro seu inventario."); AddItem(playerid, 19570, 1); return 1; } if(response) { if(GetPlayerMoney(playerid) < 100) { SendClientMessage(playerid, 0xffc801FF, "Voce nao possui saldo suficiente em suas maos."); return 1; } SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Voce comprou uma garrafa de leite, foi pro seu inventario."); AddItem(playerid, 19570, 1); return 1; } } if(dialogid == 152) { if(!response) { if(PlayerInfo[playerid][pConta] < 10000) { SendClientMessage(playerid, 0xffc801FF, "Voce nao possui saldo suficiente em sua conta bancaria."); return 1; } if(PlayerInfo[playerid][pRadio]) { SendClientMessage(playerid, COLOR_GREY,"Voce ja tem um JBL!"); return true; } PlayerInfo[playerid][pConta] -= 10000; PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); SendClientMessage(playerid, COLOR_GRAD4, "JBL comprado, Agora voce pode tocar musicas para pessoas perto de voce, USE: /ajuda."); PlayerInfo[playerid][pRadio] = true; format(string, sizeof(string), "• {FFFFFF}Empresa que recebeu os lucros da compra: {7CFC00}%s", SBizzInfo[9][sbMessage]); SendClientMessage(playerid, 0x7CFC00AA, string); format(string, sizeof(string), "~r~-$%d", 10000); GameTextForPlayer(playerid, string, 5000, 1); SBizzInfo[9][sbTill] += 10000; ExtortionSBiz(9, 10000); PlayerInfo[playerid][pComRadio] = false; ForT:pegarradio(playerid); return 1; } if(response) { if(GetPlayerMoney(playerid) < 10000) { SendClientMessage(playerid, 0xffc801FF, "Voce nao possui saldo suficiente em suas maos."); return 1; } if(PlayerInfo[playerid][pRadio]) { SendClientMessage(playerid, COLOR_GREY,"Voce ja tem um JBL!"); return true; } GiveDinheiro(playerid, - 10000); PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); SendClientMessage(playerid, COLOR_GRAD4, "JBL comprado, Agora voce pode tocar musicas para pessoas perto de voce, USE: /ajuda."); PlayerInfo[playerid][pRadio] = true; format(string, sizeof(string), "• {FFFFFF}Empresa que recebeu os lucros da compra: {7CFC00}%s", SBizzInfo[9][sbMessage]); SendClientMessage(playerid, 0x7CFC00AA, string); format(string, sizeof(string), "~r~-$%d", 10000); GameTextForPlayer(playerid, string, 5000, 1); SBizzInfo[9][sbTill] += 10000; ExtortionSBiz(9, 10000); PlayerInfo[playerid][pComRadio] = false; ForT:pegarradio(playerid); return 1; } } if(dialogid == 153) { if(!response) { if(PlayerInfo[playerid][pConta] < 500) { SendClientMessage(playerid, 0xffc801FF, "Voce nao possui saldo suficiente em sua conta bancaria."); return 1; } if(PlayerInfo[playerid][pCDPlayer]) { SendClientMessage(playerid, COLOR_GREY,"Voce ja tem um MP3!"); return true; } PlayerInfo[playerid][pConta] -= 6000; PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); SendClientMessage(playerid, COLOR_GRAD4, "MP3 comprado, Agora voce pode tocar musicas para pessoas perto de voce, USE: /ajuda."); PlayerInfo[playerid][pRadio] = true; format(string, sizeof(string), "• {FFFFFF}Empresa que recebeu os lucros da compra: {7CFC00}%s", SBizzInfo[9][sbMessage]); SendClientMessage(playerid, 0x7CFC00AA, string); format(string, sizeof(string), "~r~-$%d", 500); GameTextForPlayer(playerid, string, 500, 1); SBizzInfo[9][sbTill] += 500; ExtortionSBiz(9, 500); PlayerInfo[playerid][pCDPlayer] = 1; return 1; } if(response) { if(GetPlayerMoney(playerid) < 500) { SendClientMessage(playerid, 0xffc801FF, "Voce nao possui saldo suficiente em suas maos."); return 1; } if(PlayerInfo[playerid][pCDPlayer]) { SendClientMessage(playerid, COLOR_GREY,"Voce ja tem um MP3!"); return true; } GiveDinheiro(playerid, - 500); PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); SendClientMessage(playerid, COLOR_GRAD4, "MP3 comprado, Agora voce pode tocar musicas para pessoas perto de voce, USE: /ajuda."); PlayerInfo[playerid][pCDPlayer] = true; format(string, sizeof(string), "• {FFFFFF}Empresa que recebeu os lucros da compra: {7CFC00}%s", SBizzInfo[9][sbMessage]); SendClientMessage(playerid, 0x7CFC00AA, string); format(string, sizeof(string), "~r~-$%d", 500); GameTextForPlayer(playerid, string, 5000, 1); SBizzInfo[9][sbTill] += 500; ExtortionSBiz(9, 500); return 1; } } if(dialogid == 5988) { if(response) { ForT:aceitar(playerid, "multa"); } else { GetPlayerName(TicketOffer[playerid], giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "* Voce nao pagou a multa de R$%s, e agora esta sendo procurado!", ConvertMoney(TicketMoney[playerid])); SendClientMessage(playerid, COLOR_LIGHTRED, string); format(string, sizeof(string), "* %s nao pagou a multa de R$%s e agora esta sendo procurado!", sendername, ConvertMoney(TicketMoney[playerid])); SendClientMessage(TicketOffer[playerid], COLOR_LIGHTRED, string); SetPlayerCriminal(playerid, TicketOffer[playerid], "Recusou a multa"); TicketOffer[playerid] = 999; TicketMoney[playerid] = 0; } return 1; } if(dialogid == 168) { if(!response) { return 1; } if(response) { if(listitem == 0) { if(GetPlayerMoney(playerid) < 20) { SendClientMessage(playerid, COLOR_GRAD1, "Voce nao tem dinheiro o suficiente !"); return 1; } format(string, sizeof(string), "* %s comeu uma porcao de caviar.", PlayerName(playerid)); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); GivePlayerMoneyEx(playerid, -20); ApplyAnimationEx(playerid, "FOOD", "EAT_Burger", 3.0, 0, 0, 0, 0, 0); } if(listitem == 1) { if(GetPlayerMoney(playerid) < 13) { SendClientMessage(playerid, COLOR_GRAD1, "Voce nao tem dinheiro o suficiente !"); return 1; } format(string, sizeof(string), "* %s comeu uma porcao de camarao empanado.", PlayerName(playerid)); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); GivePlayerMoneyEx(playerid, -13); ApplyAnimationEx(playerid, "FOOD", "EAT_Burger", 3.0, 0, 0, 0, 0, 0); } if(listitem == 2) { if(GetPlayerMoney(playerid) < 35) { SendClientMessage(playerid, COLOR_GRAD1, "Voce nao tem dinheiro o suficiente !"); return 1; } format(string, sizeof(string), "* %s comeu uma carne assada.", PlayerName(playerid)); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); GivePlayerMoneyEx(playerid, -35); ApplyAnimationEx(playerid, "FOOD", "EAT_Burger", 3.0, 0, 0, 0, 0, 0); } if(listitem == 3) { if(GetPlayerMoney(playerid) < 32) { SendClientMessage(playerid, COLOR_GRAD1, "Voce nao tem dinheiro o suficiente !"); return 1; } format(string, sizeof(string), "* %s comeu uma porcao de frango a passarinho.", PlayerName(playerid)); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); GivePlayerMoneyEx(playerid, -32); ApplyAnimationEx(playerid, "FOOD", "EAT_Burger", 3.0, 0, 0, 0, 0, 0); } if(listitem == 4) { if(GetPlayerMoney(playerid) < 29) { SendClientMessage(playerid, COLOR_GRAD1, "Voce nao tem dinheiro o suficiente !"); return 1; } format(string, sizeof(string), "* %s comeu uma porcao de peixe frito.", PlayerName(playerid)); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); GivePlayerMoneyEx(playerid, -29); ApplyAnimationEx(playerid, "FOOD", "EAT_Burger", 3.0, 0, 0, 0, 0, 0); } if(listitem == 5) { if(GetPlayerMoney(playerid) < 26) { SendClientMessage(playerid, COLOR_GRAD1, "Voce nao tem dinheiro o suficiente !"); return 1; } format(string, sizeof(string), "* %s comeu uma porcao de batata frita.", PlayerName(playerid)); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); GivePlayerMoneyEx(playerid, -26); ApplyAnimationEx(playerid, "FOOD", "EAT_Burger", 3.0, 0, 0, 0, 0, 0); } if(listitem == 6) { if(GetPlayerMoney(playerid) < 23) { SendClientMessage(playerid, COLOR_GRAD1, "Voce nao tem dinheiro o suficiente !"); return 1; } format(string, sizeof(string), "* %s comeu uma porcao de salada.", PlayerName(playerid)); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); GivePlayerMoneyEx(playerid, -23); ApplyAnimationEx(playerid, "FOOD", "EAT_Burger", 3.0, 0, 0, 0, 0, 0); } if(listitem == 7) { if(GetPlayerMoney(playerid) < 5) { SendClientMessage(playerid, COLOR_GRAD1, "Voce nao tem dinheiro o suficiente !"); return 1; } format(string, sizeof(string), "* %s comeu um sorvete.", PlayerName(playerid)); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); GivePlayerMoneyEx(playerid, -5); ApplyAnimationEx(playerid, "FOOD", "EAT_Burger", 3.0, 0, 0, 0, 0, 0); } if(listitem == 8) { if(GetPlayerMoney(playerid) < 2) { SendClientMessage(playerid, COLOR_GRAD1, "Voce nao tem dinheiro o suficiente !"); return 1; } format(string, sizeof(string), "* %s tomou um copo de agua de 200 ml.", PlayerName(playerid)); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); GivePlayerMoneyEx(playerid, -2); ApplyAnimationEx(playerid, "FOOD", "EAT_Burger", 3.0, 0, 0, 0, 0, 0); } if(listitem == 9) { if(GetPlayerMoney(playerid) < 10) { SendClientMessage(playerid, COLOR_GRAD1, "Voce nao tem dinheiro o suficiente !"); return 1; } format(string, sizeof(string), "* %s tomou uma Garrafa de agua de 1 litro.", PlayerName(playerid)); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); GivePlayerMoneyEx(playerid, -10); ApplyAnimationEx(playerid, "FOOD", "EAT_Burger", 3.0, 0, 0, 0, 0, 0); } } return 1; } if(dialogid == 8725) { if(response) { new level = PlayerInfo[playerid][pLevel]; if(PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pAdminTemp] >= 1) { PlayerInfo[playerid][pDecod] += 1; foreach(Player, i) { if(PlayerInfo[i][pChatNoob] == 0) { format(string, sizeof(string),"Chat Noob ({FFFFFF}/noob{669999}) [MSG %d] [{FF61F3}Admin{669999}] %s: %s",PlayerInfo[playerid][pDecod],PlayerName(playerid),VarChatDuvida[playerid]); SendClientMessage(i,0x669999FF,string); } } #if defined DISCORD format(string, sizeof(string), "msg\n%s\n%s", PlayerName(playerid), removeAc(VarChatDuvida[playerid])); DCC_SendChannelMessage(Chat_duvidas, string); #endif VarChatDuvida[playerid] = 0; SetPVarInt(playerid, #VarFloodChatNoob, gettime()+15); } else if(PlayerInfo[playerid][pHelper] >= 1) { PlayerInfo[playerid][pDecod] += 1; foreach(Player, i) { if(PlayerInfo[i][pChatNoob] == 0) { format(string, sizeof(string),"Chat Noob ({FFFFFF}/noob{669999}) [MSG %d] [{FF61F3}Helper{669999}] %s: %s",PlayerInfo[playerid][pDecod],PlayerName(playerid),VarChatDuvida[playerid]); SendClientMessage(i,0x669999FF,string); } } #if defined DISCORD format(string, sizeof(string), "msg\n%s\n%s", PlayerName(playerid), removeAc(VarChatDuvida[playerid])); DCC_SendChannelMessage(Chat_duvidas, string); #endif VarChatDuvida[playerid] = 0; SetPVarInt(playerid, #VarFloodChatNoob, gettime()+15); } else if(PlayerInfo[playerid][pDecod] > 100) { PlayerInfo[playerid][pDecod] += 1; foreach(Player, i) { if(PlayerInfo[i][pChatNoob] == 0) { format(string, sizeof(string),"Chat Noob ({FFFFFF}/noob{669999}) [MSG %d] [{8A01CE}Veterano{669999}] %s: %s",PlayerInfo[playerid][pDecod],PlayerName(playerid),VarChatDuvida[playerid]); SendClientMessage(i,0x669999FF,string); } } #if defined DISCORD format(string, sizeof(string), "msg\n%s\n%s", PlayerName(playerid), removeAc(VarChatDuvida[playerid])); DCC_SendChannelMessage(Chat_duvidas, string); #endif VarChatDuvida[playerid] = 0; SetPVarInt(playerid, #VarFloodChatNoob, gettime()+15); } else if(PlayerInfo[playerid][pDecod] > 500) { PlayerInfo[playerid][pDecod] += 1; foreach(Player, i) { if(PlayerInfo[i][pChatNoob] == 0) { format(string, sizeof(string),"Chat Noob ({FFFFFF}/noob{669999}) [MSG %d] [{01A2CE}Experiente{669999}] %s: %s",PlayerInfo[playerid][pDecod],PlayerName(playerid),VarChatDuvida[playerid]); SendClientMessage(i,0x669999FF,string); } } #if defined DISCORD format(string, sizeof(string), "msg\n%s\n%s", PlayerName(playerid), removeAc(VarChatDuvida[playerid])); DCC_SendChannelMessage(Chat_duvidas, string); #endif VarChatDuvida[playerid] = 0; SetPVarInt(playerid, #VarFloodChatNoob, gettime()+15); } else if(PlayerInfo[playerid][pDecod] > 200) { PlayerInfo[playerid][pDecod] += 1; foreach(Player, i) { if(PlayerInfo[i][pChatNoob] == 0) { format(string, sizeof(string),"Chat Noob ({FFFFFF}/noob{669999}) [MSG %d] [{01A2CE}Ajudante{669999}] %s: %s",PlayerInfo[playerid][pDecod],PlayerName(playerid),VarChatDuvida[playerid]); SendClientMessage(i,0x669999FF,string); } } #if defined DISCORD format(string, sizeof(string), "msg\n%s\n%s", PlayerName(playerid), removeAc(VarChatDuvida[playerid])); DCC_SendChannelMessage(Chat_duvidas, string); #endif VarChatDuvida[playerid] = 0; SetPVarInt(playerid, #VarFloodChatNoob, gettime()+15); } else { PlayerInfo[playerid][pDecod] += 1; foreach(Player, i) { if(PlayerInfo[i][pChatNoob] == 0) { format(string, sizeof(string),"Chat Noob ({FFFFFF}/noob{669999}) [MSG %d][Nivel %d] %s: %s",PlayerInfo[playerid][pDecod],level,PlayerName(playerid),VarChatDuvida[playerid]); SendClientMessage(i,0x669999FF,string); } } #if defined DISCORD format(string, sizeof(string), "msg\n%s\n%s", PlayerName(playerid), removeAc(VarChatDuvida[playerid])); DCC_SendChannelMessage(Chat_duvidas, string); #endif VarChatDuvida[playerid] = 0; SetPVarInt(playerid, #VarFloodChatNoob, gettime()+15); } } else SendClientMessage(playerid, -1, "Voce cancelou a mensagem."); return 1; } if(dialogid == 8722) { if(response) { MEGAString[0] =EOS; strcat(MEGAString, "{FFFFFF}Prioridade do assunto\tDescricao\n" \ "{FFFFFF}Atendimento {FFFFFF}SEM URGENCIA\t{FFFFFF}Para assuntos pouco importantes\n" \ "{FFFFFF}Atendimento {FFFFFF}URGENTE\t{FFFFFF}Para assuntos de media importância\n" \ "{FFFFFF}Atendimento {FFFFFF}MUITO URGENTE\t{FFFFFF}Para assuntos muito importantes\n" \ "{FFFF00}Enviar Relatorio \t{FFFFFF}Para assuntos muito importantes\n"); ShowPlayerDialog(playerid, 10798, DIALOG_STYLE_TABLIST_HEADERS, "{828282}Escolha a prioridade do atendimento", MEGAString, "Enviar", "Cancelar"); } else SendClientMessage(playerid, -1, "Voce cancelou a mensagem."); return 1; } if(dialogid == 8764){ if(response){ new listitem2 = (listitem >= 21 ? 20 : listitem); if(EEInfo[listitem2][eaDescoberto]){ format(string, sizeof string, "* Voce marcou no mapa o EASTER EGG ''%s'' que foi descoberto por %s.", EEInfo[listitem][eaDescricao], EEInfo[listitem][eaNick]); SendClientMessage(playerid, 0xFFFF99FF, string); SetPlayerCheckpoint(playerid, EEInfo[listitem2][eaX], EEInfo[listitem2][eaY], EEInfo[listitem2][eaZ], 5.0); } else SendClientMessage(playerid, COLOR_GREY, " Voce nao pode localizar este EASTER EGG, pois ele ainda nao foi encontrado !"); } return 1; } if(dialogid == 6005) { if(response) { //titulo personalizado if(strfind(inputtext,"Admin", true) != -1 || strfind(inputtext,"Lixo", true) != -1 || strfind(inputtext,"VIP", true) != -1 || strfind(inputtext,"Script", true) != -1 || strfind(inputtext,"Planet", true) != -1 || strfind(inputtext,"KingGuhh", true) != -1 || strfind(inputtext,"BRP", true) != -1 || strfind(inputtext,"fundador", true) != -1 || strfind(inputtext,"criador", true) != -1 || strfind(inputtext,"copia", true) != -1 || strfind(inputtext,"programador", true) != -1 || strfind(inputtext,"BPC", true) != -1 || strfind(inputtext,"BPS", true) != -1 || strfind(inputtext,"%", true) != -1 //|| strfind(inputtext," ", true) != -1 || strfind(inputtext,"Servidor", true) != -1 || strfind(inputtext,"Server", true) != -1 || strfind(inputtext,"Life", true) != -1 || strfind(inputtext,"BPL", true) != -1) return SendClientMessage(playerid, COR_LIGHTRED, "Voce nao pode usar caracteres especiais, e alguns nomes restritos."); GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "Anúncio: %s{FFFFFF}, %s[%d] Celular: %d (/sms ou /ligar)", inputtext,sendername,playerid,PlayerInfo[playerid][pPnumber]); SendClientMessageToAll(0xFFFFFFAA,string); SetPVarInt(playerid, #VarFloodanuncio, gettime()+30); return 1; } return 1; } if(dialogid == 105) { if(!response) return SendClientMessage(playerid, -1, "Voce saiu do menu de titulos !"); switch(listitem) { case 0: { if(TemAnuncioPersonalizado[playerid] == 0 && PlayerInfo[playerid][pVIP] < 1) return SendClientMessage(playerid, -1, "Voce nao possui um titulo personalizado, adquira no menu vip !"); new dialog[800]; strcat(dialog,"Coloque oque voce deseja anúnciar"); strcat(dialog,"\n{BDBDBD}O Anúncio podera conter 3 a 40 caracteres."); strcat(dialog,"\n\nCodigos para cores:"); strcat(dialog,"\n{FFFFFF}{ 00FFFF } = {00FFFF}Vermelho"); strcat(dialog,"\n{FFFFFF}{ 0000FF } = {0000FF}Azul"); strcat(dialog,"\n{FFFFFF}{ FF00FF } = {FF00FF}Rosa"); strcat(dialog,"\n{FFFFFF}{ FFFF00 } = {FFFF00}Amarelo"); strcat(dialog,"\n{FFFFFF}{ 33FF00 } = {33FF00}Verde"); strcat(dialog,"\n{FFFFFF}{ FFFFFF } = {FFFFFF}Branco"); strcat(dialog,"\n\n{40FF00}Obs:{F7FE2E}Os Codigos das cores deve esta antes do nome e sem espacos dentro do colchetes!"); ShowPlayerDialog(playerid, 6005, DIALOG_STYLE_INPUT, "Anúncio Personalizado", dialog, "Escolher", "Cancelar"); } } } if(dialogid == 642) { if(response == 0) { ForT:cancelar(playerid, "convite"); } if(response == 1) { ForT:aceitar(playerid, "convite"); } return true; } //Area de Stunt com Moto e Bike if(dialogid == 5567) { if(response) { GetPlayerPos(playerid, Evx[playerid], Evy[playerid], Evz[playerid]); SetTimerEx("TeleArenaMotocros", 5000, 0, "i", playerid); SendClientMessage(playerid,0x00FFFF00,"*> Entrando na Arena, Permaneca Parado!"); return 1; } return 1; } if(dialogid == 1001) { ForT:regras(playerid); return 1; } if(dialogid == menuajuda) { if(response) { if(listitem == 0)//Como Subir de Level? { MEGAString[0] = EOS; strcat(MEGAString, "{33CCFF}Como Subir de Level?\n\n\n"); strcat(MEGAString, "{FFFFFF}• Para subir cada level,voce precisa alcancar a quantidade\n"); strcat(MEGAString, "{FFFFFF}de Respeito necessario que se Encontra na sua Identidade({33CCFF}/rg{FFFFFF}).\n\n"); strcat(MEGAString, "{FFFFFF}• Voce Recebe um ponto de Respeito a Cada Payday que Acontece no Servidor.\n"); strcat(MEGAString, "{FFFFFF}o Payday acontece a cada hora em ponto.\n\n"); strcat(MEGAString, "{FFFFFF}• Ao alcancar o limite de Respeito,voce deve realizar a Compra do level\n"); strcat(MEGAString, "{FFFFFF}usando o comando ({33CCFF}/comprarlevel{FFFFFF})\n\n"); strcat(MEGAString, "{FFFFFF}• Ao chegar a certos leveis voce liberara Compras de Novos Itens como:\n"); strcat(MEGAString, "{FFFFFF}Mochilas,Mudanca de Sexo,Entre Outros!\n\n"); ShowPlayerDialog(playerid, 999, DIALOG_STYLE_MSGBOX, "Ajuda - Level", MEGAString, "OK", ""); } else if(listitem == 1)//Como Arrumar um Emprego? { MEGAString[0] = EOS; strcat(MEGAString, "{33CCFF}Como Arrumar um Emprego?\n\n\n"); strcat(MEGAString, "{FFFFFF}• Para Arrumar um Emprego,voce deve ir ate uma Prefeitura\n"); strcat(MEGAString, "{FFFFFF}Para encontrar a mais proxima use seu({33CCFF}/gps{FFFFFF}).\n\n"); strcat(MEGAString, "{FFFFFF}• No Centro de licecas, voce pode\n"); strcat(MEGAString, "{FFFFFF}tambem tirar suas Licencas ou conseguir uma Ajuda do Governador.\n\n"); strcat(MEGAString, "{FFFFFF}• Caso queira mudar de Emprego, voce deve cumprir um contrato de\n"); strcat(MEGAString, "{FFFFFF}5 horas(Paydays).Para sair use o comando({33CCFF}/sairdoemprego{FFFFFF}).\n\n"); strcat(MEGAString, "{FFFFFF}• Caso nao goste de esperar, VIP'S podem trocar\n"); strcat(MEGAString, "{FFFFFF}a qualquer momento!\n\n"); ShowPlayerDialog(playerid, 999, DIALOG_STYLE_MSGBOX, "Ajuda - Emprego", MEGAString, "OK", ""); } else if(listitem == 2)//Como Ter um carro? { MEGAString[0] = EOS; strcat(MEGAString, "{33CCFF}Como Ter um carro?\n\n\n"); strcat(MEGAString, "{FFFFFF}• Para ter um carro voce precisa ter no minimo\n"); strcat(MEGAString, "{FFFFFF}20 horas de Jogo. Voce deve ir a Concessionaria usando ({33CCFF}/gps{FFFFFF}).\n\n"); strcat(MEGAString, "{FFFFFF}• Seu carro comprado la tem varias funcões\n"); strcat(MEGAString, "{FFFFFF}para acessa-las use ({33CCFF}/mv{FFFFFF}).\n\n"); strcat(MEGAString, "{FFFFFF}• Slamvan's podem ser equipadas com um som\n"); strcat(MEGAString, "{FFFFFF}basta ir a Transfender e equipa-lo.\n\n"); strcat(MEGAString, "{FFFFFF}• Ao comprar o veiculo nao se esqueca de estaciona-lo:\n"); strcat(MEGAString, "{FFFFFF}Ele sempre estara la quando Voltar!\n\n"); ShowPlayerDialog(playerid, 999, DIALOG_STYLE_MSGBOX, "Ajuda - Carro", MEGAString, "OK", ""); } else if(listitem == 3)//Como Entrar para uma Organizacao? { MEGAString[0] = EOS; strcat(MEGAString, "{33CCFF}Como Entrar para uma Organizacao?\n\n\n"); strcat(MEGAString, "{FFFFFF}• Para entrar para uma Org/Gang, voce devera realizar\n"); strcat(MEGAString, "{FFFFFF}um teste com um Lider.Para Encontra-lo use ({33CCFF}/lideres{FFFFFF}).\n\n"); strcat(MEGAString, "{FFFFFF}• Sublideres tambem podem Realizar,porem nao podem promove-lo\n"); strcat(MEGAString, "{FFFFFF}para encontrar um use ({33CCFF}/sublideres{FFFFFF}).\n\n"); strcat(MEGAString, "{FFFFFF}• A cada cargo voce consegue equipamentos Melhores\n"); strcat(MEGAString, "{FFFFFF}mas cuidado para nao ser Rebaixado.\n\n"); strcat(MEGAString, "{FFFFFF}• Ao se Tornar um Lider,nao deixe de cumprir e\n"); strcat(MEGAString, "{FFFFFF}colocar sua Equipe em Ordem!\n\n"); ShowPlayerDialog(playerid, 999, DIALOG_STYLE_MSGBOX, "Ajuda - Organizacao", MEGAString, "OK", ""); } else if(listitem == 4)//Como nao ser Preso? { MEGAString[0] = EOS; strcat(MEGAString, "{33CCFF}Como nao ser Preso?\n\n\n"); strcat(MEGAString, "{FFFFFF}• Para nao ser Preso tente evitar o maximo\n"); strcat(MEGAString, "{FFFFFF}Cometer Irregularidades para nao ficar no ({33CCFF}/presos{FFFFFF}).\n\n"); strcat(MEGAString, "{FFFFFF}• Os erros mais Cometidos sao:\n"); strcat(MEGAString, "{FFFFFF}Matar Sem Motivo(DM)\nAtropelar/atirar dentro do carro sem morivo(DB)\ \nAnuncio Irregular\nAnti RP.\n\n"); strcat(MEGAString, "{FFFFFF}• Caso Veja algum ato desses\n"); strcat(MEGAString, "{FFFFFF}Comunique no ({33CCFF}/relatorio{FFFFFF}) ou leve ao Forum.\n\n"); strcat(MEGAString, "{FFFFFF}• Seja um otimo Player\n"); strcat(MEGAString, "{FFFFFF}e tera a oportunidade de ser um Membro da Administracao!\n\n"); ShowPlayerDialog(playerid, 999, DIALOG_STYLE_MSGBOX, "Ajuda - Prisao", MEGAString, "OK", ""); } else if(listitem == 5)//Como Fazer Anuncios/Ligar { MEGAString[0] = EOS; strcat(MEGAString, "{33CCFF}Como Fazer Anúncios/Ligar\n\n\n"); strcat(MEGAString, "{FFFFFF}• Voce podera realizar anuncios\n"); strcat(MEGAString, "{FFFFFF}afim de oferecer/requisitar algo usando ({33CCFF}/an{FFFFFF}).\n\n"); strcat(MEGAString, "{FFFFFF}• Tente Evitar Palavrões ou Provocacões\n"); strcat(MEGAString, "{FFFFFF}Isto podera acarretar em uma punicao Administrativa.\n\n"); strcat(MEGAString, "{FFFFFF}• Caso seja de Alguma Org voce Podera usar\n"); strcat(MEGAString, "{FFFFFF}({33CCFF}/ang{FFFFFF}).\n\n"); strcat(MEGAString, "{FFFFFF}• Para ligar,pegue o numero do player usando ({33CCFF}/telefone {00FF00}[id]{FFFFFF})\n"); strcat(MEGAString, "{FFFFFF}depois use ({33CCFF}/ligar {00FF00}[Numero]{FFFFFF}) ou ({33CCFF}/sms {00FF00}[Numero] {00FFFF}[Mensagem]{FFFFFF})\n\n"); ShowPlayerDialog(playerid, 999, DIALOG_STYLE_MSGBOX, "Ajuda - Anúncios", MEGAString, "OK", ""); } else if(listitem == 6)//Como Fabricar drogas? { MEGAString[0] = EOS; strcat(MEGAString, "{33CCFF}Como Fabricar Drogas\n\n\n"); strcat(MEGAString, "{FFFFFF}• Para fabricar drogas\n"); strcat(MEGAString, "{FFFFFF}voce devera completar sua ({33CCFF}/bolsa{FFFFFF}).\n\n"); strcat(MEGAString, "{FFFFFF}• ou podera plantar Sementes de Maconha\n"); strcat(MEGAString, "{FFFFFF}elas se encontram no Mercado Negro.\n\n"); strcat(MEGAString, "{FFFFFF}• Muito Cuidado pois os Policiais\n"); strcat(MEGAString, "{FFFFFF}podem lhe prender por causa disto.\n\n"); strcat(MEGAString, "{FFFFFF}• Venda suas Drogas\n"); strcat(MEGAString, "{FFFFFF}Fique Rico ou Morra tentando!\n\n"); ShowPlayerDialog(playerid, 999, DIALOG_STYLE_MSGBOX, "Ajuda - Drogas", MEGAString, "OK", ""); } else if(listitem == 7)//Como Roubar Algo { MEGAString[0] = EOS; strcat(MEGAString, "{33CCFF}Como Roubar Algo\n\n\n"); strcat(MEGAString, "{FFFFFF}• Caso queira Roubar algum Lugar\n"); strcat(MEGAString, "{FFFFFF}Voce devera ser de uma Gang e usar ({33CCFF}/roubos{FFFFFF}).\n\n"); strcat(MEGAString, "{FFFFFF}• Voce podera roubar varios Locais como\n"); strcat(MEGAString, "{FFFFFF}Banco, Motel, Local de Trafico.\n\n"); strcat(MEGAString, "{FFFFFF}• Cuidado com os Tiras\n"); strcat(MEGAString, "{FFFFFF}Eles farao de tudo para impedi-lo.\n\n"); ShowPlayerDialog(playerid, 999, DIALOG_STYLE_MSGBOX, "Ajuda - Roubo", MEGAString, "OK", ""); } else if(listitem == 8)//Como Comprar VIP/Socio? { MEGAString[0] = EOS; strcat(MEGAString, "{33CCFF}Como Comprar VIP/Socio\n\n\n"); strcat(MEGAString, "{FFFFFF}• Caso queira se Tornar um Membro VIP\n"); strcat(MEGAString, "{FFFFFF}e ajudar nosso servidor basta ir ao nosso ({33CCFF}/Discord{FFFFFF}).\n\n"); strcat(MEGAString, "{FFFFFF}• La voce vai encontrar nossos Precos\n"); strcat(MEGAString, "{FFFFFF}Beneficios e tirar qualquer duvida.\n\n"); strcat(MEGAString, "{FFFFFF}• Para poder usar seus Cash no Servidor\n"); strcat(MEGAString, "{FFFFFF}Basta usar o Comando ({33CCFF}/lojavip{FFFFFF}).\n\n"); ShowPlayerDialog(playerid, 999, DIALOG_STYLE_MSGBOX, "Ajuda - VIP", MEGAString, "OK", ""); } } return 1; } if(dialogid == menuskills) { if(response) { if(listitem == 1) { //Advogado new level = PlayerInfo[playerid][pLawSkill]; if(level >= 0 && level < 20) { SendClientMessage(playerid, COLOR_YELLOW, "Nivel de advogado = 1."); format(string, sizeof(string), "Voce precisa ajustar mais %d pessoas para passar de nivel.", 20 - level); SendClientMessage(playerid, COLOR_YELLOW, string); } else if(level >= 20 && level < 100) { SendClientMessage(playerid, COLOR_YELLOW, "Nivel de advogado = 2."); format(string, sizeof(string), "Voce precisa ajustar mais %d pessoas para passar de nivel.", 40 - level); SendClientMessage(playerid, COLOR_YELLOW, string); } else if(level >= 100 && level < 150) { SendClientMessage(playerid, COLOR_YELLOW, "Nivel de advogado = 3."); format(string, sizeof(string), "Voce precisa ajustar mais %d pessoas para passar de nivel.", 100 - level); SendClientMessage(playerid, COLOR_YELLOW, string); } else if(level >= 150 && level < 250) { SendClientMessage(playerid, COLOR_YELLOW, "Nivel de advogado = 4."); format(string, sizeof(string), "Voce precisa ajustar mais %d pessoas para passar de nivel.", 150 - level); SendClientMessage(playerid, COLOR_YELLOW, string); } else if(level >= 250 && level < 370) { SendClientMessage(playerid, COLOR_YELLOW, "Nivel de advogado = 5."); format(string, sizeof(string), "Voce precisa ajustar mais %d pessoas para passar de nivel.", 250 - level); SendClientMessage(playerid, COLOR_YELLOW, string); } else if(level >= 370 && level < 500) { SendClientMessage(playerid, COLOR_YELLOW, "Nivel de advogado = 6."); format(string, sizeof(string), "Voce precisa ajustar mais %d pessoas para passar de nivel.", 370 - level); SendClientMessage(playerid, COLOR_YELLOW, string); } else if(level >= 500) { SendClientMessage(playerid, COLOR_YELLOW, "Nivel de advogado = 7."); } } else if(listitem == 2) { //Profissional do sexo new level = PlayerInfo[playerid][pSexSkill]; if(level >= 0 && level <= 50) { SendClientMessage(playerid, COLOR_YELLOW, "Nivel de profissional do sexo = 1."); format(string, sizeof(string), "Voce precisa fazer mais %d sexos para passar de nivel.", 50 - level); SendClientMessage(playerid, COLOR_YELLOW, string); } else if(level >= 51 && level <= 100) { SendClientMessage(playerid, COLOR_YELLOW, "Nivel de profissional do sexo = 2."); format(string, sizeof(string), "Voce precisa fazer mais %d sexos para passar de nivel.", 100 - level); SendClientMessage(playerid, COLOR_YELLOW, string); } else if(level >= 101 && level <= 200) { SendClientMessage(playerid, COLOR_YELLOW, "Nivel de profissional do sexo = 3."); format(string, sizeof(string), "Voce precisa fazer mais %d sexos para passar de nivel.", 200 - level); SendClientMessage(playerid, COLOR_YELLOW, string); } else if(level >= 201 && level <= 400) { SendClientMessage(playerid, COLOR_YELLOW, "Nivel de profissional do sexo = 4."); format(string, sizeof(string), "Voce precisa fazer mais %d sexos para passar de nivel.", 400 - level); SendClientMessage(playerid, COLOR_YELLOW, string); } else if(level >= 401) { SendClientMessage(playerid, COLOR_YELLOW, "Nivel de profissional do sexo = 5."); } } else if(listitem == 3) { //Vendedor De Drogas new level = PlayerInfo[playerid][pDrogasSkill]; if(level >= 0 && level <= 50) { SendClientMessage(playerid, COLOR_YELLOW, "Nivel de vendedor de drogas = 1."); format(string, sizeof(string), "Voce precisa vender mais %d drogas para passar de nivel.", 50 - level); SendClientMessage(playerid, COLOR_YELLOW, string); } else if(level >= 51 && level <= 100) { SendClientMessage(playerid, COLOR_YELLOW, "Nivel de vendedor de drogas = 2."); format(string, sizeof(string), "Voce precisa vender mais %d drogas para passar de nivel.", 100 - level); SendClientMessage(playerid, COLOR_YELLOW, string); } else if(level >= 101 && level <= 200) { SendClientMessage(playerid, COLOR_YELLOW, "Nivel de vendedor de drogas = 3."); format(string, sizeof(string), "Voce precisa vender mais %d drogas para passar de nivel.", 200 - level); SendClientMessage(playerid, COLOR_YELLOW, string); } else if(level >= 201 && level <= 400) { SendClientMessage(playerid, COLOR_YELLOW, "Nivel de vendedor de drogas = 4."); format(string, sizeof(string), "Voce precisa vender mais %d drogas para passar de nivel.", 400 - level); SendClientMessage(playerid, COLOR_YELLOW, string); } else if(level >= 401) { SendClientMessage(playerid, COLOR_YELLOW, "Nivel de vendedor de drogas = 5."); } } else if(listitem == 4) { new level = PlayerInfo[playerid][pJackSkill]; if(level >= 0 && level <= 50) { SendClientMessage(playerid, COLOR_YELLOW, "Level de ladrao de carros = 1."); format(string, sizeof(string), "Voce precisa robar mais %d carros para passar de Nivel.", 50 - level); SendClientMessage(playerid, COLOR_YELLOW, string); } else if(level >= 51 && level <= 100) { SendClientMessage(playerid, COLOR_YELLOW, "Level de ladrao de carros = 2."); format(string, sizeof(string), "Voce precisa robar mais %d carros para passar de Nivel.", 100 - level); SendClientMessage(playerid, COLOR_YELLOW, string); } else if(level >= 101 && level <= 200) { SendClientMessage(playerid, COLOR_YELLOW, "Level de ladrao de carros = 3."); format(string, sizeof(string), "Voce precisa robar mais %d carros para passar de Nivel.", 200 - level); SendClientMessage(playerid, COLOR_YELLOW, string); } else if(level >= 201 && level <= 400) { SendClientMessage(playerid, COLOR_YELLOW, "Level de ladrao de carros = 4."); format(string, sizeof(string), "Voce precisa robar mais %d carros para passar de Nivel.", 400 - level); SendClientMessage(playerid, COLOR_YELLOW, string); } else if(level >= 401) { SendClientMessage(playerid, COLOR_YELLOW, "Level de ladrao de carros = 5."); } } else if(listitem == 5) { //noticias Reporter new level = PlayerInfo[playerid][pNewsSkill]; if(level >= 0 && level <= 50) { SendClientMessage(playerid, COLOR_YELLOW, "Nivel de reporter = 1."); format(string, sizeof(string), "Voce precisar mandar mais %d noticias para passar de nivel.", 50 - level); SendClientMessage(playerid, COLOR_YELLOW, string); } else if(level >= 51 && level <= 100) { SendClientMessage(playerid, COLOR_YELLOW, "Nivel de reporter = 2."); format(string, sizeof(string), "Voce precisar mandar mais %d noticias para passar de nivel.", 100 - level); SendClientMessage(playerid, COLOR_YELLOW, string); } else if(level >= 101 && level <= 200) { SendClientMessage(playerid, COLOR_YELLOW, "Nivel de reporter = 3."); format(string, sizeof(string), "Voce precisar mandar mais %d noticias para passar de nivel.", 200 - level); SendClientMessage(playerid, COLOR_YELLOW, string); } else if(level >= 201 && level <= 400) { SendClientMessage(playerid, COLOR_YELLOW, "Nivel de reporter = 4."); format(string, sizeof(string), "Voce precisar mandar mais %d noticias para passar de nivel.", 400 - level); SendClientMessage(playerid, COLOR_YELLOW, string); } else if(level >= 401) { SendClientMessage(playerid, COLOR_YELLOW, "Nivel de reporter = 5."); } } else if(listitem == 6) { //Detran new level = PlayerInfo[playerid][pMechSkill]; if(level >= 0 && level <= 50) { SendClientMessage(playerid, COLOR_YELLOW, "Nivel de mecânico = 1."); format(string, sizeof(string), "Voce precisa concertar/abastecer mais %d carros para passar de nivel.", 50 - level); SendClientMessage(playerid, COLOR_YELLOW, string); } else if(level >= 51 && level <= 100) { SendClientMessage(playerid, COLOR_YELLOW, "Nivel de mecânico = 2."); format(string, sizeof(string), "Voce precisa concertar/abastecer mais %d carros para passar de nivel.", 100 - level); SendClientMessage(playerid, COLOR_YELLOW, string); } else if(level >= 101 && level <= 200) { SendClientMessage(playerid, COLOR_YELLOW, "Nivel de mecânico = 3."); format(string, sizeof(string), "Voce precisa concertar/abastecer mais %d carros para passar de nivel.", 200 - level); SendClientMessage(playerid, COLOR_YELLOW, string); } else if(level >= 201 && level <= 400) { SendClientMessage(playerid, COLOR_YELLOW, "Nivel de mecânico = 4."); format(string, sizeof(string), "Voce precisa concertar/abastecer mais %d carros para passar de nivel.", 400 - level); SendClientMessage(playerid, COLOR_YELLOW, string); } else if(level >= 401) { SendClientMessage(playerid, COLOR_YELLOW, "Nivel de mecânico = 5."); } } } return 1; } if(dialogid == 200) { new org = GetPlayerOrg(playerid); if(response) { if(listitem == 0) { ForT:dominarmoto(playerid); } else if(listitem == 1) { if(OrgsMoto(playerid)) { if(barexit[playerid] == 1) { if(GetPlayerOrg(playerid) == 24 && donobar == 1 || GetPlayerOrg(playerid) == 25 && donobar == 2) { if(gettime() < GetPVarInt(playerid, #VarFlood13)) { format(string, sizeof string, "Voce So pode equipar Novamente daqui a %s.", ConvertTime(GetPVarInt(playerid, #VarFlood13)-gettime())); SendClientMessage(playerid, COLOR_GRAD1, string); return 1; } SetPVarInt(playerid, #VarFlood13, gettime()+300); ResetPlayerWeapons(playerid); TempDropArmasBody[playerid] = 0; if(!IsAGovernamental(playerid)) { if(CofreOrg[org][Maconha] < 50) return SendClientMessage(playerid, COLOR_WHITE, "| INFO | Você não recebeu maconha pois sua org esta sem."); format(string, sizeof(string), "Sua HQ te deu %d de Maconha", 50); SendClientMessage(playerid, COLOR_YELLOW,string); CofreOrg[org][Maconha] -= -50; PlayerInfo[playerid][pDrogas] += 50; } if(CofreOrg[PlayerInfo[playerid][pMembro]][Vip] != 0 || CofreOrg[PlayerInfo[playerid][pLider]][Vip] != 0) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "*Voce Pegou os Equipamentos VIP de Sua Org."); format(string, sizeof(string), "* %s pega seus equipamentos ORG-VIP.", sendername); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SetPlayerHealth(playerid, 100.0); SetPlayerArmour(playerid, 100.0); GivePlayerWeapon(playerid, 24, 500); GivePlayerWeapon(playerid, 25, 500); GivePlayerWeapon(playerid, 29, 500); GivePlayerWeapon(playerid, 31, 500); if(SNIPER_ATIVADO) GivePlayerWeapon(playerid, 34, 50); return 1; } else { SendClientMessage(playerid, COLOR_LIGHTBLUE, "*Voce Pegou os Equipamentos Proprios Para o seu Cargo."); if (PlayerInfo[playerid][pCargo] == 1) { format(string, sizeof(string), "* %s pega seus equipamentos.", sendername); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SetPlayerHealth(playerid, 100.0); SetPlayerArmour(playerid, 100.0); GivePlayerWeapon(playerid, 3, 1); GivePlayerWeapon(playerid, 24, 100); GivePlayerWeapon(playerid, 25, 50); GivePlayerWeapon(playerid, 29, 80); GivePlayerWeapon(playerid, 31, 50); return 1; } if (PlayerInfo[playerid][pCargo] == 2) { format(string, sizeof(string), "* %s pega seus equipamentos.", sendername); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SetPlayerHealth(playerid, 100.0); SetPlayerArmour(playerid, 100.0); GivePlayerWeapon(playerid, 3, 1); GivePlayerWeapon(playerid, 24, 150); GivePlayerWeapon(playerid, 25, 70); GivePlayerWeapon(playerid, 29, 120); GivePlayerWeapon(playerid, 31, 100); return 1; } if (PlayerInfo[playerid][pCargo] == 3) { format(string, sizeof(string), "* %s pega seus equipamentos.", sendername); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SetPlayerHealth(playerid, 100.0); SetPlayerArmour(playerid, 100.0); GivePlayerWeapon(playerid, 3, 1); GivePlayerWeapon(playerid, 24, 170); GivePlayerWeapon(playerid, 25, 100); GivePlayerWeapon(playerid, 29, 150); GivePlayerWeapon(playerid, 31, 150); return 1; } if (PlayerInfo[playerid][pCargo] == 4) { format(string, sizeof(string), "* %s pega seus equipamentos.", sendername); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SetPlayerHealth(playerid, 100.0); SetPlayerArmour(playerid, 100.0); GivePlayerWeapon(playerid, 3, 1); GivePlayerWeapon(playerid, 24, 200); GivePlayerWeapon(playerid, 25, 150); GivePlayerWeapon(playerid, 29, 200); GivePlayerWeapon(playerid, 31, 200); return 1; } if (PlayerInfo[playerid][pCargo] == 5) { format(string, sizeof(string), "* %s pega seus equipamentos.", sendername); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SetPlayerHealth(playerid, 100.0); SetPlayerArmour(playerid, 100.0); GivePlayerWeapon(playerid, 3, 1); GivePlayerWeapon(playerid, 24, 250); GivePlayerWeapon(playerid, 25, 200); GivePlayerWeapon(playerid, 29, 250); GivePlayerWeapon(playerid, 31, 250); return 1; } if (PlayerInfo[playerid][pCargo] == 6) { format(string, sizeof(string), "* Lider %s pega seus equipamentos.", sendername); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SetPlayerHealth(playerid, 100.0); SetPlayerArmour(playerid, 100.0); GivePlayerWeapon(playerid, 3, 1); GivePlayerWeapon(playerid, 24, 500); GivePlayerWeapon(playerid, 25, 500); GivePlayerWeapon(playerid, 29, 500); GivePlayerWeapon(playerid, 31, 500); return 1; } } } else { SendClientMessage(playerid, COLOR_GRAD1, "Voce Precisa Ser Dono do Bar para poder Equipar aqui!"); return true; } } else if(barexit[playerid] == 2) { if(GetPlayerOrg(playerid) == 24 && donobar2 == 1 || GetPlayerOrg(playerid) == 25 && donobar2 == 2) { if(gettime() < GetPVarInt(playerid, #VarFlood13)) { format(string, sizeof string, "Voce So pode equipar Novamente daqui a %s.", ConvertTime(GetPVarInt(playerid, #VarFlood13)-gettime())); SendClientMessage(playerid, COLOR_GRAD1, string); return 1; } SetPVarInt(playerid, #VarFlood13, gettime()+300); ResetPlayerWeapons(playerid); TempDropArmasBody[playerid] = 0; if(!IsAGovernamental(playerid)) { if(CofreOrg[org][Maconha] < 50) return SendClientMessage(playerid, COLOR_WHITE, "| INFO | Você não recebeu maconha pois sua org esta sem."); format(string, sizeof(string), "Sua HQ te deu %d de Maconha", 50); SendClientMessage(playerid, COLOR_YELLOW,string); CofreOrg[org][Maconha] -= -50; PlayerInfo[playerid][pDrogas] += 50; } if(CofreOrg[PlayerInfo[playerid][pMembro]][Vip] != 0 || CofreOrg[PlayerInfo[playerid][pLider]][Vip] != 0) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "*Voce Pegou os Equipamentos VIP de Sua Org."); format(string, sizeof(string), "* %s pega seus equipamentos ORG-VIP.", sendername); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SetPlayerHealth(playerid, 100.0); SetPlayerArmour(playerid, 100.0); GivePlayerWeapon(playerid, 24, 500); GivePlayerWeapon(playerid, 25, 500); GivePlayerWeapon(playerid, 29, 500); GivePlayerWeapon(playerid, 31, 500); if(SNIPER_ATIVADO) GivePlayerWeapon(playerid, 34, 50); return 1; } else { SendClientMessage(playerid, COLOR_LIGHTBLUE, "*Voce Pegou os Equipamentos Proprios Para o seu Cargo."); if (PlayerInfo[playerid][pCargo] == 1) { format(string, sizeof(string), "* %s pega seus equipamentos.", sendername); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SetPlayerHealth(playerid, 100.0); GivePlayerWeapon(playerid, 24, 100); GivePlayerWeapon(playerid, 25, 50); GivePlayerWeapon(playerid, 29, 80); GivePlayerWeapon(playerid, 31, 50); return 1; } if (PlayerInfo[playerid][pCargo] == 2) { format(string, sizeof(string), "* %s pega seus equipamentos.", sendername); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SetPlayerHealth(playerid, 100.0); GivePlayerWeapon(playerid, 24, 150); GivePlayerWeapon(playerid, 25, 70); GivePlayerWeapon(playerid, 29, 120); GivePlayerWeapon(playerid, 31, 100); return 1; } if (PlayerInfo[playerid][pCargo] == 3) { format(string, sizeof(string), "* %s pega seus equipamentos.", sendername); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SetPlayerHealth(playerid, 100.0); GivePlayerWeapon(playerid, 24, 170); GivePlayerWeapon(playerid, 25, 100); GivePlayerWeapon(playerid, 29, 150); GivePlayerWeapon(playerid, 31, 150); return 1; } if (PlayerInfo[playerid][pCargo] == 4) { format(string, sizeof(string), "* %s pega seus equipamentos.", sendername); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SetPlayerHealth(playerid, 100.0); GivePlayerWeapon(playerid, 24, 200); GivePlayerWeapon(playerid, 25, 150); GivePlayerWeapon(playerid, 29, 200); GivePlayerWeapon(playerid, 31, 200); return 1; } if (PlayerInfo[playerid][pCargo] == 5) { format(string, sizeof(string), "* %s pega seus equipamentos.", sendername); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SetPlayerHealth(playerid, 100.0); GivePlayerWeapon(playerid, 24, 250); GivePlayerWeapon(playerid, 25, 200); GivePlayerWeapon(playerid, 29, 250); GivePlayerWeapon(playerid, 31, 250); return 1; } if (PlayerInfo[playerid][pCargo] == 6) { format(string, sizeof(string), "* Lider %s pega seus equipamentos.", sendername); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SetPlayerHealth(playerid, 100.0); GivePlayerWeapon(playerid, 24, 500); GivePlayerWeapon(playerid, 25, 500); GivePlayerWeapon(playerid, 29, 500); GivePlayerWeapon(playerid, 31, 500); return 1; } } } else { SendClientMessage(playerid, COLOR_GRAD1, "Voce Precisa Ser Dono do Bar para poder Equipar aqui!"); return true; } } else if(barexit[playerid] == 3) { if(GetPlayerOrg(playerid) == 24 && donobar3 == 1 || GetPlayerOrg(playerid) == 25 && donobar3 == 2) { if(gettime() < GetPVarInt(playerid, #VarFlood13)) { format(string, sizeof string, "Voce So pode equipar Novamente daqui a %s.", ConvertTime(GetPVarInt(playerid, #VarFlood13)-gettime())); SendClientMessage(playerid, COLOR_GRAD1, string); return 1; } SetPVarInt(playerid, #VarFlood13, gettime()+300); ResetPlayerWeapons(playerid); TempDropArmasBody[playerid] = 0; if(!IsAGovernamental(playerid)) { if(CofreOrg[org][Maconha] < 50) return SendClientMessage(playerid, COLOR_WHITE, "| INFO | Você não recebeu maconha pois sua org esta sem."); format(string, sizeof(string), "Sua HQ te deu %d de Maconha", 50); SendClientMessage(playerid, COLOR_YELLOW,string); CofreOrg[org][Maconha] -= -50; PlayerInfo[playerid][pDrogas] += 50; } if(CofreOrg[PlayerInfo[playerid][pMembro]][Vip] != 0 || CofreOrg[PlayerInfo[playerid][pLider]][Vip] != 0) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "*Voce Pegou os Equipamentos VIP de Sua Org."); format(string, sizeof(string), "* %s pega seus equipamentos ORG-VIP.", sendername); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SetPlayerHealth(playerid, 100.0); SetPlayerArmour(playerid, 100.0); GivePlayerWeapon(playerid, 24, 500); GivePlayerWeapon(playerid, 25, 500); GivePlayerWeapon(playerid, 29, 500); GivePlayerWeapon(playerid, 31, 500); if(SNIPER_ATIVADO) GivePlayerWeapon(playerid, 34, 50); return 1; } else { SendClientMessage(playerid, COLOR_LIGHTBLUE, "*Voce Pegou os Equipamentos Proprios Para o seu Cargo."); if (PlayerInfo[playerid][pCargo] == 1) { format(string, sizeof(string), "* %s pega seus equipamentos.", sendername); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SetPlayerHealth(playerid, 100.0); GivePlayerWeapon(playerid, 24, 100); GivePlayerWeapon(playerid, 25, 50); GivePlayerWeapon(playerid, 29, 80); GivePlayerWeapon(playerid, 31, 50); return 1; } if (PlayerInfo[playerid][pCargo] == 2) { format(string, sizeof(string), "* %s pega seus equipamentos.", sendername); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SetPlayerHealth(playerid, 100.0); GivePlayerWeapon(playerid, 24, 150); GivePlayerWeapon(playerid, 25, 70); GivePlayerWeapon(playerid, 29, 120); GivePlayerWeapon(playerid, 31, 100); return 1; } if (PlayerInfo[playerid][pCargo] == 3) { format(string, sizeof(string), "* %s pega seus equipamentos.", sendername); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SetPlayerHealth(playerid, 100.0); GivePlayerWeapon(playerid, 24, 170); GivePlayerWeapon(playerid, 25, 100); GivePlayerWeapon(playerid, 29, 150); GivePlayerWeapon(playerid, 31, 150); return 1; } if (PlayerInfo[playerid][pCargo] == 4) { format(string, sizeof(string), "* %s pega seus equipamentos.", sendername); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SetPlayerHealth(playerid, 100.0); GivePlayerWeapon(playerid, 24, 200); GivePlayerWeapon(playerid, 25, 150); GivePlayerWeapon(playerid, 29, 200); GivePlayerWeapon(playerid, 31, 200); return 1; } if (PlayerInfo[playerid][pCargo] == 5 ) { format(string, sizeof(string), "* %s pega seus equipamentos.", sendername); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SetPlayerHealth(playerid, 100.0); GivePlayerWeapon(playerid, 24, 250); GivePlayerWeapon(playerid, 25, 200); GivePlayerWeapon(playerid, 29, 250); GivePlayerWeapon(playerid, 31, 250); return 1; } if (PlayerInfo[playerid][pCargo] == 6) { format(string, sizeof(string), "* Lider %s pega seus equipamentos.", sendername); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SetPlayerHealth(playerid, 100.0); GivePlayerWeapon(playerid, 24, 500); GivePlayerWeapon(playerid, 25, 500); GivePlayerWeapon(playerid, 29, 500); GivePlayerWeapon(playerid, 31, 500); return 1; } } } else { SendClientMessage(playerid, COLOR_GRAD1, "Voce Precisa Ser Dono do Bar para poder Equipar aqui!"); return true; } } else if(barexit[playerid] == 4) { if(GetPlayerOrg(playerid) == 24 && donobar4 == 1 || GetPlayerOrg(playerid) == 25 && donobar4 == 2) { if(gettime() < GetPVarInt(playerid, #VarFlood13)) { format(string, sizeof string, "Voce So pode equipar Novamente daqui a %s.", ConvertTime(GetPVarInt(playerid, #VarFlood13)-gettime())); SendClientMessage(playerid, COLOR_GRAD1, string); return 1; } SetPVarInt(playerid, #VarFlood13, gettime()+300); ResetPlayerWeapons(playerid); TempDropArmasBody[playerid] = 0; if(!IsAGovernamental(playerid)) { if(CofreOrg[org][Maconha] < 50) return SendClientMessage(playerid, COLOR_WHITE, "| INFO | Você não recebeu maconha pois sua org esta sem."); format(string, sizeof(string), "Sua HQ te deu %d de Maconha", 50); SendClientMessage(playerid, COLOR_YELLOW,string); CofreOrg[org][Maconha] -= -50; PlayerInfo[playerid][pDrogas] += 50; } if(CofreOrg[PlayerInfo[playerid][pMembro]][Vip] != 0 || CofreOrg[PlayerInfo[playerid][pLider]][Vip] != 0) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "*Voce Pegou os Equipamentos VIP de Sua Org."); format(string, sizeof(string), "* %s pega seus equipamentos ORG-VIP.", sendername); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SetPlayerHealth(playerid, 100.0); SetPlayerArmour(playerid, 100.0); GivePlayerWeapon(playerid, 24, 500); GivePlayerWeapon(playerid, 25, 500); GivePlayerWeapon(playerid, 29, 500); GivePlayerWeapon(playerid, 31, 500); if(SNIPER_ATIVADO) GivePlayerWeapon(playerid, 34, 50); return 1; } else { SendClientMessage(playerid, COLOR_LIGHTBLUE, "*Voce Pegou os Equipamentos Proprios Para o seu Cargo."); if (PlayerInfo[playerid][pCargo] == 1) { format(string, sizeof(string), "* %s pega seus equipamentos.", sendername); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SetPlayerHealth(playerid, 100.0); GivePlayerWeapon(playerid, 24, 100); GivePlayerWeapon(playerid, 25, 50); GivePlayerWeapon(playerid, 29, 80); GivePlayerWeapon(playerid, 31, 50); return 1; } if (PlayerInfo[playerid][pCargo] == 2) { format(string, sizeof(string), "* %s pega seus equipamentos.", sendername); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SetPlayerHealth(playerid, 100.0); GivePlayerWeapon(playerid, 24, 150); GivePlayerWeapon(playerid, 25, 70); GivePlayerWeapon(playerid, 29, 120); GivePlayerWeapon(playerid, 31, 100); return 1; } if (PlayerInfo[playerid][pCargo] == 3) { format(string, sizeof(string), "* %s pega seus equipamentos.", sendername); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SetPlayerHealth(playerid, 100.0); GivePlayerWeapon(playerid, 24, 170); GivePlayerWeapon(playerid, 25, 100); GivePlayerWeapon(playerid, 29, 150); GivePlayerWeapon(playerid, 31, 150); return 1; } if (PlayerInfo[playerid][pCargo] == 4) { format(string, sizeof(string), "* %s pega seus equipamentos.", sendername); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SetPlayerHealth(playerid, 100.0); GivePlayerWeapon(playerid, 24, 200); GivePlayerWeapon(playerid, 25, 150); GivePlayerWeapon(playerid, 29, 200); GivePlayerWeapon(playerid, 31, 200); return 1; } if (PlayerInfo[playerid][pCargo] == 5) { format(string, sizeof(string), "* %s pega seus equipamentos.", sendername); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SetPlayerHealth(playerid, 100.0); GivePlayerWeapon(playerid, 24, 250); GivePlayerWeapon(playerid, 25, 200); GivePlayerWeapon(playerid, 29, 250); GivePlayerWeapon(playerid, 31, 250); return 1; } if (PlayerInfo[playerid][pCargo] == 6) { format(string, sizeof(string), "* Lider %s pega seus equipamentos.", sendername); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SetPlayerHealth(playerid, 100.0); GivePlayerWeapon(playerid, 24, 500); GivePlayerWeapon(playerid, 25, 500); GivePlayerWeapon(playerid, 29, 500); GivePlayerWeapon(playerid, 31, 500); return 1; } } } else { SendClientMessage(playerid, COLOR_GRAD1, "Voce Precisa Ser Dono do Bar para poder Equipar aqui!"); return true; } } else if(barexit[playerid] == 5) { if(GetPlayerOrg(playerid) == 24 && donobar5 == 1 || GetPlayerOrg(playerid) == 25 && donobar5 == 2) { if(gettime() < GetPVarInt(playerid, #VarFlood13)) { format(string, sizeof string, "Voce So pode equipar Novamente daqui a %s.", ConvertTime(GetPVarInt(playerid, #VarFlood13)-gettime())); SendClientMessage(playerid, COLOR_GRAD1, string); return 1; } SetPVarInt(playerid, #VarFlood13, gettime()+300); ResetPlayerWeapons(playerid); TempDropArmasBody[playerid] = 0; if(!IsAGovernamental(playerid)) { if(CofreOrg[org][Maconha] < 50) return SendClientMessage(playerid, COLOR_WHITE, "| INFO | Você não recebeu maconha pois sua org esta sem."); format(string, sizeof(string), "Sua HQ te deu %d de Maconha", 50); SendClientMessage(playerid, COLOR_YELLOW,string); CofreOrg[org][Maconha] -= -50; PlayerInfo[playerid][pDrogas] += 50; } if(CofreOrg[PlayerInfo[playerid][pMembro]][Vip] != 0 || CofreOrg[PlayerInfo[playerid][pLider]][Vip] != 0) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "*Voce Pegou os Equipamentos VIP de Sua Org."); format(string, sizeof(string), "* %s pega seus equipamentos ORG-VIP.", sendername); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SetPlayerHealth(playerid, 100.0); SetPlayerArmour(playerid, 100.0); GivePlayerWeapon(playerid, 24, 500); GivePlayerWeapon(playerid, 25, 500); GivePlayerWeapon(playerid, 29, 500); GivePlayerWeapon(playerid, 31, 500); if(SNIPER_ATIVADO) GivePlayerWeapon(playerid, 34, 50); return 1; } else { SendClientMessage(playerid, COLOR_LIGHTBLUE, "*Voce Pegou os Equipamentos Proprios Para o seu Cargo."); if (PlayerInfo[playerid][pCargo] == 1) { format(string, sizeof(string), "* %s pega seus equipamentos.", sendername); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SetPlayerHealth(playerid, 100.0); GivePlayerWeapon(playerid, 24, 100); GivePlayerWeapon(playerid, 25, 50); GivePlayerWeapon(playerid, 29, 80); GivePlayerWeapon(playerid, 31, 50); return 1; } if (PlayerInfo[playerid][pCargo] == 2) { format(string, sizeof(string), "* %s pega seus equipamentos.", sendername); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SetPlayerHealth(playerid, 100.0); GivePlayerWeapon(playerid, 24, 150); GivePlayerWeapon(playerid, 25, 70); GivePlayerWeapon(playerid, 29, 120); GivePlayerWeapon(playerid, 31, 100); return 1; } if (PlayerInfo[playerid][pCargo] == 3) { format(string, sizeof(string), "* %s pega seus equipamentos.", sendername); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SetPlayerHealth(playerid, 100.0); GivePlayerWeapon(playerid, 24, 170); GivePlayerWeapon(playerid, 25, 100); GivePlayerWeapon(playerid, 29, 150); GivePlayerWeapon(playerid, 31, 150); return 1; } if (PlayerInfo[playerid][pCargo] == 4) { format(string, sizeof(string), "* %s pega seus equipamentos.", sendername); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SetPlayerHealth(playerid, 100.0); GivePlayerWeapon(playerid, 24, 200); GivePlayerWeapon(playerid, 25, 150); GivePlayerWeapon(playerid, 29, 200); GivePlayerWeapon(playerid, 31, 200); return 1; } if (PlayerInfo[playerid][pCargo] == 5) { format(string, sizeof(string), "* %s pega seus equipamentos.", sendername); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SetPlayerHealth(playerid, 100.0); GivePlayerWeapon(playerid, 24, 250); GivePlayerWeapon(playerid, 25, 200); GivePlayerWeapon(playerid, 29, 250); GivePlayerWeapon(playerid, 31, 250); return 1; } if (PlayerInfo[playerid][pCargo] == 6) { format(string, sizeof(string), "* Lider %s pega seus equipamentos.", sendername); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SetPlayerHealth(playerid, 100.0); GivePlayerWeapon(playerid, 24, 500); GivePlayerWeapon(playerid, 25, 500); GivePlayerWeapon(playerid, 29, 500); GivePlayerWeapon(playerid, 31, 500); return 1; } } } else { SendClientMessage(playerid, COLOR_GRAD1, "Voce Precisa Ser Dono do Bar para poder Equipar aqui!"); return true; } } } } else if(listitem == 2) { if(barexit[playerid] == 1) { if(GetPlayerOrg(playerid) == 24 && donobar == 1 || GetPlayerOrg(playerid) == 25 && donobar == 2) { if(gettime() < GetPVarInt(playerid, #VarGranaBar1)) { format(string, sizeof string, "Voce So pode Pegar Grana Aqui Novamente daqui a %s.", ConvertTime(GetPVarInt(playerid, #VarGranaBar1)-gettime())); SendClientMessage(playerid, COLOR_GRAD1, string); return 1; } SetPVarInt(playerid, #VarGranaBar1, gettime()+900); new grana = random(6)*random(5000); if(grana < 1000) grana += 1000; GiveDinheiro(playerid, grana); DepositarGranaOrg(GetPlayerOrg(playerid),grana); format(string,sizeof(string),"Voce pegou R$%s para voce e o mesmo tanto para sua Organizacao.",ConvertMoney(grana)); SendClientMessage(playerid,COLOR_YELLOW,string); } else { SendClientMessage(playerid, COLOR_GRAD1, "Voce Precisa Ser Dono do Bar para poder Pegar grana!"); return true; } } else if(barexit[playerid] == 2) { if(GetPlayerOrg(playerid) == 24 && donobar2 == 1 || GetPlayerOrg(playerid) == 25 && donobar2 == 2) { if(gettime() < GetPVarInt(playerid, #VarGranaBar2)) { format(string, sizeof string, "Voce So pode Pegar Grana Aqui Novamente daqui a %s.", ConvertTime(GetPVarInt(playerid, #VarGranaBar2)-gettime())); SendClientMessage(playerid, COLOR_GRAD1, string); return 1; } SetPVarInt(playerid, #VarGranaBar2, gettime()+900); new grana = random(6)*random(5000); if(grana < 1000) grana += 1000; GiveDinheiro(playerid, grana); DepositarGranaOrg(GetPlayerOrg(playerid),grana); format(string,sizeof(string),"Voce pegou R$%s para voce e o mesmo tanto para sua Organizacao.",ConvertMoney(grana)); SendClientMessage(playerid,COLOR_YELLOW,string); } else { SendClientMessage(playerid, COLOR_GRAD1, "Voce Precisa Ser Dono do Bar para poder Pegar grana!"); return true; } } else if(barexit[playerid] == 3) { if(GetPlayerOrg(playerid) == 24 && donobar3 == 1 || GetPlayerOrg(playerid) == 25 && donobar3 == 2) { if(gettime() < GetPVarInt(playerid, #VarGranaBar3)) { format(string, sizeof string, "Voce So pode Pegar Grana Aqui Novamente daqui a %s.", ConvertTime(GetPVarInt(playerid, #VarGranaBar3)-gettime())); SendClientMessage(playerid, COLOR_GRAD1, string); return 1; } SetPVarInt(playerid, #VarGranaBar3, gettime()+900); new grana = random(6)*random(5000); if(grana < 10000) grana += 10000; GiveDinheiro(playerid, grana); DepositarGranaOrg(GetPlayerOrg(playerid),grana); format(string,sizeof(string),"Voce pegou R$%s para voce e o mesmo tanto para sua Organizacao.",ConvertMoney(grana)); SendClientMessage(playerid,COLOR_YELLOW,string); } else { SendClientMessage(playerid, COLOR_GRAD1, "Voce Precisa Ser Dono do Bar para poder Pegar grana!"); return true; } } else if(barexit[playerid] == 4) { if(GetPlayerOrg(playerid) == 24 && donobar4 == 1 || GetPlayerOrg(playerid) == 25 && donobar4 == 2) { if(gettime() < GetPVarInt(playerid, #VarGranaBar4)) { format(string, sizeof string, "Voce So pode Pegar Grana Aqui Novamente daqui a %s.", ConvertTime(GetPVarInt(playerid, #VarGranaBar4)-gettime())); SendClientMessage(playerid, COLOR_GRAD1, string); return 1; } SetPVarInt(playerid, #VarGranaBar4, gettime()+900); new grana = random(6)*random(5000); if(grana < 10000) grana += 10000; GiveDinheiro(playerid, grana); DepositarGranaOrg(GetPlayerOrg(playerid),grana); format(string,sizeof(string),"Voce pegou R$%s para voce e o mesmo tanto para sua Organizacao.",ConvertMoney(grana)); SendClientMessage(playerid,COLOR_YELLOW,string); } else { SendClientMessage(playerid, COLOR_GRAD1, "Voce Precisa Ser Dono do Bar para poder Pegar grana!"); return true; } } else if(barexit[playerid] == 5) { if(GetPlayerOrg(playerid) == 24 && donobar5 == 1 || GetPlayerOrg(playerid) == 25 && donobar5 == 2) { if(gettime() < GetPVarInt(playerid, #VarGranaBar5)) { format(string, sizeof string, "Voce So pode Pegar Grana Aqui Novamente daqui a %s.", ConvertTime(GetPVarInt(playerid, #VarGranaBar5)-gettime())); SendClientMessage(playerid, COLOR_GRAD1, string); return 1; } SetPVarInt(playerid, #VarGranaBar5, gettime()+900); new grana = random(6)*random(5000); if(grana < 10000) grana += 10000; GiveDinheiro(playerid, grana); DepositarGranaOrg(GetPlayerOrg(playerid),grana); format(string,sizeof(string),"Voce pegou R$%s para voce e o mesmo tanto para sua Organizacao.",ConvertMoney(grana)); SendClientMessage(playerid,COLOR_YELLOW,string); } else { SendClientMessage(playerid, COLOR_GRAD1, "Voce Precisa Ser Dono do Bar para poder Pegar grana!"); return true; } } return true; } } return 1; } if(dialogid == 306){ SelectTextDraw(playerid, 0xAAAAAAFF); if(response){ new weap, ammo; GetPlayerWeaponData(playerid, listitem + 1, weap, ammo); if(ammo < 1) return CancelSelectTextDraw(playerid), SendClientMessage(playerid, COLOR_YELLOW, "*Esta arma e invalida!"), dialogArmas(playerid); ArmasGuardadas[playerid][Selected[playerid][2]] = weap; BalasGuardadas[playerid][Selected[playerid][2]] = ammo; format(string, sizeof string, "Voce guardou uma arma %s com %d balas no slot: %d. Para pegar use: /inventario", NomeArmaInventario(ArmasGuardadas[playerid][Selected[playerid][2]]),BalasGuardadas[playerid][Selected[playerid][2]], Selected[playerid][2]); SendClientMessage(playerid, 0x6666CCFF, string); RemovePlayerWeapon(playerid, weap); format(string, sizeof(string), "* %s guardou um(a) %s em seu inventario", NomePlayer(playerid), NomeArmaInventario(ArmasGuardadas[playerid][Selected[playerid][2]])); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SetPVarInt(playerid, "guardando", 0); FecharInventario(playerid); } else{ SetPVarInt(playerid, "guardando", 0); } } if(dialogid == 305){ if(response){ dialogArmas(playerid); }else{ SetPVarInt(playerid, "guardando", 0); SelectTextDraw(playerid, 0xAAAAAAFF); } } if(dialogid == 307){ if(response){ dialogArmasPM(playerid); }else{ SetPVarInt(playerid, "guardando", 0); SelectTextDraw(playerid, 0xAAAAAAFF); } } if(dialogid == 3030) { if(response) { static strradar[100]; GetPlayerPos(playerid, PosXradar,PosYradar,PosZradar); GetPlayerFacingAngle(playerid, Anguloradar); //IdRadarLivre(playerid); InfoRadar[radarid[playerid]][lPosXradar] = PosXradar; InfoRadar[radarid[playerid]][lPosYradar] = PosYradar; InfoRadar[radarid[playerid]][lPosZradar] = PosZradar-1.5; InfoRadar[radarid[playerid]][lAnguloradar] = Anguloradar; InfoRadar[radarid[playerid]][lVelocidade] = vel; ObjetoRadar[0][radarid[playerid]] = CreateObject(18880, InfoRadar[radarid[playerid]][lPosXradar], InfoRadar[radarid[playerid]][lPosYradar], InfoRadar[radarid[playerid]][lPosZradar], 0.0, 0.0, InfoRadar[radarid[playerid]][lAnguloradar]); ObjetoRadar[1][radarid[playerid]] = CreateObject(18880, InfoRadar[radarid[playerid]][lPosXradar], InfoRadar[radarid[playerid]][lPosYradar], InfoRadar[radarid[playerid]][lPosZradar], 0.0, 0.0, InfoRadar[radarid[playerid]][lAnguloradar] + 180.0); format(strradar, sizeof(strradar),"{FF8C00}Radar: %d\nLimite de velocidade: %d KM/H",radarid,InfoRadar[radarid[playerid]][lVelocidade]); TRadar[radarid[playerid]] = Text3D:Create3DTextLabel(strradar, -1, InfoRadar[radarid[playerid]][lPosXradar], InfoRadar[radarid[playerid]][lPosYradar], InfoRadar[radarid[playerid]][lPosZradar]+1, 50.0, 0); MapIconRadar[radarid[playerid]] = CreateDynamicMapIcon(InfoRadar[radarid[playerid]][lPosXradar], InfoRadar[radarid[playerid]][lPosYradar], InfoRadar[radarid[playerid]][lPosZradar], 34 , 0xE6E6E6E6, -1, -1, -1, 250.0); format(lString, sizeof(lString),"Radar ID: %d criado.",radarid[playerid]); SendClientMessage(playerid, 0x004C00FF, lString); SetPlayerPos(playerid, PosXradar+1,PosYradar+1,PosZradar+1); CriandoRadar = 0; SalvarRadares(); } else { CriandoRadar = 0; SendClientMessage(playerid, 0xFFFFFFFF,"Você fechou o dialog de criar radar!"); } } //-------------------------[ Sistema de Eventos ]------------------------- if(dialogid == 6334) { TogglePlayerControllableEx(playerid, 1); if(!response) { SendClientMessage(playerid, COLOR_WHITE, "* Voce saiu da lista de eventos !"); return 1; } switch(listitem) { case 0: { ShowPlayerDialog(playerid,6335,DIALOG_STYLE_LIST,"Escolha o Local do Evento [Cops vs Zumbi]","Hotel\nGalpao\nAviao","Iniciar","Cancelar"); } case 1: { foreach(Player, i) if(IsPlayerConnected(i)) { tempoevento[i] = 1; ShowPlayerDialog(i, 51, DIALOG_STYLE_MSGBOX, "Evento Paint Ball !", "Voce deseja ir ao evento ?", "Sim", "Nao"); SendClientMessage(i, COLOR_LIGHTBLUE, "Admin esta chamando todos para o evento Paint Ball!"); SendClientMessage(i, COLOR_LIGHTBLUE, "Clique em Sim para ir ou Nao Para Continuar aonde esta !"); } } case 2: { foreach(Player, i) if(IsPlayerConnected(i)) { if(NaPorraDoEvento[i] == true) { ResetPlayerWeapons(i); TogglePlayerControllableEx(i, 1); PlayerInfo[i][pTrazerChuck] = 0; PrimeiroChuck[i] = 0; LimiteChuck = 0; KillTimer(TempoEventoChuck); vszumbi = 0; vscops = 0; Trazervs[i] = 0; EventoGalpao[i] = 0; PlayerInfo[i][pEvento] = 0; PlayerInfo[i][pEventoa] = 0; EventoHotel[i] = 0; EventoAviao[i] = 0; MorteEvento[i] = 0; DeatEvento[i] = 0; KillEvento[i] = 0; SetHora(); SetPlayerVirtualWorld(i, 0); SetPlayerSkin(i, PlayerInfo[i][pSkin]); SetPlayerToTeamColor(i); SetPlayerWorldBounds(i, 20000.0000,-20000.0000,20000.0000,-20000.0000); SetPlayerSpawn(i); SendClientMessage(playerid, COLOR_LIGHTBLUE, "Voce encerrou todos os eventos que estavam ocorrendo !"); } } } } } if(dialogid == 6335) { TogglePlayerControllableEx(playerid, 1); if(!response) { return 1; } switch(listitem) { case 0: { foreach(Player, i) { if(IsPlayerConnected(i)) { tempoevento[i] = 1; EventoGalpao[i] = 0; EventoHotel[i] = 1; ShowPlayerDialog(i, 50, DIALOG_STYLE_MSGBOX, "Evento Cop's x Zombies !", "Local = Hotel\nVoce deseja ir o evento?", "Sim", "Nao"); } } } case 1: { foreach(Player, i) { if(IsPlayerConnected(i)) { tempoevento[i] = 1; EventoHotel[i] = 0; EventoGalpao[i] = 1; ShowPlayerDialog(i, 50, DIALOG_STYLE_MSGBOX, "Evento Cop's x Zombies !", "Local = Galpao\nVoce deseja ir o evento?", "Sim", "Nao"); } } } case 2: { foreach(Player, i) { if(IsPlayerConnected(i)) { tempoevento[i] = 1; EventoHotel[i] = 0; EventoGalpao[i] = 0; EventoAviao[i] = 1; ShowPlayerDialog(i, 50, DIALOG_STYLE_MSGBOX, "Evento Cop's x Zombies !", "Local = Aviao\nVoce deseja ir o evento?", "Sim", "Nao"); } } } } } //=======================[Sistema derrubar PLUS By William]=======================// if(dialogid == 2794) { TogglePlayerControllableEx(playerid, 1); if(!response) { SendClientMessage(playerid, COLOR_WHITE, "* Voce saiu da lista de eventos !"); return 1; } foreach(Player, i) { switch(listitem) { case 0: { GetPlayerPos(playerid, goldx,goldy,goldz); gold = CreatePickup(19059,23,goldx,goldy,goldz); new location[MAX_ZONE_NAME]; GetPlayer2DZone(playerid, location, MAX_ZONE_NAME); for(new e = 0; e < MAX_PLAYERS; e++) { if(IsPlayerConnected(e) == 1) { Eventogold[e] = 1; format(gstring, sizeof(gstring), "~w~S~b~pawn ~w~S~b~urpresa !"); GameTextForPlayer(e, gstring, 5000, 1); } } if(Eventogold[playerid] == 1) { format(string, sizeof string, "[{FFFFFF}Spawn Surpresa{1E90FF}] Foi derrubado uma {FFFFFF}Caixa Surpresa Reveillon{1E90FF} no %s.",location); SendClientMessageToAll(0x1E90FFFF, string); return 1; } } case 1: { GetPlayerPos(playerid, bpfx,bpfy,bpfz); bpf = CreatePickup(19058,23,bpfx,bpfy,bpfz); new location[MAX_ZONE_NAME]; GetPlayer2DZone(playerid, location, MAX_ZONE_NAME); GameTextForPlayer(i, string, 5000, 1); for(new s = 0; s < MAX_PLAYERS; s++) { if(IsPlayerConnected(s) == 1) { Eventobpf[s] = 1; format(gstring, sizeof(gstring), "~w~S~b~pawn ~w~S~b~urpresa !"); GameTextForPlayer(s, gstring, 5000, 1); } } if(Eventobpf[playerid] == 1) { format(string, sizeof string, "[{FFFFFF}Spawn Surpresa{1E90FF}] Foi derrubado uma {FFFFFF}Caixa Surpresa Gigante{1E90FF} no %s.",location); SendClientMessageToAll(0x1E90FFFF, string); return 1; } } case 2: { GetPlayerPos(playerid, maletax,maletay,maletaz); maleta = CreatePickup(1210,23,maletax,maletay,maletaz); new location[MAX_ZONE_NAME]; GetPlayer2DZone(playerid, location, MAX_ZONE_NAME); for(new h = 0; h < MAX_PLAYERS; h++) { if(IsPlayerConnected(h) == 1) { Eventomaleta[h] = 1; format(gstring, sizeof(gstring), "~w~S~b~pawn ~w~S~b~urpresa !"); GameTextForPlayer(h, gstring, 5000, 1); } } if(Eventomaleta[playerid] == 1) { format(string, sizeof string, "[{FFFFFF}Spawn Surpresa{1E90FF}] Foi derrubado uma {47EE0B}Maleta{1E90FF} no %s.",location); SendClientMessageToAll(0x1E90FFFF, string); return 1; } } } } } //=======================[Evento Cops vs Zumbi]=======================// if(dialogid == 50) { if(response == 0) { SendClientMessage(playerid, 0xF78181AA, "Voce Optou por nao ir ao Evento!"); Trazervs[playerid] = 0; PlayerInfo[playerid][pEventoa] = 0; PlayerInfo[playerid][pEvento] = 0; NaPorraDoEvento[playerid] = false; return 1; } if(response == 1) { if(PlayerInfo[playerid][pJailed] != 0) { SendClientMessage(playerid,0xc640ddAA,"Voce nao pode ir a este evento estando preso ou procurado pela policia !"); Trazervs[playerid] = 0; NaPorraDoEvento[playerid] = false; return 0; } SendClientMessage(playerid, 0xF78181AA, "Voce optou por ir ao evento, escolha o seu time !"); ShowPlayerDialog(playerid, 52, DIALOG_STYLE_MSGBOX, "Evento Cop x Zombies", "Qual Equipe voce Deseja Entrar?", "Cops", "Zumbi"); return 1; } SetTimerEx("TempoEvento", 8000, 0, "i", playerid); } //=======================[Evento Chuck Norris]=======================// if(dialogid == 51) { if(response == 0) { PlayerInfo[playerid][pTrazerChuck] = 0; NaPorraDoEvento[playerid] = false; SendClientMessage(playerid, 0xF78181AA, "Voce Optou por nao ir ao Evento!"); return 1; } if(response == 1) { if(PlayerInfo[playerid][pJailed] != 0) { Trazervs[playerid] = 0; PlayerInfo[playerid][pTrazerChuck] = 0; NaPorraDoEvento[playerid] = false; SendClientMessage(playerid,0xc640ddAA,"Voce nao pode ir a este evento estando preso ou procurado pela policia !"); return 1; } new rand; PlayerInfo[playerid][pTrazerChuck] = 1; PrimeiroChuck[playerid] = 1; SendClientMessage(playerid, 0xF78181AA, "Voce foi teletransportado pelo ADMIN, para participar do evento de paint ball!"); SendClientMessage(playerid, 0xF78181AA, "O evento foi iniciado, tempo de duracao = 10 minutos, para sair, digite: /sairevento !"); NaPorraDoEvento[playerid] = true; rand = random(sizeof(gChuckArena)); if(PrimeiroChuck[playerid] == 1 && LimiteChuck == 0) { format(string, sizeof(string), "Jogador %s[%d] comecou o evento de paintball como Chuck Norris, quem matar ele se tornara o novo Chuck Norris !", PlayerName(playerid), playerid); SendClientMessageToAll(0xCD0400AA, string); GivePlayerWeapon(playerid, 38, 9999999); GivePlayerWeapon(playerid, 27, 9999999); GivePlayerWeapon(playerid, 30, 9999999); SetPlayerSkin(playerid,264); SetPlayerArmour(playerid, 200); SetPlayerHealth(playerid, 100); SetPlayerColor(playerid,0x00FFFFFF); LimiteChuck = 1; PrimeiroChuck[playerid] = 1; NaPorraDoEvento[playerid] = true; rand = random(sizeof(gChuckArena)); SetPlayerPos(playerid, gChuckArena[rand][0], gChuckArena[rand][1], gChuckArena[rand][2]); SetPlayerFacingAngle(playerid, gChuckArena[rand][3]); SetPlayerVirtualWorld(playerid,0); SetPlayerInterior(playerid,10); PlayerInfo[playerid][pInt] = 10; PlayerInfo[playerid][pTrazerChuck] = 0; NaPorraDoEvento[playerid] = true; return 1; } if(PlayerInfo[playerid][pTrazerChuck] == 1) { PrimeiroChuck[playerid] = 0; SpawnPlayer(playerid); } } SetTimerEx("ZerarEventoChuck", 600000, 0, "i", playerid); SetTimerEx("TempoEvento", 8000, 0, "i", playerid); } //=======================[Evento Cops vs Zumbi = Zumbi]=======================// if(dialogid == 52) { if(response == 0) { if(PlayerInfo[playerid][pJailed] != 0) { SendClientMessage(playerid,0x9fa4e8F6,"Voce esta preso e nao pode ir no Evento de Zumbi!"); Trazervs[playerid] = 0; NaPorraDoEvento[playerid] = false; vszumbi = 0; vscops = 0; return 1; } if(vszumbi == 1) { ShowPlayerDialog(playerid, 52, DIALOG_STYLE_MSGBOX, "Time Com Mais Jogadores !", "Escolha Outro Time ou Tente Novamente !", "Cops", "Zumbi"); return 1; } new tmp[128]; new plo, worldy; plo = ReturnUser(tmp); worldy = GetPlayerVirtualWorld(playerid); SetPlayerVirtualWorld(plo,worldy); ResetPlayerWeapons(playerid); GivePlayerWeapon(playerid, 29, 9999999999); GivePlayerWeapon(playerid, 25, 9999999999); SetPlayerArmour(playerid, 100); SetPlayerHealth(playerid, 100); SetPlayerSkin(playerid, 162); if(EventoHotel[playerid] == 1) { SetPlayerInterior(playerid,15); SetPlayerPos(playerid,2186.3145,-1194.2153,1031.7969); SetPlayerFacingAngle(playerid,226.0); GivePlayerMoneyEx(playerid, 500); SendClientMessage(playerid, 0x33FF00FF, "O Evento no Hotel comecou, voce e do time dos Cops, para sair digite: /sairevento !"); SendClientMessage(playerid, 0x33FF00FF, "Voce ganhou R$500 por participar do evento !"); } if(EventoGalpao[playerid] == 1) { SetPlayerInterior(playerid,0); SetPlayerPos(playerid,2546.1392,2839.4470,10.8203); SetPlayerFacingAngle(playerid,226.0); GivePlayerMoneyEx(playerid, 500); SendClientMessage(playerid, 0x33FF00FF, "O Evento no Galpao comecou, voce e do time dos Cops, para sair digite: /sairevento !"); SendClientMessage(playerid, 0x33FF00FF, "Voce ganhou R$500 por participar do evento !"); } if(EventoAviao[playerid] == 1) { SetPlayerInterior(playerid,9); SetPlayerPos(playerid,319.7845,976.6153,1960.8468); SetPlayerFacingAngle(playerid,226.0); GivePlayerMoneyEx(playerid, 500); SendClientMessage(playerid, 0x33FF00FF, "O Evento no Aviao comecou, voce e do time dos Cops, para sair digite: /sairevento !"); SendClientMessage(playerid, 0x33FF00FF, "Voce ganhou R$500 por participar do evento !"); } SetPlayerColor(playerid,0xF78181AA); Trazervs[playerid] = 1; vszumbi = 1; vscops = 0; PlayerInfo[playerid][pEventoa] = 1; NaPorraDoEvento[playerid] = true; return 1; } //=======================[Evento Cops vs Zumbi = Cops =======================// if(response == 1) { if(PlayerInfo[playerid][pLevel] < 2) { SendClientMessage(playerid, 0xc640ddAA, "Voce precisa ser level 2+ para ir a este evento !"); NaPorraDoEvento[playerid] = false; vszumbi = 0; vscops = 0; return 1; } if(vscops == 1) { ShowPlayerDialog(playerid, 52, DIALOG_STYLE_MSGBOX, "Time Com Mais Jogadores !", "Escolha Outro Time ou Tente Novamente !", "Cops", "Zumbi"); return 1; } new tmp[128]; new plo, worldy; plo = ReturnUser(tmp); worldy = GetPlayerVirtualWorld(playerid); SetPlayerVirtualWorld(plo,worldy); ResetPlayerWeapons(playerid); GivePlayerWeapon(playerid, 31, 9999999999); GivePlayerWeapon(playerid, 29, 9999999999); GivePlayerWeapon(playerid, 25, 9999999999); SetPlayerArmour(playerid, 100); SetPlayerHealth(playerid, 100); SetPlayerSkin(playerid, 284); if(EventoHotel[playerid] == 1) { SetPlayerInterior(playerid,15); SetPlayerPos(playerid,2247.3936,-1181.8740,1031.7969); SetPlayerFacingAngle(playerid,226.0); GivePlayerMoneyEx(playerid, 500); SendClientMessage(playerid, 0x33FF00FF, "O Evento no Hotel comecou, voce e do time dos Cops, para sair digite: /sairevento !"); SendClientMessage(playerid, 0x33FF00FF, "Voce ganhou R$500 por participar do evento !"); } if(EventoGalpao[playerid] == 1) { SetPlayerInterior(playerid,0); SetPlayerPos(playerid,2625.5403,2841.3262,10.8203); SetPlayerFacingAngle(playerid,226.0); GivePlayerMoneyEx(playerid, 500); SendClientMessage(playerid, 0x33FF00FF, "O Evento no Galpao comecou, voce e do time dos Cops, para sair digite: /sairevento !"); SendClientMessage(playerid, 0x33FF00FF, "Voce ganhou R$500 por participar do evento !"); } if(EventoAviao[playerid] == 1) { SetPlayerInterior(playerid,9); SetPlayerPos(playerid,319.6033,1012.6249,1952.5370); SetPlayerFacingAngle(playerid,226.0); GivePlayerMoneyEx(playerid, 500); SendClientMessage(playerid, 0x33FF00FF, "O Evento no Aviao comecou, voce e do time dos zombies, para sair digite: /sairevento !"); SendClientMessage(playerid, 0x33FF00FF, "Voce ganhou R$500 por participar do evento !"); } SetPlayerColor(playerid,0x337EFFAA); vszumbi = 0; vscops = 1; NaPorraDoEvento[playerid] = true; return 1; } } if(dialogid == 3499){ if(response){ if(strlen(inputtext) > 250)return SendClientMessage(playerid, COLOR_GREY, " O link que voce digitou esta muito grande !"); if(strfind(inputtext,"%", true) != -1) return SendClientMessage(playerid, COR_LIGHTRED, "Voce nao pode usar caracteres especiais, e alguns nomes restritos."); if(isPertoSound(playerid))return SendClientMessage(playerid, COLOR_GREY, " Ja existe um radio tocando muito proximo a este local !"); if(strfind(inputtext,"www.youtube.com",true) != -1){ new localURL[128]; strmid(localURL,inputtext,strfind(inputtext, "v=")+2,strfind(inputtext, "v=")+19); format(inputtext, 128, "http://mwrserver.com/youtube.php?videoid=%s",localURL); } createSound(playerid, inputtext); } return 1; } if(dialogid == 5416)// Radio CNF { if(!response) return SendClientMessage(playerid,COLOR_GRAD1,"Cancelado com sucesso!"); if(listitem == 0) { PlayAudioStreamForPlayer(playerid, "http://som.brasilplaygames.com.br/som/stayhigh.mp3"); SendClientMessage(playerid,COLOR_WHITE,"Ouvindo: {FFFF00}Radio - CNF!"); SendClientMessage(playerid, COLOR_RED, "OBS: Nao esta ouvindo as musicas? aumente o volume da radio do seu GTA no menu opcões de audio."); return 1; } else if(listitem == 1) { StopAudioStreamForPlayer(playerid); SendClientMessage(playerid,COLOR_WHITE,"| INFO-CNF | Você desligou a {FFFF00}Radio - CNF!"); return 1; } return 1; } if(dialogid == 5429){ if(response){ ForT:an(playerid, inputtext); } return 1; } if(dialogid == 5407) { if(response) { new admStr[20], admStr2[20]; format(admStr, 20, "Vaga%d", listitem+1); format(admStr2, 20, "Nivel%d", listitem+1); new id = GetPlayerID(DOF2_GetString(Pasta_AdminsList, admStr)); if(IsPlayerConnected(id)) { format(string, sizeof(string), "Voce foi retirado de admin, pelo admin %s", NomePlayer(playerid)); SendClientMessage(id, COLOR_LIGHTBLUE, string); PlayerInfo[id][pAdmin] = 0; admtrampando[id] = 0; Ocupado[id] = 0; SetPlayerToTeamColor(id); SetPlayerHealth(id, 100); } format(string, sizeof string, "AdmCmd: O admin %s limpou a vaga de Admin, de %s Nivel [%d].", NomePlayer(playerid), DOF2_GetString(Pasta_AdminsList, admStr), DOF2_GetInt(Pasta_AdminsList, admStr2)); ABroadCast(0xff6347FF, string, 1); CNFLogs("limparadmin", string); RemoverAdmin(DOF2_GetString(Pasta_AdminsList, admStr)); RemoveVagaAdminId(listitem+1); ForT:limparadmin(playerid); } return 1; } if(dialogid == 5408) { if(response) { new admStr[20], admStr2[20]; format(admStr, 20, "Vaga%d", listitem+1); format(admStr2, 20, "Nivel%d", listitem+1); new id = GetPlayerID(DOF2_GetString(Pasta_HelpersList, admStr)); if(IsPlayerConnected(id)) { format(string, sizeof(string), "Voce foi retirado de Helper, pelo admin %s", NomePlayer(playerid)); SendClientMessage(id, COLOR_LIGHTBLUE, string); PlayerInfo[id][pHelper] = 0; helpertrampando[id] = 0; SetPlayerToTeamColor(id); SetPlayerHealth(id, 100); } format(string, sizeof string, "AdmCmd: O admin %s limpou a vaga de Helper, de %s Nivel [%d].", NomePlayer(playerid), DOF2_GetString(Pasta_HelpersList, admStr), DOF2_GetInt(Pasta_HelpersList, admStr2)); ABroadCast(0xff6347FF, string, 1); CNFLogs("limparhelper", string); RemoverHelper(DOF2_GetString(Pasta_HelpersList, admStr)); RemoveVagaHelperId(listitem+1); ForT:limparhelper(playerid); } return 1; } if(dialogid == 5009) { if(!response)return 1; switch(listitem) { case 0: { ShowPlayerDialog(playerid, 5008, DIALOG_STYLE_MSGBOX, "Rank: Nivel", getrank("nivel", "Niveis"), "Voltar", ""); } case 1: { ShowPlayerDialog(playerid, 5008, DIALOG_STYLE_MSGBOX, "Rank: Horas Jogadas", getrank("horasjogadas", "Horas"), "Voltar", ""); } case 2: { ShowPlayerDialog(playerid, 5008, DIALOG_STYLE_MSGBOX, "Rank: Kills", getrank("kills", "Kills"), "Voltar", ""); } case 3: { ShowPlayerDialog(playerid, 5008, DIALOG_STYLE_MSGBOX, "Rank: Vezes que morreu", getrank("mortes", "Morreu"), "Voltar", ""); } case 4: { ShowPlayerDialog(playerid, 5008, DIALOG_STYLE_MSGBOX, "Rank: Dinheiro", getrank("banco", "Grana"), "Voltar", ""); } case 5: { ShowPlayerDialog(playerid, 5008, DIALOG_STYLE_MSGBOX, "Rank: Crimes Cometidos", getrank("crimes", "Crimes"), "Voltar", ""); } case 6: { ShowPlayerDialog(playerid, 5008, DIALOG_STYLE_MSGBOX, "Rank: Materiais", getrank("materiais", "Materiais"), "Voltar", ""); } case 7: { ShowPlayerDialog(playerid, 5008, DIALOG_STYLE_MSGBOX, "Rank: Maconha", getrank("maconha", "Gramas"), "Voltar", ""); } case 8: { ShowPlayerDialog(playerid, 5008, DIALOG_STYLE_MSGBOX, "Rank: Cocaina", getrank("cocaina", "Carreirinhas"), "Voltar", ""); } case 9: { ShowPlayerDialog(playerid, 5008, DIALOG_STYLE_MSGBOX, "Rank: Crack", getrank("crack", "Pedras"), "Voltar", ""); } case 10: { ShowPlayerDialog(playerid, 5008, DIALOG_STYLE_MSGBOX, "Rank: Contratos Cumpridos", getrank("contratos", "Contratos"), "Voltar", ""); } case 11: { ShowPlayerDialog(playerid, 5008, DIALOG_STYLE_MSGBOX, "Rank: Cash", getrank("cash", "Cash"), "Voltar", ""); } } return 1; } if(dialogid == 5410) { if(response) { new admStr[20], admStr2[20]; format(admStr, 20, "Vaga%d", listitem+1); format(admStr2, 20, "Nivel%d", listitem+1); new id = GetPlayerID(DOF2_GetString(Pasta_AdminsListTemp, admStr)); if(IsPlayerConnected(id)) { format(string, sizeof(string), "Voce foi retirado de admin Temporario, pelo admin %s", NomePlayer(playerid)); SendClientMessage(id, COLOR_LIGHTBLUE, string); PlayerInfo[id][pAdminTemp] = 0; admtrampando[id] = 0; Ocupado[id] = 0; SetPlayerToTeamColor(id); SetPlayerHealth(id, 100); } format(string, sizeof string, "AdmCmd: O admin %s limpou a vaga de Admin Temporario, de %s Nivel [%d].", NomePlayer(playerid), DOF2_GetString(Pasta_AdminsListTemp, admStr), DOF2_GetInt(Pasta_AdminsListTemp, admStr2)); ABroadCast(0xff6347FF, string, 1); CNFLogs("limparadmintemp", string); RemoverAdminTemp(DOF2_GetString(Pasta_AdminsListTemp, admStr)); RemoveVagaAdminTempId(listitem+1); ForT:limparadmintemp(playerid); } return 1; } if(dialogid == 5008) { return ForT:rank(playerid); } if(dialogid == DIALOG_LIBERARMV) { if(response) { switch (listitem) { case 0: { new Mensagem[302]; strcat(Mensagem, "{FFFFFF}* Digite abaixo o codigo do seu cupom premiado:\n\n"); strcat(Mensagem, "{FF6347}OBS:{AFAFAF} Cupons que ja foram resgatados na sua conta, nao serao aceitos.\n"); ShowPlayerDialog(playerid, DIALOG_LIBERARMV2, DIALOG_STYLE_INPUT, "Ativacao do seu Cupom", Mensagem, "Confirmar", "Voltar"); return 1; } case 1: { new Mensagem[302]; strcat(Mensagem, "{FFFFFF}* Digite abaixo o codigo do seu cupom premiado:\n\n"); strcat(Mensagem, "{FF6347}OBS:{AFAFAF} Cupons que ja foram resgatados na sua conta, nao serao aceitos.\n"); ShowPlayerDialog(playerid, DIALOG_LIBERARMV2, DIALOG_STYLE_INPUT, "Ativacao do seu Cupom", Mensagem, "Confirmar", "Voltar"); return 1; } } } return 1; } if(dialogid == DIALOG_LIBERARMV2) { if(response == 1) { strmid(MVInfo2[Codigo], inputtext, 0, strlen(inputtext), 255); if (PlayerInfo[playerid][pAdmin] == 1342) { new string3[64]; format(string3, sizeof(string3), "Codigos/%s.ini", MVInfo2[Codigo]); if(DOF2_FileExists(string3)) { SendClientMessage(playerid,COLOR_GRAD1,"Este codigo ja esta liberado!"); return 1; } else { new Mensagem[200]; format(Mensagem, sizeof(Mensagem), "** Voce esta preste a liberar o codigo: %s", MVInfo2[Codigo]); SendClientMessage(playerid, -1, Mensagem); format(Mensagem, sizeof(Mensagem), "{FFFFFF}Voce esta prestes a liberar o codigo:\n{00FFFF}%s\n{FFFFFF}Agora, Digite a quantidade Paga pelo Jogador abaixo!", MVInfo2[Codigo]); ShowPlayerDialog(playerid,4655,DIALOG_STYLE_INPUT,"Liberacao VIP",Mensagem,"Confirmar","Cancelar"); } } else { SendClientMessage(playerid, COLOR_GRAD1, "Voce nao esta autorizado a usar este comando!"); } } return 1; } if(dialogid == DIALOG_LIBERARMV2) { if (response) { strmid(MVInfo2[Codigo], inputtext, 0, strlen(inputtext), 255); if (PlayerInfo[playerid][pAdmin] == 1342) { new string3[64]; format(string3, sizeof(string3), "Codigos/%s.ini", MVInfo2[Codigo]); if(DOF2_FileExists(string3)) { SendClientMessage(playerid,COLOR_GRAD1,"Este codigo ja esta liberado!"); return 1; } else { new Mensagem[200]; format(Mensagem, sizeof(Mensagem), "** Voce esta preste a liberar o codigo: %s", MVInfo2[Codigo]); SendClientMessage(playerid, -1, Mensagem); format(Mensagem, sizeof(Mensagem), "{FFFFFF}Voce esta prestes a liberar o codigo:\n{00FFFF}%s\n{FFFFFF}Agora, Digite a quantidade Paga pelo Jogador abaixo!", MVInfo2[Codigo]); ShowPlayerDialog(playerid,4655,DIALOG_STYLE_INPUT,"Liberacao VIP",Mensagem,"Confirmar","Cancelar"); } } else { SendClientMessage(playerid, COLOR_GRAD1, "Voce nao esta autorizado a usar este comando!"); } } return 1; } if(dialogid == DIALOG_LIBERARMV3) { if (response) { strmid(MVInfo2[Codigo], inputtext, 0, strlen(inputtext), 255); if (PlayerInfo[playerid][pAdmin] == 1342) { new string3[64]; format(string3, sizeof(string3), "Codigos2/%s.ini", MVInfo2[Codigo]); if(DOF2_FileExists(string3)) { SendClientMessage(playerid,COLOR_GRAD1,"Este codigo ja esta liberado!"); return 1; } else { new Mensagem[200]; format(Mensagem, sizeof(Mensagem), "** Voce esta preste a liberar o codigo: %s", MVInfo2[Codigo]); SendClientMessage(playerid, -1, Mensagem); format(Mensagem, sizeof(Mensagem), "{FFFFFF}Voce esta prestes a liberar o codigo:\n{00FFFF}%s\n{FFFFFF}Agora, Digite a quantidade Paga pelo Jogador abaixo!", MVInfo2[Codigo]); ShowPlayerDialog(playerid,4654,DIALOG_STYLE_INPUT,"Liberacao Socio",Mensagem,"Confirmar","Cancelar"); } } else { SendClientMessage(playerid, COLOR_GRAD1, "Voce nao esta autorizado a usar este comando!"); } } return 1; } if(dialogid == 434) { if(response) { if(listitem == 0)//Contratos { OnPlayerText(playerid,"Contratos"); ShowPlayerDialog(playerid,434,DIALOG_STYLE_LIST,"Assassinos - Laptop.","Contratos\nPegar Contrato\nMembros\nInfo Contrato\nSair","Confirmar","Desligar"); return 1; } if(listitem == 1)//Contratos { OnPlayerText(playerid,"pegarcontrato"); ShowPlayerDialog(playerid,434,DIALOG_STYLE_LIST,"Assassinos - Laptop.","Contratos\nPegar Contrato\nMembros\nInfo Contrato\nSair","Confirmar","Desligar"); return 1; } if(listitem == 2)//Cargos { OnPlayerText(playerid,"membros"); ShowPlayerDialog(playerid,434,DIALOG_STYLE_LIST,"Assassinos - Laptop.","Contratos\nPegar Contrato\nMembros\nInfo Contrato\nSair","Confirmar","Desligar"); return 1; } if(listitem == 3)//Cargos { OnPlayerText(playerid,"infocontratos"); } if(listitem == 4)//Cargos { OnPlayerText(playerid,"sair"); } } else { SendClientMessage(playerid,COLOR_GRAD1,"Você desligou o laptop."); ConnectedToPC[playerid] = 0; return 1; } } if(dialogid == 439) { if(response) { if(listitem == 0) { OnPlayerText(playerid,"pedido 1"); } if(listitem == 1) { OnPlayerText(playerid,"pedido 2"); } if(listitem == 2) { OnPlayerText(playerid,"pedido 3"); } if(listitem == 3) { OnPlayerText(playerid,"pedido 4"); } if(listitem == 4) { OnPlayerText(playerid,"pedido 5"); } if(listitem == 5) { OnPlayerText(playerid,"pedido 6"); } if(listitem == 6) { OnPlayerText(playerid,"pedido 7"); } if(listitem == 7) { OnPlayerText(playerid,"pedido 8"); } } } if(dialogid == 4655) { if (response) { new quantti = strval(inputtext); if (PlayerInfo[playerid][pAdmin] == 1342) { new string3[64]; format(string3, sizeof(string3), "Codigos/%s.ini", MVInfo2[Codigo]); if(DOF2_FileExists(string3)) { SendClientMessage(playerid,COLOR_GRAD1,"Este codigo ja esta liberado!"); return 1; } else { new Mensagem[300]; DOF2_CreateFile(string3); DOF2_SetInt(string3,"Quantidade",quantti); format(Mensagem, sizeof(Mensagem), "** Parabens, Voce LIBEROU o codigo: %s, Quantidade: %d!", MVInfo2[Codigo],quantti); SendClientMessage(playerid, -1, Mensagem); format(Mensagem, sizeof(Mensagem), "{FFFFFF}Voce liberou o Codigo:\n{00FFFF}%s\n{FFFFFF}Agora, Voce tem a opcao de decidir mandar um e-mail de aviso ao Player\nCaso queira mandar um e-mail, Digite abaixo e clique 'Confirmar',\nCaso contrario, clique em 'Finalizar'!", MVInfo2[Codigo]); ShowPlayerDialog(playerid,DIALOG_LIBERARMV5,DIALOG_STYLE_INPUT,"E-Mail",Mensagem,"Confirmar","Finalizar"); } } else { SendClientMessage(playerid, COLOR_GRAD1, "Voce nao esta autorizado a usar este comando!"); } } return 1; } if(dialogid == 4654) { if (response) { new quantti = strval(inputtext); if (PlayerInfo[playerid][pAdmin] == 1342) { new string3[64]; format(string3, sizeof(string3), "Codigos2/%s.ini", MVInfo2[Codigo]); if(DOF2_FileExists(string3)) { SendClientMessage(playerid,COLOR_GRAD1,"Este codigo ja esta liberado!"); return 1; } else { new Mensagem[300]; DOF2_CreateFile(string3); DOF2_SetInt(string3,"Quantidade",quantti); format(Mensagem, sizeof(Mensagem), "** Parabens, Voce LIBEROU o codigo: %s, Quantidade: %d!", MVInfo2[Codigo],quantti); SendClientMessage(playerid, -1, Mensagem); format(Mensagem, sizeof(Mensagem), "{FFFFFF}Voce liberou o Codigo:\n{00FFFF}%s\n{FFFFFF}Agora, Voce tem a opcao de decidir mandar um e-mail de aviso ao Player\nCaso queira mandar um e-mail, Digite abaixo e clique 'Confirmar',\nCaso contrario, clique em 'Finalizar'!", MVInfo2[Codigo]); ShowPlayerDialog(playerid,DIALOG_LIBERARMV5,DIALOG_STYLE_INPUT,"E-Mail",Mensagem,"Confirmar","Finalizar"); } } else { SendClientMessage(playerid, COLOR_GRAD1, "Voce nao esta autorizado a usar este comando!"); } } return 1; } if(dialogid == 6602) { if(response) { format(string, sizeof string, "%d", listitem + 1); ForT:comprar(playerid, string); } return 1; } if(dialogid == DIALOG_SIREN && response) { switch(listitem) { case 0: { ShowPlayerDialog(playerid, DIALOG_SIREN2, DIALOG_STYLE_LIST, "{B4B5B7}» Escolha o estilo do seu veiculo", "{B4B5B7}» Infernus\n\ {B4B5B7}» Turismo\n\ {B4B5B7}» Elegy\n\ {B4B5B7}» Sultan\n\ {B4B5B7}» Jester\n\ {B4B5B7}» Flash\n\ {B4B5B7}» Uranus\n\ {B4B5B7}» Stratum\n\ {B4B5B7}» Nrg-500", "Instalar", "Sair"); return 1; } case 1: { new VID = GetPlayerVehicleID(playerid); if(hassiren[VID]) { DestroyDynamicObject(siren[VID]); hassiren[VID] = 0; siren[VID] = -1; SendClientMessage(playerid, COLOR_LIGHTRED, "Voce removeu a sirene com sucesso."); return 1; } } } } if(dialogid == DIALOG_SIREN2 && response) { new VID = GetPlayerVehicleID(playerid); new Float:sirenpos[3]; GetVehiclePos(VID, sirenpos[0], sirenpos[1], sirenpos[2]); switch(listitem) { case 0: { if(GetVehicleModel(VID) == 411) { if(hassiren[VID] == 1) { DestroyDynamicObject(siren[VID]); } SoundInRange(25800, 50.0, sirenpos[0], sirenpos[1], sirenpos[2]); hassiren[VID] = 1; // siren[VID] = CreateDynamicObject( 19419,0,0,0,0,0,0); // AttachDynamicObjectToVehicle( siren[VID], VID, 0.010000, -0.060000, 0.689999, 0.000000, 0.000000, 0.000000 ); // <1> SendClientMessage(playerid, COLOR_YELLOW2, "Sirene instalada com sucesso no: Infernus."); } else SendClientMessage(playerid, COLOR_GRAD1, "Este veiculo nao e um: Infernus."); } case 1: { if(GetVehicleModel(VID) == 451) { if(hassiren[VID] == 1) { DestroyDynamicObject(siren[VID]); } SoundInRange(25800, 50.0, sirenpos[0], sirenpos[1], sirenpos[2]); hassiren[VID] = 1; // siren[VID] = CreateDynamicObject( 19419,0,0,0,0,0,0); // AttachDynamicObjectToVehicle(siren[VID], VID, 0.000000, -0.519999, 0.556999, 0.000000, 0.000000, 0.000000); SendClientMessage(playerid, COLOR_YELLOW2, "Sirene instalada com sucesso no: Turismo."); } else SendClientMessage(playerid, COLOR_GRAD1, "Este veiculo nao e um: Turismo."); } case 2: { if(GetVehicleModel(VID) == 562) { if(hassiren[VID] == 1) { DestroyDynamicObject(siren[VID]); } SoundInRange(25800, 50.0, sirenpos[0], sirenpos[1], sirenpos[2]); hassiren[VID] = 1; // siren[VID] = CreateDynamicObject( 19419,0,0,0,0,0,0); // AttachDynamicObjectToVehicle(siren[VID], VID, 0.000000, -0.269999, 0.754999, 0.000000, 0.000000, 0.000000); SendClientMessage(playerid, COLOR_YELLOW2, "Sirene instalada com sucesso no: Elegy."); } else SendClientMessage(playerid, COLOR_GRAD1, "Este veiculo nao e um: Elegy."); } case 3: { if(GetVehicleModel(VID) == 560) { if(hassiren[VID] == 1) { DestroyDynamicObject(siren[VID]); } SoundInRange(25800, 50.0, sirenpos[0], sirenpos[1], sirenpos[2]); hassiren[VID] = 1; // siren[VID] = CreateDynamicObject( 19419,0,0,0,0,0,0); // AttachDynamicObjectToVehicle(siren[VID], VID, 0.000000, 0.000000, 0.829999, 0.000000, 0.000000, 0.000000); SendClientMessage(playerid, COLOR_YELLOW2, "Sirene instalada com sucesso no: Sultan."); } else SendClientMessage(playerid, COLOR_GRAD1, "Este veiculo nao e um: Sultan."); } case 4: { if(GetVehicleModel(VID) == 559) { if(hassiren[VID] == 1) { DestroyDynamicObject(siren[VID]); } SoundInRange(25800, 50.0, sirenpos[0], sirenpos[1], sirenpos[2]); hassiren[VID] = 1; // siren[VID] = CreateDynamicObject( 19419,0,0,0,0,0,0); // AttachDynamicObjectToVehicle(siren[VID], VID, 0.000000, -0.229999, 0.709999, 0.000000, 0.000000, 0.000000); SendClientMessage(playerid, COLOR_YELLOW2, "Sirene instalada com sucesso no: Jester."); } else SendClientMessage(playerid, COLOR_GRAD1, "Este veiculo nao e um: Jester."); } case 5: { if(GetVehicleModel(VID) == 565) { if(hassiren[VID] == 1) { DestroyDynamicObject(siren[VID]); } SoundInRange(25800, 50.0, sirenpos[0], sirenpos[1], sirenpos[2]); hassiren[VID] = 1; // siren[VID] = CreateDynamicObject( 19419,0,0,0,0,0,0); // AttachDynamicObjectToVehicle(siren[VID], VID, 0.000000, -0.179999, 0.679999, 0.000000, 0.000000, 0.000000); SendClientMessage(playerid, COLOR_YELLOW2, "Sirene instalada com sucesso no: Flash."); } else SendClientMessage(playerid, COLOR_GRAD1, "Este veiculo nao e um: Flash."); } case 6: { if(GetVehicleModel(VID) == 558) { if(hassiren[VID] == 1) { DestroyDynamicObject(siren[VID]); } SoundInRange(25800, 50.0, sirenpos[0], sirenpos[1], sirenpos[2]); hassiren[VID] = 1; // siren[VID] = CreateDynamicObject( 19419,0,0,0,0,0,0); // AttachDynamicObjectToVehicle(siren[VID], VID, 0.000000, -0.344999, 0.854999, 0.000000, 0.000000, 0.000000); SendClientMessage(playerid, COLOR_YELLOW2, "Sirene instalada com sucesso no: Uranus."); } else SendClientMessage(playerid, COLOR_GRAD1, "Este veiculo nao e um: Uranus."); } case 7: { if(GetVehicleModel(VID) == 561) { if(hassiren[VID] == 1) { DestroyDynamicObject(siren[VID]); } SoundInRange(25800, 50.0, sirenpos[0], sirenpos[1], sirenpos[2]); hassiren[VID] = 1; // siren[VID] = CreateDynamicObject( 19419,0,0,0,0,0,0); // AttachDynamicObjectToVehicle(siren[VID], VID, 0.000000, -0.024999, 0.804999, 0.000000, 0.000000, 0.000000); SendClientMessage(playerid, COLOR_YELLOW2, "Sirene instalada com sucesso no: Stratum."); } else SendClientMessage(playerid, COLOR_GRAD1, "Este veiculo nao e um: Stratum."); } case 8: { if(GetVehicleModel(VID) == 522) { if(hassiren[VID] == 1) { DestroyDynamicObject(siren[VID]); } SoundInRange(25800, 50.0, sirenpos[0], sirenpos[1], sirenpos[2]); hassiren[VID] = 1; // siren[VID] = CreateDynamicObject( 18646,0,0,0,0,0,0); // AttachDynamicObjectToVehicle(siren[VID], VID, 0.000000,-0.974999,0.654999,0.000000,0.000000,0.000000); SendClientMessage(playerid, COLOR_YELLOW2, "Sirene instalada com sucesso na: Nrg-500."); } else SendClientMessage(playerid, COLOR_GRAD1, "Este veiculo nao e uma: Nrg-500."); } } } if(dialogid == 4708) { if(!response)return 1; switch(listitem) { case 0: { if(gettime() < GetPVarInt(playerid, #VarFlood13)) { format(string, sizeof string, "Voce So pode equipar Novamente daqui a %s.", ConvertTime(GetPVarInt(playerid, #VarFlood13)-gettime())); SendClientMessage(playerid, COLOR_GRAD1, string); return 1; } SetPVarInt(playerid, #VarFlood13, gettime()+1200); } case 1: { if(gettime() < GetPVarInt(playerid, #VarFlood14)) { format(string, sizeof string, "Voce So pode pegar Materiais Novamente daqui a %s.", ConvertTime(GetPVarInt(playerid, #VarFlood14)-gettime())); SendClientMessage(playerid, COLOR_GRAD1, string); return 1; } SetPVarInt(playerid, #VarFlood14, gettime()+60); ForT:obtermateriais(playerid); } } return 1; } //Aceitar Lider if(dialogid == 5120) { if(response) //Acitar { SendClientMessage(playerid, COLOR_GRAD1, "{ABDEAC}Parabens voce aceito o convite e se tornou o novo lider da organizacao."); } if(!response) //Nao Aceitar { ForT:contaslider(playerid, #); } return 1; } if(dialogid == 5414)// som Radio { if(!response) return SendClientMessage(playerid,COLOR_GRAD1,"Cancelado com sucesso!"); else if(listitem == 0) { new localURL[256]; format(localURL, 256, "http://live.hunter.fm/pop_high"); createSound(playerid, localURL); SendClientMessage(playerid,COLOR_GRAD1,"Ouvindo: {FFFF00}Radio Pop"); SendClientMessage(playerid, COLOR_GRAD1, "OBS: Nao esta ouvindo as musicas? aumente o volume da radio do seu GTA no menu opcões de audio."); } else if(listitem == 1) { createSound(playerid, "http://live.hunter.fm/sertanejo_high"); SendClientMessage(playerid,COLOR_GRAD1,"Ouvindo: {FFFF00}Radio Sertanejo"); SendClientMessage(playerid, COLOR_GRAD1, "OBS: Nao esta ouvindo as musicas? aumente o volume da radio do seu GTA no menu opcões de audio."); } else if(listitem == 2) { createSound(playerid, "http://live.hunter.fm/rock_high"); SendClientMessage(playerid,COLOR_GRAD1,"Ouvindo: {FFFF00}Radio Rock"); SendClientMessage(playerid, COLOR_GRAD1, "OBS: Nao esta ouvindo as musicas? aumente o volume da radio do seu GTA no menu opcões de audio."); } else if(listitem == 3) { StopAudioStreamForPlayer(playerid); createSound(playerid, "http://live.hunter.fm/pop2k_high"); SendClientMessage(playerid,COLOR_GRAD1,"Ouvindo: {FFFF00}Radio POP2K"); SendClientMessage(playerid, COLOR_GRAD1, "OBS: Nao esta ouvindo as musicas? aumente o volume da radio do seu GTA no menu opcões de audio."); } else if(listitem == 4) { createSound(playerid, "http://live.hunter.fm/lofi_high"); SendClientMessage(playerid,COLOR_GRAD1,"Ouvindo: {FFFF00}Radio LO-FI"); SendClientMessage(playerid, COLOR_GRAD1, "OBS: Nao esta ouvindo as musicas? aumente o volume da radio do seu GTA no menu opcões de audio."); } else if(listitem == 5) { createSound(playerid, "http://live.hunter.fm/tropical_high"); SendClientMessage(playerid,COLOR_GRAD1,"Ouvindo: {FFFF00}Radio Tropical"); SendClientMessage(playerid, COLOR_GRAD1, "OBS: Nao esta ouvindo as musicas? aumente o volume da radio do seu GTA no menu opcões de audio."); } else if(listitem == 6) { createSound(playerid, "http://live.hunter.fm/smash_high"); SendClientMessage(playerid,COLOR_GRAD1,"Ouvindo: {FFFF00}Radio SMASH!"); SendClientMessage(playerid, COLOR_GRAD1, "OBS: Nao esta ouvindo as musicas? aumente o volume da radio do seu GTA no menu opcões de audio."); } else if(listitem == 7) { createSound(playerid, "http://live.hunterfm.com/live"); SendClientMessage(playerid,COLOR_GRAD1,"Ouvindo: {FFFF00}Radio: Hunter FM!"); SendClientMessage(playerid, COLOR_GRAD1, "OBS: Nao esta ouvindo as musicas? aumente o volume da radio do seu GTA no menu opcões de audio."); } else if(listitem == 8) { createSound(playerid, "https://dl.dropboxusercontent.com/s/xjakgyv7wmf80bv/FUNK.mp3?dl=0");//http://51.161.13.49:8326/stream SendClientMessage(playerid,COLOR_GRAD1,"Ouvindo: {FFFF00}Radio: Funk!"); SendClientMessage(playerid, COLOR_GRAD1, "OBS: Nao esta ouvindo as musicas? aumente o volume da radio do seu GTA no menu opcões de audio."); } //------------------------------------------ else if(listitem == 9) { createSound(playerid, "https://dl.dropboxusercontent.com/s/hyouuofllrw63si/RAVE%20DOS%20FLUXO.mp3?dl=0"); SendClientMessage(playerid,COLOR_GRAD1,"Ouvindo: {FFFF00}Radio: Rave!"); SendClientMessage(playerid, COLOR_GRAD1, "OBS: Nao esta ouvindo as musicas? aumente o volume da radio do seu GTA no menu opcões de audio."); } else if(listitem == 10) { createSound(playerid, "http://144.91.91.19:7972/;?type=http&nocache=9"); SendClientMessage(playerid,COLOR_GRAD1,"Ouvindo: {FFFF00}Radio: CNF EXCLUSIVA!"); SendClientMessage(playerid, COLOR_GRAD1, "OBS: Nao esta ouvindo as musicas? aumente o volume da radio do seu GTA no menu opcões de audio."); } else if(listitem == 11) { ShowPlayerDialog(playerid, 5457, DIALOG_STYLE_INPUT, "Digitar Link", "Colocar Link Da Musica, Pegue no site: mp3juice.cc", "Tocar", "Cancelar"); } else if(listitem == 12) { StopAudioStreamForPlayer(playerid); SendClientMessage(playerid,COLOR_GRAD1,"{FFFF00}Voce desligou o Som de sua JBL."); } return 1; } if(dialogid == 5457) { if(response && strlen(inputtext) > 0) { createSound(playerid, inputtext); SendClientMessage(playerid,COLOR_GRAD1,"Ouvindo: {FFFF00}Link Digitado!"); } } if(dialogid == 5454)// som Radio { if(!response) return SendClientMessage(playerid,COLOR_GRAD1,"Cancelado com sucesso!"); else if(listitem == 0) { StopAudioStreamForPlayer(playerid); PlayAudioStreamForPlayer(playerid,"http://live.hunter.fm/pop_high"); SendClientMessage(playerid,COLOR_GRAD1,"Ouvindo: {FFFF00}Radio Pop"); SendClientMessage(playerid, COLOR_GRAD1, "OBS: Nao esta ouvindo as musicas? aumente o volume da radio do seu GTA no menu opcões de audio."); } else if(listitem == 1) { StopAudioStreamForPlayer(playerid); PlayAudioStreamForPlayer(playerid,"http://live.hunter.fm/sertanejo_high"); SendClientMessage(playerid,COLOR_GRAD1,"Ouvindo: {FFFF00}Radio Sertanejo"); SendClientMessage(playerid, COLOR_GRAD1, "OBS: Nao esta ouvindo as musicas? aumente o volume da radio do seu GTA no menu opcões de audio."); } else if(listitem == 2) { StopAudioStreamForPlayer(playerid); PlayAudioStreamForPlayer(playerid,"http://live.hunter.fm/rock_high"); SendClientMessage(playerid,COLOR_GRAD1,"Ouvindo: {FFFF00}Radio Rock"); SendClientMessage(playerid, COLOR_GRAD1, "OBS: Nao esta ouvindo as musicas? aumente o volume da radio do seu GTA no menu opcões de audio."); } else if(listitem == 3) { StopAudioStreamForPlayer(playerid); PlayAudioStreamForPlayer(playerid,"http://live.hunter.fm/pop2k_high"); SendClientMessage(playerid,COLOR_GRAD1,"Ouvindo: {FFFF00}Radio POP2K"); SendClientMessage(playerid, COLOR_GRAD1, "OBS: Nao esta ouvindo as musicas? aumente o volume da radio do seu GTA no menu opcões de audio."); } else if(listitem == 4) { StopAudioStreamForPlayer(playerid); PlayAudioStreamForPlayer(playerid,"http://live.hunter.fm/lofi_high"); SendClientMessage(playerid,COLOR_GRAD1,"Ouvindo: {FFFF00}Radio LO-FI"); SendClientMessage(playerid, COLOR_GRAD1, "OBS: Nao esta ouvindo as musicas? aumente o volume da radio do seu GTA no menu opcões de audio."); } else if(listitem == 5) { StopAudioStreamForPlayer(playerid); PlayAudioStreamForPlayer(playerid,"http://live.hunter.fm/tropical_high"); SendClientMessage(playerid,COLOR_GRAD1,"Ouvindo: {FFFF00}Radio Tropical"); SendClientMessage(playerid, COLOR_GRAD1, "OBS: Nao esta ouvindo as musicas? aumente o volume da radio do seu GTA no menu opcões de audio."); } else if(listitem == 6) { StopAudioStreamForPlayer(playerid); PlayAudioStreamForPlayer(playerid,"http://live.hunter.fm/smash_high"); SendClientMessage(playerid,COLOR_GRAD1,"Ouvindo: {FFFF00}Radio SMASH!"); SendClientMessage(playerid, COLOR_GRAD1, "OBS: Nao esta ouvindo as musicas? aumente o volume da radio do seu GTA no menu opcões de audio."); } else if(listitem == 7) { StopAudioStreamForPlayer(playerid); PlayAudioStreamForPlayer(playerid,"http://live.hunter.fm/live"); SendClientMessage(playerid,COLOR_GRAD1,"Ouvindo: {FFFF00}Radio: Hunter FM!"); SendClientMessage(playerid, COLOR_GRAD1, "OBS: Nao esta ouvindo as musicas? aumente o volume da radio do seu GTA no menu opcões de audio."); } else if(listitem == 8) { StopAudioStreamForPlayer(playerid); PlayAudioStreamForPlayer(playerid,"http://51.161.13.49:8326/stream"); SendClientMessage(playerid,COLOR_GRAD1,"Ouvindo: {FFFF00}Radio: Funk!"); SendClientMessage(playerid, COLOR_GRAD1, "OBS: Nao esta ouvindo as musicas? aumente o volume da radio do seu GTA no menu opcões de audio."); } //------------------------------------------ else if(listitem == 9) { StopAudioStreamForPlayer(playerid); PlayAudioStreamForPlayer(playerid,"https://air.radiorecord.ru:805/rave_128"); SendClientMessage(playerid,COLOR_GRAD1,"Ouvindo: {FFFF00}Radio: Rave!"); SendClientMessage(playerid, COLOR_GRAD1, "OBS: Nao esta ouvindo as musicas? aumente o volume da radio do seu GTA no menu opcões de audio."); } else if(listitem == 10) { StopAudioStreamForPlayer(playerid); PlayAudioStreamForPlayer(playerid,"http://144.91.91.19:7972/;?type=http&nocache=9"); SendClientMessage(playerid,COLOR_GRAD1,"Ouvindo: {FFFF00}Radio: CNF EXCLUSIVA!"); SendClientMessage(playerid, COLOR_GRAD1, "OBS: Nao esta ouvindo as musicas? aumente o volume da radio do seu GTA no menu opcões de audio."); } else if(listitem == 11) { StopAudioStreamForPlayer(playerid); SendClientMessage(playerid,COLOR_GRAD1,"{FFFF00}Voce desligou o Som."); } return 1; } if(dialogid == 5874) { if(response) { new dorg; switch(listitem) { case 0:dorg = 1; case 1:dorg = 2; case 2:dorg = 3; case 3:dorg = 4; case 4:dorg = 5; case 5:dorg = 6; case 6:dorg = 7; case 7:dorg = 8; case 8:dorg = 9; case 9:dorg = 10; case 10:dorg = 11; case 11:dorg = 12; case 12:dorg = 13; case 13:dorg = 14; case 14:dorg = 15; case 15:dorg = 17; case 16:dorg = 18; case 17:dorg = 19; case 18:dorg = 21; case 19:dorg = 22; case 20:dorg = 23; case 21:dorg = 33; case 22:dorg = 34; case 23:dorg = 0; } switch(dorg) { case 1:SetPlayerColor(playerid, 0x9fa4e8F6); case 2:SetPlayerColor(playerid, 0x3e3d3d96); case 3:SetPlayerColor(playerid, COR_EXE); case 4:SetPlayerColor(playerid, 0xF78181AA); case 5:SetPlayerColor(playerid, 0x337EFFAA); case 7:SetPlayerColor(playerid, 0x6699FFAA); case 8:SetPlayerColor(playerid, 0xBDBDBDAA); case 9:SetPlayerColor(playerid, 0xffe99eAA); case 10:SetPlayerColor(playerid, 0x69A190AA); case 11:SetPlayerColor(playerid, 0x91766296); case 12:SetPlayerColor(playerid, 0xD48A30AA); case 13:SetPlayerColor(playerid, 0x00483AF6); case 14:SetPlayerColor(playerid, 0x00da1cFF); case 15:SetPlayerColor(playerid, 0x6E6E6E96); case 16:SetPlayerColor(playerid, 0x3e3d3d96); case 17:SetPlayerColor(playerid, 0xc640ddAA); case 18:SetPlayerColor(playerid, 0xDEBC00FF); case 19:SetPlayerColor(playerid, 0xFF3636FF); case 20:SetPlayerColor(playerid, 0xFF3636FF); case 21:SetPlayerColor(playerid, 0xaae237AA); case 22:SetPlayerColor(playerid, 0xA4D1FFFF); case 23:SetPlayerColor(playerid, 0xCC0196AA); case 24:SetPlayerColor(playerid, 0xaae237AA); case 25:SetPlayerColor(playerid, 0x337EFFAA); case 27:SetPlayerColor(playerid, 0x9fa4e8F6); case 28:SetPlayerColor(playerid, 0x841B2D20); case 30:SetPlayerColor(playerid, 0x69A190AA); case 31:SetPlayerColor(playerid, 0xF78181AA); case 32:SetPlayerColor(playerid, 0xffe99eAA); case 33:SetPlayerColor(playerid, 0x906000AA); case 34:SetPlayerColor(playerid, COLOR_YELLOW2); case 35:SetPlayerColor(playerid, COR_BPCHOQUE); case 36:SetPlayerColor(playerid, 0x5070f2FF); case 0: { SetPlayerSkin(playerid, PlayerInfo[playerid][pSkin]); return SetPlayerToTeamColor(playerid); } } if(dorg == 1) { SetPlayerSkin(playerid, 282); } else if(dorg == 2) { SetPlayerSkin(playerid, 285); } else if(dorg == 3) { SetPlayerSkin(playerid, 287); } else if(dorg == 4) { SetPlayerSkin(playerid, 274); } else if(dorg == 5) { SetPlayerSkin(playerid, 114); } else if(dorg == 6) { SetPlayerSkin(playerid, 121); } else if(dorg == 7) { SetPlayerSkin(playerid, 163); } else if(dorg == 8) { SetPlayerSkin(playerid, 127); } else if(dorg == 9) { SetPlayerSkin(playerid, 148); } else if(dorg == 10) { SetPlayerSkin(playerid, 253); } else if(dorg == 11) { SetPlayerSkin(playerid, 286); } else if(dorg == 12) { SetPlayerSkin(playerid, 126); } else if(dorg == 13) { SetPlayerSkin(playerid, 203); } else if(dorg == 14) { SetPlayerSkin(playerid, 107); } else if(dorg == 15) { SetPlayerSkin(playerid, 30); } else if(dorg == 16) { SetPlayerSkin(playerid, 186); } else if(dorg == 17) { SetPlayerSkin(playerid, 103); } else if(dorg == 18) { SetPlayerSkin(playerid, 109); } else if(dorg == 19) { SetPlayerSkin(playerid, 40); } else if(dorg == 20) { SetPlayerSkin(playerid, 247); } else if(dorg == 21) { SetPlayerSkin(playerid, 292); } else if(dorg == 22) { SetPlayerSkin(playerid, 118); } else if(dorg == 23) { SetPlayerSkin(playerid, 112); } else if(dorg == 24) { SetPlayerSkin(playerid, 292); } else if(dorg == 25) { SetPlayerSkin(playerid, 114); } else if(dorg == 26) { SetPlayerSkin(playerid, 103); } else if(dorg == 27) { SetPlayerSkin(playerid, 282); } else if(dorg == 28) { SetPlayerSkin(playerid, 109); } else if(dorg == 29) { SetPlayerSkin(playerid, 107); } else if(dorg == 30) { SetPlayerSkin(playerid, 253); } else if(dorg == 31) { SetPlayerSkin(playerid, 274); } else if(dorg == 32) { SetPlayerSkin(playerid, 148); } else if(dorg == 33) { SetPlayerSkin(playerid, 284); } else if(dorg == 34) { SetPlayerSkin(playerid, 141); } else { SetPlayerSkin(playerid, 289); } format(string, sizeof string, "* Voce se disfarcou de %s, tome cuidado para que nao descubram voce!", GetOrgName(dorg)); SendClientMessage(playerid, COLOR_YELLOW2, string); format(string, sizeof string, "* %s se disfarcou de %s.", NomePlayer(playerid), GetOrgName(dorg)); SendFamilyMessage(GetPlayerOrg(playerid), 0x00660CC8, string); } } if(dialogid == 4583) { if(response) { return ShowPlayerDialog(playerid, 4584, DIALOG_STYLE_MSGBOX, "Parcelado ou a vista?", "Voce deseja pagar (Parcelado) ou (a Vista)?", "A Vista", "Parcelado"); } else { RemovePlayerFromVehicle(playerid); } return true; } if(dialogid == ELEVADOR_ID) { if(!response) return 0; if(FloorRequestedBy[listitem] != INVALID_PLAYER_ID || IsFloorInQueue(listitem)) GameTextForPlayer(playerid, "~r~The floor is already in the queue", 3500, 4); else if(DidPlayerRequestElevator(playerid)) GameTextForPlayer(playerid, "~r~You already requested the elevator", 3500, 4); else CallElevator(playerid, listitem); return 1; } if(dialogid == 1478) { if(!response)return true; new id = LocalizeMaconha[listitem+1][playerid]; SetPlayerCheckpoint(playerid, MaconhaInfo[id][mX],MaconhaInfo[id][mY],MaconhaInfo[id][mZ], 5.0); SendClientMessage(playerid, AMARELO_COR, "A plantacao de maconha foi marcada, siga o ponto vermelho no mapa."); CP[playerid] = 0; return true; } if(dialogid == 7788) { if(!response)return true; if(PlayerInfo[playerid][pCarLic])return SendClientMessage(playerid, COLOR_GRAD1, "Voce ja tem a carteira de motorista."); if(GetPlayerMoney(playerid) < 1500)return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao tem R$1500"); ComecarTeste(playerid, 1); GivePlayerMoneyEx(playerid, -1500); return true; } if(dialogid == 3763){ if(response){ new quantia; switch(listitem){ case 0:{ quantia = GetPVarInt(playerid, "movelGrana"); format(string, sizeof string, "* Voce vendeu este movel por R$%d!", quantia); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); GivePlayerMoneyEx(playerid, quantia); } case 1:{ quantia = GetPVarInt(playerid, "movelMaconha"); format(string, sizeof string, "* Voce trocou este movel por %d gramas de maconha!", quantia); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); PlayerInfo[playerid][pDrogas] += quantia; } case 2:{ quantia = GetPVarInt(playerid, "movelCrack"); format(string, sizeof string, "* Voce trocou este movel por %d pedras de crack!", quantia); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); PlayerInfo[playerid][pDrogas3] += quantia; } case 3:{ quantia = GetPVarInt(playerid, "movelCocaina"); format(string, sizeof string, "* Voce trocou este movel por %d carreirinhas de cocaina!", quantia); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); PlayerInfo[playerid][pDrogas2] += quantia; } } SetPlayerSpecialAction(playerid, 0); RemovePlayerAttachedObject(playerid, 6); SetPVarInt(playerid, "movelRoubou", 0); ApplyAnimationEx(playerid,"CARRY","putdwn",6.1,0,1,1,0,0); SendClientMessage(playerid, COLOR_GREY, "OBS: Tome cuidado para que ninguem veja esta negocioacao, pois voce pode cair no art. 155."); } return 1; } if(dialogid == 7472){ if(response){ switch(listitem){ case 0:ShowModelSelectionMenu(playerid, QuartoList, "Moveis do Quarto", 50, 0x000000AA); case 1:ShowModelSelectionMenu(playerid, SalaList, "Moveis da Sala", 50, 0x000000AA); case 2:ShowModelSelectionMenu(playerid, CozinhaList, "Moveis da Cozinha", 50, 0x000000AA); case 3:ShowModelSelectionMenu(playerid, BanheiroList, "Moveis do Banheiro", 50, 0x000000AA); case 4:ShowModelSelectionMenu(playerid, DecoracaoList, "Moveis de Decoracao", 50, 0x000000AA); case 5:ShowModelSelectionMenu(playerid, MoveisList, "Outros moveis", 50, 0x000000AA); } } return 1; } if(dialogid == 4789) { if(!response)return true; if(PlayerInfo[playerid][pFlyLic])return SendClientMessage(playerid, COLOR_GRAD1, "Voce ja tem a carteira."); if(GetPlayerMoney(playerid) < 1500)return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao tem R$1500"); ComecarTeste(playerid, 2); GivePlayerMoneyEx(playerid, -1500); return true; } if(dialogid == 4790) { if(!response)return true; if(PlayerInfo[playerid][pBoatLic])return SendClientMessage(playerid, COLOR_GRAD1, "Voce ja tem a carteira de navegacao."); if(GetPlayerMoney(playerid) < 1500)return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao tem R$1500"); ComecarTeste(playerid, 3); GivePlayerMoneyEx(playerid, -1500); return true; } if(dialogid == 3600) { new AC[75]; if(!response)return SetPVarInt(playerid, "NoMenuAC", 0); if(listitem == 0) { if(cheaterligado[C_AirBreak] == true){cheaterligado[C_AirBreak] = false;} else{cheaterligado[C_AirBreak] = true;} AC = "AirBreak ou Teleport"; } else if(listitem == 1) { if(cheaterligado[C_Speed] == true){cheaterligado[C_Speed] = false;} else{cheaterligado[C_Speed] = true;} AC = "Speed Hack"; } else if(listitem == 2) { if(cheaterligado[C_Money] == true){cheaterligado[C_Money] = false;} else{cheaterligado[C_Money] = true;} AC = "Money Hack"; } else if(listitem == 3) { if(cheaterligado[C_StateHack] == true){cheaterligado[C_StateHack] = false;} else{cheaterligado[C_StateHack] = true;} AC = "Car Spam"; } else if(listitem == 4) { if(cheaterligado[C_Fly] == true){cheaterligado[C_Fly] = false;} else{cheaterligado[C_Fly] = true;} AC = "Fly"; } else if(listitem == 5) { if(cheaterligado[C_Weapon] == true){cheaterligado[C_Weapon] = false;} else{cheaterligado[C_Weapon] = true;} AC = "Weapon Hack"; } else if(listitem == 6) { if(cheaterligado[C_Colete] == true)cheaterligado[C_Colete] = false; else cheaterligado[C_Colete] = true; AC = "Armour Hack"; } else if(listitem == 7) { if(cheaterligado[C_FakeKill] == true)cheaterligado[C_FakeKill] = false; else cheaterligado[C_FakeKill] = true; AC = "Fake Kill"; } else if(listitem == 8) { if(cheaterligado[C_DV] == true)cheaterligado[C_DV] = false; else cheaterligado[C_DV] = true; AC = "Divulguer"; } else if(listitem == 9) { if(cheaterligado[C_Joy] == true)cheaterligado[C_Joy] = false; else cheaterligado[C_Joy] = true; AC = "JoyPad"; } else if(listitem == 10) { if(cheaterligado[C_Armas] == true)cheaterligado[C_Armas] = false; else cheaterligado[C_Armas] = true; AC = "Armas Proibidas"; } else if(listitem == 11) { if(cheaterligado[C_PC] == true)cheaterligado[C_PC] = false; else cheaterligado[C_PC] = true; AC = "Puxar Carros"; } else if(listitem == 12) { if(cheaterligado[C_AntCrashing] == true)cheaterligado[C_AntCrashing] = false; else cheaterligado[C_AntCrashing] = true; AC = "Tentativa Crash"; } format(string, sizeof string,"{00EAF6}ANTICHEAT:{C8C8C8} %s: %s", AC, CheaterOn(listitem+1)); ABroadCast(-1, string, 1); ForT:menucheater( playerid ); } if(dialogid == 4587) { if(!response)return SendClientMessage(playerid, COLOR_GRAD2, "Voce cancelou o menu de advogados."); if(AdvId[Preso_Dialog[playerid][listitem]] != 999) return SendClientMessage(playerid, COLOR_GRAD1, "Este preso ja esta negociando com um advogado."); if(PlayerInfo[Preso_Dialog[playerid][listitem]][pAjustado]) return SendClientMessage(playerid, COLOR_GRAD1, "Este preso ja foi ajustado por outro advogado."); ShowPlayerDialog(playerid, 4588, DIALOG_STYLE_LIST, "Quanto voce quer retirar da pena dele?", "Retirar: 10% da pena\n\ Retirar: 20% da pena\n\ Retirar: 30% da pena\n\ Retirar: 40% da pena\n\ Retirar: 50% da pena\n\ Retirar: 60% da pena\n\ Retirar: 70% da pena", "Continuar", " Sair"); SetPVarInt(playerid, "list", listitem); AdvId[Preso_Dialog[playerid][listitem]] = playerid; return true; } if(dialogid == 4588) { if(!response) { AdvId[Preso_Dialog[playerid][GetPVarInt(playerid, "list")]] = 999; return SendClientMessage(playerid, COLOR_GRAD2, "Voce cancelou o menu de advogados."); } switch(listitem) { case 0:{SetPVarInt(playerid, "ADV_Ajust", 10);} case 1:{SetPVarInt(playerid, "ADV_Ajust", 20);} case 2:{ if(PlayerInfo[playerid][pLawSkill] < 20){return SendClientMessage(playerid, COLOR_GRAD1, "Suas habilidades de advogado ainda nao e suficientes, use: /habilidades 2"),AdvId[Preso_Dialog[playerid][GetPVarInt(playerid, "list")]] = 999;} SetPVarInt(playerid, "ADV_Ajust", 30);} case 3:{ if(PlayerInfo[playerid][pLawSkill] < 40){return SendClientMessage(playerid, COLOR_GRAD1, "Suas habilidades de advogado ainda nao e suficientes, use: /habilidades 2"),AdvId[Preso_Dialog[playerid][GetPVarInt(playerid, "list")]] = 999;} SetPVarInt(playerid, "ADV_Ajust", 40);} case 4:{ if(PlayerInfo[playerid][pLawSkill] < 100){return SendClientMessage(playerid, COLOR_GRAD1, "Suas habilidades de advogado ainda nao e suficientes, use: /habilidades 2"),AdvId[Preso_Dialog[playerid][GetPVarInt(playerid, "list")]] = 999;} SetPVarInt(playerid, "ADV_Ajust", 50);} case 5:{ if(PlayerInfo[playerid][pLawSkill] < 150){return SendClientMessage(playerid, COLOR_GRAD1, "Suas habilidades de advogado ainda nao e suficientes, use: /habilidades 2"),AdvId[Preso_Dialog[playerid][GetPVarInt(playerid, "list")]] = 999;} SetPVarInt(playerid, "ADV_Ajust", 60);} case 6:{ if(PlayerInfo[playerid][pLawSkill] < 250){return SendClientMessage(playerid, COLOR_GRAD1, "Suas habilidades de advogado ainda nao e suficientes, use: /habilidades 2"),AdvId[Preso_Dialog[playerid][GetPVarInt(playerid, "list")]] = 999;} SetPVarInt(playerid, "ADV_Ajust", 70);} case 7:{ if(PlayerInfo[playerid][pLawSkill] < 370){return SendClientMessage(playerid, COLOR_GRAD1, "Suas habilidades de advogado ainda nao e suficientes, use: /habilidades 2"),AdvId[Preso_Dialog[playerid][GetPVarInt(playerid, "list")]] = 999;} SetPVarInt(playerid, "ADV_Ajust", 80);} case 8:{ if(PlayerInfo[playerid][pLawSkill] < 500){return SendClientMessage(playerid, COLOR_GRAD1, "Suas habilidades de advogado ainda nao e suficientes, use: /habilidades 2"),AdvId[Preso_Dialog[playerid][GetPVarInt(playerid, "list")]] = 999;} SetPVarInt(playerid, "ADV_Ajust", 90);} } ShowPlayerDialog(playerid, 4589, DIALOG_STYLE_INPUT, "Quanto voce quer?", "Digite quanto voce quer para ajustar o preso", "Continuar", ""); return true; } if(dialogid == 4589) { if(!response || !strval(inputtext) || strval(inputtext) < 1000 || strval(inputtext) > 200000) { ShowPlayerDialog(playerid, 4589, DIALOG_STYLE_INPUT, "Quanto voce quer?", "Digite quanto voce quer para ajustar o preso", "Continuar", ""); return SendClientMessage(playerid, COLOR_GRAD1, "Preco de R$1.000 a R$200.000"); } SetPVarInt(playerid, "ADV_Preco", strval(inputtext)); format(string, sizeof string, "O advogado %s quer retirar %d por cento da sua pena\n\ por R$%s, voce aceita ou nao?", NomePlayer(playerid), GetPVarInt(playerid, "ADV_Ajust"), ConvertMoney(GetPVarInt(playerid, "ADV_Preco"))); ShowPlayerDialog(Preso_Dialog[playerid][GetPVarInt(playerid, "list")], 4590, DIALOG_STYLE_MSGBOX, "Advogado", string, "Aceitar", "Recusar"); format(string, sizeof string, "* Voce quer livrar %s de %d por cento de sua pena por R$%s", NomePlayer(Preso_Dialog[playerid][GetPVarInt(playerid, "list")]), GetPVarInt(playerid, "ADV_Ajust"), ConvertMoney(strval(inputtext))); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); return true; } if(dialogid == 4590) { new id = AdvId[playerid]; if(!IsPlayerConnected(id) || PlayerInfo[id][pEmprego] != 1)return SendClientMessage(playerid, COLOR_LIGHTRED, "* Este advogado nao esta mais conectado ou nao e mais um advogado"), AdvId[playerid] = 999; if(PlayerInfo[playerid][pJailTime] < 1) return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao esta mais preso!"); switch(response) { case 0: { format(string, sizeof string, " * Voce recusou o advogado %s.", NomePlayer(id)); SendClientMessage(playerid, COLOR_LIGHTRED, string); format(string, sizeof string, " * %s recusou seu pedido de ajuste de tempo de prisao.", NomePlayer(playerid)); SendClientMessage(id, COLOR_LIGHTRED, string); } case 1: { if(GetPlayerMoney(playerid) < GetPVarInt(id, "ADV_Preco")) { SendClientMessage(playerid, COLOR_LIGHTRED, "Voce nao pode pagar o que o advogado pediu."); format(string, sizeof string, " * o preso %s nao pode pagar o que voce pediu.", NomePlayer(playerid)); SendClientMessage(id, COLOR_LIGHTRED, string); AdvId[playerid] = 999; return 1; } format(string, sizeof string, " * O advogado %s retirou %d por cento da sua pena por R$%s.", NomePlayer(id), GetPVarInt(id, "ADV_Ajust"),ConvertMoney(GetPVarInt(id, "ADV_Preco"))); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); format(string, sizeof string, " * Voce retirou %d por cento da pena de %s, por R$%s.", GetPVarInt(id, "ADV_Ajust"), NomePlayer(playerid), ConvertMoney(GetPVarInt(id, "ADV_Preco"))); SendClientMessage(id, COLOR_LIGHTBLUE, string); GiveDinheiro(playerid, -GetPVarInt(id, "ADV_Preco")); GiveDinheiro(id, GetPVarInt(id, "ADV_Preco")); PlayerInfo[playerid][pAjustado] = true; new time = PlayerInfo[playerid][pJailTime]; new ajust = GetPVarInt(id, "ADV_Ajust"); //PlayerInfo[playerid][pJailTime] = (time) - (time*ajust/100); PlayerInfo[playerid][pJailTime] = pc(ajust,time); PlayerInfo[id][pLawSkill] ++; if(PlayerInfo[id][pLawSkill] == 20) { SendClientMessage(playerid, COLOR_YELLOW, "** Voce agora pode livrar presos em ate 30 por cento da pena **"); } if(PlayerInfo[id][pLawSkill] == 40) { SendClientMessage(playerid, COLOR_YELLOW, "** Voce agora pode livrar presos em ate 40 por cento da pena **"); } if(PlayerInfo[id][pLawSkill] == 100) { SendClientMessage(playerid, COLOR_YELLOW, "** Voce agora pode livrar presos em ate 50 por cento da pena **"); } if(PlayerInfo[id][pLawSkill] == 150) { SendClientMessage(playerid, COLOR_YELLOW, "** Voce agora pode livrar presos em ate 60 por cento da pena **"); } if(PlayerInfo[id][pLawSkill] == 250) { SendClientMessage(playerid, COLOR_YELLOW, "** Voce agora pode livrar presos em ate 70 por cento da pena **"); } if(PlayerInfo[id][pLawSkill] == 370) { SendClientMessage(playerid, COLOR_YELLOW, "** Voce agora pode livrar presos em ate 80 por cento da pena **"); } if(PlayerInfo[id][pLawSkill] == 500) { SendClientMessage(playerid, COLOR_YELLOW, "** Voce agora pode livrar presos em ate 90 por cento da pena **"); } } } AdvId[playerid] = 999; return true; } if(dialogid == 4141) { if(!response)return true; if(listitem == 0) { ShowPlayerDialog(playerid, 4142, DIALOG_STYLE_INPUT, "Relatorio", "Escreva seu relatorio", "Enviar", "Cancelar"); } else if(listitem == 1) { ShowPlayerDialog(playerid, 4143, DIALOG_STYLE_INPUT, "Dúvida", "Escreva sua dúvida", "Enviar", "Cancelar"); } else if(listitem == 2) { ForT:ajuda(playerid); } else if(listitem == 3) { ForT:rg(playerid, #); } else if(listitem == 4) { ForT:animlist(playerid); } else if(listitem == 5) { ForT:animlist2(playerid); } else if(listitem == 6) { ForT:orgs(playerid); } else if(listitem == 7) { ForT:admins(playerid); } else if(listitem == 8) { ForT:admins(playerid); } else if(listitem == 9) { ForT:lideres(playerid, #); } else if(listitem == 10) { ForT:sublideres(playerid, #); } return true; } if(dialogid == 4142) { if(!response || !strlen(inputtext))return true; ForT:duvida(playerid, inputtext); return true; } if(dialogid == 4143) { if(!response || !strlen(inputtext))return true; ForT:duvida(playerid, inputtext); return true; } if(dialogid == DIALOG_CAIXA_ELETRONICO) { CaixaEletronico_Ok[playerid] = 0; if(response == 0) { PlayerPlaySound(playerid,1057,0.0,0.0,0.0); return true; } if(response == 1) { PlayerPlaySound(playerid,1057,0.0,0.0,0.0); if(listitem >= 0 && listitem <= 4) { if(listitem == 0) { CaixaEletronico_Ok[playerid] = 1; ShowPlayerDialog(playerid, DIALOG_CAIXA_ELETRONICO_INPUT, DIALOG_STYLE_INPUT, " Saque","Digite a Quantia que Deseja Sacar:", "Confirma", "Sair"); } if(listitem == 1) { CaixaEletronico_Ok[playerid] = 2; ShowPlayerDialog(playerid, DIALOG_CAIXA_ELETRONICO_INPUT, DIALOG_STYLE_INPUT, " Deposito","Digite a Quantia que Deseja Depositar:", "Confirma", "Sair"); } if(listitem == 2) { CaixaEletronico_Ok[playerid] = 3; format(stringe, sizeof(stringe), "Ola %s[ID:%d]\n\nSeu saldo Bancario e de: R$%s\n\ Voce Possui %d Barras de Ouro em sua Conta!", PlayerName(playerid),playerid,ConvertMoney(PlayerInfo[playerid][pConta]),PlayerInfo[playerid][pOuros]); ShowPlayerDialog(playerid, DIALOG_CAIXA_ELETRONICO_INPUT, DIALOG_STYLE_MSGBOX, "Informacao do Saldo:",stringe, "Confirma", "Sair"); } if(listitem == 3) { CaixaEletronico_Ok[playerid] = 4; ShowPlayerDialog(playerid, DIALOG_TRANSFERIR, DIALOG_STYLE_INPUT, " Transferencia","Digite o ID de quem recebera o dinheiro transferido:", "Confirma", "Sair"); } if(listitem == 4) { ForT:roubar(playerid); } } } } if(dialogid == 4701) { if(!response)return true; if(listitem == 0) { MEGAString[0] = EOS; for(new i; i < sizeof(NomesTLES); i++) { strcat(MEGAString, NomesTLES[i][0]); strcat(MEGAString, "\n"); } ShowPlayerDialog(playerid, 4607, DIALOG_STYLE_LIST, "Teleportes", MEGAString, #Teleportar, #Sair); MEGAString[0] = EOS; } else { ShowPlayerDialog(playerid,TELEPORTE,DIALOG_STYLE_LIST,"Teleportes","Head Quarters\nTerritorios\nLugares em geral\nEventos","Aceitar","Cancelar"); } } if(dialogid == 4607) { if(PlayerInfo[playerid][pAdmin] < 1 && PlayerInfo[playerid][pAdminTemp] < 1)return true; SetPlayerPos(playerid, TLES[listitem][0], TLES[listitem][1], TLES[listitem][2]); SetPlayerInterior(playerid, NomesTLES[listitem][1][0]); format(string, sizeof string, "Voce foi teleportado para: %s", NomesTLES[listitem][0][0]); SendClientMessage(playerid, 0xFFFFFFFFF, string); } if(dialogid == 8899) { if(response) { new sVID = GetPlayerVehicleID(playerid); // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // Loop(i, 2) { if(VeiculoNeon[sVID][i] != -1) DestroyDynamicObject(VeiculoNeon[sVID][i]); VeiculoNeon[sVID][i] = -1; } ResetVehicleNeon(sVID); // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // if(listitem == 0) { //blue VeiculoNeon[sVID][0] = CreateDynamicObject(18648,0,0,0,0,0,0); VeiculoNeon[sVID][1] = CreateDynamicObject(18648,0,0,0,0,0,0); AttachDynObjectToVehicleTimer(VeiculoNeon[sVID][0], GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0); AttachDynObjectToVehicleTimer(VeiculoNeon[sVID][1], GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0); SendClientMessage(playerid, COLOR_DBLUE, "Neon Azul Instalado no seu Carro."); } else if(listitem == 1) { //red VeiculoNeon[sVID][0] = CreateDynamicObject(18647,0,0,0,0,0,0); VeiculoNeon[sVID][1] = CreateDynamicObject(18647,0,0,0,0,0,0); AttachDynObjectToVehicleTimer(VeiculoNeon[sVID][0], GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0); AttachDynObjectToVehicleTimer(VeiculoNeon[sVID][1], GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0); SendClientMessage(playerid, COLOR_LIGHTRED, "Neon Vermelho Instalado no seu Carro."); } else if(listitem == 2) { //green VeiculoNeon[sVID][0] = CreateDynamicObject(18649,0,0,0,0,0,0); VeiculoNeon[sVID][1] = CreateDynamicObject(18649,0,0,0,0,0,0); AttachDynObjectToVehicleTimer(VeiculoNeon[sVID][0], GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0); AttachDynObjectToVehicleTimer(VeiculoNeon[sVID][1], GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0); SendClientMessage(playerid, TEAM_GROVE_COLOR, "Neon Verde Instalado no seu Carro."); } else if(listitem == 3) { //COLOR_WHITE VeiculoNeon[sVID][0] = CreateDynamicObject(18652,0,0,0,0,0,0); VeiculoNeon[sVID][1] = CreateDynamicObject(18652,0,0,0,0,0,0); AttachDynObjectToVehicleTimer(VeiculoNeon[sVID][0], GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0); AttachDynObjectToVehicleTimer(VeiculoNeon[sVID][1], GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0); SendClientMessage(playerid, COLOR_WHITE, "Neon Branco Instalado no seu Carro."); } else if(listitem == 4) { //pink VeiculoNeon[sVID][0] = CreateDynamicObject(18651,0,0,0,0,0,0); VeiculoNeon[sVID][1] = CreateDynamicObject(18651,0,0,0,0,0,0); AttachDynObjectToVehicleTimer(VeiculoNeon[sVID][0], GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0); AttachDynObjectToVehicleTimer(VeiculoNeon[sVID][1], GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0); SendClientMessage(playerid, COLOR_GRAD3, "Neon Rosa Instalado no seu Carro."); } else if(listitem == 5) { //yellow VeiculoNeon[sVID][0] = CreateDynamicObject(18650,0,0,0,0,0,0); VeiculoNeon[sVID][1] = CreateDynamicObject(18650,0,0,0,0,0,0); AttachDynObjectToVehicleTimer(VeiculoNeon[sVID][0], GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0); AttachDynObjectToVehicleTimer(VeiculoNeon[sVID][1], GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0); SendClientMessage(playerid, TEAM_VAGOS_COLOR, "Neon Amarelo Instalado no seu Carro."); } else if(listitem == 6) {//remove neon SendClientMessage(playerid, TEAM_VAGOS_COLOR, "Neons removidos!"); } } return 0; } if(dialogid == 8888) { if(response == 0) { SendClientMessage(playerid, COLOR_DBLUE, "Voce tem que escolher uma das opcões abaixo!"); ShowPlayerDialog(playerid,8888,DIALOG_STYLE_LIST, "Escolha o proximo Local","Parada: Agencia de Emprego\nParada: Prefeitura\nParada: Penitenciaria\nParada: Loja de armas 1\nParada: Banco\nParada: Motel\nParada: Spawn Civil\n\ Parada: Concessionaria\nParada: POBRE\nParada: Monte Chilliad\nParada: Spawn Civil LV\nTerminar","Selecionar","Sair"); return true; } if(response >= 1) { if(listitem == 0) { if(NaoPode[playerid] == 1) { SendClientMessage(playerid, COLOR_LIGHTRED, " Voce ja esta no local escolhido, escolha outro para continuar"); ShowPlayerDialog(playerid,8888,DIALOG_STYLE_LIST, "Escolha o proximo Local","Parada: Agencia de Emprego\nParada: Prefeitura\nParada: Penitenciaria\nParada: Loja de armas 1\nParada: Banco\nParada: Motel\nParada: Spawn Civil\nParada: Concessionaria\nParada: POBRE\n\ Parada: Monte Chilliad\nParada: Spawn Civil LV\nTerminar","Selecionar","Sair"); return true; } NaoPode[playerid] = 1; format(string, sizeof(string), "* Motorista de onibus %s saira em 15 segundos em destino a Agencia de Emprego.", PlayerName(playerid)); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); CheCks[playerid] = 1; Controle(playerid, 0); SetPlayerCheckpoint(playerid, 951.7770,-1744.5381,13.6210, 11.0); SetTimerEx("busstoptimer", 15000, false, "i", playerid); SCMf(playerid, COLOR_LIGHTBLUE, "Voce escolheu o proximo local de parada, e ganhara R$%d ao chegar. Espere 15 segundos para sair.", salInfo[GanhoMOnibus]); return true; } if(listitem == 1) { if(NaoPode[playerid] == 2) { SendClientMessage(playerid, COLOR_LIGHTRED, " Voce ja esta no local escolhido, escolha outro para continuar"); ShowPlayerDialog(playerid,8888,DIALOG_STYLE_LIST, "Escolha o proximo Local","Parada: Agencia de Emprego\nParada: \nParada: Penitenciaria\nParada: Loja de armas 1\nParada: Banco\nParada: Motel\nParada: Spawn Civil\nParada: Concessionaria\nParada: POBRE\n\ Parada: Monte Chilliad\nParada: Spawn Civil LV\nTerminar","Selecionar","Sair"); return true; } NaoPode[playerid] = 2; format(string, sizeof(string), "* Motorista de onibus %s saira em 15 segundos em destino a Prefeitura.", PlayerName(playerid)); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); CheCks[playerid] = 2; Controle(playerid, 0); SetPlayerCheckpoint(playerid, 1486.7031,-1732.5431,13.3828, 11.0); SetTimerEx("busstoptimer", 15000, false, "i", playerid); SCMf(playerid, COLOR_LIGHTBLUE, "Voce escolheu o proximo local de parada, e ganhara R$%d ao chegar. Espere 15 segundos para sair.", salInfo[GanhoMOnibus]); return true; } if(listitem == 2) { if(NaoPode[playerid] == 3) { SendClientMessage(playerid, COLOR_LIGHTRED, " Voce ja esta no local escolhido, escolha outro para continuar"); ShowPlayerDialog(playerid,8888,DIALOG_STYLE_LIST,"Escolha o proximo Local","Parada: Agencia de Emprego\nParada: Prefeitura\nParada: Penitenciaria\nParada: Loja de armas 1\nParada: Banco\nParada: Motel\nParada: Spawn Civil\nParada: Concessionaria\nParada: POBRE\nParada: Monte Chilliad\nParada: Spawn Civil LV\nTerminar","Selecionar","Sair"); return true; } NaoPode[playerid] = 3; format(string, sizeof(string), "* Motorista de onibus %s saira em 15 segundos em destino a Penitenciaria.", PlayerName(playerid)); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); CheCks[playerid] = 3; Controle(playerid, 0); SetPlayerCheckpoint(playerid, 1797.5494,-1579.0006,14.0865, 11.0); SetTimerEx("busstoptimer", 15000, false, "i", playerid); SCMf(playerid, COLOR_LIGHTBLUE, "Voce escolheu o proximo local de parada, e ganhara R$%d ao chegar. Espere 15 segundos para sair.", salInfo[GanhoMOnibus]); return true; } if(listitem == 3) { if(NaoPode[playerid] == 4) { SendClientMessage(playerid, COLOR_LIGHTRED, " Voce ja esta no local escolhido, escolha outro para continuar"); ShowPlayerDialog(playerid,8888,DIALOG_STYLE_LIST,"Escolha o proximo Local","Parada: Agencia de Emprego\nParada: Prefeitura\nParada: Penitenciaria\nParada: Loja de armas 1\nParada: Banco\nParada: Motel\nParada: Spawn Civil\nParada: Concessionaria\nParada: POBRE\nParada: Monte Chilliad\nParada: Spawn Civil LV\nTerminar","Selecionar","Sair"); return true; } NaoPode[playerid] = 4; format(string, sizeof(string), "* Motorista de onibus %s saira em 15 segundos em destino a loja de armas 1.", PlayerName(playerid)); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); CheCks[playerid] = 4; Controle(playerid, 0); SetPlayerCheckpoint(playerid, 1789.4310,-1173.4104,23.6518, 11.0); SetTimerEx("busstoptimer", 15000, false, "i", playerid); SCMf(playerid, COLOR_LIGHTBLUE, "Voce escolheu o proximo local de parada, e ganhara R$%d ao chegar. Espere 15 segundos para sair.", salInfo[GanhoMOnibus]); return true; } if(listitem == 4) { if(NaoPode[playerid] == 5) { SendClientMessage(playerid, COLOR_LIGHTRED, " Voce ja esta no local escolhido, escolha outro para continuar"); ShowPlayerDialog(playerid,8888,DIALOG_STYLE_LIST,"Escolha o proximo Local","Parada: Agencia de Emprego\nParada: Prefeitura\nParada: Penitenciaria\nParada: Loja de armas 1\nParada: Banco\nParada: Motel\nParada: Spawn Civil\nParada: Concessionaria\nParada: POBRE\nParada: Monte Chilliad\nParada: Spawn Civil LV\nTerminar","Selecionar","Sair"); return true; } NaoPode[playerid] = 5; format(string, sizeof(string), "* Motorista de onibus %s saira em 15 segundos em destino ao banco de LS.", PlayerName(playerid)); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); CheCks[playerid] = 5; Controle(playerid, 0); SetPlayerCheckpoint(playerid, 1465.6827,-1033.9873,23.6563, 11.0); SetTimerEx("busstoptimer", 15000, false, "i", playerid); SCMf(playerid, COLOR_LIGHTBLUE, "Voce escolheu o proximo local de parada, e ganhara R$%d ao chegar. Espere 15 segundos para sair.", salInfo[GanhoMOnibus]); return true; } if(listitem == 5) { if(NaoPode[playerid] == 6) { SendClientMessage(playerid, COLOR_LIGHTRED, " Voce ja esta no local escolhido, escolha outro para continuar"); ShowPlayerDialog(playerid,8888,DIALOG_STYLE_LIST,"Escolha o proximo Local","Parada: Agencia de Emprego\nParada: Prefeitura\nParada: Penitenciaria\nParada: Loja de armas 1\nParada: Banco\nParada: Motel\nParada: Spawn Civil\nParada: Concessionaria\nParada: POBRE\nParada: Monte Chilliad\nParada: Spawn Civil LV\nTerminar","Selecionar","Sair"); return true; } NaoPode[playerid] = 6; format(string, sizeof(string), "* Motorista de onibus %s saira em 15 segundos em destino ao Motel.", PlayerName(playerid)); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); CheCks[playerid] = 6; Controle(playerid, 0); SetPlayerCheckpoint(playerid, 1018.5015,-1144.9186,23.6563, 11.0); SetTimerEx("busstoptimer", 15000, false, "i", playerid); SCMf(playerid, COLOR_LIGHTBLUE, "Voce escolheu o proximo local de parada, e ganhara R$%d ao chegar. Espere 15 segundos para sair.", salInfo[GanhoMOnibus]); return true; } if(listitem == 6) { if(NaoPode[playerid] == 7) { SendClientMessage(playerid, COLOR_LIGHTRED, " Voce ja esta no local escolhido, escolha outro para continuar"); ShowPlayerDialog(playerid,8888,DIALOG_STYLE_LIST,"Escolha o proximo Local","Parada: Agencia de Emprego\nParada: Prefeitura\nParada: Penitenciaria\nParada: Loja de armas 1\nParada: Banco\nParada: Motel\nParada: Spawn Civil\nParada: Concessionaria\nParada: POBRE\nParada: Monte Chilliad\nParada: Spawn Civil LV\nTerminar","Selecionar","Sair"); return true; } NaoPode[playerid] = 7; format(string, sizeof(string), "* Motorista de onibus %s saira em 15 segundos em destino a Spawn Civil.", PlayerName(playerid)); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); CheCks[playerid] = 7; Controle(playerid, 0); SetPlayerCheckpoint(playerid, 1128.8844,-1413.5562,13.6057, 11.0); SetTimerEx("busstoptimer", 15000, false, "i", playerid); SCMf(playerid, COLOR_LIGHTBLUE, "Voce escolheu o proximo local de parada, e ganhara R$%d ao chegar. Espere 15 segundos para sair.", salInfo[GanhoMOnibus]); return true; } if(listitem == 7) { if(NaoPode[playerid] == 8) { SendClientMessage(playerid, COLOR_LIGHTRED, " Voce ja esta no local escolhido, escolha outro para continuar"); ShowPlayerDialog(playerid,8888,DIALOG_STYLE_LIST,"Escolha o proximo Local","Parada: Agencia de Emprego\nParada: Prefeitura\nParada: Penitenciaria\nParada: Loja de armas 1\nParada: Banco\nParada: Motel\nParada: Spawn Civil\nParada: Concessionaria\nParada: POBRE\nParada: Monte Chilliad\nParada: Spawn Civil LV\nTerminar","Selecionar","Sair"); return true; } NaoPode[playerid] = 8; format(string, sizeof(string), "* Motorista de onibus %s saira em 15 segundos em destino ao Concessionaria.", PlayerName(playerid)); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); CheCks[playerid] = 8; Controle(playerid, 0); SetPlayerCheckpoint(playerid, 1634.2822,-1131.4761,23.4775, 11.0); SetTimerEx("busstoptimer", 15000, false, "i", playerid); SCMf(playerid, COLOR_LIGHTBLUE, "Voce escolheu o proximo local de parada, e ganhara R$%d ao chegar. Espere 15 segundos para sair.", salInfo[GanhoMOnibus]); return true; } if(listitem == 8) { if(NaoPode[playerid] == 9) { SendClientMessage(playerid, COLOR_LIGHTRED, " Voce ja esta no local escolhido, escolha outro para continuar"); ShowPlayerDialog(playerid,8888,DIALOG_STYLE_LIST, "Escolha o proximo Local","Parada: Agencia de Emprego\nParada: Prefeitura\nParada: Penitenciaria\nParada: Loja de armas 1\nParada: Banco\nParada: Motel\nParada: Spawn Civil\n\ Parada: Concessionaria\nParada: POBRE\nParada: Monte Chilliad\nParada: Spawn Civil LV\nTerminar","Selecionar","Sair"); return true; } NaoPode[playerid] = 9; format(string, sizeof(string), "* Motorista de onibus %s saira em 15 segundos em destino a POBRE.", PlayerName(playerid)); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); CheCks[playerid] = 9; Controle(playerid, 0); SetPlayerCheckpoint(playerid, -166.3391,-355.5960,1.3454, 11.0); SetTimerEx("busstoptimer", 15000, false, "i", playerid); SCMf(playerid, COLOR_LIGHTBLUE, "Voce escolheu o proximo local de parada, e ganhara R$%d ao chegar. Espere 15 segundos para sair.", salInfo[GanhoMOnibus]*2); return true; } if(listitem == 9) { if(NaoPode[playerid] == 10) { SendClientMessage(playerid, COLOR_LIGHTRED, " Voce ja esta no local escolhido, escolha outro para continuar"); ShowPlayerDialog(playerid,8888,DIALOG_STYLE_LIST, "Escolha o proximo Local","Parada: Agencia de Emprego\nParada: Prefeitura\nParada: Penitenciaria\nParada: Loja de armas 1\nParada: Banco\nParada: Motel\nParada: Spawn Civil\n\ Parada: Concessionaria\nParada: POBRE\nParada: Monte Chilliad\nParada: Spawn Civil LV\nTerminar","Selecionar","Sair"); return true; } NaoPode[playerid] = 10; format(string, sizeof(string), "* Motorista de onibus %s saira em 15 segundos em destino ao Monte Chilliad.", PlayerName(playerid)); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); CheCks[playerid] = 10; Controle(playerid, 0); SetPlayerCheckpoint(playerid, -2245.0618,-1724.4358,480.3163, 11.0); SetTimerEx("busstoptimer", 15000, false, "i", playerid); SCMf(playerid, COLOR_LIGHTBLUE, "Voce escolheu o proximo local de parada, e ganhara R$%d ao chegar. Espere 15 segundos para sair.", salInfo[GanhoMOnibus]*0.5); return true; } if(listitem == 10) { if(NaoPode[playerid] == 11) { SendClientMessage(playerid, COLOR_LIGHTRED, " Voce ja esta no local escolhido, escolha outro para continuar"); ShowPlayerDialog(playerid,8888,DIALOG_STYLE_LIST, "Escolha o proximo Local","Parada: Agencia de Emprego\nParada: Prefeitura\nParada: Penitenciaria\nParada: Loja de armas 1\nParada: Banco\nParada: Motel\nParada: Spawn Civil\n\ Parada: Concessionaria\nParada: POBRE\nParada: Monte Chilliad\nParada: Spawn Civil LV\nTerminar","Selecionar","Sair"); return true; } NaoPode[playerid] = 11; format(string, sizeof(string), "* Motorista de onibus %s saira em 15 segundos em destino ao Spawn Civil LV.", PlayerName(playerid)); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); CheCks[playerid] = 11; Controle(playerid, 0); SetPlayerCheckpoint(playerid, -2245.0618,-1724.4358,480.3163, 11.0); SetTimerEx("busstoptimer", 15000, false, "i", playerid); SCMf(playerid, COLOR_LIGHTBLUE, "Voce escolheu o proximo local de parada, e ganhara R$%d ao chegar. Espere 15 segundos para sair.", salInfo[GanhoMOnibus] * 2); return true; } if(listitem == 11) { format(string, sizeof(string), "* Motorista de onibus %s terminou sua rota.", PlayerName(playerid)); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); CheCks[playerid] = 0; DisablePlayerCheckpoint(playerid); Controle(playerid, 1); format(string, sizeof(string), "* Voce terminou sua rota e ganhou R$%d, para fazer outra digite /terminais.", TransportMoney[playerid]); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); GiveDinheiro(playerid, TransportMoney[playerid]); DisablePlayerCheckpoint(playerid); TransportDuty[playerid] = 0; TransportValue[playerid] = 0; TransportMoney[playerid] = 0; NaoPode[playerid] = 0; return true; } } return true; } if(dialogid == DIALOG_CAIXA_ELETRONICO_INPUT) { if(response == 0) { PlayerPlaySound(playerid,1057,0.0,0.0,0.0);CaixaEletronico_Ok[playerid] = 0;return true; } if(response >= 1) { PlayerPlaySound(playerid,1057,0.0,0.0,0.0); if(CaixaEletronico_Ok[playerid] != 3) { if(CaixaEletronico_Ok[playerid] == 1) { ForT:sacar(playerid, inputtext); AbrirCaixaEletronico(playerid); } else if(CaixaEletronico_Ok[playerid] == 2) { if (strval(inputtext) > GetPlayerMoney(playerid) || strval(inputtext) < 1) { CaixaEletronico_Ok[playerid] = 0; SendClientMessage(playerid, COLOR_GRAD2, "Voce nao tem tudo isso em suas maos!"); return true; } GiveDinheiro(playerid,-strval(inputtext)); new curfunds = PlayerInfo[playerid][pConta]; PlayerInfo[playerid][pConta]=strval(inputtext)+PlayerInfo[playerid][pConta]; SendClientMessage(playerid, COLOR_WHITE, "|________Informacoes Banco________|"); format(string, sizeof(string), " Saldo: R$%s", ConvertMoney(curfunds)); SendClientMessage(playerid, COLOR_GRAD2, string); format(string, sizeof(string), " Deposito: R$%s",ConvertMoney(strval(inputtext))); SendClientMessage(playerid, COLOR_GRAD4, string); SendClientMessage(playerid, COLOR_GRAD6, "|_________________________________|"); format(string, sizeof(string), " Novo Saldo: R$%s", ConvertMoney(PlayerInfo[playerid][pConta])); SendClientMessage(playerid, COLOR_WHITE, string); AbrirCaixaEletronico(playerid); } else if(CaixaEletronico_Ok[playerid] == 4) { if (IsPlayerConnected(TransferenciaID[playerid])) { if(TransferenciaID[playerid] != INVALID_PLAYER_ID) { if(TransferenciaID[playerid] == playerid) return SendClientMessage(playerid,COLOR_GRAD1,"| ERRO | Você não pode transferir dinheiro para si mesmo"); new impostocpmf; impostocpmf = strval(inputtext)/10; if (strval(inputtext) > 0 && PlayerInfo[playerid][pConta] >= strval(inputtext) + impostocpmf) { new Valor = strval(inputtext); PlayerInfo[playerid][pConta] -= strval(inputtext); PlayerInfo[playerid][pConta] -= impostocpmf; PlayerInfo[TransferenciaID[playerid]][pConta] += strval(inputtext); new PlayerIP[128]; new antigo = PlayerInfo[playerid][pConta]; new antigo2 = PlayerInfo[TransferenciaID[playerid]][pConta]; GetPlayerIp(playerid,PlayerIP, sizeof(PlayerIP)); SendClientMessage(playerid, COLOR_GREEN, "|******* Comprovante de Tranferencia ******|"); format(string,sizeof(string),"Saldo Anterior: R$%s",ConvertMoney(antigo)); SendClientMessage(playerid,COLOR_YELLOW,string); format(string,sizeof(string),"Novo Saldo: R$%s",ConvertMoney(PlayerInfo[playerid][pConta])); SendClientMessage(playerid,COLOR_YELLOW,string); format(string,sizeof(string),"Nome do Favorecido: %s",NomePlayer(TransferenciaID[playerid])); SendClientMessage(playerid,COLOR_YELLOW,string); format(string,sizeof(string),"Quantidade Transferida: R$%s",ConvertMoney(Valor)); SendClientMessage(playerid,COLOR_YELLOW,string); format(string,sizeof(string),"IMPOSTOS: R$%d",impostocpmf); SendClientMessage(playerid,COLOR_YELLOW,string); format(string, sizeof string, "[IMPOSTOS] Transferência valor: %d | IMPOSTO NO COFRE: %d", strval(inputtext),impostocpmf); SendFamilyMessage(7, COLOR_LIGHTBLUE, string); CofreOrg[7][Dinheiro] += impostocpmf; SendClientMessage(playerid, COLOR_GREEN, "|******************************************|"); SendClientMessage(TransferenciaID[playerid], COLOR_GREEN, "|******* Tranferencia Recebida ******|"); format(string,sizeof(string),"Saldo Anterior: R$%s",ConvertMoney(antigo2)); SendClientMessage(TransferenciaID[playerid],COLOR_YELLOW,string); format(string,sizeof(string),"Novo Saldo: R$%s",ConvertMoney(PlayerInfo[TransferenciaID[playerid]][pConta])); SendClientMessage(TransferenciaID[playerid],COLOR_YELLOW,string); format(string,sizeof(string),"Nome do Depositante: %s",NomePlayer(TransferenciaID[playerid])); SendClientMessage(TransferenciaID[playerid],COLOR_YELLOW,string); format(string,sizeof(string),"Quantidade Transferida: R$%s",ConvertMoney(Valor)); SendClientMessage(TransferenciaID[playerid],COLOR_YELLOW,string); SendClientMessage(TransferenciaID[playerid], COLOR_GREEN, "|******************************************|"); format(string, sizeof(string), "Voce transferiu R$%s para a conta bancaria de %s [ID: %d].", ConvertMoney(strval(inputtext)), PlayerName(TransferenciaID[playerid]),TransferenciaID[playerid]); PlayerPlaySound(playerid, 1058, 0.0, 0.0, 0.0); SendClientMessage(playerid, COLOR_GRAD1, string); format(string, sizeof(string), "Voce recebeu R$%s em sua conta bancaria, Nome do depositante: %s [ID: %d].", ConvertMoney(strval(inputtext)), PlayerName(playerid), playerid); SendClientMessage(TransferenciaID[playerid], COLOR_LIGHTBLUE, string); //format(string, sizeof(string), "AdmAviso: %s transferiu R$%s para %s [IP: %s]", PlayerName(playerid), ConvertMoney(strval(inputtext)), PlayerName(TransferenciaID[playerid]), PlayerIP); //ABroadCast(COLOR_YELLOW,string,1); printf("%s", string); CNFLogs("pay", string); PlayerPlaySound(TransferenciaID[playerid], 1052, 0.0, 0.0, 0.0); } else { SendClientMessage(playerid, COLOR_GRAD1, "Transferencia Invalida ou sem saldo para cubrir transferencia e impostos!"); } } } else { format(string, sizeof(string), " %d Nao esta ativo", TransferenciaID[playerid]); SendClientMessage(playerid, COLOR_GRAD1, string); } } } CaixaEletronico_Ok[playerid] = 0; return true; } return true; } if(dialogid == DIALOG_TRANSFERIR) { if(response == 0) { PlayerPlaySound(playerid,1057,0.0,0.0,0.0); CaixaEletronico_Ok[playerid] = 0; return true; } if(response >= 1) { PlayerPlaySound(playerid,1057,0.0,0.0,0.0); if(CaixaEletronico_Ok[playerid] == 4) { PlayerPlaySound(playerid,1057,0.0,0.0,0.0); TransferenciaID[playerid] = strval(inputtext); ShowPlayerDialog(playerid, DIALOG_CAIXA_ELETRONICO_INPUT, DIALOG_STYLE_INPUT, " Transferencia","Digite a Quantia que Deseja Transferir:", "Confirma", "Sair"); } return true; } return true; } if(dialogid == 9283) { if(IsPlayerConnected(PedirAvaliar[playerid])) { if(response) { new Vagao = listitem+1; format(string, sizeof(string), "Voce avaliou o administrador %s em %d pontos", PlayerName(PedirAvaliar[playerid]), Vagao); SendClientMessage(playerid, 0x33CCFFAA, string); format(string, sizeof(string), "Voce foi avaliado por %s em %d pontos.",PlayerName(playerid), Vagao); SendClientMessage(PedirAvaliar[playerid], 0x33CCFFAA, string); PlayerInfo[PedirAvaliar[playerid]][pAvaliacoes] += 1; PlayerInfo[PedirAvaliar[playerid]][pAFinal] += Vagao; } } else SendClientMessage(playerid, 0xBFC0C2FF, "O admin nao esta mais conectado!"); return true; } if(dialogid == 9282) { if(IsPlayerConnected(PedirAvaliar[playerid])) { if(response) { SendClientMessage(playerid, COLOR_GRAD2, "Obrigado pela sua Avaliacao Positiva!"); SendClientMessage(PedirAvaliar[playerid], COLOR_LIGHTBLUE, "Voce foi avaliado positivamente!"); PlayerInfo[PedirAvaliar[playerid]][pHelper] += 1; SetVagaHelper(NomePlayer(PedirAvaliar[playerid]), PlayerInfo[PedirAvaliar[playerid]][pHelper]); } else { SendClientMessage(playerid, COLOR_GRAD2, "Voce avaliou o Helper Negativamente!"); SendClientMessage(PedirAvaliar[playerid], COLOR_LIGHTRED, "Voce foi avaliado negativamente!"); } } else SendClientMessage(playerid, COLOR_GRAD2, "O helper nao esta mais conectado!"); return true; } if(dialogid == 3423) { if(response == 0) { SendClientMessage(playerid, COLOR_DBLUE, "Ok, voce nao quis ir ao Local.");return true; } if(response >= 1) { if(PlayerInfo[playerid][pJailed] >= 1) { SendClientMessage(playerid, COLOR_GREY, "Voce esta preso e por isso nao podera ir ao Local"); return true; } SetPlayerInterior(playerid, inta); ResetPlayerWeapons(playerid); SetPlayerVirtualWorld(playerid, vwa); SendClientMessage(playerid, COLOR_LIGHTBLUE, "Obrigado por comparecer!"); SetPlayerPos(playerid,ex,ey,ez); PlayerBizzID[playerid] = PlayerBizzID[GetPVarInt(playerid, "AdminID")]; return true; } return true; } if(dialogid == 3469) { if(response == 0) { SendClientMessage(playerid, COLOR_DBLUE, "Ok, voce nao quis ir ao Local.");return true; } if(response >= 1) { if(PlayerInfo[playerid][pJailed] >= 1) { SendClientMessage(playerid, COLOR_GREY, "Voce esta preso e por isso nao podera ir ao Local"); return true; } SetPlayerInterior(playerid, inta); SetPlayerVirtualWorld(playerid, vwa); SendClientMessage(playerid, COLOR_LIGHTBLUE, "Obrigado por comparecer ao Evento de X1!"); SetPlayerPos(playerid,ex,ey,ez); ResetPlayerWeapons(playerid); TempDropArmasBody[playerid] = 0; GivePlayerWeapon(playerid, 24, 999); GivePlayerWeapon(playerid, 25, 999); GivePlayerWeapon(playerid, 29, 999); GivePlayerWeapon(playerid, 30, 999); return true; } return true; } //========================================================================================== if(dialogid == DIALOG_LOGID) { if(response) { if(listitem == 0) //Cores { ShowPlayerDialog(playerid, dialogid+1, DIALOG_STYLE_LIST, "Selecione a Cor", "Preto\nBranco\nVermelho\nAzul\nVerde\nAmarelo\nRosa\nMarrom\nVoltar", "Selecionar", "Sair"); } if(listitem == 1) //Rodas { ShowPlayerDialog(playerid, dialogid+2, DIALOG_STYLE_LIST, "Selecione o Tipo da Roda", "Offroad\nMega\nWires\nTwist\nGrove\nImport\nAtomic\nAhab\nVirtual\nAccess\nProxima Pagina\nVoltar", "Selecionar", "Sair"); } if(listitem == 2) //Volume do radio { ShowPlayerDialog(playerid, dialogid+3, DIALOG_STYLE_LIST, "Selecione o Volume do Radio", "Alto\nSuper Alto\nUltra Alto\nKing Alto\nVoltar", "Selecionar", "Sair"); } if(listitem == 3) //Tunar meenu do carro { ShowPlayerDialog(playerid, dialogid+4, DIALOG_STYLE_LIST, "Tunar carro", "Suspencao\nNitro x10\nArrumar o Carro\nVoltar", "Selecionar", "Sair"); } if(listitem == 4) //Rodas 2 { ShowPlayerDialog(playerid, dialogid+5, DIALOG_STYLE_LIST, "Selecione o Tipo da Roda", "Trance\nShadow\nRimshine\nClassic\nCutter\nSwitch\nDollar\nVoltar", "Selecionar", "Sair"); } } } if(dialogid == DIALOG_LOGID+1) //Cores { if(response) { if(listitem == 0) { new car = GetPlayerVehicleID(playerid); ChangeVehicleColor(car,0,0);//Preto PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,": Voce Pintou seu carro de Preto."); ShowPlayerDialog(playerid, dialogid+1, DIALOG_STYLE_LIST, "Selecione a Cor", "Preto\nBranco\nVermelho\nAzul\nVerde\nAmarelo\nRosa\nMarrom\nVoltar", "Selecionar", "Sair"); } if(listitem == 1) { new car = GetPlayerVehicleID(playerid); ChangeVehicleColor(car,1,1);//Branco PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,"Server: Voce Pintou seu carro de Branco."); ShowPlayerDialog(playerid, dialogid+1, DIALOG_STYLE_LIST, "Selecione a Cor", "Preto\nBranco\nVermelho\nAzul\nVerde\nAmarelo\nRosa\nMarrom\nVoltar", "Selecionar", "Sair"); } if(listitem == 2) { new car = GetPlayerVehicleID(playerid); ChangeVehicleColor(car,3,3);//Vermelho PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,"Server: Voce Pintou seu carro de Vermelho."); ShowPlayerDialog(playerid, dialogid+1, DIALOG_STYLE_LIST, "Selecione a Cor", "Preto\nBranco\nVermelho\nAzul\nVerde\nAmarelo\nRosa\nMarrom\nVoltar", "Selecionar", "Sair"); } if(listitem == 3) { new car = GetPlayerVehicleID(playerid); ChangeVehicleColor(car,79,79); //Azul PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,"Server: Voce Pintou seu carro de Azul."); ShowPlayerDialog(playerid, dialogid+1, DIALOG_STYLE_LIST, "Selecione a Cor", "Preto\nBranco\nVermelho\nAzul\nVerde\nAmarelo\nRosa\nMarrom\nVoltar", "Selecionar", "Sair"); } if(listitem == 4) { new car = GetPlayerVehicleID(playerid); ChangeVehicleColor(car,86,86);//Verde PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,"Server: Voce Pintou seu carro de Verde."); ShowPlayerDialog(playerid, dialogid+1, DIALOG_STYLE_LIST, "Selecione a Cor", "Preto\nBranco\nVermelho\nAzul\nVerde\nAmarelo\nRosa\nMarrom\nVoltar", "Selecionar", "Sair"); } if(listitem == 5) { new car = GetPlayerVehicleID(playerid); ChangeVehicleColor(car,6,6);//Amarelo PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,"Server: Voce Pintou seu carro de Amarelo."); ShowPlayerDialog(playerid, dialogid+1, DIALOG_STYLE_LIST, "Selecione a Cor", "Preto\nBranco\nVermelho\nAzul\nVerde\nAmarelo\nRosa\nMarrom\nVoltar", "Selecionar", "Sair"); } if(listitem == 6) { new car = GetPlayerVehicleID(playerid); ChangeVehicleColor(car,126,126);//Rosa PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,"Server: Voce Pintou seu carro de Rosa."); ShowPlayerDialog(playerid, dialogid+1, DIALOG_STYLE_LIST, "Selecione a Cor", "Preto\nBranco\nVermelho\nAzul\nVerde\nAmarelo\nRosa\nMarrom\nVoltar", "Selecionar", "Sair"); } if(listitem == 7) { new car = GetPlayerVehicleID(playerid); ChangeVehicleColor(car,66,66);//Marrom PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,"Server: Voce Pintou seu carro de Marrom."); ShowPlayerDialog(playerid, dialogid+1, DIALOG_STYLE_LIST, "Selecione a Cor", "Preto\nBranco\nVermelho\nAzul\nVerde\nAmarelo\nRosa\nMarrom\nVoltar", "Selecionar", "Sair"); } if(listitem == 8) { ShowPlayerDialog(playerid, dialogid, DIALOG_STYLE_LIST, "Tunar carro","Cores\nRodas\nVolume do Carro\nTunar Carro", "Selecionar", "Sair"); } } } if(dialogid == DIALOG_LOGID+2)//Rodas { if(response) { if(listitem == 0)//Offroad { new car = GetPlayerVehicleID(playerid); AddVehicleComponent(car,1025); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,"Server Voce adicionou Offroad Rodas."); ShowPlayerDialog(playerid, dialogid+2, DIALOG_STYLE_LIST, "Selecione o Tipo da Roda", "Offroad\nMega\nWires\nTwist\nGrove\nImport\nAtomic\nAhab\nVirtual\nAccess\nProxima Pagina\nVoltar", "Selecionar", "Sair"); } if(listitem == 1)//Mega { new car = GetPlayerVehicleID(playerid); AddVehicleComponent(car,1074); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,"Server: Voce adicionou Rodas Mega."); ShowPlayerDialog(playerid, dialogid+2, DIALOG_STYLE_LIST, "Selecione o Tipo da Roda", "Offroad\nMega\nWires\nTwist\nGrove\nImport\nAtomic\nAhab\nVirtual\nAccess\nProxima Pagina\nVoltar", "Selecionar", "Sair"); } if(listitem == 2)//Wires { new car = GetPlayerVehicleID(playerid); AddVehicleComponent(car,1076); SendClientMessage(playerid,COLOR_YELLOW,"Server: Voce adicionou Wires Rodas."); ShowPlayerDialog(playerid, dialogid+2, DIALOG_STYLE_LIST, "Selecione o Tipo da Roda", "Offroad\nMega\nWires\nTwist\nGrove\nImport\nAtomic\nAhab\nVirtual\nAccess\nProxima Pagina\nVoltar", "Selecionar", "Sair"); } if(listitem == 3)//Twist { new car = GetPlayerVehicleID(playerid); AddVehicleComponent(car,1078); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,"Server: Voce adicionou Twist Rodas."); ShowPlayerDialog(playerid, dialogid+2, DIALOG_STYLE_LIST, "Selecione o Tipo da Roda", "Offroad\nMega\nWires\nTwist\nGrove\nImport\nAtomic\nAhab\nVirtual\nAccess\nProxima Pagina\nVoltar", "Selecionar", "Sair"); } if(listitem == 4)//Groove { new car = GetPlayerVehicleID(playerid); AddVehicleComponent(car,1081); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,"Server: Voce adicionou Groove Rodas."); ShowPlayerDialog(playerid, dialogid+2, DIALOG_STYLE_LIST, "Selecione o Tipo da Roda", "Offroad\nMega\nWires\nTwist\nGrove\nImport\nAtomic\nAhab\nVirtual\nAccess\nProxima Pagina\nVoltar", "Selecionar", "Sair"); } if(listitem == 5)//Import { new car = GetPlayerVehicleID(playerid); AddVehicleComponent(car,1082); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,"Server: Voce adicionou Import Rodas."); ShowPlayerDialog(playerid, dialogid+2, DIALOG_STYLE_LIST, "Selecione o Tipo da Roda", "Offroad\nMega\nWires\nTwist\nGrove\nImport\nAtomic\nAhab\nVirtual\nAccess\nProxima Pagina\nVoltar", "Selecionar", "Sair"); } if(listitem == 6)//Atomic { new car = GetPlayerVehicleID(playerid); AddVehicleComponent(car,1085); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,"Server: Voce adicionou Atomic Rodas."); ShowPlayerDialog(playerid, dialogid+2, DIALOG_STYLE_LIST, "Selecione o Tipo da Roda", "Offroad\nMega\nWires\nTwist\nGrove\nImport\nAtomic\nAhab\nVirtual\nAccess\nProxima Pagina\nVoltar", "Selecionar", "Sair"); } if(listitem == 7)//Ahab { new car = GetPlayerVehicleID(playerid); AddVehicleComponent(car,1096); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,"Server: Voce adicionou Ahab Rodas."); ShowPlayerDialog(playerid, dialogid+2, DIALOG_STYLE_LIST, "Selecione o Tipo da Roda", "Offroad\nMega\nWires\nTwist\nGrove\nImport\nAtomic\nAhab\nVirtual\nAccess\nProxima Pagina\nVoltar", "Selecionar", "Sair"); } if(listitem == 8)//Virtual { new car = GetPlayerVehicleID(playerid); AddVehicleComponent(car,1097); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,"Server: Voce adicionou Virtual Rodas"); ShowPlayerDialog(playerid, dialogid+2, DIALOG_STYLE_LIST, "Selecione o Tipo da Roda", "Offroad\nMega\nWires\nTwist\nGrove\nImport\nAtomic\nAhab\nVirtual\nAccess\nProxima Pagina\nVoltar", "Selecionar", "Sair"); } if(listitem == 9)//Access { new car = GetPlayerVehicleID(playerid); AddVehicleComponent(car,1098); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,"Server: Voce adicionou Access Rodas."); ShowPlayerDialog(playerid, dialogid+2, DIALOG_STYLE_LIST, "Selecione o Tipo da Roda", "Offroad\nMega\nWires\nTwist\nGrove\nImport\nAtomic\nAhab\nVirtual\nAccess\nProxima Pagina\nVoltar", "Selecionar", "Sair"); } if(listitem == 10)//Proxima pagina (meenu de rodas 2) { ShowPlayerDialog(playerid, dialogid+5, DIALOG_STYLE_LIST, "Selecione o tipo da Roda", "Trance\nShadow\nRimshine\nClassic\nCutter\nSwitch\nDollar\nVoltar", "Selecionar", "Sair"); } if(listitem == 11)//Voltar { ShowPlayerDialog(playerid, dialogid, DIALOG_STYLE_LIST, "Tunar carro","Cores\nRodas\nVolume do Carro\nTunar Carro", "Selecionar", "Sair"); } } } if(dialogid == DIALOG_LOGID+3)//Volume do radio { if(response) { if(listitem == 0)//Alto { new car = GetPlayerVehicleID(playerid); AddVehicleComponent(car,1086); PutSound(car); VehicleInfo[car][SoundCar] = 1086; PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,"Server: Voce adicionou Volume Alto sistema."); ShowPlayerDialog(playerid, dialogid+3, DIALOG_STYLE_LIST, "Selecione o Volume do Radio", "Alto\nSuper Alto\nUltra Alto\nKing Alto\nVoltar", "Selecionar", "Sair"); } if(listitem == 1)//Super Alto { new car = GetPlayerVehicleID(playerid); AddVehicleComponent(car,1086); PutSound(car); VehicleInfo[car][SoundCar] = 1086; PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,"Server: Voce adicionou Volume Super Alto sistema."); ShowPlayerDialog(playerid, dialogid+3, DIALOG_STYLE_LIST, "Selecione o Volume do Radio", "Alto\nSuper Alto\nUltra Alto\nKing Alto\nVoltar", "Selecionar", "Sair"); } if(listitem == 2)//Ultra Alto { new car = GetPlayerVehicleID(playerid); AddVehicleComponent(car,1086); PutSound(car); VehicleInfo[car][SoundCar] = 1086; PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,"Server: Voce adicionou Volume Ultra Alto sistema."); ShowPlayerDialog(playerid, dialogid+3, DIALOG_STYLE_LIST, "Selecione o Volume do Radio", "Alto\nSuper Alto\nUltra Alto\nKing Alto\nVoltar", "Selecionar", "Sair"); } if(listitem == 3)//King Alto { new car = GetPlayerVehicleID(playerid); AddVehicleComponent(car,1086); PutSound(car); VehicleInfo[car][SoundCar] = 1086; PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,"Server: Voce adicionou Volume King Alto sistema."); ShowPlayerDialog(playerid, dialogid+3, DIALOG_STYLE_LIST, "Selecione o Volume do Radio", "Alto\nSuper Alto\nUltra Alto\nKing Alto\nVoltar", "Selecionar", "Sair"); } if(listitem == 4)//Voltar { ShowPlayerDialog(playerid, dialogid, DIALOG_STYLE_LIST, "Tunar carro","Cores\nRodas\nVolume do Carro\nTunar Carro", "Selecionar", "Sair"); } } } if(dialogid == DIALOG_LOGID+4)//Tunar carro 2 { if(response) { if(listitem == 0)//Suspencao { new car = GetPlayerVehicleID(playerid); AddVehicleComponent(car,1087); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,"Server:Voce adicionou Suspencao para o carro."); ShowPlayerDialog(playerid, dialogid+4, DIALOG_STYLE_LIST, "Tunar carro", "Suspencao\nNitro x10\nArrumar o Carro\nVoltar", "Selecionar", "Sair"); } if(listitem == 1)//Nitro x10 { new car = GetPlayerVehicleID(playerid); AddVehicleComponent(car,1010); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,"Server: Voce adicionou Nitro 10x de carro."); ShowPlayerDialog(playerid, dialogid+4, DIALOG_STYLE_LIST, "Tunar carro", "Suspencao\nNitro x10\nArrumar o Carro\nVoltar", "Selecionar", "Sair"); } if(listitem == 2)//Reparar carro { new car = GetPlayerVehicleID(playerid); RepairVehicleWithBomber(car); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,"Server: Voce tem reparado com exito carro."); ShowPlayerDialog(playerid, dialogid+4, DIALOG_STYLE_LIST, "Tunar carro", "Suspencao\nNitro x10\nArrumar o Carro\nVoltar", "Selecionar", "Sair"); } if(listitem == 3)//Voltar { ShowPlayerDialog(playerid, dialogid, DIALOG_STYLE_LIST, "Tunar carro","Cores\nRodas\nVolume do Carro\nTunar Carro", "Selecionar", "Sair"); } } } if(dialogid == DIALOG_LOGID+5) { if(response) { if(listitem == 0)//Trance { new car = GetPlayerVehicleID(playerid); AddVehicleComponent(car,1084); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,"Server: Voce adicionou Trance Rodas."); ShowPlayerDialog(playerid, dialogid+5, DIALOG_STYLE_LIST, "Selecione o tipo da Roda", "Trance\nShadow\nRimshine\nClassic\nCutter\nSwitch\nDollar\nVoltar", "Selecionar", "Sair"); } if(listitem == 1)//Shadow { new car = GetPlayerVehicleID(playerid); AddVehicleComponent(car,1073); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,"Server: Voce adicionou Shadow Rodas."); ShowPlayerDialog(playerid, dialogid+5, DIALOG_STYLE_LIST, "Selecione o tipo da Roda", "Trance\nShadow\nRimshine\nClassic\nCutter\nSwitch\nDollar\nVoltar", "Selecionar", "Sair"); } if(listitem == 2)//Rimshine { new car = GetPlayerVehicleID(playerid); AddVehicleComponent(car,1075); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,"Server: Voce adicionou Rimshine Rodas."); ShowPlayerDialog(playerid, dialogid+5, DIALOG_STYLE_LIST, "Selecione o tipo da Roda", "Trance\nShadow\nRimshine\nClassic\nCutter\nSwitch\nDollar\nVoltar", "Selecionar", "Sair"); } if(listitem == 3)//Classic { new car = GetPlayerVehicleID(playerid); AddVehicleComponent(car,1077); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,"Server: Voce adicionou Classic Rodas."); ShowPlayerDialog(playerid, dialogid+5, DIALOG_STYLE_LIST, "Selecione o tipo da Roda", "Trance\nShadow\nRimshine\nClassic\nCutter\nSwitch\nDollar\nVoltar", "Selecionar", "Sair"); } if(listitem == 4)//Cutter { new car = GetPlayerVehicleID(playerid); AddVehicleComponent(car,1079); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,"Server: Voce adicionou Cutter Rodas."); ShowPlayerDialog(playerid, dialogid+5, DIALOG_STYLE_LIST, "Selecione o tipo da Roda", "Trance\nShadow\nRimshine\nClassic\nCutter\nSwitch\nDollar\nVoltar", "Selecionar", "Sair"); } if(listitem == 5)//Switch { new car = GetPlayerVehicleID(playerid); AddVehicleComponent(car,1080); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,"Server: Voce adicionou Switch Rodas."); ShowPlayerDialog(playerid, dialogid+5, DIALOG_STYLE_LIST, "Selecione o tipo da Roda", "Trance\nShadow\nRimshine\nClassic\nCutter\nSwitch\nDollar\nVoltar", "Selecionar", "Sair"); } if(listitem == 6)//Dollar { new car = GetPlayerVehicleID(playerid); AddVehicleComponent(car,1083); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,"Server: Voce adicionou Dollar Rodas."); ShowPlayerDialog(playerid, dialogid+5, DIALOG_STYLE_LIST, "Selecione o tipo da Roda", "Trance\nShadow\nRimshine\nClassic\nCutter\nSwitch\nDollar\nVoltar", "Selecionar", "Sair"); } if(listitem == 7)//Voltar { ShowPlayerDialog(playerid, dialogid+2, DIALOG_STYLE_LIST, "Selecione o Tipo da Roda", "Offroad\nMega\nWires\nTwist\nGrove\nImport\nAtomic\nAhab\nVirtual\nAccess\nProxima Pagina\nVoltar", "Selecionar", "Sair"); } } } if(dialogid == 1) { if(!response) { SendClientMessage(playerid, COLOR_LIGHTRED, "Caso voce queira logar, USE: /logar [senha]"); showDialogLogin(playerid); return true; } else { if(strlen(inputtext) == 0) { showDialogLogin(playerid); format(gstring, sizeof gstring, "\n{00BFFF}•• {FFFFFF}Sua conta: {00BFFF}%s {FFFFFF}esta REGISTRADA\n\n\ {00BFFF}•• {FFFFFF}Digite sua senha para efetuar o LOGIN\n\n\ {00FFFF}•• {FFFFFF}OBS: Nao passe sua senha a ninguem!\n\n", PlayerName(playerid)); ShowPlayerDialog(playerid, 1, DIALOG_STYLE_PASSWORD, "{FFFFFF}Efetuando {00BFFF}Login", gstring, "Logar", "Sair"); return true; } ForT:logar(playerid, inputtext); } return true; } if(dialogid == DIALOG_LOGIN2) { if(response) { if(listitem == 0) { SetPlayerFightingStyle (playerid, FIGHT_STYLE_ELBOW); PlayerInfo[playerid][pLuta] = 1; } if(listitem == 1) { SetPlayerFightingStyle (playerid, FIGHT_STYLE_BOXING); PlayerInfo[playerid][pLuta] = 2; } if(listitem == 2) { SetPlayerFightingStyle (playerid, FIGHT_STYLE_GRABKICK); PlayerInfo[playerid][pLuta] = 3; } if(listitem == 3) { SetPlayerFightingStyle (playerid, FIGHT_STYLE_KNEEHEAD); PlayerInfo[playerid][pLuta] = 4; } if(listitem == 4) { SetPlayerFightingStyle (playerid, FIGHT_STYLE_KUNGFU); PlayerInfo[playerid][pLuta] = 5; } if(listitem == 5) { SetPlayerFightingStyle (playerid, FIGHT_STYLE_NORMAL); PlayerInfo[playerid][pLuta] = 6; } } return true; } if(dialogid == 2) { if(response == 0) { SendClientMessage(playerid, COLOR_LIGHTRED, "Caso queira registrar-se Use /registrar ."); return true; } if(response >= 1) { if(strlen(inputtext) == 0) { format(string, sizeof string,"\n{7CFC00}» {FFFFFF}Ola %s Seja bem vindo ao servidor BRASIL POBRE RP\n\n\ {7CFC00}» {FFFFFF}Sua conta: {7CFC00}%s {FFFFFF}esta {00FFFF}REGISTRADA\n\ {7CFC00}» {FFFFFF}Digite sua senha para efetuar o LOGIN\n\n\ {FFFF00} {FFFFFF}OBS: NAO PASSE SUA SENHA PRA NINGUEM!\n\n", PlayerName(playerid)); ShowPlayerDialog(playerid, 2, DIALOG_STYLE_PASSWORD, "Fazendo Login", string, "Cadastrar", "Sair"); return true; } if(!strlen(inputtext)) { format(string, sizeof string,"\n{7CFC00}» {FFFFFF}Ola %s Seja bem vindo ao servidor BRASIL POBRE RP\n\n\ {7CFC00}» {FFFFFF}Sua conta: {7CFC00}%s {FFFFFF}esta {00FFFF}NAO REGISTRADA\n\ {7CFC00}» {FFFFFF}Digite sua senha para efetuar o REGISTRO\n\n\ {FFFF00} {FFFFFF}OBS: NAO PASSE SUA SENHA PRA NINGUEM!\n\n", PlayerName(playerid)); ShowPlayerDialog(playerid, 2, DIALOG_STYLE_PASSWORD, "Fazendo Login", string, "Cadastrar", "Sair"); return 1; } ForT:registrar(playerid, inputtext); return true; } return true; } if(dialogid == 3) { if(response == 0) { BPFInfo[playerid][Tels] = 0; SendClientMessage(playerid, COLOR_DBLUE, "Voce cancelou a lista de opcões!"); return 1; } if(response >= 1) { if(listitem == 1) { if(PlayerInfo[playerid][pPhoneBook] == 1) { format(string,sizeof(string),"%d",BPFInfo[playerid][Tels]); ForT:ligar(playerid, string); return 1; } else { SendClientMessage(playerid, COLOR_GRAD1, "Voce nao possui uma agenda, compre em um Mercado 24/7 (use: /gps » Propriedades)."); return 1; } } if(listitem == 2) { if (PlayerInfo[playerid][pPhoneBook] == 1) { ShowPlayerDialog(playerid, 9958, DIALOG_STYLE_INPUT, "Enviar SMS", "Digite a sua mensagem abaixo:", "Enviar", "Cancelar"); return 1; } else { SendClientMessage(playerid, COLOR_GRAD1, "Voce nao possui uma agenda, compre em um Mercado 24/7 (use: /gps » Propriedades)."); return 1; } } if(listitem == 3) { ShowPlayerDialog(playerid, 9959, DIALOG_STYLE_INPUT, "Mandar Particular", "Digite a sua mensagem abaixo:", "Enviar", "Cancelar"); return 1; } if(listitem == 4) { format(string,sizeof(string),"%d",BPFInfo[playerid][pTels]); ForT:vercarteira(playerid, string); return 1; } if(listitem == 5) { format(string,sizeof(string),"%d",BPFInfo[playerid][pTels]); ForT:explodir(playerid, string); return 1; } if(listitem == 6) { format(string,sizeof(string),"%d",BPFInfo[playerid][pTels]); ForT:tapa(playerid, string); return 1; } if(listitem == 7) { ShowPlayerDialog(playerid, 9960, DIALOG_STYLE_INPUT, "Kickar o Jogador", "Digite o Motivo do Kick Abaixo:", "Kickar", "Cancelar"); return 1; } if(listitem == 8) { ShowPlayerDialog(playerid, 9961, DIALOG_STYLE_INPUT, "Banir o Jogador", "Digite o Motivo do Ban Abaixo:", "Banir", "Cancelar"); return 1; } if(listitem == 9) { format(string,sizeof(string),"%d",BPFInfo[playerid][pTels]); ForT:cascudo(playerid, string); return 1; } if(listitem == 10) { format(string,sizeof(string),"%d",BPFInfo[playerid][pTels]); ForT:tv(playerid, string); return 1; } if(listitem == 11) { format(string,sizeof(string),"%d",BPFInfo[playerid][pTels]); ForT:trazer(playerid, string); return 1; } if(listitem == 12) { format(string,sizeof(string),"%d",BPFInfo[playerid][pTels]); ForT:ir(playerid, string); return 1; } return 1; } } if(dialogid == 9958) { if(response == 0) { BPFInfo[playerid][Tels] = 0; return 1; } if(response >= 1) { format(string,sizeof(string),"%d %s",BPFInfo[playerid][Tels],inputtext); if(strfind(inputtext,"%", true) != -1) return SendClientMessage(playerid, COR_LIGHTRED, "Voce nao pode usar caracteres especiais, e alguns nomes restritos."); ForT:sms(playerid, string); return 1; } return 1; } if(dialogid == 9960) { if(response == 0) { BPFInfo[playerid][Tels] = 0; return 1; } if(response >= 1) { format(string,sizeof(string),"%d %s",BPFInfo[playerid][pTels],inputtext); ForT:kick(playerid, string); return 1; } return 1; } if(dialogid == 9959) { if(response == 0) { BPFInfo[playerid][Tels] = 0; return 1; } if(response >= 1) { if(strfind(inputtext,"%", true) != -1) return SendClientMessage(playerid, COR_LIGHTRED, "Voce nao pode usar caracteres especiais, e alguns nomes restritos."); format(string,sizeof(string),"%d %s",BPFInfo[playerid][pTels],inputtext); ForT:par(playerid, string); return 1; } return 1; } if(dialogid == 9487) { if(response == 0) { BPFInfo[playerid][Tels] = 0; return 1; } if(response >= 1) { if(strfind(inputtext,"%", true) != -1) return SendClientMessage(playerid, COR_LIGHTRED, "Voce nao pode usar caracteres especiais, e alguns nomes restritos."); format(string,sizeof(string),"%d %s",BPFInfo[playerid][pTels],inputtext); ForT:par(playerid, string); return 1; } return 1; } if(dialogid == DIALOG_PARTICULAR) { if(response){ ShowPlayerDialog(playerid, DIALOG_PARTICULAR+1, DIALOG_STYLE_INPUT, "Mandar Particular", "Digite a sua mensagem abaixo:", "Enviar", "Cancelar"); } } if(dialogid == DIALOG_SMS){ if(response){ ShowPlayerDialog(playerid, DIALOG_SMS+1, DIALOG_STYLE_INPUT, "Enviar SMS", "Digite a sua mensagem abaixo:", "Enviar", "Cancelar"); } } if(dialogid == DIALOG_SMS+1){ if(response){ if(strfind(inputtext,"%", true) != -1) return SendClientMessage(playerid, COR_LIGHTRED, "Voce nao pode usar caracteres especiais, e alguns nomes restritos."); format(string,sizeof(string),"%d %s",BPFInfo[playerid][Tels],inputtext); ForT:sms(playerid, string); return 1; } else{ BPFInfo[playerid][Tels] = 0; return 1; } } if(dialogid == DIALOG_PARTICULAR+1){ if(response){ if(strfind(inputtext,"%", true) != -1) return SendClientMessage(playerid, COR_LIGHTRED, "Voce nao pode usar caracteres especiais, e alguns nomes restritos."); format(string,sizeof(string),"%d %s",BPFInfo[playerid][pTels],inputtext); ForT:par22(playerid, string); return 1; } else{ BPFInfo[playerid][Tels] = 0; return 1; } } if(dialogid == 9961) { if(response == 0) { BPFInfo[playerid][Tels] = 0; return 1; } if(response >= 1) { format(string,sizeof(string),"%d %s",BPFInfo[playerid][pTels],inputtext); ForT:ban(playerid, string); return 1; } return 1; } //============================================================== if(dialogid == 9) { MEGAString[0] = EOS; if(response == 0) { Controle(playerid, 0); ClearChatbox(playerid, 100); PlayerInfo[playerid][pSex] = 2; SetPlayerSkin(playerid, 216); PlayerInfo[playerid][pSkin] = 216; RegistrationStep[playerid] = 0; SendClientMessage(playerid, COLOR_GRAD1, "Ok, Voce e uma Mulher!"); IniciarTutorial(playerid); return true; } if(response == 1) { Controle(playerid, 0); ClearChatbox(playerid, 100); PlayerInfo[playerid][pSex] = 1; SetPlayerSkin(playerid, 289); PlayerInfo[playerid][pSkin] = 289; RegistrationStep[playerid] = 0; SendClientMessage(playerid, COLOR_GRAD1, "Ok, Voce e um homem!"); IniciarTutorial(playerid); return true; } return true; } if(dialogid == 875) { if(response == 1) { if(listitem == 0) // Los Santos { SetPlayerPos(playerid, 1450.0985,-2287.4214,13.5469); ShowPlayerDialog(playerid,874,DIALOG_STYLE_MSGBOX,"Voce entrou na Cidade Aperte [ok] para continuar","{FFFFFF}","OK",""); } if(listitem == 1) // SF { SetPlayerPos(playerid, -1975.421, 885.792, 45.203); ShowPlayerDialog(playerid,874,DIALOG_STYLE_MSGBOX,"Voce entrou na Cidade Aperte [ok] para continuar","{FFFFFF}","OK",""); } if(listitem == 2) // Las Aventuras { SetPlayerPos(playerid, 1705.4833,1480.4753,10.7879); ShowPlayerDialog(playerid,874,DIALOG_STYLE_MSGBOX,"Voce entrou na Cidade Aperte [ok] para continuar","{FFFFFF}","OK",""); } } } if(dialogid == 874) { SetTimerEx("AskPlayerEmail_Timer", 1000, false, "i", playerid); } if(dialogid == D_QUER_VER_TUTORIAL) { if(response) // Sim { NumeroTutorial[playerid] = 1; ShowPlayerDialog(playerid, 30000, DIALOG_STYLE_MSGBOX, "{00FF00}Dica sobre o - {FFFFFF}tutorial", "{FFFF00}Dica: {FFFFFF}O Tutorial demora 6 segundos para passar.\n\ {FFFFFF}Voce nao precisa clicar nenhuma tecla. So espere o tempo passar.\n\ {FFFFFF}Se voce por algum acaso {00FFFF}sair {FFFFFF}do servidor, voce tera\n\ {FFFFFF}que ver o tutorial novamente. Bom tutorial e bom jogo!\n\n\ - Com carinho, equipe CNF.", "Ok", #); PlayerInfo[playerid][pTimerTuto] = SetTimerEx("STuto", 1000, 0, "ii", playerid, NumeroTutorial[playerid]); } else // Nao { NumeroTutorial[playerid] = 13; STuto(playerid, NumeroTutorial[playerid]); SetTimerEx("AskPcOuAndroid", 5000, false, "i", playerid); } } if(dialogid == 3334) { if(response == 1) { new vehicleid = GetPlayerVehicleID(playerid); if (PlayerInfo[playerid][pConta] >= GetVehicleCost(vehicleid)) { PlayerCarroConce[playerid] = vehicleid; strmid(VehicleInfo[vehicleid][vOwner], PlayerName(playerid), 0, strlen(PlayerName(playerid)), MAX_PLAYER_NAME); PlayerInfo[playerid][pConta] -= GetVehicleCost(vehicleid); new precovei = GetVehicleCost(vehicleid)/10; if(Concessionaria[playerid] == 1) { if(SBizzInfo[0][sbProducts] > 0) { ExtortionSBiz(0, precovei); SBizzInfo[0][sbTill] += GetVehicleCost(vehicleid)/2; SBizzInfo[0][sbProducts]--; } } if(Concessionaria[playerid] == 2) { if(SBizzInfo[30][sbProducts] > 0) { ExtortionSBiz(30, precovei); SBizzInfo[30][sbTill] += GetVehicleCost(vehicleid)/2; SBizzInfo[30][sbProducts]--; } } TogglePlayerControllableEx(playerid, true); CarShopping[playerid] = false; INCOMPRA[playerid] = 0; carbrowse[playerid] = 0; GameTextForPlayer(playerid, "Parabens pela compra!", 1000, 3); PlayerTextDrawHide(playerid, AjudaConce1[playerid]); PlayerTextDrawHide(playerid, AjudaConce2[playerid]); if(Concessionaria[playerid] == 1) { SetVehiclePos(vehicleid, 958.4922,-1540.9347,12.9005); SetVehicleZAngle(vehicleid, OrgA[playerid]); } if(Concessionaria[playerid] == 2) { SetVehiclePos(vehicleid, 1741.7085,1908.7758,10.5474); SetVehicleZAngle(vehicleid, OrgA[playerid]); } SetPlayerVirtualWorld(playerid, 0); SetVehicleVirtualWorld(vehicleid, 0); SetCameraBehindPlayer(playerid); SendClientMessage(playerid, 0x4682B4FF, "[CNF-Cars]: {FFFFFF}Parabens voce comprou um novo veiculo!"); SendClientMessage(playerid, 0x4682B4FF, "[CNF-Cars]: {FFFFFF}Estacione seu carro ou ele ira para um estacionamento em LV!"); SendClientMessage(playerid, 0x4682B4FF, "[CNF-Cars]: {FFFFFF}Digite /mv para abrir o menu de controle do seu veiculo!"); PutPlayerInVehicle(playerid,vehicleid,0); vehicleid = ShopCar[playerid]; VehicleInfo[vehicleid][vModel] = GetVehicleModel(vehicleid); /*VehicleInfo[vehicleid][vX] = OrgX[playerid]; VehicleInfo[vehicleid][vY] = OrgY[playerid]; VehicleInfo[vehicleid][vZ] = OrgZ[playerid]; VehicleInfo[vehicleid][vA] = OrgA[playerid];*/ // 2301.7095 a 2342.2566 // 1403.9629 a 1501.4941 VehicleInfo[vehicleid][vX] = 2301.7095 + float(random(41)); // spawn estacionamento em LV VehicleInfo[vehicleid][vY] = 1403.9629 + float(random(98)); VehicleInfo[vehicleid][vZ] = 10.8234; VehicleInfo[vehicleid][vA] = ((random(2) == 0) ? 270.0 : 90.0); VehicleInfo[vehicleid][vColor1] = CarColor[playerid][0]; VehicleInfo[vehicleid][vColor2] = CarColor[playerid][1]; VehicleInfo[vehicleid][vPaintjob] = -1; strmid(VehicleInfo[vehicleid][vName], VehicleNames[GetVehicleModel(vehicleid)-400], 0, strlen(VehicleNames[GetVehicleModel(vehicleid)-400]), 128); strmid(VehicleInfo[vehicleid][vOwner], PlayerName(playerid), 0, strlen(PlayerName(playerid)), MAX_PLAYER_NAME); VehicleInfo[vehicleid][vPark] = 0; VehicleInfo[vehicleid][vLock] = 0; for(new m = 0; m < MAX_MODS; m++) VehicleInfo[vehicleid][vMod][m] = 0; SavePlayerVehicleFirst(playerid); PlayerInfo[playerid][pTemCarro] = 1; RepairVehicleWithBomber(vehicleid); CarroParticular[vehicleid] = 1; for(new i; i < sizeof(ConceTxD); i++) { TextDrawHideForPlayer(playerid, ConceTxD[i]); } CancelSelectTextDraw(playerid); PlayerTextDrawHide(playerid, ConceTxDPlayer[0]); PlayerTextDrawHide(playerid, ConceTxDPlayer[1]); PlayerTextDrawHide(playerid, ConceTxDPlayer[2]); } else { new mes[100]; format(mes, sizeof mes, "Esse %s custa R$%s!\n\ Voce tem R$%s no Banco.", VehicleName[carbrowse[playerid]], ConvertMoney(GetVehicleCost(vehicleid)), ConvertMoney(PlayerInfo[playerid][pConta])); ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, "ATENCAO", mes, "OK", ""); } } if(response == 0) { } return 1; } if(dialogid == 6585) { if(response) { //cmd_(playerid, inputtext); } } if(dialogid == menuevento) // adms { if(response == 0) { return 1; } switch(listitem) { case 0: { if (eventopk1 == 1) { ppk1(playerid); GameTextForPlayer(playerid,"Evento Parkour Comecou",2500,3); } else { ppk11[playerid] = CreateDynamicObject(987,1437.38439941,-1047.96411133,212.38281250,0.00000000,0.00000000,0.06481934); //object(elecfence_bar) (5) ppk12[playerid] = CreateDynamicObject(987,1449.30920410,-1047.94677734,212.38281250,0.00000000,0.00000000,0.06042480); //object(elecfence_bar) (5) ppk13[playerid] = CreateDynamicObject(987,1461.23205566,-1047.99548340,212.38281250,0.00000000,0.00000000,0.06042480); //object(elecfence_bar) (5) GameTextForPlayer(playerid,"Evento Parkour Terminou",2500,3); } } case 1: { if (eventopk2 == 1) { GameTextForPlayer(playerid,"Evento Parkour Comecou",2500,3); ppk2(playerid); } else { Ppk2[playerid] = CreateDynamicObject(986,2514.89, -1901.86, 1522.29,0.00000000,0.00000000,0.00000000); GameTextForPlayer(playerid,"Evento Parkour Terminou",2500,3); } } case 2: { if (eventopk3 == 1) { GameTextForPlayer(playerid,"Evento Parkour Comecou",2500,3); ppk3(playerid); } else { Ppk3[playerid] = CreateDynamicObject(980, 2486.4638671875, -1656.5426025391, 1327.0682373047, 0, 0, 269.74102783203); GameTextForPlayer(playerid,"Evento Parkour Terminou",2500,3); } } } } if(dialogid == 3457){ if(response){ if(listitem == 0){ if(GetPlayerMoney(playerid) >= 35) { GivePlayerMoney(playerid, -35); BizzInfo[14][bTill] += 1000; SendClientMessage(playerid, COLOR_LIGHTBLUE, "[ ! INFO ! ] Voce comprou um remédio pequeno por R$35!"); AddItem(playerid, 11738, 1); return 1; } else { SendClientMessage(playerid, COLOR_WHITE, "Voce nao tem dinheiro suficente!"); } } if(listitem == 1){ if(GetPlayerMoney(playerid) >= 45) { GivePlayerMoney(playerid, -45); BizzInfo[14][bTill] += 5000; AddItem(playerid, 11738, 1); SendClientMessage(playerid, COLOR_LIGHTBLUE, "[ ! INFO ! ] Voce comprou um remédio normal por R$45!"); return 1; } else{ SendClientMessage(playerid, COLOR_WHITE, "Voce nao tem dinheiro suficente!"); } } if(listitem == 2){ if(GetPlayerMoney(playerid) >= 1500) { GivePlayerMoney(playerid, -1500); BizzInfo[14][bTill] += 7500; AddItem(playerid, 11736, 1); SendClientMessage(playerid, COLOR_LIGHTBLUE, "[ ! INFO ! ] Voce comprou um Medkit por R$1500!"); return 1; } else{ SendClientMessage(playerid, COLOR_WHITE, "Voce nao tem dinheiro suficente!"); } } if(listitem == 3){ if(GetPlayerMoney(playerid) >= 55) { GivePlayerMoney(playerid, -55); BizzInfo[14][bTill] += 5000; AddItem(playerid, 11738, 5); SendClientMessage(playerid, COLOR_LIGHTBLUE, "[ ! INFO ! ] Voce comprou 5 remédios pequenos por R$55!"); return 1; } else{ SendClientMessage(playerid, COLOR_WHITE, "Voce nao tem dinheiro suficente!"); } } if(listitem == 4){ if(GetPlayerMoney(playerid) >= 85) { GivePlayerMoney(playerid, -85); BizzInfo[14][bTill] += 25000; AddItem(playerid, 11739, 5); SendClientMessage(playerid, COLOR_LIGHTBLUE, "[ ! INFO ! ] Voce comprou 5 remédios normais por R$85!"); return 1; } else{ SendClientMessage(playerid, COLOR_WHITE, "Voce nao tem dinheiro suficente!"); } } if(listitem == 5){ if(GetPlayerMoney(playerid) >= 7500) { GivePlayerMoney(playerid, -7500); BizzInfo[14][bTill] += 37500; AddItem(playerid, 11736, 5); SendClientMessage(playerid, COLOR_LIGHTBLUE, "[ ! INFO ! ] Voce comprou 5 Medkit por R$7500!"); return 1; } else{ SendClientMessage(playerid, COLOR_WHITE, "Voce nao tem dinheiro suficente!"); } } } else{ SendClientMessage(playerid, -1, "Voce fechou o menu de compra da farmacia 24'hrs !"); } } if(dialogid == DIALOG_MENU_VIP) { if(response) { new str_big[2200]; switch(listitem) { case 0: { new Nome[MAX_PLAYER_NAME]; GetPlayerName(playerid, Nome, sizeof(Nome)); new casharq[90]; format(casharq, 90, "CashAgendados/%s.ini", Nome); if(fexist(casharq)) { new cash = DOF2_GetInt(casharq, "Cash"); format(strbrazz, 256, "[Cash Agendado] Obrigado pela sua colaboração, você recebeu: %s de cash, eles ja estão disponiveis em sua conta.", ConvertMoney(cash)); SCM(playerid, COLOR_LIGHTRED, strbrazz); format(strbrazz, 256, "[ATIVAÇÃO] %s recebeu %s de cash pela /lojavip.", Nome, ConvertMoney(cash)); PlayerInfo[playerid][pCasher] += cash; CNFLogs("recebercash", strbrazz); ABroadCast(COLOR_LIGHTRED, strbrazz, 1); fremove(casharq); } else return SCM(playerid, COLOR_YELLOW, "[Loja VIP] Você não tem nenhum cash agendado, caso tenha adquirido, aguarde, ou entre em contato em nosso discord."); } case 1: { str_big[0] = EOS; strcat(str_big, "Veiculo\tRaridade\tPreco(Cash)\n"); strcat(str_big, "\ {FFFF00} Infernus\t {D8BFD8}Normal\t {00FF08}€{FFFFFF}20,000\n\ {FFFF00} Bullet\t {C71585}Raro\t {00FF08}€{FFFFFF}30,000\n\ {FFFF00} Sultan\t {C71585}Raro\t {00FF08}€{FFFFFF}30,000\n\ {FFFF00} Turismo\t {D8BFD8}Normal\t {00FF08}€{FFFFFF}28,000\n\ {FFFF00} Monster\t {FFFF00}Super-Raro\t {00FF08}€{FFFFFF}70,000\n\ {FFFF00} SandKing\t {D8BFD8}Raro\t {00FF08}€{FFFFFF}25,000\n\ {FFFF00} Bandito\t {C71585}Raro\t {00FF08}€{FFFFFF}27,000\n\ {FFFF00} Bloodring Banger\t {C71585}Raro\t {00FF08}€{FFFFFF}28,000\n\ {FFFF00} Mesa\t {C71585}Raro\t {00FF08}€{FFFFFF}25,000\n\ {FFFF00} Vortex\t {00BFFF}Hiper-Raro\t {00FF08}€{FFFFFF}50,000\n\ {FFFF00} NRG-500\t {D8BFD8}Normal\t {00FF08}€{FFFFFF}15,000\n\ {FFFF00} Maverick(Heli)\t {00BFFF}Hiper-Raro\t {00FF08}€{FFFFFF}50,000\n\ {FFFF00} Seasparrow(Heli)\t {00BFFF}Hiper-Raro\t {00FF08}€{FFFFFF}50,000\n\ {FFFF00} Raindance(Heli)\t {00BFFF}Hiper-Raro\t {00FF08}€{FFFFFF}50,000\n\ {FFFF00} Cargobob(Heli)\t {00BFFF}Hiper-Raro\t {00FF08}€{FFFFFF}50,000\n\ {FFFF00} Sanchez\t {00BFFF}Hiper-Raro\t {00FF08}€{FFFFFF}28,000\n\ {FFFF00} Slanvam\t {D8BFD8}Normal\t {00FF08}€{FFFFFF}30,000"); //{FFFF00} Slamvan\t {00BFFF}Hiper-Raro\t {00FF08}€{FFFFFF}22,000"); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_CARROS, DIALOG_STYLE_TABLIST_HEADERS, "» Carros", str_big, "Selecionar", "Voltar"); } case 2: { str_big[0] = EOS; strcat(str_big, "Item\tPreco(Cash)\n"); strcat(str_big, "\ {FFFF00} Spawnar na HQ\t {00FF08}€{FFFFFF}1,550\n\ {FFFF00} Restaurar Vida\t {00FF08}€{FFFFFF}1,100\n\ {FFFF00} Restaurar Colete\t {00FF08}€{FFFFFF}1,100\n\ {FFFF00} 1 Explosivo\t {00FF08}€{FFFFFF}1,500\n\ {FFFF00} Título Personalizado\t {00FF08}€{FFFFFF}6,000\n\ {FFFF00} Jetpack (Mochila a Jato)\t {00FF08}€{FFFFFF}20,000\n\ {FFFF00} Anúncio Personalizado\t {00FF08}€{FFFFFF}1,000\n\ {FFFF00} Portao\t {00FF08}€{FFFFFF}10,000\n\ {FFFF00} Caixa de itens\t {00FF08}€{FFFFFF}10,000"); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_ITENS, DIALOG_STYLE_TABLIST_HEADERS, "» Itens", str_big, "Selecionar", "Voltar"); } case 3: { str_big[0] = EOS; strcat(str_big, "Item\tPreco(Cash)\n"); strcat(str_big, "\ {FFFF00} Efeito Blaster\t {00FF08}€{FFFFFF}10,000"); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_EFEITOS, DIALOG_STYLE_TABLIST_HEADERS, "» Efeitos", str_big, "Selecionar", "Voltar"); } case 4: { str_big[0] = EOS; strcat(str_big, "Acessorio\tPreco(Cash)\n"); strcat(str_big, "\ {FFFF00} Laser 1\t {00FF08}€{FFFFFF}4,000\n\ {FFFF00} Laser 2\t {00FF08}€{FFFFFF}4,000\n\ {FFFF00} Laser 3\t {00FF08}€{FFFFFF}4,000\n\ {FFFF00} Laser 4\t {00FF08}€{FFFFFF}4,000\n\ {FFFF00} Chapeu de Bruxa\t {00FF08}€{FFFFFF}5,000\n\ {FFFF00} Lanterna 1\t {00FF08}€{FFFFFF}4,000"); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_ACSS, DIALOG_STYLE_TABLIST_HEADERS, "» Acessorios", str_big, "Selecionar", "Voltar"); } case 5: { str_big[0] = EOS; strcat(str_big, "\ » {FF8C00}CASH » {FFFFFF} Voce esta prestes a transferir Cash\n\n\ {FFFFFF}* Digite o ID para quem ira transferir Cash:\n\n\ {FF8C00}OBS:{FFFFFF} O jogador tem que estar conectado e logado para receber a transferencia."); ShowPlayerDialog(playerid, DIALOG_TRANSFERIR_CASH, DIALOG_STYLE_INPUT, "» Transferir Cash", str_big, "Confirmar", "Voltar"); return 1; } case 6: { str_big[0] = EOS; strcat(str_big, "\ {FFFFFF}* Digite abaixo o codigo do seu cupom de compra:\n\n\ {FF8C00}OBS:{FFFFFF} Cupons que ja foram resgatados na sua conta, nao serao aceitos."); ShowPlayerDialog(playerid, DIALOG_CUPOM_COMPRA, DIALOG_STYLE_INPUT, "» Transferir Cash", str_big, "Confirmar", "Voltar"); return 1; } case 7: { str_big[0] = EOS; strcat(str_big, "Utilidade\tPreco(Cash)\n"); strcat(str_big, "\ {FFFF00} Divorcio Instantaneo\t {00FF08}€{FFFFFF}0,500\n\ {FFFF00} Troca De Nick\t {00FF08}€{FFFFFF}5,000"); ShowPlayerDialog(playerid, DIALOG_MENU_UTILIDADES, DIALOG_STYLE_TABLIST_HEADERS, "» Utiliades", str_big, "Selecionar", "Voltar"); } case 8: { str_big[0] = EOS; strcat(str_big, "Tipo\tMeses\tPreco(Cash)\n"); strcat(str_big, "\ {FFFF00} VIP\t( 1 Mês )\t {00FF08}€{FFFFFF}5,000\n\ {FFFF00} SUPER-VIP\t( 1 Mês )\t {00FF08}€{FFFFFF}10,000\n\ {FFFF00} Socio-Reliquia\t( 1 Mês )\t {00FF08}€{FFFFFF}50,000\n\ {FFFF00} Socio Platina\t( 1 Mês )\t {00FF08}€{FFFFFF}70,000"); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_COMPR, DIALOG_STYLE_TABLIST_HEADERS, "» VIP/SOCIO", str_big, "Selecionar", "Voltar"); } case 9: { ShowPlayerDialog(playerid, 195, DIALOG_STYLE_LIST,"» Beneficios VIP/Socios","*Visualizar beneficios VIP\n*Visualizar beneficios Super-VIP\n*Visualizar beneficios {fef33c}Socio-Reliquia\n*Visualizar beneficios {AEFFD1}Socio-Platina\n","Comprar","Voltar"); } case 10: { ShowPlayerDialog(playerid, 1993, DIALOG_STYLE_TABLIST_HEADERS,"» Loja FREE","item\tValor\n» 1000 Cash\t{32CD32}R$ 10.000.000\n» VIP - 30 dias\t{32CD32}R$ 50.000.000\n» Super-VIP - 30 dias\t{32CD32}R$ 70.000.000","Comprar","Voltar"); } } } } if(dialogid == DIALOG_MENU_VIP_COMPR) { new str[1000]; if(response) { switch(listitem) { case 0: { EscolhaV[playerid] = 1; format(str, 800, "{FFFFFF}Tipo: {00FFFF}VIP\n\n\ {FFFFFF}Meses: {00FFFF}1 Mês\n\ {FFFFFF}Raridade: {00FFFF}Normal\n\ {FFFFFF}Valor: {00FFFF}5,000(s)\n\ {FF6347}*OBS: {FFFFFF}Ao confirmar você está de acordo com nossas politicas de compra."); ShowPlayerDialog(playerid, DIALO_MENU_VIP_COMPR_CF, DIALOG_STYLE_MSGBOX, "» Finalizar Compra", str, "Comprar", "Sair"); } case 1: { EscolhaV[playerid] = 2; format(str, 800, "{FFFFFF}Tipo: {00FFFF}SUPER-VIP\n\n\ {FFFFFF}Meses: {00FFFF}1 Mes\n\ {FFFFFF}Raridade: {00FFFF}Normal\n\ {FFFFFF}Valor: {00FFFF}10,000(s)\n\ {FF6347}*OBS: {FFFFFF}Ao confirmar você está de acordo com nossas politicas de compra."); ShowPlayerDialog(playerid, DIALO_MENU_VIP_COMPR_CF, DIALOG_STYLE_MSGBOX, "» Finalizar Compra", str, "Comprar", "Sair"); } case 2: { EscolhaV[playerid] = 3; format(str, 800, "{FFFFFF}Tipo: {00FFFF}Socio-Reliquia\n\n\ {FFFFFF}Meses: {00FFFF}1 Mes\n\ {FFFFFF}Raridade: {00FFFF}Normal\n\ {FFFFFF}Valor: {00FFFF}50,000(s)\n\ {FF6347}*OBS: {FFFFFF}Ao confirmar você está de acordo com nossas politicas de compra."); ShowPlayerDialog(playerid, DIALO_MENU_VIP_COMPR_CF, DIALOG_STYLE_MSGBOX, "» Finalizar Compra", str, "Comprar", "Sair"); } case 3: { EscolhaV[playerid] = 4; format(str, 800, "{FFFFFF}Tipo: {00FFFF}Socio-Platina\n\n\ {FFFFFF}Meses: {00FFFF}1 Mes\n\ {FFFFFF}Raridade: {00FFFF}Normal\n\ {FFFFFF}Valor: {00FFFF}70,000(s)\n\ {FF6347}*OBS: {FFFFFF}Ao confirmar você está de acordo com nossas politicas de compra."); ShowPlayerDialog(playerid, DIALO_MENU_VIP_COMPR_CF, DIALOG_STYLE_MSGBOX, "» Finalizar Compra", str, "Comprar", "Sair"); } } } } if(dialogid == DIALO_MENU_VIP_COMPR_CF) { if(!response) { SendClientMessage(playerid, COLOR_GRAD4, "[ LOJA ] Você fechou a loja vip."); EscolhaV[playerid] = 0; return 1; } if(PlayerInfo[playerid][pVIP] > 0) { SendClientMessage(playerid, COLOR_GRAD4, "[ LOJA ] Espere seu VIP vencer para comprar novamente."); EscolhaV[playerid] = 0; return 1; } if(response) { new str[1000]; if(EscolhaV[playerid] == 1) { if(PlayerInfo[playerid][pCasher] < 5000) { SendClientMessage(playerid, COLOR_GRAD4, "[ LOJA ] Você não possuí esta quantidade de cash's."); EscolhaV[playerid] = 0; return 1; } MensagemFormatadaAll(0x3CB371FF, "| LOJA-VIP | {FFFFFF}[%s] acaba de comprar o Benefício {00FFFF}VIP {FFFFFF}na Loja-VIP Valor: {00FFFF}$5,000.",PlayerName(playerid)); EscolhaV[playerid] = 0; format(str, 800, "{FFFFFF}RECIBO DE {00FFFF}COMPRA\n\ {FFFFFF}Tipo: {00FFFF}VIP\n\n\ {FFFFFF}Meses: {00FFFF}1 Mes\n\ {FFFFFF}Raridade: {00FFFF}Normal\n\ {FFFFFF}Valor: {00FFFF}10,000(s)\n\ {FF6347}*OBS: {FFFFFF}Este item foi usado automaticamente."); ShowPlayerDialog(playerid, DIALO_MENU_VIP_COMPR_CF, DIALOG_STYLE_MSGBOX, "» Compra Finalizada", str, "Fechar", ""); TakeCash(playerid,5000); PlayerInfo[playerid][pVIP] = 1; ScoreLevel(playerid); PlayerInfo[playerid][pLevel] += 2; GiveDinheiro(playerid, 15000); PlayerInfo[playerid][pDiasvip] = getdate()+(1*31); PlayerInfo[playerid][pDiaVIP] = day; PlayerInfo[playerid][pMesVIP] = month+1; PlayerInfo[playerid][pAnoVIP] = year; if(PlayerInfo[playerid][pMesVIP] > 12) { PlayerInfo[playerid][pMesVIP] -= 12; PlayerInfo[playerid][pAnoVIP]++; } OnPlayerSave(playerid); SaveObjects(playerid); } if(EscolhaV[playerid] == 2) { if(PlayerInfo[playerid][pCasher] < 10000) { SendClientMessage(playerid, COLOR_GRAD4, "[ LOJA ] Você não possuí esta quantidade de cash's."); EscolhaV[playerid] = 0; return 1; } MensagemFormatadaAll(0x3CB371FF, "| LOJA-VIP | {FFFFFF}[%s] acaba de comprar o Benefício {00FFFF}SUPER-VIP {FFFFFF}na Loja-VIP Valor: {00FFFF}$10,000.",PlayerName(playerid)); EscolhaV[playerid] = 0; format(str, 800, "{FFFFFF}RECIBO DE {00FFFF}COMPRA\n\ {FFFFFF}Tipo: {00FFFF}SUPER-VIP\n\n\ {FFFFFF}Meses: {00FFFF}1 Mes\n\ {FFFFFF}Raridade: {00FFFF}Normal\n\ {FFFFFF}Valor: {00FFFF}10,000(s)\n\ {FF6347}*OBS: {FFFFFF}Este item foi usado automaticamente."); ShowPlayerDialog(playerid, DIALO_MENU_VIP_COMPR_CF, DIALOG_STYLE_MSGBOX, "» Compra Finalizada", str, "Fechar", ""); TakeCash(playerid,10000); PlayerInfo[playerid][pVIP] = 2; ScoreLevel(playerid); PlayerInfo[playerid][pLevel] += 4; GiveDinheiro(playerid, 30000); PlayerInfo[playerid][pDiasvip] = getdate()+(1*31); PlayerInfo[playerid][pDiaVIP] = day; PlayerInfo[playerid][pMesVIP] = month+1; PlayerInfo[playerid][pAnoVIP] = year; if(PlayerInfo[playerid][pMesVIP] > 12) { PlayerInfo[playerid][pMesVIP] -= 12; PlayerInfo[playerid][pAnoVIP]++; } OnPlayerSave(playerid); SaveObjects(playerid); } if(EscolhaV[playerid] == 3) { if(PlayerInfo[playerid][pCasher] < 50000) { SendClientMessage(playerid, COLOR_GRAD4, "[ LOJA ] Você não possuí esta quantidade de cash's."); EscolhaV[playerid] = 0; return 1; } MensagemFormatadaAll(0x3CB371FF, "| LOJA-VIP | {FFFFFF}[%s] acaba de comprar o Benefício {00FFFF}Socio-Reliquia {FFFFFF}na Loja-VIP Valor: {00FFFF}$50,000.",PlayerName(playerid)); EscolhaV[playerid] = 0; format(str, 800, "{FFFFFF}RECIBO DE {00FFFF}COMPRA\n\ {FFFFFF}Tipo: {00FFFF}Socio-Reliquia\n\n\ {FFFFFF}Meses: {00FFFF}1 Mes\n\ {FFFFFF}Raridade: {00FFFF}Normal\n\ {FFFFFF}Valor: {00FFFF}50,000(s)\n\ {FF6347}*OBS: {FFFFFF}Este item foi usado automaticamente."); ShowPlayerDialog(playerid, DIALO_MENU_VIP_COMPR_CF, DIALOG_STYLE_MSGBOX, "» Compra Finalizada", str, "Fechar", ""); TakeCash(playerid,50000); PlayerInfo[playerid][pVIP] = 3; ScoreLevel(playerid); PlayerInfo[playerid][pLevel] += 6; GiveDinheiro(playerid, 100000); PlayerInfo[playerid][pDiasvip] = getdate()+(1*31); PlayerInfo[playerid][pDiaVIP] = day; PlayerInfo[playerid][pMesVIP] = month+1; PlayerInfo[playerid][pAnoVIP] = year; if(PlayerInfo[playerid][pMesVIP] > 12) { PlayerInfo[playerid][pMesVIP] -= 12; PlayerInfo[playerid][pAnoVIP]++; } OnPlayerSave(playerid); SaveObjects(playerid); } if(EscolhaV[playerid] == 4) { if(PlayerInfo[playerid][pCasher] < 70000) { SendClientMessage(playerid, COLOR_GRAD4, "[ LOJA ] Você não possuí esta quantidade de cash's."); EscolhaV[playerid] = 0; return 1; } MensagemFormatadaAll(0x3CB371FF, "| LOJA-VIP | {FFFFFF}[%s] acaba de comprar o Benefício {00FFFF}Socio-Platina {FFFFFF}na Loja-VIP Valor: {00FFFF}$70,000.",PlayerName(playerid)); EscolhaV[playerid] = 0; format(str, 800, "{FFFFFF}RECIBO DE {00FFFF}COMPRA\n\ {FFFFFF}Tipo: {00FFFF}Socio-Platina\n\n\ {FFFFFF}Meses: {00FFFF}1 Mes\n\ {FFFFFF}Raridade: {00FFFF}Normal\n\ {FFFFFF}Valor: {00FFFF}70,000(s)\n\ {FF6347}*OBS: {FFFFFF}Este item foi usado automaticamente."); ShowPlayerDialog(playerid, DIALO_MENU_VIP_COMPR_CF, DIALOG_STYLE_MSGBOX, "» Compra Finalizada", str, "Fechar", ""); TakeCash(playerid,70000); PlayerInfo[playerid][pVIP] = 4; ScoreLevel(playerid); PlayerInfo[playerid][pLevel] += 10; GiveDinheiro(playerid, 300000); PlayerInfo[playerid][pDiasvip] = getdate()+(1*31); PlayerInfo[playerid][pDiaVIP] = day; PlayerInfo[playerid][pMesVIP] = month+1; PlayerInfo[playerid][pAnoVIP] = year; AddItem(playerid, 522, 1); if(PlayerInfo[playerid][pMesVIP] > 12) { PlayerInfo[playerid][pMesVIP] -= 12; PlayerInfo[playerid][pAnoVIP]++; } OnPlayerSave(playerid); SaveObjects(playerid); } } } if(dialogid == DIALOG_MENU_UTILIDADES) { new str[1000]; if(response) { switch(listitem) { case 0: { EscolhaV[playerid] = 1; format(str, 800, "{FFFFFF}Utilidade: {00FFFF}Divorcio Instantaneo\n\n\ {FFFFFF}Função: {00FFFF}O Divorcio não precisa ser aceito pelo parceiro\n\ {FFFFFF}Raridade: {00FFFF}Normal\n\ {FFFFFF}Valor: {00FFFF}0,500(s)\n\ {FF6347}*OBS: {FFFFFF}Ao confirmar você está de acordo com nossas politicas de compra."); ShowPlayerDialog(playerid, DIALOG_MENU_UTILIDADES_CF, DIALOG_STYLE_MSGBOX, "» Finalizar Compra", str, "Comprar", "Sair"); } case 1: { EscolhaV[playerid] = 2; format(str, 800, "{FFFFFF}Utilidade: {00FFFF}Troca de nick\n\n\ {FFFFFF}Função: {00FFFF}Permite trocar de nick.\n\ {FFFFFF}Raridade: {00FFFF}Normal\n\ {FFFFFF}Valor: {00FFFF}5,000(s)\n\ {FF6347}*OBS: {FFFFFF}Ao confirmar você está de acordo com nossas politicas de compra."); ShowPlayerDialog(playerid, DIALOG_MENU_UTILIDADES_CF, DIALOG_STYLE_MSGBOX, "» Finalizar Compra", str, "Comprar", "Sair"); } } } } if(dialogid == DIALOG_MENU_UTILIDADES_CF) { if(!response) { SendClientMessage(playerid, COLOR_GRAD4, "[ LOJA ] Você fechou a loja vip."); EscolhaV[playerid] = 0; return 1; } if(response) { new str[1000]; if(EscolhaV[playerid] == 1) { if(PlayerInfo[playerid][pCasher] < 500) { SendClientMessage(playerid, COLOR_GRAD4, "[ LOJA ] Você não possuí esta quantidade de cash's."); EscolhaV[playerid] = 0; return 1; } MensagemFormatadaAll(0x3CB371FF, "| LOJA-VIP | {FFFFFF}[%s] acaba de comprar a Utilidade {00FFFF}Divorcio Instantaneo {FFFFFF}na Loja-VIP Valor: {00FFFF}$0,500.",PlayerName(playerid)); EscolhaV[playerid] = 0; format(str, 800, "{FFFFFF}RECIBO DE {00FFFF}COMPRA\n\ {FFFFFF}Utilidade: {00FFFF}Divorcio Instantaneo\n\n\ {FFFFFF}Função: {00FFFF}O Divorcio não precisa ser aceito pelo parceiro\n\ {FFFFFF}Raridade: {00FFFF}Normal\n\ {FFFFFF}Valor: {00FFFF}0,500(s)\n\ {FF6347}*OBS: {FFFFFF}Este item foi usado automaticamente."); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_EFEITOS_CF, DIALOG_STYLE_MSGBOX, "» Compra Finalizada", str, "Fechar", ""); TakeCash(playerid,500); ClearMarriage(playerid); format(string, sizeof(string), "* Jogador %s se divorciou!", PlayerName(playerid)); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SendClientMessage(playerid,COLOR_GREY,"| INFO | Agora voce esta divorciado.!"); } if(EscolhaV[playerid] == 2) { if(PlayerInfo[playerid][pCasher] < 5000) { SendClientMessage(playerid, COLOR_GRAD4, "[ LOJA ] Você não possuí esta quantidade de cash's."); EscolhaV[playerid] = 0; return 1; } MensagemFormatadaAll(0x3CB371FF, "| LOJA-VIP | {FFFFFF}[%s] acaba de comprar a Utilidade {00FFFF}Troca de Nick {FFFFFF}na Loja-VIP Valor: {00FFFF}$5,000.",PlayerName(playerid)); EscolhaV[playerid] = 0; format(str, 800, "{FFFFFF}Utilidade: {00FFFF}Troca de nick\n\n\ {FFFFFF}Função: {00FFFF}Permite trocar de nick.\n\ {FFFFFF}Raridade: {00FFFF}Normal\n\ {FFFFFF}Valor: {00FFFF}5,000(s)\n\ {FF6347}*OBS: {FFFFFF}Você poderá usar pelo /trocarnick.."); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_EFEITOS_CF, DIALOG_STYLE_MSGBOX, "» Compra Finalizada", str, "Fefchar", ""); TakeCash(playerid,5000); PlayerInfo[playerid][pTrocaNick] += 1; } } } if(dialogid == DIALOG_CUPOM_COMPRA) { if (response) { format(Fala,sizeof(Fala),"Codigos/%s.ini",inputtext); format(Fala2,sizeof(Fala2),"Codigos2/%s.ini",inputtext); if(DOF2_FileExists(Fala)) { new Total=DOF2_GetInt(Fala,"Quantidade")*1; format(string,sizeof(string),"[ ATENCAO ] Parabens, Voce acaba de receber R$ %d em Cash!",Total); SendClientMessage(playerid,COLOR_LIGHTBLUE,string); format(string, sizeof string, "[ LOJA VIP ] %s acaba de ativar seu cupom de compra e recebeu [ %s ] de cash..", PlayerName(playerid), ConvertCash(Total)); SendClientMessageToAll(COLOR_LIGHTBLUE,string); PlayerInfo[playerid][pCasher]+=Total; format(string,sizeof(string),"%s recebeu %d Cash!",PlayerName(playerid),Total); CNFLogs("RecebeuCash", string); DOF2_RemoveFile(Fala); return 1; } else if(DOF2_FileExists(Fala2)) { new Total=DOF2_GetInt(Fala2,"Quantidade")*1; format(string,sizeof(string),"[ ATENCAO ] Parabens, Voce acaba de receber R$ %d em Cash!",Total); SendClientMessage(playerid,COLOR_LIGHTBLUE,string); format(string, sizeof string, "[ LOJA VIP ] %s acaba de ativar seu cupom de compra e recebeu [ %s ] de cash..", PlayerName(playerid), ConvertCash(Total)); SendClientMessageToAll(COLOR_LIGHTBLUE,string); PlayerInfo[playerid][pCasher]+=Total; format(string,sizeof(string),"%s recebeu %d Cash!",PlayerName(playerid),Total); CNFLogs("RecebeuCash", string); DOF2_RemoveFile(Fala2); return 1; } else { SendClientMessage(playerid,0xB4B5B7FF,"| ERRO | Codigo de transacao invalido!"); return 1; } } if(!response) { ForT:lojavip(playerid, #); } } if(dialogid == DIALOG_TRANSFERIR_CASH2) { if(response) { new quantidade = strval(inputtext); new entregar = EditGive[playerid]; EscolhaCash[playerid] = quantidade; if(quantidade >= PlayerInfo[playerid][pCasher]) { SendClientMessage(playerid, COLOR_GRAD4, "Voce nao possui essa quantidade de cash !"); EscolhaV[playerid] = 0; return 1; } if(quantidade <= 0) { EscolhaV[playerid] = 0; return 1; } if(PlayerInfo[playerid][pCasher] > 0) format(cash2, sizeof cash2, "{FFFFFF}%d", PlayerInfo[playerid][pCasher]-strval(inputtext)); new strvip[2000]; EscolhaV[playerid] = 1; MEGAString[0] = EOS; strcat(MEGAString, "» {FF8C00}CASH »{FFFFFF} Transferencia quase concluida !\n\n"); format(strvip, sizeof strvip, "{FFFFFF}Destinatario: {00FF08}€{FFFFFF}%s\n",PlayerName(entregar)); strcat(MEGAString, strvip); format(strvip, sizeof strvip, "{FFFFFF}Valor da transferencia: {00FF08}€{FFFFFF}%s\n\n", ConvertCash(quantidade)); strcat(MEGAString, strvip); format(strvip, sizeof strvip, "{FFFFFF}Seu saldo atual: {00FF08}€{FFFFFF}%s\n\n", ConvertCash(PlayerInfo[playerid][pCasher])); strcat(MEGAString, strvip); format(strvip, sizeof strvip, "{FFFFFF}Saldo apos a transferencia: {00FF08}€{FFFFFF}%d\n\n", cash2); strcat(MEGAString, strvip); strcat(MEGAString, "{FFFFFF}*Caso voce queira confirmar a compra, digite {00BFFF}''{40FF00}CONFIRMAR{00BFFF}''\n\n"); strcat(MEGAString, "{FF8C00}OBS:{FFFFFF} Tenha cuidado, pois este valor que voce esta transferindo nao e reembolsavel.\n"); ShowPlayerDialog(playerid, DIALOG_TRANSFERIR_CASH3, DIALOG_STYLE_INPUT, "» Transferir Cash", MEGAString, "Continuar", ""); } if(!response) { MEGAString[0] = EOS; strcat(MEGAString, "» {00FF08}CASH » {FFFFFF} Voce esta prestes a transferir Cash\n\n"); strcat(MEGAString, "{FFFFFF}* Digite o ID para quem ira transferir Cash:\n\n"); strcat(MEGAString, "{FE9A2E}OBS:{BDBDBD} O jogador tem que estar conectado e logado para receber a transferencia.\n"); ShowPlayerDialog(playerid, DIALOG_TRANSFERIR_CASH, DIALOG_STYLE_INPUT, "» Transferir Cash", MEGAString, "Confirmar", "Voltar"); EscolhaV[playerid] = 0; } return 1; } if(dialogid == DIALOG_TRANSFERIR_CASH3) { if(response) { new quantidade = EscolhaCash[playerid]; new entregar = EditGive[playerid]; new strtransferencia[2000]; if(EscolhaV[playerid] == 1) { MEGAString[0] = EOS; format(MEGAString, 300, "{FFFFFF}» {FF8C00}CASH » {FFFFFF}Transferencia concluida !\n\n\ {FFFFFF}Destinatario: {FFFFFF}%s\n\ {FFFFFF}Valor da transferencia: {00FF08}€{FFFFFF}%s\n\n\ {FFFFFF}Seu saldo atual: {00FF08}€{FFFFFF}%s\n\n\ {FF8C00}OBS: {FFFFFFF}Caso a transferencia foi feita para o ID errado, contate um admin imediatamente.", PlayerName(entregar), ConvertCash(quantidade), ConvertCash(PlayerInfo[playerid][pCasher])); ShowPlayerDialog(playerid, 5471, DIALOG_STYLE_MSGBOX, "» Transferir Cash", MEGAString, "Fechar", ""); format(MEGAString, 300, "{FFFFFF}» {00FF08}CASH » {FFFFFF}Transferencia concluida !\n\n\ {FFFFFF}Remetente: {FFFFFF}%s\n\ {FFFFFF}Valor da transferencia: {00FF08}€{FFFFFF}%s\n\n\ {FFFFFF}Seu saldo atual: {00FF08}€{FFFFFF}%s\n\n\ {FFFFFF}OBS: {BFC0C2}Agora voce pode gastar seus Cash ultilizando o comando /menucash.", PlayerName(playerid), ConvertCash(quantidade), ConvertCash(PlayerInfo[entregar][pCasher])); ShowPlayerDialog(entregar, 5471, DIALOG_STYLE_MSGBOX, "» Transferir Cash", MEGAString, "Fechar", ""); TakeCash(playerid,quantidade); GiveCash(entregar,quantidade); if(PlayerInfo[playerid][pCasher] >= 0) format(cash2, sizeof cash2, "{FFFFFF}%d", PlayerInfo[playerid][pCasher]-quantidade); MEGAString[0] = EOS; format(strtransferencia, sizeof strtransferencia, "* Voce recebeu €%s de cash de %s, ultilize-os como desejar !", ConvertCash(quantidade),PlayerName(playerid)); SendClientMessage(entregar, COLOR_LIGHTBLUE, strtransferencia); SendClientMessage(entregar, COLOR_LIGHTBLUE, "****OBS:Tire uma ScreenShot(F8)Caso Precise Provar Algo!"); format(strtransferencia, sizeof strtransferencia, "* Voce transferiu €%s de cash para %s, transferencia concluida com sucesso !", ConvertCash(quantidade),PlayerName(entregar)); SendClientMessage(playerid, COLOR_LIGHTBLUE, strtransferencia); SendClientMessage(playerid, COLOR_LIGHTBLUE, "****OBS:Tire uma ScreenShot(F8)Caso Precise Provar Algo!"); format(strtransferencia, sizeof(strtransferencia), "• (CASH) Jogador %s doou %d Cash para o Jogador %s.",PlayerName(playerid),quantidade,PlayerName(entregar)); CNFLogs("vips", strtransferencia); CNFLogs("Cash", strtransferencia); EscolhaV[playerid] = 0; EditGive[playerid] = 0; EscolhaCash[playerid] = 0; } } return 1; } if(dialogid == DIALOG_TRANSFERIR_CASH) { if(response) { new ele = strval(inputtext); EditGive[playerid] = ele; if(IsPlayerConnected(ele)) { if(ele != INVALID_PLAYER_ID) { new strvip[2000]; MEGAString[0] = EOS; format(strvip, sizeof strvip, "» {FF8C00}CASH » {FFFFFF} Voce esta prestes a transferir Cash para:{00FFFF} %s\n\n",PlayerName(ele)); strcat(MEGAString, strvip); format(strvip, sizeof strvip, "{FFFFFF}Saldo atual: {00FFFF}€{FFFFFF}%s\n\n", ConvertCash(PlayerInfo[playerid][pCasher])); strcat(MEGAString, strvip); strcat(MEGAString, "{FFFFFF}* Digite a quantidade de Cash que deseja transferir:\n\n"); strcat(MEGAString, "{FF8C00}OBS:{FFFFFF} O jogador tem que estar conectado e logado para receber a transferencia.\n"); ShowPlayerDialog(playerid, DIALOG_TRANSFERIR_CASH2, DIALOG_STYLE_INPUT, "» Transferir Cash", MEGAString, "Continuar", "Voltar"); } } else { SendClientMessage(playerid, COLOR_GREY, "Este jogador nao esta conectado !"); MEGAString[0] = EOS; strcat(MEGAString, "» {FF8C00}CASH » {FFFFFF} Voce esta prestes a transferir Cash\n\n"); strcat(MEGAString, "{FFFFFF}* Digite o ID para quem ira transferir Cash:\n\n"); strcat(MEGAString, "{FF8C00}OBS:{FFFFFF} O jogador tem que estar conectado e logado para receber a transferencia.\n"); ShowPlayerDialog(playerid, DIALOG_TRANSFERIR_CASH, DIALOG_STYLE_INPUT, "» Transferir Cash", MEGAString, "Confirmar", "Voltar"); } } if(!response) { ForT:lojavip(playerid, #); } return 1; } if(dialogid == DIALOG_MENU_VIP_ACSS) { new str[1000]; if(response) { switch(listitem) { case 0: { EscolhaV[playerid] = 1; format(str, 800, "{FFFFFF}Acessorio: {00FFFF}Laser 1\n\n\ {FFFFFF}Função: {00FFFF}Acessorios para equipar no personagem\n\ {FFFFFF}Raridade: {00FFFF}Normal\n\ {FFFFFF}Valor: {00FFFF}4,000(s)\n\ {FF6347}*OBS: {FFFFFF}Ao confirmar você está de acordo com nossas politicas de compra."); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_ACSS_CF, DIALOG_STYLE_MSGBOX, "» Finalizar Compra", str, "Comprar", "Sair"); } case 1: { EscolhaV[playerid] = 2; format(str, 800, "{FFFFFF}Acessorio: {00FFFF}Laser 2\n\n\ {FFFFFF}Função: {00FFFF}Acessorios para equipar no personagem\n\ {FFFFFF}Raridade: {00FFFF}Normal\n\ {FFFFFF}Valor: {00FFFF}4,000(s)\n\ {FF6347}*OBS: {FFFFFF}Ao confirmar você está de acordo com nossas politicas de compra."); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_ACSS_CF, DIALOG_STYLE_MSGBOX, "» Finalizar Compra", str, "Comprar", "Sair"); } case 2: { EscolhaV[playerid] = 3; format(str, 800, "{FFFFFF}Acessorio: {00FFFF}Laser 3\n\n\ {FFFFFF}Função: {00FFFF}Acessorios para equipar no personagem\n\ {FFFFFF}Raridade: {00FFFF}Normal\n\ {FFFFFF}Valor: {00FFFF}4,000(s)\n\ {FF6347}*OBS: {FFFFFF}Ao confirmar você está de acordo com nossas politicas de compra."); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_ACSS_CF, DIALOG_STYLE_MSGBOX, "» Finalizar Compra", str, "Comprar", "Sair"); } case 3: { EscolhaV[playerid] = 4; format(str, 800, "{FFFFFF}Acessorio: {00FFFF}Laser 4\n\n\ {FFFFFF}Função: {00FFFF}Acessorios para equipar no personagem\n\ {FFFFFF}Raridade: {00FFFF}Normal\n\ {FFFFFF}Valor: {00FFFF}4,000(s)\n\ {FF6347}*OBS: {FFFFFF}Ao confirmar você está de acordo com nossas politicas de compra."); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_ACSS_CF, DIALOG_STYLE_MSGBOX, "» Finalizar Compra", str, "Comprar", "Sair"); } case 4: { EscolhaV[playerid] = 5; format(str, 800, "{FFFFFF}Acessorio: {00FFFF}Chapeu de Bruxa\n\n\ {FFFFFF}Função: {00FFFF}Acessorios para equipar no personagem\n\ {FFFFFF}Raridade: {00FFFF}Normal\n\ {FFFFFF}Valor: {00FFFF}5,000(s)\n\ {FF6347}*OBS: {FFFFFF}Ao confirmar você está de acordo com nossas politicas de compra."); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_ACSS_CF, DIALOG_STYLE_MSGBOX, "» Finalizar Compra", str, "Comprar", "Sair"); } case 5: { EscolhaV[playerid] = 6; format(str, 800, "{FFFFFF}Acessorio: {00FFFF}Lanterna\n\n\ {FFFFFF}Função: {00FFFF}Acessorios para equipar no personagem\n\ {FFFFFF}Raridade: {00FFFF}Normal\n\ {FFFFFF}Valor: {00FFFF}4,000(s)\n\ {FF6347}*OBS: {FFFFFF}Ao confirmar você está de acordo com nossas politicas de compra."); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_ACSS_CF, DIALOG_STYLE_MSGBOX, "» Finalizar Compra", str, "Comprar", "Sair"); } case 6: { EscolhaV[playerid] = 7; format(str, 800, "{FFFFFF}Acessorio: {00FFFF}Mascara Demon\n\n\ {FFFFFF}Função: {00FFFF}Acessorios para equipar no personagem\n\ {FFFFFF}Raridade: {00FFFF}Normal\n\ {FFFFFF}Valor: {00FFFF}6,000(s)\n\ {FF6347}*OBS: {FFFFFF}Ao confirmar você está de acordo com nossas politicas de compra."); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_ACSS_CF, DIALOG_STYLE_MSGBOX, "» Finalizar Compra", str, "Comprar", "Sair"); } case 7: { EscolhaV[playerid] = 8; format(str, 800, "{FFFFFF}Acessorio: {00FFFF}Cajado Skull\n\n\ {FFFFFF}Função: {00FFFF}Acessorios para equipar no personagem\n\ {FFFFFF}Raridade: {00FFFF}Normal\n\ {FFFFFF}Valor: {00FFFF}5,000(s)\n\ {FF6347}*OBS: {FFFFFF}Ao confirmar você está de acordo com nossas politicas de compra."); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_ACSS_CF, DIALOG_STYLE_MSGBOX, "» Finalizar Compra", str, "Comprar", "Sair"); } case 8: { EscolhaV[playerid] = 9; format(str, 800, "{FFFFFF}Acessorio: {00FFFF}Luva Esquerda\n\n\ {FFFFFF}Função: {00FFFF}Acessorios para equipar no personagem\n\ {FFFFFF}Raridade: {00FFFF}Normal\n\ {FFFFFF}Valor: {00FFFF}4,000(s)\n\ {FF6347}*OBS: {FFFFFF}Ao confirmar você está de acordo com nossas politicas de compra."); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_ACSS_CF, DIALOG_STYLE_MSGBOX, "» Finalizar Compra", str, "Comprar", "Sair"); } case 9: { EscolhaV[playerid] = 10; format(str, 800, "{FFFFFF}Acessorio: {00FFFF}Guitarra\n\n\ {FFFFFF}Função: {00FFFF}Acessorios para equipar no personagem\n\ {FFFFFF}Raridade: {00FFFF}Normal\n\ {FFFFFF}Valor: {00FFFF}5,000(s)\n\ {FF6347}*OBS: {FFFFFF}Ao confirmar você está de acordo com nossas politicas de compra."); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_ACSS_CF, DIALOG_STYLE_MSGBOX, "» Finalizar Compra", str, "Comprar", "Sair"); } case 10: { EscolhaV[playerid] = 11; format(str, 800, "{FFFFFF}Acessorio: {00FFFF}Aviaozinho\n\n\ {FFFFFF}Função: {00FFFF}Acessorios para equipar no personagem\n\ {FFFFFF}Raridade: {00FFFF}Normal\n\ {FFFFFF}Valor: {00FFFF}7,000(s)\n\ {FF6347}*OBS: {FFFFFF}Ao confirmar você está de acordo com nossas politicas de compra."); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_ACSS_CF, DIALOG_STYLE_MSGBOX, "» Finalizar Compra", str, "Comprar", "Sair"); } case 11: { EscolhaV[playerid] = 12; format(str, 800, "{FFFFFF}Acessorio: {00FFFF}Caldeirao\n\n\ {FFFFFF}Função: {00FFFF}Acessorios para equipar no personagem\n\ {FFFFFF}Raridade: {00FFFF}Normal\n\ {FFFFFF}Valor: {00FFFF}7,000(s)\n\ {FF6347}*OBS: {FFFFFF}Ao confirmar você está de acordo com nossas politicas de compra."); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_ACSS_CF, DIALOG_STYLE_MSGBOX, "» Finalizar Compra", str, "Comprar", "Sair"); } } } } if(dialogid == DIALOG_MENU_VIP_EFEITOS) { new str[1000]; if(response) { switch(listitem) { case 0: { EscolhaV[playerid] = 1; format(str, 800, "{FFFFFF}Efeito: {00FFFF}Efeito Blaster\n\n\ {FFFFFF}Função: {00FFFF}Efeitos para equipar nos acessórios\n\ {FFFFFF}Raridade: {00FFFF}Normal\n\ {FFFFFF}Valor: {00FFFF}10,000(s)\n\ {FF6347}*OBS: {FFFFFF}Ao confirmar você está de acordo com nossas politicas de compra."); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_EFEITOS_CF, DIALOG_STYLE_MSGBOX, "» Finalizar Compra", str, "Comprar", "Sair"); } case 1: { EscolhaV[playerid] = 2; format(str, 800, "{FFFFFF}Efeito: {00FFFF}Foguinho\n\n\ {FFFFFF}Função: {00FFFF}Efeitos para equipar nos acessórios\n\ {FFFFFF}Raridade: {00FFFF}Normal\n\ {FFFFFF}Valor: {00FFFF}7,000(s)\n\ {FF6347}*OBS: {FFFFFF}Ao confirmar você está de acordo com nossas politicas de compra."); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_EFEITOS_CF, DIALOG_STYLE_MSGBOX, "» Finalizar Compra", str, "Comprar", "Sair"); } case 2: { EscolhaV[playerid] = 15; format(str, 800, "{FFFFFF}Efeito: {00FFFF}Luz Vermelha\n\n\ {FFFFFF}Função: {00FFFF}Efeitos para equipar nos acessórios\n\ {FFFFFF}Raridade: {00FFFF}Normal\n\ {FFFFFF}Valor: {00FFFF}9,000(s)\n\ {FF6347}*OBS: {FFFFFF}Ao confirmar você está de acordo com nossas politicas de compra."); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_EFEITOS_CF, DIALOG_STYLE_MSGBOX, "» Finalizar Compra", str, "Comprar", "Sair"); } case 3: { EscolhaV[playerid] = 16; format(str, 800, "{FFFFFF}Efeito: {00FFFF}Luz Verde\n\n\ {FFFFFF}Função: {00FFFF}Efeitos para equipar nos acessórios\n\ {FFFFFF}Raridade: {00FFFF}Normal\n\ {FFFFFF}Valor: {00FFFF}9,000(s)\n\ {FF6347}*OBS: {FFFFFF}Ao confirmar você está de acordo com nossas politicas de compra."); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_EFEITOS_CF, DIALOG_STYLE_MSGBOX, "» Finalizar Compra", str, "Comprar", "Sair"); } case 4: { EscolhaV[playerid] = 17; format(str, 800, "{FFFFFF}Efeito: {00FFFF}Chafariz\n\n\ {FFFFFF}Função: {00FFFF}Efeitos para equipar nos acessórios\n\ {FFFFFF}Raridade: {00FFFF}Normal\n\ {FFFFFF}Valor: {00FFFF}7,500(s)\n\ {FF6347}*OBS: {FFFFFF}Ao confirmar você está de acordo com nossas politicas de compra."); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_EFEITOS_CF, DIALOG_STYLE_MSGBOX, "» Finalizar Compra", str, "Comprar", "Sair"); } } } } if(dialogid == DIALOG_MENU_VIP_ACSS_CF) { if(!response) { SendClientMessage(playerid, COLOR_GRAD4, "[ LOJA ] Você fechou a loja vip."); EscolhaV[playerid] = 0; return 1; } if(response) { new str[1000]; if(EscolhaV[playerid] == 1) { if(PlayerInfo[playerid][pCasher] < 4000) { SendClientMessage(playerid, COLOR_GRAD4, "[ LOJA ] Você não possuí esta quantidade de cash's."); EscolhaV[playerid] = 0; return 1; } MensagemFormatadaAll(0x3CB371FF, "| LOJA-VIP | {FFFFFF}[%s] acaba de comprar o item {00FFFF}Laser 1 {FFFFFF}na Loja-VIP Valor: {00FFFF}$4,000.",PlayerName(playerid)); EscolhaV[playerid] = 0; format(str, 800, "{FFFFFF}RECIBO DE {00FFFF}COMPRA\n\ {FFFFFF}Item: {00FFFF}Laser 1\n\ {FFFFFF}Função: {00FFFF}Adiciona 1 acessorio para ser equipado ao personagem..\n\ {FFFFFF}Raridade: {00FFFF}Normal\n\ {FFFFFF}Valor: {00FFFF}4,000(s)\n\ {FF6347}*OBS: {FFFFFF}Este item foi adicionado a seu inventário."); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_EFEITOS_CF, DIALOG_STYLE_MSGBOX, "» Compra Finalizada", str, "Fechar", ""); TakeCash(playerid,4000); AddItem(playerid, 19080, 1); } if(EscolhaV[playerid] == 2) { if(PlayerInfo[playerid][pCasher] < 4000) { SendClientMessage(playerid, COLOR_GRAD4, "[ LOJA ] Você não possuí esta quantidade de cash's."); EscolhaV[playerid] = 0; return 1; } MensagemFormatadaAll(0x3CB371FF, "| LOJA-VIP | {FFFFFF}[%s] acaba de comprar o item {00FFFF}Laser 2 {FFFFFF}na Loja-VIP Valor: {00FFFF}$4,000.",PlayerName(playerid)); EscolhaV[playerid] = 0; format(str, 800, "{FFFFFF}RECIBO DE {00FFFF}COMPRA\n\ {FFFFFF}Item: {00FFFF}Laser 2\n\ {FFFFFF}Função: {00FFFF}Adiciona 1 acessorio para ser equipado ao personagem..\n\ {FFFFFF}Raridade: {00FFFF}Normal\n\ {FFFFFF}Valor: {00FFFF}4,000(s)\n\ {FF6347}*OBS: {FFFFFF}Este item foi adicionado a seu inventário."); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_EFEITOS_CF, DIALOG_STYLE_MSGBOX, "» Compra Finalizada", str, "Fechar", ""); TakeCash(playerid,4000); AddItem(playerid, 19081, 1); } if(EscolhaV[playerid] == 3) { if(PlayerInfo[playerid][pCasher] < 4000) { SendClientMessage(playerid, COLOR_GRAD4, "[ LOJA ] Você não possuí esta quantidade de cash's."); EscolhaV[playerid] = 0; return 1; } MensagemFormatadaAll(0x3CB371FF, "| LOJA-VIP | {FFFFFF}[%s] acaba de comprar o item {00FFFF}Laser 3 {FFFFFF}na Loja-VIP Valor: {00FFFF}$4,000.",PlayerName(playerid)); EscolhaV[playerid] = 0; format(str, 800, "{FFFFFF}RECIBO DE {00FFFF}COMPRA\n\ {FFFFFF}Item: {00FFFF}Laser 3\n\ {FFFFFF}Função: {00FFFF}Adiciona 1 acessorio para ser equipado ao personagem..\n\ {FFFFFF}Raridade: {00FFFF}Normal\n\ {FFFFFF}Valor: {00FFFF}4,000(s)\n\ {FF6347}*OBS: {FFFFFF}Este item foi adicionado a seu inventário."); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_EFEITOS_CF, DIALOG_STYLE_MSGBOX, "» Compra Finalizada", str, "Fechar", ""); TakeCash(playerid,4000); AddItem(playerid, 19082, 1); } if(EscolhaV[playerid] == 4) { if(PlayerInfo[playerid][pCasher] < 4000) { SendClientMessage(playerid, COLOR_GRAD4, "[ LOJA ] Você não possuí esta quantidade de cash's."); EscolhaV[playerid] = 0; return 1; } MensagemFormatadaAll(0x3CB371FF, "| LOJA-VIP | {FFFFFF}[%s] acaba de comprar o item {00FFFF}Laser 4 {FFFFFF}na Loja-VIP Valor: {00FFFF}$4,000.",PlayerName(playerid)); EscolhaV[playerid] = 0; format(str, 800, "{FFFFFF}RECIBO DE {00FFFF}COMPRA\n\ {FFFFFF}Item: {00FFFF}Laser 4\n\ {FFFFFF}Função: {00FFFF}Adiciona 1 acessorio para ser equipado ao personagem..\n\ {FFFFFF}Raridade: {00FFFF}Normal\n\ {FFFFFF}Valor: {00FFFF}4,000(s)\n\ {FF6347}*OBS: {FFFFFF}Este item foi adicionado a seu inventário."); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_EFEITOS_CF, DIALOG_STYLE_MSGBOX, "» Compra Finalizada", str, "Fechar", ""); TakeCash(playerid,4000); AddItem(playerid, 19083, 1); } if(EscolhaV[playerid] == 5) { if(PlayerInfo[playerid][pCasher] < 5000) { SendClientMessage(playerid, COLOR_GRAD4, "[ LOJA ] Você não possuí esta quantidade de cash's."); EscolhaV[playerid] = 0; return 1; } MensagemFormatadaAll(0x3CB371FF, "| LOJA-VIP | {FFFFFF}[%s] acaba de comprar o item {00FFFF}Chapeu de Bruxa {FFFFFF}na Loja-VIP Valor: {00FFFF}$5,000.",PlayerName(playerid)); EscolhaV[playerid] = 0; format(str, 800, "{FFFFFF}RECIBO DE {00FFFF}COMPRA\n\ {FFFFFF}Item: {00FFFF}Chapeu de Bruxa\n\ {FFFFFF}Função: {00FFFF}Adiciona 1 acessorio para ser equipado ao personagem..\n\ {FFFFFF}Raridade: {00FFFF}Normal\n\ {FFFFFF}Valor: {00FFFF}5,000(s)\n\ {FF6347}*OBS: {FFFFFF}Este item foi adicionado a seu inventário."); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_EFEITOS_CF, DIALOG_STYLE_MSGBOX, "» Compra Finalizada", str, "Fechar", ""); TakeCash(playerid,5000); AddItem(playerid, 19528, 1); } if(EscolhaV[playerid] == 6) { if(PlayerInfo[playerid][pCasher] < 4000) { SendClientMessage(playerid, COLOR_GRAD4, "[ LOJA ] Você não possuí esta quantidade de cash's."); EscolhaV[playerid] = 0; return 1; } MensagemFormatadaAll(0x3CB371FF, "| LOJA-VIP | {FFFFFF}[%s] acaba de comprar o item {00FFFF}Lanterna {FFFFFF}na Loja-VIP Valor: {00FFFF}$4,000.",PlayerName(playerid)); EscolhaV[playerid] = 0; format(str, 800, "{FFFFFF}RECIBO DE {00FFFF}COMPRA\n\ {FFFFFF}Item: {00FFFF}Lanterna\n\ {FFFFFF}Função: {00FFFF}Adiciona 1 acessorio para ser equipado ao personagem..\n\ {FFFFFF}Raridade: {00FFFF}Normal\n\ {FFFFFF}Valor: {00FFFF}4,000(s)\n\ {FF6347}*OBS: {FFFFFF}Este item foi adicionado a seu inventário."); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_EFEITOS_CF, DIALOG_STYLE_MSGBOX, "» Compra Finalizada", str, "Fechar", ""); TakeCash(playerid,4000); AddItem(playerid, 19641, 1); } if(EscolhaV[playerid] == 7) { if(PlayerInfo[playerid][pCasher] < 6000) { SendClientMessage(playerid, COLOR_GRAD4, "[ LOJA ] Você não possuí esta quantidade de cash's."); EscolhaV[playerid] = 0; return 1; } MensagemFormatadaAll(0x3CB371FF, "| LOJA-VIP | {FFFFFF}[%s] acaba de comprar o item {00FFFF}Mascara Demon {FFFFFF}na Loja-VIP Valor: {00FFFF}$6,000.",PlayerName(playerid)); EscolhaV[playerid] = 0; format(str, 800, "{FFFFFF}RECIBO DE {00FFFF}COMPRA\n\ {FFFFFF}Item: {00FFFF}Mascara Demon\n\ {FFFFFF}Função: {00FFFF}Adiciona 1 acessorio para ser equipado ao personagem..\n\ {FFFFFF}Raridade: {00FFFF}Normal\n\ {FFFFFF}Valor: {00FFFF}6,000(s)\n\ {FF6347}*OBS: {FFFFFF}Este item foi adicionado a seu inventário."); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_EFEITOS_CF, DIALOG_STYLE_MSGBOX, "» Compra Finalizada", str, "Fechar", ""); TakeCash(playerid,6000); AddItem(playerid, 11704, 1); } if(EscolhaV[playerid] == 8) { if(PlayerInfo[playerid][pCasher] < 5000) { SendClientMessage(playerid, COLOR_GRAD4, "[ LOJA ] Você não possuí esta quantidade de cash's."); EscolhaV[playerid] = 0; return 1; } MensagemFormatadaAll(0x3CB371FF, "| LOJA-VIP | {FFFFFF}[%s] acaba de comprar o item {00FFFF}Cajado Skull {FFFFFF}na Loja-VIP Valor: {00FFFF}$5,000.",PlayerName(playerid)); EscolhaV[playerid] = 0; format(str, 800, "{FFFFFF}RECIBO DE {00FFFF}COMPRA\n\ {FFFFFF}Item: {00FFFF}Cajado Skull\n\ {FFFFFF}Função: {00FFFF}Adiciona 1 acessorio para ser equipado ao personagem..\n\ {FFFFFF}Raridade: {00FFFF}Normal\n\ {FFFFFF}Valor: {00FFFF}5,000(s)\n\ {FF6347}*OBS: {FFFFFF}Este item foi adicionado a seu inventário."); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_EFEITOS_CF, DIALOG_STYLE_MSGBOX, "» Compra Finalizada", str, "Fechar", ""); TakeCash(playerid,5000); AddItem(playerid, 3524, 1); } if(EscolhaV[playerid] == 9) { if(PlayerInfo[playerid][pCasher] < 4000) { SendClientMessage(playerid, COLOR_GRAD4, "[ LOJA ] Você não possuí esta quantidade de cash's."); EscolhaV[playerid] = 0; return 1; } MensagemFormatadaAll(0x3CB371FF, "| LOJA-VIP | {FFFFFF}[%s] acaba de comprar o item {00FFFF}Luva Esquerda {FFFFFF}na Loja-VIP Valor: {00FFFF}$4,000.",PlayerName(playerid)); EscolhaV[playerid] = 0; format(str, 800, "{FFFFFF}RECIBO DE {00FFFF}COMPRA\n\ {FFFFFF}Item: {00FFFF}Luva Esquerda\n\ {FFFFFF}Função: {00FFFF}Adiciona 1 acessorio para ser equipado ao personagem..\n\ {FFFFFF}Raridade: {00FFFF}Normal\n\ {FFFFFF}Valor: {00FFFF}4,000(s)\n\ {FF6347}*OBS: {FFFFFF}Este item foi adicionado a seu inventário."); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_EFEITOS_CF, DIALOG_STYLE_MSGBOX, "» Compra Finalizada", str, "Fechar", ""); TakeCash(playerid,4000); AddItem(playerid, 19555, 1); } if(EscolhaV[playerid] == 10) { if(PlayerInfo[playerid][pCasher] < 5000) { SendClientMessage(playerid, COLOR_GRAD4, "[ LOJA ] Você não possuí esta quantidade de cash's."); EscolhaV[playerid] = 0; return 1; } MensagemFormatadaAll(0x3CB371FF, "| LOJA-VIP | {FFFFFF}[%s] acaba de comprar o item {00FFFF}Guitarra {FFFFFF}na Loja-VIP Valor: {00FFFF}$5,000.",PlayerName(playerid)); EscolhaV[playerid] = 0; format(str, 800, "{FFFFFF}RECIBO DE {00FFFF}COMPRA\n\ {FFFFFF}Item: {00FFFF}Guitarra\n\ {FFFFFF}Função: {00FFFF}Adiciona 1 acessorio para ser equipado ao personagem..\n\ {FFFFFF}Raridade: {00FFFF}Normal\n\ {FFFFFF}Valor: {00FFFF}5,000(s)\n\ {FF6347}*OBS: {FFFFFF}Este item foi adicionado a seu inventário."); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_EFEITOS_CF, DIALOG_STYLE_MSGBOX, "» Compra Finalizada", str, "Fechar", ""); TakeCash(playerid,5000); AddItem(playerid, 19319, 1); } if(EscolhaV[playerid] == 11) { if(PlayerInfo[playerid][pCasher] < 5000) { SendClientMessage(playerid, COLOR_GRAD4, "[ LOJA ] Você não possuí esta quantidade de cash's."); EscolhaV[playerid] = 0; return 1; } MensagemFormatadaAll(0x3CB371FF, "| LOJA-VIP | {FFFFFF}[%s] acaba de comprar o item {00FFFF}Aviaozinho {FFFFFF}na Loja-VIP Valor: {00FFFF}$5,000.",PlayerName(playerid)); EscolhaV[playerid] = 0; format(str, 800, "{FFFFFF}RECIBO DE {00FFFF}COMPRA\n\ {FFFFFF}Item: {00FFFF}Aviaozinho\n\ {FFFFFF}Função: {00FFFF}Adiciona 1 acessorio para ser equipado ao personagem..\n\ {FFFFFF}Raridade: {00FFFF}Normal\n\ {FFFFFF}Valor: {00FFFF}7,000(s)\n\ {FF6347}*OBS: {FFFFFF}Este item foi adicionado a seu inventário."); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_EFEITOS_CF, DIALOG_STYLE_MSGBOX, "» Compra Finalizada", str, "Fechar", ""); TakeCash(playerid,7000); AddItem(playerid, 2469, 1); } if(EscolhaV[playerid] == 12) { if(PlayerInfo[playerid][pCasher] < 5000) { SendClientMessage(playerid, COLOR_GRAD4, "[ LOJA ] Você não possuí esta quantidade de cash's."); EscolhaV[playerid] = 0; return 1; } MensagemFormatadaAll(0x3CB371FF, "| LOJA-VIP | {FFFFFF}[%s] acaba de comprar o item {00FFFF}Caldeirao {FFFFFF}na Loja-VIP Valor: {00FFFF}$5,000.",PlayerName(playerid)); EscolhaV[playerid] = 0; format(str, 800, "{FFFFFF}RECIBO DE {00FFFF}COMPRA\n\ {FFFFFF}Item: {00FFFF}Caldeirao\n\ {FFFFFF}Função: {00FFFF}Adiciona 1 acessorio para ser equipado ao personagem..\n\ {FFFFFF}Raridade: {00FFFF}Normal\n\ {FFFFFF}Valor: {00FFFF}7,000(s)\n\ {FF6347}*OBS: {FFFFFF}Este item foi adicionado a seu inventário."); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_EFEITOS_CF, DIALOG_STYLE_MSGBOX, "» Compra Finalizada", str, "Fechar", ""); TakeCash(playerid,7000); AddItem(playerid, 19527, 1); } } } if(dialogid == DIALOG_MENU_VIP_EFEITOS_CF) { if(!response) { SendClientMessage(playerid, COLOR_GRAD4, "[ LOJA ] Você fechou a loja vip."); EscolhaV[playerid] = 0; return 1; } if(response) { new str[1000]; if(EscolhaV[playerid] == 1) { if(PlayerInfo[playerid][pCasher] < 10000) { SendClientMessage(playerid, COLOR_GRAD4, "[ LOJA ] Você não possuí esta quantidade de cash's."); EscolhaV[playerid] = 0; return 1; } MensagemFormatadaAll(0x3CB371FF, "| LOJA-VIP | {FFFFFF}[%s] acaba de comprar o item {00FFFF}Efeito Blaster {FFFFFF}na Loja-VIP Valor: {00FFFF}$10,000.",PlayerName(playerid)); EscolhaV[playerid] = 0; format(str, 800, "{FFFFFF}RECIBO DE {00FFFF}COMPRA\n\ {FFFFFF}Item: {00FFFF}Efeito Blaster\n\ {FFFFFF}Função: {00FFFF}Adiciona 1 efeito para ser equipado..\n\ {FFFFFF}Raridade: {00FFFF}Normal\n\ {FFFFFF}Valor: {00FFFF}10,000(s)\n\ {FF6347}*OBS: {FFFFFF}Este item foi adicionado a seu inventário."); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_EFEITOS_CF, DIALOG_STYLE_MSGBOX, "» Compra Finalizada", str, "Fechar", ""); TakeCash(playerid,10000); AddItem(playerid, 18693, 1); } if(EscolhaV[playerid] == 2) { if(PlayerInfo[playerid][pCasher] < 7000) { SendClientMessage(playerid, COLOR_GRAD4, "[ LOJA ] Você não possuí esta quantidade de cash's."); EscolhaV[playerid] = 0; return 1; } MensagemFormatadaAll(0x3CB371FF, "| LOJA-VIP | {FFFFFF}[%s] acaba de comprar o item {00FFFF}Foguinho {FFFFFF}na Loja-VIP Valor: {00FFFF}$7,000.",PlayerName(playerid)); EscolhaV[playerid] = 0; format(str, 800, "{FFFFFF}RECIBO DE {00FFFF}COMPRA\n\ {FFFFFF}Item: {00FFFF}Pisca Pisca Branco\n\ {FFFFFF}Função: {00FFFF}Adiciona 1 efeito para ser equipado..\n\ {FFFFFF}Raridade: {00FFFF}Normal\n\ {FFFFFF}Valor: {00FFFF}7,000(s)\n\ {FF6347}*OBS: {FFFFFF}Este item foi adicionado a seu inventário."); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_EFEITOS_CF, DIALOG_STYLE_MSGBOX, "» Compra Finalizada", str, "Fechar", ""); TakeCash(playerid,7000); AddItem(playerid, 18701, 1); } if(EscolhaV[playerid] == 3) { if(PlayerInfo[playerid][pCasher] < 9000) { SendClientMessage(playerid, COLOR_GRAD4, "[ LOJA ] Você não possuí esta quantidade de cash's."); EscolhaV[playerid] = 0; return 1; } MensagemFormatadaAll(0x3CB371FF, "| LOJA-VIP | {FFFFFF}[%s] acaba de comprar o item {00FFFF}Luz Vermelha {FFFFFF}na Loja-VIP Valor: {00FFFF}$9,000.",PlayerName(playerid)); EscolhaV[playerid] = 0; format(str, 800, "{FFFFFF}RECIBO DE {00FFFF}COMPRA\n\ {FFFFFF}Item: {00FFFF}Luz Vermelha\n\ {FFFFFF}Função: {00FFFF}Adiciona 1 efeito para ser equipado..\n\ {FFFFFF}Raridade: {00FFFF}Normal\n\ {FFFFFF}Valor: {00FFFF}9,000(s)\n\ {FF6347}*OBS: {FFFFFF}Este item foi adicionado a seu inventário."); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_EFEITOS_CF, DIALOG_STYLE_MSGBOX, "» Compra Finalizada", str, "Fechar", ""); TakeCash(playerid,9000); AddItem(playerid, 18728, 1); } if(EscolhaV[playerid] == 4) { if(PlayerInfo[playerid][pCasher] < 9000) { SendClientMessage(playerid, COLOR_GRAD4, "[ LOJA ] Você não possuí esta quantidade de cash's."); EscolhaV[playerid] = 0; return 1; } MensagemFormatadaAll(0x3CB371FF, "| LOJA-VIP | {FFFFFF}[%s] acaba de comprar o item {00FFFF}Luz Verde {FFFFFF}na Loja-VIP Valor: {00FFFF}$9,000.",PlayerName(playerid)); EscolhaV[playerid] = 0; format(str, 800, "{FFFFFF}RECIBO DE {00FFFF}COMPRA\n\ {FFFFFF}Item: {00FFFF}Luz Verde\n\ {FFFFFF}Função: {00FFFF}Adiciona 1 efeito para ser equipado..\n\ {FFFFFF}Raridade: {00FFFF}Normal\n\ {FFFFFF}Valor: {00FFFF}9,000(s)\n\ {FF6347}*OBS: {FFFFFF}Este item foi adicionado a seu inventário."); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_EFEITOS_CF, DIALOG_STYLE_MSGBOX, "» Compra Finalizada", str, "Fechar", ""); TakeCash(playerid,9000); AddItem(playerid, 18729, 1); } if(EscolhaV[playerid] == 5) { if(PlayerInfo[playerid][pCasher] < 7500) { SendClientMessage(playerid, COLOR_GRAD4, "[ LOJA ] Você não possuí esta quantidade de cash's."); EscolhaV[playerid] = 0; return 1; } MensagemFormatadaAll(0x3CB371FF, "| LOJA-VIP | {FFFFFF}[%s] acaba de comprar o item{00FFFF}Chafariz {FFFFFF}na Loja-VIP Valor: {00FFFF}$7,500.",PlayerName(playerid)); EscolhaV[playerid] = 0; format(str, 800, "{FFFFFF}RECIBO DE {00FFFF}COMPRA\n\ {FFFFFF}Item: {00FFFF}Chafariz\n\ {FFFFFF}Função: {00FFFF}Adiciona 1 efeito para ser equipado..\n\ {FFFFFF}Raridade: {00FFFF}Normal\n\ {FFFFFF}Valor: {00FFFF}7,500(s)\n\ {FF6347}*OBS: {FFFFFF}Este item foi adicionado a seu inventário."); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_EFEITOS_CF, DIALOG_STYLE_MSGBOX, "» Compra Finalizada", str, "Fechar", ""); TakeCash(playerid,7500); AddItem(playerid, 18740, 1); } } } if(dialogid == DIALOG_MENU_VIP_ITENS) { new str[1000]; if(response) { switch(listitem) { case 0: { EscolhaV[playerid] = 1; format(str, 800, "{FFFFFF}Item: {00FFFF}+1 Nivel\n\n\ {FFFFFF}Função: {00FFFF}Adicionar 1 nivel a conta\n\ {FFFFFF}Raridade: {00FFFF}Normal\n\ {FFFFFF}Valor: {00FFFF}2,000(s)\n\ {FF6347}*OBS: {FFFFFF}Ao confirmar você está de acordo com nossas politicas de compra."); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_ITENS_CF, DIALOG_STYLE_MSGBOX, "» Finalizar Compra", str, "Comprar", "Sair"); } case 1: { EscolhaV[playerid] = 2; format(str, 800, "{FFFFFF}Item: {00FFFF}Sair da Prisão\n\n\ {FFFFFF}Função: {00FFFF}Sair imediatamente da prisão\n\ {FFFFFF}Raridade: {00FFFF}Normal\n\ {FFFFFF}Valor: {00FFFF}1,500(s)\n\ {FF6347}*OBS: {FFFFFF}Ao confirmar você está de acordo com nossas politicas de compra."); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_ITENS_CF, DIALOG_STYLE_MSGBOX, "» Finalizar Compra", str, "Comprar", "Sair"); } case 2: { EscolhaV[playerid] = 3; format(str, 800, "{FFFFFF}Item: {00FFFF}Limpar Ficha\n\n\ {FFFFFF}Função: {00FFFF}Limpar ficha criminal.\n\ {FFFFFF}Raridade: {00FFFF}Normal\n\ {FFFFFF}Valor: {00FFFF}1,500(s)\n\ {FF6347}*OBS: {FFFFFF}Ao confirmar você está de acordo com nossas politicas de compra."); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_ITENS_CF, DIALOG_STYLE_MSGBOX, "» Finalizar Compra", str, "Comprar", "Sair"); } case 3: { EscolhaV[playerid] = 4; format(str, 800, "{FFFFFF}Item: {00FFFF}Spawnar HQ\n\n\ {FFFFFF}Função: {00FFFF}Automaticamente spawnado na sua HQ.\n\ {FFFFFF}Raridade: {00FFFF}Normal\n\ {FFFFFF}Valor: {00FFFF}1,550(s)\n\ {FF6347}*OBS: {FFFFFF}Ao confirmar você está de acordo com nossas politicas de compra."); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_ITENS_CF, DIALOG_STYLE_MSGBOX, "» Finalizar Compra", str, "Comprar", "Sair"); } case 4: { EscolhaV[playerid] = 5; format(str, 800, "{FFFFFF}Item: {00FFFF}Restaurar Vida\n\n\ {FFFFFF}Função: {00FFFF}Restaurar HP ao máximo.\n\ {FFFFFF}Raridade: {00FFFF}Normal\n\ {FFFFFF}Valor: {00FFFF}1,100(s)\n\ {FF6347}*OBS: {FFFFFF}Ao confirmar você está de acordo com nossas politicas de compra."); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_ITENS_CF, DIALOG_STYLE_MSGBOX, "» Finalizar Compra", str, "Comprar", "Sair"); } case 5: { EscolhaV[playerid] = 6; format(str, 800, "{FFFFFF}Item: {00FFFF}Restaurar Colete\n\n\ {FFFFFF}Função: {00FFFF}Restaurar Colete ao máximo.\n\ {FFFFFF}Raridade: {00FFFF}Normal\n\ {FFFFFF}Valor: {00FFFF}1,100(s)\n\ {FF6347}*OBS: {FFFFFF}Ao confirmar você está de acordo com nossas politicas de compra."); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_ITENS_CF, DIALOG_STYLE_MSGBOX, "» Finalizar Compra", str, "Comprar", "Sair"); } case 6: { EscolhaV[playerid] = 7; format(str, 800, "{FFFFFF}Item: {00FFFF}1 Explosivo\n\n\ {FFFFFF}Função: {00FFFF}Adiciona 1 explosivo ao inventário.\n\ {FFFFFF}Raridade: {00FFFF}Normal\n\ {FFFFFF}Valor: {00FFFF}1,500(s)\n\ {FF6347}*OBS: {FFFFFF}Ao confirmar você está de acordo com nossas politicas de compra."); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_ITENS_CF, DIALOG_STYLE_MSGBOX, "» Finalizar Compra", str, "Comprar", "Sair"); } case 7: { EscolhaV[playerid] = 8; format(str, 800, "{FFFFFF}Item: {00FFFF}Titulo Personalizado\n\n\ {FFFFFF}Função: {00FFFF}Editar seu titulo da forma que quiser.\n\ {FFFFFF}Raridade: {00FFFF}Normal\n\ {FFFFFF}Valor: {00FFFF}6,000(s)\n\ {FF6347}*OBS: {FFFFFF}Ao confirmar você está de acordo com nossas politicas de compra."); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_ITENS_CF, DIALOG_STYLE_MSGBOX, "» Finalizar Compra", str, "Comprar", "Sair"); } case 8: { EscolhaV[playerid] = 9; format(str, 800, "{FFFFFF}Item: {00FFFF}Jetpack\n\n\ {FFFFFF}Função: {00FFFF}Mochila a jato para ser usado a hora que quiser.\n\ {FFFFFF}Raridade: {00FFFF}Normal\n\ {FFFFFF}Valor: {00FFFF}20,000(s)\n\ {FF6347}*OBS: {FFFFFF}Ao confirmar você está de acordo com nossas politicas de compra."); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_ITENS_CF, DIALOG_STYLE_MSGBOX, "» Finalizar Compra", str, "Comprar", "Sair"); } case 9: { EscolhaV[playerid] = 10; format(str, 800, "{FFFFFF}Item: {00FFFF}Anúncio Personalizado\n\n\ {FFFFFF}Função: {00FFFF}Anúncio personalizado da forma que quiser.\n\ {FFFFFF}Raridade: {00FFFF}Normal\n\ {FFFFFF}Valor: {00FFFF}1,000(s)\n\ {FF6347}*OBS: {FFFFFF}Ao confirmar você está de acordo com nossas politicas de compra."); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_ITENS_CF, DIALOG_STYLE_MSGBOX, "» Finalizar Compra", str, "Comprar", "Sair"); } case 10: { EscolhaV[playerid] = 11; format(str, 800, "{FFFFFF}Item: {00FFFF}Portão\n\n\ {FFFFFF}Função: {00FFFF}Crie portão, edite seu portão aonde quiser.\n\ {FFFFFF}Raridade: {00FFFF}Normal\n\ {FFFFFF}Valor: {00FFFF}10,000(s)\n\ {FF6347}*OBS: {FFFFFF}Ao confirmar você está de acordo com nossas politicas de compra."); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_ITENS_CF, DIALOG_STYLE_MSGBOX, "» Finalizar Compra", str, "Comprar", "Sair"); } case 11: { EscolhaV[playerid] = 12; format(str, 800, "{FFFFFF}Item: {00FFFF}Caixa de itens\n\n\ {FFFFFF}Função: {00FFFF}Crie caixa de itens, edite sua caixa de itens aonde quiser.\n\ {FFFFFF}Raridade: {00FFFF}Normal\n\ {FFFFFF}Valor: {00FFFF}10,000(s)\n\ {FF6347}*OBS: {FFFFFF}Ao confirmar você está de acordo com nossas politicas de compra."); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_ITENS_CF, DIALOG_STYLE_MSGBOX, "» Finalizar Compra", str, "Comprar", "Sair"); } } } } if(dialogid == DIALOG_MENU_VIP_ITENS_CF) { if(!response) { SendClientMessage(playerid, COLOR_GRAD4, "[ LOJA ] Você fechou a loja vip."); EscolhaV[playerid] = 0; return 1; } if(response) { new str[1000]; if(EscolhaV[playerid] == 1) { if(PlayerInfo[playerid][pCasher] < 2000) { SendClientMessage(playerid, COLOR_GRAD4, "[ LOJA ] Você não possuí esta quantidade de cash's."); EscolhaV[playerid] = 0; return 1; } MensagemFormatadaAll(0x3CB371FF, "| LOJA-VIP | {FFFFFF}[%s] acaba de comprar {00FFFF}+1 Nivel {FFFFFF}na Loja-VIP Valor: {00FFFF}$2,000.",PlayerName(playerid)); EscolhaV[playerid] = 0; format(str, 800, "{FFFFFF}RECIBO DE {00FFFF}COMPRA\n\ {FFFFFF}Item: {00FFFF}+1 Nível\n\ {FFFFFF}Função: {00FFFF}Adicionar 1 nivel a conta\n\ {FFFFFF}Raridade: {00FFFF}Normal\n\ {FFFFFF}Valor: {00FFFF}2,000(s)\n\ {FF6347}*OBS: {FFFFFF}Este item foi adicionado a sua conta."); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_ITENS_CF, DIALOG_STYLE_MSGBOX, "» Compra Finalizada", str, "Fechar", ""); TakeCash(playerid,2000); PlayerInfo[playerid][pLevel] += 1; ScoreLevel(playerid); } if(EscolhaV[playerid] == 2) { if(PlayerInfo[playerid][pCasher] < 500) { SendClientMessage(playerid, COLOR_GRAD4, "[ LOJA ] Você não possuí esta quantidade de cash's."); EscolhaV[playerid] = 0; return 1; } MensagemFormatadaAll(0x3CB371FF, "| LOJA-VIP | {FFFFFF}[%s] acaba de comprar o item {00FFFF}Sair da Prisão {FFFFFF}na Loja-VIP Valor: {00FFFF}$1,500.",PlayerName(playerid)); EscolhaV[playerid] = 0; format(str, 800, "{FFFFFF}RECIBO DE {00FFFF}COMPRA\n\ {FFFFFF}Item: {00FFFF}Sair da Prisão\n\ {FFFFFF}Função: {00FFFF}Sair imediatamente da prisão\n\ {FFFFFF}Raridade: {00FFFF}Normal\n\ {FFFFFF}Valor: {00FFFF}1,500(s)\n\ {FF6347}*OBS: {FFFFFF}Este item foi adicionado a sua conta."); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_ITENS_CF, DIALOG_STYLE_MSGBOX, "» Compra Finalizada", str, "Fechar", ""); TakeCash(playerid,1500); PlayerInfo[playerid][pJailed] = 0; PlayerInfo[playerid][pJailTime] = 3; ScoreLevel(playerid); } if(EscolhaV[playerid] == 3) { if(PlayerInfo[playerid][pCasher] < 500) { SendClientMessage(playerid, COLOR_GRAD4, "[ LOJA ] Você não possuí esta quantidade de cash's."); EscolhaV[playerid] = 0; return 1; } MensagemFormatadaAll(0x3CB371FF, "| LOJA-VIP | {FFFFFF}[%s] acaba de comprar o item {00FFFF}Limpar Ficha {FFFFFF}na Loja-VIP Valor: {00FFFF}$1,500.",PlayerName(playerid)); EscolhaV[playerid] = 0; format(str, 800, "{FFFFFF}RECIBO DE {00FFFF}COMPRA\n\ {FFFFFF}Item: {00FFFF}Limpar Ficha\n\ {FFFFFF}Função: {00FFFF}Limpar ficha criminal.\n\ {FFFFFF}Raridade: {00FFFF}Normal\n\ {FFFFFF}Valor: {00FFFF}1,500(s)\n\ {FF6347}*OBS: {FFFFFF}Este item foi adicionado a sua conta."); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_ITENS_CF, DIALOG_STYLE_MSGBOX, "» Compra Finalizada", str, "Fechar", ""); TakeCash(playerid,1500); WantedPoints[playerid] = 0; SetPlayerWantedLevelEx(playerid, 0); ClearCrime(playerid); } if(EscolhaV[playerid] == 4) { if(PlayerInfo[playerid][pCasher] < 550) { SendClientMessage(playerid, COLOR_GRAD4, "[ LOJA ] Você não possuí esta quantidade de cash's."); EscolhaV[playerid] = 0; return 1; } MensagemFormatadaAll(0x3CB371FF, "| LOJA-VIP | {FFFFFF}[%s] acaba de comprar o item {00FFFF}Spawnar HQ {FFFFFF}na Loja-VIP Valor: {00FFFF}$1,550.",PlayerName(playerid)); EscolhaV[playerid] = 0; format(str, 800, "{FFFFFF}RECIBO DE {00FFFF}COMPRA\n\ {FFFFFF}Item: {00FFFF}Spawnar HQ\n\ {FFFFFF}Função: {00FFFF}Automaticamente spawnado na HQ.\n\ {FFFFFF}Raridade: {00FFFF}Normal\n\ {FFFFFF}Valor: {00FFFF}1,550(s)\n\ {FF6347}*OBS: {FFFFFF}Este item foi adicionado a sua conta."); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_ITENS_CF, DIALOG_STYLE_MSGBOX, "» Compra Finalizada", str, "Fechar", ""); TakeCash(playerid,1550); SetPlayerSpawn(playerid); } if(EscolhaV[playerid] == 5) { if(PlayerInfo[playerid][pCasher] < 100) { SendClientMessage(playerid, COLOR_GRAD4, "[ LOJA ] Você não possuí esta quantidade de cash's."); EscolhaV[playerid] = 0; return 1; } MensagemFormatadaAll(0x3CB371FF, "| LOJA-VIP | {FFFFFF}[%s] acaba de comprar o item {00FFFF}Restaurar Vida {FFFFFF}na Loja-VIP Valor: {00FFFF}$1,100.",PlayerName(playerid)); EscolhaV[playerid] = 0; format(str, 800, "{FFFFFF}RECIBO DE {00FFFF}COMPRA\n\ {FFFFFF}Item: {00FFFF}Restaurar Vida\n\ {FFFFFF}Função: {00FFFF}Restaurar HP ao máximo..\n\ {FFFFFF}Raridade: {00FFFF}Normal\n\ {FFFFFF}Valor: {00FFFF}1,100(s)\n\ {FF6347}*OBS: {FFFFFF}Este item foi adicionado a sua conta."); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_ITENS_CF, DIALOG_STYLE_MSGBOX, "» Compra Finalizada", str, "Fechar", ""); TakeCash(playerid,1100); SetPlayerHealth(playerid,100); } if(EscolhaV[playerid] == 6) { if(PlayerInfo[playerid][pCasher] < 100) { SendClientMessage(playerid, COLOR_GRAD4, "[ LOJA ] Você não possuí esta quantidade de cash's."); EscolhaV[playerid] = 0; return 1; } MensagemFormatadaAll(0x3CB371FF, "| LOJA-VIP | {FFFFFF}[%s] acaba de comprar o item {00FFFF}Restaurar Colete {FFFFFF}na Loja-VIP Valor: {00FFFF}$1,100.",PlayerName(playerid)); EscolhaV[playerid] = 0; format(str, 800, "{FFFFFF}RECIBO DE {00FFFF}COMPRA\n\ {FFFFFF}Item: {00FFFF}Restaurar Colete\n\ {FFFFFF}Função: {00FFFF}Restaurar Colete ao máximo..\n\ {FFFFFF}Raridade: {00FFFF}Normal\n\ {FFFFFF}Valor: {00FFFF}1,100(s)\n\ {FF6347}*OBS: {FFFFFF}Este item foi adicionado a sua conta."); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_ITENS_CF, DIALOG_STYLE_MSGBOX, "» Compra Finalizada", str, "Fechar", ""); TakeCash(playerid,1100); SetPlayerArmour(playerid,100); } if(EscolhaV[playerid] == 7) { if(PlayerInfo[playerid][pCasher] < 100) { SendClientMessage(playerid, COLOR_GRAD4, "[ LOJA ] Você não possuí esta quantidade de cash's."); EscolhaV[playerid] = 0; return 1; } MensagemFormatadaAll(0x3CB371FF, "| LOJA-VIP | {FFFFFF}[%s] acaba de comprar o item {00FFFF}Explosivo {FFFFFF}na Loja-VIP Valor: {00FFFF}$1,100.",PlayerName(playerid)); EscolhaV[playerid] = 0; format(str, 800, "{FFFFFF}RECIBO DE {00FFFF}COMPRA\n\ {FFFFFF}Item: {00FFFF}1 Explosivo\n\ {FFFFFF}Função: {00FFFF}Adiciona 1 explosivo ao inventário..\n\ {FFFFFF}Raridade: {00FFFF}Normal\n\ {FFFFFF}Valor: {00FFFF}1,500(s)\n\ {FF6347}*OBS: {FFFFFF}Este item foi adicionado a seu inventário."); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_ITENS_CF, DIALOG_STYLE_MSGBOX, "» Compra Finalizada", str, "Fechar", ""); TakeCash(playerid,1500); PlayerInfo[playerid][pExplosivos]++; AddItem(playerid, 1654, 1); } if(EscolhaV[playerid] == 8) { if(PlayerInfo[playerid][pCasher] < 6000) { SendClientMessage(playerid, COLOR_GRAD4, "[ LOJA ] Você não possuí esta quantidade de cash's."); EscolhaV[playerid] = 0; return 1; } MensagemFormatadaAll(0x3CB371FF, "| LOJA-VIP | {FFFFFF}[%s] acaba de comprar o item {00FFFF}Titulo Personalizado {FFFFFF}na Loja-VIP Valor: {00FFFF}$6,000.",PlayerName(playerid)); EscolhaV[playerid] = 0; format(str, 800, "{FFFFFF}RECIBO DE {00FFFF}COMPRA\n\ {FFFFFF}Item: {00FFFF}Titulo Personalizado\n\ {FFFFFF}Função: {00FFFF}Trocar o titulo que fica acima da sua cabeca\n\ {FFFFFF}Raridade: {00FFFF}Normal\n\ {FFFFFF}Valor: {00FFFF}6.000(s)\n\ {FF6347}*OBS: {FFFFFF}Este item foi adicionado a sua conta."); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_ITENS_CF, DIALOG_STYLE_MSGBOX, "» Compra Finalizada", str, "Fechar", ""); TakeCash(playerid,6000); } if(EscolhaV[playerid] == 9) { if(PlayerInfo[playerid][pCasher] < 12000) { SendClientMessage(playerid, COLOR_GRAD4, "[ LOJA ] Você não possuí esta quantidade de cash's."); EscolhaV[playerid] = 0; return 1; } MensagemFormatadaAll(0x3CB371FF, "| LOJA-VIP | {FFFFFF}[%s] acaba de comprar o item {00FFFF}Jetpack {FFFFFF}na Loja-VIP Valor: {00FFFF}$12,000.",PlayerName(playerid)); EscolhaV[playerid] = 0; format(str, 800, "{FFFFFF}RECIBO DE {00FFFF}COMPRA\n\ {FFFFFF}Item: {00FFFF}Jetpack\n\ {FFFFFF}Função: {00FFFF}Mochila a jato para usar quando quiser.\n\ {FFFFFF}Raridade: {00FFFF}Normal\n\ {FFFFFF}Valor: {00FFFF}20,000(s)\n\ {FF6347}*OBS: {FFFFFF}Este item foi adicionado a sua conta."); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_ITENS_CF, DIALOG_STYLE_MSGBOX, "» Compra Finalizada", str, "Fechar", ""); TakeCash(playerid,20000); TemJetpack[playerid] = 1; AddItem(playerid, 370, 1); } if(EscolhaV[playerid] == 10) { if(PlayerInfo[playerid][pCasher] < 1000) { SendClientMessage(playerid, COLOR_GRAD4, "[ LOJA ] Você não possuí esta quantidade de cash's."); EscolhaV[playerid] = 0; return 1; } MensagemFormatadaAll(0x3CB371FF, "| LOJA-VIP | {FFFFFF}[%s] acaba de comprar o item {00FFFF}Anuncio Personalizado {FFFFFF}na Loja-VIP Valor: {00FFFF}$1,000.",PlayerName(playerid)); EscolhaV[playerid] = 0; format(str, 800, "{FFFFFF}RECIBO DE {00FFFF}COMPRA\n\ {FFFFFF}Item: {00FFFF}Anuncio Personalizado\n\ {FFFFFF}Função: {00FFFF}Editar seu anuncio personalizado da maneira que quiser..\n\ {FFFFFF}Raridade: {00FFFF}Normal\n\ {FFFFFF}Valor: {00FFFF}1,000(s)\n\ {FF6347}*OBS: {FFFFFF}Este item foi adicionado a sua conta."); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_ITENS_CF, DIALOG_STYLE_MSGBOX, "» Compra Finalizada", str, "Fechar", ""); TakeCash(playerid,1000); TemAnuncioPersonalizado[playerid] = 1; } // portao if(EscolhaV[playerid] == 11) { if(PlayerInfo[playerid][pCasher] < 10000) { SendClientMessage(playerid, COLOR_GRAD4, "[ LOJA ] Você não possuí esta quantidade de cash's."); EscolhaV[playerid] = 0; return 1; } MensagemFormatadaAll(0x3CB371FF, "| LOJA-VIP | {FFFFFF}[%s] acaba de comprar o item {00FFFF}Portão {FFFFFF}na Loja-VIP Valor: {00FFFF}$10,000.",PlayerName(playerid)); EscolhaV[playerid] = 0; format(str, 800, "{FFFFFF}RECIBO DE {00FFFF}COMPRA\n\ {FFFFFF}Item: {00FFFF}Portão\n\ {FFFFFF}Função: {00FFFF}Edite seu portão aonde quiser..\n\ {FFFFFF}Raridade: {00FFFF}Normal\n\ {FFFFFF}Valor: {00FFFF}10,000(s)\n\ {FF6347}*OBS: {FFFFFF}Este item foi adicionado a sua conta."); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_ITENS_CF, DIALOG_STYLE_MSGBOX, "» Compra Finalizada", str, "Fechar", ""); TakeCash(playerid,10000); AddItem(playerid, 980, 1); } // caixa if(EscolhaV[playerid] == 12) { if(PlayerInfo[playerid][pCasher] < 10000) { SendClientMessage(playerid, COLOR_GRAD4, "[ LOJA ] Você não possuí esta quantidade de cash's."); EscolhaV[playerid] = 0; return 1; } MensagemFormatadaAll(0x3CB371FF, "| LOJA-VIP | {FFFFFF}[%s] acaba de comprar o item {00FFFF}Caixa de itens {FFFFFF}na Loja-VIP Valor: {00FFFF}$10,000.",PlayerName(playerid)); EscolhaV[playerid] = 0; format(str, 800, "{FFFFFF}RECIBO DE {00FFFF}COMPRA\n\ {FFFFFF}Item: {00FFFF}Caixa de itens\n\ {FFFFFF}Função: {00FFFF}Edite sua caixa de itens aonde quiser..\n\ {FFFFFF}Raridade: {00FFFF}Normal\n\ {FFFFFF}Valor: {00FFFF}10,000(s)\n\ {FF6347}*OBS: {FFFFFF}Este item foi adicionado a sua conta."); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_ITENS_CF, DIALOG_STYLE_MSGBOX, "» Compra Finalizada", str, "Fechar", ""); TakeCash(playerid,10000); AddItem(playerid, 1271, 1); } } } if(dialogid == DIALOG_MENU_VIP_CARROS) { new str[1000]; if(response) { switch(listitem) { case 0: { EscolhaV[playerid] = 1; format(str, 800, "{FFFFFF}Item: {00FFFF}Carro de Inventário\n\n\ {FFFFFF}Modelo: {00FFFF}Infernus\n\ {FFFFFF}Raridade: {00FFFF}Normal\n\ {FFFFFF}Portas: {00FFFF}2 Portas\n\ {FFFFFF}Valor: {00FFFF}20,000(s)\n\ {FF6347}*OBS: {FFFFFF}Ao confirmar você está de acordo com nossas politicas de compra."); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_CARROS_CF, DIALOG_STYLE_MSGBOX, "» Finalizar Compra", str, "Comprar", "Sair"); } case 1: { EscolhaV[playerid] = 2; format(str, 800, "{FFFFFF}Item: {00FFFF}Carro de Inventário\n\n\ {FFFFFF}Modelo: {00FFFF}Bullet\n\ {FFFFFF}Raridade: {00FFFF}Raro\n\ {FFFFFF}Portas: {00FFFF}2 Portas\n\ {FFFFFF}Valor: {00FFFF}30,000(s)\n\ {FF6347}*OBS: {FFFFFF}Ao confirmar você está de acordo com nossas politicas de compra."); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_CARROS_CF, DIALOG_STYLE_MSGBOX, "» Finalizar Compra", str, "Comprar", "Sair"); } case 2: { EscolhaV[playerid] = 3; format(str, 800, "{FFFFFF}Item: {00FFFF}Carro de Inventário\n\n\ {FFFFFF}Modelo: {00FFFF}Sultan\n\ {FFFFFF}Raridade: {00FFFF}Raro\n\ {FFFFFF}Portas: {00FFFF}4 Portas\n\ {FFFFFF}Valor: {00FFFF}30,000(s)\n\ {FF6347}*OBS: {FFFFFF}Ao confirmar você está de acordo com nossas politicas de compra."); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_CARROS_CF, DIALOG_STYLE_MSGBOX, "» Finalizar Compra", str, "Comprar", "Sair"); } case 3: { EscolhaV[playerid] = 4; format(str, 800, "{FFFFFF}Item: {00FFFF}Carro de Inventário\n\n\ {FFFFFF}Modelo: {00FFFF}Turismo\n\ {FFFFFF}Raridade: {00FFFF}Normal\n\ {FFFFFF}Portas: {00FFFF}2 Portas\n\ {FFFFFF}Valor: {00FFFF}28,000(s)\n\ {FF6347}*OBS: {FFFFFF}Ao confirmar você está de acordo com nossas politicas de compra."); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_CARROS_CF, DIALOG_STYLE_MSGBOX, "» Finalizar Compra", str, "Comprar", "Sair"); } case 4: { EscolhaV[playerid] = 5; format(str, 800, "{FFFFFF}Item: {00FFFF}Carro de Inventário\n\n\ {FFFFFF}Modelo: {00FFFF}Monster\n\ {FFFFFF}Raridade: {00FFFF}Super-Raro\n\ {FFFFFF}Portas: {00FFFF}2 Portas\n\ {FFFFFF}Valor: {00FFFF}70,000(s)\n\ {FF6347}*OBS: {FFFFFF}Ao confirmar você está de acordo com nossas politicas de compra."); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_CARROS_CF, DIALOG_STYLE_MSGBOX, "» Finalizar Compra", str, "Comprar", "Sair"); } case 5: { EscolhaV[playerid] = 6; format(str, 800, "{FFFFFF}Item: {00FFFF}Carro de Inventário\n\n\ {FFFFFF}Modelo: {00FFFF}SandKing\n\ {FFFFFF}Raridade: {00FFFF}Normal\n\ {FFFFFF}Portas: {00FFFF}2 Portas\n\ {FFFFFF}Valor: {00FFFF}25,000(s)\n\ {FF6347}*OBS: {FFFFFF}Ao confirmar você está de acordo com nossas politicas de compra."); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_CARROS_CF, DIALOG_STYLE_MSGBOX, "» Finalizar Compra", str, "Comprar", "Sair"); } case 6: { EscolhaV[playerid] = 7; format(str, 800, "{FFFFFF}Item: {00FFFF}Carro de Inventário\n\n\ {FFFFFF}Modelo: {00FFFF}Bandito\n\ {FFFFFF}Raridade: {00FFFF}Raro\n\ {FFFFFF}Portas: {00FFFF}2 Portas\n\ {FFFFFF}Valor: {00FFFF}27,000(s)\n\ {FF6347}*OBS: {FFFFFF}Ao confirmar você está de acordo com nossas politicas de compra."); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_CARROS_CF, DIALOG_STYLE_MSGBOX, "» Finalizar Compra", str, "Comprar", "Sair"); } case 7: { EscolhaV[playerid] = 8; format(str, 800, "{FFFFFF}Item: {00FFFF}Carro de Inventário\n\n\ {FFFFFF}Modelo: {00FFFF}Bloodring Banger\n\ {FFFFFF}Raridade: {00FFFF}Raro\n\ {FFFFFF}Portas: {00FFFF}2 Portas\n\ {FFFFFF}Valor: {00FFFF}28,000(s)\n\ {FF6347}*OBS: {FFFFFF}Ao confirmar você está de acordo com nossas politicas de compra."); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_CARROS_CF, DIALOG_STYLE_MSGBOX, "» Finalizar Compra", str, "Comprar", "Sair"); } case 8: { EscolhaV[playerid] = 9; format(str, 800, "{FFFFFF}Item: {00FFFF}Carro de Inventário\n\n\ {FFFFFF}Modelo: {00FFFF}Mesa\n\ {FFFFFF}Raridade: {00FFFF}Raro\n\ {FFFFFF}Portas: {00FFFF}2 Portas\n\ {FFFFFF}Valor: {00FFFF}25,000(s)\n\ {FF6347}*OBS: {FFFFFF}Ao confirmar você está de acordo com nossas politicas de compra."); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_CARROS_CF, DIALOG_STYLE_MSGBOX, "» Finalizar Compra", str, "Comprar", "Sair"); } case 9: { EscolhaV[playerid] = 10; format(str, 800, "{FFFFFF}Item: {00FFFF}Carro de Inventário\n\n\ {FFFFFF}Modelo: {00FFFF}Vortex\n\ {FFFFFF}Raridade: {00FFFF}Hiper-Raro\n\ {FFFFFF}Portas: {00FFFF}1 Porta\n\ {FFFFFF}Valor: {00FFFF}40,000(s)\n\ {FF6347}*OBS: {FFFFFF}Ao confirmar você está de acordo com nossas politicas de compra."); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_CARROS_CF, DIALOG_STYLE_MSGBOX, "» Finalizar Compra", str, "Comprar", "Sair"); } case 10: { EscolhaV[playerid] = 11; format(str, 800, "{FFFFFF}Item: {00FFFF}Carro de Inventário\n\n\ {FFFFFF}Modelo: {00FFFF}NRG-500\n\ {FFFFFF}Raridade: {00FFFF}Normal\n\ {FFFFFF}Valor: {00FFFF}15,000(s)\n\ {FF6347}*OBS: {FFFFFF}Ao confirmar você está de acordo com nossas politicas de compra."); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_CARROS_CF, DIALOG_STYLE_MSGBOX, "» Finalizar Compra", str, "Comprar", "Sair"); } case 11: { EscolhaV[playerid] = 12; format(str, 800, "{FFFFFF}Item: {00FFFF}Veiculo de Inventário\n\n\ {FFFFFF}Modelo: {00FFFF}Maverick\n\ {FFFFFF}Raridade: {00FFFF}Hiper-Raro\n\ {FFFFFF}Valor: {00FFFF}45,000(s)\n\ {FF6347}*OBS: {FFFFFF}Ao confirmar você está de acordo com nossas politicas de compra."); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_CARROS_CF, DIALOG_STYLE_MSGBOX, "» Finalizar Compra", str, "Comprar", "Sair"); } case 12: { EscolhaV[playerid] = 13; format(str, 800, "{FFFFFF}Item: {00FFFF}Veiculo de Inventário\n\n\ {FFFFFF}Modelo: {00FFFF}Seasparrow\n\ {FFFFFF}Raridade: {00FFFF}Hiper-Raro\n\ {FFFFFF}Valor: {00FFFF}50,000(s)\n\ {FF6347}*OBS: {FFFFFF}Ao confirmar você está de acordo com nossas politicas de compra."); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_CARROS_CF, DIALOG_STYLE_MSGBOX, "» Finalizar Compra", str, "Comprar", "Sair"); } case 13: { EscolhaV[playerid] = 14; format(str, 800, "{FFFFFF}Item: {00FFFF}Veiculo de Inventário\n\n\ {FFFFFF}Modelo: {00FFFF}Raindance\n\ {FFFFFF}Raridade: {00FFFF}Hiper-Raro\n\ {FFFFFF}Valor: {00FFFF}50,000(s)\n\ {FF6347}*OBS: {FFFFFF}Ao confirmar você está de acordo com nossas politicas de compra."); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_CARROS_CF, DIALOG_STYLE_MSGBOX, "» Finalizar Compra", str, "Comprar", "Sair"); } case 14: { EscolhaV[playerid] = 15; format(str, 800, "{FFFFFF}Item: {00FFFF}Veiculo de Inventário\n\n\ {FFFFFF}Modelo: {00FFFF}Cargobob\n\ {FFFFFF}Raridade: {00FFFF}Hiper-Raro\n\ {FFFFFF}Valor: {00FFFF}50,000(s)\n\ {FF6347}*OBS: {FFFFFF}Ao confirmar você está de acordo com nossas politicas de compra."); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_CARROS_CF, DIALOG_STYLE_MSGBOX, "» Finalizar Compra", str, "Comprar", "Sair"); } case 15: { EscolhaV[playerid] = 16; format(str, 800, "{FFFFFF}Item: {00FFFF}Veiculo de Inventário\n\n\ {FFFFFF}Modelo: {00FFFF}Sanchez\n\ {FFFFFF}Raridade: {00FFFF}Hiper-Raro\n\ {FFFFFF}Valor: {00FFFF}25,000(s)\n\ {FF6347}*OBS: {FFFFFF}Ao confirmar você está de acordo com nossas politicas de compra."); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_CARROS_CF, DIALOG_STYLE_MSGBOX, "» Finalizar Compra", str, "Comprar", "Sair"); } case 16: { EscolhaV[playerid] = 17; format(str, 800, "{FFFFFF}Item: {00FFFF}Veiculo de Inventário\n\n\ {FFFFFF}Modelo: {00FFFF}Slamvan\n\ {FFFFFF}Raridade: {00FFFF}Hiper-Raro\n\ {FFFFFF}Valor: {00FFFF}30,000(s)\n\ {FF6347}*OBS: {FFFFFF}Ao confirmar você está de acordo com nossas politicas de compra."); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_CARROS_CF, DIALOG_STYLE_MSGBOX, "» Finalizar Compra", str, "Comprar", "Sair"); } } } } if(dialogid == DIALOG_MENU_VIP_CARROS_CF) { if(!response) { SendClientMessage(playerid, COLOR_GRAD4, "[ LOJA ] Você fechou a loja vip."); EscolhaV[playerid] = 0; return 1; } if(response) { new str[1000]; if(EscolhaV[playerid] == 1) { if(PlayerInfo[playerid][pCasher] < 20000) { SendClientMessage(playerid, COLOR_GRAD4, "[ LOJA ] Você não possuí esta quantidade de cash's."); EscolhaV[playerid] = 0; return 1; } MensagemFormatadaAll(0x3CB371FF, "| LOJA-VIP | {FFFFFF}[%s] acaba de comprar um {00FFFF}Infernus {FFFFFF}de Inventário Valor: {00FFFF}$20,000.",PlayerName(playerid)); EscolhaV[playerid] = 0; format(str, 800, "{FFFFFF}RECIBO DE {00FFFF}COMPRA\n\ {FFFFFF}Item: {00FFFF}Carro de Inventário\n\ {FFFFFF}Modelo: {00FFFF}Infernus\n\ {FFFFFF}Raridade: {00FFFF}Normal\n\ {FFFFFF}Portas: {00FFFF}2 Portas\n\ {FFFFFF}Valor: {00FFFF}20,000(s)\n\ {FF6347}*OBS: {FFFFFF}Este item foi adicionado ao seu inventario."); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_CARROS_CF, DIALOG_STYLE_MSGBOX, "» Compra Finalizada", str, "Fechar", ""); TakeCash(playerid,20000); AddItem(playerid, 411, 1); } if(EscolhaV[playerid] == 2) { if(PlayerInfo[playerid][pCasher] < 30000) { SendClientMessage(playerid, COLOR_GRAD4, "[ LOJA ] Você não possuí esta quantidade de cash's."); EscolhaV[playerid] = 0; return 1; } MensagemFormatadaAll(0x3CB371FF, "| LOJA-VIP | {FFFFFF}[%s] acaba de comprar um {00FFFF}Bullet {FFFFFF}de Inventário Valor: {00FFFF}$30,000.",PlayerName(playerid)); EscolhaV[playerid] = 0; format(str, 800, "{FFFFFF}RECIBO DE {00FFFF}COMPRA\n\ {FFFFFF}Item: {00FFFF}Carro de Inventário\n\ {FFFFFF}Modelo: {00FFFF}Bullet\n\ {FFFFFF}Raridade: {00FFFF}Raro\n\ {FFFFFF}Portas: {00FFFF}2 Portas\n\ {FFFFFF}Valor: {00FFFF}30,000(s)\n\ {FF6347}*OBS: {FFFFFF}Este item foi adicionado ao seu inventario."); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_CARROS_CF, DIALOG_STYLE_MSGBOX, "» Compra Finalizada", str, "Fechar", ""); TakeCash(playerid,30000); AddItem(playerid, 541, 1); } if(EscolhaV[playerid] == 3) { if(PlayerInfo[playerid][pCasher] < 30000) { SendClientMessage(playerid, COLOR_GRAD4, "[ LOJA ] Você não possuí esta quantidade de cash's."); EscolhaV[playerid] = 0; return 1; } MensagemFormatadaAll(0x3CB371FF, "| LOJA-VIP | {FFFFFF}[%s] acaba de comprar um {00FFFF}Sultan {FFFFFF}de Inventário Valor: {00FFFF}$30,000.",PlayerName(playerid)); EscolhaV[playerid] = 0; format(str, 800, "{FFFFFF}RECIBO DE {00FFFF}COMPRA\n\ {FFFFFF}Item: {00FFFF}Carro de Inventário\n\ {FFFFFF}Modelo: {00FFFF}Sultan\n\ {FFFFFF}Raridade: {00FFFF}Raro\n\ {FFFFFF}Portas: {00FFFF}4 Portas\n\ {FFFFFF}Valor: {00FFFF}30,000(s)\n\ {FF6347}*OBS: {FFFFFF}Este item foi adicionado ao seu inventario."); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_CARROS_CF, DIALOG_STYLE_MSGBOX, "» Compra Finalizada", str, "Fechar", ""); TakeCash(playerid,30000); AddItem(playerid, 560, 1); } if(EscolhaV[playerid] == 4) { if(PlayerInfo[playerid][pCasher] < 28000) { SendClientMessage(playerid, COLOR_GRAD4, "[ LOJA ] Você não possuí esta quantidade de cash's."); EscolhaV[playerid] = 0; return 1; } MensagemFormatadaAll(0x3CB371FF, "| LOJA-VIP | {FFFFFF}[%s] acaba de comprar um {00FFFF}Turismo {FFFFFF}de Inventário Valor: {00FFFF}$28,000.",PlayerName(playerid)); EscolhaV[playerid] = 0; format(str, 800, "{FFFFFF}RECIBO DE {00FFFF}COMPRA\n\ {FFFFFF}Item: {00FFFF}Carro de Inventário\n\ {FFFFFF}Modelo: {00FFFF}Turismo\n\ {FFFFFF}Raridade: {00FFFF}Normal\n\ {FFFFFF}Portas: {00FFFF}2 Portas\n\ {FFFFFF}Valor: {00FFFF}28,000(s)\n\ {FF6347}*OBS: {FFFFFF}Este item foi adicionado ao seu inventario."); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_CARROS_CF, DIALOG_STYLE_MSGBOX, "» Compra Finalizada", str, "Fechar", ""); TakeCash(playerid,28000); AddItem(playerid, 451, 1); } if(EscolhaV[playerid] == 5) { if(PlayerInfo[playerid][pCasher] < 70000) { SendClientMessage(playerid, COLOR_GRAD4, "[ LOJA ] Você não possuí esta quantidade de cash's."); EscolhaV[playerid] = 0; return 1; } MensagemFormatadaAll(0x3CB371FF, "| LOJA-VIP | {FFFFFF}[%s] acaba de comprar um {00FFFF}Monster {FFFFFF}de Inventário Valor: {00FFFF}$70,000.",PlayerName(playerid)); EscolhaV[playerid] = 0; format(str, 800, "{FFFFFF}RECIBO DE {00FFFF}COMPRA\n\ {FFFFFF}Item: {00FFFF}Carro de Inventário\n\ {FFFFFF}Modelo: {00FFFF}Monster\n\ {FFFFFF}Raridade: {00FFFF}Super-Raro\n\ {FFFFFF}Portas: {00FFFF}2 Portas\n\ {FFFFFF}Valor: {00FFFF}70,000(s)\n\ {FF6347}*OBS: {FFFFFF}Este item foi adicionado ao seu inventario."); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_CARROS_CF, DIALOG_STYLE_MSGBOX, "» Compra Finalizada", str, "Fechar", ""); TakeCash(playerid,70000); AddItem(playerid, 557, 1); } if(EscolhaV[playerid] == 6) { if(PlayerInfo[playerid][pCasher] < 25000) { SendClientMessage(playerid, COLOR_GRAD4, "[ LOJA ] Você não possuí esta quantidade de cash's."); EscolhaV[playerid] = 0; return 1; } MensagemFormatadaAll(0x3CB371FF, "| LOJA-VIP | {FFFFFF}[%s] acaba de comprar um {00FFFF}SandKing {FFFFFF}de Inventário Valor: {00FFFF}$25,000.",PlayerName(playerid)); EscolhaV[playerid] = 0; format(str, 800, "{FFFFFF}RECIBO DE {00FFFF}COMPRA\n\ {FFFFFF}Item: {00FFFF}Carro de Inventário\n\ {FFFFFF}Modelo: {00FFFF}SandKing\n\ {FFFFFF}Raridade: {00FFFF}Normal\n\ {FFFFFF}Portas: {00FFFF}2 Portas\n\ {FFFFFF}Valor: {00FFFF}25,000(s)\n\ {FF6347}*OBS: {FFFFFF}Este item foi adicionado ao seu inventario."); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_CARROS_CF, DIALOG_STYLE_MSGBOX, "» Compra Finalizada", str, "Fechar", ""); TakeCash(playerid,25000); AddItem(playerid, 495, 1); } if(EscolhaV[playerid] == 7) { if(PlayerInfo[playerid][pCasher] < 27000) { SendClientMessage(playerid, COLOR_GRAD4, "[ LOJA ] Você não possuí esta quantidade de cash's."); EscolhaV[playerid] = 0; return 1; } MensagemFormatadaAll(0x3CB371FF, "| LOJA-VIP | {FFFFFF}[%s] acaba de comprar um {00FFFF}Bandito {FFFFFF}de Inventário Valor: {00FFFF}$27,000.",PlayerName(playerid)); EscolhaV[playerid] = 0; format(str, 800, "{FFFFFF}RECIBO DE {00FFFF}COMPRA\n\ {FFFFFF}Item: {00FFFF}Carro de Inventário\n\ {FFFFFF}Modelo: {00FFFF}Bandito\n\ {FFFFFF}Raridade: {00FFFF}Raro\n\ {FFFFFF}Portas: {00FFFF}2 Portas\n\ {FFFFFF}Valor: {00FFFF}27,000(s)\n\ {FF6347}*OBS: {FFFFFF}Este item foi adicionado ao seu inventario."); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_CARROS_CF, DIALOG_STYLE_MSGBOX, "» Compra Finalizada", str, "Fechar", ""); TakeCash(playerid,27000); AddItem(playerid, 568, 1); } if(EscolhaV[playerid] == 8) { if(PlayerInfo[playerid][pCasher] < 28000) { SendClientMessage(playerid, COLOR_GRAD4, "[ LOJA ] Você não possuí esta quantidade de cash's."); EscolhaV[playerid] = 0; return 1; } MensagemFormatadaAll(0x3CB371FF, "| LOJA-VIP | {FFFFFF}[%s] acaba de comprar um {00FFFF}Bloodring Banger {FFFFFF}de Inventário Valor: {00FFFF}$28,000.",PlayerName(playerid)); EscolhaV[playerid] = 0; format(str, 800, "{FFFFFF}RECIBO DE {00FFFF}COMPRA\n\ {FFFFFF}Item: {00FFFF}Carro de Inventário\n\ {FFFFFF}Modelo: {00FFFF}Bloodring Banger\n\ {FFFFFF}Raridade: {00FFFF}Raro\n\ {FFFFFF}Portas: {00FFFF}2 Portas\n\ {FFFFFF}Valor: {00FFFF}28,000(s)\n\ {FF6347}*OBS: {FFFFFF}Este item foi adicionado ao seu inventario."); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_CARROS_CF, DIALOG_STYLE_MSGBOX, "» Compra Finalizada", str, "Fechar", ""); TakeCash(playerid,28000); AddItem(playerid, 504, 1); } if(EscolhaV[playerid] == 9) { if(PlayerInfo[playerid][pCasher] < 25000) { SendClientMessage(playerid, COLOR_GRAD4, "[ LOJA ] Você não possuí esta quantidade de cash's."); EscolhaV[playerid] = 0; return 1; } MensagemFormatadaAll(0x3CB371FF, "| LOJA-VIP | {FFFFFF}[%s] acaba de comprar um {00FFFF}Mesa {FFFFFF}de Inventário Valor: {00FFFF}$25,000.",PlayerName(playerid)); EscolhaV[playerid] = 0; format(str, 800, "{FFFFFF}RECIBO DE {00FFFF}COMPRA\n\ {FFFFFF}Item: {00FFFF}Carro de Inventário\n\ {FFFFFF}Modelo: {00FFFF}Mesa\n\ {FFFFFF}Raridade: {00FFFF}Raro\n\ {FFFFFF}Portas: {00FFFF}2 Portas\n\ {FFFFFF}Valor: {00FFFF}25,000(s)\n\ {FF6347}*OBS: {FFFFFF}Este item foi adicionado ao seu inventario."); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_CARROS_CF, DIALOG_STYLE_MSGBOX, "» Compra Finalizada", str, "Fechar", ""); TakeCash(playerid,25000); AddItem(playerid, 500, 1); } if(EscolhaV[playerid] == 10) { if(PlayerInfo[playerid][pCasher] < 50000) { SendClientMessage(playerid, COLOR_GRAD4, "[ LOJA ] Você não possuí esta quantidade de cash's."); EscolhaV[playerid] = 0; return 1; } MensagemFormatadaAll(0x3CB371FF, "| LOJA-VIP | {FFFFFF}[%s] acaba de comprar um {00FFFF}Vortex {FFFFFF}de Inventário Valor: {00FFFF}$50,000.",PlayerName(playerid)); EscolhaV[playerid] = 0; format(str, 800, "{FFFFFF}RECIBO DE {00FFFF}COMPRA\n\ {FFFFFF}Item: {00FFFF}Carro de Inventário\n\ {FFFFFF}Modelo: {00FFFF}Vortex\n\ {FFFFFF}Raridade: {00FFFF}Hiper-Raro\n\ {FFFFFF}Portas: {00FFFF}1 Porta\n\ {FFFFFF}Valor: {00FFFF}50,000(s)\n\ {FF6347}*OBS: {FFFFFF}Este item foi adicionado ao seu inventario."); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_CARROS_CF, DIALOG_STYLE_MSGBOX, "» Compra Finalizada", str, "Fechar", ""); TakeCash(playerid,50000); AddItem(playerid, 539, 1); } if(EscolhaV[playerid] == 11) { if(PlayerInfo[playerid][pCasher] < 15000) { SendClientMessage(playerid, COLOR_GRAD4, "[ LOJA ] Você não possuí esta quantidade de cash's."); EscolhaV[playerid] = 0; return 1; } MensagemFormatadaAll(0x3CB371FF, "| LOJA-VIP | {FFFFFF}[%s] acaba de comprar uma {00FFFF}NRG-500 {FFFFFF}de Inventário Valor: {00FFFF}$15,000.",PlayerName(playerid)); EscolhaV[playerid] = 0; format(str, 800, "{FFFFFF}RECIBO DE {00FFFF}COMPRA\n\ {FFFFFF}Item: {00FFFF}Carro de Inventário\n\ {FFFFFF}Modelo: {00FFFF}NRG-500\n\ {FFFFFF}Raridade: {00FFFF}Normal\n\ {FFFFFF}Valor: {00FFFF}15,000(s)\n\ {FF6347}*OBS: {FFFFFF}Este item foi adicionado ao seu inventario."); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_CARROS_CF, DIALOG_STYLE_MSGBOX, "» Compra Finalizada", str, "Fechar", ""); TakeCash(playerid,12000); AddItem(playerid, 522, 1); } if(EscolhaV[playerid] == 12) { if(PlayerInfo[playerid][pCasher] < 50000) { SendClientMessage(playerid, COLOR_GRAD4, "[ LOJA ] Você não possuí esta quantidade de cash's."); EscolhaV[playerid] = 0; return 1; } MensagemFormatadaAll(0x3CB371FF, "| LOJA-VIP | {FFFFFF}[%s] acaba de comprar um {00FFFF}Maverick {FFFFFF}de Inventário Valor: {00FFFF}$50,000.",PlayerName(playerid)); EscolhaV[playerid] = 0; format(str, 800, "{FFFFFF}RECIBO DE {00FFFF}COMPRA\n\ {FFFFFF}Item: {00FFFF}Veiculo de Inventário\n\ {FFFFFF}Modelo: {00FFFF}Maverick\n\ {FFFFFF}Raridade: {00FFFF}Hiper-raro\n\ {FFFFFF}Valor: {00FFFF}50,000(s)\n\ {FF6347}*OBS: {FFFFFF}Este item foi adicionado ao seu inventario."); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_CARROS_CF, DIALOG_STYLE_MSGBOX, "» Compra Finalizada", str, "Fechar", ""); TakeCash(playerid,50000); AddItem(playerid, 487, 1); } if(EscolhaV[playerid] == 13) { if(PlayerInfo[playerid][pCasher] < 50000) { SendClientMessage(playerid, COLOR_GRAD4, "[ LOJA ] Você não possuí esta quantidade de cash's."); EscolhaV[playerid] = 0; return 1; } MensagemFormatadaAll(0x3CB371FF, "| LOJA-VIP | {FFFFFF}[%s] acaba de comprar um {00FFFF}Seasparrow {FFFFFF}de Inventário Valor: {00FFFF}$35,000.",PlayerName(playerid)); EscolhaV[playerid] = 0; format(str, 800, "{FFFFFF}RECIBO DE {00FFFF}COMPRA\n\ {FFFFFF}Item: {00FFFF}Veiculo de Inventário\n\ {FFFFFF}Modelo: {00FFFF}Seasparrow\n\ {FFFFFF}Raridade: {00FFFF}Hiper-raro\n\ {FFFFFF}Valor: {00FFFF}50,000(s)\n\ {FF6347}*OBS: {FFFFFF}Este item foi adicionado ao seu inventario."); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_CARROS_CF, DIALOG_STYLE_MSGBOX, "» Compra Finalizada", str, "Fechar", ""); TakeCash(playerid,35000); AddItem(playerid, 447, 1); } if(EscolhaV[playerid] == 14) { if(PlayerInfo[playerid][pCasher] < 50000) { SendClientMessage(playerid, COLOR_GRAD4, "[ LOJA ] Você não possuí esta quantidade de cash's."); EscolhaV[playerid] = 0; return 1; } MensagemFormatadaAll(0x3CB371FF, "| LOJA-VIP | {FFFFFF}[%s] acaba de comprar um {00FFFF}Raindance {FFFFFF}de Inventário Valor: {00FFFF}$50,000.",PlayerName(playerid)); EscolhaV[playerid] = 0; format(str, 800, "{FFFFFF}RECIBO DE {00FFFF}COMPRA\n\ {FFFFFF}Item: {00FFFF}Veiculo de Inventário\n\ {FFFFFF}Modelo: {00FFFF}Raindance\n\ {FFFFFF}Raridade: {00FFFF}Hiper-raro\n\ {FFFFFF}Valor: {00FFFF}50,000(s)\n\ {FF6347}*OBS: {FFFFFF}Este item foi adicionado ao seu inventario."); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_CARROS_CF, DIALOG_STYLE_MSGBOX, "» Compra Finalizada", str, "Fechar", ""); TakeCash(playerid,50000); AddItem(playerid, 563, 1); } if(EscolhaV[playerid] == 15) { if(PlayerInfo[playerid][pCasher] < 50000) { SendClientMessage(playerid, COLOR_GRAD4, "[ LOJA ] Você não possuí esta quantidade de cash's."); EscolhaV[playerid] = 0; return 1; } MensagemFormatadaAll(0x3CB371FF, "| LOJA-VIP | {FFFFFF}[%s] acaba de comprar um {00FFFF}Cargobob {FFFFFF}de Inventário Valor: {00FFFF}$50,000.",PlayerName(playerid)); EscolhaV[playerid] = 0; format(str, 800, "{FFFFFF}RECIBO DE {00FFFF}COMPRA\n\ {FFFFFF}Item: {00FFFF}Veiculo de Inventário\n\ {FFFFFF}Modelo: {00FFFF}Cargobob\n\ {FFFFFF}Raridade: {00FFFF}Hiper-raro\n\ {FFFFFF}Valor: {00FFFF}50,000(s)\n\ {FF6347}*OBS: {FFFFFF}Este item foi adicionado ao seu inventario."); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_CARROS_CF, DIALOG_STYLE_MSGBOX, "» Compra Finalizada", str, "Fechar", ""); TakeCash(playerid,50000); AddItem(playerid, 548, 1); } if(EscolhaV[playerid] == 16) { if(PlayerInfo[playerid][pCasher] < 28000) { SendClientMessage(playerid, COLOR_GRAD4, "[ LOJA ] Você não possuí esta quantidade de cash's."); EscolhaV[playerid] = 0; return 1; } MensagemFormatadaAll(0x3CB371FF, "| LOJA-VIP | {FFFFFF}[%s] acaba de comprar uma {00FFFF}Sanchez {FFFFFF}de Inventário Valor: {00FFFF}$28,000.",PlayerName(playerid)); EscolhaV[playerid] = 0; format(str, 800, "{FFFFFF}RECIBO DE {00FFFF}COMPRA\n\ {FFFFFF}Item: {00FFFF}Veiculo de Inventário\n\ {FFFFFF}Modelo: {00FFFF}Sanchez\n\ {FFFFFF}Raridade: {00FFFF}Hiper-raro\n\ {FFFFFF}Valor: {00FFFF}28,000(s)\n\ {FF6347}*OBS: {FFFFFF}Este item foi adicionado ao seu inventario."); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_CARROS_CF, DIALOG_STYLE_MSGBOX, "» Compra Finalizada", str, "Fechar", ""); TakeCash(playerid,28000); AddItem(playerid, 468, 1); } if(EscolhaV[playerid] == 17) { if(PlayerInfo[playerid][pCasher] < 30000) { SendClientMessage(playerid, COLOR_GRAD4, "[ LOJA ] Você não possuí esta quantidade de cash's."); EscolhaV[playerid] = 0; return 1; } MensagemFormatadaAll(0x3CB371FF, "| LOJA-VIP | {FFFFFF}[%s] acaba de comprar uma {00FFFF}Slamvan {FFFFFF}de Inventário Valor: {00FFFF}$30,000.",PlayerName(playerid)); EscolhaV[playerid] = 0; format(str, 800, "{FFFFFF}RECIBO DE {00FFFF}COMPRA\n\ {FFFFFF}Item: {00FFFF}Veiculo de Inventário\n\ {FFFFFF}Modelo: {00FFFF}Slamvan\n\ {FFFFFF}Raridade: {00FFFF}Hiper-raro\n\ {FFFFFF}Valor: {00FFFF}30,000(s)\n\ {FF6347}*OBS: {FFFFFF}Este item foi adicionado ao seu inventario."); ShowPlayerDialog(playerid, DIALOG_MENU_VIP_CARROS_CF, DIALOG_STYLE_MSGBOX, "» Compra Finalizada", str, "Fechar", ""); TakeCash(playerid,30000); AddItem(playerid, 535, 1); } } } if(dialogid == 5798){ if(response){ switch(listitem){ case 0: { PlayerInfo[playerid][pTitulo] = 0; RemoverTitulo(playerid); SendClientMessage(playerid, 0xFFA500F6, "Voce removeu seu titulo!"); } case 1: { if(!strcmp(NomePlayer(playerid), "Cleber_Progammer", true)){ PlayerInfo[playerid][pTitulo] = 1; SendClientMessage(playerid, 0xFFA500F6, "Voce mudou seu titulo para ''Scripter''"); } else{ SendClientMessage(playerid, COLOR_GREY, " Apenas Scripter pode usar este titulo!"); } } case 2: { if(!strcmp(NomePlayer(playerid), "RickinhoZ", true) || !strcmp(NomePlayer(playerid), "Brazz+", true) ){ PlayerInfo[playerid][pTitulo] = 2; SendClientMessage(playerid, 0xFFA500F6, "Voce mudou seu titulo para ''Fundador''"); } else{ SendClientMessage(playerid, COLOR_GREY, " Apenas Fundador podem usar este titulo!"); } } case 3: { if(PlayerInfo[playerid][pAdmin]){ PlayerInfo[playerid][pTitulo] = 3; SendClientMessage(playerid, 0xFFA500F6, "Voce mudou seu titulo para ''Cargo de Admin''"); } else{ SendClientMessage(playerid, COLOR_GREY, "Voce precisa ser admin para usar este titulo!"); } } case 4: { if(GetPlayerOrg(playerid)){ PlayerInfo[playerid][pTitulo] = 4; SendClientMessage(playerid, 0xFFA500F6, "Voce mudou seu titulo para ''Nome da ORG''"); } else{ SendClientMessage(playerid, COLOR_GREY, "Voce precisa ser de uma org para usar este titulo!"); } } case 5: { if(PlayerInfo[playerid][pKills] > 500){ PlayerInfo[playerid][pTitulo] = 5; SendClientMessage(playerid, 0xFFA500F6, "Voce mudou seu titulo para ''Serial-Killer''"); } else{ SendClientMessage(playerid, COLOR_GREY, "Voce precisa matar 500 pessoas para usar este titulo!"); } } case 6: { if(PlayerInfo[playerid][pDeaths] > 500){ PlayerInfo[playerid][pTitulo] = 6; SendClientMessage(playerid, 0xFFA500F6, "Voce mudou seu titulo para ''Noob''"); } else{ SendClientMessage(playerid, COLOR_GREY, "Voce precisa morrer 500 vezes para usar este titulo!"); } } case 7: { if(PlayerInfo[playerid][pConnectTime] > 400){ PlayerInfo[playerid][pTitulo] = 7; SendClientMessage(playerid, 0xFFA500F6, "Voce mudou seu titulo para ''Experiente''"); } else{ SendClientMessage(playerid, COLOR_GREY, "Voce precisa jogar 500 horas para usar este titulo!"); } } case 8: { if(PlayerInfo[playerid][pVIP] == 1){ PlayerInfo[playerid][pTitulo] = 8; SendClientMessage(playerid, 0xFFA500F6, "Voce mudou seu titulo para ''VIP''"); } else{ SendClientMessage(playerid, COLOR_GREY, "Voce precisa ser VIP para usar este titulo!"); } } case 9: { if(PlayerInfo[playerid][pLider]){ PlayerInfo[playerid][pTitulo] = 9; SendClientMessage(playerid, 0xFFA500F6, "Voce mudou seu titulo para ''Lider''"); } else{ SendClientMessage(playerid, COLOR_GREY, "Voce precisa ser Lider para usar este titulo!"); } } case 10: { if(PlayerInfo[playerid][pConta] >= 100000000){ PlayerInfo[playerid][pTitulo] = 10; SendClientMessage(playerid, 0xFFA500F6, "Voce mudou seu titulo para ''Milionario''"); } else{ SendClientMessage(playerid, COLOR_GREY, "Voce precisa ter 100kk no banco para usar este titulo!"); } } case 11: { if(PlayerInfo[playerid][pHelper]){ PlayerInfo[playerid][pTitulo] = 11; SendClientMessage(playerid, 0xFFA500F6, "Voce mudou seu titulo para ''Helper''"); } else{ SendClientMessage(playerid, COLOR_GREY, "Voce precisa ser um Helper para usar este titulo!"); } } case 12: { if(PlayerInfo[playerid][pMatouSniper] >= 200){ PlayerInfo[playerid][pTitulo] = 12; SendClientMessage(playerid, 0xFFA500F6, "Voce mudou seu titulo para ''Sniper''"); } else{ format(string, sizeof string, "Voce prcisa matar [%d/200] players com a sniper para usar este titulo !", PlayerInfo[playerid][pMatouSniper]); SendClientMessage(playerid, COLOR_GREY, string); } } case 13: { if(PlayerInfo[playerid][pVIP] == 3){ PlayerInfo[playerid][pTitulo] = 13; SendClientMessage(playerid, 0xFFA500F6, "Voce mudou seu titulo para ''Socio Reliquia''"); } else{ SendClientMessage(playerid, COLOR_GREY, "Voce precisa ser Socio Reliquia para usar este titulo!"); } } case 14: { if(PlayerInfo[playerid][pVIP] == 4){ PlayerInfo[playerid][pTitulo] = 14; SendClientMessage(playerid, 0xFFA500F6, "Voce mudou seu titulo para ''Socio Platina''"); } else{ SendClientMessage(playerid, COLOR_GREY, "Voce precisa ser Socio Platina para usar este titulo!"); } } case 15: { if(PlayerInfo[playerid][pYoutuber] == 1) { PlayerInfo[playerid][pTitulo] = 15; SendClientMessage(playerid, 0xFF0000F6, "Voce mudou seu titulo para ''Youtuber''"); } else{ SendClientMessage(playerid, COLOR_GREY, "Voce precisa ser Youtuber para usar este titulo!"); } } case 16: { if(PlayerInfo[playerid][pDiamante] == 1) { PlayerInfo[playerid][pTitulo] = 16; SendClientMessage(playerid, 0x33CCFFFF, "Voce mudou seu titulo para ''Membro Diamante''"); } else{ SendClientMessage(playerid, COLOR_GREY, "Voce precisa ser Membro Diamante para usar este titulo!"); } } } } return 1; } if(dialogid == confirmarpatrocinio) { if(response) { SendClientMessage(playerid, COLOR_GRAD4, "Voce Confirmou seu Novo Nome de Patrocinio!"); SendClientMessage(playerid, COLOR_GRAD4, "Agora Combine com o Reporter para saber como vai funcionar ele!"); SalvarPatrocinio(GetPlayerOrg(playerid)); } return 1; } if(dialogid == usarpatrocinio) { if(response) { if(listitem >= 0 && listitem <= 14) { format(string, sizeof(string), "Patrocinio (%s) %s: %s", GetOrgName(listitem+1), InfoOrg[listitem+1][Lider], PatrocinioOrg[listitem+1]); OOCNews(0xFFA500F6,string); } if(listitem >= 15 && listitem <= 23) { format(string, sizeof(string), "Patrocinio (%s) %s: %s", GetOrgName(listitem+2), InfoOrg[listitem+2][Lider], PatrocinioOrg[listitem+2]); OOCNews(0xFFA500F6,string); } if(listitem >= 24 && listitem <= 26) { format(string, sizeof(string), "Patrocinio (%s) %s: %s", GetOrgName(listitem+9), InfoOrg[listitem+9][Lider], PatrocinioOrg[listitem+9]); OOCNews(0xFFA500F6,string); } } return 1; } if(dialogid == novotel) { if(response) { if(listitem == 1) { GiveDinheiro(playerid, - 5000); PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); SendClientMessage(playerid, COLOR_GRAD4, "Voce Comprou o Telefone Laranja."); PlayerInfo[playerid][pTelColor] = 18865; format(string, sizeof(string), "~r~-$%d", 500000); GameTextForPlayer(playerid, string, 5000, 1); BizzInfo[1][bTill] += 500000; ExtortionBiz(1, 500000); } if(listitem == 2) { GiveDinheiro(playerid, - 5000); PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); SendClientMessage(playerid, COLOR_GRAD4, "Voce Comprou o Telefone Azul."); PlayerInfo[playerid][pTelColor] = 18866; format(string, sizeof(string), "~r~-$%d", 500000); GameTextForPlayer(playerid, string, 5000, 1); BizzInfo[1][bTill] += 500000; ExtortionBiz(1, 500000); } if(listitem == 3) { GiveDinheiro(playerid, - 5000); PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); SendClientMessage(playerid, COLOR_GRAD4, "Voce Comprou o Telefone Marrom."); PlayerInfo[playerid][pTelColor] = 18867; format(string, sizeof(string), "~r~-$%d", 500000); GameTextForPlayer(playerid, string, 5000, 1); BizzInfo[1][bTill] += 500000; ExtortionBiz(1, 500000); } if(listitem == 4) { GiveDinheiro(playerid, - 5000); PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); SendClientMessage(playerid, COLOR_GRAD4, "Voce Comprou o Telefone Preto."); PlayerInfo[playerid][pTelColor] = 18868; format(string, sizeof(string), "~r~-$%d", 500000); GameTextForPlayer(playerid, string, 5000, 1); BizzInfo[1][bTill] += 500000; ExtortionBiz(1, 500000); } if(listitem == 5) { GiveDinheiro(playerid, - 5000); PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); SendClientMessage(playerid, COLOR_GRAD4, "Voce Comprou o Telefone Rosa."); PlayerInfo[playerid][pTelColor] = 18869; format(string, sizeof(string), "~r~-$%d", 500000); GameTextForPlayer(playerid, string, 5000, 1); BizzInfo[1][bTill] += 500000; ExtortionBiz(1, 500000); } if(listitem == 6) { GiveDinheiro(playerid, - 5000); PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); SendClientMessage(playerid, COLOR_GRAD4, "Voce Comprou o Telefone Vermelho."); PlayerInfo[playerid][pTelColor] = 18870; format(string, sizeof(string), "~r~-$%d", 500000); GameTextForPlayer(playerid, string, 5000, 1); BizzInfo[1][bTill] += 500000; ExtortionBiz(1, 500000); } if(listitem == 7) { GiveDinheiro(playerid, - 5000); PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); SendClientMessage(playerid, COLOR_GRAD4, "Voce Comprou o Telefone Verde."); PlayerInfo[playerid][pTelColor] = 18871; format(string, sizeof(string), "~r~-$%d", 500000); GameTextForPlayer(playerid, string, 5000, 1); BizzInfo[1][bTill] += 500000; ExtortionBiz(1, 500000); } if(listitem == 8) { GiveDinheiro(playerid, - 5000); PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); SendClientMessage(playerid, COLOR_GRAD4, "Voce Comprou o Telefone Azul Escuro."); PlayerInfo[playerid][pTelColor] = 18872; format(string, sizeof(string), "~r~-$%d", 500000); GameTextForPlayer(playerid, string, 5000, 1); BizzInfo[1][bTill] += 500000; ExtortionBiz(1, 500000); } if(listitem == 9) { GiveDinheiro(playerid, - 5000); PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); SendClientMessage(playerid, COLOR_GRAD4, "Voce Comprou o Telefone Amarelo."); PlayerInfo[playerid][pTelColor] = 18873; format(string, sizeof(string), "~r~-$%d", 500000); GameTextForPlayer(playerid, string, 5000, 1); BizzInfo[1][bTill] += 500000; ExtortionBiz(1, 500000); } if(listitem == 10) { GiveDinheiro(playerid, - 5000); PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); SendClientMessage(playerid, COLOR_GRAD4, "Voce Comprou o Telefone Branco."); PlayerInfo[playerid][pTelColor] = 18874; format(string, sizeof(string), "~r~-$%d", 500000); GameTextForPlayer(playerid, string, 5000, 1); BizzInfo[1][bTill] += 500000; ExtortionBiz(1, 500000); } } if(!response) { SendClientMessage(playerid, COLOR_GRAD4, "Voce Cancelou."); } } if(dialogid == novocapacete) { if(response) { if(listitem == 1) { GiveDinheiro(playerid, - 1000); PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); SendClientMessage(playerid, COLOR_GRAD4, "Voce Comprou o Capacete MotorBike(Azul). Use: /Capacete quando estiver em uma moto!"); SendClientMessage(playerid, COLOR_GRAD4, "Para retirar o capacete, digite: /Capacete quando voce estiver fora da moto!"); PlayerInfo[playerid][pCapacete] = 18976; format(string, sizeof(string), "~r~-$%d", 1000); GameTextForPlayer(playerid, string, 5000, 1); SBizzInfo[9][sbTill] += 1000; ExtortionSBiz(3, 1000); } if(listitem == 2) { GiveDinheiro(playerid, - 1000); PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); SendClientMessage(playerid, COLOR_GRAD4, "Voce Comprou o Capacete Vermelho. Use: /Capacete quando estiver em uma moto!"); SendClientMessage(playerid, COLOR_GRAD4, "Para retirar o capacete, digite: /Capacete quando voce estiver fora da moto!"); PlayerInfo[playerid][pCapacete] = 18977; format(string, sizeof(string), "~r~-$%d", 1000); GameTextForPlayer(playerid, string, 5000, 1); SBizzInfo[9][sbTill] += 1000; ExtortionSBiz(3, 1000); } if(listitem == 3) { GiveDinheiro(playerid, - 1000); PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); SendClientMessage(playerid, COLOR_GRAD4, "Voce Comprou o Capacete Branco. Use: /Capacete quando estiver em uma moto!"); SendClientMessage(playerid, COLOR_GRAD4, "Para retirar o capacete, digite: /Capacete quando voce estiver fora da moto!"); PlayerInfo[playerid][pCapacete] = 18978; format(string, sizeof(string), "~r~-$%d", 25000); GameTextForPlayer(playerid, string, 5000, 1); SBizzInfo[9][sbTill] += 1000; ExtortionSBiz(3, 1000); } if(listitem == 4) { GiveDinheiro(playerid, - 1000); PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); SendClientMessage(playerid, COLOR_GRAD4, "Voce Comprou o Capacete Rosa. Use: /Capacete quando estiver em uma moto!"); SendClientMessage(playerid, COLOR_GRAD4, "Para retirar o capacete, digite: /Capacete quando voce estiver fora da moto!"); PlayerInfo[playerid][pCapacete] = 18979; format(string, sizeof(string), "~r~-$%d", 25000); GameTextForPlayer(playerid, string, 5000, 1); SBizzInfo[9][sbTill] += 1000; ExtortionSBiz(3, 1000); } if(listitem == 5) { GiveDinheiro(playerid, - 1000); PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); SendClientMessage(playerid, COLOR_GRAD4, "Voce Comprou o Capacete Branco e Vermelho(Chamas). Use: /Capacete quando estiver em uma moto!"); SendClientMessage(playerid, COLOR_GRAD4, "Para retirar o capacete, digite: /Capacete quando voce estiver fora da moto!"); PlayerInfo[playerid][pCapacete] = 18645; format(string, sizeof(string), "~r~-$%d", 1000); GameTextForPlayer(playerid, string, 5000, 1); SBizzInfo[9][sbTill] += 1000; ExtortionSBiz(3, 1000); } } if(!response) { SendClientMessage(playerid, COLOR_GRAD4, "Voce Cancelou."); } } if(dialogid == menuvei) { if(response) { if(listitem == 0) { /*if(UsouEstacionar[playerid]) return SendClientMessage(playerid, COLOR_GREY, "Aguarde 1 hora para estacionar novamente.");*/ if(!IsValidVehicle(PlayerCarroConce[playerid])) return SendClientMessage(playerid, 0xE60000FF, "Você precisa conectar o carro primeiro, use /mv!"); UsouEstacionar[playerid] = true; SetTimerEx("ResetUsouEstacionar", 1000 * 60 * 60, false, "i", playerid); new vehicleid = GetOwnedVehicleID(playerid); new location[MAX_ZONE_NAME]; GetPlayer2DZone(playerid, location, MAX_ZONE_NAME); CreateTr(PosXGZ,PosYGZ,PosX2GZ,PosY2GZ, location); if(IsPlayerInRangeOfPoint(playerid, 40.0, 1134.1287,-1749.5795,13.5703) || IsPlayerInRangeOfPoint(playerid, 40.0, 1477.9197,-1731.7781,13.3828) || IsPlayerInRangeOfPoint(playerid, 40.0, 1917.8677,-1411.0074,13.5703) || IsPlayerInRangeOfPoint(playerid, 40.0, 2155.4438,-1010.9413,62.9640) || IsPlayerInRangeOfPoint(playerid, 40.0, 2007.9270,-1439.8019,13.5618) || IsPlayerInRangeOfPoint(playerid, 20.0, 1462.2650,-1011.5679,26.8438)) return SendClientMessage(playerid, 0xFFFFFFFF, "Voce nao pode estacionar seu veiculo aqui !"); if(!IsPlayerInVehicle(playerid, vehicleid)) return SendClientMessage(playerid, 0xE60000FF, "Voce precisa estar em seu Veiculo."); VehicleInfo[vehicleid][vPark] = 1; GetVehiclePos(vehicleid, VehicleInfo[vehicleid][vPX], VehicleInfo[vehicleid][vPY], VehicleInfo[vehicleid][vPZ]); GetVehicleZAngle(vehicleid, VehicleInfo[vehicleid][vPA]); SavePlayerVehicle(playerid); format(string, sizeof string, "Voce estacionou seu veiculo em {1E90FF}%s{FFFFFF}. agora ele ira nascer sempre aqui!",location); SendClientMessage(playerid, 0xFFFFFFFF, string); LoadPlayerVehicle(playerid); } if(listitem == 1) { new vehicleid = GetOwnedVehicleID(playerid); if (vehicleid == INVALID_VEHICLE_ID) return SendClientMessage(playerid, 0xE60000FF, "Voce nao possui um veiculo ou nao esta conectado!."); GetVehiclePos(vehicleid, VehicleInfo[vehicleid][vPX], VehicleInfo[vehicleid][vPY], VehicleInfo[vehicleid][vPZ]); SetPlayerCheckpoint(playerid, VehicleInfo[vehicleid][vPX], VehicleInfo[vehicleid][vPY], VehicleInfo[vehicleid][vPZ],5.0); SendClientMessage(playerid, 0x21DD00FF, "Siga o checkpoint para encontrar seu carro."); //GPSPos[playerid] = 1; } if(listitem == 2) { new vehicleid = GetOwnedVehicleID(playerid); if(CarroParticular[vehicleid] == 1) { if (vehicleid == INVALID_VEHICLE_ID) return SendClientMessage(playerid, 0xE60000FF, "Voce nao possui um veiculo ou nao esta conectado!."); VehicleInfo[vehicleid][vLock] = 1; LockVehicle(vehicleid); VTrancado[vehicleid] = 1; LockCar(vehicleid); GameTextForPlayer(playerid, "~w~Veiculo ~r~Trancado", 5000, 6); PlayerPlaySound(playerid, 1145, 0.0, 0.0, 0.0); } } if(listitem == 3) { new vehicleid = GetOwnedVehicleID(playerid); if(CarroParticular[vehicleid] == 1) { if (vehicleid == INVALID_VEHICLE_ID) return SendClientMessage(playerid, 0xE60000FF, "Voce nao tem um veiculo."); VehicleInfo[vehicleid][vLock] = 0; UnlockVehicle(vehicleid); VTrancado[vehicleid] = 0; UnLockCar(vehicleid); GameTextForPlayer(playerid, "~w~Veiculo ~g~Destrancado", 5000, 6); PlayerPlaySound(playerid, 1145, 0.0, 0.0, 0.0); } } if(listitem == 4) { new vehicleid = GetOwnedVehicleID(playerid); if (vehicleid == INVALID_VEHICLE_ID) return SendClientMessage(playerid, 0xE60000FF, "Voce nao tem um veiculo."); new count; for(new m = 0; m < MAX_MODS; m++) { if (VehicleInfo[vehicleid][vMod][m] > 0) { RemoveSound(vehicleid); RemoveVehicleComponent(vehicleid, VehicleInfo[vehicleid][vMod][m]); VehicleInfo[vehicleid][vMod][m] = 0; count++; } } format(string, sizeof string, "|- Voce removeu os componentes do seu veiculo -|"); SendClientMessage(playerid, 0x21DD00FF, string); } if(listitem == 5) { if(IsValidVehicle(PlayerCarroConce[playerid])) return SCM(playerid, COLOR_LIGHTRED, "[Erro] Seu carro ja está conectado, localize-o"); //if(CarroConectado[playerid] == 1) return SCM(playerid, COLOR_LIGHTRED, "[Erro] Seu carro ja está conectado, localize-o"); LoadPlayerVehicle(playerid); SCM(playerid, COLOR_LIGHTBLUE, "[PAINEL] Carro conectado com sucesso!"); } if(listitem == 6) { if(!IsValidVehicle(PlayerCarroConce[playerid])) return SCM(playerid, COLOR_LIGHTRED, "[Erro] Seu carro precisa estar conectado primeiro!"); if(IsPlayerInAnyVehicle(playerid)) return SCM(playerid, COLOR_LIGHTRED, "[Erro] Primeiramente saia do seu veículo atual para desconectar seu carro!"); SavePlayerVehicle(playerid); SCM(playerid, COLOR_LIGHTBLUE, "[PAINEL] Carro desconectado com sucesso!"); } if(listitem == 7) { if(!IsValidVehicle(PlayerCarroConce[playerid])) return SCM(playerid, COLOR_LIGHTRED, "[Erro] Voce nao tem, ou nao conectou seu veiculo."); SCM(playerid, COLOR_LIGHTBLUE, "Use o comando: /vendercarro."); } } if(!response) { } } //Cash\t{32CD32}R$ 5.000.000\n» VIP - 30 dias\t{32CD32}R$ 35.000.000\n» Super-VIP - 30 dias\t{32CD32}R$ 50.000.000","Comprar","Voltar"); if(dialogid == 1993) { if(response) { if(listitem == 0) { if(GetPlayerMoney(playerid) >= 10000000) { SCM(playerid, 0x00FF00FF, "Você comprou o item: 1000 cash por 10kk!"); PlayerInfo[playerid][pCasher] += 1000; GivePlayerMoney(playerid, -10000000); MensagemFormatadaAll(0x3CB371FF, "| LOJA-VIP | {FFFFFF}[%s] acaba de comprar o 1000 de{00FFFF} Cash {FFFFFF}na Loja-FREE! Valor: {32CD32}R$ 10.000.000!",PlayerName(playerid)); } else { SCM(playerid, COLOR_LIGHTRED, "Você precisa ter 50.000.000 em sua mão."); } } if(listitem == 1) { if(GetPlayerMoney(playerid) >= 50000000) { SCM(playerid, 0x00FF00FF, "Você comprou o item: Vip 30 dias, por 50kk!"); SetarVIP(playerid, 1, 1); GivePlayerMoney(playerid, -50000000); MensagemFormatadaAll(0x3CB371FF, "| LOJA-VIP | {FFFFFF}[%s] acaba de comprar{00FFFF} VIP - 30 dias {FFFFFF}na Loja-FREE! Valor: {32CD32}R$ 50.000.000!",PlayerName(playerid)); } else { SCM(playerid, COLOR_LIGHTRED, "Você precisa ter 50.000.000 em sua mão."); } } if(listitem == 2) { if(GetPlayerMoney(playerid) >= 70000000) { SCM(playerid, 0x00FF00FF, "Você comprou o item: Super-Vip 30 dias, por 70kk!"); SetarVIP(playerid, 2, 1); GivePlayerMoney(playerid, -70000000); MensagemFormatadaAll(0x3CB371FF, "| LOJA-VIP | {FFFFFF}[%s] acaba de comprar{00FFFF} Super-VIP - 30 dias {FFFFFF}na Loja-FREE! Valor: {32CD32}R$ 70.000.000!",PlayerName(playerid)); } else { SCM(playerid, COLOR_LIGHTRED, "Você precisa ter 70.000.000 em sua mão."); } } } } if(dialogid == 199) { if(response) { if(IsValidVehicle(PlayerCarroConce[playerid])) { new vehicleid = GetOwnedVehicleID(playerid); new vendacarro = GetVehicleCost(vehicleid) / 4; format(string, sizeof string, "|- Voce vendeu seu veiculo e ganhou $%s -|", ConvertMoney(vendacarro)); SendClientMessage(playerid, 0x21DD00FF, string); GiveDinheiro(playerid, vendacarro); PlayerInfo[playerid][pTemCarro] = 0; GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof string, "AdmAviso: %s vendeu seu carro da Concessionaria.", sendername); ABroadCast(COLOR_LIGHTRED,string,1); DeleteVehicle(playerid); } else SCM(playerid, COLOR_LIGHTRED, "[Erro] Você não tem um carro ou não conectou no /mv!"); } return 1; } if(dialogid == 1643) { if(response == 0) { format(strvinny, sizeof(strvinny), "[ANT-DB]: Vitima %s NÃO Confirmou a Tentativa de DB, Acusado nao sera Kickado!",victmname); SendClientMessageToAll(COLOR_LIGHTRED,strvinny); } if(response == 1) { format(strvinny, sizeof(strvinny), "[ANT-DB]: Vitima %s CONFIRMOU a Tentativa de DB, Acusado Foi Kickado!",victmname); SendClientMessageToAll(COLOR_LIGHTRED,strvinny); format(gstring, sizeof(gstring), "Voce Foi Acusado de Cometer DB em: %s, e Foi Kickado", victmname); SendClientMessage(GetPlayerDB[playerid], COLOR_LIGHTBLUE, gstring); KickCNF(GetPlayerDB[playerid]); } return 1; } if(dialogid == 5) { if(response == 0) { BPFInfo[playerid][PpLoja2472] = 0; return true; } if(response >= 1) { if(listitem == 0) { ForT:comprar(playerid, "1"); BPFInfo[playerid][PpLoja2472] = 0; return true; } if(listitem == 1) { ForT:comprar(playerid, "2"); BPFInfo[playerid][PpLoja2472] = 0; return true; } if(listitem == 2) { ForT:comprar(playerid, "3"); BPFInfo[playerid][PpLoja2472] = 0; return true; } if(listitem == 3) { ForT:comprar(playerid, "4"); BPFInfo[playerid][PpLoja2472] = 0; return true; } if(listitem == 4) { ForT:comprar(playerid, "5"); BPFInfo[playerid][PpLoja2472] = 0; return true; } if(listitem == 5) { ForT:comprar(playerid, "6"); BPFInfo[playerid][PpLoja2472] = 0; return true; } if(listitem == 6) { ForT:comprar(playerid, "7"); BPFInfo[playerid][PpLoja2472] = 0; return true; } if(listitem == 7) { ForT:comprar(playerid, "8"); BPFInfo[playerid][PpLoja2472] = 0; return true; } if(listitem == 8) { ForT:comprar(playerid, "9"); BPFInfo[playerid][PpLoja2472] = 0; return true; } if(listitem == 9) { ForT:comprar(playerid, "10"); BPFInfo[playerid][PpLoja2472] = 0; return true; } if(listitem == 10) { ForT:comprar(playerid, "11"); BPFInfo[playerid][PpLoja2472] = 0; return true; } if(listitem == 11) { ForT:comprar(playerid, "12"); BPFInfo[playerid][PpLoja2472] = 0; return true; } if(listitem == 12) { ForT:comprar(playerid, "13"); BPFInfo[playerid][PpLoja2472] = 0; return true; } if(listitem == 13) { ForT:comprar(playerid, "14"); BPFInfo[playerid][PpLoja2472] = 0; return true; } if(listitem == 13) { ForT:comprar(playerid, "15"); BPFInfo[playerid][PpLoja2472] = 0; return true; } if(listitem == 13) { ForT:comprar(playerid, "16"); BPFInfo[playerid][PpLoja2472] = 0; return true; } if(listitem == 13) { ForT:comprar(playerid, "17"); BPFInfo[playerid][PpLoja2472] = 0; return true; } BPFInfo[playerid][PpLoja2472] = 0; return true; } } if(dialogid == 6) { if(response == 0) { BPFInfo[playerid][PLojaA1] = 0; BPFInfo[playerid][PLojaA2] = 0; return true; } if(response == 1) { if(listitem == 0) { comprararma[playerid] = 24; ShowPlayerDialog(playerid, 7, DIALOG_STYLE_MSGBOX, "Comprar Glock", "Armamento: Glock\nContem: 30 municoes\nValor: R$1000", "Confirmar", "Cancelar"); return true; /*} if(listitem == 1) { comprararma[playerid] = 29; ShowPlayerDialog(playerid, 7, DIALOG_STYLE_MSGBOX, "Comprar MP5", "Armamento: MP5\nContem: 30 municoes\nValor: R$12.500", "Confirmar", "Cancelar"); return true; } if(listitem == 2) { comprararma[playerid] = 25; ShowPlayerDialog(playerid, 7, DIALOG_STYLE_MSGBOX, "Comprar Shotgun", "Armamento: Shotgun\nContem: 30 municoes\nValor: R$8.500", "Confirmar", "Cancelar"); return true; } if(listitem == 3) { comprararma[playerid] = 30; ShowPlayerDialog(playerid, 7, DIALOG_STYLE_MSGBOX, "Comprar AK47", "Armamento: AK47\nContem: 30 municoes\nValor: R$21.500", "Confirmar", "Cancelar"); return true; } if(listitem == 4) { comprararma[playerid] = 31; ShowPlayerDialog(playerid, 7, DIALOG_STYLE_MSGBOX, "Comprar M4", "Armamento: M4\nContem: 30 municoes\nValor: R$23.500", "Confirmar", "Cancelar"); return true; } if(listitem == 5) { comprararma[playerid] = 33; ShowPlayerDialog(playerid, 7, DIALOG_STYLE_MSGBOX, "Comprar Rifle", "Armamento: M4\nContem: 30 municoes\nValor: R$10.500", "Confirmar", "Cancelar"); return true;*/ } if(listitem == 6) { ForT:kitvip(playerid, #); BPFInfo[playerid][PLojaA1] = 0; BPFInfo[playerid][PLojaA2] = 0; BPFInfo[playerid][ArmaLoja] = 0; return true; } if(listitem == 7) { format(gstring,sizeof(gstring),"Você deseja comprar 1 colete por R$2000?\nSe sim clique em confirmar\nSe não, cancelar."); ShowPlayerDialog(playerid,129,DIALOG_STYLE_MSGBOX,"Loja de Armas",gstring,"Confirmar","Cancelar"); } BPFInfo[playerid][PLojaA1] = 0; BPFInfo[playerid][PLojaA2] = 0; return true; } return true; } if(dialogid == 129) { if(response) { GivePlayerMoney(playerid, -2000); MensagemFormatada(playerid, COLOR_LIGHTBLUE, "| INFO | Você comprou %d de de colete e pagou R$2000",100); SetPlayerArmour(playerid, 100); } return 1; } if(dialogid == 7) { new location = PlayerInfo[playerid][pLocal]; if(response == 0) { BPFInfo[playerid][PLojaA1] = 0; BPFInfo[playerid][PLojaA2] = 0; BPFInfo[playerid][ArmaLoja] = 0; return true; } if(response == 1) { if(comprararma[playerid] == 24) { if(GetPlayerMoney(playerid) < 2000) return SendClientMessage(playerid,COLOR_GRAD1,"[ ERRO ] Você não tem toda essa grana"); SendClientMessage(playerid, COLOR_LIGHTBLUE, "[ INFO ] Você comprou uma eagle com 30 municoes por R$2.000"); GivePlayerWeapon(playerid, comprararma[playerid], 30); GiveDinheiro(playerid, - 2000); BizzInfo[location-99][bTill] += 2000; ExtortionBiz(location-99, 2000); PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); comprararma[playerid] = 0; } if(comprararma[playerid] == 29) { if(GetPlayerMoney(playerid) < 12500) return SendClientMessage(playerid,COLOR_GRAD1,"[ ERRO ] Você não tem toda essa grana"); SendClientMessage(playerid, COLOR_LIGHTBLUE, "[ INFO ] Você comprou uma mp5 com 30 municoes por R$12.500"); GivePlayerWeapon(playerid, comprararma[playerid], 30); GiveDinheiro(playerid, - 12500); BizzInfo[location-99][bTill] += 12500; ExtortionBiz(location-99, 12500); PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); comprararma[playerid] = 0; } if(comprararma[playerid] == 25) { if(GetPlayerMoney(playerid) < 8500) return SendClientMessage(playerid,COLOR_GRAD1,"[ ERRO ] Você não tem toda essa grana"); SendClientMessage(playerid, COLOR_LIGHTBLUE, "[ INFO ] Você comprou uma shotgun com 30 municoes por R$8.500"); GivePlayerWeapon(playerid, comprararma[playerid], 30); GiveDinheiro(playerid, - 8500); BizzInfo[location-99][bTill] += 8500; ExtortionBiz(location-99, 8500); PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); comprararma[playerid] = 0; } if(comprararma[playerid] == 30) { if(GetPlayerMoney(playerid) < 21500) return SendClientMessage(playerid,COLOR_GRAD1,"[ ERRO ] Você não tem toda essa grana"); SendClientMessage(playerid, COLOR_LIGHTBLUE, "[ INFO ] Você comprou uma AK47 com 30 municoes por R$21.500"); GivePlayerWeapon(playerid, comprararma[playerid], 30); GiveDinheiro(playerid, - 21500); BizzInfo[location-99][bTill] += 21500; ExtortionBiz(location-99, 21500); PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); comprararma[playerid] = 0; } if(comprararma[playerid] == 31) { if(GetPlayerMoney(playerid) < 23500) return SendClientMessage(playerid,COLOR_GRAD1,"[ ERRO ] Você não tem toda essa grana"); SendClientMessage(playerid, COLOR_LIGHTBLUE, "[ INFO ] Você comprou uma AK47 com 30 municoes por R$23.500"); GivePlayerWeapon(playerid, comprararma[playerid], 30); GiveDinheiro(playerid, - 23000); BizzInfo[location-99][bTill] += 23500; ExtortionBiz(location-99, 23500); PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); comprararma[playerid] = 0; } if(comprararma[playerid] == 33) { if(GetPlayerMoney(playerid) < 10500) return SendClientMessage(playerid,COLOR_GRAD1,"[ ERRO ] Você não tem toda essa grana"); SendClientMessage(playerid, COLOR_LIGHTBLUE, "[ INFO ] Você comprou uma Rifle com 30 municoes por R$10.500"); GivePlayerWeapon(playerid, comprararma[playerid], 30); GiveDinheiro(playerid, - 10500); BizzInfo[location-99][bTill] += 10500; ExtortionBiz(location-99, 10500); PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); comprararma[playerid] = 0; } return true; } BPFInfo[playerid][PLojaA1] = 0; BPFInfo[playerid][PLojaA2] = 0; BPFInfo[playerid][ArmaLoja] = 0; return true; } if(dialogid == 8) { if(response == 0) { BPFInfo[playerid][PLojaA1] = 0; BPFInfo[playerid][PLojaA2] = 0; return true; } if(response == 1) { if(listitem == 0) { ForT:kitvip(playerid, #); BPFInfo[playerid][PLojaA1] = 0; BPFInfo[playerid][PLojaA2] = 0; BPFInfo[playerid][ArmaLoja] = 0; return true; } if(listitem == 1) { ForT:kitvip(playerid, #); BPFInfo[playerid][PLojaA1] = 0; BPFInfo[playerid][PLojaA2] = 0; BPFInfo[playerid][ArmaLoja] = 0; return true; } return true; } BPFInfo[playerid][PLojaA1] = 0; BPFInfo[playerid][PLojaA2] = 0; BPFInfo[playerid][ArmaLoja] = 0; return true; } if(dialogid == TELEPORTE) { Controle(playerid, 1); if(!response) { return true; } switch(listitem) { case 0: { ShowPlayerDialog(playerid,TELEPORTE+1,DIALOG_STYLE_LIST,"Head Quarters", "Policia Militar\n\ BOPE\n\ Exercito\n\ Medicos\n\ Tropa da Franca\n\ Prefeitura\n\ Hitmans\n\ Reporter\n\ Taxista\n\ Policia Federal\n\ Mafia Cosa Nostra\n\ Mafia Yakuza\n\ Black Elements\n\ GI\n\ BOPE-SF\n\ Ballas\n\ Los Vagos\n\ Comando Vermelho\n\ Comando Vermelho-SF\n\ PCC\n\ Triads\n\ As FARC\n\ Detran","Selecionar","Cancelar"); } case 1: { ShowPlayerDialog(playerid,TELEPORTE+2,DIALOG_STYLE_LIST,"Territorios", "Morro\n\ Pista de Skate\n\ Mansao do Madd Dogg\nParque Gleen\nEstacao Unity\nCasarao","Selecionar","Cancelar"); } case 2: { ShowPlayerDialog(playerid,TELEPORTE+3,DIALOG_STYLE_LIST,"Locais em Geral", "Prefeitura\n\ Departamento de Policia\n\ Mercado de Commerce\n\ Mercado Negro\n\ Loja de Armas\n\ Ammu Nation\n\ Binco (Loja de Roupas)\n\ Aluguel de Carros\n\ Centro de Licencas\n\ Hospital\n\ Posto de Idlewood\n\ Banco\n\ Loterica\n\ Concessionaria\n\ ZIP (Loja de Roupas)\n\ VICTIM (Loja de Roupas)\n\ Materiais (Pegar)\n\ (Centro de Licencas)\n\ Materiais (Trocar)","Selecionar","Cancelar"); } case 3: { ShowPlayerDialog(playerid,TELEPORTE+4,DIALOG_STYLE_LIST,"Eventos","Aeroporto de Los Santos\nAeroporto de San Fierro\nAeroporto de Las Venturas\nEvento Rally\nArena x1\nEvento Bate-Bate\nMonte de San Andreas\nPredio","Selecionar","Cancelar"); } } } if(dialogid == TELEPORTE+1) { Controle(playerid, 1); EmDialog[playerid] = 0; if(response == 0) { return SendClientMessage(playerid,COLOR_WHITE,"Voce cancelou o menu de teleportes."); } switch(listitem) { case 0: { SetPlayerInterior(playerid,0); SetPlayerVirtualWorld(playerid,0); SetPlayerPos(playerid,1538.2189,-1681.6970,5.8906); } case 1: { SetPlayerInterior(playerid,0); SetPlayerVirtualWorld(playerid,0); SetPlayerPos(playerid,298.4533,-1518.8646,24.5938); } case 2: { SetPlayerInterior(playerid,0); SetPlayerVirtualWorld(playerid,0); SetPlayerPos(playerid,-1347.0657,498.5268,11.1953);} case 3: { SetPlayerInterior(playerid,0); SetPlayerVirtualWorld(playerid,0); SetPlayerPos(playerid,2003.4354,-1444.1321,13.5621);} case 4: { SetPlayerInterior(playerid,0); SetPlayerVirtualWorld(playerid,0); SetPlayerPos(playerid,1691.0067,-2112.9229,13.3828);} case 5: { SetPlayerInterior(playerid,0); SetPlayerVirtualWorld(playerid,0); SetPlayerPos(playerid,2748.6006,-2453.4863,13.8623);} case 6: { SetPlayerInterior(playerid,3); SetPlayerVirtualWorld(playerid,0); SetPlayerPos(playerid,355.4489,162.4052,1025.7964);} case 7: { SetPlayerInterior(playerid,0); SetPlayerVirtualWorld(playerid,0); SetPlayerPos(playerid,954.4877,-1533.4193,13.5780);} case 8: { SetPlayerInterior(playerid,0); SetPlayerVirtualWorld(playerid,0); SetPlayerPos(playerid,740.3707,-1348.3239,13.5100);} case 9: { SetPlayerInterior(playerid,0); SetPlayerVirtualWorld(playerid,0); SetPlayerPos(playerid,1001.5851,-1447.9072,13.5469);} case 10: { SetPlayerInterior(playerid,0); SetPlayerVirtualWorld(playerid,0); SetPlayerPos(playerid,-49.8735,-274.2333,5.4297);} case 11: { SetPlayerInterior(playerid,0); SetPlayerVirtualWorld(playerid,0); SetPlayerPos(playerid,309.4009,-1161.1469,80.9141);} case 12: { SetPlayerInterior(playerid,0); SetPlayerVirtualWorld(playerid,0); SetPlayerPos(playerid,681.2902,-1274.3928,13.5805);} case 13: { SetPlayerInterior(playerid,0); SetPlayerVirtualWorld(playerid,0); SetPlayerPos(playerid,2511.3423,-1671.1489,13.4475);} case 14: { SetPlayerInterior(playerid,0); SetPlayerVirtualWorld(playerid,0); SetPlayerPos(playerid,404.9639,2535.7507,16.5460);} case 15: { SetPlayerInterior(playerid,0); SetPlayerVirtualWorld(playerid,0); SetPlayerPos(playerid,939.5961,-1224.0160,16.2889);} case 16: { SetPlayerInterior(playerid,0); SetPlayerVirtualWorld(playerid,0); SetPlayerPos(playerid,1145.1360,-1179.8810,32.0275);} case 17: { SetPlayerInterior(playerid,0); SetPlayerVirtualWorld(playerid,0); SetPlayerPos(playerid,2814.3884,-1182.9852,25.2631);} case 18: { SetPlayerInterior(playerid,0); SetPlayerVirtualWorld(playerid,0); SetPlayerPos(playerid,2185.1260,-1765.0551,13.3761);} case 19: { SetPlayerInterior(playerid,0); SetPlayerVirtualWorld(playerid,0); SetPlayerPos(playerid,681.3267,-481.9659,16.1875);} case 20: { SetPlayerInterior(playerid,0); SetPlayerVirtualWorld(playerid,0); SetPlayerPos(playerid,2794.2378,-1604.6234,10.9283);} case 21: { SetPlayerInterior(playerid,0); SetPlayerVirtualWorld(playerid,0); SetPlayerPos(playerid,1620.6208,-1868.0526,13.3828);} case 22: { SetPlayerInterior(playerid,0); SetPlayerVirtualWorld(playerid,0); SetPlayerPos(playerid,-395.0352,1746.6198,42.4297);} case 23: { SetPlayerInterior(playerid,0); SetPlayerVirtualWorld(playerid,0); SetPlayerPos(playerid,1385.9492,-1648.4480,13.3787); } } } if(dialogid == TELEPORTE+2) { Controle(playerid, 1); EmDialog[playerid] = 0; if(response == 0) { return SendClientMessage(playerid,COLOR_WHITE,"Voce cancelou o menu de teleportes."); } switch(listitem) { case 0: { SetPlayerInterior(playerid,0); SetPlayerVirtualWorld(playerid,0); SetPlayerPos(playerid,2155.7847,-1010.8846,62.9648);} case 1: { SetPlayerInterior(playerid,0); SetPlayerVirtualWorld(playerid,0); SetPlayerPos(playerid,1919.1139,-1411.3921,13.5703);} case 2: { SetPlayerInterior(playerid,0); SetPlayerVirtualWorld(playerid,0); SetPlayerPos(playerid,369.8432,-2030.6160,7.6719);} case 3: { SetPlayerInterior(playerid,0); SetPlayerVirtualWorld(playerid,0); SetPlayerPos(playerid,1869.9398,-1182.6571,23.8281);} case 4: { SetPlayerInterior(playerid,0); SetPlayerVirtualWorld(playerid,0); SetPlayerPos(playerid,1741.1454,-1945.1676,13.5640);} case 5: { SetPlayerInterior(playerid,0); SetPlayerVirtualWorld(playerid,0); SetPlayerPos(playerid,1242.5569,-2036.5902,60.0824); } } } if(dialogid == TELEPORTE+3) { Controle(playerid, 1); EmDialog[playerid] = 0; if(response == 0) { return SendClientMessage(playerid,COLOR_WHITE,"Voce cancelou o menu de teleportes."); } switch(listitem) { case 0: { SetPlayerInterior(playerid,0); SetPlayerVirtualWorld(playerid,0); SetPlayerPos(playerid,1480.3601,-1756.6559,13.5958);} case 1: { SetPlayerInterior(playerid,0); SetPlayerVirtualWorld(playerid,0); SetPlayerPos(playerid,1546.2761,-1675.5995,13.5620);} case 2: { SetPlayerInterior(playerid,0); SetPlayerVirtualWorld(playerid,0); SetPlayerPos(playerid,1350.4865,-1753.2505,13.3582);} case 3: { SetPlayerInterior(playerid,0); SetPlayerVirtualWorld(playerid,0); SetPlayerPos(playerid,1613.0029,-1559.9917,14.1684);} case 4: { SetPlayerInterior(playerid,0); SetPlayerVirtualWorld(playerid,0); SetPlayerPos(playerid,1790.5725,-1167.3705,23.8281);} case 5: { SetPlayerInterior(playerid,0); SetPlayerVirtualWorld(playerid,0); SetPlayerPos(playerid,1362.2240,-1279.7227,13.3828);} case 6: { SetPlayerInterior(playerid,0); SetPlayerVirtualWorld(playerid,0); SetPlayerPos(playerid,2244.7954,-1663.5021,15.4766);} case 7: { SetPlayerInterior(playerid,0); SetPlayerVirtualWorld(playerid,0); SetPlayerPos(playerid,2155.4363,-1171.3413,23.8206);} case 8: { SetPlayerInterior(playerid,0); SetPlayerVirtualWorld(playerid,0); SetPlayerPos(playerid,2907.7764,-897.3358,11.0469);} case 9: { SetPlayerInterior(playerid,0); SetPlayerVirtualWorld(playerid,0); SetPlayerPos(playerid,2003.4354,-1444.1321,13.5621);} case 10: { SetPlayerInterior(playerid,0); SetPlayerVirtualWorld(playerid,0); SetPlayerPos(playerid,1928.826904,-1776.405517,13.546895);} case 11: { SetPlayerInterior(playerid,0); SetPlayerVirtualWorld(playerid,0); SetPlayerPos(playerid,1462.395751,-1012.391174,26.843799);} case 12: { SetPlayerInterior(playerid,0); SetPlayerVirtualWorld(playerid,0); SetPlayerPos(playerid,1631.8547,-1172.5637,24.0843);} case 13: { SetPlayerInterior(playerid,0); SetPlayerVirtualWorld(playerid,0); SetPlayerPos(playerid,1637.6385,-1148.0294,23.90636);} case 14: { SetPlayerInterior(playerid,0); SetPlayerVirtualWorld(playerid,0); SetPlayerPos(playerid,1460.6941,-1142.9766,24.3906);} case 15: { SetPlayerInterior(playerid,0); SetPlayerVirtualWorld(playerid,0); SetPlayerPos(playerid,454.1039,-1501.5459,30.8761);} case 16: { SetPlayerInterior(playerid,0); SetPlayerVirtualWorld(playerid,0); SetPlayerPos(playerid,661.0214,-573.4525,16.3359);} case 17: { SetPlayerInterior(playerid,0); SetPlayerVirtualWorld(playerid,0); SetPlayerPos(playerid,1003.0009,-941.7861,41.6509);} case 18: { SetPlayerInterior(playerid,0); SetPlayerVirtualWorld(playerid,0); SetPlayerPos(playerid,2420.6565,-1738.9923,13.5469);} case 19: { SetPlayerInterior(playerid,0); SetPlayerVirtualWorld(playerid,0); SetPlayerPos(playerid,961.7795,-944.9980,40.3419); } } } if(dialogid == TELEPORTE+4) { Controle(playerid, 1); EmDialog[playerid] = 0; if(response == 0) { return SendClientMessage(playerid,COLOR_WHITE,"Voce cancelou o menu de teleportes."); } switch(listitem) { case 0: { SetPlayerInterior(playerid,0); SetPlayerVirtualWorld(playerid,0); SetPlayerPos(playerid,2038.5096,-2628.2659,13.5469); } case 1: { SetPlayerInterior(playerid,0); SetPlayerVirtualWorld(playerid,0); SetPlayerPos(playerid,-1417.0,-295.8,14.1); } case 2: { SetPlayerInterior(playerid,0); SetPlayerVirtualWorld(playerid,0); SetPlayerPos(playerid,1699.2,1435.1, 10.7); } case 3: { SetPlayerInterior(playerid,0); SetPlayerVirtualWorld(playerid,0); SetPlayerPos(playerid,-2390.8176,-2203.0850,33.2891); } case 4: { SetPlayerInterior(playerid,0); SetPlayerVirtualWorld(playerid,0); SetPlayerPos(playerid,-2415.3999,2219.0083,4.9844); } case 5: { SetPlayerInterior(playerid,1); SetPlayerVirtualWorld(playerid,0); SetPlayerPos(playerid,1416.107000,0.268620,1000.926000); } case 6: { SetPlayerInterior(playerid,0); SetPlayerVirtualWorld(playerid,0); SetPlayerPos(playerid,2739.1577,-1745.2816,43.7656); } case 7: { SetPlayerInterior(playerid,0); SetPlayerVirtualWorld(playerid,0); SetPlayerPos(playerid,-2233.7336,-1736.8186,480.8216); } case 8: { SetPlayerInterior(playerid,0); SetPlayerVirtualWorld(playerid,0); SetPlayerPos(playerid,1547.6465,-1355.1556,329.4779); } } } if(dialogid == 2568) { Controle(playerid, 1); if(!response) { return true; } switch(listitem) { case 0: { ShowPlayerDialog(playerid,2587,DIALOG_STYLE_LIST, "Locais de Los Santos","Prefeitura\nDepartamento de Policia\n24-7\nLoja de Armas 1\nLoja de Armas 2\nBinco\nBanco\nMateriais Pegar\nMateriais Trocar\nRestaurante\nMotel\nLoterica\nZIP\nAmmu Nation","Selecionar","Voltar"); } case 1: { ShowPlayerDialog(playerid,2588,DIALOG_STYLE_LIST, "Locais de San Fierro","Prefeitura\nDepartamento de Policia\n24-7\nLoja de Armas 1\nLoja de Armas 2\nBinco\nBanco\nDP BOPE-SF","Selecionar","Voltar"); } } } if(dialogid == 6587) { if(!response) { return ForT:gps(playerid); } else { if(listitem == 1) { SetPlayerCheckpoint(playerid, 2309.9460,-1643.6337,14.8270, 8.0);// SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Jizzy's Bar{FFFFFF}, siga a marca vermelha no mapa!"); } if(listitem == 2) { SetPlayerCheckpoint(playerid, 1323.9729,-1841.6465,13.5469, 8.0);// SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Rock Bar{FFFFFF}, siga a marca vermelha no mapa!"); } if(listitem == 3) { SetPlayerCheckpoint(playerid, 776.4116,-1036.1841,24.2753, 8.0);// SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Conqui's Bar{FFFFFF}, siga a marca vermelha no mapa!"); } if(listitem == 4) { SetPlayerCheckpoint(playerid, 2354.3938,-1511.7820,24.0000, 8.0);// SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Fifth's Bar{FFFFFF}, siga a marca vermelha no mapa!"); } if(listitem == 5) { SetPlayerCheckpoint(playerid, 2850.9463,-1532.4783,11.0991, 8.0);// SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Lone's Bar{FFFFFF}, siga a marca vermelha no mapa!"); } } return true; } if(dialogid == 9903) { if(!response) { return ForT:gps(playerid); } else { if(listitem == 0) { SetPlayerCheckpoint(playerid, 2309.9460,-1643.6337,14.8270, 8.0);// SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Jizzy's Bar{FFFFFF}, siga a marca vermelha no mapa!"); } if(listitem == 1) { SetPlayerCheckpoint(playerid, 1323.9729,-1841.6465,13.5469, 8.0);// SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Rock Bar{FFFFFF}, siga a marca vermelha no mapa!"); } if(listitem == 2) { SetPlayerCheckpoint(playerid, 776.4116,-1036.1841,24.2753, 8.0);// SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Conqui's Bar{FFFFFF}, siga a marca vermelha no mapa!"); } if(listitem == 3) { SetPlayerCheckpoint(playerid, 2354.3938,-1511.7820,24.0000, 8.0);// SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Fifth's Bar{FFFFFF}, siga a marca vermelha no mapa!"); } if(listitem == 4) { SetPlayerCheckpoint(playerid, 2850.9463,-1532.4783,11.0991, 8.0);// SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Lone's Bar{FFFFFF}, siga a marca vermelha no mapa!"); } } return true; } if(dialogid == 9901) { if(!response) { return ForT:gps(playerid); } else { if(listitem == 0) { SetPlayerCheckpoint(playerid, 1209.4342,-1752.2078,13.5936, 8.0);// SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Arena x1{FFFFFF}, siga a marca vermelha no mapa!"); } else if(listitem == 1) { SetPlayerCheckpoint(playerid, 1481.0503,-1771.9502,18.7958, 8.0);// SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Prefeitura (Centro){FFFFFF}, siga a marca vermelha no mapa!"); } else if(listitem == 2) { SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Departamento de Policia{FFFFFF}, siga a marca vermelha no mapa!"); SetPlayerCheckpoint(playerid, 1547.7819,-1675.5996,14.2347, 8.0);// } else if(listitem == 3) { SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Loja 24-7{FFFFFF}, siga a marca vermelha no mapa!"); SetPlayerCheckpoint(playerid, 1352.2942,-1754.3951,13.3514, 8.0);// } else if(listitem == 4) { SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Loja de armas 1{FFFFFF}, siga a marca vermelha no mapa!"); SetPlayerCheckpoint(playerid, 1790.2756,-1167.7000,23.8281, 8.0);// } else if(listitem == 5) { SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Loja de armas 2{FFFFFF}, siga a marca vermelha no mapa!"); SetPlayerCheckpoint(playerid, 1067.3152,-1873.4441,13.5469, 8.0);// } else if(listitem == 6) { SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Loja de roupas Binco{FFFFFF}, siga a marca vermelha no mapa!"); SetPlayerCheckpoint(playerid, 2244.7954,-1663.5021,15.4766, 8.0);// } else if(listitem == 7) { SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Loja ZIP{FFFFFF}, siga a marca vermelha no mapa!"); SetPlayerCheckpoint(playerid, 1456.9010,-1137.6941,23.9617, 8.0);// } else if(listitem == 8) { SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Materiais Pegar{FFFFFF}, siga a marca vermelha no mapa!"); SetPlayerCheckpoint(playerid, 1596.6569,-1556.8433,13.5831, 8.0);// } else if(listitem == 9) { SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Materiais Entregar{FFFFFF}, siga a marca vermelha no mapa!"); SetPlayerCheckpoint(playerid, 1751.2091,-1944.1311,13.5678, 8.0);// } else if(listitem == 10) { SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Restaurante{FFFFFF}, siga a marca vermelha no mapa!"); SetPlayerCheckpoint(playerid, 2100.3240,-1806.8553,13.5547, 8.0);// } else if(listitem == 11) { SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Motel{FFFFFF}, siga a marca vermelha no mapa!"); SetPlayerCheckpoint(playerid, 1022.3507,-1126.6884,23.8700, 8.0);// } else if(listitem == 12) { SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Loterica{FFFFFF}, siga a marca vermelha no mapa!"); SetPlayerCheckpoint(playerid, 1631.9910,-1169.7595,24.0781, 8.0);// } else if(listitem == 13) { SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}ZIP{FFFFFF}, siga a marca vermelha no mapa!"); SetPlayerCheckpoint(playerid, 1459.4952,-1140.4359,24.0597, 8.0);// } else if(listitem == 14) { SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Ammu Nation{FFFFFF}, siga a marca vermelha no mapa!"); SetPlayerCheckpoint(playerid, 1362.6764,-1280.6587,13.5469, 8.0);// } else if(listitem == 15) { SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Mercado negro{FFFFFF}, siga a marca vermelha no mapa!"); SetPlayerCheckpoint(playerid, 1613.0029,-1559.9917,14.1684, 8.0);// } else if(listitem == 16) { SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Penitenciaria{FFFFFF}, siga a marca vermelha no mapa!"); SetPlayerCheckpoint(playerid, 1797.5494,-1579.0006,14.0865, 8.0);// LS } else if(listitem == 17) { SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Concessionaria [Aluguel]{FFFFFF}, siga a marca vermelha no mapa!"); SetPlayerCheckpoint(playerid, 2132.0010,-1149.9999,24.2075, 8.0);// } else if(listitem == 18) { SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Local de Fabricar Drogas{FFFFFF}, siga a marca vermelha no mapa!"); SetPlayerCheckpoint(playerid, 2131.9495,-974.0172,59.7856, 8.0);// } else if(listitem == 19) { SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Tunar Carros{FFFFFF}, siga a marca vermelha no mapa!"); SetPlayerCheckpoint(playerid, 1620.8265,-1878.0791,13.1467, 8.0);// } else if(listitem == 20) { SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Concessionaria{FFFFFF}, siga a marca vermelha no mapa!"); SetPlayerCheckpoint(playerid, 962.5350,-1519.5681,13.0690, 8.0);//1656.8042,-1099.8848,24.2059 } else if(listitem == 21) { SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Puteiro{FFFFFF}, siga a marca vermelha no mapa!"); SetPlayerCheckpoint(playerid, 2421.4998,-1219.2438,25.5617, 8.0);// 2421.4998,-1219.2438,25.5617 } else if(listitem == 22) { SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Farmacia{FFFFFF}, siga a marca vermelha no mapa!"); SetPlayerCheckpoint(playerid, 1126.2844,-1370.1862,13.9844, 8.0);// } else if(listitem == 23) { SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Pedreira{FFFFFF}, siga a marca vermelha no mapa!"); SetPlayerCheckpoint(playerid, 828.2853,1143.3212,28.4200, 8.0);// } else if(listitem == 24) { SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Arena de Stunt{FFFFFF}, siga a marca vermelha no mapa!"); SetPlayerCheckpoint(playerid, 2695.4438,-1704.5880,11.8438, 8.0);// } else if(listitem == 25) { SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Apartamentos{FFFFFF}, siga a marca vermelha no mapa!"); SetPlayerCheckpoint(playerid, 1786.8237,-1298.6991,13.3750, 8.0);// } else if(listitem == 26) { SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}POBRE{FFFFFF}, siga a marca vermelha no mapa!"); SetPlayerCheckpoint(playerid, -166.3391,-355.5960,1.3454, 8.0);// } else if(listitem == 27) { SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Carros VIP{FFFFFF}, siga a marca vermelha no mapa!"); SetPlayerCheckpoint(playerid, 2107.9612,1386.0146,10.8203, 8.0);// } else if(listitem == 28) { SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Igreja{FFFFFF}, siga a marca vermelha no mapa!"); SetPlayerCheckpoint(playerid, 2232.5723,-1332.8412,23.9815, 8.0);// } else if(listitem == 29) { SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Agencia de Empregos{FFFFFF}, siga a marca vermelha no mapa!"); SetPlayerCheckpoint(playerid, 951.7770,-1744.5381,13.6210, 8.0);// } } return true; } if(dialogid == 2587) { if(!response) { return ForT:gps(playerid); } else { if(listitem == 0) { SetPlayerCheckpoint(playerid, 1209.4342,-1752.2078,13.5936, 8.0);// SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Arena x1{FFFFFF}, siga a marca vermelha no mapa!"); } else if(listitem == 1) { SetPlayerCheckpoint(playerid, 1481.0503,-1771.9502,18.7958, 8.0);// SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Prefeitura (Centro){FFFFFF}, siga a marca vermelha no mapa!"); } else if(listitem == 2) { SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Departamento de Policia{FFFFFF}, siga a marca vermelha no mapa!"); SetPlayerCheckpoint(playerid, 1547.7819,-1675.5996,14.2347, 8.0);// } else if(listitem == 3) { SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Loja 24-7{FFFFFF}, siga a marca vermelha no mapa!"); SetPlayerCheckpoint(playerid, 1352.2942,-1754.3951,13.3514, 8.0);// } else if(listitem == 4) { SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Loja de armas 1{FFFFFF}, siga a marca vermelha no mapa!"); SetPlayerCheckpoint(playerid, 1790.2756,-1167.7000,23.8281, 8.0);// } else if(listitem == 5) { SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Loja de armas 2{FFFFFF}, siga a marca vermelha no mapa!"); SetPlayerCheckpoint(playerid, 1067.3152,-1873.4441,13.5469, 8.0);// } else if(listitem == 6) { SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Loja de roupas Binco{FFFFFF}, siga a marca vermelha no mapa!"); SetPlayerCheckpoint(playerid, 2244.7954,-1663.5021,15.4766, 8.0);// } else if(listitem == 7) { SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Loja ZIP{FFFFFF}, siga a marca vermelha no mapa!"); SetPlayerCheckpoint(playerid, 1456.9010,-1137.6941,23.9617, 8.0);// } else if(listitem == 8) { SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Materiais Pegar{FFFFFF}, siga a marca vermelha no mapa!"); SetPlayerCheckpoint(playerid, 1596.6569,-1556.8433,13.5831, 8.0);// } else if(listitem == 9) { SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Materiais Entregar{FFFFFF}, siga a marca vermelha no mapa!"); SetPlayerCheckpoint(playerid, 1751.2091,-1944.1311,13.5678, 8.0);// } else if(listitem == 10) { SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Restaurante{FFFFFF}, siga a marca vermelha no mapa!"); SetPlayerCheckpoint(playerid, 2100.3240,-1806.8553,13.5547, 8.0);// } else if(listitem == 11) { SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Motel{FFFFFF}, siga a marca vermelha no mapa!"); SetPlayerCheckpoint(playerid, 1022.3507,-1126.6884,23.8700, 8.0);// } else if(listitem == 12) { SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Loterica{FFFFFF}, siga a marca vermelha no mapa!"); SetPlayerCheckpoint(playerid, 1631.9910,-1169.7595,24.0781, 8.0);// } else if(listitem == 13) { SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}ZIP{FFFFFF}, siga a marca vermelha no mapa!"); SetPlayerCheckpoint(playerid, 1459.4952,-1140.4359,24.0597, 8.0);// } else if(listitem == 14) { SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Ammu Nation{FFFFFF}, siga a marca vermelha no mapa!"); SetPlayerCheckpoint(playerid, 1362.6764,-1280.6587,13.5469, 8.0);// } else if(listitem == 15) { SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Mercado negro{FFFFFF}, siga a marca vermelha no mapa!"); SetPlayerCheckpoint(playerid, 1613.0029,-1559.9917,14.1684, 8.0);// } else if(listitem == 16) { SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Penitenciaria{FFFFFF}, siga a marca vermelha no mapa!"); SetPlayerCheckpoint(playerid, 1797.5494,-1579.0006,14.0865, 8.0);// } else if(listitem == 17) { SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Concessionaria [Aluguel]{FFFFFF}, siga a marca vermelha no mapa!"); SetPlayerCheckpoint(playerid, 2132.0010,-1149.9999,24.2075, 8.0);// } else if(listitem == 18) { SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Local de Fabricar Drogas{FFFFFF}, siga a marca vermelha no mapa!"); SetPlayerCheckpoint(playerid, 2131.9495,-974.0172,59.7856, 8.0);// } else if(listitem == 19) { SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Tunar Carros{FFFFFF}, siga a marca vermelha no mapa!"); SetPlayerCheckpoint(playerid, 1620.8265,-1878.0791,13.1467, 8.0);// } else if(listitem == 20) { SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Concessionaria{FFFFFF}, siga a marca vermelha no mapa!"); SetPlayerCheckpoint(playerid, 962.5350,-1519.5681,13.0690, 8.0);//1656.8042,-1099.8848,24.2059 } else if(listitem == 21) { SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Puteiro{FFFFFF}, siga a marca vermelha no mapa!"); SetPlayerCheckpoint(playerid, 2421.4998,-1219.2438,25.5617, 8.0);// } else if(listitem == 22) { SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Farmacia{FFFFFF}, siga a marca vermelha no mapa!"); SetPlayerCheckpoint(playerid, 1126.2844,-1370.1862,13.9844, 8.0);// } else if(listitem == 23) { SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Pedreira{FFFFFF}, siga a marca vermelha no mapa!"); SetPlayerCheckpoint(playerid, 828.2853,1143.3212,28.4200, 8.0);// } else if(listitem == 24) { SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Arena de Stunt{FFFFFF}, siga a marca vermelha no mapa!"); SetPlayerCheckpoint(playerid, 2695.4438,-1704.5880,11.8438, 8.0);// } else if(listitem == 25) { SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Apartamentos{FFFFFF}, siga a marca vermelha no mapa!"); SetPlayerCheckpoint(playerid, 1786.8237,-1298.6991,13.3750, 8.0);// } else if(listitem == 26) { SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}POBRE{FFFFFF}, siga a marca vermelha no mapa!"); SetPlayerCheckpoint(playerid, -166.3391,-355.5960,1.3454, 8.0);// } else if(listitem == 27) { SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Carros VIP{FFFFFF}, siga a marca vermelha no mapa!"); SetPlayerCheckpoint(playerid, 2107.9612,1386.0146,10.8203, 8.0);// } else if(listitem == 28) { SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Igreja{FFFFFF}, siga a marca vermelha no mapa!"); SetPlayerCheckpoint(playerid, 2232.5723,-1332.8412,23.9815, 8.0);// } else if(listitem == 29) { SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Agencia de Empregos{FFFFFF}, siga a marca vermelha no mapa!"); SetPlayerCheckpoint(playerid, 951.7770,-1744.5381,13.6210, 8.0);// } } return true; } if(dialogid == 2588) { if(response == 0) { return ForT:gps(playerid); } if(response >= 1) { if(listitem == 0) { SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Prefeitura{FFFFFF}, siga a marca vermelha no mapa!"); SetPlayerCheckpoint(playerid, 1481.0503,-1771.9502,18.7958, 8.0);//pref return true; } if(listitem == 1) { SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Departamento de policia{FFFFFF}, siga a marca vermelha no mapa!"); SetPlayerCheckpoint(playerid, -1605.5349,717.8321,11.9804, 8.0);//dp return true; } if(listitem == 2) { SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Loja 24-7{FFFFFF}, siga a marca vermelha no mapa!"); SetPlayerCheckpoint(playerid, -2443.0581,750.8382,35.1786, 8.0);//24-7 return true; } if(listitem == 3) { SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Loja de armas 1{FFFFFF}, siga a marca vermelha no mapa!"); SetPlayerCheckpoint(playerid, -2152.7910,484.6540,35.1719, 8.0);//loja de armas 1 return true; } if(listitem == 4) { SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Loja de armas 2{FFFFFF}, siga a marca vermelha no mapa!"); SetPlayerCheckpoint(playerid, -1991.4061,1042.1298,55.7266, 8.0);//loja de armas 2 return true; } if(listitem == 5) { SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}BINCO{FFFFFF}, siga a marca vermelha no mapa!"); SetPlayerCheckpoint(playerid, -1700.1868,945.2588,24.8906, 8.0);//binco return true; } if(listitem == 6) { SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Loja ZIP{FFFFFF}, siga a marca vermelha no mapa!"); SetPlayerCheckpoint(playerid, 1456.9010,-1137.6941,23.9617, 8.0);// banco return true; } if(listitem == 7) { SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Delegacia da BOPE-SF{FFFFFF}, siga a marca vermelha no mapa!"); SetPlayerCheckpoint(playerid, -1754.1541,957.5561,24.8828, 8.0);// mat (pegar) return true; } return true; } return true; } //FIM SISTEMA DE BANCO if(dialogid == 2578) { if(!response) { GettingEmprego[playerid] = 0; return SendClientMessage(playerid, COLOR_GREY, "Voce cancelou o emprego."); } else { PlayerInfo[playerid][pEmprego] = GettingEmprego[playerid]; SendClientMessage(playerid, COLOR_LIGHTBLUE, "*Voce acabou de adquirir um novo emprego, digite /ajuda para ver os comandos!"); switch(GettingEmprego[playerid]) { case 10: { PlayerInfo[playerid][pEmprego] = 10; SendClientMessage(playerid, COLOR_LIGHTBLUE, "*Voce acabou de adquirir um novo emprego, digite /ajuda para ver os comandos!"); PlayerInfo[playerid][pSkin] = 260; SetPlayerSkin(playerid, PlayerInfo[playerid][pSkin]); SetPlayerPos(playerid, 29.1869,-178.0519,1.8075); SetPlayerFacingAngle(playerid, 93.2263); SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 0); } } } } if(dialogid == 2579) { Controle(playerid, 1); EmDialog[playerid] = 0; if(response == 0) { return true; } if(PlayerInfo[playerid][pEmprego] != 0) { SendClientMessage(playerid,COLOR_GRAD2,"{FFFFFF}Voce ja possui um emprego, use {00FFFF}/sairdoemprego{FFFFFF} para poder pegar outro"); return true; } switch(listitem) { case 0: { SetPlayerCheckpoint(playerid, 1340.9950,1700.2609,10.8203,8.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Emprego de Entregador aereo{FFFFFF}, siga a marca vermelha no mapa para pegar o emprego!"); } // Mecânico case 1: { SetPlayerCheckpoint(playerid, 1662.2340,2199.0193,10.8203,8.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}HQ de Mecânicos LV{FFFFFF}, siga a marca vermelha no mapa para pegar o emprego!"); } // Taxistas case 2: { if(PlayerInfo[playerid][pLevel] < 3) return SendClientMessage(playerid, COR_LIGHTBLUE, "* Voce precisa ser acima do level 3 para se tornar um Taxixta!"); if(PlayerInfo[playerid][pCarLic] == 0) { SendClientMessage(playerid, COR_GRAD1, "Voce precisa possuir a licenca de direcao de carro para tornar um Taxixta !"); return 1; } SetPlayerCheckpoint(playerid, 1706.7694,1317.8314,10.8203,8.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}HQ de Taxistas LV{FFFFFF}, siga a marca vermelha no mapa para pegar o emprego!"); } // Paramedico case 3: { if(PlayerInfo[playerid][pLevel] < LEVEL_PARAMEDICO) return SendClientMessage(playerid, COR_LIGHTBLUE, "* Voce precisa ser acima do level "#LEVEL_PARAMEDICO" para se tornar um paramédico!"); if(PlayerInfo[playerid][pCarLic] == 0) { SendClientMessage(playerid, COR_GRAD1, "Voce precisa possuir a licenca de direcao de carro para tornar um paramedico!"); return 1; } SetPlayerCheckpoint(playerid, 1604.8793,1818.1849,10.8203, 8.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {FFFFFF}HQ dos paramédicos lv{FFFFFF}, siga a marca vermelha no mapa para pegar o emprego!"); } } } if(dialogid == 2569) { Controle(playerid, 1); EmDialog[playerid] = 0; if(response == 0) { return true; } if(PlayerInfo[playerid][pEmprego] != 0) { SendClientMessage(playerid,COLOR_GRAD2,"{FFFFFF}Voce ja possui um emprego, use {00FFFF}/sairdoemprego{FFFFFF} para poder pegar outro"); return true; } switch(listitem) { case 0: { if(PlayerInfo[playerid][pLevel] < 2) return SendClientMessage(playerid, COR_LIGHTBLUE, "* Voce precisa ser acima do level 2 para se tornar um Advogado !"); ShowPlayerDialog(playerid,2586,DIALOG_STYLE_MSGBOX,"BRASIL POBRE RP","* Voce esta prestes a se tornar um(a) Advogado, tera que cumprir 5 Horas de contrato.\nPara se tornar um(a) Advogado, clique em aceitar.","Aceitar","Sair"); GettingEmprego[playerid] = 1; Controle(playerid, 1); } case 1: { SetPlayerCheckpoint(playerid, 1561.6332,-2167.2244,13.5643,8.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}HQ de Mecânicos LS{FFFFFF}, siga a marca vermelha no mapa para pegar o emprego!"); } case 2: { if(PlayerInfo[playerid][pLevel] < 2) return SendClientMessage(playerid, COR_LIGHTBLUE, "* Voce precisa ser acima do level 2 para se tornar um Agricultor !"); SetPlayerCheckpoint(playerid, 1926.1124,171.1314,37.2813,8.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}HQ de Agricultores{FFFFFF}, siga a marca vermelha no mapa para pegar o emprego!"); } case 3: { if(PlayerInfo[playerid][pLevel] < 1) return SendClientMessage(playerid, COR_LIGHTBLUE, "* Voce precisa ser acima do level 1 para se tornar um Vendedor de produtos !"); if(PlayerInfo[playerid][pCarLic] == 0) { SendClientMessage(playerid, COR_GRAD1, "Voce precisa possuir a licenca de direcao de carro para tornar um Vendedor de produtos!"); return 1; } SetPlayerCheckpoint(playerid, 2426.5676,-2102.7278,13.5469,8.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}HQ de Vendedor de produtos{FFFFFF}, siga a marca vermelha no mapa para pegar o emprego!"); } case 4: { if(PlayerInfo[playerid][pLevel] < 3) return SendClientMessage(playerid, COR_LIGHTBLUE, "* Voce precisa ser acima do level 3 para se tornar um Taxixta!"); if(PlayerInfo[playerid][pCarLic] == 0) { SendClientMessage(playerid, COR_GRAD1, "Voce precisa possuir a licenca de direcao de carro para tornar um Taxixta !"); return 1; } SetPlayerCheckpoint(playerid, 1776.8330,-1905.5629,13.3870,8.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}HQ de Taxistas{FFFFFF}, siga a marca vermelha no mapa para pegar o emprego!"); } case 5: { if(PlayerInfo[playerid][pLevel] < 6) return SendClientMessage(playerid, COR_LIGHTBLUE, "* Voce precisa ser acima do level 6 para se tornar um Bombeiro !"); if(PlayerInfo[playerid][pCarLic] == 0) { SendClientMessage(playerid, COR_GRAD1, "Voce precisa possuir a licenca de direcao de carro para tornar um Bombeiro !"); return 1; } SetPlayerCheckpoint(playerid, 2018.2883,-2091.3528,13.6337,8.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}HQ de Bombeiros{FFFFFF}, siga a marca vermelha no mapa para pegar o emprego!"); } case 6: { if(PlayerInfo[playerid][pLevel] < 6) return SendClientMessage(playerid, COR_LIGHTBLUE, "* Voce precisa ser acima do level 6 para se tornar um Entregador do iFood !"); if(PlayerInfo[playerid][pCarLic] == 0) { SendClientMessage(playerid, COR_GRAD1, "Voce precisa possuir a licenca de direcao de carro para tornar um Entregador do iFood !"); return 1; } SetPlayerCheckpoint(playerid, 830.9594, -1444.7067, 13.1437,8.0);//974.3059,-1544.6099,13.6039,8.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}HQ do iFood{FFFFFF}, siga a marca vermelha no mapa para pegar o emprego!"); } case 7: { if(PlayerInfo[playerid][pLevel] < 2) return SendClientMessage(playerid, COR_LIGHTBLUE, "* Voce precisa ser acima do level 2 para se tornar um Entregador do iFood !"); if(PlayerInfo[playerid][pCarLic] == 0) { SendClientMessage(playerid, COR_GRAD1, "Voce precisa possuir a licenca de direcao de carro para tornar um Gari !"); return 1; } SetPlayerCheckpoint(playerid, 2163.4500,-1971.7676,14.0909,8.0);//974.3059,-1544.6099,13.6039,8.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}HQ dos Gari{FFFFFF}, siga a marca vermelha no mapa para pegar o emprego!"); } case 8: { if(PlayerInfo[playerid][pLevel] < 3) return SendClientMessage(playerid, COR_LIGHTBLUE, "* Voce precisa ser acima do level 3 para se tornar um motorista de Onibus !"); if(PlayerInfo[playerid][pCarLic] == 0) { SendClientMessage(playerid, COR_GRAD1, "Voce precisa possuir a licenca de direcao de carro para tornar um motorista de Onibus!"); return 1; } SetPlayerCheckpoint(playerid, 1425.5823,-2347.9338,13.5469,8.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {FFFFFF}HQ de Onibus{FFFFFF}, siga a marca vermelha no mapa para pegar o emprego!"); } case 9: { if(PlayerInfo[playerid][pLevel] < 4) return SendClientMessage(playerid, COR_LIGHTBLUE, "* Voce precisa ser acima do level 4 para se tornar um motorista de Onibus !"); if(PlayerInfo[playerid][pCarLic] == 0) { SendClientMessage(playerid, COR_GRAD1, "Voce precisa possuir a licenca de direcao de carro para tornar um eletricista!"); return 1; } SetPlayerCheckpoint(playerid, 781.5250,-600.7427,16.3359,8.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {FFFFFF}HQ de Eletricista{FFFFFF}, siga a marca vermelha no mapa para pegar o emprego!"); } case 10: { if(PlayerInfo[playerid][pLevel] < 2) return SendClientMessage(playerid, COR_LIGHTBLUE, "* Voce precisa ser acima do level 2 para se tornar um motorista de Onibus !"); if(PlayerInfo[playerid][pCarLic] == 0) { SendClientMessage(playerid, COR_GRAD1, "Voce precisa possuir a licenca de direcao de carro para tornar um caminhoneiro!"); return 1; } SetPlayerCheckpoint(playerid, -63.7623,-1121.9281,1.0870,8.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {FFFFFF}HQ de Caminhoneiro{FFFFFF}, siga a marca vermelha no mapa para pegar o emprego!"); } case 11: { if(PlayerInfo[playerid][pLevel] < 3) return SendClientMessage(playerid, COR_LIGHTBLUE, "* Voce precisa ser acima do level 3 para se tornar um Frentista!"); SetPlayerCheckpoint(playerid, 1924.0076,-1788.3060,13.3906, 8.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {FFFFFF}HQ de Frentista{FFFFFF}, siga a marca vermelha no mapa para pegar o emprego!"); } case 12: { if(PlayerInfo[playerid][pLevel] < LEVEL_PARAMEDICO) return SendClientMessage(playerid, COR_LIGHTBLUE, "* Voce precisa ser acima do level "#LEVEL_PARAMEDICO" para se tornar um paramédico!"); if(PlayerInfo[playerid][pCarLic] == 0) { SendClientMessage(playerid, COR_GRAD1, "Voce precisa possuir a licenca de direcao de carro para tornar um paramedico!"); return 1; } SetPlayerCheckpoint(playerid, 1188.9204,-1331.0398,13.5608, 8.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {FFFFFF}HQ dos paramédicos{FFFFFF}, siga a marca vermelha no mapa para pegar o emprego!"); } } } if(dialogid == 2586) { if(!response) { GettingEmprego[playerid] = 0; return SendClientMessage(playerid, COLOR_GREY, "Voce cancelou o emprego."); } else { PlayerInfo[playerid][pEmprego] = GettingEmprego[playerid]; SendClientMessage(playerid, COLOR_LIGHTBLUE, "*Voce acabou de adquirir um novo emprego, digite /ajuda para ver os comandos!"); switch(GettingEmprego[playerid]) { case 2: { PlayerInfo[playerid][pEmprego] = 2; SendClientMessage(playerid, COLOR_LIGHTBLUE, "*Voce acabou de adquirir um novo emprego, digite /ajuda para ver os comandos!"); PlayerInfo[playerid][pSkin] = 50; SetPlayerSkin(playerid, PlayerInfo[playerid][pSkin]); SetPlayerPos(playerid, 1561.6332,-2167.2244,13.5643); SetPlayerFacingAngle(playerid, 93.2263); SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 0); } case 3: { PlayerInfo[playerid][pEmprego] = 3; SetPlayerPos(playerid, 1926.1124,171.1314,37.2813); SetPlayerFacingAngle(playerid, 155.8103); SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 0); } case 4: { PlayerInfo[playerid][pEmprego] = 4; PlayerInfo[playerid][pSkin] = 16; SetPlayerSkin(playerid, PlayerInfo[playerid][pSkin]); SetPlayerPos(playerid, 2426.5676,-2102.7278,13.5469); SetPlayerFacingAngle(playerid, 172.8809); SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 0); } case 5: { PlayerInfo[playerid][pEmprego] = 5; PlayerInfo[playerid][pSkin] = 253; SetPlayerSkin(playerid, PlayerInfo[playerid][pSkin]); SetPlayerPos(playerid, 1752.4963,-1903.0275,13.5630); SetPlayerFacingAngle(playerid, 172.8809); SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 0); } case 6: { PlayerInfo[playerid][pEmprego] = 6; PlayerInfo[playerid][pSkin] = 275; SetPlayerSkin(playerid, PlayerInfo[playerid][pSkin]); SetPlayerPos(playerid, 2018.2883,-2091.3528,13.6337); SetPlayerFacingAngle(playerid, 172.8809); SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 0); } case 7: { PlayerInfo[playerid][pEmprego] = 7; PlayerInfo[playerid][pSkin] = 155; SetPlayerSkin(playerid, PlayerInfo[playerid][pSkin]); SetPlayerPos(playerid, 852.3289,-1436.3395,15.0437); SetPlayerFacingAngle(playerid, 172.8809); SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 0); } case 9: { PlayerInfo[playerid][pEmprego] = 9; PlayerInfo[playerid][pSkin] = 253; SetPlayerSkin(playerid, PlayerInfo[playerid][pSkin]); SetPlayerPos(playerid, 1425.5823,-2347.9338,13.5469); SetPlayerFacingAngle(playerid, 90.7641); SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 0); } } } } if(dialogid == 2570) { Controle(playerid, 1); EmDialog[playerid] = 0; if(response == 0) { return ShowPlayerDialog(playerid,2568,DIALOG_STYLE_LIST,"GPS","Locais em Geral\nHead Quarters\nTerritorios\nDesligar GPS","Aceitar","Cancelar"); } switch(listitem) { case 0: { SetPlayerCheckpoint(playerid, 2155.7847,-1010.8846,62.9648,8.0);//Morro } case 1: { SetPlayerCheckpoint(playerid, 1919.1139,-1411.3921,13.5703,8.0);//Pista de Skate } case 2: { SetPlayerCheckpoint(playerid, 369.8432,-2030.6160,7.6719,8.0);//Roda } case 3: { SetPlayerCheckpoint(playerid, 1869.9398,-1182.6571,23.8281,8.0);//Parque Gleen } case 4: { SetPlayerCheckpoint(playerid, 1741.1454,-1945.1676,13.5640,8.0);//Estacao Unity } case 5: { SetPlayerCheckpoint(playerid, 1242.5569,-2036.5902,60.0824,8.0);//Casarao } } } if(dialogid == 2571) { Controle(playerid, 1); EmDialog[playerid] = 0; if(response == 0) { return true; } switch(listitem) { case 0: { ShowPlayerDialog(playerid, 4789, DIALOG_STYLE_MSGBOX, "Licenca de Pilotagem","Custo do teste: R$5000\nClique em 'Iniciar' para comecar", "Iniciar","Cancelar"); } case 1: { ShowPlayerDialog(playerid, 4790, DIALOG_STYLE_MSGBOX, "Licenca de Marujo","Custo do teste: R$5000\nClique em 'Iniciar' para comecar", "Iniciar","Cancelar"); } case 2: { ShowPlayerDialog(playerid, 7788, DIALOG_STYLE_MSGBOX, "Teste de habilitacao","Custo do teste: R$5000\nClique em 'Iniciar' para comecar", "Iniciar","Cancelar"); } case 3: { ShowPlayerDialog(playerid, 7789, DIALOG_STYLE_MSGBOX, "Porte De Armas","Custo do porte: R$70000\nClique em Comprar", "Comprar","Cancelar"); } } } if(dialogid == 7789) { if(!response) { return 1; } if(response) { if(GetPlayerMoney(playerid) < 70000) return SendClientMessage(playerid, COLOR_LIGHTRED, "[ERRO]: Você precisa ter R$ 70000 em sua mão para comprar o porte!"); if(PlayerInfo[playerid][pGunLic] == 1 ) return SendClientMessage(playerid, COLOR_LIGHTRED, "[ERRO]: Você ja tem porte de armas!"); PlayerInfo[playerid][pGunLic] = 1; GiveDinheiro(playerid, -70000); SendClientMessage(playerid, COLOR_LIGHTBLUE, "[Sucesso]: Você comprou porte de armas por: R$ 70000!"); return 1; } } if(dialogid == 2582) { if(!response) { return true; } switch(listitem) { case 0: { } case 1: { ShowPlayerDialog(playerid,2583,DIALOG_STYLE_INPUT,"Pegar Safe Materiais","Digite a quantia de safe materiais que deseja pegar","Pegar","Voltar"); } case 2: { ShowPlayerDialog(playerid,2584,DIALOG_STYLE_INPUT,"Esconder Materiais","Digite a quantia de materiais para esconder","Esconder","Voltar"); } } } if(dialogid == 2583) { if(!response) { return ShowPlayerDialog(playerid, 2582, DIALOG_STYLE_LIST, "Mafia Menu", "Equipar\nPegar Materiais\nEsconder Materiais", "Confirma", "Cancela"); } else if(!IsNumero(inputtext)) { ShowPlayerDialog(playerid,2583,DIALOG_STYLE_INPUT,"Pegar Safe Materiais","Digite a quantia de safe materiais que deseja pegar","Pegar","Voltar"); SendClientMessage(playerid,COLOR_GREY,"Porfavor,use números !"); return true; } new quantidade = strval(inputtext); if(quantidade < 1 || quantidade > 10000) { SendClientMessage(playerid, COLOR_GRAD2, "nao pode pegar menos de 1 e nem mais de 10000"); return true; } if(PlayerInfo[playerid][psMats] >= quantidade) { PlayerInfo[playerid][pMats] = PlayerInfo[playerid][pMats]+quantidade; PlayerInfo[playerid][psMats] = PlayerInfo[playerid][psMats]-quantidade; format(gstring, sizeof(gstring), "* Voce pegou %d materiais no esconderijo!",quantidade); SendClientMessage(playerid, COLOR_LIGHTBLUE, gstring); return true; } else { SendClientMessage(playerid, COLOR_GREY, "Voce nao tem tudo isso!"); return true; } } if(dialogid == 2584) { if(!response) { return ShowPlayerDialog(playerid, 2582, DIALOG_STYLE_LIST, "Mafia Menu", "Equipar\nPegar Materiais\nEsconder Materiais", "Confirma", "Cancela"); } else if(!IsNumero(inputtext)) { ShowPlayerDialog(playerid,2584,DIALOG_STYLE_INPUT,"Esconder Materiais","Digite a quantia de materiais para esconder","Esconder","Voltar"); SendClientMessage(playerid,COLOR_GREY,"Porfavor,use números !"); return true; } new ammount = strval(inputtext); if(ammount < 1 || ammount > 10000) { SendClientMessage(playerid, COLOR_GRAD2, "nao pode pegar menos de 1 e nem mais de 10000"); return true; } if(PlayerInfo[playerid][pMats] >= ammount) { PlayerInfo[playerid][pMats] = PlayerInfo[playerid][pMats]-ammount; PlayerInfo[playerid][psMats] = PlayerInfo[playerid][psMats]+ammount; format(gstring, sizeof(gstring), "* Voce escondeu %d materiais!",ammount); SendClientMessage(playerid, COLOR_LIGHTBLUE, gstring); return true; } else { SendClientMessage(playerid, COLOR_GREY, "Voce nao tem tudo isso!"); return true; } } if(dialogid == 2585) { if(!response) { return true; } switch(listitem) { case 0: { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 1524.4977,-1677.9469,6.2188); storeexit[playerid] = 0; } case 1: { SetPlayerInterior(playerid, 6); SetPlayerPos(playerid, 246.2975,87.4735,1003.6406); storeexit[playerid] = 66; } case 2: { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 1564.8790,-1667.0009,28.3956); storeexit[playerid] = 0; } } } if(dialogid == 9925) { if(!response)return ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Cofre da sua Organizacao", "Membros\nInformações\nDefinicões de Membros\nAjustes ORG\nArea de Mafia(Materiais)\nCandidatos\nEquipar\n{00FFFF}Pedir para entrar", "Confirmar", "Cancelar"); if(response >= 1) { if(listitem == 0) { ShowPlayerDialog(playerid, 9926, DIALOG_STYLE_MSGBOX, "Equipamentos do HQ", "Eagle\nShotgun\nMp5\nM4\n1 Taco de Baseball\n1 Soqueira", "Equipar","Sair"); return true; } if(listitem == 1) { ShowPlayerDialog(playerid, 9927, DIALOG_STYLE_MSGBOX, "Equipamentos do HQ", "Eagle\nShotgun\nMp5\nM4\n1 Taco de Baseball\n1 Soqueira", "Equipar","Sair"); return true; } if(listitem == 2) { ShowPlayerDialog(playerid, 9928, DIALOG_STYLE_MSGBOX, "Equipamentos do HQ", "Eagle\nShotgun\nMp5\nM4\n1 Taco de Baseball\n1 Soqueira", "Equipar","Sair"); return true; } if(listitem == 3) { ShowPlayerDialog(playerid, 9929, DIALOG_STYLE_MSGBOX, "Equipamentos do HQ", "Eagle\nShotgun\nRifle\nMp5\nM4\n1 Taco de Baseball\n1 Soqueira", "Equipar","Sair"); return true; } if(listitem == 4) { ShowPlayerDialog(playerid, 9930, DIALOG_STYLE_MSGBOX, "Equipamentos do HQ", "Eagle\nShotgun\nRifle\nMp5\nM4\n1 Taco de Baseball\n1 Soqueira", "Equipar","Sair"); return true; } if(listitem == 5) { ShowPlayerDialog(playerid, 9931, DIALOG_STYLE_MSGBOX, "Equipamentos do HQ", "Eagle\nShotgun\nRifle\nMp5\nM4\n1 Taco de Baseball\n1 Soqueira", "Equipar","Sair"); return true; } if(listitem == 6) { if(!PlayerInfo[playerid][pVIP] || /*GetPlayerOrg(playerid) == 4*/ GetPlayerOrg(playerid) == 9) { return ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Cofre da Sua organizacao", "Membros\nInformações\nDefinicões de Membros\nAjustes ORG\nArea de Mafia(Materiais)\nCandidatos\nEquipar\n{00FFFF}Pedir para entrar", "Confirmar", "Cancelar"); } ShowPlayerDialog(playerid, 9932, DIALOG_STYLE_MSGBOX, "Equipamentos do HQ [VIP]", "Eagle\nShotgun\nMp5\nM4\n1 Faca\n1 Soqueira\nVida\nColete\nSniper", "Equipar","Sair"); return true; } } return true; } if(dialogid == 8906) { if(response >= 1) { if(listitem == 0)// { MEGAString[0] = EOS; strcat(MEGAString, "24-7\n"); strcat(MEGAString, "Prefeitura (Commerce)\n"); strcat(MEGAString, "Prefeitura (East Beach)\n"); strcat(MEGAString, "Loja de armas\n"); strcat(MEGAString, "Delegacia da PM\n"); strcat(MEGAString, "Delegacia da PM - Interior\n"); strcat(MEGAString, "BOPE - Interior\n"); strcat(MEGAString, "Prefeitura(Commerce) - Interior\n"); strcat(MEGAString, "Prefeitura(East Beach) - Interior\n"); strcat(MEGAString, "Territorio Casarao\n"); strcat(MEGAString, "Territorio Unity\n"); strcat(MEGAString, "Territorio Parque Gleen\n"); strcat(MEGAString, "Territorio Morro\n"); strcat(MEGAString, "Territorio Roda Gigante\n"); ShowPlayerDialog(playerid, 8907, DIALOG_STYLE_LIST, "Cameras Seguranca Los Santos",MEGAString,"Acessar","Cancelar"); return true; } else if(listitem == 1)// { MEGAString[0] = EOS; strcat(MEGAString, "24-7\n"); strcat(MEGAString, "Prefeitura (Country Club)\n"); strcat(MEGAString, "Prefeitura (Downtown)\n"); strcat(MEGAString, "Loja de armas\n"); strcat(MEGAString, "Delegacia da PM\n"); strcat(MEGAString, "Delegacia da PM - Interior\n"); strcat(MEGAString, "BOPE - Interior\n"); strcat(MEGAString, "Prefeitura(Country Club) - Interior\n"); strcat(MEGAString, "Prefeitura(Downtown) - Interior\n"); strcat(MEGAString, "Territorio Puteiro\n"); strcat(MEGAString, "Territorio Construcao\n"); strcat(MEGAString, "Territorio Praia\n"); strcat(MEGAString, "Territorio Navio\n"); strcat(MEGAString, "Territorio Aeroporto\n"); ShowPlayerDialog(playerid, 8908, DIALOG_STYLE_LIST, "Cameras Seguranca San Fierro",MEGAString,"Acessar","Cancelar"); return true; } else if(listitem == 2)// { MEGAString[0] = EOS; strcat(MEGAString, "Entrada LV\n"); strcat(MEGAString, "Emerald: Entrada\n"); strcat(MEGAString, "Emerald: Terreo\n"); strcat(MEGAString, "Emerald: 2º andar\n"); strcat(MEGAString, "Emerald: 3º andar\n"); strcat(MEGAString, "Emerald: 4º andar\n"); strcat(MEGAString, "Emerald: 5º andar\n"); strcat(MEGAString, "Emerald: 6º andar\n"); strcat(MEGAString, "Emerald: 7º andar\n"); strcat(MEGAString, "Emerald: 8º andar\n"); strcat(MEGAString, "Emerald: 9º andar\n"); strcat(MEGAString, "Emerald: 10º andar\n"); strcat(MEGAString, "Emerald: 1º Terraco\n"); strcat(MEGAString, "Emerald: 2º Terraco\n"); ShowPlayerDialog(playerid, 8909, DIALOG_STYLE_LIST, "Cameras Seguranca Las Venturas",MEGAString,"Acessar","Cancelar"); return true; } else if(listitem == 3)// { if(IsADetran(playerid)) { SetPlayerPos(playerid, 1059.7758,1264.9397,10.8203); SetPlayerInterior(playerid, 0); SetCameraBehindPlayer(playerid); NaCamera[playerid] = 0; SetPlayerVirtualWorld(playerid, 0); TextDrawHideForPlayer(playerid, Hidealto2); TextDrawHideForPlayer(playerid, Hidebaixo2); return true; } else if(PlayerInfo[playerid][pEmprego] == 8) { SetPlayerPos(playerid, 2547.2978,-1286.1171,1060.9843); SetPlayerInterior(playerid, 2); SetCameraBehindPlayer(playerid); NaCamera[playerid] = 0; SetPlayerVirtualWorld(playerid, 0); TextDrawHideForPlayer(playerid, Hidealto2); TextDrawHideForPlayer(playerid, Hidebaixo2); } else { SetPlayerPos(playerid, 224.2144,120.6683,999.1013); SetPlayerVirtualWorld(playerid, 1); DPExit[playerid] = 2; SetPlayerInterior(playerid,10); SetCameraBehindPlayer(playerid); NaCamera[playerid] = 0; TextDrawHideForPlayer(playerid, Hidealto2); TextDrawHideForPlayer(playerid, Hidebaixo2); return true; } } else if(listitem == 4)// { if(GetPlayerOrg(playerid) == 35 && PlayerInfo[playerid][pCargo] > 5) { ShowPlayerDialog(playerid,8910, DIALOG_STYLE_INPUT, "Defina a senha","Defina a nova senha de acesso ao painel\nNumeros de 1 a 9","Definir","Cancelar"); return true; } else { SendClientMessage(playerid, COLOR_GRAD1, "Voce nao pode mudar a senha de acesso!"); return true; } } } return 0; } if(dialogid == 8910) { if(response >= 1) { ForT:definirsenha(playerid, inputtext); } return true; } if(dialogid == 8911) { if(response >= 1) { if(strcmp(SenhaSeguranca,"0", true) == 0) { ForT:definirsenha(playerid, inputtext); } ForT:acessarcamerass(playerid, inputtext); } return true; } if(dialogid == 8912) { if(response == 0) { return 1; } if(response >= 1) { ForT:rbug(playerid, inputtext); return 1; } return 1; } if(dialogid == 8907) { if(response >= 1) { if(listitem == 1)//24 - 7 LS { ClearChatbox(playerid, 100); InterpolateCameraPos( playerid, 1334.6313, -1743.1552, 29.8977, 1334.6313, -1743.1552, 29.8977 ,5000, CAMERA_MOVE); SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 0); SetPlayerPos(playerid, 1370.9540,-1754.0128,13.5521); SendClientMessage(playerid, 0x33FF00FF, "Aperte '{FFFFFF}F{33FF00}' para voltar ao menu, voce pode mover a camera com o {FFFFFF}MOUSE."); ApplyAnimationEx(playerid,"PED","SEAT_idle",1.0,1,0,0,0,0); ApplyAnimationEx(playerid,"PED","SEAT_idle",1.0,1,0,0,0,0); TextDrawShowForPlayer(playerid, Hidealto2); TextDrawShowForPlayer(playerid, Hidebaixo2); NaCamera[playerid] = 5; return true; } if(listitem == 2)// Pref - LS (Commerce) { ClearChatbox(playerid, 100); InterpolateCameraPos( playerid, 1483.3023, -1729.0262, 22.2732 ,1483.3023, -1729.0262, 22.2732, 5000, CAMERA_MOVE); //InterpolateCameraLookAt( playerid, 1482.0903, -1738.8973, 21.2280,1482.0903, -1738.8973, 21.2280,5000 ,CAMERA_MOVE); SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 0); SetPlayerPos(playerid, 1482.6171,-1769.5009,13.5469); SendClientMessage(playerid, 0x33FF00FF, "Aperte '{FFFFFF}F{33FF00}' para voltar ao menu, voce pode mover a camera com o {FFFFFF}MOUSE."); ApplyAnimationEx(playerid,"PED","SEAT_idle",1.0,1,0,0,0,0); ApplyAnimationEx(playerid,"PED","SEAT_idle",1.0,1,0,0,0,0); TextDrawShowForPlayer(playerid, Hidealto2); TextDrawShowForPlayer(playerid, Hidebaixo2); NaCamera[playerid] = 5; return true; } if(listitem == 3)// Pref - LS (East Beach) { ClearChatbox(playerid, 100); InterpolateCameraPos( playerid, 2810.1687, -1081.9837, 39.6626 ,2810.1687, -1081.9837, 39.6626, 5000, CAMERA_MOVE); //InterpolateCameraLookAt( playerid, 1482.0903, -1738.8973, 21.2280,1482.0903, -1738.8973, 21.2280,5000 ,CAMERA_MOVE); SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 0); SetPlayerPos(playerid, 2785.8916,-1088.0073,30.7188); SetPlayerFacingAngle(playerid, 90.6171); SendClientMessage(playerid, 0x33FF00FF, "Aperte '{FFFFFF}F{33FF00}' para voltar ao menu, voce pode mover a camera com o {FFFFFF}MOUSE."); ApplyAnimationEx(playerid,"PED","SEAT_idle",1.0,1,0,0,0,0); ApplyAnimationEx(playerid,"PED","SEAT_idle",1.0,1,0,0,0,0); TextDrawShowForPlayer(playerid, Hidealto2); TextDrawShowForPlayer(playerid, Hidebaixo2); NaCamera[playerid] = 5; return true; } if(listitem == 4)// Loja de armas LS { ClearChatbox(playerid, 100); InterpolateCameraPos( playerid, 1058.1326, -1872.9680, 24.4793,1058.1326, -1872.9680, 24.4793 ,5000, CAMERA_MOVE); //InterpolateCameraLookAt( playerid, 1064.9484, -1873.2060, 17.1658, 1064.9484, -1873.2060, 17.1658,5000 ,CAMERA_MOVE); SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 0); SetPlayerPos(playerid, 1026.2922,-1930.1968,12.7886); SendClientMessage(playerid, 0x33FF00FF, "Aperte '{FFFFFF}F{33FF00}' para voltar ao menu, voce pode mover a camera com o {FFFFFF}MOUSE."); ApplyAnimationEx(playerid,"PED","SEAT_idle",1.0,1,0,0,0,0); ApplyAnimationEx(playerid,"PED","SEAT_idle",1.0,1,0,0,0,0); TextDrawShowForPlayer(playerid, Hidealto2); TextDrawShowForPlayer(playerid, Hidebaixo2); NaCamera[playerid] = 5; return true; } if(listitem == 5)// DP - LS { ClearChatbox(playerid, 100); InterpolateCameraPos( playerid, 1526.0451, -1668.8969, 22.2694 ,1526.0451, -1668.8969, 22.2694, 5000, CAMERA_MOVE); //InterpolateCameraLookAt( playerid, 1535.6578, -1671.6533, 18.8492 ,1535.6578, -1671.6533, 18.8492 ,5000,CAMERA_MOVE); SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 0); SetPlayerPos(playerid, 1577.6180,-1673.2339,19.8792); SendClientMessage(playerid, 0x33FF00FF, "Aperte '{FFFFFF}F{33FF00}' para voltar ao menu, voce pode mover a camera com o {FFFFFF}MOUSE."); ApplyAnimationEx(playerid,"PED","SEAT_idle",1.0,1,0,0,0,0); ApplyAnimationEx(playerid,"PED","SEAT_idle",1.0,1,0,0,0,0); TextDrawShowForPlayer(playerid, Hidealto2); TextDrawShowForPlayer(playerid, Hidebaixo2); NaCamera[playerid] = 5; return true; } if(listitem == 6)// Int DP - LS { ClearChatbox(playerid, 100); InterpolateCameraPos( playerid, 269.7922, 75.9835, 1003.0452 ,269.7922, 75.9835, 1003.0452, 5000, CAMERA_MOVE); //InterpolateCameraLookAt( playerid, 262.1318, 82.4114, 999.2991 , 262.1318, 82.4114, 999.2991,5000,CAMERA_MOVE); SetPlayerInterior(playerid, 6); SetPlayerVirtualWorld(playerid, 0); SetPlayerPos(playerid, 264.4978,82.3155,1004.6830); SendClientMessage(playerid, 0x33FF00FF, "Aperte '{FFFFFF}F{33FF00}' para voltar ao menu, voce pode mover a camera com o {FFFFFF}MOUSE."); ApplyAnimationEx(playerid,"PED","SEAT_idle",1.0,1,0,0,0,0); ApplyAnimationEx(playerid,"PED","SEAT_idle",1.0,1,0,0,0,0); TextDrawShowForPlayer(playerid, Hidealto2); TextDrawShowForPlayer(playerid, Hidebaixo2); NaCamera[playerid] = 5; return true; } if(listitem == 7)// Int BOPE - LS { ClearChatbox(playerid, 100); InterpolateCameraPos( playerid, 203.8481, 180.7021, 1004.9763 ,203.8481, 180.7021, 1004.9763,5000, CAMERA_MOVE); //InterpolateCameraLookAt( playerid, 195.1664, 176.2785, 1002.7268, 195.1664, 176.2785, 1002.7268,5000 ,CAMERA_MOVE); SetPlayerInterior(playerid, 3); SetPlayerVirtualWorld(playerid, 1); SetPlayerPos(playerid, 193.9738,175.0059,1007.2417); SendClientMessage(playerid, 0x33FF00FF, "Aperte '{FFFFFF}F{33FF00}' para voltar ao menu, voce pode mover a camera com o {FFFFFF}MOUSE."); ApplyAnimationEx(playerid,"PED","SEAT_idle",1.0,1,0,0,0,0); ApplyAnimationEx(playerid,"PED","SEAT_idle",1.0,1,0,0,0,0); TextDrawShowForPlayer(playerid, Hidealto2); TextDrawShowForPlayer(playerid, Hidebaixo2); NaCamera[playerid] = 5; return true; } if(listitem == 8)// Int Pref LS (commerce) { ClearChatbox(playerid, 100); InterpolateCameraPos( playerid, 354.5289, 189.0204, 1010.7874 ,354.5289, 189.0204, 1010.7874,5000, CAMERA_MOVE); //InterpolateCameraLookAt( playerid, 195.1664, 176.2785, 1002.7268, 195.1664, 176.2785, 1002.7268,5000 ,CAMERA_MOVE); SetPlayerInterior(playerid, 3); SetPlayerVirtualWorld(playerid, 0); SetPlayerPos(playerid, 331.9818,181.3290,1014.1875); SendClientMessage(playerid, 0x33FF00FF, "Aperte '{FFFFFF}F{33FF00}' para voltar ao menu, voce pode mover a camera com o {FFFFFF}MOUSE."); ApplyAnimationEx(playerid,"PED","SEAT_idle",1.0,1,0,0,0,0); ApplyAnimationEx(playerid,"PED","SEAT_idle",1.0,1,0,0,0,0); TextDrawShowForPlayer(playerid, Hidealto2); TextDrawShowForPlayer(playerid, Hidebaixo2); NaCamera[playerid] = 5; return true; } if(listitem == 9)// Int Pref LS (east beach) { ClearChatbox(playerid, 100); InterpolateCameraPos( playerid, 354.5289, 189.0204, 1010.7874 ,354.5289, 189.0204, 1010.7874,5000, CAMERA_MOVE); //InterpolateCameraLookAt( playerid, 195.1664, 176.2785, 1002.7268, 195.1664, 176.2785, 1002.7268,5000 ,CAMERA_MOVE); SetPlayerInterior(playerid, 3); SetPlayerVirtualWorld(playerid, 2); SetPlayerPos(playerid, 331.9818,181.3290,1014.1875); SendClientMessage(playerid, 0x33FF00FF, "Aperte '{FFFFFF}F{33FF00}' para voltar ao menu, voce pode mover a camera com o {FFFFFF}MOUSE."); ApplyAnimationEx(playerid,"PED","SEAT_idle",1.0,1,0,0,0,0); ApplyAnimationEx(playerid,"PED","SEAT_idle",1.0,1,0,0,0,0); TextDrawShowForPlayer(playerid, Hidealto2); TextDrawShowForPlayer(playerid, Hidebaixo2); NaCamera[playerid] = 5; return true; } if(listitem == 10)// casarao { ClearChatbox(playerid, 100); InterpolateCameraPos( playerid, 1281.3691, -2008.3316, 71.9299 ,1281.3691, -2008.3316, 71.9299,5000, CAMERA_MOVE); //InterpolateCameraLookAt( playerid, 195.1664, 176.2785, 1002.7268, 195.1664, 176.2785, 1002.7268,5000 ,CAMERA_MOVE); SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 0); SetPlayerPos(playerid, 1236.6776,-2070.7102,59.8886); SendClientMessage(playerid, 0x33FF00FF, "Aperte '{FFFFFF}F{33FF00}' para voltar ao menu, voce pode mover a camera com o {FFFFFF}MOUSE."); ApplyAnimationEx(playerid,"PED","SEAT_idle",1.0,1,0,0,0,0); ApplyAnimationEx(playerid,"PED","SEAT_idle",1.0,1,0,0,0,0); TextDrawShowForPlayer(playerid, Hidealto2); TextDrawShowForPlayer(playerid, Hidebaixo2); NaCamera[playerid] = 5; return true; } if(listitem == 11)// unity { ClearChatbox(playerid, 100); InterpolateCameraPos( playerid, 1684.3660, -1945.9124, 28.2897 ,1684.3660, -1945.9124, 28.2897,5000, CAMERA_MOVE); //InterpolateCameraLookAt( playerid, 195.1664, 176.2785, 1002.7268, 195.1664, 176.2785, 1002.7268,5000 ,CAMERA_MOVE); SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 0); SetPlayerPos(playerid, 1683.2881,-1963.3058,14.1172); SendClientMessage(playerid, 0x33FF00FF, "Aperte '{FFFFFF}F{33FF00}' para voltar ao menu, voce pode mover a camera com o {FFFFFF}MOUSE."); ApplyAnimationEx(playerid,"PED","SEAT_idle",1.0,1,0,0,0,0); ApplyAnimationEx(playerid,"PED","SEAT_idle",1.0,1,0,0,0,0); TextDrawShowForPlayer(playerid, Hidealto2); TextDrawShowForPlayer(playerid, Hidebaixo2); NaCamera[playerid] = 5; return true; } if(listitem == 12)// PG { ClearChatbox(playerid, 100); InterpolateCameraPos( playerid, 1990.0914, -1249.6408, 36.0001,1990.0914, -1249.6408, 36.0001,5000, CAMERA_MOVE); //InterpolateCameraLookAt( playerid, 195.1664, 176.2785, 1002.7268, 195.1664, 176.2785, 1002.7268,5000 ,CAMERA_MOVE); SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 0); SetPlayerPos(playerid, 1972.9620,-1287.1128,28.4919); SendClientMessage(playerid, 0x33FF00FF, "Aperte '{FFFFFF}F{33FF00}' para voltar ao menu, voce pode mover a camera com o {FFFFFF}MOUSE."); ApplyAnimationEx(playerid,"PED","SEAT_idle",1.0,1,0,0,0,0); ApplyAnimationEx(playerid,"PED","SEAT_idle",1.0,1,0,0,0,0); TextDrawShowForPlayer(playerid, Hidealto2); TextDrawShowForPlayer(playerid, Hidebaixo2); NaCamera[playerid] = 5; return true; } if(listitem == 13)// Morro { ClearChatbox(playerid, 100); InterpolateCameraPos( playerid, 2177.7143, -1018.5062, 72.4801, 2177.7143, -1018.5062, 72.4801,5000, CAMERA_MOVE); //InterpolateCameraLookAt( playerid, 195.1664, 176.2785, 1002.7268, 195.1664, 176.2785, 1002.7268,5000 ,CAMERA_MOVE); SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 0); SetPlayerPos(playerid, 2186.4172,-997.5766,62.8565); SendClientMessage(playerid, 0x33FF00FF, "Aperte '{FFFFFF}F{33FF00}' para voltar ao menu, voce pode mover a camera com o {FFFFFF}MOUSE."); ApplyAnimationEx(playerid,"PED","SEAT_idle",1.0,1,0,0,0,0); ApplyAnimationEx(playerid,"PED","SEAT_idle",1.0,1,0,0,0,0); TextDrawShowForPlayer(playerid, Hidealto2); TextDrawShowForPlayer(playerid, Hidebaixo2); NaCamera[playerid] = 5; return true; } if(listitem == 14)// Mansao do Madd Dogg { ClearChatbox(playerid, 100); InterpolateCameraPos( playerid, 385.8288, -2029.9749, 22.8205, 385.8288, -2029.9749, 22.8205,5000, CAMERA_MOVE); //InterpolateCameraLookAt( playerid, 195.1664, 176.2785, 1002.7268, 195.1664, 176.2785, 1002.7268,5000 ,CAMERA_MOVE); SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 0); SetPlayerPos(playerid, 354.0010,-2068.3403,7.8359); SendClientMessage(playerid, 0x33FF00FF, "Aperte '{FFFFFF}F{33FF00}' para voltar ao menu, voce pode mover a camera com o {FFFFFF}MOUSE."); ApplyAnimationEx(playerid,"PED","SEAT_idle",1.0,1,0,0,0,0); ApplyAnimationEx(playerid,"PED","SEAT_idle",1.0,1,0,0,0,0); TextDrawShowForPlayer(playerid, Hidealto2); TextDrawShowForPlayer(playerid, Hidebaixo2); NaCamera[playerid] = 5; return true; } } return 0; } if(dialogid == 8723) { KickCNF(playerid); } if(dialogid == 8908) { if(response >= 1) { if(listitem == 1)//24-7 SF { ClearChatbox(playerid, 100); InterpolateCameraPos( playerid, -2434.0585, 720.8944, 40.7977, -2434.0585, 720.8944, 40.7977 ,5000, CAMERA_MOVE); //InterpolateCameraLookAt( playerid, -2436.1376, 730.6759, 37.7075 , -2436.1376, 730.6759, 37.7075,5000,CAMERA_MOVE); SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 0); SetPlayerPos(playerid, -2408.4370,722.5980,35.1719); SendClientMessage(playerid, 0x33FF00FF, "Aperte '{FFFFFF}F{33FF00}' para voltar ao menu, voce pode mover a camera com o {FFFFFF}MOUSE."); ApplyAnimationEx(playerid,"PED","SEAT_idle",1.0,1,0,0,0,0); ApplyAnimationEx(playerid,"PED","SEAT_idle",1.0,1,0,0,0,0); TextDrawShowForPlayer(playerid, Hidealto2); TextDrawShowForPlayer(playerid, Hidebaixo2); NaCamera[playerid] = 5; return true; } if(listitem == 2)// Pref - SF (Country Club) { ClearChatbox(playerid, 100); InterpolateCameraPos( playerid, -2731.1198, -300.7951, 17.5377 ,-2731.1198, -300.7951, 17.5377, 5000, CAMERA_MOVE); //InterpolateCameraLookAt( playerid, -2726.5800, -309.7051, 14.1175, -2726.5800, -309.7051, 14.1175,5000 ,CAMERA_MOVE); SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 0); SetPlayerPos(playerid, -2717.6074,-320.6719,14.5174); SendClientMessage(playerid, 0x33FF00FF, "Aperte '{FFFFFF}F{33FF00}' para voltar ao menu, voce pode mover a camera com o {FFFFFF}MOUSE."); ApplyAnimationEx(playerid,"PED","SEAT_idle",1.0,1,0,0,0,0); ApplyAnimationEx(playerid,"PED","SEAT_idle",1.0,1,0,0,0,0); TextDrawShowForPlayer(playerid, Hidealto2); TextDrawShowForPlayer(playerid, Hidebaixo2); NaCamera[playerid] = 5; return true; } if(listitem == 3)// Pref - SF (Downtown) { ClearChatbox(playerid, 100); InterpolateCameraPos( playerid, -1908.6489, 828.8952, 42.8886 ,-1908.6489, 828.8952, 42.8886, 5000, CAMERA_MOVE); //InterpolateCameraLookAt( playerid, -2726.5800, -309.7051, 14.1175, -2726.5800, -309.7051, 14.1175,5000 ,CAMERA_MOVE); SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 0); SetPlayerPos(playerid, -1855.3246,863.7321,87.1946); SendClientMessage(playerid, 0x33FF00FF, "Aperte '{FFFFFF}F{33FF00}' para voltar ao menu, voce pode mover a camera com o {FFFFFF}MOUSE."); ApplyAnimationEx(playerid,"PED","SEAT_idle",1.0,1,0,0,0,0); ApplyAnimationEx(playerid,"PED","SEAT_idle",1.0,1,0,0,0,0); TextDrawShowForPlayer(playerid, Hidealto2); TextDrawShowForPlayer(playerid, Hidebaixo2); NaCamera[playerid] = 5; return true; } if(listitem == 4)// Loja de armas - SF { ClearChatbox(playerid, 100); InterpolateCameraPos( playerid, -2009.5368, 1037.4631, 64.2462 , -2009.5368, 1037.4631, 64.2462, 5000, CAMERA_MOVE); //InterpolateCameraLookAt( playerid, -1999.6341, 1038.8548, 60.5001, -1999.6341, 1038.8548, 60.5001,5000 ,CAMERA_MOVE); SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 0); SetPlayerPos(playerid, -1969.8776,992.5302,58.8125); SendClientMessage(playerid, 0x33FF00FF, "Aperte '{FFFFFF}F{33FF00}' para voltar ao menu, voce pode mover a camera com o {FFFFFF}MOUSE."); ApplyAnimationEx(playerid,"PED","SEAT_idle",1.0,1,0,0,0,0); ApplyAnimationEx(playerid,"PED","SEAT_idle",1.0,1,0,0,0,0); TextDrawShowForPlayer(playerid, Hidealto2); TextDrawShowForPlayer(playerid, Hidebaixo2); NaCamera[playerid] = 5; return true; } if(listitem == 5)// DP - SF { ClearChatbox(playerid, 100); InterpolateCameraPos( playerid, -1607.5292, 735.9051, 20.9471, -1607.5292, 735.9051, 20.9471,5000 , CAMERA_MOVE); //InterpolateCameraLookAt( playerid, -1607.1802, 725.9112, 17.5269, -1607.1802, 725.9112, 17.5269,5000 ,CAMERA_MOVE); SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 0); SetPlayerPos(playerid, -1610.9825,713.7554,48.9375); SendClientMessage(playerid, 0x33FF00FF, "Aperte '{FFFFFF}F{33FF00}' para voltar ao menu, voce pode mover a camera com o {FFFFFF}MOUSE."); ApplyAnimationEx(playerid,"PED","SEAT_idle",1.0,1,0,0,0,0); ApplyAnimationEx(playerid,"PED","SEAT_idle",1.0,1,0,0,0,0); TextDrawShowForPlayer(playerid, Hidealto2); TextDrawShowForPlayer(playerid, Hidebaixo2); NaCamera[playerid] = 5; return true; } if(listitem == 6)// Int DP - SF { ClearChatbox(playerid, 100); InterpolateCameraPos( playerid, 269.7922, 75.9835, 1003.0452 ,269.7922, 75.9835, 1003.0452 ,5000, CAMERA_MOVE); //InterpolateCameraLookAt( playerid, 262.1318, 82.4114, 999.2991, 262.1318, 82.4114, 999.2991,5000 ,CAMERA_MOVE); SetPlayerInterior(playerid, 6); SetPlayerVirtualWorld(playerid, 1); SetPlayerPos(playerid, 264.4978,82.3155,1004.6830); SendClientMessage(playerid, 0x33FF00FF, "Aperte '{FFFFFF}F{33FF00}' para voltar ao menu, voce pode mover a camera com o {FFFFFF}MOUSE."); ApplyAnimationEx(playerid,"PED","SEAT_idle",1.0,1,0,0,0,0); ApplyAnimationEx(playerid,"PED","SEAT_idle",1.0,1,0,0,0,0); TextDrawShowForPlayer(playerid, Hidealto2); TextDrawShowForPlayer(playerid, Hidebaixo2); NaCamera[playerid] = 5; return true; } if(listitem == 7)// Int BOPE - SF { ClearChatbox(playerid, 100); InterpolateCameraPos( playerid, 203.8481, 180.7021, 1004.9763 , 203.8481, 180.7021, 1004.9763,5000, CAMERA_MOVE); //InterpolateCameraLookAt( playerid, 195.1664, 176.2785, 1002.7268, 195.1664, 176.2785, 1002.7268,5000 ,CAMERA_MOVE); SetPlayerInterior(playerid, 3); SetPlayerVirtualWorld(playerid, 0); SetPlayerPos(playerid, 193.9738,175.0059,1007.2417); SendClientMessage(playerid, 0x33FF00FF, "Aperte '{FFFFFF}F{33FF00}' para voltar ao menu, voce pode mover a camera com o {FFFFFF}MOUSE."); ApplyAnimationEx(playerid,"PED","SEAT_idle",1.0,1,0,0,0,0); ApplyAnimationEx(playerid,"PED","SEAT_idle",1.0,1,0,0,0,0); TextDrawShowForPlayer(playerid, Hidealto2); TextDrawShowForPlayer(playerid, Hidebaixo2); NaCamera[playerid] = 5; return true; } if(listitem == 8)// Int Pref SF(country club) { ClearChatbox(playerid, 100); InterpolateCameraPos( playerid, 354.5289, 189.0204, 1010.7874 ,354.5289, 189.0204, 1010.7874,5000, CAMERA_MOVE); //InterpolateCameraLookAt( playerid, 195.1664, 176.2785, 1002.7268, 195.1664, 176.2785, 1002.7268,5000 ,CAMERA_MOVE); SetPlayerInterior(playerid, 3); SetPlayerVirtualWorld(playerid, 1); SetPlayerPos(playerid, 331.9818,181.3290,1014.1875); SendClientMessage(playerid, 0x33FF00FF, "Aperte '{FFFFFF}F{33FF00}' para voltar ao menu, voce pode mover a camera com o {FFFFFF}MOUSE."); ApplyAnimationEx(playerid,"PED","SEAT_idle",1.0,1,0,0,0,0); ApplyAnimationEx(playerid,"PED","SEAT_idle",1.0,1,0,0,0,0); TextDrawShowForPlayer(playerid, Hidealto2); TextDrawShowForPlayer(playerid, Hidebaixo2); NaCamera[playerid] = 5; return true; } if(listitem == 9)// Int Pref SF(Downtown) { ClearChatbox(playerid, 100); InterpolateCameraPos( playerid, 354.5289, 189.0204, 1010.7874 ,354.5289, 189.0204, 1010.7874,5000, CAMERA_MOVE); //InterpolateCameraLookAt( playerid, 195.1664, 176.2785, 1002.7268, 195.1664, 176.2785, 1002.7268,5000 ,CAMERA_MOVE); SetPlayerInterior(playerid, 3); SetPlayerVirtualWorld(playerid, 3); SetPlayerPos(playerid, 331.9818,181.3290,1014.1875); SendClientMessage(playerid, 0x33FF00FF, "Aperte '{FFFFFF}F{33FF00}' para voltar ao menu, voce pode mover a camera com o {FFFFFF}MOUSE."); ApplyAnimationEx(playerid,"PED","SEAT_idle",1.0,1,0,0,0,0); ApplyAnimationEx(playerid,"PED","SEAT_idle",1.0,1,0,0,0,0); TextDrawShowForPlayer(playerid, Hidealto2); TextDrawShowForPlayer(playerid, Hidebaixo2); NaCamera[playerid] = 5; return true; } if(listitem == 10)// puteiro { ClearChatbox(playerid, 100); InterpolateCameraPos( playerid, -2648.5639, 1360.6842, 21.8779 ,-2648.5639, 1360.6842, 21.8779,5000, CAMERA_MOVE); //InterpolateCameraLookAt( playerid, 195.1664, 176.2785, 1002.7268, 195.1664, 176.2785, 1002.7268,5000 ,CAMERA_MOVE); SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 0); SetPlayerPos(playerid, -2660.2417,1418.8271,23.8592); SendClientMessage(playerid, 0x33FF00FF, "Aperte '{FFFFFF}F{33FF00}' para voltar ao menu, voce pode mover a camera com o {FFFFFF}MOUSE."); ApplyAnimationEx(playerid,"PED","SEAT_idle",1.0,1,0,0,0,0); ApplyAnimationEx(playerid,"PED","SEAT_idle",1.0,1,0,0,0,0); TextDrawShowForPlayer(playerid, Hidealto2); TextDrawShowForPlayer(playerid, Hidebaixo2); NaCamera[playerid] = 5; return true; } if(listitem == 11)// construcao { ClearChatbox(playerid, 100); InterpolateCameraPos( playerid, -2113.3452, 169.9012, 48.2802 ,-2113.3452, 169.9012, 48.2802,5000, CAMERA_MOVE); //InterpolateCameraLookAt( playerid, 195.1664, 176.2785, 1002.7268, 195.1664, 176.2785, 1002.7268,5000 ,CAMERA_MOVE); SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 0); SetPlayerPos(playerid, -2055.3149,259.5490,28.6399); SendClientMessage(playerid, 0x33FF00FF, "Aperte '{FFFFFF}F{33FF00}' para voltar ao menu, voce pode mover a camera com o {FFFFFF}MOUSE."); ApplyAnimationEx(playerid,"PED","SEAT_idle",1.0,1,0,0,0,0); ApplyAnimationEx(playerid,"PED","SEAT_idle",1.0,1,0,0,0,0); TextDrawShowForPlayer(playerid, Hidealto2); TextDrawShowForPlayer(playerid, Hidebaixo2); NaCamera[playerid] = 5; return true; } if(listitem == 12)// praia { ClearChatbox(playerid, 100); InterpolateCameraPos( playerid, -2997.1215, 457.9920, 11.1850 ,-2997.1215, 457.9920, 11.1850,5000, CAMERA_MOVE); //InterpolateCameraLookAt( playerid, 195.1664, 176.2785, 1002.7268, 195.1664, 176.2785, 1002.7268,5000 ,CAMERA_MOVE); SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 0); SetPlayerPos(playerid, -2978.0056,463.0225,1.4561); SendClientMessage(playerid, 0x33FF00FF, "Aperte '{FFFFFF}F{33FF00}' para voltar ao menu, voce pode mover a camera com o {FFFFFF}MOUSE."); ApplyAnimationEx(playerid,"PED","SEAT_idle",1.0,1,0,0,0,0); ApplyAnimationEx(playerid,"PED","SEAT_idle",1.0,1,0,0,0,0); TextDrawShowForPlayer(playerid, Hidealto2); TextDrawShowForPlayer(playerid, Hidebaixo2); NaCamera[playerid] = 5; return true; } if(listitem == 13)// navio { ClearChatbox(playerid, 100); InterpolateCameraPos( playerid, -1504.6976, 144.9815, 32.2321 ,-1504.6976, 144.9815, 32.2321,5000, CAMERA_MOVE); //InterpolateCameraLookAt( playerid, 195.1664, 176.2785, 1002.7268, 195.1664, 176.2785, 1002.7268,5000 ,CAMERA_MOVE); SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 0); SetPlayerPos(playerid, -1544.5105,123.8271,32.9672); SendClientMessage(playerid, 0x33FF00FF, "Aperte '{FFFFFF}F{33FF00}' para voltar ao menu, voce pode mover a camera com o {FFFFFF}MOUSE."); ApplyAnimationEx(playerid,"PED","SEAT_idle",1.0,1,0,0,0,0); ApplyAnimationEx(playerid,"PED","SEAT_idle",1.0,1,0,0,0,0); TextDrawShowForPlayer(playerid, Hidealto2); TextDrawShowForPlayer(playerid, Hidebaixo2); NaCamera[playerid] = 5; return true; } if(listitem == 14)// aero { ClearChatbox(playerid, 100); InterpolateCameraPos( playerid, -1512.6502, -434.3499, 18.2579 ,-1512.6502, -434.3499, 18.2579,5000, CAMERA_MOVE); //InterpolateCameraLookAt( playerid, 195.1664, 176.2785, 1002.7268, 195.1664, 176.2785, 1002.7268,5000 ,CAMERA_MOVE); SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 0); SetPlayerPos(playerid, -1516.2347,-505.0099,28.1568); SendClientMessage(playerid, 0x33FF00FF, "Aperte '{FFFFFF}F{33FF00}' para voltar ao menu, voce pode mover a camera com o {FFFFFF}MOUSE."); ApplyAnimationEx(playerid,"PED","SEAT_idle",1.0,1,0,0,0,0); ApplyAnimationEx(playerid,"PED","SEAT_idle",1.0,1,0,0,0,0); TextDrawShowForPlayer(playerid, Hidealto2); TextDrawShowForPlayer(playerid, Hidebaixo2); NaCamera[playerid] = 5; return true; } } return 0; } if(dialogid == 8909) { if(response >= 1) { if(listitem == 1)//entrada LV { ClearChatbox(playerid, 100); InterpolateCameraPos( playerid, 1661.4241, -824.4493, 65.4594, 1661.4241, -824.4493, 65.4594 ,5000, CAMERA_MOVE); //InterpolateCameraLookAt( playerid, -2436.1376, 730.6759, 37.7075 , -2436.1376, 730.6759, 37.7075,5000,CAMERA_MOVE); SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 0); SetPlayerPos(playerid, 1632.5416,-843.3266,75.4453); SendClientMessage(playerid, 0x33FF00FF, "Aperte '{FFFFFF}F{33FF00}' para voltar ao menu, voce pode mover a camera com o {FFFFFF}MOUSE."); ApplyAnimationEx(playerid,"PED","SEAT_idle",1.0,1,0,0,0,0); ApplyAnimationEx(playerid,"PED","SEAT_idle",1.0,1,0,0,0,0); TextDrawShowForPlayer(playerid, Hidealto2); TextDrawShowForPlayer(playerid, Hidebaixo2); NaCamera[playerid] = 5; return true; } if(listitem == 2)//emerald { ClearChatbox(playerid, 100); InterpolateCameraPos( playerid, 2071.3466, 2455.6970, 18.4713, 2071.3466, 2455.6970, 18.4713 ,5000, CAMERA_MOVE); //InterpolateCameraLookAt( playerid, -2436.1376, 730.6759, 37.7075 , -2436.1376, 730.6759, 37.7075,5000,CAMERA_MOVE); SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 0); SetPlayerPos(playerid, 2076.8347,2490.1584,10.8203); SendClientMessage(playerid, 0x33FF00FF, "Aperte '{FFFFFF}F{33FF00}' para voltar ao menu, voce pode mover a camera com o {FFFFFF}MOUSE."); ApplyAnimationEx(playerid,"PED","SEAT_idle",1.0,1,0,0,0,0); ApplyAnimationEx(playerid,"PED","SEAT_idle",1.0,1,0,0,0,0); TextDrawShowForPlayer(playerid, Hidealto2); TextDrawShowForPlayer(playerid, Hidebaixo2); NaCamera[playerid] = 5; return true; } if(listitem == 3)//emerald { ClearChatbox(playerid, 100); InterpolateCameraPos( playerid, 2086.5546, 2413.6904, 12.9756, 2086.5546, 2413.6904, 12.9756 ,5000, CAMERA_MOVE); //InterpolateCameraLookAt( playerid, -2436.1376, 730.6759, 37.7075 , -2436.1376, 730.6759, 37.7075,5000,CAMERA_MOVE); SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 0); SetPlayerPos(playerid, 2070.7266,2414.4219,60.8169); SendClientMessage(playerid, 0x33FF00FF, "Aperte '{FFFFFF}F{33FF00}' para voltar ao menu, voce pode mover a camera com o {FFFFFF}MOUSE."); ApplyAnimationEx(playerid,"PED","SEAT_idle",1.0,1,0,0,0,0); ApplyAnimationEx(playerid,"PED","SEAT_idle",1.0,1,0,0,0,0); TextDrawShowForPlayer(playerid, Hidealto2); TextDrawShowForPlayer(playerid, Hidebaixo2); NaCamera[playerid] = 5; return true; } if(listitem == 4)//emerald { ClearChatbox(playerid, 100); InterpolateCameraPos( playerid, 2091.0100, 2399.5551, 17.9183, 2091.0100, 2399.5551, 17.9183 ,5000, CAMERA_MOVE); //InterpolateCameraLookAt( playerid, -2436.1376, 730.6759, 37.7075 , -2436.1376, 730.6759, 37.7075,5000,CAMERA_MOVE); SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 0); SetPlayerPos(playerid, 2070.7266,2414.4219,60.8169); SendClientMessage(playerid, 0x33FF00FF, "Aperte '{FFFFFF}F{33FF00}' para voltar ao menu, voce pode mover a camera com o {FFFFFF}MOUSE."); ApplyAnimationEx(playerid,"PED","SEAT_idle",1.0,1,0,0,0,0); ApplyAnimationEx(playerid,"PED","SEAT_idle",1.0,1,0,0,0,0); TextDrawShowForPlayer(playerid, Hidealto2); TextDrawShowForPlayer(playerid, Hidebaixo2); NaCamera[playerid] = 5; return true; } if(listitem == 5)//emerald { ClearChatbox(playerid, 100); InterpolateCameraPos( playerid, 2099.9316, 2404.8378, 22.2888, 2099.9316, 2404.8378, 22.2888 ,5000, CAMERA_MOVE); //InterpolateCameraLookAt( playerid, -2436.1376, 730.6759, 37.7075 , -2436.1376, 730.6759, 37.7075,5000,CAMERA_MOVE); SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 0); SetPlayerPos(playerid, 2070.7266,2414.4219,60.8169); SendClientMessage(playerid, 0x33FF00FF, "Aperte '{FFFFFF}F{33FF00}' para voltar ao menu, voce pode mover a camera com o {FFFFFF}MOUSE."); ApplyAnimationEx(playerid,"PED","SEAT_idle",1.0,1,0,0,0,0); ApplyAnimationEx(playerid,"PED","SEAT_idle",1.0,1,0,0,0,0); TextDrawShowForPlayer(playerid, Hidealto2); TextDrawShowForPlayer(playerid, Hidebaixo2); NaCamera[playerid] = 5; return true; } if(listitem == 6)//emerald { ClearChatbox(playerid, 100); InterpolateCameraPos( playerid, 2099.9316, 2404.8378, 25.9510, 2099.9316, 2404.8378, 25.9510 ,5000, CAMERA_MOVE); //InterpolateCameraLookAt( playerid, -2436.1376, 730.6759, 37.7075 , -2436.1376, 730.6759, 37.7075,5000,CAMERA_MOVE); SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 0); SetPlayerPos(playerid, 2070.7266,2414.4219,60.8169); SendClientMessage(playerid, 0x33FF00FF, "Aperte '{FFFFFF}F{33FF00}' para voltar ao menu, voce pode mover a camera com o {FFFFFF}MOUSE."); ApplyAnimationEx(playerid,"PED","SEAT_idle",1.0,1,0,0,0,0); ApplyAnimationEx(playerid,"PED","SEAT_idle",1.0,1,0,0,0,0); TextDrawShowForPlayer(playerid, Hidealto2); TextDrawShowForPlayer(playerid, Hidebaixo2); NaCamera[playerid] = 5; return true; } if(listitem == 7)//emerald { ClearChatbox(playerid, 100); InterpolateCameraPos( playerid, 2098.6154, 2409.8491, 30.1823, 2098.6154, 2409.8491, 30.1823 ,5000, CAMERA_MOVE); //InterpolateCameraLookAt( playerid, -2436.1376, 730.6759, 37.7075 , -2436.1376, 730.6759, 37.7075,5000,CAMERA_MOVE); SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 0); SetPlayerPos(playerid, 2070.7266,2414.4219,60.8169); SendClientMessage(playerid, 0x33FF00FF, "Aperte '{FFFFFF}F{33FF00}' para voltar ao menu, voce pode mover a camera com o {FFFFFF}MOUSE."); ApplyAnimationEx(playerid,"PED","SEAT_idle",1.0,1,0,0,0,0); ApplyAnimationEx(playerid,"PED","SEAT_idle",1.0,1,0,0,0,0); TextDrawShowForPlayer(playerid, Hidealto2); TextDrawShowForPlayer(playerid, Hidebaixo2); NaCamera[playerid] = 5; return true; } if(listitem == 8)//emerald { ClearChatbox(playerid, 100); InterpolateCameraPos( playerid, 2098.6154, 2409.8491, 34.5943, 2098.6154, 2409.8491, 34.5943 ,5000, CAMERA_MOVE); //InterpolateCameraLookAt( playerid, -2436.1376, 730.6759, 37.7075 , -2436.1376, 730.6759, 37.7075,5000,CAMERA_MOVE); SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 0); SetPlayerPos(playerid, 2070.7266,2414.4219,60.8169); SendClientMessage(playerid, 0x33FF00FF, "Aperte '{FFFFFF}F{33FF00}' para voltar ao menu, voce pode mover a camera com o {FFFFFF}MOUSE."); ApplyAnimationEx(playerid,"PED","SEAT_idle",1.0,1,0,0,0,0); ApplyAnimationEx(playerid,"PED","SEAT_idle",1.0,1,0,0,0,0); TextDrawShowForPlayer(playerid, Hidealto2); TextDrawShowForPlayer(playerid, Hidebaixo2); NaCamera[playerid] = 5; return true; } if(listitem == 9)//emerald { ClearChatbox(playerid, 100); InterpolateCameraPos( playerid, 2089.5283, 2411.3017, 39.4323, 2089.5283, 2411.3017, 39.4323 ,5000, CAMERA_MOVE); //InterpolateCameraLookAt( playerid, -2436.1376, 730.6759, 37.7075 , -2436.1376, 730.6759, 37.7075,5000,CAMERA_MOVE); SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 0); SetPlayerPos(playerid, 2070.7266,2414.4219,60.8169); SendClientMessage(playerid, 0x33FF00FF, "Aperte '{FFFFFF}F{33FF00}' para voltar ao menu, voce pode mover a camera com o {FFFFFF}MOUSE."); ApplyAnimationEx(playerid,"PED","SEAT_idle",1.0,1,0,0,0,0); ApplyAnimationEx(playerid,"PED","SEAT_idle",1.0,1,0,0,0,0); TextDrawShowForPlayer(playerid, Hidealto2); TextDrawShowForPlayer(playerid, Hidebaixo2); NaCamera[playerid] = 5; return true; } if(listitem == 10)//emerald { ClearChatbox(playerid, 100); InterpolateCameraPos( playerid, 2090.7421, 2397.6442, 43.6785, 2090.7421, 2397.6442, 43.6785 ,5000, CAMERA_MOVE); //InterpolateCameraLookAt( playerid, -2436.1376, 730.6759, 37.7075 , -2436.1376, 730.6759, 37.7075,5000,CAMERA_MOVE); SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 0); SetPlayerPos(playerid, 2070.7266,2414.4219,60.8169); SendClientMessage(playerid, 0x33FF00FF, "Aperte '{FFFFFF}F{33FF00}' para voltar ao menu, voce pode mover a camera com o {FFFFFF}MOUSE."); ApplyAnimationEx(playerid,"PED","SEAT_idle",1.0,1,0,0,0,0); ApplyAnimationEx(playerid,"PED","SEAT_idle",1.0,1,0,0,0,0); TextDrawShowForPlayer(playerid, Hidealto2); TextDrawShowForPlayer(playerid, Hidebaixo2); NaCamera[playerid] = 5; return true; } if(listitem == 11)//emerald { ClearChatbox(playerid, 100); InterpolateCameraPos( playerid, 2098.8125, 2410.4707, 47.9796, 2098.8125, 2410.4707, 47.9796 ,5000, CAMERA_MOVE); //InterpolateCameraLookAt( playerid, -2436.1376, 730.6759, 37.7075 , -2436.1376, 730.6759, 37.7075,5000,CAMERA_MOVE); SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 0); SetPlayerPos(playerid, 2070.7266,2414.4219,60.8169); SendClientMessage(playerid, 0x33FF00FF, "Aperte '{FFFFFF}F{33FF00}' para voltar ao menu, voce pode mover a camera com o {FFFFFF}MOUSE."); ApplyAnimationEx(playerid,"PED","SEAT_idle",1.0,1,0,0,0,0); ApplyAnimationEx(playerid,"PED","SEAT_idle",1.0,1,0,0,0,0); TextDrawShowForPlayer(playerid, Hidealto2); TextDrawShowForPlayer(playerid, Hidebaixo2); NaCamera[playerid] = 5; return true; } if(listitem == 12)//emerald { ClearChatbox(playerid, 100); InterpolateCameraPos( playerid, 2101.7131, 2422.4331, 51.1960,2101.7131, 2422.4331, 51.1960 ,5000, CAMERA_MOVE); //InterpolateCameraLookAt( playerid, -2436.1376, 730.6759, 37.7075 , -2436.1376, 730.6759, 37.7075,5000,CAMERA_MOVE); SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 0); SetPlayerPos(playerid,2070.7266,2414.4219,60.8169); SendClientMessage(playerid, 0x33FF00FF, "Aperte '{FFFFFF}F{33FF00}' para voltar ao menu, voce pode mover a camera com o {FFFFFF}MOUSE."); ApplyAnimationEx(playerid,"PED","SEAT_idle",1.0,1,0,0,0,0); ApplyAnimationEx(playerid,"PED","SEAT_idle",1.0,1,0,0,0,0); TextDrawShowForPlayer(playerid, Hidealto2); TextDrawShowForPlayer(playerid, Hidebaixo2); NaCamera[playerid] = 5; return true; } if(listitem == 13)//emerald { ClearChatbox(playerid, 100); InterpolateCameraPos( playerid, 2108.8217, 2430.7543, 70.9799, 2108.8217, 2430.7543, 70.9799 ,5000, CAMERA_MOVE); //InterpolateCameraLookAt( playerid, -2436.1376, 730.6759, 37.7075 , -2436.1376, 730.6759, 37.7075,5000,CAMERA_MOVE); SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 0); SetPlayerPos(playerid, 2070.7266,2414.4219,60.8169); SendClientMessage(playerid, 0x33FF00FF, "Aperte '{FFFFFF}F{33FF00}' para voltar ao menu, voce pode mover a camera com o {FFFFFF}MOUSE."); ApplyAnimationEx(playerid,"PED","SEAT_idle",1.0,1,0,0,0,0); ApplyAnimationEx(playerid,"PED","SEAT_idle",1.0,1,0,0,0,0); TextDrawShowForPlayer(playerid, Hidealto2); TextDrawShowForPlayer(playerid, Hidebaixo2); NaCamera[playerid] = 5; return true; } if(listitem == 14)//emerald { ClearChatbox(playerid, 100); InterpolateCameraPos( playerid, 2076.4880, 2424.4487, 87.2528, 2076.4880, 2424.4487, 87.2528 ,5000, CAMERA_MOVE); //InterpolateCameraLookAt( playerid, -2436.1376, 730.6759, 37.7075 , -2436.1376, 730.6759, 37.7075,5000,CAMERA_MOVE); SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 0); SetPlayerPos(playerid, 2070.7266,2414.4219,60.8169); SendClientMessage(playerid, 0x33FF00FF, "Aperte '{FFFFFF}F{33FF00}' para voltar ao menu, voce pode mover a camera com o {FFFFFF}MOUSE."); ApplyAnimationEx(playerid,"PED","SEAT_idle",1.0,1,0,0,0,0); ApplyAnimationEx(playerid,"PED","SEAT_idle",1.0,1,0,0,0,0); TextDrawShowForPlayer(playerid, Hidealto2); TextDrawShowForPlayer(playerid, Hidebaixo2); NaCamera[playerid] = 5; return true; } } return 0; } if(dialogid == 9926) { if(response >= 1) { ForT:aa2017equirc1(playerid); return true; } return 0; } if(dialogid == 9927) { if(response >= 1) { ForT:aa2017equirc2(playerid); return true; } return 0; } if(dialogid == 9928) { if(response >= 1) { ForT:aa2017equirc3(playerid); return true; } return 0; } if(dialogid == 9929) { if(response >= 1) { ForT:aa2017equirc4(playerid); return true; } return 0; } if(dialogid == 9930) { if(response >= 1) { ForT:aa2017equirc5(playerid); return true; } return 0; } if(dialogid == 9931) { if(response >= 1) { ForT:aa2017equirc6(playerid); return true; } return 0; } if(dialogid == 9932) { if(response >= 1) { if((PlayerInfo[playerid][pAdmin] && admtrampando[playerid]) || (PlayerInfo[playerid][pHelper] && helpertrampando[playerid])) return SendClientMessage(playerid, COLOR_GREY, "Voce precisa estar em modo jogo para equipar-se."); if(InTaser[playerid] == true || InChoque[playerid] == true) { SendClientMessage(playerid,COLOR_GREY,"Voce nao pode equipar-se quando estiver com o Taser ou Choque em maos!"); return true; } if(gettime() < GetPVarInt(playerid, "VarDano")) return SendClientMessage(playerid, COLOR_GRAD1,"Voce so podera equipar 3 minutos apos tomar dano de alguem !"); ResetPlayerWeapons(playerid); TempDropArmasBody[playerid] = 0; SetPlayerHealth(playerid, 100.0); SetPlayerArmour(playerid, 100.0); GivePlayerWeapon(playerid, 4, 1); GivePlayerWeapon(playerid, 24, 400); GivePlayerWeapon(playerid, 25, 300); GivePlayerWeapon(playerid, 31, 500); GivePlayerWeapon(playerid, 29, 500); if(SNIPER_ATIVADO) GivePlayerWeapon(playerid, 34, 120); if(PlayerInfo[playerid][pVIP] == 1) format(string, sizeof(string), "*[VIP] %s se equipou.", PlayerName(playerid)); else if(PlayerInfo[playerid][pVIP] == 2) format(string, sizeof(string), "*[Super-VIP] %s se equipou.", PlayerName(playerid)); else if(PlayerInfo[playerid][pVIP] == 3) format(string, sizeof(string), "*[Socio Reliquia] %s se equipou.", PlayerName(playerid)); else if(PlayerInfo[playerid][pVIP] == 4) format(string, sizeof(string), "*[Socio Platina] %s se equipou.", PlayerName(playerid)); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SendClientMessage(playerid,COLOR_LIGHTBLUE,"*** Voce pegou seus equipamentos de acordo com o seu cargo!"); } return 0; } if(dialogid == 9919) { if(!response)ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Cofre da Sua organizacao", "Membros\nInformações\nDefinicões de Membros\nAjustes ORG\nArea de Mafia(Materiais)\nCandidatos\nEquipar\n{00FFFF}Pedir para entrar", "Confirmar", "Cancelar"); return true; } if(dialogid == 4509) { if(!response)ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Cofre da Sua organizacao", "Membros\nInformações\nDefinicões de Membros\nAjustes ORG\nArea de Mafia(Materiais)\nCandidatos\nEquipar\n{00FFFF}Pedir para entrar", "Confirmar", "Cancelar"); return true; } if(dialogid == 4507) { if(!response)return ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Cofre da sua Organizacao", "Membros\nInformações\nDefinicões de Membros\nAjustes ORG\nArea de Mafia(Materiais)\nCandidatos\nEquipar\n{00FFFF}Pedir para entrar", "Confirmar", "Cancelar"); if(response >= 1) { new org = GetPlayerOrg(playerid); if(listitem == 0) { format(string,sizeof(string),"O Saldo da Sua Organizacao e de R$%s",ConvertMoney(CofreOrg[org][Dinheiro])); ShowPlayerDialog(playerid, 13, DIALOG_STYLE_MSGBOX, "Cofre da Organizacao", string, "Depositar","Sair"); return true; } if(listitem == 1) { if(PlayerInfo[playerid][pMembro] == 1 || PlayerInfo[playerid][pLider] == 1 || PlayerInfo[playerid][pMembro] == 6 || PlayerInfo[playerid][pLider] == 6 || PlayerInfo[playerid][pMembro] == 2 || PlayerInfo[playerid][pLider] == 2 || PlayerInfo[playerid][pMembro] == 3 || PlayerInfo[playerid][pLider] == 3 || PlayerInfo[playerid][pMembro] == 4 || PlayerInfo[playerid][pLider] == 4 || PlayerInfo[playerid][pMembro] == 7 || PlayerInfo[playerid][pLider] == 7 || PlayerInfo[playerid][pMembro] == 9 || PlayerInfo[playerid][pLider] == 9 || PlayerInfo[playerid][pMembro] == 10 || PlayerInfo[playerid][pLider] == 10 || PlayerInfo[playerid][pMembro] == 11 || PlayerInfo[playerid][pLider] == 11 || PlayerInfo[playerid][pMembro] == 16 || PlayerInfo[playerid][pLider] == 16 || PlayerInfo[playerid][pMembro] == 27 || PlayerInfo[playerid][pLider] == 27 || PlayerInfo[playerid][pMembro] == 30 || PlayerInfo[playerid][pLider] == 30 || PlayerInfo[playerid][pMembro] == 31 || PlayerInfo[playerid][pLider] == 31 || PlayerInfo[playerid][pMembro] == 32 || PlayerInfo[playerid][pLider] == 32 || PlayerInfo[playerid][pMembro] == 35 || PlayerInfo[playerid][pLider] == 35 || PlayerInfo[playerid][pMembro] == 36 || PlayerInfo[playerid][pLider] == 36) { SendClientMessage(playerid, COLOR_WHITE," Sua organizacao nao trabalha com Materiais!"); return 1; } format(string,sizeof(string),"A Sua Organizacao tem %d de Materiais",CofreOrg[org][Materiais]); ShowPlayerDialog(playerid, 14, DIALOG_STYLE_MSGBOX, "Cofre da Organizacao", string, "Depositar","Sair"); return true; } if(listitem == 2) { if(PlayerInfo[playerid][pMembro] == 1 || PlayerInfo[playerid][pLider] == 1 || PlayerInfo[playerid][pMembro] == 6 || PlayerInfo[playerid][pLider] == 6 || PlayerInfo[playerid][pMembro] == 2 || PlayerInfo[playerid][pLider] == 2 || PlayerInfo[playerid][pMembro] == 3 || PlayerInfo[playerid][pLider] == 3 || PlayerInfo[playerid][pMembro] == 4 || PlayerInfo[playerid][pLider] == 4 || PlayerInfo[playerid][pMembro] == 7 || PlayerInfo[playerid][pLider] == 7 || PlayerInfo[playerid][pMembro] == 9 || PlayerInfo[playerid][pLider] == 9 || PlayerInfo[playerid][pMembro] == 10 || PlayerInfo[playerid][pLider] == 10 || PlayerInfo[playerid][pMembro] == 11 || PlayerInfo[playerid][pLider] == 11 || PlayerInfo[playerid][pMembro] == 16 || PlayerInfo[playerid][pLider] == 16 || PlayerInfo[playerid][pMembro] == 27 || PlayerInfo[playerid][pLider] == 27 || PlayerInfo[playerid][pMembro] == 30 || PlayerInfo[playerid][pLider] == 30 || PlayerInfo[playerid][pMembro] == 31 || PlayerInfo[playerid][pLider] == 31 || PlayerInfo[playerid][pMembro] == 32 || PlayerInfo[playerid][pLider] == 32 || PlayerInfo[playerid][pMembro] == 35 || PlayerInfo[playerid][pLider] == 35 || PlayerInfo[playerid][pMembro] == 36 || PlayerInfo[playerid][pLider] == 36) { SendClientMessage(playerid, COLOR_WHITE," Sua organizacao nao trabalha com Drogas!"); return 1; } format(string,sizeof(string),"A Sua Organizacao tem %d de Maconha\nO que voce deseja fazer ?",CofreOrg[org][Maconha]); ShowPlayerDialog(playerid, 15, DIALOG_STYLE_MSGBOX, "Cofre da Organizacao", string, "Depositar", "Sair"); return true; } if(listitem == 3) { if(PlayerInfo[playerid][pMembro] == 1 || PlayerInfo[playerid][pLider] == 1 || PlayerInfo[playerid][pMembro] == 6 || PlayerInfo[playerid][pLider] == 6 || PlayerInfo[playerid][pMembro] == 2 || PlayerInfo[playerid][pLider] == 2 || PlayerInfo[playerid][pMembro] == 3 || PlayerInfo[playerid][pLider] == 3 || PlayerInfo[playerid][pMembro] == 4 || PlayerInfo[playerid][pLider] == 4 || PlayerInfo[playerid][pMembro] == 7 || PlayerInfo[playerid][pLider] == 7 || PlayerInfo[playerid][pMembro] == 9 || PlayerInfo[playerid][pLider] == 9 || PlayerInfo[playerid][pMembro] == 10 || PlayerInfo[playerid][pLider] == 10 || PlayerInfo[playerid][pMembro] == 11 || PlayerInfo[playerid][pLider] == 11 || PlayerInfo[playerid][pMembro] == 16 || PlayerInfo[playerid][pLider] == 16 || PlayerInfo[playerid][pMembro] == 27 || PlayerInfo[playerid][pLider] == 27 || PlayerInfo[playerid][pMembro] == 30 || PlayerInfo[playerid][pLider] == 30 || PlayerInfo[playerid][pMembro] == 31 || PlayerInfo[playerid][pLider] == 31 || PlayerInfo[playerid][pMembro] == 32 || PlayerInfo[playerid][pLider] == 32 || PlayerInfo[playerid][pMembro] == 35 || PlayerInfo[playerid][pLider] == 35 || PlayerInfo[playerid][pMembro] == 36 || PlayerInfo[playerid][pLider] == 36) { SendClientMessage(playerid, COLOR_WHITE," Sua organizacao nao trabalha com Drogas!"); return 1; } format(string,sizeof(string),"A Sua Organizacao tem %d de Cocaina\nO que voce deseja fazer ?",CofreOrg[org][Cocaina]); ShowPlayerDialog(playerid, 16, DIALOG_STYLE_MSGBOX, "Cofre da Organizacao", string, "Depositar", "Sair"); return true; } if(listitem == 4) { if(PlayerInfo[playerid][pMembro] == 1 || PlayerInfo[playerid][pLider] == 1 || PlayerInfo[playerid][pMembro] == 6 || PlayerInfo[playerid][pLider] == 6 || PlayerInfo[playerid][pMembro] == 2 || PlayerInfo[playerid][pLider] == 2 || PlayerInfo[playerid][pMembro] == 3 || PlayerInfo[playerid][pLider] == 3 || PlayerInfo[playerid][pMembro] == 4 || PlayerInfo[playerid][pLider] == 4 || PlayerInfo[playerid][pMembro] == 7 || PlayerInfo[playerid][pLider] == 7 || PlayerInfo[playerid][pMembro] == 9 || PlayerInfo[playerid][pLider] == 9 || PlayerInfo[playerid][pMembro] == 10 || PlayerInfo[playerid][pLider] == 10 || PlayerInfo[playerid][pMembro] == 11 || PlayerInfo[playerid][pLider] == 11 || PlayerInfo[playerid][pMembro] == 16 || PlayerInfo[playerid][pLider] == 16 || PlayerInfo[playerid][pMembro] == 27 || PlayerInfo[playerid][pLider] == 27 || PlayerInfo[playerid][pMembro] == 30 || PlayerInfo[playerid][pLider] == 30 || PlayerInfo[playerid][pMembro] == 31 || PlayerInfo[playerid][pLider] == 31 || PlayerInfo[playerid][pMembro] == 32 || PlayerInfo[playerid][pLider] == 32 || PlayerInfo[playerid][pMembro] == 35 || PlayerInfo[playerid][pLider] == 35 || PlayerInfo[playerid][pMembro] == 36 || PlayerInfo[playerid][pLider] == 36) { SendClientMessage(playerid, COLOR_WHITE," Sua organizacao nao trabalha com Drogas!"); return 1; } format(string,sizeof(string),"A Sua Organizacao tem %d de Crack\nO que voce deseja fazer ?",CofreOrg[org][Crack]); ShowPlayerDialog(playerid, 17, DIALOG_STYLE_MSGBOX, "Cofre da Organizacao", string, "Depositar", "Sair"); return true; } } return true; } if(dialogid == 4609) { if(response) { SetWalkStyle(playerid, listitem+1); SetWalkStyle(playerid, listitem+1); SetWalkStyle(playerid, listitem+1); SendClientMessage(playerid, 0xff6347FF, "Voce mudou seu estilo de andar, segure a tecla ALT."); } } if(dialogid == 9485) { if(!response)return true; switch(listitem) { case 0: { DemitirInfoOrg(PlayerName(playerid)); PlayerInfo[playerid][pMembro] = 0; PlayerInfo[playerid][pLider] = 0; PlayerInfo[playerid][pCargo] = 0; ConnectedToPC[playerid] = 0; OnDuty[playerid] = 0; EmpregoDuty[playerid] = 0; RemoveallRoadandSpikes(playerid); if(PlayerInfo[playerid][pSex] == 1) { PlayerInfo[playerid][pSkin] = 289; } else { PlayerInfo[playerid][pSkin] = 150; } SetPlayerToTeamColor(playerid); SpawnPlayer(playerid); SendClientMessage(playerid, COLOR_LIGHTBLUE, "Voce pediu as contas, agora voce e um Civil novamente!"); return true; } } return true; } if(dialogid == 5894) { if(!response)return true; switch(listitem) { case 0: { for(new i = 0; i < sizeof(BizzInfo); i++) { if(IsPlayerInRangeOfPoint(playerid, 3.5,BizzInfo[i][bEntranceX], BizzInfo[i][bEntranceY], BizzInfo[i][bEntranceZ])) { if(PlayerInfo[playerid][pPbiskey] == i || GetPlayerMoney(playerid) >= BizzInfo[i][bEntranceCost]) { if(PlayerInfo[playerid][pPbiskey] != i) { if(BizzInfo[i][bProducts] < 1) { GameTextForPlayer(playerid, "~r~Empresa sem produtos", 5000, 1); return true; } if(BizzInfo[i][bLocked] == 1) { GameTextForPlayer(playerid, "~r~Fechado", 5000, 1); return true; } PlayerBizzID[playerid] = i; GameTextForPlayer(playerid, "~b~Carregando", 2000, 5); SetTimerEx("Carregar", 2000, 0, "i", playerid); GiveDinheiro(playerid,-BizzInfo[i][bEntranceCost]); format(string, sizeof(string), "~w~%s~n~~r~-R$%d~n~~w~Use F na porta~n~Para poder sair!", BizzInfo[i][bMessage] , BizzInfo[i][bEntranceCost]); BizzInfo[i][bTill] += BizzInfo[i][bEntranceCost]; ExtortionBiz(i, BizzInfo[i][bEntranceCost]); BizzInfo[i][bProducts] -= 3; GameTextForPlayer(playerid, string, 5000, 3); Controle(playerid, 0); GameTextForPlayer(playerid, "~b~Carregando", 2000, 5); SetTimerEx("Carregar", 3000, 0, "i", playerid); } SetPlayerInterior(playerid,BizzInfo[i][bInterior]); SetPlayerVirtualWorld(playerid, EMPRESA_WORLD + i); SetPlayerPos(playerid,BizzInfo[i][bExitX],BizzInfo[i][bExitY],BizzInfo[i][bExitZ]); PlayerInfo[playerid][pInt] = BizzInfo[i][bInterior]; PlayerInfo[playerid][pLocal] = i+99; new dood[MAX_PLAYER_NAME]; GetPlayerName(playerid, dood, sizeof(dood)); format(string, sizeof(string), "%s pagou R$%d para entrar na empresa %d", dood, BizzInfo[i][bEntranceCost], i); printf("%s", string); CNFLogs("pay", string); SalvarEmpresa(i); Atualizar3Dtexts(); return true; } else { GameTextForPlayer(playerid, "~r~Voce nao tem dinheiro suficiente", 5000, 1); return true; } } } } case 1: { for(new i = 0; i < sizeof(BizzInfo); i++) { if(!OrgsRoubo(playerid) && !IsACop(playerid)) return SendClientMessage(playerid, COLOR_LIGHTRED, "* Apenas o dono da propriedade e membros de organizacões criminosas podem entrar !"); if(IsPlayerInRangeOfPoint(playerid, 3.5,BizzInfo[i][bEntranceX], BizzInfo[i][bEntranceY], BizzInfo[i][bEntranceZ])) { GameTextForPlayer(playerid, "~r~Cofre", 5000, 1); SetPlayerInterior(playerid, 1); PlayerInfo[playerid][pInt] = 1; SetPlayerVirtualWorld(playerid, EMPRESA_WORLD + i); SetPlayerPos(playerid, 2205.0908,1551.3240,1008.4630); SetPlayerFacingAngle(playerid, 275.3694); PlayerBizzID[playerid] = i; } } } } return 1; } if(dialogid == dialog_nascer) { if(response) { switch(listitem) { case 0: { PlayerInfo[playerid][pCidadeEscolheu] = 0; SendClientMessage(playerid, COLOR_LIGHTBLUE, "[ INFO ] Você irá nascer em Los Santos"); } case 1: { PlayerInfo[playerid][pCidadeEscolheu] = 1; SendClientMessage(playerid, COLOR_LIGHTBLUE, "[ INFO ] Você irá nascer em Las Venturas"); } } } } if(dialogid == 78) { if(response) { switch(listitem) { case 0: ShowPlayerDialog(playerid,4902,DIALOG_STYLE_LIST,"Menu GPS - Los Santos","{FFFF00} GPS {FFFFFF}» Locais Importantes\n{FFFF00} GPS {FFFFFF}» Caixas Eletronicos\n{FFFF00} GPS {FFFFFF}» HQs das Organizacoes\n{FFFF00} GPS {FFFFFF}» Bares\n{FFFF00} GPS {FFFFFF}» Casas\n{FFFF00} GPS {FFFFFF}» Propriedades\n{FFFF00} GPS » {FFFFFF}Mini Propriedades\n{FFFF00} GPS {FFFFFF}» Tunnings\n{FFFF00} GPS {FFFFFF}» Locais de Roubo\n{FFFF00} GPS {FFFFFF}» Locais de Empregos\n{FFFF00} GPS {FFFFFF}» Fazendas\nDesligar GPS","Selecionar", "Sair"); case 1: ShowPlayerDialog(playerid,4903,DIALOG_STYLE_LIST,"Menu GPS - Las Venturas","{FFFF00} GPS {FFFFFF}» Locais Importantes\n{FFFF00} GPS {FFFFFF}» Caixas Eletronicos\n{FFFF00} GPS {FFFFFF}» HQs das Organizacoes\n{FFFF00} GPS {FFFFFF}» Casas\n{FFFF00} GPS {FFFFFF}» Propriedades\n{FFFF00} GPS » {FFFFFF}Mini Propriedades\n{FFFF00} GPS {FFFFFF}» Locais de Empregos\nDesligar GPS","Selecionar", "Sair"); } } } if(dialogid == 4903) { if(!response)return true; switch(listitem) { case 0: { new Float:a = GetPlayerDistanceFromPoint(playerid, 1702.5458,1448.6317,10.8124); new Float:b = GetPlayerDistanceFromPoint(playerid, 2884.7615,2453.8132,11.0690); new Float:c = GetPlayerDistanceFromPoint(playerid, 2097.6182,2224.4683,11.0234); new Float:d = GetPlayerDistanceFromPoint(playerid, 2194.6770,1990.9722,12.2969); new Float:e = GetPlayerDistanceFromPoint(playerid, 2539.0403,2083.9954,10.8203); new Float:f = GetPlayerDistanceFromPoint(playerid, 2159.2109,943.1060,10.8203); new Float:g = GetPlayerDistanceFromPoint(playerid, 2014.9515,1106.9008,10.8203); new Float:h = GetPlayerDistanceFromPoint(playerid, 2515.9146,1622.6039,10.8203); new Float:i = GetPlayerDistanceFromPoint(playerid, 2388.9314,2466.1541,10.8203); new Float:j = GetPlayerDistanceFromPoint(playerid, 937.7009,1733.1941,8.8516); new Float:k = GetPlayerDistanceFromPoint(playerid, 1656.9475,1733.3907,10.8281); new Float:l = GetPlayerDistanceFromPoint(playerid, 2779.4617,2453.7329,11.0625); new Float:m = GetPlayerDistanceFromPoint(playerid, 2090.5505,2224.3440,11.0234); new Float:n = GetPlayerDistanceFromPoint(playerid, 2802.6064,2430.2703,11.0624); new Float:o = GetPlayerDistanceFromPoint(playerid, 1741.7085,1908.7758,10.5474); new Float:p = GetPlayerDistanceFromPoint(playerid, 2358.6082,2377.1536,10.8203); new Float:q = GetPlayerDistanceFromPoint(playerid, 2182.3086,2294.9309,10.8203); new Float:u = GetPlayerDistanceFromPoint(playerid, 2516.1760,1678.9990,14.2732); MEGAString[0] = EOS; strcat(MEGAString, "Local\tDistância\n"); format(string, 128, "{00FFFF} Spawn Civil \t{FFFFFF} %.0f Km\n", a); strcat(MEGAString,string); format(string, 128, "{00FFFF} 24/7 1 \t{FFFFFF} %.0f Km\n", b); strcat(MEGAString,string); format(string, 128, "{00FFFF} 24/7 2 \t{FFFFFF} %.0f Km\n", c); strcat(MEGAString,string); format(string, 128, "{00FFFF} 24/7 3 \t{FFFFFF} %.0f Km\n", d); strcat(MEGAString,string); format(string, 128, "{00FFFF} Loja de Armas 1 \t{FFFFFF} %.0f Km\n", e); strcat(MEGAString,string); format(string, 128, "{00FFFF} Loja de Armas 2 \t{FFFFFF} %.0f Km\n", f); strcat(MEGAString,string); format(string, 128, "{00FFFF} Centro de Licencas \t{FFFFFF} %.0f Km\n", g); strcat(MEGAString,string); format(string, 128, "{00FFFF} Loterica \t{FFFFFF} %.0f Km\n", h); strcat(MEGAString,string); format(string, 128, "{00FFFF} Banco de LV \t{FFFFFF} %.0f Km\n", i); strcat(MEGAString,string); format(string, 128, "{00FFFF} Prefeitura \t{FFFFFF} %.0f Km\n", j); strcat(MEGAString,string); format(string, 128, "{00FFFF} Binco \t{FFFFFF} %.0f Km\n", k); strcat(MEGAString,string); format(string, 128, "{00FFFF} Suburban \t{FFFFFF} %.0f Km\n", l); strcat(MEGAString,string); format(string, 128, "{00FFFF} ZIP \t{FFFFFF} %.0f Km\n", m); strcat(MEGAString,string); format(string, 128, "{00FFFF} Victim \t{FFFFFF} %.0f Km\n", n); strcat(MEGAString,string); format(string, 128, "{00FFFF} Concessionaria \t{FFFFFF} %.0f Km\n", o); strcat(MEGAString,string); format(string, 128, "{00FFFF} Agencia de Empregos \t{FFFFFF} %.0f Km\n", p); strcat(MEGAString,string); format(string, 128, "{00FFFF} Penitenciaria LV \t{FFFFFF} %.0f Km\n", q); strcat(MEGAString,string); format(string, 128, "{00FFFF} Mercado Negro LV \t{FFFFFF} %.0f Km\n", u); strcat(MEGAString,string); ShowPlayerDialog(playerid, 4904, DIALOG_STYLE_TABLIST_HEADERS, "GPS - Las Venturas", MEGAString, "Localizar","Voltar"); return true; } case 1: { ForT:locationcaixa(playerid); } case 2: { new Float:a = GetPlayerDistanceFromPoint(playerid, 2717.2278,-2405.4011,13.4710); new Float:b = GetPlayerDistanceFromPoint(playerid, 2558.0671,1394.0176,10.8280); new Float:c = GetPlayerDistanceFromPoint(playerid, 694.2837,1849.0123,5.7362); new Float:d = GetPlayerDistanceFromPoint(playerid, 91.0294,1177.0199,18.6641); new Float:e = GetPlayerDistanceFromPoint(playerid, 2239.0928,2425.6335,10.8203); new Float:f = GetPlayerDistanceFromPoint(playerid, 927.3171,2361.0347,10.9414); new Float:g = GetPlayerDistanceFromPoint(playerid, 1462.9502,341.5400,18.9075); MEGAString[0] = EOS; strcat(MEGAString,"Organizacao\tDistancia\n"); format(string, 128, "{00FFFF} HQ %s \t{FFFFFF} %.0f KM\n", GetOrgName(35), a); strcat(MEGAString,string); format(string, 128, "{00FFFF} HQ %s \t{FFFFFF} %.0f KM\n", GetOrgName(20), b); strcat(MEGAString,string); format(string, 128, "{00FFFF} HQ %s \t{FFFFFF} %.0f KM\n", GetOrgName(10), c); strcat(MEGAString,string); format(string, 128, "{00FFFF} HQ %s \t{FFFFFF} %.0f KM\n", GetOrgName(21), d); strcat(MEGAString,string); format(string, 128, "{00FFFF} HQ %s \t{FFFFFF} %.0f KM\n", GetOrgName(16), e); strcat(MEGAString,string); format(string, 128, "{00FFFF} HQ %s \t{FFFFFF} %.0f KM\n", GetOrgName(26), f); strcat(MEGAString,string); format(string, 128, "{00FFFF} HQ %s \t{FFFFFF} %.0f KM\n", GetOrgName(37), g); strcat(MEGAString,string); ShowPlayerDialog(playerid, 4905, DIALOG_STYLE_TABLIST_HEADERS, "GPS - HQs das Organizacões", MEGAString, "Localizar","Voltar"); return true; } case 3: { ShowPlayerDialog(playerid, DIALOG_CASAGPS, DIALOG_STYLE_INPUT, "GPS Casas", "Digite o numero da Casa !", "Confirmar", "Voltar"); } case 4: { MEGAString[0] = EOS; strcat(MEGAString, "ID Nome da empresa\tDono\n"); for(new i; i < MAX_BIZZES; i++){ new donotext2[64]; if(BizzInfo[i][bOwned] == 0) donotext2 = "Ninguem"; if(BizzInfo[i][bOwned] == 1) format(donotext2, sizeof donotext2, BizzInfo[i][bOwner]); format(string, 256, "%02d %s\t%s\n", i, BizzInfo[i][bMessage], donotext2); strcat(MEGAString, string); } ShowPlayerDialog(playerid, 3972, 5, "» {00FFFF}GPS » {FFFFFF}Localizar propriedades", MEGAString, "Localizar","Voltar"); } case 5:{ MEGAString[0] = EOS; strcat(MEGAString, "ID Nome da mini empresa\tDono\n"); for(new i; i < MAX_SBIZZES; i++){ new donotext2[64]; if(SBizzInfo[i][sbOwned] == 0) donotext2 = "Ninguem"; if(SBizzInfo[i][sbOwned] == 1) format(donotext2, sizeof donotext2, SBizzInfo[i][sbOwner]); format(string, 256, "%02d %s\t%s\n", i, SBizzInfo[i][sbMessage], donotext2); strcat(MEGAString, string); } ShowPlayerDialog(playerid, 3246, 5, "» {00FFFF}GPS » {FFFFFF}Localizar mini propriedades", MEGAString, "Localizar","Voltar"); } case 6: { new Float:a = GetPlayerDistanceFromPoint(playerid, 1337.5746,1665.5343,10.8203); new Float:b = GetPlayerDistanceFromPoint(playerid, 1604.8793,1818.1849,10.8203); new Float:c = GetPlayerDistanceFromPoint(playerid, 1662.2340,2199.0193,10.8203); new Float:d = GetPlayerDistanceFromPoint(playerid, 1706.7694,1317.8314,10.8203); MEGAString[0] = EOS; strcat(MEGAString, "Local\tDistância\n"); format(string, 128, "{00FFFF} Emprego de Entregador Aereo \t{FFFFFF} %.0f KM\n", a); strcat(MEGAString,string); format(string, 128, "{00FFFF} Emprego de Paramedico \t{FFFFFF} %.0f KM\n", b); strcat(MEGAString,string); format(string, 128, "{00FFFF} Emprego de Mecânico \t{FFFFFF} %.0f KM\n", c); strcat(MEGAString,string); format(string, 128, "{00FFFF} Emprego de Taxista \t{FFFFFF} %.0f KM\n", d); strcat(MEGAString,string); ShowPlayerDialog(playerid, 4907, DIALOG_STYLE_TABLIST_HEADERS, "GPS - Locais de Emprego", MEGAString, "Localizar","Voltar"); return true; } } } if(dialogid == 4907) { if(response) { CP[playerid] = 620; switch(listitem) { case 0: { SetPlayerCheckpoint(playerid, 2375.9661,2461.0757,10.8203, 10.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em emprego {00FFFF}Carro Forte{FFFFFF}, siga a marca vermelha no mapa!"); } case 1: { SetPlayerCheckpoint(playerid, 1604.8793,1818.1849,10.8203, 10.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em emprego {00FFFF}Paramédico{FFFFFF}, siga a marca vermelha no mapa!"); } case 2: { SetPlayerCheckpoint(playerid, 1662.2340,2199.0193,10.8203, 10.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em emprego {00FFFF}Mecânico{FFFFFF}, siga a marca vermelha no mapa!"); } case 3: { SetPlayerCheckpoint(playerid, 1706.7694,1317.8314,10.8203, 10.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em emprego {00FFFF}Taxista{FFFFFF}, siga a marca vermelha no mapa!"); } } } } if(dialogid == 4905) { if(response) { CP[playerid] = 620; switch(listitem) { case 0: { SetPlayerCheckpoint(playerid, 2717.2278,-2405.4011,13.4710, 10.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}BAEP{FFFFFF}, siga a marca vermelha no mapa!"); } case 1: { SetPlayerCheckpoint(playerid, 2558.0671,1394.0176,10.8280, 10.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Mafia Russa{FFFFFF}, siga a marca vermelha no mapa!"); } case 2: { SetPlayerCheckpoint(playerid, 694.2837,1849.0123,5.7362, 10.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Amigos dos Amigos{FFFFFF}, siga a marca vermelha no mapa!"); } case 3: { SetPlayerCheckpoint(playerid, 91.0294,1177.0199,18.6641, 10.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}PCC{FFFFFF}, siga a marca vermelha no mapa!"); } case 4: { SetPlayerCheckpoint(playerid, 2239.0928,2425.6335,10.8203, 10.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}ROTA{FFFFFF}, siga a marca vermelha no mapa!"); } case 5: { SetPlayerCheckpoint(playerid, 927.3171,2361.0347,10.9414, 10.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Milicia{FFFFFF}, siga a marca vermelha no mapa!"); } } } } if(dialogid == 4904) { if(response == 0) { return ForT:gps(playerid); } if(response >= 1) { switch(listitem) { case 0: { SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Spawn Civil{FFFFFF}, siga a marca vermelha no mapa!"); SetPlayerCheckpoint(playerid, 1702.5458,1448.6317,10.8124, 8.0);//pref return true; } case 1: { SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}24/7{FFFFFF}, siga a marca vermelha no mapa!"); SetPlayerCheckpoint(playerid, 2884.7615,2453.8132,11.0690, 8.0);//dp return true; } case 2: { SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}24-7{FFFFFF}, siga a marca vermelha no mapa!"); SetPlayerCheckpoint(playerid, 2097.6182,2224.4683,11.0234, 8.0);//24-7 return true; } case 3: { SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}24/7{FFFFFF}, siga a marca vermelha no mapa!"); SetPlayerCheckpoint(playerid, 2194.6770,1990.9722,12.2969, 8.0);//loja de armas 1 return true; } case 4: { SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Loja de armas 1{FFFFFF}, siga a marca vermelha no mapa!"); SetPlayerCheckpoint(playerid, 2539.0403,2083.9954,10.8203, 8.0);//loja de armas 2 return true; } case 5: { SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Loja de armas 2{FFFFFF}, siga a marca vermelha no mapa!"); SetPlayerCheckpoint(playerid, 2159.2109,943.1060,10.8203, 8.0);//binco return true; } case 6: { SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Centro de licencas{FFFFFF}, siga a marca vermelha no mapa!"); SetPlayerCheckpoint(playerid, 926.9024,-1692.6798,13.5299, 8.0);// banco return true; } case 7: { SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Loterica{FFFFFF}, siga a marca vermelha no mapa!"); SetPlayerCheckpoint(playerid, 2515.9146,1622.6039,10.8203, 8.0);// mat (pegar) return true; } case 8: { SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Banco de LV{FFFFFF}, siga a marca vermelha no mapa!"); SetPlayerCheckpoint(playerid, 2388.9314,2466.1541,10.8203, 8.0);// mat (pegar) return true; } case 9: { SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Prefeitura{FFFFFF}, siga a marca vermelha no mapa!"); SetPlayerCheckpoint(playerid, 937.7009,1733.1941,8.8516, 8.0);// mat (pegar) return true; } case 10: { SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Binco{FFFFFF}, siga a marca vermelha no mapa!"); SetPlayerCheckpoint(playerid, 1656.9475,1733.3907,10.8281, 8.0);// mat (pegar) return true; } case 11: { SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Suburban{FFFFFF}, siga a marca vermelha no mapa!"); SetPlayerCheckpoint(playerid, 2779.4617,2453.7329,11.0625, 8.0);// mat (pegar) return true; } case 12: { SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}ZIP{FFFFFF}, siga a marca vermelha no mapa!"); SetPlayerCheckpoint(playerid, 2090.5505,2224.3440,11.0234, 8.0);// mat (pegar) return true; } case 13: { SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Victim{FFFFFF}, siga a marca vermelha no mapa!"); SetPlayerCheckpoint(playerid, 2802.6064,2430.2703,11.0624, 8.0);// mat (pegar) return true; } case 14: { SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Concessionaria{FFFFFF}, siga a marca vermelha no mapa!"); SetPlayerCheckpoint(playerid, 1741.7085,1908.7758,10.5474, 8.0);// mat (pegar) return true; } case 15: { SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Agencia de Empregos{FFFFFF}, siga a marca vermelha no mapa!"); SetPlayerCheckpoint(playerid, 2358.6082,2377.1536,10.8203, 8.0);// mat (pegar) return true; } case 16: { SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Penitenciaria{FFFFFF}, siga a marca vermelha no mapa!"); SetPlayerCheckpoint(playerid, 2182.3086,2294.9309,10.8203, 8.0);// mat (pegar) return true; } case 17: { SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Mercado Negro{FFFFFF}, siga a marca vermelha no mapa!"); SetPlayerCheckpoint(playerid, 2516.1760,1678.9990,14.2732, 8.0);// mat (pegar) return true; } } } return true; } if(dialogid == 4902) { if(!response)return true; switch(listitem) { case 0: { new Float:a = GetPlayerDistanceFromPoint(playerid, 1209.4342,-1752.2078,13.5936); new Float:b = GetPlayerDistanceFromPoint(playerid, 1481.0503,-1771.9502,18.7958); new Float:d = GetPlayerDistanceFromPoint(playerid, 1547.7819,-1675.5996,14.2347); new Float:e = GetPlayerDistanceFromPoint(playerid, 1352.2942,-1754.3951,13.3514); new Float:f = GetPlayerDistanceFromPoint(playerid, 1790.2756,-1167.7000,23.8281); new Float:g = GetPlayerDistanceFromPoint(playerid, 1067.3152,-1873.4441,13.5469); new Float:h = GetPlayerDistanceFromPoint(playerid, 2244.7954,-1663.5021,15.4766); new Float:i = GetPlayerDistanceFromPoint(playerid, 1456.9010,-1137.6941,23.9617); new Float:j = GetPlayerDistanceFromPoint(playerid, 1596.6569,-1556.8433,13.5831); new Float:k = GetPlayerDistanceFromPoint(playerid, 1751.2091,-1944.1311,13.5678); new Float:l = GetPlayerDistanceFromPoint(playerid, 1498.4607,-1585.2988,13.5469); new Float:m = GetPlayerDistanceFromPoint(playerid, 1022.3507,-1126.6884,23.8700); new Float:n = GetPlayerDistanceFromPoint(playerid, 1631.9910,-1169.7595,24.0781); new Float:o = GetPlayerDistanceFromPoint(playerid, 1459.4952,-1140.4359,24.0597); new Float:p = GetPlayerDistanceFromPoint(playerid, 1362.6764,-1280.6587,13.5469); new Float:q = GetPlayerDistanceFromPoint(playerid, 1613.0029,-1559.9917,14.1684); new Float:r = GetPlayerDistanceFromPoint(playerid, 1797.5494,-1579.0006,14.0865); new Float:s = GetPlayerDistanceFromPoint(playerid, 2132.0010,-1149.9999,24.2075); new Float:t = GetPlayerDistanceFromPoint(playerid, 2261.1655,-1906.2769,14.9375); new Float:va = GetPlayerDistanceFromPoint(playerid, 330.5883,-1816.5887,4.2991); new Float:x = GetPlayerDistanceFromPoint(playerid, 962.5350,-1519.5681,13.0690); new Float:y = GetPlayerDistanceFromPoint(playerid, 2421.4998,-1219.2438,25.5617); new Float:ab = GetPlayerDistanceFromPoint(playerid, 1126.2844,-1370.1862,13.9844); new Float:ac = GetPlayerDistanceFromPoint(playerid, 828.2853,1143.3212,28.4200); new Float:ad = GetPlayerDistanceFromPoint(playerid, 2695.4438,-1704.5880,11.8438); new Float:af = GetPlayerDistanceFromPoint(playerid, 1786.8237,-1298.6991,13.3750); new Float:ag = GetPlayerDistanceFromPoint(playerid, -166.3391,-355.5960,1.3454); new Float:ah = GetPlayerDistanceFromPoint(playerid, 2107.9612,1386.0146,10.8203); new Float:ai = GetPlayerDistanceFromPoint(playerid, 2232.5723,-1332.8412,23.9815); new Float:aj = GetPlayerDistanceFromPoint(playerid, 951.7770,-1744.5381,13.6210); new Float:ak = GetPlayerDistanceFromPoint(playerid, 2153.3069,-1197.0428,23.8669); MEGAString[0] = EOS; strcat(MEGAString, "Local\tDistância\n"); format(string, 128, "{00FFFF} Arena de x1 \t{FFFFFF} %.0f Km\n", a); strcat(MEGAString,string); format(string, 128, "{00FFFF} Prefeitura (Centro) \t{FFFFFF} %.0f Km\n", b); strcat(MEGAString,string); format(string, 128, "{00FFFF} Departamento de Policia \t{FFFFFF} %.0f Km\n", d); strcat(MEGAString,string); format(string, 128, "{00FFFF} Mercado 24-7 \t{FFFFFF} %.0f KM\n", e); strcat(MEGAString,string); format(string, 128, "{00FFFF} Loja de Armas 1 \t{FFFFFF} %.0f KM\n", f); strcat(MEGAString,string); format(string, 128, "{00FFFF} Loja de Armas 2 \t{FFFFFF} %.0f KM\n", g); strcat(MEGAString,string); format(string, 128, "{00FFFF} Binco (Loja de Roupas) \t{FFFFFF} %.0f KM\n", h); strcat(MEGAString,string); format(string, 128, "{00FFFF} Loja ZIP \t{FFFFFF} %.0f KM\n", i); strcat(MEGAString,string); format(string, 128, "{00FFFF} Materiais Pegar \t{FFFFFF} %.0f KM\n", j); strcat(MEGAString,string); format(string, 128, "{00FFFF} Materiais Trocar \t{FFFFFF} %.0f KM\n", k); strcat(MEGAString,string); format(string, 128, "{00FFFF} Restaurante \t{FFFFFF} %.0f KM\n", l); strcat(MEGAString,string); format(string, 128, "{00FFFF} Motel \t{FFFFFF} %.0f KM\n", m); strcat(MEGAString,string); format(string, 128, "{00FFFF} Loterica \t{FFFFFF} %.0f KM\n", n); strcat(MEGAString,string); format(string, 128, "{00FFFF} ZIP (Loja de Roupas) \t{FFFFFF} %.0f KM\n", o); strcat(MEGAString,string); format(string, 128, "{00FFFF} Ammu Nation \t{FFFFFF} %.0f KM\n", p); strcat(MEGAString,string); format(string, 128, "{00FFFF} Mercado Negro \t{FFFFFF} %.0f KM\n", q); strcat(MEGAString,string); format(string, 128, "{00FFFF} Penitenciaria \t{FFFFFF} %.0f KM\n", r); strcat(MEGAString,string); format(string, 128, "{00FFFF} Concessionaria [Aluguel] \t{FFFFFF} %.0f KM\n", s); strcat(MEGAString,string); format(string, 128, "{00FFFF} Local de Fabricar Drogas \t{FFFFFF} %.0f KM\n", t); strcat(MEGAString,string); format(string, 128, "{00FFFF} Local de Tunning/Blindagem \t{FFFFFF} %.0f KM\n", va); strcat(MEGAString,string); format(string, 128, "{00FFFF} Concessionaria \t{FFFFFF} %.0f KM\n", x); strcat(MEGAString,string); format(string, 128, "{00FFFF} Puteiro \t{FFFFFF} %.0f KM\n", y); strcat(MEGAString,string); format(string, 128, "{00FFFF} Farmacia \t{FFFFFF} %.0f KM\n", ab); strcat(MEGAString,string); format(string, 128, "{00FFFF} Pedreira \t{FFFFFF} %.0f KM\n", ac); strcat(MEGAString,string); format(string, 128, "{00FFFF} Arena de Stunt \t{FFFFFF} %.0f KM\n", ad); strcat(MEGAString,string); format(string, 128, "{00FFFF} Apartamentos LS \t{FFFFFF} %.0f KM\n", af); strcat(MEGAString,string); format(string, 128, "{00FFFF} POBRE \t{FFFFFF} %.0f KM\n", ag); strcat(MEGAString,string); format(string, 128, "{00FFFF} Carros VIP \t{FFFFFF} %.0f KM\n", ah); strcat(MEGAString,string); format(string, 128, "{00FFFF} Igreja \t{FFFFFF} %.0f KM\n", ai); strcat(MEGAString,string); format(string, 128, "{00FFFF} Agencia de Empregos \t{FFFFFF} %.0f KM\n", aj); strcat(MEGAString,string); format(string, 128, "{00FFFF} Aluguel de Carros \t{FFFFFF} %.0f KM\n", ak); strcat(MEGAString,string); ShowPlayerDialog(playerid, 2587, DIALOG_STYLE_TABLIST_HEADERS, "GPS - Los Santos", MEGAString, "Localizar","Voltar"); return true; } case 1: { ForT:locationcaixa(playerid); } case 2: { new Float:a = GetPlayerDistanceFromPoint(playerid, 1546.5463,-1675.4612,13.5625); new Float:b = GetPlayerDistanceFromPoint(playerid, 328.0219,-1512.4863,36.0325); new Float:c = GetPlayerDistanceFromPoint(playerid, -1530.6729,486.4166,7.1797); new Float:d = GetPlayerDistanceFromPoint(playerid, 1178.1523,-1323.5327,14.1060); new Float:e = GetPlayerDistanceFromPoint(playerid, 1678.6400,-2118.8608,13.5469); new Float:g = GetPlayerDistanceFromPoint(playerid, 1480.9517,-1771.9525,18.7958); new Float:h = GetPlayerDistanceFromPoint(playerid, -1717.8645,1018.1482,17.5859); new Float:i = GetPlayerDistanceFromPoint(playerid, 778.3851,-1327.7784,13.5469); new Float:k = GetPlayerDistanceFromPoint(playerid, -515.9556,-539.5468,25.5234); new Float:l = GetPlayerDistanceFromPoint(playerid, 1497.0140,-688.4544,95.4126); new Float:m = GetPlayerDistanceFromPoint(playerid, 666.0714,-1311.1333,13.4609); new Float:n = GetPlayerDistanceFromPoint(playerid, 2495.4917,-1685.5571,13.5135); new Float:o = GetPlayerDistanceFromPoint(playerid, -329.4366,1533.6981,75.3570); new Float:p = GetPlayerDistanceFromPoint(playerid, 1069.6355,-1206.9603,17.5897); new Float:q = GetPlayerDistanceFromPoint(playerid, 2582.6882,-953.0733,81.3874); new Float:r = GetPlayerDistanceFromPoint(playerid, 2151.7644,-1799.7557,13.5800); new Float:t = GetPlayerDistanceFromPoint(playerid, 2771.1929,-1626.7264,10.9272); new Float:u = GetPlayerDistanceFromPoint(playerid, -2280.8357,2288.5764,4.9595); new Float:ha = GetPlayerDistanceFromPoint(playerid, 927.4686,-1222.3895,16.9493); new Float:x = GetPlayerDistanceFromPoint(playerid, 1067.2716,1360.5426,10.6719); new Float:w = GetPlayerDistanceFromPoint(playerid, 1234.7419,-1652.9197,11.7969); new Float:y = GetPlayerDistanceFromPoint(playerid, 496.4523,-1549.4907,17.7085); new Float:z = GetPlayerDistanceFromPoint(playerid, 681.7535,-473.5503,16.5363); new Float:z1 = GetPlayerDistanceFromPoint(playerid, 2597.8584,1898.0626,11.0234); new Float:z2 = GetPlayerDistanceFromPoint(playerid, 1167.3276,1365.5760,10.8125); new Float:z22 = GetPlayerDistanceFromPoint(playerid, -2469.4993,797.8079,35.1719); MEGAString[0] = EOS; strcat(MEGAString, "Local\tDistância\n"); format(string, 128, "{00FFFF} HQ %s \t{FFFFFF} %.0f KM\n", GetOrgName(1), a); strcat(MEGAString,string); format(string, 128, "{00FFFF} HQ %s \t{FFFFFF} %.0f KM\n", GetOrgName(2), b); strcat(MEGAString,string); format(string, 128, "{00FFFF} HQ %s \t{FFFFFF} %.0f KM\n", GetOrgName(3), c); strcat(MEGAString,string); format(string, 128, "{00FFFF} HQ %s \t{FFFFFF} %.0f KM\n", GetOrgName(4), d); strcat(MEGAString,string); format(string, 128, "{00FFFF} HQ %s \t{FFFFFF} %.0f KM\n", GetOrgName(5), e); strcat(MEGAString,string); format(string, 128, "{00FFFF} HQ %s \t{FFFFFF} %.0f KM\n", GetOrgName(7), g); strcat(MEGAString,string); format(string, 128, "{00FFFF} HQ %s \t{FFFFFF} %.0f KM\n", GetOrgName(8), h); strcat(MEGAString,string); format(string, 128, "{00FFFF} HQ %s \t{FFFFFF} %.0f KM\n", GetOrgName(9), i); strcat(MEGAString,string); format(string, 128, "{00FFFF} HQ %s \t{FFFFFF} %.0f KM\n", GetOrgName(11), k); strcat(MEGAString,string); format(string, 128, "{00FFFF} HQ %s \t{FFFFFF} %.0f KM\n", GetOrgName(12), l); strcat(MEGAString,string); format(string, 128, "{00FFFF} HQ %s \t{FFFFFF} %.0f KM\n", GetOrgName(13), m); strcat(MEGAString,string); format(string, 128, "{00FFFF} HQ %s \t{FFFFFF} %.0f KM\n", GetOrgName(14), n); strcat(MEGAString,string); format(string, 128, "{00FFFF} HQ %s \t{FFFFFF} %.0f KM\n", GetOrgName(15), o); strcat(MEGAString,string); format(string, 128, "{00FFFF} HQ %s \t{FFFFFF} %.0f KM\n", GetOrgName(17), p); strcat(MEGAString,string); format(string, 128, "{00FFFF} HQ %s \t{FFFFFF} %.0f KM\n", GetOrgName(18), q); strcat(MEGAString,string); format(string, 128, "{00FFFF} HQ %s \t{FFFFFF} %.0f KM\n", GetOrgName(19), r); strcat(MEGAString,string); format(string, 128, "{00FFFF} HQ %s \t{FFFFFF} %.0f KM\n", GetOrgName(22), t); strcat(MEGAString,string); format(string, 128, "{00FFFF} HQ %s \t{FFFFFF} %.0f KM\n", GetOrgName(23), u); strcat(MEGAString,string); format(string, 128, "{00FFFF} HQ %s \t{FFFFFF} %.0f KM\n", GetOrgName(33), ha); strcat(MEGAString,string); format(string, 128, "{00FFFF} HQ %s \t{FFFFFF} %.0f KM\n", GetOrgName(34), x); strcat(MEGAString,string); format(string, 128, "{00FFFF} HQ %s \t{FFFFFF} %.0f KM\n", GetOrgName(16), w); strcat(MEGAString,string); format(string, 128, "{00FFFF} HQ %s \t{FFFFFF} %.0f KM\n", GetOrgName(24), y); strcat(MEGAString,string); format(string, 128, "{00FFFF} HQ %s \t{FFFFFF} %.0f KM\n", GetOrgName(25), z);// strcat(MEGAString,string); format(string, 128, "{00FFFF} HQ %s \t{FFFFFF} %.0f KM\n", GetOrgName(36), z1); strcat(MEGAString,string); format(string, 128, "{00FFFF} HQ %s \t{FFFFFF} %.0f KM\n", GetOrgName(6), z2); strcat(MEGAString,string); format(string, 128, "{00FFFF} HQ %s \t{FFFFFF} %.0f KM\n", GetOrgName(10), z22); strcat(MEGAString,string); ShowPlayerDialog(playerid, 8971, DIALOG_STYLE_TABLIST_HEADERS, "GPS - HQs das Organizacões", MEGAString, "Localizar","Voltar"); return true; } case 3: { new Float:a = GetPlayerDistanceFromPoint(playerid, 2309.9460,-1643.6337,14.8270); new Float:e = GetPlayerDistanceFromPoint(playerid, 1324.5399,-1709.0770,13.5395); new Float:i = GetPlayerDistanceFromPoint(playerid, 776.4116,-1036.1841,24.2753); new Float:o = GetPlayerDistanceFromPoint(playerid, 2354.3938,-1511.7820,24.0000); new Float:u = GetPlayerDistanceFromPoint(playerid, 2850.9463,-1532.4783,11.0991); MEGAString[0] = EOS; strcat(MEGAString, "Local\tDistância\n"); format(string, 128, "{00FFFF} Jizzy's Bar \t{FFFFFF} %.0f KM\n", a); strcat(MEGAString,string); format(string, 128, "{00FFFF} Rock Bar \t{FFFFFF} %.0f KM\n", e); strcat(MEGAString,string); format(string, 128, "{00FFFF} Conqui's Bar \t{FFFFFF} %.0f KM\n", i); strcat(MEGAString,string); format(string, 128, "{00FFFF} Fifth's Bar \t{FFFFFF} %.0f KM\n", o); strcat(MEGAString,string); format(string, 128, "{00FFFF} Lone's Bar \t{FFFFFF} %.0f KM\n", u); strcat(MEGAString,string); ShowPlayerDialog(playerid, 6587, DIALOG_STYLE_TABLIST_HEADERS, "GPS - Bares Motoqueiros", MEGAString, "Localizar","Voltar"); return true; } case 4: { ShowPlayerDialog(playerid, DIALOG_CASAGPS, DIALOG_STYLE_INPUT, "GPS Casas", "Digite o numero da Casa !", "Confirmar", "Voltar"); } case 5: { MEGAString[0] = EOS; strcat(MEGAString, "Empresa\tDono\tProdutos Requeridos\tPreco Por Produtos\n"); for(new i; i < MAX_BIZZES; i++){ format(string, 256, "{FFFFFF}Empresa{A9A9A9} %d\t{1E90FF}%s\t{A9A9A9}%d\t{FFFFFF}${008000}%d\n", i, BizzInfo[i][bOwner], BizzInfo[i][bProductsReq], BizzInfo[i][bPriceProd]); strcat(MEGAString, string); } ShowPlayerDialog(playerid, 3972, 5, "» {00FFFF}GPS » {FFFFFF}Localizar propriedades", MEGAString, "Localizar","Voltar"); } case 6:{/* sbOwned, sbOwner[64], sbDate, sbMessage[255], sbExtortion[MAX_PLAYER_NAME], Float:sbEntranceX, Float:sbEntranceY, Float:sbEntranceZ, sbLevelNeeded, sbBuyPrice, sbEntranceCost, sbInterior, sbProducts, sbPriceProd, sbMaxProducts, sbProductsReq, sbTill, sbLocked, sbPickup,*/ MEGAString[0] = EOS; strcat(MEGAString, "Empresa\tDono\tProdutos Requeridos\tPreco Por Produtos\n"); for(new i; i < MAX_SBIZZES; i++){ format(string, 256, "{FFFFFF}MiniEmpresa{A9A9A9} %d\t{1E90FF}%s\t{A9A9A9}%d\t{FFFFFF}${008000}%d\n", i, SBizzInfo[i][sbOwner], SBizzInfo[i][sbProductsReq], SBizzInfo[i][sbPriceProd]); strcat(MEGAString, string); } ShowPlayerDialog(playerid, 3246, 5, "» {00FFFF}GPS » {FFFFFF}Localizar mini propriedades", MEGAString, "Localizar","Voltar"); } case 7: { new Float:a = GetPlayerDistanceFromPoint(playerid, 1043.0309,-1035.0177,31.7153); new Float:e = GetPlayerDistanceFromPoint(playerid, -2705.7419,216.0190,4.1797); new Float:i = GetPlayerDistanceFromPoint(playerid, 2645.4229,-2030.1050,13.5469); new Float:o = GetPlayerDistanceFromPoint(playerid, 2388.5637,1036.5834,10.8203); MEGAString[0] = EOS; strcat(MEGAString, "Local\tDistância\n"); format(string, 128, "{00FFFF} Trans Fender(Los Santos) \t{FFFFFF} %.0f KM\n", a); strcat(MEGAString,string); format(string, 128, "{00FFFF} Wheel Arch Angels(San Fierro) \t{FFFFFF} %.0f KM\n", e); strcat(MEGAString,string); format(string, 128, "{00FFFF} Lown Rider(Los Santos) \t{FFFFFF} %.0f KM\n", i); strcat(MEGAString,string); format(string, 128, "{00FFFF} Trans Fender(Las Venturas) \t{FFFFFF} %.0f KM\n", o); strcat(MEGAString,string); ShowPlayerDialog(playerid, 86, DIALOG_STYLE_TABLIST_HEADERS, "GPS - Menu Tunnings", MEGAString, "Localizar","Voltar"); return true; } case 8: { new Float:ah = GetPlayerDistanceFromPoint(playerid, 1412.0570,-1700.0341,13.5395); new Float:eh = GetPlayerDistanceFromPoint(playerid, 1631.8547,-1172.5637,24.0843); new Float:ih = GetPlayerDistanceFromPoint(playerid, 1352.4357,-1759.0243,13.5078); new Float:oh = GetPlayerDistanceFromPoint(playerid, 1791.2120,-1164.6317,23.8281); new Float:uh = GetPlayerDistanceFromPoint(playerid, -1434.8428,1480.0405,1.8672); new Float:aoh = GetPlayerDistanceFromPoint(playerid, 1366.1761,-1279.8679,13.5469); new Float:aeh = GetPlayerDistanceFromPoint(playerid, 1462.395751,-1012.391174,26.843799); MEGAString[0] = EOS; strcat(MEGAString, "Local\tDistância\n"); format(string, 128, "{00FFFF} Centro de Licencas \t{FFFFFF} %.0f KM\n", ah); strcat(MEGAString,string); format(string, 128, "{00FFFF} Loterica \t{FFFFFF} %.0f KM\n", eh); strcat(MEGAString,string); format(string, 128, "{00FFFF} Mercado 24/7 \t{FFFFFF} %.0f KM\n", ih); strcat(MEGAString,string); format(string, 128, "{00FFFF} Loja de Armas 1 \t{FFFFFF} %.0f KM\n", oh); strcat(MEGAString,string); format(string, 128, "{00FFFF} Navio \t{FFFFFF} %.0f KM\n", uh); strcat(MEGAString,string); format(string, 128, "{00FFFF} Ammu Nation \t{FFFFFF} %.0f KM\n", aoh); strcat(MEGAString,string); format(string, 128, "{00FFFF} Banco LS \t{FFFFFF} %.0f KM\n", aeh); strcat(MEGAString,string); ShowPlayerDialog(playerid, 89, DIALOG_STYLE_TABLIST_HEADERS, "GPS - Locais de Roubo", MEGAString, "Localizar","Voltar"); return true; } case 9: { new Float:ah = GetPlayerDistanceFromPoint(playerid, 1752.4963,-1903.0275,13.5630); new Float:eh = GetPlayerDistanceFromPoint(playerid, 2018.2883,-2091.3528,13.6337); new Float:ih = GetPlayerDistanceFromPoint(playerid, 2426.5676,-2102.7278,13.5469); new Float:uh = GetPlayerDistanceFromPoint(playerid, 1561.6332,-2167.2244,13.5643); new Float:aoh = GetPlayerDistanceFromPoint(playerid, 1926.1124,171.1314,37.2813); new Float:aoza = GetPlayerDistanceFromPoint(playerid, 852.3289,-1436.3395,15.0437); new Float:aoza1 = GetPlayerDistanceFromPoint(playerid,2176.1892,-1976.0012,13.5547); new Float:oh = GetPlayerDistanceFromPoint(playerid,1425.5823,-2347.9338,13.5469); new Float:ohj = GetPlayerDistanceFromPoint(playerid,781.5250,-600.7427,16.3359); new Float:oxj = GetPlayerDistanceFromPoint(playerid,-63.7623,-1121.9281,1.0870); MEGAString[0] = EOS; strcat(MEGAString, "Local\tDistância\n"); format(string, 128, "{00FFFF} Emprego de Taxista \t{FFFFFF} %.0f KM\n", ah); strcat(MEGAString,string); format(string, 128, "{00FFFF} Emprego de Bombeiros \t{FFFFFF} %.0f KM\n", eh); strcat(MEGAString,string); format(string, 128, "{00FFFF} Emprego de Vendedor de produtos \t{FFFFFF} %.0f KM\n", ih); strcat(MEGAString,string); format(string, 128, "{00FFFF} Emprego de Mecanico \t{FFFFFF} %.0f KM\n", uh); strcat(MEGAString,string); format(string, 128, "{00FFFF} Emprego de Agricultor \t{FFFFFF} %.0f KM\n", aoh); strcat(MEGAString,string); format(string, 128, "{00FFFF} Emprego de Entregador \t{FFFFFF} %.0f KM\n", aoza); strcat(MEGAString,string); format(string, 128, "{00FFFF} Emprego de Gari \t{FFFFFF} %.0f KM\n", aoza1); strcat(MEGAString,string); format(string, 128, "{00FFFF} Emprego de Motorista de onibus \t{FFFFFF} %.0f KM\n", oh); strcat(MEGAString,string); format(string, 128, "{00FFFF} Emprego de Eletricista \t{FFFFFF} %.0f KM\n", ohj); strcat(MEGAString,string); format(string, 128, "{00FFFF} Emprego de Caminhoneiro \t{FFFFFF} %.0f KM\n", oxj); strcat(MEGAString,string); ShowPlayerDialog(playerid, 95, DIALOG_STYLE_TABLIST_HEADERS, "GPS - Locais de Emprego", MEGAString, "Localizar","Voltar"); return true; } case 10: { /* fbOwned, fbOwner[64], fbDate, fbMessage[255], fbExtortion[MAX_PLAYER_NAME], Float:fbEntranceX, Float:fbEntranceY, Float:fbEntranceZ, fbDiscription[128], fbLevelNeeded, fbBuyPrice, fbEntranceCost, fbTill, fbLocked, fbProducts, fbMaxProducts, fbProductsReq, fbPriceProd, fIdCarro1, fIdCarro2, fVec1, fVec2, Float:fCarro1x, Float:fCarro1y, Float:fCarro1z, Float:fCarro1a, Float:fCarro2x, Float:fCarro2y, Float:fCarro2z, Float:fCarro2a, fV1col1, fV1col2, fV2col1, fV2col2, };*/ MEGAString[0] = EOS; strcat(MEGAString, "Fazenda\tDono\tProdutos Requeridos\tPreco Por Produtos\n"); for(new i; i < MAX_FBIZZES; i++){ format(string, 256, "{FFFFFF}Fazenda{A9A9A9} %d\t{1E90FF}%s\t{A9A9A9}%d\t{FFFFFF}${008000}%d\n", i, FBizzInfo[i][fbOwner], FBizzInfo[i][fbProductsReq], FBizzInfo[i][fbPriceProd]); strcat(MEGAString, string); } ShowPlayerDialog(playerid, 3978, 5, "» {00FFFF}GPS » {FFFFFF}Localizar Fazendas", MEGAString, "Localizar","Voltar"); } case 11: { SendClientMessage(playerid, COLOR_GRAD2, "O GPS foi desligado!"); DisablePlayerCheckpoint(playerid); } } return true; } if(dialogid == 86) { TogglePlayerControllableEx(playerid, 1); EmDialog[playerid] = 0; if(response == 0) { ForT:gps(playerid); return true; } switch(listitem) { case 0: { SetPlayerCheckpoint(playerid, 1043.0309,-1035.0177,31.7153,8.0);//pm SendClientMessage(playerid, COLOR_LIGHTBLUE, "Voce Marcou a Trans Fender no Mapa !"); } case 1: { SetPlayerCheckpoint(playerid, -2705.7419,216.0190,4.1797,8.0);//pm SendClientMessage(playerid, COLOR_LIGHTBLUE, "Voce Marcou a Wheel Arch Angels no Mapa !"); } case 2: { SetPlayerCheckpoint(playerid, 2645.4229,-2030.1050,13.5469,8.0);//pm SendClientMessage(playerid, COLOR_LIGHTBLUE, "Voce Marcou Lown Rider no Mapa !"); } case 3: { SetPlayerCheckpoint(playerid, 2388.5637,1036.5834,10.8203,8.0);//pm SendClientMessage(playerid, COLOR_LIGHTBLUE, "Voce Marcou Trans Fender no Mapa !"); } } } if(dialogid == 9904) { TogglePlayerControllableEx(playerid, 1); EmDialog[playerid] = 0; if(response == 0) { ForT:gps(playerid); return true; } switch(listitem) { case 0: { SetPlayerCheckpoint(playerid, 1043.0309,-1035.0177,31.7153,8.0);//pm SendClientMessage(playerid, COLOR_LIGHTBLUE, "Voce Marcou a Trans Fender no Mapa !"); } case 1: { SetPlayerCheckpoint(playerid, -2705.7419,216.0190,4.1797,8.0);//pm SendClientMessage(playerid, COLOR_LIGHTBLUE, "Voce Marcou a Wheel Arch Angels no Mapa !"); } case 2: { SetPlayerCheckpoint(playerid, 2645.4229,-2030.1050,13.5469,8.0);//pm SendClientMessage(playerid, COLOR_LIGHTBLUE, "Voce Marcou Lown Rider no Mapa !"); } case 3: { SetPlayerCheckpoint(playerid, 2388.5637,1036.5834,10.8203,8.0);//pm SendClientMessage(playerid, COLOR_LIGHTBLUE, "Voce Marcou Trans Fender no Mapa !"); } } } if (dialogid == DIALOG_CASAGPS) { if(response == 0) { ForT:gps(playerid); return true; } if (response == 1) { new CasaLincoln = strval(inputtext); if (CasaLincoln < 0 || CasaLincoln > 450) { SendClientMessage(playerid, 0xBDBDBDAA, "Casas de 0 a 450"); return true; } format(string, sizeof(string), "A casa %d foi marcada de vermelho no mapa!", strval(inputtext)); SendClientMessage(playerid, 0x33FF00FF, string); SetPlayerCheckpoint(playerid, HouseInfo[strval(inputtext)][hEntrancex], HouseInfo[strval(inputtext)][hEntrancey], HouseInfo[strval(inputtext)][hEntrancez], 3.0); return true; } return true; } if(dialogid == 3972){ if(response){ if(listitem >= 27) // crash return true; format(string, 256, "Seu GPS foi ativiado em {00FFFF}%s{FFFFFF}, siga a marca vermelha no mapa!", BizzInfo[listitem][bMessage]); SendClientMessage(playerid, -1, string); SetPlayerCheckpoint(playerid, BizzInfo[listitem][bEntranceX], BizzInfo[listitem][bEntranceY], BizzInfo[listitem][bEntranceZ], 8.0); } else cmd_gps(playerid); } if(dialogid == 3978){ if(response){ if(listitem >= MAX_FBIZZES) // crash return true; format(string, 256, "Seu GPS foi ativiado Na {00FFFF}Fazenda ID: %d!{FFFFFF} Dono: %s. siga a marca vermelha no mapa!", listitem, FBizzInfo[listitem][fbOwner]); SendClientMessage(playerid, -1, string); SetPlayerCheckpoint(playerid, FBizzInfo[listitem][fbEntranceX], FBizzInfo[listitem][fbEntranceY], FBizzInfo[listitem][fbEntranceZ], 8.0); } else cmd_gps(playerid); } if(dialogid == 3246){ if(response){ format(string, 256, "Seu GPS foi ativiado em {00FFFF}%s{FFFFFF}, siga a marca vermelha no mapa!", SBizzInfo[listitem][sbMessage]); SendClientMessage(playerid, -1, string); SetPlayerCheckpoint(playerid, SBizzInfo[listitem][sbEntranceX], SBizzInfo[listitem][sbEntranceY], SBizzInfo[listitem][sbEntranceZ], 8.0); } else cmd_gps(playerid); } if(dialogid == 8971) { if(response) { CP[playerid] = 620; switch(listitem) { case 0: { SetPlayerCheckpoint(playerid, 1546.5463,-1675.4612,13.5625, 10.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}HQ Policia Militar{FFFFFF}, siga a marca vermelha no mapa!"); } case 1: { SetPlayerCheckpoint(playerid, 328.0219,-1512.4863,36.0325, 10.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}HQ BOPE{FFFFFF}, siga a marca vermelha no mapa!"); } case 2: { SetPlayerCheckpoint(playerid, -1530.6729,486.4166,7.1797, 10.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}HQ Exercito{FFFFFF}, siga a marca vermelha no mapa!"); } case 3: { SetPlayerCheckpoint(playerid, 1178.1523,-1323.5327,14.1060, 10.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}HQ Medicos{FFFFFF}, siga a marca vermelha no mapa!"); } case 4: { SetPlayerCheckpoint(playerid, 993.6214,13.3031,104.3882, 10.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}POBRE da Franca{FFFFFF}, siga a marca vermelha no mapa!"); } case 5: { SetPlayerCheckpoint(playerid, 1480.9517,-1771.9525,18.7958, 10.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Prefeitura{FFFFFF}, siga a marca vermelha no mapa!"); } case 6: { //SetPlayerCheckpoint(playerid,-1717.8645,1018.1482,17.5859, 10.0); //SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}HQ Hitman{FFFFFF}, siga a marca vermelha no mapa!"); SendClientMessage(playerid, COLOR_YELLOW, "[GPS]: HQ Hitmans nao pode ser marcada por ser Secreta!"); } case 7: { SetPlayerCheckpoint(playerid, 778.3851,-1327.7784,13.5469, 10.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}HQ Reporteres{FFFFFF}, siga a marca vermelha no mapa!"); } case 8: { SetPlayerCheckpoint(playerid,-515.9556,-539.5468,25.5234, 10.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}HQ Policia Federal{FFFFFF}, siga a marca vermelha no mapa!"); } case 9: { SetPlayerCheckpoint(playerid, 1497.0140,-688.4544,95.4126, 10.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}HQ Mafia Cosa Nostra{FFFFFF}, siga a marca vermelha no mapa!"); } case 10: { SetPlayerCheckpoint(playerid, 666.0714,-1311.1333,13.4609, 10.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}HQ Mafia Yakuza{FFFFFF}, siga a marca vermelha no mapa!"); } case 11: { SetPlayerCheckpoint(playerid, 2495.4917,-1685.5571,13.5135, 10.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}HQ Black Elements{FFFFFF}, siga a marca vermelha no mapa!"); } case 12: { SetPlayerCheckpoint(playerid, -329.4366,1533.6981,75.3570, 10.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}HQ Estado Islâmico{FFFFFF}, siga a marca vermelha no mapa!"); } case 13: { SetPlayerCheckpoint(playerid, 1069.6355,-1206.9603,17.5897, 10.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}HQ Ballas{FFFFFF}, siga a marca vermelha no mapa!"); } case 14: { SetPlayerCheckpoint(playerid, 2582.6882,-953.0733,81.3874, 10.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}HQ Los Vagos{FFFFFF}, siga a marca vermelha no mapa!"); } case 15: { SetPlayerCheckpoint(playerid, 2151.7644,-1799.7557,13.5800, 10.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}HQ Comando Vermelho{FFFFFF}, siga a marca vermelha no mapa!"); } case 16: { //SetPlayerCheckpoint(playerid, 2771.1929,-1626.7264,10.9272, 10.0); SendClientMessage(playerid, COLOR_YELLOW, "[GPS]: HQ The Triads nao pode ser marcada por ser Secreta!"); } case 17: { SetPlayerCheckpoint(playerid, -2280.8357,2288.5764,4.9595, 10.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}HQ As FARC{FFFFFF}, siga a marca vermelha no mapa!"); } case 18: { SetPlayerCheckpoint(playerid, 927.4686,-1222.3895,16.9493, 10.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}HQ Policia Civil{FFFFFF}, siga a marca vermelha no mapa!"); } case 19: { SetPlayerCheckpoint(playerid, 1067.2716,1360.5426,10.6719, 10.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}HQ Detran{FFFFFF}, siga a marca vermelha no mapa!"); } case 20: { SetPlayerCheckpoint(playerid, 496.4523,-1549.4907,17.7085, 10.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}HQ Mayans{FFFFFF}, siga a marca vermelha no mapa!"); } case 21: { SetPlayerCheckpoint(playerid, 681.9763,-475.8803,16.3359, 10.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}HQ Sons Of Anarchy{FFFFFF}, siga a marca vermelha no mapa!"); } case 22: { SetPlayerCheckpoint(playerid, 2597.7219,1898.2911,11.0312, 10.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}HQ FORÇA TATICA{FFFFFF}, siga a marca vermelha no mapa!"); } case 23: { SetPlayerCheckpoint(playerid, 912.5782,-998.5370,38.0977, 10.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}HQ GATE{FFFFFF}, siga a marca vermelha no mapa!"); } } } else { ForT:gps(playerid); } return 1; } if(dialogid == 9902) { if(response) { CP[playerid] = 620; switch(listitem) { case 0: { SetPlayerCheckpoint(playerid, 1546.5463,-1675.4612,13.5625, 10.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}HQ Policia Militar{FFFFFF}, siga a marca vermelha no mapa!"); } case 1: { SetPlayerCheckpoint(playerid, 328.0219,-1512.4863,36.0325, 10.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}HQ BOPE{FFFFFF}, siga a marca vermelha no mapa!"); } case 2: { SetPlayerCheckpoint(playerid, -1530.6729,486.4166,7.1797, 10.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}HQ Exercito{FFFFFF}, siga a marca vermelha no mapa!"); } case 3: { SetPlayerCheckpoint(playerid, 1178.1523,-1323.5327,14.1060, 10.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}HQ Medicos{FFFFFF}, siga a marca vermelha no mapa!"); } case 4: { SetPlayerCheckpoint(playerid, 993.6214,13.3031,104.3882, 10.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}POBRE da Franca{FFFFFF}, siga a marca vermelha no mapa!"); } case 5: { SetPlayerCheckpoint(playerid, 1480.9517,-1771.9525,18.7958, 10.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Prefeitura{FFFFFF}, siga a marca vermelha no mapa!"); } case 6: { //SetPlayerCheckpoint(playerid,-1717.8645,1018.1482,17.5859, 10.0); //SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}HQ Hitman{FFFFFF}, siga a marca vermelha no mapa!"); SendClientMessage(playerid, COLOR_YELLOW, "[GPS]: HQ Hitmans nao pode ser marcada por ser Secreta!"); } case 7: { SetPlayerCheckpoint(playerid, 778.3851,-1327.7784,13.5469, 10.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}HQ Reporteres{FFFFFF}, siga a marca vermelha no mapa!"); } case 8: { SetPlayerCheckpoint(playerid,-515.9556,-539.5468,25.5234, 10.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}HQ Policia Federal{FFFFFF}, siga a marca vermelha no mapa!"); } case 9: { SetPlayerCheckpoint(playerid, 1497.0140,-688.4544,95.4126, 10.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}HQ Mafia Cosa Nostra{FFFFFF}, siga a marca vermelha no mapa!"); } case 10: { SetPlayerCheckpoint(playerid, 666.0714,-1311.1333,13.4609, 10.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}HQ Mafia Yakuza{FFFFFF}, siga a marca vermelha no mapa!"); } case 11: { SetPlayerCheckpoint(playerid, 2495.4917,-1685.5571,13.5135, 10.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}HQ Black Elements{FFFFFF}, siga a marca vermelha no mapa!"); } case 12: { SetPlayerCheckpoint(playerid, -329.4366,1533.6981,75.3570, 10.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}HQ Estado Islâmico{FFFFFF}, siga a marca vermelha no mapa!"); } case 13: { SetPlayerCheckpoint(playerid, 1069.6355,-1206.9603,17.5897, 10.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}HQ Ballas{FFFFFF}, siga a marca vermelha no mapa!"); } case 14: { SetPlayerCheckpoint(playerid, 2582.6882,-953.0733,81.3874, 10.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}HQ Los Vagos{FFFFFF}, siga a marca vermelha no mapa!"); } case 15: { SetPlayerCheckpoint(playerid, 2151.7644,-1799.7557,13.5800, 10.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}HQ Comando Vermelho{FFFFFF}, siga a marca vermelha no mapa!"); } case 16: { SetPlayerCheckpoint(playerid, -2126.8354,-78.2763,35.1719, 10.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}HQ PCC{FFFFFF}, siga a marca vermelha no mapa!"); } case 17: { //SetPlayerCheckpoint(playerid, 2771.1929,-1626.7264,10.9272, 10.0); SendClientMessage(playerid, COLOR_YELLOW, "[GPS]: HQ The Triads nao pode ser marcada por ser Secreta!"); } case 18: { SetPlayerCheckpoint(playerid, -2280.8357,2288.5764,4.9595, 10.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}HQ As FARC{FFFFFF}, siga a marca vermelha no mapa!"); } case 19: { SetPlayerCheckpoint(playerid, 927.4686,-1222.3895,16.9493, 10.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}HQ Policia Civil{FFFFFF}, siga a marca vermelha no mapa!"); } case 20: { SetPlayerCheckpoint(playerid, 1067.2716,1360.5426,10.6719, 10.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}HQ Detran{FFFFFF}, siga a marca vermelha no mapa!"); } case 21: { SetPlayerCheckpoint(playerid, 1234.7419,-1652.9197,11.7969, 10.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}HQ ROTA{FFFFFF}, siga a marca vermelha no mapa!"); } case 22: { SetPlayerCheckpoint(playerid, 496.4523,-1549.4907,17.7085, 10.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}HQ Mayans{FFFFFF}, siga a marca vermelha no mapa!"); } case 23: { SetPlayerCheckpoint(playerid, 681.9763,-475.8803,16.3359, 10.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}HQ Sons Of Anarchy{FFFFFF}, siga a marca vermelha no mapa!"); } case 24: { SetPlayerCheckpoint(playerid, 2717.2278,-2405.4011,13.4710, 10.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}HQ BAEP{FFFFFF}, siga a marca vermelha no mapa!"); } case 25: { SetPlayerCheckpoint(playerid, 2597.7219,1898.2911,11.0312, 10.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}HQ FORÇA TATICA{FFFFFF}, siga a marca vermelha no mapa!"); } } } else { ForT:gps(playerid); } return 1; } if(dialogid == 4901) { if(!response)return ForT:gps(playerid); new Float:x, Float:y, Float:z; if(listitem == 1) { new id = PegarCaixaProximo(playerid); GetDynamicObjectPos(CaixaInfo[id][Caixa_Object], x, y, z); SetPlayerCheckpoint(playerid, x, y, z, 5.0); CP[playerid] = 0; format(string, sizeof string, "[GPS]: Foi marcado no mapa o Caixa Eletronico mais proximo de voce (%s)", GetPoint2DZone(x, y, z)); SendClientMessage(playerid, COLOR_YELLOW, string); return 1; } GetDynamicObjectPos(CaixaInfo[listitem][Caixa_Object], x, y, z); SetPlayerCheckpoint(playerid, x, y, z, 5.0); CP[playerid] = 0; format(string, sizeof string, "Seu GPS foi ativado em {00FFFF}Caixa Eletronico de %s{FFFFFF}, siga a marca vermelha no mapa.", GetPoint2DZone(x, y, z)); SendClientMessage(playerid, 0xFFFFFFFF, string); return true; } if(dialogid == 4903) { if(!response)return ForT:gps(playerid); new Float:x, Float:y, Float:z; if(listitem == 1) { new id = PegarMuroProximo(playerid); GetMuro(playerid,id); x = MuroPos[playerid][0]; y = MuroPos[playerid][1]; z = MuroPos[playerid][2]; SetPlayerCheckpoint(playerid, x, y, z, 5.0); CP[playerid] = 0; format(string, sizeof string, "[GPS]: Foi marcado no mapa o Muro mais proximo de voce (%s)", GetPoint2DZone(x, y, z)); SendClientMessage(playerid, COLOR_YELLOW, string); return 1; } GetMuro(playerid,listitem-1); x = MuroPos[playerid][0]; y = MuroPos[playerid][1]; z = MuroPos[playerid][2]; SetPlayerCheckpoint(playerid, x, y, z, 5.0); CP[playerid] = 0; format(string, sizeof string, "[GPS]: Foi marcado o Muro de %s.", GetPoint2DZone(x, y, z)); SendClientMessage(playerid, COLOR_YELLOW, string); return true; } if(dialogid == 12) { new org = OrgCofre[playerid]; //new darmaconha = CofreOrg[org][dMaconha]; //new maconha = CofreOrg[org][Maconha]; MEGAString[0] = EOS; if(!response) return true; if(response >= 1) { if(listitem == 0) { format(string,sizeof(string),"Lider: %s\n",InfoOrg[org][Lider]); strcat(MEGAString,string); format(string,sizeof(string),"1° Sub-Lider: %s\n",InfoOrg[org][SubLider]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 1: %s\n",InfoOrg[org][Membro1]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 2: %s\n",InfoOrg[org][Membro2]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 3: %s\n",InfoOrg[org][Membro3]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 4: %s\n",InfoOrg[org][Membro4]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 5: %s\n",InfoOrg[org][Membro5]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 6: %s\n",InfoOrg[org][Membro6]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 7: %s\n",InfoOrg[org][Membro7]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 8: %s\n",InfoOrg[org][Membro8]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 9: %s\n",InfoOrg[org][Membro9]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 10: %s\n",InfoOrg[org][Membro10]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 11: %s\n",InfoOrg[org][Membro11]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 12: %s\n",InfoOrg[org][Membro12]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 13: %s\n",InfoOrg[org][Membro13]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 14: %s\n",InfoOrg[org][Membro14]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 15: %s\n",InfoOrg[org][Membro15]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 16: %s\n",InfoOrg[org][Membro16]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 17: %s\n",InfoOrg[org][Membro17]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 18: %s\n",InfoOrg[org][Membro18]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 19: %s\n",InfoOrg[org][Membro19]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 20: %s\n",InfoOrg[org][Membro20]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 21: %s\n",InfoOrg[org][Membro21]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 22: %s\n",InfoOrg[org][Membro22]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 23: %s\n",InfoOrg[org][Membro23]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 24: %s\n",InfoOrg[org][Membro24]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 25: %s\n",InfoOrg[org][Membro25]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 26: %s\n",InfoOrg[org][Membro26]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 27: %s\n",InfoOrg[org][Membro27]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 28: %s\n",InfoOrg[org][Membro28]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 29: %s\n",InfoOrg[org][Membro29]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 30: %s\n",InfoOrg[org][Membro30]); strcat(MEGAString,string); ShowPlayerDialog(playerid, 9970, DIALOG_STYLE_LIST, "Membros da Organizacao", MEGAString, "OK", "VOLTAR"); return true; } if(listitem == 1) { if(OrgCofre[playerid] == 7) { if(PlayerInfo[playerid][pLider] != 7) { return SendClientMessage(playerid, COLOR_GRAD1, "As Informações da Prefeitura sao Confidenciais!"); } } strcat(MEGAString,"{33FF00}»|-----[ Lideres ]-----|«\n"); format(string,sizeof(string),"Lider: %s\n",InfoOrg[org][Lider]); strcat(MEGAString,string); format(string,sizeof(string),"1° Sub-Lider: %s\n",InfoOrg[org][SubLider]); strcat(MEGAString,string); strcat(MEGAString,"{33FF00}»|-----[ Cofre ]-----|«\n"); format(string,sizeof(string),"Dinheiro: R$%s\n",ConvertMoney(CofreOrg[org][Dinheiro])); strcat(MEGAString,string); format(string,sizeof(string),"Maconha: %d\n",CofreOrg[org][Maconha]); strcat(MEGAString,string); format(string,sizeof(string),"Crack: %d\n",CofreOrg[org][Crack]); strcat(MEGAString,string); format(string,sizeof(string),"Cocaina: %d\n",CofreOrg[org][Cocaina]); strcat(MEGAString,string); format(string,sizeof(string),"Materiais: %d\n",CofreOrg[org][Materiais]); strcat(MEGAString,string); strcat(MEGAString,"{33FF00}»|-----[ Pedidos ]-----|«\n"); format(string,sizeof(string),"Pedindo %d de Materiais e Paga R$%d\n",CofreOrg[org][cMateriais], ConvertMoney(CofreOrg[org][mMateriais])); strcat(MEGAString,string); format(string,sizeof(string),"Pedindo %d de Maconha e Paga R$%s\n",CofreOrg[org][cMaconha], ConvertMoney(CofreOrg[org][mMaconha])); strcat(MEGAString,string); strcat(MEGAString,"{33FF00}»|-----[ Salarios ]-----|«\n"); format(string,sizeof(string),"Cargo 1: R$%s\n",ConvertMoney(CofreOrg[org][salarioc1])); strcat(MEGAString,string); format(string,sizeof(string),"Cargo 2: R$%s\n",ConvertMoney(CofreOrg[org][salarioc2])); strcat(MEGAString,string); format(string,sizeof(string),"Cargo 3: R$%s\n",ConvertMoney(CofreOrg[org][salarioc3])); strcat(MEGAString,string); format(string,sizeof(string),"Cargo 4: R$%s\n",ConvertMoney(CofreOrg[org][salarioc4])); strcat(MEGAString,string); format(string,sizeof(string),"Cargo 5: R$%s\n",ConvertMoney(CofreOrg[org][salarioc5])); strcat(MEGAString,string); format(string,sizeof(string),"Sub-Lideres: R$%s\n",ConvertMoney(CofreOrg[org][salarioc5])); strcat(MEGAString,string); format(string,sizeof(string),"Lider: R$%s\n",ConvertMoney(CofreOrg[org][salariolider])); strcat(MEGAString,string); ShowPlayerDialog(playerid, 9970, DIALOG_STYLE_LIST, "Informações da HQ", MEGAString, "OK", "VOLTAR"); } if(listitem == 2) { if(OrgCofre[playerid] != GetPlayerOrg(playerid)) return SendClientMessage(playerid, COLOR_GRAD1, "Esta area e somente para membros dessa organizacao!"); if(PlayerInfo[playerid][pCargo] < 5) { SendClientMessage(playerid, COLOR_GRAD1, " Esta area e apenas para Lider e SubLideres!"); return ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Cofre da sua Organizacao", "Membros\nInformações\nDefinicões de Membros\nAjustes ORG\nArea de Mafia(Materiais)\nCandidatos\nEquipar\n{00FFFF}Pedir para entrar", "Confirmar", "Cancelar"); } ShowPlayerDialog(playerid, 4502, DIALOG_STYLE_LIST, "Definicões de membros", "Limpar Membros\nAnuncio de Recrutamento\nTrocar Vagas\nLimpar todas as Vagas\nÚltimo Login dos Membros", #Selecionar, #Voltar); } if(listitem == 3) { if(OrgCofre[playerid] != GetPlayerOrg(playerid)) return SendClientMessage(playerid, COLOR_GRAD1, "Esta area e somente para membros dessa organizacao!"); if(PlayerInfo[playerid][pCargo] < 4) { SendClientMessage(playerid, COLOR_GRAD1, " Esta area e apenas para Cargos 4+!"); return ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Cofre da sua Organizacao", "Membros\nInformações\nDefinicões de Membros\nAjustes ORG\nArea de Mafia(Materiais)\nCandidatos\nEquipar\n{00FFFF}Pedir para entrar", "Confirmar", "Cancelar"); } ShowPlayerDialog(playerid, 8547, DIALOG_STYLE_LIST, "Definicões da Organizacao", "Cargo 1 Limites\nCargo 2 Limites\nCargo 3 Limites\nCargo 4 Limites\nCargo 5 e Lideres\nPedido Materiais\nSalarios\nDrogas/Dinheiro", "Selecionar", "Voltar"); } if(listitem == 4) { ForT:vendermateriaishq(playerid); } if(listitem == 5) { if(OrgCofre[playerid] != GetPlayerOrg(playerid)) return SendClientMessage(playerid, COLOR_GRAD1, "Esta area e somente para membros dessa organizacao!"); if(PlayerInfo[playerid][pCargo] < 4) { SendClientMessage(playerid, COLOR_GRAD1, "Apenas cargo 4+ podem ver as Informações de candidatos!"); return ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Cofre da sua Organizacao", "Membros\nInformações\nDefinicões de Membros\nAjustes ORG\nArea de Mafia(Materiais)\nCandidatos\nEquipar\n{00FFFF}Pedir para entrar", "Confirmar", "Cancelar"); } MostrarCandidatos(playerid); return true; } if(listitem == 6) { if(OrgCofre[playerid] != GetPlayerOrg(playerid)) return SendClientMessage(playerid, COLOR_GRAD1, "Esta area e somente para membros dessa organizacao!"); ShowPlayerDialog(playerid, 9925, DIALOG_STYLE_LIST, "Equipamentos", "Equipar: Cargo 1\nEquipar: Cargo 2\nEquipar: Cargo 3\nEquipar: Cargo 4\nEquipar: Cargo 5\nEquipar: Cargo 6\nEquipar {FFAA00}[VIP]", "Selecionar", "Sair"); return true; } if(listitem == 7) { if(OrgCofre[playerid] == GetPlayerOrg(playerid)) return SendClientMessage(playerid, COLOR_GRAD1, "Voce ja pertence a esta Org/Gang."); if(PediuPraEntrar[playerid] == 1) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "[ERRO] Espere um pouco para pedir pra entrar em uma organizacao novamente"); return 1; } DCandidatoInfoOrg(PlayerName(playerid), OrgCofre[playerid]); SetTimerEx("PediuAgora", 100000, 0, "i", playerid); PediuPraEntrar[playerid] = 1; format(string,sizeof(string),"ATENCAO: %s [ID:%d] esta pedindo para entrar na organizacao",PlayerName(playerid),playerid); SendFamilyMessage(OrgCofre[playerid], COLOR_LIGHTBLUE, string); format(string,sizeof(string),"INFO: Nivel:[%d] Horas Jogadas:[%d] Celular:[%d]",PlayerInfo[playerid][pLevel], PlayerInfo[playerid][pConnectTime], PlayerInfo[playerid][pPnumber]); SendFamilyMessage(OrgCofre[playerid], COLOR_LIGHTBLUE, string); SendClientMessage(playerid, COLOR_WHITE, "Voce pediu para entrar na organizacao, aguarde uma resposta dos Lideres"); CandidatoInfoOrg(PlayerName(playerid), OrgCofre[playerid], 1); return true; } } return true; } if(dialogid == 4502) { if(!response)return ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Cofre da sua Organizacao", "Membros\nInformações\nDefinicões de Membros\nAjustes ORG\nArea de Mafia(Materiais)\nCandidatos\nEquipar\n{00FFFF}Pedir para entrar", "Confirmar", "Cancelar"); if(listitem == 0) { SendClientMessage(playerid, COLOR_GRAD1, "OBS: Clique 2x no nome do player que voce deseja limpar a vaga!"); MostrarMembrosOrg(playerid); } if(listitem == 1) { if(gettime() < GetPVarInt(playerid, #VarFlood6)) return SendClientMessage(playerid, COLOR_GRAD1, #Voce nao pode fazer isto com tanta frequencia); SetPVarInt(playerid, #VarFlood6, gettime()+60); format(string, sizeof string, "RECRUTAMENTO: A Organizacao [%s] esta recrutando! Contato: %s Celular:[%d]", GetOrgName(GetPlayerOrg(playerid)), NomePlayer(playerid), PlayerInfo[playerid][pPnumber]); SendClientMessageToAll(TEAM_GROVE_COLOR, string); } if(listitem == 2) { new org = GetPlayerOrg(playerid); MEGAString[0]=EOS; format(string,sizeof(string),"Membro 1: %s\n",InfoOrg[org][Membro1]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 2: %s\n",InfoOrg[org][Membro2]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 3: %s\n",InfoOrg[org][Membro3]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 4: %s\n",InfoOrg[org][Membro4]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 5: %s\n",InfoOrg[org][Membro5]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 6: %s\n",InfoOrg[org][Membro6]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 7: %s\n",InfoOrg[org][Membro7]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 8: %s\n",InfoOrg[org][Membro8]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 9: %s\n",InfoOrg[org][Membro9]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 10: %s\n",InfoOrg[org][Membro10]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 11: %s\n",InfoOrg[org][Membro11]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 12: %s\n",InfoOrg[org][Membro12]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 13: %s\n",InfoOrg[org][Membro13]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 14: %s\n",InfoOrg[org][Membro14]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 15: %s\n",InfoOrg[org][Membro15]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 16: %s\n",InfoOrg[org][Membro16]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 17: %s\n",InfoOrg[org][Membro17]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 18: %s\n",InfoOrg[org][Membro18]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 19: %s\n",InfoOrg[org][Membro19]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 20: %s\n",InfoOrg[org][Membro20]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 21: %s\n",InfoOrg[org][Membro21]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 22: %s\n",InfoOrg[org][Membro22]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 23: %s\n",InfoOrg[org][Membro23]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 24: %s\n",InfoOrg[org][Membro24]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 25: %s\n",InfoOrg[org][Membro25]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 26: %s\n",InfoOrg[org][Membro26]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 27: %s\n",InfoOrg[org][Membro27]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 28: %s\n",InfoOrg[org][Membro28]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 29: %s\n",InfoOrg[org][Membro29]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 30: %s\n",InfoOrg[org][Membro30]); strcat(MEGAString,string); ShowPlayerDialog(playerid, 5900, DIALOG_STYLE_LIST, "Clique no PRIMEIRO nome a ser trocado", MEGAString, "Continuar", "Voltar"); //SendClientMessage(playerid, COLOR_YELLOW, "OK, Agora escolha a PRIMEIRA vaga a ser trocada!"); } if(listitem == 3) { ShowPlayerDialog(playerid, 12134, DIALOG_STYLE_MSGBOX, "Limpar vagas", "Tem certeza que quer Limpar todas as Vagas?\nEsta opcao nao pode ser desfeita.", #Sim, #Nao); } if(listitem == 4) { if(OrgCofre[playerid] != GetPlayerOrg(playerid)) return SendClientMessage(playerid, COLOR_GRAD1, "Esta area e somente para membros dessa organizacao!"); if(PlayerInfo[playerid][pCargo] < 4) { SendClientMessage(playerid, COLOR_GRAD1, " Esta area e apenas para Cargos 4+!"); return ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Cofre da sua Organizacao", "Membros\nInformações\nDefinicões de Membros\nAjustes ORG\nArea de Mafia(Materiais)\nCandidatos\nEquipar\n{00FFFF}Pedir para entrar", "Confirmar", "Cancelar"); } ForT:showul(playerid); return true; } return true; } if(dialogid == 5900) { if(response) { SetPVarInt(playerid, "PrimeiroNome", listitem+1); new org = GetPlayerOrg(playerid); MEGAString[0]=EOS; format(string,sizeof(string),"Membro 1: %s\n",InfoOrg[org][Membro1]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 2: %s\n",InfoOrg[org][Membro2]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 3: %s\n",InfoOrg[org][Membro3]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 4: %s\n",InfoOrg[org][Membro4]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 5: %s\n",InfoOrg[org][Membro5]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 6: %s\n",InfoOrg[org][Membro6]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 7: %s\n",InfoOrg[org][Membro7]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 8: %s\n",InfoOrg[org][Membro8]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 9: %s\n",InfoOrg[org][Membro9]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 10: %s\n",InfoOrg[org][Membro10]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 11: %s\n",InfoOrg[org][Membro11]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 12: %s\n",InfoOrg[org][Membro12]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 13: %s\n",InfoOrg[org][Membro13]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 14: %s\n",InfoOrg[org][Membro14]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 15: %s\n",InfoOrg[org][Membro15]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 16: %s\n",InfoOrg[org][Membro16]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 17: %s\n",InfoOrg[org][Membro17]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 18: %s\n",InfoOrg[org][Membro18]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 19: %s\n",InfoOrg[org][Membro19]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 20: %s\n",InfoOrg[org][Membro20]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 21: %s\n",InfoOrg[org][Membro21]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 22: %s\n",InfoOrg[org][Membro22]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 23: %s\n",InfoOrg[org][Membro23]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 24: %s\n",InfoOrg[org][Membro24]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 25: %s\n",InfoOrg[org][Membro25]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 26: %s\n",InfoOrg[org][Membro26]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 27: %s\n",InfoOrg[org][Membro27]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 28: %s\n",InfoOrg[org][Membro28]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 29: %s\n",InfoOrg[org][Membro29]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 30: %s\n",InfoOrg[org][Membro30]); strcat(MEGAString,string); ShowPlayerDialog(playerid, 5901, DIALOG_STYLE_LIST, "Clique na SEGUNDA vaga a ser trocada", MEGAString, "CONCLUIR", "Voltar"); //SendClientMessage(playerid, COLOR_GREEN, "OK, Agora escolha a SEGUNDA vaga a ser trocada!"); } else { ShowPlayerDialog(playerid, 4502, DIALOG_STYLE_LIST, "Definicões de membros", "Limpar Membros\nAnuncio de Recrutamento\nTrocar Vagas\nLimpar todas as Vagas\nÚltimo Login dos Membros", #Selecionar, #Voltar); } return 1; } if(dialogid == 5901) { ShowPlayerDialog(playerid, 4502, DIALOG_STYLE_LIST, "Definicões de membros", "Limpar Membros\nAnuncio de Recrutamento\nTrocar Vagas\nLimpar todas as Vagas\nÚltimo Login dos Membros", #Selecionar, #Voltar); if(response) { format(string, sizeof string, "%d %d", GetPVarInt(playerid, "PrimeiroNome"), listitem+1); ForT:trocarvagas(playerid, string); new org = GetPlayerOrg(playerid); MEGAString[0]=EOS; format(string,sizeof(string),"Membro 1: %s\n",InfoOrg[org][Membro1]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 2: %s\n",InfoOrg[org][Membro2]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 3: %s\n",InfoOrg[org][Membro3]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 4: %s\n",InfoOrg[org][Membro4]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 5: %s\n",InfoOrg[org][Membro5]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 6: %s\n",InfoOrg[org][Membro6]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 7: %s\n",InfoOrg[org][Membro7]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 8: %s\n",InfoOrg[org][Membro8]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 9: %s\n",InfoOrg[org][Membro9]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 10: %s\n",InfoOrg[org][Membro10]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 11: %s\n",InfoOrg[org][Membro11]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 12: %s\n",InfoOrg[org][Membro12]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 13: %s\n",InfoOrg[org][Membro13]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 14: %s\n",InfoOrg[org][Membro14]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 15: %s\n",InfoOrg[org][Membro15]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 16: %s\n",InfoOrg[org][Membro16]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 17: %s\n",InfoOrg[org][Membro17]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 18: %s\n",InfoOrg[org][Membro18]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 19: %s\n",InfoOrg[org][Membro19]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 20: %s\n",InfoOrg[org][Membro20]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 21: %s\n",InfoOrg[org][Membro21]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 22: %s\n",InfoOrg[org][Membro22]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 23: %s\n",InfoOrg[org][Membro23]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 24: %s\n",InfoOrg[org][Membro24]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 25: %s\n",InfoOrg[org][Membro25]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 26: %s\n",InfoOrg[org][Membro26]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 27: %s\n",InfoOrg[org][Membro27]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 28: %s\n",InfoOrg[org][Membro28]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 29: %s\n",InfoOrg[org][Membro29]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 30: %s\n",InfoOrg[org][Membro30]); strcat(MEGAString,string); ShowPlayerDialog(playerid, 5900, DIALOG_STYLE_LIST, "Clique no PRIMEIRO nome a ser trocado", MEGAString, "Continuar", "Voltar"); //SendClientMessage(playerid, COLOR_YELLOW, "OK, Agora escolha a PRIMEIRA vaga a ser trocada!"); } return 1; } if(dialogid == 89) { EmDialog[playerid] = 0; if(response == 0) { ForT:gps(playerid); return true; } switch(listitem) { case 1: { SetPlayerCheckpoint(playerid, 1412.0570,-1700.0341,13.5395,8.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Puteiro{FFFFFF}, siga a marca vermelha no mapa!"); } case 2: { SetPlayerCheckpoint(playerid, 1631.8547,-1172.5637,24.0843,8.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Loterica{FFFFFF}, siga a marca vermelha no mapa!"); } case 3: { SetPlayerCheckpoint(playerid, 1352.4357,-1759.0243,13.5078,8.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Mercado 24/7{FFFFFF}, siga a marca vermelha no mapa!"); } case 4: { SetPlayerCheckpoint(playerid, 1791.2120,-1164.6317,23.8281,8.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Loja de Armas 1{FFFFFF}, siga a marca vermelha no mapa!"); } case 5: { SetPlayerCheckpoint(playerid, -1434.8428,1480.0405,1.8672,8.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Navio{FFFFFF}, siga a marca vermelha no mapa!"); } case 6: { SetPlayerCheckpoint(playerid, 1366.1761,-1279.8679,13.5469,8.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Ammu nation{FFFFFF}, siga a marca vermelha no mapa!"); } case 7: { SetPlayerCheckpoint(playerid, 1462.395751,-1012.391174,26.843799,8.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Banco{FFFFFF}, siga a marca vermelha no mapa!"); } } } if(dialogid == 9905) { EmDialog[playerid] = 0; if(response == 0) { ForT:gps(playerid); return true; } switch(listitem) { case 1: { SetPlayerCheckpoint(playerid, 1412.0570,-1700.0341,13.5395,8.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Puteiro{FFFFFF}, siga a marca vermelha no mapa!"); } case 2: { SetPlayerCheckpoint(playerid, 1631.8547,-1172.5637,24.0843,8.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Loterica{FFFFFF}, siga a marca vermelha no mapa!"); } case 3: { SetPlayerCheckpoint(playerid, 1352.4357,-1759.0243,13.5078,8.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Mercado 24/7{FFFFFF}, siga a marca vermelha no mapa!"); } case 4: { SetPlayerCheckpoint(playerid, 1791.2120,-1164.6317,23.8281,8.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Loja de Armas 1{FFFFFF}, siga a marca vermelha no mapa!"); } case 5: { SetPlayerCheckpoint(playerid, -1434.8428,1480.0405,1.8672,8.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Navio{FFFFFF}, siga a marca vermelha no mapa!"); } case 6: { SetPlayerCheckpoint(playerid, 1366.1761,-1279.8679,13.5469,8.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Ammu nation{FFFFFF}, siga a marca vermelha no mapa!"); } case 7: { SetPlayerCheckpoint(playerid, 1462.395751,-1012.391174,26.843799,8.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}Banco{FFFFFF}, siga a marca vermelha no mapa!"); } } } if(dialogid == 9906) { EmDialog[playerid] = 0; if(response == 0) { ForT:gps(playerid); return true; } switch(listitem) { case 0: { SetPlayerCheckpoint(playerid, 1752.4963,-1903.0275,13.5630,8.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}HQ de Taxistas{FFFFFF}, siga a marca vermelha no mapa!"); } case 1: { SetPlayerCheckpoint(playerid, 2018.2883,-2091.3528,13.6337,8.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}HQ de Bombeiros{FFFFFF}, siga a marca vermelha no mapa!"); } case 2: { SetPlayerCheckpoint(playerid, 2426.5676,-2102.7278,13.5469,8.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}HQ de Vendedor de produtos{FFFFFF}, siga a marca vermelha no mapa!"); } case 3: { SetPlayerCheckpoint(playerid, 1561.6332,-2167.2244,13.5643,8.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}HQ de Mecânicos{FFFFFF}, siga a marca vermelha no mapa!"); } case 4: { SetPlayerCheckpoint(playerid, 1926.1124,171.1314,37.2813,8.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}HQ de Agricultores{FFFFFF}, siga a marca vermelha no mapa!"); } case 5: { SetPlayerCheckpoint(playerid, 852.3289,-1436.3395,15.0437,8.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}HQ de Entregadores{FFFFFF}, siga a marca vermelha no mapa!"); } case 6: { SetPlayerCheckpoint(playerid, 2176.1892,-1976.0012,13.5547,8.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}HQ de Garis{FFFFFF}, siga a marca vermelha no mapa!"); } case 7: { SetPlayerCheckpoint(playerid, 1425.5823,-2347.9338,13.5469,8.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {FFFFFF}HQ de onibus{FFFFFF}, siga a marca vermelha no mapa!"); } case 8: { SetPlayerCheckpoint(playerid, 781.5250,-600.7427,16.3359,8.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {FFFFFF}HQ Eletricista{FFFFFF}, siga a marca vermelha no mapa!"); } } } if(dialogid == 95) { EmDialog[playerid] = 0; if(response == 0) { ForT:gps(playerid); return true; } switch(listitem) { case 0: { SetPlayerCheckpoint(playerid, 1752.4963,-1903.0275,13.5630,8.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}HQ de Taxistas{FFFFFF}, siga a marca vermelha no mapa!"); } case 1: { SetPlayerCheckpoint(playerid, 2018.2883,-2091.3528,13.6337,8.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}HQ de Bombeiros{FFFFFF}, siga a marca vermelha no mapa!"); } case 2: { SetPlayerCheckpoint(playerid, 2426.5676,-2102.7278,13.5469,8.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}HQ de Vendedor de produtos{FFFFFF}, siga a marca vermelha no mapa!"); } case 3: { SetPlayerCheckpoint(playerid, 1561.6332,-2167.2244,13.5643,8.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}HQ de Mecânicos{FFFFFF}, siga a marca vermelha no mapa!"); } case 4: { SetPlayerCheckpoint(playerid, 1926.1124,171.1314,37.2813,8.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}HQ de Agricultores{FFFFFF}, siga a marca vermelha no mapa!"); } case 5: { SetPlayerCheckpoint(playerid, 852.3289,-1436.3395,15.0437,8.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}HQ de Entregadores{FFFFFF}, siga a marca vermelha no mapa!"); } case 6: { SetPlayerCheckpoint(playerid, 2176.1892,-1976.0012,13.5547,8.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {00FFFF}HQ de Gari's{FFFFFF}, siga a marca vermelha no mapa!"); } case 7: { SetPlayerCheckpoint(playerid, 1425.5823,-2347.9338,13.5469,8.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {FFFFFF}HQ de onibus{FFFFFF}, siga a marca vermelha no mapa!"); } case 8: { SetPlayerCheckpoint(playerid, 781.5250,-600.7427,16.3359,8.0); SendClientMessage(playerid, BRANCO_COR, "Seu GPS foi ativado em {FFFFFF}HQ Eletricista{FFFFFF}, siga a marca vermelha no mapa!"); } } } if(dialogid == 4600) { if(!response)return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao quis ir ao local que marcou no mapa."); if(PlayerInfo[playerid][pAdmin] > 0 || PlayerInfo[playerid][pAdminTemp] > 0) { SetPlayerPosFindZ(playerid, GetPVarFloat(playerid, "FindX"), GetPVarFloat(playerid, "FindY"), GetPVarFloat(playerid, "FindZ")+4); SendClientMessage(playerid, COLOR_GRAD1, "Voce foi ao local que marcou no mapa."); } return true; } if(dialogid == 9948) { if(!response) { return 1; } switch(listitem) { case 0: { if(!strcmp(NomePlayer(playerid), "RickinhoZ", true)) { SendClientMessageToAll(0xFFFFFFFF, "|_________| Admin Aviso |_________|"); format(string, sizeof(string), "Fundador, %s: Esta precisando de ajuda? Nao sabe como comecar? Digite: /duvida ou /relatorio", PlayerName(playerid)); SendClientMessageToAll(0x19EA65FF, string); } else if(PlayerInfo[playerid][pAdmin] == 1342 && PlayerInfo[playerid][pSex] == 1) { SendClientMessageToAll(0xFFFFFFFF, "|_________| Admin Aviso |_________|"); format(string, sizeof(string), "Dono, %s: Esta precisando de ajuda? Nao sabe como comecar? Digite: /duvida ou /relatorio", PlayerName(playerid)); SendClientMessageToAll(0x19EA65FF, string); } else if(PlayerInfo[playerid][pAdmin] == 1342 && PlayerInfo[playerid][pSex] == 2) { SendClientMessageToAll(0xFFFFFFFF, "|_________| Admin Aviso |_________|"); format(string, sizeof(string), "Dona, %s: Esta precisando de ajuda? Nao sabe como comecar? Digite: /duvida ou /relatorio", PlayerName(playerid)); SendClientMessageToAll(0x19EA65FF, string); } else if(PlayerInfo[playerid][pAdmin] == 1341) { SendClientMessageToAll(0xFFFFFFFF, "|_________| Admin Aviso |_________|"); format(string, sizeof(string), "Diretor, %s: Esta precisando de ajuda? Nao sabe como comecar? Digite: /duvida ou /relatorio", PlayerName(playerid)); SendClientMessageToAll(0x19EA65FF, string); } else if(PlayerInfo[playerid][pAdmin] == 1340) { SendClientMessageToAll(0xFFFFFFFF, "|_________| Admin Aviso |_________|"); format(string, sizeof(string), "Gerente, %s: Esta precisando de ajuda? Nao sabe como comecar? Digite: /duvida ou /relatorio", PlayerName(playerid)); SendClientMessageToAll(0x19EA65FF, string); } else if(PlayerInfo[playerid][pAdmin] == 1339) { SendClientMessageToAll(0xFFFFFFFF, "|_________| Admin Aviso |_________|"); format(string, sizeof(string), "Supervisor, %s: Esta precisando de ajuda? Nao sabe como comecar? Digite: /duvida ou /relatorio", PlayerName(playerid)); SendClientMessageToAll(0x19EA65FF, string); } else if(PlayerInfo[playerid][pAdmin] == 1337 || PlayerInfo[playerid][pAdmin] == 1338) { SendClientMessageToAll(0xFFFFFFFF, "|_________| Admin Aviso |_________|"); format(string, sizeof(string), "Encarregado, %s: Esta precisando de ajuda? Nao sabe como comecar? Digite: /duvida ou /relatorio", PlayerName(playerid)); SendClientMessageToAll(0x19EA65FF, string); } else if(PlayerInfo[playerid][pAdmin] == 3 || PlayerInfo[playerid][pAdmin] == 4 || PlayerInfo[playerid][pAdmin] == 5) { SendClientMessageToAll(0xFFFFFFFF, "|_________| Admin Aviso |_________|"); format(string, sizeof(string), "Administrador, %s: Esta precisando de ajuda? Nao sabe como comecar? Digite: /duvida ou /relatorio", PlayerName(playerid)); SendClientMessageToAll(0x19EA65FF, string); } else if(PlayerInfo[playerid][pAdmin] == 2) { SendClientMessageToAll(0xFFFFFFFF, "|_________| Admin Aviso |_________|"); format(string, sizeof(string), "Moderador, %s: Esta precisando de ajuda? Nao sabe como comecar? Digite: /duvida ou /relatorio", PlayerName(playerid)); SendClientMessageToAll(0x19EA65FF, string); } else { SendClientMessageToAll(0xFFFFFFFF, "|_________| Admin Aviso |_________|"); format(string, sizeof(string), "Estagiario, %s: Esta precisando de ajuda? Nao sabe como comecar? Digite: /duvida ou /relatorio", PlayerName(playerid)); SendClientMessageToAll(0x19EA65FF, string); } } case 1: { if(!strcmp(NomePlayer(playerid), "RickinhoZ", true)) { SendClientMessageToAll(0xFFFFFFFF, "|_________| Admin Aviso |_________|"); format(string, sizeof(string), "Fundador, %s: Viu algum ato ANT-RP? avise a administracao usando /relatorio!", PlayerName(playerid)); SendClientMessageToAll(0x19EA65FF, string); } else if(PlayerInfo[playerid][pAdmin] == 1342 && PlayerInfo[playerid][pSex] == 1) { SendClientMessageToAll(0xFFFFFFFF, "|_________| Admin Aviso |_________|"); format(string, sizeof(string), "Dono, %s: Viu algum ato ANT-RP? avise a administracao usando /relatorio!", PlayerName(playerid)); SendClientMessageToAll(0x19EA65FF, string); } else if(PlayerInfo[playerid][pAdmin] == 1342 && PlayerInfo[playerid][pSex] == 2) { SendClientMessageToAll(0xFFFFFFFF, "|_________| Admin Aviso |_________|"); format(string, sizeof(string), "Dona, %s: Viu algum ato ANT-RP? avise a administracao usando /relatorio!", PlayerName(playerid)); SendClientMessageToAll(0x19EA65FF, string); } else if(PlayerInfo[playerid][pAdmin] == 1341) { SendClientMessageToAll(0xFFFFFFFF, "|_________| Admin Aviso |_________|"); format(string, sizeof(string), "Diretor, %s: Viu algum ato ANT-RP? avise a administracao usando /relatorio!", PlayerName(playerid)); SendClientMessageToAll(0x19EA65FF, string); } else if(PlayerInfo[playerid][pAdmin] == 1340) { SendClientMessageToAll(0xFFFFFFFF, "|_________| Admin Aviso |_________|"); format(string, sizeof(string), "Gerente, %s: Viu algum ato ANT-RP? avise a administracao usando /relatorio!", PlayerName(playerid)); SendClientMessageToAll(0x19EA65FF, string); } else if(PlayerInfo[playerid][pAdmin] == 1339) { SendClientMessageToAll(0xFFFFFFFF, "|_________| Admin Aviso |_________|"); format(string, sizeof(string), "Supervisor, %s: Viu algum ato ANT-RP? avise a administracao usando /relatorio!", PlayerName(playerid)); SendClientMessageToAll(0x19EA65FF, string); } else if(PlayerInfo[playerid][pAdmin] == 1337 || PlayerInfo[playerid][pAdmin] == 1338) { SendClientMessageToAll(0xFFFFFFFF, "|_________| Admin Aviso |_________|"); format(string, sizeof(string), "Encarregado, %s: Viu algum ato ANT-RP? avise a administracao usando /relatorio!", PlayerName(playerid)); SendClientMessageToAll(0x19EA65FF, string); } else if(PlayerInfo[playerid][pAdmin] == 3 || PlayerInfo[playerid][pAdmin] == 4 || PlayerInfo[playerid][pAdmin] == 5) { SendClientMessageToAll(0xFFFFFFFF, "|_________| Admin Aviso |_________|"); format(string, sizeof(string), "Administrador, %s: Viu algum ato ANT-RP? avise a administracao usando /relatorio!", PlayerName(playerid)); SendClientMessageToAll(0x19EA65FF, string); } else if(PlayerInfo[playerid][pAdmin] == 2) { SendClientMessageToAll(0xFFFFFFFF, "|_________| Admin Aviso |_________|"); format(string, sizeof(string), "Moderador, %s: Viu algum ato ANT-RP? avise a administracao usando /relatorio!", PlayerName(playerid)); SendClientMessageToAll(0x19EA65FF, string); } else { SendClientMessageToAll(0xFFFFFFFF, "|_________| Admin Aviso |_________|"); format(string, sizeof(string), "Estagiario, %s: Viu algum ato ANT-RP? avise a administracao usando /relatorio!", PlayerName(playerid)); SendClientMessageToAll(0x19EA65FF, string); } } case 2: { if(!strcmp(NomePlayer(playerid), "RickinhoZ", true)) { SendClientMessageToAll(0xFFFFFFFF, "|_________| Admin Aviso |_________|"); format(string, sizeof(string), "Fundador, %s: Quer se juntar ainda mais a comunidade BRASIL POBRE RP? Entre em nosso forum", PlayerName(playerid)); SendClientMessageToAll(0x19EA65FF, string); } else if(PlayerInfo[playerid][pAdmin] == 1342 && PlayerInfo[playerid][pSex] == 1) { SendClientMessageToAll(0xFFFFFFFF, "|_________| Admin Aviso |_________|"); format(string, sizeof(string), "Dono, %s: Quer se juntar ainda mais a comunidade BRASIL POBRE RP? Entre em nosso forum", PlayerName(playerid)); SendClientMessageToAll(0x19EA65FF, string); } else if(PlayerInfo[playerid][pAdmin] == 1342 && PlayerInfo[playerid][pSex] == 2) { SendClientMessageToAll(0xFFFFFFFF, "|_________| Admin Aviso |_________|"); format(string, sizeof(string), "Dona, %s: Quer se juntar ainda mais a comunidade BRASIL POBRE RP? Entre em nosso forum", PlayerName(playerid)); SendClientMessageToAll(0x19EA65FF, string); } else if(PlayerInfo[playerid][pAdmin] == 1341) { SendClientMessageToAll(0xFFFFFFFF, "|_________| Admin Aviso |_________|"); format(string, sizeof(string), "Diretor, %s: Quer se juntar ainda mais a comunidade BRASIL POBRE RP? Entre em nosso forum", PlayerName(playerid)); SendClientMessageToAll(0x19EA65FF, string); } else if(PlayerInfo[playerid][pAdmin] == 1340) { SendClientMessageToAll(0xFFFFFFFF, "|_________| Admin Aviso |_________|"); format(string, sizeof(string), "Gerente, %s: Quer se juntar ainda mais a comunidade BRASIL POBRE RP? Entre em nosso forum", PlayerName(playerid)); SendClientMessageToAll(0x19EA65FF, string); } else if(PlayerInfo[playerid][pAdmin] == 1339) { SendClientMessageToAll(0xFFFFFFFF, "|_________| Admin Aviso |_________|"); format(string, sizeof(string), "Supervisor, %s: Quer se juntar ainda mais a comunidade BRASIL POBRE RP? Entre em nosso forum", PlayerName(playerid)); SendClientMessageToAll(0x19EA65FF, string); } else if(PlayerInfo[playerid][pAdmin] == 1337 || PlayerInfo[playerid][pAdmin] == 1338) { SendClientMessageToAll(0xFFFFFFFF, "|_________| Admin Aviso |_________|"); format(string, sizeof(string), "Encarregado, %s: Quer se juntar ainda mais a comunidade BRASIL POBRE RP? Entre em nosso forum", PlayerName(playerid)); SendClientMessageToAll(0x19EA65FF, string); } else if(PlayerInfo[playerid][pAdmin] == 3 || PlayerInfo[playerid][pAdmin] == 4 || PlayerInfo[playerid][pAdmin] == 5) { SendClientMessageToAll(0xFFFFFFFF, "|_________| Admin Aviso |_________|"); format(string, sizeof(string), "Administrador, %s: Quer se juntar ainda mais a comunidade BRASIL POBRE RP? Entre em nosso forum", PlayerName(playerid)); SendClientMessageToAll(0x19EA65FF, string); } else if(PlayerInfo[playerid][pAdmin] == 2) { SendClientMessageToAll(0xFFFFFFFF, "|_________| Admin Aviso |_________|"); format(string, sizeof(string), "Moderador, %s: Quer se juntar ainda mais a comunidade BRASIL POBRE RP? Entre em nosso forum", PlayerName(playerid)); SendClientMessageToAll(0x19EA65FF, string); } else { SendClientMessageToAll(0xFFFFFFFF, "|_________| Admin Aviso |_________|"); format(string, sizeof(string), "Estagiario, %s: Quer se juntar ainda mais a comunidade BRASIL POBRE RP? Entre em nosso forum", PlayerName(playerid)); SendClientMessageToAll(0x19EA65FF, string); } } case 3: { if(!strcmp(NomePlayer(playerid), "RickinhoZ", true)) { SendClientMessageToAll(0xFFFFFFFF, "|_________| Admin Aviso |_________|"); format(string, sizeof(string), "Fundador, %s: [Dica] Quer esclarecer sua duvida com um staff? digite: /atendimento ou /duvida.", PlayerName(playerid)); SendClientMessageToAll(0x19EA65FF, string); } else if(PlayerInfo[playerid][pAdmin] == 1342 && PlayerInfo[playerid][pSex] == 1) { SendClientMessageToAll(0xFFFFFFFF, "|_________| Admin Aviso |_________|"); format(string, sizeof(string), "Dono, %s: [Dica] Quer esclarecer sua duvida com um staff? digite: /atendimento ou /duvida.", PlayerName(playerid)); SendClientMessageToAll(0x19EA65FF, string); } else if(PlayerInfo[playerid][pAdmin] == 1342 && PlayerInfo[playerid][pSex] == 2) { SendClientMessageToAll(0xFFFFFFFF, "|_________| Admin Aviso |_________|"); format(string, sizeof(string), "Dona, %s: [Dica] Quer esclarecer sua duvida com um staff? digite: /atendimento ou /duvida.", PlayerName(playerid)); SendClientMessageToAll(0x19EA65FF, string); } else if(PlayerInfo[playerid][pAdmin] == 1341) { SendClientMessageToAll(0xFFFFFFFF, "|_________| Admin Aviso |_________|"); format(string, sizeof(string), "Diretor, %s: [Dica] Quer esclarecer sua duvida com um staff? digite: /atendimento ou /duvida.", PlayerName(playerid)); SendClientMessageToAll(0x19EA65FF, string); } else if(PlayerInfo[playerid][pAdmin] == 1340) { SendClientMessageToAll(0xFFFFFFFF, "|_________| Admin Aviso |_________|"); format(string, sizeof(string), "Gerente, %s: [Dica] Quer esclarecer sua duvida com um staff? digite: /atendimento ou /duvida.", PlayerName(playerid)); SendClientMessageToAll(0x19EA65FF, string); } else if(PlayerInfo[playerid][pAdmin] == 1339) { SendClientMessageToAll(0xFFFFFFFF, "|_________| Admin Aviso |_________|"); format(string, sizeof(string), "Supervisor, %s: [Dica] Quer esclarecer sua duvida com um staff? digite: /atendimento ou /duvida.", PlayerName(playerid)); SendClientMessageToAll(0x19EA65FF, string); } else if(PlayerInfo[playerid][pAdmin] == 1337 || PlayerInfo[playerid][pAdmin] == 1338) { SendClientMessageToAll(0xFFFFFFFF, "|_________| Admin Aviso |_________|"); format(string, sizeof(string), "Encarregado, %s: [Dica] Quer esclarecer sua duvida com um staff? digite: /atendimento ou /duvida.", PlayerName(playerid)); SendClientMessageToAll(0x19EA65FF, string); } else if(PlayerInfo[playerid][pAdmin] == 3 || PlayerInfo[playerid][pAdmin] == 4 || PlayerInfo[playerid][pAdmin] == 5) { SendClientMessageToAll(0xFFFFFFFF, "|_________| Admin Aviso |_________|"); format(string, sizeof(string), "Administrador, %s: [Dica] Quer esclarecer sua duvida com um staff? digite: /atendimento ou /duvida.", PlayerName(playerid)); SendClientMessageToAll(0x19EA65FF, string); } else if(PlayerInfo[playerid][pAdmin] == 2) { SendClientMessageToAll(0xFFFFFFFF, "|_________| Admin Aviso |_________|"); format(string, sizeof(string), "Moderador, %s: [Dica] Quer esclarecer sua duvida com um staff? digite: /atendimento ou /duvida.", PlayerName(playerid)); SendClientMessageToAll(0x19EA65FF, string); } else { SendClientMessageToAll(0xFFFFFFFF, "|_________| Admin Aviso |_________|"); format(string, sizeof(string), "Estagiario, %s: [Dica] Quer esclarecer sua duvida com um staff? digite: /atendimento ou /duvida.", PlayerName(playerid)); SendClientMessageToAll(0x19EA65FF, string); } } case 4: { if(!strcmp(NomePlayer(playerid), "RickinhoZ", true)) { SendClientMessageToAll(0xFFFFFFFF, "|_________| Admin Aviso |_________|"); format(string, sizeof(string), "Fundador, %s: [Dica] Atos Ant-RP resultam em cadeia, por favor evite-os mais duvidas, use: /duvida ou /atendimento.", PlayerName(playerid)); SendClientMessageToAll(0x19EA65FF, string); } else if(PlayerInfo[playerid][pAdmin] == 1342 && PlayerInfo[playerid][pSex] == 1) { SendClientMessageToAll(0xFFFFFFFF, "|_________| Admin Aviso |_________|"); format(string, sizeof(string), "Dono, %s: [Dica] Atos Ant-RP resultam em cadeia, por favor evite-os mais duvidas, use: /duvida ou /atendimento.", PlayerName(playerid)); SendClientMessageToAll(0x19EA65FF, string); } else if(PlayerInfo[playerid][pAdmin] == 1342 && PlayerInfo[playerid][pSex] == 2) { SendClientMessageToAll(0xFFFFFFFF, "|_________| Admin Aviso |_________|"); format(string, sizeof(string), "Dona, %s: [Dica] Atos Ant-RP resultam em cadeia, por favor evite-os mais duvidas, use: /duvida ou /atendimento.", PlayerName(playerid)); SendClientMessageToAll(0x19EA65FF, string); } else if(PlayerInfo[playerid][pAdmin] == 1341) { SendClientMessageToAll(0xFFFFFFFF, "|_________| Admin Aviso |_________|"); format(string, sizeof(string), "Diretor, %s: [Dica] Atos Ant-RP resultam em cadeia, por favor evite-os mais duvidas, use: /duvida ou /atendimento.", PlayerName(playerid)); SendClientMessageToAll(0x19EA65FF, string); } else if(PlayerInfo[playerid][pAdmin] == 1340) { SendClientMessageToAll(0xFFFFFFFF, "|_________| Admin Aviso |_________|"); format(string, sizeof(string), "Gerente, %s: [Dica] Atos Ant-RP resultam em cadeia, por favor evite-os mais duvidas, use: /duvida ou /atendimento.", PlayerName(playerid)); SendClientMessageToAll(0x19EA65FF, string); } else if(PlayerInfo[playerid][pAdmin] == 1339) { SendClientMessageToAll(0xFFFFFFFF, "|_________| Admin Aviso |_________|"); format(string, sizeof(string), "Supervisor, %s: [Dica] Atos Ant-RP resultam em cadeia, por favor evite-os mais duvidas, use: /duvida ou /atendimento.", PlayerName(playerid)); SendClientMessageToAll(0x19EA65FF, string); } else if(PlayerInfo[playerid][pAdmin] == 1337 || PlayerInfo[playerid][pAdmin] == 1338) { SendClientMessageToAll(0xFFFFFFFF, "|_________| Admin Aviso |_________|"); format(string, sizeof(string), "Encarregado, %s: [Dica] Atos Ant-RP resultam em cadeia, por favor evite-os mais duvidas, use: /duvida ou /atendimento.", PlayerName(playerid)); SendClientMessageToAll(0x19EA65FF, string); } else if(PlayerInfo[playerid][pAdmin] == 3 || PlayerInfo[playerid][pAdmin] == 4 || PlayerInfo[playerid][pAdmin] == 5) { SendClientMessageToAll(0xFFFFFFFF, "|_________| Admin Aviso |_________|"); format(string, sizeof(string), "Administrador, %s: [Dica] Atos Ant-RP resultam em cadeia, por favor evite-os mais duvidas, use: /duvida ou /atendimento.", PlayerName(playerid)); SendClientMessageToAll(0x19EA65FF, string); } else if(PlayerInfo[playerid][pAdmin] == 2) { SendClientMessageToAll(0xFFFFFFFF, "|_________| Admin Aviso |_________|"); format(string, sizeof(string), "Moderador, %s: [Dica] Atos Ant-RP resultam em cadeia, por favor evite-os mais duvidas, use: /duvida ou /atendimento.", PlayerName(playerid)); SendClientMessageToAll(0x19EA65FF, string); } else { SendClientMessageToAll(0xFFFFFFFF, "|_________| Admin Aviso |_________|"); format(string, sizeof(string), "Estagiario, %s: [Dica] Atos Ant-RP resultam em cadeia, por favor evite-os mais duvidas, use: /duvida ou /atendimento.", PlayerName(playerid)); SendClientMessageToAll(0x19EA65FF, string); } } case 5: { if(!strcmp(NomePlayer(playerid), "RickinhoZ", true)) { SendClientMessageToAll(0xFFFFFFFF, "|_________| Admin Aviso |_________|"); format(string, sizeof(string), "Fundador, %s: O Nosso servidor ira passar por um GMX em instantes, por precaucao tire SS de seu RG!", PlayerName(playerid)); SendClientMessageToAll(0x19EA65FF, string); } else if(PlayerInfo[playerid][pAdmin] == 1342 && PlayerInfo[playerid][pSex] == 1) { SendClientMessageToAll(0xFFFFFFFF, "|_________| Admin Aviso |_________|"); format(string, sizeof(string), "Dono, %s: O Nosso servidor ira passar por um GMX em instantes, por precaucao tire SS de seu RG!", PlayerName(playerid)); SendClientMessageToAll(0x19EA65FF, string); } else if(PlayerInfo[playerid][pAdmin] == 1342 && PlayerInfo[playerid][pSex] == 2) { SendClientMessageToAll(0xFFFFFFFF, "|_________| Admin Aviso |_________|"); format(string, sizeof(string), "Dona, %s: O Nosso servidor ira passar por um GMX em instantes, por precaucao tire SS de seu RG!", PlayerName(playerid)); SendClientMessageToAll(0x19EA65FF, string); } else if(PlayerInfo[playerid][pAdmin] == 1341) { SendClientMessageToAll(0xFFFFFFFF, "|_________| Admin Aviso |_________|"); format(string, sizeof(string), "Diretor, %s: O Nosso servidor ira passar por um GMX em instantes, por precaucao tire SS de seu RG!", PlayerName(playerid)); SendClientMessageToAll(0x19EA65FF, string); } else if(PlayerInfo[playerid][pAdmin] == 1340) { SendClientMessageToAll(0xFFFFFFFF, "|_________| Admin Aviso |_________|"); format(string, sizeof(string), "Gerente, %s: O Nosso servidor ira passar por um GMX em instantes, por precaucao tire SS de seu RG!", PlayerName(playerid)); SendClientMessageToAll(0x19EA65FF, string); } else if(PlayerInfo[playerid][pAdmin] == 1339) { SendClientMessageToAll(0xFFFFFFFF, "|_________| Admin Aviso |_________|"); format(string, sizeof(string), "Supervisor, %s: O Nosso servidor ira passar por um GMX em instantes, por precaucao tire SS de seu RG!", PlayerName(playerid)); SendClientMessageToAll(0x19EA65FF, string); } else if(PlayerInfo[playerid][pAdmin] == 1337 || PlayerInfo[playerid][pAdmin] == 1338) { SendClientMessageToAll(0xFFFFFFFF, "|_________| Admin Aviso |_________|"); format(string, sizeof(string), "Encarregado, %s: O Nosso servidor ira passar por um GMX em instantes, por precaucao tire SS de seu RG!", PlayerName(playerid)); SendClientMessageToAll(0x19EA65FF, string); } else if(PlayerInfo[playerid][pAdmin] == 3 || PlayerInfo[playerid][pAdmin] == 4 || PlayerInfo[playerid][pAdmin] == 5) { SendClientMessageToAll(0xFFFFFFFF, "|_________| Admin Aviso |_________|"); format(string, sizeof(string), "Administrador, %s: O Nosso servidor ira passar por um GMX em instantes, por precaucao tire SS de seu RG!", PlayerName(playerid)); SendClientMessageToAll(0x19EA65FF, string); } else if(PlayerInfo[playerid][pAdmin] == 2) { SendClientMessageToAll(0xFFFFFFFF, "|_________| Admin Aviso |_________|"); format(string, sizeof(string), "Moderador, %s: O Nosso servidor ira passar por um GMX em instantes, por precaucao tire SS de seu RG!", PlayerName(playerid)); SendClientMessageToAll(0x19EA65FF, string); } else { SendClientMessageToAll(0xFFFFFFFF, "|_________| Admin Aviso |_________|"); format(string, sizeof(string), "Estagiario, %s: O Nosso servidor ira passar por um GMX em instantes, por precaucao tire SS de seu RG!", PlayerName(playerid)); SendClientMessageToAll(0x19EA65FF, string); } } case 6: { if(!strcmp(NomePlayer(playerid), "RickinhoZ", true)) { SendClientMessageToAll(0xFFFFFFFF, "|_________| Admin Aviso |_________|"); format(string, sizeof(string), "Fundador, %s: DM/DB ? Xiter ? ANT-RP ? Use: /reportar [id] [motivo]", PlayerName(playerid)); SendClientMessageToAll(0x19EA65FF, string); } else if(PlayerInfo[playerid][pAdmin] == 1342 && PlayerInfo[playerid][pSex] == 1) { SendClientMessageToAll(0xFFFFFFFF, "|_________| Admin Aviso |_________|"); format(string, sizeof(string), "Dono, %s: DM/DB ? Xiter ? ANT-RP ? Use: /reportar [id] [motivo]", PlayerName(playerid)); SendClientMessageToAll(0x19EA65FF, string); } else if(PlayerInfo[playerid][pAdmin] == 1342 && PlayerInfo[playerid][pSex] == 2) { SendClientMessageToAll(0xFFFFFFFF, "|_________| Admin Aviso |_________|"); format(string, sizeof(string), "Dona, %s: DM/DB ? Xiter ? ANT-RP ? Use: /reportar [id] [motivo]", PlayerName(playerid)); SendClientMessageToAll(0x19EA65FF, string); } else if(PlayerInfo[playerid][pAdmin] == 1341) { SendClientMessageToAll(0xFFFFFFFF, "|_________| Admin Aviso |_________|"); format(string, sizeof(string), "Diretor, %s: DM/DB ? Xiter ? ANT-RP ? Use: /reportar [id] [motivo]", PlayerName(playerid)); SendClientMessageToAll(0x19EA65FF, string); } else if(PlayerInfo[playerid][pAdmin] == 1340) { SendClientMessageToAll(0xFFFFFFFF, "|_________| Admin Aviso |_________|"); format(string, sizeof(string), "Gerente, %s: DM/DB ? Xiter ? ANT-RP ? Use: /reportar [id] [motivo]", PlayerName(playerid)); SendClientMessageToAll(0x19EA65FF, string); } else if(PlayerInfo[playerid][pAdmin] == 1339) { SendClientMessageToAll(0xFFFFFFFF, "|_________| Admin Aviso |_________|"); format(string, sizeof(string), "Supervisor, %s: DM/DB ? Xiter ? ANT-RP ? Use: /reportar [id] [motivo]", PlayerName(playerid)); SendClientMessageToAll(0x19EA65FF, string); } else if(PlayerInfo[playerid][pAdmin] == 1337 || PlayerInfo[playerid][pAdmin] == 1338) { SendClientMessageToAll(0xFFFFFFFF, "|_________| Admin Aviso |_________|"); format(string, sizeof(string), "Encarregado, %s: DM/DB ? Xiter ? ANT-RP ? Use: /reportar [id] [motivo]", PlayerName(playerid)); SendClientMessageToAll(0x19EA65FF, string); } else if(PlayerInfo[playerid][pAdmin] == 3 || PlayerInfo[playerid][pAdmin] == 4 || PlayerInfo[playerid][pAdmin] == 5) { SendClientMessageToAll(0xFFFFFFFF, "|_________| Admin Aviso |_________|"); format(string, sizeof(string), "Administrador, %s: DM/DB ? Xiter ? ANT-RP ? Use: /reportar [id] [motivo]", PlayerName(playerid)); SendClientMessageToAll(0x19EA65FF, string); } else if(PlayerInfo[playerid][pAdmin] == 2) { SendClientMessageToAll(0xFFFFFFFF, "|_________| Admin Aviso |_________|"); format(string, sizeof(string), "Moderador, %s: DM/DB ? Xiter ? ANT-RP ? Use: /reportar [id] [motivo]", PlayerName(playerid)); SendClientMessageToAll(0x19EA65FF, string); } else { SendClientMessageToAll(0xFFFFFFFF, "|_________| Admin Aviso |_________|"); format(string, sizeof(string), "Estagiario, %s: DM/DB ? Xiter ? ANT-RP ? Use: /reportar [id] [motivo]", PlayerName(playerid)); SendClientMessageToAll(0x19EA65FF, string); } } case 7: { if(!strcmp(NomePlayer(playerid), "RickinhoZ", true)) { SendClientMessageToAll(0xFFFFFFFF, "|_________| Admin Aviso |_________|"); format(string, sizeof(string), "Fundador, %s: Nao se esqueca de visitar o nosso forum! Digite /forum para saber mais!", PlayerName(playerid)); SendClientMessageToAll(0x19EA65FF, string); } else if(PlayerInfo[playerid][pAdmin] == 1342 && PlayerInfo[playerid][pSex] == 1) { SendClientMessageToAll(0xFFFFFFFF, "|_________| Admin Aviso |_________|"); format(string, sizeof(string), "Dono, %s: Nao se esqueca de visitar o nosso forum! Digite /forum para saber mais!", PlayerName(playerid)); SendClientMessageToAll(0x19EA65FF, string); } else if(PlayerInfo[playerid][pAdmin] == 1342 && PlayerInfo[playerid][pSex] == 2) { SendClientMessageToAll(0xFFFFFFFF, "|_________| Admin Aviso |_________|"); format(string, sizeof(string), "Dona, %s: Nao se esqueca de visitar o nosso forum! Digite /forum para saber mais!", PlayerName(playerid)); SendClientMessageToAll(0x19EA65FF, string); } else if(PlayerInfo[playerid][pAdmin] == 1341) { SendClientMessageToAll(0xFFFFFFFF, "|_________| Admin Aviso |_________|"); format(string, sizeof(string), "Diretor, %s: Nao se esqueca de visitar o nosso forum! Digite /forum para saber mais!", PlayerName(playerid)); SendClientMessageToAll(0x19EA65FF, string); } else if(PlayerInfo[playerid][pAdmin] == 1340) { SendClientMessageToAll(0xFFFFFFFF, "|_________| Admin Aviso |_________|"); format(string, sizeof(string), "Gerente, %s: Nao se esqueca de visitar o nosso forum! Digite /forum para saber mais!", PlayerName(playerid)); SendClientMessageToAll(0x19EA65FF, string); } else if(PlayerInfo[playerid][pAdmin] == 1339) { SendClientMessageToAll(0xFFFFFFFF, "|_________| Admin Aviso |_________|"); format(string, sizeof(string), "Supervisor, %s: Nao se esqueca de visitar o nosso forum! Digite /forum para saber mais!", PlayerName(playerid)); SendClientMessageToAll(0x19EA65FF, string); } else if(PlayerInfo[playerid][pAdmin] == 1337 || PlayerInfo[playerid][pAdmin] == 1338) { SendClientMessageToAll(0xFFFFFFFF, "|_________| Admin Aviso |_________|"); format(string, sizeof(string), "Encarregado, %s: Nao se esqueca de visitar o nosso forum! Digite /forum para saber mais!", PlayerName(playerid)); SendClientMessageToAll(0x19EA65FF, string); } else if(PlayerInfo[playerid][pAdmin] == 3 || PlayerInfo[playerid][pAdmin] == 4 || PlayerInfo[playerid][pAdmin] == 5) { SendClientMessageToAll(0xFFFFFFFF, "|_________| Admin Aviso |_________|"); format(string, sizeof(string), "Administrador, %s: Nao se esqueca de visitar o nosso forum! Digite /forum para saber mais!", PlayerName(playerid)); SendClientMessageToAll(0x19EA65FF, string); } else if(PlayerInfo[playerid][pAdmin] == 2) { SendClientMessageToAll(0xFFFFFFFF, "|_________| Admin Aviso |_________|"); format(string, sizeof(string), "Moderador, %s: Nao se esqueca de visitar o nosso forum! Digite /forum para saber mais!", PlayerName(playerid)); SendClientMessageToAll(0x19EA65FF, string); } else { SendClientMessageToAll(0xFFFFFFFF, "|_________| Admin Aviso |_________|"); format(string, sizeof(string), "Estagiario, %s: Nao se esqueca de visitar o nosso forum! Digite /forum para saber mais!", PlayerName(playerid)); SendClientMessageToAll(0x19EA65FF, string); } } } return 0; } if(dialogid == 4505) { if(!response)return ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Cofre da sua Organizacao", "Membros\nInformações\nDefinicões de Membros\nAjustes ORG\nArea de Mafia(Materiais)\nCandidatos\nEquipar\n{00FFFF}Pedir para entrar", "Confirmar", "Cancelar"); else { if(listitem == 0) { SendClientMessage(playerid, COLOR_GRAD1, "Voce nao pode limpar a vaga do Lider!"); MostrarMembrosOrg(playerid); return true; } if(listitem == 1) { ForT:limparvaga(playerid, "sub"); MostrarMembrosOrg(playerid); return true; } if(listitem == 2) { ForT:limparvaga(playerid, "1"); MostrarMembrosOrg(playerid); return true; } if(listitem == 3) { ForT:limparvaga(playerid, "2"); MostrarMembrosOrg(playerid); return true; } if(listitem == 4) { ForT:limparvaga(playerid, "3"); MostrarMembrosOrg(playerid); return true; } if(listitem == 5) { ForT:limparvaga(playerid, "4"); MostrarMembrosOrg(playerid); return true; } if(listitem == 6) { ForT:limparvaga(playerid, "5"); MostrarMembrosOrg(playerid); return true; } if(listitem == 7) { ForT:limparvaga(playerid, "6"); MostrarMembrosOrg(playerid); return true; } if(listitem == 8) { ForT:limparvaga(playerid, "7"); MostrarMembrosOrg(playerid); return true; } if(listitem == 9) { ForT:limparvaga(playerid, "8"); MostrarMembrosOrg(playerid); return true; } if(listitem == 10) { ForT:limparvaga(playerid, "9"); MostrarMembrosOrg(playerid); return true; } if(listitem == 11) { ForT:limparvaga(playerid, "10"); MostrarMembrosOrg(playerid); return true; } if(listitem == 12) { ForT:limparvaga(playerid, "11"); MostrarMembrosOrg(playerid); return true; } if(listitem == 13) { ForT:limparvaga(playerid, "12"); MostrarMembrosOrg(playerid); return true; } if(listitem == 14) { ForT:limparvaga(playerid, "13"); MostrarMembrosOrg(playerid); return true; } if(listitem == 15) { ForT:limparvaga(playerid, "14"); MostrarMembrosOrg(playerid); return true; } if(listitem == 16) { ForT:limparvaga(playerid, "15"); MostrarMembrosOrg(playerid); return true; } if(listitem == 17) { ForT:limparvaga(playerid, "16"); MostrarMembrosOrg(playerid); return true; } if(listitem == 18) { ForT:limparvaga(playerid, "17"); MostrarMembrosOrg(playerid); return true; } if(listitem == 19) { ForT:limparvaga(playerid, "18"); MostrarMembrosOrg(playerid); return true; } if(listitem == 20) { ForT:limparvaga(playerid, "19"); MostrarMembrosOrg(playerid); return true; } if(listitem == 21) { ForT:limparvaga(playerid, "20"); MostrarMembrosOrg(playerid); return true; } if(listitem == 22) { ForT:limparvaga(playerid, "21"); MostrarMembrosOrg(playerid); return true; } if(listitem == 23) { ForT:limparvaga(playerid, "22"); MostrarMembrosOrg(playerid); return true; } if(listitem == 24) { ForT:limparvaga(playerid, "23"); MostrarMembrosOrg(playerid); return true; } if(listitem == 25) { ForT:limparvaga(playerid, "24"); MostrarMembrosOrg(playerid); return true; } if(listitem == 26) { ForT:limparvaga(playerid, "25"); MostrarMembrosOrg(playerid); return true; } if(listitem == 27) { ForT:limparvaga(playerid, "26"); MostrarMembrosOrg(playerid); return true; } if(listitem == 28) { ForT:limparvaga(playerid, "27"); MostrarMembrosOrg(playerid); return true; } if(listitem == 29) { ForT:limparvaga(playerid, "28"); MostrarMembrosOrg(playerid); return true; } if(listitem == 30) { ForT:limparvaga(playerid, "29"); MostrarMembrosOrg(playerid); return true; } if(listitem == 31) { ForT:limparvaga(playerid, "30"); MostrarMembrosOrg(playerid); return true; } } return 0; } if(dialogid == 8991) { if(!response)return ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Cofre da sua Organizacao", "Membros\nInformações\nDefinicões de Membros\nAjustes ORG\nArea de Mafia(Materiais)\nCandidatos\nEquipar\n{00FFFF}Pedir para entrar", "Confirmar", "Cancelar"); else { if(listitem == 0) { ForT:lcandidato(playerid, "1"); MostrarCandidatos(playerid); return true; } if(listitem == 1) { ForT:lcandidato(playerid, "2"); MostrarCandidatos(playerid); return true; } if(listitem == 2) { ForT:lcandidato(playerid, "3"); MostrarCandidatos(playerid); return true; } if(listitem == 3) { ForT:lcandidato(playerid, "4"); MostrarCandidatos(playerid); return true; } if(listitem == 4) { ForT:lcandidato(playerid, "5"); MostrarCandidatos(playerid); return true; } if(listitem == 5) { ForT:lcandidato(playerid, "6"); MostrarCandidatos(playerid); return true; } if(listitem == 6) { ForT:lcandidato(playerid, "7"); MostrarCandidatos(playerid); return true; } if(listitem == 7) { ForT:lcandidato(playerid, "8"); MostrarCandidatos(playerid); return true; } if(listitem == 8) { ForT:lcandidato(playerid, "9"); MostrarCandidatos(playerid); return true; } if(listitem == 9) { ForT:lcandidato(playerid, "10"); MostrarCandidatos(playerid); return true; } if(listitem == 10) { ForT:lcandidato(playerid, "11"); MostrarCandidatos(playerid); return true; } if(listitem == 11) { ForT:lcandidato(playerid, "12"); MostrarCandidatos(playerid); return true; } if(listitem == 12) { ForT:lcandidato(playerid, "13"); MostrarCandidatos(playerid); return true; } if(listitem == 13) { ForT:lcandidato(playerid, "14"); MostrarCandidatos(playerid); return true; } if(listitem == 14) { ForT:lcandidato(playerid, "15"); MostrarCandidatos(playerid); return true; } if(listitem == 15) { ForT:lcandidato(playerid, "16"); MostrarCandidatos(playerid); return true; } if(listitem == 16) { ForT:lcandidato(playerid, "17"); MostrarCandidatos(playerid); return true; } if(listitem == 17) { ForT:lcandidato(playerid, "18"); MostrarCandidatos(playerid); return true; } if(listitem == 18) { ForT:lcandidato(playerid, "19"); MostrarCandidatos(playerid); return true; } if(listitem == 19) { ForT:lcandidato(playerid, "20"); MostrarCandidatos(playerid); return true; } } return 0; } if(dialogid == 5556) { if(!response) return true; if(response) { if(listitem == 0) { PLE = 0; SendClientMessage(playerid, COLOR_GRAD2, "Limpo com sucesso."); } if(listitem == 1) { PLO = 0; SendClientMessage(playerid, COLOR_GRAD2, "Limpo com sucesso."); } if(listitem == 2) { PLPG = 0; SendClientMessage(playerid, COLOR_GRAD2, "Limpo com sucesso."); } if(listitem == 3) { PMA = 0; SendClientMessage(playerid, COLOR_GRAD2, "Limpo com sucesso."); } if(listitem == 4) { PTC = 0; SendClientMessage(playerid, COLOR_GRAD2, "Limpo com sucesso."); } if(listitem == 5) { PLV = 0; SendClientMessage(playerid, COLOR_GRAD2, "Limpo com sucesso."); } if(listitem == 6) { PMC = 0; SendClientMessage(playerid, COLOR_GRAD2, "Limpo com sucesso."); } if(listitem == 7) { PMH = 0; SendClientMessage(playerid, COLOR_GRAD2, "Limpo com sucesso."); } if(listitem == 8) { PME = 0; SendClientMessage(playerid, COLOR_GRAD2, "Limpo com sucesso."); } if(listitem == 9) { PRE = 0; SendClientMessage(playerid, COLOR_GRAD2, "Limpo com sucesso."); } if(listitem == 10) { PCE = 0; SendClientMessage(playerid, COLOR_GRAD2, "Limpo com sucesso."); } if(listitem == 11) { PDU = 0; SendClientMessage(playerid, COLOR_GRAD2, "Limpo com sucesso."); } return 1; } return 0; } if(dialogid == 8726) { if(!response) return true; if(response >= 1) { BalaoPCPref(playerid, "~y~Carregando:~n~~w~", 3000); } return 0; } if(dialogid == 12134) { if(!response)return ShowPlayerDialog(playerid, 4502, DIALOG_STYLE_LIST, "Definicões de membros", "\nTrocar Vagas\nLimpar todas as Vagas\nÚltimo Login dos Membros", #Selecionar, #Voltar); if(response >= 1) { ForT:limpartodasvagas(playerid); return 1; } return 0; } if(dialogid == 8901) { new CheckNumero = TipoOrg[playerid]; MEGAString[0] = EOS; Controle(playerid, 1); if(!response) { return ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Cofre dessa organizacao", "Membros\nInformações\nDefinicões de Membros\nAjustes ORG\nArea de Mafia(Materiais)\nCandidatos\nEquipar\n{00FFFF}Pedir para entrar", "Confirmar", "Cancelar"); } else { if(listitem == 0) { if(TipoOrg[playerid] == 1 || TipoOrg[playerid] == 2 || TipoOrg[playerid] == 3 || TipoOrg[playerid] == 4|| TipoOrg[playerid] == 7 || TipoOrg[playerid] == 9|| TipoOrg[playerid] == 10|| TipoOrg[playerid] == 11|| TipoOrg[playerid] == 16|| TipoOrg[playerid] == 27|| TipoOrg[playerid] == 30 || TipoOrg[playerid] == 31|| TipoOrg[playerid] == 32|| TipoOrg[playerid] == 35) { SendClientMessage(playerid, COLOR_GRAD2, "[ERRO] Esta HQ nao trabalha com materiais"); return 1; } if(!IsAMafioso(playerid)) { SendClientMessage(playerid, COLOR_GRAD2, "[ERRO] Area somente para Mafiosos"); return 1; } if(CofreOrg[CheckNumero][cMateriais] < 2) { SendClientMessage(playerid, COLOR_GRAD2, "[ERRO] A organizacao nao esta precisando de materiais no momento"); return 1; } format(string,sizeof(string),"A HQ paga R$%s por %d Materiais\nDeseja vender?",ConvertMoney(CofreOrg[CheckNumero][mMateriais]), CofreOrg[CheckNumero][cMateriais]); ShowPlayerDialog(playerid, 8920, DIALOG_STYLE_MSGBOX, "Definicao de Materiais", string, "Vender", "Cancelar"); return true; } } return true; } if(dialogid == 8920) { new CheckNumero = TipoOrg[playerid]; if(response == 0) { ShowPlayerDialog(playerid, 8901, DIALOG_STYLE_LIST, "Vender para essa HQ", "Vender Materiais", "Selecionar", "Voltar"); return true; } if(response >= 1) { if(PlayerInfo[playerid][pMats] < CofreOrg[CheckNumero][cMateriais]) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "[ERRO] Voce nao tem os materiais que a HQ precisa em maos"); return 1; } if(CofreOrg[CheckNumero][Dinheiro] < CofreOrg[CheckNumero][mMateriais]) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "[ERRO] A Organizacao nao pode pagar pelos materiais"); return 1; } PlayerInfo[playerid][pMats] -= CofreOrg[CheckNumero][cMateriais]; GiveDinheiro(playerid, CofreOrg[CheckNumero][mMateriais]); SacarGranaOrg(CheckNumero,CofreOrg[CheckNumero][mMateriais]); //CofreOrg[CheckNumero][Materiais] += CofreOrg[CheckNumero][cMateriais]; //CofreOrg[CheckNumero][Dinheiro] -= CofreOrg[CheckNumero][mMateriais]; format(string,sizeof(string),"Voce vendeu %d materiais por R$%s para a HQ dos %s", ConvertMoney(CofreOrg[CheckNumero][cMateriais]), CofreOrg[CheckNumero][mMateriais], GetOrgName(CheckNumero)); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); DepositarMaterialOrg(CheckNumero,CofreOrg[CheckNumero][cMateriais]); CofreOrg[CheckNumero][cMateriais] = 0; CofreOrg[CheckNumero][mMateriais] = 0; SalvarmMateriais(CheckNumero,0); SalvarcMateriais(CheckNumero,0); return true; } } if(dialogid == 8901) { new CheckNumero = TipoOrg[playerid]; MEGAString[0] = EOS; Controle(playerid, 1); if(!response) { return ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Cofre da sua Organizacao", "Membros\nInformações\nDefinicões de Membros\nAjustes ORG\nArea de Mafia(Materiais)\nCandidatos\nEquipar\n{00FFFF}Pedir para entrar", "Confirmar", "Cancelar"); } else { if(listitem == 0) { if(TipoOrg[playerid] == 1 || TipoOrg[playerid] == 2 || TipoOrg[playerid] == 3 || TipoOrg[playerid] == 4|| TipoOrg[playerid] == 7 || TipoOrg[playerid] == 6 || TipoOrg[playerid] == 9|| TipoOrg[playerid] == 10|| TipoOrg[playerid] == 11|| TipoOrg[playerid] == 16|| TipoOrg[playerid] == 27|| TipoOrg[playerid] == 30 || TipoOrg[playerid] == 31|| TipoOrg[playerid] == 32|| TipoOrg[playerid] == 35 || TipoOrg[playerid] == 36) { SendClientMessage(playerid, COLOR_GRAD2, "[ERRO] Esta HQ nao trabalha com materiais"); return 1; } if(!IsAMafioso(playerid)) { SendClientMessage(playerid, COLOR_GRAD2, "[ERRO] Area somente para Mafiosos"); return 1; } if(CofreOrg[CheckNumero][cMateriais] < 2) { SendClientMessage(playerid, COLOR_GRAD2, "[ERRO] A organizacao nao esta precisando de materiais no momento"); return 1; } format(string,sizeof(string),"A HQ paga R$%s por %d Materiais\nDeseja vender?",ConvertMoney(CofreOrg[CheckNumero][mMateriais]), CofreOrg[CheckNumero][cMateriais]); ShowPlayerDialog(playerid, 8920, DIALOG_STYLE_MSGBOX, "Definicao de Materiais", string, "Vender", "Cancelar"); return true; } } return true; } if(dialogid == 8920) { new CheckNumero = TipoOrg[playerid]; if(response == 0) { ShowPlayerDialog(playerid, 8901, DIALOG_STYLE_LIST, "Vender para essa HQ", "Vender Materiais", "Selecionar", "Voltar"); return true; } if(response >= 1) { if(PlayerInfo[playerid][pMats] < CofreOrg[CheckNumero][cMateriais]) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "[ERRO] Voce nao tem os materiais que a HQ precisa em maos"); return 1; } if(CofreOrg[CheckNumero][Dinheiro] < CofreOrg[CheckNumero][mMateriais]) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "[ERRO] A Organizacao nao pode pagar pelos materiais"); return 1; } PlayerInfo[playerid][pMats] -= CofreOrg[CheckNumero][cMateriais]; GiveDinheiro(playerid, CofreOrg[CheckNumero][mMateriais]); SacarGranaOrg(CheckNumero,CofreOrg[CheckNumero][mMateriais]); //CofreOrg[CheckNumero][Materiais] += CofreOrg[CheckNumero][cMateriais]; //CofreOrg[CheckNumero][Dinheiro] -= CofreOrg[CheckNumero][mMateriais]; format(string,sizeof(string),"Voce vendeu %d materiais por R$%s para a HQ dos %s", ConvertMoney(CofreOrg[CheckNumero][cMateriais]), CofreOrg[CheckNumero][mMateriais], GetOrgName(CheckNumero)); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); DepositarMaterialOrg(CheckNumero,CofreOrg[CheckNumero][cMateriais]); CofreOrg[CheckNumero][cMateriais] = 0; CofreOrg[CheckNumero][mMateriais] = 0; SalvarmMateriais(CheckNumero,0); SalvarcMateriais(CheckNumero,0); return true; } } if(dialogid == 8921) { new CheckNumero = TipoOrg[playerid]; if(response == 0) { ShowPlayerDialog(playerid, 8901, DIALOG_STYLE_LIST, "Vender para essa HQ", "Vender Materiais", "Selecionar", "Voltar"); return true; } if(response >= 1) { if(PlayerInfo[playerid][pDrogas] < CofreOrg[CheckNumero][cMaconha]) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "[ERRO] Voce nao tem a quantidade de drogas que a HQ precisa em maos"); return 1; } if(CofreOrg[CheckNumero][Dinheiro] < CofreOrg[CheckNumero][mMaconha]) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "[ERRO] A Organizacao nao pode pagar pela Maconha"); return 1; } PlayerInfo[playerid][pDrogas] -= CofreOrg[CheckNumero][cMaconha]; DepositarMaconhaOrg(CheckNumero,CofreOrg[CheckNumero][cMaconha]); GiveDinheiro(playerid, CofreOrg[CheckNumero][mMaconha]); SacarGranaOrg(CheckNumero,CofreOrg[CheckNumero][mMaconha]); //CofreOrg[CheckNumero][Maconha] += CofreOrg[CheckNumero][cMaconha]; format(string,sizeof(string),"Voce vendeu %d de maconha por R$%s para a HQ dos %s", ConvertMoney(CofreOrg[CheckNumero][cMaconha]), CofreOrg[CheckNumero][mMaconha], GetOrgName(CheckNumero)); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); CofreOrg[CheckNumero][cMateriais] = 0; CofreOrg[CheckNumero][mMateriais] = 0; SalvarmMaconha(CheckNumero,0); SalvarcMaconha(CheckNumero,0); return true; } } if(dialogid == 8547) { new org = GetPlayerOrg(playerid); if(response == 0) { ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Cofre da ORG", "Membros\nInformações\nDefinicões de Membros\nAjustes ORG\nOutras Definicões\nUltimo Login dos Membros\nCandidatos\nEquipar\n{00FFFF}Pedir para entrar", "Confirmar", "Cancelar"); return true; } if(PlayerInfo[playerid][pCargo] < 5) { SendClientMessage(playerid,COLOR_LIGHTBLUE,"Voce deve ter cargo 5+ para poder acessar esta area"); return 1; } if(response >= 1) { if(listitem == 0) { ShowPlayerDialog(playerid, 8550, DIALOG_STYLE_LIST, "Definicões para Cargo 1", "Balas de Eagle\nBalas de ShotGun\nBalas de MP5", "Selecionar", "Voltar"); return true; } if(listitem == 1) { ShowPlayerDialog(playerid, 8551, DIALOG_STYLE_LIST, "Definicões para Cargo 2", "Balas de Eagle\nBalas de ShotGun\nBalas de MP5", "Selecionar", "Voltar"); return true; } if(listitem == 2) { ShowPlayerDialog(playerid, 8552, DIALOG_STYLE_LIST, "Definicões para Cargo 3", "Balas de Eagle\nBalas de ShotGun\nBalas de MP5\nBalas de MP4", "Selecionar", "Voltar"); return true; } if(listitem == 3) { ShowPlayerDialog(playerid, 8553, DIALOG_STYLE_LIST, "Definicões para Cargo 4", "Balas de Eagle\nBalas de ShotGun\nBalas de MP5\nBalas de AK-47\nBalas de Sniper", "Selecionar", "Voltar"); return true; } if(listitem == 4) { ShowPlayerDialog(playerid, 8554, DIALOG_STYLE_LIST, "Definicões para Cargo 5 e Lideres", "Balas de Eagle\nBalas de ShotGun\nBalas de MP5\nBalas de AK-47\nBalas de Sniper", "Selecionar", "Voltar"); return true; } if(listitem == 5) { format(string,sizeof(string),"Defina o Pedido de Materiais\nAtualmente esta definido em: %d Materiais",CofreOrg[org][cMateriais]); ShowPlayerDialog(playerid, 8850, DIALOG_STYLE_INPUT, "Pedido de Materiais", string, "Salvar", "Cancelar"); return true; } if(listitem == 6) { format(string,sizeof(string),"Salario Cargo 1\nSalario Cargo 2\nSalario Cargo 3\nSalario Cargo 4\nSalario Cargo 5 e SubLideres\nSalario Lider"); ShowPlayerDialog(playerid, 8877, DIALOG_STYLE_LIST, "Salarios", string, "Salvar", "Cancelar"); return true; } if(listitem == 7) { ShowPlayerDialog(playerid, 4507, DIALOG_STYLE_LIST, "Drogas/Dinheiro da Organizacao", "Dinheiro\nMateriais\nMaconha\nCocaina\nCrack", "Selecionar","Voltar"); return true; } } return true; } if(dialogid == 8877) { new org = GetPlayerOrg(playerid); if(response == 0) { ShowPlayerDialog(playerid, 8547, DIALOG_STYLE_LIST, "Deinicões da Org", "Cargo 1 Limites\nCargo 2 Limites\nCargo 3 Limites\nCargo 4 Limites\nCargo 5 e Lideres\nPedido Materiais\nPedido Maconha\nSalarios", "Selecionar", "Voltar"); return true; } if(response >= 1) { if(listitem == 0) { format(string,sizeof(string),"Defina o Salario do Cargo 1\nAtualmente esta definido em %d",CofreOrg[org][salarioc1]); ShowPlayerDialog(playerid, 8878, DIALOG_STYLE_INPUT, "Salario Cargo 1", string, "Salvar", "Cancelar"); return true; } if(listitem == 1) { format(string,sizeof(string),"Defina o Salario do Cargo 2\nAtualmente esta definido em %d",CofreOrg[org][salarioc2]); ShowPlayerDialog(playerid, 8879, DIALOG_STYLE_INPUT, "Salario Cargo 2", string, "Salvar", "Cancelar"); return true; } if(listitem == 2) { format(string,sizeof(string),"Defina o Salario do Cargo 3\nAtualmente esta definido em %d",CofreOrg[org][salarioc3]); ShowPlayerDialog(playerid, 8880, DIALOG_STYLE_INPUT, "Salario Cargo 3", string, "Salvar", "Cancelar"); return true; } if(listitem == 3) { format(string,sizeof(string),"Defina o Salario do Cargo 4\nAtualmente esta definido em %d",CofreOrg[org][salarioc4]); ShowPlayerDialog(playerid, 8881, DIALOG_STYLE_INPUT, "Salario Cargo 4", string, "Salvar", "Cancelar"); return true; } if(listitem == 4) { format(string,sizeof(string),"Defina o Salario do Cargo 5 e SUBs\nAtualmente esta definido em %d",CofreOrg[org][salarioc5]); ShowPlayerDialog(playerid, 8882, DIALOG_STYLE_INPUT, "Salario Cargo 5 e SUBs", string, "Salvar", "Cancelar"); return true; } if(listitem == 5) { format(string,sizeof(string),"Defina o Salario do Lider\nAtualmente esta definido em %d",CofreOrg[org][salariolider]); ShowPlayerDialog(playerid, 8883, DIALOG_STYLE_INPUT, "Salario Lider", string, "Salvar", "Cancelar"); return true; } } return true; } if(dialogid == 8878) { new definicao = strval(inputtext); new org = GetPlayerOrg(playerid); if(response == 0) { ShowPlayerDialog(playerid, 8547, DIALOG_STYLE_LIST, "Deinicões da Org", "Cargo 1 Limites\nCargo 2 Limites\nCargo 3 Limites\nCargo 4 Limites\nCargo 5 e Lideres\nPedido Materiais\nPedido Maconha\nSalarios", "Selecionar", "Voltar"); return true; } if(response >= 1) { if(definicao < 0)return SendClientMessage(playerid, COLOR_GRAD1, "Valor invalido!"); if(definicao > 100000) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "Voce definiu um Salario muito alto"); return true; } CofreOrg[org][salarioc1] = definicao; DefinirSalarioc1(org,definicao); format(string,sizeof(string)," Voce ajustou o Salario do cargo 1 para: %d.",definicao); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); return true; } } if(dialogid == 8879) { new definicao = strval(inputtext); new org = GetPlayerOrg(playerid); if(response == 0) { ShowPlayerDialog(playerid, 8547, DIALOG_STYLE_LIST, "Deinicões da Org", "Cargo 1 Limites\nCargo 2 Limites\nCargo 3 Limites\nCargo 4 Limites\nCargo 5 e Lideres\nPedido Materiais\nPedido Maconha\nSalarios", "Selecionar", "Voltar"); return true; } if(response >= 1) { if(definicao < 0)return SendClientMessage(playerid, COLOR_GRAD1, "Valor invalido!"); if(definicao > 100000) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "Voce definiu um Salario muito alto"); return true; } CofreOrg[org][salarioc2] = definicao; DefinirSalarioc2(org,definicao); format(string,sizeof(string)," Voce ajustou o Salario do cargo 2 para: %d.",definicao); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); return true; } } if(dialogid == 8880) { new definicao = strval(inputtext); new org = GetPlayerOrg(playerid); if(response == 0) { ShowPlayerDialog(playerid, 8547, DIALOG_STYLE_LIST, "Deinicões da Org", "Cargo 1 Limites\nCargo 2 Limites\nCargo 3 Limites\nCargo 4 Limites\nCargo 5 e Lideres\nPedido Materiais\nPedido Maconha\nSalarios", "Selecionar", "Voltar"); return true; } if(response >= 1) { if(definicao < 0)return SendClientMessage(playerid, COLOR_GRAD1, "Valor invalido!"); if(definicao > 100000) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "Voce definiu um Salario muito alto"); return true; } CofreOrg[org][salarioc3] = definicao; DefinirSalarioc3(org,definicao); format(string,sizeof(string)," Voce ajustou o Salario do cargo 3 para: %d.",definicao); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); return true; } } if(dialogid == 8881) { new definicao = strval(inputtext); new org = GetPlayerOrg(playerid); if(response == 0) { ShowPlayerDialog(playerid, 8547, DIALOG_STYLE_LIST, "Deinicões da Org", "Cargo 1 Limites\nCargo 2 Limites\nCargo 3 Limites\nCargo 4 Limites\nCargo 5 e Lideres\nPedido Materiais\nPedido Maconha\nSalarios", "Selecionar", "Voltar"); return true; } if(response >= 1) { if(definicao < 0)return SendClientMessage(playerid, COLOR_GRAD1, "Valor invalido!"); if(definicao > 100000) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "Voce definiu um Salario muito alto"); return true; } CofreOrg[org][salarioc4] = definicao; DefinirSalarioc4(org,definicao); format(string,sizeof(string)," Voce ajustou o Salario do cargo 4 para: %d.",definicao); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); return true; } } if(dialogid == 8882) { new definicao = strval(inputtext); new org = GetPlayerOrg(playerid); if(response == 0) { ShowPlayerDialog(playerid, 8547, DIALOG_STYLE_LIST, "Deinicões da Org", "Cargo 1 Limites\nCargo 2 Limites\nCargo 3 Limites\nCargo 4 Limites\nCargo 5 e Lideres\nPedido Materiais\nPedido Maconha\nSalarios", "Selecionar", "Voltar"); return true; } if(response >= 1) { if(definicao < 0)return SendClientMessage(playerid, COLOR_GRAD1, "Valor invalido!"); if(definicao > 100000) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "Voce definiu um Salario muito alto"); return true; } CofreOrg[org][salarioc5] = definicao; DefinirSalarioc5(org,definicao); format(string,sizeof(string)," Voce ajustou o Salario do cargo 5 e Sub's para: %d.",definicao); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); return true; } } if(dialogid == 8883) { new definicao = strval(inputtext); new org = GetPlayerOrg(playerid); if(response == 0) { ShowPlayerDialog(playerid, 8547, DIALOG_STYLE_LIST, "Deinicões da Org", "Cargo 1 Limites\nCargo 2 Limites\nCargo 3 Limites\nCargo 4 Limites\nCargo 5 e Lideres\nPedido Materiais\nPedido Maconha\nSalarios", "Selecionar", "Voltar"); return true; } if(response >= 1) { if(definicao < 0)return SendClientMessage(playerid, COLOR_GRAD1, "Valor invalido!"); if(definicao > 100000) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "Voce definiu um Salario muito alto"); return true; } CofreOrg[org][salariolider] = definicao; DefinirSalarioc6(org,definicao); format(string,sizeof(string)," Voce ajustou o Salario do Lider para: %d.",definicao); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); return true; } } if(dialogid == 8850) { new definicao = strval(inputtext); new org = GetPlayerOrg(playerid); if(response == 0) { ShowPlayerDialog(playerid, 8547, DIALOG_STYLE_LIST, "Deinicões da Org", "Cargo 1 Limites\nCargo 2 Limites\nCargo 3 Limites\nCargo 4 Limites\nCargo 5 e Lideres\nPedido Materiais\nPedido Maconha\nSalarios", "Selecionar", "Voltar"); return true; } if(response >= 1) { if(definicao < 1)return SendClientMessage(playerid, COLOR_GRAD1, "Valor invalido!"); CofreOrg[org][cMateriais] = definicao; SalvarcMateriais(org,definicao); format(string,sizeof(string),"Defina a quantidade que paga por %d Materiais",CofreOrg[org][cMateriais]); ShowPlayerDialog(playerid, 8855, DIALOG_STYLE_INPUT, "Definicao", string, "Salvar", "Cancelar"); return true; } } if(dialogid == 8851) { new definicao = strval(inputtext); new org = GetPlayerOrg(playerid); if(response == 0) { ShowPlayerDialog(playerid, 8547, DIALOG_STYLE_LIST, "Deinicões da Org", "Cargo 1 Limites\nCargo 2 Limites\nCargo 3 Limites\nCargo 4 Limites\nCargo 5 e Lideres\nPedido Materiais\nPedido Maconha\nSalarios", "Selecionar", "Voltar"); return true; } if(response >= 1) { if(definicao < 1)return SendClientMessage(playerid, COLOR_GRAD1, "Valor invalido!"); CofreOrg[org][cMaconha] = definicao; SalvarcMaconha(org,definicao); format(string,sizeof(string),"Defina a quantidade que paga por %d Maconhas",CofreOrg[org][cMaconha]); ShowPlayerDialog(playerid, 8860, DIALOG_STYLE_INPUT, "Definicao", string, "Salvar", "Cancelar"); return true; } } if(dialogid == 8860) { new definicao = strval(inputtext); new org = GetPlayerOrg(playerid); if(response == 0) { ShowPlayerDialog(playerid, 8547, DIALOG_STYLE_LIST, "Deinicões da Org", "Cargo 1 Limites\nCargo 2 Limites\nCargo 3 Limites\nCargo 4 Limites\nCargo 5 e Lideres\nPedido Materiais\nPedido Maconha\nSalarios", "Selecionar", "Voltar"); return true; } if(response >= 1) { if(definicao < 1)return SendClientMessage(playerid, COLOR_GRAD1, "Valor invalido!"); CofreOrg[org][mMaconha] = definicao; SalvarmMaconha(org,definicao); format(string,sizeof(string)," Voce paga R$%s por %d Maconhas.",ConvertMoney(CofreOrg[org][mMaconha]), CofreOrg[org][cMaconha]); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); return true; } } if(dialogid == 8855) { new definicao = strval(inputtext); new org = GetPlayerOrg(playerid); if(response == 0) { ShowPlayerDialog(playerid, 8547, DIALOG_STYLE_LIST, "Deinicões da Org", "Cargo 1 Limites\nCargo 2 Limites\nCargo 3 Limites\nCargo 4 Limites\nCargo 5 e Lideres\nPedido Materiais\nPedido Maconha\nSalarios", "Selecionar", "Voltar"); return true; } if(response >= 1) { if(definicao < 1)return SendClientMessage(playerid, COLOR_GRAD1, "Valor invalido!"); CofreOrg[org][mMateriais] = definicao; SalvarmMateriais(org,definicao); format(string,sizeof(string)," Voce paga R$%s por %d materiais.",ConvertMoney(CofreOrg[org][mMateriais]), CofreOrg[org][cMateriais]); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); return true; } } if(dialogid == 8553) { new org = GetPlayerOrg(playerid); if(response == 0) { ShowPlayerDialog(playerid, 8547, DIALOG_STYLE_LIST, "Deinicões da Org", "Cargo 1 Limites\nCargo 2 Limites\nCargo 3 Limites\nCargo 4 Limites\nCargo 5 e Lideres\nPedido Materiais\nPedido Maconha\nSalarios", "Selecionar", "Voltar"); return true; } if(response >= 1) { if(listitem == 0) { format(string,sizeof(string),"Defina a quantidade de Balas de Eagle\nAtualmente esta definido em: %d Balas",CofreOrg[org][dEaglec4]); ShowPlayerDialog(playerid, 8675, DIALOG_STYLE_INPUT, "Definicao de Eagle", string, "Salvar", "Cancelar"); return true; } if(listitem == 1) { format(string,sizeof(string),"Defina a quantidade de Balas de ShotGun\nAtualmente esta definido em: %d Balas",CofreOrg[org][dShotc4]); ShowPlayerDialog(playerid, 8676, DIALOG_STYLE_INPUT, "Definicao de ShotGun", string, "Salvar", "Cancelar"); return true; } if(listitem == 2) { format(string,sizeof(string),"Defina a quantidade de Balas de MP5\nAtualmente esta definido em: %d Balas",CofreOrg[org][dMP5c4]); ShowPlayerDialog(playerid, 8677, DIALOG_STYLE_INPUT, "Definicao de MP5", string, "Salvar", "Cancelar"); return true; } if(listitem == 3) { format(string,sizeof(string),"Defina a quantidade de Balas de AK47\nAtualmente esta definido em: %d Balas",CofreOrg[org][dAKc4]); ShowPlayerDialog(playerid, 8678, DIALOG_STYLE_INPUT, "Definicao de AK47", string, "Salvar", "Cancelar"); return true; } if(listitem == 4) { format(string,sizeof(string),"Defina a quantidade de Balas de Rifle\nAtualmente esta definido em: %d Balas",CofreOrg[org][dRiflec4]); ShowPlayerDialog(playerid, 8679, DIALOG_STYLE_INPUT, "Definicao de Rifle", string, "Salvar", "Cancelar"); return true; } } return true; } if(dialogid == 8675) { new org = GetPlayerOrg(playerid); new definicao = strval(inputtext); if(response >= 1) { if(definicao > 800) { SendClientMessage(playerid,COLOR_LIGHTRED,"[ERRO] Voce definiu um Valor muito alto"); return 1; } if(definicao < 1)return SendClientMessage(playerid, COLOR_GRAD1, "Valor invalido!"); format(string,sizeof(string),"Voce definiu balas de Eagle para: %d.",definicao); SendClientMessage(playerid,COLOR_LIGHTBLUE,string); CofreOrg[org][dEaglec4] = definicao; dSalvarEaglec4(org,definicao); ShowPlayerDialog(playerid, 8553, DIALOG_STYLE_LIST, "Definicões para Cargo 4", "Balas de Eagle\nBalas de ShotGun\nBalas de MP5\nBalas de AK-47\nBalas de Sniper", "Selecionar", "Sair"); } return true; } if(dialogid == 8676) { new org = GetPlayerOrg(playerid); new definicao = strval(inputtext); if(response >= 1) { if(definicao > 800) { SendClientMessage(playerid,COLOR_LIGHTRED,"[ERRO] Voce definiu um Valor muito alto"); return 1; } if(definicao < 1)return SendClientMessage(playerid, COLOR_GRAD1, "Valor invalido!"); format(string,sizeof(string),"Voce definiu balas de ShotGun para: %d.",definicao); SendClientMessage(playerid,COLOR_LIGHTBLUE,string); CofreOrg[org][dShotc4] = definicao; dSalvarShotc4(org,definicao); ShowPlayerDialog(playerid, 8553, DIALOG_STYLE_LIST, "Definicões para Cargo 4", "Balas de Eagle\nBalas de ShotGun\nBalas de MP5\nBalas de AK-47\nBalas de Sniper", "Selecionar", "Sair"); } return true; } if(dialogid == 8677) { new org = GetPlayerOrg(playerid); new definicao = strval(inputtext); if(response >= 1) { if(definicao > 800) { SendClientMessage(playerid,COLOR_LIGHTRED,"[ERRO] Voce definiu um Valor muito alto"); return 1; } if(definicao < 1)return SendClientMessage(playerid, COLOR_GRAD1, "Valor invalido!"); format(string,sizeof(string),"Voce definiu balas de MP5 para: %d.",definicao); SendClientMessage(playerid,COLOR_LIGHTBLUE,string); CofreOrg[org][dMP5c4] = definicao; dSalvarMP5c4(org,definicao); ShowPlayerDialog(playerid, 8553, DIALOG_STYLE_LIST, "Definicões para Cargo 4", "Balas de Eagle\nBalas de ShotGun\nBalas de MP5\nBalas de AK-47\nBalas de Sniper", "Selecionar", "Sair"); } return true; } if(dialogid == 8678) { new org = GetPlayerOrg(playerid); new definicao = strval(inputtext); if(response >= 1) { if(definicao > 800) { SendClientMessage(playerid,COLOR_LIGHTRED,"[ERRO] Voce definiu um Valor muito alto"); return 1; } if(definicao < 1)return SendClientMessage(playerid, COLOR_GRAD1, "Valor invalido!"); format(string,sizeof(string),"Voce definiu balas de AK47 para: %d.",definicao); SendClientMessage(playerid,COLOR_LIGHTBLUE,string); CofreOrg[org][dAKc4] = definicao; dSalvarAKc4(org,definicao); ShowPlayerDialog(playerid, 8553, DIALOG_STYLE_LIST, "Definicões para Cargo 4", "Balas de Eagle\nBalas de ShotGun\nBalas de MP5\nBalas de AK-47\nBalas de Sniper", "Selecionar", "Sair"); } return true; } if(dialogid == 8679) { new org = GetPlayerOrg(playerid); new definicao = strval(inputtext); if(response >= 1) { if(definicao > 800) { SendClientMessage(playerid,COLOR_LIGHTRED,"[ERRO] Voce definiu um Valor muito alto"); return 1; } if(definicao < 1)return SendClientMessage(playerid, COLOR_GRAD1, "Valor invalido!"); format(string,sizeof(string),"Voce definiu balas de Rifle para: %d.",definicao); SendClientMessage(playerid,COLOR_LIGHTBLUE,string); CofreOrg[org][dRiflec4] = definicao; dSalvarRiflec4(org,definicao); ShowPlayerDialog(playerid, 8553, DIALOG_STYLE_LIST, "Definicões para Cargo 4", "Balas de Eagle\nBalas de ShotGun\nBalas de MP5\nBalas de AK-47\nBalas de Sniper", "Selecionar", "Sair"); } return true; } if(dialogid == 8549) { new org = GetPlayerOrg(playerid); new definicao = strval(inputtext); if(response >= 1) { if(definicao > 500) { SendClientMessage(playerid,COLOR_LIGHTRED,"[ERRO] Voce definiu um Valor muito alto"); return 1; } if(definicao < 1)return SendClientMessage(playerid, COLOR_GRAD1, "Valor invalido!"); format(string,sizeof(string),"Voce definiu o total de maconha para: %d.",definicao); SendClientMessage(playerid,COLOR_LIGHTBLUE,string); CofreOrg[org][dMaconha] = definicao; dSalvarMaconha(org,definicao); } return true; } if(dialogid == 8555) { new org = GetPlayerOrg(playerid); new definicao = strval(inputtext); if(response >= 1) { if(definicao > 800) { SendClientMessage(playerid,COLOR_LIGHTRED,"[ERRO] Voce definiu um Valor muito alto"); return 1; } if(definicao < 1)return SendClientMessage(playerid, COLOR_GRAD1, "Valor invalido!"); format(string,sizeof(string),"Voce definiu balas de Eagle para: %d.",definicao); SendClientMessage(playerid,COLOR_LIGHTBLUE,string); CofreOrg[org][dEaglec1] = definicao; } return true; } if(dialogid == 8556) { new org = GetPlayerOrg(playerid); new definicao = strval(inputtext); if(response >= 1) { if(definicao < 1)return SendClientMessage(playerid, COLOR_GRAD1, "Valor invalido!"); format(string,sizeof(string),"Voce definiu balas de ShotGun para: %d.",definicao); SendClientMessage(playerid,COLOR_LIGHTBLUE,string); CofreOrg[org][dShotc1] = definicao; } return true; } if(dialogid == 8557) { new org = GetPlayerOrg(playerid); new definicao = strval(inputtext); if(response >= 1) { if(definicao < 1)return SendClientMessage(playerid, COLOR_GRAD1, "Valor invalido!"); format(string,sizeof(string),"Voce definiu balas de MP5 para: %d.",definicao); SendClientMessage(playerid,COLOR_LIGHTBLUE,string); CofreOrg[org][dMP5c1] = definicao; } return true; } if(dialogid == 8558) { new org = GetPlayerOrg(playerid); new definicao = strval(inputtext); if(response >= 1) { if(definicao < 1)return SendClientMessage(playerid, COLOR_GRAD1, "Valor invalido!"); format(string,sizeof(string),"Voce definiu balas de AK47 para: %d.",definicao); SendClientMessage(playerid,COLOR_LIGHTBLUE,string); CofreOrg[org][dAKc1] = definicao; } return true; } if(dialogid == 8559) { new org = GetPlayerOrg(playerid); new definicao = strval(inputtext); if(response >= 1) { if(definicao < 1)return SendClientMessage(playerid, COLOR_GRAD1, "Valor invalido!"); format(string,sizeof(string),"Voce definiu balas de Rifle para: %d.",definicao); SendClientMessage(playerid,COLOR_LIGHTBLUE,string); CofreOrg[org][dRiflec1] = definicao; } return true; } if(dialogid == 8550) { new org = GetPlayerOrg(playerid); if(response == 0) { ShowPlayerDialog(playerid, 8547, DIALOG_STYLE_LIST, "Deinicões da Org", "Cargo 1 Limites\nCargo 2 Limites\nCargo 3 Limites\nCargo 4 Limites\nCargo 5 e Lideres\nPedido Materiais\nPedido Maconha\nSalarios", "Selecionar", "Voltar"); return true; } if(response >= 1) { if(listitem == 0) { format(string,sizeof(string),"Defina a quantidade de Balas de Eagle\nAtualmente esta definido em: %d Balas",CofreOrg[org][dEaglec1]); ShowPlayerDialog(playerid, 8560, DIALOG_STYLE_INPUT, "Definicao de Eagle", string, "Salvar", "Cancelar"); return true; } if(listitem == 1) { format(string,sizeof(string),"Defina a quantidade de Balas de ShotGun\nAtualmente esta definido em: %d Balas",CofreOrg[org][dShotc1]); ShowPlayerDialog(playerid, 8561, DIALOG_STYLE_INPUT, "Definicao de ShotGun", string, "Salvar", "Cancelar"); return true; } if(listitem == 2) { format(string,sizeof(string),"Defina a quantidade de Balas de MP5\nAtualmente esta definido em: %d Balas",CofreOrg[org][dMP5c1]); ShowPlayerDialog(playerid, 8562, DIALOG_STYLE_INPUT, "Definicao de MP5", string, "Salvar", "Cancelar"); return true; } if(listitem == 3) { format(string,sizeof(string),"Defina a quantidade de Balas de AK47\nAtualmente esta definido em: %d Balas",CofreOrg[org][dAKc1]); ShowPlayerDialog(playerid, 8563, DIALOG_STYLE_INPUT, "Definicao de AK47", string, "Salvar", "Cancelar"); return true; } if(listitem == 4) { format(string,sizeof(string),"Defina a quantidade de Balas de Rifle\nAtualmente esta definido em: %d Balas",CofreOrg[org][dRiflec1]); ShowPlayerDialog(playerid, 8564, DIALOG_STYLE_INPUT, "Definicao de Rifle", string, "Salvar", "Cancelar"); return true; } } return true; } if(dialogid == 8890) { new grana = GetPlayerMoney(playerid); if(response == 0) { return true; } if(response >= 1) { if(grana < 10000000) { SendClientMessage(playerid, COLOR_GREY, "Voce nao tem R$10.000.000!"); return 1; } if(listitem == 0) { SendClientMessage(playerid, 0xFE85E0AA, "Voce comprou um Dildo (-R$10000)"); GivePlayerWeapon(playerid, 10, 1); GiveDinheiro(playerid, - 100000); return true; } if(listitem == 1) { SendClientMessage(playerid, 0xFE85E0AA, "Voce comprou um Dildo2 (-R$10000)"); GivePlayerWeapon(playerid, 11, 1); GiveDinheiro(playerid, - 100000); return true; } if(listitem == 2) { SendClientMessage(playerid, 0xFE85E0AA, "Voce comprou um Vibrador (-R$10000)"); GivePlayerWeapon(playerid, 12, 1); GiveDinheiro(playerid, - 100000); return true; } if(listitem == 3) { SendClientMessage(playerid, 0xFE85E0AA, "Voce comprou um Vibrador2 (-R$10000)"); GivePlayerWeapon(playerid, 13, 1); GiveDinheiro(playerid, - 100000); return true; } if(listitem == 4) { SendClientMessage(playerid, 0xFE85E0AA, "Voce comprou uma Flor (-R$10000)"); GivePlayerWeapon(playerid, 14, 1); GiveDinheiro(playerid, - 100000); return true; } } return true; } if(dialogid == 10899) { new grana = GetPlayerMoney(playerid); if(response == 0) { return true; } if(response >= 1) { if(listitem == 0) { if(PlayerInfo[playerid][pExplosivos] == 5) return SendClientMessage(playerid, COLOR_GRAD1, "| INFO | Você pode ter no maximo 5 explosivos!"); if(GetPlayerMoney(playerid) < 10000) return SendClientMessage(playerid, COLOR_GRAD1, "| ERRO | Voce não pode pagar pelo explosivo (R$10.000)"); SendClientMessage(playerid, 0xA9A9A9FF, "|!| {FFFFFF}Você comprou um {A9A9A9}Explosivo C4{FFFFFF} e ele foi guardado em seu Inventário.!"); GiveDinheiro(playerid, -10000); PlayerInfo[playerid][pExplosivos]++; SendFamilyMessage(donoMercadoNegro, 0xA9A9A9FF, "|!| {FFFFFF}Alguem comprou um {A9A9A9}Explosivo C4{FFFFFF} no mercado negro, voces lucraram {A9A9A9}$10.000{FFFFFF} !"); DepositarGranaOrg(donoMercadoNegro,10000); SBizzInfo[12][sbTill] += 5000; ExtortionSBiz(12, 5000); AddItem(playerid, 1654, 1); return true; } if(listitem == 1) { if(PlayerInfo[playerid][pSementes] > 9) return SendClientMessage(playerid, COLOR_GRAD1, "| INFO | Voce pode ter no maximo 10 sementes de maconha!"); if(GetPlayerMoney(playerid) < 10000) return SendClientMessage(playerid, COLOR_GRAD1, "| ERRO | Voce nao pode pagar pela semente (R$10.000)"); PlayerInfo[playerid][pSementes] ++; SendClientMessage(playerid, 0xA9A9A9FF, "|!| {FFFFFF}Você comprou 1 {A9A9A9}Semente de Maconha{FFFFFF} e elas foram guardadas em seu Inventário.!"); GiveDinheiro(playerid, -10000); DepositarGranaOrg(donoMercadoNegro,10000); SBizzInfo[12][sbTill] += 5000; ExtortionSBiz(12, 5000); SendFamilyMessage(donoMercadoNegro, 0xA9A9A9FF, "|!| {FFFFFF}Alguem comprou 1 {A9A9A9}Semente de Maconha{FFFFFF} no mercado negro, voces lucraram {A9A9A9}$10.000{FFFFFF} !"); AddItem(playerid, 2901, 1); return true; } if(listitem == 2) { if(grana < 5000) { SendClientMessage(playerid, 0xFFFFFFAA, "| ERRO | Voce nao tem dinheiro suficiente!"); return 1; } SBizzInfo[12][sbTill] += 2500; ExtortionSBiz(12, 2500); SendClientMessage(playerid, 0xA9A9A9FF, "|!| {FFFFFF}Você comprou 3 {A9A9A9}Garrafas de Molotov{FFFFFF} e elas foram guardadas em seu Inventário.!"); SendFamilyMessage(donoMercadoNegro, 0xA9A9A9FF, "|!| {FFFFFF}Alguem comprou 3 {A9A9A9}Garrafas de Molotov{FFFFFF} no mercado negro, voces lucraram {A9A9A9}$5.000{FFFFFF} !"); GiveDinheiro(playerid, - 5000); GivePlayerWeapon(playerid, 18,3); return true; } if(listitem == 3) { if(GetPlayerMoney(playerid) >= 14500){ for(new i = 0; i < 75; i++){ if(InventarioInfo[playerid][i][iSlot] == 19382){ InventarioInfo[playerid][i][iSlot] = 365; InventarioInfo[playerid][i][iUnidades] = 1; GivePlayerMoneyEx(playerid, -15); SBizzInfo[12][sbTill] += 7500; ExtortionSBiz(12, 7500); DepositarGranaOrg(donoMercadoNegro,15); SendClientMessage(playerid, 0xA9A9A9FF, "|!| {FFFFFF}Você comprou 1 {A9A9A9}Spray{FFFFFF} e ele foi guardado em seu Inventário.!"); SendFamilyMessage(donoMercadoNegro, 0xA9A9A9FF, "|!| {FFFFFF}Alguem comprou 1 {A9A9A9}Spray{FFFFFF} no mercado negro, voces lucraram {A9A9A9}$14.500{FFFFFF} !"); return 1; } } SendClientMessage(playerid, COLOR_LIGHTRED, "* Seu inventario esta cheio!"); } else { SendClientMessage(playerid, COLOR_WHITE, "Voce nao pode pagar por isto (R$15)"); } } if(listitem == 4) { if(GetPlayerMoney(playerid) >= 45000){ for(new i = 0; i < 75; i++){ if(InventarioInfo[playerid][i][iSlot] == 19382){ InventarioInfo[playerid][i][iSlot] = 368; InventarioInfo[playerid][i][iUnidades] = 1; GivePlayerMoneyEx(playerid, -45000); DepositarGranaOrg(donoMercadoNegro,45000); SBizzInfo[12][sbTill] += 22500; ExtortionSBiz(12, 22500); SendClientMessage(playerid, 0xA9A9A9FF, "|!| {FFFFFF}Você comprou 1 {A9A9A9}NightVision{FFFFFF} e ele foi guardado em seu Inventário.!"); SendFamilyMessage(donoMercadoNegro, 0xA9A9A9FF, "|!| {FFFFFF}Alguem comprou 1 {A9A9A9}NightVision{FFFFFF} no mercado negro, voces lucraram {A9A9A9}$45.000{FFFFFF} !"); return 1; } } SendClientMessage(playerid, COLOR_LIGHTRED, "* Seu inventario esta cheio!"); } else{ SendClientMessage(playerid, COLOR_WHITE, "Voce nao pode pagar por isto (R$45.000)"); } } if(listitem == 5) { if(GetPlayerMoney(playerid) >= 45000){ for(new i = 0; i < 75; i++){ if(InventarioInfo[playerid][i][iSlot] == 19382){ InventarioInfo[playerid][i][iSlot] = 369; InventarioInfo[playerid][i][iUnidades] = 1; GivePlayerMoneyEx(playerid, -45000); DepositarGranaOrg(donoMercadoNegro,45000); SBizzInfo[12][sbTill] += 22500; ExtortionSBiz(12, 22500); SendClientMessage(playerid, 0xA9A9A9FF, "|!| {FFFFFF}Você comprou 1 {A9A9A9}Óculos Infravermelho{FFFFFF} e ele foi guardado em seu Inventário.!"); SendFamilyMessage(donoMercadoNegro, 0xA9A9A9FF, "|!| {FFFFFF}Alguem comprou 1 {A9A9A9}Óculos Infravermelho{FFFFFF} no mercado negro, voces lucraram {A9A9A9}$45.000{FFFFFF} !"); return 1; } } SendClientMessage(playerid, COLOR_LIGHTRED, "* Seu inventario esta cheio!"); } else{ SendClientMessage(playerid, COLOR_WHITE, "Voce nao pode pagar por isto (R$45.000)"); } } if(listitem == 6) { if(GetPlayerMoney(playerid) >= 800000){ for(new i = 0; i < 75; i++){ if(InventarioInfo[playerid][i][iSlot] == 19382){ InventarioInfo[playerid][i][iSlot] = 3016; InventarioInfo[playerid][i][iUnidades] = 1; GivePlayerMoneyEx(playerid, -200000); DepositarGranaOrg(donoMercadoNegro,200000); SBizzInfo[12][sbTill] += 400000; ExtortionSBiz(12, 400000); SendClientMessage(playerid, 0xA9A9A9FF, "|!| {FFFFFF}Você comprou 1 {A9A9A9}Caixa de Equipamentos (P){FFFFFF} e ela foi guardada em seu Inventário.!"); SendFamilyMessage(donoMercadoNegro, 0xA9A9A9FF, "|!| {FFFFFF}Alguem comprou 1 {A9A9A9}Caixa de Equipamentos (P){FFFFFF} no mercado negro, voces lucraram {A9A9A9}$800.000{FFFFFF} !"); return 1; } } SendClientMessage(playerid, COLOR_LIGHTRED, "* Seu inventario esta cheio!"); } else{ SendClientMessage(playerid, COLOR_WHITE, "Voce nao pode pagar por isto (R$200.000)"); } } if(listitem == 7) { if(GetPlayerMoney(playerid) >= 1000000){ for(new i = 0; i < 75; i++){ if(InventarioInfo[playerid][i][iSlot] == 19382){ InventarioInfo[playerid][i][iSlot] = 3052; InventarioInfo[playerid][i][iUnidades] = 1; GivePlayerMoneyEx(playerid, -500000); DepositarGranaOrg(donoMercadoNegro,500000); SBizzInfo[12][sbTill] += 500000; ExtortionSBiz(12, 500000); SendClientMessage(playerid, 0xA9A9A9FF, "|!| {FFFFFF}Você comprou 1 {A9A9A9}Caixa de Equipamentos (M){FFFFFF} e ela foi guardada em seu Inventário.!"); SendFamilyMessage(donoMercadoNegro, 0xA9A9A9FF, "|!| {FFFFFF}Alguem comprou 1 {A9A9A9}Caixa de Equipamentos (M){FFFFFF} no mercado negro, voces lucraram {A9A9A9}$1.000.000{FFFFFF} !"); return 1; } } SendClientMessage(playerid, COLOR_LIGHTRED, "* Seu inventario esta cheio!"); } else{ SendClientMessage(playerid, COLOR_WHITE, "Voce nao pode pagar por isto (R$500.000)"); } } if(listitem == 8) { if(GetPlayerMoney(playerid) >= 2000000){ for(new i = 0; i < 75; i++){ if(InventarioInfo[playerid][i][iSlot] == 19382){ InventarioInfo[playerid][i][iSlot] = 3014; InventarioInfo[playerid][i][iUnidades] = 1; GivePlayerMoneyEx(playerid, -800000); DepositarGranaOrg(donoMercadoNegro,800000); SBizzInfo[12][sbTill] += 1000000; ExtortionSBiz(12, 1000000); SendClientMessage(playerid, 0xA9A9A9FF, "|!| {FFFFFF}Você comprou 1 {A9A9A9}Caixa de Equipamentos (M){FFFFFF} e ela foi guardada em seu Inventário.!"); SendFamilyMessage(donoMercadoNegro, 0xA9A9A9FF, "|!| {FFFFFF}Alguem comprou 1 {A9A9A9}Caixa de Equipamentos (G){FFFFFF} no mercado negro, voces lucraram {A9A9A9}$2.000.000{FFFFFF} !"); return 1; } } SendClientMessage(playerid, COLOR_LIGHTRED, "* Seu inventario esta cheio!"); } else{ SendClientMessage(playerid, COLOR_WHITE, "Voce nao pode pagar por isto (R$800000)"); } } if(listitem == 9) { if(PlayerInfo[playerid][pKitCocaina] == 5) return SendClientMessage(playerid, COLOR_GRAD1, "| INFO | Você pode ter no maximo 5 kits para cocaína!"); if(GetPlayerMoney(playerid) < 25000) return SendClientMessage(playerid, COLOR_GRAD1, "| ERRO | Voce não pode pagar pelo kit (R$25.000)"); SendClientMessage(playerid, 0xA9A9A9FF, "|!| {FFFFFF}Você comprou um {A9A9A9}KIT Cocaína{FFFFFF} e ele foi guardado em seu Inventário.!"); GiveDinheiro(playerid, -25000); PlayerInfo[playerid][pKitCocaina]++; SendFamilyMessage(donoMercadoNegro, 0xA9A9A9FF, "|!| {FFFFFF}Alguem comprou um {A9A9A9}KIT Cocaína{FFFFFF} no mercado negro, voces lucraram {A9A9A9}$10.000{FFFFFF} !"); DepositarGranaOrg(donoMercadoNegro,25000); SBizzInfo[12][sbTill] += 12500; ExtortionSBiz(12, 12500); AddItem(playerid, 1575, 1); return true; } if(listitem == 10) { if(PlayerInfo[playerid][pKitCrack] == 5) return SendClientMessage(playerid, COLOR_GRAD1, "| INFO | Você pode ter no maximo 5 kits para crack!"); if(GetPlayerMoney(playerid) < 20000) return SendClientMessage(playerid, COLOR_GRAD1, "| ERRO | Voce não pode pagar pelo kit (R$20.000)"); SendClientMessage(playerid, 0xA9A9A9FF, "|!| {FFFFFF}Você comprou um {A9A9A9}KIT Cocaína{FFFFFF} e ele foi guardado em seu Inventário.!"); GiveDinheiro(playerid, -20000); PlayerInfo[playerid][pKitCrack]++; SendFamilyMessage(donoMercadoNegro, 0xA9A9A9FF, "|!| {FFFFFF}Alguem comprou um {A9A9A9}KIT Cocaína{FFFFFF} no mercado negro, voces lucraram {A9A9A9}$10.000{FFFFFF} !"); DepositarGranaOrg(donoMercadoNegro,20000); SBizzInfo[12][sbTill] += 12500; ExtortionSBiz(12, 12500); AddItem(playerid, 1580, 1); return true; } } return true; } if(dialogid == 10798) { new stringatendimento[500]; if(response == 0) { return true; } if(response >= 1) { if(listitem == 0) { if(PlayerInfo[playerid][SenhaFila] > 0) return SendClientMessage(playerid, 0x00FFFFFF, "[ERRO]: {FFFFFF}Voce ja pegou uma senha, Aguarde !"); if(DarNota[playerid] == true) return SendClientMessage(playerid, 0x00FFFFFF, "[ERRO]: {FFFFFF}Voce nao terminou o último atendimento. Use /terminar"); PlayerInfo[playerid][SenhaFila]=senha; senha++; format(stringatendimento, 500, "[Atendimento] %s solicitou um atendimento(/atender %d) {FFFFFF}SEM URGENCIA{EE82EE}, Assunto %s",PlayerName(playerid), playerid,VarChatAtendimento[playerid]); ChatHelperAdmin(0xEE82EEFF, stringatendimento); SendClientMessage(playerid, 0xFFFFFFFF, "{FFFFFF}Voce solicitou atendimento {FFFFFF}SEM URGENCIA{FFFFFF}, aguarde um admin atender!"); SetPVarString(playerid, "varPrioridade", "{FFFFFF}SEM URGENCIA"); return true; } if(listitem == 1) { if(PlayerInfo[playerid][SenhaFila] > 0) return SendClientMessage(playerid, 0x00FFFFFF, "[ERRO]: {FFFFFF}Voce ja pegou uma senha, Aguarde !"); if(DarNota[playerid] == true) return SendClientMessage(playerid, 0x00FFFFFF, "[ERRO]: {FFFFFF}Voce nao terminou o último atendimento. Use /terminar"); PlayerInfo[playerid][SenhaFila]=senha; senha++; format(stringatendimento, 500, "[Atendimento] %s solicitou um atendimento(/atender %d) {FFFFFF}URGENTE{EE82EE}, Assunto %s",PlayerName(playerid), playerid,VarChatAtendimento[playerid]); ChatHelperAdmin(0xEE82EEFF, stringatendimento); SendClientMessage(playerid, 0xFFFFFFFF, "{FFFFFF}Voce solicitou atendimento {FFFFFF}URGENTE{FFFFFF}, aguarde um admin atender!"); SetPVarString(playerid, "varPrioridade", "{FFFFFF}URGENTE"); return true; } if(listitem == 2) { if(PlayerInfo[playerid][SenhaFila] > 0) return SendClientMessage(playerid, 0x00FFFFFF, "[ERRO]: {FFFFFF}Voce ja pegou uma senha, Aguarde !"); if(DarNota[playerid] == true) return SendClientMessage(playerid, 0x00FFFFFF, "[ERRO]: {FFFFFF}Voce nao terminou o último atendimento. Use /terminar"); PlayerInfo[playerid][SenhaFila]=senha; senha++; format(stringatendimento, 500, "[Atendimento] %s solicitou um atendimento(/atender %d) {FFFFFF}MUITO URGENTE{EE82EE}, Assunto %s",PlayerName(playerid), playerid,VarChatAtendimento[playerid]); ChatHelperAdmin(0xEE82EEFF, stringatendimento); SendClientMessage(playerid, 0xFFFFFFFF, "{FFFFFF}Voce solicitou atendimento de prioridade {FFFFFF}MUITO URGENTE{FFFFFF}, aguarde um admin atender!"); SetPVarString(playerid, "varPrioridade", "{FFFFFF}MUITO URGENTE"); return true; } if(listitem == 3) { SetPVarInt(playerid, #VarFloodChatrl, gettime()+120); new thestring[256]; GetPlayerName(playerid, sendername, 24); format(thestring, 128, "Relatorio de %s(%d): %s",sendername, playerid,VarChatAtendimento[playerid]); ChatHelperAdmin(COLOR_YELLOW,thestring); VarChatAtendimento[playerid] = 0; SendClientMessage(playerid, COR_AMARELO, "Seu relatorio foi enviado aos admins, aguarde uma resposta...(/n Chat dúvida global)"); return true; } } return true; } if(dialogid == 10898) { if(response == 0) { return true; } if(response >= 1) { if(listitem == 0) { GetPlayerName(playerid, sendername, sizeof(sendername)); PlayAudioStreamForPlayer(playerid, "https://www.dropbox.com/s/uh5c8cso8xgf8gh/1Revista%20de%20rotina.mp3?dl=1"); format(string, sizeof(string), "[%s]%s: Revista de rotina porfavor colabore de /hd ou sera preso!",NomeORG(playerid), sendername); ProxDetector(60.0, playerid, string,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW); return true; } if(listitem == 1) { GetPlayerName(playerid, sendername, sizeof(sendername)); PlayAudioStreamForPlayer(playerid, "https://www.dropbox.com/s/uh8sssbxsqyuzd3/2Voc%C3%AA%20%C3%A9%20procurado%20pela%20pol%C3%ADcia.mp3?dl=1"); format(string, sizeof(string), "[%s]%s: Voce e procurado pela policia de /hd ou sera preso!",NomeORG(playerid), sendername); ProxDetector(60.0, playerid, string,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW); return true; } if(listitem == 2) { GetPlayerName(playerid, sendername, sizeof(sendername)); PlayAudioStreamForPlayer(playerid, "https://www.dropbox.com/s/l96ag06d45wj3xa/3Liberado.mp3?dl=1"); format(string, sizeof(string), "[%s]%s: Agradecemos pela sua colaboracao esta liberado!",NomeORG(playerid), sendername); ProxDetector(60.0, playerid, string,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW); return true; } if(listitem == 3) { GetPlayerName(playerid, sendername, sizeof(sendername)); PlayAudioStreamForPlayer(playerid, "https://www.dropbox.com/s/dimd3lzyw2c5s7x/4Saia%20do%20carro%20com%20as%20m%C3%A3os%20para%20cima.mp3?dl=1"); format(string, sizeof(string), "[%s]%s: Saia do carro com as maos para cima!",NomeORG(playerid), sendername); ProxDetector(60.0, playerid, string,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW); return true; } if(listitem == 4) { GetPlayerName(playerid, sendername, sizeof(sendername)); PlayAudioStreamForPlayer(playerid, "https://www.dropbox.com/s/o3rnn2u7k6b2hne/5Sabemos%20que%20voc%C3%AA%20est%C3%A1%20ai%20saia.mp3?dl=1"); format(string, sizeof(string), "[%s]%s: Sabemos que voce esta ai saia!",NomeORG(playerid), sendername); ProxDetector(60.0, playerid, string,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW); return true; } if(listitem == 5) { GetPlayerName(playerid, sendername, sizeof(sendername)); PlayAudioStreamForPlayer(playerid, "https://www.dropbox.com/s/n6zp6wculr5mlvx/6Voc%C3%AA%20t%C3%AAm%2010segundos%20para%20se%20render.mp3?dl=1"); format(string, sizeof(string), "[%s]%s: Voce tem 10segundos para se render dando /hd ou entao abriremos fogo!",NomeORG(playerid), sendername); ProxDetector(60.0, playerid, string,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW); return true; } if(listitem == 6) { GetPlayerName(playerid, sendername, sizeof(sendername)); PlayAudioStreamForPlayer(playerid, "https://www.dropbox.com/s/6evcpg4u656ek3n/7Renda-se%20ou%20abriremos%20fogo.mp3?dl=1"); format(string, sizeof(string), "[%s]%s: Renda-se ou abriremos fogo!",NomeORG(playerid), sendername); ProxDetector(60.0, playerid, string,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW); return true; } } return true; } if(dialogid == 8560) { new org = GetPlayerOrg(playerid); new definicao = strval(inputtext); if(response >= 1) { if(definicao > 800) { SendClientMessage(playerid,COLOR_LIGHTRED,"[ERRO] Voce definiu um Valor muito alto"); return 1; } if(definicao < 1)return SendClientMessage(playerid, COLOR_GRAD1, "Valor invalido!"); format(string,sizeof(string),"Voce definiu balas de Eagle para: %d.",definicao); SendClientMessage(playerid,COLOR_LIGHTBLUE,string); CofreOrg[org][dEaglec1] = definicao; dSalvarEaglec1(org,definicao); ShowPlayerDialog(playerid, 8550, DIALOG_STYLE_LIST, "Definicões para Cargo 1", "Balas de Eagle\nBalas de ShotGun\nBalas de MP5", "Selecionar", "Sair"); } return true; } if(dialogid == 8561) { new org = GetPlayerOrg(playerid); new definicao = strval(inputtext); if(response >= 1) { if(definicao > 800) { SendClientMessage(playerid,COLOR_LIGHTRED,"[ERRO] Voce definiu um Valor muito alto"); return 1; } if(definicao < 1)return SendClientMessage(playerid, COLOR_GRAD1, "Valor invalido!"); format(string,sizeof(string),"Voce definiu balas de ShotGun para: %d.",definicao); SendClientMessage(playerid,COLOR_LIGHTBLUE,string); CofreOrg[org][dShotc1] = definicao; dSalvarShotc1(org,definicao); ShowPlayerDialog(playerid, 8550, DIALOG_STYLE_LIST, "Definicões para Cargo 1", "Balas de Eagle\nBalas de ShotGun\nBalas de MP5", "Selecionar", "Sair"); } return true; } if(dialogid == 8562) { new org = GetPlayerOrg(playerid); new definicao = strval(inputtext); if(response >= 1) { if(definicao > 800) { SendClientMessage(playerid,COLOR_LIGHTRED,"[ERRO] Voce definiu um Valor muito alto"); return 1; } if(definicao < 1)return SendClientMessage(playerid, COLOR_GRAD1, "Valor invalido!"); format(string,sizeof(string),"Voce definiu balas de MP5 para: %d.",definicao); SendClientMessage(playerid,COLOR_LIGHTBLUE,string); CofreOrg[org][dMP5c1] = definicao; dSalvarMP5c1(org,definicao); ShowPlayerDialog(playerid, 8550, DIALOG_STYLE_LIST, "Definicões para Cargo 1", "Balas de Eagle\nBalas de ShotGun\nBalas de MP5", "Selecionar", "Sair"); } return true; } if(dialogid == 8563) { new org = GetPlayerOrg(playerid); new definicao = strval(inputtext); if(response >= 1) { if(definicao > 800) { SendClientMessage(playerid,COLOR_LIGHTRED,"[ERRO] Voce definiu um Valor muito alto"); return 1; } if(definicao < 1)return SendClientMessage(playerid, COLOR_GRAD1, "Valor invalido!"); format(string,sizeof(string),"Voce definiu balas de AK47 para: %d.",definicao); SendClientMessage(playerid,COLOR_LIGHTBLUE,string); CofreOrg[org][dAKc1] = definicao; dSalvarAKc1(org,definicao); ShowPlayerDialog(playerid, 8550, DIALOG_STYLE_LIST, "Definicões para Cargo 1", "Balas de Eagle\nBalas de ShotGun\nBalas de MP5", "Selecionar", "Sair"); } return true; } if(dialogid == 8564) { new org = GetPlayerOrg(playerid); new definicao = strval(inputtext); if(response >= 1) { if(definicao > 800) { SendClientMessage(playerid,COLOR_LIGHTRED,"[ERRO] Voce definiu um Valor muito alto"); return 1; } if(definicao < 1)return SendClientMessage(playerid, COLOR_GRAD1, "Valor invalido!"); format(string,sizeof(string),"Voce definiu balas de Rifle para: %d.",definicao); SendClientMessage(playerid,COLOR_LIGHTBLUE,string); CofreOrg[org][dRiflec1] = definicao; dSalvarRiflec1(org,definicao); ShowPlayerDialog(playerid, 8550, DIALOG_STYLE_LIST, "Definicões para Cargo 1", "Balas de Eagle\nBalas de ShotGun\nBalas de MP5", "Selecionar", "Sair"); } return true; } if(dialogid == 8551) { new org = GetPlayerOrg(playerid); if(response == 0) { ShowPlayerDialog(playerid, 8547, DIALOG_STYLE_LIST, "Deinicões da Org", "Cargo 1 Limites\nCargo 2 Limites\nCargo 3 Limites\nCargo 4 Limites\nCargo 5 e Lideres\nPedido Materiais\nPedido Maconha\nSalarios", "Selecionar", "Voltar"); return true; } if(response >= 1) { if(listitem == 0) { format(string,sizeof(string),"Defina a quantidade de Balas de Eagle\nAtualmente esta definido em: %d Balas",CofreOrg[org][dEaglec2]); ShowPlayerDialog(playerid, 8565, DIALOG_STYLE_INPUT, "Definicao de Eagle", string, "Salvar", "Cancelar"); return true; } if(listitem == 1) { format(string,sizeof(string),"Defina a quantidade de Balas de ShotGun\nAtualmente esta definido em: %d Balas",CofreOrg[org][dShotc2]); ShowPlayerDialog(playerid, 8566, DIALOG_STYLE_INPUT, "Definicao de ShotGun", string, "Salvar", "Cancelar"); return true; } if(listitem == 2) { format(string,sizeof(string),"Defina a quantidade de Balas de MP5\nAtualmente esta definido em: %d Balas",CofreOrg[org][dMP5c2]); ShowPlayerDialog(playerid, 8567, DIALOG_STYLE_INPUT, "Definicao de MP5", string, "Salvar", "Cancelar"); return true; } if(listitem == 3) { format(string,sizeof(string),"Defina a quantidade de Balas de AK47\nAtualmente esta definido em: %d Balas",CofreOrg[org][dAKc2]); ShowPlayerDialog(playerid, 8568, DIALOG_STYLE_INPUT, "Definicao de AK47", string, "Salvar", "Cancelar"); return true; } if(listitem == 4) { format(string,sizeof(string),"Defina a quantidade de Balas de Rifle\nAtualmente esta definido em: %d Balas",CofreOrg[org][dRiflec2]); ShowPlayerDialog(playerid, 8569, DIALOG_STYLE_INPUT, "Definicao de Rifle", string, "Salvar", "Cancelar"); return true; } } return true; } if(dialogid == 8565) { new org = GetPlayerOrg(playerid); new definicao = strval(inputtext); if(response >= 1) { if(definicao > 800) { SendClientMessage(playerid,COLOR_LIGHTRED,"[ERRO] Voce definiu um Valor muito alto"); return 1; } if(definicao < 1)return SendClientMessage(playerid, COLOR_GRAD1, "Valor invalido!"); format(string,sizeof(string),"Voce definiu balas de Eagle para: %d.",definicao); SendClientMessage(playerid,COLOR_LIGHTBLUE,string); CofreOrg[org][dEaglec2] = definicao; dSalvarEaglec2(org,definicao); ShowPlayerDialog(playerid, 8551, DIALOG_STYLE_LIST, "Definicões para Cargo 2", "Balas de Eagle\nBalas de ShotGun\nBalas de MP5", "Selecionar", "Sair"); } return true; } if(dialogid == 8566) { new org = GetPlayerOrg(playerid); new definicao = strval(inputtext); if(response >= 1) { if(definicao > 800) { SendClientMessage(playerid,COLOR_LIGHTRED,"[ERRO] Voce definiu um Valor muito alto"); return 1; } if(definicao < 1)return SendClientMessage(playerid, COLOR_GRAD1, "Valor invalido!"); format(string,sizeof(string),"Voce definiu balas de ShotGun para: %d.",definicao); SendClientMessage(playerid,COLOR_LIGHTBLUE,string); CofreOrg[org][dShotc2] = definicao; dSalvarShotc2(org,definicao); ShowPlayerDialog(playerid, 8551, DIALOG_STYLE_LIST, "Definicões para Cargo 2", "Balas de Eagle\nBalas de ShotGun\nBalas de MP5", "Selecionar", "Sair"); } return true; } if(dialogid == 8567) { new org = GetPlayerOrg(playerid); new definicao = strval(inputtext); if(response >= 1) { if(definicao > 800) { SendClientMessage(playerid,COLOR_LIGHTRED,"[ERRO] Voce definiu um Valor muito alto"); return 1; } if(definicao < 1)return SendClientMessage(playerid, COLOR_GRAD1, "Valor invalido!"); format(string,sizeof(string),"Voce definiu balas de MP5 para: %d.",definicao); SendClientMessage(playerid,COLOR_LIGHTBLUE,string); CofreOrg[org][dMP5c2] = definicao; dSalvarMP5c2(org,definicao); ShowPlayerDialog(playerid, 8551, DIALOG_STYLE_LIST, "Definicões para Cargo 2", "Balas de Eagle\nBalas de ShotGun\nBalas de MP5", "Selecionar", "Sair"); } return true; } if(dialogid == 8568) { new org = GetPlayerOrg(playerid); new definicao = strval(inputtext); if(response >= 1) { if(definicao > 800) { SendClientMessage(playerid,COLOR_LIGHTRED,"[ERRO] Voce definiu um Valor muito alto"); return 1; } if(definicao < 1)return SendClientMessage(playerid, COLOR_GRAD1, "Valor invalido!"); format(string,sizeof(string),"Voce definiu balas de AK47 para: %d.",definicao); SendClientMessage(playerid,COLOR_LIGHTBLUE,string); CofreOrg[org][dAKc2] = definicao; dSalvarAKc2(org,definicao); ShowPlayerDialog(playerid, 8551, DIALOG_STYLE_LIST, "Definicões para Cargo 2", "Balas de Eagle\nBalas de ShotGun\nBalas de MP5", "Selecionar", "Sair"); } return true; } if(dialogid == 8569) { new org = GetPlayerOrg(playerid); new definicao = strval(inputtext); if(response >= 1) { if(definicao > 800) { SendClientMessage(playerid,COLOR_LIGHTRED,"[ERRO] Voce definiu um Valor muito alto"); return 1; } if(definicao < 1)return SendClientMessage(playerid, COLOR_GRAD1, "Valor invalido!"); format(string,sizeof(string),"Voce definiu balas de Rifle para: %d.",definicao); SendClientMessage(playerid,COLOR_LIGHTBLUE,string); CofreOrg[org][dRiflec2] = definicao; dSalvarRiflec2(org,definicao); ShowPlayerDialog(playerid, 8551, DIALOG_STYLE_LIST, "Definicões para Cargo 2", "Balas de Eagle\nBalas de ShotGun\nBalas de MP5", "Selecionar", "Sair"); } return true; } if(dialogid == 8552) { new org = GetPlayerOrg(playerid); if(response == 0) { ShowPlayerDialog(playerid, 8547, DIALOG_STYLE_LIST, "Deinicões da Org", "Cargo 1 Limites\nCargo 2 Limites\nCargo 3 Limites\nCargo 4 Limites\nCargo 5 e Lideres\nPedido Materiais\nPedido Maconha\nSalarios", "Selecionar", "Voltar"); return true; } if(response >= 1) { if(listitem == 0) { format(string,sizeof(string),"Defina a quantidade de Balas de Eagle\nAtualmente esta definido em: %d Balas",CofreOrg[org][dEaglec3]); ShowPlayerDialog(playerid, 8570, DIALOG_STYLE_INPUT, "Definicao de Eagle", string, "Salvar", "Cancelar"); return true; } if(listitem == 1) { format(string,sizeof(string),"Defina a quantidade de Balas de ShotGun\nAtualmente esta definido em: %d Balas",CofreOrg[org][dShotc3]); ShowPlayerDialog(playerid, 8571, DIALOG_STYLE_INPUT, "Definicao de ShotGun", string, "Salvar", "Cancelar"); return true; } if(listitem == 2) { format(string,sizeof(string),"Defina a quantidade de Balas de MP5\nAtualmente esta definido em: %d Balas",CofreOrg[org][dMP5c3]); ShowPlayerDialog(playerid, 8572, DIALOG_STYLE_INPUT, "Definicao de MP5", string, "Salvar", "Cancelar"); return true; } if(listitem == 3) { format(string,sizeof(string),"Defina a quantidade de Balas de AK47\nAtualmente esta definido em: %d Balas",CofreOrg[org][dAKc3]); ShowPlayerDialog(playerid, 8573, DIALOG_STYLE_INPUT, "Definicao de AK47", string, "Salvar", "Cancelar"); return true; } if(listitem == 4) { format(string,sizeof(string),"Defina a quantidade de Balas de Rifle\nAtualmente esta definido em: %d Balas",CofreOrg[org][dRiflec3]); ShowPlayerDialog(playerid, 8574, DIALOG_STYLE_INPUT, "Definicao de Rifle", string, "Salvar", "Cancelar"); return true; } } return true; } if(dialogid == 8570) { new org = GetPlayerOrg(playerid); new definicao = strval(inputtext); if(response >= 1) { if(definicao > 800) { SendClientMessage(playerid,COLOR_LIGHTRED,"[ERRO] Voce definiu um Valor muito alto"); return 1; } if(definicao < 1)return SendClientMessage(playerid, COLOR_GRAD1, "Valor invalido!"); format(string,sizeof(string),"Voce definiu balas de Eagle para: %d.",definicao); SendClientMessage(playerid,COLOR_LIGHTBLUE,string); CofreOrg[org][dEaglec3] = definicao; dSalvarEaglec3(org,definicao); ShowPlayerDialog(playerid, 8552, DIALOG_STYLE_LIST, "Definicões para Cargo 3", "Balas de Eagle\nBalas de ShotGun\nBalas de MP5\nBalas de MP4", "Selecionar", "Sair"); } return true; } if(dialogid == 8571) { new org = GetPlayerOrg(playerid); new definicao = strval(inputtext); if(response >= 1) { if(definicao > 800) { SendClientMessage(playerid,COLOR_LIGHTRED,"[ERRO] Voce definiu um Valor muito alto"); return 1; } if(definicao < 1)return SendClientMessage(playerid, COLOR_GRAD1, "Valor invalido!"); format(string,sizeof(string),"Voce definiu balas de ShotGun para: %d.",definicao); SendClientMessage(playerid,COLOR_LIGHTBLUE,string); CofreOrg[org][dShotc3] = definicao; dSalvarShotc3(org,definicao); ShowPlayerDialog(playerid, 8552, DIALOG_STYLE_LIST, "Definicões para Cargo 3", "Balas de Eagle\nBalas de ShotGun\nBalas de MP5\nBalas de MP4", "Selecionar", "Sair"); } return true; } if(dialogid == 8572) { new org = GetPlayerOrg(playerid); new definicao = strval(inputtext); if(response >= 1) { if(definicao > 800) { SendClientMessage(playerid,COLOR_LIGHTRED,"[ERRO] Voce definiu um Valor muito alto"); return 1; } if(definicao < 1)return SendClientMessage(playerid, COLOR_GRAD1, "Valor invalido!"); format(string,sizeof(string),"Voce definiu balas de MP5 para: %d.",definicao); SendClientMessage(playerid,COLOR_LIGHTBLUE,string); CofreOrg[org][dMP5c3] = definicao; dSalvarMP5c3(org,definicao); ShowPlayerDialog(playerid, 8552, DIALOG_STYLE_LIST, "Definicões para Cargo 3", "Balas de Eagle\nBalas de ShotGun\nBalas de MP5\nBalas de MP4", "Selecionar", "Sair"); } return true; } if(dialogid == 8573) { new org = GetPlayerOrg(playerid); new definicao = strval(inputtext); if(response >= 1) { if(definicao > 800) { SendClientMessage(playerid,COLOR_LIGHTRED,"[ERRO] Voce definiu um Valor muito alto"); return 1; } if(definicao < 1)return SendClientMessage(playerid, COLOR_GRAD1, "Valor invalido!"); format(string,sizeof(string),"Voce definiu balas de AK47 para: %d.",definicao); SendClientMessage(playerid,COLOR_LIGHTBLUE,string); CofreOrg[org][dAKc3] = definicao; dSalvarAKc3(org,definicao); ShowPlayerDialog(playerid, 8552, DIALOG_STYLE_LIST, "Definicões para Cargo 3", "Balas de Eagle\nBalas de ShotGun\nBalas de MP5\nBalas de MP4", "Selecionar", "Sair"); } return true; } if(dialogid == 8574) { new org = GetPlayerOrg(playerid); new definicao = strval(inputtext); if(response >= 1) { if(definicao > 800) { SendClientMessage(playerid,COLOR_LIGHTRED,"[ERRO] Voce definiu um Valor muito alto"); return 1; } if(definicao < 1)return SendClientMessage(playerid, COLOR_GRAD1, "Valor invalido!"); format(string,sizeof(string),"Voce definiu balas de Rifle para: %d.",definicao); SendClientMessage(playerid,COLOR_LIGHTBLUE,string); CofreOrg[org][dRiflec3] = definicao; dSalvarRiflec3(org,definicao); ShowPlayerDialog(playerid, 8552, DIALOG_STYLE_LIST, "Definicões para Cargo 3", "Balas de Eagle\nBalas de ShotGun\nBalas de MP5\nBalas de MP4", "Selecionar", "Sair"); } return true; } if(dialogid == 8554) { new org = GetPlayerOrg(playerid); if(response == 0) { ShowPlayerDialog(playerid, 8547, DIALOG_STYLE_LIST, "Deinicões da Org", "Cargo 1 Limites\nCargo 2 Limites\nCargo 3 Limites\nCargo 4 Limites\nCargo 5 e Lideres\nPedido Materiais\nPedido Maconha\nSalarios", "Selecionar", "Voltar"); return true; } if(response >= 1) { if(listitem == 0) { format(string,sizeof(string),"Defina a quantidade de Balas de Eagle\nAtualmente esta definido em: %d Balas",CofreOrg[org][dEaglec5]); ShowPlayerDialog(playerid, 8575, DIALOG_STYLE_INPUT, "Definicao de Eagle", string, "Salvar", "Cancelar"); return true; } if(listitem == 1) { format(string,sizeof(string),"Defina a quantidade de Balas de ShotGun\nAtualmente esta definido em: %d Balas",CofreOrg[org][dShotc5]); ShowPlayerDialog(playerid, 8576, DIALOG_STYLE_INPUT, "Definicao de ShotGun", string, "Salvar", "Cancelar"); return true; } if(listitem == 2) { format(string,sizeof(string),"Defina a quantidade de Balas de MP5\nAtualmente esta definido em: %d Balas",CofreOrg[org][dMP5c5]); ShowPlayerDialog(playerid, 8577, DIALOG_STYLE_INPUT, "Definicao de MP5", string, "Salvar", "Cancelar"); return true; } if(listitem == 3) { format(string,sizeof(string),"Defina a quantidade de Balas de AK47\nAtualmente esta definido em: %d Balas",CofreOrg[org][dAKc5]); ShowPlayerDialog(playerid, 8578, DIALOG_STYLE_INPUT, "Definicao de AK47", string, "Salvar", "Cancelar"); return true; } if(listitem == 4) { format(string,sizeof(string),"Defina a quantidade de Balas de Rifle\nAtualmente esta definido em: %d Balas",CofreOrg[org][dRiflec5]); ShowPlayerDialog(playerid, 8579, DIALOG_STYLE_INPUT, "Definicao de Rifle", string, "Salvar", "Cancelar"); return true; } } return true; } if(dialogid == 8575) { new org = GetPlayerOrg(playerid); new definicao = strval(inputtext); if(response >= 1) { if(definicao > 800) { SendClientMessage(playerid,COLOR_LIGHTRED,"[ERRO] Voce definiu um Valor muito alto"); return 1; } if(definicao < 1)return SendClientMessage(playerid, COLOR_GRAD1, "Valor invalido!"); format(string,sizeof(string),"Voce definiu balas de Eagle para: %d.",definicao); SendClientMessage(playerid,COLOR_LIGHTBLUE,string); CofreOrg[org][dEaglec5] = definicao; dSalvarEaglec5(org,definicao); ShowPlayerDialog(playerid, 8554, DIALOG_STYLE_LIST, "Definicões para Cargo 5 e Lideres", "Balas de Eagle\nBalas de ShotGun\nBalas de MP5\nBalas de AK-47\nBalas de Sniper", "Selecionar", "Sair"); } return true; } if(dialogid == 8576) { new org = GetPlayerOrg(playerid); new definicao = strval(inputtext); if(response >= 1) { if(definicao > 800) { SendClientMessage(playerid,COLOR_LIGHTRED,"[ERRO] Voce definiu um Valor muito alto"); return 1; } if(definicao < 1)return SendClientMessage(playerid, COLOR_GRAD1, "Valor invalido!"); format(string,sizeof(string),"Voce definiu balas de ShotGun para: %d.",definicao); SendClientMessage(playerid,COLOR_LIGHTBLUE,string); CofreOrg[org][dShotc5] = definicao; dSalvarShotc5(org,definicao); ShowPlayerDialog(playerid, 8554, DIALOG_STYLE_LIST, "Definicões para Cargo 5 e Lideres", "Balas de Eagle\nBalas de ShotGun\nBalas de MP5\nBalas de AK-47\nBalas de Sniper", "Selecionar", "Sair"); } return true; } if(dialogid == 8577) { new org = GetPlayerOrg(playerid); new definicao = strval(inputtext); if(response >= 1) { if(definicao > 800) { SendClientMessage(playerid,COLOR_LIGHTRED,"[ERRO] Voce definiu um Valor muito alto"); return 1; } if(definicao < 1)return SendClientMessage(playerid, COLOR_GRAD1, "Valor invalido!"); format(string,sizeof(string),"Voce definiu balas de MP5 para: %d.",definicao); SendClientMessage(playerid,COLOR_LIGHTBLUE,string); CofreOrg[org][dMP5c5] = definicao; dSalvarMP5c5(org,definicao); ShowPlayerDialog(playerid, 8554, DIALOG_STYLE_LIST, "Definicões para Cargo 5 e Lideres", "Balas de Eagle\nBalas de ShotGun\nBalas de MP5\nBalas de AK-47\nBalas de Sniper", "Selecionar", "Sair"); } return true; } if(dialogid == 8578) { new org = GetPlayerOrg(playerid); new definicao = strval(inputtext); if(response >= 1) { if(definicao > 800) { SendClientMessage(playerid,COLOR_LIGHTRED,"[ERRO] Voce definiu um Valor muito alto"); return 1; } if(definicao < 1)return SendClientMessage(playerid, COLOR_GRAD1, "Valor invalido!"); format(string,sizeof(string),"Voce definiu balas de AK47 para: %d.",definicao); SendClientMessage(playerid,COLOR_LIGHTBLUE,string); CofreOrg[org][dAKc5] = definicao; dSalvarAKc5(org,definicao); ShowPlayerDialog(playerid, 8554, DIALOG_STYLE_LIST, "Definicões para Cargo 5 e Lideres", "Balas de Eagle\nBalas de ShotGun\nBalas de MP5\nBalas de AK-47\nBalas de Sniper", "Selecionar", "Sair"); } return true; } if(dialogid == 8579) { new org = GetPlayerOrg(playerid); new definicao = strval(inputtext); if(response >= 1) { if(definicao > 800) { SendClientMessage(playerid,COLOR_LIGHTRED,"[ERRO] Voce definiu um Valor muito alto"); return 1; } if(definicao < 1)return SendClientMessage(playerid, COLOR_GRAD1, "Valor invalido!"); format(string,sizeof(string),"Voce definiu balas de Rifle para: %d.",definicao); SendClientMessage(playerid,COLOR_LIGHTBLUE,string); CofreOrg[org][dRiflec5] = definicao; dSalvarRiflec5(org,definicao); ShowPlayerDialog(playerid, 8554, DIALOG_STYLE_LIST, "Definicões para Cargo 5 e Lideres", "Balas de Eagle\nBalas de ShotGun\nBalas de MP5\nBalas de AK-47\nBalas de Sniper", "Selecionar", "Sair"); } return true; } if(dialogid == 13) { new org = GetPlayerOrg(playerid); if(response == 0) { ShowPlayerDialog(playerid, 8547, DIALOG_STYLE_LIST, "Deinicões da Org", "Cargo 1 Limites\nCargo 2 Limites\nCargo 3 Limites\nCargo 4 Limites\nCargo 5 e Lideres\nPedido Materiais\nPedido Maconha\nSalarios", "Selecionar", "Voltar"); return true; } if(response >= 1) { format(string,sizeof(string),"O Saldo da Sua Organizacao e de R$%s\nQuantos voce deseja Depositar ?",ConvertMoney(CofreOrg[org][Dinheiro])); ShowPlayerDialog(playerid, 19, DIALOG_STYLE_INPUT, "Cofre da Organizacao", string, "Depositar", "Cancelar"); return true; } return true; } if(dialogid == 14) { new org = GetPlayerOrg(playerid); if(response == 0) { ShowPlayerDialog(playerid, 8547, DIALOG_STYLE_LIST, "Deinicões da Org", "Cargo 1 Limites\nCargo 2 Limites\nCargo 3 Limites\nCargo 4 Limites\nCargo 5 e Lideres\nPedido Materiais\nPedido Maconha\nSalarios", "Selecionar", "Voltar"); return true; } if(response >= 1) { format(string,sizeof(string),"A Sua Organizacao tem %d de Materiais\nQuantos voce deseja Depositar ?",CofreOrg[org][Materiais]); ShowPlayerDialog(playerid, 21, DIALOG_STYLE_INPUT, "Cofre da Organizacao", string, "Depositar", "Cancelar"); return true; } return true; } if(dialogid == 15) { new org = GetPlayerOrg(playerid); if(response == 0) { ShowPlayerDialog(playerid, 8547, DIALOG_STYLE_LIST, "Deinicões da Org", "Cargo 1 Limites\nCargo 2 Limites\nCargo 3 Limites\nCargo 4 Limites\nCargo 5 e Lideres\nPedido Materiais\nPedido Maconha\nSalarios", "Selecionar", "Voltar"); return true; } if(response >= 1) { format(string,sizeof(string),"A Sua Organizacao tem %d de Maconha\nQuantos voce deseja Depositar ?",CofreOrg[org][Maconha]); ShowPlayerDialog(playerid, 22, DIALOG_STYLE_INPUT, "Cofre da Organizacao", string, "Depositar", "Cancelar"); return true; } return true; } if(dialogid == 16) { new org = GetPlayerOrg(playerid); if(response == 0) { ShowPlayerDialog(playerid, 8547, DIALOG_STYLE_LIST, "Deinicões da Org", "Cargo 1 Limites\nCargo 2 Limites\nCargo 3 Limites\nCargo 4 Limites\nCargo 5 e Lideres\nPedido Materiais\nPedido Maconha\nSalarios", "Selecionar", "Voltar"); return true; } if(response >= 1) { format(string,sizeof(string),"A Sua Organizacao tem %d de Cocaina\nQuantos voce deseja Depositar ?",CofreOrg[org][Cocaina]); ShowPlayerDialog(playerid, 24, DIALOG_STYLE_INPUT, "Cofre da Organizacao", string, "Depositar", "Cancelar"); return true; } return true; } if(dialogid == 17) { new org = GetPlayerOrg(playerid); if(response == 0) { ShowPlayerDialog(playerid, 8547, DIALOG_STYLE_LIST, "Deinicões da Org", "Cargo 1 Limites\nCargo 2 Limites\nCargo 3 Limites\nCargo 4 Limites\nCargo 5 e Lideres\nPedido Materiais\nPedido Maconha\nSalarios", "Selecionar", "Voltar"); return true; } if(response >= 1) { format(string,sizeof(string),"A Sua Organizacao tem %d de Crack\nQuantos voce deseja Depositar ?",CofreOrg[org][Crack]); ShowPlayerDialog(playerid, 26, DIALOG_STYLE_INPUT, "Cofre da Organizacao", string, "Depositar", "Cancelar"); return true; } return true; } if(dialogid == 19) { if(response >= 1) { new org = GetPlayerOrg(playerid); new depgrana = strval(inputtext); if(GetPlayerMoney(playerid) < depgrana) { SendClientMessage(playerid,COLOR_GRAD1,"Voce nao tem tudo isso!"); return true; } if(depgrana < 0)return SendClientMessage(playerid, COLOR_GRAD1, "Valor invalido!"); if(depgrana > 0) { if(GetPlayerMoney(playerid) >= depgrana) { GiveDinheiro(playerid, -depgrana); DepositarGranaOrg(org,depgrana); format(string,sizeof(string),"Voce Depositou R$%s, o Novo Saldo e de R$%s",ConvertMoney(depgrana),ConvertMoney(CofreOrg[org][Dinheiro])); SendClientMessage(playerid,COLOR_YELLOW,string); return true; } } return true; } return true; } if(dialogid == 18) { if(response >= 1) { new org = GetPlayerOrg(playerid); new sacgrana = strval(inputtext); if(sacgrana > CofreOrg[org][Dinheiro]) { SendClientMessage(playerid,COLOR_GRAD1,"Sua Organizacao nao tem tudo isso!"); return true; } if(PlayerInfo[playerid][pCargo] < 5 && PlayerInfo[playerid][pLider] < 1) { SendClientMessage(playerid,COLOR_GRAD1,"Somente Lider e Sub-Lider Podem Sacar Dinheiro"); return true; } if(sacgrana > 0) { if(sacgrana <= CofreOrg[org][Dinheiro]) { format(string,sizeof(string),"Mesmo sendo SUB ou Lider,nao e autorizado sacar dinheiro da HQ!",sacgrana,CofreOrg[org][Dinheiro]); SendClientMessage(playerid,COLOR_GRAD1,string); return true; } } return true; } return true; } if(dialogid == 21) { if(response >= 1) { new org = GetPlayerOrg(playerid); new depmat = strval(inputtext); new pMateriais = PlayerInfo[playerid][pMats]; if(pMateriais < depmat) { SendClientMessage(playerid,COLOR_GRAD1,"Voce nao tem tudo isso!"); return true; } if(depmat < 0)return SendClientMessage(playerid, COLOR_GRAD1, "Valor invalido!"); if(depmat > 0) { if(pMateriais >= depmat) { PlayerInfo[playerid][pMats] = pMateriais-depmat; DepositarMaterialOrg(org,depmat); format(string,sizeof(string),"Voce Depositou %d de Materiais, o Novo Saldo de Materiais e de %d",depmat,CofreOrg[org][Materiais]); SendClientMessage(playerid,COLOR_GRAD1,string); return true; } } return true; } return true; } if(dialogid == 20) { if(response >= 1) { new org = GetPlayerOrg(playerid); new sacmat = strval(inputtext); if(sacmat > CofreOrg[org][Materiais]) { SendClientMessage(playerid,COLOR_GRAD1,"Sua Organizacao nao tem tudo isso!"); return true; } if(PlayerInfo[playerid][pCargo] < 5 && PlayerInfo[playerid][pLider] < 1) { SendClientMessage(playerid,COLOR_GRAD1,"Somente Lider e Sub-Lider Podem Sacar Materiais"); return true; } if(sacmat > 0) { if(sacmat <= CofreOrg[org][Materiais]) { format(string,sizeof(string),"Mesmo sendo SUB ou Lider,nao e autorizado sacar materiais da HQ!",sacmat,CofreOrg[org][Materiais]); SendClientMessage(playerid,COLOR_GRAD1,string); return true; } } return true; } return true; } if(dialogid == 22) { if(response >= 1) { new org = GetPlayerOrg(playerid); new depmac = strval(inputtext); new pMaconha = PlayerInfo[playerid][pDrogas]; if(pMaconha < depmac) { SendClientMessage(playerid,COLOR_GRAD1,"Voce nao tem tudo isso!"); return true; } if(depmac > 0) { if(pMaconha >= depmac) { PlayerInfo[playerid][pDrogas] = pMaconha-depmac; DepositarMaconhaOrg(org,depmac); format(string,sizeof(string),"Voce Depositou %d de Maconha, o Novo Saldo de Maconha e de %d",depmac,CofreOrg[org][Maconha]); SendClientMessage(playerid,COLOR_GRAD1,string); return true; } } return true; } return true; } if(dialogid == 23) { if(response == 0) { return true; } if(response >= 1) { new org = GetPlayerOrg(playerid); new sacmac = strval(inputtext); new pMaconha = PlayerInfo[playerid][pDrogas]; if(sacmac > CofreOrg[org][Maconha]) { SendClientMessage(playerid,COLOR_GRAD1,"Sua Organizacao nao tem tudo isso!"); return true; } if(PlayerInfo[playerid][pCargo] < 5 && PlayerInfo[playerid][pLider] < 1) { SendClientMessage(playerid,COLOR_GRAD1,"Somente Lider e Sub-Lider Podem Sacar Maconha"); return true; } if(sacmac > 0) { if(sacmac <= CofreOrg[org][Maconha]) { PlayerInfo[playerid][pDrogas] = pMaconha+sacmac; SacarMaconhaOrg(org,sacmac); format(string,sizeof(string),"Voce Sacou %d de Maconha, o Novo Saldo de Maconha e de %d",sacmac,CofreOrg[org][Maconha]); SendClientMessage(playerid,COLOR_GRAD1,string); return true; } } return true; } return true; } if(dialogid == 24) { if(response >= 1) { new org = GetPlayerOrg(playerid); new depcoca = strval(inputtext); new pCocaina = PlayerInfo[playerid][pDrogas2]; if(pCocaina < depcoca) { SendClientMessage(playerid,COLOR_GRAD1,"Voce nao tem tudo isso!"); return true; } if(depcoca > 0) { if(pCocaina >= depcoca) { PlayerInfo[playerid][pDrogas2] = pCocaina-depcoca; DepositarCocainaOrg(org,depcoca); format(string,sizeof(string),"Voce Depositou %d de Cocaina, o Novo Saldo de Cocaina e de %d",depcoca,CofreOrg[org][Cocaina]); SendClientMessage(playerid,COLOR_GRAD1,string); return true; } } return true; } return true; } if(dialogid == 8930) { if(response) { if(listitem == 0) { ForT:equipar(playerid, #); } if(listitem == 1) { ForT:batercartao(playerid, #); } if(listitem == 2) { if(GetPlayerOrg(playerid) == 1) { if(OnDuty[playerid] == 0) { SendClientMessage(playerid, COLOR_GREY, "Voce nao Bateu o cartao!"); return 1; } if(rocamativado[playerid] == 0) { skinrocam[playerid] = GetPlayerSkin(playerid); SetPlayerSkin(playerid, 284); PlayerInfo[playerid][pSkin] = 284; SendClientMessage(playerid, 0xF78181AA, "Voce ativou o modo ROCAM !"); rocamativado[playerid] = 1; } else if(rocamativado[playerid] == 1) { SetPlayerSkin(playerid, skinrocam[playerid]); PlayerInfo[playerid][pSkin] = skinrocam[playerid]; SendClientMessage(playerid, 0xF78181AA, "Voce desativou o modo ROCAM !"); rocamativado[playerid] = 0; } } else { SendClientMessage(playerid, 0xF78181AA, "Voce nao e da Policia Militar !"); return 1; } } if(listitem == 3) { ForT:choque(playerid, #); //GivePlayerWeapon(playerid, 33, 10); //SendClientMessage(playerid,0xF78181AA,"Voce equipou sua arma de shock !"); //SendClientMessage(playerid,0xF78181AA,"Obs: So use no procurado se ele tentar fugir, caso contrario voce sera punido !"); } if(listitem == 4) { ForT:procurados(playerid, #); } if(listitem == 5) { ForT:presos(playerid, #); } if(listitem == 6) { ForT:taser(playerid, #); } } return 1; } if(dialogid == 25) { if(response >= 1) { new org = GetPlayerOrg(playerid); new saccoca = strval(inputtext); new pCocaina = PlayerInfo[playerid][pDrogas2]; if(saccoca > CofreOrg[org][Cocaina]) { SendClientMessage(playerid,COLOR_GRAD1,"Sua Organizacao nao tem tudo isso!"); return true; } if(PlayerInfo[playerid][pCargo] < 5 && PlayerInfo[playerid][pLider] < 1) { SendClientMessage(playerid,COLOR_GRAD1,"Somente Lider e Sub-Lider Podem Sacar Cocaina"); return true; } if(saccoca > 0) { if(saccoca <= CofreOrg[org][Cocaina]) { PlayerInfo[playerid][pDrogas2] = pCocaina+saccoca; SacarCocainaOrg(org,saccoca); format(string,sizeof(string),"Voce Sacou %d de Cocaina, o Novo Saldo de Cocaina e de %d",saccoca,CofreOrg[org][Cocaina]); SendClientMessage(playerid,COLOR_GRAD1,string); return true; } } return true; } return true; } if(dialogid == DIALOG_ALUGAR2) { if(response == 1) { ForT:alugaraero(playerid); Controle(playerid, 1); return 0; } else if(response == 0) { SendClientMessage(playerid, COLOR_GRAD1, "Voce optou por nao alugar"); Controle(playerid, 1); RemovePlayerFromVehicle(playerid); return 0; } return 0; } if(dialogid == 5025) { if(response == 1) { ForT:desalugaraero(playerid); Controle(playerid, 1); SendClientMessage(playerid, COLOR_GRAD1, "Helicoptero desalugado"); RemovePlayerFromVehicle(playerid); return 0; } else if(response == 0) { RemovePlayerFromVehicle(playerid); Controle(playerid, 1); return 0; } return 0; } if(dialogid == 26) { if(response >= 1) { new org = GetPlayerOrg(playerid); new depcrac = strval(inputtext); new pCrack = PlayerInfo[playerid][pDrogas3]; if(pCrack < depcrac) { SendClientMessage(playerid,COLOR_GRAD1,"Voce nao tem tudo isso!"); return true; } if(depcrac > 0) { if(pCrack >= depcrac) { PlayerInfo[playerid][pDrogas3] = pCrack-depcrac; DepositarCrackOrg(org,depcrac); format(string,sizeof(string),"Voce Depositou %d de Crack, o Novo Saldo de Crack e de %d",depcrac,CofreOrg[org][Crack]); SendClientMessage(playerid,COLOR_GRAD1,string); return true; } } return true; } return true; } if(dialogid == 27) { if(response >= 1) { new org = GetPlayerOrg(playerid); new saccrac = strval(inputtext); new pCrack = PlayerInfo[playerid][pDrogas3]; if(saccrac > CofreOrg[org][Crack]) { SendClientMessage(playerid,COLOR_GRAD1,"Sua Organizacao nao tem tudo isso!"); return true; } if(PlayerInfo[playerid][pCargo] < 5 && PlayerInfo[playerid][pLider] < 1) { SendClientMessage(playerid,COLOR_GRAD1,"Somente Lider e Sub-Lider Podem Sacar Crack"); return true; } if(saccrac > 0) { if(saccrac <= CofreOrg[org][Crack]) { PlayerInfo[playerid][pDrogas3] = pCrack+saccrac; SacarCrackOrg(org,saccrac); format(string,sizeof(string),"Voce Sacou %d de Crack, o Novo Saldo de Crack e de %d",saccrac,CofreOrg[org][Crack]); SendClientMessage(playerid,COLOR_GRAD1,string); return true; } } return true; } return true; } if(dialogid == DIALOG_ATTACHMENTS) { if(response) { if(IsPlayerAttachedObjectSlotUsed(playerid, listitem)) { if(PlayerInfo[playerid][pAcP] == 1) { if(listitem == 1 || listitem == 2 || listitem == 3 || listitem == 4 || listitem == 5) { SendClientMessage(playerid, COLOR_GREY, " Voce nao pode editar um slot que esta ocupando armas!"); SendClientMessage(playerid, COLOR_GREY, " Use /armascostas primeiro."); return 1; } } if(ItemSlotP[playerid][listitem] == Vaga_Aureola1 || ItemSlotP[playerid][listitem] == Vaga_Aureola2 || ItemSlotP[playerid][listitem] == Vaga_Celular || ItemSlotP[playerid][listitem] == Vaga_Radio || ItemSlotP[playerid][listitem] == Vaga_Pa || ItemSlotP[playerid][listitem] == Vaga_Maconha || ItemSlotP[playerid][listitem] == Vaga_Escudo || ItemSlotP[playerid][listitem] == Vaga_Planta || ItemSlotP[playerid][listitem] == Vaga_Corrente || ItemSlotP[playerid][listitem] == Vaga_Ejetar || ItemSlotP[playerid][listitem] == Vaga_Ejetar2 || ItemSlotP[playerid][listitem] == Vaga_Escudo || ItemSlotP[playerid][listitem] == Vaga_Taser) { SendClientMessage(playerid, COLOR_GREY, "Este item nao pode ser editado/removido."); return 1; } ShowPlayerDialog(playerid,DIALOG_ATTACHMENTS_EDITDELETE,DIALOG_STYLE_MSGBOX,"Menu acessorio","Deseja editar o acessorio ou guardar ?","Editar","Guardar"); } SetPVarInt(playerid, "AttachmentIndexSel", listitem); } return 1; } if(dialogid == DIALOG_ATTACHMENTS_EDITDELETE) { if(!response) { new SlotReal; SlotReal = GetPVarInt(playerid, "AttachmentIndexSel"); RemovePlayerAttachedObject(playerid, SlotReal); PosicionarObjetos(playerid, SlotReal, 0, 0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0); AddItem(playerid, GetPVarInt(playerid, "AttachmentIndexSel"), 1); return 1; } if(response) { EditAttachedObject(playerid, GetPVarInt(playerid, "AttachmentIndexSel")); DeletePVar(playerid, "AttachmentIndexSel"); return 1; } } if(dialogid == 70 && response) { if(!strcmp(inputtext, "Programada", true)) { ShowPlayerDialog(playerid,71,DIALOG_STYLE_INPUT,"Programacao de Bomba","Ajuste o tempo no programador ! \nDigite quantos segundos","Comprar","Cancelar"); } if(!strcmp(inputtext, "Controlada", true)) { SetPVarInt(playerid, "Explodir", 1); SetPVarInt(playerid, "SeFudeu", 1); SetPlayerHoldingObject(playerid, 1654, 1,0.1,0.20,0.0,180.0,100.0,0.0); GivePlayerWeapon(playerid, 40, 1); GiveDinheiro(playerid, -5000); SendClientMessage(playerid,COLOR_GREY,"Voce agora e um homem-bomba, va para algum local movimentado, e aperte o detonador !"); } } if(dialogid == 71 && response) { new time = strval(inputtext); SetPVarInt(playerid, "Explodir", 1); SetPlayerHoldingObject(playerid, 1654, 1,0.1,0.20,0.0,180.0,100.0,0.0); GiveDinheiro(playerid, -5000); SetTimerEx("PrestesExplodir", time*1000, 0, "i", playerid); SendClientMessage(playerid,COLOR_GREY,"Voce agora e um homem-bomba, va para algum local movimentado, voce esta preste a explodir !"); } if(dialogid == 10321) { MEGAString[0] = EOS; new stringlicencas[356]; new text1[20]; new text2[20]; new text4[20]; new text5[20]; if(PlayerInfo[playerid][pCarLic]) { text1 = "Passou"; } else { text1 = "Negativo"; } if(PlayerInfo[playerid][pFlyLic]) { text4 = "Passou"; } else { text4 = "Negativo"; } if(PlayerInfo[playerid][pBoatLic]) { text2 = "Passou"; } else { text2 = "Negativo"; } if(PlayerInfo[playerid][pGunLic]) { text5 = "Passou"; } else { text5 = "Negativo"; } if(response) { if(OfVerLicencas[playerid] < 999) { if(IsPlayerConnected(OfVerLicencas[playerid])) { if (ProxDetectorS(5.0, playerid, OfVerLicencas[playerid])) { GetPlayerName(OfVerLicencas[playerid], giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "* Voce aceitou mostrar as licenças para %s", giveplayer); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); OfVerLicencas[playerid] = 999; strcat(MEGAString, "{FFFFFF}[ INFO ] LICENCAS SENDO MOSTRADAS [ INFO ]\n"); format(stringlicencas, sizeof(stringlicencas), "Portador: %s\n",NomePlayer(playerid)); strcat(MEGAString, stringlicencas); format(stringlicencas, sizeof(stringlicencas), "Licença Carro: %s\n",text1); strcat(MEGAString, stringlicencas); format(stringlicencas, sizeof(stringlicencas), "Licença Embarcaçoes: %s\n",text2); strcat(MEGAString, stringlicencas); format(stringlicencas, sizeof(stringlicencas), "Licença Aerea: %s\n",text4); strcat(MEGAString, stringlicencas); format(stringlicencas, sizeof(stringlicencas), "Porte Legal de Armas: %s\n",text5); strcat(MEGAString, stringlicencas); ShowPlayerDialog(OfVerLicencas[playerid], 10728, DIALOG_STYLE_MSGBOX, "Informacoes", MEGAString, "Fechar", ""); format(string, sizeof(string), "Portador: %s\n",NomePlayer(playerid)); SendClientMessage(OfVerLicencas[playerid], COLOR_LIGHTBLUE, string); return 1; } else { SendClientMessage(playerid, COLOR_GREY, " O Assaltante esta longe de voce!"); return 1; } } else { SendClientMessage(playerid, COLOR_GREY, " O Assaltante nao esta mais conectado!"); OfVerLicencas[playerid] = 999; return 1; } } else { SendClientMessage(playerid, COLOR_GREY, "Voce nao foi assaltado!"); return 1; } } } //FIM ONDIALOGRESPONSE return true; } stock InfoSpec(i, targetid) { new arma, str5[450], municao, plrping, smunicao, verrt[25]; if(IsPlayerConnected(targetid)) { new plrIP[16]; new Float:health; new Float:plrarmour; GetPlayerHealth(targetid, health); GetPlayerArmour(targetid, plrarmour); arma = GetPlayerWeapon(targetid); plrping = GetPlayerPing(targetid); municao = GetPlayerAmmo(targetid); GetPlayerIp(targetid, plrIP, sizeof(plrIP)); new Float:vhealth = GetPlayerVehicleHealth(targetid); new casha = GetPlayerMoney(Spectate[i]); if(NetStats_PacketLossPercent(targetid) > 0.5){ verrt = "~r~POSSIVELMENTE"; } else{ verrt = "~g~NAO"; } if(municao == 65535) { smunicao = 0; } else { smunicao = municao; } if(IsPlayerInAnyVehicle(targetid)) { if(Cblindado[GetPlayerVehicleID(targetid)] >= 1) { if(PlayerInfo[i][gPlayerUsandoPlataformaID] == 1) { format(str5,sizeof(str5), "~y~RT?: %s~n~\ ~y~Nick:~w~ %s ~y~ID:~w~ %d~n~\ ~y~IP:~w~ %s~n~\ ~y~Saude:~w~ %.1f~n~\ ~y~Colete:~w~ %.1f~n~\ ~y~Dinheiro:~w~ R$%s~n~\ ~y~Veiculo:~w~ %s~n~\ ~y~Blindagem:~w~ %.1f~n~\ ~y~Velocidade:~w~ %d~n~\ ~y~Arma:~w~ %s~n~\ ~y~Municao:~w~ %d~n~\ ~y~Ping:~w~ %d", verrt, PlayerName(targetid),targetid, plrIP, health, plrarmour, ConvertMoney(casha), VehicleNames[GetVehicleModel(GetPlayerVehicleID(targetid))-400], Blindagem[GetPlayerVehicleID(targetid)], GetPlayerSpeed(targetid, true), NomeArma(arma), smunicao, plrping); PlayerTextDrawSetString(i, gpss[i], str5); PlayerTextDrawShow(i, gpss[i]); } } if(Cblindado[GetPlayerVehicleID(targetid)] <= 0) { if(PlayerInfo[i][gPlayerUsandoPlataformaID] == 1) { format(str5,sizeof(str5), "~y~RT?: %s~n~\ ~y~Nick:~w~ %s ~y~ID:~w~ %d~n~\ ~y~IP:~w~ %s~n~\ ~y~Saude:~w~ %.1f~n~\ ~y~Colete:~w~ %.1f~n~\ ~y~Dinheiro:~w~ R$%s~n~\ ~y~Veiculo:~w~ %s~n~\ ~y~Lataria:~w~ %.1f~n~\ ~y~Velocidade:~w~ %d~n~\ ~y~Arma:~w~ %s~n~\ ~y~Municao:~w~ %d~n~\ ~y~Ping:~w~ %d", verrt, PlayerName(targetid),targetid, plrIP, health, plrarmour, ConvertMoney(casha), VehicleNames[GetVehicleModel(GetPlayerVehicleID(targetid))-400], vhealth, GetPlayerSpeed(targetid, true), NomeArma(arma), smunicao, plrping); PlayerTextDrawSetString(i, gpss[i], str5); PlayerTextDrawShow(i, gpss[i]); } /* MensagemFormatada(i, 0xEEE8AAFF, "Nick: %s (%d).",PlayerName(targetid),targetid); MensagemFormatada(i, 0xEEE8AAFF, "RT: %s",verrt); MensagemFormatada(i, 0xEEE8AAFF, "Ping: %d",plrping); MensagemFormatada(i, 0xEEE8AAFF, "IP: %s",plrIP); MensagemFormatada(i, 0xEEE8AAFF, "Saude: %.1f",health); MensagemFormatada(i, 0xEEE8AAFF, "Colete: %.1f",plrarmour);*/ } } else { if(PlayerInfo[i][gPlayerUsandoPlataformaID] == 1) { format(str5,sizeof(str5), "~y~RT?: %s~n~\ ~y~Nick:~w~ %s ~y~ID:~w~ %d~n~\ ~y~IP:~w~ %s~n~\ ~y~Saude:~w~ %.1f~n~\ ~y~Colete:~w~ %.1f~n~\ ~y~Dinheiro:~w~ R$%s~n~\ ~y~Veiculo:~w~ Nenhum~n~\ ~y~Lataria:~w~ Nenhuma~n~\ ~y~Velocidade:~w~ Nenhuma~n~\ ~y~Arma:~w~ %s~n~\ ~y~Municao:~w~ %d~n~\ ~y~Ping:~w~ %d", verrt, PlayerName(targetid),targetid, plrIP, health, plrarmour, ConvertMoney(casha), NomeArma(arma), smunicao, plrping); PlayerTextDrawSetString(i, gpss[i], str5); PlayerTextDrawShow(i, gpss[i]); } /* MensagemFormatada(i, 0xEEE8AAFF, "Nick: %s (%d).",PlayerName(targetid),targetid); MensagemFormatada(i, 0xEEE8AAFF, "RT: %s",verrt); MensagemFormatada(i, 0xEEE8AAFF, "Ping: %d",plrping); MensagemFormatada(i, 0xEEE8AAFF, "IP: %s",plrIP); MensagemFormatada(i, 0xEEE8AAFF, "Saude: %.1f",health); MensagemFormatada(i, 0xEEE8AAFF, "Colete: %.1f",plrarmour);*/ } if(GetPlayerInterior(targetid) == 0) { SetPlayerInterior(i,0); } else if(GetPlayerInterior(targetid) > 0) { SetPlayerInterior(i,GetPlayerInterior(targetid)); } else if(GetPlayerVirtualWorld(targetid) == 0) { SetPlayerVirtualWorld(i,0); } else if(GetPlayerVirtualWorld(targetid) > 0) { SetPlayerVirtualWorld(i,GetPlayerVirtualWorld(targetid)); } } else { if(WatchingTV[i] > 0) { WatchingTV[i] = 0; Spectate[i] = 253; GameTextForPlayer(i, "~w~ TV~n~~r~ Off~n~~r~Player desconectou", 5000, 6); PlayerPlaySound(i, 1145, 0.0, 0.0, 0.0); MedicBill[i] = 0; PlayerTextDrawHide(i, gpss[i]); } } return 0; } stock OOCNews(COLOR,const string[]) { foreach(Player, i) { if(PlayerInfo[i][pChatNoticias] == 0) { SendClientMessage(i, COLOR, string); } } } stock GetNextCameraPosition(playerid, &Float:X, &Float:Y, &Float:Z) { new Float:FV[3], Float:CPp[3]; GetPlayerCameraPos(playerid, CPp[0], CPp[1], CPp[2]); GetPlayerCameraFrontVector(playerid, FV[0], FV[1], FV[2]); #define OFFSET_X (FV[0]*150.0) #define OFFSET_Y (FV[1]*150.0) #define OFFSET_Z (FV[2]*150.0) X = CPp[0]+OFFSET_X; Y = CPp[1]+OFFSET_Y; Z = CPp[2]+OFFSET_Z; } CallBack::Spectator() { foreach(Player, i) { if(Spectate[i] < 253 && Spectate[i] != 255) { InfoSpec(i, Spectate[i]); } if(Spectate[i] == 253) { Controle(i, 1); TogglePlayerSpectating(i, 0); SetPlayerInterior(i,Unspec[i][sPint]); PlayerInfo[i][pInt] = Unspec[i][sPint]; PlayerInfo[i][pLocal] = Unspec[i][sLocal]; Unspec[i][sLocal] = 255; MedicBill[i] = 0; SpawnPlayer(i); Spectate[i] = 255; } if(Spectate[i] == 254) { Controle(i, 1); SetPlayerInterior(i,Unspec[i][sPint]); PlayerInfo[i][pInt] = Unspec[i][sPint]; PlayerInfo[i][pLocal] = Unspec[i][sLocal]; SetPlayerPos(i, Unspec[i][sPx], Unspec[i][sPy], Unspec[i][sPz]); Spectate[i] = 255; } if(Spectate[i] == 256) { Spectate[i] = 255; } if(Spectate[i] == 257) { Spectate[i] = 254; } } return 0; } static stock VeiculoOcupado(car) { foreach(Player, i) { if(GetPlayerVehicleID(i) == car && GetPlayerState(i) == PLAYER_STATE_DRIVER) return true; } return false; } stock SpawnDebug(playerid) { TextDrawHideForPlayer(playerid, ImagemEntrada); TextDrawHideForPlayer(playerid, TextoEntrada); TextDrawHideForPlayer(playerid, TextoEntrada1); TextDrawHideForPlayer(playerid, TextoEntrada2); TextDrawHideForPlayer(playerid, BoxEntrada1); TextDrawHideForPlayer(playerid, BoxEntrada2); TextDrawHideForPlayer(playerid, BoxEntrada3); TextDrawHideForPlayer(playerid, BoxEntrada4); TextDrawHideForPlayer(playerid, textmorte[0]); TextDrawHideForPlayer(playerid, textmorte[1]); switch(GetPlayerOrg(playerid)) { case 1://Policia Militar Nascimento { SetPlayerVirtualWorld(playerid,0); SetPlayerInterior(playerid, 0); SetSpawnInfo(playerid, GetPlayerOrg(playerid), PlayerInfo[playerid][pSkin],1529.4567,-1671.7179,6.2188,0,-1, -1, -1, -1, -1, -1); PlayerInfo[playerid][pInt] = 0; SetPlayerWantedLevelEx(playerid, 0); if(PlayerInfo[playerid][pSkinFixa] == 0) { if(PlayerInfo[playerid][pCargo] == 1) { SetPlayerSkin(playerid, 281); PlayerInfo[playerid][pSkin] = 281; } if(PlayerInfo[playerid][pCargo] == 2) { SetPlayerSkin(playerid, 281); PlayerInfo[playerid][pSkin] = 281; } if(PlayerInfo[playerid][pCargo] == 3) { SetPlayerSkin(playerid, 280); PlayerInfo[playerid][pSkin] = 280; } if(PlayerInfo[playerid][pCargo] == 4) { SetPlayerSkin(playerid, 267); PlayerInfo[playerid][pSkin] = 267; } if(PlayerInfo[playerid][pCargo] == 5) { SetPlayerSkin(playerid, 266); PlayerInfo[playerid][pSkin] = 266; } if(PlayerInfo[playerid][pCargo] == 6) { SetPlayerSkin(playerid, 265); PlayerInfo[playerid][pSkin] = 265; } if(PlayerInfo[playerid][pSex] == 2) { SetPlayerSkin(playerid, 195); PlayerInfo[playerid][pSkin] = 195; } } } case 2://BOPE Nascimento { SetPlayerInterior(playerid,10); PlayerInfo[playerid][pInt] = 10; SetPlayerVirtualWorld(playerid, 0); // storeexit[playerid] = 2; SetSpawnInfo(playerid, GetPlayerOrg(playerid), PlayerInfo[playerid][pSkin],237.9207,124.8264,1003.2188,0,-1, -1, -1, -1, -1, -1); SetPlayerFacingAngle(playerid,176.1970); if(PlayerInfo[playerid][pSkinFixa] == 0) { if(PlayerInfo[playerid][pCargo] == 1) { SetPlayerSkin(playerid, 285); PlayerInfo[playerid][pSkin] = 285; } if(PlayerInfo[playerid][pCargo] == 2) { SetPlayerSkin(playerid, 285); PlayerInfo[playerid][pSkin] = 285; } if(PlayerInfo[playerid][pCargo] == 3) { SetPlayerSkin(playerid, 285); PlayerInfo[playerid][pSkin] = 285; } if(PlayerInfo[playerid][pCargo] == 4) { SetPlayerSkin(playerid, 285); PlayerInfo[playerid][pSkin] = 285; } if(PlayerInfo[playerid][pCargo] == 5) { SetPlayerSkin(playerid, 285); PlayerInfo[playerid][pSkin] = 285; } if(PlayerInfo[playerid][pCargo] == 6) { SetPlayerSkin(playerid, 171); PlayerInfo[playerid][pSkin] = 171; } if(PlayerInfo[playerid][pSex] == 2) { SetPlayerSkin(playerid, 298); PlayerInfo[playerid][pSkin] = 298; }} } case 3://Exercito Nascimento { SetPlayerVirtualWorld(playerid,0); SetPlayerInterior(playerid, 0); SetSpawnInfo(playerid, GetPlayerOrg(playerid), PlayerInfo[playerid][pSkin],-1345.9928,492.3599,11.2027,0,-1, -1, -1, -1, -1, -1); SetPlayerFacingAngle(playerid, 359.3457); PlayerInfo[playerid][pInt] = 0; SetPlayerWantedLevelEx(playerid, 0); if(PlayerInfo[playerid][pSkinFixa] == 0) { if(PlayerInfo[playerid][pCargo] == 1) { SetPlayerSkin(playerid, 287); PlayerInfo[playerid][pSkin] = 287; } if(PlayerInfo[playerid][pCargo] == 2) { SetPlayerSkin(playerid, 287); PlayerInfo[playerid][pSkin] = 287; } if(PlayerInfo[playerid][pCargo] == 3) { SetPlayerSkin(playerid, 287); PlayerInfo[playerid][pSkin] = 287; } if(PlayerInfo[playerid][pCargo] == 4) { SetPlayerSkin(playerid, 287); PlayerInfo[playerid][pSkin] = 287; } if(PlayerInfo[playerid][pCargo] == 5) { SetPlayerSkin(playerid, 287); PlayerInfo[playerid][pSkin] = 287; } if(PlayerInfo[playerid][pCargo] == 6) { SetPlayerSkin(playerid, 73); PlayerInfo[playerid][pSkin] = 73; } if(PlayerInfo[playerid][pSex] == 2) { SetPlayerSkin(playerid, 191); PlayerInfo[playerid][pSkin] = 191; }} } case 4://MEDICO Nascimento { SetPlayerVirtualWorld(playerid,0); SetPlayerInterior(playerid, 1); SetSpawnInfo(playerid, GetPlayerOrg(playerid), PlayerInfo[playerid][pSkin],1175.215820,-1336.942749,-44.283576,0,-1, -1, -1, -1, -1, -1); SetPlayerFacingAngle(playerid,272.5102); PlayerInfo[playerid][pInt] = 10; SetPlayerWantedLevelEx(playerid, 0); if(PlayerInfo[playerid][pSkinFixa] == 0) { if(PlayerInfo[playerid][pCargo] == 1) { SetPlayerSkin(playerid, 275); } if(PlayerInfo[playerid][pCargo] == 2) { SetPlayerSkin(playerid, 276); } if(PlayerInfo[playerid][pCargo] == 3) { SetPlayerSkin(playerid, 274); } if(PlayerInfo[playerid][pCargo] == 4) { SetPlayerSkin(playerid, 278); } if(PlayerInfo[playerid][pCargo] == 5) { SetPlayerSkin(playerid, 70); } if(PlayerInfo[playerid][pCargo] == 6) { SetPlayerSkin(playerid, 70); } if(PlayerInfo[playerid][pSex] == 2) { SetPlayerSkin(playerid, 56); }} } case 5://Tropa da Franca Nascimento { SetPlayerVirtualWorld(playerid,0); SetPlayerInterior(playerid, 0); SetSpawnInfo(playerid, GetPlayerOrg(playerid), PlayerInfo[playerid][pSkin],740.3544,382.7724,23.1719,0,-1, -1, -1, -1, -1, -1); SetPlayerFacingAngle(playerid,181.4693); PlayerInfo[playerid][pInt] = 0; if(PlayerInfo[playerid][pSkinFixa] == 0) { if(PlayerInfo[playerid][pCargo] == 1) { SetPlayerSkin(playerid, 114); } if(PlayerInfo[playerid][pCargo] == 2) { SetPlayerSkin(playerid, 116); } if(PlayerInfo[playerid][pCargo] == 3) { SetPlayerSkin(playerid, 116); } if(PlayerInfo[playerid][pCargo] == 4) { SetPlayerSkin(playerid, 173); } if(PlayerInfo[playerid][pCargo] == 5) { SetPlayerSkin(playerid, 115); } if(PlayerInfo[playerid][pCargo] == 6) { SetPlayerSkin(playerid, 115); } if(PlayerInfo[playerid][pSex] == 2) { SetPlayerSkin(playerid, 226); }} } case 6://GATE Spawn { SetPlayerVirtualWorld(playerid,0); SetPlayerInterior(playerid, 0); SetSpawnInfo(playerid, GetPlayerOrg(playerid), PlayerInfo[playerid][pSkin],1166.5868,1346.8756,10.9219,0,-1, -1, -1, -1, -1, -1); SetPlayerFacingAngle(playerid,183.3116); PlayerInfo[playerid][pInt] = 0; if(PlayerInfo[playerid][pSkinFixa] == 0) { if(PlayerInfo[playerid][pCargo] == 1) { SetPlayerSkin(playerid, 285); } if(PlayerInfo[playerid][pCargo] == 2) { SetPlayerSkin(playerid, 285); } if(PlayerInfo[playerid][pCargo] == 3) { SetPlayerSkin(playerid, 285); } if(PlayerInfo[playerid][pCargo] == 4) { SetPlayerSkin(playerid, 285); } if(PlayerInfo[playerid][pCargo] == 5) { SetPlayerSkin(playerid, 283); } if(PlayerInfo[playerid][pCargo] == 6) { SetPlayerSkin(playerid, 288); } if(PlayerInfo[playerid][pSex] == 2) { SetPlayerSkin(playerid, 298); }} } case 7://Prefeito Nascimento { SetPlayerVirtualWorld(playerid,0); SetPlayerInterior(playerid, 0); SetSpawnInfo(playerid, GetPlayerOrg(playerid), PlayerInfo[playerid][pSkin],1114.4801,-2043.5723,74.4297,0,-1, -1, -1, -1, -1, -1); SetPlayerFacingAngle(playerid, 181.7939); PlayerInfo[playerid][pInt] = 0; SetPlayerArmour(playerid, 100); SetPlayerWantedLevelEx(playerid, 0); if(PlayerInfo[playerid][pSkinFixa] == 0) { if(PlayerInfo[playerid][pCargo] == 1) { SetPlayerSkin(playerid, 163); } if(PlayerInfo[playerid][pCargo] == 2) { SetPlayerSkin(playerid, 163); } if(PlayerInfo[playerid][pCargo] == 3) { SetPlayerSkin(playerid, 164); } if(PlayerInfo[playerid][pCargo] == 4) { SetPlayerSkin(playerid, 164); } if(PlayerInfo[playerid][pCargo] == 5) { SetPlayerSkin(playerid, 228); } if(PlayerInfo[playerid][pCargo] == 6) { SetPlayerSkin(playerid, 147); } if(PlayerInfo[playerid][pSex] == 2) { SetPlayerSkin(playerid, 76); }} } case 8: //Hitmans Nascimento { SetSpawnInfo(playerid, GetPlayerOrg(playerid), PlayerInfo[playerid][pSkin],2351.1487,-1245.4988,22.5000,0,-1, -1, -1, -1, -1, -1); SetPlayerFacingAngle(playerid,270.1619); SetPlayerVirtualWorld(playerid,0); SetPlayerInterior(playerid,0); PlayerInfo[playerid][pInt] = 0; if(PlayerInfo[playerid][pSkinFixa] == 0) { if(PlayerInfo[playerid][pCargo] == 1) { SetPlayerSkin(playerid, 166); } if(PlayerInfo[playerid][pCargo] == 2) { SetPlayerSkin(playerid, 166); } if(PlayerInfo[playerid][pCargo] == 3) { SetPlayerSkin(playerid, 165); } if(PlayerInfo[playerid][pCargo] == 4) { SetPlayerSkin(playerid, 165); } if(PlayerInfo[playerid][pCargo] == 5) { SetPlayerSkin(playerid, 127); } if(PlayerInfo[playerid][pCargo] == 6) { SetPlayerSkin(playerid, 294); } if(PlayerInfo[playerid][pSex] == 2) { SetPlayerSkin(playerid, 93); }} } case 9: //Reporters Nascimento { SetSpawnInfo(playerid, GetPlayerOrg(playerid), PlayerInfo[playerid][pSkin],735.3049,-1350.8284,13.5000,0,-1, -1, -1, -1, -1, -1); SetPlayerVirtualWorld(playerid,0); GivePlayerWeapon(playerid, 43, 120); SetPlayerInterior(playerid,0); PlayerInfo[playerid][pInt] = 0; if(PlayerInfo[playerid][pSkinFixa] == 0) { if(PlayerInfo[playerid][pCargo] == 1) { SetPlayerSkin(playerid, 188); } if(PlayerInfo[playerid][pCargo] == 2) { SetPlayerSkin(playerid, 188); } if(PlayerInfo[playerid][pCargo] == 3) { SetPlayerSkin(playerid, 156); } if(PlayerInfo[playerid][pCargo] == 4) { SetPlayerSkin(playerid, 156); } if(PlayerInfo[playerid][pCargo] == 5) { SetPlayerSkin(playerid, 227); } if(PlayerInfo[playerid][pCargo] == 6) { SetPlayerSkin(playerid, 227); } if(PlayerInfo[playerid][pSex] == 2) { SetPlayerSkin(playerid, 148); }} } case 10:// Uber Nascimento { SetSpawnInfo(playerid, GetPlayerOrg(playerid), PlayerInfo[playerid][pSkin],674.7637,1834.6315,6.2312,0,-1, -1, -1, -1, -1, -1); SetPlayerFacingAngle(playerid,91.0692); SetPlayerVirtualWorld(playerid,0); SetPlayerInterior(playerid,0); PlayerInfo[playerid][pInt] = 0; if(PlayerInfo[playerid][pSkinFixa] == 0) { if(PlayerInfo[playerid][pCargo] == 1) { SetPlayerSkin(playerid, 175); } if(PlayerInfo[playerid][pCargo] == 2) { SetPlayerSkin(playerid, 174); } if(PlayerInfo[playerid][pCargo] == 3) { SetPlayerSkin(playerid, 173); } if(PlayerInfo[playerid][pCargo] == 4) { SetPlayerSkin(playerid, 176); } if(PlayerInfo[playerid][pCargo] == 5) { SetPlayerSkin(playerid, 296); } if(PlayerInfo[playerid][pCargo] == 6) { SetPlayerSkin(playerid, 296); } if(PlayerInfo[playerid][pSex] == 2) { SetPlayerSkin(playerid, 40); }} } case 11://Policia Federal Nascimento { SetPlayerInterior(playerid,3); SetPlayerFacingAngle(playerid, 0); //localizardppc[playerid] = 1; PlayerInfo[playerid][pInt] = 3; SetPlayerVirtualWorld(playerid, 11); storeexit[playerid] = 11; SetSpawnInfo(playerid, GetPlayerOrg(playerid), PlayerInfo[playerid][pSkin],227.7984,182.0458,1003.0313,0,-1, -1, -1, -1, -1, -1); SetPlayerFacingAngle(playerid,179.9803); if(PlayerInfo[playerid][pSkinFixa] == 0) { if(PlayerInfo[playerid][pCargo] == 1) { SetPlayerSkin(playerid, 185); PlayerInfo[playerid][pSkin] = 185; } if(PlayerInfo[playerid][pCargo] == 2) { SetPlayerSkin(playerid, 185); PlayerInfo[playerid][pSkin] = 185; } if(PlayerInfo[playerid][pCargo] == 3) { SetPlayerSkin(playerid, 286); PlayerInfo[playerid][pSkin] = 286; } if(PlayerInfo[playerid][pCargo] == 4) { SetPlayerSkin(playerid, 286); PlayerInfo[playerid][pSkin] = 286; } if(PlayerInfo[playerid][pCargo] == 5) { SetPlayerSkin(playerid, 295); PlayerInfo[playerid][pSkin] = 295; } if(PlayerInfo[playerid][pCargo] == 6) { SetPlayerSkin(playerid, 295); PlayerInfo[playerid][pSkin] = 295; } if(PlayerInfo[playerid][pSex] == 2) { SetPlayerSkin(playerid, 224); PlayerInfo[playerid][pSkin] = 224; }} } case 12://Mafia Cosa Nostra Nascimento { SetPlayerVirtualWorld(playerid,0); SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 1497.0140,-688.4544,95.4126); SetPlayerFacingAngle(playerid,0.7705); PlayerInfo[playerid][pInt] = 0; if(PlayerInfo[playerid][pSkinFixa] == 0) { if(PlayerInfo[playerid][pCargo] == 1) { SetPlayerSkin(playerid, 46); } if(PlayerInfo[playerid][pCargo] == 2) { SetPlayerSkin(playerid, 223); } if(PlayerInfo[playerid][pCargo] == 3) { SetPlayerSkin(playerid, 98); } if(PlayerInfo[playerid][pCargo] == 4) { SetPlayerSkin(playerid, 126); } if(PlayerInfo[playerid][pCargo] == 5) { SetPlayerSkin(playerid, 113); } if(PlayerInfo[playerid][pCargo] == 6) { SetPlayerSkin(playerid, 43); } if(PlayerInfo[playerid][pSex] == 2) { SetPlayerSkin(playerid, 192); }} } case 20://Mafia Cosa Nostra Nascimento { SetPlayerVirtualWorld(playerid,0); SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 2590.6523,1401.1099,11.0663); SetPlayerFacingAngle(playerid,0.7705); PlayerInfo[playerid][pInt] = 0; if(PlayerInfo[playerid][pSkinFixa] == 0) { if(PlayerInfo[playerid][pCargo] == 1) { SetPlayerSkin(playerid, 46); } if(PlayerInfo[playerid][pCargo] == 2) { SetPlayerSkin(playerid, 223); } if(PlayerInfo[playerid][pCargo] == 3) { SetPlayerSkin(playerid, 98); } if(PlayerInfo[playerid][pCargo] == 4) { SetPlayerSkin(playerid, 126); } if(PlayerInfo[playerid][pCargo] == 5) { SetPlayerSkin(playerid, 113); } if(PlayerInfo[playerid][pCargo] == 6) { SetPlayerSkin(playerid, 43); } if(PlayerInfo[playerid][pSex] == 2) { SetPlayerSkin(playerid, 192); }} } case 13://Yakuza Nascimento { SetSpawnInfo(playerid, GetPlayerOrg(playerid), PlayerInfo[playerid][pSkin],689.8130,-1275.9388,13.5594,0,-1, -1, -1, -1, -1, -1); SetPlayerVirtualWorld(playerid,0); SetPlayerInterior(playerid, 0); SetPlayerFacingAngle(playerid,270.8986); PlayerInfo[playerid][pInt] = 0; if(PlayerInfo[playerid][pSkinFixa] == 0) { if(PlayerInfo[playerid][pCargo] == 1) { SetPlayerSkin(playerid, 208); } if(PlayerInfo[playerid][pCargo] == 2) { SetPlayerSkin(playerid, 203); } if(PlayerInfo[playerid][pCargo] == 3) { SetPlayerSkin(playerid, 111); } if(PlayerInfo[playerid][pCargo] == 4) { SetPlayerSkin(playerid, 204); } if(PlayerInfo[playerid][pCargo] == 5) { SetPlayerSkin(playerid, 117); } if(PlayerInfo[playerid][pCargo] == 6) { SetPlayerSkin(playerid, 120); } if(PlayerInfo[playerid][pSex] == 2) { SetPlayerSkin(playerid, 169); }} } case 14: //Groove Nascimento { SetSpawnInfo(playerid, GetPlayerOrg(playerid), PlayerInfo[playerid][pSkin],2516.1411,-1675.4065,13.9113,0,-1, -1, -1, -1, -1, -1); SetPlayerVirtualWorld(playerid,0); SetPlayerInterior(playerid,0); PlayerInfo[playerid][pInt] = 0; if(PlayerInfo[playerid][pSkinFixa] == 0) { if(PlayerInfo[playerid][pCargo] == 1) { SetPlayerSkin(playerid, 107); } if(PlayerInfo[playerid][pCargo] == 2) { SetPlayerSkin(playerid, 105); } if(PlayerInfo[playerid][pCargo] == 3) { SetPlayerSkin(playerid, 106); } if(PlayerInfo[playerid][pCargo] == 4) { SetPlayerSkin(playerid, 271); } if(PlayerInfo[playerid][pCargo] == 5) { SetPlayerSkin(playerid, 269); } if(PlayerInfo[playerid][pCargo] == 6) { SetPlayerSkin(playerid, 270); } if(PlayerInfo[playerid][pSex] == 2) { SetPlayerSkin(playerid, 195); }} } case 15: //GI Nascimento { SetSpawnInfo(playerid, GetPlayerOrg(playerid), PlayerInfo[playerid][pSkin],-329.7025,1536.6123,76.6117,0,-1, -1, -1, -1, -1, -1); SetPlayerVirtualWorld(playerid,0); SetPlayerInterior(playerid,0); PlayerInfo[playerid][pInt] = 0; if(PlayerInfo[playerid][pSkinFixa] == 0) { if(PlayerInfo[playerid][pCargo] == 1) { SetPlayerSkin(playerid, 48); } if(PlayerInfo[playerid][pCargo] == 2) { SetPlayerSkin(playerid, 73); } if(PlayerInfo[playerid][pCargo] == 3) { SetPlayerSkin(playerid, 47); } if(PlayerInfo[playerid][pCargo] == 4) { SetPlayerSkin(playerid, 179); } if(PlayerInfo[playerid][pCargo] == 5) { SetPlayerSkin(playerid, 123); } if(PlayerInfo[playerid][pCargo] == 6) { SetPlayerSkin(playerid, 123); } if(PlayerInfo[playerid][pSex] == 2) { SetPlayerSkin(playerid, 63); }} } case 16: //ROTA Nascimento { SetPlayerInterior(playerid,18); SetPlayerFacingAngle(playerid, 0); //localizardppc[playerid] = 1; PlayerInfo[playerid][pInt] = 18; SetPlayerVirtualWorld(playerid, 12); storeexit[playerid] = 16; SetSpawnInfo(playerid, GetPlayerOrg(playerid), PlayerInfo[playerid][pSkin],1728.3029,-1668.8125,22.6094,0,-1, -1, -1, -1, -1, -1); SetPlayerFacingAngle(playerid, 38.9555); if(PlayerInfo[playerid][pSkinFixa] == 0) { if(PlayerInfo[playerid][pCargo] == 1) { SetPlayerSkin(playerid, 266); PlayerInfo[playerid][pSkin] = 266; } if(PlayerInfo[playerid][pCargo] == 2) { SetPlayerSkin(playerid, 266); PlayerInfo[playerid][pSkin] = 266; } if(PlayerInfo[playerid][pCargo] == 3) { SetPlayerSkin(playerid, 266); PlayerInfo[playerid][pSkin] = 266; } if(PlayerInfo[playerid][pCargo] == 4) { SetPlayerSkin(playerid, 266); PlayerInfo[playerid][pSkin] = 266; } if(PlayerInfo[playerid][pCargo] == 5) { SetPlayerSkin(playerid, 266); PlayerInfo[playerid][pSkin] = 266; } if(PlayerInfo[playerid][pCargo] == 6) { SetPlayerSkin(playerid, 57); PlayerInfo[playerid][pSkin] = 57; } if(PlayerInfo[playerid][pSex] == 2) { SetPlayerSkin(playerid, 298); PlayerInfo[playerid][pSkin] = 298; }} } case 17: //Ballas Membros Nascimento { SetSpawnInfo(playerid, GetPlayerOrg(playerid), PlayerInfo[playerid][pSkin],1154.4968,-1180.8517,32.8187,0,-1, -1, -1, -1, -1, -1); SetPlayerVirtualWorld(playerid,0); SetPlayerInterior(playerid,0); PlayerInfo[playerid][pInt] = 0; if(PlayerInfo[playerid][pSkinFixa] == 0) { if(PlayerInfo[playerid][pCargo] == 1) { SetPlayerSkin(playerid, 102); } if(PlayerInfo[playerid][pCargo] == 2) { SetPlayerSkin(playerid, 102); } if(PlayerInfo[playerid][pCargo] == 3) { SetPlayerSkin(playerid, 103); } if(PlayerInfo[playerid][pCargo] == 4) { SetPlayerSkin(playerid, 103); } if(PlayerInfo[playerid][pCargo] == 5) { SetPlayerSkin(playerid, 104); } if(PlayerInfo[playerid][pCargo] == 6) { SetPlayerSkin(playerid, 104); } if(PlayerInfo[playerid][pSex] == 2) { SetPlayerSkin(playerid, 13); }} } case 18: //Vagos Nascimento { SetSpawnInfo(playerid, GetPlayerOrg(playerid), PlayerInfo[playerid][pSkin],2582.6882,-953.0733,81.3874,0,-1, -1, -1, -1, -1, -1); SetPlayerFacingAngle(playerid, 178.1808); SetPlayerVirtualWorld(playerid,0); SetPlayerInterior(playerid,0); PlayerInfo[playerid][pInt] = 0; if(PlayerInfo[playerid][pSkinFixa] == 0) { if(PlayerInfo[playerid][pCargo] == 1) { SetPlayerSkin(playerid, 109); } if(PlayerInfo[playerid][pCargo] == 2) { SetPlayerSkin(playerid, 109); } if(PlayerInfo[playerid][pCargo] == 3) { SetPlayerSkin(playerid, 110); } if(PlayerInfo[playerid][pCargo] == 4) { SetPlayerSkin(playerid, 110); } if(PlayerInfo[playerid][pCargo] == 5) { SetPlayerSkin(playerid, 108); } if(PlayerInfo[playerid][pCargo] == 6) { SetPlayerSkin(playerid, 108); } if(PlayerInfo[playerid][pSex] == 2) { SetPlayerSkin(playerid, 215); }} } case 19: //Comando Vermelho { SetSpawnInfo(playerid, GetPlayerOrg(playerid), PlayerInfo[playerid][pSkin],2151.7644,-1799.7557,13.5800,0,-1, -1, -1, -1, -1, -1); SetPlayerInterior(playerid, 0); SetPlayerFacingAngle(playerid,4.3961); SetPlayerVirtualWorld(playerid,0); PlayerInfo[playerid][pInt] = 0; if(PlayerInfo[playerid][pSkinFixa] == 0) { if(PlayerInfo[playerid][pCargo] == 1) { SetPlayerSkin(playerid, 181); } if(PlayerInfo[playerid][pCargo] == 2) { SetPlayerSkin(playerid, 142); } if(PlayerInfo[playerid][pCargo] == 3) { SetPlayerSkin(playerid, 170); } if(PlayerInfo[playerid][pCargo] == 4) { SetPlayerSkin(playerid, 22); } if(PlayerInfo[playerid][pCargo] == 5) { SetPlayerSkin(playerid, 19); } if(PlayerInfo[playerid][pCargo] == 6) { SetPlayerSkin(playerid, 49); } if(PlayerInfo[playerid][pSex] == 2) { SetPlayerSkin(playerid, 193); }} } case 21: //PCC Nascimento { SetSpawnInfo(playerid, GetPlayerOrg(playerid), PlayerInfo[playerid][pSkin],98.8023,1171.8392,18.6641,0,-1, -1, -1, -1, -1, -1); SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid,0); SetPlayerFacingAngle(playerid,352.1631); PlayerInfo[playerid][pInt] = 0; if(PlayerInfo[playerid][pSkinFixa] == 0) { if(PlayerInfo[playerid][pCargo] == 1) { SetPlayerSkin(playerid, 2); } if(PlayerInfo[playerid][pCargo] == 2) { SetPlayerSkin(playerid, 67); } if(PlayerInfo[playerid][pCargo] == 3) { SetPlayerSkin(playerid, 143); } if(PlayerInfo[playerid][pCargo] == 4) { SetPlayerSkin(playerid, 221); } if(PlayerInfo[playerid][pCargo] == 5) { SetPlayerSkin(playerid, 101); } if(PlayerInfo[playerid][pCargo] == 6) { SetPlayerSkin(playerid, 6); } if(PlayerInfo[playerid][pSex] == 2) { SetPlayerSkin(playerid, 237); }} } case 22: //Triads Nascimento { SetSpawnInfo(playerid, GetPlayerOrg(playerid), PlayerInfo[playerid][pSkin],2770.5706,-1628.1260,12.1775,0,-1, -1, -1, -1, -1, -1); SetPlayerVirtualWorld(playerid,0); SetPlayerInterior(playerid,0); PlayerInfo[playerid][pInt] = 0; PlayerInfo[playerid][pSpawn] = 0; if(PlayerInfo[playerid][pSkinFixa] == 0) { if(PlayerInfo[playerid][pCargo] == 1) { SetPlayerSkin(playerid, 166); } if(PlayerInfo[playerid][pCargo] == 2) { SetPlayerSkin(playerid, 166); } if(PlayerInfo[playerid][pCargo] == 3) { SetPlayerSkin(playerid, 165); } if(PlayerInfo[playerid][pCargo] == 4) { SetPlayerSkin(playerid, 165); } if(PlayerInfo[playerid][pCargo] == 5) { SetPlayerSkin(playerid, 127); } if(PlayerInfo[playerid][pCargo] == 6) { SetPlayerSkin(playerid, 294); } if(PlayerInfo[playerid][pSex] == 2) { SetPlayerSkin(playerid, 93); }} } case 23: //As FARC Nascimento { SetSpawnInfo(playerid, GetPlayerOrg(playerid), PlayerInfo[playerid][pSkin],-2281.6396,2288.4011,4.9699,0,-1, -1, -1, -1, -1, -1); SetPlayerFacingAngle(playerid,181.3263); SetPlayerVirtualWorld(playerid,0); SetPlayerInterior(playerid,0); PlayerInfo[playerid][pInt] = 0; if(PlayerInfo[playerid][pSkinFixa] == 0) { if(PlayerInfo[playerid][pCargo] == 1) { SetPlayerSkin(playerid, 121); } if(PlayerInfo[playerid][pCargo] == 2) { SetPlayerSkin(playerid, 112); } if(PlayerInfo[playerid][pCargo] == 3) { SetPlayerSkin(playerid, 128); } if(PlayerInfo[playerid][pCargo] == 4) { SetPlayerSkin(playerid, 122); } if(PlayerInfo[playerid][pCargo] == 5) { SetPlayerSkin(playerid, 249); } if(PlayerInfo[playerid][pCargo] == 6) { SetPlayerSkin(playerid, 249); } if(PlayerInfo[playerid][pSex] == 2) { SetPlayerSkin(playerid, 131); }} } case 24: //Mayans Nascimento { SetSpawnInfo(playerid, GetPlayerOrg(playerid), PlayerInfo[playerid][pSkin],479.5927,-1538.4657,19.3843,0,-1, -1, -1, -1, -1, -1); SetPlayerFacingAngle(playerid,117.8966); SetPlayerVirtualWorld(playerid,0); SetPlayerInterior(playerid,0); PlayerInfo[playerid][pInt] = 0; if(PlayerInfo[playerid][pSkinFixa] == 0) { if(PlayerInfo[playerid][pCargo] == 1) { SetPlayerSkin(playerid, 261); } if(PlayerInfo[playerid][pCargo] == 2) { SetPlayerSkin(playerid, 21); } if(PlayerInfo[playerid][pCargo] == 3) { SetPlayerSkin(playerid, 21); } if(PlayerInfo[playerid][pCargo] == 4) { SetPlayerSkin(playerid, 297); } if(PlayerInfo[playerid][pCargo] == 5) { SetPlayerSkin(playerid, 296); } if(PlayerInfo[playerid][pCargo] == 6) { SetPlayerSkin(playerid, 3); } if(PlayerInfo[playerid][pSex] == 2) { SetPlayerSkin(playerid, 75); }} } case 25: //Sons Of Anarchy Nascimento { SetSpawnInfo(playerid, GetPlayerOrg(playerid), PlayerInfo[playerid][pSkin],681.7535,-473.5503,16.5363,0,-1, -1, -1, -1, -1, -1); SetPlayerFacingAngle(playerid,180.4776); SetPlayerVirtualWorld(playerid,0); SetPlayerInterior(playerid,0); PlayerInfo[playerid][pInt] = 0; if(PlayerInfo[playerid][pSkinFixa] == 0) { if(PlayerInfo[playerid][pCargo] == 1) { SetPlayerSkin(playerid, 247); } if(PlayerInfo[playerid][pCargo] == 2) { SetPlayerSkin(playerid, 247); } if(PlayerInfo[playerid][pCargo] == 3) { SetPlayerSkin(playerid, 254); } if(PlayerInfo[playerid][pCargo] == 4) { SetPlayerSkin(playerid, 254); } if(PlayerInfo[playerid][pCargo] == 5) { SetPlayerSkin(playerid, 248); } if(PlayerInfo[playerid][pCargo] == 6) { SetPlayerSkin(playerid, 100); } if(PlayerInfo[playerid][pSex] == 2) { SetPlayerSkin(playerid, 238); }} } case 26: //Milicia Nascimento { SetSpawnInfo(playerid, GetPlayerOrg(playerid), PlayerInfo[playerid][pSkin],2489.7751,923.1611,11.0234,0,-1, -1, -1, -1, -1, -1); SetPlayerFacingAngle(playerid,179.5836); SetPlayerVirtualWorld(playerid,0); SetPlayerInterior(playerid,0); PlayerInfo[playerid][pInt] = 0; if(PlayerInfo[playerid][pSkinFixa] == 0) { if(PlayerInfo[playerid][pCargo] == 1) { SetPlayerSkin(playerid, 29); } if(PlayerInfo[playerid][pCargo] == 2) { SetPlayerSkin(playerid, 72); } if(PlayerInfo[playerid][pCargo] == 3) { SetPlayerSkin(playerid, 261); } if(PlayerInfo[playerid][pCargo] == 4) { SetPlayerSkin(playerid, 78); } if(PlayerInfo[playerid][pCargo] == 5) { SetPlayerSkin(playerid, 234); } if(PlayerInfo[playerid][pCargo] == 6) { SetPlayerSkin(playerid, 160); } if(PlayerInfo[playerid][pSex] == 2) { SetPlayerSkin(playerid, 225); }} } case 28: //Hells spawn { SetPlayerPos(playerid, 681.6184,-474.1958,16.5363); SetPlayerFacingAngle(playerid,1.5626); SetPlayerVirtualWorld(playerid,0); SetPlayerInterior(playerid,0); PlayerInfo[playerid][pInt] = 0; } case 29: //Forcas Especiais Spawn { SetPlayerPos(playerid, 182.2824,-2140.3250,12.4063); SetPlayerFacingAngle(playerid,312.4816); SetPlayerVirtualWorld(playerid,0); SetPlayerInterior(playerid,0); PlayerInfo[playerid][pInt] = 0; if(PlayerInfo[playerid][pSkinFixa] == 0) { if(PlayerInfo[playerid][pCargo] == 1) { SetPlayerSkin(playerid, 287); PlayerInfo[playerid][pSkin] = 287; } if(PlayerInfo[playerid][pCargo] == 2) { SetPlayerSkin(playerid, 287); PlayerInfo[playerid][pSkin] = 287; } if(PlayerInfo[playerid][pCargo] == 3) { SetPlayerSkin(playerid, 287); PlayerInfo[playerid][pSkin] = 287; } if(PlayerInfo[playerid][pCargo] == 4) { SetPlayerSkin(playerid, 287); PlayerInfo[playerid][pSkin] = 287; } if(PlayerInfo[playerid][pCargo] == 5) { SetPlayerSkin(playerid, 287); PlayerInfo[playerid][pSkin] = 287; } if(PlayerInfo[playerid][pCargo] == 6) { SetPlayerSkin(playerid, 73); PlayerInfo[playerid][pSkin] = 73; } if(PlayerInfo[playerid][pSex] == 2) { SetPlayerSkin(playerid, 191); PlayerInfo[playerid][pSkin] = 191; }} } case 30: //Taliban Nascimento { SetSpawnInfo(playerid, GetPlayerOrg(playerid), PlayerInfo[playerid][pSkin], -2059.1130,393.0208,35.1719,0,-1, -1, -1, -1, -1, -1); SetPlayerFacingAngle(playerid,181.3263); SetPlayerVirtualWorld(playerid,0); SetPlayerInterior(playerid,0); PlayerInfo[playerid][pInt] = 0; } case 31: //Taliban Nascimento { SetSpawnInfo(playerid, GetPlayerOrg(playerid), PlayerInfo[playerid][pSkin],-2681.2629,636.5414,14.4531,0,-1, -1, -1, -1, -1, -1); SetPlayerFacingAngle(playerid,181.3263); SetPlayerVirtualWorld(playerid,0); SetPlayerInterior(playerid,0); PlayerInfo[playerid][pInt] = 0; } case 32: //Taliban Nascimento { SetSpawnInfo(playerid, GetPlayerOrg(playerid), PlayerInfo[playerid][pSkin],-2274.6904,533.6465,35.0494,0,-1, -1, -1, -1, -1, -1); SetPlayerFacingAngle(playerid,181.3263); SetPlayerVirtualWorld(playerid,0); SetPlayerInterior(playerid,0); PlayerInfo[playerid][pInt] = 0; } case 33://Policia Civil { DPExit[playerid] = 1; SetPlayerInterior(playerid,3); //localizardppc[playerid] = 1; PlayerInfo[playerid][pInt] = 3; SetPlayerVirtualWorld(playerid, 10); SetSpawnInfo(playerid, GetPlayerOrg(playerid), PlayerInfo[playerid][pSkin],228.8930,182.1224,1003.0313,0,-1, -1, -1, -1, -1, -1); SetPlayerFacingAngle(playerid,177.3237); if(PlayerInfo[playerid][pSkinFixa] == 0) { if(PlayerInfo[playerid][pCargo] == 1) { SetPlayerSkin(playerid, 59); PlayerInfo[playerid][pSkin] = 59; } if(PlayerInfo[playerid][pCargo] == 2) { SetPlayerSkin(playerid, 59); PlayerInfo[playerid][pSkin] = 59; } if(PlayerInfo[playerid][pCargo] == 3) { SetPlayerSkin(playerid, 124); PlayerInfo[playerid][pSkin] = 124; } if(PlayerInfo[playerid][pCargo] == 4) { SetPlayerSkin(playerid, 299); PlayerInfo[playerid][pSkin] = 299; } if(PlayerInfo[playerid][pCargo] == 5) { SetPlayerSkin(playerid, 240); PlayerInfo[playerid][pSkin] = 240; } if(PlayerInfo[playerid][pCargo] == 6) { SetPlayerSkin(playerid, 186); PlayerInfo[playerid][pSkin] = 186; } if(PlayerInfo[playerid][pSex] == 2) { SetPlayerSkin(playerid, 141); PlayerInfo[playerid][pSkin] = 141; }} } case 34://Detran { SetSpawnInfo(playerid, GetPlayerOrg(playerid), PlayerInfo[playerid][pSkin],1059.5990,1280.1454,10.8203,0,-1, -1, -1, -1, -1, -1); SetPlayerVirtualWorld(playerid,0); SetPlayerInterior(playerid, 0); SetPlayerFacingAngle(playerid,5.3799); PlayerInfo[playerid][pInt] = 0; if(PlayerInfo[playerid][pSkinFixa] == 0) { if(PlayerInfo[playerid][pCargo] == 1) { SetPlayerSkin(playerid, 282); } if(PlayerInfo[playerid][pCargo] == 2) { SetPlayerSkin(playerid, 282); } if(PlayerInfo[playerid][pCargo] == 3) { SetPlayerSkin(playerid, 310); } if(PlayerInfo[playerid][pCargo] == 4) { SetPlayerSkin(playerid, 310); } if(PlayerInfo[playerid][pCargo] == 5) { SetPlayerSkin(playerid, 288); } if(PlayerInfo[playerid][pCargo] == 6) { SetPlayerSkin(playerid, 311); } if(PlayerInfo[playerid][pSex] == 2) { SetPlayerSkin(playerid, 309); }} } case 35://BAEP Nacimento { SetPlayerVirtualWorld(playerid,0); SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 2919.7188,2117.7031,17.8955); SetPlayerFacingAngle(playerid,4.5095); PlayerInfo[playerid][pInt] = 0; if(PlayerInfo[playerid][pSkinFixa] == 0) { if(PlayerInfo[playerid][pCargo] == 1) { SetPlayerSkin(playerid, 302); PlayerInfo[playerid][pSkin] = 302; } if(PlayerInfo[playerid][pCargo] == 2) { SetPlayerSkin(playerid, 302); PlayerInfo[playerid][pSkin] = 302; } if(PlayerInfo[playerid][pCargo] == 3) { SetPlayerSkin(playerid, 302); PlayerInfo[playerid][pSkin] = 302; } if(PlayerInfo[playerid][pCargo] == 4) { SetPlayerSkin(playerid, 302); PlayerInfo[playerid][pSkin] = 302; } if(PlayerInfo[playerid][pCargo] == 5) { SetPlayerSkin(playerid, 302); PlayerInfo[playerid][pSkin] = 302; } if(PlayerInfo[playerid][pCargo] == 6) { SetPlayerSkin(playerid, 302); PlayerInfo[playerid][pSkin] = 302; } if(PlayerInfo[playerid][pSex] == 2) { SetPlayerSkin(playerid, 306); PlayerInfo[playerid][pSkin] = 306; }} } case 36://Forca Tatica Nascimento { SetPlayerVirtualWorld(playerid,0); SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 2597.8584,1898.0626,11.0234); PlayerInfo[playerid][pInt] = 0; SetPlayerWantedLevelEx(playerid, 0); if(PlayerInfo[playerid][pSkinFixa] == 0) { if(PlayerInfo[playerid][pCargo] == 1) { SetPlayerSkin(playerid, 285); PlayerInfo[playerid][pSkin] = 285; } if(PlayerInfo[playerid][pCargo] == 2) { SetPlayerSkin(playerid, 285); PlayerInfo[playerid][pSkin] = 285; } if(PlayerInfo[playerid][pCargo] == 3) { SetPlayerSkin(playerid, 285); PlayerInfo[playerid][pSkin] = 285; } if(PlayerInfo[playerid][pCargo] == 4) { SetPlayerSkin(playerid, 285); PlayerInfo[playerid][pSkin] = 285; } if(PlayerInfo[playerid][pCargo] == 5) { SetPlayerSkin(playerid, 285); PlayerInfo[playerid][pSkin] = 285; } if(PlayerInfo[playerid][pCargo] == 6) { SetPlayerSkin(playerid, 294); PlayerInfo[playerid][pSkin] = 294; } if(PlayerInfo[playerid][pSex] == 2) { SetPlayerSkin(playerid, 306); PlayerInfo[playerid][pSkin] = 306; }} SetPlayerPos(playerid, 2597.8584,1898.0626,11.0234); } case 37: //tropa da turquia { SetSpawnInfo(playerid, GetPlayerOrg(playerid), PlayerInfo[playerid][pSkin],1462.9502,341.5400,18.9075,0,-1, -1, -1, -1, -1, -1); SetPlayerInterior(playerid, 0); SetPlayerFacingAngle(playerid, 103.6155); SetPlayerVirtualWorld(playerid,0); PlayerInfo[playerid][pInt] = 0; if(PlayerInfo[playerid][pSkinFixa] == 0) { if(PlayerInfo[playerid][pCargo] == 1) { SetPlayerSkin(playerid, 293); } if(PlayerInfo[playerid][pCargo] == 2) { SetPlayerSkin(playerid, 293); } if(PlayerInfo[playerid][pCargo] == 3) { SetPlayerSkin(playerid, 293); } if(PlayerInfo[playerid][pCargo] == 4) { SetPlayerSkin(playerid, 293); } if(PlayerInfo[playerid][pCargo] == 5) { SetPlayerSkin(playerid, 293); } if(PlayerInfo[playerid][pCargo] == 6) { SetPlayerSkin(playerid, 293); } if(PlayerInfo[playerid][pSex] == 2) { SetPlayerSkin(playerid, 193); }} } default://--------- Spawn Civil -------------------- { new rand = random(sizeof(SpawnsLS)); if(PlayerInfo[playerid][pCidadeEscolheu] == 0) SetSpawnInfo(playerid, GetPlayerOrg(playerid), PlayerInfo[playerid][pSkin], /*1714.9094,-1886.0321,13.5666*/ SpawnsLS[rand][0], SpawnsLS[rand][1],SpawnsLS[rand][2],0,-1, -1, -1, -1, -1, -1); if(PlayerInfo[playerid][pCidadeEscolheu] == 1) SetSpawnInfo(playerid, GetPlayerOrg(playerid), PlayerInfo[playerid][pSkin], /*1714.9094,-1886.0321,13.5666*/ 1705.4833,1480.4753,10.7879,0,-1, -1, -1, -1, -1, -1); SetPlayerVirtualWorld(playerid, 0); SetPlayerInterior(playerid,0); SetCameraBehindPlayer(playerid); PlayerInfo[playerid][pInt] = 0; } } } stock GetVehicleSpeed(vehicleid) { new Float:x, Float:y, Float:z; GetVehicleVelocity(vehicleid, x, y, z); return floatround(floatsqroot(x*x+y*y+z*z)*170); } stock RemovePlayerFromVehiclePos(playerid) { new Float:ppos[3]; GetPlayerPos(playerid, ppos[0], ppos[1], ppos[2]); SetPlayerPos(playerid, ppos[0], ppos[1], ppos[2]+0.2); } stock CheckChave(playerid, vehicleid) { for(new i = 0; i < sizeof(CarInfo); i++) { if(vehicleid == CarInfo[i][ownedvehicle]) { new /*gstring[256],*/ string[128]; if(CarInfo[i][cOwned]==0) { CarOffered[playerid]=1; SendClientMessage(playerid, COLOR_LIGHTBLUE, "Voce entrou em um veiculo da concessionaria"); format(string,sizeof(string),"~w~Carro: %s~n~Preco: ~g~%d~n~~w~use:/comprarcarro",CarInfo[i][cDescription],CarInfo[i][cValue]); GameTextForPlayer(playerid,string, 9000, 5); } if(CarInfo[i][cOwned]== 1) { if(strcmp(PlayerName(playerid),CarInfo[i][cOwner],true)==0) { format(gstring,sizeof(gstring),"Voce entrou no seu Veiculo Vip ele tem [%d]R$ Use: /retirargrana para pegar.",CarInfo[i][cGrana]); SendClientMessage(playerid, COLOR_LIGHTBLUE, gstring); TogglePlayerControllableEx(playerid, 1); } else { // format(gstring,sizeof(gstring),"[CARRO VIP] Este veiculo e de %s, voce pagou R$%d,00 para andar nele!",CarInfo[i][cOwner],CarInfo[i][cEntrada]); // CarInfo[i][cGrana] += 150; // GivePlayerMoneyEx(playerid, -CarInfo[i][cEntrada]); } } } } new mot, lu, alar, por, cap, porma, ob; GetVehicleParamsEx(vehicleid, mot, lu, alar, por, cap, porma, ob); if(CriadoPorADM[vehicleid] == -1) { if(IsAAztecaCar(vehicleid) && CarroORGID[vehicleid] == 5) { if(!IsAAzteca(playerid)) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "Voce nao e da Tropa da Franca, por isso nao tem a chave desse veiculo!"); SetVehicleParamsEx(vehicleid, VEHICLE_PARAMS_OFF, lu, alar, por, cap, porma, ob); return 1; } } if(VehicleInfo[vehicleid][vLock] == 1 && CarroParticular[vehicleid] == 1) { RemovePlayerFromVehicle(playerid); SendClientMessage(playerid, COLOR_LIGHTBLUE, "Veiculo esta trancado!"); } if(PlayerInfo[playerid][pEmprego] == 3) { if(GetPVarInt(playerid, "AGRTrampando") && GetVehicleModel(vehicleid) != 437) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "Voce nao pode trabalhar com um veiculo diferente da sua profissao!"); RemovePlayerFromVehicle(playerid); } } else if(IsAGATCar(vehicleid) && !IsVeiculoInventario(vehicleid) && !IsVeiculoConce(vehicleid)) { if(vehicleid == 6 && PlayerInfo[playerid][pCargo] < 6) { SendClientMessage(playerid, COLOR_GREY, "Somente Sub/Lider Podem Pilotar essa belezinha."); SetVehicleParamsEx(vehicleid, VEHICLE_PARAMS_OFF, lu, alar, por, cap, porma, ob); return 1; } /* if(!IsACopFCar(playerid)) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "Voce nao e um Policial, por isso nao tem a chave desse veiculo!"); SetVehicleParamsEx(vehicleid, VEHICLE_PARAMS_OFF, lu, alar, por, cap, porma, ob); return 1; } */ } else if(IsAPFCar(vehicleid) && CarroORGID[vehicleid] == 11 && !IsVeiculoInventario(vehicleid) && !IsVeiculoConce(vehicleid)) { if(!IsAPFV(playerid)) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "Voce nao e da Policia Federal, por isso nao tem a chave desse veiculo!"); SetVehicleParamsEx(vehicleid, VEHICLE_PARAMS_OFF, lu, alar, por, cap, porma, ob); RemovePlayerFromVehicle(playerid); return 1; } } else if(IsAROTAsCar(vehicleid) && CarroORGID[vehicleid] == 2 && !IsVeiculoInventario(vehicleid) && !IsVeiculoConce(vehicleid)) { if(!IsABOPEV(playerid)) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "Voce nao e do B.O.P.E, por isso nao tem a chave desse veiculo!"); SetVehicleParamsEx(vehicleid, VEHICLE_PARAMS_OFF, lu, alar, por, cap, porma, ob); RemovePlayerFromVehicle(playerid); return 1; } } else if(IsAPRCar(vehicleid) && CarroORGID[vehicleid] == 33 && !IsVeiculoInventario(vehicleid) && !IsVeiculoConce(vehicleid)) { if(!IsAPCV(playerid)) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "Voce nao e da Policia Civil, por isso nao tem a chave desse veiculo!"); SetVehicleParamsEx(vehicleid, VEHICLE_PARAMS_OFF, lu, alar, por, cap, porma, ob); RemovePlayerFromVehicle(playerid); return 1; } } else if(IsAROTACar(vehicleid) && CarroORGID[vehicleid] == 16 && !IsVeiculoInventario(vehicleid) && !IsVeiculoConce(vehicleid)) { if(!IsAROTAV(playerid)) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "Voce nao e do ROTA, por isso nao tem a chave desse veiculo!"); SetVehicleParamsEx(vehicleid, VEHICLE_PARAMS_OFF, lu, alar, por, cap, porma, ob); RemovePlayerFromVehicle(playerid); return 1; } } else if(IsAGNCar(vehicleid) && CarroORGID[vehicleid] == 3 && !IsVeiculoInventario(vehicleid) && !IsVeiculoConce(vehicleid)) { if(!IsAExe(playerid)) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "Voce nao e do Exercito, por isso nao tem a chave desse veiculo!"); SetVehicleParamsEx(vehicleid, VEHICLE_PARAMS_OFF, lu, alar, por, cap, porma, ob); RemovePlayerFromVehicle(playerid); return 1; } } else if(IsACopCar(vehicleid) && CarroORGID[vehicleid] == 1 && !IsVeiculoInventario(vehicleid) && !IsVeiculoConce(vehicleid)) { if(!IsAPMLS(playerid)) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "Voce nao e da Policia Militar, por isso nao tem a chave desse veiculo!"); SetVehicleParamsEx(vehicleid, VEHICLE_PARAMS_OFF, lu, alar, por, cap, porma, ob); RemovePlayerFromVehicle(playerid); return 1; } } else if(IsAGatNewCar(vehicleid) && CarroORGID[vehicleid] == 6 && !IsVeiculoInventario(vehicleid) && !IsVeiculoConce(vehicleid)) { if(!IsAGATNew(playerid)) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "Voce nao e da GAT, por isso nao tem a chave desse veiculo!"); SetVehicleParamsEx(vehicleid, VEHICLE_PARAMS_OFF, lu, alar, por, cap, porma, ob); RemovePlayerFromVehicle(playerid); return 1; } } else if(IsAGATCar(vehicleid) && CarroORGID[vehicleid] == 35 && !IsVeiculoInventario(vehicleid) && !IsVeiculoConce(vehicleid)) { if(!IsBAEP(playerid)) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "Voce nao e da BAEP, por isso nao tem a chave desse veiculo!"); SetVehicleParamsEx(vehicleid, VEHICLE_PARAMS_OFF, lu, alar, por, cap, porma, ob); RemovePlayerFromVehicle(playerid); return 1; } } else if(IsAOniCar(vehicleid) && CarroEMPREGOID[vehicleid] == 9 && !IsVeiculoInventario(vehicleid) && !IsVeiculoConce(vehicleid)) { if(!IsAOni(playerid)) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "Voce nao e um motorista de Onibus, por isso nao tem a chave desse veiculo!"); SetVehicleParamsEx(vehicleid, VEHICLE_PARAMS_OFF, lu, alar, por, cap, porma, ob); RemovePlayerFromVehicleEx(playerid); return 1; } } else if(IsABombeirosCar(vehicleid) && CarroEMPREGOID[vehicleid] == 6 && !IsVeiculoInventario(vehicleid) && !IsVeiculoConce(vehicleid)) { if(PlayerInfo[playerid][pEmprego] != 6) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "Voce nao e do Corpo de Bombeiros, por isso nao tem a chave desse veiculo!"); SetVehicleParamsEx(vehicleid, VEHICLE_PARAMS_OFF, lu, alar, por, cap, porma, ob); RemovePlayerFromVehicleEx(playerid); return 1; } } else if(IsADetranCar(vehicleid) && CarroORGID[vehicleid] == 34 && !IsVeiculoInventario(vehicleid) && !IsVeiculoConce(vehicleid)) { if(!IsADetran(playerid)) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "Voce nao faz parte do Detran, por isso nao tem a chave desse veiculo!"); SetVehicleParamsEx(vehicleid, VEHICLE_PARAMS_OFF, lu, alar, por, cap, porma, ob); RemovePlayerFromVehicleEx(playerid); return 1; } } else if(IsAMecCar(vehicleid) && CarroEMPREGOID[vehicleid] == 2 && !IsVeiculoInventario(vehicleid) && !IsVeiculoConce(vehicleid)) { if(!IsAMec(playerid)) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "Voce nao e um Mecânico, por isso nao tem a chave desse veiculo!"); SetVehicleParamsEx(vehicleid, VEHICLE_PARAMS_OFF, lu, alar, por, cap, porma, ob); RemovePlayerFromVehicleEx(playerid); return 1; } } else if(SedexCarros(vehicleid) && CarroEMPREGOID[vehicleid] == 10 && !IsVeiculoInventario(vehicleid) && !IsVeiculoConce(vehicleid)) { if(!IsASedex(playerid)) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "Voce nao e um motorista do sedex, por isso nao tem a chave desse veiculo!"); SetVehicleParamsEx(vehicleid, VEHICLE_PARAMS_OFF, lu, alar, por, cap, porma, ob); RemovePlayerFromVehicleEx(playerid); return 1; } if(EmpregoDuty[playerid] == 0) { SendClientMessage(playerid, COLOR_GRAD1, "Você deve bater o cartão para usar este veículo!"); return 1; } if(Gifts[playerid] == 0) { if(TotalGifts[playerid] != 0) return 1; CarroPresentes[playerid] = vehicleid; SendClientMessage(playerid, COLOR_LIGHTBLUE, "Vá até o CHECKPOINT para carregar presentes!"); SetPlayerCheckpoint(playerid, 43.1281,-173.2600,1.8075, 8.0); PresenteCP[playerid] = 3; } } else if(IsAiFoodCar(vehicleid) && CarroEMPREGOID[vehicleid] == 7 && !IsVeiculoInventario(vehicleid) && !IsVeiculoConce(vehicleid)) { if(!IsAiFood(playerid)) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "Voce nao e um Entregador iFood, por isso nao tem a chave desse veiculo!"); SetVehicleParamsEx(vehicleid, VEHICLE_PARAMS_OFF, lu, alar, por, cap, porma, ob); RemovePlayerFromVehicleEx(playerid); return 1; } } else if(IsAGariCar(vehicleid) && CarroEMPREGOID[vehicleid] == 8 && !IsVeiculoInventario(vehicleid) && !IsVeiculoConce(vehicleid)) { if(!IsAGari(playerid)) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "Voce nao é um gari, por isso nao tem a chave desse veiculo!"); SetVehicleParamsEx(vehicleid, VEHICLE_PARAMS_OFF, lu, alar, por, cap, porma, ob); RemovePlayerFromVehicleEx(playerid); return 1; } } else if(IsAPCCCar(vehicleid) && CarroORGID[vehicleid] == 21 && !IsVeiculoInventario(vehicleid) && !IsVeiculoConce(vehicleid)) { if(!IsAPCCSF(playerid) && !IsAPCC(playerid)) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "Voce nao e um PCC, por isso nao tem a chave desse veiculo!"); SetVehicleParamsEx(vehicleid, VEHICLE_PARAMS_OFF, lu, alar, por, cap, porma, ob); RemovePlayerFromVehicleEx(playerid); return 1; } } else if(IsAMayansCar(vehicleid) && CarroORGID[vehicleid] == 24 && !IsVeiculoInventario(vehicleid) && !IsVeiculoConce(vehicleid)) { if(!IsAMayan(playerid)) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "Voce nao e da Mayans, por isso nao tem a chave desse veiculo!"); SetVehicleParamsEx(vehicleid, VEHICLE_PARAMS_OFF, lu, alar, por, cap, porma, ob); RemovePlayerFromVehicleEx(playerid); return 1; } } else if(IsAYakuzaCar(vehicleid) && CarroORGID[vehicleid] == 13 && !IsVeiculoInventario(vehicleid) && !IsVeiculoConce(vehicleid)) { if(GetPlayerOrg(playerid) != 13) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "Voce nao e da mafia Yakuza, por isso nao tem a chave desse veiculo!"); SetVehicleParamsEx(vehicleid, VEHICLE_PARAMS_OFF, lu, alar, por, cap, porma, ob); RemovePlayerFromVehicleEx(playerid); return 1; } } else if(IsARUSSACar(vehicleid) && CarroORGID[vehicleid] == 12 && !IsVeiculoInventario(vehicleid) && !IsVeiculoConce(vehicleid)) { if(GetPlayerOrg(playerid) != 12) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "Voce nao e da Mafia Cosa Nostra, por isso nao tem a chave desse veiculo!"); SetVehicleParamsEx(vehicleid, VEHICLE_PARAMS_OFF, lu, alar, por, cap, porma, ob); RemovePlayerFromVehicleEx(playerid); return 1; } } else if(IsASonssCar(vehicleid) && CarroORGID[vehicleid] == 25 && !IsVeiculoInventario(vehicleid) && !IsVeiculoConce(vehicleid)) { if(!IsASons(playerid)) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "Voce nao e dos Sons Of Anarchy, por isso nao tem a chave desse veiculo!"); SetVehicleParamsEx(vehicleid, VEHICLE_PARAMS_OFF, lu, alar, por, cap, porma, ob); RemovePlayerFromVehicleEx(playerid); return 1; } } else if(IsABallasCar(vehicleid) && CarroORGID[vehicleid] == 17 && !IsVeiculoInventario(vehicleid) && !IsVeiculoConce(vehicleid)) { if(!IsABallas(playerid)) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "Voce nao e um Ballas, por isso nao tem a chave desse veiculo!"); SetVehicleParamsEx(vehicleid, VEHICLE_PARAMS_OFF, lu, alar, por, cap, porma, ob); RemovePlayerFromVehicleEx(playerid); return 1; } } else if(IsAVagosCar(vehicleid) && CarroORGID[vehicleid] == 18 && !IsVeiculoInventario(vehicleid) && !IsVeiculoConce(vehicleid)) { if(!IsAVagos(playerid)) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "Voce nao e um Los Santos Vagos, por isso nao tem a chave desse veiculo!"); SetVehicleParamsEx(vehicleid, VEHICLE_PARAMS_OFF, lu, alar, por, cap, porma, ob); RemovePlayerFromVehicleEx(playerid); return 1; } } else if(IsAGrooveCar(vehicleid) && CarroORGID[vehicleid] == 14 && !IsVeiculoInventario(vehicleid) && !IsVeiculoConce(vehicleid)) { if(!IsAGroove(playerid)) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "Voce nao e um Black Elements, por isso nao tem a chave desse veiculo!"); SetVehicleParamsEx(vehicleid, VEHICLE_PARAMS_OFF, lu, alar, por, cap, porma, ob); RemovePlayerFromVehicleEx(playerid); return 1; } } else if(IsAnAmbulanceCar(vehicleid) && CarroORGID[vehicleid] == 4 && !IsVeiculoInventario(vehicleid) && !IsVeiculoConce(vehicleid)) { if(!IsAMedicos(playerid)) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "Voce nao e um Medico, por isso nao tem a chave desse veiculo!"); SetVehicleParamsEx(vehicleid, VEHICLE_PARAMS_OFF, lu, alar, por, cap, porma, ob); RemovePlayerFromVehicleEx(playerid); return 1; } } else if(IsAAGRCar(vehicleid) && CarroEMPREGOID[vehicleid] == 3 && !IsVeiculoInventario(vehicleid) && !IsVeiculoConce(vehicleid)) { if(PlayerInfo[playerid][pEmprego] != 3) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "Voce nao e um Agricultor, por isso nao tem a chave desse veiculo!"); SetVehicleParamsEx(vehicleid, VEHICLE_PARAMS_OFF, lu, alar, por, cap, porma, ob); RemovePlayerFromVehicleEx(playerid); return 1; } } else if(IsAComandoVermelhoCar(vehicleid) && CarroORGID[vehicleid] == 19 && !IsVeiculoInventario(vehicleid) && !IsVeiculoConce(vehicleid)) { if(!IsASonsofAnarchy(playerid) && !IsAComandoVermelho(playerid)) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "Voce nao e do Comando Vermelho, por isso nao tem a chave desse veiculo!"); SetVehicleParamsEx(vehicleid, VEHICLE_PARAMS_OFF, lu, alar, por, cap, porma, ob); RemovePlayerFromVehicleEx(playerid); return 1; } } else if(IsATropaDaTurquiaCar(vehicleid) && CarroORGID[vehicleid] == 37 && !IsVeiculoInventario(vehicleid) && !IsVeiculoConce(vehicleid)) { if(!IsASonsofAnarchy(playerid) && !IsATropaDaTurquia(playerid)) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "Voce nao e da Tropa Da Turquia, por isso nao tem a chave desse veiculo!"); SetVehicleParamsEx(vehicleid, VEHICLE_PARAMS_OFF, lu, alar, por, cap, porma, ob); RemovePlayerFromVehicleEx(playerid); return 1; } } else if(IsATaxistaCar(vehicleid) && CarroEMPREGOID[vehicleid] == 5 && !IsVeiculoInventario(vehicleid) && !IsVeiculoConce(vehicleid)) { if(PlayerInfo[playerid][pEmprego] != 5) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "Voce nao e um Taxista, por isso nao tem a chave desse veiculo!"); SetVehicleParamsEx(vehicleid, VEHICLE_PARAMS_OFF, lu, alar, por, cap, porma, ob); RemovePlayerFromVehicleEx(playerid); return 1; } } else if(IsAJornalCar(vehicleid) && CarroORGID[vehicleid] == 9 && !IsVeiculoInventario(vehicleid) && !IsVeiculoConce(vehicleid)) { if(!IsAJornal(playerid)) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "Voce nao e um Reporter, por isso nao tem a chave desse veiculo!"); SetVehicleParamsEx(vehicleid, VEHICLE_PARAMS_OFF, lu, alar, por, cap, porma, ob); RemovePlayerFromVehicleEx(playerid); return 1; } } else if(IsATriadCar(vehicleid) && CarroORGID[vehicleid] == 22 && !IsVeiculoInventario(vehicleid) && !IsVeiculoConce(vehicleid)) { if(!IsATriad(playerid)) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "Voce nao e um Triad, por isso nao tem a chave desse veiculo!"); SetVehicleParamsEx(vehicleid, VEHICLE_PARAMS_OFF, lu, alar, por, cap, porma, ob); RemovePlayerFromVehicleEx(playerid); return 1; } } else if(IsAAlCar(vehicleid) && CarroORGID[vehicleid] == 15 && !IsVeiculoInventario(vehicleid) && !IsVeiculoConce(vehicleid)) { if(!IsAAl(playerid)) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "Voce nao e um Estado Islâmico, por isso nao tem a chave desse veiculo!"); SetVehicleParamsEx(vehicleid, VEHICLE_PARAMS_OFF, lu, alar, por, cap, porma, ob); RemovePlayerFromVehicle(playerid); return 1; } } else if(IsAGICar(vehicleid) && CarroORGID[vehicleid] == 23 && !IsVeiculoInventario(vehicleid) && !IsVeiculoConce(vehicleid)) { if(!IsAGI(playerid)) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "Voce nao faz parte da As FARC, por isso nao tem a chave desse veiculo!"); SetVehicleParamsEx(vehicleid, VEHICLE_PARAMS_OFF, lu, alar, por, cap, porma, ob); RemovePlayerFromVehicle(playerid); return 1; } } else if(IsAHitCar(vehicleid) && CarroORGID[vehicleid] == 8 && !IsVeiculoInventario(vehicleid) && !IsVeiculoConce(vehicleid)) { if(!IsAHit(playerid)) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "Voce nao e um Hitman, por isso nao tem a chave desse veiculo!"); SetVehicleParamsEx(vehicleid, VEHICLE_PARAMS_OFF, lu, alar, por, cap, porma, ob); RemovePlayerFromVehicleEx(playerid); return 1; } } else if(IsAHelperCar(vehicleid) && !IsVeiculoInventario(vehicleid) && !IsVeiculoConce(vehicleid)) { if(PlayerInfo[playerid][pHelper] < 1) { SendClientMessage(playerid, 0xFF69B4FF, "Voce nao e um Helper, por isso nao tem a chave desse veiculo!"); SetVehicleParamsEx(vehicleid, VEHICLE_PARAMS_OFF, lu, alar, por, cap, porma, ob); RemovePlayerFromVehicleEx(playerid); return 1; } else { if(helpertrampando[playerid] == 0) { SendClientMessage(playerid, 0xFF69B4FF, "Voce nao esta em Modo ajuda, , por isso nao tem a chave desse veiculo!"); SetVehicleParamsEx(vehicleid, VEHICLE_PARAMS_OFF, lu, alar, por, cap, porma, ob); RemovePlayerFromVehicleEx(playerid); return 1; } } } else if(IsATDECar(vehicleid)&& CarroORGID[vehicleid] == 38 && !IsVeiculoInventario(vehicleid) && !IsVeiculoConce(vehicleid)) { if(!IsATDE(playerid)) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "Voce nao e da tropa da escocia, por isso nao tem a chave desse veiculo!"); SetVehicleParamsEx(vehicleid, VEHICLE_PARAMS_OFF, lu, alar, por, cap, porma, ob); RemovePlayerFromVehicleEx(playerid); return 1; } } else if(IsAGOVCar(vehicleid)&& CarroORGID[vehicleid] == 7 && !IsVeiculoInventario(vehicleid) && !IsVeiculoConce(vehicleid)) { if(!IsAGOV(playerid)) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "Voce nao e do Governo, por isso nao tem a chave desse veiculo!"); SetVehicleParamsEx(vehicleid, VEHICLE_PARAMS_OFF, lu, alar, por, cap, porma, ob); RemovePlayerFromVehicleEx(playerid); return 1; } } } else if(IsAPlane(vehicleid)) { if(PlayerInfo[playerid][pFlyLic] == 0 && PlayerInfo[playerid][pLevel] >= 6) { SendClientMessage(playerid, COLOR_LIGHTRED, "Voce ainda nao tem licenca para voar! Compre uma no centro de licencas !"); SendClientMessage(playerid, COLOR_LIGHTRED, "A partir do level 5 voce comecara a pegar nivel de procurado, entao va no Centro de Licencas!"); } if(PlayerInfo[playerid][pFlyLic] < 1 && PlayerInfo[playerid][pLevel] >= 6 && !InTeste[playerid]) { SetPlayerCriminal(playerid,255,"Voando Sem Licenca"); } } else { if(PlayerInfo[playerid][pCarLic] < 1 && !InTeste[playerid]) { if(PlayerInfo[playerid][pCarLic] == 0 && PlayerInfo[playerid][pLevel] < 6) { SendClientMessage(playerid, COLOR_LIGHTRED, "Voce ainda nao tem licenca para dirigir carro! Compre uma no centro de licencas !"); SendClientMessage(playerid, COLOR_LIGHTRED, "A partir do level 5 voce comecara a pegar nivel de procurado, entao va no Centro de Licencas!"); } if(PlayerDrunk[playerid] >= 1) { SetPlayerCriminal(playerid,255, "Dirigindo Bebado"); } /*if(!IsABikeCar(vehicleid)) { }*/ } } if(IsABombCar(vehicleid)) { if(!TendoGuerra && IsATankCar(vehicleid)) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "Voce nao pode ligar o tanque quando nao estiver tendo guerra !"); SetVehicleParamsEx(vehicleid, VEHICLE_PARAMS_OFF, lu, alar, por, cap, porma, ob); RemovePlayerFromVehicle(playerid); return 1; } } return 0; } //------------------------------------------------------------------------------------------------------ public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger) { LastVeh[playerid] = vehicleid; if(IsAHeli(vehicleid)) { if(IsACop(playerid) || PlayerInfo[playerid][pEmprego] == 6) { SendPlayerTextMessage(playerid, "~y~Voce pode descer de corda deste helicoptero usando ~g~/corda", 7000); return 1; } } new mot, lu, alar, por, cap, porma, ob; if(IsPlayerNPC(playerid)) GetVehicleParamsEx(vehicleid, mot, lu, alar, por, cap, porma, ob), SetVehicleParamsEx(vehicleid, VEHICLE_PARAMS_ON, VEHICLE_PARAMS_ON, alar, por, cap, porma, ob); if(GetVehicleSpeed(vehicleid) > 45 && VeiculoOcupado(vehicleid)) { new Float:cPos[ 3 ] ; GetPlayerPos( playerid, cPos[ 0 ] , cPos[ 1 ] , cPos[ 2 ] ) ; SetPlayerPos( playerid, cPos[ 0 ] , cPos[ 1 ] , cPos[ 2 ] +0.1 ); SendClientMessage( playerid , COLOR_GRAD1 , "Este carro esta muito rapido!" ); } if(IsABikeCar(vehicleid)) GetVehicleParamsEx(vehicleid, mot, lu, alar, por, cap, porma, ob), SetVehicleParamsEx(vehicleid, VEHICLE_PARAMS_ON, VEHICLE_PARAMS_ON, alar, por, cap, porma, ob); return 1; } CallBack::IsAMember(playerid) { switch(GetPlayerOrg(playerid)) { case 5,6,8,10,12,13,14,15,17,18,19,20,21,22,23,24,25,26,37, 38:return 1; } return 0; } CallBack::IsACop(playerid) { new getOrg = GetPlayerOrg(playerid); if(getOrg == 1 || getOrg == 2 || getOrg == 3 || getOrg == 11 || getOrg == 33 || getOrg == 16 || getOrg == 29 || getOrg == 34 || getOrg == 35 || getOrg == 36 || getOrg == 6) return true; else return false; } CallBack::IsAGovernamental(playerid) { new getOrg = GetPlayerOrg(playerid); if(getOrg == 1 || getOrg == 2 || getOrg == 3 || getOrg == 11 || getOrg == 33 || getOrg == 16 || getOrg == 29 || getOrg == 34 || getOrg == 35 || getOrg == 36 || getOrg == 6 || getOrg == 7 || getOrg == 4) return true; else return false; } CallBack::IsACopFCar(playerid) { switch(GetPlayerOrg(playerid)) { case 1,2,3,11,33,16,29,35,36:return 1; } return 0; } CallBack::IsAExe(playerid) { switch(GetPlayerOrg(playerid)) { case 3:return 1; } return 0; } CallBack::IsABOPEV(playerid) { switch(GetPlayerOrg(playerid)) { case 2:return 1; } return 0; } CallBack::IsAFT(playerid) { switch(GetPlayerOrg(playerid)) { case 36:return 1; } return 0; } CallBack::IsAGATNew(playerid) { switch(GetPlayerOrg(playerid)) { case 6:return 1; } return 0; } CallBack::IsAPFV(playerid) { if(GetPlayerOrg(playerid) == 11) return 1; else return 0; } CallBack::IsAPCV(playerid) { switch(GetPlayerOrg(playerid)) { case 33:return 1; } return 0; } CallBack::IsAROTAV(playerid) { switch(GetPlayerOrg(playerid)) { case 16:return 1; } return 0; } CallBack::IsBAEP(playerid) { switch(GetPlayerOrg(playerid)) { case 35:return 1; } return 0; } CallBack::IsAPMLS(playerid) { switch(GetPlayerOrg(playerid)) { case 1:return 1; } return 0; } CallBack::IsAFE(playerid) { switch(GetPlayerOrg(playerid)) { case 29:return 1; } return 0; } CallBack::IsAMedicos(playerid) { switch(GetPlayerOrg(playerid)) { case 4:return 1; } return 0; } CallBack::IsALideresCop(playerid) { if(IsPlayerConnected(playerid)) { new lider = PlayerInfo[playerid][pLider]; if(lider==1 || lider==2 || lider==3 || lider==11 || lider==16 || lider==29 || lider==33 || lider==35 || lider==36) { return true; } } return 0; } CallBack::IsAtClothShop(playerid) { if(IsPlayerConnected(playerid)) { if(PlayerToPoint(25.0,playerid,207.5627,-103.7291,1005.2578) || PlayerToPoint(25.0,playerid,203.9068,-41.0728,1001.8047)) {//Binco & Suburban return true; } else if(PlayerToPoint(30.0,playerid,214.4470,-7.6471,1001.2109) || PlayerToPoint(50.0,playerid,161.3765,-83.8416,1001.8047) || PlayerToPoint(50.0,playerid,162.6288,-86.3102,1001.8047)) {//Zip & Victim return true; } else if(PlayerToPoint(30.0,playerid,210.7969,-7.6347,1001.2109)) {//Victim return true; } } return 0; } CallBack::IsAtGasStation(playerid) { if(IsPlayerConnected(playerid)) { if(PlayerToPoint(15.0,playerid,1941.9850,-1774.6639,19.7006)) { if(IsAPlane(GetPlayerVehicleID(playerid))) { return true; } } if(PlayerToPoint(6.0,playerid,1004.0070,-939.3102,42.1797) || PlayerToPoint(6.0,playerid,1944.3260,-1772.9254,13.3906) || PlayerToPoint(6.0,playerid,1400.6882,-1680.5344,42.4339) || PlayerToPoint(6.0,playerid,1496.5316,-1544.0677,23.5481) || PlayerToPoint(6.0,playerid,2737.3364,-1774.2123,43.7973)) {//LS return true; } else if(PlayerToPoint(6.0,playerid,-90.5515,-1169.4578,2.4079) || PlayerToPoint(6.0,playerid,-1609.7958,-2718.2048,48.5391)) {//LS return true; } else if(PlayerToPoint(6.0,playerid,1788.9757,-1780.3665,13.5350)) {//HQ-Bombeiros return true; } else if(PlayerToPoint(6.0,playerid,-2029.4968,156.4366,28.9498) || PlayerToPoint(8.0,playerid,-2408.7590,976.0934,45.4175)) {//SF return true; } else if(PlayerToPoint(6.0,playerid,1380.4712,462.7467,20.1107) || PlayerToPoint(8.0,playerid,1385.0475,460.5417,20.1068)) {//ppc return true; } else if(PlayerToPoint(6.0,playerid,1383.5532,457.1286,19.9561) || PlayerToPoint(8.0,playerid,1379.1952,459.1295,19.9587)) {//ppc return true; } else if(PlayerToPoint(5.0,playerid,-2243.9629,-2560.6477,31.8841) || PlayerToPoint(8.0,playerid,-1676.6323,414.0262,6.9484)) {//Between LS and SF return true; } else if(PlayerToPoint(6.0,playerid,2202.2349,2474.3494,10.5258) || PlayerToPoint(10.0,playerid,614.9333,1689.7418,6.6968)) {//LV return true; } else if(PlayerToPoint(8.0,playerid,-1328.8250,2677.2173,49.7665) || PlayerToPoint(6.0,playerid,70.3882,1218.6783,18.5165)) {//LV return true; } else if(PlayerToPoint(8.0,playerid,677.1299,-2866.3892,13.0944) || PlayerToPoint(6.0,playerid,-1327.7218,2678.8723,50.0625)) {//LV return true; } else if(PlayerToPoint(7.0,playerid,1601.6658,-1623.0013,13.4834) || PlayerToPoint(6.0,playerid,1601.6658,-1623.0013,13.4834)) {//HQ DP LS return true; } else if(PlayerToPoint(7.0,playerid,1759.5858,-1744.7997,13.5495) || PlayerToPoint(6.0,playerid,1780.5306,-1756.0095,13.5462)) {//HQ DP LS return true; } else if(PlayerToPoint(7.0,playerid,1781.5948,-1772.3348,13.5425) || PlayerToPoint(6.0,playerid,2146.8911,2748.5000,10.5474) || PlayerToPoint(6.0,playerid,1543.8979,-2173.0583,13.4202)) {//HQ DP LS return true; } } return 0; } CallBack::PreparePaintball() { foreach(Player, i) { if(PlayerPaintballing[i] != 0) { SendClientMessage(i, COLOR_YELLOW, "O Paintball ira comecar em 20 segundos."); } } SetTimer("StartPaintball", 20000, 0); return 1; } CallBack::StartPaintball() { PaintballRound = 1; StartingPaintballRound = 0; PaintballWinner = 999; PaintballWinnerKills = 0; foreach(Player, i) { if(PlayerPaintballing[i] != 0) { antihands[i] = 0; ResetPlayerWeapons(i); TempDropArmasBody[i] = 0; GivePlayerWeapon(i, 29, 999); GivePlayerWeapon(i, 31, 999); SetPlayerArmour(i, 100.0); SetPlayerHealth(i, 100.0); TogglePlayerControllableEx(i, 1); SendClientMessage(i, COLOR_YELLOW, "O Paintball comecou, 5 minutos para acabar."); PlayerPlaySound(i, 1057, 0.0, 0.0, 0.0); } } SetTimer("PaintballEnded", 300000, 0); return 1; } CallBack::PaintballEnded() { //new gstring[128]; foreach(Player, i) { if(IsPlayerConnected(i)) { if(PlayerPaintballing[i] != 0) { if(IsPlayerConnected(PaintballWinner)) { format(gstring,sizeof(gstring), "** %s ganhou o PaintBall, Matou: %d.",PlayerName(PaintballWinner),PaintballWinnerKills); SendClientMessage(i, COLOR_LIGHTBLUE, gstring); PaintballRound = 0; } ResetPlayerWeapons(i); TempDropArmasBody[i] = 0; SetPlayerInterior(i, 0); PlayerPaintballing[i] = 0; SetPlayerPos(i, 1310.1833,-1367.6090,13.5383); SetPlayerVirtualWorld(i, 0); } } } PaintballPlayers = 0; StartingPaintballRound = 0; AnnouncedPaintballRound = 0; PaintballRound = 0; return 1; } CallBack::IsAtBar(playerid) { if(IsPlayerConnected(playerid)) { if(PlayerToPoint(4.0,playerid,495.7801,-76.0305,998.7578) || PlayerToPoint(4.0,playerid,499.9654,-20.2515,1000.6797) || PlayerToPoint(4.0,playerid,1254.0154,-792.7376,1084.2344) || PlayerToPoint(10.0,playerid,2191.7827,1603.1427,1005.0625) || PlayerToPoint(15.0,playerid,942.4760,4.9500,1000.9297) || PlayerToPoint(4.0,playerid,1479.1809,-1685.3807,14.0469) || PlayerToPoint(20.0,playerid,3061.6064,-1995.8180,10.9781) || PlayerToPoint(4.0,playerid,999.9950,-1849.9808,12.8146)) {//In Black Elements bar (with girlfriend), and in Havanna return true; } else if(PlayerToPoint(4.0,playerid,1215.9480,-13.3519,1000.9219) || PlayerToPoint(10.0,playerid,-2658.9749,1407.4136,906.2734) || PlayerToPoint(10.0,playerid,378.5476,-189.0421,1000.6328) || PlayerToPoint(10.0,playerid,968.8497,-46.3663,1001.1172) || PlayerToPoint(6.0,playerid,2372.4138,-1133.9048,1050.8750)) {//PIG Pen return true; } } return 0; } stock IsACar(carid) //By Sacky { new vehicleclass = GetVehicleModel(carid); switch(vehicleclass) { case 448:return 0; case 461:return 0; case 462:return 0; case 463:return 0; case 468:return 0; case 521:return 0; case 522:return 0; case 523:return 0; case 581:return 0; case 586:return 0; case 481:return 0; case 509:return 0; case 510:return 0; case 430:return 0; case 446:return 0; case 452:return 0; case 453:return 0; case 454:return 0; case 472:return 0; case 473:return 0; case 484:return 0; case 493:return 0; case 595:return 0; case 417:return 0; case 425:return 0; case 447:return 0; case 465:return 0; case 469:return 0; case 487:return 0; case 488:return 0; case 497:return 0; case 501:return 0; case 548:return 0; case 563:return 0; case 406:return 0; case 444:return 0; case 556:return 0; case 557:return 0; case 573:return 0; case 460:return 0; case 464:return 0; case 476:return 0; case 511:return 0; case 512:return 0; case 513:return 0; case 519:return 0; case 520:return 0; case 539:return 0; case 553:return 0; case 577:return 0; case 592:return 0; case 593:return 0; case 471:return 0; } return 1; } CallBack::IsABoat(carid) { new oo = GetVehicleModel(carid); switch(oo) { case 430:return 1; case 446:return 1; case 452:return 1; case 453:return 1; case 454:return 1; case 472:return 1; case 473:return 1; case 484:return 1; case 493:return 1; case 595:return 1; } return 0; } CallBack::IsAPlane(carid) { new oo = GetVehicleModel(carid); switch(oo) { case 460:return 1; case 464:return 1; case 476:return 1; case 511:return 1; case 512:return 1; case 513:return 1; case 519:return 1; case 520:return 1; case 539:return 1; case 553:return 1; case 577:return 1; case 592:return 1; case 593:return 1; case 417:return 1; case 425:return 1; case 447:return 1; case 465:return 1; case 469:return 1; case 487:return 1; case 488:return 1; case 497:return 1; case 501:return 1; case 548:return 1; case 563:return 1; } return 0; } stock IsAPoliciaCar(vehicleid) { if(IsACopCar(vehicleid) ||IsAPRCar(vehicleid) || IsAFTCar(vehicleid) || IsAROTACar(vehicleid) || IsAROTAsCar(vehicleid) || IsAPFCar(vehicleid) || IsAGNCar(vehicleid) || IsAGATCar(vehicleid)) { return 1; } return 0; } CallBack::IsASubLCar(carid)//copcarroo { if((carid == orgVehicles[5][vID])) { return true; } return 0; } CallBack::IsAEnforcerCar(carid) // Enforcers { if((carid == 7) || (carid == 8) || (carid == 31) || (carid == 32) || (carid == 51) || (carid == 52) || (carid == 53) || (carid == 151) || (carid == 152) || (carid == 228) || (carid == 229)) { return true; } return 0; } CallBack::IsACaminhaozinhoCar(carid) // Trocar e Pegar Materiais { if((carid == 175) || (carid == 176) || (carid == 181) || (carid == 182)) { return true; } return 0; } CallBack::SendArenaMessage(color, string[]) { foreach(Player, i) { if(IsPlayerConnected(i)) { if(GetPVarInt(i, "inArena") == 1) { SendClientMessage(i, color, string); } } } return 1; } stock GetPlayerWantedLevelEx(playerid) { return WantedPoints[playerid]; } //------------------------------------------------------------------------------ //Resetar todas as variaveis stock ResetVars(playerid) { ErroSenhaAdmin[playerid] = 0; LogadoAdm[playerid] = false; Concessionaria[playerid] = 0; JaMostrouEscolherPlataforma[playerid] = false; PlayerInfo[playerid][pPlatina] = 0; JoinedHay[playerid] = 0; EntregandoPizza[playerid] = false; PlayerInfo[playerid][pResetado] = true; PlantouParedao[playerid] = 0; PlayerInfo[playerid][pTrazerChuck] = 0; Trazervs[playerid] = 0; Pacote[playerid] = 0; MedKitDados[playerid][MedPlayer] = false; TemAnuncioPersonalizado[playerid] = 0; TemJetpack[playerid] = 0; Evx[playerid] = 0; Evy[playerid] = 0; Evz[playerid] = 0; TempoEntrega[playerid] = 0; DarNota[playerid] = false; PlayerInfo[playerid][pDecod] = 0; MudarSenhaAceito[playerid] = 0; LocalSairHosp[playerid] = false; rocamativado[playerid] = 0; EventoGalpao[playerid] = 0; EventoHotel[playerid] = 0; EventoAviao[playerid] = 0; ValorSairHosp[playerid] = 0; PlayerInfo[playerid][pChatTerritorio] = 0; //PlayerInfo[playerid][pChatFomeSede] = 1; PlayerInfo[playerid][pChatVipDesativado] = 0; PlayerInfo[playerid][pChatNoticias] = 0; PlayerInfo[playerid][pChatNoob] = 0; TempDropArmas[playerid] = 0; TempDropArmasBody[playerid] = 0; VeiculoPortaM[playerid] = 0; Inventario[playerid] = 1; s_tate[playerid] = -1; ChatKill[playerid] = true; strmid(PlayerInfo[playerid][pFuncao], "Nenhuma", 0, strlen("Nenhuma"), 256); SetPVarInt(playerid, "MercID", 999); SetPVarInt(playerid, "varAFK", 0); SetPVarString(playerid, "varAFKMotivo", "Desconhecido"); PlayerInfo[playerid][pTimerTuto] = -1; Dominando[playerid] = 0; OfAssalto[playerid] = 999; OfPorteArmas[playerid] = 999; PlayerInfo[playerid][pTitulo] = 0; OffBaz[playerid] = 999; PrecoBaz[playerid] = 0; AmmoBaz[playerid] = 0; SendoAbordado[playerid] = 0; SendoAbordadoPor[playerid] = 999; EmLicencas[playerid] = 0; VendoLicencas[playerid] = 0; OfVerLicencas[playerid] = 999; PolicialAbordagem[playerid] = 999; Abordando[playerid] = 999; Tocando[playerid] = 0; comCapacete[playerid] = 0; CarregandoI[playerid] = 0; TempoMostrarLife[playerid] = -1; PlayerPaintballing[playerid] = 0; PlayerPaintballKills[playerid] = 0; VendoNick[playerid] = true; pmorto[playerid] = false; PlayerInfo[playerid][pMatouSniper] = 0; PlayerInfo[playerid][pContratos] = 0; ProvocoMafia[playerid] = 0; ProvocoMafiaPorto[playerid] = 0; MudarNickAceito[playerid] = 0; PlayerInfo[playerid][pTimerBalao] = -1; InTeste[playerid] = 0; TrueMorte1[playerid] = 0; TrueMorte2[playerid] = 0; TrueMorte3[playerid] = 0; TrueMorte4[playerid] = 0; TrueMorte5[playerid] = 0; TrueMatar1[playerid] = 0; TrueMatar2[playerid] = 0; TrueMatar3[playerid] = 0; TrueMatar4[playerid] = 0; TrueMatar5[playerid] = 0; strmid(Morreu1[playerid], "Ninguem", 0, strlen("Ninguem"), 256); strmid(Morreu2[playerid], "Ninguem", 0, strlen("Ninguem"), 256); strmid(Morreu3[playerid], "Ninguem", 0, strlen("Ninguem"), 256); strmid(Morreu4[playerid], "Ninguem", 0, strlen("Ninguem"), 256); strmid(Morreu5[playerid], "Ninguem", 0, strlen("Ninguem"), 256); strmid(Matou1[playerid], "Ninguem", 0, strlen("Ninguem"), 256); strmid(Matou2[playerid], "Ninguem", 0, strlen("Ninguem"), 256); strmid(Matou3[playerid], "Ninguem", 0, strlen("Ninguem"), 256); strmid(Matou4[playerid], "Ninguem", 0, strlen("Ninguem"), 256); strmid(Matou5[playerid], "Ninguem", 0, strlen("Ninguem"), 256); SetPVarInt(playerid, "TestandoAim", 999); SetPVarInt(playerid, "GZProcurar", -1); for(new i = 0; i < MAX_TITULOS; i++) Titulos[playerid][i] = 0; foreach(Player, p){ DMSystem[playerid][p]=false; DMSystem[p][playerid]=false; } VerSMS[playerid] = false; VerPar[playerid] = false; InTaser[playerid] = false; InChoque[playerid] = false; AdvId[playerid] = 999; HospId[playerid] = 999; EmGuerra[playerid] = 0; NaoPodeLogar[playerid] = 0; BusFed[playerid] = 0; Inenforcer[playerid] = 0; Watching[playerid] = 0; Goto[playerid] = 0; PlayerInfo[playerid][pCigarros] = 0; //entrou[playerid] = false; NaCamera[playerid] = 0; AdmHelperComido[playerid] = 0; PlayerInfo[playerid][pGalao] = false; PlayerInfo[playerid][pIsqueiro] = false; PlayerInfo[playerid][pPatins] = false; PlayerInfo[playerid][pRadio] = false; PlayerInfo[playerid][pComRadio] = false; PlayerInfo[playerid][pTelevisao] = false; PlayerInfo[playerid][pLimparb] = 0; Timer_Object_Maconha[playerid] = -1; SetPlayerInterior(playerid, 0); PlayerInfo[playerid][pDiasvip] = 0; SetPVarInt(playerid, "VarMSG", 0); PlayerPaintballKills[playerid]=0; SetPVarInt(playerid, "EntregaPizza", 0); pObject[playerid][oslot] = -1; pObject[playerid][slotreserved] = false; pban[playerid] = 0; RoubandoCaixa[playerid] = false; roubando[playerid] = 0; PlayerInfo[playerid][pExplosivos] = 0; var1[playerid] = 0; CameraFPS[playerid] = 0; EmDialog[playerid] = 0; PlayerInfo[playerid][pGun1] = 0; TruckMission[playerid] = 0; PlayerInfo[playerid][pGun2] = 0; PlayerInfo[playerid][pGun3] = 0; PlayerInfo[playerid][pGun4] = 0; storeexit[playerid] = 0; barexit[playerid] = 0; mercadoexit[playerid] = 0; pCofreOrg[playerid] = 0; PlayerInfo[playerid][pSementes] = 0; InviteOffer[playerid] = 999; InviteOffer2[playerid] = 999; InviteAtt[playerid] = 999; InviteJob[playerid] = 0; guinchado[playerid] = 0; PlayerInfo[playerid][pGun5] = 0; MercOffer[playerid] = 999; VozDePrisao[playerid] = 0; PlayerInfo[playerid][ComExplosivo] = false; PlayerInfo[playerid][pGasReserva] = 0; PlayerInfo[playerid][pContractTime] = 0; PlayerInfo[playerid][pAgendado] = 0; PlayerInfo[playerid][pCashAgendado] = 0; PlayerInfo[playerid][pMoneyAgendado] = 0; PlayerInfo[playerid][pVeiculo] = 0; PlayerInfo[playerid][pGun6] = 0; PlayerInfo[playerid][pGun7] = 0; PlayerInfo[playerid][pGun8] = 0; PlayerInfo[playerid][pGun9] = 0; PlayerInfo[playerid][pGun10] = 0; gPlayerTerminal[playerid] = 0; PlayerInfo[playerid][pGun11] = 0; PlayerInfo[playerid][pGun12] = 0; PlayerInfo[playerid][pAmmo1] = 0; PlayerInfo[playerid][pCheckInfoOrg] = 0; PlayerInfo[playerid][pAmmo2] = 0; PlayerInfo[playerid][pOuros] = 0; PlayerInfo[playerid][pAmmo3] = 0; PlayerInfo[playerid][pAmmo4] = 0; TempoAFK[playerid] = 0; PlayerInfo[playerid][pAmmo5] = 0; PlayerInfo[playerid][pAmmo6] = 0; PlayerInfo[playerid][pAmmo7] = 0; PlayerInfo[playerid][pAmmo8] = 0; PlayerInfo[playerid][pAmmo9] = 0; PlayerInfo[playerid][pAmmo10] = 0; PlayerInfo[playerid][pAmmo11] = 0; PlayerInfo[playerid][pAmmo12] = 0; PlayerInfo[playerid][pAjustado] = false; HidePM[playerid] = 0; SwitchKey[playerid] = 0; SelectChar[playerid] = 0; PhoneOnline[playerid] = 0; SelectCharID[playerid] = 0; SelectCharPlace[playerid] = 0; ChosenSkin[playerid] = 0; GettingEmprego[playerid] = 0; GuardOffer[playerid] = 999; GuardPrice[playerid] = 0; UsedFind[playerid] = 0; CP[playerid] = 0; PlayerPaintballing[playerid] = 0; PlayerInfo[playerid][pSpawn] = 0; CarOffer[playerid] = 999; CarPrice[playerid] = 0; CarID[playerid] = 0; CarCalls[playerid] = 0; MoneyMessage[playerid] = 0; Condom[playerid] = 0; SexOffer[playerid] = 999; SexPrice[playerid] = 0; BlindarOffer[playerid] = 999; BlindarPrice[playerid] = 0; RepairOffer[playerid] = 999; RepairPrice[playerid] = 0; RepairCar[playerid] = 0; TalkingLive[playerid] = 255; LiveOffer[playerid] = 999; RefillOffer[playerid] = 999; RefillPrice[playerid] = 0; DrugOffer[playerid] = 999; PlayerCuffed[playerid] = 0; PlayerCuffedTime[playerid] = 0; MecanicMission[playerid] = false; DrugPrice[playerid] = 0; RegistrationStep[playerid] = 0; DrugGram[playerid] = 0; ConnectedToPC[playerid] = 0; OrderReady[playerid] = 0; MedicTime[playerid] = 0; GetChased[playerid] = 999; NeedMedicTime[playerid] = 0; MedicBill[playerid] = 0; GotHit[playerid] = 0; GotTri[playerid] = 0; GotMer[playerid] = 0; WantedPoints[playerid] = 0; SetPlayerWantedLevelEx(playerid, 0); GoChase[playerid] = 999; GetChased[playerid] = 999; OnDuty[playerid] = 0; ChangePos2[playerid][1] = 0; SafeTime[playerid] = 60; TransportDuty[playerid] = 0; PlayerTied[playerid] = 0; BlindFold[playerid] = 0; CopsrondaCallTime[playerid] = 0; TaxistaCallTime[playerid] = 0; AdvCallTime[playerid] = 0; MedicCallTime[playerid] = 0; BombCallTime[playerid] = 0; ErrouSenha[playerid] = 0; MechanicCallTime[playerid] = 0; BusAccepted[playerid] = 999; EmpregoDuty[playerid] = 0; Mobile[playerid] = 255; Music[playerid] = 0; Spectate[playerid] = 255; PlayerDrunk[playerid] = 0; PlayerDrunkTime[playerid] = 0; Unspec[playerid][sLocal] = 255; gLastCar[playerid] = 0; BigEar[playerid] = 0; gDice[playerid] = 0; gPlayerLogged[playerid] = 0; gPlayerConta[playerid] = 0; gPlayerSpawned[playerid] = 0; PlayerTazeTime[playerid] = 0; PlayerStoned[playerid] = 0; TicketOffer[playerid] = 999; TicketMoney[playerid] = 0; MatsHolding[playerid] = 0; TaxistaAccepted[playerid] = 999; AdvAccepted[playerid] = 999; CopsrondaAccepted[playerid] = 999; MedicAccepted[playerid] = 999; BombAccepted[playerid] = 999; MechanicAccepted[playerid] = 999; PlayerInfo[playerid][pCash] = 1000; NoFuel[playerid] = 0; HireCar[playerid] = 0; TransportValue[playerid] = 0; TransportMoney[playerid] = 0; TransportTime[playerid] = 0; TransportPlayer[playerid] = -1; TransportCost[playerid] = 0; TransportDriver[playerid] = 999; WatchingTV[playerid] = 0; BaniuPlayer[playerid] = 0; ProposeOffer[playerid] = 999; MarryWitness[playerid] = 999; MarryWitnessOffer[playerid] = 999; MarriageCeremoney[playerid] = 0; ProposedTo[playerid] = 999; GotProposedBy[playerid] = 999; DivorceOffer[playerid] = 999; PlayerInfo[playerid][pPHousekey] = 500; InAFoodPlace[playerid] = 0; OnEquipado[playerid] = 0; BPFInfo[playerid][PLojaA1] = 0; BPFInfo[playerid][PLojaA2] = 0; BPFInfo[playerid][PpLoja247] = 0; BPFInfo[playerid][PpLoja2472] = 0; PlayerInfo[playerid][pLevel] = 0; PlayerInfo[playerid][pAdmin] = 0; PlayerInfo[playerid][pHelper] = 0; PlayerInfo[playerid][pVIP] = 0; PlayerInfo[playerid][vipWait] = 0; duelols[playerid] = 0; BrinCriado[playerid] = 0; carroinvCriado[playerid] = 0; desafiou[playerid] = 0; desafiado[playerid] = 0; emduelo[playerid] = 0; PlayerInfo[playerid][gPupgrade] = 0; PlayerInfo[playerid][pConnectTime] = 0; PlayerInfo[playerid][pReg] = 0; PlayerInfo[playerid][pSex] = 0; PlayerInfo[playerid][pAge] = 0; PlayerInfo[playerid][pAcP] = 0; PlayerInfo[playerid][pExp] = 0; PlayerInfo[playerid][pConta] = 0; PlayerInfo[playerid][pCasher] = 0; PlayerInfo[playerid][pCrimes] = 0; PlayerInfo[playerid][pDeaths] = 0; PlayerInfo[playerid][pPhoneBook] = 0; PlayerInfo[playerid][pLottoNr] = 0; PlayerInfo[playerid][pLottoWin] = 0; PlayerInfo[playerid][pEmprego] = 0; PlayerInfo[playerid][pSalario] = 0; PlayerInfo[playerid][pHeadValue] = 0; PlayerInfo[playerid][pCapacete] = 18978; PlayerInfo[playerid][pJailed] = 0; PlayerInfo[playerid][gPlayerUsandoPlataformaID] = 0; PlayerInfo[playerid][pJailTime] = 0; PlayerInfo[playerid][pArmasb] = 0; PlayerInfo[playerid][pAnGov] = 0; PlayerInfo[playerid][pBloqNoob] = 0; PlayerInfo[playerid][pMats] = 0; PlayerInfo[playerid][pDorgado] = 0; PlayerInfo[playerid][pDorgado2] = 0; PlayerInfo[playerid][pDoenca] = 0; PlayerInfo[playerid][pCreditos] = 0; PlayerInfo[playerid][pDrogas] = 0; PlayerInfo[playerid][pDrogas2] = 0; PlayerInfo[playerid][pDrogas3] = 0; PlayerInfo[playerid][pLider] = 0; PlayerInfo[playerid][pMembro] = 0; PlayerInfo[playerid][pCargo] = 0; PlayerInfo[playerid][pMinutosOn] = 0; PlayerInfo[playerid][pHorasOn] = 0; PlayerInfo[playerid][pDias5On] = 0; PlayerInfo[playerid][pDias15On] = 0; PlayerInfo[playerid][pMesOn] = 0; PlayerInfo[playerid][p5VOk] = false; PlayerInfo[playerid][p15VOk] = false; PlayerInfo[playerid][pChave] = 0; PlayerInfo[playerid][pSexSkill] = 0; PlayerInfo[playerid][pBoxSkill] = 0; PlayerInfo[playerid][pLawSkill] = 0; PlayerInfo[playerid][pMechSkill] = 0; PlayerInfo[playerid][pNewsSkill] = 0; PlayerInfo[playerid][pDrogasSkill] = 0; PlayerInfo[playerid][pSHealth] = 50.0; PlayerInfo[playerid][pPos_x] = 2246.6; PlayerInfo[playerid][pPos_y] = -1161.9; PlayerInfo[playerid][pPos_z] = 1029.7; PlayerInfo[playerid][pInt] = 0; PlayerInfo[playerid][pLocal] = 255; PlayerInfo[playerid][pSkin] = 0; admtrampando[playerid] = 0; admhide[playerid] = 0; helpertrampando[playerid] = 0; new randphone = 10000 + random(99999);//minimum 10000 max 99999 //giving one at the start PlayerInfo[playerid][pPnumber] = randphone; PlayerInfo[playerid][pTelColor] = 18874; PlayerInfo[playerid][pPHousekey] = 500; PlayerInfo[playerid][pPbiskey] = 255; PlayerInfo[playerid][pPFazkey] = 255; PlayerInfo[playerid][pCarLic] = 0; PlayerInfo[playerid][pFlyLic] = 0; PlayerInfo[playerid][pBoatLic] = 0; PlayerInfo[playerid][pGunLic] = 0; PlayerInfo[playerid][pPayDay] = 0; PlayerInfo[playerid][pCDPlayer] = 0; PlayerInfo[playerid][pAlcoholPerk] = 0; PlayerInfo[playerid][pDrugPerk] = 0; PlayerInfo[playerid][pMiserPerk] = 0; PlayerInfo[playerid][pPainPerk] = 0; PlayerInfo[playerid][pTraderPerk] = 0; PlayerInfo[playerid][pTut] = 0; PlayerInfo[playerid][pWarns]= 0; PlayerInCorrida[playerid] = false; PlayerInfo[playerid][pLuta] = 0; strmid(PlayerInfo[playerid][pLaastLogin], "00/00/0000 as 00:00:00", 0, strlen("00/00/0000 as 00:00:00"),255); ClearCrime(playerid); ClearCooking(playerid); ClearMarriage(playerid); ClearLV(playerid); SetPlayerColor(playerid,COLOR_GRAD2); TunningOn[playerid] = 0; HouseFed[playerid] = 500; strmid(BanInfo[playerid][pMotivo], "Nenhum", 0, strlen("Nenhum"), 256); strmid(BanInfo[playerid][pAdmBan], "Nenhum", 0, strlen("Nenhum"), 256); strmid(BanInfo[playerid][pData], "00/00/0000", 0, strlen("00/00/0000"), 256); strmid(BanInfo[playerid][pHora], "00:00:00", 0, strlen("00:00:00"), 256); return true; } stock NomeValido(playerid) { new name[MAX_PLAYER_NAME]; GetPlayerName(playerid, name, sizeof name); for(new x; x < strlen(name); x++) { if(name[x] == '[' || name[x] == ']' || name[x] == '.' || name[x] == '@' || name[x] == '$' || name[x] == '(' || name[x] == ')')return 1; } return 0; } CMD:dargranasuja(playerid, params[]){ new id, qnt; if(PlayerInfo[playerid][pAdmin] >= 1341){ if(sscanf(params, "ud", id, qnt)) return UseCMD(playerid, "/dargranasuja [ID/Nick] [Quantidade]"); format(strbrazz, 256, "AdmCmd: %s deu R$ %d de grana suja para: %s.", PlayerName(playerid), qnt, PlayerName(id)); ABroadCast(COLOR_LIGHTRED, strbrazz, 1); PlayerInfo[id][pDinheiroSujo] += qnt; } return 1; } CMD:lavardinheiro(playerid) { if(IsPlayerInRangeOfPoint(playerid, 3.0, -774.0463,2425.1511,157.1000)){ if(PlayerInfo[playerid][pDinheiroSujo] >= 5000){ ApplyAnimationEx(playerid,"ROB_BANK","CAT_Safe_Rob",4.1,1,0,0,0,0); SetTimerEx(#ApplyAnim, 500, 0, "i", playerid); SetTimerEx("TerminarLavarDinheiro", 10000, 0, "i", playerid); SCM(playerid, COLOR_LIGHTGREEN, "[Dinheiro Sujo] Dinheiro Sujo sendo lavado, aguarde...."); new id = CountAttachedObjects(playerid); SetPlayerAttachedObject_Droid(playerid, id, 1550,1,-0.068000,0.382000,-0.109999,-91.699996,101.200012,-149.300003,1.000000,1.000000,1.000000); SetPlayerAttachedObjectEx(1550,Vaga_Roubo,playerid,id); ApplyAnimationEx(playerid,"ROB_BANK","CAT_Safe_Rob",4.1,1,0,0,0,0); } else return SCM(playerid, COLOR_LIGHTRED, "INFO: Voce precisa de pelo menos R$ 5000 dinheiro sujo."); } else return SCM(playerid, COLOR_LIGHTRED, "INFO: Voce precisa estar no local de lavagem de dinheiro."); return 1; } CallBack::TerminarLavarDinheiro(playerid) { new ganho = PlayerInfo[playerid][pDinheiroSujo]/2; SCMf(playerid, COLOR_LIGHTGREEN, "[Dinheiro Sujo] Voce lavou seu dinheiro sujo [R$ %s] e conseguiu ganhar R$ %s!", ConvertMoney(PlayerInfo[playerid][pDinheiroSujo]), ConvertMoney(ganho)); GiveDinheiro(playerid, ganho); PlayerInfo[playerid][pDinheiroSujo] = 0; ClearAnimations(playerid); ClearAnimations(playerid, 1); RemovePlayerAttachedObjectEx(playerid, Vaga_Roubo); } public OnPlayerConnect(playerid) { PlayerJaSpawnadoProf[playerid] = 0; PrimeiroLogin[playerid] = 1; PlayerJaEstaMorrendo[playerid] = 0; PlayerChamouMorte[playerid] = 0; Loop(pos, 4) PlayerInfo[playerid][OldPosSaiu][pos] = 0.0; Loop(pos, 4) OldPos[playerid][pos] = 0.0; PlayerInfo[playerid][PlayerDesconectouMorto] = 0; NumeroTentativasLogin[playerid] = 0; if(strfind(PlayerName(playerid), "Scripter", true) != -1) { SCM(playerid, COLOR_LIGHTRED, "[Protecao] informamos que seu nick contem 'Scripter', por isso, chame o 'Brazz', caso queira logar novamente."); KickCNF(playerid); return 1; } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // CancelPlayerEditDynObject(playerid); ResetPlayerAceitarMorte(playerid); CancelPlayerReanimar(playerid); ApplyAnimation(playerid, "CRACK", "crckdeth1", 4.1, 0, 1, 0, 1, 1); ApplyAnimation(playerid, "CRACK", "crckdeth3", 4.1, 0, 1, 0, 1, 1); ApplyAnimation(playerid, "CRACK", "crckdeth4", 4.1, 0, 1, 0, 1, 1); ApplyAnimation(playerid, "CRACK", "crckdeth2", 4.1, 0, 1, 0, 1, 1); ApplyAnimation(playerid, "MEDIC","CPR",4.1,0,1,1,1,1,1); // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // TimerCairBolso[playerid] = gettime()+(7*60); BRASILJogadores++; PlayerInfo[playerid][pPayDayTime] = 59*60; PlayerRegistrandoConta[playerid] = false; CarregouArmas[playerid] = false; PlayerBizzID[playerid] = -1; pDrunkLevelLast[playerid] = 0; CriarTXDEletronicoPlayer(playerid); VarLoanding[playerid] = 0; // ~~~~~~~~~~~~~~~~~~~~~~~~~~ // PTDEditorObjetos[playerid][0] = CreatePlayerTextDraw(playerid, 200.6807, 184.4997, "EDITANDO_ROTACAO"); // nope PlayerTextDrawLetterSize(playerid, PTDEditorObjetos[playerid][0], 0.1668, 1.2364); PlayerTextDrawTextSize(playerid, PTDEditorObjetos[playerid][0], 0.0000, 97.0000); PlayerTextDrawAlignment(playerid, PTDEditorObjetos[playerid][0], 2); PlayerTextDrawColor(playerid, PTDEditorObjetos[playerid][0], -1); PlayerTextDrawUseBox(playerid, PTDEditorObjetos[playerid][0], 1); PlayerTextDrawBoxColor(playerid, PTDEditorObjetos[playerid][0], -2147418256); PlayerTextDrawSetOutline(playerid, PTDEditorObjetos[playerid][0], 0); PlayerTextDrawBackgroundColor(playerid, PTDEditorObjetos[playerid][0], 255); PlayerTextDrawFont(playerid, PTDEditorObjetos[playerid][0], 2); PlayerTextDrawSetProportional(playerid, PTDEditorObjetos[playerid][0], 1); PlayerTextDrawSetShadow(playerid, PTDEditorObjetos[playerid][0], 0); PTDEditorObjetos[playerid][1] = CreatePlayerTextDraw(playerid, 200.6807, 201.8995, "Velocidade:_0.1(m)"); // nope PlayerTextDrawLetterSize(playerid, PTDEditorObjetos[playerid][1], 0.1668, 1.2364); PlayerTextDrawTextSize(playerid, PTDEditorObjetos[playerid][1], 0.0000, 97.0000); PlayerTextDrawAlignment(playerid, PTDEditorObjetos[playerid][1], 2); PlayerTextDrawColor(playerid, PTDEditorObjetos[playerid][1], -1); PlayerTextDrawUseBox(playerid, PTDEditorObjetos[playerid][1], 1); PlayerTextDrawBoxColor(playerid, PTDEditorObjetos[playerid][1], -2147418256); PlayerTextDrawSetOutline(playerid, PTDEditorObjetos[playerid][1], 0); PlayerTextDrawBackgroundColor(playerid, PTDEditorObjetos[playerid][1], 255); PlayerTextDrawFont(playerid, PTDEditorObjetos[playerid][1], 2); PlayerTextDrawSetProportional(playerid, PTDEditorObjetos[playerid][1], 1); PlayerTextDrawSetShadow(playerid, PTDEditorObjetos[playerid][1], 0); // ~~~~~~~~~~~~~~~~~~~~~~~~~~ // ConceTxDPlayer[0] = CreatePlayerTextDraw(playerid, 58.000000, 237.000000, "veiculo: infernus"); PlayerTextDrawFont(playerid, ConceTxDPlayer[0], 2); PlayerTextDrawLetterSize(playerid, ConceTxDPlayer[0], 0.191666, 1.250000); PlayerTextDrawTextSize(playerid, ConceTxDPlayer[0], 170.000000, 17.000000); PlayerTextDrawSetOutline(playerid, ConceTxDPlayer[0], 1); PlayerTextDrawSetShadow(playerid, ConceTxDPlayer[0], 0); PlayerTextDrawAlignment(playerid, ConceTxDPlayer[0], 1); PlayerTextDrawColor(playerid, ConceTxDPlayer[0], -1); PlayerTextDrawBackgroundColor(playerid, ConceTxDPlayer[0], 255); PlayerTextDrawBoxColor(playerid, ConceTxDPlayer[0], 50); PlayerTextDrawUseBox(playerid, ConceTxDPlayer[0], 0); PlayerTextDrawSetProportional(playerid, ConceTxDPlayer[0], 1); PlayerTextDrawSetSelectable(playerid, ConceTxDPlayer[0], 0); ConceTxDPlayer[1] = CreatePlayerTextDraw(playerid, 58.000000, 225.000000, "valor: 10.000"); PlayerTextDrawFont(playerid, ConceTxDPlayer[1], 2); PlayerTextDrawLetterSize(playerid, ConceTxDPlayer[1], 0.191666, 1.250000); PlayerTextDrawTextSize(playerid, ConceTxDPlayer[1], 129.000000, 17.000000); PlayerTextDrawSetOutline(playerid, ConceTxDPlayer[1], 1); PlayerTextDrawSetShadow(playerid, ConceTxDPlayer[1], 0); PlayerTextDrawAlignment(playerid, ConceTxDPlayer[1], 1); PlayerTextDrawColor(playerid, ConceTxDPlayer[1], -1); PlayerTextDrawBackgroundColor(playerid, ConceTxDPlayer[1], 255); PlayerTextDrawBoxColor(playerid, ConceTxDPlayer[1], 50); PlayerTextDrawUseBox(playerid, ConceTxDPlayer[1], 0); PlayerTextDrawSetProportional(playerid, ConceTxDPlayer[1], 1); PlayerTextDrawSetSelectable(playerid, ConceTxDPlayer[1], 0); ConceTxDPlayer[2] = CreatePlayerTextDraw(playerid, 146.000000, 188.000000, "Preview_Model"); PlayerTextDrawFont(playerid, ConceTxDPlayer[2], 5); PlayerTextDrawLetterSize(playerid, ConceTxDPlayer[2], 0.600000, 2.000000); PlayerTextDrawTextSize(playerid, ConceTxDPlayer[2], 57.500000, 66.500000); PlayerTextDrawSetOutline(playerid, ConceTxDPlayer[2], 0); PlayerTextDrawSetShadow(playerid, ConceTxDPlayer[2], 0); PlayerTextDrawAlignment(playerid, ConceTxDPlayer[2], 1); PlayerTextDrawColor(playerid, ConceTxDPlayer[2], -1); PlayerTextDrawBackgroundColor(playerid, ConceTxDPlayer[2], 0); PlayerTextDrawBoxColor(playerid, ConceTxDPlayer[2], 255); PlayerTextDrawUseBox(playerid, ConceTxDPlayer[2], 0); PlayerTextDrawSetProportional(playerid, ConceTxDPlayer[2], 1); PlayerTextDrawSetSelectable(playerid, ConceTxDPlayer[2], 0); PlayerTextDrawSetPreviewModel(playerid, ConceTxDPlayer[2], 411); PlayerTextDrawSetPreviewRot(playerid, ConceTxDPlayer[2], -10.000000, 0.000000, -40.000000, 1.000000); PlayerTextDrawSetPreviewVehCol(playerid, ConceTxDPlayer[2], 86, 1); // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // if(VendendoItemServerPara[playerid] != INVALID_PLAYER_ID) { new compradorid = VendendoItemServerPara[playerid]; // ----------------------- // ComprandoItemServerDe[compradorid] = INVALID_PLAYER_ID; IndexIDVendendo[compradorid] = -1; IndexPrecoVendendo[compradorid] = 0; TempoComprarItemServer[compradorid] = 0; if(TimerComprarItemServer[compradorid] != -1) KillTimer(TimerComprarItemServer[compradorid]); TimerComprarItemServer[compradorid] = -1; // ----------------------- // TipoCompraItemIDD[compradorid] = C_COMPRA_INVALID; } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // if(ComprandoItemServerDe[playerid] != INVALID_PLAYER_ID) { new vendedorid = ComprandoItemServerDe[playerid]; // ----------------------- // VendendoItemServerPara[vendedorid] = INVALID_PLAYER_ID; ComprandoItemServerDe[playerid] = INVALID_PLAYER_ID; if(TimerComprarItemServer[playerid] != -1) KillTimer(TimerComprarItemServer[playerid]); TimerComprarItemServer[playerid] = -1; } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // // beditaracessorio PTDAppAjustarObj[playerid][0] = CreatePlayerTextDraw(playerid, 206.4662, 172.1333, "Editando_a_posicao_do_objeto"); PlayerTextDrawLetterSize(playerid, PTDAppAjustarObj[playerid][0], 0.2021, 1.3199); PlayerTextDrawAlignment(playerid, PTDAppAjustarObj[playerid][0], 2); PlayerTextDrawColor(playerid, PTDAppAjustarObj[playerid][0], -128); PlayerTextDrawSetOutline(playerid, PTDAppAjustarObj[playerid][0], 0); PlayerTextDrawBackgroundColor(playerid, PTDAppAjustarObj[playerid][0], 255); PlayerTextDrawFont(playerid, PTDAppAjustarObj[playerid][0], 2); PlayerTextDrawSetProportional(playerid, PTDAppAjustarObj[playerid][0], 1); PlayerTextDrawSetShadow(playerid, PTDAppAjustarObj[playerid][0], 0); TelaLoginCNF3[playerid][0] = CreatePlayerTextDraw(playerid, 14.000000, 195.000000, "DG HD SAMP"); PlayerTextDrawFont(playerid, TelaLoginCNF3[playerid][0], 2); PlayerTextDrawLetterSize(playerid, TelaLoginCNF3[playerid][0], 0.225000, 1.499999); PlayerTextDrawTextSize(playerid, TelaLoginCNF3[playerid][0], 400.000000, 17.000000); PlayerTextDrawSetOutline(playerid, TelaLoginCNF3[playerid][0], 1); PlayerTextDrawSetShadow(playerid, TelaLoginCNF3[playerid][0], 1); PlayerTextDrawAlignment(playerid, TelaLoginCNF3[playerid][0], 1); PlayerTextDrawColor(playerid, TelaLoginCNF3[playerid][0], -1); PlayerTextDrawBackgroundColor(playerid, TelaLoginCNF3[playerid][0], 255); PlayerTextDrawBoxColor(playerid, TelaLoginCNF3[playerid][0], 50); PlayerTextDrawUseBox(playerid, TelaLoginCNF3[playerid][0], 0); PlayerTextDrawSetProportional(playerid, TelaLoginCNF3[playerid][0], 1); PlayerTextDrawSetSelectable(playerid, TelaLoginCNF3[playerid][0], 0); CNFTelaPlayer[playerid][0] = CreatePlayerTextDraw(playerid, 495.000000, 332.000000, ""); PlayerTextDrawFont(playerid, CNFTelaPlayer[playerid][0], 2); PlayerTextDrawLetterSize(playerid, CNFTelaPlayer[playerid][0], 0.233333, 1.000000); PlayerTextDrawTextSize(playerid, CNFTelaPlayer[playerid][0], 570.500000, 17.000000); PlayerTextDrawSetOutline(playerid, CNFTelaPlayer[playerid][0], 1); PlayerTextDrawSetShadow(playerid, CNFTelaPlayer[playerid][0], 0); PlayerTextDrawAlignment(playerid, CNFTelaPlayer[playerid][0], 1); PlayerTextDrawColor(playerid, CNFTelaPlayer[playerid][0], -1); PlayerTextDrawBackgroundColor(playerid, CNFTelaPlayer[playerid][0], 255); PlayerTextDrawBoxColor(playerid, CNFTelaPlayer[playerid][0], 50); PlayerTextDrawUseBox(playerid, CNFTelaPlayer[playerid][0], 0); PlayerTextDrawSetProportional(playerid, CNFTelaPlayer[playerid][0], 1); PlayerTextDrawSetSelectable(playerid, CNFTelaPlayer[playerid][0], 0); CNFTelaPlayer[playerid][1] = CreatePlayerTextDraw(playerid, 506.000000, 343.000000, ""); PlayerTextDrawFont(playerid, CNFTelaPlayer[playerid][1], 2); PlayerTextDrawLetterSize(playerid, CNFTelaPlayer[playerid][1], 0.233333, 1.000000); PlayerTextDrawTextSize(playerid, CNFTelaPlayer[playerid][1], 575.500000, 17.000000); PlayerTextDrawSetOutline(playerid, CNFTelaPlayer[playerid][1], 1); PlayerTextDrawSetShadow(playerid, CNFTelaPlayer[playerid][1], 0); PlayerTextDrawAlignment(playerid, CNFTelaPlayer[playerid][1], 1); PlayerTextDrawColor(playerid, CNFTelaPlayer[playerid][1], -1); PlayerTextDrawBackgroundColor(playerid, CNFTelaPlayer[playerid][1], 255); PlayerTextDrawBoxColor(playerid, CNFTelaPlayer[playerid][1], 50); PlayerTextDrawUseBox(playerid, CNFTelaPlayer[playerid][1], 0); PlayerTextDrawSetProportional(playerid, CNFTelaPlayer[playerid][1], 1); PlayerTextDrawSetSelectable(playerid, CNFTelaPlayer[playerid][1], 0); CNFTelaPlayer[playerid][2] = CreatePlayerTextDraw(playerid, 548.000000, 343.000000, ""); PlayerTextDrawFont(playerid, CNFTelaPlayer[playerid][2], 2); PlayerTextDrawLetterSize(playerid, CNFTelaPlayer[playerid][2], 0.233333, 1.000000); PlayerTextDrawTextSize(playerid, CNFTelaPlayer[playerid][2], 581.500000, 17.000000); PlayerTextDrawSetOutline(playerid, CNFTelaPlayer[playerid][2], 1); PlayerTextDrawSetShadow(playerid, CNFTelaPlayer[playerid][2], 0); PlayerTextDrawAlignment(playerid, CNFTelaPlayer[playerid][2], 1); PlayerTextDrawColor(playerid, CNFTelaPlayer[playerid][2], -1); PlayerTextDrawBackgroundColor(playerid, CNFTelaPlayer[playerid][2], 255); PlayerTextDrawBoxColor(playerid, CNFTelaPlayer[playerid][2], 50); PlayerTextDrawUseBox(playerid, CNFTelaPlayer[playerid][2], 0); PlayerTextDrawSetProportional(playerid, CNFTelaPlayer[playerid][2], 1); PlayerTextDrawSetSelectable(playerid, CNFTelaPlayer[playerid][2], 0); // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // // Checking for plugin availability if (SvGetVersion(playerid) == SV_NULL) { SendClientMessage(playerid, -1, "[ AVISO ] O servidor não encontrou os arquivos do Voip."); voIP[playerid] = 0; } // Checking for a microphone else if (SvHasMicro(playerid) == SV_FALSE) { SendClientMessage(playerid, -1, "[ AVISO ] Microfone não encontrado pelo servidor."); voIP[playerid] = 1; } // Create a local stream with an audibility distance of 40.0, an unlimited number of listeners // and the name 'Local' (the name 'Local' will be displayed in red in the players' speakerlist) else if ((lstream[playerid] = SvCreateDLStreamAtPlayer(40.0, SV_INFINITY, playerid, 0x00FFFFff, "Local"))) { SendClientMessage(playerid, -1, "[ INFO PC ] Pressione B para falar com outros players."); SendClientMessage(playerid, 0xEE82EEFF, "[ INFO ] Lembre-se de desativar o microfone para não haver poluição sonora."); SendClientMessage(playerid, -1, "[ INFO ] Obrigado e Bom Jogo."); // Assign microphone activation keys to the player if (gstream) SvAttachListenerToStream(gstream, playerid); SvAddKey(playerid, 0x5A);//Z SvAddKey(playerid, 0x42);//B voIP[playerid] = 1; } GasETanto[playerid] = 0; GranaGas[playerid] = 0; GariTrabalhando[playerid] = 0; // HQ PF RemoveBuildingForPlayer(playerid, 6050, 1019.7656, -1921.6250, 13.5938, 0.25); RemoveBuildingForPlayer(playerid, 620, 1417.9766, -1832.5313, 11.9844, 0.25); RemoveBuildingForPlayer(playerid, 673, 1405.5781, -1831.6953, 12.3984, 0.25); RemoveBuildingForPlayer(playerid, 1265, 1465.4766, -1848.2500, 12.9922, 0.25); RemoveBuildingForPlayer(playerid, 1372, 1466.9453, -1847.8438, 12.6641, 0.25); RemoveBuildingForPlayer(playerid, 1372, 1419.7344, -1846.5469, 12.6641, 0.25); RemoveBuildingForPlayer(playerid, 1265, 1420.4297, -1845.3438, 12.9844, 0.25); RemoveBuildingForPlayer(playerid, 1372, 1419.6953, -1844.2031, 12.6641, 0.25); RemoveBuildingForPlayer(playerid, 1220, 1420.4922, -1842.4375, 12.9297, 0.25); RemoveBuildingForPlayer(playerid, 1220, 1419.7266, -1842.8516, 12.9297, 0.25); RemoveBuildingForPlayer(playerid, 1230, 1419.6719, -1842.0313, 12.9766, 0.25); RemoveBuildingForPlayer(playerid, 4170, 1433.9531, -1844.4063, 21.4219, 0.25); RemoveBuildingForPlayer(playerid, 700, 1447.1016, -1832.5000, 12.9141, 0.25); RemoveBuildingForPlayer(playerid, 1231, 1432.3047, -1832.9141, 15.2891, 0.25); RemoveBuildingForPlayer(playerid, 4174, 1435.7656, -1823.6641, 15.1797, 0.25); RemoveBuildingForPlayer(playerid, 620, 1456.3984, -1832.5313, 11.9844, 0.25); RemoveBuildingForPlayer(playerid, 673, 1464.0938, -1831.8828, 12.3984, 0.25); RemoveBuildingForPlayer(playerid, 1357, 1487.6953, -1848.1094, 12.8125, 0.25); RemoveBuildingForPlayer(playerid, 1372, 1486.2109, -1848.1250, 12.6641, 0.25); RemoveBuildingForPlayer(playerid, 1372, 1468.0625, -1847.7891, 12.6641, 0.25); RemoveBuildingForPlayer(playerid, 1230, 1488.9219, -1848.2734, 12.9766, 0.25); RemoveBuildingForPlayer(playerid, 1231, 1480.0313, -1832.9141, 15.2891, 0.25); RemoveBuildingForPlayer(playerid, 4171, 1503.3984, -1848.3359, 21.4609, 0.25); RemoveBuildingForPlayer(playerid, 620, 1504.8438, -1832.5313, 11.9844, 0.25); RemoveBuildingForPlayer(playerid, 673, 1499.0469, -1832.2734, 12.8828, 0.25); RemoveBuildingForPlayer(playerid, 1265, 1515.3828, -1850.0547, 12.9844, 0.25); RemoveBuildingForPlayer(playerid, 1265, 1514.4219, -1850.0391, 12.9922, 0.25); RemoveBuildingForPlayer(playerid, 700, 1512.9453, -1832.3516, 13.4688, 0.25); RemoveBuildingForPlayer(playerid, 1372, 1516.6875, -1850.0547, 12.6641, 0.25); RemoveBuildingForPlayer(playerid, 1372, 1538.9453, -1849.2734, 12.6641, 0.25); RemoveBuildingForPlayer(playerid, 1230, 1538.8359, -1847.6250, 13.6719, 0.25); RemoveBuildingForPlayer(playerid, 1220, 1538.3906, -1847.9297, 12.9297, 0.25); RemoveBuildingForPlayer(playerid, 1220, 1539.1016, -1847.2969, 12.9297, 0.25); RemoveBuildingForPlayer(playerid, 1231, 1529.2891, -1832.9141, 15.2891, 0.25); RemoveBuildingForPlayer(playerid, 4175, 1524.4141, -1823.8516, 15.1797, 0.25); //=-=-=-=-=-=-=-=-=-= 24/7 By aQUILES =-=-=-=-=-=-=-=-=-=-=-=// RemoveBuildingForPlayer(playerid, 4191, 1353.2578, -1764.5313, 15.5938, 0.25); RemoveBuildingForPlayer(playerid, 4022, 1353.2578, -1764.5313, 15.5938, 0.25); RemoveBuildingForPlayer(playerid, 1532, 1353.1328, -1759.6563, 12.5000, 0.25); //FAROL RemoveBuildingForPlayer(playerid, 6415, 154.2109, -1950.1953, 26.4063, 0.25); RemoveBuildingForPlayer(playerid, 1461, 147.9453, -1927.7266, 3.5547, 0.25); RemoveBuildingForPlayer(playerid, 6295, 154.2109, -1950.1953, 26.4063, 0.25); RemoveBuildingForPlayer(playerid, 1461, 148.0938, -1887.2813, 3.5469, 0.25); RemoveBuildingForPlayer(playerid, 1231, 154.4531, -1887.2422, 5.4844, 0.25); RemoveBuildingForPlayer(playerid, 1280, 150.6641, -1870.3125, 3.1016, 0.25); RemoveBuildingForPlayer(playerid, 1280, 158.6641, -1908.3203, 3.1719, 0.25); RemoveBuildingForPlayer(playerid, 1461, 161.5703, -1921.3125, 3.5391, 0.25); RemoveBuildingForPlayer(playerid, 1461, 161.6563, -1893.6406, 3.5469, 0.25); RemoveBuildingForPlayer(playerid, 1461, 148.0938, -1847.7109, 3.5469, 0.25); RemoveBuildingForPlayer(playerid, 1461, 148.8125, -1820.0469, 3.5391, 0.25); RemoveBuildingForPlayer(playerid, 1280, 150.6641, -1835.3594, 3.1094, 0.25); RemoveBuildingForPlayer(playerid, 1231, 154.6641, -1839.4297, 5.4766, 0.25); RemoveBuildingForPlayer(playerid, 1280, 159.1953, -1842.5859, 3.1406, 0.25); RemoveBuildingForPlayer(playerid, 1461, 161.6563, -1854.0781, 3.5469, 0.25); RemoveBuildingForPlayer(playerid, 1461, 161.8125, -1813.6328, 3.5547, 0.25); RemoveBuildingForPlayer(playerid, 1280, 150.6641, -1809.3594, 3.0859, 0.25); RemoveBuildingForPlayer(playerid, 1461, 148.8125, -1799.9375, 3.5391, 0.25); RemoveBuildingForPlayer(playerid, 1231, 154.5469, -1799.6406, 5.4688, 0.25); RemoveBuildingForPlayer(playerid, 1280, 159.3359, -1794.5859, 3.1719, 0.25); RemoveBuildingForPlayer(playerid, 1280, 150.6641, -1784.3359, 3.4688, 0.25); /*------------- REMOVES PRACA RemoveBuildingForPlayer(playerid, 713, 1457.9375, -1620.6953, 13.4531, 0.25); RemoveBuildingForPlayer(playerid, 713, 1496.8672, -1707.8203, 13.4063, 0.25); RemoveBuildingForPlayer(playerid, 1231, 1479.6953, -1716.7031, 15.6250, 0.25); RemoveBuildingForPlayer(playerid, 712, 1445.8125, -1650.0234, 22.2578, 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, 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, 1231, 1479.3828, -1692.3906, 15.6328, 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, 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, 625, 1457.3516, -1650.5703, 13.6953, 0.25); RemoveBuildingForPlayer(playerid, 625, 1454.4219, -1642.4922, 13.6953, 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, 1232, 1465.8906, -1629.9766, 15.5313, 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, 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, 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);*/ //POBRE TROPA DA TURQUIA REMOVES RemoveBuildingForPlayer(playerid, 13448, 742.1406, 313.8203, 29.0000, 0.25); RemoveBuildingForPlayer(playerid, 3276, 742.9844, 329.5156, 20.1172, 0.25); RemoveBuildingForPlayer(playerid, 3276, 731.0625, 327.4453, 20.1563, 0.25); RemoveBuildingForPlayer(playerid, 617, 745.4453, 331.4297, 18.8750, 0.25); RemoveBuildingForPlayer(playerid, 617, 733.8906, 329.4844, 18.8750, 0.25); RemoveBuildingForPlayer(playerid, 3276, 778.2891, 336.1016, 20.0234, 0.25); RemoveBuildingForPlayer(playerid, 3276, 766.4297, 333.7266, 20.0547, 0.25); RemoveBuildingForPlayer(playerid, 3276, 747.6250, 336.1797, 20.1172, 0.25); RemoveBuildingForPlayer(playerid, 1308, 776.9297, 336.3281, 19.2656, 0.25); RemoveBuildingForPlayer(playerid, 3276, 806.6563, 342.2656, 20.0469, 0.25); RemoveBuildingForPlayer(playerid, 3276, 794.8594, 339.5781, 20.0781, 0.25); RemoveBuildingForPlayer(playerid, 3276, 759.5938, 338.6016, 20.1172, 0.25); RemoveBuildingForPlayer(playerid, 705, 766.0703, 340.1250, 19.0000, 0.25); RemoveBuildingForPlayer(playerid, 3169, 775.0234, 348.4297, 18.7031, 0.25); RemoveBuildingForPlayer(playerid, 3242, 786.7734, 350.1016, 20.3828, 0.25); RemoveBuildingForPlayer(playerid, 615, 797.5078, 345.8828, 18.4219, 0.25); RemoveBuildingForPlayer(playerid, 1308, 744.4844, 347.3438, 19.5859, 0.25); RemoveBuildingForPlayer(playerid, 3169, 805.1328, 356.2734, 18.3125, 0.25); RemoveBuildingForPlayer(playerid, 3171, 747.0000, 351.8047, 19.3906, 0.25); RemoveBuildingForPlayer(playerid, 669, 754.9922, 355.4844, 19.7891, 0.25); RemoveBuildingForPlayer(playerid, 709, 723.6563, 352.2344, 18.7734, 0.25); RemoveBuildingForPlayer(playerid, 1308, 792.3750, 353.8906, 18.4219, 0.25); RemoveBuildingForPlayer(playerid, 1407, 787.9141, 371.6641, 20.9219, 0.25); RemoveBuildingForPlayer(playerid, 1407, 781.9297, 371.2500, 20.9219, 0.25); RemoveBuildingForPlayer(playerid, 669, 738.4531, 366.2422, 21.6250, 0.25); RemoveBuildingForPlayer(playerid, 669, 775.7031, 370.7500, 20.2813, 0.25); RemoveBuildingForPlayer(playerid, 1308, 790.3594, 371.4453, 20.1094, 0.25); RemoveBuildingForPlayer(playerid, 1308, 756.8125, 367.1328, 22.3984, 0.25); RemoveBuildingForPlayer(playerid, 3284, 762.0000, 372.9219, 24.1719, 0.25); RemoveBuildingForPlayer(playerid, 3172, 783.6172, 375.5078, 20.1016, 0.25); RemoveBuildingForPlayer(playerid, 3171, 809.7188, 372.7109, 18.2578, 0.25); RemoveBuildingForPlayer(playerid, 3168, 750.1719, 374.2188, 22.1797, 0.25); RemoveBuildingForPlayer(playerid, 1410, 739.0156, 376.8672, 22.9531, 0.25); RemoveBuildingForPlayer(playerid, 1407, 790.9297, 374.1797, 20.9609, 0.25); RemoveBuildingForPlayer(playerid, 1410, 744.4141, 385.0781, 22.7422, 0.25); RemoveBuildingForPlayer(playerid, 1407, 749.0938, 385.9922, 22.6641, 0.25); RemoveBuildingForPlayer(playerid, 1410, 739.7500, 384.3047, 22.8125, 0.25); RemoveBuildingForPlayer(playerid, 1410, 763.0625, 388.3281, 22.7422, 0.25); RemoveBuildingForPlayer(playerid, 1410, 755.7578, 387.0625, 22.8125, 0.25); RemoveBuildingForPlayer(playerid, 1407, 737.9453, 381.5078, 22.8750, 0.25); RemoveBuildingForPlayer(playerid, 1407, 767.7422, 389.2422, 22.6641, 0.25); //REMOVES POBRE TROPA DA TURQUIA RemoveBuildingForPlayer(playerid, 3299, 1446.8906, 380.4922, 18.5391, 0.25); RemoveBuildingForPlayer(playerid, 3299, 1404.5313, 351.6172, 18.3906, 0.25); RemoveBuildingForPlayer(playerid, 3301, 1416.0313, 388.1016, 20.1094, 0.25); RemoveBuildingForPlayer(playerid, 3301, 1433.5781, 338.3594, 19.7266, 0.25); RemoveBuildingForPlayer(playerid, 3301, 1492.1719, 359.8281, 20.0625, 0.25); RemoveBuildingForPlayer(playerid, 3300, 1410.1484, 367.8359, 20.0625, 0.25); RemoveBuildingForPlayer(playerid, 3300, 1442.7109, 358.7578, 19.7031, 0.25); RemoveBuildingForPlayer(playerid, 3300, 1461.1016, 361.1172, 19.9688, 0.25); RemoveBuildingForPlayer(playerid, 3300, 1475.1875, 350.7500, 19.6484, 0.25); RemoveBuildingForPlayer(playerid, 3297, 1427.4609, 360.1094, 19.6641, 0.25); RemoveBuildingForPlayer(playerid, 3297, 1404.5938, 337.4141, 19.6953, 0.25); RemoveBuildingForPlayer(playerid, 3297, 1457.7891, 344.2891, 19.7422, 0.25); RemoveBuildingForPlayer(playerid, 3297, 1476.6641, 369.1875, 20.4453, 0.25); RemoveBuildingForPlayer(playerid, 3298, 1417.2188, 327.6484, 18.2969, 0.25); RemoveBuildingForPlayer(playerid, 785, 1460.7813, 444.3906, 18.0078, 0.25); RemoveBuildingForPlayer(playerid, 782, 1393.8672, 325.1328, 17.8828, 0.25); RemoveBuildingForPlayer(playerid, 782, 1393.8672, 325.1328, 17.8828, 0.25); RemoveBuildingForPlayer(playerid, 780, 1414.6484, 303.6875, 18.1953, 0.25); RemoveBuildingForPlayer(playerid, 3241, 1417.2188, 327.6484, 18.2969, 0.25); RemoveBuildingForPlayer(playerid, 1410, 1436.3281, 329.1484, 18.5234, 0.25); RemoveBuildingForPlayer(playerid, 673, 1404.0000, 329.9922, 17.3672, 0.25); RemoveBuildingForPlayer(playerid, 1440, 1421.8359, 321.8594, 18.3203, 0.25); RemoveBuildingForPlayer(playerid, 3284, 1433.5781, 338.3594, 19.7266, 0.25); RemoveBuildingForPlayer(playerid, 3242, 1404.5938, 337.4141, 19.6953, 0.25); RemoveBuildingForPlayer(playerid, 1410, 1451.1563, 335.2656, 18.5234, 0.25); RemoveBuildingForPlayer(playerid, 1410, 1455.6484, 337.1016, 18.5234, 0.25); RemoveBuildingForPlayer(playerid, 1410, 1439.3047, 332.2969, 18.5469, 0.25); RemoveBuildingForPlayer(playerid, 1410, 1396.5703, 356.4531, 19.0781, 0.25); RemoveBuildingForPlayer(playerid, 1410, 1395.9688, 350.9766, 18.9922, 0.25); RemoveBuildingForPlayer(playerid, 673, 1398.3750, 357.0469, 17.9063, 0.25); RemoveBuildingForPlayer(playerid, 766, 1389.4688, 360.5078, 18.2578, 0.25); RemoveBuildingForPlayer(playerid, 3242, 1427.4609, 360.1094, 19.6641, 0.25); RemoveBuildingForPlayer(playerid, 3283, 1404.5313, 351.6172, 18.3906, 0.25); RemoveBuildingForPlayer(playerid, 617, 1409.6406, 341.8516, 17.5938, 0.25); RemoveBuildingForPlayer(playerid, 1308, 1415.1328, 363.4141, 18.0156, 0.25); RemoveBuildingForPlayer(playerid, 1308, 1427.2578, 338.9609, 18.0156, 0.25); RemoveBuildingForPlayer(playerid, 1370, 1399.9219, 341.4766, 18.4844, 0.25); RemoveBuildingForPlayer(playerid, 3242, 1457.7891, 344.2891, 19.7422, 0.25); RemoveBuildingForPlayer(playerid, 3285, 1442.7109, 358.7578, 19.7031, 0.25); RemoveBuildingForPlayer(playerid, 617, 1450.8438, 344.3516, 17.5234, 0.25); RemoveBuildingForPlayer(playerid, 766, 1440.0469, 349.3359, 17.6016, 0.25); RemoveBuildingForPlayer(playerid, 766, 1434.7734, 362.5781, 17.3359, 0.25); RemoveBuildingForPlayer(playerid, 3283, 1446.8906, 380.4922, 18.5391, 0.25); RemoveBuildingForPlayer(playerid, 3285, 1410.1484, 367.8359, 20.0625, 0.25); RemoveBuildingForPlayer(playerid, 1410, 1400.1484, 368.3125, 19.3516, 0.25); RemoveBuildingForPlayer(playerid, 1308, 1443.0625, 385.1250, 18.0156, 0.25); RemoveBuildingForPlayer(playerid, 1440, 1409.3906, 384.9453, 19.0391, 0.25); RemoveBuildingForPlayer(playerid, 3284, 1416.0313, 388.1016, 20.1094, 0.25); RemoveBuildingForPlayer(playerid, 1308, 1447.4844, 403.2734, 19.1406, 0.25); RemoveBuildingForPlayer(playerid, 780, 1418.3750, 403.8750, 18.3828, 0.25); RemoveBuildingForPlayer(playerid, 3242, 1476.6641, 369.1875, 20.4453, 0.25); RemoveBuildingForPlayer(playerid, 3285, 1461.1016, 361.1172, 19.9688, 0.25); RemoveBuildingForPlayer(playerid, 3285, 1475.1875, 350.7500, 19.6484, 0.25); RemoveBuildingForPlayer(playerid, 1308, 1460.1875, 354.8203, 18.0156, 0.25); RemoveBuildingForPlayer(playerid, 1370, 1472.0938, 345.3672, 18.3438, 0.25); RemoveBuildingForPlayer(playerid, 3276, 1479.2422, 390.3672, 20.0625, 0.25); RemoveBuildingForPlayer(playerid, 673, 1470.3672, 375.9453, 18.1563, 0.25); RemoveBuildingForPlayer(playerid, 3276, 1460.2578, 397.4766, 20.0625, 0.25); RemoveBuildingForPlayer(playerid, 782, 1466.0703, 387.6016, 18.4922, 0.25); RemoveBuildingForPlayer(playerid, 13442, 1478.2656, 380.7891, 25.3594, 0.25); RemoveBuildingForPlayer(playerid, 3284, 1492.1719, 359.8281, 20.0625, 0.25); RemoveBuildingForPlayer(playerid, 1407, 1495.4531, 368.5000, 19.2969, 0.25); RemoveBuildingForPlayer(playerid, 1410, 1491.1953, 352.5703, 18.8438, 0.25); RemoveBuildingForPlayer(playerid, 1410, 1495.5547, 354.7109, 18.8438, 0.25); RemoveBuildingForPlayer(playerid, 673, 1493.8438, 368.2344, 18.1563, 0.25); RemoveBuildingForPlayer(playerid, 782, 1488.0000, 351.6719, 17.9219, 0.25); RemoveBuildingForPlayer(playerid, 1440, 1487.5859, 355.0078, 18.7109, 0.25); RemoveBuildingForPlayer(playerid, 1407, 1502.7422, 366.6641, 19.0547, 0.25); RemoveBuildingForPlayer(playerid, 1410, 1503.0547, 358.3203, 18.8438, 0.25); RemoveBuildingForPlayer(playerid, 673, 1502.5938, 364.5391, 18.1563, 0.25); RemoveBuildingForPlayer(playerid, 1308, 1496.8828, 364.2500, 18.0156, 0.25); RemoveBuildingForPlayer(playerid, 1410, 1511.9219, 364.2500, 18.8359, 0.25); RemoveBuildingForPlayer(playerid, 1410, 1507.3672, 365.5156, 18.9297, 0.25); RemoveBuildingForPlayer(playerid, 1410, 1507.4844, 360.4922, 18.7891, 0.25); RemoveBuildingForPlayer(playerid, 1407, 1511.6641, 362.5000, 18.7891, 0.25); RemoveBuildingForPlayer(playerid, 782, 1404.4141, 424.7422, 18.7969, 0.25); RemoveBuildingForPlayer(playerid, 1294, 1417.0547, 421.0703, 23.3047, 0.25); RemoveBuildingForPlayer(playerid, 3276, 1427.2500, 411.7656, 19.8359, 0.25); RemoveBuildingForPlayer(playerid, 780, 1423.7188, 414.1797, 18.6719, 0.25); RemoveBuildingForPlayer(playerid, 3276, 1438.2422, 406.7188, 20.0625, 0.25); RemoveBuildingForPlayer(playerid, 1294, 1462.8359, 410.5313, 23.5469, 0.25); RemoveBuildingForPlayer(playerid, 791, 1460.7813, 444.3906, 18.0078, 0.25); //-----------------|REMOVES MAPA POBRE PCC|----------------------------- RemoveBuildingForPlayer(playerid, 16440, 12.1172, 1178.5391, 20.8125, 0.25); RemoveBuildingForPlayer(playerid, 16441, -32.5234, 1185.1875, 22.4297, 0.25); RemoveBuildingForPlayer(playerid, 16672, 86.9063, 1182.6641, 21.5391, 0.25); RemoveBuildingForPlayer(playerid, 16735, -49.2422, 1137.7031, 28.7813, 0.25); RemoveBuildingForPlayer(playerid, 669, -50.5078, 1160.9141, 18.6797, 0.25); RemoveBuildingForPlayer(playerid, 700, -41.8125, 1160.0781, 19.0156, 0.25); RemoveBuildingForPlayer(playerid, 1468, -47.7031, 1162.3672, 19.8906, 0.25); RemoveBuildingForPlayer(playerid, 1468, -52.9766, 1162.3672, 19.9453, 0.25); RemoveBuildingForPlayer(playerid, 1468, -42.4219, 1162.3672, 19.8594, 0.25); RemoveBuildingForPlayer(playerid, 1345, -44.3047, 1179.2734, 19.2422, 0.25); RemoveBuildingForPlayer(playerid, 1308, -46.6953, 1179.5703, 18.5703, 0.25); RemoveBuildingForPlayer(playerid, 1522, -53.1016, 1188.3281, 18.3438, 0.25); RemoveBuildingForPlayer(playerid, 761, 12.0156, 1159.5703, 18.8281, 0.25); RemoveBuildingForPlayer(playerid, 700, 3.8281, 1159.2969, 19.0156, 0.25); RemoveBuildingForPlayer(playerid, 1468, 11.4063, 1160.0234, 19.9453, 0.25); RemoveBuildingForPlayer(playerid, 1468, 6.1328, 1160.0234, 19.9453, 0.25); RemoveBuildingForPlayer(playerid, 1468, 0.8594, 1160.0234, 19.9453, 0.25); RemoveBuildingForPlayer(playerid, 1308, -26.4141, 1159.4844, 19.4844, 0.25); RemoveBuildingForPlayer(playerid, 1294, -30.1719, 1153.3516, 23.2031, 0.25); RemoveBuildingForPlayer(playerid, 669, -31.3203, 1160.6875, 18.6797, 0.25); RemoveBuildingForPlayer(playerid, 1345, -24.8203, 1165.4063, 19.2422, 0.25); RemoveBuildingForPlayer(playerid, 1468, -37.1484, 1162.3672, 19.7656, 0.25); RemoveBuildingForPlayer(playerid, 1468, -31.8359, 1162.3672, 19.7188, 0.25); RemoveBuildingForPlayer(playerid, 16069, 12.1172, 1178.5391, 20.8125, 0.25); RemoveBuildingForPlayer(playerid, 16442, -18.4688, 1178.8828, 29.3750, 0.25); RemoveBuildingForPlayer(playerid, 955, -14.7031, 1175.3594, 18.9531, 0.25); RemoveBuildingForPlayer(playerid, 761, -13.6953, 1187.4063, 18.4766, 0.25); RemoveBuildingForPlayer(playerid, 16068, -32.5234, 1185.1875, 22.4297, 0.25); RemoveBuildingForPlayer(playerid, 761, -13.7891, 1185.4922, 18.4766, 0.25); RemoveBuildingForPlayer(playerid, 1308, -25.7813, 1188.0313, 18.6328, 0.25); RemoveBuildingForPlayer(playerid, 1294, -0.1484, 1193.6406, 23.2031, 0.25); RemoveBuildingForPlayer(playerid, 1294, -25.7813, 1193.6406, 22.8125, 0.25); RemoveBuildingForPlayer(playerid, 700, 33.6094, 1152.6953, 19.0156, 0.25); RemoveBuildingForPlayer(playerid, 669, 30.4922, 1157.7891, 18.6797, 0.25); RemoveBuildingForPlayer(playerid, 700, 22.2578, 1158.4766, 18.4063, 0.25); RemoveBuildingForPlayer(playerid, 669, 35.9922, 1157.1875, 18.6797, 0.25); RemoveBuildingForPlayer(playerid, 1468, 16.6875, 1160.0234, 19.9453, 0.25); RemoveBuildingForPlayer(playerid, 1468, 21.9609, 1160.0234, 19.9453, 0.25); RemoveBuildingForPlayer(playerid, 1294, 19.5781, 1153.3516, 23.2031, 0.25); RemoveBuildingForPlayer(playerid, 1294, 20.9141, 1193.6406, 23.2031, 0.25); RemoveBuildingForPlayer(playerid, 1308, 40.5625, 1188.6875, 17.9922, 0.25); RemoveBuildingForPlayer(playerid, 700, 65.0313, 1148.2344, 18.8516, 0.25); RemoveBuildingForPlayer(playerid, 652, 59.0391, 1181.6797, 16.2656, 0.25); RemoveBuildingForPlayer(playerid, 1294, 49.1406, 1193.6406, 23.2031, 0.25); RemoveBuildingForPlayer(playerid, 652, 71.1797, 1182.1719, 16.2656, 0.25); RemoveBuildingForPlayer(playerid, 773, 72.9063, 1137.3281, 14.5469, 0.25); RemoveBuildingForPlayer(playerid, 1308, 76.9297, 1187.2969, 17.9922, 0.25); RemoveBuildingForPlayer(playerid, 669, 90.0859, 1147.8828, 16.7813, 0.25); RemoveBuildingForPlayer(playerid, 16673, 86.9063, 1182.6641, 21.5391, 0.25); //-----------------|REMOVES MAPA POBRE TROPA DA FRANCA BY-AQUILES|--------------------- RemoveBuildingForPlayer(playerid, 790, 927.2109, 2.3359, 85.5000, 0.25); RemoveBuildingForPlayer(playerid, 694, 912.6953, 27.5078, 81.6406, 0.25); RemoveBuildingForPlayer(playerid, 694, 882.4453, 55.4844, 83.2422, 0.25); RemoveBuildingForPlayer(playerid, 694, 977.4922, 16.1094, 82.9297, 0.25); RemoveBuildingForPlayer(playerid, 693, 1012.0469, 21.5625, 88.7578, 0.25); RemoveBuildingForPlayer(playerid, 706, 975.3203, 185.8594, 33.9141, 0.25); RemoveBuildingForPlayer(playerid, 709, 1047.7656, 15.7813, 80.9609, 0.25); RemoveBuildingForPlayer(playerid, 790, 1080.0234, 10.4141, 70.2656, 0.25); //REMOVES DO POSTO DE GASOLINA PERTO DA PIZZARIA RemoveBuildingForPlayer(playerid, 5535, 1918.8516, -1776.3281, 16.9766, 0.25); RemoveBuildingForPlayer(playerid, 5681, 1921.4844, -1778.9141, 18.5781, 0.25); RemoveBuildingForPlayer(playerid, 5409, 1918.8516, -1776.3281, 16.9766, 0.25); RemoveBuildingForPlayer(playerid, 1676, 1941.6563, -1778.4531, 14.1406, 0.25); RemoveBuildingForPlayer(playerid, 1676, 1941.6563, -1774.3125, 14.1406, 0.25); RemoveBuildingForPlayer(playerid, 1676, 1941.6563, -1771.3438, 14.1406, 0.25); RemoveBuildingForPlayer(playerid, 1676, 1941.6563, -1767.2891, 14.1406, 0.25); //-------------- REMOVES BMW ----------------------- RemoveBuildingForPlayer(playerid, 6161, 989.6719, -1553.6641, 19.8984, 0.25); RemoveBuildingForPlayer(playerid, 6162, 941.4141, -1530.6172, 23.1719, 0.25); RemoveBuildingForPlayer(playerid, 6163, 986.8203, -1520.0703, 17.9297, 0.25); RemoveBuildingForPlayer(playerid, 6192, 988.9063, -1487.9063, 24.5391, 0.25); RemoveBuildingForPlayer(playerid, 6157, 941.4141, -1530.6172, 23.1719, 0.25); RemoveBuildingForPlayer(playerid, 759, 962.8125, -1559.9063, 20.8359, 0.25); RemoveBuildingForPlayer(playerid, 759, 967.0625, -1559.9063, 20.8359, 0.25); RemoveBuildingForPlayer(playerid, 759, 971.3047, -1559.9063, 20.8359, 0.25); RemoveBuildingForPlayer(playerid, 759, 975.5469, -1559.9063, 20.8359, 0.25); RemoveBuildingForPlayer(playerid, 759, 979.7891, -1559.9063, 20.8359, 0.25); RemoveBuildingForPlayer(playerid, 759, 984.0391, -1559.9063, 20.8359, 0.25); RemoveBuildingForPlayer(playerid, 759, 962.8125, -1547.9688, 20.8359, 0.25); RemoveBuildingForPlayer(playerid, 759, 967.0625, -1547.9688, 20.8359, 0.25); RemoveBuildingForPlayer(playerid, 759, 971.3047, -1547.9688, 20.8359, 0.25); RemoveBuildingForPlayer(playerid, 759, 975.5469, -1547.9688, 20.8359, 0.25); RemoveBuildingForPlayer(playerid, 6159, 989.6719, -1553.6641, 19.8984, 0.25); RemoveBuildingForPlayer(playerid, 759, 979.7891, -1547.9688, 20.8359, 0.25); RemoveBuildingForPlayer(playerid, 759, 984.0391, -1547.9688, 20.8359, 0.25); RemoveBuildingForPlayer(playerid, 6158, 986.8203, -1520.0703, 17.9297, 0.25); RemoveBuildingForPlayer(playerid, 6164, 982.6172, -1530.8281, 12.8359, 0.25); RemoveBuildingForPlayer(playerid, 6160, 982.6172, -1530.8281, 12.8359, 0.25); // LOS VAGOS RemoveBuildingForPlayer(playerid, 3300, 2586.6094, -971.5938, 82.2344, 0.25); RemoveBuildingForPlayer(playerid, 671, 2576.0547, -977.3594, 79.9141, 0.25); RemoveBuildingForPlayer(playerid, 1407, 2579.5703, -976.2344, 81.0938, 0.25); RemoveBuildingForPlayer(playerid, 1407, 2578.8594, -971.6406, 81.0859, 0.25); RemoveBuildingForPlayer(playerid, 1410, 2582.1563, -978.2656, 81.0313, 0.25); RemoveBuildingForPlayer(playerid, 3285, 2586.6094, -971.5938, 82.2344, 0.25); RemoveBuildingForPlayer(playerid, 1407, 2586.7500, -977.5391, 81.0625, 0.25); RemoveBuildingForPlayer(playerid, 1410, 2591.4063, -976.8125, 81.0313, 0.25); RemoveBuildingForPlayer(playerid, 1407, 2593.3125, -974.0625, 81.0938, 0.25); RemoveBuildingForPlayer(playerid, 1407, 2592.4766, -969.4219, 81.0938, 0.25); RemoveBuildingForPlayer(playerid, 673, 2596.4844, -964.5156, 79.4531, 0.25); RemoveBuildingForPlayer(playerid, 671, 2571.2422, -958.1016, 80.6484, 0.25); RemoveBuildingForPlayer(playerid, 617, 2605.3438, -946.5391, 79.1328, 0.25); //nova hq da milicia //POBRE NOVA RemoveBuildingForPlayer(playerid, 3696, 2794.500, -1923.882, 16.843, 0.250); RemoveBuildingForPlayer(playerid, 3696, 2794.492, -1965.117, 16.843, 0.250); RemoveBuildingForPlayer(playerid, 3696, 2744.070, -1965.117, 16.843, 0.250); RemoveBuildingForPlayer(playerid, 3696, 2744.078, -1923.882, 16.843, 0.250); RemoveBuildingForPlayer(playerid, 708, 2798.054, -1993.273, 12.304, 0.250); RemoveBuildingForPlayer(playerid, 5361, 2746.750, -1944.734, 14.703, 0.250); RemoveBuildingForPlayer(playerid, 5362, 2791.835, -1944.265, 14.703, 0.250); RemoveBuildingForPlayer(playerid, 5265, 2678.968, -2003.812, 21.500, 0.250); RemoveBuildingForPlayer(playerid, 1307, 2726.210, -1982.398, 12.289, 0.250); RemoveBuildingForPlayer(playerid, 620, 2726.351, -1928.773, 9.671, 0.250); RemoveBuildingForPlayer(playerid, 620, 2728.242, -1959.328, 9.671, 0.250); RemoveBuildingForPlayer(playerid, 620, 2730.867, -1960.375, 9.671, 0.250); RemoveBuildingForPlayer(playerid, 620, 2730.984, -1924.343, 9.671, 0.250); RemoveBuildingForPlayer(playerid, 620, 2731.203, -1978.875, 9.671, 0.250); RemoveBuildingForPlayer(playerid, 1307, 2751.203, -1984.007, 12.289, 0.250); RemoveBuildingForPlayer(playerid, 3697, 2744.070, -1965.117, 16.843, 0.250); RemoveBuildingForPlayer(playerid, 5301, 2746.750, -1944.734, 14.703, 0.250); RemoveBuildingForPlayer(playerid, 3697, 2744.078, -1923.882, 16.843, 0.250); RemoveBuildingForPlayer(playerid, 620, 2749.570, -1901.898, 9.671, 0.250); RemoveBuildingForPlayer(playerid, 620, 2755.507, -1902.156, 9.671, 0.250); RemoveBuildingForPlayer(playerid, 1307, 2782.546, -1904.250, 12.289, 0.250); RemoveBuildingForPlayer(playerid, 5234, 2786.773, -1970.062, 20.062, 0.250); RemoveBuildingForPlayer(playerid, 5308, 2791.835, -1944.265, 14.703, 0.250); RemoveBuildingForPlayer(playerid, 3697, 2794.500, -1923.882, 16.843, 0.250); RemoveBuildingForPlayer(playerid, 3697, 2794.492, -1965.117, 16.843, 0.250); RemoveBuildingForPlayer(playerid, 671, 2808.976, -2033.609, 12.671, 0.250); RemoveBuildingForPlayer(playerid, 712, 2809.453, -2017.914, 21.718, 0.250); RemoveBuildingForPlayer(playerid, 620, 2806.578, -2007.695, 9.671, 0.250); RemoveBuildingForPlayer(playerid, 620, 2809.140, -1977.984, 9.671, 0.250); RemoveBuildingForPlayer(playerid, 620, 2806.687, -1958.757, 9.671, 0.250); RemoveBuildingForPlayer(playerid, 620, 2811.742, -1963.148, 9.671, 0.250); RemoveBuildingForPlayer(playerid, 620, 2806.929, -1927.382, 9.671, 0.250); RemoveBuildingForPlayer(playerid, 620, 2807.242, -1944.062, 9.671, 0.250); RemoveBuildingForPlayer(playerid, 620, 2810.265, -1909.281, 9.671, 0.250); RemoveBuildingForPlayer(playerid, 620, 2809.703, -1913.710, 9.671, 0.250); // HQ GAT // RemoveBuildingForPlayer(playerid, 727, 931.7891, -991.1719, 37.0234, 0.25); RemoveBuildingForPlayer(playerid, 1307, 937.9375, -986.5391, 37.0313, 0.25); // CarregariFood(playerid); if(PlayerSerialBanido(playerid)) { Ban(playerid); } MEGAString[0]=EOS; MEGAString2[0]=EOS; MEGAString3[0]=EOS; //PlayAudioStreamForPlayer(playerid,"https://soundcloud.com/wellington-lages/trance-billie-eilish"); PlayAudioStreamForPlayer(playerid, "http://144.91.91.19:7972/;?type=http&nocache=9"); // RADIO CNF for(new p=0;p<26;p++) ItemSlotA[playerid][p] = -1; PlayerLogado[playerid] = 1; ChatStaff[playerid] = false; DevolveuSkin[playerid] = false; NaPorraDoEvento[playerid] = false; ProcurarNov[playerid] = 0; FoiRegistro[playerid] = false; JaSpawnouVeh[playerid] = false; UsouEstacionar[playerid] = false; UsouDesbugar[playerid] = false; IrPosicao[playerid] = true; EscolhaV[playerid] = 0; ItemVender[playerid] = -1; //SISTEMA ATENDIMENTO FilaAtendimento[playerid] = 999; TempoAtendimento2[playerid] = 0; DebugFechouInventario[playerid] = false; for(new i=0; i>>"); PlayerTextDrawLetterSize(playerid, invText[playerid][2], 0.222429, 1.389997); PlayerTextDrawTextSize(playerid, invText[playerid][2], 75.000000, 10.000000); PlayerTextDrawAlignment(playerid, invText[playerid][2], 1); PlayerTextDrawColor(playerid, invText[playerid][2], -1); PlayerTextDrawUseBox(playerid, invText[playerid][2], 1); PlayerTextDrawBoxColor(playerid, invText[playerid][2], -2139062203); PlayerTextDrawSetShadow(playerid, invText[playerid][2], 0); PlayerTextDrawSetOutline(playerid, invText[playerid][2], 0); PlayerTextDrawBackgroundColor(playerid, invText[playerid][2], 255); PlayerTextDrawFont(playerid, invText[playerid][2], 3); PlayerTextDrawSetProportional(playerid, invText[playerid][2], 1); PlayerTextDrawSetShadow(playerid, invText[playerid][2], 0); PlayerTextDrawSetSelectable(playerid, invText[playerid][2], true); invText[playerid][3] = CreatePlayerTextDraw(playerid, 224.301498, 384.349182, "Organizar"); PlayerTextDrawLetterSize(playerid, invText[playerid][3], 0.177450, 0.917499); PlayerTextDrawTextSize(playerid, invText[playerid][3], 265.000000, 10.000000); PlayerTextDrawAlignment(playerid, invText[playerid][3], 1); PlayerTextDrawColor(playerid, invText[playerid][3], -2139062017); PlayerTextDrawUseBox(playerid, invText[playerid][3], 1); PlayerTextDrawBoxColor(playerid, invText[playerid][3], -2139062217); PlayerTextDrawSetShadow(playerid, invText[playerid][3], 0); PlayerTextDrawSetOutline(playerid, invText[playerid][3], 0); PlayerTextDrawBackgroundColor(playerid, invText[playerid][3], 255); PlayerTextDrawFont(playerid, invText[playerid][3], 2); PlayerTextDrawSetProportional(playerid, invText[playerid][3], 1); PlayerTextDrawSetShadow(playerid, invText[playerid][3], 0); PlayerTextDrawSetSelectable(playerid, invText[playerid][3], true); invText[playerid][4] = CreatePlayerTextDraw(playerid, 414.310455, 381.132507, "Pagina_1-5"); PlayerTextDrawLetterSize(playerid, invText[playerid][4], 0.348931, 1.436665); PlayerTextDrawAlignment(playerid, invText[playerid][4], 1); PlayerTextDrawColor(playerid, invText[playerid][4], -2139062017); PlayerTextDrawSetShadow(playerid, invText[playerid][4], 0); PlayerTextDrawSetOutline(playerid, invText[playerid][4], 0); PlayerTextDrawBackgroundColor(playerid, invText[playerid][4], 255); PlayerTextDrawFont(playerid, invText[playerid][4], 1); PlayerTextDrawSetProportional(playerid, invText[playerid][4], 1); PlayerTextDrawSetShadow(playerid, invText[playerid][4], 0); invText[playerid][5] = CreatePlayerTextDraw(playerid, 20.239273, 121.333007, "Inventario de: %d Itens: %s/75"); PlayerTextDrawLetterSize(playerid, invText[playerid][5], 0.319882, 1.284996); PlayerTextDrawAlignment(playerid, invText[playerid][5], 1); PlayerTextDrawColor(playerid, invText[playerid][5], -1); PlayerTextDrawSetShadow(playerid, invText[playerid][5], 0); PlayerTextDrawSetOutline(playerid, invText[playerid][5], 0); PlayerTextDrawBackgroundColor(playerid, invText[playerid][5], 255); PlayerTextDrawFont(playerid, invText[playerid][5], 1); PlayerTextDrawSetProportional(playerid, invText[playerid][5], 1); PlayerTextDrawSetShadow(playerid, invText[playerid][5], 0); invText[playerid][6] = CreatePlayerTextDraw(playerid, 434.888183, 123.399559, "Fechar"); PlayerTextDrawLetterSize(playerid, invText[playerid][6], 0.236017, 0.911664); PlayerTextDrawTextSize(playerid, invText[playerid][6], 472.000000, 10.000000); PlayerTextDrawAlignment(playerid, invText[playerid][6], 1); PlayerTextDrawColor(playerid, invText[playerid][6], -1); PlayerTextDrawUseBox(playerid, invText[playerid][6], 1); PlayerTextDrawBoxColor(playerid, invText[playerid][6], -2139062231); PlayerTextDrawSetShadow(playerid, invText[playerid][6], 0); PlayerTextDrawSetOutline(playerid, invText[playerid][6], 0); PlayerTextDrawBackgroundColor(playerid, invText[playerid][6], 255); PlayerTextDrawFont(playerid, invText[playerid][6], 2); PlayerTextDrawSetProportional(playerid, invText[playerid][6], 1); PlayerTextDrawSetShadow(playerid, invText[playerid][6], 0); PlayerTextDrawSetSelectable(playerid, invText[playerid][6], true); invBox[playerid][0] = CreatePlayerTextDraw(playerid,47.000000, 175.000000, "_"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][0], 255); PlayerTextDrawFont(playerid,invBox[playerid][0], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][0], 0.193378, 12.805830); PlayerTextDrawColor(playerid,invBox[playerid][0], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][0], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][0], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][0], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][0], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][0], 0x00000099); PlayerTextDrawTextSize(playerid,invBox[playerid][0], 143.000000, 0.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][0], 0); invBox[playerid][1] = CreatePlayerTextDraw(playerid,48.000000, 175.000000, "Escolha uma opcao"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][1], 255); PlayerTextDrawFont(playerid,invBox[playerid][1], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][1], 0.193378, 0.905830); PlayerTextDrawColor(playerid,invBox[playerid][1], -2139062169); PlayerTextDrawSetOutline(playerid,invBox[playerid][1], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][1], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][1], 0); PlayerTextDrawSetSelectable(playerid,invBox[playerid][1], 0); invBox[playerid][2] = CreatePlayerTextDraw(playerid,126.000000, 174.000000, "~r~X"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][2], 255); PlayerTextDrawFont(playerid,invBox[playerid][2], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][2], 0.356041, 1.098331); PlayerTextDrawColor(playerid,invBox[playerid][2], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][2], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][2], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][2], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][2], 0); PlayerTextDrawBoxColor(playerid,invBox[playerid][2], 255); PlayerTextDrawTextSize(playerid,invBox[playerid][2], 580.507568, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][2], 1); invBox[playerid][3] = CreatePlayerTextDraw(playerid,54.000000, 190.000000, "usar_item");//y + 15 PlayerTextDrawBackgroundColor(playerid,invBox[playerid][3], 255); PlayerTextDrawFont(playerid,invBox[playerid][3], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][3], 0.292708, 1.004999); PlayerTextDrawColor(playerid,invBox[playerid][3], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][3], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][3], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][3], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][3], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][3], 0x1c1c1bFF); PlayerTextDrawTextSize(playerid,invBox[playerid][3], 137.000000, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][3], 1); invBox[playerid][4] = CreatePlayerTextDraw(playerid,54.000000, 206.000000, "combinar"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][4], 255); PlayerTextDrawFont(playerid,invBox[playerid][4], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][4], 0.292708, 1.004999); PlayerTextDrawColor(playerid,invBox[playerid][4], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][4], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][4], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][4], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][4], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][4], 0x1c1c1bFF); PlayerTextDrawTextSize(playerid,invBox[playerid][4], 137.000000, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][4], 1); invBox[playerid][5] = CreatePlayerTextDraw(playerid,54.000000, 223.000000, "mover"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][5], 255); PlayerTextDrawFont(playerid,invBox[playerid][5], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][5], 0.292708, 1.004999); PlayerTextDrawColor(playerid,invBox[playerid][5], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][5], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][5], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][5], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][5], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][5], 0x1c1c1bFF); PlayerTextDrawTextSize(playerid,invBox[playerid][5], 137.000000, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][5], 1); invBox[playerid][6] = CreatePlayerTextDraw(playerid,54.000000, 239.000000, "vender_item"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][6], 255); PlayerTextDrawFont(playerid,invBox[playerid][6], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][6], 0.292708, 1.004999); PlayerTextDrawColor(playerid,invBox[playerid][6], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][6], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][6], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][6], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][6], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][6], 0x1c1c1bFF); PlayerTextDrawTextSize(playerid,invBox[playerid][6], 137.000000, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][6], 1); invBox[playerid][7] = CreatePlayerTextDraw(playerid,54.000000, 255.000000, "descartar"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][7], 255); PlayerTextDrawFont(playerid,invBox[playerid][7], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][7], 0.292708, 1.004999); PlayerTextDrawColor(playerid,invBox[playerid][7], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][7], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][7], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][7], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][7], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][7], 0x1c1c1bFF); PlayerTextDrawTextSize(playerid,invBox[playerid][7], 137.000000, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][7], 1); invBox[playerid][8] = CreatePlayerTextDraw(playerid,54.000000, 271.000000, "separar"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][8], 255); PlayerTextDrawFont(playerid,invBox[playerid][8], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][8], 0.292708, 1.004999); PlayerTextDrawColor(playerid,invBox[playerid][8], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][8], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][8], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][8], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][8], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][8], 0x1c1c1bFF); PlayerTextDrawTextSize(playerid,invBox[playerid][8], 137.000000, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][8], 1); textAbordagem[playerid][0] = CreatePlayerTextDraw(playerid,10.000000, 150.000000, "_"); PlayerTextDrawBackgroundColor(playerid,textAbordagem[playerid][0], 255); PlayerTextDrawFont(playerid,textAbordagem[playerid][0], 1); PlayerTextDrawLetterSize(playerid,textAbordagem[playerid][0], 0.500000, 8.899999); PlayerTextDrawColor(playerid,textAbordagem[playerid][0], -1); PlayerTextDrawSetOutline(playerid,textAbordagem[playerid][0], 0); PlayerTextDrawSetProportional(playerid,textAbordagem[playerid][0], 1); PlayerTextDrawSetShadow(playerid,textAbordagem[playerid][0], 1); PlayerTextDrawUseBox(playerid,textAbordagem[playerid][0], 1); PlayerTextDrawBoxColor(playerid,textAbordagem[playerid][0], 255); PlayerTextDrawTextSize(playerid,textAbordagem[playerid][0], 250.000000, 10.000000); PlayerTextDrawSetSelectable(playerid,textAbordagem[playerid][0], 0); textAbordagem[playerid][1] = CreatePlayerTextDraw(playerid,11.000000, 150.000000, "ABORDAGEM POLICIAL para porra"); PlayerTextDrawBackgroundColor(playerid,textAbordagem[playerid][1], 255); PlayerTextDrawFont(playerid,textAbordagem[playerid][1], 1); PlayerTextDrawLetterSize(playerid,textAbordagem[playerid][1], 0.290000, 1.000000); PlayerTextDrawColor(playerid,textAbordagem[playerid][1], 1684301055); PlayerTextDrawSetOutline(playerid,textAbordagem[playerid][1], 0); PlayerTextDrawSetProportional(playerid,textAbordagem[playerid][1], 1); PlayerTextDrawSetShadow(playerid,textAbordagem[playerid][1], 1); PlayerTextDrawSetSelectable(playerid,textAbordagem[playerid][1], 0); textAbordagem[playerid][2] = CreatePlayerTextDraw(playerid,11.000000, 164.000000, "Voce esta sendo abordado pelos policias, voce tem 10~n~segundos para escolher uma opcao"); PlayerTextDrawBackgroundColor(playerid,textAbordagem[playerid][2], 255); PlayerTextDrawFont(playerid,textAbordagem[playerid][2], 1); PlayerTextDrawLetterSize(playerid,textAbordagem[playerid][2], 0.250000, 1.100000); PlayerTextDrawColor(playerid,textAbordagem[playerid][2], -1077886209); PlayerTextDrawSetOutline(playerid,textAbordagem[playerid][2], 0); PlayerTextDrawSetProportional(playerid,textAbordagem[playerid][2], 1); PlayerTextDrawSetShadow(playerid,textAbordagem[playerid][2], 1); PlayerTextDrawSetSelectable(playerid,textAbordagem[playerid][2], 0); textAbordagem[playerid][3] = CreatePlayerTextDraw(playerid,11.000000, 190.000000, "OPCOES"); PlayerTextDrawBackgroundColor(playerid,textAbordagem[playerid][3], 255); PlayerTextDrawFont(playerid,textAbordagem[playerid][3], 1); PlayerTextDrawLetterSize(playerid,textAbordagem[playerid][3], 0.290000, 1.000000); PlayerTextDrawColor(playerid,textAbordagem[playerid][3], 1684301055); PlayerTextDrawSetOutline(playerid,textAbordagem[playerid][3], 0); PlayerTextDrawSetProportional(playerid,textAbordagem[playerid][3], 1); PlayerTextDrawSetShadow(playerid,textAbordagem[playerid][3], 1); PlayerTextDrawSetSelectable(playerid,textAbordagem[playerid][3], 0); textAbordagem[playerid][4] = CreatePlayerTextDraw(playerid,11.000000, 205.000000, "Y = Aceitar abordagem~n~N = Rejeitar abordagem"); PlayerTextDrawBackgroundColor(playerid,textAbordagem[playerid][4], 255); PlayerTextDrawFont(playerid,textAbordagem[playerid][4], 1); PlayerTextDrawLetterSize(playerid,textAbordagem[playerid][4], 0.250000, 1.100000); PlayerTextDrawColor(playerid,textAbordagem[playerid][4], -1077886209); PlayerTextDrawSetOutline(playerid,textAbordagem[playerid][4], 0); PlayerTextDrawSetProportional(playerid,textAbordagem[playerid][4], 1); PlayerTextDrawSetShadow(playerid,textAbordagem[playerid][4], 1); PlayerTextDrawSetSelectable(playerid,textAbordagem[playerid][4], 0); CriarTxDBinco(playerid); //----------- checar ban ------------- if(BanAuto(playerid)) return true; if(BanAuto2(playerid)) return true; for(new gZone=1; gZone < sizeof(GZMorro); gZone++){ GangZoneShowForPlayer(playerid, GZMorro[gZone], GuerraMorro[gColor]); } PlayerVelocimetro[playerid] = false ; CreateTextDraws(playerid); // PreloadAnims(playerid); // SetTimerEx("PreloadAnims1", 1000, false, "i", playerid); gHeaderTextDrawId[playerid] = PlayerText:INVALID_TEXT_DRAW; gBackgroundTextDrawId[playerid] = PlayerText:INVALID_TEXT_DRAW; gCurrentPageTextDrawId[playerid] = PlayerText:INVALID_TEXT_DRAW; gNextButtonTextDrawId[playerid] = PlayerText:INVALID_TEXT_DRAW; gPrevButtonTextDrawId[playerid] = PlayerText:INVALID_TEXT_DRAW; StopPlayerHoldingObject(playerid); RemovePlayerAttachedObject(playerid, pObject[playerid][oslot]); //DP DA ROTA-SF //=================================================================================== PedreiraShowForPlayer(playerid); if(Pedreira[Guerra] >= 1) { PedreiraFlashForPlayer(playerid); } if(TendoGuerra) { GangZoneShowForPlayer(playerid, GZGuerra, CorGuerra); } GangZoneShowForPlayer(playerid, GZRC2, 0xFFFFFF99); GangZoneShowForPlayer(playerid, GZRC3, 0xFFFFFF99); GangZoneShowForPlayer(playerid, GZHOSP, 0xFFFFFF99); GangZoneShowForPlayer(playerid, GZRESPAWN, 0xFFFFFF99); GangZoneShowForPlayer(playerid, GZIGREJA, 0xFFFFFF99); GangZoneShowForPlayer(playerid, GZEVENTOS, 0xFFFFFF99); GangZoneShowForPlayer(playerid, GZSPAWNLV, 0xFFFFFF99); if(donomafiaporto == 0)GangZoneShowForPlayer(playerid, GZPorto, 0xC0C0C0AA); else if(donomafiaporto == 11)GangZoneShowForPlayer(playerid, GZPorto, 0x91766296); else if(donomafiaporto == 12)GangZoneShowForPlayer(playerid, GZPorto, 0xD48A30AA); else if(donomafiaporto == 13)GangZoneShowForPlayer(playerid, GZPorto, 0x00483AAA); else if(donomafiaporto == 24)GangZoneShowForPlayer(playerid, GZPorto, 0x33FFFFAA); if(donomafia == 0)GangZoneShowForPlayer(playerid, GZMafia, 0xC0C0C0AA); else if(donomafia == 11)GangZoneShowForPlayer(playerid, GZMafia, 0x91766296); else if(donomafia == 12)GangZoneShowForPlayer(playerid, GZMafia, 0xD48A30AA); else if(donomafia == 13)GangZoneShowForPlayer(playerid, GZMafia, 0x00483AAA); else if(donomafia == 24)GangZoneShowForPlayer(playerid, GZMafia, 0x33FFFFAA); if(donoMata == 0) { GangZoneShowForPlayer(playerid, GZMata, 0xC0C0C0AA); } if(donoMata == 1) { GangZoneShowForPlayer(playerid, GZMata, COR_EXE); } if(donoMata == 2) { GangZoneShowForPlayer(playerid, GZMata, 0xCC0196FF); } if(donoMata == 3) { GangZoneShowForPlayer(playerid, GZMata, 0x6E6E6E96); } if(donoMata == 4) { GangZoneShowForPlayer(playerid, GZMata, 0xb19200FF); } LoadTrForPlayer(playerid); foreach(Player, i) { if(!VendoNick[i]) { ShowPlayerNameTagForPlayer(playerid, i, false); } } new string2[100]; format(string2, sizeof(string2), Pasta_Contas, PlayerName(playerid)); if(fexist(string2)) { gPlayerConta[playerid] = 1; } else { gPlayerConta[playerid] = 0; } if(SysMsgBRASIL == 1) { new IPDoCara[32]; GetPlayerIp(playerid, IPDoCara, sizeof IPDoCara); format(string2, sizeof(string2), "LOGIN: %s [IP: %s] conectou-se no servidor fiquem atentos.", PlayerName(playerid),IPDoCara); ABroadCast(COLOR_LIGHTRED, string2, 1); }//colocar coisas novas aqui //TimerFome[playerid] = SetTimerEx("AtualizarSede", minutos(4), true, "i", playerid); //TimerSede[playerid] = SetTimerEx("AtualizarFome", minutos(5), true, "i", playerid); return true; } static stock CreateTextDraws(playerid) { // SISTEMA DE PARAMEDICOS // Textdrawmorte3[playerid] = CreatePlayerTextDraw(playerid,641.199951, 151.580001, "_"); PlayerTextDrawLetterSize(playerid,Textdrawmorte3[playerid], 0.000000, 16.524816); PlayerTextDrawTextSize(playerid,Textdrawmorte3[playerid], -2.000000, 0.000000); PlayerTextDrawAlignment(playerid,Textdrawmorte3[playerid], 1); PlayerTextDrawColor(playerid,Textdrawmorte3[playerid], 0); PlayerTextDrawUseBox(playerid, Textdrawmorte3[playerid], true); PlayerTextDrawUseBox(playerid,Textdrawmorte3[playerid], true); PlayerTextDrawBoxColor(playerid,Textdrawmorte3[playerid], 102); PlayerTextDrawSetShadow(playerid,Textdrawmorte3[playerid], 0); PlayerTextDrawSetOutline(playerid,Textdrawmorte3[playerid], 0); PlayerTextDrawFont(playerid,Textdrawmorte3[playerid], 0); Textdrawmorte0[playerid] = CreatePlayerTextDraw(playerid,229.658493, 184.491989, "INCONSCIENTE"); PlayerTextDrawLetterSize(playerid,Textdrawmorte0[playerid], 0.798000, 3.130666); PlayerTextDrawAlignment(playerid,Textdrawmorte0[playerid], 1); PlayerTextDrawColor(playerid,Textdrawmorte0[playerid], -1306385665); PlayerTextDrawSetShadow(playerid,Textdrawmorte0[playerid], 0); PlayerTextDrawSetOutline(playerid,Textdrawmorte0[playerid], 2); PlayerTextDrawBackgroundColor(playerid,Textdrawmorte0[playerid], 51); PlayerTextDrawFont(playerid,Textdrawmorte0[playerid], 3); PlayerTextDrawSetProportional(playerid,Textdrawmorte0[playerid], 1); Textdrawmorte1[playerid] = CreatePlayerTextDraw(playerid,148.799957, 221.610809, "OS PARAMEDICOS JA FORAM AVISADOS!!!"); PlayerTextDrawLetterSize(playerid,Textdrawmorte1[playerid], 0.449999, 1.600000); PlayerTextDrawAlignment(playerid,Textdrawmorte1[playerid], 1); PlayerTextDrawColor(playerid,Textdrawmorte1[playerid], -252116993); PlayerTextDrawSetShadow(playerid,Textdrawmorte1[playerid], 0); PlayerTextDrawSetOutline(playerid,Textdrawmorte1[playerid], 1); PlayerTextDrawBackgroundColor(playerid,Textdrawmorte1[playerid], 51); PlayerTextDrawFont(playerid,Textdrawmorte1[playerid], 1); PlayerTextDrawSetProportional(playerid,Textdrawmorte1[playerid], 1); Textdrawmorte2[playerid] = CreatePlayerTextDraw(playerid,49.600048, 248.639907, "OU AGUARDE 15 MINUTOS PARA SER REANIMADO AUTOMATICAMENTE."); PlayerTextDrawLetterSize(playerid,Textdrawmorte2[playerid], 0.449999, 1.600000); PlayerTextDrawAlignment(playerid,Textdrawmorte2[playerid], 1); PlayerTextDrawColor(playerid,Textdrawmorte2[playerid], -252116993); PlayerTextDrawSetShadow(playerid,Textdrawmorte2[playerid], 0); PlayerTextDrawSetOutline(playerid,Textdrawmorte2[playerid], 1); PlayerTextDrawBackgroundColor(playerid,Textdrawmorte2[playerid], 51); PlayerTextDrawFont(playerid,Textdrawmorte2[playerid], 1); PlayerTextDrawSetProportional(playerid,Textdrawmorte2[playerid], 1); Textdrawmorte4[playerid] = CreatePlayerTextDraw(playerid,148.799957, 221.610809, "NO MOMENTO NAO HA PARAMEDICOS ON-LINE!!!"); PlayerTextDrawLetterSize(playerid,Textdrawmorte4[playerid], 0.449999, 1.600000); PlayerTextDrawAlignment(playerid,Textdrawmorte4[playerid], 1); PlayerTextDrawColor(playerid,Textdrawmorte4[playerid], -252116993); PlayerTextDrawSetShadow(playerid,Textdrawmorte4[playerid], 0); PlayerTextDrawSetOutline(playerid,Textdrawmorte4[playerid], 1); PlayerTextDrawBackgroundColor(playerid,Textdrawmorte4[playerid], 51); PlayerTextDrawFont(playerid,Textdrawmorte4[playerid], 1); PlayerTextDrawSetProportional(playerid,Textdrawmorte4[playerid], 1); Textdrawmorte5[playerid] = CreatePlayerTextDraw(playerid,75.600048, 248.639907, "AGUARDE 02 MINUTOS E SERA REANIMADO AUTOMATICAMENTE."); PlayerTextDrawLetterSize(playerid,Textdrawmorte5[playerid], 0.449999, 1.600000); PlayerTextDrawAlignment(playerid,Textdrawmorte5[playerid], 1); PlayerTextDrawColor(playerid,Textdrawmorte5[playerid], -252116993); PlayerTextDrawSetShadow(playerid,Textdrawmorte5[playerid], 0); PlayerTextDrawSetOutline(playerid,Textdrawmorte5[playerid], 1); PlayerTextDrawBackgroundColor(playerid,Textdrawmorte5[playerid], 51); PlayerTextDrawFont(playerid,Textdrawmorte5[playerid], 1); PlayerTextDrawSetProportional(playerid,Textdrawmorte5[playerid], 1); balaoAviso[playerid] = CreatePlayerTextDraw(playerid,10.000000, 169.000000, "_"); PlayerTextDrawBackgroundColor(playerid,balaoAviso[playerid], 255); PlayerTextDrawFont(playerid,balaoAviso[playerid], 1); PlayerTextDrawLetterSize(playerid,balaoAviso[playerid], 0.489999, 1.800000); PlayerTextDrawColor(playerid,balaoAviso[playerid], -757935361); PlayerTextDrawSetOutline(playerid,balaoAviso[playerid], 0); PlayerTextDrawSetProportional(playerid,balaoAviso[playerid], 1); PlayerTextDrawSetShadow(playerid,balaoAviso[playerid], 1); PlayerTextDrawUseBox(playerid,balaoAviso[playerid], 1); PlayerTextDrawBoxColor(playerid,balaoAviso[playerid], 130); PlayerTextDrawTextSize(playerid,balaoAviso[playerid], 185.000000, 0.000000); PlayerTextDrawSetSelectable(playerid,balaoAviso[playerid], 0); TutoAviso[playerid] = CreatePlayerTextDraw(playerid, 315.500000, 295.583007, "_"); PlayerTextDrawLetterSize(playerid, TutoAviso[playerid], 0.375497, 1.374165); PlayerTextDrawTextSize(playerid, TutoAviso[playerid], -256.500000, 552.416381); PlayerTextDrawAlignment(playerid, TutoAviso[playerid], 2); PlayerTextDrawColor(playerid, TutoAviso[playerid], 255); PlayerTextDrawUseBox(playerid, TutoAviso[playerid], true); PlayerTextDrawBoxColor(playerid, TutoAviso[playerid], 255); PlayerTextDrawSetShadow(playerid, TutoAviso[playerid], 0); PlayerTextDrawSetOutline(playerid, TutoAviso[playerid], 0); PlayerTextDrawBackgroundColor(playerid, TutoAviso[playerid], -757935361); PlayerTextDrawFont(playerid, TutoAviso[playerid], 1); PlayerTextDrawSetProportional(playerid, TutoAviso[playerid], 1); WeaponModBox[playerid] = CreatePlayerTextDraw(playerid,496.000000, 23.000000, "ld_poke:cd2c"); PlayerTextDrawAlignment(playerid,WeaponModBox[playerid], 2); PlayerTextDrawBackgroundColor(playerid,WeaponModBox[playerid], 255); PlayerTextDrawFont(playerid,WeaponModBox[playerid], 4); PlayerTextDrawLetterSize(playerid,WeaponModBox[playerid], -1.450000, -4.800000); PlayerTextDrawColor(playerid,WeaponModBox[playerid], 255); PlayerTextDrawSetOutline(playerid,WeaponModBox[playerid], 1); PlayerTextDrawSetProportional(playerid,WeaponModBox[playerid], 1); PlayerTextDrawUseBox(playerid,WeaponModBox[playerid], 1); PlayerTextDrawBoxColor(playerid,WeaponModBox[playerid], 255); PlayerTextDrawTextSize(playerid,WeaponModBox[playerid], 48.000000, 52.000000); PlayerTextDrawSetSelectable(playerid,WeaponModBox[playerid], 0); WeaponMod[playerid] = CreatePlayerTextDraw(playerid,497.000000, 25.000000, "11749"); PlayerTextDrawBackgroundColor(playerid,WeaponMod[playerid], 255); PlayerTextDrawFont(playerid,WeaponMod[playerid], 5); PlayerTextDrawLetterSize(playerid,WeaponMod[playerid], 0.500000, 1.000000); PlayerTextDrawColor(playerid,WeaponMod[playerid], -1); PlayerTextDrawSetOutline(playerid,WeaponMod[playerid], 0); PlayerTextDrawSetProportional(playerid,WeaponMod[playerid], 1); PlayerTextDrawSetShadow(playerid,WeaponMod[playerid], 1); PlayerTextDrawUseBox(playerid,WeaponMod[playerid], 1); PlayerTextDrawBoxColor(playerid,WeaponMod[playerid], 0); PlayerTextDrawTextSize(playerid,WeaponMod[playerid], 45.000000, 49.000000); PlayerTextDrawSetSelectable(playerid,WeaponMod[playerid], 0); AjudaConce1[playerid] = CreatePlayerTextDraw(playerid, 445.769744, 116.333366, "ld_poke:cd2c"); PlayerTextDrawLetterSize(playerid, AjudaConce1[playerid], 0.237626, 1.156664); PlayerTextDrawTextSize(playerid, AjudaConce1[playerid], 178.033660, 238.250000); PlayerTextDrawAlignment(playerid, AjudaConce1[playerid], 1); PlayerTextDrawColor(playerid, AjudaConce1[playerid], 255); PlayerTextDrawUseBox(playerid, AjudaConce1[playerid], true); PlayerTextDrawBoxColor(playerid, AjudaConce1[playerid], 255); PlayerTextDrawSetShadow(playerid, AjudaConce1[playerid], 1); PlayerTextDrawSetOutline(playerid, AjudaConce1[playerid], 0); PlayerTextDrawBackgroundColor(playerid, AjudaConce1[playerid], 255); PlayerTextDrawFont(playerid, AjudaConce1[playerid], 4); PlayerTextDrawSetProportional(playerid, AjudaConce1[playerid], 1); AjudaConce2[playerid] = CreatePlayerTextDraw(playerid, 458.683410, 128.916671, "Digite /comprac para compra o veiculo!~n~~n~\ Digite /cor para trocar a cor do veiculo!~n~~n~\ Digite /pularid[id carro] caso saiba o~n~ numero do que deseja!~n~~n~\ Digite /pularnome[nome carro] caso~n~ saiba o nome do carro que deseja!~n~~n~~n~\ <- Seta Esquerda(teclado) - Volta~n~\ -> Seta Direita (teclado) - Avanca~n~\ Digite /comprac - Confirma a Compra~n~\ F - Cancela a Compra"); PlayerTextDrawLetterSize(playerid, AjudaConce2[playerid], 0.223702, 1.215000); PlayerTextDrawAlignment(playerid, AjudaConce2[playerid], 1); PlayerTextDrawColor(playerid, AjudaConce2[playerid], -1); PlayerTextDrawSetShadow(playerid, AjudaConce2[playerid], 0); PlayerTextDrawSetOutline(playerid, AjudaConce2[playerid], 1); PlayerTextDrawBackgroundColor(playerid, AjudaConce2[playerid], 51); PlayerTextDrawFont(playerid, AjudaConce2[playerid], 1); PlayerTextDrawSetProportional(playerid, AjudaConce2[playerid], 1); localidade[playerid] = CreatePlayerTextDraw(playerid,267.000000, 410.000000, "_"); PlayerTextDrawBackgroundColor(playerid,localidade[playerid], 255); PlayerTextDrawFont(playerid,localidade[playerid], 1); PlayerTextDrawLetterSize(playerid,localidade[playerid], 0.339999, 1.399999); PlayerTextDrawColor(playerid,localidade[playerid], -1); PlayerTextDrawSetOutline(playerid,localidade[playerid], 1); PlayerTextDrawSetProportional(playerid,localidade[playerid], 1); PlayerTextDrawSetSelectable(playerid,localidade[playerid], 0); textguerratr[playerid] = CreatePlayerTextDraw(playerid,426.000000, 378.000000, "_"); PlayerTextDrawBackgroundColor(playerid,textguerratr[playerid], -246); PlayerTextDrawFont(playerid,textguerratr[playerid], 2); PlayerTextDrawLetterSize(playerid,textguerratr[playerid], 0.240000, 1.100000); PlayerTextDrawColor(playerid,textguerratr[playerid], -1); PlayerTextDrawSetOutline(playerid,textguerratr[playerid], 1); PlayerTextDrawSetProportional(playerid,textguerratr[playerid], 1); PlayerTextDrawUseBox(playerid,textguerratr[playerid], 1); PlayerTextDrawBoxColor(playerid,textguerratr[playerid], 100); PlayerTextDrawTextSize(playerid,textguerratr[playerid], 633.000000, 3.000000); PlayerTextDrawSetSelectable(playerid,textguerratr[playerid], 0); textaviso[playerid] = CreatePlayerTextDraw(playerid,139.000000, 353.000000, "~r~KingGuhh (Vagos)~w~ estao tentando tomar a regiao de ~r~Idlewood ~w~de voces~n~vao ate la e protejam o que e de voces"); PlayerTextDrawBackgroundColor(playerid,textaviso[playerid], 255); PlayerTextDrawFont(playerid,textaviso[playerid], 1); PlayerTextDrawLetterSize(playerid,textaviso[playerid], 0.309999, 1.500000); PlayerTextDrawColor(playerid,textaviso[playerid], -1); PlayerTextDrawSetOutline(playerid,textaviso[playerid], 0); PlayerTextDrawSetProportional(playerid,textaviso[playerid], 1); PlayerTextDrawSetShadow(playerid,textaviso[playerid], 1); PlayerTextDrawSetSelectable(playerid,textaviso[playerid], 0); textinfodamage[playerid][0] = CreatePlayerTextDraw(playerid,174.000000, 369.000000, "DANO EM ~G~~H~AQUILES ~n~~W~FACA"); PlayerTextDrawBackgroundColor(playerid,textinfodamage[playerid][0], 255); PlayerTextDrawFont(playerid,textinfodamage[playerid][0], 2); PlayerTextDrawLetterSize(playerid,textinfodamage[playerid][0], 0.169998, 1.000000); PlayerTextDrawColor(playerid,textinfodamage[playerid][0], 0xFFFFFF30); PlayerTextDrawSetOutline(playerid,textinfodamage[playerid][0], 0); PlayerTextDrawSetProportional(playerid,textinfodamage[playerid][0], 1); PlayerTextDrawSetShadow(playerid,textinfodamage[playerid][0], 0); PlayerTextDrawSetSelectable(playerid,textinfodamage[playerid][0], 0); textinfodamage[playerid][1] = CreatePlayerTextDraw(playerid,179.000000, 386.000000, "+1"); PlayerTextDrawBackgroundColor(playerid,textinfodamage[playerid][1], 0); PlayerTextDrawFont(playerid,textinfodamage[playerid][1], 1); PlayerTextDrawLetterSize(playerid,textinfodamage[playerid][1], 0.409999, 1.899998); PlayerTextDrawColor(playerid,textinfodamage[playerid][1], 0xFFFFFF50); PlayerTextDrawSetOutline(playerid,textinfodamage[playerid][1], 0); PlayerTextDrawSetProportional(playerid,textinfodamage[playerid][1], 1); PlayerTextDrawSetShadow(playerid,textinfodamage[playerid][1], 1); PlayerTextDrawSetSelectable(playerid,textinfodamage[playerid][1], 0); DropTextdraw5[playerid] = CreatePlayerTextDraw(playerid, 419.000000, 246.000000+55, "Uma -- com -- balas"); PlayerTextDrawBackgroundColor(playerid, DropTextdraw5[playerid], 255); PlayerTextDrawFont(playerid, DropTextdraw5[playerid], 1); PlayerTextDrawLetterSize(playerid, DropTextdraw5[playerid], 0.250000, 1.200000); PlayerTextDrawColor(playerid, DropTextdraw5[playerid], -926365496); PlayerTextDrawSetOutline(playerid, DropTextdraw5[playerid], 1); PlayerTextDrawSetProportional(playerid, DropTextdraw5[playerid], 1); PlayerTextDrawSetSelectable(playerid, DropTextdraw5[playerid], 0); textinfodamaga[playerid][0] = CreatePlayerTextDraw(playerid,375.000000, 379.000000, "DANO EM ~G~~H~DGHD ~n~~W~FACA"); PlayerTextDrawBackgroundColor(playerid,textinfodamaga[playerid][0], 255); PlayerTextDrawFont(playerid,textinfodamaga[playerid][0], 2); PlayerTextDrawLetterSize(playerid,textinfodamaga[playerid][0], 0.169998, 1.000000); PlayerTextDrawColor(playerid,textinfodamaga[playerid][0], 0x00FFFF30); PlayerTextDrawSetOutline(playerid,textinfodamaga[playerid][0], 0); PlayerTextDrawSetProportional(playerid,textinfodamaga[playerid][0], 1); PlayerTextDrawSetShadow(playerid,textinfodamaga[playerid][0], 0); PlayerTextDrawSetSelectable(playerid,textinfodamaga[playerid][0], 0); textinfodamaga[playerid][1] = CreatePlayerTextDraw(playerid,400.000000, 393.000000, "-1"); PlayerTextDrawBackgroundColor(playerid,textinfodamaga[playerid][1], 0); PlayerTextDrawFont(playerid,textinfodamaga[playerid][1], 1); PlayerTextDrawLetterSize(playerid,textinfodamaga[playerid][1], 0.419999, 1.399997); PlayerTextDrawColor(playerid,textinfodamaga[playerid][1], 0x00FFFF50); PlayerTextDrawSetOutline(playerid,textinfodamaga[playerid][1], 0); PlayerTextDrawSetProportional(playerid,textinfodamaga[playerid][1], 1); PlayerTextDrawSetShadow(playerid,textinfodamaga[playerid][1], 1); PlayerTextDrawSetSelectable(playerid,textinfodamaga[playerid][1], 0); textEquipar[playerid][0] = CreatePlayerTextDraw(playerid,447.000000, 300.000000, "_"); PlayerTextDrawBackgroundColor(playerid,textEquipar[playerid][0], 255); PlayerTextDrawFont(playerid,textEquipar[playerid][0], 1); PlayerTextDrawLetterSize(playerid,textEquipar[playerid][0], 0.500000, 0.599999); PlayerTextDrawColor(playerid,textEquipar[playerid][0], -1); PlayerTextDrawSetOutline(playerid,textEquipar[playerid][0], 0); PlayerTextDrawSetProportional(playerid,textEquipar[playerid][0], 1); PlayerTextDrawSetShadow(playerid,textEquipar[playerid][0], 1); PlayerTextDrawUseBox(playerid,textEquipar[playerid][0], 1); PlayerTextDrawBoxColor(playerid,textEquipar[playerid][0], 0x00000070); PlayerTextDrawTextSize(playerid,textEquipar[playerid][0], 231.000000, 0.000000); PlayerTextDrawSetSelectable(playerid,textEquipar[playerid][0], 0); textEquipar[playerid][1] = CreatePlayerTextDraw(playerid,239.000000, 301.000000, "_"); PlayerTextDrawBackgroundColor(playerid,textEquipar[playerid][1], 255); PlayerTextDrawFont(playerid,textEquipar[playerid][1], 1); PlayerTextDrawLetterSize(playerid,textEquipar[playerid][1], 0.500000, 0.399998); PlayerTextDrawColor(playerid,textEquipar[playerid][1], 0xFFFFFF98); PlayerTextDrawSetOutline(playerid,textEquipar[playerid][1], 0); PlayerTextDrawSetProportional(playerid,textEquipar[playerid][1], 1); PlayerTextDrawSetShadow(playerid,textEquipar[playerid][1], 1); PlayerTextDrawUseBox(playerid,textEquipar[playerid][1], 1); PlayerTextDrawBoxColor(playerid,textEquipar[playerid][1], -1); PlayerTextDrawTextSize(playerid,textEquipar[playerid][1], 236.000000, 0.000000); //200px PlayerTextDrawSetSelectable(playerid,textEquipar[playerid][1], 0); /* new velocimetro */ //-- Info Velocímetro /* new velocimetro */ //-- Info Velocímetro textPlayerVelocimetro[0][playerid] = CreatePlayerTextDraw(playerid,172.000000, 364.000000, " "); //Velocidade PlayerTextDrawAlignment(playerid,textPlayerVelocimetro[0][playerid], 2); PlayerTextDrawBackgroundColor(playerid,textPlayerVelocimetro[0][playerid], 255); PlayerTextDrawFont(playerid,textPlayerVelocimetro[0][playerid], 2); PlayerTextDrawLetterSize(playerid,textPlayerVelocimetro[0][playerid], 0.450000, 2.299999); PlayerTextDrawColor(playerid,textPlayerVelocimetro[0][playerid], -1); PlayerTextDrawSetOutline(playerid,textPlayerVelocimetro[0][playerid], 1); PlayerTextDrawSetShadow(playerid,textPlayerVelocimetro[0][playerid], 1); PlayerTextDrawSetSelectable(playerid,textPlayerVelocimetro[0][playerid], 0); textPlayerVelocimetro[1][playerid] = CreatePlayerTextDraw(playerid,190.000000, 370.000000, "KM/H"); PlayerTextDrawBackgroundColor(playerid,textPlayerVelocimetro[1][playerid], 255); PlayerTextDrawFont(playerid,textPlayerVelocimetro[1][playerid], 2); PlayerTextDrawLetterSize(playerid,textPlayerVelocimetro[1][playerid], 0.190000, 1.100000); PlayerTextDrawColor(playerid,textPlayerVelocimetro[1][playerid], -7788033); PlayerTextDrawSetOutline(playerid,textPlayerVelocimetro[1][playerid], 1); PlayerTextDrawSetShadow(playerid,textPlayerVelocimetro[1][playerid], 1); PlayerTextDrawSetSelectable(playerid,textPlayerVelocimetro[1][playerid], 0); textPlayerVelocimetro[2][playerid] = CreatePlayerTextDraw(playerid,140.000000, 385.000000, "hud:radar_modGarage"); //Lataria PlayerTextDrawBackgroundColor(playerid,textPlayerVelocimetro[2][playerid], 0); PlayerTextDrawFont(playerid,textPlayerVelocimetro[2][playerid], 4); PlayerTextDrawLetterSize(playerid,textPlayerVelocimetro[2][playerid], 0.450000, 0.499999); PlayerTextDrawColor(playerid,textPlayerVelocimetro[2][playerid], -1); PlayerTextDrawSetOutline(playerid,textPlayerVelocimetro[2][playerid], 0); PlayerTextDrawSetProportional(playerid,textPlayerVelocimetro[2][playerid], 1); PlayerTextDrawSetShadow(playerid,textPlayerVelocimetro[2][playerid], 1); PlayerTextDrawUseBox(playerid,textPlayerVelocimetro[2][playerid], 1); PlayerTextDrawBoxColor(playerid,textPlayerVelocimetro[2][playerid], 255); PlayerTextDrawTextSize(playerid,textPlayerVelocimetro[2][playerid], 10.000000, 13.000000); PlayerTextDrawSetSelectable(playerid,textPlayerVelocimetro[2][playerid], 0); textPlayerVelocimetro[3][playerid] = CreatePlayerTextDraw(playerid,221.000000, 401.000000, " "); //Combustivel PlayerTextDrawAlignment(playerid,textPlayerVelocimetro[3][playerid], 3); PlayerTextDrawBackgroundColor(playerid,textPlayerVelocimetro[3][playerid], 255); PlayerTextDrawFont(playerid,textPlayerVelocimetro[3][playerid], 2); PlayerTextDrawLetterSize(playerid,textPlayerVelocimetro[3][playerid], 0.300000, 1.200000); PlayerTextDrawColor(playerid,textPlayerVelocimetro[3][playerid], -1); PlayerTextDrawSetOutline(playerid,textPlayerVelocimetro[3][playerid], 1); PlayerTextDrawSetProportional(playerid,textPlayerVelocimetro[3][playerid], 1); PlayerTextDrawSetSelectable(playerid,textPlayerVelocimetro[3][playerid], 0); textPlayerVelocimetro[4][playerid] = CreatePlayerTextDraw(playerid,182.000000, 418.000000, " "); PlayerTextDrawAlignment(playerid,textPlayerVelocimetro[4][playerid], 2); PlayerTextDrawBackgroundColor(playerid,textPlayerVelocimetro[4][playerid], 255); PlayerTextDrawFont(playerid,textPlayerVelocimetro[4][playerid], 2); PlayerTextDrawLetterSize(playerid,textPlayerVelocimetro[4][playerid], 0.180000, 1.000000); PlayerTextDrawColor(playerid,textPlayerVelocimetro[4][playerid], -1); PlayerTextDrawSetOutline(playerid,textPlayerVelocimetro[4][playerid], 1); PlayerTextDrawSetProportional(playerid,textPlayerVelocimetro[4][playerid], 1); PlayerTextDrawSetSelectable(playerid,textPlayerVelocimetro[4][playerid], 0); textPlayerVelocimetro[5][playerid] = CreatePlayerTextDraw(playerid,131.000000, 411.000000, "-"); //Barra de Baixo PlayerTextDrawBackgroundColor(playerid,textPlayerVelocimetro[5][playerid], 255); PlayerTextDrawFont(playerid,textPlayerVelocimetro[5][playerid], 2); PlayerTextDrawLetterSize(playerid,textPlayerVelocimetro[5][playerid], 8.499996, 1.100000); PlayerTextDrawColor(playerid,textPlayerVelocimetro[5][playerid], -1); PlayerTextDrawSetOutline(playerid,textPlayerVelocimetro[5][playerid], 1); PlayerTextDrawSetProportional(playerid,textPlayerVelocimetro[5][playerid], 1); PlayerTextDrawSetSelectable(playerid,textPlayerVelocimetro[5][playerid], 0); textPlayerVelocimetro[6][playerid] = CreatePlayerTextDraw(playerid,140.000000, 368.000000, "hud:radar_impound"); //Icone de Carro PlayerTextDrawBackgroundColor(playerid,textPlayerVelocimetro[6][playerid], 0); PlayerTextDrawFont(playerid,textPlayerVelocimetro[6][playerid], 4); PlayerTextDrawLetterSize(playerid,textPlayerVelocimetro[6][playerid], 0.450000, 0.499999); PlayerTextDrawColor(playerid,textPlayerVelocimetro[6][playerid], -1); PlayerTextDrawSetOutline(playerid,textPlayerVelocimetro[6][playerid], 0); PlayerTextDrawSetProportional(playerid,textPlayerVelocimetro[6][playerid], 1); PlayerTextDrawSetShadow(playerid,textPlayerVelocimetro[6][playerid], 1); PlayerTextDrawUseBox(playerid,textPlayerVelocimetro[6][playerid], 1); PlayerTextDrawBoxColor(playerid,textPlayerVelocimetro[6][playerid], 255); PlayerTextDrawTextSize(playerid,textPlayerVelocimetro[6][playerid], 10.000000, 13.000000); PlayerTextDrawSetSelectable(playerid,textPlayerVelocimetro[6][playerid], 0); textPlayerVelocimetro[7][playerid] = CreatePlayerTextDraw(playerid,183.000000, 350.000000, " "); //Nome do Veículo PlayerTextDrawAlignment(playerid,textPlayerVelocimetro[7][playerid], 2); PlayerTextDrawBackgroundColor(playerid,textPlayerVelocimetro[7][playerid], 255); PlayerTextDrawFont(playerid,textPlayerVelocimetro[7][playerid], 2); PlayerTextDrawLetterSize(playerid,textPlayerVelocimetro[7][playerid], 0.170000, 0.899999); PlayerTextDrawColor(playerid,textPlayerVelocimetro[7][playerid], -1); PlayerTextDrawSetOutline(playerid,textPlayerVelocimetro[7][playerid], 1); PlayerTextDrawSetProportional(playerid,textPlayerVelocimetro[7][playerid], 1); PlayerTextDrawSetSelectable(playerid,textPlayerVelocimetro[7][playerid], 0); textPlayerVelocimetro[8][playerid] = CreatePlayerTextDraw(playerid,131.000000, 357.000000, "-"); //Barra de Cima PlayerTextDrawBackgroundColor(playerid,textPlayerVelocimetro[8][playerid], 255); PlayerTextDrawFont(playerid,textPlayerVelocimetro[8][playerid], 2); PlayerTextDrawLetterSize(playerid,textPlayerVelocimetro[8][playerid], 8.499996, 1.100000); PlayerTextDrawColor(playerid,textPlayerVelocimetro[8][playerid], -1); PlayerTextDrawSetOutline(playerid,textPlayerVelocimetro[8][playerid], 1); PlayerTextDrawSetProportional(playerid,textPlayerVelocimetro[8][playerid], 1); PlayerTextDrawSetSelectable(playerid,textPlayerVelocimetro[8][playerid], 0); textPlayerVelocimetro[9][playerid] = CreatePlayerTextDraw(playerid,185.000000, 385.000000, "0%"); //Lataria PlayerTextDrawAlignment(playerid,textPlayerVelocimetro[9][playerid], 3); PlayerTextDrawBackgroundColor(playerid,textPlayerVelocimetro[9][playerid], 255); PlayerTextDrawFont(playerid,textPlayerVelocimetro[9][playerid], 2); PlayerTextDrawLetterSize(playerid,textPlayerVelocimetro[9][playerid], 0.260000, 1.000000); PlayerTextDrawColor(playerid,textPlayerVelocimetro[9][playerid], -1); PlayerTextDrawSetOutline(playerid,textPlayerVelocimetro[9][playerid], 1); PlayerTextDrawSetProportional(playerid,textPlayerVelocimetro[9][playerid], 1); PlayerTextDrawSetSelectable(playerid,textPlayerVelocimetro[9][playerid], 0); Estrelas[0][playerid] = CreatePlayerTextDraw(playerid,501.000000, 100.000000, "]]]]]]~n~]]]]]]"); PlayerTextDrawBackgroundColor(playerid,Estrelas[0][playerid], 0); PlayerTextDrawFont(playerid,Estrelas[0][playerid], 2); PlayerTextDrawLetterSize(playerid,Estrelas[0][playerid], 0.509998, 1.899999); PlayerTextDrawColor(playerid,Estrelas[0][playerid], 99); PlayerTextDrawSetOutline(playerid,Estrelas[0][playerid], 0); PlayerTextDrawSetProportional(playerid,Estrelas[0][playerid], 1); PlayerTextDrawSetShadow(playerid,Estrelas[0][playerid], 1); PlayerTextDrawUseBox(playerid,Estrelas[0][playerid], 1); PlayerTextDrawBoxColor(playerid,Estrelas[0][playerid], 0); PlayerTextDrawTextSize(playerid,Estrelas[0][playerid], 617.000000, 40.000000); PlayerTextDrawSetSelectable(playerid,Estrelas[0][playerid], 0); Estrelas[1][playerid] = CreatePlayerTextDraw(playerid,501.000000, 100.000000, " "); PlayerTextDrawBackgroundColor(playerid,Estrelas[1][playerid], 255); PlayerTextDrawFont(playerid,Estrelas[1][playerid], 2); PlayerTextDrawLetterSize(playerid,Estrelas[1][playerid], 0.509998, 1.899999); //PlayerTextDrawColor(playerid,Estrelas[1][playerid], 16777215); PlayerTextDrawColor(playerid,Estrelas[1][playerid], -3669761); PlayerTextDrawSetOutline(playerid,Estrelas[1][playerid], 1); PlayerTextDrawSetProportional(playerid,Estrelas[1][playerid], 1); PlayerTextDrawUseBox(playerid,Estrelas[1][playerid], 1); PlayerTextDrawBoxColor(playerid,Estrelas[1][playerid], 0); PlayerTextDrawTextSize(playerid,Estrelas[1][playerid], 617.000000, 40.000000); PlayerTextDrawSetSelectable(playerid,Estrelas[1][playerid], 0); TextHospital[playerid] = CreatePlayerTextDraw(playerid, 10.000000, 240.000000, "_"); PlayerTextDrawBackgroundColor(playerid, TextHospital[playerid], 50); PlayerTextDrawFont(playerid, TextHospital[playerid], 1); PlayerTextDrawLetterSize(playerid, TextHospital[playerid], 0.240000, 1.200000); PlayerTextDrawColor(playerid, TextHospital[playerid], -1); PlayerTextDrawSetOutline(playerid, TextHospital[playerid], 1); PlayerTextDrawSetProportional(playerid, TextHospital[playerid], 1); __[playerid] = CreatePlayerTextDraw(playerid,7.000000, 214.000000, "_"); PlayerTextDrawBackgroundColor(playerid,__[playerid], 255); PlayerTextDrawFont(playerid,__[playerid], 1); PlayerTextDrawLetterSize(playerid,__[playerid], 0.300000, 1.200000); PlayerTextDrawColor(playerid,__[playerid], -1); PlayerTextDrawSetOutline(playerid,__[playerid], 1); PlayerTextDrawSetProportional(playerid,__[playerid], 1); PlayerTextDrawSetSelectable(playerid,__[playerid], 0); Speex[playerid] = CreatePlayerTextDraw(playerid, 43.000000, 295.000000,"_"); PlayerTextDrawTextSize(playerid, Speex[playerid],633.000000, -19.000000); PlayerTextDrawAlignment(playerid, Speex[playerid],5); PlayerTextDrawBackgroundColor(playerid, Speex[playerid],0x00000050); PlayerTextDrawFont(playerid, Speex[playerid],1); PlayerTextDrawLetterSize(playerid, Speex[playerid],0.290000, 0.800000); PlayerTextDrawColor(playerid, Speex[playerid],0xFFFFFFFF); PlayerTextDrawSetOutline(playerid, Speex[playerid],1); PlayerTextDrawSetProportional(playerid, Speex[playerid],1); PlayerTextDrawSetShadow(playerid, Speex[playerid],0); gpss[playerid] = CreatePlayerTextDraw(playerid, 490.000000, 190.000000/*480//5.000000,173.000000*/,"_"); PlayerTextDrawAlignment(playerid, gpss[playerid],0); PlayerTextDrawBackgroundColor(playerid, gpss[playerid],0x000000ff); PlayerTextDrawFont(playerid, gpss[playerid],1); PlayerTextDrawLetterSize(playerid, gpss[playerid],0.299999,1.000000); PlayerTextDrawColor(playerid, gpss[playerid],0xFFFFFFff); PlayerTextDrawSetOutline(playerid, gpss[playerid],1); PlayerTextDrawSetProportional(playerid, gpss[playerid],1); PlayerTextDrawSetShadow(playerid, gpss[playerid],1); donotext[playerid] = CreatePlayerTextDraw(playerid, 11.964861, 311.583374, "~g~Local: ~w~~h~nenhum~n~~y~Dono:~w~~h~ nenhum"); PlayerTextDrawLetterSize(playerid, donotext[playerid], 0.349999, 1.100000); PlayerTextDrawTextSize(playerid, donotext[playerid], 164.915069, 38.166648); PlayerTextDrawAlignment(playerid, donotext[playerid], 1); PlayerTextDrawColor(playerid, donotext[playerid], -1); PlayerTextDrawUseBox(playerid, donotext[playerid], true); PlayerTextDrawBoxColor(playerid, donotext[playerid], 120); PlayerTextDrawSetShadow(playerid, donotext[playerid], 0); PlayerTextDrawSetOutline(playerid, donotext[playerid], 1); PlayerTextDrawBackgroundColor(playerid, donotext[playerid], 255); PlayerTextDrawFont(playerid, donotext[playerid], 1); PlayerTextDrawSetProportional(playerid, donotext[playerid], 1); //------------------ Caminhao carga -------------------- BoxC1[playerid] = CreatePlayerTextDraw(playerid, 487.000000, 317.000000, "ld_poke:cd2c"); PlayerTextDrawLetterSize(playerid, BoxC1[playerid], 0.500000, 1.000000); PlayerTextDrawTextSize(playerid, BoxC1[playerid], 119.000000, 93.000000); PlayerTextDrawAlignment(playerid, BoxC1[playerid], 0); PlayerTextDrawColor(playerid, BoxC1[playerid], 50); PlayerTextDrawUseBox(playerid, BoxC1[playerid], true); PlayerTextDrawBoxColor(playerid, BoxC1[playerid], 255); PlayerTextDrawSetShadow(playerid, BoxC1[playerid], 0); PlayerTextDrawSetOutline(playerid, BoxC1[playerid], 0); PlayerTextDrawBackgroundColor(playerid, BoxC1[playerid], 255); PlayerTextDrawFont(playerid, BoxC1[playerid], 4); PlayerTextDrawSetProportional(playerid, BoxC1[playerid], 1); BoxC2[playerid] = CreatePlayerTextDraw(playerid, 522.500000, 307.083404, "ld_poke:cd2c"); PlayerTextDrawLetterSize(playerid, BoxC2[playerid], 0.500000, 1.000000); PlayerTextDrawTextSize(playerid, BoxC2[playerid], 49.500000, 10.166667); PlayerTextDrawAlignment(playerid, BoxC2[playerid], 1); PlayerTextDrawColor(playerid, BoxC2[playerid], 50); PlayerTextDrawUseBox(playerid, BoxC2[playerid], true); PlayerTextDrawBoxColor(playerid, BoxC2[playerid], 255); PlayerTextDrawSetShadow(playerid, BoxC2[playerid], 0); PlayerTextDrawSetOutline(playerid, BoxC2[playerid], 0); PlayerTextDrawBackgroundColor(playerid, BoxC2[playerid], 255); PlayerTextDrawFont(playerid, BoxC2[playerid], 4); PlayerTextDrawSetProportional(playerid, BoxC2[playerid], 1); BoxC3[playerid] = CreatePlayerTextDraw(playerid, 485.500000, 249.916687, "ld_poke:cd2c"); PlayerTextDrawLetterSize(playerid, BoxC3[playerid], 0.500000, 1.000000); PlayerTextDrawTextSize(playerid, BoxC3[playerid], 121.000000, 57.416645); PlayerTextDrawAlignment(playerid, BoxC3[playerid], 1); PlayerTextDrawColor(playerid, BoxC3[playerid], 50); PlayerTextDrawUseBox(playerid, BoxC3[playerid], true); PlayerTextDrawBoxColor(playerid, BoxC3[playerid], 255); PlayerTextDrawSetShadow(playerid, BoxC3[playerid], 0); PlayerTextDrawSetOutline(playerid, BoxC3[playerid], 0); PlayerTextDrawBackgroundColor(playerid, BoxC3[playerid], 255); PlayerTextDrawFont(playerid, BoxC3[playerid], 4); PlayerTextDrawSetProportional(playerid, BoxC3[playerid], 1); Produtos[playerid] = CreatePlayerTextDraw(playerid, 490.000000, 249.916702, "Produtos"); PlayerTextDrawLetterSize(playerid, Produtos[playerid], 0.209498, 1.212497); PlayerTextDrawAlignment(playerid, Produtos[playerid], 1); PlayerTextDrawColor(playerid, Produtos[playerid], 65535); PlayerTextDrawSetShadow(playerid, Produtos[playerid], 0); PlayerTextDrawSetOutline(playerid, Produtos[playerid], 0); PlayerTextDrawBackgroundColor(playerid, Produtos[playerid], -1378294017); PlayerTextDrawFont(playerid, Produtos[playerid], 2); PlayerTextDrawSetProportional(playerid, Produtos[playerid], 1); Produtosnb[playerid] = CreatePlayerTextDraw(playerid, 499.500000, 259.833343, "10000"); PlayerTextDrawLetterSize(playerid, Produtosnb[playerid], 0.397498, 2.017498); PlayerTextDrawAlignment(playerid, Produtosnb[playerid], 1); PlayerTextDrawColor(playerid, Produtosnb[playerid], -5963521); PlayerTextDrawSetShadow(playerid, Produtosnb[playerid], 0); PlayerTextDrawSetOutline(playerid, Produtosnb[playerid], 0); PlayerTextDrawBackgroundColor(playerid, Produtosnb[playerid], -246); PlayerTextDrawFont(playerid, Produtosnb[playerid], 2); PlayerTextDrawSetProportional(playerid, Produtosnb[playerid], 1); tracoc[playerid] = CreatePlayerTextDraw(playerid, 591.500000, 280.833404, "_"); PlayerTextDrawLetterSize(playerid, tracoc[playerid], 0.637998, -0.397498); PlayerTextDrawTextSize(playerid, tracoc[playerid], 498.500000, -142.916671); PlayerTextDrawAlignment(playerid, tracoc[playerid], 1); PlayerTextDrawColor(playerid, tracoc[playerid], -1061109505); PlayerTextDrawUseBox(playerid, tracoc[playerid], true); PlayerTextDrawBoxColor(playerid, tracoc[playerid], -1061109505); PlayerTextDrawSetShadow(playerid, tracoc[playerid], 0); PlayerTextDrawSetOutline(playerid, tracoc[playerid], 1); PlayerTextDrawBackgroundColor(playerid, tracoc[playerid], -246); PlayerTextDrawFont(playerid, tracoc[playerid], 2); PlayerTextDrawSetProportional(playerid, tracoc[playerid], 1); MaxProdutosnb[playerid] = CreatePlayerTextDraw(playerid, 538.500000, 277.333312, "10000"); PlayerTextDrawLetterSize(playerid, MaxProdutosnb[playerid], 0.393997, 1.959164); PlayerTextDrawAlignment(playerid, MaxProdutosnb[playerid], 1); PlayerTextDrawColor(playerid, MaxProdutosnb[playerid], 16711935); PlayerTextDrawSetShadow(playerid, MaxProdutosnb[playerid], 0); PlayerTextDrawSetOutline(playerid, MaxProdutosnb[playerid], 0); PlayerTextDrawBackgroundColor(playerid, MaxProdutosnb[playerid], -246); PlayerTextDrawFont(playerid, MaxProdutosnb[playerid], 2); PlayerTextDrawSetProportional(playerid, MaxProdutosnb[playerid], 1); MaxProdutos[playerid] = CreatePlayerTextDraw(playerid, 544.500000, 294.833374, "Max Produtos"); PlayerTextDrawLetterSize(playerid, MaxProdutos[playerid], 0.179997, 1.212497); PlayerTextDrawAlignment(playerid, MaxProdutos[playerid], 1); PlayerTextDrawColor(playerid, MaxProdutos[playerid], -151587082); PlayerTextDrawSetShadow(playerid, MaxProdutos[playerid], 0); PlayerTextDrawSetOutline(playerid, MaxProdutos[playerid], -1); PlayerTextDrawBackgroundColor(playerid, MaxProdutos[playerid], -246); PlayerTextDrawFont(playerid, MaxProdutos[playerid], 2); PlayerTextDrawSetProportional(playerid, MaxProdutos[playerid], 1); //------------------ taximetro ----------------- ValorTaxista[playerid] = CreatePlayerTextDraw(playerid,495.000000, 247.000000, "$00000"); PlayerTextDrawBackgroundColor(playerid,ValorTaxista[playerid], 100); PlayerTextDrawFont(playerid,ValorTaxista[playerid], 2); PlayerTextDrawLetterSize(playerid,ValorTaxista[playerid], 0.589999, 3.400000); PlayerTextDrawColor(playerid,ValorTaxista[playerid], 16711935); PlayerTextDrawSetOutline(playerid,ValorTaxista[playerid], 1); PlayerTextDrawSetProportional(playerid,ValorTaxista[playerid], 1); PlayerTextDrawSetSelectable(playerid,ValorTaxista[playerid], 0); Taxistam[playerid] = CreatePlayerTextDraw(playerid,498.000000, 237.000000, "taximetro:"); PlayerTextDrawBackgroundColor(playerid,Taxistam[playerid], -246); PlayerTextDrawFont(playerid,Taxistam[playerid], 2); PlayerTextDrawLetterSize(playerid,Taxistam[playerid], 0.300000, 1.000000); PlayerTextDrawColor(playerid,Taxistam[playerid], -151587082); PlayerTextDrawSetOutline(playerid,Taxistam[playerid], 1); PlayerTextDrawSetProportional(playerid,Taxistam[playerid], 1); PlayerTextDrawSetSelectable(playerid,Taxistam[playerid], 0); box1Taxista[playerid] = CreatePlayerTextDraw(playerid,487.000000, 317.000000, "ld_poke:cd2c"); PlayerTextDrawAlignment(playerid,box1Taxista[playerid], 2); PlayerTextDrawBackgroundColor(playerid,box1Taxista[playerid], 255); PlayerTextDrawFont(playerid,box1Taxista[playerid], 4); PlayerTextDrawLetterSize(playerid,box1Taxista[playerid], 0.500000, 1.000000); PlayerTextDrawColor(playerid,box1Taxista[playerid], 50); PlayerTextDrawSetOutline(playerid,box1Taxista[playerid], 0); PlayerTextDrawSetProportional(playerid,box1Taxista[playerid], 1); PlayerTextDrawSetShadow(playerid,box1Taxista[playerid], 1); PlayerTextDrawUseBox(playerid,box1Taxista[playerid], 1); PlayerTextDrawBoxColor(playerid,box1Taxista[playerid], 255); PlayerTextDrawTextSize(playerid,box1Taxista[playerid], 119.000000, 93.000000); PlayerTextDrawSetPreviewModel(playerid, box1Taxista[playerid], 0); PlayerTextDrawSetPreviewRot(playerid, box1Taxista[playerid], -16.000000, 0.000000, -55.000000, 1.000000); PlayerTextDrawSetSelectable(playerid,box1Taxista[playerid], 0); passTaxista[playerid] = CreatePlayerTextDraw(playerid,497.000000, 279.000000, "Passageiro:"); PlayerTextDrawBackgroundColor(playerid,passTaxista[playerid], -246); PlayerTextDrawFont(playerid,passTaxista[playerid], 2); PlayerTextDrawLetterSize(playerid,passTaxista[playerid], 0.300000, 1.000000); PlayerTextDrawColor(playerid,passTaxista[playerid], -65281); PlayerTextDrawSetOutline(playerid,passTaxista[playerid], 1); PlayerTextDrawSetProportional(playerid,passTaxista[playerid], 1); PlayerTextDrawSetSelectable(playerid,passTaxista[playerid], 0); box2Taxista[playerid] = CreatePlayerTextDraw(playerid,491.000000, 233.000000, "ld_poke:cd2c"); PlayerTextDrawAlignment(playerid,box2Taxista[playerid], 2); PlayerTextDrawBackgroundColor(playerid,box2Taxista[playerid], 255); PlayerTextDrawFont(playerid,box2Taxista[playerid], 4); PlayerTextDrawLetterSize(playerid,box2Taxista[playerid], -0.289999, -4.900000); PlayerTextDrawColor(playerid,box2Taxista[playerid], 50); PlayerTextDrawSetOutline(playerid,box2Taxista[playerid], 0); PlayerTextDrawSetProportional(playerid,box2Taxista[playerid], 1); PlayerTextDrawSetShadow(playerid,box2Taxista[playerid], 1); PlayerTextDrawUseBox(playerid,box2Taxista[playerid], 1); PlayerTextDrawBoxColor(playerid,box2Taxista[playerid], -1); PlayerTextDrawTextSize(playerid,box2Taxista[playerid], 110.000000, 70.000000); PlayerTextDrawSetPreviewModel(playerid, box2Taxista[playerid], 0); PlayerTextDrawSetPreviewRot(playerid, box2Taxista[playerid], -16.000000, 0.000000, -55.000000, 1.000000); PlayerTextDrawSetSelectable(playerid,box2Taxista[playerid], 0); box3Taxista[playerid] = CreatePlayerTextDraw(playerid,540.000000, 303.000000, "ld_poke:cd2c"); PlayerTextDrawAlignment(playerid,box3Taxista[playerid], 2); PlayerTextDrawBackgroundColor(playerid,box3Taxista[playerid], 255); PlayerTextDrawFont(playerid,box3Taxista[playerid], 4); PlayerTextDrawLetterSize(playerid,box3Taxista[playerid], -0.289999, -4.900000); PlayerTextDrawColor(playerid,box3Taxista[playerid], 50); PlayerTextDrawSetOutline(playerid,box3Taxista[playerid], 0); PlayerTextDrawSetProportional(playerid,box3Taxista[playerid], 1); PlayerTextDrawSetShadow(playerid,box3Taxista[playerid], 1); PlayerTextDrawUseBox(playerid,box3Taxista[playerid], 1); PlayerTextDrawBoxColor(playerid,box3Taxista[playerid], -1); PlayerTextDrawTextSize(playerid,box3Taxista[playerid], 10.000000, 14.000000); PlayerTextDrawSetPreviewModel(playerid, box3Taxista[playerid], 0); PlayerTextDrawSetPreviewRot(playerid, box3Taxista[playerid], -16.000000, 0.000000, -55.000000, 1.000000); PlayerTextDrawSetSelectable(playerid,box3Taxista[playerid], 0); new name[24]; GetPlayerName(playerid, name, sizeof(name)); PlayerTextDrawSetString(playerid, TelaLoginCNF3[playerid][0], name); new brazzstr[500]; format(brazzstr, sizeof brazzstr, "{00FFFF}Bem Vindo Ao {00FFFF}BRASIL {FFFFFF}POBRE{00FFFF} RP\n\ {00FFFF}- {FFFFFF}VAGAS PARA STAFF E VASGAS PARA ORGANIZACAO \n\ {00FFFF}- {00FFFF}ENTRAR: {FFFFFF}VOCE ENTRAR NO LOGIN\n\ {00FFFF}- {DC0B0B}CANAL{FFFFFF}DG HD SAMP\n\ {00FFFF}* {FFFFFF}ORGS POR INVITEE\n\ {00FFFF}> {FFFFFF}ORG 7 INVITES | CORP 5 INVITES\n\ {00FFFF}* {00FFFF}TUTORIAL OU ENTRAR :"); TextDrawHideForPlayer(playerid, TelaLoginCNF[6]); ShowPlayerDialog(playerid, 15232, DIALOG_STYLE_MSGBOX, "Bem Vindo Ao Servidor!", brazzstr, "TUTORIAL","ENTRAR"); TextDrawHideForPlayer(playerid, CaixaEletroCNF[0]); SetPlayerVirtualWorld(playerid, 1); return 0; } forward TelaCarregamento(playerid); public TelaCarregamento(playerid) { if(VarLoanding[playerid] == 99) { for(new i; i < sizeof(TelaLoginCNF); ++i) TextDrawHideForPlayer(playerid, TelaLoginCNF[i]); if(!FoiRegistro[playerid]) { AskPcOuAndroid(playerid); } KillTimer(timerload[playerid]); return false; } new String[256]; format(String, sizeof(String),"%02d%", VarLoanding); TextDrawSetString(TelaLoginCNF[6], String); TogglePlayerSpectating(playerid, true); TogglePlayerSpectating(playerid, true); InterpolateCameraPos(playerid, 1130.691040, -1294.058105, 56.390800, 1128.858642, -1466.407226, 23.812082, 8000); InterpolateCameraLookAt(playerid, 1130.625122, -1298.918334, 55.218482, 1128.725708, -1471.402832, 23.649610, 8000); return VarLoanding[playerid]++; } CallBack::CameraLogin(playerid) { TogglePlayerSpectating(playerid, true); TogglePlayerSpectating(playerid, true); InterpolateCameraPos(playerid, 1130.691040, -1294.058105, 56.390800, 1128.858642, -1466.407226, 23.812082, 8000); InterpolateCameraLookAt(playerid, 1130.625122, -1298.918334, 55.218482, 1128.725708, -1471.402832, 23.649610, 8000); TextDrawHideForPlayer(playerid, TelaLoginCNF[6]); } CallBack::BanAuto(playerid) { new string[74]; new string3[100]; new ip[16]; GetPlayerIp(playerid, ip, sizeof ip); format(string3, sizeof(string3), Pasta_Banidos, PlayerName(playerid)); if(fexist(string3)) { MEGAString[0] = EOS; strmid(BanInfo[playerid][pMotivo], DOF2_GetString(string3,"Motivo"), 0, strlen(DOF2_GetString(string3,"Motivo")), 255); strmid(BanInfo[playerid][pAdmBan], DOF2_GetString(string3,"Admin"), 0, strlen(DOF2_GetString(string3,"Admin")), 255); strmid(BanInfo[playerid][pData], DOF2_GetString(string3,"Data"), 0, strlen(DOF2_GetString(string3,"Data")), 255); strmid(BanInfo[playerid][pHora], DOF2_GetString(string3,"Hora"), 0, strlen(DOF2_GetString(string3,"Hora")), 255); strcat(MEGAString,"{00FFFF}Voce esta Banido do Servidor.\n\n"); strcat(MEGAString,"{FFFFFF}*****************[Informações]*****************\n\n"); format(string, sizeof(string), "{FF6347}Nick: {FFFFFF}%s\n", PlayerName(playerid)); strcat(MEGAString,string); format(string, sizeof(string), "{FF6347}IP: {FFFFFF}%s\n", ip); strcat(MEGAString,string); format(string, sizeof(string), "{FF6347}Admin: {FFFFFF}%s\n", BanInfo[playerid][pAdmBan]); strcat(MEGAString,string); format(string, sizeof(string), "{FF6347}Motivo: {FFFFFF}%s\n", BanInfo[playerid][pMotivo]); strcat(MEGAString,string); format(string, sizeof(string), "{FF6347}Data: {FFFFFF}%s\n", BanInfo[playerid][pData]); strcat(MEGAString,string); format(string, sizeof(string), "{FF6347}Hora: {FFFFFF}%s\n", BanInfo[playerid][pHora]); strcat(MEGAString,string); strcat(MEGAString,"{FF6347}Data do Desbanimento: {00FFFF}Nunca.\n\n"); strcat(MEGAString,"{FFFFFF}****************************************************\n"); strcat(MEGAString,"{00FFFF}Obs: Para fazer uma revisao acesse\n\ {FFFFFF}https://https://discord.gg/CONEXOPOBRE"); ShowPlayerDialog(playerid, 8723, DIALOG_STYLE_MSGBOX, "{FFFFFF}Informações do Banimento", MEGAString, "Sair", ""); SetTimerEx("KickBanido", 10000, 0, "i", playerid); NaoPodeLogar[playerid] = 1; return true; } string3[0] = EOS; format(string3, sizeof(string3), Pasta_IPsBanidos, ip); if(fexist(string3)) { MEGAString[0] = EOS; strmid(BanInfo[playerid][pMotivo], DOF2_GetString(string3,"Motivo"), 0, strlen(DOF2_GetString(string3,"Motivo")), 255); strmid(BanInfo[playerid][pAdmBan], DOF2_GetString(string3,"Admin"), 0, strlen(DOF2_GetString(string3,"Admin")), 255); strmid(BanInfo[playerid][pData], DOF2_GetString(string3,"Data"), 0, strlen(DOF2_GetString(string3,"Data")), 255); strmid(BanInfo[playerid][pHora], DOF2_GetString(string3,"Hora"), 0, strlen(DOF2_GetString(string3,"Hora")), 255); strmid(BanInfo[playerid][pNick], DOF2_GetString(string3,"Nick"), 0, strlen(DOF2_GetString(string3,"Nick")), 255); strcat(MEGAString,"{00FFFF}Voce esta Banido do Servidor.\n\n"); strcat(MEGAString,"*****************[Informações]*****************\n\n"); format(string, sizeof(string), "{FF6347}Nick: {FFFFFF}%s\n", BanInfo[playerid][pNick]); strcat(MEGAString,string); format(string, sizeof(string), "{FF6347}IP: {FFFFFF}%s\n", ip); strcat(MEGAString,string); format(string, sizeof(string), "{FF6347}Admin: {FFFFFF}%s\n", BanInfo[playerid][pAdmBan]); strcat(MEGAString,string); format(string, sizeof(string), "{FF6347}Motivo: {FFFFFF}%s\n", BanInfo[playerid][pMotivo]); strcat(MEGAString,string); format(string, sizeof(string), "{FF6347}Data: {FFFFFF}%s\n", BanInfo[playerid][pData]); strcat(MEGAString,string); format(string, sizeof(string), "{FF6347}Hora: {FFFFFF}%s\n", BanInfo[playerid][pHora]); strcat(MEGAString,string); strcat(MEGAString,"{FF6347}Data do Desbanimento: {FFFFFF}Nunca.\n\n"); strcat(MEGAString,"****************************************************\n"); strcat(MEGAString,"{00FFFF}Obs: Para fazer uma revisao acesse\n\ {FFFFFF}https://https://discord.gg/vJE5ySg7nb"); ShowPlayerDialog(playerid, 8723, DIALOG_STYLE_MSGBOX, "{FFFFFF}Informações do Banimento", MEGAString, "Sair", ""); SetTimerEx("KickBanido", 10000, 0, "i", playerid); NaoPodeLogar[playerid] = 1; return true; } return 0; } CallBack::BanAuto2(playerid) { new string3[128]; new ip[16]; new string[128]; GetPlayerIp(playerid, ip, sizeof ip); format(string3, sizeof(string3), Pasta_BanidosTemp, PlayerName(playerid)); if(fexist(string3)) { MEGAString[0] = EOS; ClearChatbox(playerid, 100); strmid(BanInfo[playerid][pMotivo], DOF2_GetString(string3,"Motivo"), 0, strlen(DOF2_GetString(string3,"Motivo")), 255); strmid(BanInfo[playerid][pAdmBan], DOF2_GetString(string3,"Admin"), 0, strlen(DOF2_GetString(string3,"Admin")), 255); strmid(BanInfo[playerid][pData], DOF2_GetString(string3,"Data"), 0, strlen(DOF2_GetString(string3,"Data")), 255); strmid(BanInfo[playerid][pHora], DOF2_GetString(string3,"Hora"), 0, strlen(DOF2_GetString(string3,"Hora")), 255); BanInfo[playerid][BanDia] = DOF2_GetInt(string3,"DiaBanTemp"); BanInfo[playerid][BanMes] = DOF2_GetInt(string3,"MesBanTemp"); BanInfo[playerid][BanAno] = DOF2_GetInt(string3,"AnoBanTemp"); BanInfo[playerid][BanData] = DOF2_GetInt(string3,"DataBanTemp"); BanInfo[playerid][TempHora] = DOF2_GetInt(string3,"HoraBanTemp"); BanInfo[playerid][TempMinuto] = DOF2_GetInt(string3,"MinutoBanTemp"); BanInfo[playerid][TempSegundo] = DOF2_GetInt(string3,"SegundoBanTemp"); BanInfo[playerid][TimeData] = DOF2_GetInt(string3,"TimeData"); new DIA, MES, ANO; getdate(ANO, MES, DIA); if(getdate() >= BanInfo[playerid][BanData] && ANO >= BanInfo[playerid][BanAno] && gettime() >= BanInfo[playerid][TimeData]) { DOF2_RemoveFile(string3); NaoPodeLogar[playerid] = 0; } else { strcat(MEGAString,"{00FFFF}Voce esta Banido do Servidor\n\n"); strcat(MEGAString,"{FFFFFF}*****************[Informações]*****************\n\n"); format(string, sizeof(string), "{FF6347}Nick: {FFFFFF}%s\n", PlayerName(playerid)); strcat(MEGAString,string); format(string, sizeof(string), "{FF6347}IP: {FFFFFF}%s\n", ip); strcat(MEGAString,string); format(string, sizeof(string), "{FF6347}Admin: {FFFFFF}%s\n", BanInfo[playerid][pAdmBan]); strcat(MEGAString,string); format(string, sizeof(string), "{FF6347}Motivo: {FFFFFF}%s\n", BanInfo[playerid][pMotivo]); strcat(MEGAString,string); format(string, sizeof(string), "{FF6347}Data: {FFFFFF}%s\n", BanInfo[playerid][pData]); strcat(MEGAString,string); format(string, sizeof(string), "{FF6347}Hora: {FFFFFF}%s\n", BanInfo[playerid][pHora]); strcat(MEGAString,string); format(string, sizeof(string), "{FF6347}Data do Desbanimento: {FFFFFF}%02d/%02d/%04d as %02d:%02d:%02d\n\n", BanInfo[playerid][BanDia], BanInfo[playerid][BanMes], BanInfo[playerid][BanAno], BanInfo[playerid][TempHora], BanInfo[playerid][TempMinuto], BanInfo[playerid][TempSegundo]); strcat(MEGAString,string); strcat(MEGAString,"{FFFFFF}****************************************************\n"); strcat(MEGAString,"{00FFFF}Obs: Para fazer uma revisao acesse\n{FFFFFF}https://https://discord.gg/vJE5ySg7nb"); ShowPlayerDialog(playerid, 8723, DIALOG_STYLE_MSGBOX, "{FFFFFF}Informações do Banimento", MEGAString, "Sair", ""); ForceClassSelection(playerid); SetTimerEx("KickBanido", 10000, 0, "i", playerid); NaoPodeLogar[playerid] = 1; return true; } } string3[0] = EOS; format(string3, sizeof(string3), Pasta_IPsBanidosTemp, ip); if(fexist(string3)) { MEGAString[0] = EOS; ClearChatbox(playerid, 100); strmid(BanInfo[playerid][pMotivo], DOF2_GetString(string3,"Motivo"), 0, strlen(DOF2_GetString(string3,"Motivo")), 255); strmid(BanInfo[playerid][pAdmBan], DOF2_GetString(string3,"Admin"), 0, strlen(DOF2_GetString(string3,"Admin")), 255); strmid(BanInfo[playerid][pData], DOF2_GetString(string3,"Data"), 0, strlen(DOF2_GetString(string3,"Data")), 255); strmid(BanInfo[playerid][pHora], DOF2_GetString(string3,"Hora"), 0, strlen(DOF2_GetString(string3,"Hora")), 255); strmid(BanInfo[playerid][pNick], DOF2_GetString(string3,"Nick"), 0, strlen(DOF2_GetString(string3,"Nick")), 255); BanInfo[playerid][BanDia] = DOF2_GetInt(string3,"DiaBanTemp"); BanInfo[playerid][BanMes] = DOF2_GetInt(string3,"MesBanTemp"); BanInfo[playerid][BanAno] = DOF2_GetInt(string3,"AnoBanTemp"); BanInfo[playerid][BanData] = DOF2_GetInt(string3,"DataBanTemp"); BanInfo[playerid][TimeData] = DOF2_GetInt(string3,"TimeBanTemp"); BanInfo[playerid][TempHora] = DOF2_GetInt(string3,"HoraBanTemp"); BanInfo[playerid][TempMinuto] = DOF2_GetInt(string3,"MinutoBanTemp"); BanInfo[playerid][TempSegundo] = DOF2_GetInt(string3,"SegundoBanTemp"); BanInfo[playerid][TimeData] = DOF2_GetInt(string3,"TimeData"); new DIA, MES, ANO; getdate(ANO, MES, DIA); if(getdate() >= BanInfo[playerid][BanData] && ANO >= BanInfo[playerid][BanAno] && gettime() >= BanInfo[playerid][TimeData]) { DOF2_RemoveFile(string3); NaoPodeLogar[playerid] = 0; } else { strcat(MEGAString, "{00FFFF}Seu IP esta Banido do Servidor\n\n"); strcat(MEGAString,"*****************[Informações]*****************\n\n"); format(string, sizeof(string), "{FF6347}Nick: {FFFFFF}%s\n", BanInfo[playerid][pNick]); strcat(MEGAString,string); format(string, sizeof(string), "{FF6347}IP: {FFFFFF}%s\n", ip); strcat(MEGAString,string); format(string, sizeof(string), "{FF6347}Admin: {FFFFFF}%s\n", BanInfo[playerid][pAdmBan]); strcat(MEGAString,string); format(string, sizeof(string), "{FF6347}Motivo: {FFFFFF}%s\n", BanInfo[playerid][pMotivo]); strcat(MEGAString,string); format(string, sizeof(string), "{FF6347}Data: {FFFFFF}%s\n", BanInfo[playerid][pData]); strcat(MEGAString,string); format(string, sizeof(string), "{FF6347}Hora: {FFFFFF}%s\n", BanInfo[playerid][pHora]); strcat(MEGAString,string); format(string, sizeof(string), "{FF6347}Data do Desbanimento: {FFFFFF}%02d/%02d/%04d as %02d:%02d:%02d\n\n", BanInfo[playerid][BanDia], BanInfo[playerid][BanMes], BanInfo[playerid][BanAno], BanInfo[playerid][TempHora], BanInfo[playerid][TempMinuto], BanInfo[playerid][TempSegundo]); strcat(MEGAString,string); strcat(MEGAString,"****************************************************\n"); strcat(MEGAString,"{00FFFF}Obs: Para fazer uma revisao acesse\n"); strcat(MEGAString,"{FFFFFF}https://https://discord.gg/vJE5ySg7nb"); ShowPlayerDialog(playerid, 8723, DIALOG_STYLE_MSGBOX, "{FFFFFF}Informações do Banimento", MEGAString, "Sair", ""); SetTimerEx("KickBanido", 10000, 0, "i", playerid); NaoPodeLogar[playerid] = 1; return true; } } return 0; } showNickBan(playerid, nick[]){ new string[74]; new string3[100], ipinfo[32]; format(string3, sizeof(string3), Pasta_Banidos, nick); if(fexist(string3)) { MEGAString[0] = EOS; strmid(BanInfo[playerid][pMotivo], DOF2_GetString(string3,"Motivo"), 0, strlen(DOF2_GetString(string3,"Motivo")), 255); strmid(BanInfo[playerid][pAdmBan], DOF2_GetString(string3,"Admin"), 0, strlen(DOF2_GetString(string3,"Admin")), 255); strmid(BanInfo[playerid][pData], DOF2_GetString(string3,"Data"), 0, strlen(DOF2_GetString(string3,"Data")), 255); strmid(BanInfo[playerid][pHora], DOF2_GetString(string3,"Hora"), 0, strlen(DOF2_GetString(string3,"Hora")), 255); strmid(ipinfo, DOF2_GetString(string3,"IP"), 0, strlen(DOF2_GetString(string3,"IP")), 255); strcat(MEGAString,"{FFFFFF}*****************[INFORMACOES]*****************\n\n"); format(string, sizeof(string), "{FF6347}Nick: {FFFFFF}%s\n", nick); strcat(MEGAString,string); format(string, sizeof(string), "{FF6347}IP: {FFFFFF}%s\n", ipinfo); strcat(MEGAString,string); format(string, sizeof(string), "{FF6347}Admin: {FFFFFF}%s\n", BanInfo[playerid][pAdmBan]); strcat(MEGAString,string); format(string, sizeof(string), "{FF6347}Motivo: {FFFFFF}%s\n", BanInfo[playerid][pMotivo]); strcat(MEGAString,string); format(string, sizeof(string), "{FF6347}Data: {FFFFFF}%s\n", BanInfo[playerid][pData]); strcat(MEGAString,string); format(string, sizeof(string), "{FF6347}Hora: {FFFFFF}%s\n", BanInfo[playerid][pHora]); strcat(MEGAString,string); strcat(MEGAString,"{FF6347}Data do Desbanimento: {FFFFFF}Nunca.\n\n"); strcat(MEGAString,"{FFFFFF}****************************************************\n"); ShowPlayerDialog(playerid, 8724, DIALOG_STYLE_MSGBOX, "{FFFFFF}Informacoes do Banimento", MEGAString, "Informado", ""); return true; } format(string3, sizeof(string3), Pasta_BanidosTemp, nick); if(fexist(string3)) { MEGAString[0] = EOS; strmid(BanInfo[playerid][pMotivo], DOF2_GetString(string3,"Motivo"), 0, strlen(DOF2_GetString(string3,"Motivo")), 255); strmid(BanInfo[playerid][pAdmBan], DOF2_GetString(string3,"Admin"), 0, strlen(DOF2_GetString(string3,"Admin")), 255); strmid(BanInfo[playerid][pData], DOF2_GetString(string3,"Data"), 0, strlen(DOF2_GetString(string3,"Data")), 255); strmid(BanInfo[playerid][pHora], DOF2_GetString(string3,"Hora"), 0, strlen(DOF2_GetString(string3,"Hora")), 255); strmid(ipinfo, DOF2_GetString(string3,"IP"), 0, strlen(DOF2_GetString(string3,"IP")), 255); BanInfo[playerid][BanDia] = DOF2_GetInt(string3,"DiaBanTemp"); BanInfo[playerid][BanMes] = DOF2_GetInt(string3,"MesBanTemp"); BanInfo[playerid][BanAno] = DOF2_GetInt(string3,"AnoBanTemp"); BanInfo[playerid][BanData] = DOF2_GetInt(string3,"DataBanTemp"); BanInfo[playerid][TempHora] = DOF2_GetInt(string3,"HoraBanTemp"); BanInfo[playerid][TempMinuto] = DOF2_GetInt(string3,"MinutoBanTemp"); BanInfo[playerid][TempSegundo] = DOF2_GetInt(string3,"SegundoBanTemp"); BanInfo[playerid][TimeData] = DOF2_GetInt(string3,"TimeData"); strcat(MEGAString,"{FFFFFF}*****************[Informações]*****************\n\n"); format(string, sizeof(string), "{FF6347}Nick: {FFFFFF}%s\n", nick); strcat(MEGAString,string); format(string, sizeof(string), "{FF6347}IP: {FFFFFF}%s\n", ipinfo); strcat(MEGAString,string); format(string, sizeof(string), "{FF6347}Admin: {FFFFFF}%s\n", BanInfo[playerid][pAdmBan]); strcat(MEGAString,string); format(string, sizeof(string), "{FF6347}Motivo: {FFFFFF}%s\n", BanInfo[playerid][pMotivo]); strcat(MEGAString,string); format(string, sizeof(string), "{FF6347}Data: {FFFFFF}%s\n", BanInfo[playerid][pData]); strcat(MEGAString,string); format(string, sizeof(string), "{FF6347}Hora: {FFFFFF}%s\n", BanInfo[playerid][pHora]); strcat(MEGAString,string); format(string, sizeof(string), "{FF6347}Data do Desbanimento: {FFFFFF}%02d/%02d/%04d as %02d:%02d:%02d\n\n", BanInfo[playerid][BanDia], BanInfo[playerid][BanMes], BanInfo[playerid][BanAno], BanInfo[playerid][TempHora], BanInfo[playerid][TempMinuto], BanInfo[playerid][TempSegundo]); strcat(MEGAString,string); strcat(MEGAString,"{FFFFFF}****************************************************\n"); ShowPlayerDialog(playerid, 8724, DIALOG_STYLE_MSGBOX, "{FFFFFF}Informações do Banimento", MEGAString, "Informado", ""); return true; } return SendClientMessage(playerid, COLOR_GREY, "CONTA NÃO ENCONTRADA NO BANCO DE DADOS!"); } showUL(playerid, nick[]){ new string[246]; format(string, sizeof(string), Pasta_Contas, nick); if(fexist(string)) { strmid(PlayerInfo[playerid][pLaastLogin],DOF2_GetString(string,"LU"),0,strlen(DOF2_GetString(string,"LU")),255); format(string,sizeof(string),"[ÚLTIMO LOGIN]: %s última vez logado: [%s].",nick, PlayerInfo[playerid][pLaastLogin]); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); } else { SendClientMessage(playerid, COLOR_GREY, "CONTA NAO ENCONTRADA NO BANCO DE DADOS!"); } return 1; } showLogDays(playerid, nick[]){ new string[246],Horas,Minutos,Meson,cincodias,quinzedias,DataOld[100]; if(IsPlayerOnline(nick)) { new get = GetPlayerID(nick); strmid(DataOld,PlayerInfo[get][pLastVerification],0,strlen(PlayerInfo[get][pLastVerification]),255); MEGAString[0] = EOS; format(string, sizeof string, " {FFFFFF}Jogador:{21DD00}(Online){FFFFFF}%s[ID:%d]\n\n", NomePlayer(get),get); strcat(MEGAString, string); strcat(MEGAString, "{FFFFFF}|___________ {FFFF00}Media de Horas/Dia do mes {FFFFFF}____________|\n\n"); format(string, sizeof string, " {FFFFFF}[%.2f] Horas por dia.", PlayerInfo[get][pHorasOn]/720,DataOld); strcat(MEGAString, "{FFFFFF}|___________ {FFFF00}Mes {FFFFFF}____________|\n\n"); format(string, sizeof string, " {FFFFFF}[%d]Horas no Mes (%s).\n\n", PlayerInfo[get][pMesOn],DataOld); strcat(MEGAString, string); strcat(MEGAString, "{FFFFFF}|___________ {FFFF00}15 Dias {FFFFFF}____________|\n\n"); format(string, sizeof string, " {FFFFFF}[%d]Horas em 15 Dias.\n\n", PlayerInfo[get][pDias15On]); strcat(MEGAString, string); strcat(MEGAString, "{FFFFFF}|___________ {FFFF00}5 Dias {FFFFFF}____________|\n\n"); format(string, sizeof string, " {FFFFFF}[%d]Horas em 5 Dias.\n\n", PlayerInfo[get][pDias5On]); strcat(MEGAString, string); strcat(MEGAString, "{FFFFFF}|___________ {FFFF00}Total ate Agora deste mes {FFFFFF}____________|\n\n"); format(string, sizeof string, " {FFFFFF}[%d] Horas e [%d] Minutos.", PlayerInfo[get][pHorasOn], PlayerInfo[get][pMinutosOn]); strcat(MEGAString, string); return ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, " Pegar Atividade", MEGAString, "OK",""); } format(string, sizeof(string), Pasta_Contas, nick); if(fexist(string)) { Meson = DOF2_GetInt(string, "MesOn"); quinzedias = DOF2_GetInt(string, "Dias15On"); cincodias = DOF2_GetInt(string, "Dias5On"); Horas = DOF2_GetInt(string, "HorasOn"); Minutos = DOF2_GetInt(string, "MinutosOn"); strmid(DataOld,DOF2_GetString(string,"LV"),0,strlen(DOF2_GetString(string,"LV")),255); MEGAString2[0] = EOS; format(string, sizeof string, " {FFFFFF}Jogador:{E60000}(Offline){FFFFFF}%s\n\n", nick); strcat(MEGAString2, string); strcat(MEGAString, "{FFFFFF}|___________ {FFFF00}Media de Horas/Dia do mes {FFFFFF}____________|\n\n"); format(string, sizeof string, " {FFFFFF}[%.2f] Horas por dia.", Meson/720,DataOld); strcat(MEGAString2, "{FFFFFF}|______________________ {FFFF00}Mes {FFFFFF}_______________________|\n\n"); format(string, sizeof string, " {FFFFFF}[%d]Horas no Mes (%s).\n\n", Meson,DataOld); strcat(MEGAString2, string); strcat(MEGAString2, "{FFFFFF}|____________________{FFFF00}15 Dias {FFFFFF}______________________|\n\n"); format(string, sizeof string, " {FFFFFF}[%d]Horas em 15 Dias.\n\n", quinzedias); strcat(MEGAString2, string); strcat(MEGAString2, "{FFFFFF}|____________________ {FFFF00}5 Dias {FFFFFF}______________________|\n\n"); format(string, sizeof string, " {FFFFFF}[%d]Horas em 5 Dias.\n\n", cincodias); strcat(MEGAString2, string); strcat(MEGAString2, "{FFFFFF}|___________ {FFFF00}Total ate Agora deste mes {FFFFFF}____________|\n\n"); format(string, sizeof string, " {FFFFFF}[%d] Horas e [%d] Minutos.", Horas, Minutos); strcat(MEGAString2, string); return ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, " Pegar Atividade", MEGAString2, "OK",""); } else { SendClientMessage(playerid, COLOR_GREY, "CONTA NÃO ENCONTRADA NO BANCO DE DADOS!"); } return 1; } CallBack::showVIPoff(playerid, nick[]){ new string[74],string4[100]; format(string4, sizeof(string4), Pasta_Contas, nick); if(fexist(string4)) { PlayerInfo[playerid][pDiaVIP] = DOF2_GetInt(string4, "DiasVIP"); // GetVIPInfo(playerid, "VipVencimento")); PlayerInfo[playerid][pMesVIP] = DOF2_GetInt(string4, "MesVIP"); // dias [%02d/%02d/%04d]", nick, PlayerInfo[playerid][pDiasvip]-getdate(), PlayerInfo[playerid][pDiaVIP],PlayerInfo[playerid][pMesVIP],PlayerInfo[playerid][pAnoVIP]); // PlayerInfo[playerid][pAnoVIP] = DOF2_GetInt(string4, "AnoVIP"); format(string,sizeof(string),"[INFO-VIP]: O VIP de %s %s.", nick, GetVIPInfo(playerid, "VipVencimento")); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); } else { SendClientMessage(playerid, COLOR_GREY, "CONTA NãO ENCONTRADA NO BANCO DE DADOS!"); } return 1; } showIPBan(playerid, IP[]){ new string[74]; new string3[100], ipinfo[32]; format(string3, sizeof(string3), Pasta_IPsBanidos, IP); if(fexist(string3)) { MEGAString[0] = EOS; strmid(BanInfo[playerid][pMotivo], DOF2_GetString(string3,"Motivo"), 0, strlen(DOF2_GetString(string3,"Motivo")), 255); strmid(BanInfo[playerid][pAdmBan], DOF2_GetString(string3,"Admin"), 0, strlen(DOF2_GetString(string3,"Admin")), 255); strmid(BanInfo[playerid][pData], DOF2_GetString(string3,"Data"), 0, strlen(DOF2_GetString(string3,"Data")), 255); strmid(BanInfo[playerid][pHora], DOF2_GetString(string3,"Hora"), 0, strlen(DOF2_GetString(string3,"Hora")), 255); strmid(BanInfo[playerid][pNick], DOF2_GetString(string3,"Nick"), 0, strlen(DOF2_GetString(string3,"Nick")), 255); strmid(ipinfo, DOF2_GetString(string3,"IP"), 0, strlen(DOF2_GetString(string3,"IP")), 255); strcat(MEGAString,"{FFFFFF}*****************[Informações]*****************\n\n"); format(string, sizeof(string), "{FF6347}Nick: {FFFFFF}%s\n", BanInfo[playerid][pNick]); strcat(MEGAString,string); format(string, sizeof(string), "{FF6347}IP: {FFFFFF}%s\n", IP); strcat(MEGAString,string); format(string, sizeof(string), "{FF6347}Admin: {FFFFFF}%s\n", BanInfo[playerid][pAdmBan]); strcat(MEGAString,string); format(string, sizeof(string), "{FF6347}Motivo: {FFFFFF}%s\n", BanInfo[playerid][pMotivo]); strcat(MEGAString,string); format(string, sizeof(string), "{FF6347}Data: {FFFFFF}%s\n", BanInfo[playerid][pData]); strcat(MEGAString,string); format(string, sizeof(string), "{FF6347}Hora: {FFFFFF}%s\n", BanInfo[playerid][pHora]); strcat(MEGAString,string); strcat(MEGAString,"{FF6347}Data do Desbanimento: {FFFFFF}Nunca.\n\n"); strcat(MEGAString,"{FFFFFF}****************************************************\n"); ShowPlayerDialog(playerid, 8724, DIALOG_STYLE_MSGBOX, "{FFFFFF}Informações do Banimento", MEGAString, "Informado", ""); return true; } format(string3, sizeof(string3), Pasta_IPsBanidosTemp, IP); if(fexist(string3)) { MEGAString[0] = EOS; strmid(BanInfo[playerid][pMotivo], DOF2_GetString(string3,"Motivo"), 0, strlen(DOF2_GetString(string3,"Motivo")), 255); strmid(BanInfo[playerid][pAdmBan], DOF2_GetString(string3,"Admin"), 0, strlen(DOF2_GetString(string3,"Admin")), 255); strmid(BanInfo[playerid][pData], DOF2_GetString(string3,"Data"), 0, strlen(DOF2_GetString(string3,"Data")), 255); strmid(BanInfo[playerid][pHora], DOF2_GetString(string3,"Hora"), 0, strlen(DOF2_GetString(string3,"Hora")), 255); strmid(BanInfo[playerid][pNick], DOF2_GetString(string3,"Nick"), 0, strlen(DOF2_GetString(string3,"Nick")), 255); strmid(ipinfo, DOF2_GetString(string3,"IP"), 0, strlen(DOF2_GetString(string3,"IP")), 255); BanInfo[playerid][BanDia] = DOF2_GetInt(string3,"DiaBanTemp"); BanInfo[playerid][BanMes] = DOF2_GetInt(string3,"MesBanTemp"); BanInfo[playerid][BanAno] = DOF2_GetInt(string3,"AnoBanTemp"); BanInfo[playerid][BanData] = DOF2_GetInt(string3,"DataBanTemp"); BanInfo[playerid][TempHora] = DOF2_GetInt(string3,"HoraBanTemp"); BanInfo[playerid][TempMinuto] = DOF2_GetInt(string3,"MinutoBanTemp"); BanInfo[playerid][TempSegundo] = DOF2_GetInt(string3,"SegundoBanTemp"); BanInfo[playerid][TimeData] = DOF2_GetInt(string3,"TimeData"); strcat(MEGAString,"{FFFFFF}*****************[Informações]*****************\n\n"); format(string, sizeof(string), "{FF6347}Nick: {FFFFFF}%s\n", BanInfo[playerid][pNick]); strcat(MEGAString,string); format(string, sizeof(string), "{FF6347}IP: {FFFFFF}%s\n", IP); strcat(MEGAString,string); format(string, sizeof(string), "{FF6347}Admin: {FFFFFF}%s\n", BanInfo[playerid][pAdmBan]); strcat(MEGAString,string); format(string, sizeof(string), "{FF6347}Motivo: {FFFFFF}%s\n", BanInfo[playerid][pMotivo]); strcat(MEGAString,string); format(string, sizeof(string), "{FF6347}Data: {FFFFFF}%s\n", BanInfo[playerid][pData]); strcat(MEGAString,string); format(string, sizeof(string), "{FF6347}Hora: {FFFFFF}%s\n", BanInfo[playerid][pHora]); strcat(MEGAString,string); format(string, sizeof(string), "{FF6347}Data do Desbanimento: {FFFFFF}%02d/%02d/%04d as %02d:%02d:%02d\n\n", BanInfo[playerid][BanDia], BanInfo[playerid][BanMes], BanInfo[playerid][BanAno], BanInfo[playerid][TempHora], BanInfo[playerid][TempMinuto], BanInfo[playerid][TempSegundo]); strcat(MEGAString,string); strcat(MEGAString,"{FFFFFF}****************************************************\n"); ShowPlayerDialog(playerid, 8724, DIALOG_STYLE_MSGBOX, "{FFFFFF}Informações do Banimento", MEGAString, "Informado", ""); return true; } return SendClientMessage(playerid, COLOR_GREY, "IP NÃO ENCONTRADO NO BANCO DE DADOS!"); } CallBack::showVIPplayer(playerid) { if(PlayerInfo[playerid][pVIP] >= 1 && !GetPVarInt(playerid, "VarReg")) { new string[128]; MEGAString[0] = EOS; strcat(MEGAString, "{FFFFFF}|__________[ {33CCFF}Informações do VIP {FFFFFF}]__________|\n"); strcat(MEGAString, "Aqui voce pode ver todas as informações do seu VIP\n"); strcat(MEGAString, "Voce pode conferir todos os seus beneficios em nosso forum\n"); strcat(MEGAString, "https://https://discord.gg/vJE5ySg7nb\n\n"); //Tipo do VIP strcat(MEGAString, "{FFFF00}Tipo do VIP:\n"); format(string, sizeof(string), "{FFFFFF}Seu Tipo de VIP e:{FFFF00} %s.\n\n", GetVIPInfo(playerid, "VipTipo")); strcat(MEGAString, string); //Vencimento do VIP strcat(MEGAString, "{33CCFF}Vencimento do VIP:\n"); format(string, sizeof(string), "{FFFFFF}Vencimento:{FFFF00} %s.\n", GetVIPInfo(playerid, "VipVencimento")); // %s strcat(MEGAString, string); strcat(MEGAString, "{FF6347}Obs: {B4B5B7}Voce tem 3 dias para renovar seu VIP\n para nao perder seus beneficios.\n\n"); //Quantidade de carros strcat(MEGAString, "{33CCFF}Quantidade de Carros:\n"); format(string, sizeof(string), "{FFFFFF}Carros VIP:{FFFF00} %s.\n\n", GetVIPInfo(playerid, "VipCarros")); strcat(MEGAString, string); //Quantidade de empresas strcat(MEGAString, "{33CCFF}Quantidade de empresas/Fazendas:\n"); format(string, sizeof(string), "{FFFFFF}Empresas:{FFFF00} %s.\n", GetVIPInfo(playerid, "VipEmpresas")); strcat(MEGAString, string); format(string, sizeof(string), "{FFFFFF}Fazendas:{FFFF00} %s.\n\n", GetVIPInfo(playerid, "VipFazendas")); strcat(MEGAString, string); //Quantidade de Casas strcat(MEGAString, "{33CCFF}Quantidade de Casas:\n"); format(string, sizeof(string), "{FFFFFF}Casas:{FFFF00} %s.\n\n", GetVIPInfo(playerid, "VipCasas")); strcat(MEGAString, string); strcat(MEGAString, "Visite tambem o nosso forum para mais informações:\n"); strcat(MEGAString, "{FFFFFF}|_______[{FFFF00}https://https://discord.gg/vJE5ySg7nb{FFFFFF}]_______|"); ShowPlayerDialog(playerid, 5848, DIALOG_STYLE_MSGBOX, "{FFFFFF}Informações do VIP", MEGAString, "OK", ""); return SendClientMessage(playerid, COLOR_LIGHTBLUE, "Exibindo informações do seu VIP/Socio!"); } else { return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao e um player VIP!"); } } CallBack::ClearMarriage(playerid) { if(IsPlayerConnected(playerid)) { strmid(PlayerInfo[playerid][pMarriedTo], "Ninguem", 0, strlen("Ninguem"), 255); PlayerInfo[playerid][pMarried] = 0; } return true; } CallBack::ClearLV(playerid) { if(IsPlayerConnected(playerid)) { strmid(PlayerInfo[playerid][pLastVerification], "00/00/0000", 0, strlen("00/00/0000"),255); } return true; } CallBack::ClearCrime(playerid) { if(IsPlayerConnected(playerid)) { strmid(PlayerCrime[playerid][pBplayer], "********", 0, strlen("********"), 255); strmid(PlayerCrime[playerid][pVictim], "********", 0, strlen("********"), 255); strmid(PlayerCrime[playerid][pAccusing], "********", 0, strlen("********"), 255); strmid(PlayerCrime[playerid][pAccusedof], "********", 0, strlen("********"), 255); } return true; } CallBack::ClearCooking(playerid) { new string[10]; if(IsPlayerConnected(playerid)) { Cooking[playerid][pCookID1] = 0; Cooking[playerid][pCookID2] = 0; Cooking[playerid][pCookID3] = 0; Cooking[playerid][pCookID4] = 0; Cooking[playerid][pCookID5] = 0; Cooking[playerid][pCWeight1] = 0; Cooking[playerid][pCWeight2] = 0; Cooking[playerid][pCWeight3] = 0; Cooking[playerid][pCWeight4] = 0; Cooking[playerid][pCWeight5] = 0; format(string, sizeof(string), "Nenhum"); strmid(Cooking[playerid][pCook1], string, 0, strlen(string), 255); strmid(Cooking[playerid][pCook2], string, 0, strlen(string), 255); strmid(Cooking[playerid][pCook3], string, 0, strlen(string), 255); strmid(Cooking[playerid][pCook4], string, 0, strlen(string), 255); strmid(Cooking[playerid][pCook5], string, 0, strlen(string), 255); } return true; } CallBack::ClearCookingID(playerid, cook) { new string[10]; if(IsPlayerConnected(playerid)) { format(string, sizeof(string), "Nenhum"); switch (cook) { case 1: { strmid(Cooking[playerid][pCook1], string, 0, strlen(string), 255); Cooking[playerid][pCWeight1] = 0; Cooking[playerid][pCookID1] = 0; } case 2: { strmid(Cooking[playerid][pCook2], string, 0, strlen(string), 255); Cooking[playerid][pCWeight2] = 0; Cooking[playerid][pCookID2] = 0; } case 3: { strmid(Cooking[playerid][pCook3], string, 0, strlen(string), 255); Cooking[playerid][pCWeight3] = 0; Cooking[playerid][pCookID3] = 0; } case 4: { strmid(Cooking[playerid][pCook4], string, 0, strlen(string), 255); Cooking[playerid][pCWeight4] = 0; Cooking[playerid][pCookID4] = 0; } case 5: { strmid(Cooking[playerid][pCook5], string, 0, strlen(string), 255); Cooking[playerid][pCWeight5] = 0; Cooking[playerid][pCookID5] = 0; } } } return true; } CallBack::Lotto(number) { //new gstring[128]; new JackpotFallen = 0; format(gstring, sizeof(gstring), "Loteria:"); OOCNews(0xF78181AA, gstring); format(gstring, sizeof(gstring), "Loterica: Hoje o numero sorteado foi o nº %d.", number); OOCNews(TEAM_BALLAS_COLOR, gstring); foreach(Player, i) { if(PlayerInfo[i][pLottoNr] > 0) { if(PlayerInfo[i][pLottoNr] == number) { JackpotFallen = 1; format(gstring, sizeof(gstring), "Loterica: %s ganhou R$%s com seu bilhete.", PlayerName(i), ConvertMoney(Jackpot)); OOCNews(TEAM_BALLAS_COLOR, gstring); format(gstring, sizeof(gstring), "* Voce ganhou R$%s com seu bilhete de loteria.", ConvertMoney(Jackpot)); SendClientMessage(i, COLOR_YELLOW, gstring); format(gstring, sizeof(gstring), "* Va ate a Loterica Fazer a Retirada de Seu Premio."); SendClientMessage(i, COLOR_GREEN, gstring); PlayerInfo[i][pLottoWin] = Jackpot; } else { SendClientMessage(i, COLOR_GREY, " Nao foi dessa Vez que voce Ganhou na Loteria."); } } PlayerInfo[i][pLottoNr] = 0; } if(JackpotFallen) { new rand = random(125000); rand += 15789; Jackpot = rand; format(gstring, sizeof(gstring), "Loterica: Um Novo premio foi Iniciado em: R$%s.", ConvertMoney(Jackpot)); OOCNews(COLOR_WHITE, gstring); } else { new rand = random(15000); rand += 2158; Jackpot += rand; format(gstring, sizeof(gstring), "Loterica: O premio acumulou para: R$%s.", ConvertMoney(Jackpot)); OOCNews(COLOR_WHITE, gstring); } return true; } //------------------------------------------------------------------------------------------------------ public OnPlayerDisconnect(playerid, reason) { RadioFre[playerid] = 0; FrequenciaConectada[playerid] = 0; if(IsPlayerAttachedObjectSlotUsed(playerid, 9)) RemovePlayerAttachedObject(playerid, 9); if(TimerAceitarMorte[playerid] != -1 || HaviaMorrido[playerid]) { GetPlayerPos(playerid, PlayerInfo[playerid][OldPosSaiu][0], PlayerInfo[playerid][OldPosSaiu][1], PlayerInfo[playerid][OldPosSaiu][2]); PlayerInfo[playerid][InteriorSaiu] = GetPlayerInterior(playerid); PlayerInfo[playerid][PlayerDesconectouMorto] = 1; } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // if(gPlayerLogged[playerid]) { SalvarPlayer_DB(playerid); } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // DestroyPVehicleOrg(playerid); DestroyPVehicleEmp(playerid); SaveArms(playerid); CancelPlayerEditDynObject(playerid); ResetPlayerAceitarMorte(playerid); CancelPlayerReanimar(playerid); // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // PlayerTextDrawDestroy(playerid, CNFTelaPlayer[playerid][0]); PlayerTextDrawDestroy(playerid, CNFTelaPlayer[playerid][1]); PlayerTextDrawDestroy(playerid, CNFTelaPlayer[playerid][2]); KillTimer(TimerPayDay[playerid]); //KillTimer(TimerFome[playerid]); //KillTimer(TimerSede[playerid]); SavePlayerVehicle(playerid); if(CarroAluguel[playerid] != 0) { ForT:desalugarcarro(playerid); } for(new abi = 0; abi < 10; abi++) { PlayerTextDrawDestroy(playerid, CaixaEletroCNFPlayer[playerid][abi]); } LogadoAdm[playerid] = false; KillTimer(TimingPlayerMorto[playerid]); PlayerTextDrawDestroy(playerid, TelaLoginCNF3[playerid][0]); yMP_PegouServ[playerid] = 0; if(yMP_Carro[playerid] != 0){ DestroyVehicleEx(yMP_Carro[playerid]); yMP_Carro[playerid] = 0; } if(yMP_Bau[playerid] != 0){ DestroyVehicleEx(yMP_Bau[playerid]); yMP_Bau[playerid] = 0; } if(yMP_AddQntLP[playerid] != 0){ KillTimer(yMP_KillTimer[playerid]); yMP_AddQntLP[playerid] = 0; } yMP_Infos[playerid] = 0; pDrunkLevelLast[playerid] = 0; // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // if(VendendoItemServerPara[playerid] != INVALID_PLAYER_ID) { new compradorid = VendendoItemServerPara[playerid]; // ----------------------- // ComprandoItemServerDe[compradorid] = INVALID_PLAYER_ID; IndexIDVendendo[compradorid] = -1; IndexPrecoVendendo[compradorid] = 0; TempoComprarItemServer[compradorid] = 0; if(TimerComprarItemServer[compradorid] != -1) KillTimer(TimerComprarItemServer[compradorid]); TimerComprarItemServer[compradorid] = -1; // ----------------------- // TipoCompraItemIDD[compradorid] = C_COMPRA_INVALID; } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // if(ComprandoItemServerDe[playerid] != INVALID_PLAYER_ID) { new vendedorid = ComprandoItemServerDe[playerid]; // ----------------------- // VendendoItemServerPara[vendedorid] = INVALID_PLAYER_ID; ComprandoItemServerDe[playerid] = INVALID_PLAYER_ID; if(TimerComprarItemServer[playerid] != -1) KillTimer(TimerComprarItemServer[playerid]); TimerComprarItemServer[playerid] = -1; } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // // Removing the player's local stream after disconnecting if (lstream[playerid]) { SvDeleteStream(lstream[playerid]); lstream[playerid] = SV_NULL; } if(GetPVarInt(playerid, "VeiculoCriado") != -1) { DestroyVehicleEx(GetPVarInt(playerid, "VeiculoCriado")); } TextDrawHideForPlayer(playerid, CNF[0]); TextDrawHideForPlayer(playerid, CNF[1]); TextDrawHideForPlayer(playerid, CNF[2]); TextDrawHideForPlayer(playerid, CNF[3]); TextDrawHideForPlayer(playerid, CNF[4]); TextDrawHideForPlayer(playerid, CNF[5]); // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // DestroyDynamic3DTextLabel(TextovoIP[playerid]); GariTrabalhando[playerid] = 0; AppLigado[playerid] = 0; Retiroupedido[playerid] = 0; Entregando[playerid] = 0; TemCorrida[playerid] = 0; new Jogador[MAX_PLAYER_NAME]; // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // PlayerInfo[playerid][pCash] = GetPlayerMoney(playerid); if(GetPlayerInterior(playerid) == 0) { GetPlayerPos(playerid, PlayerInfo[playerid][pPos_x], PlayerInfo[playerid][pPos_y], PlayerInfo[playerid][pPos_z]); PlayerInfo[playerid][pInterior] = GetPlayerInterior(playerid); PlayerInfo[playerid][pVW] = GetPlayerVirtualWorld(playerid); } else { PlayerInfo[playerid][pPos_x] = VarPlayerOldPos[playerid][0]; PlayerInfo[playerid][pPos_y] = VarPlayerOldPos[playerid][1]; PlayerInfo[playerid][pPos_z] = VarPlayerOldPos[playerid][2]; PlayerInfo[playerid][pInterior] = 0; PlayerInfo[playerid][pVW] = 0; } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // PlayerInfo[playerid][pSkin] = GetPlayerSkin(playerid); SalvarInventario(playerid); SalvarAcessorios(playerid); GetPlayerName(playerid, Jogador, sizeof(Jogador)); //SISTEMA DE ATENDIMENTO FilaAtendimento[playerid] = 999; TempoAtendimento2[playerid] = 0; //new gstring[256]; DestruirMedKit(playerid); PlayerInfo[playerid][vipWait] = 0; EmTunning[playerid] = 0; EmTutorial[playerid] = 0; Inenforcer[playerid] = 0; Watching[playerid] = 0; Goto[playerid] = 0; destroyPlayerCarSound(playerid); if(!player_viewer[playerid]) RemovePlayer(playerid); if(PlayerInfo[playerid][pTut] == 0){ KillTimer(PlayerInfo[playerid][pTimerTuto]); } if (PlayerVelocimetro[playerid]) { KillTimer(PlayerVelocimetroTimer[playerid]); } if(gPlayerLogged[playerid]){ DestroyDynamic3DTextLabel(labelDano[playerid]); } if(ChatAtendimento[playerid] > 0) { foreach(Player, i) { if(InviteAtt[i] == playerid) { ChatAtendimento[playerid] = 0; ChatAtendimento[i] = 0; InviteAtt[i] = 999; InviteAtt[playerid] = 999; IDAvaliou[playerid] = 999; IDAvaliou[i] = 999; NumeroChatAtendimento[i] = 0; NumeroChatAtendimento[playerid] = 0; format(gstring, 128, "* %s saiu do jogo.", PlayerName(playerid)); SendClientMessage(i, 0x33CCFFAA, gstring); } } } if(carroinvCriado[playerid] == 1) { ForT:dinv(playerid); } if(PlayerInfo[playerid][pTrazerChuck] == 1) { PlayerInfo[playerid][pTrazerChuck] = 1; } if(CamreaInfo[cameraman] == playerid) { new string[128]; CamreaInfo[cameraman] = INVALID_PLAYER_ID; format(string, sizeof(string), "Reporter %s: deixou de ser o Camera-Man.", NomePlayer(playerid)); SendFamilyMessage(9, 0xFFA500F6, string); RemovePlayerAttachedObjectEx(playerid, Vaga_Maconha); OffAir(); } DestruirTxDBinco(playerid); if(ProvocoMata[playerid] == 1) { GangZoneStopFlashForAll(GZMata); GangZoneShowForAll(GZMata, 0xFFFFFF96); GuerranaMata = 0; ProvocoMata[playerid] = 0; donoMata = 0; Dominando[playerid] = 0; KillTimer(TempoGuerraMata); } if (PlantouParedao[playerid] != 0) { RemoveParedao(playerid); } if(player_viewer[playerid] == true) { RemovePlayer(playerid); } //SendDeathMessage(INVALID_PLAYER_ID,playerid,201); if(GetPVarInt(playerid,"roped") == 1) { for(new destr=0;destr<=ropelength;destr++) { DestroyDynamicObject(r0pes[playerid][destr]); } } if(ConeInfo[playerid][ConeCreated5] > 0 && ConeInfo[playerid][ConeID5] == playerid) { RemoveConeblock5(playerid); //tpt = 1; } if(ConeInfo[playerid][ConeCreated4] > 0 && ConeInfo[playerid][ConeID4] == playerid) { RemoveConeblock4(playerid); //tpt = 1; } if(ConeInfo[playerid][ConeCreated3] > 0 && ConeInfo[playerid][ConeID3] == playerid) { RemoveConeblock3(playerid); //tpt = 1; } if(ConeInfo[playerid][ConeCreated2] > 0 && ConeInfo[playerid][ConeID2] == playerid) { RemoveConeblock2(playerid); //tpt = 1; } if(ConeInfo[playerid][ConeCreated1] > 0 && ConeInfo[playerid][ConeID1] == playerid) { RemoveConeblock1(playerid); //tpt = 1; } if(CarShopping[playerid] == true) { CarroParticular[ShopCar[playerid]] = -1; DestroyVehicleEx(ShopCar[playerid]); TogglePlayerControllableEx(playerid, true); CarShopping[playerid] = false; INCOMPRA[playerid] = 0; carbrowse[playerid] = 0; } if(TunC==playerid) { TunC=-1; } new string[MAX_STRING]; if(PlayerInfo[playerid][pVIP] > 1) { // DeletePlayer3DTextLabel(playerid, labelvip[playerid]); } if(MecanicMission[playerid]) { EndMission(playerid); } if(GetPVarInt(playerid, "VarBomba")) { new objectid = GetPVarInt(playerid, "VarObject"); DestroyDynamicObject(objectid); } switch(reason) { case 0:format(string,sizeof(string),"**%s: saiu do servidor por vontade propria.", PlayerName(playerid)); case 1:format(string,sizeof(string),"**%s: saiu do servidor por erro de BRASIL ou crash.", PlayerName(playerid)); case 2:format(string,sizeof(string),"**%s: saiu do servidor kickado ou banido.", PlayerName(playerid)); default:format(string,sizeof(string),"**%s: saiu do servidor por causa desconhecida.", PlayerName(playerid)); } SendClientMessageInRange(30.0, playerid, string, COLOR_YELLOW2,COLOR_YELLOW2,COLOR_YELLOW2,COLOR_YELLOW2,COLOR_YELLOW2); /* if(IsValidDynamicObject(GetPVarInt(playerid, "neon1"))) DestroyDynamicObject(GetPVarInt(playerid, "neon1")); if(IsValidDynamicObject(GetPVarInt(playerid, "neon2"))) DestroyDynamicObject(GetPVarInt(playerid, "neon2")); */ PlayerTextDrawHide(playerid, AjudaConce1[playerid]); PlayerTextDrawHide(playerid, AjudaConce2[playerid]); RemoveallRoadandSpikes(playerid); if(PrimeiroChuck[playerid] == 1) { LimiteChuck = 0; } if(PlayerInfo[playerid][pTimerBalao] != -1){ KillTimer(PlayerInfo[playerid][pTimerBalao]); } if( InTeste[playerid]) { TestEnd(playerid, 0); } if(MudarNickAceito[playerid] == 1) { MudarNickAceito[playerid] = 0; } if(EmGuerra[playerid] && TendoGuerra >= 1) { format(string, sizeof(string), "* %s saiu da Guerra!",PlayerName(playerid)); SendFamilyMessage(3,GetPlayerColor(playerid), string); SendFamilyMessage(15,GetPlayerColor(playerid), string); SendFamilyMessage(23,GetPlayerColor(playerid), string); EmGuerra[playerid] = 0; } if(PlayerPaintballing[playerid] != 0) { PaintballPlayers --; } for(new i; i < MAX_PREGOS; i++) { if(SpikeInfo[i][sCreated] && SpikeInfo[i][sID] == playerid) { SpikeInfo[i][sID]=999; SpikeInfo[i][sCreated]=0; DestroyDynamicObject(SpikeInfo[i][sObject]); DestroyDynamic3DTextLabel(SpikeInfo[i][sText]); } } for(new i; i < MAX_BARREIRAS; i++) { if(BarreiraInfo[i][brCreated] && BarreiraInfo[i][brID] == playerid) { BarreiraInfo[i][brID]=999; BarreiraInfo[i][brCreated]=0; DestroyDynamicObject(BarreiraInfo[i][brObject]); DestroyDynamic3DTextLabel(BarreiraInfo[i][brText]); } } for(new i; i < 100; i++) { if(BloqueioInfo[i][bqCreated] && BloqueioInfo[i][bqID] == playerid) { BloqueioInfo[i][bqID]=999; BloqueioInfo[i][bqCreated]=0; DestroyDynamicObject(BloqueioInfo[i][bqObject]); DestroyDynamic3DTextLabel(BloqueioInfo[i][bqText]); } } DisablePlayerCheckpoint(playerid); OnPlayerSave(playerid); SaveObjects(playerid); KillTimer(TimerSS[playerid]); //SavePlayerVehicle(playerid); new caller = Mobile[playerid]; OnPlayerSave(playerid); SaveObjects(playerid); if(VozDePrisao[playerid] == 1) { PlayerInfo[playerid][pJailed] = 9; PlayerInfo[ playerid ][ pJailTime ] = 7 * 60; format( string, sizeof string, "O player %s foi preso automaticamente por 7 minutos. Motivo: Anti-RP.", PlayerName( playerid ) ); SendClientMessageToAll( COLOR_LIGHTRED, string ); VozDePrisao[playerid] = 0; } if(caller != 255) { if(caller < 255) { SendClientMessage(caller, 0xBDBDBDAA, "A Ligacao caiu..."); CellTime[caller] = 0; CellTime[playerid] = 0; Mobile[caller] = 255; } Mobile[playerid] = 255; CellTime[playerid] = 0; } if(HireCar[playerid] > 0) { VTrancado[HireCar[playerid]] = 0; UnLockCar(HireCar[playerid]); SetVehicleToRespawnEx(HireCar[playerid]); HireCar[playerid] = 0; } if (gLastCar[playerid] > 0) { gLastDriver[gLastCar[playerid]] = 300; if(PlayerInfo[playerid][pPhousekey] != gLastCar[playerid]-1) { gCarLock[gLastCar[playerid]] = 0; UnLockCar(gLastCar[playerid]); } } foreach(Player, i) { if(GetPVarInt(playerid, "MercID") == i) { format(string, sizeof string, "* Seu ajudante %s saiu do servidor.", NomePlayer(playerid)); SendClientMessage(playerid, COLOR_YELLOW, string); SetPVarInt(playerid, "MercID", 999); } else if(GetPVarInt(i, "MercID") == playerid) { format(string, sizeof string, "* O player que voce estava ajudando: [%s] saiu do servidor.", NomePlayer(playerid)); SendClientMessage(i, COLOR_YELLOW, string); SetPVarInt(i, "MercID", 999); } if(TaxistaAccepted[i] < 999) { if(TaxistaAccepted[i] == playerid) { TaxistaAccepted[i] = 999; GameTextForPlayer(i, "~w~O Cliente~n~~r~Saiu do jogo", 5000, 1); TaxistaCallTime[i] = 0; DisablePlayerCheckpoint(i); } } if(AdvAccepted[i] < 999) { if(AdvAccepted[i] == playerid) { AdvAccepted[i] = 999; GameTextForPlayer(i, "~w~O Cliente~n~~r~Saiu do jogo", 5000, 1); AdvCallTime[i] = 0; DisablePlayerCheckpoint(i); } } else if(CopsrondaAccepted[i] < 999) { if(CopsrondaAccepted[i] == playerid) { CopsrondaAccepted[i] = 999; GameTextForPlayer(i, "~w~Policial o player~n~~r~Deixou o jogo", 5000, 1); CopsrondaCallTime[i] = 0; DisablePlayerCheckpoint(i); } } else if(MedicAccepted[i] < 999) { if(MedicAccepted[i] == playerid) { MedicAccepted[i] = 999; GameTextForPlayer(i, "~w~O Cliente~n~~r~Saiu do jogo", 5000, 1); MedicCallTime[i] = 0; DisablePlayerCheckpoint(i); } } else if(BombAccepted[i] < 999) { if(BombAccepted[i] == playerid) { BombAccepted[i] = 999; GameTextForPlayer(i, "~w~O Cliente~n~~r~Saiu do jogo", 5000, 1); BombCallTime[i] = 0; DisablePlayerCheckpoint(i); } } else if(MechanicAccepted[i] < 999) { if(MechanicAccepted[i] == playerid) { MechanicAccepted[i] = 999; GameTextForPlayer(i, "~w~O Cliente~n~~r~Saiu do jogo", 5000, 1); MechanicCallTime[i] = 0; DisablePlayerCheckpoint(i); } } else if(BusAccepted[i] < 999) { if(BusAccepted[i] == playerid) { BusAccepted[i] = 999; GameTextForPlayer(i, "~w~O Cliente~n~~r~Saiu do jogo", 5000, 1); BusCallTime[i] = 0; DisablePlayerCheckpoint(i); } } } if(TransportCost[playerid] > 0 && TransportDriver[playerid] < 999) { if(IsPlayerConnected(TransportDriver[playerid])) { TransportMoney[TransportDriver[playerid]] += TransportCost[playerid]; TransportTime[TransportDriver[playerid]] = 0; TransportCost[TransportDriver[playerid]] = 0; format(string, sizeof(string), "~w~Passageiro saiu~n~~g~ganhou R$%s",ConvertMoney(TransportCost[playerid])); GameTextForPlayer(TransportDriver[playerid], string, 5000, 1); format(gstring, sizeof(gstring), "Passageiro:~n~~w~Ninguem"); PlayerTextDrawSetString(TransportDriver[playerid],passTaxista[TransportDriver[playerid]], gstring); } } if(GotHit[playerid] > 0) { if(GetChased[playerid] < 999) { if(IsPlayerConnected(GetChased[playerid])) { SendClientMessage(GetChased[playerid], COLOR_YELLOW, "Seu contrato saiu do servidor."); GoChase[GetChased[playerid]] = 999; } } } if(GotTri[playerid] > 0) { if(GetChased[playerid] < 999) { if(IsPlayerConnected(GetChased[playerid])) { SendClientMessage(GetChased[playerid], COLOR_YELLOW, "Seu contrato saiu do servidor."); GoChase[GetChased[playerid]] = 999; } } } if(GotMer[playerid] > 0) { if(GetChased[playerid] < 999) { if(IsPlayerConnected(GetChased[playerid])) { SendClientMessage(GetChased[playerid], COLOR_YELLOW, "Seu contrato saiu do servidor."); GoChase[GetChased[playerid]] = 999; } } } if(HireCar[playerid] != 299) { gLastDriver[HireCar[playerid]] = 300; VTrancado[HireCar[playerid]] = 0; UnLockCar(HireCar[playerid]); } if (gLastCar[playerid] > 0) { gLastDriver[gLastCar[playerid]] = 300; if(PlayerInfo[playerid][pPHousekey] != gLastCar[playerid]-1) { VTrancado[gLastCar[playerid]] = 0; UnLockCar(gLastCar[playerid]); } } if(TransportDuty[playerid] == 1) { TaxistaDrivers -= 1; } if(IsACop(playerid)) { if(EmpregoDuty[playerid] == 1) { Copsronda -= 1; } } if(PlayerInfo[playerid][pEmprego] == 1) { if(EmpregoDuty[playerid] == 1) { AdvOns -= 1; } } if(PlayerInfo[playerid][pMembro] == 4 || PlayerInfo[playerid][pLider] == 4)//1 daki pr baixo os 3 { if(EmpregoDuty[playerid] == 2) { Medics -= 1; } } if(PlayerInfo[playerid][pEmprego] == 6) { if(EmpregoDuty[playerid] == 1) { Bombers -= 1; } } if(IsAMec(playerid)) { if(EmpregoDuty[playerid] == 2) { Mechanics -= 1; } } if(GetPlayerOrg(playerid) == 34) { DetranTrampo -= 1; } OnPlayerSave(playerid); SaveObjects(playerid); if((PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pAdminTemp] >= 1) && (PlayerInfo[playerid][pAdmin] <= 1341)) { new AdminName[MAX_PLAYER_NAME]; GetPlayerName(playerid, AdminName, sizeof(AdminName)); format(string, sizeof(string), "~y~%s ~r~OFF", AdminName); foreach(Player, i) { GameTextForPlayer(i, string , 5000, 1); } } return 0; } CallBack:: hideAviso(playerid) { if( CarregandoI[playerid] < 1) { carregarObjetos(playerid); CarregandoI[playerid]++; } } CMD:settimeperto(playerid) { if(PlayerInfo[playerid][pAdmin] >= 4) { new Float:Pos[3]; GetPlayerPos(playerid, Pos[0], Pos[1], Pos[2]); for(new i; i < MAX_PLAYERS; i++) { if(IsPlayerInRangeOfPoint(i, 30.0, Pos[0], Pos[1], Pos[2])) { SetPlayerSpawn(i); SCMf(i, COLOR_YELLOW, "O Admin: %s setou todos que estavam perto dele!", PlayerName(playerid)); } } } return 1; } CallBack::fechartimemedico(playerid) { ClearAnimations(playerid); ClearAnimations(playerid); KillTimer(TimerHosp[playerid]); TogglePlayerControllableEx(playerid, 1); return 1; } forward Descongelar(playerid); public Descongelar(playerid) { TogglePlayerControllableEx(playerid,1); return true; } stock addZero(value) { new msg_formated[40]; format(msg_formated, 40, "%d", value); if(value < 10) { format(msg_formated, 40, "0%d", value); return msg_formated; } return msg_formated; } CallBack::SetPlayerSpawn(playerid) { new string[156]; TextDrawHideForPlayer(playerid, textmorte[0]); TextDrawHideForPlayer(playerid, textmorte[1]); // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // if(HaviaMorrido[playerid] && !admtrampando[playerid] && !PlayerJaEstaMorrendo[playerid] && PlayerInfo[playerid][pJailTime] < 2) { SetTimerEx("VerifyPlayerMorte", 6000, false, "i", playerid); return 1; } else { HaviaMorrido[playerid] = 0; PlayerJaEstaMorrendo[playerid] = 0; } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // if(gPlayerLogged[playerid]) { PlayerTextDrawHide(playerid, textguerratr[playerid]); SetTimerEx("hideAviso", 8000, 0, "d", playerid); //entrou[playerid] = false; pmorto[playerid] = false; SetPVarInt(playerid,"roped",0); SetPVarInt(playerid,"chop_id",-1); if(PlayerInfo[playerid][pTut] == 0) { TogglePlayerSpectating(playerid, 1); Controle(playerid, 0); RegistrationStep[playerid] = 1; ClearChatbox(playerid, 8); //SetPlayerCameraPos(playerid, 1742.9161, -1741.8186, 55.6075); //SetPlayerCameraLookAt(playerid, 1742.0631, -1741.2983, 55.4125); SetPlayerFacingAngle(playerid, 0.0); SetPlayerCameraPos(playerid, 1381.5475, -1075.3083, 91.3985); SetPlayerCameraLookAt(playerid, 1381.5475, -875.3083, 91.3985); SetPlayerPos(playerid, 1381.5475, -700.3083, 91.3985); SetPlayerVirtualWorld(playerid, 0); PlayerPlaySound(playerid,1039,0.0,0.0,0.0); SetPlayerVirtualWorld(playerid,playerid+1); ContagemHoras[playerid] = 59; ContagemSeg[playerid] = 59; ShowPlayerDialog(playerid,9,DIALOG_STYLE_MSGBOX,"Diga Seu Sexo:","{FFFFFF}Seja Bem Vindo(a)\n{00EE00}BRASIL POBRE RP.\nVisite Nosso Forum:\nhttps://https://discord.gg/vJE5ySg7nb\nVoce e 'Mulher' ou e 'Homem' ?\n ", "Homem", "Mulher"); return true; } // ----------------------- // new hor[3]; gettime(hor[0], hor[1], hor[2]); if(PlayerInfo[playerid][pBan] > 0) { SendClientMessage(playerid, COLOR_DBLUE, "SERVER: Voce foi desbanido do servidor, tenha um bom jogo!"); PlayerInfo[playerid][pBan] = 0; } if(VendoNick[playerid] == false) { VendoNick[playerid] = true; SendClientMessage(playerid, COLOR_GRAD1, "(( Voce agora nao esta mais em modo secreto ))"); foreach(Player, i) { ShowPlayerNameTagForPlayer(i, playerid, true); } } if(PlayerPaintballing[playerid] != 0) { new rand; ResetPlayerWeapons(playerid); TempDropArmasBody[playerid] = 0; GivePlayerWeapon(playerid, 29, 999); GivePlayerWeapon(playerid, 31, 999); rand = random(sizeof(PaintballSpawns)); SetPlayerPos(playerid, PaintballSpawns[rand][0], PaintballSpawns[rand][1], PaintballSpawns[rand][2]); SetPlayerVirtualWorld(playerid, 0); return 1; } HouseFed[playerid] = 500; SetPlayerVirtualWorld(playerid, 0); if(PlayerInfo[playerid][pLuta] == 1) { SetPlayerFightingStyle (playerid, FIGHT_STYLE_ELBOW); } if(PlayerInfo[playerid][pLuta] == 2) { SetPlayerFightingStyle (playerid, FIGHT_STYLE_BOXING); } if(PlayerInfo[playerid][pLuta] == 3) { SetPlayerFightingStyle (playerid, FIGHT_STYLE_GRABKICK); } if(PlayerInfo[playerid][pLuta] == 4) { SetPlayerFightingStyle (playerid, FIGHT_STYLE_KNEEHEAD); } if(PlayerInfo[playerid][pLuta] == 5) { SetPlayerFightingStyle (playerid, FIGHT_STYLE_KUNGFU); } if(PlayerInfo[playerid][pLuta] == 6) { SetPlayerFightingStyle (playerid, FIGHT_STYLE_NORMAL); } // Prisao if(PlayerInfo[playerid][pJailed] > 0 && PlayerInfo[playerid][pJailTime] > 0) SetPlayerSkin(playerid, 268); if(PlayerInfo[playerid][pJailed] > 0) { PlayerCuffed[playerid] = 0; RemovePlayerAttachedObjectEx(playerid, Vaga_Corrente); SetPlayerSpecialAction(playerid, SPECIAL_ACTION_NONE); ResetPlayerWeapons(playerid); } if(PlayerInfo[playerid][pJailed] == 1) { SetPlayerInterior(playerid, 1); new rand = random(sizeof(PeniSpawn)); SetPlayerPos(playerid, PeniSpawn[rand][0], PeniSpawn[rand][1], PeniSpawn[rand][2]); // Warp the player storeexit[playerid] = 66; SendClientMessage(playerid, COLOR_LIGHTRED, "Sentenca incompleta,Voce voltou para Prisao"); VozDePrisao[playerid] = 0; return true; } else if(PlayerInfo[playerid][pJailed] == 27) { SetPlayerInterior(playerid, 1); new rand = random(sizeof(PeniSpawn)); SetPlayerPos(playerid, PeniSpawn[rand][0], PeniSpawn[rand][1], PeniSpawn[rand][2]); // Warp the player storeexit[playerid] = 67; SetPlayerVirtualWorld(playerid, 1); SendClientMessage(playerid, COLOR_LIGHTRED, "Sentenca incompleta,Voce voltou para Prisao"); VozDePrisao[playerid] = 0; return true; } else if(PlayerInfo[playerid][pJailed] == 24) { new rand = random(sizeof(PeniSpawn)); SetPlayerVirtualWorld(playerid, 0); SetPlayerInterior(playerid, 1); SetPlayerPos(playerid, PeniSpawn[rand][0], PeniSpawn[rand][1], PeniSpawn[rand][2]); // Warp the player SendClientMessage(playerid, COLOR_LIGHTRED, "Sentenca incompleta,Voce voltou para Prisao"); VozDePrisao[playerid] = 0; return 1; } else if(PlayerInfo[playerid][pJailed] == 25) { new rand = random(sizeof(PeniSpawn)); SetPlayerPos(playerid, PeniSpawn[rand][0], PeniSpawn[rand][1], PeniSpawn[rand][2]); // Warp the player SetPlayerVirtualWorld(playerid, 10); SetPlayerInterior(playerid, 1); Controle(playerid, 0); GameTextForPlayer(playerid, "~b~Carregando", 2000, 5); SetTimerEx("Carregar", 2000, 0, "i", playerid); SendClientMessage(playerid, COLOR_LIGHTRED, "Sentenca incompleta,Voce voltou para Prisao"); VozDePrisao[playerid] = 0; return 1; } else if(PlayerInfo[playerid][pJailed] == 33) { SetPlayerInterior(playerid, 1); new rand = random(sizeof(PeniSpawn)); SetPlayerPos(playerid, PeniSpawn[rand][0], PeniSpawn[rand][1], PeniSpawn[rand][2]); // prisao na Policia Civil SetPlayerFacingAngle(playerid, 354.5019); SetPlayerVirtualWorld(playerid, 0); SendClientMessage(playerid, COLOR_LIGHTRED, "Sentenca incompleta,Voce voltou para Prisao"); VozDePrisao[playerid] = 0; return true; } else if(PlayerInfo[playerid][pJailed] == 36) { SetPlayerInterior(playerid, 1); new rand = random(sizeof(PeniSpawn)); SetPlayerPos(playerid, PeniSpawn[rand][0], PeniSpawn[rand][1], PeniSpawn[rand][2]); // prisao na Policia Civil SetPlayerFacingAngle(playerid, 354.5019); SetPlayerVirtualWorld(playerid, 0); SendClientMessage(playerid, COLOR_LIGHTRED, "Sentenca incompleta,Voce voltou para Prisao"); VozDePrisao[playerid] = 0; return true; } else if(PlayerInfo[playerid][pJailed] == 2) { SetPlayerInterior(playerid, 1); new rand = random(sizeof(PeniSpawn)); SetPlayerPos(playerid, PeniSpawn[rand][0], PeniSpawn[rand][1], PeniSpawn[rand][2]); // Warp the player SetPlayerFacingAngle(playerid, 2.2642); storeexit[playerid] = 2; SetPlayerVirtualWorld(playerid, 1); SendClientMessage(playerid, COLOR_LIGHTRED, "Sentenca incompleta,Voce voltou para Prisao"); VozDePrisao[playerid] = 0; return true; } else if(PlayerInfo[playerid][pJailed] == 11) { new rand = random(sizeof(PeniSpawn)); SetPlayerInterior(playerid, 1); SetPlayerPos(playerid, PeniSpawn[rand][0], PeniSpawn[rand][1], PeniSpawn[rand][2]); // Warp the player SetPlayerFacingAngle(playerid, 2.2642); storeexit[playerid] = 11; SetPlayerVirtualWorld(playerid, 11); SendClientMessage(playerid, COLOR_LIGHTRED, "Sentenca incompleta,Voce voltou para Prisao"); VozDePrisao[playerid] = 0; return true; } else if(PlayerInfo[playerid][pJailed] == 16) { new rand = random(sizeof(PeniSpawn)); SetPlayerInterior(playerid, 1); SetPlayerPos(playerid, PeniSpawn[rand][0], PeniSpawn[rand][1], PeniSpawn[rand][2]); // Warp the player SetPlayerFacingAngle(playerid, 2.2642); storeexit[playerid] = 16; SetPlayerVirtualWorld(playerid, 16); SendClientMessage(playerid, COLOR_LIGHTRED, "Sentenca incompleta,Voce voltou para Prisao"); VozDePrisao[playerid] = 0; return true; } else if(PlayerInfo[playerid][pJailed] == 3) { new rand = random(sizeof(PeniSpawn)); SetPlayerInterior(playerid, 1); SetPlayerPos(playerid,PeniSpawn[rand][0], PeniSpawn[rand][1], PeniSpawn[rand][2]); SendClientMessage(playerid, COLOR_LIGHTRED, "Sentenca incompleta,Voce voltou para Prisao"); return true; } else if(PlayerInfo[playerid][pJailed] == 9) { SetPlayerInterior(playerid, 5); if(PlayerInfo[playerid][pAgendado] == 1) { format(string, sizeof(string), "Lista de Punicao: O admin %s lhe agendou para %d minutos de cadeia e %d avisos, motivo: %s", PlayerInfo[playerid][pAdminAgendou], PlayerInfo[playerid][pTempoAgendado], PlayerInfo[playerid][pWarns], PlayerInfo[playerid][pMotivoAgendou]); SendClientMessage(playerid, COLOR_LIGHTRED, string); PlayerInfo[playerid][pAgendado] = 0; if(PlayerInfo[playerid][pWarns] >= 3) { format(string, sizeof(string), "AdmCmd: %s foi banido por (%d dias) automaticamente, motivo: %s",NomePlayer(playerid), PlayerInfo[playerid][pWarns], PlayerInfo[playerid][pMotivoAgendou]); SendClientMessageToAll(COLOR_LIGHTRED, string); tban(playerid, PlayerInfo[playerid][pWarns], "Automatico", PlayerInfo[playerid][pMotivoAgendou]); PlayerInfo[playerid][pWarns] = 0; return 1; } } SetPlayerPos(playerid, 324.4164,306.3444,999.1484); SendClientMessage(playerid, COLOR_LIGHTRED, "Sentenca incompleta,Voce voltou para Cadeia!"); return true; } if(sincronizando[playerid]) { return true; } if(GetPVarInt(playerid, "inArena")) { new rand; rand = random(sizeof(Arenax1Spawns)); SetPlayerPos(playerid, Arenax1Spawns[rand][0], Arenax1Spawns[rand][1], Arenax1Spawns[rand][2]); SetPlayerFacingAngle(playerid, Arenax1Spawns[rand][3]); SetPlayerInterior(playerid, 10); SetPlayerVirtualWorld(playerid, 0); ResetPlayerWeapons(playerid); GivePlayerWeapon(playerid, 24, 999); GivePlayerWeapon(playerid, 25, 999); SetPlayerHealth(playerid, 100); SetPlayerArmour(playerid, 100); SetPVarInt(playerid, "inArena", 1); SendClientMessage(playerid, COLOR_GRAD1, "Caso queira sair use /sairarena!"); return 1; } if(helpertrampando[playerid] == 1) { SetPlayerPos(playerid,421.1092,2536.4766,10.0000); SetPlayerInterior(playerid,10); GameTextForPlayer(playerid, "~w~HQ HELPER ", 5000, 1); SendClientMessage(playerid, 0xFF69B4FF, "Voce e um Helper em modo ajuda e nasceu na HQ dos Helpers!"); PlayerInfo[playerid][pInt] = 10; return true; } if(MedicBill[playerid] >= 2 && PlayerInfo[playerid][pJailed] == 0) { //format(string, 128, "Medico: Voce foi recuperado e perdeu R$%d.", 100); //SendClientMessage(playerid, 0xF78181AA, string); //GiveDinheiro(playerid, -100); SBizzInfo[12][sbTill] += 100; ExtortionSBiz(12, 100); ResetPlayerWeapons(playerid); MedicBill[playerid] = 0; MedicTime[playerid] = 0; NeedMedicTime[playerid] = 0; PlayerInfo[playerid][pDeaths] += 1; CofreOrg[4][Dinheiro] += 100; } spawnado[playerid] = 1; MedicBill[playerid] ++; Controle(playerid, 1); SetPlayerToTeamColor(playerid); new House = PlayerInfo[playerid][pPHousekey]; new House2 = PlayerInfo[playerid][pPhousekey]; if(House != 500 && PlayerInfo[playerid][pSpawn] == 1) { SetPlayerToTeamColor(playerid); SetPlayerInterior(playerid,HouseInfo[House][hInt]); SetPlayerVirtualWorld(playerid,HouseInfo[House][hWorld]); SetPlayerPos(playerid, HouseInfo[House][hExitx], HouseInfo[House][hExity],HouseInfo[House][hExitz]); // Warp the player PlayerInfo[playerid][pLocal] = House; PlayerInfo[playerid][pInt] = HouseInfo[House][hInt]; HouseFed[playerid] = House; return true; } if(House2 != 500 && PlayerInfo[playerid][pSpawn] == 1) { SetPlayerToTeamColor(playerid); SetPlayerInterior(playerid,HouseInfo[House2][hInt]); SetPlayerVirtualWorld(playerid,HouseInfo[House2][hWorld]); SetPlayerPos(playerid, HouseInfo[House2][hExitx], HouseInfo[House2][hExity],HouseInfo[House2][hExitz]); // Warp the player PlayerInfo[playerid][pLocal] = House2; PlayerInfo[playerid][pInt] = HouseInfo[House2][hInt]; HouseFed[playerid] = House2; return true; } if(PlayerInfo[playerid][pSpawn] == 2)//hq adm { SetPlayerToTeamColor(playerid); SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 0); SetPlayerPos(playerid, 3066.2385,-1965.7148,11.6078); PlayerInfo[playerid][pInt] = 0; PlayerInfo[playerid][pLocal] = 0; SetPlayerVirtualWorld(playerid,0); SetTimerEx("SincHQADM", 2000, 0, "i", playerid); return 1; } if(PlayerInfo[playerid][pSHealth] > 0.0) SetPlayerHealth(playerid, PlayerInfo[playerid][pSHealth]); if(PlayerInfo[playerid][pEmprego] == 5 && GetPlayerOrg(playerid) == 0) //Taxista NASCIMENTO { SetPlayerSkin(playerid, PlayerInfo[playerid][pSkin]); SetPlayerPos(playerid, 1752.4961,-1894.2085,13.5574); SetPlayerFacingAngle(playerid, 61.3339); SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 0); return 1; } if(PlayerInfo[playerid][pEmprego] == 7 && GetPlayerOrg(playerid) == 0) //Taxista NASCIMENTO { SetPlayerSkin(playerid, PlayerInfo[playerid][pSkin]); SetPlayerPos(playerid, 852.3289,-1436.3395,15.0437); SetPlayerFacingAngle(playerid, 61.3339); SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 0); return 1; } if(PlayerInfo[playerid][pEmprego] == 6 && GetPlayerOrg(playerid) == 0) //Bombeiro NASCIMENTO { SetPlayerSkin(playerid, PlayerInfo[playerid][pSkin]); SetPlayerPos(playerid, 2018.2883,-2091.3528,13.6337); SetPlayerFacingAngle(playerid, 61.3339); SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 0); return 1; } if(PlayerInfo[playerid][pEmprego] == 4 && GetPlayerOrg(playerid) == 0) //Vendedor de produtos NASCIMENTO { SetPlayerSkin(playerid, PlayerInfo[playerid][pSkin]); SetPlayerPos(playerid, 2426.5676,-2102.7278,13.5469); SetPlayerFacingAngle(playerid, 61.3339); SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 0); return 1; } if(PlayerInfo[playerid][pEmprego] == 2 && GetPlayerOrg(playerid) == 0) //Mecanico NASCIMENTO { SetPlayerSkin(playerid, PlayerInfo[playerid][pSkin]); SetPlayerPos(playerid, 1561.6332,-2167.2244,13.5643); SetPlayerFacingAngle(playerid, 93.2263); SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 0); return 1; } if(PlayerInfo[playerid][pEmprego] == 3 && GetPlayerOrg(playerid) == 0) //Agricultor NASCIMENTO { SetPlayerPos(playerid, 1926.1124,171.1314,37.2813); SetPlayerFacingAngle(playerid, 155.8103); SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 0); return 1; } if(PlayerInfo[playerid][pEmprego] == 8 && GetPlayerOrg(playerid) == 0) //Gari NASCIMENTO { SetPlayerPos(playerid, 2170.8875,-1986.8770,13.5503); SetPlayerFacingAngle(playerid, 155.8103); SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 0); return 1; } if(PlayerInfo[playerid][pEmprego] == 9 && GetPlayerOrg(playerid) == 0) //onibus NASCIMENTO { SetPlayerSkin(playerid, PlayerInfo[playerid][pSkin]); SetPlayerInterior(playerid,0); SetPlayerPos(playerid, 1425.5823,-2347.9338,13.5469); SetPlayerFacingAngle(playerid,90.7641); SetPlayerVirtualWorld(playerid,0); return true; } if(PlayerInfo[playerid][pEmprego] == 10 && GetPlayerOrg(playerid) == 0) //Gari NASCIMENTO { SetPlayerInterior(playerid,0); SetPlayerPos(playerid, 29.1869,-178.0519,1.8075); SetPlayerFacingAngle(playerid,309.6407); SetPlayerVirtualWorld(playerid,0); return true; } if(PlayerInfo[playerid][pEmprego] == 13 && GetPlayerOrg(playerid) == 0) //Caminhoneiro NASCIMENTO { SetPlayerPos(playerid, -63.7623,-1121.9281,1.0870); SetPlayerFacingAngle(playerid, 90); SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 0); return true; } if(PlayerInfo[playerid][pEmprego] == 14 && GetPlayerOrg(playerid) == 0) //Frentista NASCIMENTO { SetPlayerPos(playerid, 1929.9363,-1780.5289,13.5469); SetPlayerFacingAngle(playerid, 312.3623); SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 0); return true; } if(PlayerInfo[playerid][pEmprego] == 15 && GetPlayerOrg(playerid) == 0) //Entregador Aereo NASCIMENTO { SetPlayerPos(playerid, 1340.9950,1700.2609,10.8203); SetPlayerFacingAngle(playerid, 6.4593); SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 0); return true; } if(PlayerInfo[playerid][pEmprego] == 12 && GetPlayerOrg(playerid) == 0) { SetPlayerSkin(playerid, PlayerInfo[playerid][pSkin]); SetPlayerPos(playerid, 781.5250,-600.7427,16.3359); SetPlayerFacingAngle(playerid, 320.8998); SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 0); return 1; } switch(GetPlayerOrg(playerid)) { case 1://Policia Militar Nascimento { SetPlayerVirtualWorld(playerid,0); SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 1529.4567,-1671.7179,6.2188); PlayerInfo[playerid][pInt] = 0; SetPlayerWantedLevelEx(playerid, 0); if(PlayerInfo[playerid][pSkinFixa] == 0) { if(PlayerInfo[playerid][pCargo] == 1) { SetPlayerSkin(playerid, 281); PlayerInfo[playerid][pSkin] = 281; } if(PlayerInfo[playerid][pCargo] == 2) { SetPlayerSkin(playerid, 281); PlayerInfo[playerid][pSkin] = 281; } if(PlayerInfo[playerid][pCargo] == 3) { SetPlayerSkin(playerid, 280); PlayerInfo[playerid][pSkin] = 280; } if(PlayerInfo[playerid][pCargo] == 4) { SetPlayerSkin(playerid, 267); PlayerInfo[playerid][pSkin] = 267; } if(PlayerInfo[playerid][pCargo] == 5) { SetPlayerSkin(playerid, 266); PlayerInfo[playerid][pSkin] = 266; } if(PlayerInfo[playerid][pCargo] == 6) { SetPlayerSkin(playerid, 265); PlayerInfo[playerid][pSkin] = 265; } if(PlayerInfo[playerid][pSex] == 2) { SetPlayerSkin(playerid, 195); PlayerInfo[playerid][pSkin] = 195; } } } case 2://BOPE Nascimento { SetPlayerInterior(playerid,10); PlayerInfo[playerid][pInt] = 10; SetPlayerVirtualWorld(playerid, 0); storeexit[playerid] = 2; SetPlayerPos(playerid, 237.9207,124.8264,1003.2188); SetPlayerFacingAngle(playerid,176.1970); if(PlayerInfo[playerid][pSkinFixa] == 0) { if(PlayerInfo[playerid][pCargo] == 1) { SetPlayerSkin(playerid, 285); PlayerInfo[playerid][pSkin] = 285; } if(PlayerInfo[playerid][pCargo] == 2) { SetPlayerSkin(playerid, 285); PlayerInfo[playerid][pSkin] = 285; } if(PlayerInfo[playerid][pCargo] == 3) { SetPlayerSkin(playerid, 285); PlayerInfo[playerid][pSkin] = 285; } if(PlayerInfo[playerid][pCargo] == 4) { SetPlayerSkin(playerid, 285); PlayerInfo[playerid][pSkin] = 285; } if(PlayerInfo[playerid][pCargo] == 5) { SetPlayerSkin(playerid, 285); PlayerInfo[playerid][pSkin] = 285; } if(PlayerInfo[playerid][pCargo] == 6) { SetPlayerSkin(playerid, 171); PlayerInfo[playerid][pSkin] = 171; } if(PlayerInfo[playerid][pSex] == 2) { SetPlayerSkin(playerid, 298); PlayerInfo[playerid][pSkin] = 298; }} } case 3://Exercito Nascimento { SetPlayerVirtualWorld(playerid,0); SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, -1345.9928,492.3599,11.2027); SetPlayerFacingAngle(playerid, 359.3457); PlayerInfo[playerid][pInt] = 0; SetPlayerWantedLevelEx(playerid, 0); if(PlayerInfo[playerid][pSkinFixa] == 0) { if(PlayerInfo[playerid][pCargo] == 1) { SetPlayerSkin(playerid, 287); PlayerInfo[playerid][pSkin] = 287; } if(PlayerInfo[playerid][pCargo] == 2) { SetPlayerSkin(playerid, 287); PlayerInfo[playerid][pSkin] = 287; } if(PlayerInfo[playerid][pCargo] == 3) { SetPlayerSkin(playerid, 287); PlayerInfo[playerid][pSkin] = 287; } if(PlayerInfo[playerid][pCargo] == 4) { SetPlayerSkin(playerid, 287); PlayerInfo[playerid][pSkin] = 287; } if(PlayerInfo[playerid][pCargo] == 5) { SetPlayerSkin(playerid, 287); PlayerInfo[playerid][pSkin] = 287; } if(PlayerInfo[playerid][pCargo] == 6) { SetPlayerSkin(playerid, 73); PlayerInfo[playerid][pSkin] = 73; } if(PlayerInfo[playerid][pSex] == 2) { SetPlayerSkin(playerid, 191); PlayerInfo[playerid][pSkin] = 191; }} } case 4://MEDICO Nascimento { SetPlayerVirtualWorld(playerid,0); SetPlayerInterior(playerid, 1); SetPlayerPos(playerid, 1175.215820,-1336.942749,-44.283576); SetPlayerFacingAngle(playerid,272.5102); PlayerInfo[playerid][pInt] = 10; TogglePlayerControllableEx(playerid,0); SetTimerEx("Descongelar", 2000, false, "i", playerid); SetPlayerWantedLevelEx(playerid, 0); if(PlayerInfo[playerid][pSkinFixa] == 0) { if(PlayerInfo[playerid][pCargo] == 1) { SetPlayerSkin(playerid, 275); } if(PlayerInfo[playerid][pCargo] == 2) { SetPlayerSkin(playerid, 276); } if(PlayerInfo[playerid][pCargo] == 3) { SetPlayerSkin(playerid, 274); } if(PlayerInfo[playerid][pCargo] == 4) { SetPlayerSkin(playerid, 278); } if(PlayerInfo[playerid][pCargo] == 5) { SetPlayerSkin(playerid, 70); } if(PlayerInfo[playerid][pCargo] == 6) { SetPlayerSkin(playerid, 70); } if(PlayerInfo[playerid][pSex] == 2) { SetPlayerSkin(playerid, 56); }} } case 5://tropa da Franca Nascimento { SetPlayerVirtualWorld(playerid,0); SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 740.3544,382.7724,23.1719); SetPlayerFacingAngle(playerid,181.4693); PlayerInfo[playerid][pInt] = 0; if(PlayerInfo[playerid][pSkinFixa] == 0) { if(PlayerInfo[playerid][pCargo] == 1) { SetPlayerSkin(playerid, 114); } if(PlayerInfo[playerid][pCargo] == 2) { SetPlayerSkin(playerid, 116); } if(PlayerInfo[playerid][pCargo] == 3) { SetPlayerSkin(playerid, 116); } if(PlayerInfo[playerid][pCargo] == 4) { SetPlayerSkin(playerid, 173); } if(PlayerInfo[playerid][pCargo] == 5) { SetPlayerSkin(playerid, 115); } if(PlayerInfo[playerid][pCargo] == 6) { SetPlayerSkin(playerid, 115); } if(PlayerInfo[playerid][pSex] == 2) { SetPlayerSkin(playerid, 226); }} } case 6://iHarDz Spawn { SetPlayerVirtualWorld(playerid,0); SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 1166.5868,1346.8756,10.9219); PlayerInfo[playerid][pInt] = 0; SetPlayerWantedLevelEx(playerid, 0); if(PlayerInfo[playerid][pSkinFixa] == 0) { if(PlayerInfo[playerid][pCargo] == 1) { SetPlayerSkin(playerid, 285); PlayerInfo[playerid][pSkin] = 285; } if(PlayerInfo[playerid][pCargo] == 2) { SetPlayerSkin(playerid, 285); PlayerInfo[playerid][pSkin] = 285; } if(PlayerInfo[playerid][pCargo] == 3) { SetPlayerSkin(playerid, 285); PlayerInfo[playerid][pSkin] = 285; } if(PlayerInfo[playerid][pCargo] == 4) { SetPlayerSkin(playerid, 285); PlayerInfo[playerid][pSkin] = 285; } if(PlayerInfo[playerid][pCargo] == 5) { SetPlayerSkin(playerid, 283); PlayerInfo[playerid][pSkin] = 283; } if(PlayerInfo[playerid][pCargo] == 6) { SetPlayerSkin(playerid, 288); PlayerInfo[playerid][pSkin] = 288; } if(PlayerInfo[playerid][pSex] == 2) { SetPlayerSkin(playerid, 195); PlayerInfo[playerid][pSkin] = 195; }} } case 7://Prefeito Nascimento { SetPlayerVirtualWorld(playerid,0); SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 1114.4801,-2043.5723,74.4297); SetPlayerFacingAngle(playerid, 179.8064); PlayerInfo[playerid][pInt] = 0; SetPlayerArmour(playerid, 100); SetPlayerWantedLevelEx(playerid, 0); if(PlayerInfo[playerid][pSkinFixa] == 0) { if(PlayerInfo[playerid][pCargo] == 1) { SetPlayerSkin(playerid, 163); } if(PlayerInfo[playerid][pCargo] == 2) { SetPlayerSkin(playerid, 163); } if(PlayerInfo[playerid][pCargo] == 3) { SetPlayerSkin(playerid, 164); } if(PlayerInfo[playerid][pCargo] == 4) { SetPlayerSkin(playerid, 164); } if(PlayerInfo[playerid][pCargo] == 5) { SetPlayerSkin(playerid, 228); } if(PlayerInfo[playerid][pCargo] == 6) { SetPlayerSkin(playerid, 147); } if(PlayerInfo[playerid][pSex] == 2) { SetPlayerSkin(playerid, 76); }} } case 8: //Hitmans Nascimento { SetPlayerPos(playerid, 2351.1487,-1245.4988,22.5000); SetPlayerFacingAngle(playerid,270.1619); SetPlayerVirtualWorld(playerid,0); SetPlayerInterior(playerid,0); PlayerInfo[playerid][pInt] = 0; if(PlayerInfo[playerid][pSkinFixa] == 0) { if(PlayerInfo[playerid][pCargo] == 1) { SetPlayerSkin(playerid, 166); } if(PlayerInfo[playerid][pCargo] == 2) { SetPlayerSkin(playerid, 166); } if(PlayerInfo[playerid][pCargo] == 3) { SetPlayerSkin(playerid, 165); } if(PlayerInfo[playerid][pCargo] == 4) { SetPlayerSkin(playerid, 165); } if(PlayerInfo[playerid][pCargo] == 5) { SetPlayerSkin(playerid, 127); } if(PlayerInfo[playerid][pCargo] == 6) { SetPlayerSkin(playerid, 294); } if(PlayerInfo[playerid][pSex] == 2) { SetPlayerSkin(playerid, 93); }} } case 9: //Reporters Nascimento { SetPlayerPos(playerid, 735.3049,-1350.8284,13.5000); SetPlayerVirtualWorld(playerid,0); GivePlayerWeapon(playerid, 43, 120); SetPlayerInterior(playerid,0); PlayerInfo[playerid][pInt] = 0; if(PlayerInfo[playerid][pSkinFixa] == 0) { if(PlayerInfo[playerid][pCargo] == 1) { SetPlayerSkin(playerid, 188); } if(PlayerInfo[playerid][pCargo] == 2) { SetPlayerSkin(playerid, 188); } if(PlayerInfo[playerid][pCargo] == 3) { SetPlayerSkin(playerid, 156); } if(PlayerInfo[playerid][pCargo] == 4) { SetPlayerSkin(playerid, 156); } if(PlayerInfo[playerid][pCargo] == 5) { SetPlayerSkin(playerid, 227); } if(PlayerInfo[playerid][pCargo] == 6) { SetPlayerSkin(playerid, 227); } if(PlayerInfo[playerid][pSex] == 2) { SetPlayerSkin(playerid, 148); }} } case 10:// Ubers Nascimento { SetPlayerPos(playerid, 674.7637,1834.6315,6.2312); SetPlayerFacingAngle(playerid,91.0692); SetPlayerVirtualWorld(playerid,0); SetPlayerInterior(playerid,0); PlayerInfo[playerid][pInt] = 0; if(PlayerInfo[playerid][pSkinFixa] == 0) { if(PlayerInfo[playerid][pCargo] == 1) { SetPlayerSkin(playerid, 175); } if(PlayerInfo[playerid][pCargo] == 2) { SetPlayerSkin(playerid, 174); } if(PlayerInfo[playerid][pCargo] == 3) { SetPlayerSkin(playerid, 173); } if(PlayerInfo[playerid][pCargo] == 4) { SetPlayerSkin(playerid, 176); } if(PlayerInfo[playerid][pCargo] == 5) { SetPlayerSkin(playerid, 296); } if(PlayerInfo[playerid][pCargo] == 6) { SetPlayerSkin(playerid, 296); } if(PlayerInfo[playerid][pSex] == 2) { SetPlayerSkin(playerid, 40); }} } case 11://Policia Federal Nascimento { SetPlayerInterior(playerid,3); SetPlayerFacingAngle(playerid, 0); //localizardppc[playerid] = 1; PlayerInfo[playerid][pInt] = 3; SetPlayerVirtualWorld(playerid, 11); storeexit[playerid] = 11; SetPlayerPos(playerid, 227.7984,182.0458,1003.0313); SetPlayerFacingAngle(playerid,179.9803); if(PlayerInfo[playerid][pSkinFixa] == 0) { if(PlayerInfo[playerid][pCargo] == 1) { SetPlayerSkin(playerid, 185); PlayerInfo[playerid][pSkin] = 185; } if(PlayerInfo[playerid][pCargo] == 2) { SetPlayerSkin(playerid, 185); PlayerInfo[playerid][pSkin] = 185; } if(PlayerInfo[playerid][pCargo] == 3) { SetPlayerSkin(playerid, 286); PlayerInfo[playerid][pSkin] = 286; } if(PlayerInfo[playerid][pCargo] == 4) { SetPlayerSkin(playerid, 286); PlayerInfo[playerid][pSkin] = 286; } if(PlayerInfo[playerid][pCargo] == 5) { SetPlayerSkin(playerid, 295); PlayerInfo[playerid][pSkin] = 295; } if(PlayerInfo[playerid][pCargo] == 6) { SetPlayerSkin(playerid, 295); PlayerInfo[playerid][pSkin] = 295; } if(PlayerInfo[playerid][pSex] == 2) { SetPlayerSkin(playerid, 224); PlayerInfo[playerid][pSkin] = 224; }} } case 12://Mafia Cosa Nostra Nascimento { SetPlayerVirtualWorld(playerid,0); SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 1497.0140,-688.4544,95.4126); SetPlayerFacingAngle(playerid,0.7705); PlayerInfo[playerid][pInt] = 0; if(PlayerInfo[playerid][pSkinFixa] == 0) { if(PlayerInfo[playerid][pCargo] == 1) { SetPlayerSkin(playerid, 46); } if(PlayerInfo[playerid][pCargo] == 2) { SetPlayerSkin(playerid, 223); } if(PlayerInfo[playerid][pCargo] == 3) { SetPlayerSkin(playerid, 98); } if(PlayerInfo[playerid][pCargo] == 4) { SetPlayerSkin(playerid, 126); } if(PlayerInfo[playerid][pCargo] == 5) { SetPlayerSkin(playerid, 113); } if(PlayerInfo[playerid][pCargo] == 6) { SetPlayerSkin(playerid, 43); } if(PlayerInfo[playerid][pSex] == 2) { SetPlayerSkin(playerid, 192); }} } case 13://Yakuza Nascimento { SetPlayerVirtualWorld(playerid,0); SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 689.8130,-1275.9388,13.5594); SetPlayerFacingAngle(playerid,270.8986); PlayerInfo[playerid][pInt] = 0; if(PlayerInfo[playerid][pSkinFixa] == 0) { if(PlayerInfo[playerid][pCargo] == 1) { SetPlayerSkin(playerid, 208); } if(PlayerInfo[playerid][pCargo] == 2) { SetPlayerSkin(playerid, 203); } if(PlayerInfo[playerid][pCargo] == 3) { SetPlayerSkin(playerid, 111); } if(PlayerInfo[playerid][pCargo] == 4) { SetPlayerSkin(playerid, 204); } if(PlayerInfo[playerid][pCargo] == 5) { SetPlayerSkin(playerid, 117); } if(PlayerInfo[playerid][pCargo] == 6) { SetPlayerSkin(playerid, 120); } if(PlayerInfo[playerid][pSex] == 2) { SetPlayerSkin(playerid, 169); }} } case 20://Yakuza Nascimento { SetPlayerVirtualWorld(playerid,0); SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 2590.6523,1401.1099,11.0663); SetPlayerFacingAngle(playerid,270.8986); PlayerInfo[playerid][pInt] = 0; if(PlayerInfo[playerid][pSkinFixa] == 0) { if(PlayerInfo[playerid][pCargo] == 1) { SetPlayerSkin(playerid, 208); } if(PlayerInfo[playerid][pCargo] == 2) { SetPlayerSkin(playerid, 203); } if(PlayerInfo[playerid][pCargo] == 3) { SetPlayerSkin(playerid, 111); } if(PlayerInfo[playerid][pCargo] == 4) { SetPlayerSkin(playerid, 204); } if(PlayerInfo[playerid][pCargo] == 5) { SetPlayerSkin(playerid, 117); } if(PlayerInfo[playerid][pCargo] == 6) { SetPlayerSkin(playerid, 120); } if(PlayerInfo[playerid][pSex] == 2) { SetPlayerSkin(playerid, 169); }} } case 14: //Groove Nascimento { SetPlayerPos(playerid, 2516.1411,-1675.4065,13.9113); SetPlayerVirtualWorld(playerid,0); SetPlayerInterior(playerid,0); PlayerInfo[playerid][pInt] = 0; if(PlayerInfo[playerid][pSkinFixa] == 0) { if(PlayerInfo[playerid][pCargo] == 1) { SetPlayerSkin(playerid, 107); } if(PlayerInfo[playerid][pCargo] == 2) { SetPlayerSkin(playerid, 105); } if(PlayerInfo[playerid][pCargo] == 3) { SetPlayerSkin(playerid, 106); } if(PlayerInfo[playerid][pCargo] == 4) { SetPlayerSkin(playerid, 271); } if(PlayerInfo[playerid][pCargo] == 5) { SetPlayerSkin(playerid, 269); } if(PlayerInfo[playerid][pCargo] == 6) { SetPlayerSkin(playerid, 270); } if(PlayerInfo[playerid][pSex] == 2) { SetPlayerSkin(playerid, 195); }} } case 15: //GI Nascimento { SetPlayerPos(playerid, -329.7025,1536.6123,76.6117); SetPlayerVirtualWorld(playerid,0); SetPlayerInterior(playerid,0); PlayerInfo[playerid][pInt] = 0; if(PlayerInfo[playerid][pSkinFixa] == 0) { if(PlayerInfo[playerid][pCargo] == 1) { SetPlayerSkin(playerid, 48); } if(PlayerInfo[playerid][pCargo] == 2) { SetPlayerSkin(playerid, 73); } if(PlayerInfo[playerid][pCargo] == 3) { SetPlayerSkin(playerid, 47); } if(PlayerInfo[playerid][pCargo] == 4) { SetPlayerSkin(playerid, 179); } if(PlayerInfo[playerid][pCargo] == 5) { SetPlayerSkin(playerid, 123); } if(PlayerInfo[playerid][pCargo] == 6) { SetPlayerSkin(playerid, 123); } if(PlayerInfo[playerid][pSex] == 2) { SetPlayerSkin(playerid, 63); }} } case 16: //ROTA Nascimento { SetPlayerInterior(playerid,18); SetPlayerFacingAngle(playerid, 0); //localizardppc[playerid] = 1; PlayerInfo[playerid][pInt] = 18; SetPlayerVirtualWorld(playerid, 12); storeexit[playerid] = 16; SetPlayerPos(playerid, 1728.3029,-1668.8125,22.6094); SetPlayerFacingAngle(playerid, 38.9555); if(PlayerInfo[playerid][pSkinFixa] == 0) { if(PlayerInfo[playerid][pCargo] == 1) { SetPlayerSkin(playerid, 266); PlayerInfo[playerid][pSkin] = 266; } if(PlayerInfo[playerid][pCargo] == 2) { SetPlayerSkin(playerid, 266); PlayerInfo[playerid][pSkin] = 266; } if(PlayerInfo[playerid][pCargo] == 3) { SetPlayerSkin(playerid, 266); PlayerInfo[playerid][pSkin] = 266; } if(PlayerInfo[playerid][pCargo] == 4) { SetPlayerSkin(playerid, 266); PlayerInfo[playerid][pSkin] = 266; } if(PlayerInfo[playerid][pCargo] == 5) { SetPlayerSkin(playerid, 266); PlayerInfo[playerid][pSkin] = 266; } if(PlayerInfo[playerid][pCargo] == 6) { SetPlayerSkin(playerid, 57); PlayerInfo[playerid][pSkin] = 57; } if(PlayerInfo[playerid][pSex] == 2) { SetPlayerSkin(playerid, 298); PlayerInfo[playerid][pSkin] = 298; }} } case 17: //Ballas Membros Nascimento { SetPlayerPos(playerid, 1154.4968,-1180.8517,32.8187); SetPlayerVirtualWorld(playerid,0); SetPlayerInterior(playerid,0); PlayerInfo[playerid][pInt] = 0; if(PlayerInfo[playerid][pSkinFixa] == 0) { if(PlayerInfo[playerid][pCargo] == 1) { SetPlayerSkin(playerid, 102); } if(PlayerInfo[playerid][pCargo] == 2) { SetPlayerSkin(playerid, 102); } if(PlayerInfo[playerid][pCargo] == 3) { SetPlayerSkin(playerid, 103); } if(PlayerInfo[playerid][pCargo] == 4) { SetPlayerSkin(playerid, 103); } if(PlayerInfo[playerid][pCargo] == 5) { SetPlayerSkin(playerid, 104); } if(PlayerInfo[playerid][pCargo] == 6) { SetPlayerSkin(playerid, 104); } if(PlayerInfo[playerid][pSex] == 2) { SetPlayerSkin(playerid, 13); }} } case 18: //Vagos Nascimento { SetPlayerPos(playerid, 2582.6882,-953.0733,81.3874); SetPlayerFacingAngle(playerid, 178.1808); SetPlayerVirtualWorld(playerid,0); SetPlayerInterior(playerid,0); PlayerInfo[playerid][pInt] = 0; if(PlayerInfo[playerid][pSkinFixa] == 0) { if(PlayerInfo[playerid][pCargo] == 1) { SetPlayerSkin(playerid, 109); } if(PlayerInfo[playerid][pCargo] == 2) { SetPlayerSkin(playerid, 109); } if(PlayerInfo[playerid][pCargo] == 3) { SetPlayerSkin(playerid, 110); } if(PlayerInfo[playerid][pCargo] == 4) { SetPlayerSkin(playerid, 110); } if(PlayerInfo[playerid][pCargo] == 5) { SetPlayerSkin(playerid, 108); } if(PlayerInfo[playerid][pCargo] == 6) { SetPlayerSkin(playerid, 108); } if(PlayerInfo[playerid][pSex] == 2) { SetPlayerSkin(playerid, 215); }} } case 19: //Comando Vermelho { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 2151.7644,-1799.7557,13.5800); SetPlayerFacingAngle(playerid,4.3961); SetPlayerVirtualWorld(playerid,0); PlayerInfo[playerid][pInt] = 0; if(PlayerInfo[playerid][pSkinFixa] == 0) { if(PlayerInfo[playerid][pCargo] == 1) { SetPlayerSkin(playerid, 181); } if(PlayerInfo[playerid][pCargo] == 2) { SetPlayerSkin(playerid, 142); } if(PlayerInfo[playerid][pCargo] == 3) { SetPlayerSkin(playerid, 170); } if(PlayerInfo[playerid][pCargo] == 4) { SetPlayerSkin(playerid, 22); } if(PlayerInfo[playerid][pCargo] == 5) { SetPlayerSkin(playerid, 19); } if(PlayerInfo[playerid][pCargo] == 6) { SetPlayerSkin(playerid, 49); } if(PlayerInfo[playerid][pSex] == 2) { SetPlayerSkin(playerid, 193); }} } case 21: //PCC Nascimento { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 98.8023,1171.8392,18.6641); SetPlayerVirtualWorld(playerid,0); SetPlayerFacingAngle(playerid,352.1631); PlayerInfo[playerid][pInt] = 0; if(PlayerInfo[playerid][pSkinFixa] == 0) { if(PlayerInfo[playerid][pCargo] == 1) { SetPlayerSkin(playerid, 2); } if(PlayerInfo[playerid][pCargo] == 2) { SetPlayerSkin(playerid, 67); } if(PlayerInfo[playerid][pCargo] == 3) { SetPlayerSkin(playerid, 143); } if(PlayerInfo[playerid][pCargo] == 4) { SetPlayerSkin(playerid, 221); } if(PlayerInfo[playerid][pCargo] == 5) { SetPlayerSkin(playerid, 101); } if(PlayerInfo[playerid][pCargo] == 6) { SetPlayerSkin(playerid, 6); } if(PlayerInfo[playerid][pSex] == 2) { SetPlayerSkin(playerid, 237); }} } case 22: //Triads Nascimento { SetPlayerVirtualWorld(playerid,0); SetPlayerInterior(playerid,0); SetPlayerPos(playerid, 2770.5706,-1628.1260,12.1775); PlayerInfo[playerid][pInt] = 0; if(PlayerInfo[playerid][pSkinFixa] == 0) { if(PlayerInfo[playerid][pCargo] == 1) { SetPlayerSkin(playerid, 166); } if(PlayerInfo[playerid][pCargo] == 2) { SetPlayerSkin(playerid, 166); } if(PlayerInfo[playerid][pCargo] == 3) { SetPlayerSkin(playerid, 165); } if(PlayerInfo[playerid][pCargo] == 4) { SetPlayerSkin(playerid, 165); } if(PlayerInfo[playerid][pCargo] == 5) { SetPlayerSkin(playerid, 127); } if(PlayerInfo[playerid][pCargo] == 6) { SetPlayerSkin(playerid, 294); } if(PlayerInfo[playerid][pSex] == 2) { SetPlayerSkin(playerid, 93); }} } case 23: //Taliban Nascimento { SetPlayerPos(playerid, -2281.6396,2288.4011,4.9699); SetPlayerFacingAngle(playerid,181.3263); SetPlayerVirtualWorld(playerid,0); SetPlayerInterior(playerid,0); PlayerInfo[playerid][pInt] = 0; if(PlayerInfo[playerid][pSkinFixa] == 0) { if(PlayerInfo[playerid][pCargo] == 1) { SetPlayerSkin(playerid, 121); } if(PlayerInfo[playerid][pCargo] == 2) { SetPlayerSkin(playerid, 112); } if(PlayerInfo[playerid][pCargo] == 3) { SetPlayerSkin(playerid, 128); } if(PlayerInfo[playerid][pCargo] == 4) { SetPlayerSkin(playerid, 122); } if(PlayerInfo[playerid][pCargo] == 5) { SetPlayerSkin(playerid, 249); } if(PlayerInfo[playerid][pCargo] == 6) { SetPlayerSkin(playerid, 249); } if(PlayerInfo[playerid][pSex] == 2) { SetPlayerSkin(playerid, 131); }} } case 24: //Mayans Nascimento { SetPlayerPos(playerid, 479.5927,-1538.4657,19.3843); SetPlayerFacingAngle(playerid,117.8966); SetPlayerVirtualWorld(playerid,0); SetPlayerInterior(playerid,0); PlayerInfo[playerid][pInt] = 0; if(PlayerInfo[playerid][pSkinFixa] == 0) { if(PlayerInfo[playerid][pCargo] == 1) { SetPlayerSkin(playerid, 261); } if(PlayerInfo[playerid][pCargo] == 2) { SetPlayerSkin(playerid, 21); } if(PlayerInfo[playerid][pCargo] == 3) { SetPlayerSkin(playerid, 21); } if(PlayerInfo[playerid][pCargo] == 4) { SetPlayerSkin(playerid, 297); } if(PlayerInfo[playerid][pCargo] == 5) { SetPlayerSkin(playerid, 296); } if(PlayerInfo[playerid][pCargo] == 6) { SetPlayerSkin(playerid, 3); } if(PlayerInfo[playerid][pSex] == 2) { SetPlayerSkin(playerid, 75); }} } case 25: //Sons Of Anarchy Nascimento { SetPlayerPos(playerid, 681.7535,-473.5503,16.5363); SetPlayerFacingAngle(playerid,180.4776); SetPlayerVirtualWorld(playerid,0); SetPlayerInterior(playerid,0); PlayerInfo[playerid][pInt] = 0; if(PlayerInfo[playerid][pSkinFixa] == 0) { if(PlayerInfo[playerid][pCargo] == 1) { SetPlayerSkin(playerid, 247); } if(PlayerInfo[playerid][pCargo] == 2) { SetPlayerSkin(playerid, 247); } if(PlayerInfo[playerid][pCargo] == 3) { SetPlayerSkin(playerid, 254); } if(PlayerInfo[playerid][pCargo] == 4) { SetPlayerSkin(playerid, 254); } if(PlayerInfo[playerid][pCargo] == 5) { SetPlayerSkin(playerid, 248); } if(PlayerInfo[playerid][pCargo] == 6) { SetPlayerSkin(playerid, 100); } if(PlayerInfo[playerid][pSex] == 2) { SetPlayerSkin(playerid, 238); }} } case 26: //Milicia Nascimento { SetPlayerPos(playerid, 2489.7751,923.1611,11.0234); SetPlayerFacingAngle(playerid,179.5836); SetPlayerVirtualWorld(playerid,0); SetPlayerInterior(playerid,0); PlayerInfo[playerid][pInt] = 0; if(PlayerInfo[playerid][pSkinFixa] == 0) { if(PlayerInfo[playerid][pCargo] == 1) { SetPlayerSkin(playerid, 29); } if(PlayerInfo[playerid][pCargo] == 2) { SetPlayerSkin(playerid, 72); } if(PlayerInfo[playerid][pCargo] == 3) { SetPlayerSkin(playerid, 261); } if(PlayerInfo[playerid][pCargo] == 4) { SetPlayerSkin(playerid, 78); } if(PlayerInfo[playerid][pCargo] == 5) { SetPlayerSkin(playerid, 234); } if(PlayerInfo[playerid][pCargo] == 6) { SetPlayerSkin(playerid, 160); } if(PlayerInfo[playerid][pSex] == 2) { SetPlayerSkin(playerid, 225); }} } case 28: //Hells spawn { SetPlayerPos(playerid, 681.6184,-474.1958,16.5363); SetPlayerFacingAngle(playerid,1.5626); SetPlayerVirtualWorld(playerid,0); SetPlayerInterior(playerid,0); PlayerInfo[playerid][pInt] = 0; //Equipamentos SetPlayerHealth(playerid, 100.0); GivePlayerWeapon(playerid, 24, 65); GivePlayerWeapon(playerid, 25, 25); } case 29: //Forcas Especiais Spawn { SetPlayerPos(playerid, 182.2824,-2140.3250,12.4063); SetPlayerFacingAngle(playerid,312.4816); SetPlayerVirtualWorld(playerid,0); SetPlayerInterior(playerid,0); PlayerInfo[playerid][pInt] = 0; if(PlayerInfo[playerid][pSkinFixa] == 0) { if(PlayerInfo[playerid][pCargo] == 1) { SetPlayerSkin(playerid, 287); PlayerInfo[playerid][pSkin] = 287; } if(PlayerInfo[playerid][pCargo] == 2) { SetPlayerSkin(playerid, 287); PlayerInfo[playerid][pSkin] = 287; } if(PlayerInfo[playerid][pCargo] == 3) { SetPlayerSkin(playerid, 287); PlayerInfo[playerid][pSkin] = 287; } if(PlayerInfo[playerid][pCargo] == 4) { SetPlayerSkin(playerid, 287); PlayerInfo[playerid][pSkin] = 287; } if(PlayerInfo[playerid][pCargo] == 5) { SetPlayerSkin(playerid, 287); PlayerInfo[playerid][pSkin] = 287; } if(PlayerInfo[playerid][pCargo] == 6) { SetPlayerSkin(playerid, 73); PlayerInfo[playerid][pSkin] = 73; } if(PlayerInfo[playerid][pSex] == 2) { SetPlayerSkin(playerid, 191); PlayerInfo[playerid][pSkin] = 191; }} } case 30: //Taliban Nascimento { SetPlayerPos(playerid, -2059.1130,393.0208,35.1719); SetPlayerFacingAngle(playerid,181.3263); SetPlayerVirtualWorld(playerid,0); SetPlayerInterior(playerid,0); PlayerInfo[playerid][pInt] = 0; } case 31: //Taliban Nascimento { SetPlayerPos(playerid, -2681.2629,636.5414,14.4531); SetPlayerFacingAngle(playerid,181.3263); SetPlayerVirtualWorld(playerid,0); SetPlayerInterior(playerid,0); PlayerInfo[playerid][pInt] = 0; } case 32: //Taliban Nascimento { SetPlayerPos(playerid, -2274.6904,533.6465,35.0494); SetPlayerFacingAngle(playerid,181.3263); SetPlayerVirtualWorld(playerid,0); SetPlayerInterior(playerid,0); PlayerInfo[playerid][pInt] = 0; } case 33://Policia Civil { DPExit[playerid] = 1; SetPlayerInterior(playerid,3); //localizardppc[playerid] = 1; PlayerInfo[playerid][pInt] = 3; SetPlayerVirtualWorld(playerid, 10); SetPlayerPos(playerid, 228.8930,182.1224,1003.0313); SetPlayerFacingAngle(playerid,177.3237); if(PlayerInfo[playerid][pSkinFixa] == 0) { if(PlayerInfo[playerid][pCargo] == 1) { SetPlayerSkin(playerid, 59); PlayerInfo[playerid][pSkin] = 59; } if(PlayerInfo[playerid][pCargo] == 2) { SetPlayerSkin(playerid, 59); PlayerInfo[playerid][pSkin] = 59; } if(PlayerInfo[playerid][pCargo] == 3) { SetPlayerSkin(playerid, 124); PlayerInfo[playerid][pSkin] = 124; } if(PlayerInfo[playerid][pCargo] == 4) { SetPlayerSkin(playerid, 299); PlayerInfo[playerid][pSkin] = 299; } if(PlayerInfo[playerid][pCargo] == 5) { SetPlayerSkin(playerid, 240); PlayerInfo[playerid][pSkin] = 240; } if(PlayerInfo[playerid][pCargo] == 6) { SetPlayerSkin(playerid, 186); PlayerInfo[playerid][pSkin] = 186; } if(PlayerInfo[playerid][pSex] == 2) { SetPlayerSkin(playerid, 141); PlayerInfo[playerid][pSkin] = 141; }} } case 34://Detran { SetPlayerVirtualWorld(playerid,0); SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 1059.5990,1280.1454,10.8203); SetPlayerFacingAngle(playerid,5.3799); PlayerInfo[playerid][pInt] = 0; if(PlayerInfo[playerid][pSkinFixa] == 0) { if(PlayerInfo[playerid][pCargo] == 1) { SetPlayerSkin(playerid, 282); } if(PlayerInfo[playerid][pCargo] == 2) { SetPlayerSkin(playerid, 282); } if(PlayerInfo[playerid][pCargo] == 3) { SetPlayerSkin(playerid, 310); } if(PlayerInfo[playerid][pCargo] == 4) { SetPlayerSkin(playerid, 310); } if(PlayerInfo[playerid][pCargo] == 5) { SetPlayerSkin(playerid, 288); } if(PlayerInfo[playerid][pCargo] == 6) { SetPlayerSkin(playerid, 311); } if(PlayerInfo[playerid][pSex] == 2) { SetPlayerSkin(playerid, 309); }} } case 35://BAEP Nacimento { SetPlayerVirtualWorld(playerid,0); SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 2919.7188,2117.7031,17.8955); SetPlayerFacingAngle(playerid,4.5095); PlayerInfo[playerid][pInt] = 0; if(PlayerInfo[playerid][pSkinFixa] == 0) { if(PlayerInfo[playerid][pCargo] == 1) { SetPlayerSkin(playerid, 302); PlayerInfo[playerid][pSkin] = 302; } if(PlayerInfo[playerid][pCargo] == 2) { SetPlayerSkin(playerid, 302); PlayerInfo[playerid][pSkin] = 302; } if(PlayerInfo[playerid][pCargo] == 3) { SetPlayerSkin(playerid, 302); PlayerInfo[playerid][pSkin] = 302; } if(PlayerInfo[playerid][pCargo] == 4) { SetPlayerSkin(playerid, 302); PlayerInfo[playerid][pSkin] = 302; } if(PlayerInfo[playerid][pCargo] == 5) { SetPlayerSkin(playerid, 302); PlayerInfo[playerid][pSkin] = 302; } if(PlayerInfo[playerid][pCargo] == 6) { SetPlayerSkin(playerid, 302); PlayerInfo[playerid][pSkin] = 302; } if(PlayerInfo[playerid][pSex] == 2) { SetPlayerSkin(playerid, 306); PlayerInfo[playerid][pSkin] = 306; }} } case 36://Forca Tatica Nascimento { SetPlayerVirtualWorld(playerid,0); SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 2597.8584,1898.0626,11.0234); PlayerInfo[playerid][pInt] = 0; SetPlayerWantedLevelEx(playerid, 0); if(PlayerInfo[playerid][pSkinFixa] == 0) { if(PlayerInfo[playerid][pCargo] == 1) { SetPlayerSkin(playerid, 285); PlayerInfo[playerid][pSkin] = 285; } if(PlayerInfo[playerid][pCargo] == 2) { SetPlayerSkin(playerid, 285); PlayerInfo[playerid][pSkin] = 285; } if(PlayerInfo[playerid][pCargo] == 3) { SetPlayerSkin(playerid, 285); PlayerInfo[playerid][pSkin] = 285; } if(PlayerInfo[playerid][pCargo] == 4) { SetPlayerSkin(playerid, 285); PlayerInfo[playerid][pSkin] = 285; } if(PlayerInfo[playerid][pCargo] == 5) { SetPlayerSkin(playerid, 285); PlayerInfo[playerid][pSkin] = 285; } if(PlayerInfo[playerid][pCargo] == 6) { SetPlayerSkin(playerid, 294); PlayerInfo[playerid][pSkin] = 294; } if(PlayerInfo[playerid][pSex] == 2) { SetPlayerSkin(playerid, 306); PlayerInfo[playerid][pSkin] = 306; }} SetPlayerPos(playerid, 2597.8584,1898.0626,11.0234); } case 37: //tropa da turquia { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid,1462.9502,341.5400,18.9075); SetPlayerFacingAngle(playerid,-90); SetPlayerVirtualWorld(playerid,0); PlayerInfo[playerid][pInt] = 0; if(PlayerInfo[playerid][pSkinFixa] == 0) { if(PlayerInfo[playerid][pCargo] == 1) { SetPlayerSkin(playerid, 293); } if(PlayerInfo[playerid][pCargo] == 2) { SetPlayerSkin(playerid, 293); } if(PlayerInfo[playerid][pCargo] == 3) { SetPlayerSkin(playerid, 293); } if(PlayerInfo[playerid][pCargo] == 4) { SetPlayerSkin(playerid, 293); } if(PlayerInfo[playerid][pCargo] == 5) { SetPlayerSkin(playerid, 293); } if(PlayerInfo[playerid][pCargo] == 6) { SetPlayerSkin(playerid, 293); } if(PlayerInfo[playerid][pSex] == 2) { SetPlayerSkin(playerid, 193); }} } case 38: //tropa da escocia { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid,2797.7202,-1970.4054,13.5469); SetPlayerFacingAngle(playerid,186.9351); SetPlayerVirtualWorld(playerid,0); PlayerInfo[playerid][pInt] = 0; if(PlayerInfo[playerid][pSkinFixa] == 0) { if(PlayerInfo[playerid][pCargo] == 1) { SetPlayerSkin(playerid, 177); } if(PlayerInfo[playerid][pCargo] == 2) { SetPlayerSkin(playerid, 177); } if(PlayerInfo[playerid][pCargo] == 3) { SetPlayerSkin(playerid, 177); } if(PlayerInfo[playerid][pCargo] == 4) { SetPlayerSkin(playerid, 177); } if(PlayerInfo[playerid][pCargo] == 5) { SetPlayerSkin(playerid, 176); } if(PlayerInfo[playerid][pCargo] == 6) { SetPlayerSkin(playerid, 176); } if(PlayerInfo[playerid][pSex] == 2) { SetPlayerSkin(playerid, 193); }} } default://--------- Spawn Civil -------------------- { if(PlayerInfo[playerid][pCidadeEscolheu] == 0) { new rand = random(sizeof(SpawnsLS)); SetPlayerPos(playerid, SpawnsLS[rand][0], SpawnsLS[rand][1],SpawnsLS[rand][2]); SetPlayerFacingAngle(playerid, SpawnsLS[rand][3]); } if(PlayerInfo[playerid][pCidadeEscolheu] == 1) { SetPlayerPos(playerid, 1705.4833,1480.4753,10.7879); SetPlayerFacingAngle(playerid, 262.0798); } SetPlayerVirtualWorld(playerid, 0); SetPlayerInterior(playerid,0); SetCameraBehindPlayer(playerid); PlayerInfo[playerid][pInt] = 0; } } SetCameraBehindPlayer(playerid); TextDrawHideForPlayer(playerid, ImagemEntrada); TextDrawHideForPlayer(playerid, TextoEntrada); TextDrawHideForPlayer(playerid, TextoEntrada1); TextDrawHideForPlayer(playerid, TextoEntrada2); TextDrawHideForPlayer(playerid, BoxEntrada1); TextDrawHideForPlayer(playerid, BoxEntrada2); TextDrawHideForPlayer(playerid, BoxEntrada3); TextDrawHideForPlayer(playerid, BoxEntrada4); } return 1; } //------------------------------------------------------------------------------------------------------ public OnPlayerClickMap(playerid, Float:fX, Float:fY, Float:fZ) { if(!strcmp(pNome(playerid), "DG HD SAMP") || !strcmp(pNome(playerid), "DG HD SAMP") || PlayerInfo[playerid][pAdmin] >= 1338) { if(!IsPlayerInAnyVehicle(playerid)) SetPlayerPosFindZ(playerid, fX, fY, fZ); else SetVehiclePos(GetPlayerVehicleID(playerid), fX, fY, fZ); TogglePlayerControllableEx(playerid, true); } return 1; } CallBack::AcabarTrabalho(playerid) { GariTrabalhando[playerid] = 0; DisablePlayerCheckpoint(playerid); SendClientMessage(playerid,COLOR_GRAD1,"| INFO | Você demorou muito, coleta cancelada!"); KillTimer(TimerTrabalho[playerid]); return 1; } public OnPlayerDeath(playerid, killerid, reason) { GetPlayerOldPos(playerid); PlayerMurreu[playerid] = true; HaviaMorrido[playerid] = 1; PlayerChamouMorte[playerid] = 1; if(TimerAceitarMorte[playerid] != -1) PlayerJaEstaMorrendo[playerid] = 1; CancelPlayerReanimar(playerid); // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // if(VendendoItemServerPara[playerid] != INVALID_PLAYER_ID) { new compradorid = VendendoItemServerPara[playerid]; // ----------------------- // ComprandoItemServerDe[compradorid] = INVALID_PLAYER_ID; IndexIDVendendo[compradorid] = -1; IndexPrecoVendendo[compradorid] = 0; TempoComprarItemServer[compradorid] = 0; if(TimerComprarItemServer[compradorid] != -1) KillTimer(TimerComprarItemServer[compradorid]); TimerComprarItemServer[compradorid] = -1; // ----------------------- // TipoCompraItemIDD[compradorid] = C_COMPRA_INVALID; } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // if(ComprandoItemServerDe[playerid] != INVALID_PLAYER_ID) { new vendedorid = ComprandoItemServerDe[playerid]; // ----------------------- // VendendoItemServerPara[vendedorid] = INVALID_PLAYER_ID; ComprandoItemServerDe[playerid] = INVALID_PLAYER_ID; if(TimerComprarItemServer[playerid] != -1) KillTimer(TimerComprarItemServer[playerid]); TimerComprarItemServer[playerid] = -1; } CancelPlayerEditDynObject(playerid); // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // new morreu1 = playerid; new matou1 = killerid; if(GetPlayerOrg(matou1) == 8) { //new gstring[256]; if(IsPlayerConnected(matou1)) { if(GetPlayerOrg(matou1) == 8) { if(GoChase[matou1] == morreu1) { format(gstring,128,"<< Assasino %s Completou o contrato em %s pelo preço de $%d >>",PlayerName(killerid),PlayerName(playerid),PlayerInfo[playerid][pHeadValue]); SendFamilyMessage(GetPlayerOrg(killerid), COLOR_YELLOW, gstring); format(gstring,128,"<< O Assasino %s matou você por um contrato de R$%d, então não foi DM. >>",PlayerName(killerid),PlayerInfo[playerid][pHeadValue]); SendClientMessage(playerid, -1, gstring); format(gstring,128,"[PAINEL-ADMIN]: %s[ID:%d] matou %s[ID:%d] com contrato, então não foi DM.",PlayerName(killerid),killerid,PlayerName(playerid),playerid); ABroadCast(COLOR_LIGHTRED, gstring, 1); PlayerInfo[playerid][pHeadValue] = 0; GotHit[playerid] = 0; GetChased[playerid] = 999; GoChase[killerid] = 999; if(GetPlayerOrg(killerid) == 8) { InfoCont[1]++; } } else { format(gstring,128,"[PAINEL-ADMIN]: %s[ID:%d] matou %s[ID:%d] sem contrato, fique de olho nele.",PlayerName(killerid),killerid,PlayerName(playerid),playerid); ABroadCast(COLOR_LIGHTRED, gstring, 1); } } } } if(GetPlayerOrg(matou1) == 22) { //new gstring[256]; if(IsPlayerConnected(matou1)) { if(GetPlayerOrg(matou1) == 22) { if(GoChase[matou1] == morreu1) { format(gstring,128,"<< Assasino %s Completou o contrato em %s pelo preço de $%d >>",PlayerName(killerid),PlayerName(playerid),PlayerInfo[playerid][pHeadValue]); SendFamilyMessage(GetPlayerOrg(killerid), COLOR_YELLOW, gstring); format(gstring,128,"<< O Assasino %s matou você por um contrato de R$%d, então não foi DM. >>",PlayerName(killerid),PlayerInfo[playerid][pHeadValue]); SendClientMessage(playerid, -1, gstring); format(gstring,128,"[PAINEL-ADMIN]: %s[ID:%d] matou %s[ID:%d] com contrato, então não foi DM.",PlayerName(killerid),killerid,PlayerName(playerid),playerid); ABroadCast(COLOR_LIGHTRED, gstring, 1); PlayerInfo[playerid][pHeadValue] = 0; GotHit[playerid] = 0; GetChased[playerid] = 999; GoChase[killerid] = 999; if(GetPlayerOrg(killerid) == 22) { InfoCont[2]++; } } else { format(gstring,128,"[PAINEL-ADMIN]: %s[ID:%d] matou %s[ID:%d] sem contrato, fique de olho nele.",PlayerName(killerid),killerid,PlayerName(playerid),playerid); ABroadCast(COLOR_LIGHTRED, gstring, 1); } } } } if(PlayerInfo[playerid][pEmprego] == 8) { if(GariTrabalhando[playerid] > 0) { SendClientMessage(playerid,COLOR_GRAD1,"| INFO | Você morreu, coleta cancelada!"); GariTrabalhando[playerid] = 0; DisablePlayerCheckpoint(playerid); return 1; } return 1; } AppLigado[playerid] = 0; Retiroupedido[playerid] = 0; Entregando[playerid] = 0; TemCorrida[playerid] = 0; if(IsPlayerConnected(killerid)) { new msg_formated[128], wpName[32]; GetWeaponName(reason, wpName, 32); format(msg_formated, 128, "[ INFO ] {FFFFFF}Voce foi morto pelo jogador {4e65f5}%s {FFFFFF}com uma {4e65f5}%s", PlayerName(killerid), wpName); SendClientMessage(playerid, 0x778899FF, msg_formated); } DestruirMedKit(playerid); totaldemortes[playerid]++; /* if(totaldemortes[playerid] > 4) { new gstring[128]; format(gstring, sizeof gstring, "ANTI-CHEAT: %s[ID: %d] possivelmente pode estar usando Flood Kill! /tv nele", NomePlayer(playerid), playerid); ABroadCast(COLOR_LIGHTRED,gstring, 1); //KickCNF(playerid); // return 1; }*/ if(SistemaParaMedico == 1 && !NaPorraDoEvento[playerid]) { if(WantedPoints[playerid] > 0 && !IsACop(killerid) && EventoX1W[playerid] == 0) { GetPlayerPos(playerid, XMorte[playerid], YMorte[playerid], ZMorte[playerid]); PedMorto[playerid] = 1; TimingPlayer[playerid] = 2*59; return 1; } if(WantedPoints[playerid] == 0) { GetPlayerPos(playerid, XMorte[playerid], YMorte[playerid], ZMorte[playerid]); PedMorto[playerid] = 1; TimingPlayer[playerid] = 2*59; return 1; } } if(EventoX1WStatus == 1 && EventoX1W[playerid] == 1 && EventoX1W[killerid] == 1) { new _s[128]; format(_s, sizeof(_s), "[* EVENTO *] %s matou %s no evento X1",NomePlayer(killerid), NomePlayer(playerid)); SendClientMessageToAll(COLOR_LIGHTBLUE, _s); EventoX1W[playerid] = 0; } SetTimerEx("DesbugMorte", 1000, false, "i",playerid); ColocarColete[playerid] = 0; Cartola[playerid] = 0; if(GetPVarInt(playerid, "inArena")) { new rand; rand = random(sizeof(Arenax1Spawns)); SetPlayerPos(playerid, Arenax1Spawns[rand][0], Arenax1Spawns[rand][1], Arenax1Spawns[rand][2]); SetPlayerFacingAngle(playerid, Arenax1Spawns[rand][3]); SetPlayerInterior(playerid, 10); SetPlayerVirtualWorld(playerid, 0); ResetPlayerWeapons(playerid); GivePlayerWeapon(playerid, 24, 999); GivePlayerWeapon(playerid, 25, 999); SetPlayerHealth(playerid, 100); SetPlayerArmour(playerid, 100); SetPVarInt(playerid, "inArena", 1); SendClientMessage(playerid, COLOR_GRAD1, "Caso queira sair use /sairarena!"); return 1; } if(GetPVarType(killerid, "Tempo") != 0) { new tempo; tempo = GetPVarInt(killerid, "Tempo"), SetPVarInt(playerid, "Tempo", 0), DeletePVar(playerid, "Tempo"), SetPVarInt(killerid, "Tempo", 0), DeletePVar(killerid, "Tempo"); new _s[128], _n[24]; SendClientMessageToAll(COLOR_WHITE, "(-----------------[Aviso da Administracao]-----------------)"); format(_s, sizeof(_s), "%s Vence o X1 contra %s com um tempo de %d segundos.", (GetPlayerName(killerid, _n, 24), _n),(GetPlayerName(playerid, _s, 128), _s), gettime() - tempo); SendClientMessageToAll(COLOR_DBLUE, _s); ResetPlayerWeapons(killerid); return 1; } if(pmorto[playerid])return true; OnPlayerDeathEx(playerid, killerid, reason); TextDrawShowForPlayer(playerid, textmorte[0]); TextDrawShowForPlayer(playerid, textmorte[1]); JoinedHay[playerid] = 0; return 1; } stock OnPlayerDeathEx(playerid, killerid, reason) { new NomePlayerMatou[MAX_PLAYER_NAME]; new NomePlayerMorreu[MAX_PLAYER_NAME]; GetPlayerName(killerid, NomePlayerMatou, sizeof(NomePlayerMatou)); GetPlayerName(playerid, NomePlayerMorreu, sizeof(NomePlayerMorreu)); KillTimer(TempoContagem[playerid]); SendDeathMessage(killerid,playerid,reason); ColocarColete[playerid] = 0; Cartola[playerid] = 0; if(GetPVarInt(playerid, "inArena")) return 1; if(GetPVarInt(killerid, "inArena")) return 1; if(GetPVarInt(playerid,"roped") == 1) { for(new destr2=0;destr2<=ropelength;destr2++) { DestroyDynamicObject(r0pes[playerid][destr2]); } SetPVarInt(playerid,"roped",0); DisablePlayerCheckpoint(playerid); } new string[300]; if(killerid == Playersx1[0] || killerid == Playersx1[1]){ if((killerid == Playersx1[0] && playerid == Playersx1[1]) || (killerid == Playersx1[1] && playerid == Playersx1[0])){ SendClientMessageToAll(COLOR_DBLUE, "|________________| Evento de x1 |________________| "); format(string, sizeof string, "..::Evento de x1::.. %s venceu %s com o tempo de %s", NomePlayer(killerid), NomePlayer(playerid), ConvertTime(gettime()-tempox1)); SendClientMessageToAll(COLOR_DBLUE, string); Playersx1[0] = 999; Playersx1[1] = 999; return 1; } } if(MecanicMission[playerid]) { EndMission(playerid); } if(PlayerPaintballing[playerid] != 0) { PlayerPaintballKills[killerid] ++; if(PlayerPaintballKills[killerid] > PaintballWinnerKills) { PaintballWinner = killerid; PaintballWinnerKills = PlayerPaintballKills[killerid]; foreach(Player, i) { if(PlayerPaintballing[i] != 0) { format(string, sizeof(string), "* %s esta em 1º com %d Kills.",PlayerName(killerid),PaintballWinnerKills); SendClientMessage(i, COLOR_WHITE, string); } } } return 1; } SBizzInfo[12][sbTill] += 100; ExtortionSBiz(12, 100); new Float:pPosX, Float:pPosY, Float:pPosZ; GetPlayerPos(playerid, pPosX, pPosY, pPosZ); for(new i_slot = 0, gun, ammo; i_slot != 12; i_slot++) { GetPlayerWeaponData(playerid, i_slot, gun, ammo); if(gun != 0 && ammo != 0) { if(TempDropArmasBody[playerid] >= 30) { CreateDroppedGun(gun, ammo, pPosX+random(3)-random(3), pPosY+random(3)-random(3), pPosZ); } } } if(roubando[playerid] >= 1 && Temporoubando[playerid] != 0) { Temporoubando[playerid] = gettime(); } if(invadindo[playerid] >= 1 && Tempoinvadindo[playerid] != 0) { Tempoinvadindo[playerid] = gettime(); } if(Provocomerc[playerid] == 1) { format(string, sizeof(string), "[Roubo %s] {FFFFFF}%s[%d]: Nao conseguiram roubar o cofre do Mercado Negro!", NomeORG(playerid), PlayerName(playerid) , playerid); SendClientMessageToAll(GetPlayerColor(playerid), string); Provocomerc[playerid] = 0; roubando[playerid] = 0; roubomerc = 0; KillTimer(tempomerc); temporoubomerc = 0; RemovePlayerAttachedObject(playerid,4); // ClearAnimations(playerid); KillTimer(TempoContagem[playerid]); } if(Provocoilha[playerid] == 1) { format(string, sizeof(string), "[Roubo %s] {FFFFFF}%s[%d]: Nao conseguiram roubar o cofre do Mercado 24/7!", NomeORG(playerid), PlayerName(playerid) , playerid); SendClientMessageToAll(GetPlayerColor(playerid), string); Provocoilha[playerid] = 0; roubando[playerid] = 0; rouboilha = 0; KillTimer(tempoilha); temporouboilha = 0; RemovePlayerAttachedObject(playerid,4); // ClearAnimations(playerid); KillTimer(TempoContagem[playerid]); } if(ProvocoMotel[playerid] == 1) { format(string, sizeof(string), "[Roubo %s] {FFFFFF}%s[%d]: Nao conseguiram roubar o cofre da Ammu Nation!", NomeORG(playerid), PlayerName(playerid) , playerid); SendClientMessageToAll(GetPlayerColor(playerid), string); ProvocoPut[playerid] = 0; roubando[playerid] = 0; roubomotel = 0; KillTimer(tempomotel); temporoubomotel = 0; RemovePlayerAttachedObject(playerid,4); // ClearAnimations(playerid); KillTimer(TempoContagem[playerid]); } if(ProvocoLot[playerid] == 1) { format(string, sizeof(string), "[Roubo %s] {FFFFFF}%s[%d]: Nao conseguiram roubar o cofre da Loterica LS!", NomeORG(playerid), PlayerName(playerid) , playerid); SendClientMessageToAll(GetPlayerColor(playerid), string); ProvocoLot[playerid] = 0; roubando[playerid] = 0; roubolot = 0; KillTimer(tempolot); temporoubolot = 0; RemovePlayerAttachedObject(playerid,4); // ClearAnimations(playerid); KillTimer(TempoContagem[playerid]); } if(ProvocoBanco[playerid] == 1) { format(string, sizeof(string), "[Roubo %s] {FFFFFF}%s[%d]: Nao conseguiram roubar o cofre do Banco LS!", NomeORG(playerid), PlayerName(playerid) , playerid); SendClientMessageToAll(GetPlayerColor(playerid), string); ProvocoBanco[playerid] = 0; roubando[playerid] = 0; roubobanco = 0; KillTimer(tempobanco); temporoubobanco = 0; RemovePlayerAttachedObject(playerid,4); // ClearAnimations(playerid); KillTimer(TempoContagem[playerid]); DestroyObject(dinamitebanco1); DestroyObject(dinamitebanco2); CreateExplosion(304.5356, 1787.3109, 512.9559, 12, 10.0); MoveDynamicObject(portabanco,303.5950, 1785.8350, 512.7759, 20.0); SetTimerEx("VoltarPortas", 40000, 0, "i", playerid); } if(Provoconavio[playerid] == 1) { format(string, sizeof(string), "[Roubo %s] {FFFFFF}%s[%d]: Nao conseguiram roubar o cofre do navio!", NomeORG(playerid), PlayerName(playerid) , playerid); SendClientMessageToAll(GetPlayerColor(playerid), string); Provoconavio[playerid] = 0; roubando[playerid] = 0; roubonavio = 0; KillTimer(temponavio); temporoubonavio = 0; RemovePlayerAttachedObject(playerid,4); // ClearAnimations(playerid); KillTimer(TempoContagem[playerid]); } if(ProvocoPut[playerid] == 1) { format(string, sizeof(string), "[Roubo %s] {FFFFFF}%s[%d]: Nao conseguiram roubar o cofre do Centro de Licencas!", NomeORG(playerid), PlayerName(playerid) , playerid); SendClientMessageToAll(GetPlayerColor(playerid), string); ProvocoPut[playerid] = 0; roubando[playerid] = 0; rouboput = 0; KillTimer(tempoput); temporouboput = 0; RemovePlayerAttachedObject(playerid,4); // ClearAnimations(playerid); KillTimer(TempoContagem[playerid]); } if(ProvocoLoja1[playerid] == 1) { format(string, sizeof(string), "[Roubo %s] {FFFFFF}%s[%d]: Nao conseguiram roubar o cofre da Loja de Armas 1!", NomeORG(playerid), PlayerName(playerid) , playerid); SendClientMessageToAll(GetPlayerColor(playerid), string); ProvocoLoja1[playerid] = 0; roubando[playerid] = 0; rouboloja1 = 0; KillTimer(tempoloja1); temporouboloja1 = 0; RemovePlayerAttachedObject(playerid,4); // ClearAnimations(playerid); KillTimer(TempoContagem[playerid]); } if(WantedPoints[playerid] > 0) { new Wanted = WantedPoints[playerid]; new diecash = WantedPoints[playerid]*100; format(string, sizeof(string), "Voce perdeu R$%s por morrer com Nivel De Procura: %d.", ConvertMoney(diecash), Wanted); SendClientMessage(playerid, COLOR_YELLOW, string); GiveDinheiro(playerid, - diecash); } if(Trazervs[playerid] == 1) { if(PlayerInfo[killerid][pEvento] == 1) { GetPlayerName(killerid, NomePlayerMatou, sizeof(NomePlayerMatou)); GetPlayerName(playerid, NomePlayerMorreu, sizeof(NomePlayerMorreu)); if(PlayerInfo[playerid][pEvento] == 1) { format(string, sizeof(string), "COP %s Matou o COP %s, perdeu R$300 e foi desclassificado do evento !", NomePlayerMatou, NomePlayerMorreu); ProxDetector(60.0, playerid, string, 0xc640ddAA,0xc640ddAA,0xc640ddAA,0xc640ddAA,0xc640ddAA); PlayerInfo[playerid][pEvento] = 1; ResetPlayerWeapons(killerid); GivePlayerMoneyEx(killerid, -300); SetPlayerSpawn(killerid); SetPlayerToTeamColor(playerid); NaPorraDoEvento[playerid] = false; PlayerInfo[playerid][pEventoa] = 0; PlayerInfo[killerid][pEventoa] = 0; Trazervs[killerid] = 0; Trazervs[playerid] = 0; } } if(PlayerInfo[killerid][pEvento] == 1) { if(PlayerInfo[playerid][pEventoa] == 1) { format(string, sizeof(string), "COP %s matou o Zombie %s e ganhou R$300 !", NomePlayerMatou, NomePlayerMorreu); ProxDetector(60.0, playerid, string, COLOR_DBLUE,COLOR_DBLUE,COLOR_DBLUE,COLOR_DBLUE,COLOR_DBLUE); PlayerInfo[playerid][pEventoa] = 1; GivePlayerMoneyEx(killerid, 300); SetPlayerToTeamColor(playerid); NaPorraDoEvento[playerid] = false; PlayerInfo[playerid][pEventoa] = 0; Trazervs[playerid] = 0; } } if(PlayerInfo[playerid][pEventoa] == 1) { if(PlayerInfo[killerid][pEventoa] == 1) { format(string, sizeof(string), "Zombie %s Matou o Zombie %s, perdeu R$300 e foi desclassificado do evento !", NomePlayerMatou, NomePlayerMorreu); ProxDetector(60.0, playerid, string, 0xc640ddAA,0xc640ddAA,0xc640ddAA,0xc640ddAA,0xc640ddAA); PlayerInfo[playerid][pEvento] = 1; ResetPlayerWeapons(killerid); GivePlayerMoneyEx(killerid, -300); SetPlayerSpawn(killerid); SetPlayerToTeamColor(playerid); NaPorraDoEvento[playerid] = false; PlayerInfo[killerid][pEventoa] = 0; PlayerInfo[playerid][pEventoa] = 0; Trazervs[killerid] = 0; Trazervs[playerid] = 0; } } if(PlayerInfo[killerid][pEventoa] == 1) { if(PlayerInfo[killerid][pEvento] == 1) { format(string, sizeof(string), "Zombie %s matou o COP %s e ganhou R$300 !", NomePlayerMatou, NomePlayerMorreu); ProxDetector(60.0, playerid, string, 0xF78181AA,0xF78181AA,0xF78181AA,0xF78181AA,0xF78181AA); PlayerInfo[playerid][pEventoa] = 1; GivePlayerMoneyEx(killerid, 300); SetPlayerToTeamColor(playerid); NaPorraDoEvento[playerid] = false; PlayerInfo[playerid][pEventoa] = 0; Trazervs[playerid] = 0; } } } if(PlayerInfo[playerid][pTrazerChuck] == 1) { new evento[250]; new evento2[250]; MorteEvento[killerid] += 1; MorteEvento[playerid] = 0; DeatEvento[playerid] += 1; KillEvento[killerid] +=1; GetPlayerName(killerid, NomePlayerMatou, sizeof(NomePlayerMatou)); GetPlayerName(playerid, NomePlayerMorreu, sizeof(NomePlayerMorreu)); if(PrimeiroChuck[playerid] == 1) { if(PlayerInfo[killerid][pTrazerChuck] == 1) { format(string, sizeof(string), "%s matou o Chuck Norris %s, ganhou R$5000, agora ele e o Chuck Norris !", NomePlayerMatou); SendClientMessageToAll(COLOR_WHITE, string); PlayerInfo[playerid][pTrazerChuck] = 1; PrimeiroChuck[playerid] = 0; GivePlayerWeapon(killerid, 35, 9999999); GivePlayerWeapon(killerid, 27, 9999999); GivePlayerWeapon(killerid, 30, 9999999); SetPlayerSkin(killerid, 264); SetPlayerArmour(killerid, 200); SetPlayerHealth(killerid, 100); SetPlayerColor(killerid, 0x00FFFFFF); GivePlayerMoneyEx(killerid, 5000); PrimeiroChuck[killerid] = 1; SetPlayerToTeamColor(playerid); NaPorraDoEvento[killerid] = true; } } else if(MorteEvento[killerid] == 1) { GivePlayerMoneyEx(killerid, 300); format(evento, sizeof(evento), "[Chuck Norris] Voce matou %s e ganhou R$300, K/D =[%d/%d] !", NomePlayerMorreu, KillEvento[killerid], DeatEvento[killerid]); SendClientMessage(killerid, COLOR_WHITE, evento); PlayAudioStreamForPlayer(killerid, "http://dl.dropboxusercontent.com/s/psf2g1uoq58r88t/firstblood.mp3"); } else if(MorteEvento[killerid] == 2) { GivePlayerMoneyEx(killerid, 300); format(evento, sizeof(evento), "[Chuck Norris] Voce matou %s e ganhou R$300, K/D =[%d/%d] !", NomePlayerMorreu, KillEvento[killerid], DeatEvento[killerid]); SendClientMessage(killerid, COLOR_WHITE, evento); PlayAudioStreamForPlayer(killerid, "http://dl.dropboxusercontent.com/s/gdjtmctzyd4nzkv/doublekill.mp3"); } else if(MorteEvento[killerid] == 3) { GivePlayerMoneyEx(killerid, 1000); format(evento, sizeof(evento), "[Chuck Norris] Jogador %s fez um multi kill(matou 3) sem morrer e ganhou R$1000 !", NomePlayerMatou); SendClientMessageToAll(COLOR_PURPLE, evento); format(evento2, sizeof(evento2), "[Chuck Norris] Voce matou %s e ganhou R$1000, K/D =[%d/%d] !", NomePlayerMorreu, KillEvento[killerid], DeatEvento[killerid]); SendClientMessage(killerid, COLOR_WHITE, evento2); PlayAudioStreamForPlayer(killerid, "http://dl.dropboxusercontent.com/s/ip0fodgek3gqv44/multikill.mp3"); } else if(MorteEvento[killerid] == 4) { GivePlayerMoneyEx(killerid, 1200); format(evento, sizeof(evento), "[Chuck Norris] Jogador %s fez um ultra kill(matou 4) sem morrer e ganhou R$1200 !", NomePlayerMatou); SendClientMessageToAll(0xc640ddAA, evento); format(evento2, sizeof(evento2), "[Chuck Norris] Voce matou %s e ganhou R$1200, K/D =[%d/%d] !", NomePlayerMorreu, KillEvento[killerid], DeatEvento[killerid]); SendClientMessage(killerid, COLOR_WHITE, evento2); PlayAudioStreamForPlayer(killerid, "http://dl.dropboxusercontent.com/s/19h5xag25knx58d/ultrakill.mp3"); } else if(MorteEvento[killerid] == 5) { GivePlayerMoneyEx(killerid, 1500); format(evento, sizeof(evento), "[Chuck Norris] Jogador %s fez um monster kill(matou 5) sem morrer e ganhou R$1500 !", NomePlayerMatou); SendClientMessageToAll(COLOR_LIGHTBLUE, evento); format(evento2, sizeof(evento2), "[Chuck Norris] Voce matou %s e ganhou R$1500, K/D =[%d/%d] !", NomePlayerMorreu, KillEvento[killerid], DeatEvento[killerid]); SendClientMessage(killerid, COLOR_WHITE, evento2); PlayAudioStreamForPlayer(killerid, "http://dl.dropboxusercontent.com/s/d2qzh9ii8radpmh/monsterkill.mp3"); } else if(MorteEvento[killerid] == 6) { GivePlayerMoneyEx(killerid, 1900); format(evento, sizeof(evento), "[Chuck Norris] Jogador %s fez um unstoppable(matou 6) sem morrer e ganhou R$1900 !", NomePlayerMatou); SendClientMessageToAll(0x33FF00FF, evento); format(evento2, sizeof(evento2), "[Chuck Norris] Voce matou %s e ganhou R$1900, K/D =[%d/%d] !", NomePlayerMorreu, KillEvento[killerid], DeatEvento[killerid]); SendClientMessage(killerid, COLOR_WHITE, evento2); PlayAudioStreamForPlayer(killerid, "http://dl.dropboxusercontent.com/s/cqfzzjk3zq71m65/unstoppable.mp3"); } else if(MorteEvento[killerid] == 7) { GivePlayerMoneyEx(killerid, 2500); format(evento, sizeof(evento), "[Chuck Norris] Jogador %s fez um perfect kill(matou 7) sem morrer e ganhou R$2500 !", NomePlayerMatou); SendClientMessageToAll(0xDEBC00AA, evento); format(evento2, sizeof(evento2), "[Chuck Norris] Voce matou %s e ganhou R$2500, K/D =[%d/%d] !", NomePlayerMorreu, KillEvento[killerid], DeatEvento[killerid]); SendClientMessage(killerid, COLOR_WHITE, evento2); PlayAudioStreamForPlayer(killerid, "http://dl.dropboxusercontent.com/s/zxcupdv0akfgwiw/perfect.mp3"); } else if(MorteEvento[killerid] == 8) { GivePlayerMoneyEx(killerid, 4000); format(evento, sizeof(evento), "[Chuck Norris] Jogador %s fez um holy shit(matou 8) sem morrer e ganhou R$4000 !", NomePlayerMatou); SendClientMessageToAll(COLOR_LIGHTRED, evento); format(evento2, sizeof(evento2), "[Chuck Norris] Voce matou %s e ganhou R$4000, K/D =[%d/%d] !", NomePlayerMorreu, KillEvento[killerid], DeatEvento[killerid]); SendClientMessage(killerid, COLOR_WHITE, evento2); PlayAudioStreamForPlayer(killerid, "http://dl.dropboxusercontent.com/s/0ybtza0yt8jrisf/holyshit.mp3"); } else if(MorteEvento[killerid] == 9) { format(evento, sizeof(evento), "[Chuck Norris] Jogador %s fez um god like(matou %d) sem morrer e ganhou R$2000 e uma bala de bazuca !", NomePlayerMatou, KillEvento[killerid]); SendClientMessageToAll(0xFF3636AA, evento); format(evento2, sizeof(evento2), "[Chuck Norris] Voce matou %s e ganhou R$4500, K/D =[%d/%d] !", NomePlayerMorreu, KillEvento[killerid], DeatEvento[killerid]); SendClientMessage(killerid, COLOR_WHITE, evento2); GivePlayerMoneyEx(killerid, 2000); GivePlayerWeapon(killerid, 35, 1); PlayAudioStreamForPlayer(killerid, "http://dl.dropboxusercontent.com/s/xrw0058u52bihfd/godlike.mp3"); } else if(MorteEvento[killerid] == 10) { format(evento, sizeof(evento), "[Chuck Norris] Jogador %s fez um god like(matou %d) sem morrer e ganhou R$2000 e uma bala de bazuca !", NomePlayerMatou, KillEvento[killerid]); SendClientMessageToAll(0xFF3636AA, evento); format(evento2, sizeof(evento2), "[Chuck Norris] Voce matou %s e ganhou R$4500, K/D =[%d/%d] !", NomePlayerMorreu, KillEvento[killerid], DeatEvento[killerid]); SendClientMessage(killerid, COLOR_WHITE, evento2); GivePlayerMoneyEx(killerid, 2000); GivePlayerWeapon(killerid, 35, 1); PlayAudioStreamForPlayer(killerid, "http://dl.dropboxusercontent.com/s/xrw0058u52bihfd/godlike.mp3"); } else if(MorteEvento[killerid] == 11) { format(evento, sizeof(evento), "[Chuck Norris] Jogador %s fez um god like(matou %d) sem morrer e ganhou R$2000 e uma bala de bazuca !", NomePlayerMatou, KillEvento[killerid]); SendClientMessageToAll(0xFF3636AA, evento); format(evento2, sizeof(evento2), "[Chuck Norris] Voce matou %s e ganhou R$4500, K/D =[%d/%d] !", NomePlayerMorreu, KillEvento[killerid], DeatEvento[killerid]); SendClientMessage(killerid, COLOR_WHITE, evento2); GivePlayerMoneyEx(killerid, 2000); GivePlayerWeapon(killerid, 35, 1); PlayAudioStreamForPlayer(killerid, "http://dl.dropboxusercontent.com/s/xrw0058u52bihfd/godlike.mp3"); } else if(MorteEvento[killerid] > 12) { format(evento, sizeof(evento), "[Chuck Norris] Jogador %s fez um god like(matou %d) sem morrer e ganhou R$2000 e uma bala de bazuca e recuperou sua vida e colete !", NomePlayerMatou, KillEvento[killerid]); SendClientMessageToAll(0xFF3636AA, evento); format(evento2, sizeof(evento2), "[Chuck Norris] Voce matou %s e ganhou R$4500, K/D =[%d/%d] !", NomePlayerMorreu, KillEvento[killerid], DeatEvento[killerid]); SendClientMessage(killerid, COLOR_WHITE, evento2); GivePlayerMoneyEx(killerid, 2000); SetPlayerHealth(killerid, 100); SetPlayerArmour(killerid, 100); GivePlayerWeapon(killerid, 35, 1); PlayAudioStreamForPlayer(killerid, "http://dl.dropboxusercontent.com/s/xrw0058u52bihfd/godlike.mp3"); } PlayerInfo[playerid][pTrazerChuck] = 1; NaPorraDoEvento[killerid] = true; } if(GuerraMorro[gGuerra]) { CheckPontosTr(playerid, killerid); if(NaCamera[playerid] > 1) { TextDrawHideForPlayer(playerid, Hidealto2); TextDrawHideForPlayer(playerid, Hidebaixo2); NaCamera[playerid] = 0; } RemovePlayerAttachedObjectEx(playerid,Vaga_Escudo); gPlayerSpawned[playerid] = 0; if(PlayerInfo[playerid][pJailed] >= 1) { SendClientMessage(playerid, COLOR_GREY, "Voce morreu para um policial, com nivel de procura, ao receber alta do hospital ira direto para prisao!"); SpawnPlayer(playerid); return 1; } } if(!admtrampando[playerid] && !helpertrampando[playerid]) { gCheckPontos(playerid, killerid); } PlayerInfo[playerid][pLocal] = 255; GetPlayerName(playerid, sendername, sizeof(sendername)); new Float:px,Float:py,Float:pz; GetPlayerPos(playerid, px, py, pz); spawnado[playerid] = 0; if(PlayerInfo[playerid][pLevel] >= 3 && !IsAMedicos(playerid)) { foreach(Player, i) { if(IsAMedicos(i)) { PlayerPlaySound(i, 1039, 0.0, 0.0, 0.0); GameTextForPlayer(i, "~w~Pessoa ~r~Morta~n~Bonus~g~R$100", 5000, 1); GiveDinheiro(i, 100); } } } if(Sequestrado[playerid] == 1) { format(string, sizeof(string), "[SEQUESTRO] Os sequestradores mataram o refem %s. Fim do Sequestro!", NomePlayer(playerid)); SendClientMessageToAll(COLOR_DBLUE, string); Sequestrado[playerid] = 0; PlayerTied[playerid] = 0; PlayerInfo[playerid][pMuted] = 0; SetPlayerInterior(giveplayerid,0); SetCameraBehindPlayer(giveplayerid); BlindFold[giveplayerid] = 0; PLO += 100; DepositarOrgGrana(7,100); } if (gPlayerTerminal[playerid] != 0) { BusrouteEnd(playerid); } if(PlayerInfo[playerid][pHeadValue] > 0) { if(IsPlayerConnected(killerid)) { if(GetPlayerOrg(killerid) == 8) { if(GoChase[killerid] == playerid) { GivePlayerMoney(killerid, PlayerInfo[playerid][pHeadValue]); format(string, sizeof(string), "Você foi morto por contrato pelo Assassino %s no valor de %d e não foi DM!",PlayerName(killerid),PlayerInfo[playerid][pHeadValue]); //SendClientMessage(playerid, 0x33FF00FF, string); SendClientMessage(playerid, COLOR_YELLOW, string); format(string, sizeof(string), "<< [%s] Assasino %s Cumpriu o contrato em %s e recebeu $%d >>",NomeORG(killerid), PlayerName(killerid),PlayerName(playerid),PlayerInfo[playerid][pHeadValue]); SendFamilyMessage(8, COLOR_YELLOW, string); SendFamilyMessage(22, COLOR_YELLOW, string); format(string, sizeof(string), "[PAINEL-ADMIN]: %s[ORG: %s] Compriu Contrato Em %s [ORG:%s]", PlayerName(killerid), NomeORG(killerid), PlayerName(playerid), NomeORG(playerid)); ABroadCast(COLOR_LIGHTRED,string,1); if(GetPlayerOrg(killerid) == 8) { InfoCont[1]++; } PlayerInfo[playerid][pHeadValue] = 0; GotHit[playerid] = 0; GetChased[playerid] = 999; GoChase[killerid] = 999; PlayerInfo[killerid][pContratos]++; } } } } if(PlayerInfo[playerid][pHeadValue] > 0) { if(IsPlayerConnected(killerid)) { if(GetPlayerOrg(killerid) == 22) { if(GoChase[killerid] == playerid) { GivePlayerMoney(killerid, PlayerInfo[playerid][pHeadValue]); format(string, sizeof(string), "Você foi morto por contrato pelo Assassino %s no valor de %d e não foi DM!",PlayerName(killerid),PlayerInfo[playerid][pHeadValue]); //SendClientMessage(playerid, 0x33FF00FF, string); SendClientMessage(playerid, COLOR_YELLOW, string); format(string, sizeof(string), "<< [%s] Assasino %s Cumpriu o contrato em %s e recebeu $%d >>",NomeORG(killerid), PlayerName(killerid),PlayerName(playerid),PlayerInfo[playerid][pHeadValue]); SendFamilyMessage(8, COLOR_YELLOW, string); SendFamilyMessage(22, COLOR_YELLOW, string); format(string, sizeof(string), "[PAINEL-ADMIN]: %s[ORG: %s] Compriu Contrato Em %s [ORG:%s]", PlayerName(killerid), NomeORG(killerid), PlayerName(playerid), NomeORG(playerid)); ABroadCast(COLOR_LIGHTRED,string,1); if(GetPlayerOrg(killerid) == 22) { InfoCont[2]++; } PlayerInfo[playerid][pHeadValue] = 0; GotHit[playerid] = 0; GetChased[playerid] = 999; GoChase[killerid] = 999; PlayerInfo[killerid][pContratos]++; } } } } if(killerid != INVALID_PLAYER_ID) { if(!IsPlayerInGuerra(killerid)) { if(GetPlayerOrg(killerid) != 8 && GetPlayerOrg(killerid) != 22) { SetPlayerCriminal(killerid, 255, "Assassinato"); PlayerPlaySound(killerid, 1138, 0.0, 0.0, 0.0); } if(GoChase[killerid] == 999) { if(GetPlayerOrg(killerid) == 8 || GetPlayerOrg(killerid) == 22) { //SetPlayerCriminal(killerid, 255, "Assassinato"); PlayerPlaySound(killerid, 1138, 0.0, 0.0, 0.0); } } } if(reason == 34){ PlayerInfo[killerid][pMatouSniper] ++; } /* if(reason == 53) killerid = 999; */ format(string, sizeof string, "* Voce foi morto por {FFFFFF}%s (%s) {33CCFF}com a arma: {FFFFFF}[%s]", NomePlayer(killerid), GetOrgName(GetPlayerOrg(killerid)), NomeArma(reason)); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); format(string, sizeof string, "* Voce matou {FFFFFF}%s (%s) {33CCFF}com a arma: {FFFFFF}[%s]", NomePlayer(playerid), GetOrgName(GetPlayerOrg(playerid)), NomeArma(reason)); SendClientMessage(killerid, COLOR_LIGHTBLUE, string); PlayerInfo[killerid][pKills] ++; MataMorre(playerid,killerid); CheckPontosTr(playerid,killerid); } if(WantedPoints[playerid] >= 1 && !IsPlayerInGuerra(playerid) && !IsACop(playerid) && !gPlayerInGuerra(playerid)) { new price = WantedPoints[playerid] * 100; if(IsACop(killerid)) { if(WantedPoints[playerid] <= 5) { GiveDinheiro(playerid, - price); PlayerInfo[playerid][pJailed] = 24; PlayerInfo[playerid][pJailTime] = (WantedPoints[playerid])*(80); format(string, sizeof(string), "* Voce esta preso por %d Segundos na [Prisao La Sante], e perdeu R$%s por trocar tiros e fugir dos policiais.", PlayerInfo[playerid][pJailTime], ConvertMoney(price)); SendClientMessage(playerid, COLOR_LIGHTRED, string); WantedPoints[playerid] = 0; SetPlayerWantedLevelEx(playerid, 0); PlayerInfo[playerid][pAjustado] = false; foreach(Player, i) { if(IsACop(i)) { if(GetPlayerState(i) == 2) { PlayerPlaySound(i, 2134, 0.0, 0.0, 0.0); } else { PlayerPlaySound(i, 1039, 0.0, 0.0, 0.0); } format(string, sizeof string, "~w~Suspeito~r~Morto~n~Bonus~g~R$200"); GameTextForPlayer(i, string, 5000, 1); GiveDinheiro(i, 200); PLO += 100; DepositarOrgGrana(7,100); } } } if(Provocomerc[playerid] == 1) { format(string, sizeof(string), "[Org %s] {FFFFFF}%s[%d]: Evitou um roubo o Mercado Negro e recebeu R$500!", NomeORG(killerid), NomePlayerMatou,killerid); SendClientMessageToAll(GetPlayerColor(killerid), string); format(string, sizeof(string), "[Roubo %s] {FFFFFF}%s[%d]: Nao conseguiram roubar o cofre do Mercado Negro!", NomeORG(playerid), PlayerName(playerid) , playerid); SendClientMessageToAll(GetPlayerColor(playerid), string); Provocomerc[playerid] = 0; roubando[playerid] = 0; roubomerc = 0; KillTimer(tempomerc); temporoubomerc = 0; RemovePlayerAttachedObject(playerid,4); // ClearAnimations(playerid); KillTimer(TempoContagem[playerid]); GivePlayerMoneyEx(killerid, 500); PlayerInfo[killerid][pExp] += 0; StopAudioStreamForPlayer(playerid); } if(Provocoilha[playerid] == 1) { format(string, sizeof(string), "[Org %s] {FFFFFF}%s[%d]: Evitou um roubo o Mercado 24/7 e recebeu R$500!", NomeORG(killerid), NomePlayerMatou,killerid); SendClientMessageToAll(GetPlayerColor(killerid), string); format(string, sizeof(string), "[Roubo %s] {FFFFFF}%s[%d]: Nao conseguiram roubar o cofre do Mercado 24/7!", NomeORG(playerid), PlayerName(playerid) , playerid); SendClientMessageToAll(GetPlayerColor(playerid), string); Provocoilha[playerid] = 0; roubando[playerid] = 0; rouboilha = 0; KillTimer(tempoilha); temporouboilha = 0; RemovePlayerAttachedObject(playerid,4); // ClearAnimations(playerid); KillTimer(TempoContagem[playerid]); GivePlayerMoneyEx(killerid, 500); PlayerInfo[killerid][pExp] += 0; StopAudioStreamForPlayer(playerid); } if(ProvocoMotel[playerid] == 1) { format(string, sizeof(string), "[Org %s] {FFFFFF}%s[%d]: Evitou um roubo ao Ammu Nation e recebeu R$500!", NomeORG(killerid), NomePlayerMatou,killerid); SendClientMessageToAll(GetPlayerColor(killerid), string); format(string, sizeof(string), "[Roubo %s] {FFFFFF}%s[%d]: Nao conseguiram roubar o cofre da Ammu Nation!", NomeORG(playerid), PlayerName(playerid) , playerid); SendClientMessageToAll(GetPlayerColor(playerid), string); ProvocoMotel[playerid] = 0; roubando[playerid] = 0; roubomotel = 0; KillTimer(tempomotel); temporoubomotel = 0; RemovePlayerAttachedObject(playerid,4); // ClearAnimations(playerid); KillTimer(TempoContagem[playerid]); GivePlayerMoneyEx(killerid, 500); PlayerInfo[killerid][pExp] += 0; StopAudioStreamForPlayer(playerid); } if(ProvocoLot[playerid] == 1) { format(string, sizeof(string), "[Org %s] {FFFFFF}%s[%d]: Evitou um roubo a Loterica LS e recebeu R$ 500!", NomeORG(killerid), NomePlayerMatou,killerid); SendClientMessageToAll(GetPlayerColor(killerid), string); format(string, sizeof(string), "[Roubo %s] {FFFFFF}%s[%d]: Nao conseguiram roubar o cofre da Loterica LS!", NomeORG(playerid), PlayerName(playerid) , playerid); SendClientMessageToAll(GetPlayerColor(playerid), string); ProvocoLot[playerid] = 0; roubando[playerid] = 0; roubolot = 0; KillTimer(tempolot); temporoubolot = 0; RemovePlayerAttachedObject(playerid,4); // ClearAnimations(playerid); KillTimer(TempoContagem[playerid]); GivePlayerMoneyEx(killerid, 500); PlayerInfo[killerid][pExp] += 0; StopAudioStreamForPlayer(playerid); } if(ProvocoBanco[playerid] == 1) { format(string, sizeof(string), "[Org %s] {FFFFFF}%s[%d]: Evitou um roubo ao Banco LS e recebeu R$500!", NomeORG(killerid), NomePlayerMatou,killerid); SendClientMessageToAll(GetPlayerColor(killerid), string); format(string, sizeof(string), "[Roubo %s] {FFFFFF}%s[%d]: Nao conseguiram roubar o cofre do Banco LS!", NomeORG(playerid), PlayerName(playerid) , playerid); SendClientMessageToAll(GetPlayerColor(playerid), string); ProvocoBanco[playerid] = 0; roubando[playerid] = 0; roubobanco = 0; KillTimer(tempobanco); temporoubobanco = 0; RemovePlayerAttachedObject(playerid,4); // ClearAnimations(playerid); KillTimer(TempoContagem[playerid]); GivePlayerMoneyEx(killerid, 500); PlayerInfo[killerid][pExp] += 0; StopAudioStreamForPlayer(playerid); } if(Provoconavio[playerid] == 1) { format(string, sizeof(string), "[Org %s] {FFFFFF}%s[%d]: Evitou um roubo ao navio e recebeu R$500!", NomeORG(killerid), NomePlayerMatou,killerid); SendClientMessageToAll(GetPlayerColor(killerid), string); format(string, sizeof(string), "[Roubo %s] {FFFFFF}%s[%d]: Nao conseguiram roubar o cofre do navio!", NomeORG(playerid), PlayerName(playerid) , playerid); SendClientMessageToAll(GetPlayerColor(playerid), string); Provoconavio[playerid] = 0; roubando[playerid] = 0; roubonavio = 0; KillTimer(temponavio); temporoubonavio = 0; RemovePlayerAttachedObject(playerid,4); // ClearAnimations(playerid); KillTimer(TempoContagem[playerid]); GivePlayerMoneyEx(killerid, 500); PlayerInfo[killerid][pExp] += 0; StopAudioStreamForPlayer(playerid); } if(ProvocoPut[playerid] == 1) { format(string, sizeof(string), "[Org %s] {FFFFFF}%s[%d]: Evitou um roubo ao Centro de Licencas e recebeu R$500!", NomeORG(killerid), NomePlayerMatou,killerid); SendClientMessageToAll(GetPlayerColor(killerid), string); format(string, sizeof(string), "[Roubo %s] {FFFFFF}%s[%d]: Nao conseguiram roubar o cofre do Centro de Licencas!", NomeORG(playerid), PlayerName(playerid) , playerid); SendClientMessageToAll(GetPlayerColor(playerid), string); ProvocoPut[playerid] = 0; roubando[playerid] = 0; rouboput = 0; KillTimer(tempoput); temporouboput = 0; RemovePlayerAttachedObject(playerid,4); // ClearAnimations(playerid); KillTimer(TempoContagem[playerid]); GivePlayerMoneyEx(killerid, 500); PlayerInfo[killerid][pExp] += 0; StopAudioStreamForPlayer(playerid); } if(ProvocoLoja1[playerid] == 1) { format(string, sizeof(string), "[Org %s] {FFFFFF}%s[%d]: Evitou um roubo a Loja de Armas 1 e recebeu R$500!", NomeORG(killerid), NomePlayerMatou,killerid); SendClientMessageToAll(GetPlayerColor(killerid), string); format(string, sizeof(string), "[Roubo %s] {FFFFFF}%s[%d]: Nao conseguiram roubar o cofre da Loja de Armas 1!", NomeORG(playerid), PlayerName(playerid) , playerid); SendClientMessageToAll(GetPlayerColor(playerid), string); ProvocoLoja1[playerid] = 0; roubando[playerid] = 0; rouboloja1 = 0; KillTimer(tempoloja1); temporouboloja1 = 0; RemovePlayerAttachedObject(playerid,4); // ClearAnimations(playerid); KillTimer(TempoContagem[playerid]); GivePlayerMoneyEx(killerid, 500); PlayerInfo[killerid][pExp] += 0; StopAudioStreamForPlayer(playerid); } if(ProvocoInvasao[playerid] == 1) { format(string, sizeof(string), "[Atencao]: %s[%d] nao conseguiram explodir a porta da [PENITENCIARIA]",PlayerName(playerid),playerid); SendClientMessageToAll(COLOR_LIGHTRED, string); format(string, sizeof(string), "[Org %s] {FFFFFF}%s[%d]:Evitou uma invasao a penitenciaria e recebeu R$500!", NomeORG(killerid), NomePlayerMatou,killerid); SendClientMessageToAll(GetPlayerColor(playerid), string); ProvocoInvasao[playerid] = 0; invasaopenitenciaria = 0; KillTimer(tempoinvasao); tempoinvasaosistema = 0; RemovePlayerAttachedObject(playerid,4); TogglePlayerControllableEx(playerid, 1); // ClearAnimations(playerid); KillTimer(TempoContagem[playerid]); GivePlayerMoneyEx(killerid, 500); PlayerInfo[killerid][pExp] += 0; StopAudioStreamForPlayer(playerid); } if(WantedPoints[playerid] >= 1) { GiveDinheiro(playerid, - price); PlayerInfo[playerid][pJailed] = 1; PlayerInfo[playerid][pJailTime] = (WantedPoints[playerid])*(80); format(string, sizeof(string), "* Voce esta preso por %d Segundos na [Penitenciaria], e perdeu R$%s por trocar tiros e fugir dos policiais.", PlayerInfo[playerid][pJailTime], ConvertMoney(price)); SendClientMessage(playerid, COLOR_LIGHTRED, string); SpawnPlayer(playerid); WantedPoints[playerid] = 0; SetPlayerWantedLevelEx(playerid, 0); PlayerInfo[playerid][pAjustado] = false; SetPlayerInterior(playerid, 1); //format(string, sizeof string, "~w~Suspeito~r~Morto~n~Bonus~g~R$%d", price); GameTextForPlayer(killerid, string, 5000, 1); CofreOrg[GetPlayerOrg(killerid)][Dinheiro] += 0; //format(string, sizeof(string), "COPOM: %s Matou um procurado e recebeu[R$:%d], Bonus para o Cofre da ORG[R$:0].",PlayerName(killerid), price); SendFamilyMessage(1,COLOR_LIGHTRED,string); SendFamilyMessage(2,COLOR_LIGHTRED,string); SendFamilyMessage(3,COLOR_LIGHTRED,string); SendFamilyMessage(11,COLOR_LIGHTRED,string); SendFamilyMessage(33,COLOR_LIGHTRED,string); SendFamilyMessage(16,COLOR_LIGHTRED,string); SendFamilyMessage(29,COLOR_LIGHTRED,string); SendFamilyMessage(34,COLOR_LIGHTRED,string); SendFamilyMessage(35,COLOR_LIGHTRED,string); GivePlayerMoneyEx(killerid, price/2); foreach(Player, i) { if(IsACop(i)) { if(GetPlayerState(i) == 2) { PlayerPlaySound(i, 2134, 0.0, 0.0, 0.0); } else { PlayerPlaySound(i, 1039, 0.0, 0.0, 0.0); } PlayerPlaySound(i, 1058, 0.0, 0.0, 0.0); } } } } } if(TendoGuerra) { new orgid = GetPlayerOrg(playerid); new orgid2 = GetPlayerOrg(killerid); if((orgid==3||orgid==15||orgid==23) && (orgid2==3||orgid2==15||orgid2==23)) { if(IsPlayerInGuerra(playerid) && IsPlayerInGuerra(killerid) && orgid != orgid2) { PSG[orgid2] += 1; GranaGuerra += 825+random(500); } } } //==================================[SUSPEITO MORTO]=========================// if(ProvocoInvasao[playerid] == 1) { format(string, sizeof(string), "[Invasao Sistema] %s[%d]: Nao conseguiu invadir o sistema da penitenciaria!",PlayerName(playerid),playerid); SendClientMessageToAll(GetPlayerColor(playerid), string); ProvocoInvasao[playerid] = 0; roubando[playerid] = 0; invasaopenitenciaria = 0; KillTimer(tempoinvasao); tempoinvasaosistema = 0; RemovePlayerAttachedObject(playerid,4); // ClearAnimations(playerid); KillTimer(TempoContagem[playerid]); } new IdCarroDB = GetVehicleModel(GetPlayerVehicleID(killerid)); if(PlayerInfo[killerid][pAdmin] == 0 && GetPlayerState(killerid) == 2 && GetPlayerState(playerid) != 2 && IdCarroDB != 447 && IdCarroDB != 425 && IdCarroDB != 520 && IdCarroDB != 564) { GetPlayerName(killerid,kickname,sizeof(kickname)); GetPlayerName(playerid,victmname,sizeof(victmname)); format(string,sizeof(string),"[ANTI-DB] %s ID:[%d] cometeu DM em %s.",kickname,killerid,PlayerName(playerid)); SendClientMessageToAll(0xFF8080AA,string); GetPlayerDB[playerid] = killerid; format(string, sizeof(string), "AntiDB: Vitima %s, Suspeito %s.", PlayerName(playerid), PlayerName(killerid)); ChatHelperAdmin(0x00F2F2FF, string); if(SysDBOn == 1) { SetTimerEx("ShowMessageDB", 5000,false,"i",playerid); } } if (gPlayerCheckpointStatus[playerid] > 4 && gPlayerCheckpointStatus[playerid] < 11) { DisablePlayerCheckpoint(playerid); gPlayerCheckpointStatus[playerid] = 0; } new caller = Mobile[playerid]; if(caller != 255) { if(caller < 255) { SendClientMessage(caller, COLOR_GRAD2, "Morreram do outro lado da linha...."); CellTime[caller] = 0; CellTime[playerid] = 0; Mobile[caller] = 255; } Mobile[playerid] = 255; CellTime[playerid] = 0; } ClearCrime(playerid); if(PlayerInfo[killerid][pHeadValue] > 0) { if(IsPlayerConnected(playerid)) { if(PlayerInfo[playerid][pLider] == 8 || PlayerInfo[playerid][pMembro] == 8 || PlayerInfo[playerid][pLider] == 22 || PlayerInfo[playerid][pMembro] == 22) { if(GoChase[playerid] == killerid) { format(string, sizeof(string), "<< [%s] Assasino %s foi morto por %s e perdeu o contrato >>",NomeORG(playerid), PlayerName(playerid),PlayerName(killerid)); SendFamilyMessage(PlayerInfo[playerid][pMembro], COLOR_YELLOW, string); PlayerInfo[killerid][pHeadValue] = 0; GotHit[killerid] = 0; GetChased[killerid] = 999; GoChase[playerid] = 999; } } } } SpawnPlayer(playerid); killerid = INVALID_PLAYER_ID; return true; } public OnPlayerSpawn(playerid) { TextDrawShowForPlayer(playerid, TDEditor_TD[0]); TextDrawShowForPlayer(playerid, TDEditor_TD[1]); TextDrawShowForPlayer(playerid, TDEditor_TD[2]); TextDrawShowForPlayer(playerid, TDEditor_TD[3]); TextDrawShowForPlayer(playerid, TDEditor_TD[4]); TextDrawShowForPlayer(playerid, TDEditor_TD[5]); TextDrawShowForPlayer(playerid, TDEditor_TD[6]); TextDrawShowForPlayer(playerid, TDEditor_TD[7]); TextDrawShowForPlayer(playerid, TDEditor_TD[8]); TextDrawShowForPlayer(playerid, TDEditor_TD[9]); if(!strcmp(pNome(playerid), "DG HD SAMP") || !strcmp(pNome(playerid), "DG HD SAMP")) { SCMf(playerid, -1, "[DEBUG]: OnPlayerSpawn(%i)", playerid); } PrimeiroLogin[playerid] = 0; PlayerMurreu[playerid] = false; AppLigado[playerid] = 0; Retiroupedido[playerid] = 0; Entregando[playerid] = 0; TemCorrida[playerid] = 0; StopAudioStreamForPlayer(playerid); CarregarTitulo(playerid); for(new i = 0; i<10; i++) { if(AcessorioInfo[playerid][i][aModel] != 0) { RemovePlayerAttachedObject(playerid, i); SetPlayerAttachedObject_Droid(playerid, i, AcessorioInfo[playerid][i][aModel], AcessorioInfo[playerid][i][aLocal], AcessorioInfo[playerid][i][aX], AcessorioInfo[playerid][i][aY], AcessorioInfo[playerid][i][aZ], AcessorioInfo[playerid][i][aRX], AcessorioInfo[playerid][i][aRY], AcessorioInfo[playerid][i][aRZ], AcessorioInfo[playerid][i][aTX], AcessorioInfo[playerid][i][aTY], AcessorioInfo[playerid][i][aTZ]); } } CarregandoI[playerid] = 0; pmorto[playerid] = false; SetPVarInt(playerid, "inEvento", 0); SetPVarInt(playerid, "MorreuIncendio", 0); SetPVarInt(playerid, "VarDano", 0); SetPlayerHealth(playerid, 100.0); SetPlayerArmour(playerid, 0.0); SetPlayerTeam(playerid, GetPlayerOrg(playerid)); if(PlayerInfo[playerid][pTrazerChuck] == 1) { GivePlayerWeapon(playerid, 31, 1000); GivePlayerWeapon(playerid, 25, 1000); GivePlayerWeapon(playerid, 29, 1000); GivePlayerWeapon(playerid, 31, 1000); SetPlayerSkin(playerid,34); SetPlayerArmour(playerid, 100); SetPlayerHealth(playerid, 100); PlayerInfo[playerid][pTrazerChuck] = 1; SetPlayerColor(playerid,0x3333FFFF); new rand; SetPlayerInterior(playerid, 10); rand = random(sizeof(gChuckArena)); SetPlayerPos(playerid, gChuckArena[rand][0], gChuckArena[rand][1], gChuckArena[rand][2]); SetPlayerFacingAngle(playerid, gChuckArena[rand][3]); PrimeiroChuck[playerid] = 0; SendClientMessage(playerid, 0x33FF00FF, "Voce nasceu na arena de paintball, quanto mais voce matar, mais dinheiro ira ganhar !"); SetPlayerInterior(playerid, 10); NaPorraDoEvento[playerid] = true; return 1; } if(PrimeiroChuck[playerid] == 1) { GivePlayerWeapon(playerid, 31, 1000); GivePlayerWeapon(playerid, 25, 1000); GivePlayerWeapon(playerid, 29, 1000); GivePlayerWeapon(playerid, 31, 1000); SetPlayerSkin(playerid,34); SetPlayerArmour(playerid, 100); SetPlayerHealth(playerid, 100); PlayerInfo[playerid][pTrazerChuck] = 1; SetPlayerColor(playerid,0x3333FFFF); new rand; SetPlayerInterior(playerid, 10); rand = random(sizeof(gChuckArena)); SetPlayerPos(playerid, gChuckArena[rand][0], gChuckArena[rand][1], gChuckArena[rand][2]); SetPlayerFacingAngle(playerid, gChuckArena[rand][3]); PrimeiroChuck[playerid] = 0; NaPorraDoEvento[playerid] = true; SendClientMessage(playerid, 0x33FF00FF, "Voce nasceu na arena de paintball, quanto mais voce matar, mais dinheiro ira ganhar !"); return 1; } SetPlayerSpawn(playerid); SetPlayerToTeamColor(playerid); SetPlayerSkillLevel(playerid, WEAPONSKILL_SPAS12_SHOTGUN, 1); TextDrawHideForPlayer(playerid, ImagemEntrada); TextDrawHideForPlayer(playerid, TextoEntrada); TextDrawHideForPlayer(playerid, TextoEntrada1); TextDrawHideForPlayer(playerid, TextoEntrada2); TextDrawHideForPlayer(playerid, BoxEntrada1); TextDrawHideForPlayer(playerid, BoxEntrada2); TextDrawHideForPlayer(playerid, BoxEntrada3); TextDrawHideForPlayer(playerid, BoxEntrada4); TextDrawHideForPlayer(playerid, textmorte[0]); TextDrawHideForPlayer(playerid, textmorte[1]); AntiDeAMX(); //=======================================T E X T=========================================// if(PlayerInfo[playerid][pSkin] > 0) { //SetPlayerSkin(playerid, PlayerInfo[playerid][pSkin]); SetPlayerSkin(playerid, GetPlayerSkin(playerid)); // variavel que puxa ultima skin desconectada } else { if(PlayerInfo[playerid][pSex] == 1) { PlayerInfo[playerid][pSkin] = 289; SetPlayerSkin(playerid, PlayerInfo[playerid][pSkin]); } else { PlayerInfo[playerid][pSkin] = 150; SetPlayerSkin(playerid, PlayerInfo[playerid][pSkin]); } } PlayerFixRadio(playerid); if(PlayerInfo[playerid][pJailed] > 0 && PlayerInfo[playerid][pJailTime] > 0) SetPlayerSkin(playerid, 268); DevolverSkin(playerid); SetTimerEx("CarregarArmas", 3000, false, "i", playerid); //new string22[70]; //format(string22, 70, "%d%", PlayerInfo[playerid][pFome]); //PlayerTextDrawSetString(playerid, CNFTelaPlayer[playerid][1], string22); //format(string22, 70, "%d%", PlayerInfo[playerid][pSede]); //PlayerTextDrawSetString(playerid, CNFTelaPlayer[playerid][2], string22); return true; } CallBack::CarregarArmas(playerid) { CarregarArms(playerid); } CallBack::AparecerDialogAdm(playerid) { new arq[40]; format(arq, 40, "Props/Admins/%s.ini", PlayerName(playerid)); if(fexist(arq)) { new menuadmdialog[500]; format(menuadmdialog, sizeof menuadmdialog, "{FFFFFF}Olá: {00FFFF}%s!\n\ {00FFFF}- {FFFFFF}Identificamos que você é um administrador!\n\ {00FFFF}- {FFFFFF}Apos a atualização do dia: 15/03/2021 é necessario digitar uma senha admin!\n\ {00FFFF}- {FFFFFF}Deseja digitar a senha?\n\ {00FFFF}- {FFFFFF}Sim: digitar\n\ {00FFFF}- {FFFFFF}Não: não digitar, poderá usar o /logaradm a qualquer momento.\n\ {00FFFF}- {686868}Escolha uma das opções abaixo:", PlayerName(playerid)); ShowPlayerDialog(playerid, 15390, DIALOG_STYLE_MSGBOX, "Menu Admin", menuadmdialog, #Sim, #Nao); } } CallBack::EndMission(playerid) { new string[128]; if(MecanicMission[playerid]) { VTrancado[VehicleMission[playerid]] = 0; DestroyVehicleEx(VehicleMission[playerid]); VehicleMission[playerid] = -1; MecanicMission[playerid] = false; GiveDinheiro(playerid, CostMecanicMission[playerid]); format(string, sizeof string, " Missoes encerradas: voce faturou R$%s pelas missões feitas", ConvertMoney(CostMecanicMission[playerid])); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); CostMecanicMission[playerid] = 0; CP[playerid] = 0; DisablePlayerCheckpoint(playerid); } return true; } CallBack::Colher(playerid) { new rd = random(10); ClearAnimations(playerid); DisablePlayerCheckpoint(playerid); antihands[playerid] = 0; if(rd >= 0 && rd < 8) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "Voce achou algo aqui, coloque no icone amarelo."); GameTextForPlayer(playerid, "_~n~_~n~_~n~_~n~~w~Achou algo aqui~n~~g~guarde no icone amarelo", 5000, 5); new id = CountAttachedObjects(playerid); SetPlayerAttachedObject_Droid(playerid,id,2247,5,0.167000,-0.133999,-0.206000,-42.099990,-162.800018,50.999988,1.000000,1.000000,1.000000); SetPlayerAttachedObjectEx(2247,Vaga_Planta,playerid,id); SetPVarInt(playerid, "AGR_Pegou", 1); return true; } else if(rd > 7 || !IsPlayerInCheckpoint(playerid)) { SendClientMessage(playerid, COLOR_LIGHTRED, "Nada achado neste local, tente em outro."); GameTextForPlayer(playerid, "_~n~_~n~_~n~_~n~~r~Nada achado aqui", 4000, 5); CP[playerid] = 0; SetPVarInt(playerid, "AGR_Pegou", 0); } return 0; } CallBack::syncanim(playerid) { if(GetPVarInt(playerid,"roped") == 0) return 0; new Float:pPos[3]; GetPlayerPos(playerid, pPos[0], pPos[1], pPos[2]); SetPlayerCheckpoint(playerid, pPos[0], pPos[1], pl_pos_z[playerid], 9.0); SetTimerEx("syncanim",dur,0,"i",playerid); ApplyAnimationEx(playerid,"ped","abseil",4.0,0,0,0,1,0); TerminarDescerC = SetTimerEx("Terminardescer", 10000, 0, "i", playerid); return 1; } forward AumentarVidaMed(playerid); public AumentarVidaMed(playerid) { new Float:soma,Float:Via,Float:Cote; GetPlayerArmour(playerid, Cote); GetPlayerHealth(playerid, Via); soma = Via+Cote; floatround(soma); if(!IsPlayerInRangeOfPoint(playerid, 2.0, MedKitDados[playerid][PosPlayerX], MedKitDados[playerid][PosPlayerY], MedKitDados[playerid][PosPlayerZ])) { KillTimer(MedKitDados[playerid][TimerReceber]); }else{ if(soma != 200) { MedKitDados[playerid][VidaMedKit]--; if(Via > 99) { GetPlayerArmour(playerid, Cote); SetPlayerArmour(playerid, (Cote+6)); PlayerPlaySound(playerid, 5202, 0.0, 0.0, 0.0); } if(Via < 99) { GetPlayerHealth(playerid, Via); SetPlayerHealth(playerid, (Via+6)); PlayerPlaySound(playerid, 5202, 0.0, 0.0, 0.0); } if(MedKitDados[playerid][VidaMedKit] == 0) { DestruirMedKit(playerid); SendClientMessage(playerid, -1, "MedKit Quebrado!"); KillTimer(MedKitDados[playerid][TimerReceber]); PlayerPlaySound(playerid, 6402, 0.0, 0.0, 0.0); } if(Via >= 100) SetPlayerHealth(playerid, 100); if(Cote >= 100) SetPlayerArmour(playerid, 100); }else{ SendClientMessage(playerid, -1, "Vida e Colete cheio!"); } } return 1; } CallBack::Terminardescer(playerid) { endrope(playerid); KillTimer(TerminarDescerC); } stock endrope(playerid) { if(GetPVarInt(playerid,"roped") == 1) { SetPVarInt(playerid,"roped",0); SetPVarInt(playerid,"chop_id",0); ClearAnimations(playerid); TogglePlayerControllableEx(playerid,0); TogglePlayerControllableEx(playerid,1); DisablePlayerCheckpoint(playerid); for(new destr4=0;destr4<=ropelength;destr4++) { DestroyDynamicObject(r0pes[playerid][destr4]); } } return 1; } public OnPlayerEnterCheckpoint(playerid) { //new gstring[256]; if(TaTrampandoAerio[playerid] == 1) { if(!IsPlayerInAnyVehicle(playerid)) { SCM(playerid, COLOR_GRAD1, "INFO: Voce nao esta em um aviao e sua entrega foi cancelada, volte e tente novamente."); TaTrampandoAerio[playerid] = -1; DisablePlayerCheckpoint(playerid); return 1; } TaTrampandoAerio[playerid] = -1; GivePlayerMoney(playerid, 2900); DisablePlayerCheckpoint(playerid); SCM(playerid, COLOR_LIGHTGREEN, "[Entregador Aereo] Entrega realizada com sucesso! voce ganhou R$ 2900 pela entrega."); SCM(playerid, COLOR_LIGHTGREEN, "[Entregador Aereo] Volte ao aeroporto de las venturas e inicie outra entrega!"); } if(TaTrampandoAerio[playerid] == 2) { if(!IsPlayerInAnyVehicle(playerid)) { SCM(playerid, COLOR_GRAD1, "INFO: Voce nao esta em um aviao e sua entrega foi cancelada, volte e tente novamente."); TaTrampandoAerio[playerid] = -1; DisablePlayerCheckpoint(playerid); return 1; } TaTrampandoAerio[playerid] = -1; GivePlayerMoney(playerid, 2500); DisablePlayerCheckpoint(playerid); SCM(playerid, COLOR_LIGHTGREEN, "[Entregador Aereo] Entrega realizada com sucesso! voce ganhou R$ 2500 pela entrega."); SCM(playerid, COLOR_LIGHTGREEN, "[Entregador Aereo] Volte ao aeroporto de las venturas e inicie outra entrega!"); } if(PresenteCP[playerid] == 1) { if(PresenteNaMao[playerid] == 0) return SendClientMessage(playerid, COLOR_LIGHTBLUE, "[SEDEX]{FFFFFF} Você não tem um presente em suas mãos!"); DisablePlayerCheckpoint(playerid); SetPlayerSpecialAction(playerid, 0); Gifts[playerid] --; PresenteNaMao[playerid] = 0; RemovePlayerAttachedObject(playerid, 9); new rand = random(sizeof(HousePos)); SetPlayerCheckpoint(playerid, HousePos[rand][0] ,HousePos[rand][1], HousePos[rand][2], 2.0); if(Gifts[playerid] != 0) { PresenteCP[playerid] = 1; format(gstring, sizeof(gstring), "Você ainda tem %d presentes para entregar! Distância: %0.2fm", Gifts[playerid], GetPlayerDistanceFromPoint(playerid, HousePos[rand][0] ,HousePos[rand][1], HousePos[rand][2])); SendClientMessage(playerid, 0xFFFF00FF, gstring); } // de terminar if(Gifts[playerid] == 0) { Gifts[playerid] = 0; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, 55.1337, -170.3553, 1.8075, 9.0); PresenteCP[playerid] = 2; format(gstring, sizeof(gstring), "{FFBC63}Parabéns, {638DFF}%s{FFBC63}!\nVocê conseguiu {94FF63}terminar{FFBC63} o passo dois.\nO Próximo passo é ir para o checkpoint para conseguir dinheiro!", PlayerName(playerid)); ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, " ", gstring, "OK", ""); } return 1; } if(PresenteCP[playerid] == 2) { DisablePlayerCheckpoint(playerid); new money = 1000 + random(500) * TotalGifts[playerid]; format(gstring, sizeof(gstring), "Você entregou %d presentes.", TotalGifts[playerid]); SendClientMessage(playerid, 0x25B336FF, gstring); format(gstring, sizeof(gstring), "Parabéns, você ganhou $%d.", money); SendClientMessage(playerid, 0x25B336FF, gstring); GivePlayerMoneyEx(playerid, money); TotalGifts[playerid] = 0; PresenteCP[playerid] = 0; return 1; } if(PresenteCP[playerid] == 3) { DisablePlayerCheckpoint(playerid); SendClientMessage(playerid, COLOR_LIGHTBLUE, "[SEDEX]{FFFFFF} Vá até os presentes e use a tecla H para carregar um presente!"); PresenteCP[playerid] = 0; return 1; } if(yMP_PegouServ[playerid] > 0) { if(PlayerInfo[playerid][pEmprego] == 9) { new yAlet = yMP_PegouServ[playerid]-1; if(!IsPlayerInAnyVehicle(playerid)) return yMPKillTimReset(playerid,"Você não está dentro de um Carro Forte",yMP_PosR_CarFort[yAlet][0],yMP_PosR_CarFort[yAlet][1],yMP_PosR_CarFort[yAlet][2],4.0); if(yMP_Carro[playerid] != GetPlayerVehicleID(playerid)) return yMPKillTimReset(playerid,"Você não está com o Carro Forte da empresa!!",yMP_PosR_CarFort[yAlet][0],yMP_PosR_CarFort[yAlet][1],yMP_PosR_CarFort[yAlet][2],4.0); if(yMP_Infos[playerid] == 0){ SendClientMessage(playerid, 0x33CC33FF, "Você está carregando o Carro Forte..."); yMP_KillTimer[playerid] = SetTimerEx("yMP_LPCarrForte", 1000, true,"i",playerid); } else { SendClientMessage(playerid, 0x33CC33FF, "Você está descarregando o Carro Forte..."); yMP_KillTimer[playerid] = SetTimerEx("yMP_LPCarrForte", 1000, true,"i",playerid); } DisablePlayerCheckpoint(playerid); } } if(PlayerInfo[playerid][pEmprego] == 8) { if(GariTrabalhando[playerid] == 1) { SetTimerEx("PegouLixo", 2000, false, "i", playerid); GariTrabalhando[playerid] = 2; ApplyAnimationEx(playerid, "BOMBER", "BOM_PLANT", 4.1, 0, 1, 1, 0, 0, 0); DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, 1826.4465,-1853.1993,13.4141, 1.0); return 1; } if(GariTrabalhando[playerid] == 2) { SetTimerEx("PegouLixo", 2000, false, "i", playerid); GariTrabalhando[playerid] = 3; ApplyAnimationEx(playerid, "BOMBER", "BOM_PLANT", 4.1, 0, 1, 1, 0, 0, 0); DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, 1826.6818,-1650.9686,13.5469, 1.0); return 1; } if(GariTrabalhando[playerid] == 3) { SetTimerEx("PegouLixo", 2000, false, "i", playerid); GariTrabalhando[playerid] = 4; ApplyAnimationEx(playerid, "BOMBER", "BOM_PLANT", 4.1, 0, 1, 1, 0, 0, 0); DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, 1857.4738,-1484.1521,13.5469, 1.0); return 1; } if(GariTrabalhando[playerid] == 4) { SetTimerEx("PegouLixo", 2000, false, "i", playerid); GariTrabalhando[playerid] = 5; ApplyAnimationEx(playerid, "BOMBER", "BOM_PLANT", 4.1, 0, 1, 1, 0, 0, 0); DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, 2117.7500,-1437.5189,24.0014, 1.0); return 1; } if(GariTrabalhando[playerid] == 5) { SetTimerEx("PegouLixo", 2000, false, "i", playerid); GariTrabalhando[playerid] = 6; ApplyAnimationEx(playerid, "BOMBER", "BOM_PLANT", 4.1, 0, 1, 1, 0, 0, 0); DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, 2178.2090,-1390.1183,23.9844, 1.0); return 1; } if(GariTrabalhando[playerid] == 6) { SetTimerEx("PegouLixo", 2000, false, "i", playerid); GariTrabalhando[playerid] = 7; ApplyAnimationEx(playerid, "BOMBER", "BOM_PLANT", 4.1, 0, 1, 1, 0, 0, 0); DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, 2206.1086,-1427.7521,23.9844, 1.0); return 1; } if(GariTrabalhando[playerid] == 7) { SetTimerEx("PegouLixo", 2000, false, "i", playerid); GariTrabalhando[playerid] = 8; ApplyAnimationEx(playerid, "BOMBER", "BOM_PLANT", 4.1, 0, 1, 1, 0, 0, 0); DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, 2207.1631,-1560.2814,23.8183, 1.0); return 1; } if(GariTrabalhando[playerid] == 8) { SetTimerEx("PegouLixo", 2000, false, "i", playerid); GariTrabalhando[playerid] = 9; ApplyAnimationEx(playerid, "BOMBER", "BOM_PLANT", 4.1, 0, 1, 1, 0, 0, 0); DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, 2183.6055,-1991.7333,13.5469, 3.0); return 1; } if(GariTrabalhando[playerid] == 9) { SendClientMessage(playerid,COLOR_LIGHTBLUE,"INFO: Você concluiu seu trabalho e recebeu 2500$!"); GivePlayerMoney(playerid, 2500); GariTrabalhando[playerid] = 0; DisablePlayerCheckpoint(playerid); KillTimer(TimerTrabalho[playerid]); return 1; } } if(elettrampando[playerid] == 1) { EletricistaTimer[playerid] = SetTimerEx("TerminarEletricista", 10000, false, "i", playerid); TogglePlayerControllableEx(playerid, 0); ApplyAnimationEx(playerid, "BOMBER", "BOM_Plant_Loop", 4.0, 1, 0, 0, 0, 0, 1); GameTextForPlayer(playerid, "~w~CONSERTANDO ~g~AGUARDE!", 10000, 1); DisablePlayerCheckpoint(playerid); } if(CaminhoneiroTrampando[playerid] != 0) { if(!IsPlayerInAnyVehicle(playerid)) { SCM(playerid, COLOR_LIGHTRED, "[ERRO] Voce esta fora do caminhao e sua entrega foi cancelada."); CaminhoneiroTrampando[playerid] = 0; Controle(playerid, 1); return 1; } TogglePlayerControllableEx(playerid, 0); CaminhoneiroTimer[playerid] = SetTimerEx("TerminarCaminhoneiro", 15000, false, "i", playerid); GameTextForPlayer(playerid, "~w~ENTREGANDO ~g~CARGA!", 10000, 1); } if(Entregando[playerid] == 1 && Retiroupedido[playerid] != 1) { DisablePlayerCheckpoint(playerid); SetTimerEx("SigaEntrega",2000,false,"i",playerid); TogglePlayerControllableEx(playerid,false); } if(Entregando[playerid] == 1 && Retiroupedido[playerid] == 1) { DisablePlayerCheckpoint(playerid); SetTimerEx("FinalizandoEntrega",2000,false,"i",playerid); TogglePlayerControllableEx(playerid,false); } new string[MAX_STRING]; if(GetPVarInt(playerid,"roped") == 1) { SetPVarInt(playerid,"roped",0); SetPVarInt(playerid,"chop_id",0); ClearAnimations(playerid); TogglePlayerControllableEx(playerid,0); TogglePlayerControllableEx(playerid,1); DisablePlayerCheckpoint(playerid); for(new destr4=0;destr4<=ropelength;destr4++) { DestroyDynamicObject(r0pes[playerid][destr4]); } } if(CP[playerid] == 99) { if(PlayerInfo[playerid][pEmprego] == 3) { ApplyAnimationEx(playerid,"BOMBER","BOM_Plant_Loop",2.0,1,0,0,0,0); SetTimerEx("AnimatioN", 500, false, "i", playerid); SetTimerEx("Colher", 15000, 0, "d", playerid); antihands[playerid] = 1; new id = CountAttachedObjects(playerid); SetPlayerAttachedObject_Droid(playerid,id,337,6,0.097999,0.076999,0.011000,172.699859,-4.799996,89.199981,1.000000,0.629000,0.678000); SetPlayerAttachedObjectEx(337,Vaga_Pa,playerid,id); GameTextForPlayer(playerid, "_~n~_~n~_~n~_~n~~w~Voce esta procurando algo aqui~n~~g~espere 15 segundos", 4000, 5); return true; } } if(CP[playerid] == 50) { if(!MecanicMission[playerid])return true; CostMecanicMission[playerid] += TimeMission[playerid]*150; SendClientMessage(playerid, COLOR_LIGHTBLUE, "Voce completou uma missao, agora va ate a marca vermelha para pegar outro carro. voce tem 10 minutos"); SendClientMessage(playerid, COLOR_YELLOW2, "OBS: Quanto mais rapido voce for, mais dinheiro voce ganha!"); CP[playerid] = 0; DestroyVehicleEx(VehicleMission[playerid]); VehicleMission[playerid] = -1; TimeMission[playerid] = 10*60; // 10 minutos para completar a missao new rand = random(sizeof(CarMissionSpawn)); VehicleMission[playerid] = CreateVehicleDebug(ReturnVehicle(), CarMissionSpawn[rand][0],CarMissionSpawn[rand][1],CarMissionSpawn[rand][2],CarMissionSpawn[rand][3], -1, -1, -1); SetVehicleHealth(VehicleMission[playerid], 380.0); SetPlayerCheckpoint(playerid, CarMissionSpawn[rand][0],CarMissionSpawn[rand][1],CarMissionSpawn[rand][2], 8.0); SetVehicleParamsForPlayer(VehicleMission[playerid], playerid, 1, 1); UpdateVehicleDamageStatus(VehicleMission[playerid], 1, 2, 1, 1); IsAttached[playerid] = false; VTrancado[VehicleMission[playerid]] = 1; return true; } if(CP[playerid] == 597) { GameTextForPlayer(playerid, "~r~Voce chegou em quem estava procurando", 4000, 5); CP[playerid] = 0; } if(CP[playerid] == 58) { GameTextForPlayer(playerid, " Voce chegou ao~n~caixa", 4000, 5); CP[playerid] = 0; } if(CP[playerid] == 620) { GameTextForPlayer(playerid, " Voce chegou na~n~HQ da Organizacao", 4000, 5); CP[playerid] = 0; } if(TaxistaCallTime[playerid] > 0 && TaxistaAccepted[playerid] < 999) { TaxistaAccepted[playerid] = 999; GameTextForPlayer(playerid, "~w~Chegou ao destino", 5000, 1); TaxistaCallTime[playerid] = 0; DisablePlayerCheckpoint(playerid); } if(AdvCallTime[playerid] > 0 && AdvAccepted[playerid] < 999) { AdvAccepted[playerid] = 999; GameTextForPlayer(playerid, "~w~Chegou ao destino", 5000, 1); AdvCallTime[playerid] = 0; DisablePlayerCheckpoint(playerid); } else if(MedicCallTime[playerid] > 0 && MedicAccepted[playerid] < 999) { MedicAccepted[playerid] = 999; GameTextForPlayer(playerid, "~w~Chegou ao destino", 5000, 1); MedicCallTime[playerid] = 0; DisablePlayerCheckpoint(playerid); } else if(BombCallTime[playerid] > 0 && BombAccepted[playerid] < 999) { BombAccepted[playerid] = 999; GameTextForPlayer(playerid, "~w~Chegou ao destino", 5000, 1); BombCallTime[playerid] = 0; DisablePlayerCheckpoint(playerid); } else if(MechanicCallTime[playerid] > 0 && MechanicAccepted[playerid] < 999) { MechanicAccepted[playerid] = 999; GameTextForPlayer(playerid, "~w~Chegou ao destino", 5000, 1); MechanicCallTime[playerid] = 0; DisablePlayerCheckpoint(playerid); } else if(BusCallTime[playerid] > 0 && BusAccepted[playerid] < 999) { BusAccepted[playerid] = 999; GameTextForPlayer(playerid, "~w~Chegou ao destino", 5000, 1); BusCallTime[playerid] = 0; DisablePlayerCheckpoint(playerid); } else if(CopsrondaCallTime[playerid] > 0 && CopsrondaAccepted[playerid] < 999) { CopsrondaAccepted[playerid] = 999; GameTextForPlayer(playerid, "~w~Chegou ao destino", 5000, 1); CopsrondaCallTime[playerid] = 0; DisablePlayerCheckpoint(playerid); } else if(CP[playerid] == 5) { GameTextForPlayer(playerid, "~y~Complete a Missao indo nos Checkpoint", 2500, 1); CP[playerid] = 0; DisablePlayerCheckpoint(playerid); } else if(TruckMission[playerid] == 1) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Voce obteve R$1000 por entregar a carga, espere sua recarga por 2 minutos."); DisablePlayerCheckpoint(playerid); TruckMission[playerid] = 0; GiveDinheiro(playerid, 1000); var1[playerid] = 1; SetTimerEx("ZerarRecarga", 10000, 0, "i", playerid); } else if(TruckMission[playerid] == 2) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Voce obteve R$3000 por entregar a carga, espere sua recarga por 2 minutos."); DisablePlayerCheckpoint(playerid); TruckMission[playerid] = 0; GiveDinheiro(playerid, 3000); var1[playerid] = 1; SetTimerEx("ZerarRecarga", 10000, 0, "i", playerid); } else if(TruckMission[playerid] == 3) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Voce obteve R$5000 por entregar a carga, espere sua recarga por 2 minutos."); DisablePlayerCheckpoint(playerid); TruckMission[playerid] = 0; GiveDinheiro(playerid, 5000); var1[playerid] = 1; SetTimerEx("ZerarRecarga", 10000, 0, "i", playerid); } //=========== onibus================== if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER && GetVehicleModel(GetPlayerVehicleID(playerid)) == 431) { if(CheCks[playerid] == 55) { if(IsPlayerInAnyVehicle(playerid)) { format(string, sizeof(string), "* Motorista de onibus %s chegou ao destino, e ira esperar os passageiros por 10 segundos.", PlayerName(playerid)); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); CheCks[playerid] = 0; SCMf(playerid, COLOR_LIGHTBLUE, "* Voce chegou ao destino e ganhou R$%d", salInfo[GanhoMOnibus]); GiveDinheiro(playerid, salInfo[GanhoMOnibus]); Controle(playerid, 0); GameTextForPlayer(playerid, " ~w~Voce chegou ao destino", 5000, 3); ShowPlayerDialog(playerid,8888,DIALOG_STYLE_LIST, "Escolha o proximo Local","Parada: Agencia de Emprego\nParada: Prefeitura\nParada: Penitenciaria\nParada: Loja de armas 1\nParada: Banco\nParada: Motel\nParada: Spawn Civil\nParada: Concessionaria\nParada: POBRE\nParada: Monte Chilliad\nParada: Spawn Civil LV\nTerminar","Selecionar","Sair"); } } if(CheCks[playerid] == 1) { if(IsPlayerInAnyVehicle(playerid)) { format(string, sizeof(string), "* Motorista de onibus %s chegou a Agencia de Emprego, e ira esperar os passageiros por 10 segundos.", PlayerName(playerid)); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); CheCks[playerid] = 0; Controle(playerid, 0); SCMf(playerid, COLOR_LIGHTBLUE, "* Voce chegou ao destino e ganhou R$%d", salInfo[GanhoMOnibus]); GiveDinheiro(playerid, salInfo[GanhoMOnibus]); GameTextForPlayer(playerid, " ~w~Voce chegou a Agencia de Emprego", 5000, 3); ShowPlayerDialog(playerid,8888,DIALOG_STYLE_LIST,"Escolha o proximo Local", "Parada: Agencia de Emprego\nParada: Prefeitura\nParada: Penitenciaria\nParada: Loja de armas 1\nParada: Banco\nParada: Motel\nParada: Spawn Civil\nParada: Concessionaria\nParada: POBRE\nParada: Monte Chilliad\nParada: Spawn Civil LV\nTerminar","Selecionar","Sair"); } } if(CheCks[playerid] == 2) { if(IsPlayerInAnyVehicle(playerid)) { format(string, sizeof(string), "* Motorista de onibus %s chegou a Prefeitura, e ira esperar os passageiros por 10 segundos.", PlayerName(playerid)); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); CheCks[playerid] = 0; Controle(playerid, 0); SCMf(playerid, COLOR_LIGHTBLUE, "* Voce chegou ao destino e ganhou R$%d", salInfo[GanhoMOnibus]); GiveDinheiro(playerid, salInfo[GanhoMOnibus]+100); GameTextForPlayer(playerid, " ~w~Voce chegou a Prefeitura", 5000, 3); ShowPlayerDialog(playerid,8888,DIALOG_STYLE_LIST, "Escolha o proximo Local","Parada: Agencia de Emprego\nParada: Prefeitura\nParada: Penitenciaria\nParada: Loja de armas 1\nParada: Banco\nParada: Motel\nParada: Spawn Civil\nParada: Concessionaria\nParada: POBRE\nParada: Monte Chilliad\nParada: Spawn Civil LV\nTerminar","Selecionar","Sair"); } } if(CheCks[playerid] == 3) { if(IsPlayerInAnyVehicle(playerid)) { format(string, sizeof(string), "* Motorista de onibus %s chegou ao restaurante, e ira esperar os passageiros por 10 segundos.", PlayerName(playerid)); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); CheCks[playerid] = 0; Controle(playerid, 0); SCMf(playerid, COLOR_LIGHTBLUE, "* Voce chegou ao destino e ganhou R$%d", salInfo[GanhoMOnibus]); GiveDinheiro(playerid, salInfo[GanhoMOnibus]); GameTextForPlayer(playerid, " ~w~Voce chegou ao restaurante", 5000, 3); ShowPlayerDialog(playerid,8888,DIALOG_STYLE_LIST,"Escolha o proximo Local", "Parada: Agencia de Emprego\nParada: Prefeitura\nParada: Penitenciaria\nParada: Loja de armas 1\nParada: Banco\nParada: Motel\nParada: Spawn Civil\nParada: Concessionaria\nParada: POBRE\nParada: Monte Chilliad\nParada: Spawn Civil LV\nTerminar","Selecionar","Sair"); } } if(CheCks[playerid] == 4) { if(IsPlayerInAnyVehicle(playerid)) { format(string, sizeof(string), "* Motorista de onibus %s chegou a loja de armas 2, e ira esperar os passageiros por 10 segundos.", PlayerName(playerid)); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); CheCks[playerid] = 0; Controle(playerid, 0); SCMf(playerid, COLOR_LIGHTBLUE, "* Voce chegou ao destino e ganhou R$%d", salInfo[GanhoMOnibus]); GiveDinheiro(playerid, salInfo[GanhoMOnibus]); GameTextForPlayer(playerid, " ~w~Voce chegou a loja de armas 2", 5000, 3); ShowPlayerDialog(playerid,8888,DIALOG_STYLE_LIST,"Escolha o proximo Local", "Parada: Agencia de Emprego\nParada: Prefeitura\nParada: Penitenciaria\nParada: Loja de armas 1\nParada: Banco\nParada: Motel\nParada: Spawn Civil\nParada: Concessionaria\nParada: POBRE\nParada: Monte Chilliad\nParada: Spawn Civil LV\nTerminar","Selecionar","Sair"); } } if(CheCks[playerid] == 5) { if(IsPlayerInAnyVehicle(playerid)) { format(string, sizeof(string), "* Motorista de onibus %s chegou ao banco de LS, e ira esperar os passageiros por 10 segundos.", PlayerName(playerid)); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); CheCks[playerid] = 0; Controle(playerid, 0); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Voce chegou ao destino e ganhou R$800"); GiveDinheiro(playerid, 500); GameTextForPlayer(playerid, " ~w~Voce chegou ao banco", 5000, 3); ShowPlayerDialog(playerid,8888,DIALOG_STYLE_LIST, "Escolha o proximo Local","Parada: Agencia de Emprego\nParada: Prefeitura\nParada: Penitenciaria\nParada: Loja de armas 1\nParada: Banco\nParada: Motel\nParada: Spawn Civil\nParada: Concessionaria\nParada: POBRE\nParada: Monte Chilliad\nParada: Spawn Civil LV\nTerminar","Selecionar","Sair"); } } if(CheCks[playerid] == 6) { if(IsPlayerInAnyVehicle(playerid)) { format(string, sizeof(string), "* Motorista de onibus %s chegou ao Motel, e ira esperar os passageiros por 10 segundos.", PlayerName(playerid)); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); CheCks[playerid] = 0; Controle(playerid, 0); SCMf(playerid, COLOR_LIGHTBLUE, "* Voce chegou ao destino e ganhou R$%d", salInfo[GanhoMOnibus]); GiveDinheiro(playerid, salInfo[GanhoMOnibus]); GameTextForPlayer(playerid, " ~w~Voce chegou ao Motel", 5000, 3); ShowPlayerDialog(playerid,8888,DIALOG_STYLE_LIST, "Escolha o proximo Local","Parada: Agencia de Emprego\nParada: Prefeitura\nParada: Penitenciaria\nParada: Loja de armas 1\nParada: Banco\nParada: Motel\nParada: Spawn Civil\nParada: Concessionaria\nParada: POBRE\nParada: Monte Chilliad\nParada: Spawn Civil LV\nTerminar","Selecionar","Sair"); } } if(CheCks[playerid] == 7) { if(IsPlayerInAnyVehicle(playerid)) { format(string, sizeof(string), "* Motorista de onibus %s chegou a loja de armas 2, e ira esperar os passageiros por 10 segundos.", PlayerName(playerid)); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); CheCks[playerid] = 0; Controle(playerid, 0); SCMf(playerid, COLOR_LIGHTBLUE, "* Voce chegou ao destino e ganhou R$%d", salInfo[GanhoMOnibus]); GiveDinheiro(playerid, salInfo[GanhoMOnibus]); GameTextForPlayer(playerid, " ~w~Voce chegou a loja de armas 2", 5000, 3); ShowPlayerDialog(playerid,8888,DIALOG_STYLE_LIST, "Escolha o proximo Local","Parada: Agencia de Emprego\nParada: Prefeitura\nParada: Penitenciaria\nParada: Loja de armas 1\nParada: Banco\nParada: Motel\nParada: Spawn Civil\nParada: Concessionaria\nParada: POBRE\nParada: Monte Chilliad\nParada: Spawn Civil LV\nTerminar","Selecionar","Sair"); } } if(CheCks[playerid] == 8) { if(IsPlayerInAnyVehicle(playerid)) { format(string, sizeof(string), "* Motorista de onibus %s chegou na Concessionaria, e ira esperar os passageiros por 10 segundos.", PlayerName(playerid)); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); CheCks[playerid] = 0; Controle(playerid, 0); SCMf(playerid, COLOR_LIGHTBLUE, "* Voce chegou ao destino e ganhou R$%d", salInfo[GanhoMOnibus]); GiveDinheiro(playerid, salInfo[GanhoMOnibus]); GameTextForPlayer(playerid, " ~w~Voce chegou a Concessionaria", 5000, 3); ShowPlayerDialog(playerid,8888,DIALOG_STYLE_LIST, "Escolha o proximo Local","Parada: Agencia de Emprego\nParada: Prefeitura\nParada: Penitenciaria\nParada: Loja de armas 1\nParada: Banco\nParada: Motel\nParada: Spawn Civil\nParada: Concessionaria\nParada: POBRE\nParada: Monte Chilliad\nParada: Spawn Civil LV\nTerminar","Selecionar","Sair"); } } if(CheCks[playerid] == 9) { if(IsPlayerInAnyVehicle(playerid)) { format(string, sizeof(string), "* Motorista de onibus %s chegou na POBRE, e ira esperar os passageiros por 10 segundos.", PlayerName(playerid)); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); CheCks[playerid] = 0; Controle(playerid, 0); SCMf(playerid, COLOR_LIGHTBLUE, "* Voce chegou ao destino e ganhou R$%d", salInfo[GanhoMOnibus]); GiveDinheiro(playerid, salInfo[GanhoMOnibus]); GameTextForPlayer(playerid, " ~w~Voce chegou a POBRE", 5000, 3); ShowPlayerDialog(playerid,8888,DIALOG_STYLE_LIST, "Escolha o proximo Local","Parada: Agencia de Emprego\nParada: Prefeitura\nParada: Penitenciaria\nParada: Loja de armas 1\nParada: Banco\nParada: Motel\nParada: Spawn Civil\nParada: Concessionaria\nParada: POBRE\nParada: Monte Chilliad\nParada: Spawn Civil LV\nTerminar","Selecionar","Sair"); } } if(CheCks[playerid] == 10) { if(IsPlayerInAnyVehicle(playerid)) { format(string, sizeof(string), "* Motorista de onibus %s chegou ao Monte Chilliad, e ira esperar os passageiros por 10 segundos.", PlayerName(playerid)); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); CheCks[playerid] = 0; Controle(playerid, 0); SCMf(playerid, COLOR_LIGHTBLUE, "* Voce chegou ao destino e ganhou R$%d", salInfo[GanhoMOnibus]*2); GiveDinheiro(playerid, salInfo[GanhoMOnibus]*2); GameTextForPlayer(playerid, " ~w~Voce chegou ao Chilliad", 5000, 3); ShowPlayerDialog(playerid,8888,DIALOG_STYLE_LIST, "Escolha o proximo Local","Parada: Agencia de Emprego\nParada: Prefeitura\nParada: Penitenciaria\nParada: Loja de armas 1\nParada: Banco\nParada: Motel\nParada: Spawn Civil\nParada: Concessionaria\nParada: POBRE\nParada: Monte Chilliad\nParada: Spawn Civil LV\nTerminar","Selecionar","Sair"); } } if(CheCks[playerid] == 11) { if(IsPlayerInAnyVehicle(playerid)) { format(string, sizeof(string), "* Motorista de onibus %s chegou ao Spawn Civil LV, e ira esperar os passageiros por 10 segundos.", PlayerName(playerid)); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); CheCks[playerid] = 0; Controle(playerid, 0); SCMf(playerid, COLOR_LIGHTBLUE, "* Voce chegou ao destino e ganhou R$%d", salInfo[GanhoMOnibus]*3); GiveDinheiro(playerid, salInfo[GanhoMOnibus]*3); GameTextForPlayer(playerid, " ~w~Voce chegou ao Spawn Civil LV", 5000, 3); ShowPlayerDialog(playerid,8888,DIALOG_STYLE_LIST, "Escolha o proximo Local","Parada: Agencia de Emprego\nParada: Prefeitura\nParada: Penitenciaria\nParada: Loja de armas 1\nParada: Banco\nParada: Motel\nParada: Spawn Civil\nParada: Concessionaria\nParada: POBRE\nParada: Monte Chilliad\nParada: Spawn Civil LV\nTerminar","Selecionar","Sair"); } } } //============================ fim onibus ======================== if(PlayerToPoint(8.0,playerid,1481.1926,-1764.2736,18.7958))//Prefeitura { DisablePlayerCheckpoint(playerid); GameTextForPlayer(playerid, " ~w~Voce chegou na ~b~Prefeitura", 5000, 3); } if(PlayerToPoint(8.0,playerid,1462.395751,-1012.391174,26.843799))// Banco { DisablePlayerCheckpoint(playerid); GameTextForPlayer(playerid, " ~w~Voce chegou no ~b~Banco", 5000, 3); } if(PlayerToPoint(8.0,playerid,1546.2761,-1675.5995,13.5620))//DP { DisablePlayerCheckpoint(playerid); GameTextForPlayer(playerid, " ~w~Voce chegou ao ~b~Departamento de Policia", 5000, 3); } if(PlayerToPoint(8.0,playerid,1350.4865,-1753.2505,13.3582))//24-7 { DisablePlayerCheckpoint(playerid); GameTextForPlayer(playerid, " ~w~Voce chegou no ~b~Mercado de Commerce", 5000, 3); } if(PlayerToPoint(8.0,playerid,1790.5725,-1167.3705,23.8281))//Loja de Armas { DisablePlayerCheckpoint(playerid); GameTextForPlayer(playerid, " ~w~Voce chegou a ~b~Loja de Armas", 5000, 3); } if(PlayerToPoint(8.0,playerid,1362.2240,-1279.7227,13.3828))//Ammu Nation { DisablePlayerCheckpoint(playerid); GameTextForPlayer(playerid, " ~w~Voce chegou a ~b~Ammu Nation", 5000, 3); } if(PlayerToPoint(8.0,playerid,2244.7954,-1663.5021,15.4766))//Binco { DisablePlayerCheckpoint(playerid); GameTextForPlayer(playerid, " ~w~Voce chegou na ~b~Binco", 5000, 3); } if(PlayerToPoint(8.0,playerid,2155.4363,-1171.3413,23.8206))//Aluguel de Carros { DisablePlayerCheckpoint(playerid); GameTextForPlayer(playerid, " ~w~Voce chegou no ~b~Aluguel de Carros", 5000, 3); } if(PlayerToPoint(8.0,playerid,2907.7764,-897.3358,11.0469))//Centro de Licencas { DisablePlayerCheckpoint(playerid); GameTextForPlayer(playerid, " ~w~Voce chegou no ~b~Centro de Licencas", 5000, 3); } if(PlayerToPoint(8.0,playerid,2003.4354,-1444.1321,13.5621))//Hospital { DisablePlayerCheckpoint(playerid); GameTextForPlayer(playerid, " ~w~Voce chegou no ~b~Hospital", 5000, 3); } if(PlayerToPoint(8.0,playerid,1928.826904,-1776.405517,13.546895))//Posto idlewood { DisablePlayerCheckpoint(playerid); GameTextForPlayer(playerid, " ~w~Voce chegou ao ~b~Posto de Idlewood", 5000, 3); } if(PlayerToPoint(8.0,playerid,2232.5723,-1332.8412,23.9815))//Igreja { DisablePlayerCheckpoint(playerid); GameTextForPlayer(playerid, " ~w~Voce chegou na ~b~Igreja", 5000, 3); } if(PlayerToPoint(8.0,playerid,1460.6941,-1142.9766,24.3906))//Zip { DisablePlayerCheckpoint(playerid); GameTextForPlayer(playerid, " ~w~Voce chegou na ~b~Zip", 5000, 3); } if(PlayerToPoint(8.0,playerid,550.7012,-1278.5721,17.2482))//Aluguel de Carros 1 { DisablePlayerCheckpoint(playerid); GameTextForPlayer(playerid, " ~p~|Voce chegou no ~b~Aluguel de Carros", 5000, 3); } if(PlayerToPoint(8.0,playerid,454.1039,-1501.5459,30.8761))//victim { DisablePlayerCheckpoint(playerid); GameTextForPlayer(playerid, " ~w~Voce chegou na ~b~VICTIM", 5000, 3); } if(PlayerToPoint(8.0,playerid,661.0214,-573.4525,16.3359))//Posto Dillimore { DisablePlayerCheckpoint(playerid); GameTextForPlayer(playerid, " ~w~Voce chegou no ~b~Posto de Dillimore", 5000, 3); } if(PlayerToPoint(8.0,playerid,1003.0009,-941.7861,41.6509))//Posto temple { DisablePlayerCheckpoint(playerid); GameTextForPlayer(playerid, " ~w~Voce chegou no ~b~Posto de Temple", 5000, 3); } if(PlayerToPoint(8.0,playerid,1637.6385,-1148.0294,23.90636))//Concessionaria { DisablePlayerCheckpoint(playerid); GameTextForPlayer(playerid, " ~w~Voce chegou na ~b~Concessionaria", 5000, 3); } if(PlayerToPoint(8.0,playerid,2420.6565,-1738.9923,13.5469))//mercado ganton { DisablePlayerCheckpoint(playerid); GameTextForPlayer(playerid, " ~w~Voce chegou no ~b~Mercado de Ganton", 5000, 3); } if(PlayerToPoint(8.0,playerid,961.7795,-944.9980,40.3419))//D.E.T.R.A.N { DisablePlayerCheckpoint(playerid); GameTextForPlayer(playerid, " ~w~Voce chegou ao ~b~D.E.T.R.A.N", 5000, 3); } if(PlayerToPoint(1.7,playerid,246.4971,74.3957,1003.6406))//Postao Presos DP { ForT:pp(playerid, #); GameTextForPlayer(playerid, " ~w~Portao Celas ~n~~b~Aberto", 5000, 3); } else { switch (gPlayerCheckpointStatus[playerid]) { case 12: { PlayerPlaySound(playerid, 1058, 0.0, 0.0, 0.0); DisablePlayerCheckpoint(playerid); gPlayerCheckpointStatus[playerid] = 0; GameTextForPlayer(playerid, "~w~Chegou em~n~~y~Casa", 5000, 1); } case 16: { PlayerPlaySound(playerid, 1058, 0.0, 0.0, 0.0); DisablePlayerCheckpoint(playerid); gPlayerCheckpointStatus[playerid] = 0; GameTextForPlayer(playerid, "~w~Chegou no~n~~y~ Local", 5000, 1); } } } if (gPlayerTerminal[playerid] != 0) { if (IsPlayerInAnyVehicle(playerid) && GetPlayerState(playerid) == 2) { switch(gPlayerTerminal[playerid]) { case 1: { SetPlayerCheckpoint(playerid,1533.1049,-1610.5599,13.4766, 5.0); SetTimerEx("busstoptimer", 10000, false, "i", playerid); Controle(playerid, 0); SendClientMessage(playerid, COLOR_LIGHTRED, "Aguarde 10 segundos nesse ponto para esperar passageiros."); } case 2: { SetPlayerCheckpoint(playerid,1736.9674,-1601.5439,13.5225, 5.0); SetTimerEx("busstoptimer", 10000, false, "i", playerid); Controle(playerid, 0); SendClientMessage(playerid, COLOR_LIGHTRED, "Aguarde 10 segundos nesse ponto para esperar passageiros."); } case 3: { SetPlayerCheckpoint(playerid,1818.3682,-1694.8099,13.4831, 5.0); SetTimerEx("busstoptimer", 10000, false, "i", playerid); Controle(playerid, 0); SendClientMessage(playerid, COLOR_LIGHTRED, "Aguarde 10 segundos nesse ponto para esperar passageiros."); } case 4: { SetPlayerCheckpoint(playerid,1819.0150,-1872.5851,13.5023, 5.0); SetTimerEx("busstoptimer", 10000, false, "i", playerid); Controle(playerid, 0); SendClientMessage(playerid, COLOR_LIGHTRED, "Aguarde 10 segundos nesse ponto para esperar passageiros."); } case 5: { SetPlayerCheckpoint(playerid,1987.3519,-2169.5242,13.4809, 5.0); SetTimerEx("busstoptimer", 10000, false, "i", playerid); Controle(playerid, 0); SendClientMessage(playerid, COLOR_LIGHTRED, "Aguarde 10 segundos nesse ponto para esperar passageiros."); } case 6: { SetPlayerCheckpoint(playerid,2274.7886,-2274.3623,13.4837, 5.0); SetTimerEx("busstoptimer", 10000, false, "i", playerid); Controle(playerid, 0); SendClientMessage(playerid, COLOR_LIGHTRED, "Aguarde 10 segundos nesse ponto para esperar passageiros."); } case 7: { SetPlayerCheckpoint(playerid,1996.1328,-2163.6931,13.4833, 5.0); SetTimerEx("busstoptimer", 10000, false, "i", playerid); Controle(playerid, 0); SendClientMessage(playerid, COLOR_LIGHTRED, "Aguarde 10 segundos nesse ponto para esperar passageiros."); } case 8: { SetPlayerCheckpoint(playerid,1964.8201,-2077.6494,13.4842, 5.0); SetTimerEx("busstoptimer", 10000, false, "i", playerid); Controle(playerid, 0); SendClientMessage(playerid, COLOR_LIGHTRED, "Aguarde 10 segundos nesse ponto para esperar passageiros."); } case 9: { SetPlayerCheckpoint(playerid,1825.4634,-1906.8052,13.5044, 5.0); SetTimerEx("busstoptimer", 10000, false, "i", playerid); Controle(playerid, 0); SendClientMessage(playerid, COLOR_LIGHTRED, "Aguarde 10 segundos nesse ponto para esperar passageiros."); } case 10: { SetPlayerCheckpoint(playerid,1824.8920,-1705.7137,13.4842, 5.0); SetTimerEx("busstoptimer", 10000, false, "i", playerid); Controle(playerid, 0); SendClientMessage(playerid, COLOR_LIGHTRED, "Aguarde 10 segundos nesse ponto para esperar passageiros."); } case 11: { SetPlayerCheckpoint(playerid,1526.6500,-1612.1188,13.4907, 5.0); SetTimerEx("busstoptimer", 10000, false, "i", playerid); Controle(playerid, 0); SendClientMessage(playerid, COLOR_LIGHTRED, "Aguarde 10 segundos nesse ponto para esperar passageiros."); } case 12: { SetPlayerCheckpoint(playerid,1373.5723,-1729.5554,13.4952, 5.0); SetTimerEx("busstoptimer", 10000, false, "i", playerid); Controle(playerid, 0); SendClientMessage(playerid, COLOR_LIGHTRED, "Aguarde 10 segundos nesse ponto para esperar passageiros."); } case 13: { new conta = gPlayerTerminal[playerid]*50; format(gstring, 128, "Voce completou a rota do onibus e ganhou R$%s, use /terminais para iniciar novamente a rota.", ConvertMoney(conta)); SendClientMessage(playerid, COLOR_YELLOW, gstring); SendClientMessage(playerid, COLOR_YELLOW, "USE: /sair para sair do onibus."); BusrouteEnd(playerid); } } gPlayerTerminal[playerid]++; PlayerPlaySound(playerid, 1056, 0.0, 0.0, 0.0); return true; } } DisablePlayerCheckpoint(playerid); return true; } stock PagarAGR() { foreach(Player, i) { if(PlayerInfo[i][pEmprego] == 3 && GetPVarInt(i, "AGRTrampando") && IsPlayerInRangeOfPoint(i, 300.0, 1934.9714,211.9225,30.4078)) { SendClientMessage(i, COLOR_LIGHTBLUE, "*Uma remessa de sementes ficou pronta, voce ganhou R$2343 por isso !"); GiveDinheiro(i, 2343); } } return 0; } public OnPlayerPickUpDynamicPickup(playerid, pickupid) { if(pickupid == pickHay && JoinedHay[playerid]) { DestroyDynamicPickup(pickHay); winHay(playerid); } return 1; } public OnPlayerPickUpPickup(playerid, pickupid) { new string[MAX_STRING]; if(pickupid == pickparachute) { GivePlayerWeapon(playerid, 46, 1); return 1; } if(pickupid == MedKitDados[playerid][MedKits]) { MedKitDados[playerid][TimerReceber] = SetTimerEx("AumentarVidaMed",2000,false,"i",playerid); } if(pickupid == Elevator_Pickup) { return 1; } if(PlayerInfo[playerid][pEmprego] == 3) { if(CP[playerid] == 99 && GetPVarInt(playerid, "AGR_Pegou")) { if(pickupid == PickupAGR[0]) { TotalAGR[0] ++; format(string, sizeof string, "[SEMENTES COLHIDAS]\n(%d/%d)",TotalAGR[0],Max_AGR); if(TotalAGR[0] >= Max_AGR){ PagarAGR(); TotalAGR[0]=0; format(string, sizeof string, "[SEMENTES COLHIDAS]\n(%d/%d)",TotalAGR[0],Max_AGR); } UpdateDynamic3DTextLabelText(TextsAGR[0], COLOR_YELLOW, string); CP[playerid] = 0; RemovePlayerAttachedObjectEx(playerid, Vaga_Planta); GameTextForPlayer(playerid, "_~n~_~n~_~n~_~n~~w~Semente guardada~n~~g~+R$300", 5000, 5); GiveDinheiro(playerid, 300); SetPVarInt(playerid, "AGR_Pegou", 0); DisablePlayerCheckpoint(playerid); } if(pickupid == PickupAGR[1]) { TotalAGR[1] ++; format(string, sizeof string, "[SEMENTES COLHIDAS]\n(%d/%d)",TotalAGR[1],Max_AGR); if(TotalAGR[1] >= Max_AGR){ PagarAGR(); TotalAGR[1]=0; format(string, sizeof string, "[SEMENTES COLHIDAS]\n(%d/%d)",TotalAGR[1],Max_AGR); } UpdateDynamic3DTextLabelText(TextsAGR[1], COLOR_YELLOW, string); CP[playerid] = 0; RemovePlayerAttachedObjectEx(playerid, Vaga_Planta); GameTextForPlayer(playerid, "_~n~_~n~_~n~_~n~~w~Semente guardada~n~~g~+R$220", 5000, 5); GiveDinheiro(playerid, 220); SetPVarInt(playerid, "AGR_Pegou", 0); DisablePlayerCheckpoint(playerid); } if(pickupid == PickupAGR[2]) { TotalAGR[2] ++; format(string, sizeof string, "[SEMENTES COLHIDAS]\n(%d/%d)",TotalAGR[2],Max_AGR); if(TotalAGR[2] >= Max_AGR){ PagarAGR(); TotalAGR[2]=0; format(string, sizeof string, "[SEMENTES COLHIDAS]\n(%d/%d)",TotalAGR[2],Max_AGR); } UpdateDynamic3DTextLabelText(TextsAGR[2], COLOR_YELLOW, string); CP[playerid] = 0; RemovePlayerAttachedObjectEx(playerid, Vaga_Planta); GameTextForPlayer(playerid, "_~n~_~n~_~n~_~n~~w~Semente guardada~n~~g~+R$250", 5000, 5); GiveDinheiro(playerid, 250); SetPVarInt(playerid, "AGR_Pegou", 0); } if(pickupid == PickupAGR[3]) { TotalAGR[3] ++; format(string, sizeof string, "[SEMENTES COLHIDAS]\n(%d/%d)",TotalAGR[3],Max_AGR); if(TotalAGR[3] >= Max_AGR){ PagarAGR(); TotalAGR[3]=0; format(string, sizeof string, "[SEMENTES COLHIDAS]\n(%d/%d)",TotalAGR[3],Max_AGR); } UpdateDynamic3DTextLabelText(TextsAGR[3], COLOR_YELLOW, string); CP[playerid] = 0; RemovePlayerAttachedObjectEx(playerid, Vaga_Planta); GameTextForPlayer(playerid, "_~n~_~n~_~n~_~n~~w~Semente guardada~n~~g~+R$200", 5000, 5); GiveDinheiro(playerid, 200); SetPVarInt(playerid, "AGR_Pegou", 0); } if(pickupid == PickupAGR[4]) { TotalAGR[4] ++; format(string, sizeof string, "[SEMENTES COLHIDAS]\n(%d/%d)",TotalAGR[4],Max_AGR); if(TotalAGR[4] >= Max_AGR){ PagarAGR(); TotalAGR[4]=0; format(string, sizeof string, "[SEMENTES COLHIDAS]\n(%d/%d)",TotalAGR[4],Max_AGR); } UpdateDynamic3DTextLabelText(TextsAGR[4], COLOR_YELLOW, string); CP[playerid] = 0; RemovePlayerAttachedObjectEx(playerid, Vaga_Planta); GameTextForPlayer(playerid, "_~n~_~n~_~n~_~n~~w~Semente guardada~n~~g~+R$320", 5000, 5); GiveDinheiro(playerid, 320); SetPVarInt(playerid, "AGR_Pegou", 0); } if(pickupid == PickupAGR[5]) { TotalAGR[5] ++; format(string, sizeof string, "[SEMENTES COLHIDAS]\n(%d/%d)",TotalAGR[5],Max_AGR); if(TotalAGR[5] >= Max_AGR){ PagarAGR(); TotalAGR[5]=0; format(string, sizeof string, "[SEMENTES COLHIDAS]\n(%d/%d)",TotalAGR[5],Max_AGR); } UpdateDynamic3DTextLabelText(TextsAGR[5], COLOR_YELLOW, string); CP[playerid] = 0; RemovePlayerAttachedObjectEx(playerid, Vaga_Planta); GameTextForPlayer(playerid, "_~n~_~n~_~n~_~n~~w~Semente guardada~n~~g~+R$200", 5000, 5); GiveDinheiro(playerid, 200); SetPVarInt(playerid, "AGR_Pegou", 0); } } } if(!RoubandoCaixa[playerid]) { for(new i; i < MAX_CAIXAS; i++) { if(!CaixaInfo[i][Caixa_Roubada])continue; for(new p; p < MAX_PICKUPS_ROUBO; p++) { if(pickupid == Pickups_Roubo[i][p]) { if(IsACop(playerid)) { GameTextForPlayer(playerid, "~g~USE: /consertarcaixa para conserta-lo!", 1000, 1); continue; } new keys, ud, lr; GetPlayerKeys(playerid, keys, ud, lr); if(keys & KEY_YES) { GranaRoubo(playerid, i); DestroyPickup(pickupid); Pickups_Roubo[i][p] = -1; } else { GameTextForPlayer(playerid, "~b~~h~Segure |~w~Y~b~~h~| para roubar o ~b~~h~dinheiro", 1000, 1); } } } } } return true; } //-----------------------------------CONCE-------------------------------------- forward LoadPlayerVehicle(playerid); public LoadPlayerVehicle(playerid) { new openfile[128]; new nomeplayer[MAX_PLAYER_NAME];//, nomefavorecido[MAX_PLAYER_NAME], idfavorecido; GetPlayerName(playerid, nomeplayer, sizeof(nomeplayer)); format(openfile, sizeof openfile, VEH_SAVE_FILE, PlayerName(playerid)); printf("Nome do Arquivo: %s", openfile); if (!fexist(openfile)) return 1; // He doesn't own a vehicle print("Carregando Carro do Jogador"); new File:vehs = fopen(openfile,io_read); new string[256]; new load[30][32]; new newload = 15; // last "strval(load[x])" before the mods loop if(vehs) { print("Pronto para Ler Os Arquivos"); while (fread(vehs, string, 256)) { split(string, load, '|'); print("Spanwando o Veiculo"); // Spawn vehicles new vic = INVALID_VEHICLE_ID; if (strval(load[11]) == 1) { vic = CreateVehicleDebug( strval(load[0]), floatstr(load[12]), floatstr(load[13]), floatstr(load[14]), floatstr(load[15]), strval(load[5]), strval(load[6]), -1 ); } else { vic = CreateVehicleDebug( strval(load[0]), floatstr(load[1]), floatstr(load[2]), floatstr(load[3]), floatstr(load[4]), strval(load[5]), strval(load[6]), -1 ); } PlayerCarroConce[playerid] = vic; printf("Carro Spawnado: %d", vic); CarConce[vic] = 1; TOTAL_CARROS++; VehicleInfo[vic][vModel] = strval(load[0]); VehicleInfo[vic][vX] = floatstr(load[1]); VehicleInfo[vic][vY] = floatstr(load[2]); VehicleInfo[vic][vZ] = floatstr(load[3]); VehicleInfo[vic][vA] = floatstr(load[4]); VehicleInfo[vic][vColor1] = strval(load[5]); VehicleInfo[vic][vColor2] = strval(load[6]); VehicleInfo[vic][vPaintjob] = strval(load[7]); printf("Nome: %s", load[8]); strmid(VehicleInfo[vic][vName], load[8], 0, strlen(load[8]), 128); printf("Dono: %s", load[9]); strmid(VehicleInfo[vic][vOwner], load[9], 0, strlen(load[9]), MAX_PLAYER_NAME); VehicleInfo[vic][vLock] = strval(load[10]); VehicleInfo[vic][vPark] = strval(load[11]); VehicleInfo[vic][vPX] = floatstr(load[12]); VehicleInfo[vic][vPY] = floatstr(load[13]); VehicleInfo[vic][vPZ] = floatstr(load[14]); VehicleInfo[vic][vPA] = floatstr(load[15]); VehicleInfo[vic][vLataria] = floatstr(load[16]); if (PlayerInfo[playerid][pVIP] >= 1) { SetVehicleNumberPlate(vic, load[9]); } for(new m = 0; m < MAX_MODS; m++) { newload++; VehicleInfo[vic][vMod][m] = strval(load[newload]); } for(new m = 0; m < MAX_MODS; m++) { if (VehicleInfo[vic][vMod][m] > 0) { if(VehicleInfo[vic][vMod][m] == 1086) PutSound(vic); AddVehicleComponent(vic,VehicleInfo[vic][vMod][m]); } } if (VehicleInfo[vic][vPaintjob] > -1) { ChangeVehiclePaintjob(vic,VehicleInfo[vic][vPaintjob]); } new keller[50]; format(keller, sizeof(keller), "Placas/%s.ini", nomeplayer); if(DOF2_FileExists(keller)) { //new Text3D:vehicle3Dtext; format(string,sizeof(string), "{00FF00}%s",DOF2_GetInt(keller,"Placa")); //vehicle3Dtext = Create3DTextLabel(string, 0xADC7E7AA, 0.0, 0.0, 0.0, 20.0, 0, 1 ); //AtacharLabelToVeiculo(vehicle3Dtext, vic, 0.0, 0.0, 0.0); SetVehicleNumberPlate(vic, string); SetVehicleToRespawnEx(vic); RepairVehicleWithBomber(vic); PegouF[vic] = 0; } MAX_VEH_SPAWNED++; CarroEMPREGOID[vic] = -1; CarroORGID[vic] = -1; CarroParticular[vic] = 1; CriadoPorADM[vic] = -1; break; } fclose(vehs); } return 1; } forward SavePlayerVehicle(playerid); public SavePlayerVehicle(playerid) { new string[256]; format(string, sizeof(string), VEH_SAVE_FILE, PlayerName(playerid)); if (GetOwnedVehicleID(playerid) == INVALID_VEHICLE_ID) return 1; new File:vehs = fopen(string, io_write); if (vehs) { new vic = GetOwnedVehicleID(playerid); /* VehicleInfo[vic][vMod][0] = GetVehicleComponentInSlot(GetPlayerVehicleID(playerid), CARMODTYPE_SPOILER); VehicleInfo[vic][vMod][1] = GetVehicleComponentInSlot(GetPlayerVehicleID(playerid), CARMODTYPE_HOOD); VehicleInfo[vic][vMod][2] = GetVehicleComponentInSlot(GetPlayerVehicleID(playerid), CARMODTYPE_ROOF); VehicleInfo[vic][vMod][3] = GetVehicleComponentInSlot(GetPlayerVehicleID(playerid), CARMODTYPE_SIDESKIRT); VehicleInfo[vic][vMod][4] = GetVehicleComponentInSlot(GetPlayerVehicleID(playerid), CARMODTYPE_LAMPS); VehicleInfo[vic][vMod][5] = GetVehicleComponentInSlot(GetPlayerVehicleID(playerid), CARMODTYPE_NITRO); VehicleInfo[vic][vMod][6] = GetVehicleComponentInSlot(GetPlayerVehicleID(playerid), CARMODTYPE_EXHAUST); VehicleInfo[vic][vMod][7] = GetVehicleComponentInSlot(GetPlayerVehicleID(playerid), CARMODTYPE_WHEELS); VehicleInfo[vic][vMod][8] = GetVehicleComponentInSlot(GetPlayerVehicleID(playerid), CARMODTYPE_VENT_RIGHT); VehicleInfo[vic][vMod][9] = GetVehicleComponentInSlot(GetPlayerVehicleID(playerid), CARMODTYPE_HYDRAULICS); VehicleInfo[vic][vMod][10] = GetVehicleComponentInSlot(GetPlayerVehicleID(playerid), CARMODTYPE_FRONT_BUMPER); VehicleInfo[vic][vMod][11] = GetVehicleComponentInSlot(GetPlayerVehicleID(playerid), CARMODTYPE_REAR_BUMPER); */ printf("vehicle name: %s", VehicleInfo[vic][vName]); format(string, sizeof(string), "%d|%f|%f|%f|%f|%d|%d|%d|%s|%s|%d|%d|%f|%f|%f|%f|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d", VehicleInfo[vic][vModel], VehicleInfo[vic][vX], VehicleInfo[vic][vY], VehicleInfo[vic][vZ], VehicleInfo[vic][vA], VehicleInfo[vic][vColor1], VehicleInfo[vic][vColor2], VehicleInfo[vic][vPaintjob], VehicleInfo[vic][vName], VehicleInfo[vic][vOwner], VehicleInfo[vic][vLock], VehicleInfo[vic][vPark], VehicleInfo[vic][vPX], VehicleInfo[vic][vPY], VehicleInfo[vic][vPZ], VehicleInfo[vic][vPA], VehicleInfo[vic][vLataria], VehicleInfo[vic][vMod][0], VehicleInfo[vic][vMod][1], VehicleInfo[vic][vMod][2], VehicleInfo[vic][vMod][3], VehicleInfo[vic][vMod][4], VehicleInfo[vic][vMod][5], VehicleInfo[vic][vMod][6], VehicleInfo[vic][vMod][7], VehicleInfo[vic][vMod][8], VehicleInfo[vic][vMod][9], VehicleInfo[vic][vMod][10], VehicleInfo[vic][vMod][11] ); fwrite(vehs, string); fclose(vehs); VehicleInfo[vic][vModel] = 0; VehicleInfo[vic][vColor1] = -1; VehicleInfo[vic][vColor2] = -1; VehicleInfo[vic][vPaintjob] = -1; if(VehicleInfo[vic][SoundCar] == 1086) RemoveSound(vic); format(VehicleInfo[vic][vName], MAX_PLAYER_NAME, "[NONE]"); format(VehicleInfo[vic][vOwner], MAX_PLAYER_NAME, "[NONE]"); VehicleInfo[vic][vPark] = 0; VehicleInfo[vic][vPX] = 0; VehicleInfo[vic][vPY] = 0; VehicleInfo[vic][vPZ] = 0; VehicleInfo[vic][vPA] = 0; VehicleInfo[vic][vLock] = 0; for(new m = 0; m < MAX_MODS; m++) VehicleInfo[vic][vMod][m] = 0; CarConce[vic] = 0; CarroParticular[vic] = -1; if (CarroParticular[vic] == -1) { UnlockVehicle(vic); } TOTAL_CARROS--; if(PlayerCarroConce[playerid] != INVALID_VEHICLE_ID) DestroyVehicleConce(PlayerCarroConce[playerid]); PlayerCarroConce[playerid] = INVALID_VEHICLE_ID; //DestroyVehicleEx(vic); CarroParticular[vic] = -1; } return 1; } forward SavePlayerVehicleFirst(playerid); public SavePlayerVehicleFirst(playerid) { new string[256]; format(string, 128, VEH_SAVE_FILE, PlayerName(playerid)); if (GetOwnedVehicleID(playerid) == INVALID_VEHICLE_ID) return 1; new File:vehs = fopen(string, io_write); if (vehs) { new vic = GetOwnedVehicleID(playerid); printf("vehicle name: %s", VehicleInfo[vic][vName]); format(string, sizeof(string), "%d|%f|%f|%f|%f|%d|%d|%d|%s|%s|%d|%d|%f|%f|%f|%f|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d", VehicleInfo[vic][vModel], VehicleInfo[vic][vX], VehicleInfo[vic][vY], VehicleInfo[vic][vZ], VehicleInfo[vic][vA], VehicleInfo[vic][vColor1], VehicleInfo[vic][vColor2], VehicleInfo[vic][vPaintjob], VehicleInfo[vic][vName], VehicleInfo[vic][vOwner], VehicleInfo[vic][vLock], VehicleInfo[vic][vPark], VehicleInfo[vic][vPX], VehicleInfo[vic][vPY], VehicleInfo[vic][vPZ], VehicleInfo[vic][vPA], VehicleInfo[vic][vLataria], VehicleInfo[vic][vMod][0], VehicleInfo[vic][vMod][1], VehicleInfo[vic][vMod][2], VehicleInfo[vic][vMod][3], VehicleInfo[vic][vMod][4], VehicleInfo[vic][vMod][5], VehicleInfo[vic][vMod][6], VehicleInfo[vic][vMod][7], VehicleInfo[vic][vMod][8], VehicleInfo[vic][vMod][9], VehicleInfo[vic][vMod][10], VehicleInfo[vic][vMod][11] ); PlayerInfo[playerid][pTemCarro] = 1; PlayerCarroConce[playerid] = vic; fwrite(vehs, string); fclose(vehs); } return 1; } forward DeleteVehicle(ownerid); public DeleteVehicle(ownerid) { new vehicleid = GetOwnedVehicleID(ownerid); if (vehicleid == INVALID_VEHICLE_ID) return print("invalid vehicle id - no deletion"), 0; new string[128]; format(string, 128, VEH_SAVE_FILE, PlayerName(ownerid)); if (fexist(string)) fremove(string); VehicleInfo[vehicleid][vModel] = 0; VehicleInfo[vehicleid][vX] = 0; VehicleInfo[vehicleid][vY] = 0; VehicleInfo[vehicleid][vZ] = 0; VehicleInfo[vehicleid][vA] = 0; VehicleInfo[vehicleid][vColor1] = 0; VehicleInfo[vehicleid][vColor2] = 0; VehicleInfo[vehicleid][vPaintjob] = 0; format(VehicleInfo[vehicleid][vName], MAX_PLAYER_NAME, "[NONE]"); format(VehicleInfo[vehicleid][vOwner], MAX_PLAYER_NAME, "[NONE]"); VehicleInfo[vehicleid][vPark] = 0; VehicleInfo[vehicleid][vPX] = 0; VehicleInfo[vehicleid][vPY] = 0; VehicleInfo[vehicleid][vPZ] = 0; VehicleInfo[vehicleid][vPA] = 0; VehicleInfo[vehicleid][vLataria] = 0; for(new m = 0; m < MAX_MODS; m++) VehicleInfo[vehicleid][vMod][m] = 0; if(VehicleInfo[vehicleid][SoundCar] == 1086) RemoveSound(vehicleid); // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // if(PlayerCarroConce[ownerid] != INVALID_VEHICLE_ID) DestroyVehicleConce(PlayerCarroConce[ownerid]); PlayerCarroConce[ownerid] = INVALID_VEHICLE_ID; // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // PlayerInfo[ownerid][pTemCarro] = 0; return 1; } forward BrowseCars(playerid); public BrowseCars(playerid) { if (CarShopping[playerid] != true) return 1; new keys, updown, leftright; GetPlayerKeys(playerid, keys, updown, leftright); new color1 = CarColor[playerid][0]; new color2 = CarColor[playerid][1]; if(leftright == KEY_RIGHT) { if(GetPVarInt(playerid, "TempoMandarMsgPlayer") < gettime()) { SCM(playerid, 0x71B8FFFF, "Deseja comprar esse modelo? Use: {FFFFFF}/CompraC"); SetPVarInt(playerid, "TempoMandarMsgPlayer", gettime() + 5); } carbrowse[playerid]++; if (carbrowse[playerid] > 92) carbrowse[playerid] = 0; DestroyVehicleEx(ShopCar[playerid]); ShopCar[playerid] = CreateVehicle(CarModels[carbrowse[playerid]], VEHSHOW_X, VEHSHOW_Y, VEHSHOW_Z, VEHSHOW_A, color1, color2, 6000000); SetVehicleVirtualWorld(ShopCar[playerid], playerid); PutPlayerInVehicle(playerid, ShopCar[playerid], 0); SetPlayerCameraPos(playerid, PLASHOW_X, PLASHOW_Y, PLASHOW_Z); SetPlayerCameraLookAt(playerid, VEHSHOW_X, VEHSHOW_Y, VEHSHOW_Z); TogglePlayerControllableEx(playerid, false); } else if (leftright == KEY_LEFT) { if(GetPVarInt(playerid, "TempoMandarMsgPlayer") < gettime()) { SCM(playerid, 0x71B8FFFF, "Deseja comprar esse modelo? Use: {FFFFFF}/CompraC"); SetPVarInt(playerid, "TempoMandarMsgPlayer", gettime() + 5); } carbrowse[playerid]--; if (carbrowse[playerid] < 0) carbrowse[playerid] = 92; DestroyVehicleEx(ShopCar[playerid]); ShopCar[playerid] = CreateVehicle(CarModels[carbrowse[playerid]], VEHSHOW_X, VEHSHOW_Y, VEHSHOW_Z, VEHSHOW_A, color1, color2, 6000000); SetVehicleVirtualWorld(ShopCar[playerid], playerid); PutPlayerInVehicle(playerid, ShopCar[playerid], 0); SetPlayerCameraPos(playerid, PLASHOW_X, PLASHOW_Y, PLASHOW_Z); SetPlayerCameraLookAt(playerid, VEHSHOW_X, VEHSHOW_Y, VEHSHOW_Z); TogglePlayerControllableEx(playerid, false); } /* else if (keys == KEY_YES) { new vehicleid = GetPlayerVehicleID(playerid); new string[MAX_STRING]; format(string, sizeof(string),"Este Carro Custa R$%s\nTem Certeza que Deseja Compra-lo?",ConvertMoney(GetVehicleCost(vehicleid))); ShowPlayerDialog(playerid, 3334, DIALOG_STYLE_MSGBOX, "Concessionaria", string, "Sim", "Nao"); } */ else if (keys == KEY_SECONDARY_ATTACK) { if(CarShopping[playerid] == true) { CarroParticular[ShopCar[playerid]] = -1; DestroyVehicleEx(ShopCar[playerid]); TogglePlayerControllableEx(playerid, true); CarShopping[playerid] = false; INCOMPRA[playerid] = 0; carbrowse[playerid] = 0; showBalao(playerid, "Voce Cancelou", 5000); PlayerTextDrawHide(playerid, AjudaConce1[playerid]); PlayerTextDrawHide(playerid, AjudaConce2[playerid]); SetPlayerPos(playerid, OrgX[playerid], OrgY[playerid], OrgZ[playerid]); SetPlayerFacingAngle(playerid, OrgA[playerid]); SetPlayerVirtualWorld(playerid, 0); SetCameraBehindPlayer(playerid); for(new i; i < sizeof(ConceTxD); i++) { TextDrawHideForPlayer(playerid, ConceTxD[i]); } PlayerTextDrawHide(playerid, ConceTxDPlayer[0]); PlayerTextDrawHide(playerid, ConceTxDPlayer[1]); PlayerTextDrawHide(playerid, ConceTxDPlayer[2]); CancelSelectTextDraw(playerid); } } new gt[128]; if (CarShopping[playerid] == true) { format(gt, sizeof gt, "~g~%s~w~(~y~%d~w~)"/*"~g~%s~w~(~y~%d~w~)~n~~n~~n~~n~~n~~n~(<) (>) (CTRL)~n~~n~(F) para sair."*/, VehicleName[carbrowse[playerid]], CarModels[carbrowse[playerid]]); GameTextForPlayer(playerid, gt, 2500, 3); } SetTimerEx("BrowseCars", 300, 0, "d", playerid); return 1; } forward FreezeCar(playerid); public FreezeCar(playerid) { if (CarShopping[playerid] != true) return 1; SetVehiclePos(ShopCar[playerid], VEHSHOW_X, VEHSHOW_Y, VEHSHOW_Z); SetTimerEx("FreezeCar", 100, 0, "d", playerid); return 1; } stock GetVehicleModelIDFromName(const vname[]) // Simon { for(new i = 0; i < 92; i++) { if (strfind(VehicleName[i], vname, true) != -1) return i+400; } return -1; } stock GiveDinheiro(playerid, money) // JP { if(!IsPlayerConnected(playerid))return 0; if(GetPlayerMoney(playerid)+money >= 100000000) { TantoOuros = 0; for(new i = 0; i < 10000; i++) { if(GetPlayerMoney(playerid)+money > 99999999) { TantoOuros += 1; GivePlayerMoneyEx(playerid, -100000); PlayerInfo[playerid][pOuros] += 1; } } //new gstring[200]; format(gstring, sizeof(gstring), "Voce ficou com mais de 99kk em maos e foi convertido o resto para %d ouros.", TantoOuros); SendClientMessage(playerid, COLOR_YELLOW, gstring); } return GivePlayerMoneyEx(playerid, money); } stock GetVehicleModelIDFromID(vehicleid) // JP { for(new i = 0; i < 92; i++) { if(CarModels[i] == vehicleid) return i; } return -1; } stock GetVehicleType(vehicleid) // Pixels^ { new type; // ================== CARS ======= switch(GetVehicleModel(vehicleid)) { case 416, //ambulan - car 445, //admiral - car 602, //alpha - car 485, //baggage - car 568, //bandito - car 499, //benson - car 424, //bfinject, //car 536, //blade - car 504, //bloodra - car 422, //bobcat - car 609, //boxburg - car 498, //boxville, //car 401, //bravura - car 575, //broadway, //car 518, //buccanee, //car 402, //buffalo - car 482, //burrito - car 431, //bus - car 438, //cabbie - car 457, //caddy - car 527, //cadrona - car 483, //camper - car 524, //cement - car 542, //clover - car 589, //club - car 480, //comet - car 596, //copcarla, //car 599, //copcarru, //car 597, //copcarsf, //car 598, //copcarvg, //car 578, //dft30 - car 486, //dozer - car 507, //elegant - car 562, //elegy - car 585, //emperor - car 427, //enforcer, //car 419, //esperant, //car 587, //euros - car 490, //fbiranch, //car 528, //fbitruck, //car 533, //feltzer - car 544, //firela - car 407, //firetruk, //car 565, //flash - car 455, //flatbed - car 530, //forklift, //car 526, //fortune - car 466, //glendale, //car 604, //glenshit, //car 492, //greenwoo, //car 474, //hermes - car 502, //hotrina - car 503, //hotrinb - car 494, //hotring - car 579, //huntley - car 545, //hustler - car 546, //intruder, //car 559, //jester - car 508, //journey - car 400, //landstal, //car 403, //linerun - car 517, //majestic, //car 551, //merit - car 500, //mesa - car 572, //mower - car 423, //mrwhoop - car 516, //nebula - car 582, //newsvan - car 467, //oceanic - car 404, //peren - car 514, //petro - car 600, //picador - car 436, //previon - car 547, //primo - car 489, //rancher - car 479, //regina - car 534, //remingtn, //car 505, //rnchlure, //car 442, //romero - car 440, //rumpo - car 543, //sadler - car 605, //sadlshit, //car 495, //sandking, //car 567, //savanna - car 428, //securica, //car 535, //slamvan - car 458, //solair - car 580, //stafford, //car 439, //stallion, //car 561, //stratum - car 550, //sunrise - car 601, //GATEvan - car 574, //sweeper - car 566, //tahoma - car 549, //tampa - car 420, //Taxista - car 576, //tornado - car 583, //tug - car 558, //uranus - car 552, //utility - car 540, //vincent - car 491, //virgo - car 478, //walton - car 421, //washing - car 529, //willard - car 555, //windsor - car 456, //yankee - car 554 //yosemite, //car : type = VTYPE_CAR; case 405, //sentinel, //car 410, //manana - car 426, //premier - car 475, //sabre - car 496 //quad - quad : type = VTYPE_Mediano; case 429, //banshee - car 434 //hotknife, //car : type = VTYPE_Clasemedia; // ================== MOTORBIKES ======= case 581, //bf400 - bike 521, //fcr900 - bike 463, //freeway - bike 461, //pcj600 - bike 468, //sanchez - bike 586, //wayfarer, //bike 471 //quad - quad : type = VTYPE_MOTORBIKE; // ================== BIKES ======= case 509, //bike - bmx 481, //bmx - bmx 510 //mtbike - bmx : type = VTYPE_BIKE; // ================== CAROS ======= case 411 //infernus, //car : type = VTYPE_INFERNUS; case 409 //stretch //car : type = VTYPE_stretch; case 412 //voodoo //car : type = VTYPE_voodoo; case 413 //pony //car : type = VTYPE_pony; case 415 //cheetah //car : type = VTYPE_cheetah; case 418 //moonbeam, //car : type = VTYPE_moonbeam; case 444 //monster //car : type = VTYPE_monster; case 451 //turismo //car : type = VTYPE_turismo; case 477 //zr3 //car : type = VTYPE_zr3; case 506 //supergt //car : type = VTYPE_supergt; case 522 //nrg500, //car : type = VTYPE_nrg; case 541 //bullet, //car : type = VTYPE_bullet; case 560 //sultan //car : type = VTYPE_sultan; case 603 //phoenix //car : type = VTYPE_phoenix; // ================== SEA ======= case 472, //coastg - boat 473, //dinghy - boat 493, //jetmax - boat 595, //launch - boat 484, //marquis - boat 430, //predator, //boat 453, //reefer - boat 452, //speeder - boat 446, //squalo - boat 454 //tropic - boat : type = VTYPE_SEA; // ================== AIR ======= case 548, //cargobob, //heli 425, //hunter - heli 417, //leviathn, //heli 487, //maverick, //heli 497, //polmav - heli 563, //raindanc, //heli 501, //rcgoblin, //heli 465, //rcraider, //heli 447, //seaspar - heli 469, //sparrow - heli 488, //vcnmav - heli 592, //androm - plane 577, //at 400 - plane 511, //beagle - plane 512, //cropdust, //plane 593, //dodo - plane 520, //hydra - plane 553, //nevada - plane 464, //rcbaron - plane 476, //rustler - plane 519, //shamal - plane 460, //skimmer - plane 513, //stunt - plane 539 //vortex - plane : type = VTYPE_AIR; // ================== HEAVY ======= case 588, //hotdog - car 437, //coach - car 532, //combine - car 433, //barracks, //car 414, //mule - car 443, //packer - car 470, //patriot - car 432, //rhino - car 525, //towtruck, //car 531, //tractor - car 408, //trash - car 406, //dumper - mtruck 573, //duneride, //mtruck 556, //monstera, //mtruck 557, //monsterb, //mtruck 435, //artict1 - trailer 450, //artict2 - trailer 591, //artict3 - trailer 606, //bagboxa - trailer 607, //bagboxb - trailer 610, //farmtr1 - trailer 584, //petrotr - trailer 608, //tugstair, //trailer 611, //utiltr1 - trailer 590, //freibox - train 569, //freiflat, //train 537, //freight - train 538, //streak - train 570, //streakc - train 449 //tram - train : type = VTYPE_HEAVY; // ================== MISC ======= case 441, //rcbandit, //misc 594, //rccam - misc 564, //rctiger - misc 515, //rdtrain - misc 571 //kart - misc : type = VTYPE_MISC; } return type; } stock GetVehicleCost(vehicleid) { new typeid = GetVehicleType(vehicleid); if (typeid == VTYPE_CAR) return CAR_COST; if (typeid == VTYPE_HEAVY) return TRUCK_COST; if (typeid == VTYPE_BIKE) return BIKE_COST; if (typeid == VTYPE_AIR) return PLANE_COST; if (typeid == VTYPE_SEA) return BOAT_COST; if (typeid == VTYPE_MOTORBIKE) return MOTORBIKE_COST; if (typeid == VTYPE_MISC) return MISC_COST; if (typeid == VTYPE_INFERNUS) return TRUCK_INFERNUS; if (typeid == VTYPE_stretch) return TRUCK_stretch; if (typeid == VTYPE_voodoo) return TRUCK_voodoo; if (typeid == VTYPE_pony) return TRUCK_pony; if (typeid == VTYPE_cheetah) return TRUCK_cheetah; if (typeid == VTYPE_moonbeam) return TRUCK_moonbeam; if (typeid == VTYPE_monster) return TRUCK_monster; if (typeid == VTYPE_turismo) return TRUCK_turismo; if (typeid == VTYPE_zr3) return TRUCK_supergt; if (typeid == VTYPE_supergt) return TRUCK_zr3; if (typeid == VTYPE_nrg) return TRUCK_nrg; if (typeid == VTYPE_bullet) return TRUCK_bullet; if (typeid == VTYPE_sultan) return TRUCK_sultan; if (typeid == VTYPE_phoenix) return TRUCK_phoenix; if (typeid == VTYPE_Mediano) return TRUCK_mediano; if (typeid == VTYPE_Clasemedia) return TRUCK_Clasemedia; return 0; } stock LockVehicle(vehicleid) { if(CarroParticular[vehicleid] == -1) { new name[MAX_PLAYER_NAME]; for(new i; i < MAX_PLAYERS; i++) { if (IsPlayerConnected(i)) { if (VehicleInfo[vehicleid][vLock] == 1) { GetPlayerName(i, name, sizeof name); if (strcmp(name, VehicleInfo[vehicleid][vOwner])) { SetVehicleParamsForPlayer(vehicleid, i, false, true); } } } } } } stock NameVehicle(playerid) { new name[MAX_PLAYER_NAME],_str[128],meuid; for(new i; i < MAX_PLAYERS; i++) { if (IsPlayerConnected(i)) { meuid = GetOwnedVehicleID(i); if (meuid == GetPlayerVehicleID(playerid)) { GetPlayerName(i, name, sizeof name); PlayerTextDrawShow(playerid,TextDono1[playerid]); PlayerTextDrawShow(playerid,TextDono3[playerid]); PlayerTextDrawShow(playerid,TextDono4[playerid]); format(_str, sizeof _str, "Dono: ~w~%s", name); PlayerTextDrawSetString(playerid, TextDono2[playerid], _str); PlayerTextDrawShow(playerid,TextDono2[playerid]); } } } } stock UnlockVehicle(vehicleid) { for(new i; i < MAX_PLAYERS; i++) { if (IsPlayerConnected(i)) { SetVehicleParamsForPlayer(vehicleid, i, false, false); } } } stock IsVehicleSpawned(vehicleid) { new Float:X,Float:Y,Float:Z; GetVehiclePos(vehicleid, X, Y, Z); if (X == 0.0 && Y == 0.0 && Z == 0.0) return 0; return 1; } stock GetOwnedVehicleID(playerid) { if(IsValidVehicle(PlayerCarroConce[playerid])) return PlayerCarroConce[playerid]; else return INVALID_VEHICLE_ID; } stock PlayerInVehicle(vehicleid) { for(new i; i < MAX_PLAYERS; i++) { if (IsPlayerConnected(i)) { if (IsPlayerInVehicle(i, vehicleid)) return i; } } return INVALID_PLAYER_ID; } public OnVehicleMod(playerid, vehicleid, componentid) { OnVehicleMod_Vars(playerid, vehicleid, componentid); return 1; } OnVehicleMod_Vars(playerid, vehicleid, componentid) { if(componentid == 1086) { VehicleInfo[vehicleid][SoundCar] = 1086; PutSound(vehicleid); } new vehicleide = GetVehicleModel(vehicleid); new modok = islegalcarmod(vehicleide, componentid); if(playerid != INVALID_PLAYER_ID) { new Name[24]; GetPlayerName(playerid, Name, 24); if (!modok) { //new gstring[128]; printf("[invalid_mod] %s %d %d %d %d %d", Name, playerid, vehicleid, vehicleide, componentid); format(gstring, sizeof gstring, "ANTI-CHEAT: %s[ID: %d] foi kickado automaticamente por suspeita de State-Hack ou Crasher!", NomePlayer(playerid), playerid); ABroadCast(COLOR_LIGHTRED,gstring, 1); KickCNF(playerid); } } new count; for(new m = 0; m < MAX_MODS; m++) { if (VehicleInfo[vehicleid][vMod][m] == 0) { count++; VehicleInfo[vehicleid][vMod][m] = componentid; break; } } if(playerid != INVALID_PLAYER_ID) { if (count == 0) SendClientMessage(PlayerInVehicle(vehicleid), COLOR_LIGHTRED, "Voce atingiu o maximo de componentes. Voce nao pode mais adicionar componentes a nao ser que resete eles /mv!"); } } stock IsPlayerInBoat(playerid) //By Sacky { if(IsPlayerInAnyVehicle(playerid)) { new vehicleid = GetPlayerVehicleID(playerid); new vehicleclass = GetVehicleModel(vehicleid); switch(vehicleclass) { case 430:return 1; case 446:return 1; case 452:return 1; case 453:return 1; case 454:return 1; case 472:return 1; case 473:return 1; case 484:return 1; case 493:return 1; case 595:return 1; } } return 0; } stock IsPlayerInPlane(playerid) //By Sacky { if(IsPlayerInAnyVehicle(playerid)){ new vehicleid = GetPlayerVehicleID(playerid); new vehicleclass = GetVehicleModel(vehicleid); switch(vehicleclass) { case 460:return 1; case 464:return 1; case 476:return 1; case 511:return 1; case 512:return 1; case 513:return 1; case 519:return 1; case 520:return 1; case 539:return 1; case 553:return 1; case 577:return 1; case 592:return 1; case 593:return 1; } } return 0; } stock GranaRoubo(playerid, caixa_id) { new Float:x, Float:y, Float:z; GetPlayerPos(playerid, x, y, z); SetPVarFloat(playerid, "RouboX", x); SetPVarFloat(playerid, "RouboY", y); SetPVarFloat(playerid, "RouboZ", z); RoubandoCaixa[playerid] = true; ApplyAnimationEx(playerid,"ROB_BANK","CAT_Safe_Rob",4.1,1,0,0,0,0); SetTimerEx(#ApplyAnim, 500, 0, "i", playerid); SetTimerEx("PegarMoney", 10000, 0, "id", playerid, caixa_id); new id = CountAttachedObjects(playerid); SetPlayerAttachedObject_Droid(playerid, id, 1550,1,-0.068000,0.382000,-0.109999,-91.699996,101.200012,-149.300003,1.000000,1.000000,1.000000); SetPlayerAttachedObjectEx(1550,Vaga_Roubo,playerid,id); return 0; } CallBack::ApplyAnim(playerid) return ApplyAnimationEx(playerid,"ROB_BANK","CAT_Safe_Rob",4.1,1,0,0,0,0); CallBack::PegarMoney(playerid, caixa_id) { RoubandoCaixa[playerid] = false; ClearAnimations(playerid); if(!CaixaInfo[caixa_id][Caixa_Roubada])return 1; if(!IsPlayerInRangeOfPoint(playerid, 5.0, GetPVarFloat(playerid, "RouboX"),GetPVarFloat(playerid, "RouboY"),GetPVarFloat(playerid, "RouboZ"))) { RemovePlayerAttachedObjectEx(playerid, Vaga_Roubo); return GameTextForPlayer(playerid, "~r~Voce nao esta no local do roubo", 5000, 1); } new str[200]; new picks = CaixaInfo[caixa_id][Caixa_Pickups]; PlayerInfo[playerid][pDinheiroSujo] += CaixaInfo[caixa_id][Caixa_Dinheiro]/picks; format(str, sizeof str, "~w~~h~Voce pegou no chao~n~~g~~h~~h~R$%s", ConvertMoney(CaixaInfo[caixa_id][Caixa_Dinheiro]/picks)); GameTextForPlayer(playerid, str, 5000, 1); format(str, sizeof str, "Você pegou R$ %s no chao. Dinheiro Sujo Atual: R$ %s",ConvertMoney(CaixaInfo[caixa_id][Caixa_Dinheiro]/picks), ConvertMoney(PlayerInfo[playerid][pDinheiroSujo])); SendClientMessage(playerid, 0x8D8DFFFF, str); CaixaInfo[caixa_id][Caixa_Dinheiro] -= (CaixaInfo[caixa_id][Caixa_Dinheiro]/picks); format(str, sizeof str, "[CNF-RP]\n{FFFFFF}Caixa Eletronico\n{00FFFF}CAIXA DESTRUIDO\n{FFFFFF}Dinheiro despejado: R$%s",ConvertMoney(CaixaInfo[caixa_id][Caixa_Dinheiro])); UpdateDynamic3DTextLabelText(CaixaInfo[caixa_id][Caixa_Text], 0x4682B4FF, str); CaixaInfo[caixa_id][Caixa_Pickups] --; new id = CountAttachedObjects(playerid); SetPlayerAttachedObject_Droid(playerid, id, 1550, 1, 0.000000, -0.313611, 0.021003, 0.445490, 86.754409, 355.370239, 0.926815, 1.000000, 1.000000); SetPlayerAttachedObjectEx(1550,Vaga_Roubo,playerid,id); KillTimer(GetPVarInt(playerid, "ROBj")); SetPVarInt(playerid, "ROBj", SetTimerEx("RObject", 2*60000, 0, "d", playerid)); return 0; } CallBack::RObject(playerid) { RemovePlayerAttachedObject(playerid, 2); SetPVarInt(playerid, "ROBj", -1); } CallBack::SetAllPlayerCheckpoint(Float:allx, Float:ally, Float:allz, Float:radi, num) { foreach(Player, i) { SetPlayerCheckpoint(i,allx,ally,allz, radi); if (num != 255) { gPlayerCheckpointStatus[i] = num; } } } CallBack::SetAllCopCheckpoint(Float:allx, Float:ally, Float:allz, Float:radi) { return true; } CallBack::CancelMission(playerid) { DestroyVehicleEx(VehicleMission[playerid]); VehicleMission[playerid] = -1; MecanicMission[playerid] = false; SendClientMessage(playerid, COLOR_LIGHTRED, " Missao cancelada! voce nao voltou para o guincho."); //StopMission(playerid); } stock IsABombCar(carid) { new model = GetVehicleModel(carid); switch(model) { case 520, 432, 425: return 1; } return 0; } stock IsATankCar(carid) { new model = GetVehicleModel(carid); switch(model) { case 432: return 1; } return 0; } public OnPlayerStateChange(playerid, newstate, oldstate) { new string[300]; //new gstring[128]; new vehicleid = GetPlayerVehicleID(playerid); new vvvModel = GetVehicleModel(vehicleid); s_tate[playerid] = newstate; // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // if(newstate == PLAYER_STATE_DRIVER) { if(vvvModel == 514 || vvvModel == 499 || vvvModel == 414 || vvvModel == 456 || vvvModel == 435) { format(string, sizeof(string), "%d",PlayerHaul[vehicleid][pLoad]); PlayerTextDrawSetString(playerid,Produtosnb[playerid], string); format(string, sizeof(string), "%d",PlayerHaul[vehicleid][pCapasity]); PlayerTextDrawSetString(playerid,MaxProdutosnb[playerid], string); ShowCami(playerid); PlayerHaul[vehicleid][pCapasity] = 500; } } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // if(oldstate == PLAYER_STATE_ONFOOT && newstate == PLAYER_STATE_DRIVER) { for(new i = 0; i < sizeof(orgVehicles); i++) { if(vehicleid == orgVehicles[i][vID]) { KillTimer(TimerDestroy[vehicleid]); break; } } for(new i = 0; i < sizeof(empVehicles); i++) { if(vehicleid == empVehicles[i][vID]) { KillTimer(TimerDestroy[vehicleid]); break; } } } if(newstate == PLAYER_STATE_DRIVER) { if((GetTickCount()-GetPVarInt(playerid, "cartime")) < 1000) { SetPVarInt(playerid, "carspam", GetPVarInt(playerid, "carspam")+1); if(GetPVarInt(playerid, "carspam") >= 5) { new p_Name[24]; new string128[128]; GetPlayerName(playerid,p_Name,24); format(string128,sizeof(string128),"[HACK-SPAM] O jogador {00FF00}%s(%i){FFFF00} foi kikado por suspeita de car spam!",p_Name, playerid); SendClientMessageToAll(0xFFFF00AA,string128); printf(string128); return KickCNF(playerid); } } SetPVarInt(playerid, "cartime", GetTickCount()); } if(newstate == PLAYER_STATE_DRIVER) { if(AluguelCarrosCar(vehicleid))//Aluguel { if (IsValidVehicle(vehicleid) && CarroAluguel[playerid] != vehicleid) { format(strbrazz,sizeof(strbrazz),"Você deseja alugar este veículo?\nCusto: R$[500]"); ShowPlayerDialog(playerid,14689,DIALOG_STYLE_MSGBOX,"Aluguel de Veiculos",strbrazz,"Alugar","Cancelar"); TogglePlayerControllableEx(playerid, 0); } } } if(oldstate == PLAYER_STATE_DRIVER || oldstate == PLAYER_STATE_PASSENGER) { if(GetPVarInt(playerid, "VarFPS")) { if(IsValidObject(dcObject[playerid])==1)DestroyObject(dcObject[playerid]); SetCameraBehindPlayer(playerid); SetPVarInt(playerid, "VarFPS", 0); } } if ( newstate == PLAYER_STATE_DRIVER || newstate == PLAYER_STATE_PASSENGER) { if(GetVehicleModel(vehicleid) != 481 && GetVehicleModel(vehicleid) != 509 && GetVehicleModel(vehicleid) != 510) { ShowPlayerVelocimetro(playerid) ; } } else { HidePlayerVelocimetro(playerid) ; } if(oldstate == PLAYER_STATE_DRIVER && newstate == PLAYER_STATE_ONFOOT) { if(GetPVarInt(playerid,"Xenon") == 1) { SetPVarInt(playerid,"Xenon",0); SendClientMessage(playerid, 0xFFFFFFAA, "Xenon {E31919}Desativado!"); RemoverXenon(playerid); } if(InChoque[playerid] == true) { RemovePlayerWeapon(playerid, 23); GivePlayerWeapon(playerid, armaeagle[playerid], balaseagle[playerid]); SetPlayerArmedWeapon(playerid, 29); InChoque[playerid] = false; format(string, sizeof(string), "* %s guardou sua arma de Choque.", NomePlayer(playerid)); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); if(balaseagle[playerid] < 1)SetPlayerAmmo(playerid, 2, 0); } } if(newstate == PLAYER_STATE_DRIVER) { CheckChave(playerid, vehicleid); SetTimerEx("CarroParado",200, false, "d",playerid); } if(IsPlayerNPC(playerid)) return 1; if(newstate != PLAYER_STATE_DRIVER) { SetPlayerTeam(playerid, GetPlayerOrg(playerid)); pvehicleid[playerid] = 0; pmodelid[playerid] = 0; if(MecanicMission[playerid]) EndMission(playerid); if(PlayerInCorrida[playerid]) { format(string, sizeof string, "*** %s saiu de seu carro de corrida e foi desclassificado.",NomePlayer(playerid)); foreach(Player, i) { if(PlayerInCorrida[i]) { SendClientMessage(i, COLOR_LIGHTRED, string); } } PlayerInCorrida[playerid] = false; SetVehicleToRespawnEx(gLastCar[playerid]); DisablePlayerRaceCheckpoint(playerid); SetPlayerPos(playerid, SBizzInfo[25][sbEntranceX],SBizzInfo[25][sbEntranceY], SBizzInfo[25][sbEntranceZ]); SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 0); } } if(newstate == PLAYER_STATE_PASSENGER && GetVehicleModel(GetPlayerVehicleID(playerid)) == 427) { if(GetPlayerVehicleSeat(playerid) == 2 || GetPlayerVehicleSeat(playerid) == 3) { if(Watching[playerid] == 0) { Inenforcer[playerid] = GetPlayerVehicleID(playerid); SetPlayerVirtualWorld(playerid, Inenforcer[playerid]); SetPlayerPos(playerid, 2084.479980, -1374.825928, 3000.628052); SetPlayerFacingAngle(playerid, 0); SetCameraBehindPlayer(playerid); SetPlayerInterior(playerid, 1); } } } if(newstate == PLAYER_STATE_ONFOOT) { HideCami(playerid); foreach(Player, i) { if(PlayerInfo[i][pAdmin] && Spectate[i] == playerid) { PlayerSpectatePlayer(i, playerid); } } if(Watching[playerid] > 0) { Watching[playerid] = 0; } if(TransportCost[playerid] > 0 && TransportDriver[playerid] < 999) { if(IsPlayerConnected(TransportDriver[playerid])) { TransportMoney[TransportDriver[playerid]] += TransportCost[playerid]; TransportTime[TransportDriver[playerid]] = 0; TransportCost[TransportDriver[playerid]] = 0; format(gstring, sizeof(gstring), "~w~Custo da corrida~n~~r~R$%s",ConvertMoney(TransportCost[playerid])); GameTextForPlayer(playerid, gstring, 5000, 1); HideTaxista(playerid); format(gstring, sizeof(gstring), "taximetro:~r~0/0"); PlayerTextDrawSetString(TransportDriver[playerid],Taxistam[TransportDriver[playerid]], gstring); format(gstring, sizeof(gstring), "$00000"); PlayerTextDrawSetString(TransportDriver[playerid],ValorTaxista[TransportDriver[playerid]], gstring); format(gstring, sizeof(gstring), "Passageiro:~n~~w~Ninguem"); PlayerTextDrawSetString(TransportDriver[playerid],passTaxista[TransportDriver[playerid]], gstring); format(gstring, sizeof(gstring), "~w~Passageiro saiu do Taxista~n~~g~ganhou R$%s",ConvertMoney(TransportCost[playerid])); GameTextForPlayer(TransportDriver[playerid], gstring, 5000, 1); GiveDinheiro(playerid, -TransportCost[playerid]); TransportCost[playerid] = 0; TransportTime[playerid] = 0; TransportDriver[playerid] = 999; } } } if(newstate == PLAYER_STATE_PASSENGER) // Taxista, BUSSES, BOTS { foreach(Player, i) { if(PlayerInfo[i][pAdmin] && Spectate[i] == playerid) { PlayerSpectateVehicle(i, GetPlayerVehicleID(playerid)); } } pvehicleid[playerid] = GetPlayerVehicleID(playerid); pmodelid[playerid] = GetVehicleModel(pvehicleid[playerid]); new name[MAX_PLAYER_NAME]; new arma = GetPlayerWeapon(playerid); GetPlayerName(playerid, name, sizeof(name)); if(arma == 24 || arma == 25) { SetPlayerArmedWeapon(playerid, 29); SendClientMessage(playerid, COLOR_GRAD1, "Proibido entrar de passageiro com esta arma, ela foi retirada de sua mao!"); } foreach(Player, i) { if(IsPlayerInVehicle(i, vehicleid) && GetPlayerState(i) == 2 && TransportDuty[i] > 0) { if(GetPlayerMoney(playerid) < TransportValue[i]) { format(gstring, sizeof(gstring), "* Voce precisa de R$%s para entrar.", ConvertMoney(TransportValue[i])); SendClientMessage(playerid, COLOR_LIGHTBLUE, gstring); RemovePlayerFromVehicleEx(playerid); } else { if(TransportDuty[i] == 1) { format(gstring, sizeof(gstring), "* Pagou R$%s para o Taxista.", ConvertMoney(TransportValue[i])); SendClientMessage(playerid, COLOR_LIGHTBLUE, gstring); ShowTaxista(playerid); format(gstring, sizeof(gstring), "* Passageiro %s entrou no Taxista.", name); SendClientMessage(i, COLOR_LIGHTBLUE, gstring); TransportTime[i] = 1; TransportPlayer[playerid] = i; TransportPlayer[i] = playerid; TransportTime[playerid] = 1; TransportCost[playerid] = TransportValue[i]; TransportCost[i] = TransportValue[i]; TransportDriver[playerid] = i; format(gstring, sizeof(gstring), "Passageiro:~n~%s", name); PlayerTextDrawSetString(i,passTaxista[i], gstring); format(gstring, sizeof(gstring), "Motorista:~n~%s", NomePlayer(i)); PlayerTextDrawSetString(playerid,passTaxista[playerid], gstring); } else if(TransportDuty[i] == 2) { format(gstring, sizeof(gstring), "* Pagou R$%s para o Motorista De Onibus.", ConvertMoney(TransportValue[i])); SendClientMessage(playerid, COLOR_LIGHTBLUE, gstring); format(gstring, sizeof(gstring), "* Passageiro %s entrou no Onibus.", name); SendClientMessage(i, COLOR_LIGHTBLUE, gstring); } GiveDinheiro(playerid, - TransportValue[i]); TransportMoney[i] += TransportValue[i]; } } } } if(newstate == PLAYER_STATE_DRIVER) { foreach(Player, i) { if(PlayerInfo[i][pAdmin] && Spectate[i] == playerid) { PlayerSpectateVehicle(i, GetPlayerVehicleID(playerid)); } } pvehicleid[playerid] = GetPlayerVehicleID(playerid); pmodelid[playerid] = GetVehicleModel(pvehicleid[playerid]); if(pmodelid[playerid] == 481 || pmodelid[playerid] == 509 || pmodelid[playerid] == 510) { // entrou bike new moto, mot, lu, alar, por, cap, porma, ob; GetVehicleParamsEx(moto, mot, lu, alar, por, cap, porma, ob); SetVehicleParamsEx(moto, VEHICLE_PARAMS_ON, lu, alar, por, cap, porma, ob); } else { SendClientMessage(playerid, 0x90EE90FF, "[ INFO VEICULO ] {FFFFFF}------------------------------------------------------------ {90EE90}[ INFO VEICULO ]"); SendClientMessage(playerid, 0xFFFFFFFF, "» Pressione a letra {90EE90}Y{FFFFFF} ou digite /motor para ligar ou desligar este veiculo"); SendClientMessage(playerid, 0xFFFFFFFF, "» Para ter total controle sobre este carro usar {90EE90}/ajuda"); SendClientMessage(playerid, 0x90EE90FF, "[ INFO VEICULO ] {FFFFFF}------------------------------------------------------------ {90EE90}[ INFO VEICULO ]"); } if(!IsVeiculoInventario(vehicleid) && IsVeiculoConce(vehicleid)) { SCMf(playerid, COLOR_LIGHTBLUE, "[Veiculo] Este veiculo pertence ao jogador: {FFFFFF}%s!", VehicleInfo[vehicleid][vOwner]); } /*new meuid = GetOwnedVehicleID(playerid); if (meuid == GetPlayerVehicleID(playerid)) { SendClientMessage(playerid, 0x90EE90FF, "[ INFO VEICULO ] {FFFFFF}------------------------------------------------------------ {90EE90}[ INFO VEICULO ]"); SendClientMessage(playerid, 0xFFFFFFFF, "» Use o comando {90EE90}/mv{FFFFFF} para obter controle total em seu veiculo"); SendClientMessage(playerid, 0x90EE90FF, "[ INFO VEICULO ] {FFFFFF}------------------------------------------------------------ {90EE90}[ INFO VEICULO ]"); }*/ new newcar = GetPlayerVehicleID(playerid); if(IsABombCar(newcar)) { if(TendoGuerra) { SetPlayerTeam(playerid, GetPlayerOrg(playerid)); } } gLastCar[playerid] = newcar; gLastDriver[newcar] = playerid; } if(newstate == PLAYER_STATE_SPAWNED && logouagora[playerid] ==0 ) { if(sincronizando[playerid] == 1) { return true; } new Float: lwx, Float:lwy, Float:lwz; GetPlayerPos(playerid, lwx, lwy, lwz); if((lwz > 530.0 && PlayerInfo[playerid][pInt] == 0) || PlayerToPoint(1000.0, playerid, -1041.9,-1868.4,79.1)) //the highest land point in sa = 526.8 { if(sincronizando[playerid] == 1) { return true; } SetPlayerSpawn(playerid); } gPlayerSpawned[playerid] = 1; SafeTime[playerid] = 60; } return true; } CallBack::CheckVehicle(playerid, vehicleid) { if(GetPlayerVehicleID(playerid) == vehicleid && GetPlayerState(playerid) == PLAYER_STATE_DRIVER) { new Float:x, Float:y, Float:z; GetPlayerPos(playerid, x, y, z); SetPlayerPos(playerid, x, y, z+2.0); } return true; } CallBack::HireCost(carid) { switch (carid) { case 69: { return 90000; //Ford-GT } case 70: { return 130000; //infernus } case 71: { return 100000; //Diablo } case 72: { return 80000; } case 73: { return 70000; } case 74: { return 60000; } } return 0; } CallBack::CarCheck()//ATUAL { foreach(Player, j) { new Float:health; GetPlayerHealth(j, health); if(PlayerInfo[j][pDoenca]==1) { GetPlayerHealth(j, health); SetPlayerHealth(j, health - 4.0); SendClientMessage(j, COLOR_LIGHTBLUE, "* Perdeu 4 de Saúde por DST - Va ate um hospital ou procure um medico para se curar"); } else if(PlayerInfo[j][pDoenca]==2) { GetPlayerHealth(j, health); SetPlayerHealth(j, health - 8.0); SendClientMessage(j, COLOR_LIGHTBLUE, "* Perdeu 8 de Saúde por DST - Va ate um hospital ou procure um medico para se curar"); } else if(PlayerInfo[j][pDoenca]==3) { GetPlayerHealth(j, health); SetPlayerHealth(j, health - 12.0); SendClientMessage(j, COLOR_LIGHTBLUE, "* Perdeu 12 de Saúde por DST - Va ate um hospital ou procure um medico para se curar"); } else if(PlayerInfo[j][pDoenca]==4) { GetPlayerHealth(j, health); SetPlayerHealth(j, health - 5.0); SendClientMessage(j, COLOR_LIGHTBLUE, "* Perdeu 5 de Saúde por Cirrose - Va ate um hospital ou procure um medico para se curar."); } else if(PlayerInfo[j][pDoenca]==5) { GetPlayerHealth(j, health); SetPlayerHealth(j, health - 5.0); SendClientMessage(j, COLOR_LIGHTBLUE, "* Perdeu 5 de Saúde por Câncer de Pulmao - Va ate um hospital ou procure um medico para se curar."); } if(GetPlayerMoney(j) < 0) { if(MoneyMessage[j]==0) { //new gstring[128]; format(gstring, sizeof(gstring), "Voce esta devendo: R$%d Se nao tiver essa grana ate o proximo payday, devera mais 100$ !", GetPlayerMoney(j)); SendClientMessage(j, COLOR_LIGHTRED, gstring); MoneyMessage[j] = 1; } } else { MoneyMessage[j] = 0; } } for(new c = 1; c < 254; c++) { if (gLastDriver[c] >= 300) { gLastDriver[c]++; } //forndowner = -1; } return true; } CallBack::CarInit() { for(new c = 1; c < 254; c++) { gLastDriver[c] = 299; } gLastDriver[301]=255; return true; } CallBack::CarRespawn(carid) { foreach(Player, i) { if(IsPlayerInVehicle(i, carid) || HireCar[i] == carid) { gLastDriver[carid] = 255; return 0; } } SetVehicleToRespawnEx(carid); gLastDriver[carid] = 299; return true; } CallBack::OnPlayerExitVehicle(playerid, vehicleid) { if(rRy_M11_CPR_ON[playerid] == 1){ DisablePlayerRaceCheckpoint(playerid); DestroyDynamicMapIcon(M11_MapIconCPR[playerid]); rRy_M11_CPR_ON[playerid] = 0; for (new K = 0; K < sizeof(rRy_PlayersID); K++) if(rRy_PlayersID[K] == playerid){ rRy_PlayersID[K] = -1; break; } new xQnt; for (new K = 0; K < sizeof(rRy_PlayersID); K++) if(rRy_PlayersID[K] == -1) xQnt++; if(xQnt >= sizeof(rRy_PlayersID)){ rRy_sTimeS = 0; rRy_CorAtivada = 0; rRy_AddCheck = 0; rRy_CheckFINAL = 0; rRy_CheckSTART = 0; SendClientMessageToAll(0xFFFF00FF, "Corrida foi finalizada!"); } } for(new i = 0; i < sizeof(orgVehicles); i++) { if(vehicleid == orgVehicles[i][vID]) { KillTimer(TimerDestroy[vehicleid]); TimerDestroy[vehicleid] = SetTimerEx("DestroyVehicleOrg", TIME_DESTROY_VEHICLE, false, "ii", vehicleid, i); break; } } for(new i = 0; i < sizeof(empVehicles); i++) { if(vehicleid == empVehicles[i][vID]) { TimerDestroy[vehicleid] = SetTimerEx("DestroyVehicleEmp", TIME_DESTROY_VEHICLE, false, "ii", vehicleid, i); break; } } if(TunC == playerid) return 1; if(CameraFPS[playerid] == 1) { if(!IsPlayerInAnyVehicle(playerid))return SendClientMessage(playerid, COLOR_GREY, "Voce nao esta dentro de um carro!"); new Sofor = GetPlayerState(playerid); if(GetPVarInt(playerid, "VarFPS")) { if(Sofor == PLAYER_STATE_DRIVER) { if(IsValidObject(dcObject[playerid])==1) { DestroyObject(dcObject[playerid]); } SetCameraBehindPlayer(playerid); SetPVarInt(playerid, "VarFPS", 0); CameraFPS[playerid] = 0; SendClientMessage(playerid, COLOR_LIGHTBLUE, "» Camera desligada!"); } else if(Sofor == PLAYER_STATE_PASSENGER) { if(IsValidObject(dcObject[playerid])==1) { DestroyObject(dcObject[playerid]); } SetCameraBehindPlayer(playerid); SetPVarInt(playerid, "VarFPS", 0); SendClientMessage(playerid, COLOR_LIGHTBLUE, "» Camera desligada!"); CameraFPS[playerid] = 0; return 1; } } } if(GetPVarInt(playerid,"Xenon") == 1) { SetPVarInt(playerid,"Xenon",0); SendClientMessage(playerid, 0xFFFFFFAA, "Xenon {E31919}Desativado!"); RemoverXenon(playerid); } if(GetPVarInt(playerid, "VarFPS")) { if(IsValidObject(dcObject[playerid])==1)DestroyObject(dcObject[playerid]); SetCameraBehindPlayer(playerid); SetPVarInt(playerid, "VarFPS", 0); } if (GetPlayerState(playerid) == 1) { return true; } if (gPlayerTerminal[playerid] != 0) { BusrouteEnd(playerid); } Controle(playerid, 1); return true; } forward SpawnarPlayer(playerid); public SpawnarPlayer(playerid) { SpawnDebug(playerid); } public OnPlayerRequestClass(playerid, classid) { if(!gPlayerLogged[playerid]) { // SetSpawnInfo(playerid, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0); if(IsPlayerNPC(playerid)) { SpawnPlayer(playerid); return 1; } TogglePlayerSpectating(playerid, true); } else { SpawnPlayer(playerid); SetPlayerSkin(playerid, PlayerInfo[playerid][pSkin]); } return 1; } forward login_dialog(playerid); public login_dialog(playerid) { if(!gPlayerLogged[playerid]) { new string2[100]; format(string2, sizeof(string2), Pasta_Contas, PlayerName(playerid)); //new gstring[450]; if (gPlayerLogged[playerid] != 1) { GetPlayerName(playerid, plname, sizeof(plname)); format(gstring, 100, Pasta_Contas, plname); if(fexist(gstring)) { format(gstring, sizeof gstring,"\n{7CFC00}» {FFFFFF}Ola %s Seja bem vindo ao servidor BRASIL POBRE RP\n\n\ {7CFC00}» {FFFFFF}Sua conta: {7CFC00}%s {FFFFFF}esta {00FFFF}REGISTRADA\n\ {7CFC00}» {FFFFFF}Digite sua senha para efetuar o LOGIN\n\n\ {FFFF00} {FFFFFF}OBS: Somente Numeros!\n\n", PlayerName(playerid)); ShowPlayerDialog(playerid, 1, DIALOG_STYLE_PASSWORD, "Fazendo Login", gstring, "Login", "Sair"); } else { format(gstring, sizeof gstring,"\n{7CFC00}» {FFFFFF}Ola %s Seja bem vindo ao servidor BRASIL POBRE RP\n\n\ {7CFC00}» {FFFFFF}Sua conta: {7CFC00}%s {FFFFFF}esta {00FFFF}NÃO REGISTRADA\n\ {7CFC00}» {FFFFFF}Digite sua senha para efetuar o REGISTRO\n\n\ {FFFF00} {FFFFFF}OBS: Somente Numeros!\n\n", PlayerName(playerid)); ShowPlayerDialog(playerid, 2, DIALOG_STYLE_PASSWORD, "Fazendo Login", gstring, "Cadastrar", "Sair"); } } // SetPlayerSkin(playerid, 37); SetPlayerInterior(playerid, 0); Controle(playerid, 0); // SetPlayerPos(playerid, 227.0743,1822.6564,7.4141); } return 1; } public OnPlayerRequestSpawn(playerid) { return 1; } //--------------------------------------------------------- stock ShowPlayerVelocimetro(playerid) { if ( PlayerVelocimetro[playerid] ) { return 0; } PlayerTextDrawSetString(playerid, textPlayerVelocimetro[7][playerid], getVehicleName(GetPlayerVehicleID(playerid))); for( new text; text != 10; text++) PlayerTextDrawShow(playerid, textPlayerVelocimetro[text][playerid]); PlayerVelocimetro[playerid] = true ; PlayerVelocimetroTimer[playerid] = SetTimerEx("UpdatePlayerVelocimetro", 300, true, "i", playerid); return 1; } stock HidePlayerVelocimetro(playerid) { if ( !PlayerVelocimetro[playerid] ) { return 0; } for( new text; text != 10; text++) PlayerTextDrawHide(playerid, textPlayerVelocimetro[text][playerid]); PlayerVelocimetro[playerid] = false ; KillTimer(PlayerVelocimetroTimer[playerid]); return 1; } stock SetPlayerCriminal(playerid,declare, const reason[]) { if(!IsACop(playerid)) { PTC++; //new gstring[128]; WantedPoints[playerid] ++; SetPlayerWantedLevelEx(playerid, WantedPoints[playerid]); PlayerInfo[playerid][pCrimes] ++; new turned[MAX_PLAYER_NAME]; new turner[100]; new location[MAX_ZONE_NAME]; GetPlayer2DZone(playerid, location, MAX_ZONE_NAME); strmid(PlayerCrime[playerid][pAccusedof], reason, 0, strlen(reason), 255); GetPlayerName(playerid, turned, sizeof(turned)); if (declare == 255) { format(turner, sizeof(turner), "Desconhecido"); strmid(PlayerCrime[playerid][pVictim], turner, 0, strlen(turner), 255); strmid(PlayerCrime[playerid][pAccusing], reason, 0, strlen(reason), 255); } if (declare == 155) { format(turner, sizeof(turner), "Câmeras de Seguranca"); strmid(PlayerCrime[playerid][pVictim], turner, 0, strlen(turner), 255); strmid(PlayerCrime[playerid][pAccusing], reason, 0, strlen(reason), 255); } else { if(IsPlayerConnected(declare)) { GetPlayerName(declare, turner, sizeof(turner)); strmid(PlayerCrime[playerid][pVictim], turner, 0, strlen(turner), 255); strmid(PlayerCrime[declare][pBplayer], turned, 0, strlen(turned), 255); strmid(PlayerCrime[declare][pAccusing], reason, 0, strlen(reason), 255); } } format(gstring, sizeof(gstring), "* Voce cometeu um crime ( %s ). acusador: %s.",reason,turner); SendClientMessage(playerid, COLOR_LIGHTRED, gstring); SetPlayerWantedLevelEx(playerid, WantedPoints[playerid]); format(gstring, sizeof(gstring), "Nivel de procurado: %d", WantedPoints[playerid]); SendClientMessage(playerid, COLOR_YELLOW, gstring); foreach(Player, i) { if(IsACop(i)) { if(declare != 255) { format(gstring, sizeof(gstring), "HQ: Todas Unidades: Denunciante: %s",turner); SendClientMessage(i, 0x8d8dffFF, gstring); format(gstring, sizeof(gstring), "HQ: Crime: %s Suspeito: {00FFFF}%s[ID: %d]{8d8dff}, Local: %s",reason,turned,playerid,location); SendClientMessage(i, 0x8d8dffFF, gstring); } } } }//not connected return 0; } //--------------------------------------------------------- CallBack::SetPlayerFree(playerid,declare,reason[]) { if(IsPlayerConnected(playerid)) { //new gstring[128]; ClearCrime(playerid); new turned[MAX_PLAYER_NAME]; new turner[MAX_PLAYER_NAME]; if (declare == 255) { format(turner, sizeof(turner), "190"); } else { if(IsPlayerConnected(declare)) { GetPlayerName(declare, turner, sizeof(turner)); } } GetPlayerName(playerid, turned, sizeof(turned)); RingTone[playerid] = 20; SetPlayerWantedLevelEx(playerid, 0); foreach(Player, i) { if(IsACop(i)) { format(gstring, sizeof(gstring), "<< HQ: Todas As Unidades, Oficial %s Completou uma sentenca >>",turner); SendClientMessage(i, COLOR_DBLUE, gstring); format(gstring, sizeof(gstring), "HQ: %s Foi processado, %s",turned,reason); SendClientMessage(i, COLOR_DBLUE, gstring); SetPlayerWantedLevelEx(playerid, 0); } } } } stock SendCopMessage(color, const message[]) { foreach(Player, i) { if(IsACop(i)) SendClientMessage(i, color, message); } return 0; } CallBack::RingToner() { foreach(Player, i) { if(RingTone[i] != 6 && RingTone[i] != 0 && RingTone[i] < 11) { RingTone[i] = RingTone[i] -1; PlayerPlaySound(i, 1138, 0.0, 0.0, 0.0); } if(RingTone[i] == 6) { RingTone[i] = RingTone[i] -1; } if(RingTone[i] == 20) { RingTone[i] = RingTone[i] -1; PlayerPlaySound(i, 1139, 0.0, 0.0, 0.0); } } SetTimer("RingTonerRev", 1000, 0); return true; } CallBack::RingTonerRev() { foreach(Player, i) { if(RingTone[i] != 5 && RingTone[i] != 0 && RingTone[i] < 10) { RingTone[i] = RingTone[i] -1; PlayerPlaySound(i, 1137, 0.0, 0.0, 0.0); } if(RingTone[i] == 5) { RingTone[i] = RingTone[i] -1; } if(RingTone[i] == 19) { PlayerPlaySound(i, 1139, 0.0, 0.0, 0.0); RingTone[i] = 0; } } SetTimer("RingToner", 1000, 0); return true; } stock Sound(playerid, soundid, Float:range, forplayerid = INVALID_PLAYER_ID) { new Float: sPOS[3]; GetPlayerPos(playerid, sPOS[0], sPOS[1], sPOS[2]); if(forplayerid == INVALID_PLAYER_ID) { foreach(Player, i) { if(IsPlayerInRangeOfPoint(i, range, sPOS[0], sPOS[1], sPOS[2])) { PlayerPlaySound(i, soundid, sPOS[0], sPOS[1], sPOS[2]); } } } else { if(IsPlayerInRangeOfPoint(forplayerid, range, sPOS[0], sPOS[1], sPOS[2])) { PlayerPlaySound(forplayerid, soundid, sPOS[0], sPOS[1], sPOS[2]); } } return false; } //SetPlayerAttachedObject_Droid(SlotReal,playerid,Slot_Planta,2247,5,0.167000,-0.133999,-0.206000,-42.099990,-162.800018,50.999988,1.000000,1.000000,1.000000) CallBack::OtherTimer() { foreach(Player, i) { if(gPlayerLogged[i]) { new Float:Viida, Float:Coleete; GetPlayerHealth(i,Viida); if(admtrampando[i] == 1 && PlayerInfo[i][pAdmin] >= 1 || PlayerInfo[i][pAdminTemp] >= 1) { SetPlayerHealth(i, 99999); if(PlayerInfo[i][pAdmin] < 1341)// Voce pode colocar excecões, tipo, nao ter afeito contra admins, etc... { ResetPlayerWeapons(i); } } else if(helpertrampando[i] == 1 && PlayerInfo[i][pHelper] >= 1) { SetPlayerHealth(i, 99999); ResetPlayerWeapons(i); } else if(PlayerInfo[i][pJailed]) { SetPlayerHealth(i, 99999); ResetPlayerWeapons(i); } else if(Viida > 100.0) { SetPlayerHealth(i, 100); } GetPlayerArmour(i,Coleete); if(Coleete > 100.0) { SetPlayerArmour(i, 100); } if(SafeTime[i] > 0) { SafeTime[i]--; } if(PlayerInfo[i][pEmprego] == 3 && GetPVarInt(i, "AGRTrampando")) { if(CP[i] != 99) { for(new agr; agr < 6; agr++) { if(IsPlayerInRangeOfPoint(i, 15.0, AGR_Pos[agr][0], AGR_Pos[agr][1], AGR_Pos[agr][2])) { SetPlayerCheckpoint(i, AGR_CP[agr][0]+random(5), AGR_CP[agr][1]-random(5), AGR_CP[agr][2], 1.3); CP[i] = 99; SetPVarInt(i, "AGR_Pegou", 0); } } } } if(CellTime[i] > 0) { if (CellTime[i] == cchargetime) { CellTime[i] = 1; if(Mobile[Mobile[i]] == i) { CallCost[i] = CallCost[i]+callcost; } } CellTime[i] = CellTime[i] +1; if (Mobile[Mobile[i]] == 255 && CellTime[i] == 5) { if(IsPlayerConnected(Mobile[i])) { //new gstring[128]; format(gstring, sizeof(gstring), "* %s's Celular tocando.", PlayerName(Mobile[i])); RingTone[Mobile[i]] = 10; SendClientMessageInRange(30.0, Mobile[i], gstring, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); Sound(i, 20804, 18.0); } } } if(CellTime[i] == 0 && CallCost[i] > 0) { //new gstring[128]; format(gstring, sizeof(gstring), "~w~Custo da ligacao~n~~r~R$%s",ConvertMoney(CallCost[i])); GiveDinheiro(i, -CallCost[i]); SBizzInfo[2][sbTill] += CallCost[i]; ExtortionSBiz(2, CallCost[i]); GameTextForPlayer(i, gstring, 5000, 1); CallCost[i] = 0; } if(TransportTime[i] > 0) { if(TransportTime[i] >= 16) { TransportTime[i] = 1; if(TransportDriver[i] < 999) { if(IsPlayerConnected(TransportDriver[i])) { TransportCost[i] += TransportValue[TransportDriver[i]]; TransportCost[TransportDriver[i]] = TransportCost[i]; } } } TransportTime[i] += 1; //new gstring[128]; //format(gstring, sizeof(gstring), "~r~%d ~w~: ~g~R$%d",TransportTime[i],TransportCost[i]); //GameTextForPlayer(i, gstring, 15000, 6); format(gstring, sizeof(gstring), "taximetro:~r~%d/16",TransportTime[i]); PlayerTextDrawSetString(i,Taxistam[i], gstring); format(gstring, sizeof(gstring), "$%d",TransportCost[i]); PlayerTextDrawSetString(i,ValorTaxista[i], gstring); } if (gPlayerTerminal[i] != 0) { new vehicleid = GetPlayerVehicleID(i); if (vehicleid != 0) { if (!IsABus(vehicleid)) { if (gPlayerTerminal[i] != 0) BusrouteEnd(i); } } else { if (gPlayerTerminal[i] != 0) BusrouteEnd(i); } } } } if(TempoLoteria == 600) SendClientMessageToAll(COLOR_YELLOW, "[Loterica]: A loteria ira comecar em 10 minutos, aposte usando /loteria [numero]."); if(TempoLoteria > 0)TempoLoteria--; else { SendClientMessageToAll(COLOR_WHITE, "[Loterica]: O Sorteio da Loteria ja comecou."); new rand = random(50); if(rand == 0) rand = 1; Lotto(rand); TempoLoteria = 60*20; } return true; } static stock GetDelegaciaName(playerid) { new delegacia[35]; switch(PlayerInfo[playerid][pJailed]) { case 1:delegacia = "HQ Policia Militar"; case 2:delegacia = "HQ BOPE Los Santos"; case 3:delegacia = "HQ Exercito"; case 9:delegacia = "Preso por Admin"; case 16:delegacia = "HQ ROTA"; case 11:delegacia = "HQ Policia Federal"; case 24:delegacia = "Penitenciaria"; case 25:delegacia = "Penitenciaria"; case 33:delegacia = "HQ Policia Civil"; case 35:delegacia = "HQ BAEP"; default:delegacia = "Nenhuma"; } return delegacia; } CallBack::Fazenda() { new randomValor; randomValor = random(4); switch(randomValor) { case 0: { for(new f = 0; f < sizeof(FBizzInfo); f++) { FBizzInfo[f][fbTill] += 1121; ExtortionFBiz(f, 1121); FBizzInfo[f][fbProducts] =- 3; PLE += 2121; DepositarOrgGrana(7,2121); } } case 1: { for(new f = 0; f < sizeof(FBizzInfo); f++) { FBizzInfo[f][fbTill] += 2521; ExtortionFBiz(f, 2521); FBizzInfo[f][fbProducts] =- 2; PLE += 3426; DepositarOrgGrana(7,3426); } } case 2: { for(new f = 0; f < sizeof(FBizzInfo); f++) { FBizzInfo[f][fbTill] += 1675; ExtortionFBiz(f, 1675); FBizzInfo[f][fbProducts] =- 1; PLE += 1633; DepositarOrgGrana(7,1633); } } case 3: { for(new f = 0; f < sizeof(FBizzInfo); f++) { FBizzInfo[f][fbTill] += 3369; ExtortionFBiz(f, 3369); FBizzInfo[f][fbProducts] =- 4; PLE += 3483; DepositarOrgGrana(7,3483); } } } } CallBack::SetPlayerUnjail() { //new gstring[265]; foreach(Player, i) { new level = PlayerInfo[i][pLevel]; new vip = PlayerInfo[i][pVIP]; if(level >= 0 && level <= 2) { PlayerInfo[i][pSalario] += 2; } else if(level >= 3 && level <= 4) { PlayerInfo[i][pSalario] += 3; } else if(level >= 5 && level <= 6) { PlayerInfo[i][pSalario] += 4; } else if(level >= 7 && level <= 8) { PlayerInfo[i][pSalario] += 5; } else if(level >= 9 && level <= 10) { PlayerInfo[i][pSalario] += 3; } else if(level >= 11 && level <= 12) { PlayerInfo[i][pSalario] += 4; } else if(level >= 13 && level <= 14) { PlayerInfo[i][pSalario] += 4; } else if(level >= 15 && level <= 16) { PlayerInfo[i][pSalario] += 4; } else if(level >= 17 && level <= 18) { PlayerInfo[i][pSalario] += 5; } else if(level >= 19 && level <= 20) { PlayerInfo[i][pSalario] += 6; } else if(level >= 21) { PlayerInfo[i][pSalario] += 10; } if(vip == 1) { PlayerInfo[i][pSalario] += 11; } else if(vip == 2) { PlayerInfo[i][pSalario] += 15; } else if(vip == 5) { PlayerInfo[i][pSalario] += 18; } switch(GetPlayerState(i)){ case 1, 2, 3:{ if((gettime()-TempoAFK[i]) > 4){ format(gstring, sizeof gstring, "Ausente a {ff6600}%s", ConvertTime(gettime()-TempoAFK[i])); SetPlayerChatBubble(i, gstring, -1, 45.0, 1500); EstaAFK[i] = 1; } else { EstaAFK[i] = 0; } } } if(PlayerInfo[i][pBloqNoob] > 0) { if(PlayerInfo[i][pBloqNoob] > 0) { PlayerInfo[i][pBloqNoob]--; } if(PlayerInfo[i][pBloqNoob] <= 0) { PlayerInfo[i][pBloqNoob] = 0; SendClientMessage(i, COLOR_GRAD1,"Voce agora ja pode usar o /n novamente Seja RP !"); } } if(PlayerInfo[i][pAnGov] > 0) { if(PlayerInfo[i][pAnGov] > 0) { PlayerInfo[i][pAnGov]--; } if(PlayerInfo[i][pAnGov] <= 0) { PlayerInfo[i][pAnGov] = 0; SendClientMessage(i, COLOR_GRAD1,"Voce agora ja pode mandar anúncios novamente Seja RP !"); } } if(PlayerInfo[i][pArmasb] > 0) { if(PlayerInfo[i][pArmasb] > 0) { PlayerInfo[i][pArmasb]--; } if(PlayerInfo[i][pArmasb] <= 0) { PlayerInfo[i][pArmasb] = 0; SendClientMessage(i, COLOR_GRAD1,"Voce agora ja pode usar armas novamente Seja RP !"); } } //---- Sair Cadeia if(PlayerInfo[i][pJailed] > 0) { if(PlayerInfo[i][pJailTime] > 0 && (gettime()-TempoAFK[i]) == 0) { SetPlayerHealth(i, 99999); PlayerInfo[i][pJailTime]--; } PlayerTextDrawShow(i, TextHospital[i]); format(gstring, sizeof gstring, "~r~|PRESO|~n~\ ~w~Tempo de prisao: ~g~~h~%s~n~\ ~w~Delegacia: ~r~~h~%s", ConvertTime(PlayerInfo[i][pJailTime]),GetDelegaciaName(i)); PlayerTextDrawSetString(i, TextHospital[i], gstring); // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // if(PlayerInfo[i][pJailed] == 9 && !IsPlayerInRangeOfPoint(i, 50.0, 322.2597,306.0850,999.1484)) { SetPlayerInterior(i, 5); SetPlayerPos(i, 324.4164,306.3444,999.1484); } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // /* new randomico = random(sizeof(PeniSpawn)); for(new braia; braia < sizeof(PeniSpawn); braia++) { if(!IsPlayerInRangeOfPoint(i, 100.0, PeniSpawn[braia][0], PeniSpawn[braia][1], PeniSpawn[braia][2])) { SetPlayerPos(i, PeniSpawn[randomico][0], PeniSpawn[randomico][1], PeniSpawn[randomico][2]); SetPlayerInterior(i, 5); break; } } */ if(PlayerInfo[i][pJailTime] <= 0) { PlayerInfo[i][pJailTime] = 0; if(PlayerInfo[i][pJailed] == 1) { new rand = random(sizeof(PeniSpawn)); SetPlayerInterior(i, 1); SetPlayerPos(i, PeniSpawn[rand][0], PeniSpawn[rand][1], PeniSpawn[rand][2]); // Warp the player } else if(PlayerInfo[i][pJailed] == 3) { new rand = random(sizeof(PeniSpawn)); SetPlayerInterior(i, 1); SetPlayerPos(i, PeniSpawn[rand][0], PeniSpawn[rand][1], PeniSpawn[rand][2]); // Warp the player } else if(PlayerInfo[i][pJailed] == 33) { new rand = random(sizeof(PeniSpawn)); SetPlayerInterior(i, 1); SetPlayerPos(i, PeniSpawn[rand][0], PeniSpawn[rand][1], PeniSpawn[rand][2]); // Warp the player } else if(PlayerInfo[i][pJailed] == 24) { new rand = random(sizeof(PeniSpawn)); SetPlayerInterior(i, 1); SetPlayerPos(i, PeniSpawn[rand][0], PeniSpawn[rand][1], PeniSpawn[rand][2]); // Warp the player } else if(PlayerInfo[i][pJailed] == 25) { new rand = random(sizeof(PeniSpawn)); SetPlayerInterior(i, 1); SetPlayerPos(i, PeniSpawn[rand][0], PeniSpawn[rand][1], PeniSpawn[rand][2]); // Warp the player } else if(PlayerInfo[i][pJailed] == 9) { new string7[128]; format(string7, sizeof string7, Pasta_Cadeias, NomePlayer(giveplayerid)); if(DOF2_FileExists(string7)) { DOF2_RemoveFile(string7); } PlayerInfo[i][pJailed] = 0; PlayerInfo[i][pJailTime] = 0; SetPlayerSpawn(i); } else if(PlayerInfo[i][pJailed] == 2 || PlayerInfo[i][pJailed] == 11 || PlayerInfo[i][pJailed] == 16) { new rand = random(sizeof(PeniSpawn)); SetPlayerInterior(i, 1); SetPlayerPos(i, PeniSpawn[rand][0], PeniSpawn[rand][1], PeniSpawn[rand][2]); // Warp the player } else if(PlayerInfo[i][pJailed] == 27) { SetPlayerInterior(i, 6); storeexit[i] = 67; SetPlayerPos(i, 268.1595,77.9132,1001.0391); } SetPlayerHealth(i, 100.0); SetPlayerArmour(i, 0); PlayerInfo[i][pJailed] = 0; SendClientMessage(i, COLOR_GRAD1,"Voce agora esta livre"); GameTextForPlayer(i, "~r~Livre~n~~w~Seja um player melhor", 5000, 1); SetPlayerPos(i, 1806.0956,-1572.6432,13.4570); PlayerTextDrawHide(i, TextHospital[i]); SetPlayerSkin(i, PlayerInfo[i][pSkin]); SetPlayerInterior(i, 0); ClearCrime(i); AdvId[i] = 999; SetPlayerToTeamColor(i); } } if(UsedFind[i] >= 1) { UsedFind[i] += 1; if(UsedFind[i] >= 120) { UsedFind[i] = 0; } } if(PlayerDrunk[i] >= 5) { PlayerDrunkTime[i] ++ ; if(PlayerDrunkTime[i] >= 5) { PlayerDrunkTime[i] = 0; PlayerDrunk[i] = 0; new Float:angle; GetPlayerFacingAngle(i, angle); if(IsPlayerInAnyVehicle(i) && GetPlayerState(i) == 2) { SetVehicleZAngle(GetPlayerVehicleID(i), angle + 25); } else { ApplyAnimationEx(i,"PED", "WALK_DRUNK",4.0,0,1,0,0,0); } } } if(TaxistaCallTime[i] > 0) { if(TaxistaAccepted[i] < 999) { if(IsPlayerConnected(TaxistaAccepted[i])) { new Float:X,Float:Y,Float:Z; GetPlayerPos(TaxistaAccepted[i], X, Y, Z); SetPlayerCheckpoint(i, X, Y, Z, 5); } } } if(AdvCallTime[i] > 0) { if(AdvAccepted[i] < 999) { if(IsPlayerConnected(AdvAccepted[i])) { new Float:X,Float:Y,Float:Z; GetPlayerPos(AdvAccepted[i], X, Y, Z); SetPlayerCheckpoint(i, X, Y, Z, 5); } } } if(MedicCallTime[i] > 0) { if(MedicAccepted[i] < 999) { if(IsPlayerConnected(MedicAccepted[i])) { new Float:X,Float:Y,Float:Z; GetPlayerPos(MedicAccepted[i], X, Y, Z); SetPlayerCheckpoint(i, X, Y, Z, 5); } } } if(BombCallTime[i] > 0) { if(BombAccepted[i] < 999) { if(IsPlayerConnected(BombAccepted[i])) { new Float:X,Float:Y,Float:Z; GetPlayerPos(BombAccepted[i], X, Y, Z); SetPlayerCheckpoint(i, X, Y, Z, 5); } } } if(CopsrondaCallTime[i] > 0) { if(CopsrondaAccepted[i] < 999) { if(IsPlayerConnected(CopsrondaAccepted[i])) { new Float:X,Float:Y,Float:Z; GetPlayerPos(CopsrondaAccepted[i], X, Y, Z); SetPlayerCheckpoint(i, X, Y, Z, 5); } } } if(MechanicCallTime[i] > 0) { if(MechanicAccepted[i] < 999) { if(IsPlayerConnected(MechanicAccepted[i])) { new Float:X,Float:Y,Float:Z; GetPlayerPos(MechanicAccepted[i], X, Y, Z); SetPlayerCheckpoint(i, X, Y, Z, 5); } } } if(BusCallTime[i] > 0) { if(BusAccepted[i] < 999) { if(IsPlayerConnected(BusAccepted[i])) { new Float:X,Float:Y,Float:Z; GetPlayerPos(BusAccepted[i], X, Y, Z); SetPlayerCheckpoint(i, X, Y, Z, 5); } } } if(PlayerCuffed[i] == 1) { if(PlayerCuffedTime[i] <= 0) { Controle(i, 1); PlayerCuffed[i] = 0; PlayerCuffedTime[i] = 0; PlayerTazeTime[i] = 1; antihands[i] = 0; SetPlayerDrunkLevel (i, 0); } else { PlayerCuffedTime[i] -= 1; } } } return 0; } CallBack::CheckGas() { foreach(Player, i) { if(GetPlayerState(i) == PLAYER_STATE_DRIVER) { new mot, lu, alar, por, cap, porma, ob; new vehicle = GetPlayerVehicleID(i); new VehicleModel = GetVehicleModel(vehicle); if(VehicleModel == 487 || VehicleModel == 520 || VehicleModel == 462 || VehicleModel == 497 || VehicleModel == 425 || VehicleModel == 592 || VehicleModel == 519 || VehicleModel == 593 || VehicleModel == 452 || VehicleModel == 510 || VehicleModel == 481 || VehicleModel == 509) { continue; } /* if(IsARespCar(vehicle)) { continue; } */ new Float:health = GetPlayerVehicleHealth(i); if(health < 20)continue; if(Gas[vehicle] >= 1) { if(Gas[vehicle] <= 10) { PlayerPlaySound(i, 1085, 0.0, 0.0, 0.0); } if(Gas[vehicle] >= 1 && Gas[vehicle] < 4) { new rdon = random(10); if(rdon >= 0 && rdon <= 7) { GetVehicleParamsEx(vehicle, mot, lu, alar, por, cap, porma, ob); SetVehicleParamsEx(vehicle, VEHICLE_PARAMS_OFF, lu, alar, por, cap, porma, ob); foreach(Player, pp) { if(GetPlayerVehicleID(pp) == vehicle) { SendClientMessage(pp, COLOR_GRAD1, "Aviso: Pouco combustivel no veiculo, o motor desligou. De a partida novamente!"); } } } } Gas[vehicle]--; UpdateGas(vehicle); } else if(CarConce[vehicle] >= 1) { if(Gas[vehicle] <= 10) { PlayerPlaySound(i, 1085, 0.0, 0.0, 0.0); } if(Gas[vehicle] >= 1 && Gas[vehicle] < 4) { new rdon = random(10); if(rdon >= 0 && rdon <= 7) { GetVehicleParamsEx(vehicle, mot, lu, alar, por, cap, porma, ob); SetVehicleParamsEx(vehicle, VEHICLE_PARAMS_OFF, lu, alar, por, cap, porma, ob); foreach(Player, pp) { if(GetPlayerVehicleID(pp) == vehicle) { SendClientMessage(pp, COLOR_GRAD1, "Aviso: Pouco combustivel no veiculo, o motor desligou. De a partida novamente!"); } } } } Gas[vehicle]--; UpdateGas(vehicle); } else { if(vehicle >= TOTAL_CARROS)continue; NoFuel[i] = 1; PlayerPlaySound(i, 1159, 0.0, 0.0, 0.0); GetVehicleParamsEx(vehicle, mot, lu, alar, por, cap, porma, ob); SetVehicleParamsEx(vehicle, VEHICLE_PARAMS_OFF, lu, alar, por, cap, porma, ob); GameTextForPlayer(i,"~r~Sem combustivel~n~~y~Chame um mecanico para ajudar",1500,3); RemovePlayerFromVehicle(i); UpdateGas(vehicle); } } } //----------------------- // Destruir drop Weapons //----------------------- for(new f = 0; f < MAX_OBJ; f++) { if(dGunData[f][ObjPos][0] != 0.0){ if(gettime() > dGunData[f][dropTimer]){ DestroyDroppedObject(f); } } } //----------------------- // Destruir drop Itens //----------------------- for(new f = 0; f < MAX_OBJ; f++) { if(dItemData[f][ObjtPos][0] != 0.0){ if(gettime() > dItemData[f][droptTimer]){ DestroyDroppedItem(f); } } } return true; } CallBack::Abastecendo(playerid) { if(IsPlayerConnected(playerid)) { //new gstring[128]; new VID = GetPlayerVehicleID(playerid); if(Refueling[playerid] != 0) { if(GetPlayerMoney(playerid) >= GranaGas[playerid]+4) { if(Gas[VID] == GasETanto[playerid]) { if(Gas[VID] > 100) { Gas[VID] = 100; } format(gstring,sizeof(gstring)," Veiculo Reabastecido, Por: R$%d.",GranaGas[playerid]); SendClientMessage(playerid,COLOR_LIGHTBLUE,gstring); GivePlayerMoney(playerid, - GranaGas[playerid]); Refueling[playerid] = 0; PlayerPlaySound(playerid, 1149, 0.0, 0.0, 0.0); GranaGas[playerid] = 0; GasETanto[playerid] = 0; TogglePlayerControllableEx(playerid, 1); } else //if(Gas[VID] < Refueling[playerid]) { Gas[VID] ++; GranaGas[playerid] += 4; PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); //format(strvinny,sizeof(strvinny),"~>~~>~ ~p~~h~Reabastecimento ~<~~<~~n~~n~~n~~b~~h~~h~~h~Veiculo: ~g~~h~~h~%s~n~~n~~b~~h~~h~~h~Litros:~g~~h~~h~ %d~n~~n~~b~~h~~h~~h~Valor: ~w~R$ ~r~~h~%d",vehName[GetVehicleModel(GetPlayerVehicleID(playerid))-400],Gas[VID],GranaGas[playerid]); //TextDrawSetString(TextPosto[playerid], strvinny); //SetTimer("Abastecendo", 200, 0); SetTimerEx("Abastecendo", 200,false,"i",playerid); } } else { format(gstring,sizeof(gstring)," Você não tem mais grana para terminar de Abastecer!"); SendClientMessage(playerid,COLOR_LIGHTBLUE,gstring); Refueling[playerid] = 0; TogglePlayerControllableEx(playerid, 1); } } } return true; } CallBack::PrintSBizInfo(playerid,targetid) { new coordsstring[128]; format(coordsstring, sizeof(coordsstring),"|__________________ %s __________________|",SBizzInfo[targetid][sbMessage]); SendClientMessage(playerid, COLOR_WHITE,coordsstring); format(coordsstring, sizeof(coordsstring), "Trancada: %d entrada: R$%s Cofre: R$%s", SBizzInfo[targetid][sbLocked], ConvertMoney(SBizzInfo[targetid][sbEntranceCost]), ConvertMoney(SBizzInfo[targetid][sbTill])); SendClientMessage(playerid, COLOR_GRAD1,coordsstring); format(coordsstring, sizeof(coordsstring), "Produtos: %d/%d Extorsao: %s",SBizzInfo[targetid][sbProducts],SBizzInfo[targetid][sbMaxProducts],SBizzInfo[targetid][sbExtortion]); SendClientMessage(playerid, COLOR_GRAD2,coordsstring); } CallBack::PrintFBizInfo(playerid,targetid) { if(IsPlayerConnected(playerid)) { new coordsstring[256]; format(coordsstring, sizeof(coordsstring),"|__________________ %s __________________|",FBizzInfo[targetid][fbMessage]); SendClientMessage(playerid, COLOR_WHITE,coordsstring); format(coordsstring, sizeof(coordsstring), "Trancada: %d Entrada: R$%s Cofre: R$%s", FBizzInfo[targetid][fbLocked], ConvertMoney(FBizzInfo[targetid][fbEntranceCost]), ConvertMoney(FBizzInfo[targetid][fbTill])); SendClientMessage(playerid, COLOR_GRAD1,coordsstring); format(coordsstring, sizeof(coordsstring), "Produtos: %d/%d Extorsao: %s", FBizzInfo[targetid][fbProducts],FBizzInfo[targetid][fbMaxProducts],FBizzInfo[targetid][fbExtortion]); SendClientMessage(playerid, COLOR_GRAD2,coordsstring); } } CallBack::PrintBizInfo(playerid,targetid) { new coordsstring[128]; format(coordsstring, sizeof(coordsstring),"|__________________ %s __________________|",BizzInfo[targetid][bMessage]); SendClientMessage(playerid, COLOR_WHITE,coordsstring); format(coordsstring, sizeof(coordsstring), "Trancada: %d entrada: R$%s Cofre: R$%s", BizzInfo[targetid][bLocked], ConvertMoney(BizzInfo[targetid][bEntranceCost]), ConvertMoney(BizzInfo[targetid][bTill])); SendClientMessage(playerid, COLOR_GRAD1,coordsstring); format(coordsstring, sizeof(coordsstring), "Produtos: %d/%d Extorsao: %s",BizzInfo[targetid][bProducts],BizzInfo[targetid][bMaxProducts],BizzInfo[targetid][bExtortion]); SendClientMessage(playerid, COLOR_GRAD2,coordsstring); } CallBack::ShowStats(playerid,targetid) { if(IsPlayerConnected(playerid)&&IsPlayerConnected(targetid)) { new cashe = GetPlayerMoney(targetid); new atext[20]; if(PlayerInfo[targetid][pSex] == 1) { atext = "Masculino"; } else { atext = "Feminino"; } new dtext[20]; switch(PlayerInfo[targetid][pDoenca]) { case 1:dtext = "Mongolismo"; case 2:dtext = "AIDS"; case 3:dtext = "Herpes Genital"; case 4:dtext = "Cirrose"; case 5:dtext = "Câncer de Pulmao"; default:dtext = "Nenhum"; } new jtext[35]; switch(PlayerInfo[targetid][pEmprego]) { case 1:jtext = "Detetive"; case 2:jtext = "Advogado"; case 3:jtext = "Prof.Sexo"; case 4:jtext = "Vendedor De Drogas"; case 5:jtext = "Mecanico"; case 6:jtext = "Seguranca"; case 7:jtext = "Vendedor de armas"; case 8:jtext = "Boxeador"; case 9:jtext = "Motorista de Onibus"; case 11:jtext = "Vendedor de produtos"; case 20:jtext = "Entregador de Pizza"; case 21:jtext = "Agricultor"; //case 19:jtext = "Carro Forte"; case 12:jtext = "Eletricista"; case 10:jtext = "Taxista"; case 14:jtext = "Bombeiro"; case 17:jtext = "Agente Penitenciario"; case 15:jtext = "Entregador aereo"; case 13:jtext = "Caminhoneiro"; default:jtext = "Nenhum"; } new drank[50]; switch(PlayerInfo[targetid][pVIP]) { case 0:{ drank = "Nao"; } case 1:{ drank = "{00fefe}VIP{FFFFFF}"; } case 2:{ drank = "{faa788}SUPER-VIP{FFFFFF}"; } case 3:{ drank = "{bb52fe}Socio Reliquia{FFFFFF}"; } case 4:{ drank = "{AEFFD1}Socio Platina{FFFFFF}"; } } new married[MAX_PLAYER_NAME]; strmid(married, PlayerInfo[targetid][pMarriedTo], 0, strlen(PlayerInfo[targetid][pMarriedTo]), 255); new lotto = PlayerInfo[targetid][pLottoNr]; new deaths = PlayerInfo[targetid][pDeaths]; new crimes = PlayerInfo[targetid][pCrimes]; new Drogas = PlayerInfo[targetid][pDrogas]; // maconha new Drogas2 = PlayerInfo[targetid][pDrogas2]; // cocaina new Drogas3 = PlayerInfo[targetid][pDrogas3]; // crack new mats = PlayerInfo[targetid][pMats]; new smats = PlayerInfo[targetid][psMats]; new Wanted = WantedPoints[targetid]; new level = PlayerInfo[targetid][pLevel]; new kills = PlayerInfo[targetid][pKills]; new pnumber = PlayerInfo[targetid][pPnumber]; new Conta = PlayerInfo[targetid][pConta]; new Housekey = PlayerInfo[targetid][pPHousekey]; new bizkey = PlayerInfo[targetid][pPbiskey]; new dinheirosujo = PlayerInfo[targetid][pDinheiroSujo]; new strvip[2500]; MEGAString[0] = EOS; format(strvip, sizeof strvip, "{1E90FF} RG de {FFFFFF} %s\n",PlayerName(targetid)); strcat(MEGAString, strvip); strcat(MEGAString, "\n{FF7F50}~~~~~~~~~~~~~~~~~~~~~~~~\n"); strcat(MEGAString, "\t\t {FFFF00}» {FFFFFF}Informações Básicas {FFFF00}«"); strcat(MEGAString, "\n{FF7F50}~~~~~~~~~~~~~~~~~~~~~~~~\n"); format(strvip, sizeof strvip, "{1E90FF}Nivel: {FFFFFF} [%d] {98FB98} - {1E90FF}Idade: {FFFFFF} [%d] {98FB98} - {1E90FF}Sexo: {FFFFFF} [%s] {98FB98} - {1E90FF}Dinheiro: {FFFFFF} [R$%s]\n\n", level,PlayerInfo[targetid][pAge],atext, ConvertMoney(cashe)); strcat(MEGAString, strvip); format(strvip, sizeof strvip, "{1E90FF}Banco: {FFFFFF} [R$%s] {98FB98} - {1E90FF}Ouros: {FFFFFF} [%d] {98FB98} - {1E90FF}Cash: {FFFFFF} [%s] {98FB98} - {1E90FF}Celular: {FFFFFF} [%d]\n\n", ConvertMoney(Conta),PlayerInfo[targetid][pOuros], ConvertCash(PlayerInfo[targetid][pCasher]), pnumber); strcat(MEGAString, strvip); format(strvip, sizeof strvip, "{1E90FF}Conta: {FFFFFF} [%s] {98FB98} - {1E90FF}Casado Com: {FFFFFF} [%s] {98FB98} - {1E90FF}Horas Jogadas: {FFFFFF} [%d]\n\n", drank,married,PlayerInfo[targetid][pConnectTime]); strcat(MEGAString, strvip); format(strvip, sizeof strvip, "{1E90FF}Emprego: {FFFFFF} [%s] {98FB98} - {1E90FF}Dinheiro Sujo: {FFFFFF} [%s] {98FB98}\n",jtext, ConvertMoney(dinheirosujo)); strcat(MEGAString, strvip); strcat(MEGAString, "\n{FF7F50}~~~~~~~~~~~~~~~~~~~~~~~~\n"); strcat(MEGAString, "\t\t {FFFF00}» {FFFFFF}Ficha Criminal {FFFF00}«"); strcat(MEGAString, "\n{FF7F50}~~~~~~~~~~~~~~~~~~~~~~~~\n"); format(strvip, sizeof strvip, "{00AAFF}Crimes Cometidos: {FFFFFF} [%d] {98FB98} - {00AAFF}Matou: {FFFFFF} [%d] {98FB98} - {00AAFF}Morreu: {FFFFFF} [%d]\n\n",crimes,kills,deaths); strcat(MEGAString, strvip); format(strvip, sizeof strvip, "{00AAFF}Cidade: {FFFFFF} [Los Santos] {98FB98} - {00AAFF}Nivel de Procura: {FFFFFF} [%d]\n", Wanted); strcat(MEGAString, strvip); strcat(MEGAString, "\n{FF7F50}~~~~~~~~~~~~~~~~~~~~~~~~\n"); strcat(MEGAString, "\t\t {FFFF00}» {FFFFFF}Materiais e Drogas {FFFF00}«"); strcat(MEGAString, "\n{FF7F50}~~~~~~~~~~~~~~~~~~~~~~~~\n"); format(strvip, sizeof strvip, "{00AAFF}Materiais: {FFFFFF} [%d] {98FB98} - {00AAFF}Sementes: {FFFFFF} [%d] {98FB98} - {00AAFF}Maconha: {FFFFFF} [%d] {98FB98} - {00AAFF}Cocaina: {FFFFFF} [%d] {98FB98} - {00AAFF}Crack: {FFFFFF} [%d]\n\n",mats,PlayerInfo[targetid][pSementes],Drogas,Drogas2,Drogas3); strcat(MEGAString, strvip); format(strvip, sizeof strvip, "{00AAFF}Safe Materiais: {FFFFFF} [%d] {98FB98}\n\n",smats); strcat(MEGAString, strvip); format(strvip, sizeof strvip, "{00AAFF}Explosivos: {FFFFFF} [%d]\n",PlayerInfo[targetid][pExplosivos]); strcat(MEGAString, strvip); strcat(MEGAString, "\n{FF7F50}~~~~~~~~~~~~~~~~~~~~~~~~\n"); strcat(MEGAString, "\t\t {FFFF00}» {FFFFFF}Propriedades e Outros {FFFF00}«"); strcat(MEGAString, "\n{FF7F50}~~~~~~~~~~~~~~~~~~~~~~~~\n"); format(strvip, sizeof strvip, "{00AAFF}Casa: {FFFFFF} [%d] {98FB98} - {00AAFF}Empresa: {FFFFFF} [%d] {98FB98} - {00AAFF}Titulo: {FFFFFF} [%s{FFFFFF}] {98FB98}- {00AAFF}Loteria: {FFFFFF} [%d]\n",Housekey,bizkey, getPlayerTitulo2(targetid), lotto); strcat(MEGAString, strvip); ShowPlayerDialog(playerid, 8925, DIALOG_STYLE_MSGBOX, "Registro Geral", MEGAString, "Fechar", ""); } return true; } stock SetPlayerToTeamColor(playerid) { if(admtrampando[playerid] && !admhide[playerid]) return SetPlayerColor(playerid, 0xFF1493FF); if(helpertrampando[playerid]) return SetPlayerColor(playerid, 0x00FFFFFF); switch(GetPlayerOrg(playerid)) { case 1:SetPlayerColor(playerid, 0x9fa4e820); case 2:SetPlayerColor(playerid, 0x3e3d3d20); case 3:SetPlayerColor(playerid, 0x00660C20); case 4:SetPlayerColor(playerid, 0xF7818120); case 5:SetPlayerColor(playerid, 0x337EFF20); case 6:SetPlayerColor(playerid, 0xB0C4DEFF); case 7:SetPlayerColor(playerid, 0x0099ff20); case 8:SetPlayerColor(playerid, 0xBDBDBD20); case 9:SetPlayerColor(playerid, 0xffe99e20); case 10:SetPlayerColor(playerid, 0xFF4500FF); case 11:SetPlayerColor(playerid, 0x91766220); case 12:SetPlayerColor(playerid, 0xD48A3020); case 13:SetPlayerColor(playerid, 0x00483A20); case 14:SetPlayerColor(playerid, 0x00da1c20); case 15:SetPlayerColor(playerid, 0x6E6E6E20); case 16:SetPlayerColor(playerid, 0x40808020); case 17:SetPlayerColor(playerid, 0xc640dd20); case 18:SetPlayerColor(playerid, 0xDEBC0020); case 19:SetPlayerColor(playerid, 0xFF363620); case 20:SetPlayerColor(playerid, 0x00FFFF20); case 21:SetPlayerColor(playerid, 0xaae23720); case 22:SetPlayerColor(playerid, 0xA4D1FF20); case 23:SetPlayerColor(playerid, 0xCC019620); case 24:SetPlayerColor(playerid, 0x961e3220); case 25:SetPlayerColor(playerid, 0x535d7120); case 26:SetPlayerColor(playerid, 0xDEB887FF); case 27:SetPlayerColor(playerid, 0xCC006620); case 28:SetPlayerColor(playerid, 0x841B2D20); case 30:SetPlayerColor(playerid, 0x69A19020); case 31:SetPlayerColor(playerid, 0xF7818120); case 32:SetPlayerColor(playerid, 0xffe99e20); case 33:SetPlayerColor(playerid, 0x90600020); case 34:SetPlayerColor(playerid, 0xFF620020); case 35:SetPlayerColor(playerid, 0x114411FF); case 36:SetPlayerColor(playerid, 0x5070f2FF); case 37:SetPlayerColor(playerid, 0x8B0000FF); case 38:SetPlayerColor(playerid, 0x00FFFFFF); default:SetPlayerColor(playerid, 0xFFFFFF20); } return 0; } stock GetPlayerColorEx(playerid) { new color[85]; if(admtrampando[playerid]&& !admhide[playerid]) { color = "ff3399"; return color; } if(helpertrampando[playerid]) { color = "55F6AC"; return color; } switch(GetPlayerOrg(playerid)) { case 1:color = "9fa4e8"; case 2:color = "3e3d3d"; case 3:color = "00660C"; case 4:color = "F78181"; case 5:color = "337EFF"; case 6:color = "B0C4DE"; case 7:color = "0099ff"; case 8:color = "BDBDBD"; case 9:color = "ffe99e"; case 10:color = "FF4500"; case 11:color = "917662"; case 12:color = "D48A30"; case 13:color = "00483A"; case 14:color = "00da1c"; case 15:color = "6E6E6E"; case 16:color = "408080"; case 17:color = "c640dd"; case 18:color = "DEBC00"; case 19:color = "FF3636"; case 20:color = "00FFFF"; case 21:color = "aae237"; case 22:color = "A4D1FF"; case 23:color = "CC0196"; case 24:color = "961e32"; case 25:color = "535d71"; case 27:color = "CC0066"; case 28:color = "841B2D"; case 30:color = "69A190"; case 31:color = "F78181"; case 32:color = "ffe99e"; case 33:color = "906000"; case 34:color = "FF6200"; case 35:color = "114411"; case 36:color = "5070f2"; case 37:color = "8B0000"; case 38:color = "FFFFFF"; default:color = "FFFFFF"; } return color; } stock CoresOrg(cor) { new color[85]; switch(cor) { case 1:color = "9fa4e8"; case 2:color = "3e3d3d"; case 3:color = "00660C"; case 4:color = "F78181"; case 5:color = "337EFF"; case 6:color = "B0C4DE"; case 7:color = "0099ff"; case 8:color = "BDBDBD"; case 9:color = "ffe99e"; case 10:color = "FF4500"; case 11:color = "917662"; case 12:color = "D48A30"; case 13:color = "00483A"; case 14:color = "00da1c"; case 15:color = "6E6E6E"; case 16:color = "408080"; case 17:color = "c640dd"; case 18:color = "DEBC00"; case 19:color = "FF3636"; case 20:color = "00FFFF"; case 21:color = "aae237"; case 22:color = "A4D1FF"; case 23:color = "CC0196"; case 24:color = "961e32"; case 25:color = "535d71"; case 26:color = "DEB887"; case 27:color = "CC0066"; case 28:color = "841B2D"; case 30:color = "69A190"; case 31:color = "F78181"; case 32:color = "ffe99e"; case 33:color = "906000"; case 34:color = "FF6200"; case 35:color = "114411"; case 36:color = "408080"; case 37:color = "8B0000"; case 38:color = "FFFFFF"; case 100:color = "ff3399"; case 99:color = "55F6AC"; case 0:color = "FFFFFF"; } return color; } //--------------------------------------------------------- //--------------------------------------------------------- CallBack::GameModeInitExitFunc() { foreach(Player, i) { InterpolateCameraPos(i, 1855.578247, -1356.315795, 106.570388, 828.892395, -1470.234985, 159.147048, 50000); InterpolateCameraLookAt(i, 1860.529296, -1355.671020, 106.302513, 833.859008, -1469.715087, 158.897155, 60000); SetPlayerInterior(i, 0); Controle(i, 0); SetPlayerCameraPos(i, 1415.3141,-1564.2576,66.4785); SetPlayerCameraLookAt(i, 1426.3475,-1578.9430,65.2902); } SaveAccounts(); SaveTrunk(); SalvarPlantacao(); //SaveCarrosComponents(); KillTimer(faztime); SetTimer("GameModeExitFunc", 1000, 0); return 1; } CallBack::Aroubo() { temporoubobanco = 0; } CallBack::Aroubo3() { temporoubolot = 0; } CallBack::Aroubo4() { temporouboloja1 = 0; } CallBack::Aroubo9() { temporoubomotel = 0; } CallBack::Aroubo14() { temporoubonavio = 0; } CallBack::Aroubo13() { temporouboilha = 0; } CallBack::Aroubo15() { temporouboilha = 0; } CallBack::Aroubo7() { temporouboput = 0; } CallBack::ContagemRoubo(playerid) { new string[70]; format(string, sizeof(string), "~w~Tempo Para Roubar:~n~~r~%d Segundos...", Contagem[playerid]); GameTextForPlayer(playerid, string, 1500, 3); if(Contagem[playerid] == 0) { KillTimer(TempoContagem[playerid]); } Contagem[playerid]--; } CallBack::GameModeExitFunc() { KillTimer(Tempohbomba); KillTimer(Tempocbomba); foreach(Player, i) { gPlayerCheckpointStatus[i] = 0; //GameTextForPlayer(i, "_~n~_~n~_~n~~y~Servidor ~n~~w~reiniciando...", 8000, 4); Controle(i, 0); } SetTimer("ReiniciarServer", 5000, 0); } CallBack::ReiniciarServer() { SendRconCommand("gmx"); } static stock GetPlayerVehicleSpeed(playerid) { static Float: posS[ 3 ] ; GetVehicleVelocity(GetPlayerVehicleID(playerid) , posS [ 0 ] , posS [ 1 ] , posS [ 2 ] ) ; return floatround(floatmul(floatsqroot(floatadd(floatpower(posS[ 0 ] , 2 ) ,floatpower(posS [ 1 ] , 2 ))), 170.0)); } CallBack::UpdateWeather(weather, setweather, playerid) { new string[128]; if(weather == 0) { teveprevisao = true; format(string, sizeof string, "previsao do tempo~n~de %s",NomePlayer(playerid)); TextDrawSetString(Previsao3,string); new rdtime = random(5) + 10; format(string, sizeof string, "daqui: %d minutos", rdtime); TextDrawSetString(Previsao2,string); TextDrawSetString(Previsao4,TempoNomes[setweather]); ShowPrevisao(); SetTimer("HidePrevisao", 10000, false); SetTimerEx("UpdateWeather", rdtime*60000, false, "dd", 1,setweather,playerid); } else { format(string, sizeof string, "{A9AAAB}[TEMPO]: {FFFFFF}%s",TempoNomes[setweather]); SendClientMessageToAll(-1, string); SetWeather(setweather); Weathersave = setweather; new occ = random(5000); PCE += occ; PDU += occ; CofreOrg[7][Dinheiro] += occ; } return true; } static stock ShowPrevisao() { foreach(Player, i) { TextDrawShowForPlayer(i, Previsao1); TextDrawShowForPlayer(i, Previsao2); TextDrawShowForPlayer(i, Previsao3); TextDrawShowForPlayer(i, Previsao4); } return true; } CallBack::HidePrevisao() { foreach(Player, i) { TextDrawHideForPlayer(i, Previsao1); TextDrawHideForPlayer(i, Previsao2); TextDrawHideForPlayer(i, Previsao3); TextDrawHideForPlayer(i, Previsao4); } return true; } stock ShowGuerra() { foreach(Player, i) { switch(GetPlayerOrg(i)) { case 3, 15, 23: { TextDrawShowForPlayer(i, TextGuerra1); TextDrawShowForPlayer(i, TextGuerra2); TextDrawShowForPlayer(i, TextGuerra3); TextDrawShowForPlayer(i, TextGuerra4); TextDrawShowForPlayer(i, TextGuerra5); } default: { TextDrawHideForPlayer(i, TextGuerra1); TextDrawHideForPlayer(i, TextGuerra2); TextDrawHideForPlayer(i, TextGuerra3); TextDrawHideForPlayer(i, TextGuerra4); TextDrawHideForPlayer(i, TextGuerra5); } } } return 1; } stock HideGuerra() { foreach(Player, i) { switch(GetPlayerOrg(i)) { case 3, 15, 23: { TextDrawHideForPlayer(i, TextGuerra1); TextDrawHideForPlayer(i, TextGuerra2); TextDrawHideForPlayer(i, TextGuerra3); TextDrawHideForPlayer(i, TextGuerra4); TextDrawHideForPlayer(i, TextGuerra5); } } } return 1; } stock UpdateTextGuerra() { new string[200]; format(string, sizeof string , "~g~Exercito:~w~ %d~n~~l~Estado Islâmico:~w~ %d~n~~p~Taliban:~w~ %d", PSG[3], PSG[15], PSG[23]); TextDrawSetString(TextGuerra3, string); format(string, sizeof string, "Tempo: ~w~%s~n~~g~Grana ~w~R$ %s", ConvertTime(TempoGuerra), ConvertMoney(GranaGuerra)); TextDrawSetString(TextGuerra5, string); return 1; } stock ObjectToPoint(objectid, Float:radi, Float:x, Float:y, Float:z) { if(IsValidObject(objectid)) { new Float:oldposx, Float:oldposy, Float:oldposz; new Float:tempposx, Float:tempposy, Float:tempposz; GetDynamicObjectPos(objectid, 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; } CallBack::AtualizarRank() { foreach(Player, i) { if(gPlayerLogged[i]) { checkrank("nivel", NomePlayer(i), PlayerInfo[i][pLevel]); checkrank("horasjogadas", NomePlayer(i), PlayerInfo[i][pConnectTime]); checkrank("kills", NomePlayer(i), PlayerInfo[i][pKills]); checkrank("mortes", NomePlayer(i), PlayerInfo[i][pDeaths]); checkrank("banco", NomePlayer(i), PlayerInfo[i][pConta]+GetPlayerMoney(i)+(PlayerInfo[i][pOuros]*100000)); checkrank("crimes", NomePlayer(i), PlayerInfo[i][pCrimes]); checkrank("materiais", NomePlayer(i), PlayerInfo[i][pMats]+PlayerInfo[i][psMats]); checkrank("maconha", NomePlayer(i), PlayerInfo[i][pDrogas]); checkrank("cocaina", NomePlayer(i), PlayerInfo[i][pDrogas2]); checkrank("crack", NomePlayer(i), PlayerInfo[i][pDrogas3]); checkrank("contratos", NomePlayer(i), PlayerInfo[i][pContratos]); checkrank("cash", NomePlayer(i), PlayerInfo[i][pCasher]); } } SendClientMessageToAll(COLOR_LIGHTBLUE, "os ranks foram atualizados, para ve-los use: /rank."); return 1; } stock convertTimestamp( timestamp, _form=0 ) { timestamp -= 10800; new year1 = 1970, day1 = 0, month1 = 0, hour1 = 0, mins1 = 0, sec1 = 0, returnstring[32]; new days_of_month[12] = { 31,28,31,30,31,30,31,31,30,31,30,31 }; new names_of_month[12][10] = {"Janeiro","Fevereiro","Marco","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro"}; while(timestamp>31622400){ timestamp -= 31536000; if (((year1 % 4 == 0) && (year1 % 100 != 0)) || (year1 % 400 == 0) ) timestamp -= 86400; year1++; } if (((year1 % 4 == 0) && (year1 % 100 != 0)) || (year1 % 400 == 0)) days_of_month[1] = 29; else days_of_month[1] = 28; while(timestamp>86400){ timestamp -= 86400, day1++; if(day1 == days_of_month[month]) day1=0, month1++; } while(timestamp > 60){ timestamp -= 60, mins1++; if(mins1 == 60) mins1 = 0, hour1++; } sec1 = timestamp; switch( _form ){ case 1: format(returnstring, 31, "%02d/%02d/%d %02d:%02d:%02d", day1+1, month1+1, year1, hour1, mins1, sec1); case 2: format(returnstring, 31, "%s %02d, %d, %02d:%02d:%02d", names_of_month[month],day1+1,year1, hour1, mins1, sec1); case 3: format(returnstring, 31, "%d %c%c%c %d, %02d:%02d", day1+1,names_of_month[month][0],names_of_month[month][1],names_of_month[month][2], year1,hour1,mins1); case 4: format(returnstring, 31, "%02d.%02d.%d-%02d:%02d:%02d", day1+1, month1+1, year1, hour1, mins1, sec1); default: format(returnstring, 31, "%02d:%02d:%02d %02d/%02d/%d", hour1, mins1, sec1, day1+1, month1+1, year1); } return returnstring; } stock Float:GetDistanciaEntrePontos(Float:X, Float:Y, Float:Z, Float:PointX, Float:PointY, Float:PointZ) return floatsqroot(floatadd(floatadd(floatpower(floatsub(X, PointX), 2.0), floatpower(floatsub(Y, PointY), 2.0)), floatpower(floatsub(Z, PointZ), 2.0))); public OnGameModeInit() { gstream = SvCreateGStream(0xffff0000, "Global"); TDEditor_TD[0] = TextDrawCreate(290.000000, 190.000000, ""); TextDrawLetterSize(TDEditor_TD[0], 0.400000, 1.600000); TextDrawAlignment(TDEditor_TD[0], 1); TextDrawColor(TDEditor_TD[0], -1); TextDrawSetShadow(TDEditor_TD[0], 0); TextDrawBackgroundColor(TDEditor_TD[0], 255); TextDrawFont(TDEditor_TD[0], 1); TextDrawSetProportional(TDEditor_TD[0], 1); TDEditor_TD[1] = TextDrawCreate(284.375000, 16.750022, "BRASIL"); TextDrawLetterSize(TDEditor_TD[1], 0.400000, 1.600000); TextDrawAlignment(TDEditor_TD[1], 1); TextDrawColor(TDEditor_TD[1], 65535); TextDrawSetShadow(TDEditor_TD[1], 2); TextDrawSetOutline(TDEditor_TD[1], 1); TextDrawBackgroundColor(TDEditor_TD[1], 255); TextDrawFont(TDEditor_TD[1], 3); TextDrawSetProportional(TDEditor_TD[1], 1); TDEditor_TD[2] = TextDrawCreate(296.875000, 28.416687, "POBRE"); TextDrawLetterSize(TDEditor_TD[2], 0.400000, 1.600000); TextDrawAlignment(TDEditor_TD[2], 1); TextDrawColor(TDEditor_TD[2], -1); TextDrawSetShadow(TDEditor_TD[2], 1); TextDrawSetOutline(TDEditor_TD[2], 18); TextDrawBackgroundColor(TDEditor_TD[2], 255); TextDrawFont(TDEditor_TD[2], 3); TextDrawSetProportional(TDEditor_TD[2], 1); TDEditor_TD[3] = TextDrawCreate(265.625000, -36.916664, ""); TextDrawTextSize(TDEditor_TD[3], 90.000000, 90.000000); TextDrawAlignment(TDEditor_TD[3], 1); TextDrawColor(TDEditor_TD[3], -1); TextDrawSetShadow(TDEditor_TD[3], 0); TextDrawBackgroundColor(TDEditor_TD[3], 12); TextDrawFont(TDEditor_TD[3], 5); TextDrawSetProportional(TDEditor_TD[3], 0); TextDrawSetPreviewModel(TDEditor_TD[3], 460); TextDrawSetPreviewRot(TDEditor_TD[3], -29.000000, 0.000000, 0.000000, 1.000000); TextDrawSetPreviewVehCol(TDEditor_TD[3], 1, 1); TDEditor_TD[4] = TextDrawCreate(283.125000, 19.083301, "box"); TextDrawLetterSize(TDEditor_TD[4], 0.000000, -0.250000); TextDrawTextSize(TDEditor_TD[4], 300.000000, 0.000000); TextDrawAlignment(TDEditor_TD[4], 1); TextDrawColor(TDEditor_TD[4], -1); TextDrawUseBox(TDEditor_TD[4], 1); TextDrawBoxColor(TDEditor_TD[4], 65535); TextDrawSetShadow(TDEditor_TD[4], 0); TextDrawBackgroundColor(TDEditor_TD[4], 65535); TextDrawFont(TDEditor_TD[4], 1); TextDrawSetProportional(TDEditor_TD[4], 1); TDEditor_TD[5] = TextDrawCreate(281.250000, 19.666664, "box"); TextDrawLetterSize(TDEditor_TD[5], 0.000000, 1.375000); TextDrawTextSize(TDEditor_TD[5], 278.000000, 0.000000); TextDrawAlignment(TDEditor_TD[5], 1); TextDrawColor(TDEditor_TD[5], -1); TextDrawUseBox(TDEditor_TD[5], 1); TextDrawBoxColor(TDEditor_TD[5], 65535); TextDrawSetShadow(TDEditor_TD[5], 0); TextDrawBackgroundColor(TDEditor_TD[5], 255); TextDrawFont(TDEditor_TD[5], 1); TextDrawSetProportional(TDEditor_TD[5], 1); TDEditor_TD[6] = TextDrawCreate(281.875000, 35.416660, "box"); TextDrawLetterSize(TDEditor_TD[6], 0.000000, -0.187500); TextDrawTextSize(TDEditor_TD[6], 296.000000, 0.000000); TextDrawAlignment(TDEditor_TD[6], 1); TextDrawColor(TDEditor_TD[6], -1); TextDrawUseBox(TDEditor_TD[6], 1); TextDrawBoxColor(TDEditor_TD[6], 65535); TextDrawSetShadow(TDEditor_TD[6], 0); TextDrawBackgroundColor(TDEditor_TD[6], 255); TextDrawFont(TDEditor_TD[6], 1); TextDrawSetProportional(TDEditor_TD[6], 1); TDEditor_TD[7] = TextDrawCreate(321.250000, 18.500009, "box"); TextDrawLetterSize(TDEditor_TD[7], 0.000000, -0.250000); TextDrawTextSize(TDEditor_TD[7], 342.000000, 0.000000); TextDrawAlignment(TDEditor_TD[7], 1); TextDrawColor(TDEditor_TD[7], -1); TextDrawUseBox(TDEditor_TD[7], 1); TextDrawBoxColor(TDEditor_TD[7], 65535); TextDrawSetShadow(TDEditor_TD[7], 0); TextDrawBackgroundColor(TDEditor_TD[7], 255); TextDrawFont(TDEditor_TD[7], 1); TextDrawSetProportional(TDEditor_TD[7], 1); TDEditor_TD[8] = TextDrawCreate(346.250000, 20.250005, "box"); TextDrawLetterSize(TDEditor_TD[8], 0.000000, 1.437500); TextDrawTextSize(TDEditor_TD[8], 343.000000, 0.000000); TextDrawAlignment(TDEditor_TD[8], 1); TextDrawColor(TDEditor_TD[8], -1); TextDrawUseBox(TDEditor_TD[8], 1); TextDrawBoxColor(TDEditor_TD[8], 65535); TextDrawSetShadow(TDEditor_TD[8], 0); TextDrawBackgroundColor(TDEditor_TD[8], 255); TextDrawFont(TDEditor_TD[8], 1); TextDrawSetProportional(TDEditor_TD[8], 1); TDEditor_TD[9] = TextDrawCreate(326.875000, 34.833343, "box"); TextDrawLetterSize(TDEditor_TD[9], 0.000000, -0.187500); TextDrawTextSize(TDEditor_TD[9], 343.000000, 0.000000); TextDrawAlignment(TDEditor_TD[9], 1); TextDrawColor(TDEditor_TD[9], -1); TextDrawUseBox(TDEditor_TD[9], 1); TextDrawBoxColor(TDEditor_TD[9], 65535); TextDrawSetShadow(TDEditor_TD[9], 0); TextDrawBackgroundColor(TDEditor_TD[9], 255); TextDrawFont(TDEditor_TD[9], 1); TextDrawSetProportional(TDEditor_TD[9], 1); for(new i = 0; i < MAX_FREQUENCIAS; i++) { Frequencia[i] = SvCreateGStream(0xFF5800FF, "WalkieTalkie"); } CriarTxDCelular(); ObjectSpawn = CreateObject(7313, 1131.4710, -1423.2792, 20.5806, 0.1999, 0.0000, 178.2000); //vgsN_scrollsgn01 SetObjectMaterialText(ObjectSpawn, "Bem Vindo Ao Servidor", 0, OBJECT_MATERIAL_SIZE_256x32, "Arial", 24, 1, 0xFFFFFFFF, 0xFF00FFFF, 1); new gettick = GetTickCount(); CriarTxDConce(); CarregarSalariosEmp(); CriarMapPraia(); Loop(i, MAX_VEHICLES) { Loop(index, 2) VeiculoNeon[i][index] = -1; VehicleNeon[i][Carro_Neon1] = -1; VehicleNeon[i][Carro_Neon2] = -1; } CriarTXDEletronicoGlobal(); //veiculos aluguel VehicleAluguel[0] = AddStaticVehicleEx(560,2148.3091,-1203.3293,23.5588,269.6882,2, 2,-1); // car11 VehicleAluguel[1] = AddStaticVehicleEx(496,2148.3752,-1198.8102,23.5928,269.8167,2, 2,-1); // car22 VehicleAluguel[2] = AddStaticVehicleEx(535,2148.5859,-1194.2546,23.5367,271.0361,2, 2,-1); // car33 VehicleAluguel[3] = AddStaticVehicleEx(402,2161.6265,-1197.4510,23.6095,90.2413,2, 2,-1); // car44 VehicleAluguel[4] = AddStaticVehicleEx(468,2162.3364,-1192.3512,23.5261,90.5985,2, 2,-1); // car55 VehicleAluguel[5] = AddStaticVehicleEx(581,2160.5208,-1187.4948,23.5239,89.2393,2, 2,-1); // car66 CarregarEscritorio(); CriarTelaLoginGeral(); CreateTDSEdicaoObjAndroid(); CarregarRadares(); gstream = SvCreateGStream(0xff00FFFF, "G"); // blue color SetTimer( "ContratoAutomatico", 1000*5*60, true ); CarregarNovaPOBRE(); CarregarOficinaNova(); CarregarHQAdmin(); LoadLabelV(); SetTimer("CairDinheiroDoJogador", 1000, true); CarregarNovaAgencia(); CarregarLombadas(); // Banco de dados if((Database = db_open("ips.db")) == DB:0) { print("Falha ao abrir o banco de dados!"); } else { db_query(Database, "CREATE TABLE IF NOT EXISTS ips ('id' INTEGER PRIMARY KEY AUTOINCREMENT, 'nome' VARCHAR(24), 'ip' VARCHAR(22))"); print("Banco de dados carregado com sucesso!"); } db_query(Database, "CREATE TABLE IF NOT EXISTS contas\ ('ID' INTEGER PRIMARY KEY AUTOINCREMENT,\ 'Nome' TEXT DEFAULT '',\ 'Email' TEXT DEFAULT '')"); //hq tropa da turquia by:brazz CreateDynamicObject(987, 2326.5937, 1927.5861, 9.9494, 0.0000, 0.0000, -89.9999); //elecfence_BAR PortaoTDT = CreateDynamicObject(980, 2319.2026, 1903.8187, 12.0182, 0.0000, 0.0000, -178.6998); //airportgate CreateDynamicObject(987, 2314.6057, 1927.2102, 9.9494, -1.5000, -1.0000, 1.8000); //elecfence_BAR CreateDynamicObject(987, 2308.6381, 1927.0197, 9.8452, -1.5000, -1.0000, 1.8000); //elecfence_BAR TdTText[0] = CreateDynamicObject(19353, 2311.2854, 1902.3358, 12.2518, 0.0000, 0.0000, -87.7999); //wall001 SetObjectMaterialText(TdTText[0], "Tropa Da Turquia", 0, OBJECT_MATERIAL_SIZE_512x256, "Arial", 64, 1, 0xFF00FFFF, 0x00000000, 1); TdTText[1] = CreateDynamicObject(19353, 2311.4548, 1902.3231, 11.5618, 0.0000, 0.0000, -87.7999); //wall001 SetObjectMaterialText(TdTText[1], "HQ", 0, OBJECT_MATERIAL_SIZE_256x256, "Arial", 50, 1, 0xFF00FFFF, 0x00000000, 1); CreateDynamicObject(987, 2218.5742, 2002.6712, 15.4152, 0.0000, 0.0000, 0.0000); //elecfence_BAR CreateDynamicObject(987, 2310.5019, 1915.2426, 9.6591, -1.5000, -1.0000, 91.0000); //elecfence_BAR CreateDynamicObject(987, 2310.7075, 1903.6951, 9.4575, -1.5000, -1.0000, 91.0000); //elecfence_BAR CreateDynamicObject(987, 2326.5937, 1915.6153, 9.9494, 0.0000, 0.0000, -89.9999); //elecfence_BAR CreateDynamicObject(3749, 2319.1582, 1904.4321, 14.9875, 0.0000, 0.0000, 0.0000); //ClubGate01_LAx CreateDynamicObject(987, 2230.0339, 2002.6712, 15.4152, 0.0000, 0.0000, 0.0000); //elecfence_BAR CreateDynamicObject(987, 2241.9572, 2002.6712, 15.4152, 0.0000, 0.0000, 0.0000); //elecfence_BAR CreateDynamicObject(987, 2253.9936, 2002.6712, 15.4152, 0.0000, 0.0000, 0.0000); //elecfence_BAR CreateDynamicObject(987, 2266.0661, 2002.6712, 15.4152, 0.0000, 0.0000, 0.0000); //elecfence_BAR CreateDynamicObject(987, 2278.0478, 2002.6712, 15.4152, 0.0000, 0.0000, 0.0000); //elecfence_BAR CreateDynamicObject(987, 2290.0417, 2002.6712, 15.4152, 0.0000, 0.0000, 0.0000); //elecfence_BAR CreateDynamicObject(987, 2301.9326, 2002.6712, 15.4152, 0.0000, 0.0000, 0.0000); //elecfence_BAR CreateDynamicObject(987, 2310.9106, 2002.8992, 15.4152, 0.0000, 0.0000, -89.6998); //elecfence_BAR CreateDynamicObject(987, 2311.0302, 1991.2231, 15.4152, 0.0000, 0.0000, -89.6998); //elecfence_BAR CreateDynamicObject(987, 2311.0935, 1980.0449, 15.4152, 0.0000, 0.0000, -89.6998); //elecfence_BAR portao1 = CreateObject(971, 68.328880, -1526.939087, 7.015985, 0.0000, 0.0000, 87.6625); portao2 = CreateObject(971, 67.909485, -1541.125732, 7.076734, 0.0000, 0.0000, 87.6625); portao3 = CreateObject(971, 1728.5638427734, 512.89862060547, 31.260879516602, 0, 0, 341.99890136719); portao4 = CreateObject(971, 1740.6317138672, 509.00531005859, 31.1568775177, 0, 0, 341.99340820313); portao5 = CreateObject(971, -1412.0205078125, 822.9267578125, 49.750095367432, 0, 0, 317.99926757813); portao6 = CreateObject(971, -1402.5791015625, 813.30859375, 49.656631469727, 0, 0, 315.99975585938); portao7 = CreateObject(971, -2685.9326171875, 1275.3663330078, 56.574485778809, 0, 0, 0); portao8 = CreateObject(971, -2677.2409667969, 1275.3305664063, 56.574516296387, 0, 0, 0); //MAP CONDOMINIO CreateDynamicObject(5296, 154.76814, -1989.78015, 8.33480, 0.00000, 0.00000, 90.00000); CreateDynamicObject(5112, 154.81105, -2120.85864, 8.90790, 0.00000, 0.00000, 90.00000); CreateDynamicObject(7432, 224.78352, -2288.43774, 12.92310, 0.00000, 0.00000, 180.00000); CreateDynamicObject(19866, 191.85620, -2248.49951, 12.99590, 0.00000, 0.00000, 90.00000); CreateDynamicObject(19866, 187.10440, -2248.50195, 12.99590, 0.00000, 0.00000, 90.00000); CreateDynamicObject(19866, 182.16299, -2248.50757, 12.99590, 0.00000, 0.00000, 90.00000); CreateDynamicObject(19866, 177.24001, -2248.51660, 12.97990, 0.00000, 0.00000, 90.00000); CreateDynamicObject(19866, 172.23531, -2248.50562, 12.97990, 0.00000, 0.00000, 90.06000); CreateDynamicObject(19866, 167.25380, -2248.50830, 12.97990, 0.00000, 0.00000, 90.06000); CreateDynamicObject(19529, 157.68060, -2255.20215, 12.84270, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19529, 281.98727, -2255.39990, 12.83870, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19529, 158.14398, -2379.82861, 12.84270, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19529, 282.69598, -2380.34546, 12.84270, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19539, 126.43888, -2194.44824, 12.83790, 0.00000, 0.00000, 90.00000); CreateDynamicObject(19539, 177.51877, -2194.23584, 12.83790, 0.00000, 0.00000, 90.00000); CreateDynamicObject(19540, -25.25354, -2194.23657, 12.74140, 0.00000, 0.00000, 90.00000); CreateDynamicObject(3996, 93.79549, -2258.50317, 12.92970, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19529, 33.47049, -2255.30981, 12.84270, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19539, 67.22128, -2177.78540, 12.83790, 0.00000, 0.00000, 90.00000); CreateDynamicObject(19539, 5.17366, -2177.75146, 12.83790, 0.00000, 0.00000, 90.00000); CreateDynamicObject(19539, -25.45907, -2224.65698, 12.83790, 0.00000, 0.00000, 180.00000); CreateDynamicObject(19539, -25.31404, -2286.42456, 12.83790, 0.00000, 0.00000, 180.00000); CreateDynamicObject(19540, -25.42886, -2317.41455, 12.74140, 0.00000, 0.00000, 180.00000); CreateDynamicObject(19539, 5.44617, -2317.47559, 12.83790, 0.00000, 0.00000, -90.00000); CreateDynamicObject(19546, 98.07584, -2317.35742, 12.77240, 0.00000, 0.00000, -90.00000); CreateDynamicObject(19539, 99.11620, -2407.53369, 12.83790, 0.00000, 0.00000, -178.00000); CreateDynamicObject(19540, 99.49557, -2430.96826, 12.74140, 0.00000, 0.00000, 180.00000); CreateDynamicObject(19539, 129.70784, -2430.99170, 12.83790, 0.00000, 0.00000, -90.00000); CreateDynamicObject(19539, 190.53368, -2431.10864, 12.83790, 0.00000, 0.00000, -90.00000); CreateDynamicObject(19540, 328.56979, -2431.62720, 12.74140, 0.00000, 0.00000, -90.00000); CreateDynamicObject(19539, 251.47864, -2431.17603, 12.83790, 0.00000, 0.00000, -90.00000); CreateDynamicObject(19539, 311.38681, -2431.21533, 12.83790, 0.00000, 0.00000, -90.00000); CreateDynamicObject(19539, 328.74899, -2400.92407, 12.83790, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19539, 329.14865, -2340.24268, 12.83790, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19539, 329.09174, -2278.42993, 12.83790, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19539, 329.11255, -2224.15063, 12.83790, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19540, 329.34183, -2195.78027, 12.74140, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19539, 239.89842, -2193.89697, 12.83790, 0.00000, 0.00000, 90.72000); CreateDynamicObject(19539, 300.05869, -2196.40625, 12.83790, 0.00000, 0.00000, 90.72000); CreateDynamicObject(19540, 253.69951, -2193.48657, 12.74140, 0.00000, 0.00000, 0.00000); CreateDynamicObject(9273, 136.70816, -2206.91357, 19.08390, 0.00000, 0.00000, -90.00000); CreateDynamicObject(3749, 154.60283, -2192.23071, 18.41070, 0.00000, 0.00000, 0.00000); CreateDynamicObject(9273, 136.27971, -2219.62769, 19.08390, 0.00000, 0.00000, -90.00000); CreateDynamicObject(9273, 136.38460, -2231.34766, 19.08390, 0.00000, 0.00000, -90.00000); CreateDynamicObject(9273, 136.60457, -2243.02856, 19.08390, 0.00000, 0.00000, -90.00000); CreateDynamicObject(9273, 174.70000, -2222.45825, 19.08390, 0.00000, 0.00000, 90.00000); CreateDynamicObject(9273, 174.47495, -2209.42285, 19.08390, 0.00000, 0.00000, 90.00000); CreateDynamicObject(3316, 183.42281, -2260.91846, 16.26060, 0.00000, 0.00000, -90.00000); CreateDynamicObject(3316, 183.49736, -2288.60913, 16.26060, 0.00000, 0.00000, -90.00000); CreateDynamicObject(3316, 183.47733, -2316.20068, 16.26060, 0.00000, 0.00000, -90.00000); CreateDynamicObject(3678, 224.53682, -2257.40356, 18.35020, 0.00000, 0.00000, 180.00000); CreateDynamicObject(3678, 224.52444, -2277.55518, 18.35020, 0.00000, 0.00000, 180.00000); CreateDynamicObject(3678, 224.77176, -2316.52588, 18.35020, 0.00000, 0.00000, 180.00000); CreateDynamicObject(3678, 224.55653, -2297.70239, 18.35020, 0.00000, 0.00000, 180.00000); CreateDynamicObject(3316, 196.25504, -2209.38647, 16.26060, 0.00000, 0.00000, 0.00000); CreateDynamicObject(3316, 222.61067, -2209.34180, 16.26060, 0.00000, 0.00000, 0.00000); CreateDynamicObject(4647, 274.54160, -2329.78271, 12.94070, 0.00000, 0.00000, 180.00000); CreateDynamicObject(19425, 264.69669, -2335.04736, 12.83690, 0.00000, 0.00000, 90.00000); CreateDynamicObject(19425, 264.68997, -2338.36743, 12.83690, 0.00000, 0.00000, 90.00000); CreateDynamicObject(19425, 264.69748, -2341.72070, 12.83690, 0.00000, 0.00000, 90.00000); CreateDynamicObject(19533, 274.54224, -2238.05249, 12.84670, 0.00000, 0.00000, 0.00000); CreateDynamicObject(3316, 300.57700, -2280.51099, 16.26060, 0.00000, 0.00000, -90.00000); CreateDynamicObject(3316, 300.72910, -2306.87964, 16.26060, 0.00000, 0.00000, -90.00000); CreateDynamicObject(3316, 300.79388, -2333.44141, 16.26060, 0.00000, 0.00000, -90.00000); CreateDynamicObject(3316, 300.82776, -2360.32886, 16.26060, 0.00000, 0.00000, -90.00000); CreateDynamicObject(4647, 274.47644, -2381.99390, 12.94070, 0.00000, 0.00000, 180.00000); CreateDynamicObject(3578, 269.58875, -2439.92407, 12.82384, 0.00000, 0.00000, 0.00000); CreateDynamicObject(3578, 279.40964, -2439.94702, 12.82384, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1237, 270.01569, -2439.18823, 12.85498, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1237, 278.96240, -2439.24658, 12.85498, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1459, 276.94147, -2439.11938, 13.31720, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1459, 272.16104, -2438.88257, 13.31720, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1237, 274.38058, -2439.04663, 12.85498, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1434, 271.04001, -2436.04712, 12.85250, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1434, 273.35373, -2435.97803, 12.85250, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1434, 275.66351, -2435.92969, 12.85250, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1434, 278.08743, -2435.92310, 12.85250, 0.00000, 0.00000, 0.00000); CreateDynamicObject(3316, 302.06531, -2387.34839, 16.26060, 0.00000, 0.00000, -90.00000); CreateDynamicObject(3316, 302.90616, -2414.35449, 16.26060, 0.00000, 0.00000, -90.00000); CreateDynamicObject(19533, 235.52029, -2392.61304, 12.84670, 0.00000, 0.00000, 90.00000); CreateDynamicObject(19533, 173.17851, -2392.57568, 12.84670, 0.00000, 0.00000, 90.00000); CreateDynamicObject(669, 259.58112, -2322.14478, 12.82118, 0.00000, 0.00000, 0.00000); CreateDynamicObject(669, 258.56882, -2312.36743, 12.82118, 0.00000, 0.00000, 0.00000); CreateDynamicObject(669, 258.03525, -2302.27832, 12.82118, 0.00000, 0.00000, 0.00000); CreateDynamicObject(669, 257.83798, -2294.20386, 12.82118, 0.00000, 0.00000, 0.00000); CreateDynamicObject(669, 257.82523, -2283.98926, 12.82118, 0.00000, 0.00000, 0.00000); CreateDynamicObject(669, 257.63620, -2274.15112, 12.82118, 0.00000, 0.00000, 0.00000); CreateDynamicObject(762, 261.10117, -2267.64697, 12.83056, 0.00000, 0.00000, 0.00000); CreateDynamicObject(669, 258.37610, -2256.85425, 12.82118, 0.00000, 0.00000, 0.00000); CreateDynamicObject(669, 258.42325, -2247.16260, 12.82118, 0.00000, 0.00000, 0.00000); CreateDynamicObject(669, 255.35280, -2238.16626, 12.82118, 0.00000, 0.00000, 0.00000); CreateDynamicObject(669, 248.74548, -2229.83984, 12.82118, 0.00000, 0.00000, 0.00000); CreateDynamicObject(669, 239.39032, -2226.17773, 12.82118, 0.00000, 0.00000, 0.00000); CreateDynamicObject(726, 174.34229, -2193.83276, 12.78390, 0.00000, 0.00000, 0.00000); CreateDynamicObject(726, 135.97098, -2192.46631, 12.78390, 0.00000, 0.00000, 0.00000); CreateDynamicObject(3590, 288.72299, -2257.20532, 15.26820, 0.00000, 0.00000, 90.00000); CreateDynamicObject(3590, 288.73547, -2242.98242, 15.26820, 0.00000, 0.00000, 90.00000); CreateDynamicObject(3590, 288.74149, -2228.26147, 15.26820, 0.00000, 0.00000, 90.00000); CreateDynamicObject(3590, 288.52893, -2214.72510, 15.26820, 0.00000, 0.00000, 90.00000); CreateDynamicObject(3590, 260.38895, -2214.25220, 15.26820, 0.00000, 0.00000, -90.00000); CreateDynamicObject(3590, 260.41812, -2228.82007, 15.26820, 0.00000, 0.00000, -90.00000); CreateDynamicObject(835, 270.70905, -2205.26807, 14.69410, 0.00600, 0.00000, 0.00000); CreateDynamicObject(834, 278.16760, -2205.02100, 15.30740, 0.00000, 0.00000, 156.00000); CreateDynamicObject(3678, 252.00568, -2374.70630, 18.35020, 0.00000, 0.00000, 90.00000); CreateDynamicObject(3678, 230.49602, -2374.86206, 18.35020, 0.00000, 0.00000, 90.00000); CreateDynamicObject(3678, 209.10303, -2374.88745, 18.35020, 0.00000, 0.00000, 90.00000); CreateDynamicObject(3678, 187.61238, -2374.87207, 18.35020, 0.00000, 0.00000, 90.00000); CreateDynamicObject(3678, 166.11531, -2374.86548, 18.35020, 0.00000, 0.00000, 90.00000); CreateDynamicObject(3642, 259.23999, -2355.71680, 15.93140, 0.00000, 0.00000, 180.00000); CreateDynamicObject(3642, 245.87567, -2355.78882, 15.93140, 0.00000, 0.00000, 180.00000); CreateDynamicObject(3642, 232.77309, -2355.76807, 15.93140, 0.00000, 0.00000, 180.00000); CreateDynamicObject(3642, 220.13988, -2355.72925, 15.93140, 0.00000, 0.00000, 180.00000); CreateDynamicObject(3642, 208.25967, -2355.66504, 15.93140, 0.00000, 0.00000, 180.00000); CreateDynamicObject(3642, 196.64368, -2355.75122, 15.93140, 0.00000, 0.00000, 180.00000); CreateDynamicObject(3642, 185.03204, -2355.73584, 15.93140, 0.00000, 0.00000, 180.00000); CreateDynamicObject(3642, 173.81879, -2355.67896, 15.93140, 0.00000, 0.00000, 180.00000); CreateDynamicObject(3642, 162.36063, -2355.71875, 15.93140, 0.00000, 0.00000, 180.00000); CreateDynamicObject(3642, 150.68352, -2355.80981, 15.93140, 0.00000, 0.00000, 180.00000); CreateDynamicObject(19533, 115.36684, -2338.47754, 12.84670, 0.00000, 0.00000, 90.00000); CreateDynamicObject(19533, 118.78062, -2392.56226, 12.84670, 0.00000, 0.00000, 90.00000); CreateDynamicObject(3578, 97.60868, -2392.61621, 12.99770, 0.00000, 0.00000, 90.00000); CreateDynamicObject(3578, 84.30016, -2338.66479, 12.99770, 0.00000, 0.00000, 90.00000); CreateDynamicObject(1459, 85.97893, -2336.53809, 13.30090, 0.00000, 0.00000, 90.00000); CreateDynamicObject(1459, 86.20821, -2341.79272, 13.30090, 0.00000, 0.00000, 90.00000); CreateDynamicObject(3316, 132.52010, -2364.74731, 16.26060, 0.00000, 0.00000, -180.00000); CreateDynamicObject(3316, 107.37930, -2364.77808, 16.26060, 0.00000, 0.00000, -180.00000); CreateDynamicObject(3316, 106.66401, -2312.14795, 16.26060, 0.00000, 0.00000, 0.00000); CreateDynamicObject(3316, 132.16447, -2312.02344, 16.26060, 0.00000, 0.00000, 0.00000); CreateDynamicObject(13681, 249.04814, -2410.00464, 17.61890, 0.00000, 0.00000, 180.00000); CreateDynamicObject(13681, 218.83005, -2409.86743, 17.61890, 0.00000, 0.00000, 180.00000); CreateDynamicObject(13681, 188.70483, -2409.85693, 17.61890, 0.00000, 0.00000, 180.00000); CreateDynamicObject(13681, 158.62129, -2409.90137, 17.61890, 0.00000, 0.00000, 180.00000); CreateDynamicObject(13681, 128.41551, -2409.89160, 17.61890, 0.00000, 0.00000, 180.00000); CreateDynamicObject(715, 105.15829, -2405.24023, 21.02650, 0.00000, 0.00000, 0.00000); CreateDynamicObject(715, 91.96222, -2404.13892, 21.02650, 0.00000, 0.00000, 0.00000); CreateDynamicObject(715, 92.53476, -2382.54810, 21.02650, 0.00000, 0.00000, 0.00000); CreateDynamicObject(715, 150.88319, -2381.54370, 20.71650, 0.00000, 0.00000, 0.00000); CreateDynamicObject(726, 288.43240, -2432.99170, 12.84510, 0.00000, 0.00000, 0.00000); CreateDynamicObject(726, 261.35117, -2424.65186, 12.84510, 0.00000, 0.00000, 0.00000); CreateDynamicObject(726, 243.08337, -2425.98218, 12.84510, 0.00000, 0.00000, 0.00000); CreateDynamicObject(726, 221.82080, -2426.95313, 12.84510, 0.00000, 0.00000, 0.00000); CreateDynamicObject(726, 203.64719, -2424.92651, 12.84510, 0.00000, 0.00000, 0.00000); CreateDynamicObject(726, 187.16661, -2423.75464, 12.84510, 0.00000, 0.00000, 0.00000); CreateDynamicObject(726, 168.42740, -2421.59009, 12.84510, 0.00000, 0.00000, 0.00000); CreateDynamicObject(726, 150.11357, -2422.20313, 12.84510, 0.00000, 0.00000, 0.00000); CreateDynamicObject(726, 128.73787, -2422.13013, 12.84510, 0.00000, 0.00000, 0.00000); CreateDynamicObject(621, 329.99500, -2414.08301, 12.74560, 0.00000, 0.00000, 0.00000); CreateDynamicObject(621, 331.30850, -2387.12183, 12.74560, 0.00000, 0.00000, 0.00000); CreateDynamicObject(621, 330.22562, -2363.33008, 12.74560, 0.00000, 0.00000, 0.00000); CreateDynamicObject(621, 329.58957, -2337.21973, 12.74560, 0.00000, 0.00000, 0.00000); CreateDynamicObject(621, 329.27454, -2309.78882, 12.74560, 0.00000, 0.00000, 0.00000); CreateDynamicObject(621, 330.22513, -2282.59448, 12.74560, 0.00000, 0.00000, 0.00000); CreateDynamicObject(621, 322.28864, -2263.99414, 12.74560, 0.00000, 0.00000, 0.00000); CreateDynamicObject(621, 303.29465, -2258.38257, 12.74560, 0.00000, 0.00000, 0.00000); CreateDynamicObject(621, 302.95871, -2243.41235, 12.74560, 0.00000, 0.00000, 0.00000); CreateDynamicObject(621, 302.93948, -2229.08423, 12.74560, 0.00000, 0.00000, 0.00000); CreateDynamicObject(621, 302.54150, -2215.03760, 12.74560, 0.00000, 0.00000, 0.00000); CreateDynamicObject(669, 259.57831, -2204.27393, 12.82118, 0.00000, 0.00000, 0.00000); CreateDynamicObject(669, 289.75348, -2204.63794, 12.82118, 0.00000, 0.00000, 0.00000); CreateDynamicObject(669, 281.34280, -2196.36206, 12.82118, 0.00000, 0.00000, 0.00000); CreateDynamicObject(621, 291.51675, -2194.66650, 12.74560, 0.00000, 0.00000, 0.00000); CreateDynamicObject(621, 243.70258, -2218.10571, 12.74560, 0.00000, 0.00000, 0.00000); CreateDynamicObject(621, 266.24252, -2198.43262, 12.74560, 0.00000, 0.00000, 0.00000); CreateDynamicObject(9273, 119.45586, -2242.83423, 19.08390, 0.00000, 0.00000, 90.00000); CreateDynamicObject(9273, 119.69022, -2225.95020, 19.08390, 0.00000, 0.00000, 90.00000); CreateDynamicObject(9273, 119.47751, -2208.68188, 19.08390, 0.00000, 0.00000, 90.00000); CreateDynamicObject(9273, 119.82813, -2191.76172, 19.08390, 0.00000, 0.00000, 90.00000); CreateDynamicObject(8390, -1.36452, -2272.10205, 32.32550, 0.00000, 0.00000, 0.00000); CreateDynamicObject(4142, 60.51993, -2213.43970, 12.91780, 0.00000, 0.00000, 180.00000); CreateDynamicObject(4142, 31.41930, -2223.03687, 12.91780, 0.00000, 0.00000, 270.00000); CreateDynamicObject(19539, -7.69733, -2186.41553, 12.83790, 0.00000, 0.00000, 179.00000); CreateDynamicObject(19540, -10.18900, -2177.58057, 12.74140, 0.00000, 0.00000, 90.00000); CreateDynamicObject(19540, 86.59117, -2177.48926, 12.74140, 0.00000, 0.00000, 0.00000); CreateDynamicObject(3578, -6.15776, -2342.21411, 13.01688, 0.00000, 0.00000, 0.00000); CreateDynamicObject(3578, 3.87855, -2342.23657, 13.01688, 0.00000, 0.00000, 0.00000); CreateDynamicObject(3642, 139.39328, -2276.20508, 15.93140, 0.00000, 0.00000, 180.00000); CreateDynamicObject(3642, 123.37099, -2276.28418, 15.93140, 0.00000, 0.00000, 179.70000); CreateDynamicObject(3642, 107.38934, -2276.53516, 15.93140, 0.00000, 0.00000, 179.70000); CreateDynamicObject(3316, 70.52121, -2287.22388, 16.26060, 0.00000, 0.00000, -180.00000); CreateDynamicObject(9273, 91.63946, -2277.92334, 19.08390, 0.00000, 0.00000, 0.00000); CreateDynamicObject(3316, 70.48299, -2230.05615, 16.26060, 0.00000, 0.00000, 0.00000); CreateDynamicObject(9273, 99.19541, -2163.87329, 19.08390, 0.00000, 0.00000, 180.00000); CreateDynamicObject(9273, 80.51720, -2163.90649, 19.08390, 0.00000, 0.00000, 180.00000); CreateDynamicObject(9273, 62.80659, -2164.19238, 19.08390, 0.00000, 0.00000, 180.00000); CreateDynamicObject(9273, 46.92360, -2164.04663, 19.08390, 0.00000, 0.00000, 180.00000); CreateDynamicObject(9273, 29.39499, -2163.93872, 19.08390, 0.00000, 0.00000, 180.00000); CreateDynamicObject(9273, 12.61120, -2163.69189, 19.08390, 0.00000, 0.00000, 180.00000); CreateDynamicObject(9273, -2.20739, -2163.97778, 19.08390, 0.00000, 0.00000, 180.00000); CreateDynamicObject(3578, -7.86556, -2183.04395, 12.84190, 0.00000, 0.00000, 90.00000); CreateDynamicObject(715, 91.45014, -2364.21533, 21.02650, 0.00000, 0.00000, 0.00000); CreateDynamicObject(715, 90.56945, -2350.06909, 21.02650, 0.00000, 0.00000, 0.00000); CreateDynamicObject(715, 91.22947, -2326.21973, 21.02650, 0.00000, 0.00000, 0.00000); CreateDynamicObject(715, 90.52837, -2310.08521, 21.02650, 0.00000, 0.00000, 0.00000); CreateDynamicObject(715, 90.03232, -2296.63843, 21.02650, 0.00000, 0.00000, 0.00000); CreateDynamicObject(726, 103.02767, -2289.08569, 12.84510, 0.00000, 0.00000, 0.00000); CreateDynamicObject(726, 119.75858, -2288.99707, 12.84510, 0.00000, 0.00000, 0.00000); CreateDynamicObject(726, 136.36032, -2288.38525, 12.84510, 0.00000, 0.00000, 0.00000); CreateDynamicObject(621, 57.56530, -2337.59180, 12.49110, 0.00000, 0.00000, 0.00000); CreateDynamicObject(621, 69.84158, -2337.58081, 12.49110, 0.00000, 0.00000, 0.00000); CreateDynamicObject(621, 77.08139, -2351.45630, 12.49110, 0.00000, 0.00000, 0.00000); CreateDynamicObject(621, 76.19395, -2368.60498, 12.49110, 0.00000, 0.00000, 0.00000); CreateDynamicObject(621, 76.35166, -2385.62524, 12.49110, 0.00000, 0.00000, 0.00000); CreateDynamicObject(621, 77.34559, -2406.99780, 12.49110, 0.00000, 0.00000, 0.00000); CreateDynamicObject(621, 77.21477, -2424.84253, 12.49110, 0.00000, 0.00000, 0.00000); CreateDynamicObject(621, 78.25713, -2447.67822, 12.49110, 0.00000, 0.00000, 0.00000); CreateDynamicObject(621, 98.55101, -2450.00415, 12.49110, 0.00000, 0.00000, 0.00000); CreateDynamicObject(621, 118.55173, -2451.75366, 12.49110, 0.00000, 0.00000, 0.00000); CreateDynamicObject(621, 136.72444, -2452.42969, 12.49110, 0.00000, 0.00000, 0.00000); CreateDynamicObject(621, 157.07654, -2451.86157, 12.49110, 0.00000, 0.00000, 0.00000); CreateDynamicObject(621, 175.89819, -2451.72266, 12.49110, 0.00000, 0.00000, 0.00000); CreateDynamicObject(621, 194.46164, -2452.00562, 12.49110, 0.00000, 0.00000, 0.00000); CreateDynamicObject(621, 214.09857, -2452.01855, 12.49110, 0.00000, 0.00000, 0.00000); CreateDynamicObject(621, 234.15503, -2452.47583, 12.49110, 0.00000, 0.00000, 0.00000); CreateDynamicObject(621, 255.74448, -2452.66626, 12.49110, 0.00000, 0.00000, 0.00000); CreateDynamicObject(621, 276.38162, -2452.44653, 12.49110, 0.00000, 0.00000, 0.00000); CreateDynamicObject(621, 300.17862, -2452.24414, 12.49110, 0.00000, 0.00000, 0.00000); CreateDynamicObject(621, 323.30048, -2442.01929, 12.49110, 0.00000, 0.00000, 0.00000); CreateDynamicObject(672, 85.19637, -2201.43115, 13.54620, 0.00000, 0.00000, 0.00000); CreateDynamicObject(672, 72.95339, -2201.24316, 13.54620, 0.00000, 0.00000, 0.00000); CreateDynamicObject(672, 58.84299, -2201.10181, 13.54620, 0.00000, 0.00000, 0.00000); CreateDynamicObject(672, -12.46083, -2194.44092, 13.54620, 0.00000, 0.00000, 0.00000); CreateDynamicObject(672, -12.39497, -2182.42603, 13.54620, 0.00000, 0.00000, 0.00000); CreateDynamicObject(672, -13.61031, -2170.07007, 13.54620, 0.00000, 0.00000, 0.00000); CreateDynamicObject(621, 44.27935, -2197.11646, 12.63680, 0.00000, 0.00000, 0.00000); CreateDynamicObject(621, 29.72615, -2197.01440, 12.63680, 0.00000, 0.00000, 0.00000); CreateDynamicObject(621, 14.61924, -2196.86621, 12.63680, 0.00000, 0.00000, 0.00000); CreateDynamicObject(672, 53.79799, -2216.94800, 13.54620, 0.00000, 0.00000, 0.00000); CreateDynamicObject(715, 54.70401, -2237.94800, 21.02650, 0.00000, 0.00000, 0.00000); CreateDynamicObject(715, 54.57307, -2273.01758, 21.02650, 0.00000, 0.00000, 0.00000); CreateDynamicObject(621, 54.56768, -2297.18921, 12.49110, 0.00000, 0.00000, 0.00000); CreateDynamicObject(715, 69.56287, -2316.77881, 21.02650, 0.00000, 0.00000, -0.06000); CreateDynamicObject(621, 248.34486, -2184.17090, 12.74560, 0.00000, 0.00000, 0.06000); CreateDynamicObject(621, 224.42738, -2180.96045, 12.74560, 0.00000, 0.00000, 0.06000); CreateDynamicObject(621, 194.50104, -2181.22729, 12.74560, 0.00000, 0.00000, 0.06000); CreateDynamicObject(621, 138.98184, -2177.81909, 12.74560, 0.00000, 0.00000, 0.06000); CreateDynamicObject(19540, -21.57748, -2317.81250, 12.74140, 0.00000, 0.00000, 180.00000); CreateDynamicObject(9237, 346.84500, -2176.77881, 20.31920, 0.00000, 0.00000, 72.00000); CreateDynamicObject(9237, 348.48639, -2451.20776, 20.31920, 0.00000, 0.00000, -32.00000); CreateDynamicObject(3330, 155.05806, -2041.33032, 2.54620, 0.00000, 0.00000, 33.00000); CreateDynamicObject(3330, 153.70168, -2109.91479, 2.72720, 0.00000, 0.00000, 33.00000); CreateDynamicObject(3381, 146.47330, -2087.48486, 23.02640, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19533, 154.83723, -1939.58398, 2.90900, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19533, 154.82085, -1877.94702, 2.90900, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19533, 154.87213, -1815.89221, 2.90900, 0.00000, 0.00000, 0.00000); CreateDynamicObject(621, 144.92239, -1780.86804, 1.82560, 0.00000, 0.00000, 0.00000); CreateDynamicObject(621, 144.01941, -1764.83191, 1.82560, 0.00000, 0.00000, 0.00000); //POBRE TROPA DA TURQUIA CreateObject(3655, 743.74719, 334.76193, 22.74986, 0.00000, 0.00000, 10.13999); CreateObject(3655, 745.86310, 350.76486, 22.74986, 0.00000, 0.00000, -35.58002); CreateObject(3655, 755.69421, 360.76089, 22.74986, 0.00000, 0.00000, -54.18001); CreateObject(3655, 769.18896, 366.70813, 22.74986, 0.00000, 0.00000, -81.36003); CreateObject(3655, 761.95538, 364.37097, 22.74986, 0.00000, 0.00000, -63.72003); CreateObject(3655, 751.67578, 357.42828, 22.74986, 0.00000, 0.00000, -54.18001); CreateObject(3655, 743.25104, 343.56030, 22.74986, 0.00000, 0.00000, -7.80003); CreateObject(3655, 763.65552, 340.07928, 22.21405, 0.00000, 0.00000, -81.23997); CreateObject(3655, 765.67786, 343.63782, 22.21405, 0.00000, 0.00000, -234.84000); CreateObject(3655, 773.50763, 346.87424, 22.21405, 0.00000, 0.00000, -260.64014); CreateObject(3655, 785.23993, 348.88474, 22.21405, 0.00000, 0.00000, -260.64014); CreateObject(3655, 781.06879, 368.50598, 22.74986, 0.00000, 0.00000, -81.36003); CreateObject(3655, 792.94946, 370.39801, 22.74986, 0.00000, 0.00000, -81.36003); CreateObject(3655, 796.96082, 350.74316, 22.21405, 0.00000, 0.00000, -260.64014); CreateObject(3655, 810.62201, 357.82904, 22.21405, 0.00000, 0.00000, -226.50026); CreateObject(3655, 814.84796, 374.67630, 22.21405, 0.00000, 0.00000, -163.14018); CreateObject(3655, 811.30548, 385.97888, 22.21405, 0.00000, 0.00000, -163.14018); CreateObject(3655, 798.27472, 397.59888, 22.21405, 0.00000, 0.00000, -101.52020); CreateObject(3655, 806.62219, 394.19461, 22.21405, 0.00000, 0.00000, -136.08011); CreateObject(3655, 814.72955, 365.80664, 22.21405, 0.00000, 0.00000, -194.22018); CreateObject(3655, 804.31055, 353.35608, 22.21405, 0.00000, 0.00000, -241.32021); CreateObject(3655, 784.66473, 398.45740, 23.87666, 0.00000, 0.00000, -86.76021); CreateObject(3655, 784.66473, 398.45740, 20.99685, 0.00000, 0.00000, -86.76021); CreateObject(3655, 798.27472, 397.59888, 20.76094, 0.00000, 0.00000, -101.52020); CreateObject(3655, 806.62219, 394.19461, 20.20256, 0.00000, 0.00000, -136.08011); CreateObject(3655, 811.30548, 385.97888, 21.09927, 0.00000, 0.00000, -163.14018); CreateObject(3655, 772.16113, 396.88361, 25.42101, 0.00000, 0.00000, -80.58018); CreateObject(3655, 760.36157, 394.98611, 25.42101, 0.00000, 0.00000, -80.58018); CreateObject(3655, 748.54358, 393.12402, 25.42101, 0.00000, 0.00000, -80.58018); CreateObject(3655, 736.66156, 391.16574, 25.42101, 0.00000, 0.00000, -80.58018); CreateObject(3655, 733.28766, 375.40024, 25.13933, 0.00000, 0.00000, -147.11995); CreateObject(3463, 815.97626, 336.73593, 18.87642, 0.00000, 0.00000, 0.00000); CreateObject(3463, 789.88367, 330.96783, 18.87642, 0.00000, 0.00000, 0.00000); CreateObject(3463, 745.19904, 321.91763, 18.87642, 0.00000, 0.00000, 0.00000); CreateObject(3463, 769.19763, 326.54095, 18.87642, 0.00000, 0.00000, 0.00000); CreateObject(1294, 756.54279, 335.00784, 22.11174, 0.00000, 0.00000, 0.00000); CreateObject(1294, 755.91351, 347.50290, 22.11174, 0.00000, 0.00000, -62.64000); CreateObject(1294, 762.81195, 352.61200, 22.11174, 0.00000, 0.00000, -62.64000); CreateObject(1294, 772.13116, 355.72894, 22.11174, 0.00000, 0.00000, -74.10000); CreateObject(1294, 784.27765, 357.87286, 22.11174, 0.00000, 0.00000, -74.10000); CreateObject(1294, 795.18835, 359.66669, 22.11174, 0.00000, 0.00000, -74.10000); CreateObject(1294, 805.06512, 365.09488, 22.11174, 0.00000, 0.00000, -31.01998); CreateObject(1294, 804.84644, 376.68369, 22.11174, 0.00000, 0.00000, 27.00001); CreateObject(3534, 743.60803, 327.68225, 25.79738, 94.01998, 20.40000, -13.14000); CreateObject(3534, 743.60803, 327.68225, 24.83081, 94.01998, 20.40000, -13.14000); CreateObject(3534, 743.60803, 327.68225, 23.86174, 94.01998, 20.40000, -13.14000); CreateObject(3534, 743.60803, 327.68225, 22.85383, 94.01998, 20.40000, -13.14000); CreateObject(3534, 743.60803, 327.68225, 21.76915, 94.01998, 20.40000, -13.14000); CreateObject(3534, 743.60803, 327.68225, 20.69685, 94.01998, 20.40000, -13.14000); CreateObject(3534, 744.87646, 328.48526, 25.79738, 90.35998, 19.86000, 72.65999); CreateObject(3534, 745.63538, 328.55789, 25.79738, 90.35998, 19.86000, 72.65999); CreateObject(3534, 746.36420, 328.68613, 25.79738, 90.35998, 19.86000, 72.65999); CreateObject(3534, 747.15320, 328.67612, 25.79738, 90.35998, 19.86000, 72.65999); CreateObject(3534, 747.90106, 328.82401, 25.79738, 90.35998, 19.86000, 72.65999); CreateObject(3534, 743.60803, 327.68225, 19.84366, 94.01998, 20.40000, -13.14000); CreateObject(3534, 744.70282, 328.52808, 23.23314, 90.35998, 19.86000, 72.65999); CreateObject(3534, 745.46625, 328.59790, 23.23314, 90.35998, 19.86000, 72.65999); CreateObject(3534, 746.22260, 328.78928, 23.23314, 90.35998, 19.86000, 72.65999); CreateObject(3534, 746.97888, 328.98068, 23.23314, 90.35998, 19.86000, 72.65999); CreateObject(3534, 747.73981, 329.15247, 23.23314, 90.35998, 19.86000, 72.65999); CreateObject(3655, 739.82397, 365.31830, 25.13933, 0.00000, 0.00000, -147.11995); CreateObject(3655, 744.42725, 360.77878, 25.13933, 0.00000, 0.00000, -310.43991); //MAPA POBRE TROPA DA TURQUIA CreateObject(3655, 1408.42371, 417.11905, 22.17908, 0.00000, 0.00000, -24.11999); CreateObject(3655, 1403.77722, 406.10922, 22.17908, 0.00000, 0.00000, -24.11999); CreateObject(3655, 1398.86853, 395.08514, 22.17908, 0.00000, 0.00000, -24.11999); CreateObject(3655, 1394.12573, 384.06223, 22.17908, 0.00000, 0.00000, -24.11999); CreateObject(3655, 1389.31763, 373.03052, 22.17908, 0.00000, 0.00000, -24.11999); CreateObject(3655, 1387.37305, 357.78625, 22.17908, 0.00000, 0.00000, 8.88001); CreateObject(3655, 1387.46985, 365.23218, 22.17908, 0.00000, 0.00000, -10.55999); CreateObject(3655, 1425.66968, 408.44864, 22.17908, 0.00000, 0.00000, -204.72000); CreateObject(3655, 1420.68298, 397.54706, 22.17908, 0.00000, 0.00000, -204.72000); CreateObject(3655, 1415.77441, 386.79922, 22.17908, 0.00000, 0.00000, -204.72000); CreateObject(3655, 1410.71753, 375.82642, 22.17908, 0.00000, 0.00000, -204.72000); CreateObject(3655, 1418.68103, 362.33786, 22.17908, 0.00000, 0.00000, -115.26003); CreateObject(3655, 1411.72266, 347.17093, 22.17908, 0.00000, 0.00000, 66.11998); CreateObject(3655, 1400.84485, 352.14194, 22.17908, 0.00000, 0.00000, -295.67993); CreateObject(3655, 1431.70459, 356.47403, 22.17908, 0.00000, 0.00000, -115.26003); CreateObject(3655, 1422.69519, 342.26926, 22.17908, 0.00000, 0.00000, 66.11998); CreateObject(3655, 1428.27771, 324.93546, 22.17908, 0.00000, 0.00000, 66.11998); CreateObject(3655, 1439.26807, 320.06842, 22.17908, 0.00000, 0.00000, 66.11998); CreateObject(3655, 1447.84375, 363.13251, 22.17908, 0.00000, 0.00000, -115.26003); CreateObject(3655, 1454.18774, 374.15176, 22.17908, 0.00000, 0.00000, -205.19998); CreateObject(3655, 1459.14148, 384.96725, 22.17908, 0.00000, 0.00000, -205.19998); CreateObject(3655, 1462.25024, 391.74673, 22.17908, 0.00000, 0.00000, -204.72000); CreateObject(3655, 1438.25659, 402.49338, 22.17908, 0.00000, 0.00000, -204.72000); CreateObject(3655, 1433.24426, 391.58810, 22.17908, 0.00000, 0.00000, -204.72000); CreateObject(3655, 1428.22644, 380.70932, 22.17908, 0.00000, 0.00000, -204.72000); CreateObject(3655, 1423.04041, 373.96994, 22.17908, 0.00000, 0.00000, -204.72000); CreateObject(3655, 1458.72644, 358.02695, 22.17908, 0.00000, 0.00000, -115.26003); CreateObject(3655, 1469.55737, 352.89792, 22.17908, 0.00000, 0.00000, -115.26003); CreateObject(3655, 1478.73132, 338.41153, 22.17908, 0.00000, 0.00000, -179.51997); CreateObject(3655, 1473.60010, 323.86340, 22.17908, 0.00000, 0.00000, -218.39995); CreateObject(3655, 1459.14233, 316.22549, 22.17908, 0.00000, 0.00000, -267.05997); CreateObject(3655, 1449.92566, 316.19235, 22.17908, 0.00000, 0.00000, -279.12015); CreateObject(3655, 1468.00989, 318.77225, 22.17908, 0.00000, 0.00000, -240.18007); CreateObject(3655, 1478.11743, 332.34796, 20.98394, 0.00000, 0.00000, -195.72005); CreateObject(3655, 1476.73474, 346.71326, 22.17908, 0.00000, 0.00000, -150.66006); CreateObject(3630, 1463.23352, 346.11710, 19.19526, 0.00000, 0.00000, -206.94000); CreateObject(3630, 1463.23352, 346.11710, 22.17575, 0.00000, 0.00000, -206.94000); CreateObject(2567, 1463.81604, 342.81323, 17.19782, 0.00000, 0.00000, -27.66000); CreateObject(2035, 1465.62378, 342.41977, 19.01628, 0.00000, 0.00000, 0.00000); CreateObject(2035, 1465.66248, 342.12689, 19.01628, 0.00000, 0.00000, 0.00000); CreateObject(2035, 1465.51294, 341.82159, 19.01628, 0.00000, 0.00000, 0.00000); CreateObject(2035, 1465.34827, 341.45163, 19.01628, 0.00000, 0.00000, 0.00000); CreateObject(2035, 1465.34424, 341.09109, 19.01628, 0.00000, 0.00000, 0.00000); CreateObject(2035, 1465.48279, 342.73950, 19.01628, 0.00000, 0.00000, 0.00000); CreateObject(2036, 1464.69934, 343.20660, 19.01750, 0.00000, 0.00000, -25.14000); CreateObject(2036, 1464.58826, 342.94952, 19.01750, 0.00000, 0.00000, -25.14000); CreateObject(2036, 1464.47742, 342.69241, 19.01750, 0.00000, 0.00000, -25.14000); CreateObject(2036, 1464.35046, 342.39862, 19.01750, 0.00000, 0.00000, -25.14000); CreateObject(2036, 1464.22351, 342.10486, 19.01750, 0.00000, 0.00000, -25.14000); CreateObject(2036, 1464.12280, 341.82153, 19.01750, 0.00000, 0.00000, -25.14000); CreateObject(2036, 1464.40784, 341.52402, 19.01750, 0.00000, 0.00000, -25.14000); CreateObject(1242, 1463.92578, 343.64063, 19.16700, 0.00000, 0.00000, -25.62000); CreateObject(1242, 1463.69995, 343.80695, 19.16700, 0.00000, 0.00000, -25.62000); CreateObject(1242, 1463.81934, 343.47150, 19.16700, 0.00000, 0.00000, -25.62000); CreateObject(1242, 1463.63123, 343.66101, 19.16700, 0.00000, 0.00000, -25.62000); CreateObject(1242, 1463.52441, 343.49182, 19.16700, 0.00000, 0.00000, -25.62000); CreateObject(1242, 1463.75208, 343.25830, 19.16700, 0.00000, 0.00000, -25.62000); CreateObject(1242, 1463.43591, 343.30927, 19.16700, 0.00000, 0.00000, -25.62000); CreateObject(1242, 1463.68274, 343.16028, 19.16700, 0.00000, 0.00000, -25.62000); CreateObject(1579, 1462.53027, 343.99521, 19.01752, 0.00000, 0.00000, -26.04000); CreateObject(1579, 1462.31030, 343.61194, 19.01752, 0.00000, 0.00000, -26.04000); CreateObject(1579, 1462.14331, 343.24854, 19.01752, 0.00000, 0.00000, -26.04000); CreateObject(1579, 1463.34900, 342.90033, 19.01752, 0.00000, 0.00000, -26.04000); CreateObject(1579, 1463.04797, 343.61859, 19.01752, 0.00000, 0.00000, -26.04000); CreateObject(1579, 1462.82422, 343.24142, 19.01752, 0.00000, 0.00000, -26.04000); CreateObject(1579, 1462.62500, 342.90167, 19.01752, 0.00000, 0.00000, -26.04000); CreateObject(1579, 1462.02258, 344.33844, 19.01752, 0.00000, 0.00000, -26.04000); CreateObject(1579, 1461.85181, 343.89496, 19.01752, 0.00000, 0.00000, -26.04000); CreateObject(1579, 1461.64990, 343.53537, 19.01752, 0.00000, 0.00000, -26.04000); CreateObject(1579, 1461.46570, 343.15375, 19.01752, 0.00000, 0.00000, -26.04000); CreateObject(1579, 1462.03284, 342.82794, 19.01752, 0.00000, 0.00000, -26.04000); CreateObject(1579, 1462.58240, 342.52402, 19.01752, 0.00000, 0.00000, -26.04000); CreateObject(1579, 1463.18945, 342.55615, 19.01752, 0.00000, 0.00000, -26.04000); CreateObject(1579, 1463.07898, 342.23462, 19.01752, 0.00000, 0.00000, -26.04000); CreateObject(19076, 1467.28943, 330.67572, 17.83889, 0.00000, 0.00000, 57.06001); CreateObject(19076, 1469.87842, 337.80057, 17.83889, 0.00000, 0.00000, 57.06001); CreateObject(3472, 1439.72180, 339.04413, 17.83822, 0.00000, 0.00000, 0.00000); CreateObject(3472, 1454.41174, 335.38019, 17.83822, 0.00000, 0.00000, 0.00000); CreateObject(700, 1446.41296, 400.00143, 18.80141, 0.00000, 0.00000, 0.00000); CreateObject(700, 1447.37781, 403.84421, 18.80141, 0.00000, 0.00000, 0.00000); CreateObject(700, 1444.20349, 394.97586, 18.80141, 0.00000, 0.00000, 0.00000); CreateObject(700, 1442.78186, 390.82224, 18.80141, 0.00000, 0.00000, 0.00000); CreateObject(700, 1441.13086, 386.70007, 18.80141, 0.00000, 0.00000, 0.00000); CreateObject(700, 1438.13635, 382.19388, 18.80141, 0.00000, 0.00000, 0.00000); CreateObject(700, 1436.31238, 378.44962, 18.80141, 0.00000, 0.00000, 0.00000); CreateObject(700, 1434.51855, 374.58099, 18.80141, 0.00000, 0.00000, 0.00000); CreateObject(700, 1433.00439, 371.63281, 18.80141, 0.00000, 0.00000, 0.00000); CreateObject(700, 1429.87732, 369.70651, 18.80141, 0.00000, 0.00000, 0.00000); CreateObject(700, 1456.92944, 400.03589, 18.80141, 0.00000, 0.00000, 0.00000); CreateObject(700, 1455.54138, 397.61264, 18.80141, 0.00000, 0.00000, 0.00000); CreateObject(700, 1454.15845, 395.01868, 18.80141, 0.00000, 0.00000, 0.00000); CreateObject(700, 1452.44641, 391.80734, 18.80141, 0.00000, 0.00000, 0.00000); CreateObject(700, 1451.12256, 388.88126, 18.80141, 0.00000, 0.00000, 0.00000); CreateObject(700, 1449.99768, 386.62299, 18.80141, 0.00000, 0.00000, 0.00000); CreateObject(700, 1448.70789, 384.36990, 18.80141, 0.00000, 0.00000, 0.00000); CreateObject(700, 1447.37122, 381.81519, 18.80141, 0.00000, 0.00000, 0.00000); CreateObject(700, 1446.18762, 379.05051, 18.80141, 0.00000, 0.00000, 0.00000); CreateObject(700, 1445.23730, 375.96286, 18.80141, 0.00000, 0.00000, 0.00000); CreateObject(700, 1444.06604, 373.34793, 18.80141, 0.00000, 0.00000, 0.00000); CreateObject(700, 1442.76013, 370.93372, 18.80141, 0.00000, 0.00000, 0.00000); CreateObject(700, 1441.71997, 367.74033, 18.80141, 0.00000, 0.00000, 0.00000); CreateObject(700, 1440.33582, 364.82449, 18.80141, 0.00000, 0.00000, 0.00000); CreateObject(700, 1436.97705, 364.11337, 18.80141, 0.00000, 0.00000, 0.00000); CreateObject(700, 1433.12561, 364.76505, 18.80141, 0.00000, 0.00000, 0.00000); CreateObject(3534, 1441.34253, 407.54102, 25.75460, 0.00000, 0.00000, 0.00000); CreateObject(3534, 1441.34253, 407.54102, 25.01867, 0.00000, 0.00000, 0.00000); CreateObject(3534, 1441.34253, 407.54102, 24.30610, 0.00000, 0.00000, 0.00000); CreateObject(3534, 1441.34253, 407.54102, 23.52018, 0.00000, 0.00000, 0.00000); CreateObject(3534, 1441.34253, 407.54102, 22.79713, 0.00000, 0.00000, 0.00000); CreateObject(3534, 1441.34253, 407.54102, 22.13695, 0.00000, 0.00000, 0.00000); CreateObject(3534, 1441.34253, 407.54102, 21.48114, 0.00000, 0.00000, 0.00000); CreateObject(3534, 1441.30652, 407.51434, 20.03162, -1.44000, -174.71997, 0.00000); CreateObject(3534, 1442.51355, 407.15424, 25.34064, 91.07999, 71.57998, -3.90000); CreateObject(3534, 1443.21912, 406.82187, 25.34064, 91.07999, 71.57998, -3.90000); CreateObject(3534, 1443.96106, 406.47162, 25.34064, 91.07999, 71.57998, -3.90000); CreateObject(3534, 1444.71191, 406.18399, 25.34064, 91.07999, 71.57998, -3.90000); CreateObject(3534, 1445.48022, 405.79797, 25.34064, 91.07999, 71.57998, -3.90000); CreateObject(3534, 1446.17346, 405.68320, 25.34064, 91.07999, 71.57998, -3.90000); CreateObject(3534, 1441.05847, 407.99399, 25.34064, 91.07999, 71.57998, -3.90000); CreateObject(3534, 1440.30627, 408.37030, 25.34064, 91.07999, 71.57998, -3.90000); CreateObject(3534, 1439.63953, 408.65292, 25.34064, 91.07999, 71.57998, -3.90000); CreateObject(3534, 1438.98254, 408.95300, 25.34064, 91.07999, 71.57998, -3.90000); CreateObject(3534, 1438.36243, 409.27826, 25.34064, 91.07999, 71.57998, -3.90000); CreateObject(3534, 1436.93213, 409.69391, 25.34064, 97.91998, -98.58000, -3.90000); CreateObject(3534, 1435.70154, 410.26477, 25.75460, 0.00000, 0.00000, 0.00000); CreateObject(3534, 1435.70154, 410.26477, 25.01562, 0.00000, 0.00000, 0.00000); CreateObject(3534, 1435.70154, 410.26477, 24.24927, 0.00000, 0.00000, 0.00000); CreateObject(3534, 1435.70154, 410.26477, 23.51941, 0.00000, 0.00000, 0.00000); CreateObject(3534, 1435.70154, 410.26477, 22.73481, 0.00000, 0.00000, 0.00000); CreateObject(3534, 1435.70154, 410.26477, 22.02666, 0.00000, 0.00000, 0.00000); CreateObject(3534, 1435.70154, 410.26477, 21.30869, 0.00000, 0.00000, 0.00000); CreateObject(3534, 1435.70154, 410.26477, 19.73471, 0.06000, -179.33987, -10.74000); CreateObject(3534, 1434.70093, 410.73102, 25.34064, 97.91998, -98.58000, -3.90000); CreateObject(3534, 1434.19714, 410.97537, 25.34064, 97.91998, -98.58000, -3.90000); CreateObject(3534, 1433.56738, 411.28079, 25.34064, 97.91998, -98.58000, -3.90000); CreateObject(3534, 1432.86572, 411.62109, 25.34064, 97.91998, -98.58000, -3.90000); CreateObject(3534, 1432.47998, 411.73819, 24.65216, 18.36000, -118.08000, -2.82000); CreateObject(3534, 1432.02283, 411.98953, 24.29070, 18.36000, -118.08000, -2.82000); CreateObject(3534, 1432.22705, 412.11887, 23.60061, 4.38000, -169.01993, -2.82000); CreateObject(3534, 1432.15417, 412.19043, 22.88863, 4.38000, -169.01993, -2.82000); CreateObject(3534, 1432.20374, 412.15704, 22.14462, 1.08000, -179.93993, -2.82000); CreateObject(3534, 1432.20374, 412.15704, 21.27714, 1.08000, -179.93993, -2.82000); CreateObject(3534, 1433.06213, 411.93408, 20.63061, -6.48000, -227.81995, -2.82000); CreateObject(3534, 1433.66882, 411.62805, 20.52458, -26.22000, -235.55988, -1.98000); CreateObject(3534, 1434.42896, 411.35858, 20.52458, -52.62000, -247.85989, -1.98000); CreateObject(3534, 1435.23328, 411.13364, 20.39895, -52.62000, -247.85989, -1.98000); CreateObject(3534, 1426.57166, 414.70071, 25.75460, 0.00000, 0.00000, 0.00000); CreateObject(3534, 1426.57166, 414.70071, 24.98049, 0.00000, 0.00000, 0.00000); CreateObject(3534, 1425.33313, 415.16083, 25.34064, 97.91998, -98.58000, -3.90000); CreateObject(3534, 1427.87341, 414.24255, 25.31352, 91.07999, 71.57998, -3.90000); CreateObject(3534, 1428.52905, 413.94507, 25.31352, 91.07999, 71.57998, -3.90000); CreateObject(3534, 1429.29236, 413.64270, 25.31352, 91.07999, 71.57998, -3.90000); CreateObject(3534, 1429.99268, 413.34686, 25.31352, 91.07999, 71.57998, -3.90000); CreateObject(3534, 1430.75757, 412.99979, 25.31352, 91.07999, 71.57998, -3.90000); CreateObject(3534, 1431.39502, 412.71057, 25.31352, 91.07999, 71.57998, -3.90000); CreateObject(3534, 1424.71423, 415.49020, 25.34064, 97.91998, -98.58000, -3.90000); CreateObject(3534, 1424.04224, 415.79999, 25.34064, 97.91998, -98.58000, -3.90000); CreateObject(3534, 1423.38843, 416.10141, 25.34064, 97.91998, -98.58000, -3.90000); CreateObject(3534, 1422.72217, 416.42322, 25.34064, 97.91998, -98.58000, -3.90000); CreateObject(3534, 1422.05579, 416.74506, 25.34064, 97.91998, -98.58000, -3.90000); CreateObject(3534, 1426.57166, 414.70071, 24.25283, 0.00000, 0.00000, 0.00000); CreateObject(3534, 1426.57166, 414.70071, 23.54567, 0.00000, 0.00000, 0.00000); CreateObject(3534, 1426.57166, 414.70071, 22.78727, 0.00000, 0.00000, 0.00000); CreateObject(3534, 1426.57166, 414.70071, 22.05960, 0.00000, 0.00000, 0.00000); CreateObject(3534, 1426.57166, 414.70071, 21.41393, 0.00000, 0.00000, 0.00000); CreateObject(3534, 1426.57166, 414.70071, 19.79858, -2.64000, -177.78001, 0.00000); CreateObject(19129, 1444.11853, 345.57309, 17.83719, 0.00000, 0.00000, -25.86000); CreateObject(19129, 1461.77209, 336.95020, 17.83719, 0.00000, 0.00000, -25.86000); CreateObject(19129, 1452.02124, 319.63458, 17.83719, 0.00000, 0.00000, -25.86000); CreateObject(19129, 1434.60657, 328.01392, 17.83719, 0.00000, 0.00000, -25.86000); CreateObject(19128, 1430.29712, 344.43228, 17.83838, 0.00000, 0.00000, 64.73998); CreateObject(19128, 1428.63245, 340.90430, 17.83838, 0.00000, 0.00000, 64.73998); CreateObject(19128, 1426.04480, 337.68597, 17.83838, 0.00000, 0.00000, 64.73998); CreateObject(19128, 1424.25586, 334.14542, 17.83838, 0.00000, 0.00000, 64.73998); CreateObject(3463, 1408.60706, 429.81314, 18.87255, 0.00000, 0.00000, 0.00000); CreateObject(3463, 1423.67029, 422.74088, 18.87255, 0.00000, 0.00000, 0.00000); CreateObject(3463, 1442.86316, 413.82663, 18.87255, 0.00000, 0.00000, 0.00000); CreateObject(3463, 1462.00122, 405.18103, 18.87255, 0.00000, 0.00000, 0.00000); CreateObject(3463, 1481.79736, 397.58133, 18.87255, 0.00000, 0.00000, 0.00000); CreateObject(1294, 1419.06775, 418.30829, 23.13708, 0.00000, 0.00000, -197.45988); CreateObject(1294, 1414.75793, 408.83206, 23.13708, 0.00000, 0.00000, -197.45988); CreateObject(1294, 1409.80762, 397.42062, 23.13708, 0.00000, 0.00000, -197.45988); CreateObject(1294, 1404.60413, 385.26266, 23.13708, 0.00000, 0.00000, -197.45988); CreateObject(1294, 1400.20007, 375.48468, 23.13708, 0.00000, 0.00000, -197.45988); CreateObject(1294, 1396.67603, 365.82776, 23.13708, 0.00000, 0.00000, -197.45988); CreateObject(1294, 1395.78101, 359.32138, 23.13708, 0.00000, 0.00000, -94.91993); CreateObject(1294, 1413.20203, 354.62411, 19.95971, 0.00000, 0.00000, -113.33999); CreateObject(1294, 1419.43982, 351.99963, 19.95971, 0.00000, 0.00000, -113.33999); CreateObject(3437, 1450.27283, 324.52646, 26.20653, 15.18001, -91.32001, -14.94000); CreateObject(3437, 1439.30945, 328.31808, 25.80422, 21.78001, -92.94001, -21.06000); CreateObject(3437, 1428.52527, 332.72589, 25.21344, 16.56001, -92.57999, -22.14000); //----------------------|MAPA POBRE PCC By AQUILES ´)|------------------------- CreateObject(3655, 106.28548, 1168.62866, 20.33461, 0.00000, 0.00000, 0.00000); CreateObject(3655, 106.52631, 1180.48657, 20.33461, 0.00000, 0.00000, 0.00000); CreateObject(3655, 106.15778, 1156.84644, 20.33461, 0.00000, 0.00000, 0.00000); CreateObject(3655, 92.55292, 1144.07898, 20.24337, 0.00000, 0.00000, -90.65997); CreateObject(3655, 80.62310, 1144.29443, 20.33461, 0.00000, 0.00000, -91.25998); CreateObject(3655, 68.80689, 1144.72095, 20.79841, 0.00000, 0.00000, -92.03997); CreateObject(3655, 105.77998, 1144.62109, 20.33461, 0.00000, 0.00000, 0.00000); CreateObject(3655, 56.85241, 1145.25427, 20.79841, 0.00000, 0.00000, -92.63998); CreateObject(3655, 44.94753, 1145.89636, 20.79841, -0.96000, 4.02000, -93.23997); CreateObject(3655, 89.75877, 1186.30518, 20.33461, 0.00000, 0.00000, -90.77999); CreateObject(3655, 106.54142, 1187.24805, 20.33461, 0.00000, 0.00000, 0.00000); CreateObject(3655, 77.86081, 1186.31372, 20.33461, 0.00000, 0.00000, -90.77999); CreateObject(3655, 66.11491, 1186.66309, 20.33461, 0.00000, 0.00000, -90.77999); CreateObject(3655, 54.12785, 1186.75012, 20.33461, 0.00000, 0.00000, -90.77999); CreateObject(3655, 42.14245, 1186.77625, 20.33461, 0.00000, 0.00000, -90.77999); CreateObject(3655, 30.28957, 1186.64966, 20.33461, 0.00000, 0.00000, -90.77999); CreateObject(3655, 18.27061, 1186.90515, 20.33461, 0.00000, 0.00000, -90.77999); CreateObject(3655, 3.69304, 1187.14368, 20.33461, 0.00000, 0.00000, -90.77999); CreateObject(3655, -8.37907, 1187.23364, 20.33461, 0.00000, 0.00000, -90.77999); CreateObject(3655, -20.44796, 1187.28809, 20.33461, 0.00000, 0.00000, -90.77999); CreateObject(3655, -32.58346, 1187.30859, 20.33461, 0.00000, 0.00000, -90.77999); CreateObject(3655, -44.57366, 1187.55078, 20.33461, 0.00000, 0.00000, -90.77999); CreateObject(3655, 32.76970, 1147.01160, 20.79841, -0.96000, 4.02000, -183.29971); CreateObject(3655, 33.35723, 1158.77832, 20.79841, -0.96000, 4.02000, -183.29971); CreateObject(3655, 20.16894, 1158.55725, 20.79841, -0.96000, 4.02000, -93.23997); CreateObject(3655, 8.26364, 1159.20349, 20.79841, -0.96000, 4.02000, -93.23997); CreateObject(3655, -3.69523, 1159.76831, 20.79841, -0.96000, 4.02000, -93.23997); CreateObject(3655, -15.62942, 1160.39282, 20.79841, -0.96000, 4.02000, -93.23997); CreateObject(3655, -27.47741, 1161.06433, 20.79841, -0.96000, 4.02000, -93.23997); CreateObject(3655, -39.45645, 1161.65906, 20.79841, -0.96000, 4.02000, -93.23997); CreateObject(3655, -51.18479, 1162.13611, 20.79841, -0.96000, 4.02000, -93.23997); CreateObject(3655, -54.47262, 1187.68933, 20.33461, 0.00000, 0.00000, -90.77999); CreateObject(3655, -54.84974, 1162.31714, 20.79841, -0.96000, 4.02000, -93.23997); CreateObject(3463, -48.31419, 1174.76355, 18.47855, 0.00000, 0.00000, -90.30002); CreateObject(3463, -28.36538, 1174.47119, 18.47855, 0.00000, 0.00000, -90.29996); CreateObject(3463, -10.23932, 1174.23474, 18.47855, 0.00000, 0.00000, 87.06001); CreateObject(3463, 11.40398, 1173.35144, 18.47855, 0.00000, 0.00000, -86.94000); CreateObject(16644, -60.12646, 1167.86548, 19.65565, -90.65999, 90.29994, 0.00000); CreateObject(16644, -50.15198, 1175.10999, 19.40660, -90.65999, 90.29994, -91.55997); CreateObject(16644, -36.46660, 1174.73462, 19.25433, -90.65999, 90.29994, -91.43997); CreateObject(16644, -19.07037, 1174.02356, 19.44016, -90.65999, 90.35993, -92.15998); CreateObject(16644, -1.57791, 1173.14417, 19.14403, -90.65999, 90.35993, -92.15998); CreateObject(16644, 15.90172, 1172.38672, 18.89389, -90.65999, 90.35993, -92.15998); CreateObject(3660, 31.22050, 1171.65442, 20.92265, 0.00000, 0.00000, -182.63997); CreateObject(652, -59.19913, 1174.83301, 18.45313, 356.85840, 0.00000, -2.61799); CreateObject(652, -50.23077, 1174.16833, 18.45313, 356.85840, 0.00000, -2.61799); CreateObject(652, -38.48362, 1173.87415, 18.45313, 356.85840, 0.00000, -2.61799); CreateObject(652, -29.58753, 1173.54858, 18.45313, 356.85840, 0.00000, -2.61799); CreateObject(652, -17.18314, 1172.93677, 18.45313, 356.85840, 0.00000, -2.61799); CreateObject(652, -6.63878, 1172.08459, 18.45313, 356.85840, 0.00000, -2.61799); CreateObject(652, 3.62022, 1171.93958, 18.45313, 356.85840, 0.00000, -2.61799); CreateObject(652, 13.19419, 1171.38269, 18.45313, 356.85840, 0.00000, -2.61799); CreateObject(652, 23.84588, 1170.67688, 18.45313, 356.85840, 0.00000, -2.61799); CreateObject(652, 39.75417, 1165.13318, 18.45313, 356.85840, 0.00000, -2.61799); CreateObject(652, 33.12574, 1170.08630, 18.45313, 356.85840, 0.00000, -2.61799); CreateObject(652, 37.23412, 1169.97693, 18.45313, 356.85840, 0.00000, -2.61799); CreateObject(652, 40.24157, 1169.76306, 18.45313, 356.85840, 0.00000, -2.61799); CreateObject(3534, 41.02703, 1173.03687, 19.36734, 0.00000, 0.00000, 0.00000); CreateObject(3534, 41.20242, 1179.02417, 19.36734, 0.00000, 0.00000, 0.00000); CreateObject(3630, 61.90062, 1155.29028, 19.13151, 0.00000, 0.00000, 0.00000); CreateObject(3630, 52.38937, 1155.12146, 19.13151, 0.00000, 0.00000, 0.00000); CreateObject(3630, 61.88533, 1158.32080, 19.11474, 0.00000, 0.00000, 0.00000); CreateObject(3630, 52.41907, 1158.17981, 19.11474, 0.00000, 0.00000, 0.00000); CreateObject(5822, 95.17742, 1156.10913, 18.04783, 0.00000, 0.00000, -85.02006); CreateObject(3472, 85.96470, 1166.79077, 17.64766, 0.00000, 0.00000, 0.00000); CreateObject(3472, 75.67435, 1167.20715, 17.64766, 0.00000, 0.00000, 0.00000); CreateObject(3472, 65.47153, 1168.16211, 17.64766, 0.00000, 0.00000, 0.00000); CreateObject(19076, 98.18050, 1175.10205, 17.65382, 0.00000, 0.00000, 92.10001); CreateObject(19076, 97.57239, 1166.72888, 17.65382, 0.00000, 0.00000, 83.70000); CreateObject(19307, -60.40022, 1180.70264, 23.15056, 5.64000, 83.82001, -102.35999); CreateObject(19307, -53.11032, 1180.59082, 23.15056, 5.64000, 83.82001, -102.35999); CreateObject(19307, -47.71743, 1180.22546, 23.15056, 5.64000, 83.82001, -102.35999); CreateObject(19307, -43.53141, 1180.20508, 23.15056, 5.64000, 83.82001, -102.35999); CreateObject(19307, -38.41680, 1180.42944, 23.15056, 5.64000, 83.82001, -102.35999); CreateObject(2567, 78.63856, 1178.98743, 16.75086, 0.00000, 0.00000, 0.00000); CreateObject(2567, 78.63856, 1180.62927, 18.63751, 82.01997, -0.54000, 0.00000); CreateObject(2036, 80.43237, 1178.50879, 18.56992, 0.00000, 0.00000, 0.00000); CreateObject(2036, 79.05517, 1178.08325, 18.56992, 0.00000, 0.00000, 0.00000); CreateObject(2036, 79.11782, 1178.44507, 18.56992, 0.00000, 0.00000, 0.00000); CreateObject(2035, 79.54700, 1178.27014, 18.57000, 0.00000, 0.00000, 0.00000); CreateObject(2035, 80.32429, 1178.13354, 18.57000, 0.00000, 0.00000, 0.00000); CreateObject(2034, 80.50642, 1178.33984, 18.57002, 0.00000, 0.00000, 0.00000); CreateObject(2061, 76.38113, 1178.70154, 18.86869, 0.00000, 0.00000, 0.00000); CreateObject(2061, 76.66113, 1178.70239, 18.86869, 0.00000, 0.00000, 0.00000); CreateObject(2061, 76.92114, 1178.70300, 18.86869, 0.00000, 0.00000, 0.00000); CreateObject(2061, 77.16114, 1178.70386, 18.86869, 0.00000, 0.00000, 0.00000); CreateObject(2035, 79.24156, 1178.81628, 19.43069, 74.16003, -2.64001, 0.00000); CreateObject(2035, 80.41694, 1178.85510, 19.43069, 72.18004, -4.86000, 0.00000); CreateObject(2035, 80.22462, 1178.82019, 18.96398, 71.28005, -1.50000, 0.00000); CreateObject(2035, 79.15790, 1178.80981, 18.96398, 70.20006, -0.96000, 0.00000); CreateObject(2037, 77.55381, 1178.50183, 18.64388, 0.00000, 0.00000, 0.00000); CreateObject(1242, 76.40639, 1178.49646, 18.73609, 0.00000, 0.00000, -178.56000); CreateObject(1242, 76.66943, 1178.49316, 18.73609, 0.00000, 0.00000, -178.56000); CreateObject(1242, 76.96207, 1178.54578, 18.73609, 0.00000, 0.00000, -178.56000); CreateObject(1242, 77.24483, 1178.53931, 18.73609, 0.00000, 0.00000, -178.56000); CreateObject(1242, 76.44259, 1178.22656, 18.73609, 0.00000, 0.00000, -178.56000); CreateObject(1242, 76.72744, 1178.17981, 18.73609, 0.00000, 0.00000, -178.56000); CreateObject(1242, 77.01139, 1178.35522, 18.73609, 0.00000, 0.00000, -178.56000); CreateObject(1242, 77.27444, 1178.35217, 18.73609, 0.00000, 0.00000, -178.56000); CreateObject(1242, 77.03249, 1178.16809, 18.73609, 0.00000, 0.00000, -178.56000); CreateObject(1242, 77.29507, 1178.10889, 18.73609, 0.00000, 0.00000, -178.56000); CreateObject(1242, 76.44099, 1177.99475, 18.73609, 0.00000, 0.00000, -178.56000); CreateObject(1242, 76.70898, 1178.00781, 18.73609, 0.00000, 0.00000, -178.56000); CreateObject(1242, 77.00421, 1178.01343, 18.73609, 0.00000, 0.00000, -178.56000); CreateObject(1242, 77.28423, 1177.96448, 18.73609, 0.00000, 0.00000, -178.56000); CreateObject(2037, 77.52453, 1178.62744, 18.64388, 0.00000, 0.00000, 0.00000); CreateObject(2037, 77.70442, 1178.62097, 18.64388, 0.00000, 0.00000, 0.00000); CreateObject(2037, 77.54959, 1178.38196, 18.64388, 0.00000, 0.00000, 0.00000); CreateObject(2037, 77.71950, 1178.48059, 18.64388, 0.00000, 0.00000, 0.00000); CreateObject(2037, 77.73527, 1178.36011, 18.64388, 0.00000, 0.00000, 0.00000); CreateObject(2034, 78.44258, 1178.55884, 18.57002, 0.00000, 0.00000, 0.00000); CreateObject(2034, 77.97927, 1178.67554, 18.57002, 0.00000, 0.00000, 0.00000); CreateObject(2034, 78.09515, 1178.37366, 18.57002, 0.00000, 0.00000, 0.00000); CreateObject(2034, 78.00636, 1178.02039, 18.57002, 0.00000, 0.00000, 0.00000); CreateObject(2034, 78.33193, 1178.19397, 18.57002, 0.00000, 0.00000, 0.00000); CreateObject(1579, 77.59681, 1178.13684, 18.48829, 0.00000, 0.00000, 0.00000); CreateObject(2036, 77.49419, 1178.79675, 19.22984, 78.60001, -3.36000, 0.00000); CreateObject(2036, 77.58998, 1178.90076, 19.52535, 78.60001, -3.36000, 0.00000); CreateObject(1274, 99.57619, 1171.65491, 19.53785, 0.00000, 0.00000, -76.37999); CreateObject(3534, 98.57124, 1170.30835, 18.76311, 0.00000, 0.00000, 0.00000); CreateObject(3534, 98.43147, 1172.91406, 18.76311, 0.00000, 0.00000, 0.00000); CreateObject(19377, 46.07556, 1175.06641, 17.65333, -5.46000, -89.16003, -87.66000); CreateObject(3534, -60.81716, 1193.22278, 24.44553, 0.00000, 0.00000, 0.00000); CreateObject(3534, -60.81716, 1193.22278, 23.60668, 0.00000, 0.00000, 0.00000); CreateObject(3534, -60.81716, 1193.22278, 22.78769, 0.00000, 0.00000, 0.00000); CreateObject(3534, -60.81716, 1193.22278, 22.04778, 0.00000, 0.00000, 0.00000); CreateObject(3534, -60.81716, 1193.22278, 21.21600, 0.00000, 0.00000, 0.00000); CreateObject(3534, -60.81716, 1193.22278, 20.51862, 0.00000, 0.00000, 0.00000); CreateObject(3534, -60.81716, 1193.22278, 19.90095, 0.00000, 0.00000, 0.00000); CreateObject(3534, -60.81716, 1193.22278, 19.28327, 0.00000, 0.00000, 0.00000); CreateObject(3534, -60.97612, 1191.97266, 24.02810, 88.43999, 1.98001, 0.00000); CreateObject(3534, -61.06002, 1191.21716, 24.02810, 88.43999, 1.98001, 0.00000); CreateObject(3534, -60.94139, 1190.40186, 24.02810, 88.43999, 1.98001, 0.00000); CreateObject(3534, -60.77045, 1190.80444, 22.69023, 177.53999, 6.54001, 0.00000); CreateObject(3534, -60.77045, 1190.80444, 21.83208, 177.53999, 6.54001, 0.00000); CreateObject(3534, -60.78006, 1191.86584, 21.45290, 236.45995, -10.73998, 0.00000); CreateObject(3534, -60.75136, 1192.64929, 20.99389, 236.45995, -10.73998, 0.00000); CreateObject(3534, -60.65101, 1189.16541, 24.44553, 0.00000, 0.00000, 0.00000); CreateObject(3534, -60.65101, 1189.16541, 23.61949, 0.00000, 0.00000, 0.00000); CreateObject(3534, -60.65101, 1189.16541, 22.81311, 0.00000, 0.00000, 0.00000); CreateObject(3534, -60.65101, 1189.16541, 22.04607, 0.00000, 0.00000, 0.00000); CreateObject(3534, -60.65101, 1189.16541, 21.33804, 0.00000, 0.00000, 0.00000); CreateObject(3534, -60.65101, 1189.16541, 20.82989, 4.01999, 4.19994, 0.00000); CreateObject(3534, -60.62041, 1189.44666, 19.84329, 91.85999, 184.13995, 0.00000); CreateObject(3534, -60.65992, 1188.11902, 23.97872, 90.59999, 361.56000, 0.00000); CreateObject(3534, -60.80271, 1187.53284, 23.97872, 90.59999, 361.56000, 0.00000); CreateObject(3534, -60.77283, 1186.88049, 23.97872, 90.59999, 361.56000, 0.00000); CreateObject(3534, -60.71643, 1187.96204, 19.80410, 90.59999, 361.56000, 0.00000); CreateObject(3534, -60.76340, 1187.10645, 19.80410, 90.59999, 361.56000, 0.00000); CreateObject(3534, -60.73369, 1184.21838, 19.80410, 90.59999, 361.56000, 0.00000); CreateObject(3534, -60.75465, 1185.32629, 24.44553, 0.00000, 0.00000, 0.00000); CreateObject(3534, -60.75465, 1185.32629, 23.64564, 0.00000, 0.00000, 0.00000); CreateObject(3534, -60.75465, 1185.32629, 22.96573, 0.00000, 0.00000, 0.00000); CreateObject(3534, -60.75465, 1185.32629, 22.28582, 0.00000, 0.00000, 0.00000); CreateObject(3534, -60.75465, 1185.32629, 21.66591, 0.00000, 0.00000, 0.00000); CreateObject(3534, -60.75465, 1185.32629, 20.92600, 0.00000, 0.00000, 0.00000); CreateObject(3534, -60.73001, 1185.60583, 19.94614, 90.71995, 171.17996, 0.00000); CreateObject(3534, -60.72596, 1183.47791, 19.80410, 90.59999, 361.56000, 0.00000); CreateObject(3534, -60.73722, 1182.79797, 19.80410, 90.59999, 361.56000, 0.00000); CreateObject(3534, -60.74849, 1182.11780, 19.80410, 90.59999, 361.56000, 0.00000); CreateObject(3534, -60.73369, 1184.21838, 24.02353, 90.59999, 361.56000, 0.00000); CreateObject(3534, -60.78296, 1183.65906, 24.02353, 90.59999, 361.56000, 0.00000); CreateObject(3534, -60.89257, 1183.08105, 24.02353, 90.59999, 361.56000, 0.00000); CreateObject(3534, -60.94284, 1182.46167, 24.02353, 90.59999, 361.56000, 0.00000); CreateObject(3534, -60.77600, 1186.34656, 19.80410, 90.59999, 361.56000, 0.00000); CreateObject(3534, -60.71342, 1186.30237, 23.97872, 90.59999, 361.56000, 0.00000); /* //============ MAPA PRACA NATALINO ================== CreateObject(1280, 1488.76563, -1682.67188, 13.45313, 356.85840, 0.00000, 3.14159); CreateObject(6298, 1477.37207, -1695.72900, 26.08444, 0.00000, 0.00000, -91.13998); CreateObject(18878, 1477.43933, -1695.83398, 28.22686, 0.00000, 0.00000, -90.71999); CreateObject(19316, 1477.72961, -1684.69153, 24.32802, 0.00000, 0.00000, -92.16000); CreateObject(19316, 1477.67676, -1684.20044, 29.85566, 0.00000, 0.00000, -92.16000); CreateObject(19316, 1477.56323, -1685.62354, 33.68599, 0.00000, 0.00000, -92.16000); CreateObject(19316, 1477.60986, -1687.60352, 36.51472, 0.00000, 0.00000, -92.16000); CreateObject(19316, 1477.62183, -1694.70007, 39.75457, 0.00000, 0.00000, -92.16000); CreateObject(19316, 1477.42847, -1690.60010, 38.72360, 0.00000, 0.00000, -92.16000); CreateObject(19316, 1477.55432, -1698.31946, 39.75457, 0.00000, 0.00000, -92.16000); CreateObject(19316, 1477.48901, -1702.90808, 37.58395, 0.00000, 0.00000, -92.16000); CreateObject(19316, 1477.38867, -1705.48413, 34.82304, 0.00000, 0.00000, -92.16000); CreateObject(19316, 1477.15417, -1707.35242, 29.75135, 0.00000, 0.00000, -92.16000); CreateObject(19316, 1477.07544, -1706.81201, 24.41260, 0.00000, 0.00000, -92.16000); CreateObject(19316, 1477.41614, -1704.20300, 20.20243, 0.00000, 0.00000, -92.16000); CreateObject(19316, 1477.68726, -1686.99573, 20.54153, 0.00000, 0.00000, -92.16000); CreateObject(19316, 1477.51013, -1690.50073, 17.82101, 0.00000, 0.00000, -92.16000); CreateObject(19316, 1477.41711, -1694.30127, 16.81174, 0.00000, 0.00000, -92.16000); CreateObject(19316, 1477.50818, -1699.55615, 17.26816, 0.00000, 0.00000, -92.16000); CreateObject(3534, 1481.17078, -1694.51196, 26.56382, 9.42000, 91.49999, 0.00000); CreateObject(3534, 1473.67371, -1695.84631, 28.21911, 5.04000, -91.19997, 0.00000); CreateObject(3534, 1481.05005, -1695.80469, 28.22266, 9.42000, 91.49999, 0.00000); CreateObject(3534, 1481.23938, -1698.32703, 24.92956, 9.42000, 91.49999, 0.00000); CreateObject(3534, 1481.21680, -1697.09668, 26.56382, 9.42000, 91.49999, 0.00000); CreateObject(3534, 1481.29041, -1693.23840, 24.92956, 9.42000, 91.49999, 0.00000); CreateObject(3534, 1473.63513, -1697.19971, 26.23939, 5.04000, -91.19997, 0.00000); CreateObject(3534, 1473.72595, -1694.26062, 26.23939, 5.04000, -91.19997, 0.00000); CreateObject(3534, 1473.66760, -1692.97546, 24.67344, 5.04000, -91.19997, 0.00000); CreateObject(3534, 1473.60059, -1698.50452, 24.67344, 5.04000, -91.19997, 0.00000); CreateObject(19076, 1497.30432, -1709.45593, 13.53953, 0.00000, 0.00000, 0.00000); CreateObject(6461, 1477.30872, -1695.84863, 26.12594, 0.00000, 0.00000, 0.00000); CreateObject(3472, 1478.71814, -1667.24329, 13.77758, 0.00000, 0.00000, 0.00000); CreateObject(3472, 1459.95398, -1696.29321, 13.77758, 0.00000, 0.00000, 0.00000); CreateObject(3472, 1497.26282, -1694.83191, 13.77758, 0.00000, 0.00000, 0.00000); CreateObject(3472, 1458.25000, -1621.30188, 13.77758, 0.00000, 0.00000, 0.00000); CreateObject(3472, 1500.92102, -1620.59399, 13.77758, 0.00000, 0.00000, 0.00000); CreateObject(19076, 1459.75500, -1708.57715, 13.53719, 0.00000, 0.00000, 0.00000); CreateObject(1419, 1454.97595, -1715.67615, 14.05419, 0.00000, 0.00000, 0.00000); CreateObject(1419, 1459.02686, -1715.67615, 14.05419, 0.00000, 0.00000, 0.00000); CreateObject(1419, 1463.05212, -1715.67065, 14.05419, 0.00000, 0.00000, 0.00000); CreateObject(1419, 1467.19543, -1715.67603, 14.05419, 0.00000, 0.00000, 0.00000); CreateObject(1419, 1467.19543, -1715.67603, 13.12005, 0.00000, 0.00000, 0.00000); CreateObject(1419, 1490.69507, -1715.63892, 14.07234, 0.00000, 0.00000, 0.00000); CreateObject(1419, 1490.69507, -1715.63892, 13.20444, 0.00000, 0.00000, 0.00000); CreateObject(1419, 1494.75134, -1715.64868, 14.07234, 0.00000, 0.00000, 0.00000); CreateObject(1419, 1498.82617, -1715.69421, 14.07234, 0.00000, 0.00000, 0.00000); CreateObject(1419, 1502.90161, -1715.68457, 14.07234, 0.00000, 0.00000, 0.00000); CreateObject(1419, 1502.90161, -1715.68457, 13.20831, 0.00000, 0.00000, 0.00000); CreateObject(19129, 1486.23767, -1705.71582, 13.04391, 0.00000, 0.00000, 0.00000); CreateObject(19129, 1466.25537, -1705.68250, 13.04391, 0.00000, 0.00000, 0.00000); CreateObject(19129, 1469.26746, -1685.81140, 13.04391, 0.00000, 0.00000, 0.00000); CreateObject(19129, 1489.26294, -1685.71484, 13.04391, 0.00000, 0.00000, 0.00000); CreateObject(19076, 1495.36560, -1686.81335, 13.53953, 0.00000, 0.00000, 0.00000); CreateObject(19076, 1460.53967, -1685.60242, 13.53953, 0.00000, 0.00000, 0.00000); CreateObject(700, 1443.59790, -1718.22803, 13.54713, 0.00000, 0.00000, 0.00000); CreateObject(700, 1444.05652, -1712.30225, 13.54713, 0.00000, 0.00000, 0.00000); CreateObject(620, 1419.32813, -1710.23438, 11.83594, 356.85840, 0.00000, 3.14159); CreateObject(700, 1444.02551, -1706.53784, 13.54713, 0.00000, 0.00000, 0.00000); CreateObject(700, 1443.91650, -1701.31128, 13.54713, 0.00000, 0.00000, 0.00000); CreateObject(700, 1443.88916, -1695.98975, 13.54713, 0.00000, 0.00000, 0.00000); CreateObject(700, 1443.88733, -1691.52942, 13.54713, 0.00000, 0.00000, 0.00000); CreateObject(700, 1443.90454, -1686.46301, 13.54713, 0.00000, 0.00000, 0.00000); CreateObject(700, 1447.12561, -1682.34204, 13.54713, 0.00000, 0.00000, 0.00000); CreateObject(700, 1450.48499, -1677.63306, 13.54713, 0.00000, 0.00000, 0.00000); CreateObject(700, 1453.24023, -1673.10950, 13.54713, 0.00000, 0.00000, 0.00000); CreateObject(700, 1455.28748, -1667.80334, 13.54713, 0.00000, 0.00000, 0.00000); CreateObject(700, 1456.24158, -1662.41150, 13.54713, 0.00000, 0.00000, 0.00000); CreateObject(700, 1456.08435, -1656.09106, 13.54713, 0.00000, 0.00000, 0.00000); CreateObject(700, 1455.02551, -1650.53027, 13.54713, 0.00000, 0.00000, 0.00000); CreateObject(700, 1452.97974, -1644.29834, 13.54713, 0.00000, 0.00000, 0.00000); CreateObject(700, 1450.34338, -1639.54297, 13.54713, 0.00000, 0.00000, 0.00000); CreateObject(700, 1446.45386, -1635.24243, 13.54713, 0.00000, 0.00000, 0.00000); CreateObject(700, 1443.87817, -1631.74792, 13.54713, 0.00000, 0.00000, 0.00000); CreateObject(700, 1443.86304, -1627.19189, 13.54713, 0.00000, 0.00000, 0.00000); CreateObject(700, 1443.90906, -1622.48621, 13.54713, 0.00000, 0.00000, 0.00000); CreateObject(700, 1444.09998, -1617.49951, 13.54713, 0.00000, 0.00000, 0.00000); CreateObject(700, 1444.03552, -1612.52783, 13.54713, 0.00000, 0.00000, 0.00000); CreateObject(700, 1443.71680, -1607.39685, 13.54713, 0.00000, 0.00000, 0.00000); CreateObject(700, 1448.01538, -1607.54089, 13.54713, 0.00000, 0.00000, 0.00000); CreateObject(700, 1452.87830, -1607.61389, 13.54713, 0.00000, 0.00000, 0.00000); CreateObject(700, 1457.84839, -1607.57190, 13.54713, 0.00000, 0.00000, 0.00000); CreateObject(700, 1462.78772, -1607.34766, 13.54713, 0.00000, 0.00000, 0.00000); CreateObject(700, 1466.93933, -1607.22314, 13.54713, 0.00000, 0.00000, 0.00000); CreateObject(700, 1470.68457, -1607.21790, 13.54713, 0.00000, 0.00000, 0.00000); CreateObject(700, 1475.82617, -1607.32605, 13.54713, 0.00000, 0.00000, 0.00000); CreateObject(700, 1481.13123, -1607.38257, 13.54713, 0.00000, 0.00000, 0.00000); CreateObject(700, 1486.71411, -1607.47351, 13.54713, 0.00000, 0.00000, 0.00000); CreateObject(700, 1493.25757, -1607.83215, 13.54713, 0.00000, 0.00000, 0.00000); CreateObject(700, 1499.32922, -1607.76099, 13.54713, 0.00000, 0.00000, 0.00000); CreateObject(700, 1504.74927, -1607.81531, 13.54713, 0.00000, 0.00000, 0.00000); CreateObject(700, 1509.87183, -1607.66577, 13.54713, 0.00000, 0.00000, 0.00000); CreateObject(700, 1514.81482, -1607.47412, 13.54713, 0.00000, 0.00000, 0.00000); CreateObject(700, 1514.82361, -1612.58557, 13.54713, 0.00000, 0.00000, 0.00000); CreateObject(700, 1514.89819, -1618.22229, 13.54713, 0.00000, 0.00000, 0.00000); CreateObject(700, 1514.89307, -1623.52502, 13.54713, 0.00000, 0.00000, 0.00000); CreateObject(700, 1514.95886, -1628.48572, 13.54713, 0.00000, 0.00000, 0.00000); CreateObject(700, 1514.83228, -1633.73267, 13.54713, 0.00000, 0.00000, 0.00000); CreateObject(700, 1514.92346, -1638.89294, 13.54713, 0.00000, 0.00000, 0.00000); CreateObject(700, 1511.03540, -1642.76294, 13.54713, 0.00000, 0.00000, 0.00000); CreateObject(700, 1507.65015, -1646.68860, 13.54713, 0.00000, 0.00000, 0.00000); CreateObject(700, 1505.32373, -1650.82861, 13.54713, 0.00000, 0.00000, 0.00000); CreateObject(700, 1503.32153, -1655.43225, 13.54713, 0.00000, 0.00000, 0.00000); CreateObject(700, 1502.38562, -1660.50183, 13.54713, 0.00000, 0.00000, 0.00000); CreateObject(700, 1501.86853, -1666.09668, 13.54713, 0.00000, 0.00000, 0.00000); CreateObject(700, 1502.87207, -1669.97046, 13.54713, 0.00000, 0.00000, 0.00000); CreateObject(700, 1504.37488, -1674.84338, 13.54713, 0.00000, 0.00000, 0.00000); CreateObject(700, 1506.33557, -1679.21497, 13.54713, 0.00000, 0.00000, 0.00000); CreateObject(700, 1508.89282, -1683.18347, 13.54713, 0.00000, 0.00000, 0.00000); CreateObject(700, 1511.33472, -1686.70520, 13.54713, 0.00000, 0.00000, 0.00000); CreateObject(700, 1514.21265, -1691.05298, 13.54713, 0.00000, 0.00000, 0.00000); CreateObject(700, 1514.34924, -1696.06189, 13.54713, 0.00000, 0.00000, 0.00000); CreateObject(700, 1514.35669, -1700.35535, 13.54713, 0.00000, 0.00000, 0.00000); CreateObject(700, 1514.42712, -1705.42444, 13.54713, 0.00000, 0.00000, 0.00000); CreateObject(700, 1514.53467, -1710.46423, 13.54713, 0.00000, 0.00000, 0.00000); CreateObject(700, 1514.54883, -1715.81531, 13.54713, 0.00000, 0.00000, 0.00000); CreateObject(19076, 1480.76807, -1642.70239, 12.61628, 0.00000, 0.00000, 0.00000); CreateObject(638, 1467.90149, -1716.06921, 13.68641, 0.00000, 0.00000, -90.12001); CreateObject(638, 1465.22021, -1716.05823, 13.65783, 0.00000, 0.00000, -90.12001); CreateObject(638, 1462.57043, -1716.04883, 13.65783, 0.00000, 0.00000, -90.12001); CreateObject(638, 1459.92053, -1716.04639, 13.65783, 0.00000, 0.00000, -90.12001); CreateObject(638, 1457.27124, -1716.04285, 13.65783, 0.00000, 0.00000, -90.12001); CreateObject(638, 1454.58362, -1716.04773, 13.65783, 0.00000, 0.00000, -90.12001); CreateObject(638, 1489.90527, -1715.97424, 13.72511, 0.00000, 0.00000, -90.12001); CreateObject(638, 1492.54700, -1715.97522, 13.72511, 0.00000, 0.00000, -90.12001); CreateObject(638, 1495.17212, -1715.98560, 13.72511, 0.00000, 0.00000, -90.12001); CreateObject(638, 1497.74829, -1715.99048, 13.72511, 0.00000, 0.00000, -90.12001); CreateObject(638, 1500.28064, -1715.96448, 13.72511, 0.00000, 0.00000, -90.12001); CreateObject(638, 1502.95654, -1715.95361, 13.72511, 0.00000, 0.00000, -90.12001); */ //=-=-=-=-=-=-=-=-=-=-= CONCE BMW =-=-=-=-=-=-=-=-=-=// new gtrmotors; gtrmotors = CreateDynamicObjectEx(19550, 975.842407, -1517.223876, 12.068969, 0.000000, 0.000000, 0.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 9514, "711_sfw", "ws_carpark2", 0x00000000); gtrmotors = CreateDynamicObjectEx(11317, 996.474609, -1530.702148, 23.055004, 0.000000, 0.000000, 0.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 1, 9514, "711_sfw", "ws_carpark2", 0x00000000); SetDynamicObjectMaterial(gtrmotors, 2, 18646, "matcolours", "lightblue", 0xFF0099FF); SetDynamicObjectMaterial(gtrmotors, 3, 18646, "matcolours", "lightblue", 0xFF0099FF); SetDynamicObjectMaterial(gtrmotors, 4, 18646, "matcolours", "grey-95-percent", 0x00000000); SetDynamicObjectMaterial(gtrmotors, 5, 3979, "civic01_lan", "sl_laglasswall2", 0xFF0099FF); SetDynamicObjectMaterial(gtrmotors, 7, 8620, "excalibursign", "vgsclubwall05_128", 0x00000000); SetDynamicObjectMaterial(gtrmotors, 8, 8620, "excalibursign", "vgsclubwall05_128", 0x00000000); SetDynamicObjectMaterial(gtrmotors, 9, 8620, "excalibursign", "vgsclubwall05_128", 0x00000000); SetDynamicObjectMaterial(gtrmotors, 10, 18646, "matcolours", "lightblue", 0xFF0099FF); SetDynamicObjectMaterial(gtrmotors, 11, 18646, "matcolours", "grey-10-percent", 0x00000000); gtrmotors = CreateDynamicObjectEx(3851, 977.478698, -1552.785766, 14.259526, 0.000000, 0.000000, 0.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 19325, "lsmall_shops", "lsmall_window01", 0xFFFFFFFF); gtrmotors = CreateDynamicObjectEx(3851, 977.478698, -1539.535766, 14.259526, 0.000000, 0.000000, 0.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 19325, "lsmall_shops", "lsmall_window01", 0xFFFFFFFF); gtrmotors = CreateDynamicObjectEx(3851, 977.478698, -1526.485473, 14.259526, 0.000000, 0.000000, 0.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 19325, "lsmall_shops", "lsmall_window01", 0xFFFFFFFF); gtrmotors = CreateDynamicObjectEx(3851, 977.478698, -1508.725585, 14.259526, 0.000000, 0.000000, 0.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 19325, "lsmall_shops", "lsmall_window01", 0xFFFFFFFF); gtrmotors = CreateDynamicObjectEx(3851, 977.478698, -1508.725585, 19.809530, 0.000000, 0.000000, 0.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 19325, "lsmall_shops", "lsmall_window01", 0xFFFFFFFF); gtrmotors = CreateDynamicObjectEx(3851, 977.478698, -1526.404541, 19.809530, 0.000000, 0.000000, 0.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 19325, "lsmall_shops", "lsmall_window01", 0xFFFFFFFF); gtrmotors = CreateDynamicObjectEx(3851, 977.478698, -1539.543823, 19.809530, 0.000000, 0.000000, 0.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 19325, "lsmall_shops", "lsmall_window01", 0xFFFFFFFF); gtrmotors = CreateDynamicObjectEx(3851, 977.478698, -1552.793701, 19.809530, 0.000000, 0.000000, 0.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 19325, "lsmall_shops", "lsmall_window01", 0xFFFFFFFF); gtrmotors = CreateDynamicObjectEx(3851, 996.229003, -1559.843261, 19.809530, 0.000000, 0.000000, 90.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 19325, "lsmall_shops", "lsmall_window01", 0xFFFFFFFF); gtrmotors = CreateDynamicObjectEx(3851, 1003.318969, -1552.573242, 19.809530, 0.000000, 0.000000, 180.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 19325, "lsmall_shops", "lsmall_window01", 0xFFFFFFFF); gtrmotors = CreateDynamicObjectEx(3851, 1003.318969, -1539.753417, 19.809530, 0.000000, 0.000000, 180.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 19325, "lsmall_shops", "lsmall_window01", 0xFFFFFFFF); gtrmotors = CreateDynamicObjectEx(18980, 958.878601, -1562.411865, 12.307850, 90.000000, 0.000000, 90.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 8620, "excalibursign", "vgsclubwall05_128", 0x00000000); gtrmotors = CreateDynamicObjectEx(18980, 982.828552, -1562.411865, 12.307850, 90.000000, 0.000000, 90.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 8620, "excalibursign", "vgsclubwall05_128", 0x00000000); gtrmotors = CreateDynamicObjectEx(18980, 1006.338500, -1562.411865, 12.307850, 90.000000, 0.000000, 90.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 8620, "excalibursign", "vgsclubwall05_128", 0x00000000); gtrmotors = CreateDynamicObjectEx(18980, 1014.848571, -1562.411865, 12.307850, 90.000000, 0.000000, 90.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 8620, "excalibursign", "vgsclubwall05_128", 0x00000000); gtrmotors = CreateDynamicObjectEx(18980, 939.915161, -1499.413818, 12.307850, 90.000000, 0.000000, 90.399971, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 8620, "excalibursign", "vgsclubwall05_128", 0x00000000); gtrmotors = CreateDynamicObjectEx(18980, 962.844543, -1499.254150, 12.307850, 90.000000, 0.000000, 90.399971, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 8620, "excalibursign", "vgsclubwall05_128", 0x00000000); gtrmotors = CreateDynamicObjectEx(18980, 987.233886, -1499.084228, 12.307850, 90.000000, 0.000000, 90.399971, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 8620, "excalibursign", "vgsclubwall05_128", 0x00000000); gtrmotors = CreateDynamicObjectEx(18980, 1006.743347, -1500.003173, 12.307850, 90.000000, 0.000000, 85.299926, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 8620, "excalibursign", "vgsclubwall05_128", 0x00000000); gtrmotors = CreateDynamicObjectEx(18980, 1025.749633, -1501.984008, 12.307850, 90.000000, 0.000000, 82.799949, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 8620, "excalibursign", "vgsclubwall05_128", 0x00000000); gtrmotors = CreateDynamicObjectEx(18980, 1034.972656, -1515.306884, 12.307850, 90.000000, 0.000000, 166.799865, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 8620, "excalibursign", "vgsclubwall05_128", 0x00000000); gtrmotors = CreateDynamicObjectEx(18980, 1031.137939, -1531.653930, 12.307850, 90.000000, 0.000000, 166.799865, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 8620, "excalibursign", "vgsclubwall05_128", 0x00000000); gtrmotors = CreateDynamicObjectEx(18980, 1028.320922, -1549.990356, 12.307850, 90.000000, 0.000000, 175.099868, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 8620, "excalibursign", "vgsclubwall05_128", 0x00000000); gtrmotors = CreateDynamicObjectEx(18981, 1003.327575, -1547.798461, 5.577119, 0.000000, 0.000000, 0.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 19597, "lsbeachside", "carpet19-128x128", 0x00000000); gtrmotors = CreateDynamicObjectEx(18981, 1003.327575, -1545.298339, 5.577119, 0.000000, 0.000000, 0.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 19597, "lsbeachside", "carpet19-128x128", 0x00000000); gtrmotors = CreateDynamicObjectEx(18981, 1018.307312, -1521.548095, 5.577119, 0.000000, 0.000000, 180.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 19597, "lsbeachside", "carpet19-128x128", 0x00000000); gtrmotors = CreateDynamicObjectEx(18981, 1018.307312, -1513.528198, 5.577119, 0.000000, 0.000000, 180.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 19597, "lsbeachside", "carpet19-128x128", 0x00000000); gtrmotors = CreateDynamicObjectEx(18981, 990.407470, -1560.008422, 5.577119, 0.000000, 0.000000, 270.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 19597, "lsbeachside", "carpet19-128x128", 0x00000000); gtrmotors = CreateDynamicObjectEx(18765, 1008.532775, -1529.416870, 15.583336, 0.000000, 0.000000, 0.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 19597, "lsbeachside", "carpet19-128x128", 0x00000000); gtrmotors = CreateDynamicObjectEx(18765, 1013.452880, -1529.416870, 15.583336, 0.000000, 0.000000, 0.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 19597, "lsbeachside", "carpet19-128x128", 0x00000000); gtrmotors = CreateDynamicObjectEx(18765, 1013.452880, -1529.416870, 12.963337, 0.000000, 0.000000, 0.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 19597, "lsbeachside", "carpet19-128x128", 0x00000000); gtrmotors = CreateDynamicObjectEx(18765, 1008.282714, -1529.416870, 12.963337, 0.000000, 0.000000, 0.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 19597, "lsbeachside", "carpet19-128x128", 0x00000000); gtrmotors = CreateDynamicObjectEx(18980, 927.359375, -1511.491333, 12.307850, 90.000000, 0.000000, 180.399963, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 8620, "excalibursign", "vgsclubwall05_128", 0x00000000); gtrmotors = CreateDynamicObjectEx(18980, 927.626953, -1549.770874, 12.307850, 90.000000, 0.000000, 180.399963, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 8620, "excalibursign", "vgsclubwall05_128", 0x00000000); gtrmotors = CreateDynamicObjectEx(18980, 927.519104, -1534.321044, 12.307850, 90.000000, 0.000000, 180.399963, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 8620, "excalibursign", "vgsclubwall05_128", 0x00000000); gtrmotors = CreateDynamicObjectEx(18981, 920.351501, -1537.335205, 11.608345, 0.000000, 90.000000, 0.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 4829, "airport_las", "Grass_128HV", 0x00000000); gtrmotors = CreateDynamicObjectEx(18981, 920.351501, -1512.915405, 11.608345, 0.000000, 90.000000, 0.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 4829, "airport_las", "Grass_128HV", 0x00000000); gtrmotors = CreateDynamicObjectEx(18981, 920.351501, -1511.725463, 11.608345, 0.000000, 90.000000, 0.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 4829, "airport_las", "Grass_128HV", 0x00000000); gtrmotors = CreateDynamicObjectEx(18981, 944.661376, -1493.785278, 11.608345, 0.000000, 90.000000, 0.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 4829, "airport_las", "Grass_128HV", 0x00000000); gtrmotors = CreateDynamicObjectEx(18981, 961.771484, -1493.785278, 11.608345, 0.000000, 90.000000, 0.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 4829, "airport_las", "Grass_128HV", 0x00000000); gtrmotors = CreateDynamicObjectEx(18981, 959.921508, -1570.765014, 11.608345, 0.000000, 90.000000, 0.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 4829, "airport_las", "Grass_128HV", 0x00000000); gtrmotors = CreateDynamicObjectEx(18981, 959.921508, -1557.985107, 0.188348, 0.000000, 180.000000, 90.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 13681, "lahillshilhs1e", "veg_hedge1_256", 0x00000000); gtrmotors = CreateDynamicObjectEx(18981, 961.881530, -1506.095825, 0.188343, 0.000000, 180.000000, 90.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 13681, "lahillshilhs1e", "veg_hedge1_256", 0x00000000); gtrmotors = CreateDynamicObjectEx(18981, 954.481506, -1506.095825, 0.188343, 0.000000, 180.000000, 90.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 13681, "lahillshilhs1e", "veg_hedge1_256", 0x00000000); gtrmotors = CreateDynamicObjectEx(18981, 932.891296, -1528.165771, 0.188341, 0.000000, 180.000000, 180.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 13681, "lahillshilhs1e", "veg_hedge1_256", 0x00000000); gtrmotors = CreateDynamicObjectEx(18981, 932.891296, -1537.335571, 0.188341, 0.000000, 180.000000, 180.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 13681, "lahillshilhs1e", "veg_hedge1_256", 0x00000000); gtrmotors = CreateDynamicObjectEx(18766, 930.653869, -1549.551269, 7.921343, 0.000000, 90.000000, 0.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 13681, "lahillshilhs1e", "veg_hedge1_256", 0x00000000); gtrmotors = CreateDynamicObjectEx(18766, 930.903869, -1549.551269, 7.921343, 0.000000, 90.000000, 0.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 13681, "lahillshilhs1e", "veg_hedge1_256", 0x00000000); gtrmotors = CreateDynamicObjectEx(18766, 947.653808, -1559.831542, 7.611342, 0.000000, 90.000000, 90.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 13681, "lahillshilhs1e", "veg_hedge1_256", 0x00000000); gtrmotors = CreateDynamicObjectEx(18766, 972.163940, -1559.961669, 7.761345, 0.000000, 90.000000, 90.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 13681, "lahillshilhs1e", "veg_hedge1_256", 0x00000000); gtrmotors = CreateDynamicObjectEx(18766, 974.664245, -1501.871582, 7.801343, 0.000000, 90.000000, 90.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 13681, "lahillshilhs1e", "veg_hedge1_256", 0x00000000); gtrmotors = CreateDynamicObjectEx(18766, 974.664245, -1504.052001, 7.791342, 0.000000, 90.000000, 90.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 13681, "lahillshilhs1e", "veg_hedge1_256", 0x00000000); gtrmotors = CreateDynamicObjectEx(18766, 934.209167, -1511.106201, 11.601339, 90.000000, 180.000000, 46.300014, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 4829, "airport_las", "Grass_128HV", 0x00000000); gtrmotors = CreateDynamicObjectEx(18766, 937.608337, -1507.549194, 11.601339, 90.000000, 180.000000, 46.300014, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 4829, "airport_las", "Grass_128HV", 0x00000000); gtrmotors = CreateDynamicObjectEx(18766, 935.707214, -1505.731689, 11.601339, 90.000000, 180.000000, 46.300014, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 4829, "airport_las", "Grass_128HV", 0x00000000); gtrmotors = CreateDynamicObjectEx(18766, 936.184265, -1512.440673, 10.151331, 180.000000, 360.000000, 46.300014, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 13681, "lahillshilhs1e", "veg_hedge1_256", 0x00000000); gtrmotors = CreateDynamicObjectEx(18766, 938.927001, -1509.570800, 10.151331, 180.000000, 360.000000, 46.300014, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 13681, "lahillshilhs1e", "veg_hedge1_256", 0x00000000); gtrmotors = CreateDynamicObjectEx(18981, 961.941894, -1500.135986, 0.188343, 0.000000, 180.000000, 90.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 13681, "lahillshilhs1e", "veg_hedge1_256", 0x00000000); gtrmotors = CreateDynamicObjectEx(18981, 939.661743, -1500.135986, 0.188343, 0.000000, 180.000000, 90.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 13681, "lahillshilhs1e", "veg_hedge1_256", 0x00000000); gtrmotors = CreateDynamicObjectEx(18981, 927.941650, -1512.775512, 0.188342, 0.000000, 180.000000, 180.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 13681, "lahillshilhs1e", "veg_hedge1_256", 0x00000000); gtrmotors = CreateDynamicObjectEx(18981, 927.941650, -1536.585083, 0.188342, 0.000000, 180.000000, 180.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 13681, "lahillshilhs1e", "veg_hedge1_256", 0x00000000); gtrmotors = CreateDynamicObjectEx(18981, 960.201721, -1561.686035, 0.188340, 0.000000, 180.000000, 270.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 13681, "lahillshilhs1e", "veg_hedge1_256", 0x00000000); gtrmotors = CreateDynamicObjectEx(18766, 952.811584, -1538.439208, 11.652190, 90.000000, 270.000000, 0.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 4829, "airport_las", "Grass_128HV", 0x00000000); gtrmotors = CreateDynamicObjectEx(18766, 952.811584, -1528.489624, 11.652190, 90.000000, 270.000000, 0.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 4829, "airport_las", "Grass_128HV", 0x00000000); gtrmotors = CreateDynamicObjectEx(19447, 950.299743, -1528.214111, 10.451271, 0.000000, 0.000000, 0.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 10765, "airportgnd_sfse", "white", 0x00000000); gtrmotors = CreateDynamicObjectEx(19447, 950.299743, -1538.564575, 10.451271, 0.000000, 0.000000, 0.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 10765, "airportgnd_sfse", "white", 0x00000000); gtrmotors = CreateDynamicObjectEx(19447, 950.299743, -1536.684692, 10.451271, 0.000000, 0.000000, 0.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 10765, "airportgnd_sfse", "white", 0x00000000); gtrmotors = CreateDynamicObjectEx(19447, 955.319763, -1536.684692, 10.451271, 0.000000, 0.000000, 0.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 10765, "airportgnd_sfse", "white", 0x00000000); gtrmotors = CreateDynamicObjectEx(19447, 955.319763, -1538.654418, 10.451271, 0.000000, 0.000000, 0.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 10765, "airportgnd_sfse", "white", 0x00000000); gtrmotors = CreateDynamicObjectEx(19447, 955.319763, -1528.314575, 10.451271, 0.000000, 0.000000, 0.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 10765, "airportgnd_sfse", "white", 0x00000000); gtrmotors = CreateDynamicObjectEx(19447, 953.629577, -1523.464477, 7.391271, 90.000000, 180.000000, 90.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 10765, "airportgnd_sfse", "white", 0x00000000); gtrmotors = CreateDynamicObjectEx(19447, 951.969360, -1523.464477, 7.391271, 90.000000, 180.000000, 90.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 10765, "airportgnd_sfse", "white", 0x00000000); gtrmotors = CreateDynamicObjectEx(19447, 951.969360, -1543.414428, 7.391271, 90.000000, 180.000000, 90.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 10765, "airportgnd_sfse", "white", 0x00000000); gtrmotors = CreateDynamicObjectEx(19447, 953.629272, -1543.414428, 7.391271, 90.000000, 180.000000, 90.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 10765, "airportgnd_sfse", "white", 0x00000000); gtrmotors = CreateDynamicObjectEx(18766, 952.778808, -1533.616088, 7.487368, 0.000000, 90.000000, 90.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 13681, "lahillshilhs1e", "veg_hedge1_256", 0x00000000); gtrmotors = CreateDynamicObjectEx(18766, 952.778808, -1539.635620, 7.487368, 0.000000, 90.000000, 90.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 13681, "lahillshilhs1e", "veg_hedge1_256", 0x00000000); gtrmotors = CreateDynamicObjectEx(18766, 952.778808, -1527.385620, 7.487368, 0.000000, 90.000000, 90.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 13681, "lahillshilhs1e", "veg_hedge1_256", 0x00000000); gtrmotors = CreateDynamicObjectEx(19872, 997.712646, -1537.309082, 11.389281, -11.700005, 0.000000, 90.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 18646, "matcolours", "grey-10-percent", 0x00000000); gtrmotors = CreateDynamicObjectEx(19872, 997.712646, -1554.829101, 11.389281, -11.700005, 0.000000, 90.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 18646, "matcolours", "grey-10-percent", 0x00000000); gtrmotors = CreateDynamicObjectEx(19872, 997.712646, -1542.958862, 11.389281, -11.700005, 0.000000, 90.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 18646, "matcolours", "grey-10-percent", 0x00000000); gtrmotors = CreateDynamicObjectEx(19872, 997.712646, -1548.638916, 11.389281, -11.700005, 0.000000, 90.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 18646, "matcolours", "grey-10-percent", 0x00000000); gtrmotors = CreateDynamicObjectEx(19872, 982.232543, -1554.970581, 11.536333, -11.700005, 0.000000, 360.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 18646, "matcolours", "grey-10-percent", 0x00000000); gtrmotors = CreateDynamicObjectEx(19872, 988.272583, -1554.970581, 11.536333, -11.700005, 0.000000, 360.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 18646, "matcolours", "grey-10-percent", 0x00000000); gtrmotors = CreateDynamicObjectEx(19872, 986.892578, -1553.826660, 17.059146, -11.700005, 0.000000, 360.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 18646, "matcolours", "grey-10-percent", 0x00000000); gtrmotors = CreateDynamicObjectEx(19872, 997.425476, -1553.826660, 17.159286, 12.099992, 0.000000, 630.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 18646, "matcolours", "grey-10-percent", 0x00000000); gtrmotors = CreateDynamicObjectEx(19872, 997.425476, -1537.436523, 17.159286, 12.099992, 0.000000, 630.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 18646, "matcolours", "grey-10-percent", 0x00000000); gtrmotors = CreateDynamicObjectEx(19872, 997.425476, -1542.457275, 17.159286, 12.099992, 0.000000, 630.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 18646, "matcolours", "grey-10-percent", 0x00000000); gtrmotors = CreateDynamicObjectEx(19872, 997.425476, -1547.957519, 17.159286, 12.099992, 0.000000, 630.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 18646, "matcolours", "grey-10-percent", 0x00000000); gtrmotors = CreateDynamicObjectEx(1713, 989.092468, -1525.837524, 12.174126, 0.000000, 0.000000, 270.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 18646, "matcolours", "grey-95-percent", 0x00000000); gtrmotors = CreateDynamicObjectEx(1713, 989.092468, -1529.307617, 12.174126, 0.000000, 0.000000, 270.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 18646, "matcolours", "grey-95-percent", 0x00000000); gtrmotors = CreateDynamicObjectEx(1713, 993.042358, -1518.827392, 12.174126, 0.000000, 0.000000, 270.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 18646, "matcolours", "grey-95-percent", 0x00000000); gtrmotors = CreateDynamicObjectEx(1713, 993.042358, -1515.247558, 12.174126, 0.000000, 0.000000, 270.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 18646, "matcolours", "grey-95-percent", 0x00000000); gtrmotors = CreateDynamicObjectEx(1713, 993.042358, -1511.578125, 12.174126, 0.000000, 0.000000, 270.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 18646, "matcolours", "grey-95-percent", 0x00000000); gtrmotors = CreateDynamicObjectEx(1713, 993.042358, -1507.467773, 12.174126, 0.000000, 0.000000, 270.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 18646, "matcolours", "grey-95-percent", 0x00000000); gtrmotors = CreateDynamicObjectEx(2166, 984.113525, -1508.595458, 12.201141, 0.000000, 0.000000, 90.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 1, 14652, "ab_trukstpa", "CJ_WOOD6", 0x00000000); SetDynamicObjectMaterial(gtrmotors, 2, 18646, "matcolours", "grey-10-percent", 0x00000000); gtrmotors = CreateDynamicObjectEx(2166, 986.093627, -1507.614990, 12.181140, 0.000000, 0.000000, 540.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 1, 14652, "ab_trukstpa", "CJ_WOOD6", 0x00000000); SetDynamicObjectMaterial(gtrmotors, 2, 18646, "matcolours", "grey-10-percent", 0x00000000); gtrmotors = CreateDynamicObjectEx(2166, 988.003356, -1507.614990, 12.181140, 0.000000, 0.000000, 540.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 1, 14652, "ab_trukstpa", "CJ_WOOD6", 0x00000000); SetDynamicObjectMaterial(gtrmotors, 2, 18646, "matcolours", "grey-10-percent", 0x00000000); gtrmotors = CreateDynamicObjectEx(2166, 982.143615, -1508.595458, 12.201141, 0.000000, 0.000000, 90.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 1, 14652, "ab_trukstpa", "CJ_WOOD6", 0x00000000); SetDynamicObjectMaterial(gtrmotors, 2, 18646, "matcolours", "grey-10-percent", 0x00000000); gtrmotors = CreateDynamicObjectEx(18765, 985.722778, -1545.033447, 9.776565, 0.000000, 0.000000, 0.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 19595, "lsappartments1", "carpet4-256x256", 0x00000000); gtrmotors = CreateDynamicObjectEx(18765, 985.722778, -1536.213378, 9.776565, 0.000000, 0.000000, 0.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 19595, "lsappartments1", "carpet4-256x256", 0x00000000); gtrmotors = CreateDynamicObjectEx(18765, 985.722778, -1526.743530, 9.776565, 0.000000, 0.000000, 0.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 19595, "lsappartments1", "carpet4-256x256", 0x00000000); gtrmotors = CreateDynamicObjectEx(18765, 985.722778, -1516.873535, 9.776565, 0.000000, 0.000000, 0.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 19595, "lsappartments1", "carpet4-256x256", 0x00000000); gtrmotors = CreateDynamicObjectEx(18766, 932.795104, -1506.268554, 7.775469, 180.000000, 90.000000, 46.060001, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 18646, "matcolours", "grey-10-percent", 0x00000000); gtrmotors = CreateDynamicObjectEx(18766, 934.847778, -1504.111572, 7.775469, 180.000000, 90.000000, 46.060001, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 18646, "matcolours", "grey-10-percent", 0x00000000); gtrmotors = CreateDynamicObjectEx(18766, 930.843505, -1508.234375, 7.775469, 180.000000, 90.000000, 46.060001, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 18646, "matcolours", "grey-10-percent", 0x00000000); gtrmotors = CreateDynamicObjectEx(18766, 931.542358, -1508.873901, 7.775469, 180.000000, 90.000000, 46.060001, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 18646, "matcolours", "grey-10-percent", 0x00000000); gtrmotors = CreateDynamicObjectEx(18766, 934.806579, -1505.456665, 7.775469, 180.000000, 90.000000, 46.060001, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 18646, "matcolours", "grey-10-percent", 0x00000000); gtrmotors = CreateDynamicObjectEx(18766, 935.489807, -1504.747314, 7.775469, 180.000000, 90.000000, 46.060001, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 18646, "matcolours", "grey-10-percent", 0x00000000); gtrmotors = CreateDynamicObjectEx(18766, 934.638305, -1505.257446, 15.161430, 180.000000, 90.000000, 45.939998, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 18646, "matcolours", "lightblue", 0xFF0099FF); gtrmotors = CreateDynamicObjectEx(18766, 932.305603, -1507.702758, 15.161430, 180.000000, 90.000000, 45.939998, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 18646, "matcolours", "lightblue", 0xFF0099FF); gtrmotors = CreateDynamicObjectEx(18766, 932.305603, -1507.702758, 21.698530, 180.000000, 90.000000, 45.939998, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 18646, "matcolours", "lightblue", 0xFF0099FF); gtrmotors = CreateDynamicObjectEx(18766, 934.638305, -1505.257446, 21.698499, 180.000000, 90.000000, 45.939998, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 18646, "matcolours", "lightblue", 0xFF0099FF); gtrmotors = CreateDynamicObjectEx(18766, 941.329223, -1560.161865, 11.220252, 69.400009, 180.000000, 0.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 19595, "lsappartments1", "carpet4-256x256", 0x00000000); gtrmotors = CreateDynamicObjectEx(18766, 932.949279, -1560.161865, 11.220252, 69.400009, 180.000000, 0.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 19595, "lsappartments1", "carpet4-256x256", 0x00000000); gtrmotors = CreateDynamicObjectEx(19480, 933.105285, -1506.030395, 23.875452, 0.000000, 0.000000, 136.200012, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 18646, "matcolours", "grey-90-percent", 0x00000000); SetDynamicObjectMaterialText(gtrmotors, 0, "B", 120, "DGHD", 120, 1, 0xFFFFFFFF, 0x00000000, 1); gtrmotors = CreateDynamicObjectEx(19480, 933.105285, -1506.030395, 20.115449, 0.000000, 0.000000, 136.200012, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 18646, "matcolours", "grey-90-percent", 0x00000000); SetDynamicObjectMaterialText(gtrmotors, 0, "M", 120, "DGHD", 120, 1, 0xFFFFFFFF, 0x00000000, 1); gtrmotors = CreateDynamicObjectEx(19480, 933.105285, -1506.030395, 16.535432, 0.000000, 0.000000, 136.200012, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 18646, "matcolours", "grey-90-percent", 0x00000000); SetDynamicObjectMaterialText(gtrmotors, 0, "W", 120, "DGHD", 120, 1, 0xFFFFFFFF, 0x00000000, 1); gtrmotors = CreateDynamicObjectEx(19480, 932.918518, -1506.224853, 14.145455, 0.000000, 0.000000, 136.200012, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 18646, "matcolours", "grey-90-percent", 0x00000000); SetDynamicObjectMaterialText(gtrmotors, 0, "CARROS", 120, "DGHD", 40, 1, 0xFFFFFFFF, 0x00000000, 1); gtrmotors = CreateDynamicObjectEx(19480, 933.985595, -1506.875366, 20.115449, 0.000000, 0.000000, 136.200012, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 18646, "matcolours", "grey-90-percent", 0x00000000); SetDynamicObjectMaterialText(gtrmotors, 0, "M", 120, "DGHD", 120, 1, 0xFFFFFFFF, 0x00000000, 1); gtrmotors = CreateDynamicObjectEx(19480, 934.029296, -1506.916503, 23.875452, 0.000000, 0.000000, 316.200012, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 18646, "matcolours", "grey-90-percent", 0x00000000); SetDynamicObjectMaterialText(gtrmotors, 0, "B", 120, "DGHD", 120, 1, 0xFFFFFFFF, 0x00000000, 1); gtrmotors = CreateDynamicObjectEx(19480, 933.949829, -1506.840332, 16.535432, 0.000000, 0.000000, 316.200012, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 18646, "matcolours", "grey-90-percent", 0x00000000); SetDynamicObjectMaterialText(gtrmotors, 0, "W", 120, "DGHD", 120, 1, 0xFFFFFFFF, 0x00000000, 1); gtrmotors = CreateDynamicObjectEx(19480, 933.991760, -1506.824951, 14.145455, 0.000000, 0.000000, 316.200012, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 18646, "matcolours", "grey-90-percent", 0x00000000); SetDynamicObjectMaterialText(gtrmotors, 0, "CARROS", 120, "DGHD", 40, 1, 0xFFFFFFFF, 0x00000000, 1); gtrmotors = CreateDynamicObjectEx(19325, 975.040771, -1545.965942, 31.099300, 0.000000, 0.000000, 270.000000, 300.00, 300.00); SetDynamicObjectMaterialText(gtrmotors, 0, "B", 130, "DGHD", 199, 1, 0xFFFFFFFF, 0x00000000, 1); gtrmotors = CreateDynamicObjectEx(19325, 975.040771, -1546.366333, 31.099300, 0.000000, 0.000000, 450.000000, 300.00, 300.00); SetDynamicObjectMaterialText(gtrmotors, 0, "B", 130, "DGHD", 199, 1, 0xFFFFFFFF, 0x00000000, 1); gtrmotors = CreateDynamicObjectEx(19325, 975.040771, -1546.366333, 28.289295, 0.000000, 0.000000, 450.000000, 300.00, 300.00); SetDynamicObjectMaterialText(gtrmotors, 0, "M", 130, "DGHD", 199, 1, 0xFFFFFFFF, 0x00000000, 1); gtrmotors = CreateDynamicObjectEx(19325, 975.040771, -1545.985961, 28.289295, 0.000000, 0.000000, 450.000000, 300.00, 300.00); SetDynamicObjectMaterialText(gtrmotors, 0, "M", 130, "DGHD", 199, 1, 0xFFFFFFFF, 0x00000000, 1); gtrmotors = CreateDynamicObjectEx(19325, 975.040771, -1546.406372, 25.489290, 0.000000, 0.000000, 450.000000, 300.00, 300.00); SetDynamicObjectMaterialText(gtrmotors, 0, "W", 130, "DGHD", 199, 1, 0xFFFFFFFF, 0x00000000, 1); gtrmotors = CreateDynamicObjectEx(19325, 975.040771, -1545.936157, 25.489290, 0.000000, 0.000000, 630.000000, 300.00, 300.00); SetDynamicObjectMaterialText(gtrmotors, 0, "W", 130, "DGHD", 199, 1, 0xFFFFFFFF, 0x00000000, 1); gtrmotors = CreateDynamicObjectEx(19325, 975.040771, -1545.936157, 23.939291, 0.000000, 0.000000, 630.000000, 300.00, 300.00); SetDynamicObjectMaterialText(gtrmotors, 0, "CARROS", 130, "DGHD", 40, 1, 0xFFFFFFFF, 0x00000000, 1); gtrmotors = CreateDynamicObjectEx(19325, 975.040771, -1545.936157, 32.689285, 0.000000, 0.000000, 630.000000, 300.00, 300.00); SetDynamicObjectMaterialText(gtrmotors, 0, "CARROS", 130, "DGHD", 40, 1, 0xFFFFFFFF, 0x00000000, 1); gtrmotors = CreateDynamicObjectEx(19325, 975.040771, -1546.366577, 32.689285, 0.000000, 0.000000, 810.000000, 300.00, 300.00); SetDynamicObjectMaterialText(gtrmotors, 0, "CARROS", 130, "DGHD", 40, 1, 0xFFFFFFFF, 0x00000000, 1); gtrmotors = CreateDynamicObjectEx(19325, 975.040771, -1546.366577, 23.699275, 0.000000, 0.000000, 810.000000, 300.00, 300.00); SetDynamicObjectMaterialText(gtrmotors, 0, "CARROS", 130, "DGHD", 40, 1, 0xFFFFFFFF, 0x00000000, 1); gtrmotors = CreateDynamicObjectEx(19481, 976.338134, -1509.671875, 27.536361, 0.000000, 0.000000, 180.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 18646, "matcolours", "grey-90-percent", 0x00000000); SetDynamicObjectMaterialText(gtrmotors, 0, "BMW", 120, "DGHD", 70, 1, 0xFF007BFF, 0x00000000, 1); gtrmotors = CreateDynamicObjectEx(19481, 976.338134, -1523.781982, 27.206359, 0.000000, 0.000000, 180.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 18646, "matcolours", "grey-90-percent", 0x00000000); SetDynamicObjectMaterialText(gtrmotors, 0, "CARROS", 120, "DGHD", 60, 1, 0xFFFFFFFF, 0x00000000, 1); gtrmotors = CreateDynamicObjectEx(19481, 980.788330, -1503.151611, 28.096368, 0.000000, 0.000000, 810.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 18646, "matcolours", "grey-90-percent", 0x00000000); SetDynamicObjectMaterialText(gtrmotors, 0, "BMW", 120, "DGHD", 50, 1, 0xFF007BFF, 0x00000000, 1); gtrmotors = CreateDynamicObjectEx(19481, 979.848266, -1503.151611, 25.766361, 0.000000, 0.000000, 810.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 18646, "matcolours", "grey-90-percent", 0x00000000); SetDynamicObjectMaterialText(gtrmotors, 0, "CARROS", 120, "DGHD", 30, 1, 0xFFFFFFFF, 0x00000000, 1); gtrmotors = CreateDynamicObjectEx(19866, 947.367553, -1543.196777, 11.365383, 0.000000, 0.000000, 90.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 18646, "matcolours", "grey-10-percent", 0x00000000); gtrmotors = CreateDynamicObjectEx(19866, 947.367553, -1523.746826, 11.365383, 0.000000, 0.000000, 90.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 18646, "matcolours", "grey-10-percent", 0x00000000); gtrmotors = CreateDynamicObjectEx(19866, 947.367553, -1533.416870, 11.365383, 0.000000, 0.000000, 90.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 18646, "matcolours", "grey-10-percent", 0x00000000); gtrmotors = CreateDynamicObjectEx(19866, 947.367553, -1539.587158, 11.365383, 0.000000, 0.000000, 90.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 18646, "matcolours", "grey-10-percent", 0x00000000); gtrmotors = CreateDynamicObjectEx(19866, 947.367553, -1536.657104, 11.365383, 0.000000, 0.000000, 90.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 18646, "matcolours", "grey-10-percent", 0x00000000); gtrmotors = CreateDynamicObjectEx(19866, 947.367553, -1530.316894, 11.365383, 0.000000, 0.000000, 90.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 18646, "matcolours", "grey-10-percent", 0x00000000); gtrmotors = CreateDynamicObjectEx(19866, 947.367553, -1527.056396, 11.365383, 0.000000, 0.000000, 90.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 18646, "matcolours", "grey-10-percent", 0x00000000); gtrmotors = CreateDynamicObjectEx(19866, 958.237487, -1527.056396, 11.365383, 0.000000, 0.000000, 90.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 18646, "matcolours", "grey-10-percent", 0x00000000); gtrmotors = CreateDynamicObjectEx(19866, 958.237487, -1523.835937, 11.365383, 0.000000, 0.000000, 90.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 18646, "matcolours", "grey-10-percent", 0x00000000); gtrmotors = CreateDynamicObjectEx(19866, 958.237487, -1530.135986, 11.365383, 0.000000, 0.000000, 90.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 18646, "matcolours", "grey-10-percent", 0x00000000); gtrmotors = CreateDynamicObjectEx(19866, 958.237487, -1533.365844, 11.365383, 0.000000, 0.000000, 90.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 18646, "matcolours", "grey-10-percent", 0x00000000); gtrmotors = CreateDynamicObjectEx(19866, 958.237487, -1536.615722, 11.365383, 0.000000, 0.000000, 90.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 18646, "matcolours", "grey-10-percent", 0x00000000); gtrmotors = CreateDynamicObjectEx(19866, 958.237487, -1539.435546, 11.365383, 0.000000, 0.000000, 90.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 18646, "matcolours", "grey-10-percent", 0x00000000); gtrmotors = CreateDynamicObjectEx(19866, 958.237487, -1542.575683, 11.365383, 0.000000, 0.000000, 90.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 18646, "matcolours", "grey-10-percent", 0x00000000); gtrmotors = CreateDynamicObjectEx(19866, 936.277709, -1549.466064, 11.365383, 0.000000, 0.000000, 90.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 18646, "matcolours", "grey-10-percent", 0x00000000); gtrmotors = CreateDynamicObjectEx(19866, 936.277709, -1516.565917, 11.365383, 0.000000, 0.000000, 90.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 18646, "matcolours", "grey-10-percent", 0x00000000); gtrmotors = CreateDynamicObjectEx(19866, 936.277709, -1533.416015, 11.365383, 0.000000, 0.000000, 90.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 18646, "matcolours", "grey-10-percent", 0x00000000); gtrmotors = CreateDynamicObjectEx(19866, 936.277709, -1525.096191, 11.365383, 0.000000, 0.000000, 90.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 18646, "matcolours", "grey-10-percent", 0x00000000); gtrmotors = CreateDynamicObjectEx(19866, 936.277709, -1541.676147, 11.365383, 0.000000, 0.000000, 90.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 18646, "matcolours", "grey-10-percent", 0x00000000); gtrmotors = CreateDynamicObjectEx(19866, 973.477661, -1509.416259, 11.365383, 0.000000, 0.000000, 180.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 18646, "matcolours", "grey-10-percent", 0x00000000); gtrmotors = CreateDynamicObjectEx(19866, 943.307739, -1509.416259, 11.365383, 0.000000, 0.000000, 180.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 18646, "matcolours", "grey-10-percent", 0x00000000); gtrmotors = CreateDynamicObjectEx(19866, 957.977722, -1509.416259, 11.365383, 0.000000, 0.000000, 180.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 18646, "matcolours", "grey-10-percent", 0x00000000); gtrmotors = CreateDynamicObjectEx(19866, 950.837585, -1509.416259, 11.365383, 0.000000, 0.000000, 180.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 18646, "matcolours", "grey-10-percent", 0x00000000); gtrmotors = CreateDynamicObjectEx(19866, 966.127563, -1509.416259, 11.365383, 0.000000, 0.000000, 180.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 18646, "matcolours", "grey-10-percent", 0x00000000); gtrmotors = CreateDynamicObjectEx(19866, 972.557556, -1554.386474, 11.365383, 0.000000, 0.000000, 180.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 18646, "matcolours", "grey-10-percent", 0x00000000); gtrmotors = CreateDynamicObjectEx(19866, 948.137634, -1554.386474, 11.365383, 0.000000, 0.000000, 180.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 18646, "matcolours", "grey-10-percent", 0x00000000); gtrmotors = CreateDynamicObjectEx(19866, 956.657775, -1554.386474, 11.365383, 0.000000, 0.000000, 180.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 18646, "matcolours", "grey-10-percent", 0x00000000); gtrmotors = CreateDynamicObjectEx(19866, 964.707641, -1554.386474, 11.365383, 0.000000, 0.000000, 180.000000, 300.00, 300.00); SetDynamicObjectMaterial(gtrmotors, 0, 18646, "matcolours", "grey-10-percent", 0x00000000); ///////////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////// gtrmotors = CreateDynamicObjectEx(1714, 984.635925, -1507.616455, 12.217438, 0.000000, 0.000000, 0.000000, 300.00, 300.00); gtrmotors = CreateDynamicObjectEx(1714, 987.185913, -1507.616455, 12.217438, 0.000000, 0.000000, 0.000000, 300.00, 300.00); gtrmotors = CreateDynamicObjectEx(1714, 982.036132, -1507.616455, 12.217438, 0.000000, 0.000000, 0.000000, 300.00, 300.00); gtrmotors = CreateDynamicObjectEx(8990, 930.892333, -1540.838378, 12.437190, 0.000000, 0.000000, 90.000000, 300.00, 300.00); gtrmotors = CreateDynamicObjectEx(8990, 930.684997, -1527.848144, 12.437190, 0.000000, 0.000000, 90.000000, 300.00, 300.00); gtrmotors = CreateDynamicObjectEx(8990, 930.578796, -1518.512451, 12.437190, 0.000000, 0.000000, 90.000000, 300.00, 300.00); gtrmotors = CreateDynamicObjectEx(8990, 935.657165, -1509.262084, 12.437190, 0.000000, 0.000000, 47.699981, 300.00, 300.00); gtrmotors = CreateDynamicObjectEx(8990, 931.744628, -1503.007446, 12.031149, 0.000000, 0.000000, 47.699981, 300.00, 300.00); gtrmotors = CreateDynamicObjectEx(8990, 946.439086, -1503.400268, 12.437199, 0.000000, 0.000000, 0.059999, 300.00, 300.00); gtrmotors = CreateDynamicObjectEx(8990, 959.319396, -1503.453125, 12.437199, 0.000000, 0.000000, 0.059999, 300.00, 300.00); gtrmotors = CreateDynamicObjectEx(8990, 966.124938, -1503.384399, 12.437199, 0.000000, 0.000000, 0.059999, 300.00, 300.00); gtrmotors = CreateDynamicObjectEx(8990, 963.927124, -1560.250854, 12.437199, 0.000000, 0.000000, -0.059999, 300.00, 300.00); gtrmotors = CreateDynamicObjectEx(8990, 957.477844, -1560.290039, 12.437199, 0.000000, 0.000000, -0.059999, 300.00, 300.00); gtrmotors = CreateDynamicObjectEx(8623, 952.844482, -1533.477416, 12.133649, 0.000000, 0.000000, -85.259986, 300.00, 300.00); gtrmotors = CreateDynamicObjectEx(717, 930.781738, -1546.225341, 12.253720, 0.000000, 0.000000, 0.000000, 300.00, 300.00); gtrmotors = CreateDynamicObjectEx(717, 930.420227, -1516.272094, 12.253720, 0.000000, 0.000000, 0.000000, 300.00, 300.00); gtrmotors = CreateDynamicObjectEx(717, 930.106506, -1531.638916, 12.253720, 0.000000, 0.000000, 0.000000, 300.00, 300.00); gtrmotors = CreateDynamicObjectEx(717, 944.699890, -1502.414672, 12.253720, 0.000000, 0.000000, 0.000000, 300.00, 300.00); gtrmotors = CreateDynamicObjectEx(717, 971.821716, -1503.725708, 12.253720, 0.000000, 0.000000, 0.000000, 300.00, 300.00); gtrmotors = CreateDynamicObjectEx(717, 958.938232, -1503.085083, 12.253720, 0.000000, 0.000000, 0.000000, 300.00, 300.00); gtrmotors = CreateDynamicObjectEx(717, 950.835693, -1560.517944, 12.253720, 0.000000, 0.000000, 0.000000, 300.00, 300.00); gtrmotors = CreateDynamicObjectEx(717, 969.371887, -1560.072143, 12.253720, 0.000000, 0.000000, 0.000000, 300.00, 300.00); gtrmotors = CreateDynamicObjectEx(717, 960.308227, -1560.112182, 12.253720, 0.000000, 0.000000, 0.000000, 300.00, 300.00); gtrmotors = CreateDynamicObjectEx(717, 952.810424, -1533.315551, 11.950710, 0.000000, 0.000000, 0.000000, 300.00, 300.00); gtrmotors = CreateDynamicObjectEx(717, 952.763610, -1539.785644, 11.950710, 0.000000, 0.000000, 0.000000, 300.00, 300.00); gtrmotors = CreateDynamicObjectEx(717, 952.847045, -1527.275878, 11.950710, 0.000000, 0.000000, 0.000000, 300.00, 300.00); gtrmotors = CreateDynamicObjectEx(16132, 983.784606, -1517.369018, 21.861909, 0.000000, 0.000000, 0.000000, 300.00, 300.00); //--------------------------------- PLACA DO SPAWN CIVIL -------------------------------- new hotelyugoslavia; hotelyugoslavia = CreateDynamicObjectEx(4828, 1475.193725, -2286.924804, 26.359380, 0.000000, 0.000000, 0.000000, 300.00, 300.00); SetDynamicObjectMaterial(hotelyugoslavia, 0, 18646, "matcolours", "grey-90-percent", 0x00000000); SetDynamicObjectMaterial(hotelyugoslavia, 1, 18646, "matcolours", "grey-90-percent", 0x00000000); SetDynamicObjectMaterial(hotelyugoslavia, 2, 18646, "matcolours", "grey-90-percent", 0x00000000); SetDynamicObjectMaterial(hotelyugoslavia, 4, 18646, "matcolours", "grey-90-percent", 0x00000000); SetDynamicObjectMaterial(hotelyugoslavia, 5, 18646, "matcolours", "grey-90-percent", 0x00000000); hotelyugoslavia = CreateDynamicObjectEx(10838, 1415.207641, -2286.849609, 27.963809, 0.000000, 0.000000, 0.000000, 300.00, 300.00); SetDynamicObjectMaterial(hotelyugoslavia, 0, 18901, "matclothes", "bandanathingy", 0x00000000); SetDynamicObjectMaterial(hotelyugoslavia, 1, 9514, "711_sfw", "brick", 0x00000000); SetDynamicObjectMaterial(hotelyugoslavia, 2, 17508, "barrio1_lae2", "brickred", 0x00000000); SetDynamicObjectMaterial(hotelyugoslavia, 3, 17508, "barrio1_lae2", "brickred", 0x00000000); SetDynamicObjectMaterial(hotelyugoslavia, 4, 17508, "barrio1_lae2", "brickred", 0x00000000); SetDynamicObjectMaterialText(hotelyugoslavia, 0, "Nenhum", 10, "DGHD", 20, 0, 0x00000000, 0xFF003E94, 0); hotelyugoslavia = CreateDynamicObjectEx(4835, 1466.765625, -2286.437500, 16.585939, 0.000000, 0.000000, 0.000000, 300.00, 300.00); SetDynamicObjectMaterial(hotelyugoslavia, 0, 6487, "councl_law2", "rodeo3sjm", 0x00000000); SetDynamicObjectMaterial(hotelyugoslavia, 2, 6487, "councl_law2", "rodeo3sjm", 0x00000000); SetDynamicObjectMaterial(hotelyugoslavia, 6, 18646, "matcolours", "grey-90-percent", 0x00000000); SetDynamicObjectMaterial(hotelyugoslavia, 8, 18646, "matcolours", "grey-90-percent", 0x00000000); SetDynamicObjectMaterial(hotelyugoslavia, 9, 18646, "matcolours", "grey-90-percent", 0x00000000); SetDynamicObjectMaterial(hotelyugoslavia, 10, 18646, "matcolours", "grey-90-percent", 0x00000000); hotelyugoslavia = CreateDynamicObjectEx(18766, 1415.863891, -2290.466796, 30.362827, 0.000000, 0.000000, 90.000000, 300.00, 300.00); SetDynamicObjectMaterialText(hotelyugoslavia, 0, "Nenhum", 10, "DGHD", 20, 0, 0x00000000, 0xFF003E94, 0); hotelyugoslavia = CreateDynamicObjectEx(18766, 1415.863891, -2298.957519, 30.362827, 0.000000, 0.000000, 90.000000, 300.00, 300.00); SetDynamicObjectMaterialText(hotelyugoslavia, 0, "Nenhum", 10, "DGHD", 20, 0, 0x00000000, 0xFF003E94, 0); hotelyugoslavia = CreateDynamicObjectEx(18766, 1415.863891, -2280.896484, 30.362827, 0.000000, 0.000000, 90.000000, 300.00, 300.00); SetDynamicObjectMaterialText(hotelyugoslavia, 0, "Nenhum", 10, "DGHD", 20, 0, 0x00000000, 0xFF003E94, 0); hotelyugoslavia = CreateDynamicObjectEx(18766, 1415.863891, -2274.735351, 30.362827, 0.000000, 0.000000, 90.000000, 300.00, 300.00); SetDynamicObjectMaterialText(hotelyugoslavia, 0, "Nenhum", 10, "DGHD", 20, 0, 0x00000000, 0xFF003E94, 0); hotelyugoslavia = CreateDynamicObjectEx(18766, 1415.863891, -2274.735351, 25.512826, 0.000000, 0.000000, 90.000000, 300.00, 300.00); SetDynamicObjectMaterialText(hotelyugoslavia, 0, "Nenhum", 10, "DGHD", 20, 0, 0x00000000, 0xFF003E94, 0); hotelyugoslavia = CreateDynamicObjectEx(18766, 1415.863891, -2283.695312, 25.512826, 0.000000, 0.000000, 90.000000, 300.00, 300.00); SetDynamicObjectMaterialText(hotelyugoslavia, 0, "Nenhum", 10, "DGHD", 20, 0, 0x00000000, 0xFF003E94, 0); hotelyugoslavia = CreateDynamicObjectEx(18766, 1415.863891, -2293.265136, 25.512826, 0.000000, 0.000000, 90.000000, 300.00, 300.00); SetDynamicObjectMaterialText(hotelyugoslavia, 0, "Nenhum", 10, "DGHD", 20, 0, 0x00000000, 0xFF003E94, 0); hotelyugoslavia = CreateDynamicObjectEx(18766, 1415.863891, -2298.955810, 25.512826, 0.000000, 0.000000, 90.000000, 300.00, 300.00); SetDynamicObjectMaterialText(hotelyugoslavia, 0, "Nenhum", 10, "DGHD", 20, 0, 0x00000000, 0xFF003E94, 0); hotelyugoslavia = CreateDynamicObjectEx(18766, 1415.683715, -2298.955810, 25.512826, 0.000000, 0.000000, 90.000000, 300.00, 300.00); SetDynamicObjectMaterialText(hotelyugoslavia, 0, "Nenhum", 10, "DGHD", 20, 0, 0x00000000, 0xFF003E94, 0); hotelyugoslavia = CreateDynamicObjectEx(18766, 1415.683715, -2290.156494, 25.512826, 0.000000, 0.000000, 90.000000, 300.00, 300.00); SetDynamicObjectMaterialText(hotelyugoslavia, 0, "Nenhum", 10, "DGHD", 20, 0, 0x00000000, 0xFF003E94, 0); hotelyugoslavia = CreateDynamicObjectEx(18766, 1415.683715, -2281.376464, 25.512826, 0.000000, 0.000000, 90.000000, 300.00, 300.00); SetDynamicObjectMaterialText(hotelyugoslavia, 0, "Nenhum", 10, "DGHD", 20, 0, 0x00000000, 0xFF003E94, 0); hotelyugoslavia = CreateDynamicObjectEx(18766, 1415.683715, -2274.784423, 25.512826, 0.000000, 0.000000, 90.000000, 300.00, 300.00); SetDynamicObjectMaterialText(hotelyugoslavia, 0, "Nenhum", 10, "DGHD", 20, 0, 0x00000000, 0xFF003E94, 0); hotelyugoslavia = CreateDynamicObjectEx(18766, 1415.683715, -2274.784423, 30.402833, 0.000000, 0.000000, 90.000000, 300.00, 300.00); SetDynamicObjectMaterialText(hotelyugoslavia, 0, "Nenhum", 10, "DGHD", 20, 0, 0x00000000, 0xFF003E94, 0); hotelyugoslavia = CreateDynamicObjectEx(18766, 1415.683715, -2284.473632, 30.402833, 0.000000, 0.000000, 90.000000, 300.00, 300.00); SetDynamicObjectMaterialText(hotelyugoslavia, 0, "Nenhum", 10, "DGHD", 20, 0, 0x00000000, 0xFF003E94, 0); hotelyugoslavia = CreateDynamicObjectEx(18766, 1415.683715, -2293.753662, 30.402833, 0.000000, 0.000000, 90.000000, 300.00, 300.00); SetDynamicObjectMaterialText(hotelyugoslavia, 0, "Nenhum", 10, "DGHD", 20, 0, 0x00000000, 0xFF003E94, 0); hotelyugoslavia = CreateDynamicObjectEx(18766, 1415.683715, -2298.924316, 30.402833, 0.000000, 0.000000, 90.000000, 300.00, 300.00); SetDynamicObjectMaterialText(hotelyugoslavia, 0, "Nenhum", 10, "DGHD", 20, 0, 0x00000000, 0xFF003E94, 0); hotelyugoslavia = CreateDynamicObjectEx(7914, 1416.071899, -2287.439941, 29.836885, 0.000000, 0.000000, 90.000000, 300.00, 300.00); SetDynamicObjectMaterialText(hotelyugoslavia, 0, "BEM-VINDO AO", 120, "DGHD", 70, 1, 0xFFFFFFFF, 0x00000000, 1); hotelyugoslavia = CreateDynamicObjectEx(7914, 1416.071899, -2287.439941, 27.056875, 0.000000, 0.000000, 90.000000, 300.00, 300.00); SetDynamicObjectMaterialText(hotelyugoslavia, 0, "BRASIL POBRE ", 120, "DGHD", 60, 1, 0xFFFFFFFF, 0x00000000, 1); hotelyugoslavia = CreateDynamicObjectEx(7914, 1415.071533, -2287.439941, 27.056875, 0.000000, 0.000000, 270.000000, 300.00, 300.00); SetDynamicObjectMaterialText(hotelyugoslavia, 0, "BRASIL POBRE ", 120, "DGHD", 60, 1, 0xFFFFFFFF, 0x00000000, 1); hotelyugoslavia = CreateDynamicObjectEx(7914, 1415.071533, -2287.439941, 29.956882, 0.000000, 0.000000, 270.000000, 300.00, 300.00); SetDynamicObjectMaterialText(hotelyugoslavia, 0, "BEM-VINDO AO", 120, "DGHD", 70, 1, 0xFFFFFFFF, 0x00000000, 1); hotelyugoslavia = CreateDynamicObjectEx(18766, 1423.621704, -2273.572509, 10.666718, 0.000000, 0.000000, 84.299964, 300.00, 300.00); SetDynamicObjectMaterial(hotelyugoslavia, 0, 4829, "airport_las", "Grass_128HV", 0x00000000); hotelyugoslavia = CreateDynamicObjectEx(18766, 1423.887817, -2270.906250, 10.666718, 0.000000, 0.000000, 84.299964, 300.00, 300.00); SetDynamicObjectMaterial(hotelyugoslavia, 0, 4829, "airport_las", "Grass_128HV", 0x00000000); hotelyugoslavia = CreateDynamicObjectEx(18766, 1426.074584, -2261.844726, 10.666718, 0.000000, 0.000000, 68.899963, 300.00, 300.00); SetDynamicObjectMaterial(hotelyugoslavia, 0, 4829, "airport_las", "Grass_128HV", 0x00000000); hotelyugoslavia = CreateDynamicObjectEx(18766, 1430.565185, -2253.425048, 10.666718, 0.000000, 0.000000, 55.199958, 300.00, 300.00); SetDynamicObjectMaterial(hotelyugoslavia, 0, 4829, "airport_las", "Grass_128HV", 0x00000000); hotelyugoslavia = CreateDynamicObjectEx(18766, 1430.999389, -2252.801025, 10.666718, 0.000000, 0.000000, 55.199958, 300.00, 300.00); SetDynamicObjectMaterial(hotelyugoslavia, 0, 4829, "airport_las", "Grass_128HV", 0x00000000); hotelyugoslavia = CreateDynamicObjectEx(18766, 1437.618530, -2245.504882, 10.666718, 0.000000, 0.000000, 40.699962, 300.00, 300.00); SetDynamicObjectMaterial(hotelyugoslavia, 0, 4829, "airport_las", "Grass_128HV", 0x00000000); hotelyugoslavia = CreateDynamicObjectEx(18766, 1445.653564, -2240.277832, 10.666718, 0.000000, 0.000000, 25.599962, 300.00, 300.00); SetDynamicObjectMaterial(hotelyugoslavia, 0, 4829, "airport_las", "Grass_128HV", 0x00000000); hotelyugoslavia = CreateDynamicObjectEx(18766, 1447.728271, -2239.284423, 10.666718, 0.000000, 0.000000, 25.599962, 300.00, 300.00); SetDynamicObjectMaterial(hotelyugoslavia, 0, 4829, "airport_las", "Grass_128HV", 0x00000000); hotelyugoslavia = CreateDynamicObjectEx(18766, 1456.835083, -2236.433105, 10.666718, 0.000000, 0.000000, 8.999961, 300.00, 300.00); SetDynamicObjectMaterial(hotelyugoslavia, 0, 4829, "airport_las", "Grass_128HV", 0x00000000); hotelyugoslavia = CreateDynamicObjectEx(18766, 1461.190307, -2235.742919, 10.666718, 0.000000, 0.000000, 8.999961, 300.00, 300.00); SetDynamicObjectMaterial(hotelyugoslavia, 0, 4829, "airport_las", "Grass_128HV", 0x00000000); hotelyugoslavia = CreateDynamicObjectEx(18766, 1423.783081, -2299.816650, 10.586716, 0.000000, 0.000000, 98.199966, 300.00, 300.00); SetDynamicObjectMaterial(hotelyugoslavia, 0, 4829, "airport_las", "Grass_128HV", 0x00000000); hotelyugoslavia = CreateDynamicObjectEx(18766, 1424.450439, -2304.449462, 10.586716, 0.000000, 0.000000, 98.199966, 300.00, 300.00); SetDynamicObjectMaterial(hotelyugoslavia, 0, 4829, "airport_las", "Grass_128HV", 0x00000000); hotelyugoslavia = CreateDynamicObjectEx(18766, 1427.281860, -2313.521972, 10.586716, 0.000000, 0.000000, 116.199920, 300.00, 300.00); SetDynamicObjectMaterial(hotelyugoslavia, 0, 4829, "airport_las", "Grass_128HV", 0x00000000); hotelyugoslavia = CreateDynamicObjectEx(18766, 1428.041870, -2315.065917, 10.586716, 0.000000, 0.000000, 116.199920, 300.00, 300.00); SetDynamicObjectMaterial(hotelyugoslavia, 0, 4829, "airport_las", "Grass_128HV", 0x00000000); hotelyugoslavia = CreateDynamicObjectEx(18766, 1433.257446, -2323.020751, 10.556710, 0.000000, 0.000000, 130.699935, 300.00, 300.00); SetDynamicObjectMaterial(hotelyugoslavia, 0, 4829, "airport_las", "Grass_128HV", 0x00000000); hotelyugoslavia = CreateDynamicObjectEx(18766, 1433.609497, -2323.429443, 10.556710, 0.000000, 0.000000, 130.699935, 300.00, 300.00); SetDynamicObjectMaterial(hotelyugoslavia, 0, 4829, "airport_las", "Grass_128HV", 0x00000000); hotelyugoslavia = CreateDynamicObjectEx(18766, 1440.821044, -2329.963134, 10.556710, 0.000000, 0.000000, 145.199966, 300.00, 300.00); SetDynamicObjectMaterial(hotelyugoslavia, 0, 4829, "airport_las", "Grass_128HV", 0x00000000); hotelyugoslavia = CreateDynamicObjectEx(18766, 1441.395874, -2330.362548, 10.556710, 0.000000, 0.000000, 145.199966, 300.00, 300.00); SetDynamicObjectMaterial(hotelyugoslavia, 0, 4829, "airport_las", "Grass_128HV", 0x00000000); hotelyugoslavia = CreateDynamicObjectEx(18766, 1449.823486, -2334.828857, 10.556710, 0.000000, 0.000000, 159.099945, 300.00, 300.00); SetDynamicObjectMaterial(hotelyugoslavia, 0, 4829, "airport_las", "Grass_128HV", 0x00000000); hotelyugoslavia = CreateDynamicObjectEx(18766, 1459.234497, -2337.174804, 10.556710, 0.000000, 0.000000, 172.699935, 300.00, 300.00); SetDynamicObjectMaterial(hotelyugoslavia, 0, 4829, "airport_las", "Grass_128HV", 0x00000000); hotelyugoslavia = CreateDynamicObjectEx(18766, 1461.357177, -2337.446533, 10.556710, 0.000000, 0.000000, 172.699935, 300.00, 300.00); SetDynamicObjectMaterial(hotelyugoslavia, 0, 4829, "airport_las", "Grass_128HV", 0x00000000); hotelyugoslavia = CreateDynamicObjectEx(18766, 1452.179077, -2287.127685, 14.296875, 0.000000, 0.000000, 90.000000, 300.00, 300.00); SetDynamicObjectMaterial(hotelyugoslavia, 0, 18646, "matcolours", "grey-90-percent", 0x00000000); hotelyugoslavia = CreateDynamicObjectEx(19447, 1456.362792, -2282.701904, 13.916876, 0.000000, 0.000000, 90.000000, 300.00, 300.00); SetDynamicObjectMaterial(hotelyugoslavia, 0, 18646, "matcolours", "grey-10-percent", 0x00000000); hotelyugoslavia = CreateDynamicObjectEx(19447, 1456.362792, -2291.351562, 13.916876, 0.000000, 0.000000, 90.000000, 300.00, 300.00); SetDynamicObjectMaterial(hotelyugoslavia, 0, 18646, "matcolours", "grey-10-percent", 0x00000000); hotelyugoslavia = CreateDynamicObjectEx(19447, 1456.362792, -2289.010253, 13.916876, 0.000000, 0.000000, 90.000000, 300.00, 300.00); SetDynamicObjectMaterial(hotelyugoslavia, 0, 18646, "matcolours", "grey-10-percent", 0x00000000); hotelyugoslavia = CreateDynamicObjectEx(19447, 1456.362792, -2285.370605, 13.916876, 0.000000, 0.000000, 90.000000, 300.00, 300.00); SetDynamicObjectMaterial(hotelyugoslavia, 0, 18646, "matcolours", "grey-10-percent", 0x00000000); hotelyugoslavia = CreateDynamicObjectEx(19447, 1456.362792, -2284.532470, 15.586878, 0.000000, 90.000000, 270.000000, 300.00, 300.00); SetDynamicObjectMaterial(hotelyugoslavia, 0, 18646, "matcolours", "grey-10-percent", 0x00000000); hotelyugoslavia = CreateDynamicObjectEx(19447, 1456.362792, -2287.662597, 15.586878, 0.000000, 90.000000, 270.000000, 300.00, 300.00); SetDynamicObjectMaterial(hotelyugoslavia, 0, 18646, "matcolours", "grey-10-percent", 0x00000000); hotelyugoslavia = CreateDynamicObjectEx(19447, 1456.362792, -2289.653076, 15.586878, 0.000000, 90.000000, 270.000000, 300.00, 300.00); SetDynamicObjectMaterial(hotelyugoslavia, 0, 18646, "matcolours", "grey-10-percent", 0x00000000); hotelyugoslavia = CreateDynamicObjectEx(19447, 1456.362792, -2290.703857, 12.896875, 0.000000, 90.000000, 270.000000, 300.00, 300.00); SetDynamicObjectMaterial(hotelyugoslavia, 0, 18646, "matcolours", "grey-10-percent", 0x00000000); hotelyugoslavia = CreateDynamicObjectEx(19447, 1456.362792, -2283.584716, 12.896875, 0.000000, 90.000000, 270.000000, 300.00, 300.00); SetDynamicObjectMaterial(hotelyugoslavia, 0, 18646, "matcolours", "grey-10-percent", 0x00000000); hotelyugoslavia = CreateDynamicObjectEx(19447, 1456.362792, -2286.001464, 13.916876, 0.000000, 0.000000, 90.000000, 300.00, 300.00); SetDynamicObjectMaterial(hotelyugoslavia, 0, 18646, "matcolours", "grey-10-percent", 0x00000000); hotelyugoslavia = CreateDynamicObjectEx(19447, 1456.362792, -2288.491455, 13.916876, 0.000000, 0.000000, 90.000000, 300.00, 300.00); SetDynamicObjectMaterial(hotelyugoslavia, 0, 18646, "matcolours", "grey-10-percent", 0x00000000); hotelyugoslavia = CreateDynamicObjectEx(19447, 1456.362792, -2287.183349, 15.036879, 0.000000, 90.000000, 270.000000, 300.00, 300.00); SetDynamicObjectMaterial(hotelyugoslavia, 0, 18646, "matcolours", "grey-10-percent", 0x00000000); hotelyugoslavia = CreateDynamicObjectEx(19325, 1451.661376, -2287.182128, 12.226875, 90.000000, 180.000000, 180.000000, 300.00, 300.00); SetDynamicObjectMaterial(hotelyugoslavia, 0, 18646, "matcolours", "grey-80-percent", 0x00000000); hotelyugoslavia = CreateDynamicObjectEx(19087, 1451.656005, -2287.142578, 14.546875, 0.000000, 0.000000, 0.000000, 300.00, 300.00); SetDynamicObjectMaterial(hotelyugoslavia, 0, 18646, "matcolours", "grey-10-percent", 0x00000000); hotelyugoslavia = CreateDynamicObjectEx(19087, 1451.656005, -2287.142578, 14.976875, 0.000000, 0.000000, 0.000000, 300.00, 300.00); SetDynamicObjectMaterial(hotelyugoslavia, 0, 18646, "matcolours", "grey-10-percent", 0x00000000); hotelyugoslavia = CreateDynamicObjectEx(19087, 1451.656005, -2287.252685, 14.976875, 0.000000, 0.000000, 0.000000, 300.00, 300.00); SetDynamicObjectMaterial(hotelyugoslavia, 0, 18646, "matcolours", "grey-10-percent", 0x00000000); hotelyugoslavia = CreateDynamicObjectEx(19087, 1451.656005, -2287.252685, 14.756874, 0.000000, 0.000000, 0.000000, 300.00, 300.00); SetDynamicObjectMaterial(hotelyugoslavia, 0, 18646, "matcolours", "grey-10-percent", 0x00000000); hotelyugoslavia = CreateDynamicObjectEx(19325, 1451.623901, -2287.071777, 16.196882, 0.000000, 0.000000, 0.000000, 300.00, 300.00); SetDynamicObjectMaterialText(hotelyugoslavia, 0, "SPAWN CIVIL", 130, "DGHD", 59, 1, 0xFFFFFFFF, 0x00000000, 1); hotelyugoslavia = CreateDynamicObjectEx(19325, 1461.764282, -2287.071777, 30.616884, 0.000000, 0.000000, 0.000000, 300.00, 300.00); SetDynamicObjectMaterialText(hotelyugoslavia, 0, "SPAWN CIVIL", 130, "DGHD", 59, 1, 0xFFFFFFFF, 0x00000000, 1); ///////////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////// hotelyugoslavia = CreateDynamicObjectEx(1408, 1447.111694, -2282.428710, 12.972299, 0.000000, 0.000000, 180.000000, 300.00, 300.00); hotelyugoslavia = CreateDynamicObjectEx(1408, 1441.200561, -2282.432373, 12.972299, 0.000000, 0.000000, 180.000000, 300.00, 300.00); hotelyugoslavia = CreateDynamicObjectEx(1408, 1453.518798, -2282.410644, 12.972299, 0.000000, 0.000000, 180.000000, 300.00, 300.00); hotelyugoslavia = CreateDynamicObjectEx(1408, 1441.084350, -2291.895507, 12.972299, 0.000000, 0.000000, 0.000000, 300.00, 300.00); hotelyugoslavia = CreateDynamicObjectEx(1408, 1447.249023, -2291.878662, 12.972299, 0.000000, 0.000000, 0.000000, 300.00, 300.00); hotelyugoslavia = CreateDynamicObjectEx(1408, 1453.535644, -2291.691650, 12.972299, 0.000000, 0.000000, 0.000000, 300.00, 300.00); hotelyugoslavia = CreateDynamicObjectEx(1215, 1450.388549, -2291.833251, 12.902150, 0.000000, 0.000000, 0.000000, 300.00, 300.00); hotelyugoslavia = CreateDynamicObjectEx(1215, 1444.137817, -2291.878417, 12.902150, 0.000000, 0.000000, 0.000000, 300.00, 300.00); hotelyugoslavia = CreateDynamicObjectEx(1215, 1438.167114, -2291.852783, 12.902150, 0.000000, 0.000000, 0.000000, 300.00, 300.00); hotelyugoslavia = CreateDynamicObjectEx(1215, 1438.182617, -2282.357910, 12.902150, 0.000000, 0.000000, 0.000000, 300.00, 300.00); hotelyugoslavia = CreateDynamicObjectEx(1215, 1444.087280, -2282.370361, 12.902150, 0.000000, 0.000000, 0.000000, 300.00, 300.00); hotelyugoslavia = CreateDynamicObjectEx(1215, 1450.295043, -2282.459960, 12.902150, 0.000000, 0.000000, 0.000000, 300.00, 300.00); hotelyugoslavia = CreateDynamicObjectEx(1408, 1438.416625, -2279.081054, 12.972299, 0.000000, 0.000000, 270.720123, 300.00, 300.00); hotelyugoslavia = CreateDynamicObjectEx(1408, 1438.894897, -2273.062255, 12.972299, 0.000000, 0.000000, 263.400146, 300.00, 300.00); hotelyugoslavia = CreateDynamicObjectEx(1408, 1440.368530, -2267.035644, 12.972299, 0.000000, 0.000000, 249.240203, 300.00, 300.00); hotelyugoslavia = CreateDynamicObjectEx(1408, 1443.296142, -2261.775146, 12.972299, 0.000000, 0.000000, 235.020217, 300.00, 300.00); hotelyugoslavia = CreateDynamicObjectEx(1408, 1447.501342, -2257.054931, 12.972299, 0.000000, 0.000000, 221.220214, 300.00, 300.00); hotelyugoslavia = CreateDynamicObjectEx(1408, 1453.315795, -2253.267578, 12.972299, 0.000000, 0.000000, 205.860260, 300.00, 300.00); hotelyugoslavia = CreateDynamicObjectEx(1408, 1460.163818, -2251.113281, 12.972299, 0.000000, 0.000000, 189.000244, 300.00, 300.00); hotelyugoslavia = CreateDynamicObjectEx(1408, 1468.104980, -2250.472412, 12.972299, 0.000000, 0.000000, 179.460327, 300.00, 300.00); hotelyugoslavia = CreateDynamicObjectEx(1408, 1438.598754, -2295.154541, 12.972299, 0.000000, 0.000000, 272.520080, 300.00, 300.00); hotelyugoslavia = CreateDynamicObjectEx(1408, 1439.244018, -2301.160888, 12.972299, 0.000000, 0.000000, 280.860107, 300.00, 300.00); hotelyugoslavia = CreateDynamicObjectEx(1408, 1441.353759, -2307.662841, 12.972299, 0.000000, 0.000000, 297.060089, 300.00, 300.00); hotelyugoslavia = CreateDynamicObjectEx(1408, 1444.988891, -2313.421875, 12.972299, 0.000000, 0.000000, 310.860229, 300.00, 300.00); hotelyugoslavia = CreateDynamicObjectEx(1408, 1449.793457, -2317.728027, 12.972299, 0.000000, 0.000000, 325.020233, 300.00, 300.00); hotelyugoslavia = CreateDynamicObjectEx(1408, 1455.232055, -2320.654296, 12.972299, 0.000000, 0.000000, 339.180297, 300.00, 300.00); hotelyugoslavia = CreateDynamicObjectEx(1215, 1438.360839, -2275.942626, 12.902150, 0.000000, 0.000000, 0.000000, 300.00, 300.00); hotelyugoslavia = CreateDynamicObjectEx(1215, 1439.275268, -2270.010253, 12.902150, 0.000000, 0.000000, 0.000000, 300.00, 300.00); hotelyugoslavia = CreateDynamicObjectEx(1215, 1441.453125, -2264.278076, 12.902150, 0.000000, 0.000000, 0.000000, 300.00, 300.00); hotelyugoslavia = CreateDynamicObjectEx(1215, 1445.109863, -2259.197021, 12.902150, 0.000000, 0.000000, 0.000000, 300.00, 300.00); hotelyugoslavia = CreateDynamicObjectEx(1215, 1450.151000, -2254.880371, 12.902150, 0.000000, 0.000000, 0.000000, 300.00, 300.00); hotelyugoslavia = CreateDynamicObjectEx(1215, 1456.557128, -2251.771728, 12.902150, 0.000000, 0.000000, 0.000000, 300.00, 300.00); hotelyugoslavia = CreateDynamicObjectEx(1215, 1464.106567, -2250.519775, 12.902150, 0.000000, 0.000000, 0.000000, 300.00, 300.00); hotelyugoslavia = CreateDynamicObjectEx(1215, 1471.745239, -2250.568847, 12.902150, 0.000000, 0.000000, 0.000000, 300.00, 300.00); hotelyugoslavia = CreateDynamicObjectEx(1215, 1438.659179, -2298.240478, 12.902150, 0.000000, 0.000000, 0.000000, 300.00, 300.00); hotelyugoslavia = CreateDynamicObjectEx(1215, 1439.734497, -2304.455810, 12.902150, 0.000000, 0.000000, 0.000000, 300.00, 300.00); hotelyugoslavia = CreateDynamicObjectEx(1215, 1442.943359, -2310.809082, 12.902150, 0.000000, 0.000000, 0.000000, 300.00, 300.00); hotelyugoslavia = CreateDynamicObjectEx(1215, 1446.905273, -2315.771240, 12.902150, 0.000000, 0.000000, 0.000000, 300.00, 300.00); hotelyugoslavia = CreateDynamicObjectEx(1215, 1452.414672, -2319.584716, 12.902150, 0.000000, 0.000000, 0.000000, 300.00, 300.00); hotelyugoslavia = CreateDynamicObjectEx(1215, 1458.146972, -2321.827148, 12.902150, 0.000000, 0.000000, 0.000000, 300.00, 300.00); hotelyugoslavia = CreateDynamicObjectEx(717, 1380.251464, -2272.079589, 12.650150, 0.000000, 0.000000, 0.000000, 300.00, 300.00); hotelyugoslavia = CreateDynamicObjectEx(717, 1380.880737, -2301.770751, 12.650150, 0.000000, 0.000000, 0.000000, 300.00, 300.00); hotelyugoslavia = CreateDynamicObjectEx(717, 1391.338012, -2272.070556, 12.650150, 0.000000, 0.000000, 0.000000, 300.00, 300.00); hotelyugoslavia = CreateDynamicObjectEx(717, 1390.555419, -2302.344726, 12.650150, 0.000000, 0.000000, 0.000000, 300.00, 300.00); hotelyugoslavia = CreateDynamicObjectEx(717, 1399.265502, -2272.052978, 12.650150, 0.000000, 0.000000, 0.000000, 300.00, 300.00); hotelyugoslavia = CreateDynamicObjectEx(717, 1397.958007, -2302.685546, 12.650150, 0.000000, 0.000000, 0.000000, 300.00, 300.00); hotelyugoslavia = CreateDynamicObjectEx(717, 1407.602294, -2272.385009, 12.650150, 0.000000, 0.000000, 0.000000, 300.00, 300.00); hotelyugoslavia = CreateDynamicObjectEx(717, 1406.371459, -2302.542724, 12.650150, 0.000000, 0.000000, 0.000000, 300.00, 300.00); hotelyugoslavia = CreateDynamicObjectEx(717, 1445.817260, -2273.422851, 12.650150, 0.000000, 0.000000, 0.000000, 300.00, 300.00); hotelyugoslavia = CreateDynamicObjectEx(717, 1446.418701, -2299.967529, 12.650150, 0.000000, 0.000000, 0.000000, 300.00, 300.00); hotelyugoslavia = CreateDynamicObjectEx(11414, 1464.405517, -2270.591796, 12.526049, 0.000000, 0.000000, -3.839999, 300.00, 300.00); hotelyugoslavia = CreateDynamicObjectEx(11414, 1464.097290, -2302.974365, 12.526049, 0.000000, 0.000000, -3.839999, 300.00, 300.00); hotelyugoslavia = CreateDynamicObjectEx(870, 1441.843627, -2295.597656, 12.741220, 0.000000, 0.000000, -0.059999, 300.00, 300.00); hotelyugoslavia = CreateDynamicObjectEx(870, 1445.270996, -2295.045166, 12.741220, 0.000000, 0.000000, -0.059999, 300.00, 300.00); hotelyugoslavia = CreateDynamicObjectEx(870, 1448.350097, -2294.462646, 12.741220, 0.000000, 0.000000, -0.059999, 300.00, 300.00); hotelyugoslavia = CreateDynamicObjectEx(870, 1440.930786, -2279.831787, 12.741220, 0.000000, 0.000000, -0.059999, 300.00, 300.00); hotelyugoslavia = CreateDynamicObjectEx(870, 1444.276489, -2279.906982, 12.741220, 0.000000, 0.000000, -0.059999, 300.00, 300.00); hotelyugoslavia = CreateDynamicObjectEx(870, 1448.020141, -2279.860107, 12.741220, 0.000000, 0.000000, -0.059999, 300.00, 300.00); //POSTO PERTO DA PIZZARIA new postogas, object_world = -1, object_int = -1,tmpobjid; postogas = CreateDynamicObject(2655, 1928.328491, -1774.801269, 13.703713, 0.000022, 90.000000, 89.999931, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 19655, "mattubes", "greendirt1", 0x00000000); postogas = CreateDynamicObject(1897, 1928.311889, -1775.429321, 13.616864, 0.000000, -0.000022, 179.999862, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 10765, "airportgnd_sfse", "white", 0x00000000); postogas = CreateDynamicObject(1897, 1928.291870, -1775.702148, 13.616864, 0.000000, 0.000022, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 10765, "airportgnd_sfse", "white", 0x00000000); postogas = CreateDynamicObject(19426, 1928.289550, -1773.655517, 14.236889, 0.000000, 0.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 19655, "mattubes", "greendirt1", 0x00000000); postogas = CreateDynamicObject(1897, 1928.291870, -1776.570190, 13.616864, 0.000000, -0.000022, 179.999862, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 10765, "airportgnd_sfse", "white", 0x00000000); postogas = CreateDynamicObject(19466, 1928.307739, -1774.588256, 13.566872, 89.999992, 450.000000, -89.999969, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 18065, "ab_sfammumain", "shelf_glas", 0x00000000); postogas = CreateDynamicObject(18880, 1928.294067, -1772.720947, 15.976885, 0.000000, 180.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 2, 10765, "airportgnd_sfse", "white", 0x00000000); postogas = CreateDynamicObject(19325, 1928.305908, -1769.516845, 13.912822, 0.000000, 0.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 18065, "ab_sfammumain", "shelf_glas", 0xFFFFFFFF); postogas = CreateDynamicObject(19466, 1928.307739, -1776.538330, 13.566872, 89.999992, 450.000000, -89.999969, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 18065, "ab_sfammumain", "shelf_glas", 0x00000000); postogas = CreateDynamicObject(2662, 1928.338378, -1775.009887, 13.676882, 0.000000, 0.000000, 90.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterialText(postogas, 0, "MARKET", 130, "Arial", 60, 1, 0xFFFFFFFF, 0x00000000, 1); postogas = CreateDynamicObject(1897, 1928.271850, -1774.591186, 13.616864, 0.000000, 0.000022, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 10765, "airportgnd_sfse", "white", 0x00000000); postogas = CreateDynamicObject(2655, 1928.328491, -1776.391357, 13.703713, 0.000022, 90.000000, 89.999931, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 19655, "mattubes", "greendirt1", 0x00000000); postogas = CreateDynamicObject(19426, 1928.289550, -1777.505737, 14.236888, 0.000000, 0.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 19655, "mattubes", "greendirt1", 0x00000000); postogas = CreateDynamicObject(18880, 1928.294067, -1778.422485, 15.976884, 0.000000, 180.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 2, 10765, "airportgnd_sfse", "white", 0x00000000); postogas = CreateDynamicObject(19325, 1928.305908, -1781.558105, 13.912821, 0.000000, 0.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 18065, "ab_sfammumain", "shelf_glas", 0xFFFFFFFF); postogas = CreateDynamicObject(2662, 1928.338378, -1776.150634, 13.676882, 0.000000, 0.000000, 90.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterialText(postogas, 0, "SUPER", 130, "Arial", 60, 1, 0xFFFFFFFF, 0x00000000, 1); postogas = CreateDynamicObject(2655, 1928.287719, -1774.801269, 13.703713, 0.000022, 90.000000, 269.999938, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 19655, "mattubes", "greendirt1", 0x00000000); postogas = CreateDynamicObject(2655, 1928.285400, -1776.381347, 13.703713, 0.000022, 90.000000, 269.999938, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 19655, "mattubes", "greendirt1", 0x00000000); postogas = CreateDynamicObject(18880, 1928.294067, -1766.250366, 15.976885, 0.000000, 180.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 2, 10765, "airportgnd_sfse", "white", 0x00000000); postogas = CreateDynamicObject(19325, 1924.875976, -1766.215209, 13.912822, 0.000000, 0.000000, 90.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 18065, "ab_sfammumain", "shelf_glas", 0xFFFFFFFF); postogas = CreateDynamicObject(19353, 1920.081909, -1766.263671, 14.249073, 0.000000, 0.000000, 90.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 16639, "a51_labs", "a51_labwall1", 0x00000000); postogas = CreateDynamicObject(19353, 1916.902099, -1766.263671, 14.249073, 0.000000, 0.000000, 90.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 16639, "a51_labs", "a51_labwall1", 0x00000000); postogas = CreateDynamicObject(19445, 1914.304199, -1776.594482, 14.232809, 0.000000, 0.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 16639, "a51_labs", "a51_labwall1", 0x00000000); postogas = CreateDynamicObject(19426, 1915.039794, -1771.863891, 14.236887, 0.000000, 0.000000, 90.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 16639, "a51_labs", "a51_labwall1", 0x00000000); postogas = CreateDynamicObject(19376, 1923.044799, -1780.135253, 12.496848, 0.000000, 90.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 18081, "cj_barb", "ab_marble_checks", 0xFFFFFFFF); postogas = CreateDynamicObject(19376, 1923.044799, -1771.016357, 12.496848, 0.000000, 90.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 18081, "cj_barb", "ab_marble_checks", 0xFFFFFFFF); postogas = CreateDynamicObject(19445, 1916.045043, -1780.125000, 12.492811, 0.000000, 90.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 18081, "cj_barb", "ab_marble_checks", 0xFFFFFFFF); postogas = CreateDynamicObject(19445, 1916.045043, -1771.025756, 12.492811, 0.000000, 90.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 18081, "cj_barb", "ab_marble_checks", 0xFFFFFFFF); postogas = CreateDynamicObject(19353, 1915.241699, -1767.783447, 14.249073, 0.000000, 0.000000, 180.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 16639, "a51_labs", "a51_labwall1", 0x00000000); postogas = CreateDynamicObject(19353, 1915.241699, -1770.294921, 14.249073, 0.000000, 0.000000, 180.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 16639, "a51_labs", "a51_labwall1", 0x00000000); postogas = CreateDynamicObject(19445, 1919.135253, -1784.934326, 14.232809, 0.000000, 0.000000, 90.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 16639, "a51_labs", "a51_labwall1", 0x00000000); postogas = CreateDynamicObject(18880, 1928.294067, -1784.932983, 15.976884, 0.000000, 180.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 2, 10765, "airportgnd_sfse", "white", 0x00000000); postogas = CreateDynamicObject(19089, 1928.301025, -1769.957031, 15.973294, 0.000000, 0.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 10765, "airportgnd_sfse", "white", 0x00000000); postogas = CreateDynamicObject(19172, 1928.300537, -1767.714477, 13.390835, 0.000000, 0.000000, 90.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 7088, "casinoshops1", "247sign1", 0x00000000); SetDynamicObjectMaterial(postogas, 1, 7088, "casinoshops1", "247sign1", 0x00000000); postogas = CreateDynamicObject(19172, 1928.300537, -1771.325317, 13.390835, 0.000000, 0.000000, 90.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 7088, "casinoshops1", "247sign1", 0x00000000); SetDynamicObjectMaterial(postogas, 1, 7088, "casinoshops1", "247sign1", 0x00000000); postogas = CreateDynamicObject(19089, 1928.301025, -1769.086181, 15.973294, 0.000000, 0.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 10765, "airportgnd_sfse", "white", 0x00000000); postogas = CreateDynamicObject(1897, 1928.271850, -1775.579467, 14.626874, 90.000000, 89.999977, 269.999877, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 10765, "airportgnd_sfse", "white", 0x00000000); postogas = CreateDynamicObject(1897, 1928.271850, -1775.579467, 12.466865, 90.000000, 89.999977, 269.999877, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 10765, "airportgnd_sfse", "white", 0x00000000); postogas = CreateDynamicObject(19089, 1928.301025, -1782.131347, 15.973294, 0.000000, 0.000007, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 10765, "airportgnd_sfse", "white", 0x00000000); postogas = CreateDynamicObject(19172, 1928.300537, -1779.888793, 13.390835, 0.000007, 0.000000, 89.999977, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 7088, "casinoshops1", "247sign1", 0x00000000); SetDynamicObjectMaterial(postogas, 1, 7088, "casinoshops1", "247sign1", 0x00000000); postogas = CreateDynamicObject(19172, 1928.300537, -1783.499633, 13.390835, 0.000007, 0.000000, 89.999977, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 7088, "casinoshops1", "247sign1", 0x00000000); SetDynamicObjectMaterial(postogas, 1, 7088, "casinoshops1", "247sign1", 0x00000000); postogas = CreateDynamicObject(19089, 1928.301025, -1781.260498, 15.973294, 0.000000, 0.000007, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 10765, "airportgnd_sfse", "white", 0x00000000); postogas = CreateDynamicObject(19089, 1925.455688, -1766.222778, 15.973294, 0.000022, 0.000014, 89.999900, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 10765, "airportgnd_sfse", "white", 0x00000000); postogas = CreateDynamicObject(19172, 1923.213134, -1766.223266, 13.390835, 0.000014, -0.000022, 179.999786, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 7088, "casinoshops1", "247sign1", 0x00000000); SetDynamicObjectMaterial(postogas, 1, 7088, "casinoshops1", "247sign1", 0x00000000); postogas = CreateDynamicObject(19172, 1926.823974, -1766.223266, 13.390835, 0.000014, -0.000022, 179.999786, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 7088, "casinoshops1", "247sign1", 0x00000000); SetDynamicObjectMaterial(postogas, 1, 7088, "casinoshops1", "247sign1", 0x00000000); postogas = CreateDynamicObject(19089, 1924.584838, -1766.222778, 15.973294, 0.000022, 0.000014, 89.999900, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 10765, "airportgnd_sfse", "white", 0x00000000); postogas = CreateDynamicObject(18880, 1921.784301, -1766.250366, 15.976884, 0.000000, 180.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 2, 16639, "a51_labs", "a51_labwall1", 0x00000000); postogas = CreateDynamicObject(19866, 1927.948730, -1769.093872, 16.070556, 0.000000, 90.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 16640, "a51", "vgs_shopwall01_128", 0x00000000); postogas = CreateDynamicObject(19866, 1926.208374, -1766.603759, 16.070556, 0.000000, 90.000000, 90.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 16640, "a51", "vgs_shopwall01_128", 0x00000000); postogas = CreateDynamicObject(19866, 1928.319091, -1768.613403, 15.960554, 0.000000, 0.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 16640, "a51", "vgs_shopwall01_128", 0x00000000); postogas = CreateDynamicObject(19866, 1925.718383, -1766.211914, 15.960554, 0.000000, 0.000000, 90.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 16640, "a51", "vgs_shopwall01_128", 0x00000000); postogas = CreateDynamicObject(19866, 1927.948730, -1774.093017, 16.070556, 0.000000, 90.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 16640, "a51", "vgs_shopwall01_128", 0x00000000); postogas = CreateDynamicObject(19866, 1927.948730, -1779.092285, 16.070556, 0.000000, 90.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 16640, "a51", "vgs_shopwall01_128", 0x00000000); postogas = CreateDynamicObject(19866, 1927.948730, -1782.863159, 16.070556, 0.000000, 90.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 16640, "a51", "vgs_shopwall01_128", 0x00000000); postogas = CreateDynamicObject(19325, 1924.976074, -1784.969116, 13.912820, 0.000000, 0.000000, 90.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 18065, "ab_sfammumain", "shelf_glas", 0xFFFFFFFF); postogas = CreateDynamicObject(19325, 1914.295776, -1781.667968, 13.912820, 0.000000, 0.000000, 180.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 18065, "ab_sfammumain", "shelf_glas", 0xFFFFFFFF); postogas = CreateDynamicObject(19172, 1926.190551, -1784.971069, 13.390834, 0.000007, 0.000000, 179.999969, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 7088, "casinoshops1", "247sign1", 0x00000000); SetDynamicObjectMaterial(postogas, 1, 7088, "casinoshops1", "247sign1", 0x00000000); postogas = CreateDynamicObject(18880, 1924.063232, -1784.932983, 15.976883, 0.000000, 180.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 2, 16639, "a51_labs", "a51_labwall1", 0x00000000); postogas = CreateDynamicObject(18880, 1914.303344, -1784.932983, 15.976883, 0.000000, 180.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 2, 16639, "a51_labs", "a51_labwall1", 0x00000000); postogas = CreateDynamicObject(18880, 1914.303344, -1781.502197, 15.976883, 0.000000, 180.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 2, 16639, "a51_labs", "a51_labwall1", 0x00000000); postogas = CreateDynamicObject(19089, 1927.540649, -1784.970458, 15.973294, 0.000000, 0.000007, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 10765, "airportgnd_sfse", "white", 0x00000000); postogas = CreateDynamicObject(19089, 1924.840087, -1784.970458, 15.973294, 0.000000, 0.000007, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 10765, "airportgnd_sfse", "white", 0x00000000); postogas = CreateDynamicObject(2662, 1928.333251, -1781.673217, 13.385739, 0.000000, 0.000000, 90.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 19655, "mattubes", "greendirt1", 0x00000000); postogas = CreateDynamicObject(2662, 1928.273193, -1781.673217, 13.385739, 0.000000, 0.000000, 270.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 19655, "mattubes", "greendirt1", 0x00000000); postogas = CreateDynamicObject(2662, 1928.333251, -1769.461914, 13.385739, 0.000007, 0.000000, 89.999977, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 19655, "mattubes", "greendirt1", 0x00000000); postogas = CreateDynamicObject(2662, 1928.273193, -1769.461914, 13.385739, -0.000007, 0.000000, -89.999977, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 19655, "mattubes", "greendirt1", 0x00000000); postogas = CreateDynamicObject(2662, 1925.012207, -1766.191040, 13.385739, 0.000014, -0.000014, 179.999832, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 19655, "mattubes", "greendirt1", 0x00000000); postogas = CreateDynamicObject(2662, 1925.012207, -1766.251098, 13.385739, -0.000014, 0.000014, 0.000014, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 19655, "mattubes", "greendirt1", 0x00000000); postogas = CreateDynamicObject(2662, 1923.991210, -1784.942382, 13.385739, 0.000014, -0.000029, 179.999740, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 19655, "mattubes", "greendirt1", 0x00000000); postogas = CreateDynamicObject(2662, 1923.991210, -1785.002441, 13.385739, -0.000014, 0.000029, 0.000014, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 19655, "mattubes", "greendirt1", 0x00000000); postogas = CreateDynamicObject(2662, 1927.321533, -1784.942382, 13.385739, 0.000014, -0.000037, 179.999694, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 19655, "mattubes", "greendirt1", 0x00000000); postogas = CreateDynamicObject(2662, 1927.321533, -1785.002441, 13.385739, -0.000014, 0.000037, 0.000014, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 19655, "mattubes", "greendirt1", 0x00000000); postogas = CreateDynamicObject(19172, 1914.298217, -1783.215454, 13.390834, -0.000007, -0.000007, 89.999969, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 7088, "casinoshops1", "247sign1", 0x00000000); SetDynamicObjectMaterial(postogas, 1, 7088, "casinoshops1", "247sign1", 0x00000000); postogas = CreateDynamicObject(19089, 1914.298828, -1784.565551, 15.973294, 0.000014, 0.000014, -90.000045, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 10765, "airportgnd_sfse", "white", 0x00000000); postogas = CreateDynamicObject(19089, 1914.298828, -1781.864990, 15.973294, 0.000014, 0.000014, -90.000045, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 10765, "airportgnd_sfse", "white", 0x00000000); postogas = CreateDynamicObject(2662, 1914.326904, -1781.016113, 13.385739, 0.000000, -0.000037, 89.999740, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 19655, "mattubes", "greendirt1", 0x00000000); postogas = CreateDynamicObject(2662, 1914.266845, -1781.016113, 13.385739, 0.000000, 0.000037, -90.000030, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 19655, "mattubes", "greendirt1", 0x00000000); postogas = CreateDynamicObject(2662, 1914.326904, -1784.046508, 13.385739, 0.000007, -0.000045, 89.999671, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 19655, "mattubes", "greendirt1", 0x00000000); postogas = CreateDynamicObject(2662, 1914.266845, -1784.046508, 13.385739, -0.000007, 0.000045, -90.000007, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 19655, "mattubes", "greendirt1", 0x00000000); postogas = CreateDynamicObject(19866, 1928.319091, -1773.603149, 15.960554, 0.000000, 0.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 16640, "a51", "vgs_shopwall01_128", 0x00000000); postogas = CreateDynamicObject(19866, 1928.319091, -1778.592529, 15.960554, 0.000000, 0.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 16640, "a51", "vgs_shopwall01_128", 0x00000000); postogas = CreateDynamicObject(19866, 1928.319091, -1782.572875, 15.960554, 0.000000, 0.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 16640, "a51", "vgs_shopwall01_128", 0x00000000); postogas = CreateDynamicObject(19866, 1925.458618, -1784.612060, 16.070556, 0.000000, 90.000000, 270.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 16640, "a51", "vgs_shopwall01_128", 0x00000000); postogas = CreateDynamicObject(19866, 1925.899169, -1784.984130, 15.960554, 0.000000, 0.000000, 270.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 16640, "a51", "vgs_shopwall01_128", 0x00000000); postogas = CreateDynamicObject(19866, 1920.467895, -1784.612060, 16.070556, 0.000000, 90.000000, 270.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 16640, "a51", "vgs_shopwall01_128", 0x00000000); postogas = CreateDynamicObject(19866, 1916.436523, -1784.612060, 16.070556, 0.000000, 90.000000, 270.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 16640, "a51", "vgs_shopwall01_128", 0x00000000); postogas = CreateDynamicObject(19866, 1920.909179, -1784.984130, 15.960554, 0.000000, 0.000000, 270.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 16640, "a51", "vgs_shopwall01_128", 0x00000000); postogas = CreateDynamicObject(19866, 1916.708862, -1784.984130, 15.960554, 0.000000, 0.000000, 270.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 16640, "a51", "vgs_shopwall01_128", 0x00000000); postogas = CreateDynamicObject(19866, 1913.926635, -1782.852661, 16.070556, 0.000000, 90.000000, 360.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 16640, "a51", "vgs_shopwall01_128", 0x00000000); postogas = CreateDynamicObject(19866, 1914.307861, -1782.573486, 15.960554, 0.000000, 0.000000, 360.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 16640, "a51", "vgs_shopwall01_128", 0x00000000); postogas = CreateDynamicObject(19866, 1913.926635, -1777.873046, 16.070556, 0.000000, 90.000000, 360.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 16640, "a51", "vgs_shopwall01_128", 0x00000000); postogas = CreateDynamicObject(19866, 1913.926635, -1774.112304, 16.070556, 0.000000, 90.000000, 360.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 16640, "a51", "vgs_shopwall01_128", 0x00000000); postogas = CreateDynamicObject(19866, 1914.307861, -1777.603271, 15.960554, 0.000000, 0.000000, 360.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 16640, "a51", "vgs_shopwall01_128", 0x00000000); postogas = CreateDynamicObject(19866, 1914.307861, -1773.924194, 15.960554, 0.000000, 0.000000, 360.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 16640, "a51", "vgs_shopwall01_128", 0x00000000); postogas = CreateDynamicObject(19376, 1923.044799, -1780.135253, 16.156877, 0.000000, 90.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 9903, "pier69", "rooftop_gz4", 0xFFFFFFFF); postogas = CreateDynamicObject(19376, 1923.044799, -1771.113769, 16.156877, 0.000000, 90.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 9903, "pier69", "rooftop_gz4", 0xFFFFFFFF); postogas = CreateDynamicObject(19445, 1916.045043, -1780.125000, 16.152835, 0.000000, 90.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 9903, "pier69", "rooftop_gz4", 0xFFFFFFFF); postogas = CreateDynamicObject(19445, 1917.005859, -1771.114868, 16.152835, 0.000000, 90.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 9903, "pier69", "rooftop_gz4", 0xFFFFFFFF); postogas = CreateDynamicObject(19866, 1921.228515, -1766.603759, 16.070556, 0.000000, 90.000000, 90.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 16640, "a51", "vgs_shopwall01_128", 0x00000000); postogas = CreateDynamicObject(19866, 1920.758544, -1766.211914, 15.960554, 0.000000, 0.000000, 90.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 16640, "a51", "vgs_shopwall01_128", 0x00000000); postogas = CreateDynamicObject(19172, 1928.300537, -1775.577026, 15.500849, 0.000000, 0.000000, 90.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 16639, "a51_labs", "a51_labwall1", 0x00000000); SetDynamicObjectMaterial(postogas, 1, 16639, "a51_labs", "a51_labwall1", 0x00000000); postogas = CreateDynamicObject(19353, 1915.752197, -1767.783447, 14.249073, 0.000000, -0.000007, 179.999954, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 16639, "a51_labs", "a51_labwall1", 0x00000000); postogas = CreateDynamicObject(19353, 1915.752197, -1770.294921, 14.249073, 0.000000, -0.000007, 179.999954, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 16639, "a51_labs", "a51_labwall1", 0x00000000); postogas = CreateDynamicObject(19866, 1917.296997, -1766.603759, 16.070556, 0.000000, 90.000000, 90.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 16640, "a51", "vgs_shopwall01_128", 0x00000000); postogas = CreateDynamicObject(19866, 1914.797119, -1769.094604, 16.070556, 0.000000, 90.000000, 360.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 16640, "a51", "vgs_shopwall01_128", 0x00000000); postogas = CreateDynamicObject(19866, 1917.677612, -1766.211914, 15.960554, 0.000000, 0.000000, 90.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 16640, "a51", "vgs_shopwall01_128", 0x00000000); postogas = CreateDynamicObject(19866, 1915.276855, -1768.812744, 15.960554, 0.000000, 0.000000, 360.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 16640, "a51", "vgs_shopwall01_128", 0x00000000); postogas = CreateDynamicObject(19866, 1916.427246, -1772.173828, 16.070556, 0.000000, 90.000000, 450.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 16640, "a51", "vgs_shopwall01_128", 0x00000000); postogas = CreateDynamicObject(19383, 1916.959350, -1772.296386, 14.245261, 0.000000, 0.000000, 70.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 16639, "a51_labs", "a51_labwall1", 0x00000000); postogas = CreateDynamicObject(19353, 1921.561401, -1767.944213, 14.249073, 0.000000, 0.000000, 180.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 16639, "a51_labs", "a51_labwall1", 0x00000000); postogas = CreateDynamicObject(19353, 1921.561401, -1771.143920, 14.249073, 0.000000, 0.000000, 180.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 16639, "a51_labs", "a51_labwall1", 0x00000000); postogas = CreateDynamicObject(19353, 1920.042114, -1772.835449, 14.249073, 0.000000, 0.000000, 270.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 16639, "a51_labs", "a51_labwall1", 0x00000000); postogas = CreateDynamicObject(2691, 1919.985595, -1772.962158, 14.588752, 0.000000, 0.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 2821, "gb_foodwrap01", "GB_foodwrap04", 0x00000000); postogas = CreateDynamicObject(2660, 1915.878784, -1770.578979, 14.432792, 0.000000, 0.000000, 90.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 2821, "gb_foodwrap01", "GB_foodwrap02", 0x00000000); postogas = CreateDynamicObject(2660, 1915.878784, -1768.909057, 14.432792, 0.000000, 0.000000, 90.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 2821, "gb_foodwrap01", "GB_foodwrap03", 0x00000000); postogas = CreateDynamicObject(2660, 1915.878784, -1767.349243, 14.432792, 0.000000, 0.000000, 90.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 2821, "gb_foodwrap01", "GB_foodwrap03", 0x00000000); postogas = CreateDynamicObject(2660, 1915.878784, -1767.349243, 14.432792, 0.000000, 0.000000, 90.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 2821, "gb_foodwrap01", "GB_foodwrap03", 0x00000000); postogas = CreateDynamicObject(2608, 1918.140136, -1766.588623, 14.012805, 0.000000, 0.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 1, 1419, "break_fence3", "CJ_FRAME_Glass", 0x00000000); SetDynamicObjectMaterial(postogas, 3, 1419, "break_fence3", "CJ_FRAME_Glass", 0x00000000); SetDynamicObjectMaterial(postogas, 5, 1419, "break_fence3", "CJ_FRAME_Glass", 0x00000000); postogas = CreateDynamicObject(19172, 1916.368286, -1784.836669, 15.250841, -0.000007, -0.000014, 179.999923, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 7088, "casinoshops1", "247sign1", 0x00000000); SetDynamicObjectMaterial(postogas, 1, 7088, "casinoshops1", "247sign1", 0x00000000); postogas = CreateDynamicObject(19172, 1919.088256, -1784.836669, 15.250841, -0.000007, -0.000014, 179.999923, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 7088, "casinoshops1", "247sign1", 0x00000000); SetDynamicObjectMaterial(postogas, 1, 7088, "casinoshops1", "247sign1", 0x00000000); postogas = CreateDynamicObject(19172, 1921.818359, -1784.836669, 15.250841, -0.000007, -0.000014, 179.999923, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 7088, "casinoshops1", "247sign1", 0x00000000); SetDynamicObjectMaterial(postogas, 1, 7088, "casinoshops1", "247sign1", 0x00000000); postogas = CreateDynamicObject(19089, 1917.729736, -1784.824951, 15.973294, 0.000014, 0.000014, -90.000045, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 10765, "airportgnd_sfse", "white", 0x00000000); postogas = CreateDynamicObject(19089, 1920.449951, -1784.824951, 15.973294, 0.000014, 0.000014, -90.000045, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 10765, "airportgnd_sfse", "white", 0x00000000); postogas = CreateDynamicObject(19426, 1915.039794, -1773.585205, 16.156892, 0.000000, 90.000000, 90.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 9903, "pier69", "rooftop_gz4", 0xFFFFFFFF); postogas = CreateDynamicObject(19376, 1923.044799, -1780.135253, 16.056875, 0.000000, 90.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 10891, "bakery_sfse", "cabin6", 0xFFFFFFFF); postogas = CreateDynamicObject(18075, 1921.240722, -1778.958496, 16.042793, 0.000000, 0.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 16640, "a51", "des_tunnellight", 0x00000000); SetDynamicObjectMaterial(postogas, 1, 14477, "crlsbits", "lightbulb", 0x00000000); postogas = CreateDynamicObject(19376, 1923.044799, -1770.945800, 16.056875, 0.000000, 90.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 10891, "bakery_sfse", "cabin6", 0xFFFFFFFF); postogas = CreateDynamicObject(18075, 1921.240722, -1774.637451, 16.042793, 0.000000, 0.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 16640, "a51", "des_tunnellight", 0x00000000); SetDynamicObjectMaterial(postogas, 1, 14477, "crlsbits", "lightbulb", 0x00000000); postogas = CreateDynamicObject(19445, 1916.045043, -1780.125000, 16.052833, 0.000000, 90.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 10891, "bakery_sfse", "cabin6", 0xFFFFFFFF); postogas = CreateDynamicObject(19445, 1916.915893, -1770.975952, 16.052833, 0.000000, 90.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 10891, "bakery_sfse", "cabin6", 0xFFFFFFFF); postogas = CreateDynamicObject(19426, 1915.039794, -1773.585205, 16.046890, 0.000000, 90.000000, 90.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 10891, "bakery_sfse", "cabin6", 0xFFFFFFFF); postogas = CreateDynamicObject(19172, 1921.665649, -1771.078857, 15.250841, -0.000029, -0.000022, -89.999992, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 7088, "casinoshops1", "247sign1", 0x00000000); SetDynamicObjectMaterial(postogas, 1, 7088, "casinoshops1", "247sign1", 0x00000000); postogas = CreateDynamicObject(19172, 1921.665649, -1768.358886, 15.250841, -0.000029, -0.000022, -89.999992, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 7088, "casinoshops1", "247sign1", 0x00000000); SetDynamicObjectMaterial(postogas, 1, 7088, "casinoshops1", "247sign1", 0x00000000); postogas = CreateDynamicObject(19089, 1921.653930, -1769.717407, 15.973294, 0.000007, 0.000036, -0.000052, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 10765, "airportgnd_sfse", "white", 0x00000000); postogas = CreateDynamicObject(2662, 1928.328369, -1771.339599, 14.266874, 0.000000, 0.000000, 90.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterialText(postogas, 0, "AatBalthazar", 130, "Arial", 60, 1, 0xFFFFFFFF, 0x00000000, 1); postogas = CreateDynamicObject(1977, 1928.937744, -1773.592041, 12.453449, 0.000022, 0.000014, 89.999900, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 19962, "samproadsigns", "materialtext1", 0x00000000); postogas = CreateDynamicObject(2490, 1929.192016, -1773.720092, 13.325204, 0.000022, 0.000014, 89.999900, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 19962, "samproadsigns", "materialtext1", 0x00000000); SetDynamicObjectMaterial(postogas, 1, 2541, "cj_ss_1", "cj_juice", 0x00000000); SetDynamicObjectMaterial(postogas, 2, 19962, "samproadsigns", "materialtext1", 0x00000000); postogas = CreateDynamicObject(2490, 1929.151977, -1773.720092, 13.505208, 0.000022, 0.000014, 89.999900, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 19962, "samproadsigns", "materialtext1", 0x00000000); SetDynamicObjectMaterial(postogas, 1, 2541, "cj_ss_1", "CJ_CEREAL", 0x00000000); SetDynamicObjectMaterial(postogas, 2, 19962, "samproadsigns", "materialtext1", 0x00000000); postogas = CreateDynamicObject(2490, 1929.192016, -1773.720092, 13.845213, 0.000022, 0.000014, 89.999900, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 19962, "samproadsigns", "materialtext1", 0x00000000); SetDynamicObjectMaterial(postogas, 1, 2535, "cj_ss_4", "CJ_FISHY", 0x00000000); SetDynamicObjectMaterial(postogas, 2, 19962, "samproadsigns", "materialtext1", 0x00000000); postogas = CreateDynamicObject(2490, 1929.151977, -1773.720092, 14.025213, 0.000022, 0.000014, 89.999900, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 19962, "samproadsigns", "materialtext1", 0x00000000); SetDynamicObjectMaterial(postogas, 1, 2543, "cj_ss_3", "CJ_DOOG_FOOD", 0x00000000); SetDynamicObjectMaterial(postogas, 2, 19962, "samproadsigns", "materialtext1", 0x00000000); postogas = CreateDynamicObject(2490, 1929.192016, -1773.720092, 14.355216, 0.000022, 0.000014, 89.999900, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 19962, "samproadsigns", "materialtext1", 0x00000000); SetDynamicObjectMaterial(postogas, 1, 10310, "boigas_sfe", "vgnburger_256", 0x00000000); SetDynamicObjectMaterial(postogas, 2, 19962, "samproadsigns", "materialtext1", 0x00000000); postogas = CreateDynamicObject(2443, 1928.893188, -1773.604736, 12.298362, 0.000022, 0.000014, 89.999900, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 19962, "samproadsigns", "materialtext1", 0x00000000); SetDynamicObjectMaterial(postogas, 1, 19962, "samproadsigns", "materialtext1", 0x00000000); SetDynamicObjectMaterial(postogas, 2, 19962, "samproadsigns", "materialtext1", 0x00000000); SetDynamicObjectMaterial(postogas, 3, 19962, "samproadsigns", "materialtext1", 0x00000000); SetDynamicObjectMaterial(postogas, 4, 19962, "samproadsigns", "materialtext1", 0x00000000); SetDynamicObjectMaterial(postogas, 5, 19962, "samproadsigns", "materialtext1", 0x00000000); postogas = CreateDynamicObject(19797, 1929.367797, -1773.288940, 14.163387, 0.000022, 90.000015, 89.999923, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterialText(postogas, 0, "g", 130, "Webdings", 40, 1, 0xFFFFFFFF, 0x00000000, 1); postogas = CreateDynamicObject(1897, 1923.818481, -1786.019775, 13.316308, 18.000000, 180.000000, 179.999847, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 11712, "cross1", "cross1", 0x00000000); postogas = CreateDynamicObject(1897, 1923.818481, -1785.269042, 13.369308, -18.000000, 180.000000, 179.999832, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 11712, "cross1", "cross1", 0x00000000); postogas = CreateDynamicObject(1897, 1922.775512, -1785.721313, 14.537315, -89.999992, 180.000015, 89.999961, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 11712, "cross1", "cross1", 0x00000000); postogas = CreateDynamicObject(1897, 1922.175537, -1785.744018, 14.534317, -89.999992, -334.403289, 115.596694, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 11712, "cross1", "cross1", 0x00000000); postogas = CreateDynamicObject(1897, 1921.108520, -1786.019775, 13.316308, 18.000000, 180.000015, 179.999847, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 11712, "cross1", "cross1", 0x00000000); postogas = CreateDynamicObject(1897, 1921.108520, -1785.269042, 13.369308, -18.000000, 180.000015, 179.999832, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 11712, "cross1", "cross1", 0x00000000); postogas = CreateDynamicObject(2431, 1921.508422, -1785.145385, 14.656902, 74.999992, 0.000058, -0.000072, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 11712, "cross1", "cross1", 0xFFFFFFFF); SetDynamicObjectMaterial(postogas, 1, 11712, "cross1", "cross1", 0x00000000); SetDynamicObjectMaterial(postogas, 2, 11712, "cross1", "cross1", 0x00000000); SetDynamicObjectMaterial(postogas, 3, 11712, "cross1", "cross1", 0x00000000); SetDynamicObjectMaterial(postogas, 4, 11712, "cross1", "cross1", 0x00000000); postogas = CreateDynamicObject(1368, 1922.459228, -1785.730224, 13.276309, 0.000000, 0.000014, -0.000014, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 11712, "cross1", "cross1", 0xFFFFFFFF); SetDynamicObjectMaterial(postogas, 1, 19962, "samproadsigns", "materialtext1", 0x00000000); SetDynamicObjectMaterial(postogas, 3, 11712, "cross1", "cross1", 0x00000000); postogas = CreateDynamicObject(1270, 1923.696044, -1785.655029, 13.945871, 0.000000, -0.000014, 179.999801, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 2755, "ab_dojowall", "mp_apt1_roomfloor", 0xFFFFFFFF); SetDynamicObjectMaterial(postogas, 1, 2755, "ab_dojowall", "mp_apt1_roomfloor", 0x00000000); postogas = CreateDynamicObject(1270, 1921.256103, -1785.655029, 13.945871, 0.000000, -0.000014, 179.999801, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 2755, "ab_dojowall", "mp_apt1_roomfloor", 0xFFFFFFFF); SetDynamicObjectMaterial(postogas, 1, 2755, "ab_dojowall", "mp_apt1_roomfloor", 0x00000000); postogas = CreateDynamicObject(3465, 1941.334350, -1774.011596, 13.628742, 0.000000, 0.000037, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 1676, "wshxrefpump", "petrolpumpbase_256", 0x00000000); SetDynamicObjectMaterial(postogas, 1, 10789, "xenon_sfse", "ws_xenomart", 0x00000000); postogas = CreateDynamicObject(2682, 1941.316040, -1774.641479, 13.788784, -0.000017, 0.000034, -26.600025, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 5397, "barrio1_lae", "gassign1_256", 0x00000000); postogas = CreateDynamicObject(3465, 1941.345214, -1774.007446, 13.626741, 0.000000, -0.000037, 179.999771, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 1676, "wshxrefpump", "petrolpumpbase_256", 0x00000000); SetDynamicObjectMaterial(postogas, 1, 10789, "xenon_sfse", "ws_xenomart", 0x00000000); postogas = CreateDynamicObject(2682, 1941.378051, -1773.374877, 13.788784, 0.000019, -0.000039, 153.399597, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 5397, "barrio1_lae", "gassign1_256", 0x00000000); postogas = CreateDynamicObject(19445, 1939.686645, -1775.507324, 16.895202, 0.000000, 110.000022, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 16640, "a51", "vgs_shopwall01_128", 0x00000000); postogas = CreateDynamicObject(19866, 1942.099609, -1773.214843, 12.440559, 0.000000, 89.999984, 179.999908, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 16640, "a51", "vgs_shopwall01_128", 0x00000000); postogas = CreateDynamicObject(19866, 1941.358886, -1773.214843, 12.440559, 0.000000, 89.999984, 179.999908, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 16640, "a51", "vgs_shopwall01_128", 0x00000000); postogas = CreateDynamicObject(19866, 1942.099609, -1776.474975, 12.440559, 0.000000, 89.999977, 179.999862, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 16640, "a51", "vgs_shopwall01_128", 0x00000000); postogas = CreateDynamicObject(19866, 1941.358886, -1776.474975, 12.440559, 0.000000, 89.999977, 179.999862, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 16640, "a51", "vgs_shopwall01_128", 0x00000000); postogas = CreateDynamicObject(19866, 1941.328247, -1772.873291, 13.871664, 105.499885, 176.800064, 0.199935, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 16640, "a51", "vgs_shopwall01_128", 0x00000000); postogas = CreateDynamicObject(19866, 1941.297851, -1778.250122, 13.854319, 105.499885, 176.800064, 0.199935, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 16640, "a51", "vgs_shopwall01_128", 0x00000000); postogas = CreateDynamicObject(3465, 1941.334350, -1776.362548, 13.628742, 0.000000, 0.000045, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 1676, "wshxrefpump", "petrolpumpbase_256", 0x00000000); SetDynamicObjectMaterial(postogas, 1, 10789, "xenon_sfse", "ws_xenomart", 0x00000000); postogas = CreateDynamicObject(2682, 1941.316040, -1776.992431, 13.788784, -0.000019, 0.000039, -26.600025, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 5397, "barrio1_lae", "gassign1_256", 0x00000000); postogas = CreateDynamicObject(3465, 1941.345214, -1776.358398, 13.626741, 0.000000, -0.000045, 179.999725, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 1676, "wshxrefpump", "petrolpumpbase_256", 0x00000000); SetDynamicObjectMaterial(postogas, 1, 10789, "xenon_sfse", "ws_xenomart", 0x00000000); postogas = CreateDynamicObject(2682, 1941.378051, -1775.725830, 13.788784, 0.000023, -0.000046, 153.399551, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 5397, "barrio1_lae", "gassign1_256", 0x00000000); postogas = CreateDynamicObject(19866, 1944.493530, -1773.165771, 17.567966, 0.000000, 164.999984, 359.999908, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 19130, "matarrows", "green", 0x00000000); postogas = CreateDynamicObject(19866, 1944.493530, -1777.835937, 17.567966, 0.000000, 164.999984, 359.999908, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 19130, "matarrows", "green", 0x00000000); postogas = CreateDynamicObject(19445, 1942.966064, -1775.506958, 16.749050, 0.000000, 75.000022, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 16640, "a51", "vgs_shopwall01_128", 0x00000000); postogas = CreateDynamicObject(19445, 1939.000488, -1775.507324, 17.144857, 0.000000, 110.000022, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 16640, "a51", "vgs_shopwall01_128", 0x00000000); postogas = CreateDynamicObject(19866, 1937.488647, -1777.835937, 18.148426, 0.000000, 199.999984, 359.999908, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 19130, "matarrows", "green", 0x00000000); postogas = CreateDynamicObject(19866, 1937.488647, -1772.805175, 18.148426, 0.000000, 199.999984, 359.999908, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(postogas, 0, 19130, "matarrows", "green", 0x00000000); ///////////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////// postogas = CreateDynamicObject(1431, 1914.537231, -1767.219726, 12.928029, 0.000000, 0.000000, 90.000000, object_world, object_int, -1, 300.00, 300.00); postogas = CreateDynamicObject(1431, 1914.087524, -1768.752807, 12.928029, 0.000000, 0.000000, 118.400001, object_world, object_int, -1, 300.00, 300.00); postogas = CreateDynamicObject(1332, 1914.445556, -1770.706054, 13.008246, 0.000000, 0.000000, 90.000000, object_world, object_int, -1, 300.00, 300.00); postogas = CreateDynamicObject(2986, 1926.305541, -1769.459838, 16.284486, 0.000000, 0.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); postogas = CreateDynamicObject(2986, 1918.454345, -1769.459838, 16.284486, 0.000000, 0.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); postogas = CreateDynamicObject(1687, 1922.163818, -1769.458618, 17.073364, 0.000000, 0.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); postogas = CreateDynamicObject(1687, 1919.392211, -1774.338989, 17.073364, 0.000000, 0.000000, 90.000000, object_world, object_int, -1, 300.00, 300.00); postogas = CreateDynamicObject(2986, 1919.885253, -1778.470336, 16.284486, 0.000000, 0.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); postogas = CreateDynamicObject(1696, 1925.114746, -1781.552246, 17.220581, 0.000000, 0.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); postogas = CreateDynamicObject(1690, 1919.237060, -1782.262329, 16.860591, 0.000000, 0.000000, 90.000000, object_world, object_int, -1, 300.00, 300.00); postogas = CreateDynamicObject(2494, 1921.797729, -1774.661621, 13.456748, 0.000000, -0.000007, 91.100006, object_world, object_int, -1, 300.00, 300.00); postogas = CreateDynamicObject(2496, 1921.472290, -1774.364624, 13.446985, -0.000007, 0.000000, 179.599945, object_world, object_int, -1, 300.00, 300.00); postogas = CreateDynamicObject(2594, 1921.445800, -1774.655761, 13.265831, 0.000000, 0.000007, -90.000038, object_world, object_int, -1, 300.00, 300.00); postogas = CreateDynamicObject(2496, 1921.501586, -1774.971923, 13.456565, 0.000007, 0.000000, 1.800024, object_world, object_int, -1, 300.00, 300.00); postogas = CreateDynamicObject(2504, 1920.799804, -1774.826538, 13.346705, 0.000006, -0.000003, 26.299907, object_world, object_int, -1, 300.00, 300.00); postogas = CreateDynamicObject(2362, 1920.542724, -1774.478637, 13.467308, 0.000007, 0.000000, -6.900031, object_world, object_int, -1, 300.00, 300.00); postogas = CreateDynamicObject(1984, 1920.631835, -1774.623168, 12.526207, -0.000007, 0.000000, -179.339920, object_world, object_int, -1, 300.00, 300.00); postogas = CreateDynamicObject(2484, 1920.336059, -1774.345214, 14.277366, 0.000007, -0.000000, 8.900060, object_world, object_int, -1, 300.00, 300.00); postogas = CreateDynamicObject(2362, 1919.873657, -1774.467041, 13.467308, 0.000007, -0.000000, 13.999979, object_world, object_int, -1, 300.00, 300.00); postogas = CreateDynamicObject(1987, 1924.319824, -1769.022094, 12.632678, 0.000000, -0.000007, -90.000083, object_world, object_int, -1, 300.00, 300.00); postogas = CreateDynamicObject(1987, 1924.320922, -1769.986328, 12.632740, 0.000000, -0.000007, -90.000083, object_world, object_int, -1, 300.00, 300.00); postogas = CreateDynamicObject(1987, 1924.319946, -1770.970947, 12.632433, 0.000000, -0.000007, -90.000083, object_world, object_int, -1, 300.00, 300.00); postogas = CreateDynamicObject(1987, 1924.319213, -1771.947265, 12.642870, 0.000000, -0.000007, -90.000083, object_world, object_int, -1, 300.00, 300.00); postogas = CreateDynamicObject(2871, 1924.337402, -1778.085693, 12.682909, -0.000007, -0.000007, -90.000061, object_world, object_int, -1, 300.00, 300.00); postogas = CreateDynamicObject(2871, 1924.337890, -1779.068237, 12.692858, -0.000007, -0.000007, -90.000061, object_world, object_int, -1, 300.00, 300.00); postogas = CreateDynamicObject(2541, 1925.304687, -1782.054443, 12.663134, 0.000014, -0.000007, 89.999809, object_world, object_int, -1, 300.00, 300.00); postogas = CreateDynamicObject(2541, 1925.304077, -1781.065429, 12.663134, 0.000014, -0.000007, 89.999809, object_world, object_int, -1, 300.00, 300.00); postogas = CreateDynamicObject(2541, 1925.309326, -1780.070678, 12.663134, 0.000014, -0.000007, 89.999809, object_world, object_int, -1, 300.00, 300.00); postogas = CreateDynamicObject(2871, 1924.337890, -1780.046508, 12.692736, -0.000007, -0.000007, -90.000061, object_world, object_int, -1, 300.00, 300.00); postogas = CreateDynamicObject(2541, 1925.307617, -1779.069946, 12.663134, 0.000014, -0.000007, 89.999809, object_world, object_int, -1, 300.00, 300.00); postogas = CreateDynamicObject(2871, 1924.343872, -1781.026489, 12.693102, -0.000007, -0.000007, -90.000061, object_world, object_int, -1, 300.00, 300.00); postogas = CreateDynamicObject(2543, 1925.369018, -1772.911376, 12.662464, 0.000007, -0.000007, 89.999832, object_world, object_int, -1, 300.00, 300.00); postogas = CreateDynamicObject(2871, 1924.335937, -1782.007324, 12.692736, -0.000007, -0.000007, -90.000061, object_world, object_int, -1, 300.00, 300.00); postogas = CreateDynamicObject(2543, 1925.369018, -1771.907958, 12.662464, 0.000007, -0.000007, 89.999832, object_world, object_int, -1, 300.00, 300.00); postogas = CreateDynamicObject(2543, 1925.369018, -1770.975830, 12.662464, 0.000007, -0.000007, 89.999832, object_world, object_int, -1, 300.00, 300.00); postogas = CreateDynamicObject(2543, 1925.369018, -1769.991699, 12.662464, 0.000007, -0.000007, 89.999832, object_world, object_int, -1, 300.00, 300.00); postogas = CreateDynamicObject(2543, 1925.369018, -1769.013793, 12.662464, 0.000007, -0.000007, 89.999832, object_world, object_int, -1, 300.00, 300.00); postogas = CreateDynamicObject(1776, 1914.806640, -1776.236816, 13.572788, 0.000000, 0.000000, 450.000000, object_world, object_int, -1, 300.00, 300.00); postogas = CreateDynamicObject(1302, 1924.547607, -1773.042236, 12.562784, 0.000000, 0.000000, 270.000000, object_world, object_int, -1, 300.00, 300.00); postogas = CreateDynamicObject(955, 1925.307495, -1777.959106, 12.952787, 0.000000, 0.000000, 90.000000, object_world, object_int, -1, 300.00, 300.00); postogas = CreateDynamicObject(2942, 1914.758056, -1780.725463, 13.208756, 0.000000, 0.000000, 90.000000, object_world, object_int, -1, 300.00, 300.00); postogas = CreateDynamicObject(2942, 1914.758056, -1779.564575, 13.208756, 0.000000, 0.000000, 90.000000, object_world, object_int, -1, 300.00, 300.00); postogas = CreateDynamicObject(2452, 1914.838134, -1777.949829, 12.532782, 0.000000, 0.000000, 90.000000, object_world, object_int, -1, 300.00, 300.00); postogas = CreateDynamicObject(2365, 1927.634887, -1777.055664, 12.582784, 0.000000, 0.000000, 90.000000, object_world, object_int, -1, 300.00, 300.00); postogas = CreateDynamicObject(2365, 1927.634887, -1773.593872, 12.582784, 0.000000, 0.000000, 90.000000, object_world, object_int, -1, 300.00, 300.00); postogas = CreateDynamicObject(1842, 1920.741821, -1778.340576, 12.979553, 0.000000, 0.000007, 0.000000, object_world, object_int, -1, 300.00, 300.00); postogas = CreateDynamicObject(1843, 1920.677001, -1782.248901, 12.459534, -0.000007, 0.000000, 0.800010, object_world, object_int, -1, 300.00, 300.00); postogas = CreateDynamicObject(2012, 1920.668090, -1781.211791, 12.459107, -0.000007, 0.000000, 180.200027, object_world, object_int, -1, 300.00, 300.00); postogas = CreateDynamicObject(2582, 1916.696899, -1784.598022, 13.369323, 0.000000, -0.000007, -179.699996, object_world, object_int, -1, 300.00, 300.00); postogas = CreateDynamicObject(2583, 1915.201782, -1784.587524, 13.359802, 0.000000, -0.000007, 179.999893, object_world, object_int, -1, 300.00, 300.00); postogas = CreateDynamicObject(2166, 1920.729370, -1769.791503, 12.578747, 0.000000, 0.000000, 90.000000, object_world, object_int, -1, 300.00, 300.00); postogas = CreateDynamicObject(19893, 1919.691406, -1769.332275, 13.382787, 0.000000, 0.000000, 114.799987, object_world, object_int, -1, 300.00, 300.00); postogas = CreateDynamicObject(11730, 1920.958251, -1772.506835, 12.582784, 0.000000, 0.000000, 180.000000, object_world, object_int, -1, 300.00, 300.00); postogas = CreateDynamicObject(11729, 1920.285888, -1772.495361, 12.582784, 0.000000, 0.000000, 180.000000, object_world, object_int, -1, 300.00, 300.00); postogas = CreateDynamicObject(11729, 1919.645263, -1772.495361, 12.582784, 0.000000, 0.000000, 180.000000, object_world, object_int, -1, 300.00, 300.00); postogas = CreateDynamicObject(19994, 1916.169555, -1769.549682, 12.582784, 0.000000, 0.000000, 90.000000, object_world, object_int, -1, 300.00, 300.00); postogas = CreateDynamicObject(19994, 1916.169555, -1768.959106, 12.582784, 0.000000, 0.000000, 90.000000, object_world, object_int, -1, 300.00, 300.00); postogas = CreateDynamicObject(1550, 1920.430786, -1766.760620, 13.755824, -23.400001, 85.299995, -151.499969, object_world, object_int, -1, 300.00, 300.00); postogas = CreateDynamicObject(1493, 1916.181640, -1772.008911, 12.478749, 0.000000, 0.000000, 30.000000, object_world, object_int, -1, 300.00, 300.00); postogas = CreateDynamicObject(19618, 1920.410644, -1766.776367, 13.032779, 0.000000, 0.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); postogas = CreateDynamicObject(1714, 1921.047729, -1769.068603, 12.545351, -0.000007, 0.000000, 270.000030, object_world, object_int, -1, 300.00, 300.00); postogas = CreateDynamicObject(638, 1917.845458, -1785.536987, 13.241602, 0.000000, 0.000000, 90.000000, object_world, object_int, -1, 300.00, 300.00); postogas = CreateDynamicObject(1223, 1920.127929, -1785.482910, 12.517029, 0.000000, 0.000000, 270.000000, object_world, object_int, -1, 300.00, 300.00); postogas = CreateDynamicObject(1223, 1915.536987, -1785.482910, 12.517029, 0.000000, 0.000000, 270.000000, object_world, object_int, -1, 300.00, 300.00); postogas = CreateDynamicObject(638, 1918.270019, -1765.640991, 13.241602, -0.000007, 0.000000, -89.999946, object_world, object_int, -1, 300.00, 300.00); postogas = CreateDynamicObject(1223, 1915.987548, -1765.695068, 12.517029, 0.000007, 0.000000, 89.999916, object_world, object_int, -1, 300.00, 300.00); postogas = CreateDynamicObject(1223, 1920.578491, -1765.695068, 12.517029, 0.000007, 0.000000, 89.999916, object_world, object_int, -1, 300.00, 300.00); postogas = CreateDynamicObject(3460, 1933.457641, -1783.939331, 16.342092, 0.000000, 0.000000, 270.000000, object_world, object_int, -1, 300.00, 300.00); postogas = CreateDynamicObject(3460, 1933.457641, -1767.577636, 16.342092, 0.000000, 0.000000, 270.000000, object_world, object_int, -1, 300.00, 300.00); { //CENTRO DE LICENCAS LS new bankaext; bankaext = CreateObject(10308, 948.774963, -1703.498291, 53.531391, 0.000000, 0.000000, -90.100006, 900.00); SetObjectMaterial(bankaext, 0, 18646, "matcolours", "grey-60-percent", 0x00000000); SetObjectMaterial(bankaext, 2, 18646, "matcolours", "grey-60-percent", 0x00000000); SetObjectMaterial(bankaext, 5, 18646, "matcolours", "grey-60-percent", 0x00000000); SetObjectMaterial(bankaext, 8, 11013, "crackdrive_sfse", "ws_asphalt2", 0x00000000); SetObjectMaterial(bankaext, 9, -1, "none", "none", 0xFF33CCCC); bankaext = CreateObject(19447, 935.346862, -1713.989990, 18.705818, 0.000000, 90.099990, 0.000000, 900.00); SetObjectMaterial(bankaext, 0, 18646, "matcolours", "grey-30-percent", 0x00000000); bankaext = CreateObject(19447, 955.306945, -1726.169799, 18.670988, 0.000000, 90.099990, 0.000000, 900.00); SetObjectMaterial(bankaext, 0, 18646, "matcolours", "grey-30-percent", 0x00000000); bankaext = CreateObject(19447, 932.167663, -1709.753051, 18.707611, 0.000000, 90.099990, -90.099990, 900.00); SetObjectMaterial(bankaext, 0, 18646, "matcolours", "grey-30-percent", 0x00000000); bankaext = CreateObject(4735, 927.264282, -1691.079956, 99.412460, 0.000000, 0.000000, 0.599999, 900.00); SetObjectMaterialText(bankaext, "CENTRO DE", 0, 120, "DGHD", 90, 0, 0xFFFFFFFF, 0x00000000, 1); bankaext = CreateObject(4735, 927.263916, -1691.039916, 96.312446, 0.000000, 0.000000, 0.599999, 900.00); SetObjectMaterialText(bankaext, "LICENCAS", 0, 120, "DGHD", 90, 0, 0xFFFFFFFF, 0x00000000, 1); bankaext = CreateObject(4735, 927.167480, -1681.820068, 98.312461, 90.000000, 0.000000, 0.599999, 900.00); SetObjectMaterialText(bankaext, "E", 0, 120, "DGHD", 199, 0, 0xFFFF0000, 0x00000000, 1); bankaext = CreateObject(4735, 927.183532, -1683.350219, 97.202461, 270.000000, 0.000000, 0.599999, 900.00); SetObjectMaterialText(bankaext, "E", 0, 120, "DGHD", 199, 0, 0xFFFF0000, 0x00000000, 1); bankaext = CreateObject(19447, 952.568786, -1720.528320, 18.688877, 0.000000, 90.099990, -90.099990, 900.00); SetObjectMaterial(bankaext, 0, 18646, "matcolours", "grey-30-percent", 0x00000000); bankaext = CreateObject(19447, 943.678833, -1720.512695, 18.688877, 0.000000, 90.099990, -90.099990, 900.00); SetObjectMaterial(bankaext, 0, 18646, "matcolours", "grey-30-percent", 0x00000000); bankaext = CreateObject(19447, 938.408691, -1720.503540, 18.688877, 0.000000, 90.099990, -90.099990, 900.00); SetObjectMaterial(bankaext, 0, 18646, "matcolours", "grey-30-percent", 0x00000000); bankaext = CreateObject(19447, 927.886718, -1706.680175, 18.718835, 0.000000, 90.099990, 0.000000, 900.00); SetObjectMaterial(bankaext, 0, 18646, "matcolours", "grey-30-percent", 0x00000000); bankaext = CreateObject(19447, 927.886718, -1697.200439, 18.718835, 0.000000, 90.099990, 0.000000, 900.00); SetObjectMaterial(bankaext, 0, 18646, "matcolours", "grey-30-percent", 0x00000000); bankaext = CreateObject(19447, 927.886718, -1688.080444, 18.718835, 0.000000, 90.099990, 0.000000, 900.00); SetObjectMaterial(bankaext, 0, 18646, "matcolours", "grey-30-percent", 0x00000000); bankaext = CreateObject(19447, 927.886718, -1681.510498, 18.718835, 0.000000, 90.099990, 0.000000, 900.00); SetObjectMaterial(bankaext, 0, 18646, "matcolours", "grey-30-percent", 0x00000000); bankaext = CreateObject(19447, 929.082031, -1694.338867, 13.878835, 90.000000, 90.099990, 0.000000, 900.00); SetObjectMaterial(bankaext, 0, 18646, "matcolours", "grey-30-percent", 0x00000000); bankaext = CreateObject(19447, 929.076599, -1691.198974, 13.878835, 90.000000, 90.099990, 0.000000, 900.00); SetObjectMaterial(bankaext, 0, 18646, "matcolours", "grey-30-percent", 0x00000000); bankaext = CreateObject(19447, 929.076171, -1690.978881, 12.128833, 90.000000, 90.099990, 0.000000, 900.00); SetObjectMaterial(bankaext, 0, 18646, "matcolours", "grey-30-percent", 0xFFFF0000); bankaext = CreateObject(19447, 929.082519, -1694.548828, 12.128833, 90.000000, 90.099990, 0.000000, 900.00); SetObjectMaterial(bankaext, 0, 18646, "matcolours", "grey-30-percent", 0xFFFF0000); bankaext = CreateObject(19447, 929.075927, -1690.769042, 10.418833, 90.000000, 90.099990, 0.000000, 900.00); SetObjectMaterial(bankaext, 0, 18646, "matcolours", "grey-30-percent", 0x00000000); bankaext = CreateObject(19447, 929.083007, -1694.758911, 10.418833, 90.000000, 90.099990, 0.000000, 900.00); SetObjectMaterial(bankaext, 0, 18646, "matcolours", "grey-30-percent", 0x00000000); bankaext = CreateObject(19325, 927.349731, -1692.581542, 16.575088, 90.000000, 0.000000, 0.000000, 900.00); SetObjectMaterialText(bankaext, "E", 0, 130, "DGHD", 160, 0, 0xFFFF0000, 0x00000000, 1); bankaext = CreateObject(19325, 927.349731, -1693.021606, 16.255088, 270.000000, 0.000000, 0.000000, 900.00); SetObjectMaterialText(bankaext, "E", 0, 130, "DGHD", 160, 0, 0xFFFF0000, 0x00000000, 1); bankaext = CreateObject(19447, 958.351135, -1730.738403, 18.671077, 0.000000, 90.099990, -90.099990, 900.00); SetObjectMaterial(bankaext, 0, 18646, "matcolours", "grey-30-percent", 0x00000000); bankaext = CreateObject(19447, 963.731018, -1730.748168, 18.671077, 0.000000, 90.099990, -90.099990, 900.00); SetObjectMaterial(bankaext, 0, 18646, "matcolours", "grey-30-percent", 0x00000000); bankaext = CreateObject(4735, 927.334289, -1686.359985, 26.232482, 90.000000, -0.799999, 0.599999, 900.00); SetObjectMaterialText(bankaext, "E", 0, 120, "DGHD", 199, 0, 0xFFFF0000, 0x00000000, 1); bankaext = CreateObject(4735, 927.316101, -1687.959472, 24.932481, 270.000000, -0.799999, -0.700000, 900.00); SetObjectMaterialText(bankaext, "E", 0, 120, "DGHD", 199, 0, 0xFFFF0000, 0x00000000, 1); bankaext = CreateObject(4735, 927.305114, -1696.510253, 26.920227, 0.000000, 0.000000, 0.599999, 900.00); SetObjectMaterialText(bankaext, "CENTRO DE", 0, 120, "DGHD", 90, 0, 0xFFFFFFFF, 0x00000000, 1); bankaext = CreateObject(4735, 927.305114, -1696.510253, 24.120227, 0.000000, 0.000000, 0.599999, 900.00); SetObjectMaterialText(bankaext, "LICENCAS", 0, 120, "DGHD", 90, 0, 0xFFFFFFFF, 0x00000000, 1); bankaext = CreateObject(6123, 917.398010, -1672.910034, 12.398400, 0.000000, 0.000000, 0.000000, 900.00); SetObjectMaterial(bankaext, 1, 6487, "councl_law2", "rodeo3sjm", 0x00000000); bankaext = CreateObject(18981, 917.411132, -1750.489746, 0.667287, 0.000000, 0.000000, 0.000000, 900.00); SetObjectMaterial(bankaext, 0, 4829, "airport_las", "Grass_128HV", 0x00000000); bankaext = CreateObject(18981, 917.411132, -1725.689697, 0.667287, 0.000000, 0.000000, 0.000000, 900.00); SetObjectMaterial(bankaext, 0, 4829, "airport_las", "Grass_128HV", 0x00000000); bankaext = CreateObject(18981, 917.411132, -1700.929809, 0.667287, 0.000000, 0.000000, 0.000000, 900.00); SetObjectMaterial(bankaext, 0, 4829, "airport_las", "Grass_128HV", 0x00000000); bankaext = CreateObject(18981, 917.411132, -1676.009887, 0.667287, 0.000000, 0.000000, 0.000000, 900.00); SetObjectMaterial(bankaext, 0, 4829, "airport_las", "Grass_128HV", 0x00000000); bankaext = CreateObject(18981, 917.411132, -1652.269897, 0.667287, 0.000000, 0.000000, 0.000000, 900.00); SetObjectMaterial(bankaext, 0, 4829, "airport_las", "Grass_128HV", 0x00000000); bankaext = CreateObject(18981, 917.411132, -1627.960083, 0.667287, 0.000000, 0.000000, 0.000000, 900.00); SetObjectMaterial(bankaext, 0, 4829, "airport_las", "Grass_128HV", 0x00000000); bankaext = CreateObject(18981, 917.411132, -1604.239990, 0.667287, 0.000000, 0.000000, 0.000000, 900.00); SetObjectMaterial(bankaext, 0, 4829, "airport_las", "Grass_128HV", 0x00000000); bankaext = CreateObject(18981, 923.181213, -1673.930175, 0.667287, 0.000000, 0.000000, 0.000000, 900.00); SetObjectMaterial(bankaext, 0, 4829, "airport_las", "Grass_128HV", 0x00000000); bankaext = CreateObject(18981, 923.181213, -1713.120117, 0.667287, 0.000000, 0.000000, 0.000000, 900.00); SetObjectMaterial(bankaext, 0, 4829, "airport_las", "Grass_128HV", 0x00000000); bankaext = CreateObject(18980, 923.191894, -1692.776245, 1.321503, 0.000000, 0.000000, 0.000000, 900.00); SetObjectMaterial(bankaext, 0, 4829, "airport_las", "Grass_128HV", 0x00000000); bankaext = CreateObject(18980, 923.191894, -1695.536254, 0.781503, 0.000000, 0.000000, 0.000000, 900.00); SetObjectMaterial(bankaext, 0, 4829, "airport_las", "Grass_128HV", 0x00000000); bankaext = CreateObject(18980, 923.191894, -1690.026123, 0.781503, 0.000000, 0.000000, 0.000000, 900.00); SetObjectMaterial(bankaext, 0, 4829, "airport_las", "Grass_128HV", 0x00000000); bankaext = CreateObject(18980, 923.191894, -1590.606201, 0.781503, 0.000000, 0.000000, 0.000000, 900.00); SetObjectMaterial(bankaext, 0, 4829, "airport_las", "Grass_128HV", 0x00000000); bankaext = CreateObject(18980, 920.011840, -1590.606201, 0.781503, 0.000000, 0.000000, 0.000000, 900.00); SetObjectMaterial(bankaext, 0, 4829, "airport_las", "Grass_128HV", 0x00000000); bankaext = CreateObject(18980, 915.371704, -1590.606201, 0.781503, 0.000000, 0.000000, 0.000000, 900.00); SetObjectMaterial(bankaext, 0, 4829, "airport_las", "Grass_128HV", 0x00000000); bankaext = CreateObject(18980, 911.681823, -1590.606201, 0.781503, 0.000000, 0.000000, 0.000000, 900.00); SetObjectMaterial(bankaext, 0, 4829, "airport_las", "Grass_128HV", 0x00000000); bankaext = CreateObject(18980, 911.681823, -1761.465576, 0.781503, 0.000000, 0.000000, 0.000000, 900.00); SetObjectMaterial(bankaext, 0, 4829, "airport_las", "Grass_128HV", 0x00000000); bankaext = CreateObject(18980, 923.141723, -1761.465576, 0.781503, 0.000000, 0.000000, 0.000000, 900.00); SetObjectMaterial(bankaext, 0, 4829, "airport_las", "Grass_128HV", 0x00000000); bankaext = CreateObject(18980, 920.301635, -1761.465576, 0.781503, 0.000000, 0.000000, 0.000000, 900.00); SetObjectMaterial(bankaext, 0, 4829, "airport_las", "Grass_128HV", 0x00000000); bankaext = CreateObject(18980, 914.931518, -1761.465576, 0.781503, 0.000000, 0.000000, 0.000000, 900.00); SetObjectMaterial(bankaext, 0, 4829, "airport_las", "Grass_128HV", 0x00000000); bankaext = CreateObject(18981, 927.955322, -1743.856201, 0.667287, 0.000000, 0.000000, -0.000000, 900.00); SetObjectMaterial(bankaext, 0, 4829, "airport_las", "Grass_128HV", 0x00000000); bankaext = CreateObject(18981, 927.955322, -1750.886352, 0.667287, 0.000000, 0.000000, -0.000000, 900.00); SetObjectMaterial(bankaext, 0, 4829, "airport_las", "Grass_128HV", 0x00000000); bankaext = CreateObject(18981, 940.244873, -1765.212158, 0.925609, 1.199999, 0.000000, -100.400001, 900.00); SetObjectMaterial(bankaext, 0, 4829, "airport_las", "Grass_128HV", 0x00000000); bankaext = CreateObject(18981, 950.284912, -1767.054443, 1.139431, 1.199999, 0.000000, -100.400001, 900.00); SetObjectMaterial(bankaext, 0, 4829, "airport_las", "Grass_128HV", 0x00000000); ///////////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////// bankaext = CreateObject(1557, 927.391906, -1691.266479, 12.537508, 0.000000, 0.000000, -90.200012, 900.00); bankaext = CreateObject(1557, 927.424743, -1694.266113, 12.537508, 0.000000, 0.000000, 91.200004, 900.00); bankaext = CreateObject(6203, 956.195007, -1689.599975, 12.796895, 0.000000, 0.000000, 0.000000, 900.00); bankaext = CreateObject(19124, 923.167846, -1695.537597, 13.226980, 0.000000, 0.000000, 0.000000, 900.00); bankaext = CreateObject(19124, 923.167846, -1692.737670, 13.986980, 0.000000, 0.000000, 0.000000, 900.00); bankaext = CreateObject(19124, 923.167846, -1690.047729, 13.226980, 0.000000, 0.000000, 0.000000, 900.00); bankaext = CreateObject(738, 923.157348, -1685.886474, 12.554203, 0.000000, 0.000000, 0.000000, 900.00); bankaext = CreateObject(738, 923.157348, -1701.176513, 12.554203, 0.000000, 0.000000, 0.000000, 900.00); //MANSAO TIK TOKER SANTOZ tmpobjid = CreateDynamicObject(19378, 2702.635253, 750.629882, 9.840312, 0.000000, 270.000000, -179.999984, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 9514, "711_sfw", "ws_carpark2", 0x00000000); tmpobjid = CreateDynamicObject(19378, 2702.635253, 741.000305, 9.840312, 0.000000, 270.000000, -179.999984, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 9514, "711_sfw", "ws_carpark2", 0x00000000); tmpobjid = CreateDynamicObject(19378, 2702.635253, 731.380981, 9.840312, 0.000000, 270.000000, -179.999984, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 9514, "711_sfw", "ws_carpark2", 0x00000000); tmpobjid = CreateDynamicObject(19378, 2702.635253, 721.781372, 9.840312, 0.000000, 270.000000, -179.999984, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 9514, "711_sfw", "ws_carpark2", 0x00000000); tmpobjid = CreateDynamicObject(19378, 2713.130371, 750.629882, 9.840312, 0.000000, 270.000000, -179.999893, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 9514, "711_sfw", "ws_carpark2", 0x00000000); tmpobjid = CreateDynamicObject(19378, 2713.130371, 741.000305, 9.840312, 0.000000, 270.000000, -179.999893, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 9514, "711_sfw", "ws_carpark2", 0x00000000); tmpobjid = CreateDynamicObject(19378, 2713.130371, 731.380981, 9.840312, 0.000000, 270.000000, -179.999893, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 9514, "711_sfw", "ws_carpark2", 0x00000000); tmpobjid = CreateDynamicObject(19378, 2713.130371, 721.781372, 9.840312, 0.000000, 270.000000, -179.999893, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 9514, "711_sfw", "ws_carpark2", 0x00000000); tmpobjid = CreateDynamicObject(18762, 2697.863769, 754.972045, 11.001870, 0.000000, 0.000014, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 3820, "boxhses_sfsx", "stonewall_la", 0x00000000); tmpobjid = CreateDynamicObject(18762, 2697.863769, 747.792053, 11.001870, 0.000000, 0.000014, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 3820, "boxhses_sfsx", "stonewall_la", 0x00000000); tmpobjid = CreateDynamicObject(18762, 2697.863769, 724.641418, 11.001870, 0.000000, 0.000022, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 3820, "boxhses_sfsx", "stonewall_la", 0x00000000); tmpobjid = CreateDynamicObject(18762, 2697.863769, 717.461425, 11.001870, 0.000000, 0.000022, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 3820, "boxhses_sfsx", "stonewall_la", 0x00000000); tmpobjid = CreateDynamicObject(18766, 2697.871826, 743.257263, 8.231867, 0.000000, 0.000000, 90.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 3820, "boxhses_sfsx", "stonewall_la", 0x00000000); tmpobjid = CreateDynamicObject(18766, 2697.871826, 729.286621, 8.231867, 0.000000, 0.000000, 90.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 3820, "boxhses_sfsx", "stonewall_la", 0x00000000); tmpobjid = CreateDynamicObject(18762, 2697.863769, 733.811645, 11.001870, 0.000000, 0.000022, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 3820, "boxhses_sfsx", "stonewall_la", 0x00000000); tmpobjid = CreateDynamicObject(18762, 2697.863769, 738.622131, 11.001870, 0.000000, 0.000022, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 3820, "boxhses_sfsx", "stonewall_la", 0x00000000); tmpobjid = CreateDynamicObject(19445, 2697.924804, 743.260192, 10.881884, 0.000000, 0.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 8680, "chnatwnfnce", "ctmallfence", 0xFF000000); tmpobjid = CreateDynamicObject(19445, 2697.924804, 728.999389, 10.881884, 0.000000, 0.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 8680, "chnatwnfnce", "ctmallfence", 0xFF000000); tmpobjid = CreateDynamicObject(19358, 2699.465087, 750.087097, 9.886249, 180.000000, 90.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 18081, "cj_barb", "whiteceil_int", 0x00000000); tmpobjid = CreateDynamicObject(19358, 2699.465087, 752.747192, 9.886249, 180.000000, 90.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 18081, "cj_barb", "whiteceil_int", 0x00000000); tmpobjid = CreateDynamicObject(19358, 2702.968505, 750.087097, 9.886249, 0.000000, 270.000000, -179.999984, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 18081, "cj_barb", "whiteceil_int", 0x00000000); tmpobjid = CreateDynamicObject(19358, 2702.968505, 752.747192, 9.886249, 0.000000, 270.000000, -179.999984, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 18081, "cj_barb", "whiteceil_int", 0x00000000); tmpobjid = CreateDynamicObject(19358, 2706.448242, 752.747192, 9.886249, 0.000000, 270.000000, -179.999984, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 18081, "cj_barb", "whiteceil_int", 0x00000000); tmpobjid = CreateDynamicObject(19358, 2708.673339, 752.032958, 9.886249, 0.000000, 270.000000, 144.600067, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 18081, "cj_barb", "whiteceil_int", 0x00000000); tmpobjid = CreateDynamicObject(19358, 2710.605468, 750.035339, 9.886249, 0.000000, 270.000000, 123.400047, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 18081, "cj_barb", "whiteceil_int", 0x00000000); tmpobjid = CreateDynamicObject(19358, 2711.217285, 747.781005, 9.886249, 0.000000, 270.000000, 86.900207, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 18081, "cj_barb", "whiteceil_int", 0x00000000); tmpobjid = CreateDynamicObject(19358, 2711.028808, 744.326171, 9.886249, 0.000000, 270.000000, 86.900207, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 18081, "cj_barb", "whiteceil_int", 0x00000000); tmpobjid = CreateDynamicObject(19358, 2699.465087, 719.676635, 9.886249, 0.000000, 270.000000, -179.999984, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 18081, "cj_barb", "whiteceil_int", 0x00000000); tmpobjid = CreateDynamicObject(19358, 2699.465087, 722.336730, 9.886249, 0.000000, 270.000000, -179.999984, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 18081, "cj_barb", "whiteceil_int", 0x00000000); tmpobjid = CreateDynamicObject(19358, 2702.968505, 719.676635, 9.886249, 0.000000, 270.000000, -179.999938, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 18081, "cj_barb", "whiteceil_int", 0x00000000); tmpobjid = CreateDynamicObject(19358, 2702.968505, 722.336730, 9.886249, 0.000000, 270.000000, -179.999938, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 18081, "cj_barb", "whiteceil_int", 0x00000000); tmpobjid = CreateDynamicObject(19358, 2710.846923, 740.870788, 9.886249, 0.000007, 270.000000, 86.900184, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 18081, "cj_barb", "whiteceil_int", 0x00000000); tmpobjid = CreateDynamicObject(19358, 2710.658447, 737.415954, 9.886249, 0.000007, 270.000000, 86.900184, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 18081, "cj_barb", "whiteceil_int", 0x00000000); tmpobjid = CreateDynamicObject(19358, 2706.448242, 719.676940, 9.886249, 0.000000, 270.000000, -179.999984, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 18081, "cj_barb", "whiteceil_int", 0x00000000); tmpobjid = CreateDynamicObject(19358, 2710.476562, 733.940917, 9.886249, 0.000022, 270.000000, 86.900138, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 18081, "cj_barb", "whiteceil_int", 0x00000000); tmpobjid = CreateDynamicObject(19358, 2710.288085, 730.486083, 9.886249, 0.000022, 270.000000, 86.900138, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 18081, "cj_barb", "whiteceil_int", 0x00000000); tmpobjid = CreateDynamicObject(19358, 2710.100341, 727.031250, 9.886249, 0.000022, 270.000000, 86.900138, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 18081, "cj_barb", "whiteceil_int", 0x00000000); tmpobjid = CreateDynamicObject(19358, 2708.959960, 720.359558, 9.886249, 0.000000, 270.000000, -146.799972, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 18081, "cj_barb", "whiteceil_int", 0x00000000); tmpobjid = CreateDynamicObject(19358, 2709.900878, 723.568725, 9.886249, 0.000000, 270.000000, -93.499977, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 18081, "cj_barb", "whiteceil_int", 0x00000000); tmpobjid = CreateDynamicObject(19358, 2709.789794, 721.791809, 9.886249, 0.000000, 270.000000, -93.499977, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 18081, "cj_barb", "whiteceil_int", 0x00000000); tmpobjid = CreateDynamicObject(19358, 2706.618408, 719.676940, 9.886249, 0.000000, 270.000000, -179.999984, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 18081, "cj_barb", "whiteceil_int", 0x00000000); tmpobjid = CreateDynamicObject(19358, 2706.428466, 750.087097, 9.886249, 0.000000, 270.000000, -179.999984, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 18081, "cj_barb", "whiteceil_int", 0x00000000); tmpobjid = CreateDynamicObject(19358, 2708.011962, 748.324096, 9.886249, 0.000000, 270.000000, 123.400047, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 18081, "cj_barb", "whiteceil_int", 0x00000000); tmpobjid = CreateDynamicObject(19358, 2708.088867, 745.757690, 9.886249, 0.000000, 270.000000, 86.900207, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 18081, "cj_barb", "whiteceil_int", 0x00000000); tmpobjid = CreateDynamicObject(19358, 2707.904052, 742.312072, 9.886249, 0.000000, 270.000000, 86.900207, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 18081, "cj_barb", "whiteceil_int", 0x00000000); tmpobjid = CreateDynamicObject(19358, 2707.716552, 738.857299, 9.886249, 0.000000, 270.000000, 86.900207, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 18081, "cj_barb", "whiteceil_int", 0x00000000); tmpobjid = CreateDynamicObject(19358, 2707.529052, 735.392456, 9.886249, 0.000000, 270.000000, 86.900207, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 18081, "cj_barb", "whiteceil_int", 0x00000000); tmpobjid = CreateDynamicObject(19358, 2707.345214, 732.007812, 9.886249, 0.000000, 270.000000, 86.900207, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 18081, "cj_barb", "whiteceil_int", 0x00000000); tmpobjid = CreateDynamicObject(19358, 2707.156982, 728.522949, 9.886249, 0.000000, 270.000000, 86.900207, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 18081, "cj_barb", "whiteceil_int", 0x00000000); tmpobjid = CreateDynamicObject(19358, 2706.970458, 725.078247, 9.886249, 0.000000, 270.000000, 86.900207, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 18081, "cj_barb", "whiteceil_int", 0x00000000); tmpobjid = CreateDynamicObject(19358, 2705.939453, 722.735656, 9.886249, 0.000000, 270.000000, -156.499954, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 18081, "cj_barb", "whiteceil_int", 0x00000000); tmpobjid = CreateDynamicObject(19358, 2707.215576, 722.461364, 9.886249, 0.000000, 270.000000, -156.499954, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 18081, "cj_barb", "whiteceil_int", 0x00000000); tmpobjid = CreateDynamicObject(19378, 2702.635253, 728.980651, 9.880313, 0.000000, 270.000000, -179.999984, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 12855, "cunte_cop", "sw_copgrass01", 0x00000000); tmpobjid = CreateDynamicObject(19378, 2702.635253, 743.350708, 9.880313, 0.000000, 270.000000, -179.999984, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 12855, "cunte_cop", "sw_copgrass01", 0x00000000); tmpobjid = CreateDynamicObject(19441, 2700.068603, 724.247802, 9.356245, 90.000000, 0.000000, 90.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14593, "papaerchaseoffice", "wall_stone6_256", 0x00000000); tmpobjid = CreateDynamicObject(19441, 2703.559082, 724.247802, 9.356245, 90.000000, 0.000000, 90.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14593, "papaerchaseoffice", "wall_stone6_256", 0x00000000); tmpobjid = CreateDynamicObject(19441, 2705.310546, 725.934204, 9.356245, 90.000000, 0.000000, 177.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14593, "papaerchaseoffice", "wall_stone6_256", 0x00000000); tmpobjid = CreateDynamicObject(19441, 2705.486816, 729.299499, 9.356245, 90.000000, 0.000000, 177.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14593, "papaerchaseoffice", "wall_stone6_256", 0x00000000); tmpobjid = CreateDynamicObject(19441, 2705.625976, 731.945800, 9.356245, 90.000000, 0.000000, 177.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14593, "papaerchaseoffice", "wall_stone6_256", 0x00000000); tmpobjid = CreateDynamicObject(19441, 2700.068603, 733.747802, 9.356245, 90.000000, 0.000000, 90.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14593, "papaerchaseoffice", "wall_stone6_256", 0x00000000); tmpobjid = CreateDynamicObject(19441, 2703.518554, 733.747802, 9.356245, 90.000000, 0.000000, 90.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14593, "papaerchaseoffice", "wall_stone6_256", 0x00000000); tmpobjid = CreateDynamicObject(19441, 2704.049072, 733.747802, 9.356245, 90.000000, 0.000000, 90.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14593, "papaerchaseoffice", "wall_stone6_256", 0x00000000); tmpobjid = CreateDynamicObject(19441, 2700.829345, 738.578613, 9.356245, 89.999992, 179.999984, -90.000007, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14593, "papaerchaseoffice", "wall_stone6_256", 0x00000000); tmpobjid = CreateDynamicObject(19441, 2704.319824, 738.578613, 9.356245, 89.999992, 179.999984, -90.000007, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14593, "papaerchaseoffice", "wall_stone6_256", 0x00000000); tmpobjid = CreateDynamicObject(19441, 2706.071289, 740.265014, 9.356245, 89.999992, -89.999992, -93.000022, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14593, "papaerchaseoffice", "wall_stone6_256", 0x00000000); tmpobjid = CreateDynamicObject(19441, 2706.247558, 743.630310, 9.356245, 89.999992, -89.999992, -93.000022, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14593, "papaerchaseoffice", "wall_stone6_256", 0x00000000); tmpobjid = CreateDynamicObject(19441, 2706.396972, 746.486450, 9.356245, 89.999992, -89.999992, -93.000022, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14593, "papaerchaseoffice", "wall_stone6_256", 0x00000000); tmpobjid = CreateDynamicObject(19441, 2700.079101, 748.148681, 9.356245, 89.999992, 179.999984, -90.000007, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14593, "papaerchaseoffice", "wall_stone6_256", 0x00000000); tmpobjid = CreateDynamicObject(19441, 2703.558837, 748.148681, 9.356245, 89.999992, 179.999984, -90.000007, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14593, "papaerchaseoffice", "wall_stone6_256", 0x00000000); tmpobjid = CreateDynamicObject(19441, 2704.809814, 748.148681, 9.356245, 89.999992, 179.999984, -90.000007, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14593, "papaerchaseoffice", "wall_stone6_256", 0x00000000); tmpobjid = CreateDynamicObject(19441, 2700.018554, 738.578613, 9.356245, 89.999992, 179.999984, -90.000007, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14593, "papaerchaseoffice", "wall_stone6_256", 0x00000000); tmpobjid = CreateDynamicObject(19378, 2723.602294, 750.629882, 9.840312, 0.000000, 270.000000, -179.999801, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 9514, "711_sfw", "ws_carpark2", 0x00000000); tmpobjid = CreateDynamicObject(19378, 2723.602294, 741.000305, 9.840312, 0.000000, 270.000000, -179.999801, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 9514, "711_sfw", "ws_carpark2", 0x00000000); tmpobjid = CreateDynamicObject(19378, 2723.602294, 731.380981, 9.840312, 0.000000, 270.000000, -179.999801, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 9514, "711_sfw", "ws_carpark2", 0x00000000); tmpobjid = CreateDynamicObject(19378, 2723.602294, 721.781372, 9.840312, 0.000000, 270.000000, -179.999801, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 9514, "711_sfw", "ws_carpark2", 0x00000000); tmpobjid = CreateDynamicObject(19378, 2734.094482, 750.629882, 9.840312, 0.000000, 270.000000, -179.999755, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 9514, "711_sfw", "ws_carpark2", 0x00000000); tmpobjid = CreateDynamicObject(19378, 2734.094482, 741.000305, 9.840312, 0.000000, 270.000000, -179.999755, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 9514, "711_sfw", "ws_carpark2", 0x00000000); tmpobjid = CreateDynamicObject(19378, 2734.094482, 731.380981, 9.840312, 0.000000, 270.000000, -179.999755, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 9514, "711_sfw", "ws_carpark2", 0x00000000); tmpobjid = CreateDynamicObject(19378, 2734.094482, 721.781372, 9.840312, 0.000000, 270.000000, -179.999755, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 9514, "711_sfw", "ws_carpark2", 0x00000000); tmpobjid = CreateDynamicObject(18766, 2714.676757, 748.056701, 8.192186, 0.000000, 0.000000, 90.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 12855, "cunte_cop", "sw_copgrass01", 0x00000000); tmpobjid = CreateDynamicObject(18766, 2714.676757, 744.426696, 8.192186, 0.000000, 0.000000, 90.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 12855, "cunte_cop", "sw_copgrass01", 0x00000000); tmpobjid = CreateDynamicObject(18766, 2714.516601, 748.216857, 7.552176, 0.000000, 0.000000, 90.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14593, "papaerchaseoffice", "wall_stone6_256", 0x00000000); tmpobjid = CreateDynamicObject(18766, 2714.516601, 744.255981, 7.552176, 0.000000, 0.000000, 90.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14593, "papaerchaseoffice", "wall_stone6_256", 0x00000000); tmpobjid = CreateDynamicObject(18766, 2714.916992, 744.255981, 7.552176, 0.000000, 0.000000, 90.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14593, "papaerchaseoffice", "wall_stone6_256", 0x00000000); tmpobjid = CreateDynamicObject(18766, 2714.927001, 748.216857, 7.552176, 0.000000, 0.000000, 90.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14593, "papaerchaseoffice", "wall_stone6_256", 0x00000000); tmpobjid = CreateDynamicObject(19445, 2714.735107, 746.280578, 10.011880, 0.000000, 0.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10756, "airportroads_sfse", "ws_white_wall1", 0x00000000); //tmpobjid = CreateDynamicObject(19482, 2714.613037, 746.155456, 10.242189, 0.000000, 0.000000, 180.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterialText(tmpobjid, 0, "{0080FF}@bielsantozofc", 130, "Segoe Script", 75, 1, 0x00000000, 0x00000000, 0); tmpobjid = CreateDynamicObject(18766, 2714.676757, 728.466674, 8.192186, 0.000007, 0.000000, 89.999977, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 12855, "cunte_cop", "sw_copgrass01", 0x00000000); tmpobjid = CreateDynamicObject(18766, 2714.676757, 724.836669, 8.192186, 0.000007, 0.000000, 89.999977, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 12855, "cunte_cop", "sw_copgrass01", 0x00000000); tmpobjid = CreateDynamicObject(18766, 2714.516601, 728.626831, 7.552176, 0.000007, 0.000000, 89.999977, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14593, "papaerchaseoffice", "wall_stone6_256", 0x00000000); tmpobjid = CreateDynamicObject(18766, 2714.516601, 724.665954, 7.552176, 0.000007, 0.000000, 89.999977, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14593, "papaerchaseoffice", "wall_stone6_256", 0x00000000); tmpobjid = CreateDynamicObject(18766, 2714.916992, 724.665954, 7.552176, 0.000007, 0.000000, 89.999977, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14593, "papaerchaseoffice", "wall_stone6_256", 0x00000000); tmpobjid = CreateDynamicObject(18766, 2714.927001, 728.626831, 7.552176, 0.000007, 0.000000, 89.999977, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14593, "papaerchaseoffice", "wall_stone6_256", 0x00000000); tmpobjid = CreateDynamicObject(19445, 2714.735107, 726.690551, 10.011880, 0.000000, 0.000007, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10756, "airportroads_sfse", "ws_white_wall1", 0x00000000); //tmpobjid = CreateDynamicObject(19482, 2714.613037, 726.565429, 10.242189, 0.000000, -0.000007, 179.999954, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterialText(tmpobjid, 0, "{0080FF}BPRP", 130, "Segoe Script", 75, 1, 0x00000000, 0x00000000, 0); tmpobjid = CreateDynamicObject(19441, 2700.079101, 754.388488, 9.356245, 89.999992, 179.999984, -90.000007, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14593, "papaerchaseoffice", "wall_stone6_256", 0x00000000); tmpobjid = CreateDynamicObject(19441, 2703.540283, 754.388488, 9.356245, 89.999992, 179.999984, -90.000007, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14593, "papaerchaseoffice", "wall_stone6_256", 0x00000000); tmpobjid = CreateDynamicObject(19441, 2706.480712, 754.388488, 9.356245, 89.999992, 179.999984, -90.000007, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14593, "papaerchaseoffice", "wall_stone6_256", 0x00000000); tmpobjid = CreateDynamicObject(19441, 2709.607910, 753.421569, 9.356245, 89.999992, 179.999984, -124.300041, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14593, "papaerchaseoffice", "wall_stone6_256", 0x00000000); tmpobjid = CreateDynamicObject(19441, 2711.961914, 751.022949, 9.356245, 89.999992, 179.999984, -147.000030, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14593, "papaerchaseoffice", "wall_stone6_256", 0x00000000); tmpobjid = CreateDynamicObject(19441, 2712.037597, 750.905761, 9.356245, 89.999992, 179.999984, -147.000030, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14593, "papaerchaseoffice", "wall_stone6_256", 0x00000000); tmpobjid = CreateDynamicObject(19441, 2712.879150, 747.792236, 9.356245, 89.999992, 179.999984, 176.699996, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14593, "papaerchaseoffice", "wall_stone6_256", 0x00000000); tmpobjid = CreateDynamicObject(19441, 2712.679687, 744.338134, 9.356245, 89.999992, 179.999984, 176.699996, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14593, "papaerchaseoffice", "wall_stone6_256", 0x00000000); tmpobjid = CreateDynamicObject(19441, 2712.494628, 741.143615, 9.356245, 89.999992, 179.999984, 176.699996, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14593, "papaerchaseoffice", "wall_stone6_256", 0x00000000); tmpobjid = CreateDynamicObject(19441, 2711.955322, 731.829101, 9.356245, 89.999992, 179.999984, 176.699996, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14593, "papaerchaseoffice", "wall_stone6_256", 0x00000000); tmpobjid = CreateDynamicObject(19441, 2711.759033, 728.444946, 9.356245, 89.999992, 179.999984, 176.699996, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14593, "papaerchaseoffice", "wall_stone6_256", 0x00000000); tmpobjid = CreateDynamicObject(19441, 2711.565185, 725.080444, 9.356245, 89.999992, 179.999984, 176.699996, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14593, "papaerchaseoffice", "wall_stone6_256", 0x00000000); tmpobjid = CreateDynamicObject(19441, 2711.365966, 721.625976, 9.356245, 89.999992, 179.999984, 176.699996, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14593, "papaerchaseoffice", "wall_stone6_256", 0x00000000); tmpobjid = CreateDynamicObject(19441, 2709.829101, 719.030029, 9.356245, 89.999992, 179.999984, 121.200027, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14593, "papaerchaseoffice", "wall_stone6_256", 0x00000000); tmpobjid = CreateDynamicObject(19441, 2706.658447, 718.132812, 9.356245, 89.999992, 179.999984, 90.700057, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14593, "papaerchaseoffice", "wall_stone6_256", 0x00000000); tmpobjid = CreateDynamicObject(19441, 2703.218750, 718.090820, 9.356245, 89.999992, 179.999984, 90.700057, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14593, "papaerchaseoffice", "wall_stone6_256", 0x00000000); tmpobjid = CreateDynamicObject(19441, 2700.188720, 718.053833, 9.356245, 89.999992, 179.999984, 90.700057, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14593, "papaerchaseoffice", "wall_stone6_256", 0x00000000); tmpobjid = CreateDynamicObject(19446, 2720.185546, 745.157348, 8.656247, 0.000000, 0.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 3979, "civic01_lan", "sl_laglasswall1", 0x00000000); tmpobjid = CreateDynamicObject(16101, 2721.771484, 737.543762, 13.792192, 180.000000, 0.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 18081, "cj_barb", "whiteceil_int", 0x00000000); tmpobjid = CreateDynamicObject(19358, 2717.129882, 751.002258, 9.846248, 0.000000, 270.000000, -179.999984, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 12855, "cunte_cop", "sw_copgrass01", 0x00000000); tmpobjid = CreateDynamicObject(19358, 2717.129882, 747.812744, 9.846248, 0.000000, 270.000000, -179.999984, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 12855, "cunte_cop", "sw_copgrass01", 0x00000000); tmpobjid = CreateDynamicObject(19358, 2717.129882, 744.662719, 9.846248, 0.000000, 270.000000, -179.999984, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 12855, "cunte_cop", "sw_copgrass01", 0x00000000); tmpobjid = CreateDynamicObject(19358, 2717.129882, 741.582458, 9.846248, 0.000000, 270.000000, -179.999984, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 12855, "cunte_cop", "sw_copgrass01", 0x00000000); tmpobjid = CreateDynamicObject(19358, 2717.129882, 752.632202, 8.436244, 90.000000, 270.000000, -179.999984, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14593, "papaerchaseoffice", "wall_stone6_256", 0x00000000); tmpobjid = CreateDynamicObject(19358, 2718.849365, 750.971923, 8.436244, 90.000000, 270.000000, -89.999984, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14593, "papaerchaseoffice", "wall_stone6_256", 0x00000000); tmpobjid = CreateDynamicObject(19358, 2718.849365, 747.511901, 8.436244, 90.000000, 270.000000, -89.999984, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14593, "papaerchaseoffice", "wall_stone6_256", 0x00000000); tmpobjid = CreateDynamicObject(19358, 2718.849365, 744.031921, 8.436244, 90.000000, 270.000000, -89.999984, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14593, "papaerchaseoffice", "wall_stone6_256", 0x00000000); tmpobjid = CreateDynamicObject(19358, 2718.849365, 741.672058, 8.436244, 90.000000, 270.000000, -89.999984, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14593, "papaerchaseoffice", "wall_stone6_256", 0x00000000); tmpobjid = CreateDynamicObject(19358, 2717.129882, 740.002075, 8.436244, 90.000000, 270.000000, -179.999984, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14593, "papaerchaseoffice", "wall_stone6_256", 0x00000000); tmpobjid = CreateDynamicObject(19358, 2717.129882, 731.311462, 9.846248, 0.000000, 270.000000, -179.999938, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 12855, "cunte_cop", "sw_copgrass01", 0x00000000); tmpobjid = CreateDynamicObject(19358, 2717.129882, 728.121948, 9.846248, 0.000000, 270.000000, -179.999938, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 12855, "cunte_cop", "sw_copgrass01", 0x00000000); tmpobjid = CreateDynamicObject(19358, 2717.129882, 724.971923, 9.846248, 0.000000, 270.000000, -179.999938, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 12855, "cunte_cop", "sw_copgrass01", 0x00000000); tmpobjid = CreateDynamicObject(19358, 2717.129882, 721.891662, 9.846248, 0.000000, 270.000000, -179.999938, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 12855, "cunte_cop", "sw_copgrass01", 0x00000000); tmpobjid = CreateDynamicObject(19358, 2717.129882, 732.941406, 8.436244, 89.999992, 180.000000, -89.999946, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14593, "papaerchaseoffice", "wall_stone6_256", 0x00000000); tmpobjid = CreateDynamicObject(19358, 2718.849365, 731.281127, 8.436244, 89.999992, 270.000000, -89.999977, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14593, "papaerchaseoffice", "wall_stone6_256", 0x00000000); tmpobjid = CreateDynamicObject(19358, 2718.849365, 727.821105, 8.436244, 89.999992, 270.000000, -89.999977, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14593, "papaerchaseoffice", "wall_stone6_256", 0x00000000); tmpobjid = CreateDynamicObject(19358, 2718.849365, 724.341125, 8.436244, 89.999992, 270.000000, -89.999977, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14593, "papaerchaseoffice", "wall_stone6_256", 0x00000000); tmpobjid = CreateDynamicObject(19358, 2718.849365, 721.981262, 8.436244, 89.999992, 270.000000, -89.999977, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14593, "papaerchaseoffice", "wall_stone6_256", 0x00000000); tmpobjid = CreateDynamicObject(19358, 2717.129882, 720.311279, 8.436244, 89.999992, 180.000000, -89.999946, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14593, "papaerchaseoffice", "wall_stone6_256", 0x00000000); tmpobjid = CreateDynamicObject(19446, 2720.215576, 745.157348, 12.036239, 0.000000, 0.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 4833, "airprtrunway_las", "policeha02black_128", 0x00000000); tmpobjid = CreateDynamicObject(19356, 2720.979492, 738.996948, 12.026253, 0.000000, 0.000000, 30.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 4833, "airprtrunway_las", "policeha02black_128", 0x00000000); tmpobjid = CreateDynamicObject(19446, 2720.185546, 745.157348, 15.526238, 0.000000, 0.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 4833, "airprtrunway_las", "policeha02black_128", 0xFF000000); tmpobjid = CreateDynamicObject(19446, 2720.185546, 735.517761, 15.526238, 0.000000, 0.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 4833, "airprtrunway_las", "policeha02black_128", 0xFF000000); tmpobjid = CreateDynamicObject(19446, 2720.185546, 725.897766, 15.526238, 0.000000, 0.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 4833, "airprtrunway_las", "policeha02black_128", 0xFF000000); tmpobjid = CreateDynamicObject(19446, 2720.205566, 725.896606, 12.036239, 0.000000, 0.000000, 180.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 4833, "airprtrunway_las", "policeha02black_128", 0x00000000); tmpobjid = CreateDynamicObject(19446, 2720.185546, 725.887390, 8.656247, 0.000000, 0.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 3979, "civic01_lan", "sl_laglasswall1", 0x00000000); tmpobjid = CreateDynamicObject(19356, 2720.971435, 739.003173, 8.636259, 0.000000, 0.000000, 30.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 3979, "civic01_lan", "sl_laglasswall1", 0x00000000); tmpobjid = CreateDynamicObject(19356, 2720.990722, 732.041259, 8.636259, 0.000000, 0.000000, 150.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 3979, "civic01_lan", "sl_laglasswall1", 0x00000000); tmpobjid = CreateDynamicObject(19356, 2721.007324, 732.019958, 12.026253, 0.000000, 0.000000, 150.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 4833, "airprtrunway_las", "policeha02black_128", 0x00000000); tmpobjid = CreateDynamicObject(16101, 2721.781494, 733.433532, 13.802189, 180.000000, 0.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 18081, "cj_barb", "whiteceil_int", 0x00000000); tmpobjid = CreateDynamicObject(19446, 2725.042724, 749.881408, 8.656247, 0.000014, 0.000007, 89.999923, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 3979, "civic01_lan", "sl_laglasswall1", 0x00000000); tmpobjid = CreateDynamicObject(19446, 2725.042724, 749.861389, 12.036239, 0.000014, 0.000007, 89.999923, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 4833, "airprtrunway_las", "policeha02black_128", 0x00000000); tmpobjid = CreateDynamicObject(19446, 2725.042724, 749.881408, 15.526238, 0.000014, 0.000007, 89.999923, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 4833, "airprtrunway_las", "policeha02black_128", 0xFF000000); tmpobjid = CreateDynamicObject(19446, 2725.042724, 721.181274, 8.656247, 0.000022, 0.000007, 89.999900, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 3979, "civic01_lan", "sl_laglasswall1", 0x00000000); tmpobjid = CreateDynamicObject(19446, 2725.042724, 721.211303, 12.036239, 0.000022, 0.000007, 89.999900, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 4833, "airprtrunway_las", "policeha02black_128", 0x00000000); tmpobjid = CreateDynamicObject(19446, 2725.042724, 721.181274, 15.526238, 0.000022, 0.000007, 89.999900, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 4833, "airprtrunway_las", "policeha02black_128", 0xFF000000); tmpobjid = CreateDynamicObject(16101, 2731.528808, 733.500976, 13.792192, -0.000007, 179.999984, -0.000144, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 18081, "cj_barb", "whiteceil_int", 0x00000000); tmpobjid = CreateDynamicObject(19446, 2733.084960, 725.887451, 12.036239, 0.000007, -0.000007, 179.999710, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 4833, "airprtrunway_las", "policeha02black_128", 0x00000000); tmpobjid = CreateDynamicObject(19356, 2732.320800, 732.047851, 12.026253, 0.000001, -0.000009, -149.999938, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 4833, "airprtrunway_las", "policeha02black_128", 0x00000000); tmpobjid = CreateDynamicObject(19446, 2733.114746, 725.887451, 15.526238, 0.000007, -0.000007, 179.999710, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 4833, "airprtrunway_las", "policeha02black_128", 0xFF000000); tmpobjid = CreateDynamicObject(19446, 2733.114746, 735.527099, 15.526238, 0.000007, -0.000007, 179.999710, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 4833, "airprtrunway_las", "policeha02black_128", 0xFF000000); tmpobjid = CreateDynamicObject(19446, 2733.114746, 745.146972, 15.526238, 0.000007, -0.000007, 179.999710, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 4833, "airprtrunway_las", "policeha02black_128", 0xFF000000); tmpobjid = CreateDynamicObject(19446, 2733.094726, 745.148193, 12.036239, 0.000007, -0.000007, 179.999710, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 4833, "airprtrunway_las", "policeha02black_128", 0x00000000); tmpobjid = CreateDynamicObject(19446, 2733.114746, 725.856933, 8.656247, 0.000007, -0.000007, 179.999710, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 3979, "civic01_lan", "sl_laglasswall1", 0x00000000); tmpobjid = CreateDynamicObject(19356, 2732.329101, 732.041503, 8.636259, 0.000001, -0.000009, -149.999938, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 3979, "civic01_lan", "sl_laglasswall1", 0x00000000); tmpobjid = CreateDynamicObject(19356, 2732.309570, 739.003417, 8.636259, -0.000009, 0.000001, -30.000049, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 3979, "civic01_lan", "sl_laglasswall1", 0x00000000); tmpobjid = CreateDynamicObject(19356, 2732.292968, 739.024902, 12.026253, -0.000009, 0.000001, -30.000049, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 4833, "airprtrunway_las", "policeha02black_128", 0x00000000); tmpobjid = CreateDynamicObject(16101, 2731.519042, 737.611328, 13.802189, -0.000007, 179.999984, -0.000144, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 18081, "cj_barb", "whiteceil_int", 0x00000000); tmpobjid = CreateDynamicObject(19446, 2733.114746, 745.156738, 8.656247, 0.000007, -0.000007, 179.999710, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 3979, "civic01_lan", "sl_laglasswall1", 0x00000000); tmpobjid = CreateDynamicObject(19356, 2731.410156, 749.883850, 8.636259, -0.000009, 0.000001, 90.000030, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 3979, "civic01_lan", "sl_laglasswall1", 0x00000000); tmpobjid = CreateDynamicObject(19356, 2731.423095, 749.815002, 12.026253, -0.000009, 0.000001, 89.999954, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 4833, "airprtrunway_las", "policeha02black_128", 0x00000000); tmpobjid = CreateDynamicObject(19356, 2731.410156, 721.194030, 8.636259, -0.000001, 0.000001, 90.000007, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 3979, "civic01_lan", "sl_laglasswall1", 0x00000000); tmpobjid = CreateDynamicObject(19356, 2731.423095, 721.205261, 12.026253, -0.000001, 0.000001, 89.999931, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 4833, "airprtrunway_las", "policeha02black_128", 0x00000000); tmpobjid = CreateDynamicObject(19356, 2731.423095, 749.815002, 15.476259, -0.000009, 0.000001, 89.999954, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 4833, "airprtrunway_las", "policeha02black_128", 0xFF000000); tmpobjid = CreateDynamicObject(19356, 2731.423095, 721.214843, 15.476259, -0.000009, 0.000001, 89.999954, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 4833, "airprtrunway_las", "policeha02black_128", 0xFF000000); tmpobjid = CreateDynamicObject(16101, 2720.160400, 721.143493, 13.812191, 180.000000, 0.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 18081, "cj_barb", "whiteceil_int", 0x00000000); tmpobjid = CreateDynamicObject(19357, 2725.871826, 749.669250, 10.896252, 0.000000, 0.000000, 90.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10765, "airportgnd_sfse", "ws_whiteplaster_top", 0x00000000); tmpobjid = CreateDynamicObject(19357, 2726.622558, 749.669250, 10.896252, 0.000000, 0.000000, 90.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10765, "airportgnd_sfse", "ws_whiteplaster_top", 0x00000000); tmpobjid = CreateDynamicObject(1753, 2727.207275, 745.212036, 9.926251, 0.000000, 0.000000, 180.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 15046, "svcunthoose", "GB_toilet01", 0x00000000); tmpobjid = CreateDynamicObject(19379, 2725.461181, 745.008300, 9.846248, 180.000000, 90.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14479, "skuzzy_motelmain", "mp_CJ_Laminate1", 0x00000000); tmpobjid = CreateDynamicObject(19379, 2725.461181, 735.368225, 9.846248, 180.000000, 90.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14479, "skuzzy_motelmain", "mp_CJ_Laminate1", 0x00000000); tmpobjid = CreateDynamicObject(19379, 2725.461181, 725.728576, 9.846248, 180.000000, 90.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14479, "skuzzy_motelmain", "mp_CJ_Laminate1", 0x00000000); tmpobjid = CreateDynamicObject(19363, 2731.355957, 748.197204, 9.842185, 180.000000, 90.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14479, "skuzzy_motelmain", "mp_CJ_Laminate1", 0x00000000); tmpobjid = CreateDynamicObject(19363, 2731.355957, 744.997070, 9.842185, 180.000000, 90.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14479, "skuzzy_motelmain", "mp_CJ_Laminate1", 0x00000000); tmpobjid = CreateDynamicObject(19363, 2731.355957, 741.806945, 9.842185, 180.000000, 90.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14479, "skuzzy_motelmain", "mp_CJ_Laminate1", 0x00000000); tmpobjid = CreateDynamicObject(19363, 2731.355957, 738.607177, 9.842185, 180.000000, 90.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14479, "skuzzy_motelmain", "mp_CJ_Laminate1", 0x00000000); tmpobjid = CreateDynamicObject(19363, 2731.355957, 735.397277, 9.842185, 180.000000, 90.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14479, "skuzzy_motelmain", "mp_CJ_Laminate1", 0x00000000); tmpobjid = CreateDynamicObject(19363, 2731.355957, 732.207397, 9.842185, 180.000000, 90.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14479, "skuzzy_motelmain", "mp_CJ_Laminate1", 0x00000000); tmpobjid = CreateDynamicObject(19363, 2731.355957, 728.997497, 9.842185, 180.000000, 90.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14479, "skuzzy_motelmain", "mp_CJ_Laminate1", 0x00000000); tmpobjid = CreateDynamicObject(19363, 2731.355957, 725.817504, 9.842185, 180.000000, 90.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14479, "skuzzy_motelmain", "mp_CJ_Laminate1", 0x00000000); tmpobjid = CreateDynamicObject(19363, 2726.206298, 747.526672, 9.852185, 180.000000, 90.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14748, "sfhsm1", "AH_bigwoodthing", 0x00000000); tmpobjid = CreateDynamicObject(19363, 2731.355957, 722.867126, 9.842185, 180.000000, 90.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14479, "skuzzy_motelmain", "mp_CJ_Laminate1", 0x00000000); tmpobjid = CreateDynamicObject(1767, 2728.852050, 748.045776, 9.938121, 0.000000, 0.000000, 270.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 15046, "svcunthoose", "GB_toilet01", 0x00000000); tmpobjid = CreateDynamicObject(1767, 2723.601074, 747.005737, 9.938121, 0.000000, 0.000000, 102.599998, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 15046, "svcunthoose", "GB_toilet01", 0x00000000); tmpobjid = CreateDynamicObject(1815, 2725.624267, 747.139038, 9.932187, 0.000000, 0.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 18058, "mp_diner2", "mp_diner_table", 0x00000000); tmpobjid = CreateDynamicObject(2151, 2728.771728, 721.676696, 9.912187, 0.000000, 0.000000, 180.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14387, "dr_gsnew", "mp_gs_kitchfloor", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 2, 15046, "svcunthoose", "GB_toilet01", 0x00000000); tmpobjid = CreateDynamicObject(19357, 2729.811767, 721.398925, 10.896252, 0.000000, 0.000000, 90.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14706, "labig2int2", "mp_apt1_kitchwallpaper", 0x00000000); tmpobjid = CreateDynamicObject(19357, 2726.630126, 721.398925, 10.896252, 0.000000, 0.000000, 90.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14706, "labig2int2", "mp_apt1_kitchwallpaper", 0x00000000); tmpobjid = CreateDynamicObject(2131, 2730.771484, 721.953491, 9.932187, 0.000000, 0.000000, 180.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 15046, "svcunthoose", "GB_toilet01", 0x00000000); tmpobjid = CreateDynamicObject(2154, 2727.424804, 721.687866, 9.922185, 0.000000, 0.000000, 180.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14387, "dr_gsnew", "mp_gs_kitchfloor", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 2, 15046, "svcunthoose", "GB_toilet01", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 3, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 4, 10101, "2notherbuildsfe", "Bow_church_grass_alt", 0x00000000); tmpobjid = CreateDynamicObject(2152, 2726.084716, 721.696166, 9.932187, 0.000000, 0.000000, 180.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14387, "dr_gsnew", "mp_gs_kitchfloor", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 2, 15046, "svcunthoose", "GB_toilet01", 0x00000000); tmpobjid = CreateDynamicObject(2117, 2727.354248, 725.968017, 9.882184, 0.000000, 0.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14420, "dr_gsbits", "mp_shop_window", 0x00000000); tmpobjid = CreateDynamicObject(1721, 2728.249511, 727.585388, 9.912182, 0.000000, 0.000000, 180.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 1, 15046, "svcunthoose", "GB_toilet01", 0x00000000); tmpobjid = CreateDynamicObject(1721, 2727.308593, 727.585388, 9.912182, 0.000000, 0.000000, 180.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 1, 15046, "svcunthoose", "GB_toilet01", 0x00000000); tmpobjid = CreateDynamicObject(2117, 2725.424316, 725.968017, 9.882184, 0.000000, 0.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14420, "dr_gsbits", "mp_shop_window", 0x00000000); tmpobjid = CreateDynamicObject(2117, 2725.424316, 725.008178, 9.882184, 0.000000, 0.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14420, "dr_gsbits", "mp_shop_window", 0x00000000); tmpobjid = CreateDynamicObject(2117, 2727.354980, 725.008178, 9.882184, 0.000000, 0.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14420, "dr_gsbits", "mp_shop_window", 0x00000000); tmpobjid = CreateDynamicObject(1721, 2726.367675, 727.585388, 9.912182, 0.000000, -0.000007, 179.999954, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 1, 15046, "svcunthoose", "GB_toilet01", 0x00000000); tmpobjid = CreateDynamicObject(1721, 2725.426757, 727.585388, 9.912182, 0.000000, -0.000007, 179.999954, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 1, 15046, "svcunthoose", "GB_toilet01", 0x00000000); tmpobjid = CreateDynamicObject(1721, 2725.426757, 723.575012, 9.912182, -0.000007, 0.000000, -0.000068, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 1, 15046, "svcunthoose", "GB_toilet01", 0x00000000); tmpobjid = CreateDynamicObject(1721, 2726.367675, 723.575012, 9.912182, -0.000007, 0.000000, -0.000068, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 1, 15046, "svcunthoose", "GB_toilet01", 0x00000000); tmpobjid = CreateDynamicObject(1721, 2727.308593, 723.575012, 9.912182, -0.000007, -0.000007, -0.000114, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 1, 15046, "svcunthoose", "GB_toilet01", 0x00000000); tmpobjid = CreateDynamicObject(1721, 2728.249511, 723.575012, 9.912182, -0.000007, -0.000007, -0.000114, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 1, 15046, "svcunthoose", "GB_toilet01", 0x00000000); tmpobjid = CreateDynamicObject(1721, 2723.967041, 725.955261, 9.912182, 0.000000, -0.000007, 269.999938, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 1, 15046, "svcunthoose", "GB_toilet01", 0x00000000); tmpobjid = CreateDynamicObject(1721, 2723.967041, 725.054931, 9.912182, 0.000000, -0.000007, 269.999938, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 1, 15046, "svcunthoose", "GB_toilet01", 0x00000000); tmpobjid = CreateDynamicObject(1721, 2729.919189, 725.054931, 9.912182, 0.000000, 0.000000, 89.999877, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 1, 15046, "svcunthoose", "GB_toilet01", 0x00000000); tmpobjid = CreateDynamicObject(1721, 2729.919189, 725.955322, 9.912182, 0.000000, 0.000000, 89.999877, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 1, 15046, "svcunthoose", "GB_toilet01", 0x00000000); tmpobjid = CreateDynamicObject(19357, 2729.861816, 749.669250, 10.046244, 0.000000, 0.000000, 90.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10765, "airportgnd_sfse", "ws_whiteplaster_top", 0x00000000); tmpobjid = CreateDynamicObject(19357, 2722.670654, 749.669250, 9.806241, 0.000000, 0.000000, 90.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10765, "airportgnd_sfse", "ws_whiteplaster_top", 0x00000000); tmpobjid = CreateDynamicObject(19357, 2720.399414, 747.869201, 11.376241, 0.000000, 0.000000, 180.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10765, "airportgnd_sfse", "ws_whiteplaster_top", 0x00000000); tmpobjid = CreateDynamicObject(19357, 2732.932373, 745.969055, 10.006243, 0.000000, 0.000000, 180.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10765, "airportgnd_sfse", "ws_whiteplaster_top", 0x00000000); tmpobjid = CreateDynamicObject(19446, 2720.215576, 745.157348, 12.036239, 0.000000, 0.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 4833, "airprtrunway_las", "policeha02black_128", 0x00000000); tmpobjid = CreateDynamicObject(19446, 2720.205566, 725.896606, 12.036239, 0.000000, 0.000000, 180.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 4833, "airprtrunway_las", "policeha02black_128", 0x00000000); tmpobjid = CreateDynamicObject(19357, 2732.932373, 742.038940, 9.626241, 0.000000, 0.000000, 180.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10765, "airportgnd_sfse", "ws_whiteplaster_top", 0x00000000); tmpobjid = CreateDynamicObject(19357, 2720.370605, 725.078918, 9.626241, 0.000000, 0.000000, 180.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10765, "airportgnd_sfse", "ws_whiteplaster_top", 0x00000000); tmpobjid = CreateDynamicObject(19357, 2720.399414, 744.689453, 11.376241, 0.000000, 0.000000, 180.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10765, "airportgnd_sfse", "ws_whiteplaster_top", 0x00000000); tmpobjid = CreateDynamicObject(19357, 2720.399414, 742.199340, 11.376241, 0.000000, 0.000000, 180.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10765, "airportgnd_sfse", "ws_whiteplaster_top", 0x00000000); tmpobjid = CreateDynamicObject(18766, 2734.407470, 717.459472, 8.078426, 0.000000, 0.000007, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 3820, "boxhses_sfsx", "stonewall_la", 0x00000000); tmpobjid = CreateDynamicObject(19445, 2725.265380, 752.673217, 9.858436, 180.000000, 90.000000, 270.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10765, "airportgnd_sfse", "desgreengrass", 0x00000000); tmpobjid = CreateDynamicObject(19445, 2733.675781, 752.673217, 9.858436, 180.000000, 90.000000, 270.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10765, "airportgnd_sfse", "desgreengrass", 0x00000000); tmpobjid = CreateDynamicObject(18766, 2703.315917, 717.459472, 8.078426, 0.000000, 0.000007, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 3820, "boxhses_sfsx", "stonewall_la", 0x00000000); tmpobjid = CreateDynamicObject(18766, 2713.316406, 717.459472, 8.078426, 0.000000, 0.000007, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 3820, "boxhses_sfsx", "stonewall_la", 0x00000000); tmpobjid = CreateDynamicObject(18766, 2723.276367, 717.459472, 8.078426, 0.000000, 0.000007, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 3820, "boxhses_sfsx", "stonewall_la", 0x00000000); tmpobjid = CreateDynamicObject(18766, 2733.236572, 717.459472, 8.078426, 0.000000, 0.000007, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 3820, "boxhses_sfsx", "stonewall_la", 0x00000000); tmpobjid = CreateDynamicObject(18766, 2738.928466, 721.999450, 8.078426, 0.000007, 0.000000, 89.999977, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 3820, "boxhses_sfsx", "stonewall_la", 0x00000000); tmpobjid = CreateDynamicObject(18766, 2738.928466, 731.989257, 8.078426, 0.000007, 0.000000, 89.999977, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 3820, "boxhses_sfsx", "stonewall_la", 0x00000000); tmpobjid = CreateDynamicObject(18766, 2738.928466, 741.849365, 8.078426, 0.000007, 0.000000, 89.999977, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 3820, "boxhses_sfsx", "stonewall_la", 0x00000000); tmpobjid = CreateDynamicObject(18766, 2738.928466, 750.448913, 8.078426, 0.000007, 0.000000, 89.999977, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 3820, "boxhses_sfsx", "stonewall_la", 0x00000000); tmpobjid = CreateDynamicObject(18766, 2733.105712, 754.959167, 8.078426, 0.000000, -0.000007, 179.999954, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 3820, "boxhses_sfsx", "stonewall_la", 0x00000000); tmpobjid = CreateDynamicObject(18766, 2703.283935, 754.959167, 8.078426, 0.000000, -0.000007, 179.999954, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 3820, "boxhses_sfsx", "stonewall_la", 0x00000000); tmpobjid = CreateDynamicObject(18766, 2713.264160, 754.959167, 8.078426, 0.000000, -0.000007, 179.999954, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 3820, "boxhses_sfsx", "stonewall_la", 0x00000000); tmpobjid = CreateDynamicObject(18766, 2723.213134, 754.959167, 8.078426, 0.000000, -0.000007, 179.999954, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 3820, "boxhses_sfsx", "stonewall_la", 0x00000000); tmpobjid = CreateDynamicObject(18766, 2734.346191, 754.959167, 8.078426, 0.000000, -0.000007, 179.999954, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 3820, "boxhses_sfsx", "stonewall_la", 0x00000000); tmpobjid = CreateDynamicObject(19445, 2703.186279, 717.578674, 11.651893, 0.000000, 0.000000, 90.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 8680, "chnatwnfnce", "ctmallfence", 0xFF000000); tmpobjid = CreateDynamicObject(19445, 2712.815917, 717.578674, 11.651893, 0.000000, 0.000000, 90.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 8680, "chnatwnfnce", "ctmallfence", 0xFF000000); tmpobjid = CreateDynamicObject(19445, 2722.415283, 717.578674, 11.651893, 0.000000, 0.000000, 90.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 8680, "chnatwnfnce", "ctmallfence", 0xFF000000); tmpobjid = CreateDynamicObject(19445, 2732.025146, 717.578674, 11.651893, 0.000000, 0.000000, 90.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 8680, "chnatwnfnce", "ctmallfence", 0xFF000000); tmpobjid = CreateDynamicObject(19445, 2734.246337, 717.578674, 11.651893, 0.000000, 0.000000, 90.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 8680, "chnatwnfnce", "ctmallfence", 0xFF000000); tmpobjid = CreateDynamicObject(19445, 2738.978027, 722.318847, 11.651893, 0.000000, 0.000000, 180.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 8680, "chnatwnfnce", "ctmallfence", 0xFF000000); tmpobjid = CreateDynamicObject(19445, 2738.978027, 731.958740, 11.651893, 0.000000, 0.000000, 180.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 8680, "chnatwnfnce", "ctmallfence", 0xFF000000); tmpobjid = CreateDynamicObject(19445, 2738.978027, 741.538574, 11.651893, 0.000000, 0.000000, 180.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 8680, "chnatwnfnce", "ctmallfence", 0xFF000000); tmpobjid = CreateDynamicObject(19445, 2738.978027, 750.378356, 11.651893, 0.000000, 0.000000, 180.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 8680, "chnatwnfnce", "ctmallfence", 0xFF000000); tmpobjid = CreateDynamicObject(19445, 2734.278076, 755.098571, 11.651893, 0.000000, 0.000000, 270.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 8680, "chnatwnfnce", "ctmallfence", 0xFF000000); tmpobjid = CreateDynamicObject(19445, 2724.657958, 755.098571, 11.651893, 0.000000, 0.000000, 270.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 8680, "chnatwnfnce", "ctmallfence", 0xFF000000); tmpobjid = CreateDynamicObject(19445, 2715.028808, 755.098571, 11.651893, 0.000000, 0.000000, 270.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 8680, "chnatwnfnce", "ctmallfence", 0xFF000000); tmpobjid = CreateDynamicObject(19445, 2705.407714, 755.098571, 11.651893, 0.000000, 0.000000, 270.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 8680, "chnatwnfnce", "ctmallfence", 0xFF000000); tmpobjid = CreateDynamicObject(19445, 2702.957031, 755.098571, 11.651893, 0.000000, 0.000000, 270.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 8680, "chnatwnfnce", "ctmallfence", 0xFF000000); tmpobjid = CreateDynamicObject(19378, 2725.435546, 735.608276, 13.962182, 180.000000, 90.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 16093, "a51_ext", "ws_whitewall2_top", 0x00000000); tmpobjid = CreateDynamicObject(19378, 2727.937744, 745.018066, 13.952180, 180.000000, 90.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 16093, "a51_ext", "ws_whitewall2_top", 0x00000000); tmpobjid = CreateDynamicObject(19378, 2727.937744, 735.417907, 13.952180, 180.000000, 90.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 16093, "a51_ext", "ws_whitewall2_top", 0x00000000); tmpobjid = CreateDynamicObject(19378, 2727.937744, 725.958312, 13.952180, 180.000000, 90.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 16093, "a51_ext", "ws_whitewall2_top", 0x00000000); tmpobjid = CreateDynamicObject(19378, 2725.435546, 725.958312, 13.962182, 180.000000, 90.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 16093, "a51_ext", "ws_whitewall2_top", 0x00000000); tmpobjid = CreateDynamicObject(19378, 2725.435546, 744.968505, 13.962182, 180.000000, 90.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 16093, "a51_ext", "ws_whitewall2_top", 0x00000000); tmpobjid = CreateDynamicObject(19378, 2725.435546, 735.608276, 17.362190, 0.000000, 270.000000, -179.999984, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 16093, "a51_ext", "ws_whitewall2_top", 0x00000000); tmpobjid = CreateDynamicObject(19378, 2727.937744, 745.018066, 17.352191, 0.000000, 270.000000, -179.999984, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 16093, "a51_ext", "ws_whitewall2_top", 0x00000000); tmpobjid = CreateDynamicObject(19378, 2727.937744, 735.417907, 17.352191, 0.000000, 270.000000, -179.999984, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 16093, "a51_ext", "ws_whitewall2_top", 0x00000000); tmpobjid = CreateDynamicObject(19378, 2727.937744, 725.958312, 17.352191, 0.000000, 270.000000, -179.999984, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 16093, "a51_ext", "ws_whitewall2_top", 0x00000000); tmpobjid = CreateDynamicObject(19378, 2725.435546, 725.958312, 17.362190, 0.000000, 270.000000, -179.999984, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 16093, "a51_ext", "ws_whitewall2_top", 0x00000000); tmpobjid = CreateDynamicObject(19378, 2725.435546, 744.968505, 17.362190, 0.000000, 270.000000, -179.999984, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 16093, "a51_ext", "ws_whitewall2_top", 0x00000000); tmpobjid = CreateDynamicObject(19357, 2720.071777, 747.569152, 15.476248, 0.000000, 0.000000, 180.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10765, "airportgnd_sfse", "ws_whiteplaster_top", 0x00000000); tmpobjid = CreateDynamicObject(19357, 2720.071777, 744.359313, 15.476248, 0.000000, 0.000000, 180.000000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10765, "airportgnd_sfse", "ws_whiteplaster_top", 0x00000000); tmpobjid = CreateDynamicObject(19434, 2719.313964, 747.475708, 13.712187, 0.000000, 270.000000, -90.000007, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10765, "airportgnd_sfse", "ws_whiteplaster_top", 0x00000000); tmpobjid = CreateDynamicObject(19434, 2719.323974, 744.465515, 13.712187, 0.000000, 270.000000, -90.000007, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10765, "airportgnd_sfse", "ws_whiteplaster_top", 0x00000000); tmpobjid = CreateDynamicObject(19357, 2720.071777, 726.379272, 15.476248, 0.000000, -0.000007, 179.999954, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10765, "airportgnd_sfse", "ws_whiteplaster_top", 0x00000000); tmpobjid = CreateDynamicObject(19357, 2720.071777, 723.169433, 15.476248, 0.000000, -0.000007, 179.999954, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10765, "airportgnd_sfse", "ws_whiteplaster_top", 0x00000000); tmpobjid = CreateDynamicObject(19434, 2719.313964, 726.285827, 13.712187, -0.000007, 270.000000, -89.999984, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10765, "airportgnd_sfse", "ws_whiteplaster_top", 0x00000000); tmpobjid = CreateDynamicObject(19434, 2719.323974, 723.275634, 13.712187, -0.000007, 270.000000, -89.999984, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10765, "airportgnd_sfse", "ws_whiteplaster_top", 0x00000000); ///////////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////// tmpobjid = CreateDynamicObject(1232, 2714.703613, 720.470825, 8.456246, 0.000000, 0.000014, 0.000000, object_world, object_int, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(9131, 2714.667968, 720.410217, 9.686247, 0.000000, 0.000007, 0.000000, object_world, object_int, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(1232, 2714.703613, 732.981079, 8.456246, 0.000000, 0.000007, 0.000000, object_world, object_int, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(1232, 2714.703613, 740.010986, 8.456246, 0.000000, 0.000022, 0.000000, object_world, object_int, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(9131, 2714.667968, 732.920471, 9.686247, 0.000000, 0.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(9131, 2714.667968, 739.950378, 9.686247, 0.000000, 0.000014, 0.000000, object_world, object_int, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(1232, 2714.703613, 752.451171, 8.456246, 0.000000, 0.000029, 0.000000, object_world, object_int, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(9131, 2714.667968, 752.390563, 9.686247, 0.000000, 0.000022, 0.000000, object_world, object_int, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(19786, 2726.191406, 749.698547, 11.496253, 0.000000, 0.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(948, 2724.361816, 749.269226, 9.938121, 0.000000, 0.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(19896, 2725.798339, 747.511718, 10.448123, 0.000000, 0.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(948, 2731.661132, 721.896972, 9.928121, 0.000000, 0.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(2162, 2728.436767, 749.593505, 9.932187, 0.000000, 0.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(2161, 2730.342041, 749.556640, 9.932187, 0.000000, 0.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(948, 2731.569091, 749.285339, 9.932187, 0.000000, 0.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(2238, 2729.448974, 749.386352, 11.232191, 0.000000, 0.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(2475, 2722.333007, 749.574462, 9.082180, 0.000000, 0.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(3017, 2722.599365, 749.346374, 10.602188, 0.000000, 0.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(2902, 2722.346435, 749.408508, 11.332189, 0.000000, 0.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(11724, 2732.562011, 746.005065, 10.452183, 0.000000, 0.000000, 270.000000, object_world, object_int, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(11725, 2732.431396, 746.023681, 10.282191, 0.000000, 0.000000, 270.000000, object_world, object_int, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(1738, 2732.737060, 742.689392, 10.532189, 0.000000, 0.000000, 270.000000, object_world, object_int, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(1738, 2732.737060, 741.759460, 10.532189, 0.000000, 0.000000, 450.000000, object_world, object_int, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(1828, 2726.437744, 735.752014, 9.932187, 0.000000, 0.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(2227, 2726.421142, 749.752990, 9.712184, 0.000000, 0.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(2632, 2736.034423, 748.534057, 9.926251, 0.000000, 0.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(2631, 2736.024902, 744.914245, 9.926251, 0.000000, 0.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(2628, 2735.138183, 744.933776, 9.936249, 0.000000, 0.000000, 90.000000, object_world, object_int, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(2629, 2735.539794, 748.497619, 9.949921, 0.000000, 0.000000, 90.000000, object_world, object_int, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(2630, 2735.371826, 742.820556, 9.926251, 0.000000, 0.000000, 270.000000, object_world, object_int, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(2630, 2735.371826, 741.440551, 9.926251, 0.000000, 0.000000, 270.000000, object_world, object_int, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(2812, 2728.134521, 725.911132, 10.702192, 0.000000, 0.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(2822, 2727.365478, 725.171508, 10.662194, 0.000000, 0.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(2829, 2726.285400, 725.697509, 10.672188, 0.000000, 0.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(2828, 2730.465820, 749.418029, 11.262193, 0.000000, 0.000000, 150.999984, object_world, object_int, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(2851, 2726.288085, 747.607666, 10.428116, 0.000000, 0.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(11706, 2724.655029, 721.874450, 9.932187, 0.000000, 0.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(11745, 2722.210937, 749.338195, 10.042186, 0.000000, 0.000000, 90.000000, object_world, object_int, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(11721, 2720.460693, 725.768005, 10.602176, 0.000000, 0.000000, 90.000000, object_world, object_int, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(11733, 2721.527099, 722.063842, 9.932187, 0.000000, 0.000000, 110.000000, object_world, object_int, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(14867, 2720.590087, 744.744262, 11.432184, 0.000000, 0.000000, 270.000000, object_world, object_int, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(1281, 2736.182128, 727.304565, 10.716252, 0.000000, 0.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(1281, 2736.182128, 721.924560, 10.716252, 0.000000, 0.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(1569, 2720.012451, 748.268920, 13.772189, 0.000000, 0.000000, 270.000000, object_world, object_int, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(970, 2718.576904, 746.980957, 14.239192, 0.000000, 0.000000, 90.000000, object_world, object_int, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(948, 2719.273681, 748.876281, 13.706384, 0.000000, 0.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(970, 2718.576904, 744.960754, 14.239192, 0.000000, 0.000000, 90.000000, object_world, object_int, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(948, 2719.273681, 743.085876, 13.706384, 0.000000, 0.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(638, 2719.717041, 745.126831, 14.436820, 0.000000, 0.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(1569, 2720.012451, 722.248718, 13.772189, -0.000007, 0.000000, 90.000022, object_world, object_int, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(970, 2718.576904, 725.791076, 14.239192, 0.000007, 0.000000, 89.999977, object_world, object_int, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(948, 2719.273681, 727.686401, 13.706384, 0.000000, 0.000007, 0.000000, object_world, object_int, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(970, 2718.576904, 723.770874, 14.239192, 0.000007, 0.000000, 89.999977, object_world, object_int, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(948, 2719.273681, 721.895996, 13.706384, 0.000000, 0.000007, 0.000000, object_world, object_int, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(638, 2719.717041, 725.907104, 14.436820, 0.000000, 0.000007, 0.000000, object_world, object_int, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(615, 2701.859375, 729.061157, 8.396247, 0.000000, 0.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(615, 2701.859375, 743.010864, 8.396247, 0.000000, 0.000000, -110.800010, object_world, object_int, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(673, 2716.800292, 730.192810, 9.272187, 0.000000, 0.000000, -178.100006, object_world, object_int, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(673, 2716.930419, 743.872680, 9.222187, 0.000000, 0.000000, 177.100006, object_world, object_int, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(615, 2724.856201, 753.013732, 8.396247, 0.000000, 0.000000, 139.199981, object_world, object_int, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(615, 2733.040283, 752.700195, 8.396247, 0.000000, 0.000000, 139.199981, object_world, object_int, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(869, 2703.069091, 731.474060, 10.136254, 0.000000, 0.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(869, 2703.069091, 727.303833, 10.136254, 0.000000, 0.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(869, 2700.088378, 728.663879, 10.136254, 0.000000, 0.000000, 90.000000, object_world, object_int, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(869, 2700.088378, 742.454406, 10.136254, 0.000000, 0.000000, 90.000000, object_world, object_int, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(869, 2703.527832, 741.034423, 10.136254, 0.000000, 0.000000, 360.000000, object_world, object_int, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(869, 2703.527832, 745.304748, 10.136254, 0.000000, 0.000000, 360.000000, object_world, object_int, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(869, 2716.937988, 749.704772, 10.106254, 0.000000, 0.000000, 450.000000, object_world, object_int, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(869, 2716.937988, 744.144714, 10.106254, 0.000000, 0.000000, 450.000000, object_world, object_int, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(869, 2716.937988, 730.804138, 10.106254, 0.000000, 0.000000, 450.000000, object_world, object_int, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(869, 2716.937988, 724.664428, 10.106254, 0.000000, 0.000000, 450.000000, object_world, object_int, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(869, 2722.898193, 752.584838, 10.106254, 0.000000, 0.000000, 540.000000, object_world, object_int, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(869, 2727.808837, 752.584838, 10.106254, 0.000000, 0.000000, 540.000000, object_world, object_int, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(869, 2734.318115, 752.584838, 10.106254, 0.000000, 0.000000, 540.000000, object_world, object_int, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(1232, 2705.786621, 747.267089, 10.762183, 0.000000, 0.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(1232, 2705.176025, 733.156982, 10.762183, 0.000000, 0.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(1232, 2705.616455, 738.966735, 10.762183, 0.000000, 0.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(1232, 2704.855712, 724.816772, 10.762183, 0.000000, 0.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(1893, 2726.270996, 747.024963, 13.892198, 0.000000, 0.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(1893, 2726.270996, 739.514831, 13.892198, 0.000000, 0.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(1893, 2726.270996, 731.274230, 13.892198, 0.000000, 0.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(1893, 2726.270996, 725.153930, 13.892198, 0.000000, 0.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(1232, 2738.160888, 750.507751, 10.686263, 0.000000, 0.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(1232, 2738.160888, 729.477722, 10.686263, 0.000000, 0.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(19362, 2733.059326, 727.955627, 10.952181, 0.000000, 0.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(1569, 2732.974609, 726.462036, 9.932187, 0.000000, 0.000000, 90.000000, object_world, object_int, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(1569, 2732.974609, 729.462097, 9.932187, 0.000000, 0.000000, 270.000000, object_world, object_int, -1, 300.00, 300.00); } tmpobjid = CreateDynamicObject(19356, 1362.352050, -1759.622192, 14.295822, 0.000000, 0.000000, 90.000000, -1, -1, -1, 400.00, 400.00); SetDynamicObjectMaterial(tmpobjid, 0, 12944, "ce_bankalley2", "sw_brick04", 0x00000000); tmpobjid = CreateDynamicObject(19447, 1356.094848, -1771.596679, 14.289075, 0.000036, 0.000357, 89.999740, -1, -1, -1, 400.00, 400.00); SetDynamicObjectMaterial(tmpobjid, 0, 2823, "gb_kitchtake", "deep_red64", 0x00000000); tmpobjid = CreateDynamicObject(1499, 1351.758178, -1759.657592, 12.581954, -0.000356, 0.000057, 0.001471, -1, -1, -1, 400.00, 400.00); SetDynamicObjectMaterial(tmpobjid, 0, 13077, "cunte_bar1", "black16", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 1, 1419, "break_fence3", "CJ_FRAME_Glass", 0x00000000); tmpobjid = CreateDynamicObject(1499, 1354.759765, -1759.635375, 12.581954, 0.000357, -0.000057, 179.997955, -1, -1, -1, 400.00, 400.00); SetDynamicObjectMaterial(tmpobjid, 0, 13077, "cunte_bar1", "black16", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 1, 1419, "break_fence3", "CJ_FRAME_Glass", 0x00000000); tmpobjid = CreateDynamicObject(19447, 1347.006591, -1759.638671, 11.349020, -0.000356, 0.000036, 90.001472, -1, -1, -1, 400.00, 400.00); SetDynamicObjectMaterial(tmpobjid, 0, 12944, "ce_bankalley2", "sw_brick04", 0x00000000); tmpobjid = CreateDynamicObject(19379, 1347.573730, -1764.278442, 12.542812, 0.000000, 90.000000, 0.000000, -1, -1, -1, 400.00, 400.00); SetDynamicObjectMaterial(tmpobjid, 0, 8486, "ballys02", "walltiles_128", 0x00000000); tmpobjid = CreateDynamicObject(19379, 1358.079345, -1764.278442, 12.542812, 0.000000, 90.000000, 0.000000, -1, -1, -1, 400.00, 400.00); SetDynamicObjectMaterial(tmpobjid, 0, 8486, "ballys02", "walltiles_128", 0x00000000); tmpobjid = CreateDynamicObject(19379, 1358.729980, -1764.278442, 12.552812, 0.000000, 90.000000, 0.000000, -1, -1, -1, 400.00, 400.00); SetDynamicObjectMaterial(tmpobjid, 0, 8486, "ballys02", "walltiles_128", 0x00000000); tmpobjid = CreateDynamicObject(19447, 1363.978759, -1764.533081, 14.289076, -0.000356, 0.000036, 0.001471, -1, -1, -1, 400.00, 400.00); SetDynamicObjectMaterial(tmpobjid, 0, 12944, "ce_bankalley2", "sw_brick04", 0x00000000); tmpobjid = CreateDynamicObject(19447, 1342.296020, -1770.433227, 14.289112, -0.000356, 0.000036, 0.001471, -1, -1, -1, 400.00, 400.00); SetDynamicObjectMaterial(tmpobjid, 0, 12944, "ce_bankalley2", "sw_brick04", 0x00000000); tmpobjid = CreateDynamicObject(19447, 1359.347900, -1775.258911, 14.289083, 0.000036, 0.000357, 89.999740, -1, -1, -1, 400.00, 400.00); SetDynamicObjectMaterial(tmpobjid, 0, 12944, "ce_bankalley2", "sw_brick04", 0x00000000); tmpobjid = CreateDynamicObject(19379, 1347.573730, -1770.491088, 12.532812, 0.000000, 90.000000, 0.000000, -1, -1, -1, 400.00, 400.00); SetDynamicObjectMaterial(tmpobjid, 0, 8486, "ballys02", "walltiles_128", 0x00000000); tmpobjid = CreateDynamicObject(19379, 1358.078735, -1770.491088, 12.532812, 0.000000, 90.000000, 0.000000, -1, -1, -1, 400.00, 400.00); SetDynamicObjectMaterial(tmpobjid, 0, 8486, "ballys02", "walltiles_128", 0x00000000); tmpobjid = CreateDynamicObject(19379, 1358.779418, -1770.491088, 12.522811, 0.000000, 90.000000, 0.000000, -1, -1, -1, 400.00, 400.00); SetDynamicObjectMaterial(tmpobjid, 0, 8486, "ballys02", "walltiles_128", 0x00000000); tmpobjid = CreateDynamicObject(19447, 1359.585937, -1759.638671, 11.349105, -0.000356, 0.000036, 90.001472, -1, -1, -1, 400.00, 400.00); SetDynamicObjectMaterial(tmpobjid, 0, 12944, "ce_bankalley2", "sw_brick04", 0x00000000); tmpobjid = CreateDynamicObject(18766, 1359.334716, -1761.982299, 16.522811, 89.999992, 988.300170, -88.299057, -1, -1, -1, 400.00, 400.00); SetDynamicObjectMaterial(tmpobjid, 0, 3979, "civic01_lan", "sl_concretewall1", 0x00000000); tmpobjid = CreateDynamicObject(18766, 1359.334716, -1766.976562, 16.522811, 89.999992, 988.300170, -88.299057, -1, -1, -1, 400.00, 400.00); SetDynamicObjectMaterial(tmpobjid, 0, 3979, "civic01_lan", "sl_concretewall1", 0x00000000); tmpobjid = CreateDynamicObject(19398, 1362.453857, -1771.605468, 14.282793, 0.000036, 0.000357, 89.999740, -1, -1, -1, 400.00, 400.00); SetDynamicObjectMaterial(tmpobjid, 0, 2823, "gb_kitchtake", "deep_red64", 0x00000000); tmpobjid = CreateDynamicObject(19447, 1347.140380, -1771.596679, 14.289075, 0.000036, 0.000357, 89.999740, -1, -1, -1, 400.00, 400.00); SetDynamicObjectMaterial(tmpobjid, 0, 2823, "gb_kitchtake", "deep_red64", 0x00000000); tmpobjid = CreateDynamicObject(19426, 1347.303466, -1759.570800, 16.823686, 89.999992, 179.999984, -90.000007, -1, -1, -1, 400.00, 400.00); SetDynamicObjectMaterial(tmpobjid, 0, 19130, "matarrows", "green", 0x00000000); tmpobjid = CreateDynamicObject(19426, 1343.804321, -1759.570800, 16.823686, 89.999992, 179.999984, -90.000007, -1, -1, -1, 400.00, 400.00); SetDynamicObjectMaterial(tmpobjid, 0, 19130, "matarrows", "green", 0x00000000); tmpobjid = CreateDynamicObject(2789, 1343.636352, -1759.584838, 16.847021, 0.000357, -0.000036, 179.998092, -1, -1, -1, 400.00, 400.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "sl_vicbrikwall01", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 1, 1419, "break_fence3", "CJ_FRAME_Glass", 0x00000000); SetDynamicObjectMaterialText(tmpobjid, 0, "{FFFFFF}24/7", 130, "DGHD", 100, 1, 0x00000000, 0x00000000, 1); tmpobjid = CreateDynamicObject(19447, 1363.968750, -1770.382446, 14.289122, -0.000356, 0.000036, 0.001471, -1, -1, -1, 400.00, 400.00); SetDynamicObjectMaterial(tmpobjid, 0, 12944, "ce_bankalley2", "sw_brick04", 0x00000000); tmpobjid = CreateDynamicObject(19447, 1349.755859, -1775.258911, 14.289083, 0.000036, 0.000357, 89.999740, -1, -1, -1, 400.00, 400.00); SetDynamicObjectMaterial(tmpobjid, 0, 12944, "ce_bankalley2", "sw_brick04", 0x00000000); tmpobjid = CreateDynamicObject(19447, 1347.025512, -1775.248901, 14.289083, 0.000036, 0.000357, 89.999740, -1, -1, -1, 400.00, 400.00); SetDynamicObjectMaterial(tmpobjid, 0, 12944, "ce_bankalley2", "sw_brick04", 0x00000000); tmpobjid = CreateDynamicObject(19447, 1342.265991, -1764.369750, 14.289094, -0.000356, 0.000036, 0.001471, -1, -1, -1, 400.00, 400.00); SetDynamicObjectMaterial(tmpobjid, 0, 12944, "ce_bankalley2", "sw_brick04", 0x00000000); tmpobjid = CreateDynamicObject(19356, 1343.937133, -1759.672241, 14.225822, 0.000000, 0.000000, 90.000000, -1, -1, -1, 400.00, 400.00); SetDynamicObjectMaterial(tmpobjid, 0, 12944, "ce_bankalley2", "sw_brick04", 0x00000000); tmpobjid = CreateDynamicObject(18766, 1359.364746, -1767.846435, 16.552812, 89.999992, 989.788452, -89.787284, -1, -1, -1, 400.00, 400.00); SetDynamicObjectMaterial(tmpobjid, 0, 3979, "civic01_lan", "sl_concretewall1", 0x00000000); tmpobjid = CreateDynamicObject(18766, 1359.364746, -1772.840698, 16.552812, 89.999992, 989.788452, -89.787284, -1, -1, -1, 400.00, 400.00); SetDynamicObjectMaterial(tmpobjid, 0, 3979, "civic01_lan", "sl_concretewall1", 0x00000000); tmpobjid = CreateDynamicObject(18766, 1349.331054, -1761.982299, 16.522811, 89.999992, 989.150451, -89.149322, -1, -1, -1, 400.00, 400.00); SetDynamicObjectMaterial(tmpobjid, 0, 3979, "civic01_lan", "sl_concretewall1", 0x00000000); tmpobjid = CreateDynamicObject(18766, 1349.331054, -1766.976562, 16.522811, 89.999992, 989.150451, -89.149322, -1, -1, -1, 400.00, 400.00); SetDynamicObjectMaterial(tmpobjid, 0, 3979, "civic01_lan", "sl_concretewall1", 0x00000000); tmpobjid = CreateDynamicObject(18766, 1349.361083, -1767.846435, 16.552812, 89.999992, 989.894836, -89.893623, -1, -1, -1, 400.00, 400.00); SetDynamicObjectMaterial(tmpobjid, 0, 3979, "civic01_lan", "sl_concretewall1", 0x00000000); tmpobjid = CreateDynamicObject(18766, 1349.361083, -1772.840698, 16.552812, 89.999992, 989.894836, -89.893623, -1, -1, -1, 400.00, 400.00); SetDynamicObjectMaterial(tmpobjid, 0, 3979, "civic01_lan", "sl_concretewall1", 0x00000000); tmpobjid = CreateDynamicObject(18766, 1347.048828, -1762.012329, 16.502811, 89.999992, 989.894836, -89.893623, -1, -1, -1, 400.00, 400.00); SetDynamicObjectMaterial(tmpobjid, 0, 3979, "civic01_lan", "sl_concretewall1", 0x00000000); tmpobjid = CreateDynamicObject(18766, 1347.048828, -1767.006591, 16.502811, 89.999992, 989.894836, -89.893623, -1, -1, -1, 400.00, 400.00); SetDynamicObjectMaterial(tmpobjid, 0, 3979, "civic01_lan", "sl_concretewall1", 0x00000000); tmpobjid = CreateDynamicObject(18766, 1347.078857, -1767.876464, 16.532812, 89.999992, 989.987915, -89.986663, -1, -1, -1, 400.00, 400.00); SetDynamicObjectMaterial(tmpobjid, 0, 3979, "civic01_lan", "sl_concretewall1", 0x00000000); tmpobjid = CreateDynamicObject(18766, 1347.078857, -1772.870727, 16.532812, 89.999992, 989.987915, -89.986663, -1, -1, -1, 400.00, 400.00); SetDynamicObjectMaterial(tmpobjid, 0, 3979, "civic01_lan", "sl_concretewall1", 0x00000000); tmpobjid = CreateDynamicObject(19426, 1354.284667, -1759.570800, 16.823686, 89.999992, 179.999984, -89.999984, -1, -1, -1, 400.00, 400.00); SetDynamicObjectMaterial(tmpobjid, 0, 19130, "matarrows", "green", 0x00000000); tmpobjid = CreateDynamicObject(19426, 1350.785522, -1759.570800, 16.823686, 89.999992, 179.999984, -89.999984, -1, -1, -1, 400.00, 400.00); SetDynamicObjectMaterial(tmpobjid, 0, 19130, "matarrows", "green", 0x00000000); tmpobjid = CreateDynamicObject(19426, 1361.284912, -1759.570800, 16.823686, 89.999992, 179.999984, -89.999969, -1, -1, -1, 400.00, 400.00); SetDynamicObjectMaterial(tmpobjid, 0, 19130, "matarrows", "green", 0x00000000); tmpobjid = CreateDynamicObject(19426, 1357.785766, -1759.570800, 16.823686, 89.999992, 179.999984, -89.999969, -1, -1, -1, 400.00, 400.00); SetDynamicObjectMaterial(tmpobjid, 0, 19130, "matarrows", "green", 0x00000000); tmpobjid = CreateDynamicObject(19426, 1364.706787, -1759.570800, 16.823686, 89.999992, 179.999984, -89.999969, -1, -1, -1, 400.00, 400.00); SetDynamicObjectMaterial(tmpobjid, 0, 19130, "matarrows", "green", 0x00000000); ///////////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////// tmpobjid = CreateDynamicObject(19325, 1348.456298, -1759.653320, 14.002822, 0.000000, 0.000000, 90.000000, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(1897, 1354.820800, -1759.468750, 13.540348, 0.000357, 179.999984, 179.998840, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(1897, 1351.738403, -1759.468750, 13.540348, 0.000357, 179.999984, 179.998886, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(1897, 1351.738403, -1759.658935, 14.940356, -0.000356, 0.000051, 0.001471, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(1897, 1360.715820, -1759.468750, 13.540348, 0.000357, 179.999984, 179.998794, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(1897, 1360.715820, -1759.658935, 14.940356, -0.000356, 0.000067, 0.001471, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(1897, 1345.552734, -1759.468750, 13.540348, 0.000357, 179.999984, 179.998748, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(1897, 1345.552734, -1759.658935, 14.940356, -0.000356, 0.000074, 0.001471, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(1897, 1353.771606, -1759.578857, 15.060362, 89.999992, 716.602172, 93.398857, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(1897, 1353.782470, -1759.578857, 15.900375, 89.999992, 716.602172, 93.398857, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(19325, 1358.118408, -1759.653320, 14.042822, 0.000000, 0.000000, 90.000000, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(1897, 1354.820800, -1759.658935, 14.940356, -0.000356, 0.000059, 0.001471, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(1897, 1348.663574, -1759.468750, 13.540348, 0.000357, 179.999984, 179.998703, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(1897, 1348.663574, -1759.658935, 14.940356, -0.000356, 0.000082, 0.001471, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(1897, 1357.876831, -1759.468750, 13.540348, 0.000357, 179.999984, 179.998657, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(1897, 1352.860717, -1759.558837, 15.060362, 89.999992, 716.602172, -86.601142, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(1897, 1357.876831, -1759.658935, 14.940356, -0.000356, 0.000090, 0.001471, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(19466, 1353.735351, -1759.595825, 16.073312, 0.000000, 0.000000, 90.000000, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(19466, 1352.794433, -1759.595825, 16.073312, 0.000000, 0.000000, 90.000000, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(1897, 1352.911621, -1759.548828, 15.900375, 89.999992, 716.602172, -86.601142, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(1845, 1345.703735, -1771.076538, 12.628749, 0.000000, 0.000000, 0.000000, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(1847, 1350.525756, -1771.082885, 12.628749, 0.000000, 0.000000, 180.000000, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(1849, 1356.269653, -1771.086791, 12.628749, 0.000000, 0.000000, 180.000000, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(2479, 1357.814941, -1771.185546, 13.048749, 0.000000, 0.000000, 0.000000, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(18981, 1349.657714, -1771.973388, 11.932811, 0.000000, 90.000000, 0.000000, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(2479, 1355.944946, -1771.185546, 13.048749, 0.000000, 0.000000, 0.000000, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(2479, 1354.674804, -1771.185546, 13.948754, 0.000000, 0.000000, 0.000000, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(2479, 1354.674804, -1771.185546, 14.368759, 0.000000, 0.000000, 0.000000, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(1502, 1363.215332, -1771.585571, 12.622787, 0.000357, -0.000036, 179.998092, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(1984, 1361.480712, -1762.375000, 12.622772, 0.000036, 0.000357, 89.999740, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(1981, 1342.901611, -1763.262084, 12.622772, 0.000059, 0.000357, 89.999671, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(1991, 1342.896240, -1764.257568, 12.622772, 0.000059, 0.000357, 89.999671, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(1996, 1342.907470, -1762.265869, 12.622772, 0.000059, 0.000357, 89.999671, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(955, 1342.750488, -1760.837158, 13.002769, 0.000036, 0.000357, 89.999740, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(1987, 1356.626220, -1763.395996, 12.622772, 0.000059, 0.000357, 89.999671, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(1988, 1356.629150, -1762.393676, 12.622772, 0.000059, 0.000357, 89.999671, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(1987, 1355.618408, -1762.393676, 12.622772, -0.000059, -0.000363, -89.997650, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(1988, 1355.615478, -1763.395996, 12.622772, -0.000059, -0.000363, -89.997650, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(1843, 1342.881713, -1767.229980, 12.622797, 0.000357, -0.000036, 449.998107, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(956, 1342.728149, -1770.182495, 13.012780, 0.000357, -0.000036, 449.998107, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(2482, 1363.808837, -1764.413085, 12.622772, -0.000036, -0.000356, -89.997703, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(2579, 1363.784912, -1761.010620, 14.702774, -0.000036, -0.000356, -89.997703, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(2496, 1363.831298, -1762.293090, 14.782774, -0.000036, -0.000356, -89.997703, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(2509, 1363.874267, -1762.481079, 14.562788, -0.000036, -0.000356, -89.997703, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(2496, 1363.831298, -1762.813598, 14.612770, -0.000036, -0.000356, -89.997703, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(2010, 1363.718017, -1766.066040, 12.622772, -0.000356, 0.000036, 0.001471, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(2010, 1363.667724, -1760.204223, 12.622772, -0.000356, 0.000036, 0.001471, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(2010, 1342.813232, -1765.167236, 12.622772, -0.000356, 0.000044, 0.001471, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(1893, 1359.555908, -1763.767578, 16.392791, 0.000036, 0.000357, 89.999740, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(1893, 1356.463623, -1763.767578, 16.392791, 0.000036, 0.000357, 89.999740, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(1893, 1362.425537, -1763.767578, 16.392791, 0.000036, 0.000357, 89.999740, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(1893, 1362.425537, -1768.340087, 16.392791, 0.000036, 0.000357, 89.999740, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(1893, 1356.034912, -1768.340087, 16.392791, 0.000036, 0.000357, 89.999740, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(11729, 1350.937377, -1771.904296, 12.607626, -0.000356, 0.000051, 0.001471, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(11729, 1351.588012, -1771.904296, 12.607626, -0.000356, 0.000051, 0.001471, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(11729, 1352.257934, -1771.904296, 12.607626, -0.000356, 0.000051, 0.001471, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(11729, 1352.948364, -1771.904296, 12.607626, -0.000356, 0.000051, 0.001471, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(1220, 1343.386230, -1773.534790, 12.928356, -0.000356, 0.000036, 0.001471, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(1220, 1344.566406, -1772.656372, 12.940337, -0.000356, 0.000036, 0.001471, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(1220, 1345.420654, -1774.052124, 13.046605, -0.000355, -0.000055, -15.199501, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(1220, 1343.085937, -1772.265625, 12.944996, -0.000356, 0.000031, -0.799520, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(1220, 1343.851440, -1774.594848, 12.936711, -0.000353, -0.000052, -14.699514, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(2200, 1356.225952, -1775.083862, 12.617656, 0.000357, -0.000036, 179.998092, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(2332, 1355.212646, -1772.121459, 13.037654, -0.000356, 0.000036, 0.001471, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(1703, 1359.518310, -1774.701293, 12.587641, 0.000357, -0.000036, 179.998092, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(19445, 1362.264526, -1761.227905, 16.222150, 180.000000, 90.000000, 90.000000, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(19445, 1361.513793, -1761.227905, 16.572158, 180.000000, 90.000000, 90.000000, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(19445, 1360.743041, -1761.227905, 16.932167, 180.000000, 90.000000, 90.000000, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(1893, 1351.571777, -1763.767578, 16.392791, 0.000036, 0.000357, 89.999740, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(1893, 1344.579833, -1763.767578, 16.392791, 0.000036, 0.000357, 89.999740, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(1893, 1351.513549, -1768.340087, 16.392791, 0.000036, 0.000357, 89.999740, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(2479, 1356.714965, -1771.185546, 14.368759, 0.000000, 0.000000, 0.000000, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(2479, 1357.505737, -1771.185546, 13.908750, 0.000000, 0.000000, 0.000000, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(1843, 1347.612670, -1767.229980, 12.622774, 0.000357, -0.000036, 449.998107, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(1844, 1347.610229, -1763.000244, 12.628749, 0.000000, 0.000000, 90.000000, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(1844, 1346.529785, -1767.243041, 12.628749, 0.000000, 0.000000, 270.000000, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(1843, 1346.561645, -1762.998535, 12.622774, 0.000357, -0.000036, 629.998107, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(1988, 1363.387939, -1770.068603, 12.622797, -0.000051, -0.000363, -89.997673, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(1987, 1363.380493, -1769.075805, 12.622802, -0.000051, -0.000363, -89.997673, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(1987, 1363.380493, -1768.104858, 12.622802, -0.000051, -0.000363, -89.997673, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(1842, 1350.956054, -1767.370483, 13.058755, 0.000000, 0.000000, 90.000000, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(1842, 1350.956054, -1763.188110, 13.058755, 0.000000, 0.000000, 90.000000, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(1987, 1356.626220, -1765.646362, 12.622772, 0.000066, 0.000357, 89.999649, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(1988, 1356.629150, -1764.644042, 12.622772, 0.000066, 0.000357, 89.999649, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(1987, 1355.618408, -1764.644042, 12.622772, -0.000066, -0.000363, -89.997627, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(1988, 1355.615478, -1765.646362, 12.622772, -0.000066, -0.000363, -89.997627, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(1987, 1356.626220, -1767.897583, 12.622772, 0.000074, 0.000357, 89.999626, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(1988, 1356.629150, -1766.895263, 12.622772, 0.000074, 0.000357, 89.999626, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(1987, 1355.618408, -1766.895263, 12.622772, -0.000074, -0.000363, -89.997604, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(1988, 1355.615478, -1767.897583, 12.622772, -0.000074, -0.000363, -89.997604, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(2482, 1359.898193, -1767.593994, 12.622787, -0.000036, -0.000356, -89.997703, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(2482, 1360.138427, -1767.974365, 12.622787, -0.000036, -0.000356, 90.002296, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(2482, 1360.138427, -1766.633056, 12.622787, -0.000036, -0.000356, 90.002296, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(2482, 1359.898193, -1766.242919, 12.622787, -0.000036, -0.000356, -89.997703, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(1893, 1344.531494, -1768.340087, 16.392791, 0.000036, 0.000357, 89.999740, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(1893, 1356.034912, -1774.111328, 16.392801, 0.000036, 0.000357, 89.999740, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(1893, 1348.503417, -1774.111328, 16.392801, 0.000036, 0.000357, 89.999740, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(2163, 1351.011474, -1775.168701, 13.641162, 0.000000, 0.000000, 180.000000, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(2172, 1347.398193, -1772.141723, 12.566975, 0.000000, 0.000000, 0.000000, -1, -1, -1, 400.00, 400.00); tmpobjid = CreateDynamicObject(1714, 1348.062500, -1772.943969, 12.602250, 0.000000, 0.000000, 180.000000, -1, -1, -1, 400.00, 400.00); //objects portao1 e 2 CreateObject(7033, 65.927567, -1533.642700, 8.355223, 0.8594, 0.0000, 83.3654); CreateObject(3877, 67.976868, -1531.783813, 5.551031, 0.0000, 0.0000, 353.9839); CreateObject(3877, 68.430626, -1522.038086, 5.578691, 0.0000, 0.0000, 356.5623); CreateObject(3877, 67.889786, -1545.917603, 5.697998, 0.0000, 0.0000, 356.5623); CreateObject(3877, 68.519646, -1536.313232, 5.706335, 0.0000, 0.0000, 354.8434); CreateObject(3864, 75.874809, -1534.855957, 10.345168, 0.0000, 0.0000, 173.5018); CreateObject(3864, 56.145210, -1532.551636, 10.351826, 0.0000, 0.0000, 353.9837); CreateObject(3877, 28.482025, -1527.640137, 5.680993, 0.0000, 0.0000, 351.4056); CreateObject(3877, 19.857996, -1525.820435, 5.018308, 0.0000, 0.0000, 348.8273); CreateObject(3877, 13.395845, -1524.428955, 4.614534, 0.0000, 0.0000, 348.8273); //objects portao3 e 4 CreateObject(7033, 1735.2945556641, 512.66381835938, 31.834371566772, 0, 0, 339.99938964844); CreateObject(987, 1722.28125, 511.55117797852, 27.720676422119, 0, 4, 71.998901367188); CreateObject(987, 1726.1037597656, 523.12225341797, 26.624887466431, 0, 0, 113.99719238281); CreateObject(987, 1748.6484375, 514.7958984375, 27.250556945801, 0, 0, 249.99389648438); CreateObject(987, 1758.2679443359, 520.96795654297, 26.054347991943, 0, 356, 217.98910522461); CreateObject(987, 1711.2819824219, 503.29724121094, 28.032232284546, 0, 0, 31.997680664063); CreateObject(987, 1744.3728027344, 502.07650756836, 28.077571868896, 0, 0, 291.99621582031); CreateObject(1237, 1723.8087158203, 514.22821044922, 27.671068191528, 0, 0, 0); CreateObject(1237, 1745.0375976563, 506.91006469727, 27.669532775879, 0, 0, 0); //objects portao5 e 6 CreateObject(7033, -1407.8485107422, 817.6396484375, 50.383720397949, 0, 0, 316); CreateObject(987, -1420.9528808594, 821.13604736328, 45.69006729126, 0, 0, 48); CreateObject(987, -1395.7629394531, 813.71850585938, 46.307685852051, 0, 0, 227.99877929688); CreateObject(978, -1415.3200683594, 834.03137207031, 47.445243835449, 0, 0, 318); CreateObject(978, -1423.9465332031, 826.30639648438, 47.367275238037, 0, 0, 317.99926757813); CreateObject(978, -1391.2713623047, 811.06884765625, 47.264514923096, 0, 0, 318); CreateObject(978, -1399.4782714844, 801.5634765625, 47.339115142822, 0, 0, 317.99926757813); //objects portao7 e 8 CreateObject(987, -2672.3884277344, 1270.6895751953, 54.004661560059, 0, 0, 322.25); CreateObject(987, -2699.5107421875, 1262.8109130859, 53.97966003418, 0, 0, 41.745483398438); //---------------------- Timers ----------------------- SetTimer("UpdateFlashVehicle",300,true); SetTimer("TextAreaProtegida",2500,true); SetTimer("CheckVip",60000,1); SetTimer("ContarMedicos",1000,1); SetTimer("RandomServerNames",100,1); faztime = SetTimer("Fazenda", 600000, 1); SetTimer("CheckAFK",60000,true);// afk mode SetTimer("Velocimetro", 500, 1); SetTimer("SendMensagens",120000,1); SetTimer("SetPlayerUnjail", 1000, 1); SetTimer("TempoEvento",8000,1); SetTimer("OtherTimer", 1000, 1); SetTimer("CarCheck", 40000, 1); SetTimer("CustomPickups", 1000, 1); SetTimer("Armasbloqueadas", 500, 1); SetTimer("Spectator", 2000, 1); SetTimer("Production", 300000, 1); SetTimer("CheckGas", 15000, 1); SetTimer("reloginho",1000,1); SetTimer("UmSegundo", 1000,0); SetTimer("OnplayerAtualizador",1000,1); SetTimer("UpdateDrogas", 2*70000, 1); SetTimer("AllCheater", 1000, true); SetTimer("AtualizarRank", 40000*20, 1); SetTimer("TempoAtendimento", 1000, 1); SetTimer("UpdateSpeed", UpdateSeconds*1000, 1); SetTimer("TimerGlobal", 1000, 1); //----------------------------------------------------------- cheaterligado[C_Armas] = false; resetCombate(); //-------------------- Sistema de Easter Eggs ----------------------------------------------------------------- createEE(0, "Colete", 373,3.0, -1083.57544, 889.85907, 33.72810, 0.00000, 37.00000, 25.00000); createEE(1, "Corpo Amarrado", 3092,3.0, -2092.73511, 207.53960, 33.93640, -271.00000, 42.00000, -91.00000); createEE(2, "Bota", 11735,3.0, -590.47430, -1051.63794, 22.32240, 0.00000, 0.00000, 0.00000); createEE(3, "Cruz",11712,3.0, 1719.92004, -1741.52734, 30.57920, 0.00000, 0.00000, 90.00000); createEE(4, "Escudo Policial",18637,3.0, 2101.40674, -104.90330, 1.25600, 0.00000, 0.00000, 0.00000); createEE(5, "Taco de baseball",19914,3.0, 2294.06958, 521.83990, 0.96120, 0.00000, 0.00000, 0.00000); createEE(6, "Facao",19590,3.0, 487.44330, -249.94170, 9.87990, 0.00000, 90.00000, 0.00000); createEE(7, "Chapeu",19520,3.0, -1439.29932, -543.02789, 13.27280, 0.00000, 100.00000, 8.00000); createEE(8, "Caixao",19339,3.0, -754.53748, -136.17720, 65.28420, -6.00000, 0.00000, 10.00000); createEE(9, "Cervo",19315,3.0, 2816.33887, 775.37402, 10.35490, 0.00000, 0.00000, 0.00000); createEE(10, "Guitarra",19319,3.0, -1975.62024, -992.63812, 31.22450, -91.00000, 0.00000, 0.00000); createEE(11, "Bolo",19525,3.0, 1649.38110, 701.90582, 9.81900, 0.00000, 0.00000, 0.00000); createEE(12, "Mochila",19559,3.0, 1807.19836, -2231.25708, 12.53890, -90.00000, 0.00000, -6.00000); createEE(13, "Camera Fotografica",19623,3.0, 2331.75415, -2000.86511, 15.08850, -90.00000, 0.00000, 0.00000); createEE(14, "Mala Rockstar",19624,3.0, 2807.75659, -437.64621, 9.96470, -90.00000, 0.00000, 0.00000); createEE(15, "Peixe",19630,3.0, 2884.63208, -131.83350, 0.99060, -113.00000, -25.00000, -25.00000); createEE(16, "Pa",19626,3.0, 2669.16333, -1538.93481, 25.01890, 0.00000, 0.00000, 0.00000); createEE(17, "Vassoura",19622,3.0, 2102.88184, -1647.44495, 13.00600, 8.00000, 0.00000, 0.00000); createEE(18, "Cadeira",11734,3.0, 2117.53174, -1941.52344, 12.57650, 0.00000, 0.00000, -185.00000); createEE(19, "Martelo",18635,3.0, 1766.90125, -2022.21533, 13.19720, -91.00000, 0.00000, 0.00000); loadEE(); saveEE(); //mSelections itens // SkinsList = LoadModelSelectionMenu(Pasta_Skins); ComprarSkinList = LoadModelSelectionMenu("mSelections/skins.txt"); CarrosCasaList = LoadModelSelectionMenu(Pasta_CarrosCasa); CarrosVipList = LoadModelSelectionMenu(Pasta_CarrosVip); //Mobilias MoveisList = LoadModelSelectionMenu("lSelections/moveis.txt"); CozinhaList = LoadModelSelectionMenu("lSelections/moveis_cozinha.txt"); QuartoList = LoadModelSelectionMenu("lSelections/moveis_quarto.txt"); BanheiroList = LoadModelSelectionMenu("lSelections/moveis_banheiro.txt"); SalaList = LoadModelSelectionMenu("lSelections/moveis_sala.txt"); DecoracaoList = LoadModelSelectionMenu("lSelections/moveis_decoracao.txt"); Streamer_SetTickRate(100); //-------------------------------------------------------------- print("======================================================================="); print("= Carregando: BRASIL POBRE RP v1.0"); print("======================================================================="); DisableNameTagLOS(); ResetElevatorQueue(); Elevator_Initialize(); // Reset the elevator queue // Create the elevator object, the elevator doors and the floor doors MapAndreas_Init(MAP_ANDREAS_MODE_FULL); f_init(); TendoRoubo = false; CPsCorrida = 0; corridainiciada = false; AFKon = false; Caixaon = true; teveguerra=false; teveprevisao=false; PlayersInCorrida = 0; VeiculoCorrida = 999; donoMata = 0; donomafia = DOF2_GetInt("gz.ini", "donomafia"); donomafiaporto = DOF2_GetInt("gz.ini", "donomafiaporto"); GanhadoresCorrida = 0; CamreaInfo[cameraman] = INVALID_PLAYER_ID; TempoLoteria = 60*10; TimeGranaTR = 2 * 60; LoadStuff(); ResetSeq(); MensagemDesligou = 0; LoadTrs(); UsePlayerPedAnims(); //correr animação CarregarSenhaSeguranca(); CarregarPortoes(); CarregarCaixas(); SetGameModeText("RP/RP | Brasil 2.3"); SendRconCommand("language Brasil/PT RP/RP"); SendRconCommand("weburl https://https://discord.gg/vJE5ySg7nb"); ManualVehicleEngineAndLights(); SetHora(); getdate(v[0], v[1], v[2]); gettime(v[3], v[4], v[5]); SendRconCommand("ackslimit 5000"); SendRconCommand("connseedtime 3000"); SendRconCommand("minconnectiontime 1000"); //SendRconCommand("password 123654"); SendRconCommand("rcon 0"); SendRconCommand("stream_distance 500.0"); SendRconCommand("stream_rate 1000"); //ShowPlayerMarkers(PLAYER_MARKERS_MODE_STREAMED); ShowPlayerMarkers(0); SetNameTagDrawDistance(50.0); //LimitPlayerMarkerRadius(50.0); DisableInteriorEnterExits(); rRy_Textdraw0 = TextDrawCreate(250.000000, 100.000000, " "); TextDrawBackgroundColor(rRy_Textdraw0, 0x000000FF); TextDrawFont(rRy_Textdraw0, 2); TextDrawLetterSize(rRy_Textdraw0, 1.00000, 2.000000); TextDrawColor(rRy_Textdraw0, 0x00FFFFFF); TextDrawSetOutline(rRy_Textdraw0, 1); TextDrawSetProportional(rRy_Textdraw0, 1); //ranks createrank("nivel"); createrank("horasjogadas"); createrank("kills"); createrank("mortes"); createrank("banco"); createrank("crimes"); createrank("materiais"); createrank("maconha"); createrank("cocaina"); createrank("crack"); createrank("contratos"); createrank("cash"); for(new n = 0; n < MAX_OBJ; n++){ dGunData[n][ObjID] = -1; dGunData[n][ObjPos][0] = 0.0; dGunData[n][ObjPos][1] = 0.0; dGunData[n][ObjPos][2] = 0.0; dGunData[n][dropWorld] = 999; } for(new n = 0; n < MAX_OBJ; n++){ dItemData[n][ObjtID] = -1; dItemData[n][ObjtPos][0] = 0.0; dItemData[n][ObjtPos][1] = 0.0; dItemData[n][ObjtPos][2] = 0.0; dItemData[n][droptWorld] = 999; } for(new slot = 0; slot < MAX_MACONHA; slot++)MaconhaInfo[slot][PodeUsar] = true; //===================== GZ's Los Santos ============================= GZRC2 = GangZoneCreate(1440.428, -1737.13, 1524.091, -1598.959); /* GZRC3 = GangZoneCreate(1687.613, -1954.256, 1809.303, -1871.354); */ GZRC3 = GangZoneCreate(1136.3937,-1760.5394, 1085.0909,-1838.2732); GZRESPAWN = GangZoneCreate(1071.198120, -1522.371948, 1183.198120, -1424.371948); GZHOSP = GangZoneCreate(1082.962, -1389.729, 1235.075, -1298.931); GZIGREJA = GangZoneCreate(2166.77, -1377.886, 2258.038, -1306.826); GZMata = GangZoneCreate(-852.345336,-2125.557617,-636.345336,-1861.557617); GZEVENTOS = GangZoneCreate(444.711791, -1669.256591, 514.711791, -1599.256591); GZSPAWNLV = GangZoneCreate(1638.426391, 1282.795654, 1736.386840, 1607.104003); GZMafia = GangZoneCreate(330.5682,-2113.7734,410.5682,-1923.7733); GZPorto = GangZoneCreate(181.6896, -1985.838, 215.9151, -1926.622); //-------- Creditos as Gangzones GM: Game Of Style GZMorro[1] = GangZoneCreate(1994.30,-1100.80,2056.80,-920.80); GZMorro[2] = GangZoneCreate(2056.80,-1126.30,2126.80,-920.80); GZMorro[3] = GangZoneCreate(2185.30,-1154.50,2281.40,-934.40); GZMorro[4] = GangZoneCreate(2126.80,-1126.30,2185.30,-934.40); //Guerra de Pontos Pedreira GZPedreira = GangZoneCreate(452.9537,652.5002,828.2853,1143.3212); // GZMorro[5] = GangZoneCreate(2632.70,-1135.00,2747.70,-945.00); GZMorro[6] = GangZoneCreate(2281.40,-1135.00,2632.70,-945.00); for(new chtr = 0; chtr < 19; chtr++)cheaterligado[chtr] = true; //============================ fim GZ's ======================= MEGAString[0]=EOS; strcat(MEGAString, "{FFFFFF} PARA ANDROID DE /COMPRAR (ID)\n"); strcat(MEGAString, "{FFFFFF}1: Numero de Celular {12FFEF}R$100\n"); strcat(MEGAString, "{FFFFFF}2: Agenda {12FFEF}R$2\n"); strcat(MEGAString, "{FFFFFF}3: Dado {12FFEF}R$2\n"); strcat(MEGAString, "{FFFFFF}4: Camisinha {12FFEF}R$2\n"); strcat(MEGAString, "{FFFFFF}5: Chave de Veiculo {12FFEF}R$5.000\n"); //strcat(MEGAString, "{FFFFFF}6: Frango {12FFEF}R$10\n"); //strcat(MEGAString, "{FFFFFF}7: Hamburger {12FFEF}R$10\n"); //strcat(MEGAString, "{FFFFFF}8: Pizza {12FFEF}R$10\n"); strcat(MEGAString, "{FFFFFF}9: 30 Creditos {12FFEF}R$20\n"); strcat(MEGAString, "{FFFFFF}10: 50 Creditos {12FFEF}R$50\n"); strcat(MEGAString, "{FFFFFF}11: Capacete {12FFEF}R$1.000\n"); strcat(MEGAString, "{FFFFFF}12: Computador {12FFEF}R$2.000\n"); strcat(MEGAString, "{FFFFFF}13: Carteira de cigarro {12FFEF}R$5.000\n"); strcat(MEGAString, "{FFFFFF}14: Galao de Gasolina {12FFEF}R$5.000\n"); strcat(MEGAString, "{FFFFFF}15: Isqueiro {12FFEF}R$2.000\n"); strcat(MEGAString, "{FFFFFF}16: Patins {12FFEF}R$20.000\n"); strcat(MEGAString, "{FFFFFF}17: Televisao {12FFEF}R$100.000\n"); //strcat(MEGAString, "{FFFFFF}18: Garra de Leite {12FFEF}R$1.000\n"); strcat(MEGAString, "{FFFFFF}19: JBL {12FFEF}R$100.000\n"); Create3DTextLabel(MEGAString,0xFFFFFFFF,1360.3906,-1761.4502,13.6387+1.5,10,-1); Create3DTextLabel(MEGAString,0xFFFFFFFF,1360.3906,-1761.4502,13.6387+1.5,10,-1); // Materiais AddStaticPickup(1578, 23, 672.6825,-1291.1804,13.6328); //YAKUZA AddStaticPickup(1578, 23, 1509.4653,-694.6793,94.7500); //COSANOSTRA AddStaticPickup(1578, 23, 2589.9045,1391.9540,10.8203); //RUSSA // Farmacias Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\nFarmacia 24H\n{FFFFFF}Clique {00FFFF}'F'{FFFFFF} para acessar o menu",0x1E90FFFF,835.8641,-722.7563,499.8795,30.0,0); AddStaticPickup(1318, 23, 835.8641,-722.7563,499.8795); //farmacia //PIZZARIA PRA COMER E BEBER AGUA NOVO SISTEMA DE FOME SEDE Create3DTextLabel("{FFFFFF}PIZZARIA\nDigite: ''{00FFFF}/comer e /beberagua{FFFFFF}'' Para comer e beber",COR_3DLABEL, 375.7657,-118.8024,1001.4995, 5.0, -1); //Arena de Moto e Bike Create3DTextLabel("{FFFFFF}Arena de Stunt\nAperte ''{00FFFF}F{FFFFFF}'' Para usar",COR_3DLABEL, 2695.4438,-1704.5880,11.8438, 5.0, -1); AddStaticPickup(1318, 23, 2695.4438,-1704.5880,11.8438); //entrada AddStaticPickup(1318, 23, -1348.2019,1654.8229,1052.5313); //saida AddStaticPickup(19057, 23, 1478.2382,-1641.1488,14.1484); // Presente AddStaticPickup(19057, 23, 1679.1113,1448.4403,10.7746); // Presente LV CreatePickup(1239, 23, 1453.0837,-1046.7905,213.3828,1); //Fabricar Drogas // TEXTS NOVAS // Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\nYakuza Materiais\n{FFFFFF}Comando {00FFFF}/materiaiscofre{FFFFFF} para guardar os materiais",0x1E90FFFF,672.6825,-1291.1804,13.6328,30.0,0); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\nCosa Nostra Materiais\n{FFFFFF}Comando {00FFFF}/materiaiscofre{FFFFFF} para guardar os materiais",0x1E90FFFF,1509.4653,-694.6793,94.7500,30.0,0); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\nMafia Russa Materiais\n{FFFFFF}Comando {00FFFF}/materiaiscofre{FFFFFF} para guardar os materiais",0x1E90FFFF,2589.9045,1391.9540,10.8203,30.0,0); // PRENDER LV // Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\nprisao\n{FFFFFF}Comando {00FFFF}/prender{FFFFFF} para prender alguem",0x1E90FFFF,2202.7185,2290.9583,10.8203,30.0,0); // CREDITOS // //Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\nCreditos do servidor\n{FFFFFF}Comando {00FFFF}/creditos{FFFFFF} para ver os creditos",0x1E90FFFF,1136.6490,-1488.6649,22.7690,30.0,0); //ELEIÇÕES // Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}para abrir o menu digite:\n{1E90FF}/menueleicoes", 0x1E90FFFF,358.8934,184.7769,1008.3828, 30,-1); AddStaticPickup(1318, 23, 358.8934,184.7769,1008.3828); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Troca de Cidade\n{1E90FF}USE: /trocarcidade", 0x1E90FFFF,362.5266,173.5673,1008.3828, 30,-1); AddStaticPickup(1318, 23, 362.5266,173.5673,1008.3828); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Pagar Multas\n{1E90FF}USE: /menumultas", 0x1E90FFFF,358.2365,163.2633,1008.3828, 30,-1); AddStaticPickup(1318, 23, 358.2365,163.2633,1008.3828); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\nLavagem De Dinheiro\n{FFFFFF}Digite /lavardinheiro. Necessario R$ 5000!",0x1E90FFFF,-774.0463,2425.1511,157.1000,30.0,0); // EMPREGOS // Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\nSpawn de bicicletas\n{FFFFFF}Pressione {00FFFF}F{FFFFFF} para pegar uma bicicleta",0x1E90FFFF,1435.9303,-2288.0032,13.5469,30.0,0); //Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\nSpawn de bicicletas\n{FFFFFF}Pressione {00FFFF}F{FFFFFF} para pegar uma bicicleta",0x1E90FFFF,1710.0743,1481.0189,10.8096,30.0,0); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\nSpawn de bicicletas\n{FFFFFF}Pressione {00FFFF}F{FFFFFF} para pegar uma bicicleta",0x1E90FFFF,1129.0781,-1448.9397,15.7969,30.0,0); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\nSpawn de bicicletas\n{FFFFFF}Pressione {00FFFF}F{FFFFFF} para pegar uma bicicleta",0x1E90FFFF,1100.4330,-1751.8127,13.3462,30.0,0); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\nEntregador SEDEX!{FFFFFF}\n/batercartao para trabalhar",0x1E90FFFF,36.2198,-174.3712,1.8145,30.0,0); //Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\nEntregador SEDEX!{FFFFFF}\n{0096FF}Depósito de presentes\n{FFFFFF}Para pegar aperte{0096FF} H",0x1E90FFFF,43.1591,-171.7296,1.8075,30.0,0); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\nEmprego de Taxista\n{FFFFFF}Comando {00FFFF}/emprego taxista{FFFFFF} para pegar o emprego",0x1E90FFFF,1752.4963,-1903.0275,13.5630,30.0,0); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\nEmprego de Frentista\n{FFFFFF}Comando {00FFFF}/emprego frentista{FFFFFF} para pegar o emprego",0x1E90FFFF,1924.0076,-1788.3060,13.3906,30.0,0); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\nEmprego de Bombeiro\n{FFFFFF}Comando {00FFFF}/emprego bombeiro{FFFFFF} para pegar o emprego",0x1E90FFFF,2018.2883,-2091.3528,13.6337,30.0,0); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\nEmprego de Vendedor de produtos\n{FFFFFF}Comando {00FFFF}/emprego vprodutos{FFFFFF} para pegar o emprego",0x1E90FFFF,2426.5676,-2102.7278,13.5469,30.0,0); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\nEmprego de Vendedor de produtos\n{FFFFFF}Comando {00FFFF}/emprego entregaereo{FFFFFF} para pegar o emprego",0x1E90FFFF,1340.9950,1700.2609,10.8203,30.0,0); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\nEmprego de Mecânico\n{FFFFFF}Comando {00FFFF}/emprego mecanico{FFFFFF} para pegar o emprego",0x1E90FFFF,1561.6332,-2167.2244,13.5643,30.0,0); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\nEmprego de Motorista\n{FFFFFF}Comando {00FFFF}/emprego onibus{FFFFFF} para pegar o emprego",0x1E90FFFF,1425.5823,-2347.9338,13.5469,30.0,0); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\nEmprego de Agricultor\n{FFFFFF}Comando {00FFFF}/emprego agricultor{FFFFFF} para pegar o emprego",0x1E90FFFF,1926.1124,171.1314,37.2813,30.0,0); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\nEmprego de Entregador\n{FFFFFF}Comando {00FFFF}/emprego entregador{FFFFFF} para pegar o emprego",0x1E90FFFF,852.3289,-1436.3395,15.0437,30.0,0); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\nEmprego de Gari\n{FFFFFF}Comando {00FFFF}/emprego gari{FFFFFF} para pegar o emprego",0x1E90FFFF,2176.1892,-1976.0012,13.5547,30.0,0); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\nEmprego de Gari\n{FFFFFF}Comando {00FFFF}/emprego carroforte{FFFFFF} para pegar o emprego",0x1E90FFFF,2372.6465,2467.4380,10.8203,30.0,0); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\nEmprego de Carro forte\n{FFFFFF}Comando {00FFFF}/menuemprego{FFFFFF} para trabalhar",0x1E90FFFF,2376.9092,2460.9690,10.8203,30.0,0); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\nEmprego de Eletricista\n{FFFFFF}Comando {00FFFF}/emprego eletricista{FFFFFF} para trabalhar",0x1E90FFFF,781.5250,-600.7427,16.3359,30.0,0); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\nEmprego de Caminhoneiro\n{FFFFFF}Comando {00FFFF}/emprego caminhoneiro{FFFFFF} para trabalhar",0x1E90FFFF,-63.7623,-1121.9281,1.0870,30.0,0); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\nEmprego de Caminhoneiro\n{FFFFFF}Comando {00FFFF}/menucaminhoneiro{FFFFFF} para começar a trabalhar",0x1E90FFFF,-80.0510,-1119.3893,1.084,30.0,0); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\nEmprego de Entregador aereo\n{FFFFFF}Comando {00FFFF}/menuentregador{FFFFFF} para começar a trabalhar",0x1E90FFFF,1351.2909,1709.8282,11.2796,30.0,0); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\nEmprego de Paramédico\n{FFFFFF}Comando {00FFFF}/emprego paramedico{FFFFFF} para pegar o emprego",0x1E90FFFF,1188.9204,-1331.0398,13.5608,30.0,0); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\nEmprego de Paramédico\n{FFFFFF}Comando {00FFFF}/emprego paramedico{FFFFFF} para pegar o emprego",0x1E90FFFF,2041.7030,-1427.9807,17.1641,30.0,0);//hospital 2 Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\nEmprego de Paramédico\n{FFFFFF}Comando {00FFFF}/emprego paramedico{FFFFFF} para pegar o emprego",0x1E90FFFF,1604.8793,1818.1849,10.8203,30.0,0);//medicos lv Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\nEmprego de Mecânico\n{FFFFFF}Comando {00FFFF}/emprego mecanico{FFFFFF} para pegar o emprego",0x1E90FFFF,1662.2340,2199.0193,10.8203,30.0,0);//mecanico lv Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\nEmprego de Taxista\n{FFFFFF}Comando {00FFFF}/emprego taxista{FFFFFF} para pegar o emprego",0x1E90FFFF,1706.7694,1317.8314,10.8203,30.0,0);//taxista lv //Pedagios Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\nPedagio\n{FFFFFF}Digite: {00FFFF}/ppedagio{FFFFFF} valor unico: R$ 50!",0x1E90FFFF,70.2561,-1534.5061,5.1739,30.0,0); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\nPedagio\n{FFFFFF}Digite: {00FFFF}/ppedagio{FFFFFF} valor unico: R$ 50!",0x1E90FFFF,61.1234,-1533.4131,5.1986,30.0,0); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\nPedagio\n{FFFFFF}Digite: {00FFFF}/ppedagio{FFFFFF} valor unico: R$ 50!",0x1E90FFFF,1737.3354,517.6871,28.2031,30.0,0); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\nPedagio\n{FFFFFF}Digite: {00FFFF}/ppedagio{FFFFFF} valor unico: R$ 50!",0x1E90FFFF,1733.7605,508.6854,28.7517,30.0,0); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\nPedagio\n{FFFFFF}Digite: {00FFFF}/ppedagio{FFFFFF} valor unico: R$ 50!",0x1E90FFFF,-2682.1458,1280.4165,55.9456,30.0,0); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\nPedagio\n{FFFFFF}Digite: {00FFFF}/ppedagio{FFFFFF} valor unico: R$ 50!",0x1E90FFFF,-2681.5171,1268.5940,55.9456,30.0,0); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\nPedagio\n{FFFFFF}Digite: {00FFFF}/ppedagio{FFFFFF} valor unico: R$ 50!",0x1E90FFFF,-1404.9087,821.0988,47.8031,30.0,0); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\nPedagio\n{FFFFFF}Digite: {00FFFF}/ppedagio{FFFFFF} valor unico: R$ 50!",0x1E90FFFF,-1410.9843,815.1248,47.7366,30.0,0); //restaurantes /* if(IsPlayerInRangeOfPoint(playerid, 2.0, 376.7821,-67.4348,1001.5078) || IsPlayerInRangeOfPoint(playerid, 2.0, 379.4074,-190.8125,1000.6328) || IsPlayerInRangeOfPoint(playerid, 2.0, 369.1320,-6.0523,1001.8516)) {*/ new strbgr[128]; format(strbgr, 128, "{FFFFFF}BRASIL {00FFFF}POBRE{FFFFFF}Play\n\ {FFFFFF}Para Abrir O Cardapio digite: /cardp"); /*CreateDynamic3DTextLabel(strbgr, 0xFFFFFFFF, 376.7821,-67.4348,1001.5078, 10.0, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 0, -1, -1, -1, STREAMER_3D_TEXT_LABEL_SD, -1, 0); CreateDynamic3DTextLabel(strbgr, 0xFFFFFFFF, 379.4074,-190.8125,1000.6328, 10.0, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 0, -1, -1, -1, STREAMER_3D_TEXT_LABEL_SD, -1, 0); CreateDynamic3DTextLabel(strbgr, 0xFFFFFFFF, 369.1320,-6.0523,1001.8516 10.0, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 0, -1, -1, -1, STREAMER_3D_TEXT_LABEL_SD, -1, 0);*/ CreateDynamic3DTextLabel(strbgr, 0xFFFFFFFF, 376.7821,-67.4348,1001.5078, 20.0, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 0, -1, -1, -1, STREAMER_3D_TEXT_LABEL_SD, -1, 0); CreateDynamic3DTextLabel(strbgr, 0xFFFFFFFF, 379.4074,-190.8125,1000.6328, 20.0, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 0, -1, -1, -1, STREAMER_3D_TEXT_LABEL_SD, -1, 0); CreateDynamic3DTextLabel(strbgr, 0xFFFFFFFF, 369.1320,-6.0523,1001.8516, 20.0, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 0, -1, -1, -1, STREAMER_3D_TEXT_LABEL_SD, -1, 0); AddStaticPickup(1318, 23, 376.7821,-67.4348,1001.5078, -1); AddStaticPickup(1318, 23, 379.4074,-190.8125,1000.6328,-1); AddStaticPickup(1318, 23, 369.1320,-6.0523,1001.8516, -1); //sedex AddStaticPickup(1239, 23, 36.2198,-174.3712,1.8145); // BLINDAGEM // Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\nBlindagem de Veículos\n{FFFFFF}Comando {00FFFF}/blindarcarro{FFFFFF} para blindar o veículo",0x1E90FFFF,345.7944,-1825.3433,4.5470,30.0,0); // ALGUNS COFRES // Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Aperte a letra F \npara se esconder",0x1E90FFFF, 1161.1029, -1772.5531, 16.2980, 5.0,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Cofre Loterica\n digite: {00FFFF}/roubar {FFFFFF}para roubar",0x1E90FFFF,2150.8096,1619.9636,1000.9688,5.0,0); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Cofre Loja de Armas 1\n digite: {00FFFF}/roubar {FFFFFF}para roubar",0x1E90FFFF,303.1141,-168.5879,999.5938,5.0,0); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}area para {00FFFF}/RespawnDetran",0x1E90FFFF,1070.2504,1321.7101,10.8203, 5.0, -1); // /respawndetran Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Cofre Banco\n digite: {00FFFF}/roubar {FFFFFF}para roubar",0x1E90FFFF,2144.1772,1641.3688,993.5761,15.0,0); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Cofre Empresarial\n digite: {00FFFF}/roubar {FFFFFF}para roubar",0x1E90FFFF,2230.7861,1596.8997,999.9646,15.0,0); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Cofre Mercado Negro\n digite: {00FFFF}/roubar {FFFFFF}para roubar",0x1E90FFFF,957.7492,2096.6238,1011.0220,15.0,0); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Cofre Navio\n digite: {00FFFF}/roubar {FFFFFF}para roubar",0x1E90FFFF,-1434.8153,1479.9121,1.8672,15.0,0); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Cofre Centro de Licencas\n digite: {00FFFF}/roubar {FFFFFF}para roubar",0x1E90FFFF,2172.2217,1602.1212,999.9678,15.0,0); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Cofre Ammu Nation\n digite: {00FFFF}/roubar {FFFFFF}para roubar",0x1E90FFFF,293.1318,-57.6038,1001.5156,5.0,0); // TEXT'S SAIDAS // Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}aperte a tecla {00FFFF}H ou F{FFFFFF} para sair",0x1E90FFFF, 932.6458,2150.4231,1011.0234+1, 15, 0); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}aperte a tecla {00FFFF}H ou F{FFFFFF} para sair",0x1E90FFFF, 1494.4652,1303.5785,1093.2891+1, 15, 0); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}aperte a tecla {00FFFF}H ou F{FFFFFF} para sair",0x1E90FFFF, -2026.9910,-103.9908,1035.1719+1, 15, 0); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}aperte a tecla {00FFFF}H ou F{FFFFFF} para sair",0x1E90FFFF, 390.4640,173.8098,1008.3828+1, 15, 0); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}aperte a tecla {00FFFF}H ou F{FFFFFF} para sair",0x1E90FFFF, -30.9467,-89.6096,1003.5469+1, 15, 0); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}aperte a tecla {00FFFF}H ou F{FFFFFF} para sair",0x1E90FFFF, 238.5867,140.3143,1003.0234+1, 15, 0); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}aperte a tecla {00FFFF}H ou F{FFFFFF} para sair",0x1E90FFFF, 285.7338,-86.1379,1001.5229+1, 15, 0); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}aperte a tecla {00FFFF}H ou F{FFFFFF} para sair",0x1E90FFFF, 832.6270,7.2666,1004.1797+1, 15, 0); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}aperte a tecla {00FFFF}H ou F{FFFFFF} para sair",0x1E90FFFF, 2305.6890,-16.0881,26.7496+1, 15, 0); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}aperte a tecla {00FFFF}H ou F{FFFFFF} para sair",0x1E90FFFF, -27.2621,-31.3370,1003.5573+1, 15, 0); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}aperte a tecla {00FFFF}H ou F{FFFFFF} para sair",0x1E90FFFF, 365.7793,-9.1699,1001.8516+1, 15, 0); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}aperte a tecla {00FFFF}H ou F{FFFFFF} para sair",0x1E90FFFF, 377.0516,-192.6519,1000.6401 + 1, 15, 0); //novo Create3DTextLabel("{FFFFFF}Reporteres\nPrecione 'F' para Entrar",COR_3DLABEL,648.2408,-1360.7653,13.5893,40.0,-1); CreatePickup(1318, 23, 648.2408,-1360.7653,13.5893);//HQ Reporter Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}aperte a tecla {00FFFF}H ou F{FFFFFF} para sair",0x1E90FFFF, 246.5878,62.7877,1003.6406+1, 15, 0); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}aperte a tecla {00FFFF}H ou F{FFFFFF} para sair",0x1E90FFFF, 238.7257,141.7870,1003.0234+1, 15, 0); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}aperte a tecla {00FFFF}H ou F{FFFFFF} para sair",0x1E90FFFF, 493.3891,-22.7212,1000.6797+1, 15, 0); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}aperte a tecla {00FFFF}H ou F{FFFFFF} para sair",0x1E90FFFF, -25.1326,-139.0670,1003.5469+1, 15, 0); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}aperte a tecla {00FFFF}H ou F{FFFFFF} para sair",0x1E90FFFF, 207.7336,-108.6231,1005.1328+1, 15, 0); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}aperte a tecla {00FFFF}H ou F{FFFFFF} para sair",0x1E90FFFF, 771.9399,-2.2574,1000.7292+1, 15, 0); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}aperte a tecla {00FFFF}H ou F{FFFFFF} para sair",0x1E90FFFF, 372.4117,-130.4577,1001.4922+1, 15, 0); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}aperte a tecla {00FFFF}H ou F{FFFFFF} para sair",0x1E90FFFF, 1726.8353,-1638.3109,20.2232+1, 15, 0); // MENU'S POLICIAIS // Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Menu Policial\n{FFFFFF}Aperte a tecla {00FFFF}F{FFFFFF} para acessar",0x1E90FFFF,1712.3022,-1640.2500,20.2239, 5.0, 12); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Menu Policial\n{FFFFFF}Aperte a tecla {00FFFF}F{FFFFFF} para acessar",0x1E90FFFF,2602.8528,1899.2375,11.0234, 5.0, -1); //FT Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Menu Policial\n{FFFFFF}Aperte a tecla {00FFFF}F{FFFFFF} para acessar",0x1E90FFFF,255.1995,77.1081,1003.6406, 5.0, -1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Menu Policial\n{FFFFFF}Aperte a tecla {00FFFF}F{FFFFFF} para acessar",0x1E90FFFF,2919.8196,2105.1384,17.8955, 5.0, -1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Menu Policial\n{FFFFFF}Aperte a tecla {00FFFF}F{FFFFFF} para acessar",0x1E90FFFF,-1348.3979,500.5638,11.2027, 5.0, -1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Menu Policial\n{FFFFFF}Aperte a tecla {00FFFF}F{FFFFFF} para acessar",0x1E90FFFF,927.2700,-1038.1577,31.8984, 5.0, -1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Menu Policial\n{FFFFFF}Aperte a tecla {00FFFF}F{FFFFFF} para acessar",0x1E90FFFF,1175.2020,1352.1891,10.9219, 5.0, -1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Menu Policial\n{FFFFFF}Aperte a tecla {00FFFF}F{FFFFFF} para acessar",0x1E90FFFF,240.5192,112.7945,1003.2188, 5.0, -1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Menu Policial\n{FFFFFF}Aperte a tecla {00FFFF}F{FFFFFF} para acessar",0x1E90FFFF,1059.7234,1273.0679,10.8203, 5.0, -1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Menu Policial\n{FFFFFF}Aperte a tecla {00FFFF}F{FFFFFF} para acessar",0x1E90FFFF,-506.6495,-539.6550,25.5234, 5.0, -1); //PC Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Menu Policial\n{FFFFFF}Aperte a tecla {00FFFF}F{FFFFFF} para acessar",0x1E90FFFF,919.0876,-1258.1152,15.6641, 5.0, -1); //PF // ELEVADORES // Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Acesso Helicopteros PF\nSubir Aperte a letra {00FFFF}F{FFFFFF} para usar",0x1E90FFFF,1445.4497,-1849.1428,27.2264,10,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Acesso Helicopteros PF\nDescer Aperte a letra {00FFFF}F{FFFFFF} para usar",0x1E90FFFF,1446.8682,-1847.4105,13.5469,10,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Acesso Helicopteros BOPE\nSubir Aperte a letra {00FFFF}F{FFFFFF} para usar",0x1E90FFFF,334.4664,-1504.8805,36.0391,10,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Acesso Garagem BOPE\nDescer Aperte a letra {00FFFF}F{FFFFFF} para usar",0x1E90FFFF,320.1125,-1507.3555,76.7155,10,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Acesso Garagem BOPE\nDescer Aperte a letra {00FFFF}F{FFFFFF} para usar",0x1E90FFFF,234.1337,107.4421,1003.2257,10,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Acesso DP BOPE\nSubir Aperte a letra {00FFFF}F{FFFFFF} para usar",0x1E90FFFF,313.1739,-1517.9846,24.9219,10,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Elevador Los Vagos\nSubir Aperte a letra {00FFFF}F{FFFFFF} para usar",0x1E90FFFF,2644.6941,2016.3195,10.8166,10,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Elevador Los Vagos\nDescer Aperte a letra {00FFFF}F{FFFFFF} para usar",0x1E90FFFF,2644.3354,2019.7872,18.1360,10,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Acesso Helicopteros ROTA\nSubir Aperte a letra {00FFFF}F{FFFFFF} para usar",0x1E90FFFF,1269.4327,-1645.0402,13.5469,10,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Acesso Helicopteros ROTA\nDescer Aperte a letra {00FFFF}F{FFFFFF} para usar",0x1E90FFFF,1237.5454,-1665.9569,34.8047,10,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Elevador Medicos\nSubir Aperte a letra {00FFFF}F{FFFFFF} para usar",0x1E90FFFF,1172.4783,-1361.4822,13.9531,10,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Elevador Medicos\nDescer Aperte a letra {00FFFF}F{FFFFFF} para usar",0x1E90FFFF,1166.0673,-1333.1899,31.4813,10,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Elevador Policia Civil\nSubir Aperte a letra {00FFFF}F{FFFFFF} para usar",0x1E90FFFF,895.346984,-1272.573608,14.684859,10,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Elevador Policia Civil\nDescer Aperte a letra {00FFFF}F{FFFFFF} para usar",0x1E90FFFF,901.739135,-1277.156005,23.086109,10,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Elevador\nSubir Aperte a letra {00FFFF}F{FFFFFF} para usar",0x1E90FFFF,1495.3594,-1467.1915,40.5234,10,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Elevador\nDescer Aperte a letra {00FFFF}F{FFFFFF} para usar",0x1E90FFFF,1539.3928,-1477.5098,9.5000,10,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Elevador GATE\nSubir Aperte a letra {00FFFF}F{FFFFFF} para usar",0x1E90FFFF,906.6538,-1039.7689,31.6016,10,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Elevador GATE\nDescer Aperte a letra {00FFFF}F{FFFFFF} para usar",0x1E90FFFF,913.4479,-1032.5879,111.0547,10,-1); // ENTRADAS // Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Departamento de Policia Militar\n{FFFFFF}Aperte a tecla {00FFFF}F{FFFFFF} para entrar",0x1E90FFFF,1554.9537,-1675.6584,16.1953,40.0,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Departamento da Policia Civil\n{FFFFFF}Aperte a tecla {00FFFF}F{FFFFFF} para sair",0x1E90FFFF,232.9005,141.3430,1003.0234,40.0,10); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Empregos\n{FFFFFF}Aperte a tecla {00FFFF}F{FFFFFF} para pegar um emprego",0x1E90FFFF,951.7770,-1744.5381,13.6210,20.0,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Empregos\n{FFFFFF}Aperte a tecla {00FFFF}F{FFFFFF} para pegar um emprego",0x1E90FFFF,1692.5638,-1383.4518,3261.0713,20.0,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Igreja LS\n{FFFFFF}Aperte a tecla {00FFFF}F{FFFFFF} para entrar",0x1E90FFFF,2233.8225,-1333.2725,23.9816,10.0,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Mudar Sexo\nDigite {00FFFF}/mudarsexo",0x1E90FFFF,1969.2876,-371.6323,1093.7289,20.0,0); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Divorcio ou Separacao\nDigite {00FFFF}/Divorcio ou /separacao",0x1E90FFFF,1959.3009,-373.1479,1093.7289,20.0,0); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Casamento\nDigite {00FFFF}/casar{FFFFFF} para casar",0x1E90FFFF,1964.0280,-369.0365,1093.7289,20.0,0); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Prefeitura\n{FFFFFF}Aperte a tecla {00FFFF}F{FFFFFF} para entrar",0x1E90FFFF,1481.0503,-1771.9502,18.7958,30.0,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Concessionaria LS\n{FFFFFF}Aperte a tecla {00FFFF}F{FFFFFF} para comprar um veiculo",0x1E90FFFF,981.9832,-1509.4117,13.2555,30.0,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Concessionaria LV\n{FFFFFF}Aperte a tecla {00FFFF}F{FFFFFF} para comprar um veiculo",0x1E90FFFF,1736.0236,1852.5479,10.8203,30.0,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Revendedor\n{FFFFFF}Use o comando {00FFFF}/revenderveiculo{FFFFFF} para revender seu veiculo",0x1E90FFFF,987.3652,-1509.4285,13.2503,30.0,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Revendedor\n{FFFFFF}Use o comando {00FFFF}/revenderveiculo{FFFFFF} para revender seu veiculo",0x1E90FFFF,1722.4653,1852.5426,10.8203,30.0,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Sala do Governador\n{FFFFFF}Aperte a tecla {00FFFF}F{FFFFFF} para entrar",0x1E90FFFF,1117.7146,-2043.5776,74.4297,10.0,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Prefeitura de Country Club\n{FFFFFF}Aperte a tecla {00FFFF}F{FFFFFF} para entrar",0x1E90FFFF,-2720.0007,-318.6132,7.8438,30.0,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Prefeitura de Downtown\n{FFFFFF}Aperte a tecla {00FFFF}F{FFFFFF} para entrar",0x1E90FFFF,-1882.6202,824.2709,35.1751,30.0,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Alhambra\n{FFFFFF}Aperte a tecla {00FFFF}H ou F{FFFFFF} para sair",0x1E90FFFF,1837.0278,-1682.3890,13.3233,25.0,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}HQ Exercito\n{FFFFFF}Aperte a tecla {00FFFF}F{FFFFFF} para entrar",0x1E90FFFF,-1412.3218,479.3567,7.1875,6.0,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Fabricar Drogas\nUse {00FFFF}/fabricar",0x00AAEEFF,2131.9495,-974.0172,59.7856,25.0,0);Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Pegar pacotes\n{00FFFF}/materias pegar",0x1E90FFFF, 1596.6569,-1556.8433,13.5831, 15, 0); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Entegar Pacotes\n{00FFFF}/materiais entregar",0x1E90FFFF, 1751.2091,-1944.1311,13.5678, 15, 0); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Loja de Roupas Binco\n{FFFFFF}Aperte a tecla {00FFFF}F{FFFFFF} para entrar",0x1E90FFFF,2244.5669, -1664.4495,15.4766,10.0,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Loja de Roupas Victim\n{FFFFFF}Aperte a tecla {00FFFF}F{FFFFFF} para entrar",0x1E90FFFF,-1694.5050,950.8621,24.8906,10.0,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Loja de Roupas Zip\n{FFFFFF}Aperte a tecla {00FFFF}F{FFFFFF} para entrar",0x1E90FFFF,1456.9010,-1137.6941,23.9617,10.0,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}The Pig Pen\n{FFFFFF}Aperte a tecla {00FFFF}F{FFFFFF} para entrar",0x1E90FFFF,2421.4998,-1219.2438,25.5617,10.0,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Ginasio de Lutas\n{FFFFFF}Aperte a tecla {00FFFF}F{FFFFFF} para entrar",0x1E90FFFF,2229.9011,-1721.2582,13.5613,10.0,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Burguer Play\n{FFFFFF}Aperte a tecla {00FFFF}F{FFFFFF} para entrar",0x1E90FFFF,1200.4497,-918.7695,43.1105,10.0,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Burguer Play\n{FFFFFF}Aperte a tecla {00FFFF}F{FFFFFF} para entrar",0x1E90FFFF,810.4855,-1616.1888,13.5469,22.0,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Cluckin Bell\n{FFFFFF}Aperte a tecla {00FFFF}F{FFFFFF} para entrar",0x1E90FFFF,927.6217,-1353.0105,13.3438,10.0,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Cluckin Bell\n{FFFFFF}Aperte a tecla {00FFFF}F{FFFFFF} para entrar",0x1E90FFFF,2419.8442,-1509.4996,24.0000,10.0,-1);// PERTO DA GROOVE Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Pizzaria\n{FFFFFF}Aperte a tecla {00FFFF}F{FFFFFF} para entrar",0x1E90FFFF,2105.4858,-1806.4725,13.5547,10.0,-1); // Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Lanchonete\n{FFFFFF}Aperte a tecla {00FFFF}F{FFFFFF} para entrar",0x1E90FFFF,975.4691,-1335.9618,13.5319,10.0,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}HQ Yakuza\n{FFFFFF}Aperte a tecla {00FFFF}F{FFFFFF} para entrar",0x1E90FFFF,690.7985,-1275.9355,13.5602,10.0,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}HQ Mafia Cosa Nostra\n{FFFFFF}Aperte a tecla {00FFFF}F{FFFFFF} para entrar",0x1E90FFFF,1497.0140,-688.4544,95.4126,10.0,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}HQ PCC\n{FFFFFF}Aperte a tecla {00FFFF}F{FFFFFF} para entrar",0x1E90FFFF,98.8023,1171.8392,18.6641,10.0,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Puteiro\n{FFFFFF}Aperte a tecla {00FFFF}F{FFFFFF} para entrar",0x1E90FFFF,-2624.5981,1412.1927,7.0938,10.0,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}DP BOPE\n{FFFFFF}Aperte a tecla {00FFFF}F{FFFFFF} para entrar",0x1E90FFFF,328.0219,-1512.4863,36.0325,25.0,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}DP Policia Federal\n{FFFFFF}Aperte a tecla {00FFFF}F{FFFFFF} para entrar",0x1E90FFFF,-515.9556,-539.5468,25.5234,25.0,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}HQ Ballas\n{FFFFFF}Aperte a tecla {00FFFF}F{FFFFFF} para entrar",0x1E90FFFF,1154.4968,-1180.8517,32.8187,25.0,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Saida Hospital\n{FFFFFF}Aperte a tecla {00FFFF}F{FFFFFF} para entrar",0x1E90FFFF,1175.553100,-1325.960693,-44.283576, 20.0, -1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Garagem GATE\n{FFFFFF}Aperte a tecla {00FFFF}F{FFFFFF} para acessar",0x1E90FFFF,1166.5868,1346.8756,10.9219,25.0,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}HQ GATE\n{FFFFFF}Aperte a tecla {00FFFF}F{FFFFFF} para entrar",0x1E90FFFF,914.7142,-1004.6053,37.9799,25.0,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Entrada Cofre Banco\n{FFFFFF}Aperte a tecla {00FFFF}F{FFFFFF} para entrar",0x1E90FFFF,343.4222,116.4533,1007.9656, 5.0, -1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Entrada Penitenciaria\n{FFFFFF}Aperte a tecla {00FFFF}F{FFFFFF} para entrar",0x1E90FFFF,1797.5494,-1579.0006,14.0865, 30.0, -1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Gambista\n{FFFFFF}Aperte a tecla {00FFFF}F{FFFFFF} para entrar",0x1E90FFFF,2370.1055,-1034.5626,54.4106, 30.0, 2); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Gambista\n{FFFFFF}Aperte a tecla {00FFFF}F{FFFFFF} para entrar",0x1E90FFFF,2370.1055,-1034.5626,54.4106, 30.0, 0); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Saida Evento\n{FFFFFF}Aperte a tecla {00FFFF}F{FFFFFF} para entrar",0x1E90FFFF,1407.1599,4.8249,1000.9233, 15.0, 0); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Saida Penitenciaria\n{FFFFFF}Aperte a tecla {00FFFF}F{FFFFFF} para entrar",0x1E90FFFF,2267.6323,1962.3939,39.3827, 15.0, -1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}HQ HELPER\n{FFFFFF}Aperte a tecla {00FFFF}F{FFFFFF} para entrar",0x1E90FFFF,2476.1846,-1750.4175,13.5469,25,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Banco LS\n{FFFFFF}Aperte a tecla {00FFFF}F{FFFFFF} para entrar",0x1E90FFFF,595.9891,-1251.4111,18.8265,25,-1); // Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Banco LS\n{FFFFFF}Aperte a tecla {00FFFF}H ou F{FFFFFF} para sair",0x1E90FFFF,295.8130, 1755.6810, 524.4801,10.0,-1); // Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Banco LS\n{FFFFFF}Aperte a tecla {00FFFF}H ou F{FFFFFF} para sair",0x1E90FFFF,299.9712, 1755.8082, 524.4801,10.0,-1); // Banco TextLabel Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Banco LS\n{FFFFFF}Use {00FFFF}/Banco{FFFFFF} para acessar sua conta",0x1E90FFFF,302.5417, 1785.3850, 524.9899,25,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Banco LS\n{FFFFFF}Use {00FFFF}/Banco{FFFFFF} para acessar sua conta",0x1E90FFFF,305.3793, 1785.2689, 524.9899,25,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Banco LS\n{FFFFFF}Use {00FFFF}/Banco{FFFFFF} para acessar sua conta",0x1E90FFFF,308.2637, 1785.2446, 524.9899,25,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Banco LS\n{FFFFFF}Use {00FFFF}/Banco{FFFFFF} para acessar sua conta",0x1E90FFFF,311.3246, 1785.1321, 524.9899,25,-1); // MENU ADVOGADOS // Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Menu Advogados\nAperte {00FFFF}F{FFFFFF} para ajustar presos",0x1E90FFFF,268.4232,77.5704,1001.0391,15.0,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Menu Advogados\nAperte {00FFFF}F{FFFFFF} para ajustar presos",0x1E90FFFF,220.1862,115.3010,999.0156,15.0,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Menu Advogados\nAperte {00FFFF}F{FFFFFF} para ajustar presos",0x1E90FFFF,220.1862,115.3010,999.0156,15.0,1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Menu Advogados\nAperte {00FFFF}F{FFFFFF} para ajustar presos",0x1E90FFFF,198.5305,179.3016,1003.0312,15.0, 1);//HQ ROTA Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Menu Advogados\nAperte {00FFFF}F{FFFFFF} para ajustar presos",0x1E90FFFF,198.5305,179.3016,1003.0312,15.0, 2);//HQ PF Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Menu Advogados\nAperte {00FFFF}F{FFFFFF} para ajustar presos",0x1E90FFFF,198.5305,179.3016,1003.0312,15.0, 16);//HQ ROTA Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Menu Advogados\nAperte {00FFFF}F{FFFFFF} para ajustar presos",0x1E90FFFF,2262.2190,1942.6266,39.3827,15.0, 0);//Penitenciaria Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Menu Advogados\nAperte {00FFFF}F{FFFFFF} para ajustar presos",0x1E90FFFF,1409.6361,-20.7472,1000.9229,15.0, 10);//Penitenciaria // DIVERSOS // Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Use {00FFFF}/explodircofre {FFFFFF}para tentar explodir a porta\n\npara abrir(COP) digite: {00FFFF}/pbanco",0x1E90FFFF,2144.1084,1626.3708,993.6882+1, 15, 0); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Use {00FFFF}/explodircofre {FFFFFF}para tentar explodir a porta\n\npara abrir(COP) digite: {00FFFF}/pnavio",0x1E90FFFF,-1382.4727,1494.1610,1.8516+1, 15, 0); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Reclame Seu Premio Aqui!\nUSE: {00FFFF}/retirarpremio",0x1E90FFFF,822.0089,1.8799,1004.1796,15.0,0); //Premio Loterica Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Use {00FFFF}/mecanico subir{FFFFFF} ou {00FFFF}/mecanico descer{FFFFFF} neste local",0x1E90FFFF,1569.3361,-2154.8672,14.0352,30.0,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Use o comando {00FFFF}/blindarcarro{FFFFFF} para blindar um carro",0x1E90FFFF,1569.4005,-2154.1523,15.7752,30.0,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Tunning\nEntre e use\n{00FFFF}'/tunar' ou H{FFFFFF}\nPara Personalizar",0x1E90FFFF,322.4243,-1826.7629,4.5470,10.0,0); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Gambista\nDigite {00FFFF}/pegargrana{FFFFFF} Para Trocar as Fichas",0x1E90FFFF,248.4554,302.8275,999.1484,10.0,15); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}** Disfarce dos Hitmans **\nAperte a letra {00FFFF}F{FFFFFF} para se disfarcar",0x1E90FFFF,344.0421,309.7490,999.1557,15.0,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}** Disfarce dos Triads **\nAperte a letra {00FFFF}F{FFFFFF} para se disfarcar",0x1E90FFFF,2776.4653,-1601.4407,10.9219,15.0,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Area para os mafiosos\nAperte a letra {00FFFF}F{FFFFFF} para ver o menu",0x1E90FFFF,383.2118,-2039.1803,7.8359,30.0,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Bombeiros\n{FFFFFF}digite {00FFFF}/equipar e /batercartao{FFFFFF} aqui para comecar a trabalhar",0x1E90FFFF,2015.1254,-2093.5525,13.5469,30.0,0); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Use /explodirporta para explodir",0x1E90FFFF,1797.2847,-1577.1489,14.0731,10.0,0); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Deposito Entrada\nDigite {00FFFF}/abrirportao3 Para Arrombar",0x1E90FFFF,2396.6250,2771.0850,17.3643,10.0,15); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Entrada Cofre Deposito\nDigite {00FFFF}/decodificardc{FFFFFF} Para Abrir",0x1E90FFFF,2418.1367,2769.3354,17.3643,10.0,15); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Saida de Emergencia\nDigite {00FFFF}/explodirdc{FFFFFF} Para Abrir",0x1E90FFFF,2417.5193,2794.5239,17.3643,10.0,15); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Tia do Goldbars use {00FFFF}/comprarouros\n ou /venderouros",0x1E90FFFF,2308.8767,-2.2627,26.7422,10,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Banco\nAperte {00FFFF}'F' Para Usar",0x1E90FFFF,2544.4670,-1321.3279,1031.4219,10.0,0); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Banco\nAperte {00FFFF}'F' Para Usar",0x1E90FFFF,2310.5569,-7.8338,26.7422,10.0,0); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Loja De Roupas\nAperte {00FFFF}'F' {FFFFFF}Para pegar uma Skin\nR$250",0x1E90FFFF,207.5714,-100.3327,1005.2578,10.0,0); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Loja De Roupas\nAperte {00FFFF}'F' {FFFFFF}Para pegar uma Skin\nR$250",0x1E90FFFF,204.2014,-159.6917,1000.5234,10.0,0); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Loja De Roupas\nAperte {00FFFF}'F' {FFFFFF}Para pegar uma Skin\nR$250",0x1E90FFFF,161.2089,-83.6324,1001.8047,10.0,0); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Arrombar Porta\nPara Arrombar\nDigite {00FFFF}/ap",0x1E90FFFF,1462.5645,-988.5020,57.5156,10.0,1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Cofre do Banco\nPara Plantar C4\nDigite {00FFFF}/explodircofre",0x1E90FFFF,1430.9701,-994.6363,65.0541,10.0,1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Para Poder Usar esta plataforma\nUSE: {00FFFF}/plate",0x1E90FFFF,-1445.2644,511.1707,11.1953,15.0,-1); //informacoes Exercito Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Para Poder Usar esta plataforma\nUSE: {00FFFF}/plate2",0x1E90FFFF,-1403.3289,512.1636,11.1953,15.0,-1);//informacoes Exercito2 Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Para Poder Abrir o Gate\nUSE: {00FFFF}/pgn2",0x1E90FFFF,-1447.1044,501.3164,3.0413,15.0,-1);//informacoes Exercito2 //Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}HQ Aztecas\nAperte {00FFFF}F{FFFFFF} para entrar",0x1E90FFFF,1673.656616,-2122.438476,14.146014,15,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}[Posto de Gasolina]\n{FFA500}Clique a tecla 'Y' para poder abastecer o seu veiculo.", 0x1E90FFFF , 1382.1605, 456.7762, 19.9290, 10.0, 0, 0); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Posto de Gasolina\n{FFFFFF}Aperte a letra {00FFFF}Y Ou /Abastecer{FFFFFF} dentro do veiculo para abastecer.", 0x1E90FFFF , 653.0082, -566.0035, 16.3359, 10.0, 0, 0); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Posto de Gasolina\n{FFFFFF}Aperte a letra {00FFFF}Y Ou /Abastecer{FFFFFF} dentro do veiculo para abastecer.", 0x1E90FFFF , 2112.9995, 921.6049, 10.8203, 10.0, 0, 0); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Posto de Gasolina\n{FFFFFF}Aperte a letra {00FFFF}Y Ou /Abastecer{FFFFFF} dentro do veiculo para abastecer.", 0x1E90FFFF , 2641.7129, 1098.4974, 10.8203, 10.0, 0, 0); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Posto de Gasolina\n{FFFFFF}Aperte a letra {00FFFF}Y Ou /Abastecer{FFFFFF} dentro do veiculo para abastecer.", 0x1E90FFFF , 2640.6458, 1108.2284, 10.8203, 10.0, 0, 0); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Posto de Gasolina\n{FFFFFF}Aperte a letra {00FFFF}Y Ou /Abastecer{FFFFFF} dentro do veiculo para abastecer.", 0x1E90FFFF , 1004.3494, -941.3350, 42.1380, 10.0, 0, 0); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Posto de Gasolina\n{FFFFFF}Aperte a letra {00FFFF}Y Ou /Abastecer{FFFFFF} dentro do veiculo para abastecer.", 0x1E90FFFF , 1944.4467, -1772.1697, 13.3906, 10.0, 0, 0); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Posto de Gasolina\n{FFFFFF}Aperte a letra {00FFFF}Y Ou /Abastecer{FFFFFF} dentro do veiculo para abastecer.", 0x1E90FFFF , -91.7803, -1169.6454, 2.4329, 10.0, 0, 0); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Posto de Gasolina\n{FFFFFF}Aperte a letra {00FFFF}Y Ou /Abastecer{FFFFFF} dentro do veiculo para abastecer.", 0x1E90FFFF , 1759.5858,-1744.7997,13.5495, 10.0, 0, 0); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Posto de Gasolina\n{FFFFFF}Aperte a letra {00FFFF}Y Ou /Abastecer{FFFFFF} dentro do veiculo para abastecer.", 0x1E90FFFF , 1780.5306,-1756.0095,13.5462, 10.0, 0, 0); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Posto de Gasolina\n{FFFFFF}Aperte a letra {00FFFF}Y Ou /Abastecer{FFFFFF} dentro do veiculo para abastecer.", 0x1E90FFFF , 1781.5948,-1772.3348,13.5425, 10.0, 0, 0); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Posto de Gasolina\n{FFFFFF}Aperte a letra {00FFFF}Y Ou /Abastecer{FFFFFF} dentro do veiculo para abastecer.", 0x1E90FFFF , 2146.8911,2748.5000,10.5474, 10.0, 0, 0); // posto lv Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Posto de Gasolina\n{FFFFFF}Aperte a letra {00FFFF}Y Ou /Abastecer{FFFFFF} dentro do veiculo para abastecer.", 0x1E90FFFF , 1543.8979,-2173.0583,13.4202, 10.0, 0, 0); // posto mecanicos Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Menu cameras de seguranca\nAperte a letra {00FFFF}F{FFFFFF} para acessar",0x1E90FFFF,224.2144,120.6683,999.1013,3.0,1);//BOMB Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Menu cameras de seguranca\nAperte a letra {00FFFF}F{FFFFFF} para acessar",0x1E90FFFF,1059.7758,1264.9397,10.8203,3.0,-1);//Detran Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Sex Shop\n{FFFFFF}Aperte a tecla {00FFFF}F{FFFFFF} para entrar",0x1E90FFFF,1087.5569,-922.4803,43.3906,25.0,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Sex Shop\n{FFFFFF}Aperte a tecla {00FFFF}H ou F{FFFFFF} para sair",0x1E90FFFF,2360.4719,-1532.8904,24.0000,25.0,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Farmacia\n{FFFFFF}Aperte a tecla {00FFFF}F{FFFFFF} para comprar um remedio",0x1E90FFFF,266.2977,1770.7728,9998.9424,10.0,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Estilos de Lutas\nAperte 'F' Para Mudar Luta",0x1E90FFFF,768.2192,-3.9873,1000.7203,15.0,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}USE: {00FFFF}/beber ",0x1E90FFFF,999.9950,-1849.9808,12.8146,25.0,0);// BEBER BAR999.9950,-1849.9808,12.8146 Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}HQ Black Elements\n{FFFFFF}Aperte a tecla {00FFFF}F{FFFFFF} para entrar",0x1E90FFFF,2495.3481,-1691.1355,14.7656,25.0,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Venda de Telefones\nAperte {00FFFF}'F'{FFFFFF} para ver o menu",0x1E90FFFF,203.7803,-43.2660,1001.8047,25.0,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Para comprar(PC)\nAperte {00FFFF}'F'{FFFFFF} para ver o menu",0x1E90FFFF,1360.6324,-1761.5422,13.6387,25.0,-1);//-26.8819,-89.6936,1003.5469 Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Para comprar(PC)\nAperte {00FFFF}'F'{FFFFFF} para ver o menu",0x1E90FFFF,3.1651,-29.0123,1003.5494,25.0,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Para comprar(PC)\nAperte {00FFFF}'F'{FFFFFF} para ver o menu",0x1E90FFFF,1360.3906,-1761.4502,13.6387,25.0,-1);//-22.2540,-55.6456,1003.5469 Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Para comprar(PC)\nAperte {00FFFF}'F'{FFFFFF} para ver o menu",0x1E90FFFF,-22.3265,-138.4765,1003.5469,25.0,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Para comprar(PC)\nAperte {00FFFF}'F'{FFFFFF} para ver o menu",0x1E90FFFF,-30.3140,-28.3121,1003.5573,25.0,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Elevador\nAperte {00FFFF}'F'{FFFFFF} Para Usar",0x1E90FFFF,1524.4977,-1677.9469,6.2188,10.0,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Elevador\nAperte {00FFFF}'F'{FFFFFF} Para Usar",0x1E90FFFF,1564.8790,-1667.0009,28.3956,10.0,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Elevador\nAperte {00FFFF}'F'{FFFFFF} Para Usar",0x1E90FFFF,246.2975,87.4735,1003.6406,10.0,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Menu de Licencas\n{FFFFFF}Aperte a tecla {00FFFF}F{FFFFFF} para usar",0x1E90FFFF,-2033.4347,-117.4312,1035.1719,10.0,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Menu de Armas\n{FFFFFF}Aperte a tecla {00FFFF}F{FFFFFF} para usar",0x1E90FFFF,312.1259,-166.1339,999.6010,10.0,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}HQ Estado Islâmico\nAperte F para entrar",0x1E90FFFF,-329.7025,1536.6123,76.6117,10.0,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}HQ Triads\nRecebimento de pedidos",0x1E90FFFF,2770.5706,-1628.1260,12.1775,20.0,0); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Aperte F para entrar",0x1E90FFFF,-2281.4895,2288.3999,4.9679,20.0,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Menu de Armas\n{FFFFFF}Aperte a tecla {00FFFF}F{FFFFFF} para usar",0x1E90FFFF,295.7041,-80.3617,1001.5156,8.0,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Cura do Hospital\nDigite /curarme Para Se Curar",0x1E90FFFF,1172.6522,-1327.9591,15.4025,25,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Cura do Hospital\nDigite /curarme Para Se Curar",0x1E90FFFF,2029.5945,-1404.6426,17.2512,25,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Investimentos\nAperte F para Acessar",0x1E90FFFF,355.2333,169.3552,1025.7891,7,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Cobrancas\nAperte F para Acessar",0x1E90FFFF,354.3210,154.7097,1025.7963,7,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Documentacao\nAperte F para Acessar",0x1E90FFFF,361.9699,169.5079,1025.7890,7,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}HQ Sons Of Anarchy{FFFFFF}\n{FFFFFF}Aperte a tecla {00FFFF}H ou F{FFFFFF} para sair",0x1E90FFFF,681.7535,-473.5503,16.5363,25.0,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Limpar Ficha\n{FFFFFF}Digite {00FFFF}/limpar{FFFFFF} para Limpar",0x1E90FFFF,253.9280,69.6094,1003.6406,7,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Limpar Ficha\n{FFFFFF}Digite {00FFFF}/limpar{FFFFFF} para Limpar",0x1E90FFFF,1168.3513,1358.5784,10.9219,7,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Limpar Ficha\n{FFFFFF}Digite {00FFFF}/limpar{FFFFFF} para Limpar",0x1E90FFFF,259.2474,120.3977,1003.2188,7,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Loja VIP\nAperte F",0x1E90FFFF,1496.7891,-1661.0364,14.0469,10.0,0); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Limpar Ficha\n{FFFFFF}Digite {00FFFF}/limpar{FFFFFF} para Limpar",0x1E90FFFF,234.8419,111.2194,1003.2257,7,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Limpar Ficha\n{FFFFFF}Digite {00FFFF}/limpar{FFFFFF} para Limpar",0x1E90FFFF,234.8419,111.2194,1003.2257,7,1); //CreateDynamic3DTextLabel("CNF-RP\n{FFFFFF}Presentes\n{FFFFFF}Aperte a tecla {00FFFF}F{FFFFFF} para pegar o seu",0x1E90FFFF,1478.3126,-1641.1827,14.1484,10.0); //1478.3126,-1641.1827,14.1484 (padrao) //CreateDynamic3DTextLabel("CNF-RP\n{FFFFFF}Presentes\n{FFFFFF}Aperte a tecla {00FFFF}F{FFFFFF} para pegar o seu",0x1E90FFFF,1679.1113,1448.4403,10.7746,10.0); // (LV) CreateDynamic3DTextLabel("CNF-RP\n{FFFFFF}Arena {FFFF00}x1\n{FFFFFF}Aperte a tecla {00FFFF}F{FFFFFF} para entrar",0x1E90FFFF,1209.4342,-1752.2078,13.5936,10.0); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Ola sou o {4760FF}Nissin!\n{00FFFF}Aprenda como jogar no BRASIL POBRE RP{FFFFFF}\nPressione 'F' em minha frente",0x1E90FFFF,1123.3541,-1471.3376,15.7757, 10.0, 0); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Ola sou o {4760FF}Lukinhas!\n{00FFFF}Aprenda como jogar no BRASIL POBRE RP{FFFFFF}\nPressione 'F' em minha frente",0x1E90FFFF,1141.5276,-1768.4902,16.5992, 10.0, 0); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Ola sou a {4760FF}zShoTz!\n{00FFFF}Aprenda como jogar no BRASIL POBRE RP{FFFFFF}\nPressione 'F' em minha frente",0x1E90FFFF,1108.2418,-1786.8306,16.5938, 10.0, 0); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Ola sou o {4760FF}Rick!\n{00FFFF}Aprenda como jogar no BRASIL POBRE RP{FFFFFF}\nPressione 'F' em minha frente",0x1E90FFFF,1711.1412,-1874.2155,13.5675, 10.0, 0); CreateActor(217, 1123.3541,-1471.3376,15.7757, 355.2439); CreateActor(217, 1141.5276,-1768.4902,16.5992,271.0295); CreateActor(217, 1108.2418,-1786.8306,16.5938,185.9609); CreateActor(217, 1711.1412,-1874.2155,13.5675,183.0298); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Mercado Negro\nAperte {00FFFF}F{FFFFFF} para comprar algo",0x1E90FFFF,941.9509,2176.7710,1011.0234,30.0,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Local de Produtos\nUSE: {00FFFF}/comprarprodutos {FFFFFF}para comprar",0x1E90FFFF,2485.0405,-2081.7695,13.5469,30.0,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Local de Mercadoria\n{FFFFFF}para pegar",0x1E90FFFF,2500.7869,-2081.3853,13.5469,30.0,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Jizzy's Bar\n{FFFFFF}Aperte a tecla {00FFFF}F{FFFFFF} para entrar",0x1E90FFFF,2309.9460,-1643.6337,14.8270,7,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Rock Bar\n{FFFFFF}Aperte a tecla {00FFFF}F{FFFFFF} para entrar",0x1E90FFFF,1323.9729,-1841.6465,13.5469,7,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Conqui's Bar\n{FFFFFF}Aperte a tecla {00FFFF}F{FFFFFF} para entrar",0x1E90FFFF,776.4116,-1036.1841,24.2753,7,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Fifth's Bar\n{FFFFFF}Aperte a tecla {00FFFF}F{FFFFFF} para entrar",0x1E90FFFF,2354.3938,-1511.7820,24.0000,7,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Lone's Bar\n{FFFFFF}Aperte a tecla {00FFFF}F{FFFFFF} para entrar",0x1E90FFFF,2850.9463,-1532.4783,11.0991,7,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}HQ Hitmans\n{FFFFFF}Aperte a tecla {00FFFF}F{FFFFFF} para entrar",0x1E90FFFF,2351.1487,-1245.4988,22.5000,7,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{00FFFF}Entrada do Hospital\n{FFFFFF}Aperte a tecla {00FFFF}F{FFFFFF} para entrar\n{00B1F6}OBS: Entrada apenas para funcionarios",0x1E90FFFF,1173.0885,-1323.2909,15.3966, 25.0, -1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Aperte {00FFFF}F{FFFFFF} para trabalhar de agricultor",0x1E90FFFF,1918.7303,173.7474,37.2722,20.0,-1); //TextLabel Cofres ORG // Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Informações Amigos dos Amigos \n{00FFFF}'F'{FFFFFF} para acessar o menu",0x1E90FFFF,674.4283,1827.9668,6.2336,25.0,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Informações da Mafia Yakuza Aperte \n{00FFFF}'F'{FFFFFF} para acessar o menu",0x1E90FFFF,671.9144,-1271.4734,13.6250,25.0,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Informações da Mafia Cosa Nostra Aperte \n{00FFFF}'F'{FFFFFF} para acessar o menu",0x1E90FFFF,1492.4470,-686.2380,94.7500,25.0,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Informações da Mafia Russa Aperte \n{00FFFF}'F'{FFFFFF} para acessar o menu",0x1E90FFFF,2590.6523,1411.4381,11.0663,25.0,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Informações da Policia Militar Aperte \n{00FFFF}'F'{FFFFFF} para acessar o menu",0x1E90FFFF,1568.6442,-1689.9729,6.2188,25.0,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Informações da BOPE Aperte \n{00FFFF}'F'{FFFFFF} para acessar o menu",0x1E90FFFF,233.4654,123.4205,1003.2188,25.0,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Informações da Exercito Aperte \n{00FFFF}'F'{FFFFFF} para acessar o menu",0x1E90FFFF,-1341.0715,500.6142,11.1953,25.0,-1); //Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Informações da Medicos Aperte \n{00FFFF}'F'{FFFFFF} para acessar o menu",0x1E90FFFF,1168.198486,-1326.190307,-44.283576,25.0,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Informações da Detran Aperte \n{00FFFF}'F'{FFFFFF} para acessar o menu",0x1E90FFFF,1058.8361,1301.6748,10.8203,25.0,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Informações HQ\nBAEP\nAperte '{00FFFF}F{FFFFFF}' para acessar",0x1E90FFFF,2919.8225,2111.0898,17.8955,25.0,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Informações dos Tropa da Franca Aperte \n{00FFFF}'F'{FFFFFF} para acessar o menu",0x1E90FFFF,740.3544,382.7724,23.1719,25.0,-1);//993.9297,16.6465,104.3347 Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Informações da Policia Civil Aperte \n{00FFFF}'F'{FFFFFF} para acessar o menu' para acessar",0x1E90FFFF,228.8563,153.4978,1003.0234,10.0,10); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Informações do Governo Aperte \n{00FFFF}'F'{FFFFFF} para acessar o menu",0x1E90FFFF,345.330017,162.199996,1025.796386,25.0,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Informações dos Hitmans Aperte \n{00FFFF}'F'{FFFFFF} para acessar o menu",0x1E90FFFF,2323.0007,-1245.2595,22.5000,25.0,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Informações dos Reporteres Aperte \n{00FFFF}'F'{FFFFFF} para acessar o menu",0x1E90FFFF,752.1580,-1358.9927,13.5000,25.0,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Informações da Policia Federal Aperte \n{00FFFF}'F'{FFFFFF} para acessar o menu",0x1E90FFFF,228.7928,153.3014,1003.0234,25.0,11); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Informações da Black Elements Aperte \n{00FFFF}'F'{FFFFFF} para acessar o menu",0x1E90FFFF,2514.1301,-1691.2979,14.0460,25.0,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Informações do Estado Islâmico Aperte \n{00FFFF}'F'{FFFFFF} para acessar o menu",0x1E90FFFF,-307.9520,1538.4799,75.5625,25.0,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Informações dos Ballas Aperte \n{00FFFF}'F'{FFFFFF} para acessar o menu",0x1E90FFFF,1154.1490,-1185.1548,32.0275,25.0,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Informações dos Los Vagos Aperte \n{00FFFF}'F'{FFFFFF} para acessar o menu",0x1E90FFFF,2587.5759,-952.1868,81.3968,25.0,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Informações do Comando Vermelho Aperte \n{00FFFF}'F'{FFFFFF} para acessar o menu",0x1E90FFFF,2151.9128,-1794.5184,13.5176,25.0,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Informações da Tropa da Escocia Aperte \n{00FFFF}'F'{FFFFFF} para acessar o menu",0x1E90FFFF,2797.7202,-1970.4054,13.5469,25.0,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Informações do PCC Aperte \n{00FFFF}'F'{FFFFFF} para acessar o menu",0x1E90FFFF,98.8338,1164.2825,18.6641,25.0,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Informações da The Triads Aperte \n{00FFFF}'F'{FFFFFF} para acessar o menu",0x1E90FFFF,2788.4338,-1627.9436,10.9272,25.0,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Informações dos As FARC Aperte \n{00FFFF}'F'{FFFFFF} para acessar o menu' para acessar",0x1E90FFFF,-2237.1875,2353.9629,4.9807,25.0,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Informações do ROTA Aperte \n{00FFFF}'F'{FFFFFF} para acessar o menu' para acessar",0x1E90FFFF,1709.5895,-1642.5737,20.2188,25.0,12); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Informações do Mayans Aperte \n{00FFFF}'F'{FFFFFF} para acessar o menu",0x1E90FFFF,479.5926,-1531.1252,19.8107,25.0,1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Informações dos Sons Of Anarchy Aperte \n{00FFFF}'F'{FFFFFF} para acessar o menu",0x1E90FFFF,687.2863,-472.8064,16.5363,25.0,0); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Informações da Forca Tatica Aperte \n{00FFFF}'F'{FFFFFF} para acessar o menu",0x1E90FFFF,2633.3782,1824.0537,11.0161,25.0,0); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Informações da GATE \n{00FFFF}'F'{FFFFFF} para acessar o menu",0x1E90FFFF,1171.8723,1348.9407,10.9219,25.0,0); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Informações da Milicia \n{00FFFF}'F'{FFFFFF} para acessar o menu",0x1E90FFFF,2489.7751,923.1611,11.0234,25.0,0); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Informações da Tropa Da Turquia \n{00FFFF}'F'{FFFFFF} para acessar o menu",0x1E90FFFF,1462.9502,341.5400,18.9075,25.0,0); // Las Venturas Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Departamento de Polícia de Las Venturas\n{FFFFFF}Aperte a tecla {00FFFF}F{FFFFFF} para entrar",0x1E90FFFF,2336.9888,2458.6926,14.9688,25.0,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Club de Las Venturas\n{FFFFFF}Aperte a tecla {00FFFF}H ou F{FFFFFF} para entrar",0x1E90FFFF,2127.6147,2379.2517,10.8203,25.0,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Prefeitura de Las Venturas\n{FFFFFF}Aperte a tecla {00FFFF}F{FFFFFF} para entrar",0x1E90FFFF,937.7009,1733.1941,8.8516,25.0,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Penitenciaria de Las Venturas\n{FFFFFF}Aperte a tecla {00FFFF}F{FFFFFF} para entrar",0x1E90FFFF,2182.3086,2294.9309,10.8203,25.0,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Igreja de Las Venturas\n{FFFFFF}Aperte a tecla {00FFFF}F{FFFFFF} para entrar",0x1E90FFFF,2581.4180,1060.7482,11.7112,25.0,-1); Create3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Agencia de Empregos\nLas Venturas\n{FFFFFF}Aperte a tecla {00FFFF}F{FFFFFF} para entrar",0x1E90FFFF,2364.1563,2377.5750,10.8203,25.0,-1); //---------------------------------------------------------------------------------------------- // CreateActor(167, 1554.8058,-1714.9943,13.5469,175.8067); // CreateActor(205, 1215.2388,-1330.8636,13.5686,89.9526); CreatePickup(1210, 23, 1752.4963,-1903.0275,13.5630,-1); //Empregos CreatePickup(1210, 23, 2018.2883,-2091.3528,13.6337,-1); //Empregos CreatePickup(1210, 23, 2426.5676,-2102.7278,13.5469,-1); //Empregos CreatePickup(1210, 23, 1561.6332,-2167.2244,13.5643,-1); //Empregos CreatePickup(1210, 23, 1926.1124,171.1314,37.2813,-1); //Empregos CreatePickup(1210, 23, 1924.0076,-1788.3060,13.3906,-1);//Empregos CreatePickup(1210, 23, 1425.5823,-2347.9338,13.5469,-1); //Empregos onibus CreatePickup(1210, 23, 2103.6143,-1803.2372,13.5547,-1); //Empregos CreatePickup(1210, 23, 1779.0577,-1704.7086,13.5203,-1); //Empregos CreatePickup(1210, 23, 852.3289,-1436.3395,15.0437,-1); //Empregos CreatePickup(1210, 23, -774.0463,2425.1511,157.1000,-1); //Empregos CreatePickup(1210, 23, 2372.6465,2467.4380,10.8203,-1); //Empregos CreatePickup(1210, 23, 2376.9092,2460.9690,10.8203,-1); //Empregos CreatePickup(1210, 23, -63.7623,-1121.9281,1.0870,-1); //Empregos CreatePickup(1210, 23, -80.0510,-1119.3893,1.084,-1); //Empregos CreatePickup(1210, 23, 781.5250,-600.7427,16.3359,-1); //Empregos CreatePickup(1210, 23, 1337.5746,1665.5343,10.8203,-1); //Empregos CreatePickup(1210, 23, 1340.9950,1700.2609,10.8203,-1); //Empregos CreatePickup(1210, 23, 1188.9204,-1331.0398,13.5608,-1); //medico CreatePickup(1210, 23, 2041.7030,-1427.9807,17.1641,-1); //medico 2 CreatePickup(1210, 23, 1604.8793,1818.1849,10.8203,-1); //medico lv CreatePickup(1210, 23, 1662.2340,2199.0193,10.8203,-1); //mecanico lv CreatePickup(1210, 23, 1706.7694,1317.8314,10.8203,-1); //taxista lv //================================================================================= for(new c=0;c==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==<| AddStaticPickup(1318, 23, 203.7803,-43.2660,1001.8047); //Novo Tel AddStaticPickup(3096, 23, 345.7944,-1825.3433,4.5470); //Blindagem AddStaticPickup(1318,23,501.8770,-67.7092,998.7578,-1); // HQ Hells Angels - saida AddStaticPickup(1318, 23, -1352.1919,497.4284,11.1953); //Exercito HQ AddStaticPickup(1318, 23, -1412.3218,479.3567,7.1875); //Exercito HQ AddStaticPickup(1239, 23, -1445.2644,511.1707,11.1953); // Exercito Informacoes plate AddStaticPickup(1239, 23, -1403.3289,512.1636,11.1953); // Exercito Informacoes plate 2 AddStaticPickup(1239, 23, -1447.1044,501.3164,3.0413); // Exercito Informacoes plate 3 AddStaticPickup(1242, 23, 2015.1254,-2093.5525,13.5469); // Equipar Bombeiros AddStaticPickup(1242, 23,1712.3022,-1640.2500,20.2239,12); // AddStaticPickup(1242, 23,2602.8528,1899.2375,11.0234); // MenuCOP FT AddStaticPickup(1242, 23,2919.8196,2105.1384,17.8955,12); // AddStaticPickup(1242, 23,255.1995,77.1081,1003.6406); // AddStaticPickup(1242, 23,-1348.3979,500.5638,11.2027); // 2406 AddStaticPickup(1242, 23,927.2700,-1038.1577,31.8984); // AddStaticPickup(1242, 23,1175.2020,1352.1891,10.9219); // AddStaticPickup(1242, 23,240.5192,112.7945,1003.2188,-1); // AddStaticPickup(1242, 23,2919.8196,2105.1384,17.8955); // AddStaticPickup(1242, 23,1059.7234,1273.0679,10.8203); // AddStaticPickup(1242, 23,-506.6495,-539.6550,25.5234); //pc AddStaticPickup(1242, 23,919.0876,-1258.1152,15.6641); //pf AddStaticPickup(1318,23,1918.7303,173.7474,37.2722,-1); // Agricultor AddStaticPickup(1911, 23, 248.4554,302.8275,999.1484,15); // Troca Fichas AddStaticPickup(1244, 23, 2454.3035,-1461.2147,24.0000);//Blindagem LS AddStaticPickup(1318, 23, 2233.8225,-1333.2725,23.9816); // IGREJA Entrada AddStaticPickup(1239, 23, 1964.0280,-369.0365,1093.7289); // IGREJA Casar AddStaticPickup(1239, 23, 1969.2876,-371.6323,1093.7289); // IGREJA mudarsexo AddStaticPickup(1239, 23, 1959.3009,-373.1479,1093.7289); // IGREJA Divorcio AddStaticPickup(1318, 23, 1964.0472,-349.9243,1092.9454); // IGREJA Sair AddStaticPickup(11736, 23, 266.2977,1770.7728,9998.9424); // FARMACIA AddStaticPickup(1577, 23, 2308.8767,-2.2627,26.7422,10); //goldbars AddStaticPickup(1318, 23, 2770.5706,-1628.1260,12.1775); //equipar Triad AddStaticPickup(1239, 23, 2396.6250,2771.0850,17.3643,15); // Arrombar portao seguranca 2 AddStaticPickup(1654, 23, 2417.5193,2794.5239,17.3643,15); // explodir saida dc AddStaticPickup(1239, 23, 2418.1367,2769.3354,17.3643,15); // Arrombar portao deposito 2 AddStaticPickup(1654, 23, 2144.1084,1626.3708,993.6882); // Explodir Cofre Motel AddStaticPickup(1318, 23, 681.7535,-473.5503,16.5363,0);//hq Sons Of Anarchy Hotel AddStaticPickup(1239, 23, 1444.1307,-979.6854,57.5156,1); // Decodificar Banco AddStaticPickup(1239, 23, 1462.5645,-988.5020,57.5156,1); // Arrombar Banco AddStaticPickup(1318, 23, 1436.6978,-979.7476,57.5156); //Saida Cofre Banco AddStaticPickup(1650, 23, 1382.1605, 456.7762, 19.9290); //Posto de combustivel AddStaticPickup(1650, 23, 2112.9995, 921.6049, 10.8203); //Posto de combustivel AddStaticPickup(1650, 23, 2641.7129, 1098.4974, 10.8203); //Posto de combustivel AddStaticPickup(1650, 23, 2640.6458, 1108.2284, 10.8203); //Posto de combustivel AddStaticPickup(1650, 23, 653.0082, -566.0035, 16.3359); //Posto de combustivel AddStaticPickup(1650, 23, 1004.3494, -941.3350, 42.1380); //Posto de combustivel AddStaticPickup(1650, 23, 1944.4467, -1772.1697, 13.3906); //Posto de combustivel AddStaticPickup(1650, 23, -91.7803, -1169.6454, 2.4329); //Posto de combustivel AddStaticPickup(1650, 23, 1759.5858,-1744.7997,13.5495); //Posto de combustivel AddStaticPickup(1650, 23, 1780.5306,-1756.0095,13.5462); //Posto de combustivel AddStaticPickup(1650, 23, 1781.5948,-1772.3348,13.5425); //Posto de combustivel AddStaticPickup(1650, 23, 2146.8911,2748.5000,10.5474); //Posto de combustivel lv AddStaticPickup(1650, 23, 1543.8979,-2173.0583,13.4202); //Posto de combustivel mecanico AddStaticPickup(1318, 23, 2581.4180,1060.7482,11.7112); // IGREJA Entrada LV AddStaticPickup(1318, 23, 2364.1563,2377.5750,10.8203); // Entrada agencia //Nova HQ Milicia CreateDynamicObject(987, 2503.19580, 943.39972, 9.80228, 0.00000, 0.00000, 0.00000); CreateDynamicObject(987, 2491.34814, 943.34143, 9.80228, 0.00000, 0.00000, 0.00000); CreateDynamicObject(987, 2479.40869, 943.27643, 9.80228, 0.00000, 0.00000, 0.00000); CreateDynamicObject(987, 2515.02686, 943.35010, 9.80228, 0.00000, 0.00000, 0.00000); CreateDynamicObject(987, 2526.93408, 943.34967, 9.80228, 0.00000, 0.00000, 0.00000); CreateDynamicObject(987, 2538.75146, 943.17694, 9.80228, 0.00000, 0.00000, -90.66001); CreateDynamicObject(987, 2538.69385, 931.37488, 9.80228, 0.00000, 0.00000, -90.66001); CreateDynamicObject(987, 2538.47803, 919.94604, 9.80228, 0.00000, 0.00000, -90.66001); CreateDynamicObject(987, 2538.34888, 914.17963, 9.80228, 0.00000, 0.00000, -90.66001); CreateDynamicObject(987, 2538.70630, 903.25696, 9.80228, 0.00000, 0.00000, -179.27995); CreateDynamicObject(987, 2526.78394, 903.07037, 9.80228, 0.00000, 0.00000, -178.85997); CreateDynamicObject(987, 2515.27197, 902.90210, 9.80228, 0.00000, 0.00000, -178.85997); CreateDynamicObject(987, 2503.62793, 902.73859, 9.80228, 0.00000, 0.00000, -179.39996); CreateDynamicObject(987, 2491.80151, 902.75421, 9.80228, 0.00000, 0.00000, -178.85997); CreateDynamicObject(987, 2480.05298, 902.62396, 9.80228, 0.00000, 0.00000, -178.85997); CreateDynamicObject(987, 2468.23291, 902.47919, 9.80228, 0.00000, 0.00000, -178.85997); CreateDynamicObject(987, 2456.75024, 902.32941, 9.80228, 0.00000, 0.00000, -269.03998); CreateDynamicObject(987, 2456.54004, 914.36884, 9.80228, 0.00000, 0.00000, -269.93994); CreateDynamicObject(987, 2456.71118, 923.65735, 9.80228, 0.00000, 0.00000, -269.93994); CreateDynamicObject(987, 2456.53540, 932.50464, 9.80228, 0.00000, 0.00000, -269.93994); ObjMiliciaPortao = CreateDynamicObject(980, 2473.51660, 943.36096, 12.43314, 0.00000, 0.00000, 0.00000); CreateDynamicObject(987, 2455.87183, 943.43872, 9.80228, 0.00000, 0.00000, -360.83978); //Advogados BOPE e PF CreatePickup(1318,23,198.5305,179.3016,1003.0312,-1); // interior DP // SEDEX CreateDynamicObject(11387, 26.56055, -179.84863, 4.16689, 0.00000, 0.00000, 267.37427); CreateDynamicObject(5340, 56.35268, -159.20813, 1.21843, 0.00000, 0.00000, 87.33951); CreateDynamicObject(5340, 52.17810, -159.02910, 1.16002, 0.00000, 0.00000, 87.33582); CreateDynamicObject(5340, 45.23961, -158.70261, -0.35807, 0.00000, 0.00000, 87.33582); CreateDynamicObject(5340, 38.22668, -158.35535, -0.33998, 0.00000, 0.00000, 87.33582); CreateDynamicObject(5340, 31.25660, -158.03607, -0.33998, 0.00000, 0.00000, 87.33582); CreateDynamicObject(5340, 24.25727, -157.68417, -0.31498, 0.00000, 0.00000, 87.33582); CreateDynamicObject(5340, 17.27944, -157.35394, -0.29185, 0.00000, 0.00000, 87.33582); CreateDynamicObject(5340, 10.29852, -157.05975, -0.28998, 0.00000, 0.00000, 87.33582); CreateDynamicObject(5340, 6.75059, -156.86191, -0.28998, 0.00000, 0.00000, 87.33582); CreateDynamicObject(5340, 0.14672, -158.26692, -0.27549, 0.00000, 0.00000, 117.11078); CreateDynamicObject(5340, -1.17411, -158.87291, -0.28385, 0.00000, 0.00000, 117.10876); CreateDynamicObject(5340, -4.61533, -163.96423, -0.27296, 0.00000, 0.00000, 174.67383); CreateDynamicObject(5340, -5.13277, -170.94362, -0.26756, 0.00000, 0.00000, 176.65662); CreateDynamicObject(5340, -5.67937, -177.93579, -0.25374, 0.00000, 0.00000, 174.67163); CreateDynamicObject(5340, -6.08142, -184.84065, -0.27328, 0.00000, 0.00000, 178.64160); CreateDynamicObject(5340, 59.58478, -162.95731, 1.23333, 0.00000, 0.00000, 357.26990); CreateDynamicObject(5340, 59.22168, -170.10059, 1.24632, 0.00000, 0.00000, 357.25061); CreateDynamicObject(5340, 59.32031, -169.52441, 0.77132, 0.00000, 0.00000, 357.49524); CreateDynamicObject(5340, 58.86816, -177.09082, 1.25605, 0.00000, 0.00000, 356.26465); CreateDynamicObject(5340, 58.86035, -178.10059, 1.22668, 0.00000, 0.00000, 357.26196); CreateDynamicObject(2790, 58.62207, -184.26758, -0.68280, 0.00000, 0.00000, 267.68188); CreateDynamicObject(2790, 58.42773, -189.41016, -0.68280, 0.00000, 0.00000, 267.68188); CreateDynamicObject(2790, 58.23633, -194.56445, -0.68280, 0.00000, 0.00000, 267.68188); CreateDynamicObject(2790, 58.17578, -196.39453, -0.68280, 0.00000, 0.00000, 267.68188); CreateDynamicObject(4100, 58.45185, -188.00914, 2.19727, 0.00000, 0.00000, 48.13977); CreateDynamicObject(4100, 36.43985, -158.20877, 2.94175, 0.00000, 0.00000, 317.58032); CreateDynamicObject(4100, 22.70215, -157.54785, 2.94175, 0.00000, 0.00000, 317.57080); CreateDynamicObject(4100, 10.28987, -156.99661, 2.96675, 0.00000, 0.00000, 317.57629); CreateDynamicObject(4100, -4.76478, -167.13228, 2.66657, 0.00000, 0.00000, 46.15161); CreateDynamicObject(4100, -5.72656, -180.82227, 2.63619, 0.00000, 0.00000, 46.14807); CreateDynamicObject(4100, 7.19328, -196.63792, 2.32544, 0.00000, 0.00000, 317.07629); CreateDynamicObject(4100, 20.92610, -197.44850, 2.29748, 0.00000, 0.00000, 317.06543); CreateDynamicObject(4100, 34.63588, -198.17728, 2.27523, 0.00000, 0.00000, 317.06543); CreateDynamicObject(971, -0.47949, -158.67480, 0.32820, 0.00000, 0.00000, 27.02087); CreateDynamicObject(971, -3.60392, -191.51503, 0.16939, 0.00000, 0.00000, 306.90540); CreateDynamicObject(1358, 0.16992, -193.88184, 1.70422, 0.00000, 0.00000, 124.09607); CreateDynamicObject(11102, 46.01953, -180.63086, 2.84552, 0.00000, 0.00000, 87.33582); CreateDynamicObject(11102, 27.27353, -166.00508, 2.93513, 0.00000, 0.00000, 356.51184); CreateDynamicObject(11389, 43.05957, -171.22559, 3.92127, 0.00000, 0.00000, 266.96777); CreateDynamicObject(11388, 43.09195, -171.15900, 7.49259, 0.00000, 0.00000, 86.99243); CreateDynamicObject(2007, 27.91305, -176.51443, 0.80751, 0.00000, 0.00000, 87.88196); CreateDynamicObject(1757, 34.11213, -178.86681, 0.80751, 0.00000, 0.00000, 141.29211); CreateDynamicObject(2069, 35.94893, -178.88513, 0.80751, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1491, 36.21052, -172.19794, 0.86190, 0.00000, 0.00000, 171.73047); CreateDynamicObject(2008, 30.32275, -173.19922, 0.80751, 0.00000, 0.00000, 240.40527); CreateDynamicObject(1714, 28.85593, -172.99274, 0.80751, 0.00000, 0.00000, 49.62469); CreateDynamicObject(2007, 32.96288, -162.62151, 0.48251, 0.00000, 0.00000, 359.24744); CreateDynamicObject(2007, 32.08995, -162.58237, 0.48251, 0.00000, 0.00000, 359.24744); CreateDynamicObject(2007, 31.49732, -162.53363, 0.60751, 0.00000, 0.00000, 359.24744); CreateDynamicObject(2007, 37.18751, -162.59224, 0.20751, 0.00000, 0.00000, 359.24744); CreateDynamicObject(2007, 38.36195, -162.72304, 0.20751, 0.00000, 0.00000, 356.77747); CreateDynamicObject(2007, 42.29297, -163.14099, 0.53251, 0.00000, 0.00000, 359.24744); CreateDynamicObject(2007, 41.31987, -163.07298, 0.58251, 0.00000, 0.00000, 359.24744); CreateDynamicObject(2007, 40.74393, -163.00165, 0.53251, 0.00000, 0.00000, 359.24744); CreateDynamicObject(2596, 36.80920, -172.93488, 3.73337, 0.00000, 0.00000, 298.92041); CreateDynamicObject(1432, 39.71329, -177.30106, 0.80751, 0.00000, 0.00000, 0.00000); CreateDynamicObject(910, 28.60036, -162.30627, 2.07667, 0.00000, 0.00000, 0.00000); CreateDynamicObject(3399, 38.01497, -160.10847, 2.82655, 0.00000, 0.00000, 358.51501); CreateDynamicObject(11390, 43.03790, -171.19501, 5.16304, 0.00000, 0.00000, 266.70410); CreateDynamicObject(19054, 43.64510, -172.59970, 0.58650, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19054, 42.52003, -172.59975, 0.58649, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19057, 41.18677, -169.62202, 1.39934, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19058, 44.93152, -169.53900, 1.37573, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19055, 42.45090, -169.61043, 1.40713, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19056, 43.68501, -169.58058, 1.37635, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19058, 41.17950, -170.81096, 1.01787, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19055, 42.42794, -170.82365, 1.18324, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19056, 43.72459, -170.78397, 1.16995, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19058, 44.91616, -170.73415, 1.01790, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19058, 46.96784, -165.28479, 0.19342, 0.00000, 0.00000, -1.80000); CreateDynamicObject(19058, 46.94127, -166.37582, 0.19342, 0.00000, 0.00000, -1.80000); CreateDynamicObject(19058, 46.86894, -167.53836, 0.19342, 0.00000, 0.00000, -1.80000); CreateDynamicObject(19058, 46.83615, -168.50798, 0.19342, 0.00000, 0.00000, -1.80000); /* HQ Tropa da Franca CreateDynamicObject(987,1678.0000000,-2126.8000000,12.5000000,0.0000000,0.0000000,0.0000000); //object(elecfence_bar) (1) CreateDynamicObject(987,1671.3000000,-2126.6001000,16.6000000,0.0000000,0.0000000,0.0000000); //object(elecfence_bar) (2) CreateDynamicObject(987,1660.3000000,-2102.6001000,12.5000000,0.0000000,0.0000000,270.0000000); //object(elecfence_bar) (3) CreateDynamicObject(987,1660.2000000,-2090.3999000,12.5000000,0.0000000,0.0000000,270.0000000); //object(elecfence_bar) (4) CreateDynamicObject(987,1660.0996000,-2078.2998000,12.5000000,0.0000000,0.0000000,270.0000000); //object(elecfence_bar) (6) CreateDynamicObject(987,1671.4004000,-2077.7998000,16.3000000,0.0000000,0.0000000,179.9950000); //object(elecfence_bar) (7) CreateDynamicObject(987,1683.4004000,-2077.7998000,16.3000000,0.0000000,0.0000000,179.9950000); //object(elecfence_bar) (8) CreateDynamicObject(987,1695.5996000,-2078.3994000,16.6000000,0.0000000,0.0000000,179.9950000); //object(elecfence_bar) (9) CreateDynamicObject(987,1707.5000000,-2077.7998000,16.3000000,0.0000000,0.0000000,179.9950000); //object(elecfence_bar) (10) CreateDynamicObject(987,1719.4004000,-2077.7998000,16.3000000,0.0000000,0.0000000,179.9950000); //object(elecfence_bar) (11) CreateDynamicObject(987,1719.5996000,-2089.5996000,12.5000000,0.0000000,0.0000000,90.0000000); //object(elecfence_bar) (12) CreateDynamicObject(987,1719.5996000,-2101.5000000,12.5000000,0.0000000,0.0000000,90.0000000); //object(elecfence_bar) (13) CreateDynamicObject(3749,1719.9000000,-2111.6001000,18.2000000,0.0000000,0.0000000,90.0000000); //object(clubgate01_lax) (1) CreateDynamicObject(987,1698.5000000,-2126.3000000,12.5000000,0.0000000,0.0000000,0.0000000); //object(elecfence_bar) (15) CreateDynamicObject(987,1715.3000000,-2129.6001000,12.5000000,0.0000000,0.0000000,70.0000000); //object(elecfence_bar) (16) PortaoAztecas = CreateDynamicObject(980,1719.6000000,-2111.6001000,15.1000000,0.0000000,0.0000000,270.0000000); //object(airportgate) (1) CreateDynamicObject(987,1660.2998000,-2114.5996000,12.5000000,0.0000000,0.0000000,270.0000000); //object(elecfence_bar) (17) CreateDynamicObject(987,1660.0000000,-2126.5996000,16.6000000,0.0000000,0.0000000,0.0000000); //object(elecfence_bar) (18)*/ // HQ BALLAS CreateDynamicObject(987,1082.6000000,-1253.6000000,21.7000000,0.0000000,0.0000000,270.0000000); //object(elecfence_bar) (1) CreateDynamicObject(987,1082.7000000,-1258.9000000,21.7000000,0.0000000,0.0000000,270.0000000); //object(elecfence_bar) (2) CreateDynamicObject(987,1082.7000000,-1230.7000000,20.4000000,0.0000000,6.0000000,270.0000000); //object(elecfence_bar) (3) CreateDynamicObject(987,1082.5000000,-1242.7000000,19.0000000,0.0000000,0.0000000,270.0000000); //object(elecfence_bar) (4) CreateDynamicObject(987,1082.7000000,-1191.9000000,22.5000000,0.0000000,0.0000000,270.0000000); //object(elecfence_bar) (5) CreateDynamicObject(987,1082.7002000,-1218.7998000,20.5000000,0.0000000,0.0000000,270.0000000); //object(elecfence_bar) (6) PortaoBallas = CreateDynamicObject(971,1082.6000000,-1207.4000000,20.4000000,0.0000000,0.0000000,90.0000000); //object(subwaygate) (1) CreateDynamicObject(987,1082.7002000,-1210.9004000,20.5000000,0.0000000,0.0000000,270.0000000); //object(elecfence_bar) (7) CreateDynamicObject(987,1082.7000000,-1182.9000000,24.1000000,0.0000000,0.0000000,270.0000000); //object(elecfence_bar) (8) CreateDynamicObject(987,1082.8000000,-1203.2000000,23.9000000,0.0000000,0.0000000,270.0000000); //object(elecfence_bar) (9) CreateDynamicObject(972,1137.6000000,-1209.0000000,17.6000000,0.0000000,0.0000000,0.0000000); //object(tunnelentrance) (1) // HQ CV NOVA by nissin hehehe //Remove Buildings/////////////////////////////////////////////////////////////////////////////////////////////// //Objects//////////////////////////////////////////////////////////////////////////////////////////////////////// //new tmpobjid; tmpobjid = CreateDynamicObject(19853, 2180.143554, -1769.511352, 12.418636, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 1, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); tmpobjid = CreateDynamicObject(19853, 2179.974853, -1808.581909, 12.418636, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 1, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); tmpobjid = CreateDynamicObject(19853, 2144.212158, -1793.440917, 12.418636, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 1, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); tmpobjid = CreateDynamicObject(19853, 2149.562744, -1793.440917, 12.418636, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 1, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); tmpobjid = CreateDynamicObject(19853, 2156.128417, -1804.959716, 12.418636, 0.000000, 0.000000, -12.999996, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 1, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); tmpobjid = CreateDynamicObject(987, 2140.461425, -1762.543212, 12.396760, 0.000000, 0.000000, 179.899978, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 1, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 2, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 3, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); tmpobjid = CreateDynamicObject(987, 2152.450683, -1762.564208, 12.396760, 0.000000, 0.000000, 179.899978, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 1, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 2, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 3, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); tmpobjid = CreateDynamicObject(987, 2164.429687, -1762.585449, 12.396760, 0.000000, 0.000000, 179.899978, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 1, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 2, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 3, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); tmpobjid = CreateDynamicObject(987, 2176.389160, -1762.607299, 12.396760, 0.000000, 0.000000, 179.899978, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 1, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 2, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 3, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); tmpobjid = CreateDynamicObject(987, 2128.872802, -1762.442993, 12.396760, 0.000000, 0.000000, -89.600036, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 1, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 2, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 3, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); tmpobjid = CreateDynamicObject(987, 2128.957031, -1774.392456, 12.396760, 0.000000, 0.000000, -89.600036, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 1, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 2, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 3, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); tmpobjid = CreateDynamicObject(987, 2129.041748, -1786.152832, 12.396760, 0.000000, 0.000000, -0.100041, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 1, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 2, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 3, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); tmpobjid = CreateDynamicObject(987, 2140.798583, -1785.804321, 12.396760, 0.000000, 0.000000, -90.600044, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 1, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 2, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 3, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); tmpobjid = CreateDynamicObject(987, 2140.672851, -1797.793457, 12.396760, 0.000000, 0.000000, -90.600044, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 1, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 2, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 3, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); tmpobjid = CreateDynamicObject(987, 2140.546142, -1809.762695, 12.396760, 0.000000, 0.000000, -90.600044, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 1, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 2, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 3, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); tmpobjid = CreateDynamicObject(987, 2140.418701, -1821.761596, 12.396760, 0.000000, 0.000000, -90.600044, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 1, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 2, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 3, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); tmpobjid = CreateDynamicObject(987, 2140.177978, -1833.225830, 12.396760, 0.000000, 0.000000, -12.500046, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 1, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 2, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 3, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); tmpobjid = CreateDynamicObject(987, 2151.874267, -1835.818969, 12.396760, 0.000000, 0.000000, -12.500046, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 1, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 2, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 3, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); tmpobjid = CreateDynamicObject(987, 2155.926757, -1836.717041, 12.396760, 0.000000, 0.000000, -12.500046, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 1, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 2, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 3, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); tmpobjid = CreateDynamicObject(987, 2167.622558, -1839.309936, 12.396760, 0.000000, 0.000000, -1.800047, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 1, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 2, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 3, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); tmpobjid = CreateDynamicObject(987, 2179.467529, -1839.682128, 12.396760, 0.000000, 0.000000, -1.800047, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 1, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 2, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 3, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); tmpobjid = CreateDynamicObject(987, 2183.627197, -1839.813842, 12.396760, 0.000000, 0.000000, -1.800047, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 1, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 2, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 3, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); tmpobjid = CreateDynamicObject(987, 2183.627197, -1839.813842, 15.626769, 0.000000, 0.000000, -1.800047, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 1, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 2, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 3, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); tmpobjid = CreateDynamicObject(987, 2183.627197, -1839.813842, 11.156767, 0.000000, 0.000000, -1.800047, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 1, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 2, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 3, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); tmpobjid = CreateDynamicObject(987, 2195.421875, -1840.212280, 12.166765, 0.000000, 0.000000, 90.099945, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 1, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 2, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 3, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); tmpobjid = CreateDynamicObject(987, 2195.399902, -1828.252685, 12.166765, 0.000000, 0.000000, 90.099945, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 1, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 2, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 3, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); tmpobjid = CreateDynamicObject(987, 2195.379150, -1816.282470, 12.166765, 0.000000, 0.000000, 90.099945, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 1, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 2, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 3, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); tmpobjid = CreateDynamicObject(987, 2195.358154, -1804.322265, 12.166765, 0.000000, 0.000000, 90.099945, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 1, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 2, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 3, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); tmpobjid = CreateDynamicObject(987, 2195.337158, -1792.342651, 12.166765, 0.000000, 0.000000, 90.099945, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 1, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 2, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 3, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); tmpobjid = CreateDynamicObject(987, 2195.316162, -1780.402709, 12.166765, 0.000000, 0.000000, 90.099945, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 1, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 2, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 3, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); tmpobjid = CreateDynamicObject(987, 2195.305419, -1774.242553, 12.166765, 0.000000, 0.000000, 90.099945, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 1, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 2, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 3, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); tmpobjid = CreateDynamicObject(3749, 2184.864990, -1762.512207, 18.098627, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10765, "airportgnd_sfse", "bobo_3", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 1, 10765, "airportgnd_sfse", "black64", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 2, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 3, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); tmpobjid = CreateDynamicObject(19355, 2177.166992, -1760.471923, 15.736959, 0.000000, 0.000000, -89.999931, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterialText(tmpobjid, 0, "{FF0000} Comando Vermelho", 140, "DGHD", 60, 1, 0x00000000, 0x00000000, 1); tmpobjid = CreateDynamicObject(19355, 2177.108154, -1760.489868, 15.268641, 0.000000, 0.000000, -89.799995, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterialText(tmpobjid, 0, "{800080}M{00FFFF}C{008000}R{0000FF}P", 140, "DGHD", 60, 1, 0x00000000, 0x00000000, 1); tmpobjid = CreateDynamicObject(3582, 2146.469482, -1820.639892, 15.108640, 0.000000, 0.000000, -89.899993, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 1, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 4, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); tmpobjid = CreateDynamicObject(1226, 2157.183105, -1835.109985, 16.168638, 0.000000, 0.000000, -91.999977, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 1, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 2, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); SetDynamicObjectMaterial(tmpobjid, 4, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000); tmpobjid = CreateDynamicObject(13591, 2136.365722, -1783.727905, 12.418640, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(3578, 2192.478027, -1834.548217, 11.698639, 0.000000, 0.000000, 92.099990, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(3578, 2188.320556, -1834.700561, 11.698639, 0.000000, 0.000000, 92.099990, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(3578, 2183.545410, -1834.994995, 11.698639, 0.000000, 0.000000, 92.099990, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(3578, 2179.388671, -1835.147338, 11.698639, 0.000000, 0.000000, 92.099990, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(3578, 2175.010986, -1835.307739, 11.698639, 0.000000, 0.000000, 92.099990, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(3578, 2171.392333, -1835.440307, 11.698639, 0.000000, 0.000000, 92.099990, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(3582, 2150.989501, -1833.116210, 15.118636, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(1418, 2156.872558, -1835.117065, 12.898641, 0.000000, 0.000000, -94.399978, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(1418, 2157.139160, -1831.637084, 12.898641, 0.000000, 0.000000, -94.399978, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(1418, 2157.407714, -1828.157592, 12.898641, 0.000000, 0.000000, -94.399978, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(1418, 2155.813964, -1826.339355, 12.898641, 0.000000, 0.000000, -2.399946, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(1418, 2142.052734, -1814.142333, 12.898641, 0.000000, 0.000000, -2.399946, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(1418, 2145.500000, -1814.286865, 12.898641, 0.000000, 0.000000, -2.399946, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(1418, 2148.996337, -1814.433227, 12.898641, 0.000000, 0.000000, -2.399946, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(1418, 2152.434326, -1814.576660, 12.898641, 0.000000, 0.000000, -2.399946, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(1418, 2154.460693, -1816.294677, 12.898641, 0.000000, 0.000000, -78.399948, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(978, 2189.623535, -1774.891601, 13.218632, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(978, 2179.677490, -1767.741821, 13.368639, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(849, 2145.866455, -1783.363159, 12.688638, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(849, 2142.325927, -1780.503051, 12.688638, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(849, 2137.735839, -1776.922973, 12.688638, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(1358, 2133.411132, -1779.001831, 13.588640, 0.000000, 0.000000, -14.199998, -1, -1, -1, 300.00, 300.00); CreateDynamicObject(987,2134.8999000,-1786.3000000,17.9000000,0.0000000,0.0000000,270.0000000); //object(elecfence_bar) (1) CreateDynamicObject(987,2158.8999000,-1830.6000000,17.9000000,0.0000000,0.0000000,0.0000000); //object(elecfence_bar) (2) CreateDynamicObject(987,2134.9004000,-1818.5996000,17.9000000,0.0000000,0.0000000,270.0000000); //object(elecfence_bar) (3) CreateDynamicObject(987,2134.9004000,-1806.7002000,17.9000000,0.0000000,0.0000000,270.0000000); //object(elecfence_bar) (4) CreateDynamicObject(987,2134.9004000,-1794.7998000,17.9000000,0.0000000,0.0000000,270.0000000); //object(elecfence_bar) (5) CreateDynamicObject(987,2146.8000000,-1786.4000000,17.9000000,0.0000000,0.0000000,180.0000000); //object(elecfence_bar) (6) CreateDynamicObject(987,2158.5000000,-1786.0000000,17.5000000,0.0000000,0.0000000,179.9950000); //object(elecfence_bar) (7) CreateDynamicObject(987,2177.3999000,-1786.0000000,17.5000000,0.0000000,0.0000000,179.9950000); //object(elecfence_bar) (8) CreateDynamicObject(987,2170.5000000,-1786.0000000,17.5000000,0.0000000,0.0000000,179.9950000); //object(elecfence_bar) (9) CreateDynamicObject(3749,2185.8000000,-1784.0000000,18.2000000,0.0000000,0.0000000,0.0000000); //object(clubgate01_lax) (1) PortaoCV = CreateDynamicObject(980,2185.7000000,-1784.7000000,15.1000000,0.0000000,0.0000000,0.0000000); //object(airportgate) (2) CreateDynamicObject(987,2134.9004000,-1830.5996000,17.9000000,0.0000000,0.0000000,0.0000000); //object(elecfence_bar) (10) CreateDynamicObject(987,2146.9004000,-1830.5996000,17.9000000,0.0000000,0.0000000,0.0000000); //object(elecfence_bar) (11) CreateDynamicObject(987,2182.8999000,-1830.6000000,17.9000000,0.0000000,0.0000000,0.0000000); //object(elecfence_bar) (12) CreateDynamicObject(987,2170.9004000,-1830.5996000,17.9000000,0.0000000,0.0000000,0.0000000); //object(elecfence_bar) (13) CreateDynamicObject(987,2195.7000000,-1830.3000000,17.9000000,0.0000000,0.0000000,90.0000000); //object(elecfence_bar) (14) CreateDynamicObject(987,2195.6001000,-1815.3000000,15.1000000,0.0000000,0.0000000,90.0000000); //object(elecfence_bar) (15) CreateDynamicObject(987,2195.7998000,-1818.4004000,17.9000000,0.0000000,0.0000000,90.0000000); //object(elecfence_bar) (17) CreateDynamicObject(987,2195.6001000,-1803.3000000,15.1000000,0.0000000,0.0000000,90.0000000); //object(elecfence_bar) (18) CreateDynamicObject(987,2195.7000000,-1797.3000000,15.2000000,0.0000000,0.0000000,90.0000000); //object(elecfence_bar) (19) CreateDynamicObject(986,2175.5000000,-1830.3000000,15.1000000,0.0000000,0.0000000,0.0000000); //object(gate_autol) (1) // Interior Banco roubo CreateDynamicObject(2634,2948.3999000,-1806.5000000,1187.2000000,0.0000000,0.0000000,88.0000000); //object(ab_vaultdoor) (1) CreateDynamicObject(2634,2946.8999000,-1804.5000000,1187.2000000,0.0000000,0.0000000,179.9950000); //object(ab_vaultdoor) (2) // Portao Hitmans PortaoHitmans = CreateDynamicObject(975,2313.2000000,-1217.7000000,24.8000000,0.0000000,0.0000000,90.0000000); CreateDynamicObject(974,2360.8999000,-1272.0000000,23.3000000,0.0000000,0.0000000,90.0000000); //object(tall_fence) (1) // HQ VAGOS CreateDynamicObject(987,2565.0000000,-948.4000200,81.4000000,0.0000000,0.0000000,282.0000000); //object(elecfence_bar) (1) PortaoVagos = CreateDynamicObject(980,2568.2000000,-965.7000100,84.2000000,0.0000000,0.0000000,99.5000000); //object(airportgate) (1) CreateDynamicObject(987,2562.8999000,-936.7999900,81.4000000,0.0000000,0.0000000,279.9970000); //object(elecfence_bar) (2) CreateDynamicObject(987,2562.9004000,-936.7998000,81.4000000,0.0000000,0.0000000,11.9920000); //object(elecfence_bar) (3) CreateDynamicObject(987,2585.2000000,-931.9000200,80.5000000,0.0000000,8.0000000,11.9920000); //object(elecfence_bar) (4) CreateDynamicObject(987,2574.5000000,-934.2002000,81.1000000,0.0000000,2.0000000,11.9920000); //object(elecfence_bar) (5) CreateDynamicObject(987,2597.2000000,-929.2000100,79.4000000,0.0000000,1.9980000,319.9860000); //object(elecfence_bar) (7) CreateDynamicObject(987,2617.3000000,-956.2999900,78.9000000,0.0000000,0.0000000,239.9820000); //object(elecfence_bar) (8) CreateDynamicObject(987,2606.5000000,-936.9003900,79.0000000,0.0000000,359.9940000,319.9820000); //object(elecfence_bar) (9) CreateDynamicObject(987,2615.7002000,-944.5000000,78.8000000,0.0000000,0.0000000,277.9820000); //object(elecfence_bar) (10) CreateDynamicObject(987,2611.2000000,-966.7000100,78.8000000,0.0000000,0.0000000,239.9800000); //object(elecfence_bar) (11) CreateDynamicObject(987,2587.5000000,-979.2999900,80.2000000,0.0000000,0.0000000,188.0000000); //object(elecfence_bar) (12) CreateDynamicObject(987,2605.1006000,-976.9003900,80.0000000,0.0000000,0.0000000,187.9980000); //object(elecfence_bar) (13) CreateDynamicObject(987,2593.4004000,-978.5000000,80.0000000,0.0000000,0.0000000,187.9980000); //object(elecfence_bar) (14) CreateDynamicObject(987,2569.2000000,-971.5000000,81.0000000,0.0000000,0.0000000,305.9980000); //object(elecfence_bar) (15) //HQ Sons of Anarchy CreateDynamicObject(987,687.0000000,-474.7999900,15.4000000,0.0000000,0.0000000,0.0000000); //object(elecfence_bar) (1) CreateDynamicObject(987,711.5999800,-475.7000100,15.4000000,0.0000000,0.0000000,91.0000000); //object(elecfence_bar) (2) CreateDynamicObject(987,711.5999800,-463.8999900,15.4000000,0.0000000,0.0000000,90.0000000); //object(elecfence_bar) (3) CreateDynamicObject(987,711.5999800,-451.8999900,15.3000000,0.0000000,0.0000000,91.0000000); //object(elecfence_bar) (4) CreateDynamicObject(987,712.0999800,-437.3999900,15.3000000,0.0000000,0.0000000,180.0000000); //object(elecfence_bar) (5) CreateDynamicObject(987,711.5999800,-449.0996100,15.4000000,0.0000000,0.0000000,90.0000000); //object(elecfence_bar) (6) CreateDynamicObject(987,700.2999900,-437.5000000,15.3000000,0.0000000,0.0000000,179.9950000); //object(elecfence_bar) (7) CreateDynamicObject(987,688.2999900,-437.6000100,15.3000000,0.0000000,0.0000000,179.9950000); //object(elecfence_bar) (8) CreateDynamicObject(987,676.2999900,-437.3999900,15.3000000,0.0000000,0.0000000,179.9950000); //object(elecfence_bar) (9) CreateDynamicObject(987,664.2999900,-437.5000000,15.3000000,0.0000000,0.0000000,179.9950000); //object(elecfence_bar) (10) CreateDynamicObject(987,652.2000100,-437.2999900,15.3000000,0.0000000,0.0000000,270.0000000); //object(elecfence_bar) (11) CreateDynamicObject(987,652.2000100,-449.1000100,15.3000000,0.0000000,0.0000000,270.0000000); //object(elecfence_bar) (12) CreateDynamicObject(987,652.2000100,-461.0000000,15.3000000,0.0000000,0.0000000,270.0000000); //object(elecfence_bar) (13) CreateDynamicObject(987,652.0000000,-475.2999900,15.3000000,0.0000000,0.0000000,0.0000000); //object(elecfence_bar) (14) CreateDynamicObject(987,652.2000100,-463.4003900,15.3000000,0.0000000,0.0000000,270.0000000); //object(elecfence_bar) (15) CreateDynamicObject(987,663.0999800,-475.2999900,15.3000000,0.0000000,0.0000000,0.0000000); //object(elecfence_bar) (17) CreateDynamicObject(987,674.9000200,-475.2999900,15.3000000,0.0000000,0.0000000,91.0000000); //object(elecfence_bar) (18) CreateDynamicObject(987,687.2000100,-463.0000000,15.5000000,0.0000000,0.0000000,270.0000000); //object(elecfence_bar) (19) CreateDynamicObject(3749,704.9000200,-474.1000100,21.2000000,0.0000000,0.0000000,0.0000000); //object(clubgate01_lax) (1) pSons2 = CreateDynamicObject(980,704.9000200,-475.0000000,18.1000000,0.0000000,0.0000000,0.0000000); //object(airportgate) (1) //HQ BAEP CreateDynamicObject(987,2888.8000000,2100.8999000,9.8000000,0.0000000,0.0000000,0.0000000); //object(elecfence_bar) (1) CreateDynamicObject(987,2900.7002000,2100.9004000,9.8000000,0.0000000,0.0000000,0.0000000); //object(elecfence_bar) (2) CreateDynamicObject(987,2888.6001000,2160.2000000,9.8000000,0.0000000,0.0000000,270.0000000); //object(elecfence_bar) (3) PortaoGAT = CreateDynamicObject(980,2888.6001000,2118.5000000,12.6000000,0.0000000,0.0000000,90.0000000); //object(airportgate) (1) CreateDynamicObject(987,2888.7002000,2112.7002000,9.8000000,0.0000000,0.0000000,270.0000000); //object(elecfence_bar) (4) CreateDynamicObject(987,2888.6006000,2136.2998000,9.8000000,0.0000000,0.0000000,270.0000000); //object(elecfence_bar) (5) CreateDynamicObject(987,2888.6006000,2148.2998000,9.8000000,0.0000000,0.0000000,270.0000000); //object(elecfence_bar) (6) CreateDynamicObject(987,2898.6001000,2166.5000000,9.8000000,0.0000000,0.0000000,212.0000000); //object(elecfence_bar) (7) CreateDynamicObject(987,2922.7000000,2168.2000000,9.8000000,0.0000000,0.0000000,183.9980000); //object(elecfence_bar) (8) CreateDynamicObject(987,2910.5000000,2167.2998000,9.8000000,0.0000000,0.0000000,183.9940000); //object(elecfence_bar) (9) CreateDynamicObject(987,2921.8000000,2137.8999000,11.0000000,0.0000000,0.0000000,270.0000000); //object(elecfence_bar) (10) CreateDynamicObject(987,2921.8000000,2149.8999000,11.0000000,0.0000000,0.0000000,270.0000000); //object(elecfence_bar) (11) CreateDynamicObject(987,2922.0000000,2168.0000000,11.0000000,0.0000000,0.0000000,270.0000000); //object(elecfence_bar) (12) CreateDynamicObject(987,2921.9004000,2161.7002000,10.9000000,0.0000000,0.0000000,270.0000000); //object(elecfence_bar) (13) // Emprego Gari CreateDynamicObject(2670,2191.2000000,-1997.4000000,12.6000000,0.0000000,0.0000000,0.0000000); //object(proc_rubbish_1)(1) CreateDynamicObject(2671,2191.8000000,-1999.6000000,12.5000000,0.0000000,0.0000000,0.0000000); //object(proc_rubbish_3)(1) CreateDynamicObject(2675,2192.8000000,-1994.8000000,12.6000000,0.0000000,0.0000000,0.0000000); //object(proc_rubbish_6)(1) CreateDynamicObject(2670,2190.3999000,-1994.7000000,12.6000000,0.0000000,0.0000000,0.0000000); //object(proc_rubbish_1)(2) CreateDynamicObject(2672,2189.8000000,-1996.5000000,12.8000000,0.0000000,0.0000000,0.0000000); //object(proc_rubbish_4)(1) CreateDynamicObject(2673,2192.7000000,-1992.1000000,12.6000000,0.0000000,0.0000000,0.0000000); //object(proc_rubbish_5)(1) CreateDynamicObject(2674,2190.1001000,-1992.8000000,12.6000000,0.0000000,0.0000000,0.0000000); //object(proc_rubbish_2)(1) CreateDynamicObject(2675,2188.3000000,-1994.4000000,12.6000000,0.0000000,0.0000000,0.0000000); //object(proc_rubbish_6)(2) CreateDynamicObject(2676,2185.3000000,-1993.5000000,12.7000000,0.0000000,0.0000000,0.0000000); //object(proc_rubbish_8)(1) CreateDynamicObject(2676,2193.1001000,-1989.6000000,12.7000000,0.0000000,0.0000000,0.0000000); //object(proc_rubbish_8)(2) CreateDynamicObject(2676,2189.6001000,-1994.1000000,12.7000000,0.0000000,0.0000000,0.0000000); //object(proc_rubbish_8)(3) CreateDynamicObject(2677,2190.2000000,-1991.0000000,12.8000000,0.0000000,0.0000000,0.0000000); //object(proc_rubbish_7)(1) CreateDynamicObject(2677,2192.2000000,-1991.3000000,12.8000000,0.0000000,0.0000000,0.0000000); //object(proc_rubbish_7)(2) CreateDynamicObject(2677,2193.0000000,-1997.2000000,12.8000000,0.0000000,0.0000000,0.0000000); //object(proc_rubbish_7)(3) CreateDynamicObject(2677,2190.3000000,-1999.7000000,12.8000000,0.0000000,0.0000000,0.0000000); //object(proc_rubbish_7)(4) CreateDynamicObject(18248,2184.8000000,-1988.0000000,20.6000000,0.0000000,0.0000000,0.0000000); //object(cuntwjunk01)(1) CreateDynamicObject(2675,2190.0000000,-1988.4000000,12.6000000,0.0000000,0.0000000,0.0000000); //object(proc_rubbish_6)(3) CreateDynamicObject(2674,2188.0000000,-1989.3000000,12.6000000,0.0000000,0.0000000,0.0000000); //object(proc_rubbish_2)(2) CreateDynamicObject(2674,2187.8000000,-1991.9000000,12.6000000,0.0000000,0.0000000,0.0000000); //object(proc_rubbish_2)(3) CreateDynamicObject(2674,2188.1001000,-1987.2000000,12.6000000,0.0000000,0.0000000,0.0000000); //object(proc_rubbish_2)(4) CreateDynamicObject(2674,2192.5000000,-1986.7000000,12.6000000,0.0000000,0.0000000,0.0000000); //object(proc_rubbish_2)(5) CreateDynamicObject(2677,2190.5000000,-1988.3000000,12.8000000,0.0000000,0.0000000,0.0000000); //object(proc_rubbish_7)(5) CreateDynamicObject(2677,2185.6001000,-1996.2000000,12.8000000,0.0000000,0.0000000,0.0000000); //object(proc_rubbish_7)(6) CreateDynamicObject(2677,2187.5000000,-1998.5000000,12.8000000,0.0000000,0.0000000,0.0000000); //object(proc_rubbish_7)(7) CreateDynamicObject(2676,2188.8000000,-1996.5000000,12.7000000,0.0000000,0.0000000,0.0000000); //object(proc_rubbish_8)(4) CreateDynamicObject(2676,2187.0000000,-1990.1000000,12.7000000,0.0000000,0.0000000,0.0000000); //object(proc_rubbish_8)(5) CreateDynamicObject(2676,2192.8999000,-1985.6000000,12.7000000,0.0000000,0.0000000,0.0000000); //object(proc_rubbish_8)(6) CreateDynamicObject(2676,2185.3999000,-1987.5000000,12.7000000,0.0000000,0.0000000,0.0000000); //object(proc_rubbish_8)(7) CreateDynamicObject(2676,2178.7000000,-1987.8000000,12.7000000,0.0000000,0.0000000,0.0000000); //object(proc_rubbish_8)(8) CreateDynamicObject(2677,2180.6001000,-1992.1000000,12.8000000,0.0000000,0.0000000,0.0000000); //object(proc_rubbish_7)(8) CreateDynamicObject(2677,2183.8000000,-1984.3000000,12.8000000,0.0000000,0.0000000,0.0000000); //object(proc_rubbish_7)(9) CreateDynamicObject(2677,2181.0000000,-1986.0000000,12.8000000,0.0000000,0.0000000,0.0000000); //object(proc_rubbish_7)(10) CreateDynamicObject(2677,2182.8000000,-1990.7000000,12.8000000,0.0000000,0.0000000,0.0000000); //object(proc_rubbish_7)(11) CreateDynamicObject(2670,2182.1001000,-1988.1000000,12.6000000,0.0000000,0.0000000,0.0000000); //object(proc_rubbish_1)(3) CreateDynamicObject(2670,2178.3000000,-1989.5000000,12.6000000,0.0000000,0.0000000,0.0000000); //object(proc_rubbish_1)(4) CreateDynamicObject(2670,2178.7000000,-1990.8000000,12.6000000,0.0000000,0.0000000,0.0000000); //object(proc_rubbish_1)(5) CreateDynamicObject(1358,2182.5000000,-1997.2000000,13.8000000,0.0000000,0.0000000,0.0000000); //object(cj_skip_rubbish)(1) CreateDynamicObject(1365,2181.3000000,-1976.3000000,13.7000000,0.0000000,0.0000000,0.0000000); //object(cj_big_skip1)(1) CreateDynamicObject(1415,2183.3000000,-1978.4000000,12.6000000,0.0000000,0.0000000,0.0000000); //object(dyn_dumpster)(1) CreateDynamicObject(1440,2180.6001000,-1978.6000000,13.1000000,0.0000000,0.0000000,0.0000000); //object(dyn_box_pile_3)(1) CreateDynamicObject(1448,2182.3999000,-1982.0000000,12.6000000,0.0000000,0.0000000,0.0000000); //object(dyn_crate_1)(1) CreateDynamicObject(1450,2181.6001000,-1997.0000000,14.7000000,0.0000000,0.0000000,0.0000000); //object(dyn_crate_3)(1) CreateDynamicObject(1449,2183.1001000,-1979.0000000,13.1000000,0.0000000,0.0000000,0.0000000); //object(dyn_crate_2)(1) CreateDynamicObject(1438,2192.8999000,-1999.7000000,12.5000000,0.0000000,0.0000000,0.0000000); //object(dyn_box_pile_2)(1) CreateDynamicObject(1438,2192.3999000,-1993.5000000,12.5000000,0.0000000,0.0000000,0.0000000); //object(dyn_box_pile_2)(2) CreateDynamicObject(1409,2180.8000000,-1995.8000000,12.5000000,0.0000000,0.0000000,0.0000000); //object(cj_dump1_low)(1) CreateDynamicObject(1356,2179.6001000,-1982.3000000,12.7000000,0.0000000,0.0000000,0.0000000); //object(cj_fruitcrate2)(1) CreateDynamicObject(1356,2182.8999000,-1984.9000000,12.7000000,0.0000000,0.0000000,0.0000000); //object(cj_fruitcrate2)(2) CreateDynamicObject(12957,2184.3999000,-1981.7000000,13.4000000,0.0000000,0.0000000,0.0000000); //object(sw_pickupwreck01)(1) CreateDynamicObject(12954,2191.0000000,-1989.6000000,13.1000000,0.0000000,0.0000000,0.0000000); //object(sw_furnipile01)(1) CreateDynamicObject(1264,2181.7000000,-1978.2000000,13.8000000,0.0000000,0.0000000,0.0000000); //object(blackbag1)(1) CreateDynamicObject(1264,2191.6001000,-1992.7000000,13.9000000,0.0000000,0.0000000,0.0000000); //object(blackbag1)(2) CreateDynamicObject(1264,2181.0000000,-1996.8000000,14.5000000,0.0000000,0.0000000,0.0000000); //object(blackbag1)(3) CreateDynamicObject(1230,2180.3000000,-1980.9000000,13.0000000,0.0000000,0.0000000,0.0000000); //object(cardboardbox)(1) CreateDynamicObject(1230,2179.8999000,-1980.4000000,13.0000000,0.0000000,0.0000000,0.0000000); //object(cardboardbox)(2) CreateDynamicObject(1332,2186.2000000,-1998.5000000,13.6000000,0.0000000,0.0000000,0.0000000); //object(binnt02_la)(1) CreateDynamicObject(1355,2182.3999000,-1980.4000000,12.7000000,0.0000000,0.0000000,0.0000000); //object(cj_fruitcrate1)(1) CreateDynamicObject(1357,2181.5000000,-1979.8000000,12.8000000,0.0000000,0.0000000,0.0000000); //object(cj_fruitcrate3)(1) CreateDynamicObject(1357,2182.6001000,-1995.1000000,12.8000000,0.0000000,0.0000000,0.0000000); //object(cj_fruitcrate3)(2) CreateDynamicObject(1440,2178.3000000,-1979.4000000,13.1000000,0.0000000,0.0000000,0.0000000); //object(dyn_box_pile_3)(2) CreateDynamicObject(1440,2177.7000000,-1977.9000000,13.1000000,0.0000000,0.0000000,0.0000000); //object(dyn_box_pile_3)(3) CreateDynamicObject(1462,2178.1001000,-1974.6000000,12.6000000,0.0000000,0.0000000,0.0000000); //object(dyn_woodpile)(1) CreateDynamicObject(1438,2180.7000000,-1976.2000000,14.9000000,0.0000000,0.0000000,0.0000000); //object(dyn_box_pile_2)(3) CreateDynamicObject(1338,2181.3999000,-1996.4000000,14.9000000,0.0000000,0.0000000,0.0000000); //object(binnt08_la)(1) CreateDynamicObject(1265,1893.2000000,-1926.9000000,13.0000000,0.0000000,0.0000000,0.0000000); //object(blackbag2)(1) CreateDynamicObject(1264,1893.7000000,-1926.2000000,13.0000000,0.0000000,0.0000000,0.0000000); //object(blackbag1)(1) CreateDynamicObject(1220,1892.4000000,-1926.2000000,12.9000000,0.0000000,0.0000000,0.0000000); //object(cardboardbox2)(1) CreateDynamicObject(2677,1894.1000000,-1926.3000000,12.8000000,0.0000000,0.0000000,0.0000000); //object(proc_rubbish_7)(1) CreateDynamicObject(2676,1894.0000000,-1926.2000000,13.0000000,0.0000000,0.0000000,0.0000000); //object(proc_rubbish_8)(1) CreateDynamicObject(1265,1892.1000000,-1926.8000000,13.0000000,0.0000000,0.0000000,0.0000000); //object(blackbag2)(2) CreateDynamicObject(1264,1827.4000000,-1852.2000000,13.1000000,0.0000000,0.0000000,0.0000000); //object(blackbag1)(2) CreateDynamicObject(1265,1828.3000000,-1852.3000000,13.0000000,0.0000000,0.0000000,0.0000000); //object(blackbag2)(3) CreateDynamicObject(1265,1827.9000000,-1852.7000000,13.0000000,0.0000000,0.0000000,0.0000000); //object(blackbag2)(4) CreateDynamicObject(1265,1827.1000000,-1852.8000000,13.0000000,0.0000000,0.0000000,0.0000000); //object(blackbag2)(5) CreateDynamicObject(2671,1827.4000000,-1853.0000000,13.0000000,0.0000000,0.0000000,0.0000000); //object(proc_rubbish_3)(1) CreateDynamicObject(2675,1828.5000000,-1853.5000000,12.6000000,0.0000000,0.0000000,0.0000000); //object(proc_rubbish_6)(1) CreateDynamicObject(2676,1828.1000000,-1853.7000000,12.7000000,0.0000000,0.0000000,0.0000000); //object(proc_rubbish_8)(2) CreateDynamicObject(1264,1827.5000000,-1853.7000000,13.1000000,0.0000000,0.0000000,0.0000000); //object(blackbag1)(3) CreateDynamicObject(1264,1827.6000000,-1650.1000000,13.0000000,0.0000000,0.0000000,0.0000000); //object(blackbag1)(4) CreateDynamicObject(1264,1828.1000000,-1651.1000000,13.0000000,0.0000000,0.0000000,0.0000000); //object(blackbag1)(5) CreateDynamicObject(1264,1827.4000000,-1651.2000000,13.0000000,0.0000000,0.0000000,0.0000000); //object(blackbag1)(6) CreateDynamicObject(2672,1827.0000000,-1651.5000000,13.1000000,0.0000000,0.0000000,0.0000000); //object(proc_rubbish_4)(1) CreateDynamicObject(2672,1858.1000000,-1482.9000000,12.8000000,0.0000000,0.0000000,0.0000000); //object(proc_rubbish_4)(2) CreateDynamicObject(2676,1858.8000000,-1483.6000000,12.7000000,0.0000000,0.0000000,0.0000000); //object(proc_rubbish_8)(3) CreateDynamicObject(2671,1858.8000000,-1484.6000000,12.5000000,0.0000000,0.0000000,0.0000000); //object(proc_rubbish_3)(2) CreateDynamicObject(2673,1858.3000000,-1484.5000000,12.6000000,0.0000000,0.0000000,0.0000000); //object(proc_rubbish_5)(1) CreateDynamicObject(2676,1858.6000000,-1485.1000000,12.7000000,0.0000000,0.0000000,0.0000000); //object(proc_rubbish_8)(4) CreateDynamicObject(1264,1858.0000000,-1483.7000000,13.0000000,0.0000000,0.0000000,0.0000000); //object(blackbag1)(7) CreateDynamicObject(1264,1858.7000000,-1484.1000000,13.0000000,0.0000000,0.0000000,0.0000000); //object(blackbag1)(8) CreateDynamicObject(1264,1857.5000000,-1484.7000000,13.0000000,0.0000000,0.0000000,0.0000000); //object(blackbag1)(9) CreateDynamicObject(1264,1858.4000000,-1485.5000000,13.0000000,0.0000000,0.0000000,0.0000000); //object(blackbag1)(10) CreateDynamicObject(1357,2118.6001000,-1437.1000000,23.3000000,0.0000000,0.0000000,0.0000000); //object(cj_fruitcrate3)(1) CreateDynamicObject(1264,2118.2000000,-1437.9000000,23.5000000,0.0000000,0.0000000,0.0000000); //object(blackbag1)(11) CreateDynamicObject(1264,2118.0000000,-1436.4000000,23.5000000,0.0000000,0.0000000,0.0000000); //object(blackbag1)(12) CreateDynamicObject(1264,2117.5000000,-1437.2000000,23.3000000,0.0000000,0.0000000,0.0000000); //object(blackbag1)(13) CreateDynamicObject(1264,2118.8999000,-1438.1000000,23.5000000,0.0000000,0.0000000,0.0000000); //object(blackbag1)(14) CreateDynamicObject(1264,2178.8000000,-1389.9000000,23.5000000,0.0000000,0.0000000,0.0000000); //object(blackbag1)(15) CreateDynamicObject(1265,2177.7000000,-1389.9000000,23.5000000,0.0000000,0.0000000,0.0000000); //object(blackbag2)(7) CreateDynamicObject(1265,2178.3999000,-1390.7000000,23.5000000,0.0000000,0.0000000,0.0000000); //object(blackbag2)(8) CreateDynamicObject(1265,2178.2000000,-1390.4000000,23.5000000,0.0000000,0.0000000,0.0000000); //object(blackbag2)(9) CreateDynamicObject(1221,2177.2000000,-1390.7000000,23.4000000,0.0000000,0.0000000,0.0000000); //object(cardboardbox4)(1) CreateDynamicObject(1221,2206.3999000,-1560.9000000,23.3000000,0.0000000,0.0000000,0.0000000); //object(cardboardbox4)(2) CreateDynamicObject(1219,2205.8999000,-1558.7000000,23.2000000,0.0000000,0.0000000,0.0000000); //object(palette)(1) CreateDynamicObject(1264,2206.8999000,-1559.2000000,23.9000000,0.0000000,0.0000000,0.0000000); //object(blackbag1)(16) CreateDynamicObject(1264,2205.2000000,-1561.0000000,23.3000000,0.0000000,0.0000000,0.0000000); //object(blackbag1)(17) CreateDynamicObject(1264,2206.1001000,-1559.1000000,23.9000000,0.0000000,0.0000000,0.0000000); //object(blackbag1)(18) CreateDynamicObject(1264,2206.5000000,-1558.4000000,23.9000000,0.0000000,0.0000000,0.0000000); //object(blackbag1)(19) CreateDynamicObject(1264,2178.8999000,-1725.5000000,13.0000000,0.0000000,0.0000000,0.0000000); //object(blackbag1)(20) CreateDynamicObject(1264,2178.0000000,-1726.1000000,13.0000000,0.0000000,0.0000000,0.0000000); //object(blackbag1)(21) CreateDynamicObject(1265,2178.3000000,-1725.2000000,13.0000000,0.0000000,0.0000000,0.0000000); //object(blackbag2)(10) CreateDynamicObject(1265,2177.6001000,-1725.3000000,13.0000000,0.0000000,0.0000000,0.0000000); //object(blackbag2)(11) CreateDynamicObject(2677,2178.1001000,-1724.4000000,12.8000000,0.0000000,0.0000000,0.0000000); //object(proc_rubbish_7)(2) CreateDynamicObject(2676,2178.6001000,-1724.5000000,12.6000000,0.0000000,0.0000000,0.0000000); //object(proc_rubbish_8)(5) //HQ AMIGO DOS AMIGOS. CreateDynamicObject(3640,670.9000200,1834.2000000,8.7000000,0.0000000,0.0000000,82.0000000); //object(glenphouse02_lax) (1) CreateDynamicObject(987,663.4000200,1835.7000000,4.3000000,0.0000000,0.0000000,84.0000000); //object(elecfence_bar) (1) CreateDynamicObject(987,701.2998000,1838.7002000,4.7000000,0.0000000,0.0000000,79.9970000); //object(elecfence_bar) (2) CreateDynamicObject(987,699.0996100,1827.0000000,4.5000000,0.0000000,0.0000000,79.9970000); //object(elecfence_bar) (4) CreateDynamicObject(987,697.5000000,1817.7002000,4.5000000,0.0000000,0.0000000,79.9970000); //object(elecfence_bar) (5) CreateDynamicObject(987,664.5000000,1846.4000000,4.3000000,0.0000000,0.0000000,47.9970000); //object(elecfence_bar) (6) CreateDynamicObject(987,662.0999800,1823.9000000,4.5000000,0.0000000,0.0000000,349.9970000); //object(elecfence_bar) (7) CreateDynamicObject(987,701.2998000,1838.7002000,4.7000000,0.0000000,0.0000000,79.9970000); //object(elecfence_bar) (8) CreateDynamicObject(987,662.0000000,1823.9004000,4.5000000,0.0000000,0.0000000,83.9960000); //object(elecfence_bar) (9) CreateDynamicObject(987,685.7998000,1819.7998000,4.5000000,0.0000000,0.0000000,349.9970000); //object(elecfence_bar) (10) CreateDynamicObject(3749,693.5000000,1849.7000000,10.6000000,0.0000000,0.0000000,350.0000000); //object(clubgate01_lax) (1) CreateDynamicObject(987,673.9003900,1821.7998000,4.6000000,0.0000000,0.0000000,349.9970000); //object(elecfence_bar) (11) CreateDynamicObject(987,672.5996100,1855.2002000,4.5000000,0.0000000,0.0000000,349.9970000); //object(elecfence_bar) (12) PortaoSFR = CreateDynamicObject(980,693.5000000,1849.7000000,7.5000000,0.0000000,0.0000000,350.0000000); //object(airportgate) (1) // HQ MAFIA RUSSA CreateDynamicObject(987,2617.1001000,1426.3000000,11.2000000,0.0000000,0.0000000,90.0000000); //object(elecfence_bar) (1) CreateDynamicObject(987,2617.2000000,1390.6000000,11.2000000,0.0000000,0.0000000,90.0000000); //object(elecfence_bar) (2) CreateDynamicObject(987,2617.1005900,1414.4003900,11.2000000,0.0000000,0.0000000,90.0000000); //object(elecfence_bar) (4) CreateDynamicObject(987,2617.2002000,1402.4003900,11.2000000,0.0000000,0.0000000,90.0000000); //object(elecfence_bar) (6) CreateDynamicObject(987,2557.8000000,1383.2000000,11.2000000,0.0000000,0.0000000,0.0000000); //object(elecfence_bar) (5) CreateDynamicObject(987,2617.2002000,1383.4004000,11.2000000,0.0000000,0.0000000,90.0000000); //object(elecfence_bar) (7) CreateDynamicObject(987,2605.2998000,1383.2002000,11.2000000,0.0000000,0.0000000,0.0000000); //object(elecfence_bar) (8) CreateDynamicObject(987,2593.4004000,1383.2002000,11.2000000,0.0000000,0.0000000,0.0000000); //object(elecfence_bar) (9) CreateDynamicObject(987,2581.6006000,1383.2002000,11.2000000,0.0000000,0.0000000,0.0000000); //object(elecfence_bar) (10) CreateDynamicObject(987,2569.7002000,1383.2002000,11.2000000,0.0000000,0.0000000,0.0000000); //object(elecfence_bar) (11) PortaoRussa = CreateDynamicObject(980,2557.5000000,1393.8000000,12.5000000,0.0000000,0.0000000,90.0000000); //object(airportgate) (1) CreateDynamicObject(3749,2557.3000000,1393.8000000,15.5000000,0.0000000,0.0000000,90.0000000); //object(clubgate01_lax) (1) CreateDynamicObject(987,2590.2000000,1459.6000000,10.2000000,0.0000000,0.0000000,0.0000000); //object(elecfence_bar) (12) CreateDynamicObject(987,2558.6001000,1399.9000000,9.8000000,0.0000000,0.0000000,0.0000000); //object(elecfence_bar) (13) //Advogados Policia Militar CreatePickup(1318,23,268.4232,77.5704,1001.0391,-1); // interior DP CreateDynamicPickup(1239, 23, 691.5710,-1276.1722,13.5607); //Fora CreateDynamicPickup(1239, 23, -2636.6841,1402.5623,906.4609); //Interior CreateDynamicPickup(1318, 23, 358.8736,180.4437,1008.3828); // Prefeitura pagar impostos CreateDynamic3DTextLabel("{FFFF00}BRASIL {FFFF00}POBRE{FFFFFF}RP{FFFFFF}\n{FFFFFF}Pagar impostos da casa\n{FFFFFF}Pressione a tecla F para pagar",0x1E90FFFF, 358.8736,180.4437,1008.3828, 30.0); //Advogados Policia Civil CreatePickup(1318,23,981.9832,-1509.4117,13.2555,-1);//comprar veiculo na conce CreatePickup(1318,23,1736.0236,1852.5479,10.8203,-1); CreatePickup(1318,23,987.3652,-1509.4285,13.2503,-1); CreatePickup(1318,23,1722.4653,1852.5426,10.8203,-1); CreatePickup(1318,23,220.1862,115.3010,999.0156,-1); // interior DP CreatePickup(1241, 24, 1173.0885,-1323.2909,15.3966);// Hospital Entrada AddStaticPickup(1318,23,2360.4719,-1532.8904,24.0000); // sex shop AddStaticPickup(1254,23,941.9509,2176.7710,1011.0234); // Mercado Negro AddStaticPickup(1886,23,224.2144,120.6683,999.1013,1); // ROTA cameras AddStaticPickup(1886,23,1059.7758,1264.9397,10.8203); // Detran Cameras AddStaticPickup(1318,23,895.346984,-1272.573608,14.684859); // elevador pr AddStaticPickup(1318,23,901.739135,-1277.156005,23.086109); // elevador pr AddStaticPickup(1318,23,906.6538,-1039.7689,31.6016); // elevador hit AddStaticPickup(1318,23,913.4479,-1032.5879,111.0547); // elevador hit AddStaticPickup(1318,23,1495.3594,-1467.1915,40.5234); // elevador triad AddStaticPickup(1318,23,1129.0781,-1448.9397,15.7969); // elevador triad AddStaticPickup(1318,23,1100.4330,-1751.8127,13.3462); // elevador triad //AddStaticPickup(1318,23,1710.0743,1481.0189,10.8096); // PEGAR BIKE CIVIL AddStaticPickup(1318,23,1435.9303,-2288.0032,13.5469); // PEGAR BIKE CIVIL AddStaticPickup(1318,23,1539.3928,-1477.5098,9.5000); // elevador triad AddStaticPickup(1318,23,2644.6941,2016.3195,10.8166); // elevador vagos AddStaticPickup(1318,23,2644.3354,2019.7872,18.1360); // elevador vagos AddStaticPickup(1318,23,1172.4783,-1361.4822,13.9531); // elevador medicos AddStaticPickup(1318,23,1166.0673,-1333.1899,31.4813); // elevador medicos AddStaticPickup(1318,23,234.1337,107.4421,1003.2257); // elevador BOPE AddStaticPickup(1318,23,313.1739,-1517.9846,24.9219); // elevador BOPE AddStaticPickup(1318,23,334.4664,-1504.8805,36.0391); // elevador BOPE AddStaticPickup(1318,23,320.1125,-1507.3555,76.7155); // elevador BOPE AddStaticPickup(1318,23,1446.8682,-1847.4105,13.5469); // elevador PF AddStaticPickup(1318,23,1445.4497,-1849.1428,27.2264); // elevador PF AddStaticPickup(1318,23,1269.4327,-1645.0402,13.5469); // elevador ROTA AddStaticPickup(1318,23,1237.5454,-1665.9569,34.8047); // elevador ROTA AddStaticPickup(1318,23,690.7985,-1275.9355,13.5602); // entrada Yakuza AddStaticPickup(1318,23,1497.0140,-688.4544,95.4126); // entrada Russa AddStaticPickup(1275, 23, 207.5714,-100.3327,1005.2578);//Loja de roupas F AddStaticPickup(1275, 23, 204.2014,-159.6917,1000.5234);//Loja de roupas F AddStaticPickup(1275, 23, 161.2089,-83.6324,1001.8047);//Loja de roupas F AddStaticPickup(1654, 23, 2463.8936,-1901.4099,13.5469); AddStaticPickup(1318,23,-329.7025,1536.6123,76.6117); // hq Estado Islâmico //AddStaticPickup(1318,23,2770.5706,-1628.1260,12.1775); // hq triad AddStaticPickup(1318,23,-2281.4895,2288.3999,4.9679); // hq GI AddStaticPickup(1318,23,-1882.6202,824.2709,35.1751); // pref downtown AddStaticPickup(1318,23,1087.5569,-922.4803,43.3906); // sex shop entrada AddStaticPickup(1318,23,-100.3403,-24.6412,1000.7188); // sex shop saida AddStaticPickup(1254, 23,-103.9931,-22.0508,1000.7188,-1); // SEXO SHOP CreatePickup(1239, 23,253.9271,69.5726,1003.6406,-1); // P-S AddStaticPickup(1318,23,1524.4977,-1677.9469,6.2188); //Elevador PM AddStaticPickup(1318,23,1564.8790,-1667.0009,28.3956); //Elevador PM AddStaticPickup(1318,23,246.2975,87.4735,1003.6406); //Elevador Cop //Pickups Cofre Org AddStaticPickup(1314, 23, 1462.9502,341.5400,18.9075); //Cofre ORG tropa da turquia AddStaticPickup(1314, 23, 2797.7202,-1970.4054,13.5469);//Cofre ORG tropa da escocia AddStaticPickup(1314, 23, 671.9144,-1271.4734,13.6250); //Cofre ORG AddStaticPickup(1314, 23, 674.4283,1827.9668,6.2336); //Cofre ORG AddStaticPickup(1314, 23, 1492.4470,-686.2380,94.7500); //Cofre ORG AddStaticPickup(1314, 23, 2590.6523,1411.4381,11.0663); //Cofre ORG MAFIA RUSSA AddStaticPickup(1314, 23, 1568.6442,-1689.9729,6.2188); //Cofre ORG AddStaticPickup(1314, 23, 233.4654,123.4205,1003.2188); //Cofre ORG AddStaticPickup(1314, 23, -1341.0715,500.6142,11.1953); //Cofre ORG // AddStaticPickup(1314, 23, 1168.198486,-1326.190307,-44.283576); //Cofre ORG AddStaticPickup(1314, 23, 993.9297,16.6465,104.3347); //Cofre ORG AddStaticPickup(1314, 23, 1058.8361,1301.6748,10.8203); //Cofre ORG AddStaticPickup(1314, 23, -553.3907,-506.1239,25.5234); //Cofre ORG AddStaticPickup(1314, 23, 228.8563,153.4978,1003.0234,10); //Cofre ORG //AddStaticPickup(1314, 23, 1676.7057,-1358.2712,17.5037); Cofre ORG AddStaticPickup(1314, 23, 2323.0007,-1245.2595,22.5000); //Cofre ORG AddStaticPickup(1314, 23, 752.1580,-1358.9927,13.5000); //Cofre ORG AddStaticPickup(1314, 23, 228.7928,153.3014,1003.0234,11); //Cofre ORG AddStaticPickup(1314, 23, 2514.1301,-1691.2979,14.0460); //Cofre ORG AddStaticPickup(1314, 23, -307.9520,1538.4799,75.5625); //Cofre ORG AddStaticPickup(1314, 23, 2919.8225,2111.0898,17.8955); //Cofre ORG BAEP AddStaticPickup(1314, 23, 1154.1490,-1185.1548,32.0275); //Cofre ORG AddStaticPickup(1314, 23, 2587.5759,-952.1868,81.3968); //Cofre ORG AddStaticPickup(1314, 23, 2151.9128,-1794.5184,13.5176); //Cofre ORG AddStaticPickup(1314, 23, 196.0160,-232.4899,1.7786); //Cofre ORG AddStaticPickup(1314, 23, 98.8338,1164.2825,18.6641); //Cofre ORG AddStaticPickup(1314, 23, 2788.4338,-1627.9436,10.9272); //Cofre ORG AddStaticPickup(1314, 23, -2237.1875,2353.9629,4.9807); //Cofre ORG AddStaticPickup(1314, 23, 345.330017,162.199996,1025.796386); //Cofre ORG AddStaticPickup(1314, 23, 1709.5895,-1642.5737,20.2188,12); //Cofre ORG AddStaticPickup(1314, 23, 687.2863,-472.8064,16.5363); //Cofre ORG AddStaticPickup(1314, 23, 2633.3782,1824.0537,11.0161); //Cofre ORG AddStaticPickup(1314, 23, 479.5926,-1531.1252,19.8107); //Cofre ORG AddStaticPickup(1314, 23, 1171.8723,1348.9407,10.9219); //Cofre ORG AddStaticPickup(1314, 23, 2489.7751,923.1611,11.0234); //Cofre ORG //Pickups/TextLabels da Agricultura PickupAGR[0] = CreatePickup(19197, 23, AGR_Pos[0][0],AGR_Pos[0][1],AGR_Pos[0][2]); PickupAGR[1] = CreatePickup(19197, 23, AGR_Pos[1][0],AGR_Pos[1][1],AGR_Pos[1][2]); PickupAGR[2] = CreatePickup(19197, 23, AGR_Pos[2][0],AGR_Pos[2][1],AGR_Pos[2][2]); PickupAGR[3] = CreatePickup(19197, 23, AGR_Pos[3][0],AGR_Pos[3][1],AGR_Pos[3][2]); PickupAGR[4] = CreatePickup(19197, 23, AGR_Pos[4][0],AGR_Pos[4][1],AGR_Pos[4][2]); PickupAGR[5] = CreatePickup(19197, 23, AGR_Pos[5][0],AGR_Pos[5][1],AGR_Pos[5][2]); TextsAGR[0] = Create3DTextLabel("---",0x00AAEEFF,AGR_Pos[0][0],AGR_Pos[0][1],AGR_Pos[0][2],15.0,-1); TextsAGR[1] = Create3DTextLabel("---",0x00AAEEFF,AGR_Pos[1][0],AGR_Pos[1][1],AGR_Pos[1][2],15.0,-1); TextsAGR[2] = Create3DTextLabel("---",0x00AAEEFF,AGR_Pos[2][0],AGR_Pos[2][1],AGR_Pos[2][2],15.0,-1); TextsAGR[3] = Create3DTextLabel("---",0x00AAEEFF,AGR_Pos[3][0],AGR_Pos[3][1],AGR_Pos[3][2],15.0,-1); TextsAGR[4] = Create3DTextLabel("---",0x00AAEEFF,AGR_Pos[4][0],AGR_Pos[4][1],AGR_Pos[4][2],15.0,-1); TextsAGR[5] = Create3DTextLabel("---",0x00AAEEFF,AGR_Pos[5][0],AGR_Pos[5][1],AGR_Pos[5][2],15.0,-1); AddStaticPickup(19130, 23, 344.0421,309.7490,999.1557); // ** DisTalibane Hitmans ** AddStaticPickup(19130, 23, 2776.4653,-1601.4407,10.9219); // ** Disfarce Triads ** CreatePickup(1318, 23, 390.4640,173.8098,1008.3828,-1); // Saida Prefeitura AddStaticPickup(1318, 23, 1166.5868,1346.8756,10.9219); // saida garagem gat AddStaticPickup(1318, 23, 914.9432,-1037.3533,31.8984); // entrada dp gat AddStaticPickup(1318, 23, 914.7142,-1004.6053,37.9799); // Entrada HQ GATE AddStaticPickup(1239, 23, 322.4243,-1826.7629,4.5470); // Neon Info AddStaticPickup(1318, 23, 967.2544,2175.1235,10.8203); // entrada HQ PCC AddStaticPickup(1318, 23, 2351.1487,-1245.4988,22.5000);//entrada hq hitmans CreatePickup(1318, 23, 366.4064,197.7209,1008.3828,-1); //SAIDA HQ ROTA AddStaticPickup(1318, 23, -2624.5981,1412.1927,7.0938); // Puteiro AddStaticPickup(1318, 23, 740.3544,382.7724,23.1719); // entrada HQ Tropa da Franca AddStaticPickup(1318, 23, 1154.4968,-1180.8517,32.8187); // entrada HQ Ballas //AddStaticPickup(1239, 23, 1123.3541,-1471.3376,15.7757); //ajudanovatos CreatePickup(1318,23,2262.2190,1942.6266,39.3827, -1); // Advogado Penitenciaria CreatePickup(1318,23,1409.6361,-20.7472,1000.9229, 10); // Advogado Penitenciaria CreatePickup(351,23,312.1259,-166.1339,999.6010,-1); // loja de armas 1 CreatePickup(351,23,313.8642,-133.8308,999.6016,-1); // loja de armas SF CreatePickup(1318,23,2144.3687,1608.2424,993.6882,-1); // CreatePickup(1318,23,2148.3474,1605.1732,1001.8270,-1); // CreatePickup(1318,23,2204.8562,1551.2562,1008.5510,-1); // CreatePickup(1318,23,301.7170,-75.3184,1001.5156,-1); // CreatePickup(1318,23,2150.4678,1602.8265,1001.9705,-1); // CreatePickup(1318,23,942.0542,2113.2874,1011.0303,-1); // CreatePickup(1318,23,305.0506,-159.1674,999.5938,-1); // CreatePickup(1318,23,301.7170,-75.3184,1001.5156,-1); // CreatePickup(1318,23,234.1756,1064.4358,1084.2112,-1); // CreatePickup(1318,23,2468.1064,-1698.4801,1013.5078,-1); // CreatePickup(1318,23,318.5897,1115.1740,1083.8828,-1); // CreatePickup(1318,23,2324.5151,-1148.6710,1050.7101,-1); // CreatePickup(1318,23,235.4455,1187.0156,1080.2578,-1); // CreatePickup(1318,23,225.7570,1240.0000,1082.1406,-1); // CreatePickup(1318,23,223.0440,1289.2599,1082.1328,-1); // CreatePickup(1318,23,225.6310,1022.4800,1084.0146,-1); // CreatePickup(1318,23,328.0737,1478.4346,1084.4375,-1); // CreatePickup(1318,23,260.8594,1238.0526,1084.2578,-1); // CreatePickup(351,23,296.3083,-38.1549,1001.5156,-1); // CreatePickup(1318,23,285.4666,-41.0111,1001.5156,-1); // CreatePickup(1318,23,27.1000,1341.1000,1084.3750,-1); // aki CreatePickup(1318,23,2234.0549,1711.9801,1011.6857,-1); // aki CreatePickup(1318,23,2137.9553,1599.2861,1008.3666,-1); // aki CreatePickup(1318,23,2016.6693,1017.6930,996.8750,-1); // aki CreatePickup(1318,23,1133.1121,-9.6913,1000.6797,-1); // aki CreatePickup(1318,23,421.1092,2536.4766,10.0000,-1); // aki CreatePickup(1318,23,140.4000,1370.3000,1083.8656,-1); // aki2 CreatePickup(1318,23,83.3000,1324.7000,1083.8594,-1); // aki3 CreatePickup(1318,23,267.1422,304.9236,999.1484,-1); // aki4 CreatePickup(1318,23,301.3582,306.2504,1003.5391,-1); // aki5 CreatePickup(1318,23,385.7908,1471.7882,1080.1875,-1); // aki6 CreatePickup(1318,23,261.0813,1286.1119,1080.2578,-1); // aki7 CreatePickup(1318,23,745.3000,1437.7000,1102.7031,-1); // aki8 CreatePickup(1318,23,376.3000,1417.2000,1081.3281,-1); // aki9 CreatePickup(1318,23,23.1114,1405.1415,1084.4297,-1); // aki10 CreatePickup(1318,23,447.0000,1400.3000,1084.3047,-1); // aki11 CreatePickup(1318,23,295.4000,1473.2000,1080.2578,-1); // aki12 CreatePickup(1318,23,231.4000,1114.1000,1080.9922,-1); // aki13 CreatePickup(1318,23,-69.1564,1354.8154,1080.2109,-1); // aki14 CreatePickup(1318,23,222.0102,1141.4846,1082.6094,-1); // aki14 CreatePickup(1318,23,2261.2698,-1135.8125,1050.6328,-1); // aki15 CreatePickup(1318,23,315.4988,-142.3861,999.6016,-1); // loja de armas SF2 CreatePickup(1318,23,369.6563,165.0458,1053.2078,-1); // SAIDA HOSPITAL CreatePickup(1318,23,285.8319,-86.1915,1001.5229,-1); // CreatePickup(1318,23,316.3902,-169.8001,999.6010,-1); // CreatePickup(1318,23,260.8594,1238.0526,1084.2578,-1); // CreatePickup(351,23,295.7041,-80.3617,1001.5156); // Ammu Nation CreatePickup(1484, 23, 503.2368,-75.3880,998.7651,-1);//BAR Dono CreatePickup(1484, 23, 1643.5909,-2145.7974,3179.6160,-1);//BAR Dono CreatePickup(1484, 23, 2309.9460,-1643.6337,14.8270);//BAR 1 GROOVE CreatePickup(1484, 23, 1323.9729,-1841.6465,13.5469);//BAR 2 CreatePickup(1484, 23, 776.4116,-1036.1841,24.2753);//BAR 3 CreatePickup(1484, 23, 2354.3938,-1511.7820,24.0000);//BAR 4 CreatePickup(1484, 23, 2850.9463,-1532.4783,11.0991);//BAR 5 CreatePickup(1277, 23, -2033.4347,-117.4312,1035.1719,-1); //licencas CreatePickup(1210, 23, 951.7770,-1744.5381,13.6210,-1); //Empregos CreatePickup(1210, 23, 1692.5638,-1383.4518,3261.0713,-1); //Empregos CreatePickup(1240, 23, 1172.6522,-1327.9591,15.4025); //Hospital 1 near Ammu CreatePickup(1240, 23, 2029.5945,-1404.6426,17.2512); //Hospital 2 near speedway CreatePickup(1318, 23, 1481.0503,-1771.9502,18.7958); //pref LS CreatePickup(1318, 23, 1117.7146,-2043.5776,74.4297); //Sala Prefeito CreatePickup(1318, 23, 346.7058,159.8978,1025.7891); //Saida sala Prefeito CreatePickup(1318, 23, -2720.1074,-318.5733,7.8438); //pref sf CreatePickup(2060, 23, 2485.0405,-2081.7695,13.5469); //Pegar produtos CreatePickup(2060, 23, 2500.7869,-2081.3853,13.5469); //Pegar mercadoria CreatePickup(2060, 23, 1973.1670,-1236.3485,20.0561); //Pacotes de Material CreatePickup(2060, 23, 1724.8873,-1939.0111,13.5826); //Pacotes de Material CreatePickup(2060, 23, 383.3600,-2039.3550,7.8359); //Pacotes de Material CreatePickup(2060, 23, -1499.6814,-387.1735,7.0689); //Pacotes de Material CreatePickup(2060, 23, -1476.8855,149.6899,18.7734); //Pacotes de Material CreatePickup(2060, 23, -2656.9631,1357.5219,7.0339); //Pacotes de Material CreatePickup(348, 23, 1209.4342,-1752.2078,13.5936); //Pacotes de Material CreatePickup(2060, 23, -2993.6001,472.7318,4.9141); //Pacotes de Material CreatePickup(2060, 23, -2108.2251,159.1501,35.0835); //Pacotes de Material pickparachute = CreatePickup(371, 23, 1544.2,-1353.4,329.4); //LS towertop CreatePickup(371, 23, 1536.0, -1360.0, 1150.0); //LS towertop CreatePickup(1242, 23, 1527.5,-12.1,1002.0); //binco armor CreatePickup(1240, 23, 279.3000,1853.5619,8.7649); //area51 health CreatePickup(1239, 23,259.2474,120.3977,1003.2188);// /limpar CreatePickup(1239, 23,1168.3513,1358.5784,10.9219);// /limpar CreatePickup(1239, 23,234.8461,111.1823,1003.2257,-1);// /limpar CreatePickup(2060,23,1240.5569,-2036.9919,59.9709);// Trocar Materias CreatePickup(1318, 23,98.8023,1171.8392,18.6641);//hq PCC CreatePickup(1247, 23, 1554.9537,-1675.6584,16.1953);//DP PM CreatePickup(1247, 23, 919.311462,-1252.192504,16.210937);//DP Policia Civil entrada CreatePickup(1318, 23, 937.7009,1733.1941,8.8516); // Prefeitura LV CreatePickup(1318, 23, 2182.3086,2294.9309,10.8203); // penintencia LV CreatePickup(1247, 23, 232.9005,141.3430,1003.0234,10);//DP Policia Civil saida //CreatePickup(1254, 23, 1613.0029,-1559.9917,14.1684);//Mercado Negro - Entrada CreatePickup(1247, 23, 1797.5494,-1579.0006,14.0865);//Penitenciaria - Entrada CreatePickup(1247, 23, 2267.6323,1962.3939,39.3827);//Penitenciaria - Saida CreatePickup(1247, 23, 1407.1599,4.8249,1000.9233);//Saida Evento - Saida CreatePickup(1318,23,361.1929,204.4032,1008.3828) ; // BOPE //CreatePickup(1318,23,595.9891,-1251.4111,18.3265); // Entrada Banco LS AddStaticPickup(1247, 23, 1545.4073,-1607.9791,13.3828);//DP Prender AddStaticPickup(1247, 23, 2202.7185,2290.9583,10.8203);//DP Prender LV AddStaticPickup(1247, 23, 1527.4589,-1672.1427,6.2188);//DP Prender AddStaticPickup(1247, 23, 324.2186,-1496.7983,24.9219);//DP Prender AddStaticPickup(1247, 23, -2452.6199,503.5967,30.0817);//DP Prender PF AddStaticPickup(1247, 23, 919.7474,-1201.7177,16.9832);//DP Prender AddStaticPickup(1247, 23, 2628.6130,1718.3235,11.0234);//DP Prender FT AddStaticPickup(1247, 23, -1606.3585,676.5353,-5.2422);//DP Prender ROTA AddStaticPickup(1247, 23, 1798.3773,-1587.9568,13.5092);//DP Prender AddStaticPickup(1247, 23, 927.0408,-997.0296,38.2122);//DP Prender CreatePickup(1318, 23, 1836.4064,-1682.4403,13.3493);//Alhabra CreatePickup(1247, 23, 328.0219,-1512.4863,36.0325);//DP GT3 CreatePickup(1275, 23, 2244.5669,-1664.4495,15.4766);//entrada Binco CreatePickup(1318, 23, 2229.9011,-1721.2582,13.5613);//Ganton gym CreatePickup(1318, 23, 2421.4998,-1219.2438,25.5617);//Pig Pen CreatePickup(1318, 23, 2419.9941,-1509.5865,24.0000);//Cluckin bell under it CreatePickup(1318, 23, 810.5328,-1616.1392,13.5469);//Marina burger CreatePickup(1318, 23, 927.6217,-1353.0105,13.3438);//Cluckin Bell CreatePickup(1318, 23, 1200.4232,-918.5194,43.1125);//Vinewood burger CreatePickup(1318, 23, 2476.1846,-1750.4175,13.5469);//HQ Helper CreatePickup(1318, 23, 203.5140,-202.2578,1.5781); //Pizza stack at BlueBerry CreatePickup(1318, 23, 242.7591,66.4315,1003.6406); // TREINO CreatePickup(1318, 23, 225.5395,69.6203,1005.0391); // TREINO CreatePickup(1318, 23, 227.7363,69.1287,1005.0391); // TREINO CreatePickup(1318, 23, 236.6653,65.1392,1005.0391); // TREINO CreatePickup(1318, 23, 1570.3828,-1333.8882,16.4844); // Building next AB CreatePickup(1318, 2, 2495.3481,-1691.1355,14.7656); // Grove HQ CreatePickup(1239, 23, 2131.9495,-974.0172,59.7856); //Fabricar Drogas CreatePickup(334, 23, -1346.256103,492.538299,11.202690); // Equipar Exercito CreatePickup(1239, 23, 1751.2091,-1944.1311,13.5678); // Materiais VEND CreatePickup(1239, 23, 1596.6569,-1556.8433,13.5831); // Materiais PEG CreatePickup(1210, 23, 355.2333,169.3552,1025.7891); // Investimentos CreatePickup(1210, 23, 362.1969,154.5983,1025.7963); // Outros CreatePickup(1210, 23, 354.3210,154.7097,1025.7963); // Cobrancas CreatePickup(1210, 23, 361.9699,169.5079,1025.7890); // Outros CreatePickup(1247, 23, -1298.8188,490.5014,11.1953); // PRENDER Exercito CreatePickup(1247, 23, -515.9556,-539.5468,25.5234); // Interior Policia Federal CreatePickup(1314, 23, 768.2192,-3.9873,1000.7203); // mudarluta CreatePickup(1318, 23, -1694.5050,950.8621,24.8906); // entrada VICTIM CreatePickup(1318, 23, 1456.9010,-1137.6941,23.9617); // entrada ZIP CreatePickup(1318, 23, 2104.8252,-1806.5239,13.5547); // Pickup entrada Pizza CreatePickup(1247, 23, 195.5733,158.4008,1003.0234); //prender novo CreatePickup(1247, 23, 2202.7185,2290.9583,10.8203); //prender novo lv CreatePickup(1241, 24, 1175.553100,-1325.960693,-44.283576); // Hospital Saida CreatePickup(1247, 23, 2336.9888,2458.6926,14.9688); // DP LV CreatePickup(1318, 23, 2127.6147,2379.2517,10.8203);//Alhabra LV //==========================[MENU VIP - PRAcA PREFEITURA]===========================// (comeco objeto) CreateDynamicObject(2618,1496.8000000,-1661.8000000,13.0000000,0.0000000,0.0000000,180.0000000); //object(cj_slot_propg) (1) //==========================[COFRE BANCO]===========================// CreateDynamicObject(5020, 2142.69995, 1606.69995, 993.79999, 0, 0, 269.75); CreateDynamicObject(1550, 2144.92334, 1642.66504, 992.94800, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1550, 2143.86548, 1642.65515, 992.94141, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1550, 2144.39111, 1642.64600, 992.94739, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1550, 2143.36182, 1642.60168, 992.93512, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1550, 2143.59839, 1641.98682, 992.95758, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1550, 2144.11182, 1641.97949, 992.96490, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1550, 2144.65088, 1642.00452, 992.94476, 0.00000, 0.00000, 0.00000); portabanco = CreateDynamicObject(2634, 2144.2, 1627.1, 994.29999, 0, 0, 180); //grades CreateDynamicObject(1468,1539.6358600,-1605.0346700,17.1273000,2.0000000,0.0000000,-90.0000000); // CreateDynamicObject(1468,1539.6358600,-1610.0787400,17.1273000,2.0000000,0.0000000,-90.0000000); // CreateDynamicObject(1468,1539.6358600,-1615.0186800,17.1273000,2.0000000,0.0000000,-90.0000000); // CreateDynamicObject(1468,1542.2618400,-1617.6446500,17.1273000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1468,1546.7597700,-1617.6446500,17.1273000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1468,1542.3138400,-1602.4606900,17.1273000,0.0000000,0.0000000,-1.0000000); // CreateDynamicObject(1468,1547.5918000,-1602.5127000,17.1273000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1468,1552.8697500,-1602.5127000,17.1273000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1468,1558.1478300,-1602.5127000,17.1273000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1468,1563.4257800,-1602.5127000,17.1273000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1468,1568.7038600,-1602.5127000,17.1273000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1468,1573.9819300,-1602.5127000,17.1273000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1468,1579.2598900,-1602.5127000,17.1273000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1468,1584.5378400,-1602.5127000,17.1273000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1468,1589.8158000,-1602.5127000,17.1273000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1468,1595.0937500,-1602.5127000,17.1273000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1468,1600.3718300,-1602.5127000,17.1273000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1468,1605.4157700,-1602.5127000,17.1273000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1468,1607.9897500,-1605.1906700,17.1273000,0.0000000,0.0000000,90.0000000); // CreateDynamicObject(1468,1607.9897500,-1610.4687500,17.1273000,0.0000000,0.0000000,90.0000000); // CreateDynamicObject(1468,1607.9897500,-1615.7468300,17.1273000,0.0000000,0.0000000,90.0000000); // CreateDynamicObject(1468,1608.0157500,-1621.0507800,17.1273000,0.0000000,0.0000000,90.0000000); // CreateDynamicObject(1468,1608.0157500,-1626.3288600,17.1273000,0.0000000,0.0000000,90.0000000); // CreateDynamicObject(1468,1608.0157500,-1631.6329300,17.1273000,0.0000000,0.0000000,90.0000000); // CreateDynamicObject(1468,1608.0157500,-1635.3509500,17.1273000,0.0000000,0.0000000,90.0000000); // CreateDynamicObject(1468,1605.4676500,-1637.9509300,17.1273000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1468,1408.0000000,2935.0000000,-1402.0000000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1468,1409.3674300,-1403.4090600,13.9240000,0.0000000,0.0000000,91.0000000); // CreateDynamicObject(1468,1409.3674300,-1406.1650400,14.4180000,0.0000000,0.0000000,91.0000000); // CreateDynamicObject(1468,1409.3674300,-1411.3909900,14.4180000,0.0000000,0.0000000,91.0000000); // CreateDynamicObject(1468,1409.3674300,-1416.6689500,14.4180000,0.0000000,0.0000000,91.0000000); // CreateDynamicObject(1468,1409.3674300,-1421.9729000,14.3920000,0.0000000,0.0000000,91.0000000); // CreateDynamicObject(1468,1409.3674300,-1427.1988500,14.3400000,0.0000000,0.0000000,89.0000000); // CreateDynamicObject(1468,1409.3674300,-1432.5029300,14.2880000,0.0000000,0.0000000,89.0000000); // CreateDynamicObject(1468,1409.3674300,-1437.9108900,13.9760000,0.0000000,0.0000000,89.0000000); // CreateDynamicObject(1468,1409.3674300,-1426.6009500,14.6260000,0.0000000,0.0000000,89.0000000); // CreateDynamicObject(1468,1306.4044200,-1551.8641400,13.7636000,0.0000000,0.0000000,80.0000000); // CreateDynamicObject(1468,1307.3144500,-1546.6640600,13.7636000,0.0000000,0.0000000,80.0000000); // CreateDynamicObject(1468,1308.1464800,-1541.9061300,13.7636000,0.0000000,0.0000000,80.0000000); // CreateDynamicObject(1468,1304.9039300,-1687.8066400,13.7637000,0.0000000,0.0000000,-92.0000000); // CreateDynamicObject(1468,1304.7739300,-1693.0845900,13.7637000,0.0000000,0.0000000,-92.0000000); // CreateDynamicObject(1468,1304.6959200,-1698.3365500,13.7637000,0.0000000,0.0000000,-89.0000000); // CreateDynamicObject(1468,1304.7999300,-1703.5885000,13.7637000,0.0000000,0.0000000,-89.0000000); // CreateDynamicObject(1468,1304.9039300,-1708.8664600,13.7637000,0.0000000,0.0000000,-89.0000000); // CreateDynamicObject(1468,1305.0079300,-1714.1445300,13.7637000,0.0000000,0.0000000,-89.0000000); // CreateDynamicObject(1468,1305.1119400,-1719.4224900,13.7637000,0.0000000,0.0000000,-89.0000000); // CreateDynamicObject(1468,1305.2159400,-1724.7004400,13.7637000,0.0000000,0.0000000,-89.0000000); // CreateDynamicObject(1468,1305.2679400,-1730.0043900,13.7637000,0.0000000,0.0000000,-90.0000000); // CreateDynamicObject(1468,1305.2679400,-1735.2823500,13.7637000,0.0000000,0.0000000,-90.0000000); // CreateDynamicObject(1468,1305.2679400,-1740.5603000,13.7637000,0.0000000,0.0000000,-90.0000000); // CreateDynamicObject(1468,1305.2679400,-1745.8382600,13.7637000,0.0000000,0.0000000,-90.0000000); // CreateDynamicObject(1468,1305.2679400,-1751.1163300,13.7637000,0.0000000,0.0000000,-90.0000000); // CreateDynamicObject(1468,1305.2679400,-1756.3942900,13.7637000,0.0000000,0.0000000,-90.0000000); // CreateDynamicObject(1468,1305.2679400,-1761.6722400,13.7637000,0.0000000,0.0000000,-90.0000000); // CreateDynamicObject(1468,1305.2679400,-1766.9502000,13.7637000,0.0000000,0.0000000,-90.0000000); // CreateDynamicObject(1468,1305.2679400,-1772.2281500,13.7637000,0.0000000,0.0000000,-90.0000000); // CreateDynamicObject(1468,1305.2679400,-1777.5061000,13.7637000,0.0000000,0.0000000,-90.0000000); // CreateDynamicObject(1468,1305.2679400,-1782.7580600,13.7637000,0.0000000,0.0000000,-90.0000000); // CreateDynamicObject(1468,1305.2679400,-1788.0361300,13.7637000,0.0000000,0.0000000,-90.0000000); // CreateDynamicObject(1468,1305.2679400,-1793.3140900,13.7637000,0.0000000,0.0000000,-90.0000000); // CreateDynamicObject(1468,1305.2679400,-1798.5920400,13.7637000,0.0000000,0.0000000,-90.0000000); // CreateDynamicObject(1468,1305.2679400,-1803.8700000,13.7637000,0.0000000,0.0000000,-90.0000000); // CreateDynamicObject(1468,1305.2679400,-1809.1479500,13.7637000,0.0000000,0.0000000,-90.0000000); // CreateDynamicObject(1468,1305.2679400,-1814.4259000,13.7637000,0.0000000,0.0000000,-90.0000000); // CreateDynamicObject(1468,1305.2679400,-1819.7038600,13.7637000,0.0000000,0.0000000,-90.0000000); // CreateDynamicObject(1468,1305.2679400,-1824.9819300,13.7637000,0.0000000,0.0000000,-90.0000000); // CreateDynamicObject(1468,1305.2679400,-1830.2598900,13.7637000,0.0000000,0.0000000,-90.0000000); // CreateDynamicObject(1468,1305.2679400,-1835.5378400,13.7637000,0.0000000,0.0000000,-90.0000000); // CreateDynamicObject(1468,1305.2679400,-1840.8158000,13.7637000,0.0000000,0.0000000,-90.0000000); // // Grades Groove CreateDynamicObject(3749, 2464.47632, -1659.07397, 17.56460, 0.00000, 0.00000, -91.00000); PortaoGroove = CreateDynamicObject(980, 2464.58862, -1659.06396, 15.15670, 0.00000, 0.00000, -90.00000); CreateDynamicObject(987, 2540.73730, -1709.78162, 12.38670, 6.00000, 0.00000, 201.00000); CreateDynamicObject(987, 2463.68115, -1649.30359, 12.43790, 0.00000, 0.00000, 86.00000); CreateDynamicObject(987, 2464.33130, -1640.07361, 12.43790, -2.00000, 0.00000, 86.00000); CreateDynamicObject(987, 2465.94263, -1680.52893, 12.47950, 0.00000, 0.00000, 102.00000); CreateDynamicObject(987, 2468.69849, -1692.20288, 12.42750, 0.00000, 0.00000, 104.00000); CreateDynamicObject(987, 2468.77661, -1692.17688, 15.46950, -2.00000, -1.00000, 104.00000); CreateDynamicObject(987, 2471.37646, -1703.82495, 16.79550, 0.00000, 1.00000, 104.00000); CreateDynamicObject(987, 2471.27246, -1704.11096, 13.12950, 0.00000, 4.00000, 104.00000); CreateDynamicObject(987, 2473.87231, -1715.03101, 16.87350, -3.00000, 1.00000, 104.00000); CreateDynamicObject(987, 2473.71631, -1715.08301, 12.37550, -1.00000, 1.00000, 104.00000); CreateDynamicObject(987, 2475.51025, -1722.02502, 12.37550, -1.00000, 1.00000, 104.00000); CreateDynamicObject(987, 2487.39233, -1721.58301, 12.37550, -1.00000, 1.00000, 182.00000); CreateDynamicObject(987, 2529.60913, -1713.91565, 12.41270, 4.00000, -1.00000, 202.00000); CreateDynamicObject(987, 2529.22168, -1628.15173, 16.61490, 0.00000, 0.00000, 0.00000); CreateDynamicObject(987, 2517.23560, -1628.15173, 16.61490, 0.00000, 0.00000, 0.00000); CreateDynamicObject(987, 2505.40552, -1628.15173, 16.17290, 0.00000, -2.00000, 0.00000); CreateDynamicObject(987, 2493.49756, -1628.15173, 15.73090, 0.00000, -2.00000, 0.00000); CreateDynamicObject(987, 2481.58960, -1628.15173, 15.21090, 0.00000, -2.00000, 0.00000); CreateDynamicObject(987, 2469.65552, -1628.15173, 14.76890, 0.00000, -2.00000, 0.00000); CreateDynamicObject(987, 2465.10547, -1628.15173, 14.58690, 0.00000, -2.00000, 0.00000); CreateDynamicObject(987, 2464.43530, -1640.17761, 14.64790, -4.00000, 0.00000, 86.00000); CreateDynamicObject(987, 2463.68115, -1649.32959, 14.69990, -3.00000, 0.00000, 86.00000); CreateDynamicObject(987, 2466.20264, -1680.50293, 15.49550, 0.00000, 0.00000, 102.00000); CreateDynamicObject(987, 2487.39233, -1721.58301, 17.21150, -1.00000, 1.00000, 182.00000); CreateDynamicObject(987, 2499.32642, -1721.27100, 17.70550, -1.00000, 1.00000, 182.00000); CreateDynamicObject(987, 2475.74438, -1721.89502, 16.87350, -3.00000, 1.00000, 104.00000); CreateDynamicObject(987, 2511.20850, -1721.29700, 17.88750, 2.00000, 1.00000, 182.00000); CreateDynamicObject(987, 2522.38892, -1716.77295, 18.22550, 1.00000, 1.00000, 202.00000); //NOVA POBRE CreateDynamicObject(1818,2533.1001000,-1527.4000200,23.2000000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(3655,-253.9336500,-286.1880500,4.2000000,0.0000000,0.0000000,36.0000000); // CreateDynamicObject(3655,-240.2022400,-301.4737900,3.6540000,0.0000000,0.0000000,39.9960000); // CreateDynamicObject(3655,-231.6465500,-311.1283600,3.4720000,0.0000000,0.0000000,42.0000000); // CreateDynamicObject(3655,-214.4039800,-329.8339800,3.3940000,0.0000000,0.0000000,42.0000000); // CreateDynamicObject(852,-246.1298800,-281.4199200,-0.2280100,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(910,-203.2603900,-330.4052100,1.3000000,0.0000000,0.0000000,133.0000000); // CreateDynamicObject(2890,-196.8999900,-327.2999900,0.1000000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(2890,-162.1000100,-340.3999900,0.1000000,0.0000000,0.0000000,142.0000000); // CreateDynamicObject(2890,-206.7971300,-297.7718500,0.1000000,0.0000000,0.0000000,47.9940000); // CreateDynamicObject(849,-224.5000000,-303.0000000,0.4000000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(849,-226.2000000,-282.6000100,0.7000000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1296,-254.0000000,-247.7000000,5.5000000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1296,-266.6000100,-252.5000000,5.5000000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(3749,-171.0758500,-352.6626300,6.2000000,0.0000000,0.0000000,225.0000000); // CreateDynamicObject(980,-167.2000000,-356.1000100,0.2480000,88.0000000,180.0000000,170.0000000); // CreateDynamicObject(3655,-205.6202900,-339.2949200,3.3420000,0.0000000,0.0000000,43.0000000); // CreateDynamicObject(3655,-196.9090100,-348.3286100,3.4720000,0.0000000,0.0000000,43.0000000); // CreateDynamicObject(3655,-187.8504000,-357.5937500,3.5760000,0.0000000,0.0000000,45.0000000); // CreateDynamicObject(978,-262.7000100,-259.7000100,1.4000000,0.0000000,0.0000000,288.0000000); // CreateDynamicObject(3091,-259.9535800,-239.3776600,0.8000000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(17969,-257.0000000,-282.7000100,5.5000000,0.0000000,0.0000000,306.0000000); // CreateDynamicObject(1528,-232.4195600,-299.6563700,4.9000000,0.0000000,0.0000000,218.0000000); // CreateDynamicObject(853,-211.2000000,-295.8999900,0.8000000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(3655,-275.6741900,-258.8967000,4.2000000,0.0000000,0.0000000,39.9960000); // CreateDynamicObject(3655,-281.1953400,-245.5851600,4.2000000,0.0000000,0.0000000,34.0000000); // CreateDynamicObject(3655,-285.7052900,-266.8710000,6.1080000,0.0000000,0.0000000,134.0000000); // CreateDynamicObject(3655,-292.6275000,-302.6150800,6.3820000,0.0000000,-2.0000000,89.0000000); // CreateDynamicObject(3655,-266.7450000,-294.8670000,4.3740000,2.0000000,2.0000000,118.0000000); // CreateDynamicObject(3655,-287.9645400,-235.3989000,3.8620000,0.0000000,0.0000000,32.0000000); // CreateDynamicObject(3655,-293.9518100,-224.5211200,4.2000000,0.0000000,0.0000000,27.9930000); // CreateDynamicObject(3655,-299.2540000,-213.7444600,4.2000000,0.0000000,0.0000000,26.0000000); // CreateDynamicObject(3655,-282.6684900,-181.3690000,3.6280000,0.0000000,0.0000000,205.0000000); // CreateDynamicObject(3655,-276.4372600,-192.6505300,4.2000000,0.0000000,0.0000000,209.9890000); // CreateDynamicObject(3655,-266.1000100,-213.1000100,4.2000000,0.0000000,0.0000000,209.9870000); // CreateDynamicObject(3655,-305.4433000,-301.4468100,7.1460000,5.0000000,-3.0000000,77.0000000); // CreateDynamicObject(3655,-328.3128700,-292.5765100,10.9000000,7.0000000,-2.0000000,66.0000000); // CreateDynamicObject(3655,-338.4880100,-287.7252500,12.8980000,10.0000000,-5.0000000,65.0000000); // CreateDynamicObject(3655,-385.1628100,-274.1650100,25.2480000,16.0000000,-5.0000000,89.0000000); // CreateDynamicObject(3655,-396.3259900,-274.0004900,28.9400000,15.0000000,352.0000000,92.0000000); // CreateDynamicObject(3655,-419.0961000,-278.0314900,35.0540000,12.0000000,353.0000000,103.0000000); // CreateDynamicObject(3655,-430.3888900,-280.4551100,38.4360000,12.0000000,356.0000000,103.0000000); // CreateDynamicObject(3655,-442.0633900,-283.1577100,41.0280000,9.0000000,-8.0000000,105.0000000); // CreateDynamicObject(3655,-454.0199900,-286.1460900,43.8940000,10.0000000,-7.0000000,99.0000000); // CreateDynamicObject(3655,-466.3137200,-287.8172600,46.8320000,3.0000000,358.0000000,96.0000000); // CreateDynamicObject(3655,-407.6127900,-275.6314100,31.9040000,10.0000000,351.0000000,100.0000000); // CreateDynamicObject(2890,-165.3214000,-367.5434900,0.1000000,0.0000000,0.0000000,30.0000000); // CreateDynamicObject(3655,-477.7930000,-260.0367100,49.3200000,7.0000000,360.0000000,93.0000000); // CreateDynamicObject(3655,-465.9500100,-259.4626200,47.4660000,6.0000000,360.0000000,93.0000000); // CreateDynamicObject(3655,-455.2699600,-257.7954100,45.1940000,7.0000000,356.0000000,100.0000000); // CreateDynamicObject(3655,-443.3364900,-255.7984900,42.7580000,7.0000000,355.0000000,98.0000000); // CreateDynamicObject(3655,-432.1196900,-253.2926900,39.4600000,10.0000000,355.0000000,102.0000000); // CreateDynamicObject(3655,-421.1467000,-250.4248000,36.0160000,11.0000000,357.0000000,103.0000000); // CreateDynamicObject(3655,-408.9388100,-247.9152100,33.1360000,11.0000000,358.0000000,98.0000000); // CreateDynamicObject(3655,-397.1355000,-245.9225000,29.9580000,11.0000000,360.0000000,94.0000000); // CreateDynamicObject(3655,-384.7951700,-245.4420200,26.7500000,12.0000000,358.0000000,90.0000000); // CreateDynamicObject(3655,-372.6247600,-246.1022300,23.4500000,13.0000000,360.0000000,83.0000000); // CreateDynamicObject(3655,-352.8999900,-188.6000100,60.7000000,0.0000000,0.0000000,1.9960000); // CreateDynamicObject(3655,-347.0000000,-213.5000000,59.2000000,0.0000000,0.0000000,11.9940000); // CreateDynamicObject(3655,-375.6095000,-154.6638000,57.9940000,-7.0000000,-5.0000000,-49.0000000); // CreateDynamicObject(3655,-369.3487900,-138.7886000,56.1440000,0.0000000,0.0000000,-30.0000000); // CreateDynamicObject(3655,-364.3949900,-123.8778000,52.3560000,0.0000000,0.0000000,351.9910000); // CreateDynamicObject(3655,-363.4911200,-111.7720900,50.8000000,0.0000000,0.0000000,351.9910000); // CreateDynamicObject(3655,-366.3389900,-88.2726000,47.6540000,0.0000000,0.0000000,1.9910000); // CreateDynamicObject(3655,-368.4065900,-77.1537000,44.7580000,350.0000000,-9.0000000,9.0000000); // CreateDynamicObject(3655,-374.1465100,-54.9519000,42.8120000,350.0000000,0.0000000,25.0000000); // CreateDynamicObject(3655,-379.7934900,-43.5442000,41.1020000,350.0000000,0.0000000,26.0000000); // CreateDynamicObject(3655,-385.1976600,-32.7704100,39.5740000,350.0000000,0.0000000,26.0000000); // CreateDynamicObject(3655,-390.7847000,-21.9304000,39.0000000,350.0000000,0.0000000,29.0000000); // CreateDynamicObject(3655,-404.7380100,-4.0189000,38.5500000,0.0000000,5.0000000,37.0000000); // CreateDynamicObject(3655,-409.7755100,11.1339000,39.6940000,2.0000000,11.0000000,-4.0000000); // CreateDynamicObject(3655,-408.0896300,24.3458800,40.4740000,3.0000000,10.0000000,343.0000000); // CreateDynamicObject(3655,-402.8389000,37.0545000,40.5000000,3.0000000,13.0000000,325.0000000); // CreateDynamicObject(3655,-510.6482800,-286.0249900,54.6000000,10.0000000,358.0000000,77.0000000); // CreateDynamicObject(3655,-522.6173100,-282.8349000,55.7660000,10.0000000,-7.0000000,74.0000000); // CreateDynamicObject(3655,-534.3654200,-279.1271100,58.2720000,9.9630000,355.9180000,70.6720000); // CreateDynamicObject(3655,-545.6796900,-275.3855900,59.6480000,8.0000000,352.0000000,71.0000000); // CreateDynamicObject(3655,-557.1221900,-270.9577900,61.5260000,9.0000000,353.0000000,68.0000000); // CreateDynamicObject(3655,-568.2736200,-266.8602000,63.1160000,5.0000000,354.0000000,71.0000000); // CreateDynamicObject(3655,-579.3693800,-263.4475100,64.3080000,4.0000000,354.0000000,75.0000000); // CreateDynamicObject(3655,-591.0731800,-260.3288900,64.8020000,1.0000000,354.0000000,75.0000000); // CreateDynamicObject(3655,-601.9150400,-258.2838100,65.4360000,360.0000000,356.0000000,84.0000000); // CreateDynamicObject(3655,-651.9736300,-258.7469200,65.6000000,359.9840100,355.9740000,95.9560000); // CreateDynamicObject(3655,-663.9704000,-259.9729900,65.8200000,360.0000000,360.0000000,96.0000000); // CreateDynamicObject(3655,-676.1981800,-261.5676000,65.0140000,359.0000000,-4.0000000,93.0000000); // CreateDynamicObject(3655,-688.5929600,-262.2618100,64.9620000,356.0000000,-1.0000000,92.0000000); // CreateDynamicObject(3655,-700.8021900,-262.5839200,63.7220000,356.0000000,358.0000000,90.0000000); // CreateDynamicObject(3655,-712.8806200,-262.7396900,62.4380000,355.9790000,357.9679900,85.8030000); // CreateDynamicObject(2907,-207.3999900,-297.2999900,1.8000000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(2907,-209.0000000,-296.7000100,1.8000000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(2907,-196.3999900,-327.0000000,1.7000000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(2890,-493.2000100,-291.7000100,51.1000000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(12957,-486.1958000,-288.7626000,50.1040000,344.0000000,0.0000000,0.0000000); // CreateDynamicObject(3655,-613.9311500,-257.0045500,66.0000000,360.0000000,356.0000000,84.0000000); // CreateDynamicObject(12957,-714.0650000,-250.0331600,59.2000000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(3594,-713.2841200,-245.1946100,58.9000000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(3594,-716.0009800,-246.9357000,58.8980000,-21.0000000,354.0000000,47.0000000); // CreateDynamicObject(3261,-794.4000200,-143.0000000,63.3000000,0.0000000,0.0000000,16.0000000); // CreateDynamicObject(3261,-793.2000100,-146.3000000,63.3000000,0.0000000,0.0000000,15.9960000); // CreateDynamicObject(3261,-792.0000000,-149.5000000,63.3000000,0.0000000,0.0000000,15.9960000); // CreateDynamicObject(3261,-791.0000000,-152.6000100,63.3000000,0.0000000,0.0000000,15.9960000); // CreateDynamicObject(3261,-790.0999800,-156.1000100,63.3000000,0.0000000,0.0000000,15.9960000); // CreateDynamicObject(3261,-795.5000000,-139.5000000,63.3000000,0.0000000,0.0000000,15.9960000); // CreateDynamicObject(3261,-810.7000100,-137.7000000,63.3000000,0.0000000,0.0000000,15.9960000); // CreateDynamicObject(3261,-809.7999900,-140.8999900,63.3000000,0.0000000,0.0000000,15.9960000); // CreateDynamicObject(3261,-815.5000000,-139.5000000,63.3000000,0.0000000,0.0000000,15.9960000); // CreateDynamicObject(3261,-814.5999800,-142.6000100,63.3000000,0.0000000,0.0000000,15.9960000); // CreateDynamicObject(3261,-805.7000100,-139.6000100,63.3000000,0.0000000,0.0000000,15.9960000); // CreateDynamicObject(3261,-806.4000200,-136.7000000,63.3000000,0.0000000,0.0000000,15.9960000); // CreateDynamicObject(3261,-790.2999900,-138.3000000,63.3000000,0.0000000,0.0000000,15.9960000); // CreateDynamicObject(3261,-789.2999900,-141.5000000,63.3000000,0.0000000,0.0000000,15.9960000); // CreateDynamicObject(3261,-788.4000200,-144.7000000,63.3000000,0.0000000,0.0000000,15.9960000); // CreateDynamicObject(3261,-787.2999900,-148.1000100,63.3000000,0.0000000,0.0000000,15.9960000); // CreateDynamicObject(3261,-786.2999900,-151.0000000,63.3000000,0.0000000,0.0000000,15.9960000); // CreateDynamicObject(3261,-785.2999900,-154.2000000,63.3000000,0.0000000,0.0000000,15.9960000); // CreateDynamicObject(3374,-802.7999900,-125.5000000,64.4000000,0.0000000,0.0000000,14.0000000); // CreateDynamicObject(3374,-797.2999900,-124.1000000,64.4000000,0.0000000,0.0000000,13.9970000); // CreateDynamicObject(3461,-791.5000000,-123.9000000,64.9000000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(2891,-747.5999800,-128.1000100,64.8000000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(2891,-747.0999800,-128.8000000,64.8000000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(2891,-747.7000100,-128.7000000,64.8000000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(2891,-746.9000200,-129.3999900,64.8000000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(2891,-747.5999800,-129.5000000,64.8000000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(2891,-746.9000200,-130.1000100,64.8000000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(2891,-747.5000000,-130.1000100,64.8000000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(2891,-748.2999900,-129.3999900,64.8000000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(2891,-748.2000100,-128.6000100,64.8000000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(2891,-748.2999900,-128.2000000,64.8000000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(3271,-203.1000100,-274.1000100,0.4000000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(3655,-854.0368000,-142.8603100,64.7640000,356.0000000,4.0000000,101.0000000); // CreateDynamicObject(3655,-823.4298700,-132.3261700,65.1980000,2.0000000,360.0000000,105.0000000); // CreateDynamicObject(3655,-875.7999900,-116.7000000,63.1000000,1.9780000,359.9729900,95.9440000); // CreateDynamicObject(3655,-869.2000100,-143.8999900,63.1000000,357.9970100,7.9770000,96.2230000); // CreateDynamicObject(3655,-857.3537600,-112.7113300,64.3320000,-3.0000000,351.0000000,96.0000000); // CreateDynamicObject(3655,-833.0803200,-105.4797000,65.1760000,1.9780000,359.9729900,95.9440000); // CreateDynamicObject(3655,-813.0382100,-95.9177800,66.4760000,-1.0000000,359.0000000,96.0000000); // CreateDynamicObject(3655,-799.1619300,-93.9881000,66.1120000,-5.0000000,360.0000000,100.0000000); // CreateDynamicObject(3655,-786.7399900,-89.9905000,67.6000000,-5.0000000,360.0000000,101.0000000); // CreateDynamicObject(3655,-774.3371000,-85.0898000,67.6000000,-3.0000000,360.0000000,105.0000000); // CreateDynamicObject(3655,-393.1304600,-164.5514500,63.4220000,342.0000000,2.0000000,286.0000000); // CreateDynamicObject(3655,-404.1000100,-166.6000100,66.4220000,342.0000000,-8.0000000,277.0000000); // CreateDynamicObject(3655,-416.0000000,-168.1000100,72.3000000,342.0430000,4.1970000,277.2840000); // CreateDynamicObject(3655,-434.6000100,-169.8999900,75.5000000,354.0119900,4.0140000,276.4070100); // CreateDynamicObject(3655,-448.8323100,-169.8506900,78.4160000,354.0000000,2.0000000,276.0000000); // CreateDynamicObject(3655,-462.9435100,-171.9292000,79.7740000,353.9740000,-1.0000000,277.0000000); // CreateDynamicObject(3655,-465.9389600,-197.5153400,79.8000000,354.0069900,4.0100000,276.4050000); // CreateDynamicObject(3655,-477.9346300,-199.6827700,79.8000000,358.0000000,5.0000000,276.0000000); // CreateDynamicObject(3655,-502.6404400,-200.9279000,79.8000000,360.0000000,6.0000000,270.0000000); // CreateDynamicObject(3655,-517.2149000,-200.9044000,80.0860000,358.0000000,6.0000000,270.0000000); // CreateDynamicObject(3655,-532.2688000,-201.7654000,79.9560000,354.0000000,9.0000000,268.0000000); // CreateDynamicObject(3655,-565.4957300,-200.7584100,80.0940000,358.0000000,1.0000000,270.0000000); // CreateDynamicObject(3655,-595.0656100,-175.3822900,80.3380000,4.0000000,355.0000000,268.0000000); // CreateDynamicObject(3655,-593.7617200,-201.6844900,80.9800000,4.0000000,2.0000000,270.0000000); // CreateDynamicObject(3655,-629.5999800,-193.7000000,70.7000000,355.9970100,3.9900000,250.2590000); // CreateDynamicObject(3655,-642.2526200,-188.7343000,68.6620000,0.0000000,-3.0000000,240.0000000); // CreateDynamicObject(3655,-666.6998300,-181.4326900,64.1620000,2.0000000,354.0000000,264.0000000); // CreateDynamicObject(3655,-679.7822900,-179.6050000,64.8840000,-1.0000000,354.0000000,260.0000000); // CreateDynamicObject(3655,-692.1721200,-178.9523000,65.7280000,-2.0000000,-7.0000000,262.0000000); // CreateDynamicObject(3655,-699.5725700,-150.5498000,65.1560000,-6.0000000,2.0000000,268.0000000); // CreateDynamicObject(3655,-712.6889000,-151.5005200,67.4960000,354.0000000,1.0000000,275.0000000); // CreateDynamicObject(3655,-726.2704500,-154.6591800,68.4620000,-1.0000000,-2.0000000,290.0000000); // CreateDynamicObject(3655,-742.1035200,-160.6719100,69.5540000,3.9610000,1.9670000,289.8250100); // CreateDynamicObject(3655,-756.2999900,-166.3000000,70.8000000,3.9610000,1.9670000,289.8250100); // CreateDynamicObject(3655,-772.7000100,-169.2000000,70.8000000,3.9610000,1.9670000,289.8250100); // CreateDynamicObject(3655,-792.4000200,-169.8000000,70.3000000,3.9610000,1.9670000,251.8250000); // CreateDynamicObject(2907,-757.5000000,-135.0000000,65.0000000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(2908,-757.7999900,-134.3999900,64.9000000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(2906,-758.2000100,-134.2000000,64.9000000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(2906,-758.0000000,-134.1000100,64.9000000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(2905,-757.0999800,-135.0000000,64.9000000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(2905,-758.2000100,-134.8000000,65.0000000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(2743,-739.0999800,-118.6000000,67.5000000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(2744,-738.9000200,-118.6000000,67.7000000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(2810,-738.9000200,-118.3000000,67.7000000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1327,-738.2999900,-119.4000000,66.1000000,1.8720000,117.9420000,331.5340000); // CreateDynamicObject(1225,-740.8483300,-126.3049100,66.3295900,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1225,-745.7999900,-127.8000000,65.6000000,351.0210000,333.6530200,351.5799900); // CreateDynamicObject(1225,-747.0999800,-131.2000000,65.1000000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(3655,-222.9479400,-320.6650700,3.4720000,0.0000000,0.0000000,42.0000000); // CreateDynamicObject(3655,-278.9345400,-300.1405000,5.3880000,2.0000000,2.0000000,109.0000000); // CreateDynamicObject(11445,-266.5179400,-263.1991900,1.1105000,0.0000000,0.0000000,-153.0000000); // CreateDynamicObject(3655,-287.3876000,-169.3847700,3.3940000,0.0000000,0.0000000,205.0000000); // CreateDynamicObject(3655,-845.1610700,-108.6003000,64.6300000,-1.0000000,358.0000000,94.0000000); // CreateDynamicObject(1257,-175.5448000,-332.9614900,1.6085000,0.0000000,0.0000000,42.0000000); // CreateDynamicObject(1570,-241.3450000,-291.5667100,1.5909000,0.0000000,0.0000000,-52.0000000); // CreateDynamicObject(1570,-244.1591900,-289.2594000,1.4349000,0.0000000,0.0000000,-102.0000000); // CreateDynamicObject(1528,-220.9799700,-312.0737000,4.9000000,0.0000000,0.0000000,224.0000000); // CreateDynamicObject(3655,-498.9161100,-178.3825100,78.9940000,5.0000000,0.0000000,180.0000000); // CreateDynamicObject(3655,-498.4159900,-165.4845000,77.3820000,3.0000000,-1.0000000,-176.0000000); // CreateDynamicObject(3655,-499.0502900,-152.8489100,75.5880000,8.0000000,-1.0000000,183.0000000); // CreateDynamicObject(3655,-499.0458100,-140.7866100,73.3520000,14.0000000,-5.0000000,180.0000000); // CreateDynamicObject(3655,-499.3817100,-128.4409900,69.8460000,11.0000000,-4.0000000,180.0000000); // CreateDynamicObject(11505,-480.7184100,-58.9307000,63.7958000,-1.0000000,2.0000000,-2.0000000); // CreateDynamicObject(11417,-497.1543300,-65.2961500,63.7992000,0.0000000,2.0000000,136.0000000); // CreateDynamicObject(1676,-475.0501100,-63.9461000,60.8938000,0.0000000,0.0000000,176.0000000); // CreateDynamicObject(1676,-487.3279100,-63.3642000,61.3618000,0.0000000,0.0000000,-3.0000000); // CreateDynamicObject(1676,-474.5866400,-56.2983900,60.7638000,0.0000000,0.0000000,178.0000000); // CreateDynamicObject(1676,-487.1547900,-55.9858000,61.1798000,0.0000000,0.0000000,-2.0000000); // CreateDynamicObject(11492,-464.6978100,-85.9735300,58.8789000,-2.0000000,-1.0000000,-96.0000000); // CreateDynamicObject(1516,-464.7612900,-85.4174100,59.3746000,0.0000000,0.0000000,-5.0000000); // CreateDynamicObject(1516,-463.6717500,-85.5140700,59.3746000,0.0000000,0.0000000,-4.0000000); // CreateDynamicObject(1516,-463.5440700,-84.4232700,59.3746000,0.0000000,0.0000000,-5.0000000); // CreateDynamicObject(1516,-464.6653100,-84.3382000,59.3746000,0.0000000,0.0000000,-5.0000000); // CreateDynamicObject(1279,-463.5866400,-84.6938600,59.8982100,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1279,-463.5534700,-84.1145300,59.8982100,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1577,-464.4424400,-83.9775200,59.8979000,0.0000000,0.0000000,-6.0000000); // CreateDynamicObject(1577,-464.4230300,-84.3333700,59.8979000,0.0000000,0.0000000,-4.0000000); // CreateDynamicObject(1577,-464.9811100,-83.9419000,59.8979000,0.0000000,0.0000000,-5.0000000); // CreateDynamicObject(1577,-464.9877000,-84.3022800,59.8979000,0.0000000,0.0000000,-4.0000000); // CreateDynamicObject(2035,-464.7055100,-84.7110600,59.8996000,0.0000000,-1.0000000,-5.0000000); // CreateDynamicObject(2035,-464.7666600,-85.0153000,59.8996000,0.0000000,0.0000000,-6.0000000); // CreateDynamicObject(1212,-464.9052100,-85.8835400,59.9005400,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1212,-464.5779400,-85.7063200,59.9005400,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1212,-464.5011900,-85.2726300,59.9005400,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1212,-465.1784100,-85.4964900,59.9005400,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1212,-464.8879400,-85.5824400,59.9005400,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1212,-465.0668000,-85.7434600,59.9005400,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1212,-464.6168200,-85.4395200,59.9005400,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1550,-457.8550400,-75.7626000,59.1943000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1550,-457.9560500,-75.4541900,59.2203000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1550,-458.2509200,-75.3317500,59.1683000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1550,-469.2645300,-74.2997800,59.6103000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1550,-469.3068200,-74.6854600,59.5843000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1550,-460.0505700,-97.3197300,59.8183000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1550,-460.0425700,-97.7647600,59.8443000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1550,-460.4754000,-97.8076800,59.8443000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1550,-471.6299100,-96.4832600,60.1563000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1550,-471.0479400,-96.5170400,60.2083000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1670,-463.7641600,-85.2711200,59.8998000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1670,-464.0324100,-85.6928600,59.8998000,0.0000000,0.0000000,-81.0000000); // CreateDynamicObject(1577,-460.2275100,-82.3080000,58.8059000,0.0000000,0.0000000,-5.0000000); // CreateDynamicObject(1577,-467.6806900,-82.8404000,59.0919000,0.0000000,0.0000000,-5.0000000); // CreateDynamicObject(1279,-468.0033000,-76.6885000,59.1702000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1212,-465.9065900,-87.0646000,59.0165000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1212,-465.5564900,-79.7866000,59.0685000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(2121,-465.4070100,-85.4540400,59.4302000,0.0000000,0.0000000,124.0000000); // CreateDynamicObject(2121,-465.4134200,-84.2835800,59.4302000,0.0000000,0.0000000,84.0000000); // CreateDynamicObject(2121,-463.5934100,-86.3374600,59.4302000,0.0000000,0.0000000,-164.0000000); // CreateDynamicObject(2121,-462.7137100,-84.3508000,59.4302000,0.0000000,0.0000000,-76.0000000); // CreateDynamicObject(1550,-460.0694000,-97.9541200,60.4423000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(3655,-519.1129800,-43.7614000,63.8200000,-2.0000000,6.0000000,-4.0000000); // CreateDynamicObject(3655,-519.7517700,-56.4365000,64.1320000,-2.0000000,6.0000000,-4.0000000); // CreateDynamicObject(3655,-520.9155300,-69.8169000,64.8340000,-2.0000000,4.0000000,-1.0000000); // CreateDynamicObject(3655,-525.5210000,-119.8067000,68.8580000,-13.0000000,4.0000000,-1.0000000); // CreateDynamicObject(3655,-525.4832200,-132.6869000,72.4280000,-13.0000000,4.0000000,-1.0000000); // CreateDynamicObject(3655,-525.3480200,-145.5078000,75.5700000,-10.0000000,12.0000000,-1.0000000); // CreateDynamicObject(1432,-459.3813800,-48.4460100,59.0568000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1432,-462.7286400,-50.5714200,59.0568000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1432,-463.0544100,-46.0237700,59.0568000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1571,-452.9677100,-46.3231000,59.9119000,0.0000000,0.0000000,271.0000000); // CreateDynamicObject(1571,-452.8978000,-50.4854000,59.8599000,0.0000000,0.0000000,271.0000000); // CreateDynamicObject(642,-462.8715200,-47.0125300,59.6348000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(642,-462.8216600,-51.2540300,59.6348000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(642,-458.6969900,-47.8811500,59.6348000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1264,-451.6821000,-52.8930000,59.0930000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1264,-451.1391000,-52.6157800,59.0930000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1264,-450.9786100,-53.3650400,59.0930000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1264,-456.9424700,-74.9791400,59.0930000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1264,-457.6725800,-74.4465300,59.0930000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1264,-456.9888600,-74.5245500,59.0930000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(853,-455.1482800,-43.5429000,59.2171000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(853,-460.3402400,-79.5059400,59.2171000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(853,-485.7319000,-67.7141000,60.2311000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(3655,-591.3134200,-147.0239000,79.1580000,-8.0000000,-1.0000000,-1.0000000); // CreateDynamicObject(3655,-591.7037400,-134.5782200,76.4800000,-12.0000000,-4.0000000,-1.0000000); // CreateDynamicObject(3655,-591.0768400,-120.7433700,72.6580000,-10.0000000,4.0000000,-8.0000000); // CreateDynamicObject(3655,-591.4152800,-159.4162000,80.5880000,-8.0000000,-5.0000000,-1.0000000); // CreateDynamicObject(3279,-496.5006100,-40.2873000,58.5208000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(3279,-435.7345900,-77.7038000,58.1568000,0.0000000,0.0000000,-98.0000000); // CreateDynamicObject(3655,-499.4923100,-116.2880000,66.6260000,9.0000000,-5.0000000,180.0000000); // CreateDynamicObject(3655,-499.0948500,-103.7572400,65.3620000,6.0000000,-6.0000000,-180.0000000); // CreateDynamicObject(3634,-500.0972000,-89.3857000,63.2779000,-6.0000000,-4.0000000,-93.0000000); // CreateDynamicObject(5416,-497.5220000,-75.0630000,62.7592000,0.0000000,3.0000000,-2.0000000); // CreateDynamicObject(3655,-590.0987500,-107.8405400,69.9440000,-10.0000000,4.0000000,-8.0000000); // CreateDynamicObject(3655,-588.2352300,-94.6144000,67.9440000,-10.0000000,2.0000000,-10.0000000); // CreateDynamicObject(11445,-520.9199800,-96.6090000,61.8822000,0.0000000,0.0000000,266.0000000); // CreateDynamicObject(3655,-525.9509900,-158.2337000,77.9200000,-8.0000000,10.0000000,-1.0000000); // CreateDynamicObject(3655,-526.2291300,-170.6833000,79.3480000,-6.0000000,7.0000000,-1.0000000); // CreateDynamicObject(645,-565.2778300,-94.4099700,63.2142000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(645,-553.0974700,-94.0655000,63.2142000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(645,-552.4718000,-107.4139000,63.2142000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(645,-566.8035300,-105.6634000,64.1762000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(645,-567.3129300,-116.0945000,66.1522000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(645,-568.9299300,-126.7545000,68.6222000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(645,-552.8385000,-116.8527000,65.7202000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(645,-552.7672700,-127.6617500,68.8562000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(645,-553.0297200,-137.2090000,72.2442000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(645,-569.1765100,-140.1136600,74.8562000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(645,-552.8746300,-145.3259400,74.8562000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(645,-569.6503300,-149.7193600,74.8562000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(645,-552.5308200,-152.6990800,74.8562000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(645,-569.6495400,-157.6394800,74.8562000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(645,-570.0938100,-165.6534000,74.8562000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(645,-551.9434200,-160.4217700,74.8562000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(645,-551.6422100,-168.4960900,74.8562000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(645,-568.2791700,-133.4746400,71.3262000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(14537,-559.8118300,-53.2454300,66.0767000,0.0000000,0.0000000,-9.0000000); // CreateDynamicObject(19129,-560.6008900,-57.2786000,64.0485000,0.0000000,0.0000000,-8.0000000); // CreateDynamicObject(18783,-560.7009300,-57.9811000,61.6013000,0.0000000,0.0000000,-8.0000000); // CreateDynamicObject(19129,-562.4603900,-70.7910000,64.0745000,0.0000000,0.0000000,-8.0000000); // CreateDynamicObject(18783,-562.4774200,-70.8114000,61.6273000,0.0000000,0.0000000,-8.0000000); // CreateDynamicObject(1432,-563.8258700,-59.4789600,64.2590000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1432,-558.1422700,-60.2332600,64.2590000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1432,-556.4161400,-62.4429700,64.2590000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1432,-561.1337900,-61.6744000,64.2590000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1432,-558.5731800,-65.5315600,64.2590000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1432,-565.5123900,-63.7169500,64.2590000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1670,-558.5853300,-65.6721000,64.8893000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1670,-565.4986000,-63.6791200,64.8893000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1670,-558.1369600,-60.4188300,64.8893000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1670,-563.7331500,-59.2369200,64.8893000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1670,-561.2432900,-61.6358000,64.8893000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1670,-556.4547100,-62.4911100,64.8893000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(16644,-550.2918700,-56.4091000,63.6679000,-91.0000000,64.0000000,-34.0000000); // CreateDynamicObject(16644,-552.5285000,-72.2551000,63.9539000,-91.0000000,64.0000000,-34.0000000); // CreateDynamicObject(16644,-559.0642700,-47.4691000,63.3559000,-91.0000000,64.0000000,56.0000000); // CreateDynamicObject(16644,-561.5205100,-47.0297000,63.3039000,-91.0000000,64.0000000,56.0000000); // CreateDynamicObject(16644,-572.4453700,-69.5242000,63.6159000,-91.0000000,64.0000000,-34.0000000); // CreateDynamicObject(16644,-570.2451800,-53.4211000,63.3299000,-91.0000000,64.0000000,-34.0000000); // CreateDynamicObject(3655,-197.6684300,-367.1903400,8.5240000,-4.0000000,0.0000000,-35.0000000); // CreateDynamicObject(3655,-204.8344000,-376.8988000,9.3300000,1.0000000,2.0000000,-35.0000000); // CreateDynamicObject(3655,-211.5455300,-386.4534300,5.3780000,7.0000000,-7.0000000,-37.0000000); // CreateDynamicObject(3655,-206.4151200,-357.7802100,10.2920000,0.0000000,0.0000000,43.0000000); // CreateDynamicObject(3655,-214.3405200,-348.7876300,10.2920000,0.0000000,0.0000000,43.0000000); // CreateDynamicObject(3655,-222.2419000,-339.9664600,10.2920000,0.0000000,0.0000000,43.0000000); // CreateDynamicObject(3655,-229.9963500,-331.0997000,10.2920000,0.0000000,0.0000000,41.0000000); // CreateDynamicObject(3655,-237.9283000,-321.9089100,10.2920000,0.0000000,0.0000000,41.0000000); // CreateDynamicObject(3655,-245.5223400,-312.9236100,10.2920000,0.0000000,0.0000000,41.0000000); // CreateDynamicObject(3655,-249.5401900,-308.9736900,10.2920000,0.0000000,0.0000000,41.0000000); // CreateDynamicObject(3655,-261.0032000,-306.5568800,11.0460000,0.0000000,0.0000000,114.0000000); // CreateDynamicObject(3655,-272.0237100,-310.5427900,11.0460000,0.0000000,0.0000000,114.0000000); // CreateDynamicObject(3655,-283.1440100,-314.9666100,11.0460000,0.0000000,0.0000000,13.0000000); // CreateDynamicObject(5130,-231.6852000,-348.2588200,9.0302000,0.0000000,0.0000000,-185.0000000); // CreateDynamicObject(5130,-247.8943600,-329.9462600,8.9522000,0.0000000,0.0000000,-185.0000000); // CreateDynamicObject(3279,-215.2202100,-366.8014500,4.8690000,0.0000000,0.0000000,-35.0000000); // CreateDynamicObject(3279,-259.5275000,-319.6969000,4.8690000,0.0000000,0.0000000,-56.0000000); // CreateDynamicObject(3655,-271.8223300,-311.5682400,8.5760000,0.0000000,0.0000000,114.0000000); // CreateDynamicObject(3655,-283.2681900,-314.2390100,6.2620000,-4.0000000,1.0000000,104.0000000); // CreateDynamicObject(19437,-205.5099900,-347.2679100,4.5881000,0.0000000,0.0000000,42.0000000); // CreateDynamicObject(19437,-205.3232000,-347.0860000,3.6261000,0.0000000,0.0000000,42.0000000); // CreateDynamicObject(19437,-187.4554000,-362.9129900,3.6261000,0.0000000,0.0000000,42.0000000); // CreateDynamicObject(19437,-195.7355700,-356.3392300,4.1736000,0.0000000,0.0000000,42.0000000); // CreateDynamicObject(19437,-214.5773600,-338.7083100,4.8330000,0.0000000,0.0000000,45.0000000); // CreateDynamicObject(19437,-219.6320000,-326.7024800,3.6597000,0.0000000,0.0000000,44.0000000); // CreateDynamicObject(19437,-234.1114000,-322.2204000,5.2443000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(19437,-242.5674000,-311.9967000,4.9188000,0.0000000,0.0000000,40.0000000); // CreateDynamicObject(19437,-249.7344200,-301.9551100,3.5408000,0.0000000,0.0000000,125.0000000); // CreateDynamicObject(19437,-251.0034600,-302.8730500,3.5408000,0.0000000,0.0000000,125.0000000); // CreateDynamicObject(19437,-250.6197100,-302.5169100,5.2568000,89.0000000,-4.0000000,128.0000000); // CreateDynamicObject(19447,-253.3518700,-298.9065900,3.3678000,0.0000000,0.0000000,28.0000000); // CreateDynamicObject(19447,-253.3519000,-298.9065900,5.7858000,0.0000000,0.0000000,28.0000000); // CreateDynamicObject(19447,-260.4551100,-296.2724900,3.3938000,0.0000000,0.0000000,-50.0000000); // CreateDynamicObject(19447,-260.4551100,-296.2724900,5.3698000,0.0000000,0.0000000,-50.0000000); // CreateDynamicObject(19447,-273.6861900,-300.9303000,4.5638000,0.0000000,0.0000000,-50.0000000); // CreateDynamicObject(645,-193.2240000,-392.5855100,6.8436000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(645,-181.9825000,-373.7067300,3.5676000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1296,-249.6890900,-277.2624200,5.5000000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1296,-274.1429100,-271.7959900,6.2800000,0.0000000,0.0000000,-86.0000000); // CreateDynamicObject(1237,-155.8366500,-368.7467700,0.0594300,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1237,-152.2608900,-372.1394700,0.0594300,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1237,-142.1903200,-381.2083700,0.0594300,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1237,-149.2923300,-374.8684700,0.0594300,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1237,-145.8540200,-377.9340500,0.0594300,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1427,-143.6252900,-369.9740900,0.8563000,0.0000000,0.0000000,-158.0000000); // CreateDynamicObject(1427,-146.2382000,-367.4511100,0.8563000,0.0000000,0.0000000,24.0000000); // CreateDynamicObject(1427,-154.0380400,-378.5502900,0.8563000,0.0000000,0.0000000,-113.0000000); // CreateDynamicObject(1427,-157.4652600,-374.8375500,0.8563000,0.0000000,0.0000000,-113.0000000); // CreateDynamicObject(3655,-317.4235800,-297.6466100,9.2000000,8.0000000,-3.0000000,67.0000000); // CreateDynamicObject(3655,-300.9932900,-228.5691400,12.3120000,0.0000000,-2.0000000,27.0000000); // CreateDynamicObject(3655,-294.1920200,-239.1740100,12.3120000,0.0000000,0.0000000,30.0000000); // CreateDynamicObject(3655,-287.3725000,-249.6407900,12.3120000,0.0000000,-2.0000000,33.0000000); // CreateDynamicObject(3655,-306.0000000,6704.0000000,-217.0000000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(3655,-304.3770100,-202.8687300,4.2000000,0.0000000,0.0000000,26.0000000); // CreateDynamicObject(3655,-312.9437000,-207.5493900,12.3120000,0.0000000,-2.0000000,25.0000000); // CreateDynamicObject(3655,-308.1481900,-218.7961000,12.3120000,0.0000000,-2.0000000,27.0000000); // CreateDynamicObject(3655,-284.3982800,-256.1474900,11.1940000,0.0000000,-2.0000000,-21.0000000); // CreateDynamicObject(3655,-291.1358900,-261.9068900,12.9720000,0.0000000,0.0000000,138.0000000); // CreateDynamicObject(3655,-360.7176500,-248.3561400,20.3040000,13.0000000,360.0000000,77.0000000); // CreateDynamicObject(3655,-348.8900100,-251.7083000,17.6000000,13.0000000,360.0000000,70.0000000); // CreateDynamicObject(3655,-337.3027000,-256.5979000,14.7940000,13.0000000,360.0000000,62.0000000); // CreateDynamicObject(3655,-326.6664100,-262.2741100,12.3760000,13.0000000,360.0000000,59.0000000); // CreateDynamicObject(3655,-316.3923000,-268.1239000,10.6340000,11.0000000,360.0000000,60.0000000); // CreateDynamicObject(3655,-305.9752500,-272.9338100,8.7620000,9.0000000,360.0000000,65.0000000); // CreateDynamicObject(3655,-296.4345400,-273.6353100,7.3060000,6.0000000,360.0000000,90.0000000); // CreateDynamicObject(3655,-374.8920600,-275.2590600,22.2060000,16.0000000,-5.0000000,80.0000000); // CreateDynamicObject(3655,-363.9856900,-278.0340000,18.5660000,16.0000000,-5.0000000,76.0000000); // CreateDynamicObject(3655,-353.9775100,-281.3544000,15.6800000,14.0000000,-5.0000000,67.0000000); // CreateDynamicObject(3655,-345.6509400,-285.1644600,13.9640000,9.0000000,-7.0000000,67.0000000); // CreateDynamicObject(3655,-478.0997900,-289.2395900,49.1460000,3.0000000,358.0000000,96.0000000); // CreateDynamicObject(3655,-498.9920000,-288.4853500,51.6880000,7.0000000,355.0000000,80.0000000); // CreateDynamicObject(3655,-383.5748000,-160.4171000,59.8920000,-11.0000000,-6.0000000,-67.0000000); // CreateDynamicObject(3655,-365.3391100,-100.6491000,49.0060000,0.0000000,-3.0000000,0.0000000); // CreateDynamicObject(3655,-370.6420600,-65.9536400,44.1600000,350.0000000,0.0000000,12.0000000); // CreateDynamicObject(3655,-397.4367100,-13.4836000,37.8040000,-4.0000000,-5.0000000,36.0000000); // CreateDynamicObject(697,-585.3872700,-71.5138200,62.5961000,3.1416000,0.0000000,0.2704000); // CreateDynamicObject(697,-583.5076300,-54.3291200,61.4781000,3.1416000,0.0000000,0.2704000); // CreateDynamicObject(697,-561.9052700,-36.5594300,61.4781000,3.1416000,0.0000000,0.2704000); // CreateDynamicObject(697,-545.5649400,-37.3274500,61.4781000,3.1416000,0.0000000,0.2704000); // CreateDynamicObject(697,-580.7924800,-35.7724000,61.4781000,3.0000000,4.0000000,0.0000000); // CreateDynamicObject(697,-529.9163800,-37.6169900,61.4781000,3.1416000,0.0000000,0.2704000); // CreateDynamicObject(697,-483.0712600,-37.5259400,61.4781000,3.1416000,0.0000000,0.2704000); // CreateDynamicObject(697,-466.9229700,-37.3529000,61.4781000,3.1416000,0.0000000,0.2704000); // CreateDynamicObject(697,-451.2718800,-36.8845200,61.4781000,3.1416000,0.0000000,0.2704000); // CreateDynamicObject(697,-436.7788100,-36.0836400,61.4781000,3.1416000,0.0000000,0.2704000); // CreateDynamicObject(697,-434.4145500,-92.1371500,61.4781000,3.1416000,0.0000000,0.2704000); // CreateDynamicObject(697,-434.4922500,-107.3367800,61.4781000,3.1416000,0.0000000,0.2704000); // CreateDynamicObject(697,-434.4338400,-124.0588500,63.1941000,3.1416000,0.0000000,0.2704000); // CreateDynamicObject(697,-435.8280900,-138.1411000,70.1881000,3.0000000,2.0000000,0.0000000); // CreateDynamicObject(697,-437.3364600,-153.4574600,70.1881000,3.0000000,2.0000000,0.0000000); // CreateDynamicObject(3655,-580.9965200,-201.5770000,80.5380000,-2.0000000,4.0000000,270.0000000); // //roubo traficantes CreateDynamicObject(3029, 1450.62683, -1090.77539, 212.38281, 0.00000, 0.00000, 90.99149,1); CreateDynamicObject(3115, 1446.97546, -1043.81641, 215.26219, 88.90192, 0.00000, 0.00000,1); CreateDynamicObject(939, 1442.66406, -1077.47986, 214.82603, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(939, 1452.55322, -1063.53308, 214.82603, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(939, 1447.54297, -1063.55444, 214.82603, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(939, 1442.55383, -1063.50989, 214.82603, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(942, 1447.67969, -1077.47534, 214.81915, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(942, 1437.66895, -1077.50708, 214.81915, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(923, 1438.49597, -1071.08533, 213.26250, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(923, 1450.40430, -1068.17432, 213.26250, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(923, 1438.91699, -1055.82080, 213.26250, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(923, 1458.36023, -1053.42126, 213.26250, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(922, 1445.89893, -1050.95276, 213.26836, 0.00000, 0.00000, 323.19702,1); CreateDynamicObject(3378, 1469.01074, -1070.65698, 213.55273, 0.00000, 0.00000, 0.28000,1); CreateDynamicObject(3378, 1469.01074, -1070.65625, 215.84097, 0.00000, 0.00000, 0.27466,1); CreateDynamicObject(3378, 1469.01074, -1070.65625, 218.06372, 0.00000, 0.00000, 0.27466,1); CreateDynamicObject(10244, 1464.80225, -1084.03699, 215.63766, 0.00000, 0.00000, 0.39200,1); CreateDynamicObject(1219, 1464.88953, -1069.54333, 212.74574, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(1219, 1442.11511, -1074.96045, 212.74574, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(1219, 1440.04993, -1074.96216, 212.74574, 0.00000, 0.00000, 268.51843,1); CreateDynamicObject(1333, 1433.17065, -1061.00952, 213.30489, 0.00000, 0.00000, 89.78265,1); CreateDynamicObject(1333, 1433.17065, -1059.04114, 213.30489, 0.00000, 0.00000, 89.78027,1); CreateDynamicObject(1332, 1433.24988, -1063.99841, 213.44551, 0.00000, 0.00000, 90.95514,1); CreateDynamicObject(1332, 1433.25122, -1065.88892, 213.44551, 0.00000, 0.00000, 90.95032,1); CreateDynamicObject(1265, 1457.62561, -1052.43372, 212.85185, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(1265, 1458.32166, -1052.62805, 212.85185, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(1265, 1458.18408, -1051.98462, 212.85185, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(1265, 1458.87451, -1052.48657, 212.85185, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(1265, 1458.82324, -1051.89258, 212.85185, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(1265, 1458.34961, -1052.20752, 213.12677, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(12955, 1446.26172, -1067.48877, 214.95334, 0.00000, 0.00000, 48.37033,1); CreateDynamicObject(1299, 1464.59424, -1052.20654, 212.83867, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(1440, 1471.39734, -1075.56787, 219.76373, 0.00000, 0.00000, 267.99286,1); CreateDynamicObject(1441, 1467.50159, -1060.25110, 219.89626, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(3006, 1466.75415, -1070.00061, 219.24461, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(849, 1468.24902, -1076.80615, 219.54437, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(849, 1459.17322, -1064.75940, 212.68257, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(849, 1460.30151, -1064.15186, 212.68257, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(849, 1460.45886, -1065.74927, 212.68257, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(852, 1438.79565, -1083.62073, 212.38281, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(852, 1439.59766, -1082.50244, 212.38281, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(852, 1440.90161, -1083.43848, 212.38281, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(852, 1441.57031, -1082.50708, 212.38281, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(852, 1440.23242, -1084.36963, 212.38281, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(854, 1438.81116, -1048.88940, 212.58955, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(854, 1437.20581, -1048.93225, 212.58955, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(854, 1437.24866, -1050.53638, 212.58955, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(854, 1439.31128, -1050.48010, 212.58955, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(854, 1437.93506, -1050.51685, 212.58955, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(854, 1435.64209, -1050.57886, 212.58955, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(854, 1435.56067, -1047.59790, 212.58955, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(854, 1439.47644, -1048.17957, 212.58955, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(854, 1439.56274, -1051.38818, 212.58955, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(854, 1434.70471, -1049.91370, 212.58955, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(2672, 1448.59619, -1071.78857, 212.66228, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(2670, 1452.20154, -1084.21863, 212.47487, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(2670, 1443.83850, -1085.81287, 212.47487, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(2670, 1436.58350, -1087.71204, 212.47487, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(2670, 1434.63086, -1082.30591, 212.47487, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(2670, 1439.42664, -1079.79541, 212.47487, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(2670, 1447.25500, -1081.69690, 212.47487, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(2670, 1451.96216, -1087.29456, 212.47487, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(2670, 1457.99634, -1081.26147, 212.47487, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(2670, 1463.43555, -1088.13208, 212.47487, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(2670, 1464.67847, -1083.21729, 212.47487, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(3119, 1456.68738, -1087.70239, 212.68668, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(3119, 1452.74463, -1079.55737, 212.68668, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(3119, 1463.20667, -1077.03882, 212.68668, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(3119, 1453.67151, -1068.51331, 212.68668, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(3119, 1433.42529, -1072.83154, 212.68668, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(3119, 1438.55945, -1066.24646, 212.68668, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(3119, 1446.24072, -1057.86011, 212.68668, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(3119, 1452.28015, -1052.20447, 212.68668, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(3119, 1459.75085, -1059.64465, 212.68668, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(3119, 1464.47217, -1066.81909, 212.68668, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(3119, 1468.94519, -1064.30652, 219.54848, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(3119, 1469.78040, -1069.81824, 219.54848, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(3115, 1457.09241, -1043.82996, 215.23100, 88.90137, 0.00000, 0.00000,1); CreateDynamicObject(3115, 1469.07202, -1045.87366, 215.22539, 88.90137, 0.00000, 317.93909,1); CreateDynamicObject(3115, 1471.96094, -1057.75281, 215.23100, 88.89587, 0.00000, 270.46521,1); CreateDynamicObject(3115, 1472.09497, -1075.84424, 215.23100, 88.89038, 0.00000, 270.46143,1); CreateDynamicObject(3115, 1469.35596, -1088.93164, 215.23022, 88.89038, 0.00000, 230.50354,1); CreateDynamicObject(3115, 1459.07471, -1091.00073, 215.23022, 88.88489, 0.00000, 180.97827,1); CreateDynamicObject(3115, 1444.39050, -1091.22131, 215.23022, 88.87939, 0.00000, 180.97778,1); CreateDynamicObject(3115, 1435.83386, -1089.73682, 215.23022, 88.87939, 0.00000, 134.71082,1); CreateDynamicObject(3115, 1431.87537, -1074.92688, 215.23022, 88.87390, 0.00000, 88.66559,1); CreateDynamicObject(3115, 1432.30383, -1056.58557, 215.23022, 88.86841, 0.00000, 88.66516,1); CreateDynamicObject(3115, 1432.96448, -1048.30103, 215.23022, 88.86841, 0.00000, 36.08871,1); CreateDynamicObject(3115, 1442.01294, -1052.12109, 224.83591, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(3115, 1462.35120, -1052.10925, 224.83591, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(3115, 1462.36255, -1070.05090, 224.83591, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(3115, 1441.87793, -1070.31152, 224.83591, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(3115, 1441.81421, -1083.70215, 224.83591, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(3115, 1462.40479, -1086.22339, 224.83591, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(2891, 1469.72693, -1060.01819, 219.24461, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(2891, 1470.01892, -1060.17456, 219.24461, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(2891, 1470.24292, -1060.02051, 219.24461, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(2891, 1470.51648, -1060.02673, 219.24461, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(2891, 1470.07959, -1059.81299, 219.24461, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(2891, 1470.40625, -1059.65259, 219.24461, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(2891, 1470.76990, -1059.75208, 219.24461, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(2891, 1470.35254, -1059.98047, 219.33412, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(2891, 1470.09265, -1059.98840, 219.33412, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(2891, 1471.48633, -1061.17041, 219.24461, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(2891, 1471.39282, -1060.72229, 219.24461, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(2891, 1471.17261, -1060.88037, 219.24461, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(2891, 1470.89355, -1060.94324, 219.24461, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(2891, 1471.29846, -1061.43323, 219.24461, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(3383, 1453.63147, -1045.13818, 212.35730, 0.00000, 0.00000, 180.00000,1); CreateDynamicObject(1950, 1454.61316, -1044.63000, 213.58620, 0.00000, 0.00000, 230.00000,1); CreateDynamicObject(2894, 1453.18823, -1045.60059, 213.42841, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(2902, 1453.99573, -1044.64441, 214.01289, 0.00000, 90.00000, 0.00000,1); CreateDynamicObject(2749, 1454.39478, -1045.10059, 213.40370, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(2057, 1454.99841, -1045.68274, 213.58369, 0.00000, 0.00000, 180.00000,1); CreateDynamicObject(2891, 1455.01257, -1044.72485, 213.36839, 0.00000, 0.00000, -30.00000,1); CreateDynamicObject(2891, 1455.31177, -1044.90747, 213.36839, 0.00000, 0.00000, -30.00000,1); CreateDynamicObject(2891, 1455.01257, -1044.74536, 213.58839, 0.00000, 0.00000, -30.00000,1); CreateDynamicObject(2891, 1455.31226, -1044.90723, 213.58839, 0.00000, 0.00000, -30.00000,1); CreateDynamicObject(2057, 1455.23267, -1045.34766, 213.58369, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(2902, 1454.23584, -1044.64868, 214.01289, 0.00000, 90.00000, 0.00000,1); CreateDynamicObject(2749, 1454.54431, -1045.15637, 213.40370, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(2749, 1454.24097, -1045.17090, 213.40370, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(2749, 1454.41174, -1045.23438, 213.40370, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(3396, 1455.99023, -1048.02893, 212.36890, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(3384, 1450.73828, -1045.05542, 213.40530, 0.00000, 0.00000, 180.00000,1); CreateDynamicObject(2000, 1455.70215, -1049.96594, 212.35890, 0.00000, 0.00000, -90.00000,1); CreateDynamicObject(1993, 1448.62988, -1045.15857, 212.37260, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(3384, 1449.28589, -1045.18994, 213.40530, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(1993, 1447.62988, -1045.15857, 212.37260, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(1993, 1445.62988, -1045.15857, 212.37260, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(1993, 1446.62988, -1045.15857, 212.37260, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(1993, 1443.62988, -1045.15857, 212.37260, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(1993, 1444.62988, -1045.15857, 212.37260, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(1993, 1442.62988, -1045.15857, 212.37260, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(1994, 1441.62988, -1045.15857, 212.37260, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(1575, 1441.52576, -1044.96887, 213.14816, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(1575, 1441.51257, -1045.32935, 213.14816, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(1575, 1442.05554, -1044.96887, 213.14819, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(1575, 1442.04980, -1045.32935, 213.14819, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(1575, 1442.56091, -1044.96887, 213.14819, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(1575, 1442.55835, -1045.32935, 213.14819, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(1575, 1444.77405, -1044.96887, 213.14819, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(1575, 1444.76160, -1045.32935, 213.14819, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(1575, 1445.28662, -1044.96887, 213.14819, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(1575, 1445.32251, -1045.32935, 213.14819, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(1575, 1445.79810, -1044.96887, 213.14819, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(1575, 1445.80518, -1045.32935, 213.14819, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(1575, 1448.96741, -1044.96899, 213.14819, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(1575, 1448.96216, -1045.32935, 213.14819, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(1575, 1448.47266, -1044.96887, 213.14819, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(1575, 1448.45349, -1045.32935, 213.14819, 0.00000, 0.00000, 0.00000,1); CreateDynamicObject(1671, 1455.33313, -1047.88513, 212.83791, 0.00000, 0.00000, 90.00000,1); CreateDynamicObject(2976, 1450.89124, -1044.96057, 213.44350, 0.00000, 90.00000, 0.00000,1); //==========================[COFRE NAVIO]===========================// portanavio2 = CreateDynamicObject(2634, -1383, 1494.1, 2, 0, 0, 270); portanavio = CreateDynamicObject(980, -1422, 494.5, 4.8, 0, 0, 270); //==========================[ALUGUEL DE BARCOS]===========================// CreateDynamicObject(3753, 833.217224, -2076.076660, 2.095860, 0.0000, 0.0000, 180.0000,0); CreateDynamicObject(11495, 813.785950, -2096.161621, 1.029614, 0.0000, 0.0000, 180.0000,0); CreateDynamicObject(11495, 852.060059, -2096.150146, 1.013903, 0.0000, 0.0000, 0.0000,0); CreateDynamicObject(11495, 813.789612, -2118.138428, 1.031257, 0.0000, 0.0000, 180.0001,0); CreateDynamicObject(11495, 852.053040, -2118.067139, 1.033584, 0.0000, 0.0000, 0.0000,0); CreateDynamicObject(16135, 777.149231, -2122.929688, 0.438548, 0.0000, 0.0000, 225.0000,0); CreateDynamicObject(16135, 892.114258, -2122.068359, 0.482715, 0.0000, 0.0000, 303.7500,0); //Mercado Negro CreateDynamicObject(5422, 951.91357, 2160.92407, 1012.07861, 0.00000, 0.00000, 0.00000); CreateDynamicObject(5422, 951.87378, 2160.97314, 1012.07861, 0.00000, 0.00000, 0.00000); CreateDynamicObject(5422, 941.83875, 2147.60303, 1012.01471, 0.00000, 0.00000, 90.00000); CreateDynamicObject(19447, 947.08301, 2147.66089, 1011.96692, -90.00000, 0.00000, 90.00000); CreateDynamicObject(19447, 947.08301, 2147.66089, 1011.96692, -90.00000, 0.00000, 90.00000); CreateDynamicObject(19447, 937.30566, 2147.64819, 1011.85718, 90.00000, 0.00000, 90.00000); CreateDynamicObject(1654, 940.46680, 2178.23364, 1011.65259, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1654, 940.68683, 2178.25366, 1011.65259, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1654, 940.90680, 2178.25366, 1011.65259, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1654, 943.28680, 2178.25293, 1011.65259, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1654, 943.08679, 2178.25366, 1011.65259, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1654, 943.52679, 2178.25293, 1011.65259, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1252, 939.63483, 2178.19458, 1012.19659, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1252, 939.63483, 2178.19409, 1011.61658, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1252, 939.11481, 2178.19409, 1011.61658, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1252, 939.11481, 2178.19458, 1012.19659, 0.00000, 0.00000, 0.00000); CreateDynamicObject(11727, 939.27344, 2178.27905, 1013.52490, 0.00000, 0.00000, 0.00000); CreateDynamicObject(11727, 944.95343, 2178.27905, 1013.52490, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19602, 943.59778, 2177.83545, 1011.21393, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19602, 943.17780, 2177.83545, 1011.21393, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19602, 943.17780, 2177.55542, 1011.21393, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19602, 943.17780, 2177.55542, 1011.21393, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19602, 943.59778, 2177.55542, 1011.21393, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1242, 940.35693, 2177.81226, 1011.33618, 0.00000, 0.00000, 50.12000); CreateDynamicObject(2901, 940.61432, 2178.18311, 1013.48340, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2901, 940.61432, 2178.18311, 1012.84338, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2901, 942.27429, 2178.18311, 1012.84338, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2901, 942.27429, 2178.18311, 1013.48340, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2901, 943.79431, 2178.18311, 1012.84338, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2901, 943.79431, 2178.18311, 1013.48340, 0.00000, 0.00000, 0.00000); CreateDynamicObject(342, 940.53101, 2177.73438, 1011.19440, 0.00000, 0.00000, 0.00000); CreateDynamicObject(342, 940.45026, 2177.58765, 1011.19440, 0.00000, 0.00000, 0.00000); CreateDynamicObject(342, 940.69238, 2177.65894, 1011.19440, 0.00000, 0.00000, 0.00000); CreateDynamicObject(342, 940.61047, 2177.49170, 1011.19440, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1636, 941.76367, 2177.84912, 1011.23511, 0.00000, 0.00000, 90.00000); CreateDynamicObject(1636, 941.76752, 2177.47583, 1011.23511, 0.00000, 0.00000, 90.00000); CreateDynamicObject(2969, 940.41132, 2176.49609, 1010.17902, 0.00000, 0.00000, 65.00000); CreateDynamicObject(2035, 940.46777, 2176.50244, 1010.31201, 0.00000, 0.00000, 65.00000); //==========================[ARENA X1]===========================// CreateDynamicObject(972, -2317.9733886719, -1607.8778076172, 481.92987060547, 0, 0, 5.95263671875); CreateDynamicObject(972, -2333.5573730469, -1582.4885253906, 481.92987060547, 0, 0, 97.262329101563); CreateDynamicObject(972, -2342.1125488281, -1607.5842285156, 481.92987060547, 0, 0, 186.58666992188); CreateDynamicObject(972, -2322.4345703125, -1589.484375, 481.92987060547, 0, 0, 29.772521972656);//300 objetos CreateDynamicObject(972, -2315.3129882813, -1634.2191162109, 481.92987060547, 0, 0, 5.95263671875); CreateDynamicObject(972, -2339.2004394531, -1632.3326416016, 481.92987060547, 0, 0, 186.58703613281); CreateDynamicObject(8650, -2316.6611328125, -1618.7884521484, 474.04272460938, 90, 90, 7.93994140625); CreateDynamicObject(8650, -2328.5708007813, -1620.1850585938, 488.14788818359, 180, 180, 97.262329101563); CreateDynamicObject(8650, -2328.5256347656, -1620.2603759766, 486.49984741211, 179.99450683594, 179.99450683594, 97.261962890625); CreateDynamicObject(972, -2315.8947753906, -1624.5148925781, 481.92987060547, 0, 0, 5.9490966796875); CreateDynamicObject(8650, -2314.5227050781, -1618.5999755859, 474.04272460938, 90, 90, 7.9376220703125); CreateDynamicObject(8650, -2318.1958007813, -1618.8737792969, 474.04272460938, 90, 90, 5.9549560546875); CreateDynamicObject(972, -2344.6188964844, -1584.1512451172, 481.92987060547, 0, 0, 186.58630371094); CreateDynamicObject(972, -2330.990234375, -1642.7630615234, 481.92987060547, 0, 0, 275.91064453125); CreateDynamicObject(972, -2325.4072265625, -1642.2864990234, 481.92987060547, 0, 0, 275.90515136719); CreateDynamicObject(7657, -2333.6726074219, -1620.9918212891, 484.42767333984, 0, 0, 7.93994140625); //====[PORTaOX1]===// CreateDynamicObject(7891, -2321.5114746094, -1619.4454345703, 484.98388671875, 90, 0, 274.64562988281); //==========================[HOSPITAL]===========================// CreateDynamicObject(18030, 1163.30908, -1320.85718, -42.91639, 0.00000, 0.00000, 90.00000); CreateDynamicObject(19449, 1172.91382, -1316.41748, -45.91558, 0.00000, 0.00000, 90.00000); CreateDynamicObject(18092, 1167.12793, -1326.00476, -44.79440, 0.00000, 0.00000, -90.00000); CreateDynamicObject(2185, 1174.18933, -1315.81470, -45.28478, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2185, 1172.02869, -1315.81470, -45.28480, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2185, 1169.76953, -1315.81470, -45.28480, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1715, 1175.05432, -1314.24292, -45.28399, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1715, 1172.94055, -1314.29333, -45.28400, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1715, 1170.51819, -1314.29333, -45.28400, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19387, 1167.55603, -1314.69080, -43.53460, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19449, 1172.28540, -1313.12109, -43.53460, 0.00000, 0.00000, 90.00000); CreateDynamicObject(19449, 1172.48450, -1308.97131, -43.53460, 0.00000, 0.00000, 90.00000); CreateDynamicObject(19387, 1166.67578, -1308.96936, -43.53460, 0.00000, 0.00000, 90.00000); CreateDynamicObject(19387, 1168.61646, -1310.65308, -43.53460, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19430, 1168.61841, -1312.36963, -43.53460, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19357, 1164.94580, -1314.89734, -43.53460, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19387, 1166.47534, -1316.41748, -43.53460, 0.00000, 0.00000, 90.00000); CreateDynamicObject(19357, 1164.94580, -1311.68799, -43.53460, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19357, 1164.94775, -1310.40698, -43.53460, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2008, 1173.94373, -1312.51819, -45.28440, 0.00000, 0.00000, 90.00000); CreateDynamicObject(1714, 1175.52881, -1312.00610, -45.15990, 0.00000, 0.00000, -90.00000); CreateDynamicObject(1715, 1172.04395, -1311.28967, -45.28380, 0.00000, 0.00000, 77.00000); CreateDynamicObject(1715, 1172.01575, -1312.67920, -45.28380, 0.00000, 0.00000, 102.00000); CreateDynamicObject(2007, 1176.20386, -1309.62170, -44.80449, 0.00000, 0.00000, -90.00000); CreateDynamicObject(2007, 1176.20386, -1310.62305, -44.80450, 0.00000, 0.00000, -90.00000); CreateDynamicObject(2613, 1176.21399, -1311.97400, -45.28836, 0.00000, 0.00000, 0.00000); CreateDynamicObject(14455, 1173.70740, -1309.17566, -43.68773, 0.00000, 0.00000, 180.00000); CreateDynamicObject(1808, 1174.65430, -1309.24780, -45.28379, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2007, 1176.12427, -1310.62305, -46.23550, 0.00000, 0.00000, -90.00000); CreateDynamicObject(2007, 1176.12427, -1309.62170, -46.23550, 0.00000, 0.00000, -90.00000); CreateDynamicObject(2194, 1176.55481, -1311.77795, -44.48066, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2194, 1176.55957, -1311.38916, -44.48070, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2194, 1176.58704, -1312.21606, -44.48066, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2194, 1176.57800, -1312.63745, -44.48066, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2010, 1169.05457, -1312.65100, -45.28379, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2007, 1176.31201, -1313.77576, -44.80449, 0.00000, 0.00000, -90.00000); CreateDynamicObject(2007, 1176.30908, -1314.77551, -44.80449, 0.00000, 0.00000, -90.00000); CreateDynamicObject(14782, 1173.00916, -1307.89587, -44.05260, 0.00000, 0.00000, 180.00000); CreateDynamicObject(14782, 1174.62781, -1307.89978, -44.05460, 0.00000, 0.00000, 180.00000); CreateDynamicObject(14782, 1172.61865, -1304.66309, -44.05260, 0.00000, 0.00000, -90.00000); CreateDynamicObject(19449, 1158.18201, -1328.43970, -43.53460, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19449, 1153.31311, -1333.16711, -43.53460, 0.00000, 0.00000, 90.00000); CreateDynamicObject(19449, 1163.01538, -1328.54712, -43.53460, 0.00000, 0.00000, 90.00000); CreateDynamicObject(19357, 1167.74402, -1330.15881, -43.53460, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19357, 1167.74402, -1333.36670, -43.53460, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19357, 1167.74207, -1333.82776, -43.53460, 0.00000, 0.00000, 0.00000); CreateDynamicObject(18092, 1165.32898, -1324.21838, -44.79640, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19357, 1160.99951, -1326.93005, -43.53460, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19357, 1161.00171, -1325.33936, -43.53460, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19357, 1163.07996, -1330.15881, -43.53460, 0.00000, 0.00000, 0.00000); CreateDynamicObject(18092, 1163.92639, -1340.67249, -44.79440, 0.00000, 0.00000, -90.00000); CreateDynamicObject(18092, 1162.12769, -1338.82788, -44.79640, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19387, 1166.06738, -1334.07019, -43.53460, 0.00000, 0.00000, 90.00000); CreateDynamicObject(19357, 1163.07800, -1332.50647, -43.53460, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1801, 1164.97302, -1332.10742, -45.28364, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19357, 1163.07996, -1334.06824, -43.53460, 0.00000, 0.00000, 90.00000); CreateDynamicObject(19387, 1159.88123, -1334.07019, -43.53460, 0.00000, 0.00000, 90.00000); CreateDynamicObject(19357, 1158.18408, -1332.55688, -43.53460, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2333, 1164.66382, -1333.55737, -45.28360, 0.00000, 0.00000, 90.00000); CreateDynamicObject(2251, 1163.41370, -1333.02954, -43.47816, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2167, 1163.71228, -1328.67188, -45.09077, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2167, 1162.44946, -1328.67188, -45.09080, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1801, 1160.06628, -1332.10742, -45.28360, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2333, 1161.52478, -1332.50928, -45.28360, 0.00000, 0.00000, -90.00000); CreateDynamicObject(2251, 1162.51099, -1333.02771, -43.47820, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2596, 1161.47131, -1333.66870, -42.45050, 0.00000, 0.00000, 180.00000); CreateDynamicObject(2596, 1164.78455, -1333.66870, -42.45050, 0.00000, 0.00000, 180.00000); CreateDynamicObject(1823, 1166.46277, -1329.65588, -45.28392, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2853, 1167.10022, -1329.13501, -44.78861, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2647, 1166.60815, -1329.39026, -44.64582, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1823, 1158.49377, -1329.72803, -45.28392, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2853, 1158.98096, -1329.25317, -44.78861, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1997, 1160.33508, -1326.90918, -45.28415, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1997, 1160.37097, -1324.85217, -45.28415, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19387, 1156.31750, -1338.25305, -43.53460, 0.00000, 0.00000, 90.00000); CreateDynamicObject(19449, 1150.00439, -1337.95544, -43.53460, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19449, 1157.84338, -1342.98792, -43.53460, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19357, 1154.80176, -1336.56409, -43.53460, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19357, 1154.80371, -1334.84326, -43.53460, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2333, 1155.97717, -1334.84863, -45.28360, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2251, 1156.36499, -1333.71423, -43.47820, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2194, 1157.06702, -1333.74585, -44.04884, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2194, 1155.90613, -1333.74585, -44.04880, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19387, 1156.49548, -1323.69507, -43.53460, 0.00000, 0.00000, 90.00000); CreateDynamicObject(19449, 1150.09021, -1323.69702, -43.53460, 0.00000, 0.00000, 90.00000); CreateDynamicObject(3657, 1174.36011, -1329.02283, -44.82290, 0.00000, 0.00000, 180.00000); CreateDynamicObject(3657, 1174.36011, -1331.09692, -44.82290, 0.00000, 0.00000, 180.00000); CreateDynamicObject(3657, 1174.36011, -1333.21228, -44.82290, 0.00000, 0.00000, 180.00000); CreateDynamicObject(2773, 1169.42297, -1317.64478, -44.74807, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2773, 1171.69397, -1317.65588, -44.74807, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2773, 1173.95789, -1317.67529, -44.74810, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2773, 1167.75281, -1317.70178, -44.74807, 0.00000, 0.00000, 0.00000); CreateDynamicObject(932, 1168.79993, -1316.92224, -45.28402, 0.00000, 0.00000, 0.00000); CreateDynamicObject(932, 1168.79626, -1317.72754, -45.28402, 0.00000, 0.00000, 0.00000); CreateDynamicObject(932, 1168.80029, -1318.47388, -45.28402, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19449, 1160.10242, -1316.41553, -43.53460, 0.00000, 0.00000, 90.00000); CreateDynamicObject(19449, 1155.37683, -1308.57092, -43.53460, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2146, 1150.20959, -1310.55676, -44.88593, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2146, 1150.18469, -1313.28125, -44.88593, 0.00000, 0.00000, 0.00000); CreateDynamicObject(15036, 1153.24377, -1336.12036, -44.15332, 0.00000, 0.00000, 90.00000); CreateDynamicObject(2994, 1156.03821, -1342.28552, -44.80390, 0.00000, 0.00000, 90.00000); CreateDynamicObject(2994, 1154.22583, -1342.35107, -44.80390, 0.00000, 0.00000, 90.00000); CreateDynamicObject(2637, 1150.66626, -1341.81287, -44.91124, 0.00000, 0.00000, 90.00000); CreateDynamicObject(2639, 1152.38757, -1341.73608, -44.65756, 0.00000, 0.00000, 90.00000); CreateDynamicObject(2134, 1158.38232, -1341.33875, -45.28400, 0.00000, 0.00000, 90.00000); CreateDynamicObject(2341, 1158.38806, -1342.31018, -45.28420, 0.00000, 0.00000, 180.00000); CreateDynamicObject(2132, 1160.38074, -1342.29651, -45.28400, 0.00000, 0.00000, 180.00000); CreateDynamicObject(1808, 1158.14087, -1340.52881, -45.28400, 0.00000, 0.00000, 90.00000); CreateDynamicObject(1964, 1163.95581, -1338.92383, -44.15190, 0.00000, 0.00000, 90.00000); CreateDynamicObject(2190, 1164.21240, -1342.29810, -44.29410, 0.00000, 0.00000, 222.00000); CreateDynamicObject(2190, 1161.67725, -1338.29993, -44.29410, 0.00000, 0.00000, 4.00000); CreateDynamicObject(1715, 1161.84961, -1340.33984, -45.28400, 0.00000, 0.00000, 180.00000); CreateDynamicObject(1715, 1162.46350, -1341.38782, -45.28400, 0.00000, 0.00000, 90.00000); CreateDynamicObject(19325, 1174.43591, -1335.66663, -43.36420, 0.00000, 0.00000, 90.00000); CreateDynamicObject(3440, 1171.17017, -1335.67932, -43.11276, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19325, 1171.17017, -1341.70142, -43.36420, 0.00000, 0.00000, 0.00000); CreateDynamicObject(3440, 1171.17017, -1338.24036, -43.11280, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1768, 1162.06641, -1317.11865, -45.30917, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1768, 1174.99902, -1342.16565, -45.30920, 0.00000, 0.00000, 180.00000); CreateDynamicObject(1768, 1175.75293, -1339.46497, -45.30920, 0.00000, 0.00000, -90.00000); CreateDynamicObject(18014, 1176.57068, -1338.02930, -44.29411, 0.00000, 0.00000, 0.00000); CreateDynamicObject(18014, 1176.59045, -1342.60986, -44.29610, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2011, 1175.77478, -1342.40247, -45.28350, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1814, 1173.32361, -1340.85718, -45.28356, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1808, 1173.80859, -1335.88562, -45.28352, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1808, 1168.43970, -1316.11914, -45.28380, 0.00000, 0.00000, 180.00000); CreateDynamicObject(19449, 1172.91382, -1316.41748, -41.23349, 0.00000, 0.00000, 90.00000); CreateDynamicObject(19325, 1171.33215, -1316.41748, -41.69795, 0.00000, 0.00000, 90.00000); CreateDynamicObject(19325, 1177.92041, -1316.41943, -41.69800, 0.00000, 0.00000, 90.00000); CreateDynamicObject(16101, 1173.93445, -1316.41748, -53.15890, 0.00000, 0.00000, 0.00000); CreateDynamicObject(16101, 1171.69397, -1316.41748, -53.15890, 0.00000, 0.00000, 0.00000); CreateDynamicObject(16101, 1169.42297, -1316.41748, -53.15890, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2011, 1164.75708, -1316.84375, -45.28350, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2011, 1161.39612, -1316.84717, -45.28350, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2146, 1151.28992, -1310.53223, -44.88593, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2146, 1151.30078, -1313.17261, -44.88593, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1997, 1159.41003, -1326.91821, -45.28415, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2341, 1161.58716, -1327.98389, -45.28420, 0.00000, 0.00000, 180.00000); CreateDynamicObject(2134, 1161.57910, -1327.01428, -45.28400, 0.00000, 0.00000, 90.00000); CreateDynamicObject(2132, 1163.57104, -1327.96790, -45.28400, 0.00000, 0.00000, 180.00000); CreateDynamicObject(1964, 1167.20032, -1324.59448, -44.15190, 0.00000, 0.00000, 90.00000); CreateDynamicObject(2190, 1167.41223, -1327.56140, -44.29410, 0.00000, 0.00000, 222.00000); CreateDynamicObject(2190, 1164.45313, -1323.74353, -44.29410, 0.00000, 0.00000, 4.00000); CreateDynamicObject(1715, 1164.80518, -1325.74646, -45.28400, 0.00000, 0.00000, 180.00000); CreateDynamicObject(1715, 1165.41968, -1326.87598, -45.28400, 0.00000, 0.00000, 90.00000); CreateDynamicObject(1808, 1161.30652, -1326.21045, -45.28400, 0.00000, 0.00000, 90.00000); CreateDynamicObject(1997, 1155.95654, -1310.14563, -45.28415, 0.00000, 0.00000, 0.00000); CreateDynamicObject(3383, 1160.25964, -1312.26855, -45.28420, 0.00000, 0.00000, 180.00000); CreateDynamicObject(2341, 1164.33374, -1309.56396, -45.28420, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2132, 1162.34326, -1309.57849, -45.28400, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2132, 1164.31970, -1310.53235, -45.28400, 0.00000, 0.00000, -90.00000); CreateDynamicObject(3396, 1164.25378, -1314.72180, -45.28381, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2606, 1164.57068, -1314.40405, -42.90788, 0.00000, 0.00000, -90.00000); CreateDynamicObject(2133, 1161.34106, -1309.57849, -45.28400, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2133, 1160.34106, -1309.55859, -45.28400, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2603, 1150.52405, -1329.01318, -44.90500, 0.00000, 0.00000, 90.00000); CreateDynamicObject(2603, 1150.52405, -1326.89209, -44.90500, 0.00000, 0.00000, 90.00000); CreateDynamicObject(2603, 1150.52405, -1324.85083, -44.90500, 0.00000, 0.00000, 90.00000); CreateDynamicObject(2603, 1150.52405, -1331.16467, -44.90500, 0.00000, 0.00000, 90.00000); CreateDynamicObject(2603, 1156.95081, -1331.16467, -44.90500, 0.00000, 0.00000, 90.00000); CreateDynamicObject(2603, 1156.95081, -1329.01318, -44.90500, 0.00000, 0.00000, 90.00000); CreateDynamicObject(2603, 1156.95081, -1326.89209, -44.90500, 0.00000, 0.00000, 90.00000); CreateDynamicObject(2596, 1153.56042, -1332.75562, -42.78730, 0.00000, 0.00000, 180.00000); CreateDynamicObject(2596, 1153.56042, -1324.10510, -42.78730, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1533, 1176.77271, -1324.46033, -45.28440, 0.00000, 0.00000, -90.00000); CreateDynamicObject(1533, 1176.75879, -1325.93994, -45.28440, 0.00000, 0.00000, -90.00000); CreateDynamicObject(1886, 1168.35229, -1325.56812, -41.27430, 16.00000, 0.00000, 91.00000); CreateDynamicObject(1886, 1159.97913, -1336.37793, -41.27430, 16.00000, 0.00000, 76.00000); CreateDynamicObject(1886, 1159.81689, -1318.24207, -41.27430, 16.00000, 0.00000, 76.00000); CreateDynamicObject(1886, 1159.07678, -1322.03967, -41.27430, 16.00000, 0.00000, -92.00000); CreateDynamicObject(2251, 1173.69666, -1340.36841, -43.93500, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1523, 1165.68774, -1316.44983, -45.28395, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1523, 1167.52722, -1313.90332, -45.28390, 0.00000, 0.00000, -90.00000); CreateDynamicObject(1523, 1168.58203, -1309.85535, -45.28390, 0.00000, 0.00000, -90.00000); CreateDynamicObject(1523, 1165.88379, -1309.00793, -45.28390, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1523, 1169.75037, -1305.09265, -45.06800, 0.00000, 0.00000, -90.00000); CreateDynamicObject(14401, 1162.85083, -1305.62805, -45.06398, 0.00000, 0.00000, 0.00000); CreateDynamicObject(14401, 1154.72559, -1293.60718, -45.06600, 0.00000, 0.00000, 180.00000); CreateDynamicObject(1523, 1155.35254, -1313.38110, -45.28390, 0.00000, 0.00000, -90.00000); CreateDynamicObject(1523, 1155.70508, -1323.71460, -45.28395, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1523, 1155.41321, -1316.41907, -45.28390, 0.00000, 0.00000, 90.00000); CreateDynamicObject(19449, 1155.37292, -1311.68201, -40.99503, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19449, 1160.10425, -1316.41345, -40.46843, 0.00000, 0.00000, 90.00000); CreateDynamicObject(19357, 1164.94409, -1311.68689, -40.99500, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19357, 1164.94409, -1314.89624, -40.99500, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19357, 1164.94604, -1310.40588, -40.99500, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1533, 1149.42163, -1321.80444, -45.28440, 0.00000, 0.00000, 90.00000); CreateDynamicObject(1533, 1149.42529, -1320.36682, -45.28440, 0.00000, 0.00000, 90.00000); CreateDynamicObject(2774, 1148.82996, -1318.05542, -45.20044, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2774, 1148.82996, -1322.63342, -45.20040, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1502, 1159.09863, -1334.08252, -45.28405, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1502, 1166.81567, -1334.04443, -45.28400, 0.00000, 0.00000, 180.00000); CreateDynamicObject(18072, 1176.72900, -1325.89856, -43.19949, 0.00000, 0.00000, 90.00000); CreateDynamicObject(1651, 1167.81055, -1304.27026, -43.44110, 0.00000, 0.00000, -90.00000); CreateDynamicObject(1749, 1174.62805, -1316.42896, -41.56990, 14.00000, 0.00000, 0.00000); CreateDynamicObject(1749, 1171.32861, -1316.42896, -41.56990, 14.00000, 0.00000, 0.00000); CreateDynamicObject(2634, -2170.4, 640, 1057.7, 0, 0, 358);// Bloqueia Porta Yakuza //===============[HQ DETRAN]=================// portaomecls = CreateDynamicObject(980,1067.2301,1359.0468,11.6787,358.4865,0,0,0); //object(airportgate) (1) //farmacia CreateDynamicObject(1641, 402.14032, 1935.84192, 16.61540, 0.00000, 0.00000, 0.00000); CreateDynamicObject(12853, 839.05408, -719.52008, 500.87219, 0.00000, 0.00000, 0.00000); CreateDynamicObject(12854, 838.76422, -719.11768, 91.87218, 0.00000, 0.00000, 0.00000); CreateDynamicObject(12854, 838.75012, -725.49823, 500.81830, 0.00000, 0.00000, 360.00000); CreateDynamicObject(16501, 834.10583, -724.16809, 500.61945, 0.00000, 0.00000, 0.00000); CreateDynamicObject(16501, 835.68591, -719.44238, 500.20340, 0.00000, 0.00000, 91.00000); CreateDynamicObject(1651, 840.50977, -724.75720, 498.98639, 0.00000, 0.00000, 91.00000); CreateDynamicObject(16501, 843.60229, -724.67114, 500.20340, 0.00000, 0.00000, 4.00000); CreateDynamicObject(1651, 839.58368, -729.04865, 498.98639, 0.00000, 0.00000, 91.00000); CreateDynamicObject(19592, 835.09729, -729.30365, 499.34351, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19592, 835.09729, -729.30359, 499.43451, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19592, 835.09729, -729.30359, 499.52551, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19592, 835.09729, -729.30359, 499.61649, 0.00000, 0.00000, 0.00000); CreateDynamicObject(11736, 834.93860, -721.75909, 499.76801, 0.00000, 0.00000, 0.00000); CreateDynamicObject(11738, 834.97595, -722.10010, 499.77719, 0.00000, 0.00000, 0.00000); CreateDynamicObject(11705, 835.56244, -721.90424, 499.70221, 0.00000, 0.00000, 156.00000); CreateDynamicObject(11706, 835.10449, -719.90411, 498.86429, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19920, 835.92444, -721.95410, 499.74289, 0.00000, 0.00000, 178.00000); CreateDynamicObject(19893, 837.52142, -721.91138, 499.72501, 0.00000, 0.00000, 171.00000); CreateDynamicObject(1649, 836.10852, -722.04352, 497.90759, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1649, 840.12750, -719.60999, 499.30057, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1649, 842.46429, -720.63489, 498.87021, 0.00000, 0.00000, 91.00000); CreateDynamicObject(1649, 843.23083, -725.77594, 499.12271, 0.00000, 0.00000, -91.00000); CreateDynamicObject(1649, 834.61279, -731.18201, 498.87079, 0.00000, 0.00000, 91.00000); CreateDynamicObject(1649, 840.12274, -728.99548, 498.87006, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1649, 839.69641, -729.10327, 498.87073, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1649, 841.63770, -729.02429, 498.87067, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1649, 839.57819, -724.79517, 498.87137, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1649, 840.80750, -724.81921, 498.87131, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1649, 842.15802, -720.57336, 498.87009, 0.00000, 0.00000, 91.00000); CreateDynamicObject(1649, 840.70361, -719.54346, 498.86975, 0.00000, 0.00000, 0.00000); //===============[HQ MAFIA CN MUDAR]=================// CreateDynamicObject(3749,1498.7000000,-699.5999800,99.6000000,0.0000000,0.0000000,0.0000000); //object(clubgate01_lax) (1) CreateDynamicObject(5422,1483.2000000,-699.9000200,96.5000000,0.0000000,0.0000000,84.0000000); //object(laespraydoor1) (1) CreateDynamicObject(5422,1487.3000000,-700.2999900,96.5000000,0.0000000,0.0000000,83.9960000); //object(laespraydoor1) (2) PortaoCN = CreateDynamicObject(980,1498.8000000,-700.0000000,96.5000000,0.0000000,0.0000000,0.0000000); //object(airportgate) (1) CreateDynamicObject(5422, 1479.09998, -693.90002, 96.5, 0, 0, 270); CreateDynamicObject(5422, 1474.90002, -693.90002, 96.5, 0, 0, 270); CreateDynamicObject(5422, 1470.80005, -693.90002, 96.5, 0, 0, 270); CreateDynamicObject(5422, 1466.69995, -693.90002, 96.5, 0, 0, 270); CreateDynamicObject(5422, 1462.59998, -693.90002, 96.5, 0, 0, 270); CreateDynamicObject(5422, 1458.69995, -693.90002, 96.5, 0, 0, 270); CreateDynamicObject(5422, 1481.2998, -695.89941, 96.5, 0, 0, 180.5); CreateDynamicObject(5422, 1481.2998, -697.7998, 96.5, 0, 0, 180.5); CreateDynamicObject(5422, 1456.59998, -691.90002, 96.5, 0, 0, 180.25); CreateDynamicObject(5422, 1456.59998, -687.70001, 96.5, 0, 0, 180.247); CreateDynamicObject(5422, 1456.59998, -683.59998, 96.5, 0, 0, 180.247); CreateDynamicObject(5422, 1456.59998, -679.40002, 96.5, 0, 0, 180.247); CreateDynamicObject(5422, 1456.59998, -675.20001, 96.5, 0, 0, 180.247); CreateDynamicObject(5422, 1456.59998, -671, 96.5, 0, 0, 180.247); CreateDynamicObject(5422, 1456.59998, -666.79999, 96.5, 0, 0, 180.247); CreateDynamicObject(5422, 1456.59998, -662.59998, 96.5, 0, 0, 180.247); CreateDynamicObject(5422, 1456.59998, -659.09998, 96.5, 0, 0, 180.247); CreateDynamicObject(5422, 1462.59998, -657.09998, 96.5, 0, 0, 90.492); CreateDynamicObject(5422, 1458.59998, -657.09998, 96.5, 0, 0, 90.489); CreateDynamicObject(5422, 1466.80005, -657.09998, 96.5, 0, 0, 90.489); CreateDynamicObject(5422, 1471, -657.09998, 96.5, 0, 0, 90.489); CreateDynamicObject(5422, 1475.19995, -657.09998, 96.5, 0, 0, 90.489); CreateDynamicObject(5422, 1479.30005, -657.09998, 96.5, 0, 0, 90.489); CreateDynamicObject(5422, 1483.40002, -657.09998, 96.5, 0, 0, 90.489); CreateDynamicObject(5422, 1487.59998, -657.09998, 96.5, 0, 0, 90.489); CreateDynamicObject(5422, 1491.80005, -657.09998, 96.5, 0, 0, 90.489); CreateDynamicObject(5422, 1496, -657.09998, 96.5, 0, 0, 90.489); CreateDynamicObject(5422, 1500.09998, -657, 96.5, 0, 0, 90.489); CreateDynamicObject(5422, 1504.19995, -657, 96.5, 0, 0, 90.489); CreateDynamicObject(5422, 1508.30005, -657, 96.5, 0, 0, 90.489); CreateDynamicObject(5422, 1512.5, -657, 96.5, 0, 0, 90.239); CreateDynamicObject(5422, 1516.69995, -656.90002, 96.5, 0, 0, 90.236); CreateDynamicObject(5422, 1520.90002, -656.90002, 96.5, 0, 0, 90.236); CreateDynamicObject(5422, 1525.09998, -656.90002, 96.5, 0, 0, 90.236); CreateDynamicObject(5422, 1529, -656.90002, 96.5, 0, 0, 90.236); CreateDynamicObject(5422, 1531, -659, 96.5, 0, 0, 359.486); CreateDynamicObject(5422, 1531, -663.09998, 96.5, 0, 0, 359.484); CreateDynamicObject(5422, 1531, -667.20001, 96.5, 0, 0, 359.484); CreateDynamicObject(5422, 1531, -671.20001, 96.5, 0, 0, 359.484); CreateDynamicObject(5422, 1531, -675.29999, 96.5, 0, 0, 359.484); CreateDynamicObject(5422, 1531, -679.40002, 96.5, 0, 0, 359.484); CreateDynamicObject(5422, 1531, -683.5, 96.5, 0, 0, 359.484); CreateDynamicObject(5422, 1531, -687.59998, 96.5, 0, 0, 359.484); CreateDynamicObject(5422, 1531, -691.70001, 96.5, 0, 0, 359.484); CreateDynamicObject(5422, 1531, -695.79999, 96.5, 0, 0, 359.484); CreateDynamicObject(5422, 1531, -697.79999, 96.5, 0, 0, 359.484); CreateDynamicObject(5422, 1528.90002, -699.79999, 96.5, 0, 0, 268.984); CreateDynamicObject(5422, 1524.80005, -699.79999, 96.5, 0, 0, 268.978); CreateDynamicObject(5422, 1521, -699.79999, 96.5, 0, 0, 268.978); CreateDynamicObject(5422, 1516.90002, -699.79999, 96.5, 0, 0, 268.978); CreateDynamicObject(5422, 1512.90002, -699.70001, 96.5, 0, 0, 268.978); CreateDynamicObject(5422, 1510.59998, -699.70001, 96.5, 0, 0, 268.978); //Prefeitura CreateDynamicObject(16362, 1480.47876, -1722.32007, 15.52820, 0.00000, 0.00000, 269.95480); CreateDynamicObject(984, 1441.01245, -1714.37439, 13.18610, 0.00000, 0.00000, 359.95901); CreateDynamicObject(984, 1505.17944, -1720.77612, 13.18610, 0.00000, 0.00000, 270.06784); CreateDynamicObject(984, 1447.41785, -1720.78333, 13.18610, 0.00000, 0.00000, 270.06784); CreateDynamicObject(984, 1455.40271, -1720.75635, 13.18610, 0.00000, 0.00000, 270.06784); CreateDynamicObject(984, 1517.92053, -1714.35132, 13.18610, 0.00000, 0.00000, 0.70923); CreateDynamicObject(984, 1511.57666, -1720.76990, 13.18610, 0.00000, 0.00000, 270.06784); CreateDynamicObject(978, 1534.82947, -1640.78271, 13.37550, 0.00000, 0.00000, 89.85859); CreateDynamicObject(978, 1534.66101, -1704.75281, 13.37550, 0.00000, 0.00000, 89.85859); CreateDynamicObject(978, 1534.81799, -1650.02563, 13.37550, 0.00000, 0.00000, 89.85859); CreateDynamicObject(978, 1534.81372, -1659.08484, 13.37550, 0.00000, 0.00000, 89.85859); CreateDynamicObject(978, 1537.56970, -1668.51257, 13.37550, 0.00000, 0.00000, 89.85859); CreateDynamicObject(978, 1537.55420, -1676.82678, 13.37550, 0.00000, 0.00000, 89.85859); CreateDynamicObject(978, 1534.74231, -1686.22217, 13.37550, 0.00000, 0.00000, 89.85859); CreateDynamicObject(978, 1534.70300, -1695.46204, 13.37550, 0.00000, 0.00000, 89.85859); //+ Prefeitura & RoadBlock DP CreateDynamicObject(16362, 1480.47876, -1722.32007, 15.52820, 0.00000, 0.00000, 269.95480); CreateDynamicObject(984, 1441.01245, -1714.37439, 13.18610, 0.00000, 0.00000, 359.95901); CreateDynamicObject(984, 1505.17944, -1720.77612, 13.18610, 0.00000, 0.00000, 270.06784); CreateDynamicObject(984, 1447.41785, -1720.78333, 13.18610, 0.00000, 0.00000, 270.06784); CreateDynamicObject(984, 1455.40271, -1720.75635, 13.18610, 0.00000, 0.00000, 270.06784); CreateDynamicObject(984, 1517.92053, -1714.35132, 13.18610, 0.00000, 0.00000, 0.70923); CreateDynamicObject(984, 1511.57666, -1720.76990, 13.18610, 0.00000, 0.00000, 270.06784); CreateDynamicObject(978, 1534.82947, -1640.78271, 13.37550, 0.00000, 0.00000, 89.85859); CreateDynamicObject(978, 1534.66101, -1704.75281, 13.37550, 0.00000, 0.00000, 89.85859); CreateDynamicObject(978, 1534.81799, -1650.02563, 13.37550, 0.00000, 0.00000, 89.85859); CreateDynamicObject(978, 1534.81372, -1659.08484, 13.37550, 0.00000, 0.00000, 89.85859); CreateDynamicObject(978, 1537.56970, -1668.51257, 13.37550, 0.00000, 0.00000, 89.85859); CreateDynamicObject(978, 1537.55420, -1676.82678, 13.37550, 0.00000, 0.00000, 89.85859); CreateDynamicObject(978, 1534.74231, -1686.22217, 13.37550, 0.00000, 0.00000, 89.85859); CreateDynamicObject(978, 1534.70300, -1695.46204, 13.37550, 0.00000, 0.00000, 89.85859); //===============================[HQ YAKUZA]===============================// CreateDynamicObject(986, 668.23810, -1217.64343, 16.81433, 0.00000, 0.00000, 43.74180);//Portao Yakuza CreateDynamicObject(986, 2095.68945, -1446.87122, 23.56714, 0.00000, 0.00000, 268.12814);//Portao Hosp //PORTAO BOPE PortaoBope1 = CreateDynamicObject(971,283.09506200,-1542.89917000,25.51029400,0.00000000,0.00000000,326.25000000); // PortaoBope2 = CreateDynamicObject(971,321.83267200,-1488.61511200,25.52735300,0.00000000,0.00000000,323.67170000); // //=====================[HQ POLICIA FEDERAL]======================// PortaoPF = CreateDynamicObject(980,-489.3999900,-562.7000100,27.3000000,0.0000000,0.0000000,0.0000000); //object(airportgate) (1) CreateDynamicObject(3749,-489.2999900,-562.7000100,30.0000000,0.0000000,0.0000000,0.0000000); //object(clubgate01_lax) (1) //========================[HQ ROTA]==============================// CreateDynamicObject(987,2270.0000000,2503.1001000,10.8000000,0.0000000,0.0000000,0.0000000); //object(elecfence_bar) (1) CreateDynamicObject(987,2281.9004000,2503.1006000,10.8000000,0.0000000,0.0000000,0.0000000); //object(elecfence_bar) (2) CreateDynamicObject(987,2258.0000000,2503.1001000,10.8000000,0.0000000,0.0000000,0.0000000); //object(elecfence_bar) (3) CreateDynamicObject(987,2246.0000000,2503.1001000,10.8000000,0.0000000,0.0000000,0.0000000); //object(elecfence_bar) (4) CreateDynamicObject(987,2237.3999000,2469.8000000,10.8000000,0.0000000,0.0000000,270.0000000); //object(elecfence_bar) (5) CreateDynamicObject(987,2238.0000000,2503.1006000,10.8000000,0.0000000,0.0000000,0.0000000); //object(elecfence_bar) (6) CreateDynamicObject(987,2237.4004000,2502.5000000,10.8000000,0.0000000,0.0000000,270.0000000); //object(elecfence_bar) (7) CreateDynamicObject(987,2237.4004000,2490.6006000,10.8000000,0.0000000,0.0000000,270.0000000); //object(elecfence_bar) (8) CreateDynamicObject(987,2237.4004000,2478.6006000,10.8000000,0.0000000,0.0000000,270.0000000); //object(elecfence_bar) (9) CreateDynamicObject(987,2237.3000500,2447.6001000,10.8000000,0.0000000,0.0000000,270.0000000); //object(elecfence_bar) (10) CreateDynamicObject(987,2237.3000000,2441.8000000,10.8000000,0.0000000,0.0000000,270.0000000); //object(elecfence_bar) (11) CreateDynamicObject(987,2246.0000000,2503.1006000,10.8000000,0.0000000,0.0000000,0.0000000); //object(elecfence_bar) (12) CreateDynamicObject(987,2237.3000000,2430.1001000,9.8000000,0.0000000,0.0000000,0.0000000); //object(elecfence_bar) (13) PortaoROTA = CreateDynamicObject(980,2237.1001000,2453.1001000,12.5000000,0.0000000,0.0000000,90.0000000); //object(airportgate) (1) //PortaoPRO1 = CreateDynamicObject(980, 1810.06274, -1750.33496, 15.31620, 0.00000, 0.00000, -90.00000); //======================[HQ POLICIA CIVIL]=======================// CreateDynamicObject(3279, 914.72223, -1237.13879, 15.87660, 0.00000, 0.00000, 175.00000); CreateDynamicObject(987,807.7999900,-1216.9000200,16.5000000,0.0000000,0.0000000,271.5000000); //object(elecfence_bar) (1) CreateDynamicObject(987,807.7999900,-1205.5999800,18.3000000,0.0000000,0.0000000,269.9970000); //object(elecfence_bar) (2) CreateDynamicObject(987,807.9000200,-1195.5999800,20.1000000,0.0000000,0.0000000,269.9950000); //object(elecfence_bar) (3) CreateDynamicObject(987,807.9000200,-1185.9000200,22.1000000,0.0000000,0.0000000,269.9950000); //object(elecfence_bar) (4) CreateDynamicObject(987,807.7999900,-1176.0000000,23.6000000,0.0000000,0.0000000,269.9950000); //object(elecfence_bar) (5) CreateDynamicObject(987,807.7999900,-1164.3000500,23.6000000,0.0000000,0.0000000,269.9950000); //object(elecfence_bar) (6) CreateDynamicObject(987,807.7999900,-1158.4000200,23.6000000,0.0000000,0.0000000,269.9950000); //object(elecfence_bar) (7) CreateDynamicObject(987,819.7000100,-1158.5000000,25.3000000,0.0000000,0.0000000,180.4950000); //object(elecfence_bar) (8) CreateDynamicObject(987,831.5999800,-1158.4000200,25.3000000,0.0000000,0.0000000,180.4940000); //object(elecfence_bar) (9) CreateDynamicObject(987,843.5999800,-1158.5000000,25.3000000,0.0000000,0.0000000,180.4940000); //object(elecfence_bar) (10) CreateDynamicObject(987,855.5000000,-1158.6999500,25.3000000,0.0000000,0.0000000,180.4940000); //object(elecfence_bar) (12) CreateDynamicObject(987,867.2999900,-1158.6999500,25.3000000,0.0000000,0.0000000,180.4940000); //object(elecfence_bar) (13) CreateDynamicObject(987,867.2998000,-1158.6992200,25.3000000,0.0000000,0.0000000,180.4940000); //object(elecfence_bar) (14) CreateDynamicObject(987,879.2000100,-1158.8000500,25.3000000,0.0000000,0.0000000,179.9940000); //object(elecfence_bar) (15) CreateDynamicObject(987,891.2000100,-1158.8000500,25.3000000,0.0000000,0.0000000,179.9890000); //object(elecfence_bar) (17) CreateDynamicObject(987,903.0999800,-1158.6999500,26.0000000,0.0000000,0.0000000,179.9890000); //object(elecfence_bar) (18) CreateDynamicObject(987,915.0000000,-1158.8000500,26.0000000,0.0000000,0.0000000,179.9890000); //object(elecfence_bar) (19) CreateDynamicObject(987,926.9000200,-1158.9000200,26.0000000,0.0000000,0.0000000,179.9890000); //object(elecfence_bar) (20) CreateDynamicObject(987,927.0000000,-1166.8000500,29.6000000,0.0000000,88.0000000,87.9890000); //object(elecfence_bar) (21) CreateDynamicObject(987,926.7999900,-1164.6999500,29.6000000,0.0000000,87.9950000,87.9840000); //object(elecfence_bar) (22) CreateDynamicObject(987,933.2999900,-1166.4000200,29.9000000,0.0000000,90.0000000,179.9890000); //object(elecfence_bar) (23) CreateDynamicObject(987,933.0000000,-1166.5999800,29.9000000,0.0000000,90.0000000,179.9840000); //object(elecfence_bar) (24) CreateDynamicObject(987,933.2998000,-1178.0000000,26.0000000,0.0000000,0.0000000,90.7360000); //object(elecfence_bar) (26) CreateDynamicObject(987,931.0000000,-1188.9000200,21.3000000,0.0000000,0.0000000,92.2360000); //object(elecfence_bar) (27) CreateDynamicObject(987,931.1992200,-1198.0996100,20.4000000,0.0000000,0.0000000,92.2360000); //object(elecfence_bar) (28) CreateDynamicObject(987,925.2000100,-1203.8000500,24.0000000,0.0000000,87.9950000,92.2300000); //object(elecfence_bar) (30) CreateDynamicObject(987,925.0000000,-1199.0999800,24.0000000,0.0000000,87.9950000,2.4800000); //object(elecfence_bar) (31) CreateDynamicObject(987,931.2000100,-1198.8000500,20.4000000,0.0000000,0.0000000,92.2360000); //object(elecfence_bar) (32) CreateDynamicObject(987,925.0999800,-1237.0999800,24.0000000,0.0000000,87.9950000,91.7300000); //object(elecfence_bar) (34) CreateDynamicObject(987,925.0999800,-1239.0999800,24.0000000,0.0000000,87.9950000,91.7250000); //object(elecfence_bar) (35) CreateDynamicObject(987,924.7999900,-1238.6999500,24.0000000,0.0000000,90.0000000,0.4770000); //object(elecfence_bar) (36) CreateDynamicObject(987,925.7000100,-1238.5999800,24.0000000,0.0000000,90.0000000,0.4720000); //object(elecfence_bar) (37) CreateDynamicObject(987,931.5000000,-1250.3000500,19.2000000,0.0000000,0.0000000,91.2500000); //object(elecfence_bar) (38) CreateDynamicObject(987,931.4000200,-1250.6999500,19.2000000,0.0000000,0.0000000,91.2470000); //object(elecfence_bar) (39) CreateDynamicObject(987,930.5999800,-1260.5999800,17.3000000,0.0000000,0.0000000,91.2470000); //object(elecfence_bar) (40) CreateDynamicObject(987,930.5999800,-1270.3000500,16.5000000,0.0000000,0.0000000,91.2470000); //object(elecfence_bar) (41) CreateDynamicObject(987,930.7999900,-1280.1999500,16.5000000,0.0000000,0.0000000,91.2470000); //object(elecfence_bar) (42) CreateDynamicObject(987,930.7999900,-1289.9000200,15.8000000,0.0000000,0.0000000,91.2470000); //object(elecfence_bar) (43) CreateDynamicObject(987,930.7999900,-1298.0999800,15.1000000,0.0000000,0.0000000,91.2470000); //object(elecfence_bar) (44) CreateDynamicObject(987,930.5999800,-1308.9000200,15.1000000,0.0000000,0.0000000,90.9970000); //object(elecfence_bar) (45) CreateDynamicObject(987,918.7999900,-1308.5000000,15.1000000,0.0000000,0.0000000,1.4940000); //object(elecfence_bar) (46) CreateDynamicObject(987,906.9000200,-1308.5000000,15.1000000,0.0000000,0.0000000,0.7440000); //object(elecfence_bar) (47) CreateDynamicObject(987,894.9000200,-1308.4000200,15.1000000,0.0000000,0.0000000,0.7420000); //object(elecfence_bar) (48) CreateDynamicObject(987,883.0999800,-1308.1999500,15.1000000,0.0000000,0.0000000,0.7420000); //object(elecfence_bar) (49) CreateDynamicObject(987,871.0999800,-1308.4000200,15.1000000,0.0000000,0.0000000,0.7420000); //object(elecfence_bar) (50) CreateDynamicObject(987,859.2000100,-1308.4000200,15.1000000,0.0000000,0.0000000,0.7420000); //object(elecfence_bar) (51) CreateDynamicObject(987,847.0000000,-1308.5000000,15.1000000,0.0000000,0.0000000,0.7420000); //object(elecfence_bar) (52) CreateDynamicObject(987,845.0999800,-1308.4000200,15.1000000,0.0000000,0.0000000,0.7420000); //object(elecfence_bar) (53) CreateDynamicObject(987,845.0999800,-1308.0000000,15.1000000,0.0000000,0.0000000,0.7420000); //object(elecfence_bar) (55) CreateDynamicObject(987,808.0999800,-1228.6999500,17.8000000,0.0000000,0.0000000,270.2450000); //object(elecfence_bar) (56) CreateDynamicObject(987,808.0000000,-1240.5000000,17.8000000,0.0000000,0.0000000,270.2420000); //object(elecfence_bar) (57) CreateDynamicObject(987,808.0999800,-1252.0000000,17.8000000,0.0000000,0.0000000,270.2420000); //object(elecfence_bar) (58) CreateDynamicObject(987,808.0999800,-1263.6999500,17.8000000,0.0000000,0.0000000,270.2420000); //object(elecfence_bar) (59) CreateDynamicObject(987,808.0999800,-1275.4000200,17.8000000,0.0000000,0.0000000,271.4920000); //object(elecfence_bar) (60) CreateDynamicObject(987,925.0999800,-1206.5999800,24.0000000,0.0000000,87.9950000,92.2300000); //object(elecfence_bar) (68) CreateDynamicObject(973,923.08978271,-1211.93103027,19.56677818,0.00000000,90.00000000,163.99957275); //object(sub_roadbarrier) (1) CreateDynamicObject(973,923.09130859,-1212.42211914,19.10792160,0.00000000,90.00000000,163.99841309); //object(sub_roadbarrier) (2) CreateDynamicObject(973,923.13427734,-1212.88891602,18.51834488,0.00000000,90.00000000,163.99841309); //object(sub_roadbarrier) (3) pportaozin = CreateDynamicObject(10671, 922.90002441406, -1205.5999755859, 17.39999961853, 0, 0, 0); //portaozin //======================[HQ BALLAS]=======================// //=======[HQ PM SALA SECRETA]========// CreateDynamicObject(3092, 214.51143, 1822.94714, 7.29990, 0.00000, 0.00000, 270.00000); CreateDynamicObject(1308, 214.19962, 1822.72192, 5.23990, 356.86710, -0.02620, -1.60590); //-----------------------------[ INTERIOR ENFORCER ]------------------------------- CreateDynamicObject(11292, 2081.2998, -1375.0996, 300.79999, 0, 0, 0); CreateDynamicObject(976, 2081.2, -1368.4, 299.20001, 0, 0, 270.242); CreateDynamicObject(974, 2077.9893, -1376.5596, 300.83109, 0, 0, 0); CreateDynamicObject(974, 2078.16113, -1373.03064, 300.33054, 0, 0, 0); CreateDynamicObject(2395, 2080.77295, -1376.56055, 299.4906, 0, 0, 180); CreateDynamicObject(1533, 2085.6006, -1374, 299.60001, 0, 0, 270); //---------------- ( hq helpers ) -----------------/ CreateDynamicObject(19868, 2504.37329, -1742.41479, 12.45807, 0.00000, 0.00000, 178.74005); CreateDynamicObject(19868, 2502.71973, -1742.39453, 12.45807, 0.00000, 0.00000, 178.74005); CreateDynamicObject(19868, 2490.92310, -1742.43066, 12.44092, 0.00000, 0.00000, 180.36003); CreateDynamicObject(19868, 2485.73877, -1742.44177, 12.44092, 0.00000, 0.00000, 180.36003); CreateDynamicObject(19868, 2479.05298, -1742.43335, 12.44092, 0.00000, 0.00000, 180.36003); CreateDynamicObject(19868, 2473.88940, -1742.49133, 12.44092, 0.00000, 0.00000, 180.36003); CreateDynamicObject(19868, 2468.69873, -1742.50903, 12.44092, 0.00000, 0.00000, 180.36003); CreateDynamicObject(19868, 2463.50879, -1742.50623, 12.44092, 0.00000, 0.00000, 180.36003); CreateDynamicObject(19868, 2458.36060, -1742.52197, 12.44092, 0.00000, 0.00000, 180.36003); CreateDynamicObject(2960, 2489.36084, -1753.22473, 12.37068, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2960, 2489.46411, -1755.82666, 12.37068, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2960, 2489.41382, -1750.60083, 12.37068, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2960, 2489.60205, -1747.43762, 12.37068, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2960, 2504.08691, -1747.65796, 12.37852, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2960, 2504.04614, -1751.14551, 12.37852, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2960, 2504.09790, -1754.53259, 12.37852, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2960, 2496.47632, -1756.28784, 12.37884, 0.00000, 0.00000, -89.94005); CreateDynamicObject(2960, 2496.46582, -1751.78210, 12.37884, 0.00000, 0.00000, -89.94005); CreateDynamicObject(2960, 2496.45801, -1747.50098, 12.37884, 0.00000, 0.00000, -89.94005); CreateDynamicObject(19425, 2493.39307, -1743.39185, 12.54839, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19425, 2496.61865, -1743.37573, 12.54839, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19425, 2499.88892, -1743.36621, 12.54839, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19450, 2483.81860, -1760.77527, 14.12610, 0.00000, 0.00000, 87.78002); CreateDynamicObject(19450, 2483.81860, -1760.77527, 15.90219, 0.00000, 0.00000, 87.78002); CreateDynamicObject(19450, 2474.09521, -1754.97656, 14.21543, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19450, 2474.09521, -1754.97656, 15.87823, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2631, 2476.08228, -1750.50610, 12.49786, 0.00000, 0.00000, 0.00000); CreateDynamicObject(970, 2476.18701, -1749.28052, 12.96742, 0.00000, 0.00000, 0.00000); CreateDynamicObject(970, 2476.16162, -1751.72266, 12.96742, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1726, 2475.64819, -1748.96167, 12.52650, 0.00000, 0.00000, 90.89999); CreateDynamicObject(1726, 2475.67261, -1746.31714, 12.52650, 0.00000, 0.00000, 90.89999); CreateDynamicObject(19450, 2473.71973, -1747.30505, 13.55431, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19450, 2473.71973, -1747.30505, 14.61094, 0.00000, 0.00000, 0.00000); //======================[IGREJA]=======================// CreateDynamicObject(9931,1947.54003906,-368.51269531,1108.01086426,0.00000000,0.00000000,90.00000000); //object(church_sfe) (1) CreateDynamicObject(3976,1970.65722656,-341.23883057,1100.22949219,0.00000000,0.00000000,0.00000000); //object(policest02_lan) (1) CreateDynamicObject(9931,1980.55761719,-368.51562500,1108.01086426,0.00000000,0.00000000,90.00000000); //object(church_sfe) (2) CreateDynamicObject(3976,1962.70117188,-400.46679688,1109.52941895,0.00000000,0.00000000,90.00000000); //object(policest02_lan) (2) CreateDynamicObject(11472,1964.78710938,-372.02050781,1089.22351074,0.00000000,0.00000000,0.00000000); //object(des_swtstairs1) (1) CreateDynamicObject(11472,1963.28967285,-372.02139282,1089.22351074,0.00000000,0.00000000,0.00000000); //object(des_swtstairs1) (2) CreateDynamicObject(11472,1964.04479980,-372.98049927,1089.46386719,0.00000000,0.00000000,0.00000000); //object(des_swtstairs1) (3) CreateDynamicObject(11472,1962.66918945,-373.82989502,1087.66955566,90.00000000,180.00000000,270.00000000); //object(des_swtstairs1) (4) CreateDynamicObject(11472,1965.41259766,-373.81991577,1087.66992188,90.00000000,180.00000000,90.00000000); //object(des_swtstairs1) (5) CreateDynamicObject(970,1970.61437988,-368.20404053,1093.28039551,0.00000000,0.00000000,0.00000000); //object(fencesmallb) (1) CreateDynamicObject(970,1968.51074219,-368.20703125,1093.28039551,0.00000000,0.00000000,0.00000000); //object(fencesmallb) (2) CreateDynamicObject(970,1957.52185059,-368.25833130,1093.28039551,0.00000000,0.00000000,0.00000000); //object(fencesmallb) (3) CreateDynamicObject(970,1959.61914062,-368.25585938,1093.28039551,0.00000000,0.00000000,0.00000000); //object(fencesmallb) (4) CreateDynamicObject(6959,1963.97839355,-368.12149048,1072.75439453,90.00000000,0.00000000,0.25000000); //object(vegasnbball1) (2) CreateDynamicObject(2960,1964.05883789,-348.98986816,1101.36645508,0.00000000,90.00000000,89.99450684); //object(kmb_beam) (1) CreateDynamicObject(2960,1963.98291016,-349.00000000,1101.70666504,90.00000000,0.00000000,179.99450684); //object(kmb_beam) (2) CreateDynamicObject(2960,1964.05871582,-348.99044800,1100.00585938,0.00000000,90.00000000,90.00000000); //object(kmb_beam) (3) CreateDynamicObject(3872,1964.02685547,-346.40850830,1102.33020020,0.00000000,155.25000000,90.27026367); //object(ws_floodbeams) (1) CreateDynamicObject(1667,1962.98828125,-370.41271973,1093.62292480,0.00000000,0.00000000,0.00000000); //object(propwineglass1) (1) CreateDynamicObject(1664,1962.83520508,-370.42520142,1093.70104980,0.00000000,0.00000000,0.00000000); //object(propwinebotl2) (1) CreateDynamicObject(2868,1965.95605469,-370.30142212,1093.53430176,0.00000000,0.00000000,0.00000000); //object(gb_ornament03) (1) CreateDynamicObject(2869,1964.02185059,-373.78527832,1093.66992188,0.00000000,0.00000000,323.75000000); //object(gb_ornament04) (1) CreateDynamicObject(2870,1965.26269531,-373.64062500,1093.66992188,0.00000000,0.00000000,350.03002930); //object(gb_ornament05) (1) CreateDynamicObject(2270,1965.47998047,-352.47622681,1093.48364258,0.00000000,0.00000000,270.00000000); //object(frame_wood_6) (1) CreateDynamicObject(2257,1964.05615234,-373.94995117,1095.86132812,0.00000000,0.00000000,180.00000000); //object(frame_clip_4) (1) CreateDynamicObject(2271,1962.60437012,-352.58059692,1093.48803711,0.00000000,0.00000000,90.00000000); //object(frame_wood_1) (1) CreateDynamicObject(2357,1964.05090332,-370.68905640,1093.12402344,0.00000000,0.00000000,0.00000000); //object(dunc_dinning) (1) CreateDynamicObject(2808,1957.51367188,-364.26171875,1092.59191895,0.00000000,0.00000000,179.99450684); //object(cj_pizza_chair4) (1) CreateDynamicObject(2808,1959.68164062,-364.26171875,1092.59191895,0.00000000,0.00000000,179.99450684); //object(cj_pizza_chair4) (2) CreateDynamicObject(2808,1970.61328125,-364.26171875,1092.59191895,0.00000000,0.00000000,179.99450684); //object(cj_pizza_chair4) (3) CreateDynamicObject(2808,1968.44238281,-364.26171875,1092.59191895,0.00000000,0.00000000,179.99450684); //object(cj_pizza_chair4) (4) CreateDynamicObject(2808,1961.85546875,-364.26171875,1092.59191895,0.00000000,0.00000000,179.99450684); //object(cj_pizza_chair4) (5) CreateDynamicObject(2808,1966.27246094,-364.26171875,1092.59191895,0.00000000,0.00000000,179.99450684); //object(cj_pizza_chair4) (6) CreateDynamicObject(2868,1962.14697266,-370.30624390,1093.53430176,0.00000000,0.00000000,0.00000000); //object(gb_ornament03) (4) CreateDynamicObject(948,1966.09277344,-374.17285156,1092.72888184,0.00000000,0.00000000,0.00000000); //object(plant_pot_10) (1) CreateDynamicObject(948,1961.96313477,-374.22888184,1092.72888184,0.00000000,0.00000000,0.00000000); //object(plant_pot_10) (2) CreateDynamicObject(2894,1963.95080566,-370.94277954,1093.53430176,0.00000000,0.00000000,0.00000000); //object(kmb_rhymesbook) (1) CreateDynamicObject(3462,1959.30407715,-374.06838989,1094.24255371,0.00000000,0.00000000,270.00000000); //object(csrangel_lvs) (1) CreateDynamicObject(3462,1968.78125000,-374.06835938,1094.24255371,0.00000000,0.00000000,270.00000000); //object(csrangel_lvs) (2) CreateDynamicObject(949,1956.02258301,-353.46194458,1095.83190918,0.00000000,0.00000000,0.00000000); //object(plant_pot_4) (1) CreateDynamicObject(2946,1965.59985352,-349.21301270,1091.94543457,0.00000000,0.00000000,90.00000000); //object(cr_door_03) (2) CreateDynamicObject(2946,1962.47033691,-349.19955444,1091.94543457,0.00000000,0.00000000,270.00000000); //object(cr_door_03) (3) CreateDynamicObject(2808,1970.60681152,-360.67248535,1092.59191895,0.00000000,0.00000000,179.99450684); //object(cj_pizza_chair4) (6) CreateDynamicObject(2808,1968.43054199,-360.67248535,1092.59191895,0.00000000,0.00000000,179.99450684); //object(cj_pizza_chair4) (6) CreateDynamicObject(2808,1966.25378418,-360.67248535,1092.59191895,0.00000000,0.00000000,179.99450684); //object(cj_pizza_chair4) (6) CreateDynamicObject(2808,1957.52233887,-360.67248535,1092.59191895,0.00000000,0.00000000,179.99450684); //object(cj_pizza_chair4) (6) CreateDynamicObject(2808,1959.69580078,-360.67248535,1092.59191895,0.00000000,0.00000000,179.99450684); //object(cj_pizza_chair4) (6) CreateDynamicObject(2808,1961.86865234,-360.67248535,1092.59191895,0.00000000,0.00000000,179.99450684); //object(cj_pizza_chair4) (6) CreateDynamicObject(2808,1957.51660156,-357.18194580,1092.59191895,0.00000000,0.00000000,179.99450684); //object(cj_pizza_chair4) (6) CreateDynamicObject(2808,1959.69250488,-357.18194580,1092.59191895,0.00000000,0.00000000,179.99450684); //object(cj_pizza_chair4) (6) CreateDynamicObject(2808,1961.86779785,-357.18194580,1092.59191895,0.00000000,0.00000000,179.99450684); //object(cj_pizza_chair4) (6) CreateDynamicObject(2808,1970.61279297,-357.18194580,1092.59191895,0.00000000,0.00000000,179.99450684); //object(cj_pizza_chair4) (6) CreateDynamicObject(2808,1968.43701172,-357.18194580,1092.59191895,0.00000000,0.00000000,179.99450684); //object(cj_pizza_chair4) (6) CreateDynamicObject(2808,1966.26782227,-357.18194580,1092.59191895,0.00000000,0.00000000,179.99450684); //object(cj_pizza_chair4) (6) CreateDynamicObject(14705,1962.68139648,-373.67498779,1093.91894531,0.00000000,0.00000000,0.00000000); //object(int2vase) (1) CreateDynamicObject(14410,1968.61401367,-349.16000366,1092.01757812,0.00000000,0.00000000,270.00000000); //object(carter-stairs03) (1) CreateDynamicObject(11472,1971.98046875,-351.97091675,1092.19567871,0.00000000,0.00000000,90.00000000); //object(des_swtstairs1) (6) CreateDynamicObject(11472,1971.98046875,-353.19616699,1092.19567871,0.00000000,0.00000000,90.00000000); //object(des_swtstairs1) (7) CreateDynamicObject(14410,1959.47412109,-349.41287231,1092.01660156,0.00000000,0.00000000,90.00000000); //object(carter-stairs03) (2) CreateDynamicObject(11472,1956.10046387,-351.96487427,1092.19567871,0.00000000,0.00000000,270.00000000); //object(des_swtstairs1) (8) CreateDynamicObject(11472,1956.10046387,-353.19616699,1092.19567871,0.00000000,0.00000000,270.00000000); //object(des_swtstairs1) (9) CreateDynamicObject(11472,1965.10974121,-347.94531250,1095.44091797,0.00000000,90.00000000,180.00000000); //object(des_swtstairs1) (10) CreateDynamicObject(11472,1962.98315430,-347.94104004,1095.44018555,0.00000000,270.00000000,179.99450684); //object(des_swtstairs1) (11) CreateDynamicObject(1698,1962.46606445,-352.53399658,1095.31420898,0.00000000,0.00000000,270.27026367); //object(esc_step8) (1) CreateDynamicObject(1698,1962.87316895,-352.53399658,1095.53918457,0.00000000,0.00000000,270.26916504); //object(esc_step8) (2) CreateDynamicObject(1698,1963.24682617,-352.53399658,1095.76416016,0.00000000,0.00000000,270.26916504); //object(esc_step8) (3) CreateDynamicObject(1698,1965.60021973,-352.53399658,1095.31420898,0.00000000,0.00000000,90.00000000); //object(esc_step8) (4) CreateDynamicObject(1698,1965.20434570,-352.53399658,1095.53918457,0.00000000,0.00000000,90.00000000); //object(esc_step8) (5) CreateDynamicObject(1698,1964.72375488,-352.53399658,1095.76416016,0.00000000,0.00000000,270.26916504); //object(esc_step8) (6) CreateDynamicObject(970,1964.05688477,-353.88497925,1096.74243164,0.00000000,0.00000000,0.00000000); //object(fencesmallb) (4) CreateDynamicObject(970,1959.94470215,-353.88497925,1095.74719238,0.00000000,0.00000000,0.00000000); //object(fencesmallb) (4) CreateDynamicObject(970,1955.77246094,-353.88589478,1095.74719238,0.00000000,0.00000000,0.00000000); //object(fencesmallb) (4) CreateDynamicObject(970,1968.17297363,-353.88497925,1095.74719238,0.00000000,0.00000000,0.00000000); //object(fencesmallb) (4) CreateDynamicObject(970,1972.25000000,-353.88589478,1095.74719238,0.00000000,0.00000000,0.00000000); //object(fencesmallb) (4) CreateDynamicObject(970,1959.97607422,-351.29064941,1095.74719238,0.00000000,0.00000000,0.00000000); //object(fencesmallb) (4) CreateDynamicObject(970,1968.10302734,-351.29064941,1095.74719238,0.00000000,0.00000000,0.00000000); //object(fencesmallb) (4) CreateDynamicObject(970,1965.96203613,-349.21618652,1096.74169922,0.00000000,0.00000000,90.00000000); //object(fencesmallb) (4) CreateDynamicObject(970,1962.13757324,-349.21618652,1096.74243164,0.00000000,0.00000000,90.00000000); //object(fencesmallb) (4) CreateDynamicObject(2887,1964.04821777,-349.34906006,1094.78955078,90.00000000,0.00000000,0.00000000); //object(a51_spotbulb) (1) CreateDynamicObject(949,1971.95068359,-353.46038818,1095.83190918,0.00000000,0.00000000,0.00000000); //object(plant_pot_4) (2) CreateDynamicObject(948,1965.68554688,-352.45767212,1091.94543457,0.00000000,0.00000000,0.00000000); //object(plant_pot_10) (1) CreateDynamicObject(948,1962.38427734,-352.45767212,1091.94543457,0.00000000,0.00000000,0.00000000); //object(plant_pot_10) (1) CreateDynamicObject(1742,1955.84399414,-353.83831787,1091.94543457,0.00000000,0.00000000,0.00000000); //object(med_bookshelf) (1) CreateDynamicObject(1742,1957.28173828,-353.83831787,1091.94543457,0.00000000,0.00000000,0.00000000); //object(med_bookshelf) (2) CreateDynamicObject(1742,1958.71166992,-353.83831787,1091.94543457,0.00000000,0.00000000,0.00000000); //object(med_bookshelf) (3) CreateDynamicObject(1742,1960.15112305,-353.83831787,1091.94543457,0.00000000,0.00000000,0.00000000); //object(med_bookshelf) (4) CreateDynamicObject(1742,1971.77673340,-353.83831787,1091.94543457,0.00000000,0.00000000,0.00000000); //object(med_bookshelf) (5) CreateDynamicObject(1742,1970.34277344,-353.83831787,1091.94543457,0.00000000,0.00000000,0.00000000); //object(med_bookshelf) (6) CreateDynamicObject(1742,1968.90930176,-353.83831787,1091.94543457,0.00000000,0.00000000,0.00000000); //object(med_bookshelf) (7) CreateDynamicObject(1742,1967.47534180,-353.83831787,1091.94543457,0.00000000,0.00000000,0.00000000); //object(med_bookshelf) (8) CreateDynamicObject(949,1961.60729980,-354.34103394,1092.58166504,0.00000000,0.00000000,0.00000000); //object(plant_pot_4) (3) CreateDynamicObject(949,1966.46325684,-354.34805298,1092.58166504,0.00000000,0.00000000,0.00000000); //object(plant_pot_4) (4) CreateDynamicObject(1720,1970.09338379,-373.59497070,1092.72888184,0.00000000,0.00000000,180.00000000); //object(rest_chair) (1) CreateDynamicObject(1720,1970.91198730,-373.58316040,1092.72888184,0.00000000,0.00000000,179.99450684); //object(rest_chair) (2) CreateDynamicObject(741,1969.29675293,-369.22723389,1093.71252441,0.00000000,0.00000000,0.00000000); //object(pot_01) (1) CreateDynamicObject(3440,1969.29125977,-370.86264038,1091.08007812,0.00000000,0.00000000,0.00000000); //object(arptpillar01_lvs) (1) CreateDynamicObject(14455,1955.32812500,-348.54144287,1096.87585449,0.00000000,0.00000000,270.00000000); //object(gs_bookcase) (1) CreateDynamicObject(14455,1972.78356934,-352.90487671,1096.86743164,0.00000000,0.00000000,90.00000000); //object(gs_bookcase) (2) CreateDynamicObject(2842,1964.51916504,-365.60891724,1091.94543457,0.00000000,0.00000000,90.00000000); //object(gb_bedrug04) (1) CreateDynamicObject(2842,1964.51843262,-363.77880859,1091.94543457,0.00000000,0.00000000,90.00000000); //object(gb_bedrug04) (2) CreateDynamicObject(2842,1964.51867676,-361.94879150,1091.94543457,0.00000000,0.00000000,90.00000000); //object(gb_bedrug04) (3) CreateDynamicObject(2842,1964.52172852,-360.12713623,1091.94543457,0.00000000,0.00000000,90.00000000); //object(gb_bedrug04) (4) CreateDynamicObject(2842,1964.52636719,-358.30560303,1091.94543457,0.00000000,0.00000000,90.00000000); //object(gb_bedrug04) (5) CreateDynamicObject(2842,1964.52600098,-356.47940063,1091.94543457,0.00000000,0.00000000,90.00000000); //object(gb_bedrug04) (6) CreateDynamicObject(2842,1964.52343750,-354.64611816,1091.94543457,0.00000000,0.00000000,90.00000000); //object(gb_bedrug04) (7) CreateDynamicObject(2842,1964.52136230,-352.82815552,1091.94543457,0.00000000,0.00000000,90.00000000); //object(gb_bedrug04) (8) CreateDynamicObject(2842,1964.51867676,-350.99310303,1091.94543457,0.00000000,0.00000000,90.00000000); //object(gb_bedrug04) (9) CreateDynamicObject(2842,1964.52026367,-349.16046143,1091.94543457,0.00000000,0.00000000,90.00000000); //object(gb_bedrug04) (10) CreateDynamicObject(2833,1963.55749512,-369.65057373,1092.72888184,0.00000000,0.00000000,0.00000000); //object(gb_livingrug02) (1) CreateDynamicObject(2834,1968.81579590,-372.52481079,1092.72888184,0.00000000,0.00000000,0.00000000); //object(gb_livingrug03) (1) CreateDynamicObject(6959,1951.26586914,-360.22650146,1095.56030273,310.00000000,180.00000000,90.00000000); //object(vegasnbball1) (1) CreateDynamicObject(6959,1976.87695312,-356.75421143,1095.51965332,310.00000000,180.00000000,270.00000000); //object(vegasnbball1) (3) CreateDynamicObject(6959,1958.95715332,-378.23306274,1096.33813477,309.99572754,179.99450684,180.00000000); //object(vegasnbball1) (4) //==================================[Penitenciaria]==================================// CreateDynamicObject(19377, 2262.38110, 1946.16431, 38.29680, 0.00000, 90.00000, 0.00000); CreateDynamicObject(19377, 2262.36328, 1955.68237, 38.29680, 0.00000, 90.00000, 0.00000); CreateDynamicObject(19377, 2262.48096, 1965.30469, 38.29680, 0.00000, 90.00000, 0.00000); CreateDynamicObject(19377, 2252.21362, 1946.18433, 38.29680, 0.00000, 90.00000, 0.00000); CreateDynamicObject(19377, 2252.16016, 1955.63574, 38.29680, 0.00000, 90.00000, 0.00000); CreateDynamicObject(19377, 2252.21460, 1965.17798, 38.29680, 0.00000, 90.00000, 0.00000); CreateDynamicObject(19377, 2272.76221, 1946.33337, 38.29680, 0.00000, 90.00000, 0.00000); CreateDynamicObject(19377, 2283.16650, 1946.31641, 38.29680, 0.00000, 90.00000, 0.00000); CreateDynamicObject(19377, 2272.76978, 1955.93030, 38.33677, 0.00000, 90.00000, 0.00000); CreateDynamicObject(19377, 2283.14917, 1955.95020, 38.29680, 0.00000, 90.00000, 0.00000); CreateDynamicObject(19377, 2272.89160, 1965.52954, 38.29680, 0.00000, 90.00000, 0.00000); CreateDynamicObject(19377, 2283.15698, 1965.53882, 38.29680, 0.00000, 90.00000, 0.00000); CreateDynamicObject(19377, 2283.96680, 1958.92285, 41.78350, 0.00000, 90.00000, 0.00000); CreateDynamicObject(19377, 2283.97388, 1949.69458, 45.34511, 0.00000, 90.00000, 0.00000); CreateDynamicObject(19377, 2251.38477, 1958.88977, 41.78240, 0.00000, 90.00000, 0.00000); CreateDynamicObject(19377, 2251.36890, 1949.31885, 41.78240, 0.00000, 90.00000, 0.00000); CreateDynamicObject(19377, 2283.99976, 1959.18359, 48.89077, 0.00000, 90.00000, 0.00000); CreateDynamicObject(19377, 2283.90259, 1949.40186, 41.78240, 0.00000, 90.00000, 0.00000); CreateDynamicObject(19377, 2251.41553, 1949.34766, 45.34510, 0.00000, 90.00000, 0.00000); CreateDynamicObject(19377, 2251.39771, 1959.01111, 45.34510, 0.00000, 90.00000, 0.00000); CreateDynamicObject(19460, 2251.79541, 1941.43799, 39.91032, 0.00000, 0.00000, 270.04330); CreateDynamicObject(19396, 2256.56299, 1942.98584, 40.11230, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19396, 2256.56372, 1946.08606, 40.11230, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19396, 2256.57153, 1949.28577, 40.11230, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19396, 2256.56226, 1952.49609, 40.11230, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19396, 2256.56201, 1955.70618, 40.11230, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19396, 2256.58008, 1958.88440, 40.11230, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19396, 2256.58276, 1962.06506, 40.11230, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19460, 2251.72876, 1944.54199, 39.91032, 0.00000, 0.00000, 270.04330); CreateDynamicObject(19460, 2251.77197, 1947.74121, 39.91032, 0.00000, 0.00000, 270.04330); CreateDynamicObject(19460, 2246.96167, 1946.13843, 39.91030, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19460, 2251.75317, 1950.81970, 39.91032, 0.00000, 0.00000, 270.04330); CreateDynamicObject(19460, 2251.70532, 1954.01196, 39.91032, 0.00000, 0.00000, 270.04330); CreateDynamicObject(19460, 2251.70728, 1957.22095, 39.91032, 0.00000, 0.00000, 270.04330); CreateDynamicObject(19460, 2246.94482, 1955.71887, 39.91030, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19460, 2246.94775, 1965.31921, 39.91030, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19460, 2251.75464, 1960.50146, 39.91032, 0.00000, 0.00000, 270.04330); CreateDynamicObject(19460, 2251.76123, 1963.60168, 39.91032, 0.00000, 0.00000, 270.04330); CreateDynamicObject(19460, 2261.38086, 1941.44446, 40.11230, 0.00000, 0.00000, 270.04330); CreateDynamicObject(14877, 2271.50952, 1965.00415, 43.23590, 0.00000, 0.00000, 269.51010); CreateDynamicObject(19368, 2266.14087, 1939.85645, 43.61710, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19441, 2265.41504, 1938.31519, 40.11230, 0.00000, 0.00000, 270.04330); CreateDynamicObject(19368, 2269.30786, 1939.93091, 40.11230, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19460, 2274.02173, 1941.45300, 43.61710, 0.00000, 0.00000, 270.04330); CreateDynamicObject(19368, 2269.28467, 1936.74658, 40.11230, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19460, 2265.00635, 1935.87048, 40.11230, 0.00000, 0.00000, 270.04330); CreateDynamicObject(19368, 2261.74219, 1939.78650, 40.11230, 0.00000, 0.00000, 0.00000); CreateDynamicObject(14877, 2263.19336, 1939.83032, 39.59690, 0.00000, 0.00000, 89.80300); CreateDynamicObject(19454, 2261.31396, 1943.12219, 41.78240, 0.00000, 90.00000, -90.00000); CreateDynamicObject(19368, 2264.67407, 1939.88916, 40.11230, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19454, 2265.48071, 1937.31104, 40.10337, 0.00000, 90.00000, -90.00000); CreateDynamicObject(19368, 2261.73999, 1937.57214, 40.11230, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19396, 2278.80029, 1943.16553, 40.11230, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19460, 2283.61719, 1941.45068, 39.91032, 0.00000, 0.00000, 270.04330); CreateDynamicObject(19454, 2270.87988, 1943.11865, 41.78240, 0.00000, 90.00000, -90.00000); CreateDynamicObject(19396, 2278.81006, 1946.34778, 40.11230, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19396, 2278.80005, 1949.55054, 40.11231, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19396, 2278.80078, 1952.75195, 40.11230, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19396, 2278.79614, 1955.95752, 40.11230, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19460, 2283.58276, 1957.48425, 39.91032, 0.00000, 0.00000, 270.04330); CreateDynamicObject(19396, 2278.80737, 1959.09216, 40.11230, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19396, 2278.80371, 1962.36658, 47.14545, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19460, 2283.59229, 1963.90332, 39.91032, 0.00000, 0.00000, 270.04330); CreateDynamicObject(19460, 2283.56567, 1960.67761, 39.91032, 0.00000, 0.00000, 270.04330); CreateDynamicObject(19460, 2283.56152, 1954.25317, 39.91032, 0.00000, 0.00000, 270.04330); CreateDynamicObject(19460, 2283.60010, 1951.14648, 39.91032, 0.00000, 0.00000, 270.04330); CreateDynamicObject(19460, 2283.59937, 1947.95190, 39.91032, 0.00000, 0.00000, 270.04330); CreateDynamicObject(19460, 2283.59253, 1944.83142, 39.91032, 0.00000, 0.00000, 270.04330); CreateDynamicObject(19460, 2288.29639, 1946.15454, 39.91030, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19460, 2288.29663, 1955.69104, 39.91030, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19460, 2288.31152, 1965.18848, 39.91030, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19460, 2274.02173, 1941.45300, 40.11230, 0.00000, 0.00000, 270.04330); CreateDynamicObject(19454, 2277.09912, 1946.28906, 41.78240, 0.00000, 90.00000, 0.00000); CreateDynamicObject(19454, 2277.10083, 1955.77234, 41.78245, 0.00000, 90.00000, 0.00000); CreateDynamicObject(19454, 2274.05981, 1962.12659, 41.78240, 0.00000, 90.00000, -90.00000); CreateDynamicObject(19454, 2274.07056, 1962.04578, 45.34510, 0.00000, 90.00000, -90.00000); CreateDynamicObject(19454, 2258.26099, 1959.06873, 41.78240, 0.00000, 90.00000, 0.00000); CreateDynamicObject(19454, 2258.25806, 1949.54785, 41.78240, 0.00000, 90.00000, 0.00000); CreateDynamicObject(1800, 2284.61963, 1963.39978, 38.28311, 0.00000, 0.00000, 268.81116); CreateDynamicObject(1800, 2284.64502, 1960.15967, 38.28311, 0.00000, 0.00000, 268.81116); CreateDynamicObject(1800, 2284.65063, 1956.90112, 38.28311, 0.00000, 0.00000, 268.81116); CreateDynamicObject(1800, 2284.67480, 1953.72217, 38.28311, 0.00000, 0.00000, 268.81116); CreateDynamicObject(1800, 2284.70044, 1950.60815, 38.28311, 0.00000, 0.00000, 268.81116); CreateDynamicObject(1800, 2284.69263, 1947.44885, 38.28311, 0.00000, 0.00000, 268.81116); CreateDynamicObject(1800, 2284.68433, 1944.26672, 38.28311, 0.00000, 0.00000, 268.81116); CreateDynamicObject(2000, 2284.87231, 1944.19824, 38.38392, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2000, 2285.05127, 1947.36255, 38.38392, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2000, 2285.31592, 1950.53308, 38.38392, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2000, 2285.31714, 1953.69360, 38.38392, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2000, 2285.38428, 1956.89270, 38.38392, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2000, 2285.33789, 1960.07874, 38.38392, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2000, 2285.04346, 1963.31445, 38.38392, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19304, 2261.82227, 1944.83081, 42.39760, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19304, 2265.33179, 1944.81982, 42.39760, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19304, 2268.80176, 1944.81555, 42.39760, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19304, 2272.32324, 1944.81079, 42.39760, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19304, 2273.57080, 1944.79468, 42.39760, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19304, 2275.42871, 1946.62354, 42.39760, 0.00000, 0.00000, 269.77841); CreateDynamicObject(19304, 2275.43896, 1950.17285, 42.39760, 0.00000, 0.00000, 269.77841); CreateDynamicObject(19304, 2275.44556, 1953.71448, 42.39760, 0.00000, 0.00000, 269.77841); CreateDynamicObject(19304, 2275.46143, 1957.31470, 42.39760, 0.00000, 0.00000, 269.77841); CreateDynamicObject(19304, 2275.45728, 1958.69971, 42.39760, 0.00000, 0.00000, 269.77841); CreateDynamicObject(19304, 2261.61133, 1960.45166, 42.39760, 0.00000, 0.00000, 0.30000); CreateDynamicObject(19304, 2259.86938, 1957.36902, 42.39760, 0.00000, 0.00000, 269.77841); CreateDynamicObject(19304, 2259.86206, 1953.78992, 42.39760, 0.00000, 0.00000, 269.77841); CreateDynamicObject(19304, 2259.85571, 1950.16943, 42.39760, 0.00000, 0.00000, 269.77841); CreateDynamicObject(19304, 2259.84888, 1946.58960, 42.39760, 0.00000, 0.00000, 269.77841); CreateDynamicObject(1800, 2245.98413, 1944.00647, 41.55990, 0.00000, 0.00000, 268.81116); CreateDynamicObject(2000, 2250.26929, 1943.86804, 38.38392, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1800, 2246.08716, 1947.18323, 38.28311, 0.00000, 0.00000, 268.81116); CreateDynamicObject(2000, 2250.25562, 1947.05652, 38.38392, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1800, 2246.10718, 1950.22400, 38.28311, 0.00000, 0.00000, 268.81116); CreateDynamicObject(2000, 2250.37427, 1950.21851, 38.38392, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2000, 2250.31763, 1953.35815, 38.38392, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1800, 2246.23193, 1953.44604, 38.28311, 0.00000, 0.00000, 268.81116); CreateDynamicObject(1800, 2246.23413, 1956.72644, 38.28311, 0.00000, 0.00000, 268.81116); CreateDynamicObject(1800, 2246.31885, 1959.80798, 38.28311, 0.00000, 0.00000, 268.81116); CreateDynamicObject(1800, 2246.28125, 1963.04846, 38.28311, 0.00000, 0.00000, 268.81116); CreateDynamicObject(2000, 2250.34009, 1956.63916, 38.38392, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2000, 2250.39429, 1960.02417, 38.38392, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2000, 2250.48096, 1963.03809, 38.38392, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19460, 2269.43652, 1941.43872, 43.61710, 0.00000, 0.00000, 270.04330); CreateDynamicObject(19368, 2266.12427, 1939.89551, 40.11230, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19441, 2265.41504, 1938.31519, 43.61710, 0.00000, 0.00000, 270.04330); CreateDynamicObject(19368, 2264.67407, 1939.88916, 43.61710, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19368, 2269.27954, 1939.93140, 43.61710, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19368, 2269.28467, 1936.74658, 43.61710, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19460, 2265.00635, 1935.87048, 43.61710, 0.00000, 0.00000, 270.04330); CreateDynamicObject(19460, 2257.00732, 1941.31323, 43.61710, 0.00000, 0.00000, 270.04330); CreateDynamicObject(19368, 2261.73315, 1937.55334, 43.61710, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19368, 2261.74219, 1939.78650, 43.61710, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19396, 2256.54297, 1942.98608, 43.61709, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19396, 2256.54150, 1946.18591, 43.61710, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19396, 2256.55029, 1949.34546, 43.61710, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19396, 2256.53809, 1952.52515, 43.61710, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19396, 2256.54346, 1955.68616, 43.61710, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19396, 2256.54395, 1958.88391, 43.61710, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19396, 2256.54663, 1962.02344, 43.61710, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19304, 2259.87891, 1958.57837, 42.39760, 0.00000, 0.00000, 269.77841); CreateDynamicObject(19304, 2265.13525, 1960.48010, 42.39760, 0.00000, 0.00000, 0.30000); CreateDynamicObject(19304, 2268.66382, 1960.50232, 42.39760, 0.00000, 0.00000, 0.30000); CreateDynamicObject(19304, 2272.22388, 1960.53369, 42.39760, 0.00000, 0.00000, 0.30000); CreateDynamicObject(19304, 2273.70117, 1960.53040, 42.39760, 0.00000, 0.00000, 0.30000); CreateDynamicObject(19460, 2274.84326, 1963.63074, 39.91032, 0.00000, 0.00000, 270.04330); CreateDynamicObject(19460, 2270.86816, 1963.62341, 39.91032, 0.00000, 0.00000, 270.04330); CreateDynamicObject(19460, 2261.33691, 1963.60730, 39.91032, 0.00000, 0.00000, 270.04330); CreateDynamicObject(19460, 2251.76123, 1963.60168, 43.41810, 0.00000, 0.00000, 270.04330); CreateDynamicObject(19460, 2262.02344, 1963.75745, 43.61710, 0.00000, 0.00000, 270.04330); CreateDynamicObject(19460, 2274.84326, 1963.63074, 43.61710, 0.00000, 0.00000, 270.04330); CreateDynamicObject(19460, 2283.59229, 1963.90332, 43.41810, 0.00000, 0.00000, 270.04330); CreateDynamicObject(19396, 2278.85181, 1962.27991, 43.61710, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19396, 2278.84741, 1959.09229, 43.61710, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19396, 2278.83569, 1955.95752, 43.61710, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19396, 2278.84058, 1952.75195, 43.61710, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19396, 2278.84009, 1949.54993, 43.61710, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19396, 2278.85205, 1946.34534, 43.61710, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19396, 2278.86084, 1943.14514, 43.61710, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19460, 2283.61719, 1941.45068, 43.41810, 0.00000, 0.00000, 270.04330); CreateDynamicObject(19460, 2288.29639, 1946.15454, 43.41810, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19460, 2288.29663, 1955.69104, 43.41810, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19460, 2288.31152, 1965.18848, 43.41810, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19454, 2283.61914, 1942.91174, 41.78240, 0.00000, 90.00000, -90.00000); CreateDynamicObject(19460, 2283.67480, 1960.77222, 43.41810, 0.00000, 0.00000, 270.04330); CreateDynamicObject(19460, 2283.58276, 1957.48425, 43.41810, 0.00000, 0.00000, 270.04330); CreateDynamicObject(19460, 2283.58105, 1954.29346, 43.41810, 0.00000, 0.00000, 270.04330); CreateDynamicObject(19460, 2283.60010, 1951.14648, 43.41810, 0.00000, 0.00000, 270.04330); CreateDynamicObject(19460, 2283.59937, 1947.95190, 43.41810, 0.00000, 0.00000, 270.04330); CreateDynamicObject(19460, 2283.59253, 1944.83142, 43.41810, 0.00000, 0.00000, 270.04330); CreateDynamicObject(19460, 2251.79541, 1941.43799, 43.41810, 0.00000, 0.00000, 270.04330); CreateDynamicObject(19460, 2251.72876, 1944.54199, 43.41810, 0.00000, 0.00000, 270.04330); CreateDynamicObject(19460, 2251.77197, 1947.74121, 43.41810, 0.00000, 0.00000, 270.04330); CreateDynamicObject(19460, 2251.75317, 1950.81970, 43.41810, 0.00000, 0.00000, 270.04330); CreateDynamicObject(19460, 2251.78052, 1954.03979, 43.41810, 0.00000, 0.00000, 270.04330); CreateDynamicObject(19460, 2251.70728, 1957.22095, 43.41810, 0.00000, 0.00000, 270.04330); CreateDynamicObject(19460, 2251.75464, 1960.50146, 43.41810, 0.00000, 0.00000, 270.04330); CreateDynamicObject(19460, 2251.78052, 1954.03979, 43.41810, 0.00000, 0.00000, 270.04330); CreateDynamicObject(19460, 2246.94482, 1955.71887, 43.41810, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19460, 2246.94775, 1965.31921, 43.41810, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19460, 2246.96167, 1946.13843, 43.41810, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19454, 2251.77710, 1942.84119, 41.78240, 0.00000, 90.00000, -90.00000); CreateDynamicObject(1800, 2246.05078, 1943.97949, 38.28311, 0.00000, 0.00000, 268.81116); CreateDynamicObject(1800, 2246.08716, 1947.18323, 41.55990, 0.00000, 0.00000, 268.81119); CreateDynamicObject(1800, 2246.10718, 1950.22400, 41.55990, 0.00000, 0.00000, 268.81119); CreateDynamicObject(1800, 2246.23193, 1953.44604, 41.55990, 0.00000, 0.00000, 268.81119); CreateDynamicObject(2000, 2250.31763, 1953.35815, 41.55990, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2000, 2250.34009, 1956.63916, 41.55990, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2000, 2250.25562, 1947.05652, 41.55990, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2000, 2250.26929, 1943.86804, 41.55990, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1800, 2246.23413, 1956.72644, 41.55990, 0.00000, 0.00000, 268.81119); CreateDynamicObject(1800, 2246.31885, 1959.80798, 41.55990, 0.00000, 0.00000, 268.81119); CreateDynamicObject(1800, 2246.28125, 1963.04846, 41.55990, 0.00000, 0.00000, 268.81119); CreateDynamicObject(2000, 2250.48096, 1963.03809, 41.55990, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2000, 2250.39429, 1960.02417, 41.55990, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1800, 2284.61963, 1963.39978, 41.55990, 0.00000, 0.00000, 268.81119); CreateDynamicObject(1800, 2284.64502, 1960.15967, 41.55990, 0.00000, 0.00000, 268.81119); CreateDynamicObject(2000, 2285.33789, 1960.07874, 41.55990, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2000, 2285.04346, 1963.31445, 41.55990, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2000, 2285.38428, 1956.89270, 41.55990, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2000, 2285.31714, 1953.69360, 41.55990, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1800, 2284.67480, 1953.72217, 41.55990, 0.00000, 0.00000, 268.81119); CreateDynamicObject(1800, 2284.65063, 1956.90112, 41.55990, 0.00000, 0.00000, 268.81119); CreateDynamicObject(1800, 2284.70044, 1950.60815, 41.55990, 0.00000, 0.00000, 268.81119); CreateDynamicObject(2000, 2285.31592, 1950.53308, 41.55990, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1800, 2284.69263, 1947.44885, 41.55990, 0.00000, 0.00000, 268.81119); CreateDynamicObject(2000, 2285.05127, 1947.36255, 41.55990, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1800, 2284.68433, 1944.26672, 41.55990, 0.00000, 0.00000, 268.81119); CreateDynamicObject(2000, 2284.87231, 1944.19824, 41.55990, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19454, 2283.63477, 1943.14734, 45.34510, 0.00000, 90.00000, -90.00000); CreateDynamicObject(19454, 2251.77710, 1942.84119, 45.34510, 0.00000, 90.00000, -90.00000); CreateDynamicObject(19454, 2268.29761, 1968.40637, 41.78240, 0.00000, 90.00000, 0.00000); CreateDynamicObject(19454, 2264.46533, 1962.12061, 41.78240, 0.00000, 90.00000, -90.00000); CreateDynamicObject(19454, 2264.88110, 1962.07043, 45.34510, 0.00000, 90.00000, -90.00000); CreateDynamicObject(19454, 2258.34082, 1959.00879, 45.34510, 0.00000, 90.00000, 0.00000); CreateDynamicObject(19454, 2274.22290, 1971.09058, 41.78240, 0.00000, 90.00000, -90.00000); CreateDynamicObject(19368, 2270.10010, 1965.19653, 43.41810, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19368, 2270.10449, 1968.00598, 43.41810, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19460, 2266.78223, 1968.49158, 43.41810, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19460, 2254.59399, 1963.75171, 43.61710, 0.00000, 0.00000, 270.04330); CreateDynamicObject(19460, 2271.33618, 1972.75476, 43.41810, 0.00000, 0.00000, 270.04330); CreateDynamicObject(19460, 2273.07397, 1968.53967, 43.41810, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19454, 2258.31201, 1949.55078, 45.34510, 0.00000, 90.00000, 0.00000); CreateDynamicObject(19454, 2261.36011, 1943.03345, 45.34510, 0.00000, 90.00000, -90.00000); CreateDynamicObject(19454, 2270.89331, 1943.00269, 45.34510, 0.00000, 90.00000, -90.00000); CreateDynamicObject(19454, 2277.20898, 1946.19971, 45.34510, 0.00000, 90.00000, 0.00000); CreateDynamicObject(19454, 2277.21899, 1955.69470, 45.34510, 0.00000, 90.00000, 0.00000); CreateDynamicObject(19304, 2275.53247, 1958.64844, 45.94810, 0.00000, 0.00000, 270.28650); CreateDynamicObject(19396, 2278.82520, 1962.28577, 40.11230, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19396, 2278.81592, 1959.21191, 47.14550, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19396, 2278.81592, 1955.95764, 47.14550, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19396, 2278.82007, 1952.77173, 47.14550, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19396, 2278.81689, 1949.57324, 47.14550, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19396, 2278.80981, 1946.38782, 47.14550, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19396, 2278.80078, 1943.20569, 47.14550, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19460, 2283.54028, 1941.66528, 47.04440, 0.00000, 0.00000, 270.04330); CreateDynamicObject(19460, 2288.29639, 1946.15454, 47.04440, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19460, 2288.29663, 1955.69104, 47.04440, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19460, 2288.29224, 1965.20923, 47.04440, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19460, 2283.59229, 1963.90332, 47.04440, 0.00000, 0.00000, 270.04330); CreateDynamicObject(19460, 2283.64600, 1960.80286, 47.04440, 0.00000, 0.00000, 270.04330); CreateDynamicObject(19460, 2283.68848, 1957.52148, 47.04440, 0.00000, 0.00000, 270.04330); CreateDynamicObject(19460, 2283.56738, 1954.42346, 47.04440, 0.00000, 0.00000, 270.04330); CreateDynamicObject(19460, 2283.66968, 1951.14453, 47.04440, 0.00000, 0.00000, 270.04330); CreateDynamicObject(19460, 2283.57788, 1947.88794, 47.04440, 0.00000, 0.00000, 270.04330); CreateDynamicObject(19460, 2283.60669, 1944.77698, 47.04440, 0.00000, 0.00000, 270.04330); CreateDynamicObject(19460, 2273.93188, 1941.67017, 47.14550, 0.00000, 0.00000, 270.04330); CreateDynamicObject(19377, 2265.22095, 1936.63135, 45.24511, 0.00000, 90.00000, 0.00000); CreateDynamicObject(19396, 2256.52124, 1942.97949, 47.14550, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19460, 2261.41870, 1941.65942, 47.14550, 0.00000, 0.00000, 270.04330); CreateDynamicObject(19460, 2251.79541, 1941.43799, 47.04440, 0.00000, 0.00000, 270.04330); CreateDynamicObject(19396, 2256.52441, 1946.16626, 47.14550, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19396, 2256.52612, 1949.36560, 47.14550, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19396, 2256.52710, 1952.56494, 47.14550, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19396, 2256.53125, 1955.72595, 47.14550, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19396, 2256.53442, 1958.92651, 47.14550, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19396, 2256.53687, 1962.10706, 47.14550, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19460, 2251.76123, 1963.60168, 47.04440, 0.00000, 0.00000, 270.04330); CreateDynamicObject(19460, 2247.69873, 1965.37317, 47.04440, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19460, 2247.81177, 1955.67346, 47.04440, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19460, 2247.82031, 1946.05396, 47.04440, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19460, 2251.74707, 1944.61047, 47.04440, 0.00000, 0.00000, 270.04330); CreateDynamicObject(19460, 2251.75269, 1947.77466, 47.04440, 0.00000, 0.00000, 269.74332); CreateDynamicObject(19460, 2251.71143, 1950.99451, 47.04440, 0.00000, 0.00000, 269.74332); CreateDynamicObject(19460, 2251.71118, 1954.15540, 47.04440, 0.00000, 0.00000, 269.74332); CreateDynamicObject(19460, 2251.67407, 1957.29382, 47.04440, 0.00000, 0.00000, 269.74332); CreateDynamicObject(19460, 2251.79688, 1960.55920, 47.04440, 0.00000, 0.00000, 269.74332); CreateDynamicObject(19460, 2265.34424, 1963.73303, 47.14550, 0.00000, 0.00000, 270.04330); CreateDynamicObject(19368, 2270.08594, 1967.99829, 46.89440, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19368, 2270.08350, 1965.26819, 46.89440, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19460, 2266.78223, 1968.49158, 46.89440, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19460, 2271.33618, 1972.75476, 46.89440, 0.00000, 0.00000, 270.04330); CreateDynamicObject(19460, 2273.09473, 1968.72290, 46.89440, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19460, 2256.00439, 1963.72888, 47.14550, 0.00000, 0.00000, 270.04330); CreateDynamicObject(19460, 2277.82593, 1963.86450, 47.04440, 0.00000, 0.00000, 270.04330); CreateDynamicObject(1800, 2247.10791, 1956.68042, 45.18494, 0.00000, 0.00000, 268.81119); CreateDynamicObject(2000, 2250.82544, 1943.84546, 45.18490, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1800, 2246.82178, 1953.51221, 45.18490, 0.00000, 0.00000, 268.81119); CreateDynamicObject(2000, 2250.93164, 1947.16675, 45.18490, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1800, 2246.92554, 1959.87024, 45.18494, 0.00000, 0.00000, 268.81119); CreateDynamicObject(1800, 2246.91040, 1943.94775, 45.18490, 0.00000, 0.00000, 268.81119); CreateDynamicObject(1800, 2247.02832, 1947.22070, 45.18490, 0.00000, 0.00000, 268.81119); CreateDynamicObject(1800, 2246.96558, 1950.32520, 45.18494, 0.00000, 0.00000, 268.81119); CreateDynamicObject(1800, 2246.83765, 1962.99536, 45.18494, 0.00000, 0.00000, 268.81119); CreateDynamicObject(2000, 2250.89429, 1950.40686, 45.18490, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2000, 2250.74976, 1953.53845, 45.18490, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2000, 2251.30884, 1956.69214, 45.18490, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2000, 2251.02295, 1960.04163, 45.18490, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2000, 2250.83740, 1963.00623, 45.18490, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1800, 2284.75342, 1950.65747, 45.18490, 0.00000, 0.00000, 268.81119); CreateDynamicObject(1800, 2284.74048, 1953.88147, 45.18490, 0.00000, 0.00000, 268.81119); CreateDynamicObject(1800, 2284.60620, 1944.25122, 45.18490, 0.00000, 0.00000, 268.81119); CreateDynamicObject(1800, 2284.74854, 1947.28796, 45.18490, 0.00000, 0.00000, 268.81119); CreateDynamicObject(1800, 2284.73096, 1956.92566, 45.18490, 0.00000, 0.00000, 268.81119); CreateDynamicObject(1800, 2284.72510, 1960.22681, 45.18490, 0.00000, 0.00000, 268.81119); CreateDynamicObject(1800, 2284.68286, 1963.30640, 45.18490, 0.00000, 0.00000, 268.81119); CreateDynamicObject(2000, 2285.20361, 1963.38831, 45.18490, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2000, 2285.26855, 1960.27429, 45.18490, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2000, 2285.23853, 1956.94177, 45.18490, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2000, 2285.22021, 1953.88086, 45.18490, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2000, 2285.18091, 1950.51733, 45.18490, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2000, 2285.23242, 1947.37793, 45.18490, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2000, 2285.08423, 1944.17664, 45.18490, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19304, 2275.54736, 1955.11206, 45.94810, 0.00000, 0.00000, 270.28650); CreateDynamicObject(19304, 2275.57471, 1951.58936, 45.94810, 0.00000, 0.00000, 270.28650); CreateDynamicObject(19304, 2275.57690, 1948.06543, 45.94810, 0.00000, 0.00000, 269.98651); CreateDynamicObject(19304, 2275.58032, 1946.53247, 45.94810, 0.00000, 0.00000, 269.98651); CreateDynamicObject(19304, 2273.71338, 1944.71155, 45.94810, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19304, 2270.19263, 1944.70020, 45.94810, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19304, 2266.65210, 1944.69421, 45.94810, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19304, 2263.14941, 1944.69556, 45.94810, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19304, 2261.76880, 1944.70874, 45.94810, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19304, 2259.98291, 1946.48157, 45.94810, 0.00000, 0.00000, 269.77841); CreateDynamicObject(19304, 2259.99707, 1950.00269, 45.94810, 0.00000, 0.00000, 269.77841); CreateDynamicObject(19304, 2260.02026, 1953.52234, 45.94810, 0.00000, 0.00000, 269.77841); CreateDynamicObject(19304, 2260.02271, 1957.04236, 45.94810, 0.00000, 0.00000, 269.77841); CreateDynamicObject(19304, 2260.03394, 1958.62451, 45.94810, 0.00000, 0.00000, 269.77841); CreateDynamicObject(19304, 2261.81616, 1960.38306, 45.94810, 0.00000, 0.00000, 0.30000); CreateDynamicObject(19304, 2265.27881, 1960.39844, 45.94810, 0.00000, 0.00000, 0.30000); CreateDynamicObject(19304, 2268.79321, 1960.41272, 45.94810, 0.00000, 0.00000, 0.30000); CreateDynamicObject(19304, 2272.30347, 1960.43201, 45.94810, 0.00000, 0.00000, 0.30000); CreateDynamicObject(19304, 2273.81860, 1960.44421, 45.94810, 0.00000, 0.00000, 0.30000); CreateDynamicObject(19377, 2283.99976, 1959.18359, 45.34510, 0.00000, 90.00000, 0.00000); CreateDynamicObject(19377, 2283.99146, 1949.56287, 48.89077, 0.00000, 90.00000, 0.00000); CreateDynamicObject(19377, 2273.66284, 1959.21497, 48.89077, 0.00000, 90.00000, 0.00000); CreateDynamicObject(19377, 2273.61230, 1949.64905, 48.89077, 0.00000, 90.00000, 0.00000); CreateDynamicObject(19377, 2263.32715, 1949.70691, 48.89077, 0.00000, 90.00000, 0.36000); CreateDynamicObject(19377, 2263.24927, 1959.17590, 48.89077, 0.00000, 90.00000, 0.36000); CreateDynamicObject(19377, 2252.77881, 1959.10071, 48.89077, 0.00000, 90.00000, 0.36000); CreateDynamicObject(19377, 2252.91626, 1949.62988, 48.89077, 0.00000, 90.00000, 0.36000); CreateDynamicObject(19454, 2252.01123, 1943.23975, 48.89080, 0.00000, 90.00000, -90.00000); CreateDynamicObject(19454, 2261.60352, 1943.26672, 48.89080, 0.00000, 90.00000, -90.00000); CreateDynamicObject(19454, 2271.15820, 1943.26941, 48.89080, 0.00000, 90.00000, -90.00000); CreateDynamicObject(19454, 2280.79907, 1943.26038, 48.89080, 0.00000, 90.00000, -90.00000); CreateDynamicObject(19454, 2284.52124, 1943.28711, 48.89080, 0.00000, 90.00000, -90.00000); CreateDynamicObject(19377, 2270.64136, 1968.68958, 48.68980, 0.00000, 90.00000, 0.00000); CreateDynamicObject(19377, 2284.66772, 1973.29358, 43.42358, 0.00000, 0.00000, 90.01398); CreateDynamicObject(19377, 2269.85034, 1973.48279, 43.42358, 0.00000, 0.00000, 90.01398); CreateDynamicObject(19377, 2279.14697, 1973.50146, 43.42358, 0.00000, 0.00000, 90.01398); CreateDynamicObject(19377, 2260.26880, 1973.45459, 43.42358, 0.00000, 0.00000, 90.01398); CreateDynamicObject(19377, 2250.97510, 1973.44788, 43.42358, 0.00000, 0.00000, 90.01398); CreateDynamicObject(19377, 2246.11304, 1968.61743, 43.42360, 0.00000, 0.00000, 179.56273); CreateDynamicObject(19377, 2246.02905, 1958.97888, 43.42360, 0.00000, 0.00000, 179.56273); CreateDynamicObject(19377, 2245.93579, 1949.33630, 43.42360, 0.00000, 0.00000, 179.56273); CreateDynamicObject(19377, 2245.85083, 1939.73706, 43.42360, 0.00000, 0.00000, 179.02274); CreateDynamicObject(19377, 2289.51514, 1968.45276, 43.42360, 0.00000, 0.00000, 179.02274); CreateDynamicObject(19377, 2289.36035, 1958.77539, 43.42360, 0.00000, 0.00000, 179.02274); CreateDynamicObject(19377, 2289.25488, 1949.18591, 43.42360, 0.00000, 0.00000, 179.42474); CreateDynamicObject(19377, 2289.18433, 1939.53833, 43.42360, 0.00000, 0.00000, 179.42474); CreateDynamicObject(19377, 2289.06543, 1933.42627, 43.42360, 0.00000, 0.00000, 179.42474); CreateDynamicObject(19377, 2245.73291, 1933.78430, 43.42360, 0.00000, 0.00000, 179.02274); CreateDynamicObject(14877, 2267.68750, 1940.00635, 38.09800, 0.00000, 0.00000, 270.13791); CreateDynamicObject(1569, 2266.34985, 1963.41406, 38.44099, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1569, 2269.34912, 1963.48450, 38.44100, 0.00000, 0.00000, 180.79999); CreateDynamicObject(1892, 2268.12012, 1963.06580, 38.38400, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1892, 2266.51270, 1963.09021, 38.38402, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19460, 2269.46411, 1936.87219, 47.14550, 0.00000, 0.00000, 3.62177); CreateDynamicObject(19460, 2266.46289, 1936.92725, 47.14550, 0.00000, 0.00000, 3.62177); CreateDynamicObject(19454, 2268.97583, 1939.58435, 45.34510, 0.00000, 90.00000, -90.00000); CreateDynamicObject(19454, 2268.95190, 1936.20264, 45.34510, 0.00000, 90.00000, -90.00000); CreateDynamicObject(19454, 2269.05615, 1933.57739, 45.34510, 0.00000, 90.00000, -90.00000); CreateDynamicObject(19460, 2268.78638, 1932.54602, 47.14550, 0.00000, 0.00000, 92.33899); CreateDynamicObject(19377, 2266.10181, 1936.97705, 48.79077, 0.00000, 90.00000, 0.36000); CreateDynamicObject(19460, 2266.84473, 1941.67017, 47.14550, 0.00000, 0.00000, 270.04330); CreateDynamicObject(1495, 2278.83008, 1942.42993, 38.35540, 0.00000, 0.00000, 90.00000); CreateDynamicObject(1495, 2278.83008, 1945.60986, 38.35540, 0.00000, 0.00000, 90.00000); CreateDynamicObject(1495, 2278.83008, 1948.80994, 38.35540, 0.00000, 0.00000, 90.00000); CreateDynamicObject(1495, 2278.83008, 1951.98987, 38.35540, 0.00000, 0.00000, 90.00000); CreateDynamicObject(1495, 2278.83008, 1955.22998, 38.35540, 0.00000, 0.00000, 90.00000); CreateDynamicObject(1495, 2278.83008, 1958.34998, 38.35540, 0.00000, 0.00000, 90.00000); CreateDynamicObject(1495, 2278.83008, 1961.55005, 38.35540, 0.00000, 0.00000, 90.00000); CreateDynamicObject(1495, 2256.55420, 1962.83777, 38.35540, 0.00000, 0.00000, 270.00000); CreateDynamicObject(1495, 2256.55420, 1959.65784, 38.35540, 0.00000, 0.00000, 270.00000); CreateDynamicObject(1495, 2256.55420, 1956.47778, 38.35540, 0.00000, 0.00000, 270.00000); CreateDynamicObject(1495, 2256.55420, 1953.26965, 38.35540, 0.00000, 0.00000, 270.00000); CreateDynamicObject(1495, 2256.55420, 1950.04956, 38.35540, 0.00000, 0.00000, 270.00000); CreateDynamicObject(1495, 2256.55420, 1946.84961, 38.35540, 0.00000, 0.00000, 270.00000); CreateDynamicObject(1495, 2256.55420, 1943.76965, 38.35540, 0.00000, 0.00000, 270.00000); CreateDynamicObject(1495, 2278.83008, 1942.42993, 41.83540, 0.00000, 0.00000, 90.00000); CreateDynamicObject(1495, 2278.83008, 1945.64905, 41.83540, 0.00000, 0.00000, 90.00000); CreateDynamicObject(1495, 2278.83008, 1948.82898, 41.83540, 0.00000, 0.00000, 90.00000); CreateDynamicObject(1495, 2278.83008, 1952.04895, 41.83540, 0.00000, 0.00000, 90.00000); CreateDynamicObject(1495, 2278.83008, 1955.22913, 41.83540, 0.00000, 0.00000, 90.00000); CreateDynamicObject(1495, 2278.83008, 1958.36914, 41.83540, 0.00000, 0.00000, 90.00000); CreateDynamicObject(1495, 2278.83008, 1961.54907, 41.83540, 0.00000, 0.00000, 90.00000); CreateDynamicObject(1495, 2256.55420, 1943.76965, 41.85140, 0.00000, 0.00000, 270.00000); CreateDynamicObject(1495, 2256.55420, 1946.94971, 41.85140, 0.00000, 0.00000, 270.00000); CreateDynamicObject(1495, 2256.55420, 1950.12976, 41.85140, 0.00000, 0.00000, 270.00000); CreateDynamicObject(1495, 2256.55420, 1953.30981, 41.85140, 0.00000, 0.00000, 270.00000); CreateDynamicObject(1495, 2256.55420, 1956.44983, 41.85140, 0.00000, 0.00000, 270.00000); CreateDynamicObject(1495, 2256.55420, 1959.66980, 41.85140, 0.00000, 0.00000, 270.00000); CreateDynamicObject(1495, 2256.55420, 1962.78979, 41.85140, 0.00000, 0.00000, 270.00000); CreateDynamicObject(1495, 2278.83008, 1942.46985, 45.37010, 0.00000, 0.00000, 90.00000); CreateDynamicObject(1495, 2278.83008, 1945.64978, 45.37010, 0.00000, 0.00000, 90.00000); CreateDynamicObject(1495, 2278.83008, 1948.84985, 45.37010, 0.00000, 0.00000, 90.00000); CreateDynamicObject(1495, 2278.83008, 1952.02991, 45.37010, 0.00000, 0.00000, 90.00000); CreateDynamicObject(1495, 2278.83008, 1955.22986, 45.37010, 0.00000, 0.00000, 90.00000); CreateDynamicObject(1495, 2278.83008, 1958.48987, 45.37010, 0.00000, 0.00000, 90.00000); CreateDynamicObject(1495, 2278.83008, 1961.62988, 45.37010, 0.00000, 0.00000, 90.00000); CreateDynamicObject(1495, 2256.55420, 1943.74976, 45.38170, 0.00000, 0.00000, 270.00000); CreateDynamicObject(1495, 2256.55420, 1950.13977, 45.38170, 0.00000, 0.00000, 270.00000); CreateDynamicObject(1495, 2256.55420, 1953.35974, 45.38170, 0.00000, 0.00000, 270.00000); CreateDynamicObject(1495, 2256.55420, 1946.93982, 45.38170, 0.00000, 0.00000, 270.00000); CreateDynamicObject(1495, 2256.55420, 1956.49976, 45.38170, 0.00000, 0.00000, 270.00000); CreateDynamicObject(1495, 2256.55420, 1959.69983, 45.38170, 0.00000, 0.00000, 270.00000); CreateDynamicObject(1495, 2256.55420, 1962.87976, 45.38170, 0.00000, 0.00000, 270.00000); //====================================[ Predio DPLS ]=============================================// CreateDynamicObject(2886,247.72758484,72.33472443,1003.92919922,0.00000000,0.00000000,0.00000000); // CreateDynamicObject(2886,250.40625000,64.48971558,1003.90820312,0.00000000,0.00000000,270.00000000); // CreateDynamicObject(2886,250.90625000,64.57377625,1003.92028809,0.00000000,0.00000000,90.00000000); // CreateDynamicObject(2886,244.89843750,73.80095673,1003.94177246,0.00000000,0.00000000,90.00000000); // CreateDynamicObject(2886,248.41078186,74.61183929,1003.93310547,0.00000000,0.00000000,90.00000000); // CreateDynamicObject(2886,247.88383484,77.16934967,1003.94836426,0.00000000,0.00000000,270.00000000); // CreateDynamicObject(3749,1547.55212402,-1627.36657715,18.24122620,0.00000000,0.00000000,90.00000000); // CreateDynamicObject(971,-1421.89575200,493.65304600,5.58397600,0.00000000,0.00000000,90.00000000); //Exercito CreateDynamicObject(971,-1421.88977100,502.44271900,5.58397600,0.00000000,0.00000000,90.00000000); //Exercito CreateDynamicObject(8209,-1657.58972168,309.62448120,6.68852663,0.00000000,0.00000000,9.92492676); //Exercito CreateDynamicObject(7657,-1516.18835449,481.56393433,12.89653015,0.00000000,0.00000000,178.64941406); //Exercito CreateDynamicObject(5822,-1311.83837891,484.17300415,12.08705711,0.00000000,0.00000000,92.85986328); //Exercito escada151 objetos CreateDynamicObject( 2942,1928.77148400,-1785.18701200,13.13976600,0.00000000,0.00000000,90.00000000); // CreateDynamicObject(2930, 1582.6254882813, -1638.0324707031, 15.007925987244, 0, 0, 91.309509277344);//36 objetos*/ CreateDynamicObject(1676, 1000.5368041992, -937.51239013672, 42.908992767334, 0, 0, 9.9249267578125); CreateDynamicObject(1676, 1007.5074462891, -936.49285888672, 42.908992767334, 0, 0, 7.939208984375);//2 objetos CreateDynamicObject(971, 1499.8586425781, -1860.7644042969, 16.116792678833, 0, 0, 0);//4 objetos CreateDynamicObject(2930, -1297.6999511719, 491.39999389648, 12.89999961853, 0, 0, 0); //================================[HQ Bombeiros]====================================// CreateDynamicObject(11008, 2031.41626, -2080.51294, 19.05150, 0.00000, 0.00000, 269.19995); //================================[Caixas Eletronicos]====================================// CreateCaixa(2942, 1928.69604, -1784.04639, 13.15720, 0.00000, 0.00000, 88.44680); CreateCaixa(2942, 1837.20667, -1692.44824, 13.01124, 0.00000, 0.00000, 269.46243); CreateCaixa(2942, 1831.94666, -1405.75806, 12.99174, 0.00000, 0.00000, 176.68292); CreateCaixa(2942, 1363.55298, -1750.63855, 13.17531, 0.00000, 0.00000, 271.14401); CreateCaixa(2942, 1070.77478, -1881.54370, 13.16587, 0.00000, 0.00000, 271.18671); CreateCaixa(2942, 833.72095, -1384.92908, 13.07656, 0.00000, 0.00000, 0.00000); CreateCaixa(2942, 1797.89026, -1190.45325, 23.54218, 0.00000, 0.00000, 182.18976); CreateCaixa(2942, 2209.10791, -1141.88208, 25.39645, 0.00000, 0.00000, 88.60888); CreateCaixa(2942, 2313.50586, -1373.55334, 23.69597, 0.00000, 0.00000, 271.93027); CreateCaixa(2942, 2351.94897, -1548.61584, 23.54486, 0.00000, 0.00000, 264.68781); CreateCaixa(2942, 2243.18921, -1722.77673, 13.15102, 0.00000, 0.00000, 0.00000); CreateCaixa(2942, 1940.07886, -2113.70752, 13.30774, 0.00000, 0.00000, 89.08496); CreateCaixa(2942, 1736.49780, -1863.44666, 13.17641, 0.00000, 0.00000, 178.34193); CreateCaixa(2942, 2310.53125, -7.17057, 26.34110, 0.00000, 0.00000, 359.03336); CreateCaixa(2942, 365.37585, -1354.45508, 14.12511, 0.00000, 0.00000, 29.47749); CreateCaixa(2942, 1296.89661, -1158.12537, 23.39852, 0.00000, 0.00000, 177.93507); CreateCaixa(2942, 1492.36804, -1022.19519, 23.41977, 0.00000, 0.00000, 0.00000); CreateCaixa(2942, 1830.88367, -1071.68689, 23.48169, 0.00000, 0.00000, 269.40909); CreateCaixa(2942, 1863.66504, -1270.39185, 13.16138, 0.00000, 0.00000, 182.03978); // Caixas LV CreateCaixa(2942, 2620.675048, 2345.812255, 10.440305, 0.000000, 0.000000, 31.499998); CreateCaixa(2942, 2830.721679, 2402.727783, 10.672499, 0.000000, -0.199999, -44.600013); CreateCaixa(2942, 2366.972167, 2086.159179, 10.472507, 0.000000, 0.000000, -88.999992); CreateCaixa(2942, 2329.663574, 2113.705078, 10.468124, 0.000000, 0.000000, -177.199981); CreateCaixa(2942, 2173.626220, 1653.136962, 10.727565, 0.000000, 0.000000, -128.500030); CreateCaixa(2942, 937.448730, 1724.319946, 8.491555, 0.000000, 0.000000, 92.600036); CreateCaixa(2942, 777.055664, 1877.432983, 4.565681, 0.000000, 0.000000, 93.500000); CreateCaixa(2942, 684.007080, 1952.268798, 5.189059, 0.000000, 0.000000, 0.000000); CreateCaixa(2942, 2019.536743, 1013.851196, 10.430314, 0.000000, 0.000000, 92.400009); CreateCaixa(2942, 2108.009521, 896.966857, 10.759682, 0.000000, 0.000000, -178.000061); CreateCaixa(2942, 2631.469482, 1129.616577, 10.779680, 0.000000, 0.000000, 0.000000); CreateCaixa(2942, 2156.390380, 2734.068603, 10.836346, 0.000000, 0.000000, 179.900024); CreateCaixa(2942, 2159.138183, 2802.296630, 10.420310, 0.000000, 0.000000, -82.500007); CreateCaixa(2942, 2841.530761, 1270.588989, 11.040624, 0.000000, 0.000000, -90.000000); CreateCaixa(2942, 2585.165283, 1082.806762, 10.460310, 0.000000, 0.000000, 0.000000); CreateCaixa(2942, 2367.615478, 2219.537597, 10.458816, 0.000000, 0.000000, -89.000015); CreateCaixa(2942, 1956.937988, 710.731994, 10.450313, 0.000000, 0.000000, -90.099998); CreateCaixa(2942, 2847.365722, 948.713806, 10.379997, 0.000000, 0.000000, -89.400032); //=========COFRE LOJA DE ARMAS 1===========// CreateDynamicObject(1550, 303.52377, -169.17178, 999.72064, 0.00000, 0.00000, 356.58759); CreateDynamicObject(1550, 304.02933, -169.72330, 999.76324, 0.00000, 0.00000, 333.75125); CreateDynamicObject(19922, 303.11441, -169.64458, 998.58459, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1550, 303.21567, -169.85483, 999.72217, 0.00000, 0.00000, 355.95477); CreateDynamicObject(1550, 302.70145, -169.33563, 999.75629, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1550, 302.08765, -169.79898, 999.76031, 0.00000, 0.00000, 0.00000); CreateDynamicObject(5020, 298.79211, -164.74084, 999.97046, 0.00000, 0.00000, 0.00000); CreateDynamicObject(5020, 298.79111, -161.77280, 999.97046, 0.00000, 0.00000, 0.73268); //=====[Loterica]=========/ CreateDynamicObject(19447, 2148.11011, 1604.69226, 1002.27271, 0.00000, 0.00000, 90.00000); CreateDynamicObject(1829, 2150.78320, 1620.25806, 1000.43689, 0.00000, 0.00000, 0.00000); //======[Mercado Negro]=======// CreateDynamicObject(5422, 941.81750, 2113.71118, 1012.06787, 0.04000, 0.00000, 90.00000); CreateDynamicObject(1829, 957.77307, 2096.35229, 1010.48297, 0.00000, 0.00000, 900.00000); //Cofre Centro de Licencas CreateDynamicObject(19447, 2149.96997, 1602.12585, 1002.08063, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19447, 2168.62256, 1617.43945, 1000.26477, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1829, 2172.60474, 1602.14514, 999.42853, 0.00000, 0.02000, 270.04330); //======[COFRE MERCADO 24/7]==========// CreateDynamicObject(19447, 2214.84326, 1585.62354, 1002.18481, 0.12000, 0.00000, 0.00000); CreateDynamicObject(19447, 2214.84253, 1585.66064, 1000.46777, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19447, 2223.25952, 1598.24927, 999.99121, 0.00000, 0.00000, 90.00000); CreateDynamicObject(1829, 2230.74951, 1597.41064, 999.44031, 0.00000, 0.00000, 0.00000); //=========COFRE AMMU =======// CreateDynamicObject(1829, 293.09790, -57.00390, 1000.97980, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1550, 293.79321, -56.53820, 1000.91833, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1550, 294.32111, -56.51608, 1000.89697, 0.00000, 0.00000, 359.89999); //=========[COFRE PREFEITURA]=============// CreateDynamicObject(1550, 318.13681, 162.93532, 1013.58380, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1550, 318.23459, 163.53236, 1013.58380, 0.00000, 0.00000, 22.18769); CreateDynamicObject(1550, 318.56931, 164.17236, 1013.69116, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1550, 318.21646, 165.70172, 1013.57501, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1550, 318.13309, 166.33116, 1013.57501, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1550, 318.21805, 166.91417, 1013.60712, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2332, 318.12601, 164.90718, 1014.57709, 0.02000, 0.00000, 91.92310); CreateDynamicObject(1829, 318.57632, 164.93449, 1013.69574, 0.00000, 0.00000, 93.25848); //=========[COFRE NAVIO]=============// CreateDynamicObject(931, -1435.46838, 1479.49792, 1.79758, -0.02000, -0.14000, 179.54456); CreateDynamicObject(1212, -1435.02588, 1479.57410, 1.93600, 0.00000, 0.00000, 346.46902); CreateDynamicObject(1212, -1435.44287, 1479.63806, 1.97855, 0.00000, 0.00000, 37.69312); CreateDynamicObject(1212, -1434.63586, 1480.23401, 1.97855, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1212, -1436.25159, 1480.14880, 1.97855, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1212, -1435.84631, 1479.93213, 1.97855, 0.00000, 0.00000, 51.82585); CreateDynamicObject(1212, -1435.43982, 1480.03345, 1.94150, 0.00000, 0.00000, 328.09378); CreateDynamicObject(1212, -1435.89856, 1479.48096, 1.97510, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1550, -1435.58105, 1479.40894, 1.29220, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1550, -1434.92371, 1479.86365, 1.24910, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1550, -1436.14819, 1479.83752, 1.27480, 0.00000, 0.00000, 0.00000); //================================[Portoes HQ's]====================================// PDDOORa = CreateDynamicObject(985 , 247.005905 , 72.448440 , 1003.640625 , 0.000000 , 0.000000 , 1260.000000 ); PDDOORb = CreateDynamicObject(985 , 250.774871 , 60.822799 , 1003.640625 , 0.000000 , 0.000000 , 5130.000000 ); PDDOORc = CreateDynamicObject(986 , 248.142105 , 78.125961 , 1003.640625 , 0.000000 , 0.000000 , 12690.000000 ); PDPMLS = CreateDynamicObject(980, 1546.8681640625, -1627.3585205078, 15.156204223633, 0, 0, 90); PDPE = CreateDynamicObject(3115, -1456.71191, 501.31519, 16.94300, 0.00000, 0.00000, 0.00000); PDPE2 = CreateDynamicObject(3114, -1414.45007, 516.45117, 16.67820, 0.00000, 0.00000, 0.00000); PDPE3 = CreateDynamicObject(3113, -1465.86194, 501.2826, 1.30320, 0.00000, 0.00000, 0.00000); PDEx = CreateDynamicObject(980, -1531.3978271484, 482.25979614258, 8.9530792236328, 0, 0, 359.99975585938); PortaoReporter = CreateDynamicObject(971, 777.80017089844, -1330.2664794922, 14.200000762939, 0, 0, 0); PortaoMayans = CreateDynamicObject(980, 493.8057,-1547.1104,19.8590,0.0000,0.0000,210.6994); pYak1 = CreateDynamicObject(980, 664.8619,-1307.4937,15.3109,0.0000,0.0000,0.0000); pYak2 = CreateDynamicObject(980, 660.7543,-1227.8146,17.4440,0.0000,0.0000,-118.2998); pYak3 = CreateDynamicObject(980, 783.9084,-1152.4266,25.4053,0.0000,0.0000,-90.2999); portagov = CreateDynamicObject(10184, 368.79999, 160.7, 1027.19995, 0, 0, 180.25); PortaoPC = CreateDynamicObject(971,924.12072754,-1226.29992676,19.55584717,0.00000000,0.00000000,92.00000000); //object(subwaygate) (1) PortaoPC3 = CreateDynamicObject(971,923.64532471,-1217.44934082,19.52149582,0.00000000,0.00000000,273.99954224); //object(subwaygate) (2) //=============================[HQ MAYANS]==============================// CreateDynamicObject(3749,494.5,-1548.3,22.9,0,0,32.25); CreateDynamicObject(987,505,-1465.3,15.8,0,0,152); CreateDynamicObject(987,494.5,-1459.6,15.8,0,0,151.996); //=============================[HQ EXERCITO]============================// CreateDynamicObject(8209,-1657.58972168,309.62448120,6.68852663,0.00000000,0.00000000,9.92492676); //Exercito CreateDynamicObject(7657,-1516.18835449,481.56393433,12.89653015,0.00000000,0.00000000,178.64941406); //Exercito CreateDynamicObject(5822,-1311.83837891,484.17300415,12.08705711,0.00000000,0.00000000,92.85986328); //Exercito escada151 objetos CreateDynamicObject(2930, 1582.6254882813, -1638.0324707031, 15.007925987244, 0, 0, 91.309509277344);//36 objetos CreateDynamicObject(1676, 1000.5368041992, -937.51239013672, 42.908992767334, 0, 0, 9.9249267578125); CreateDynamicObject(1676, 1007.5074462891, -936.49285888672, 42.908992767334, 0, 0, 7.939208984375);//2 objetos //CreateDynamicObject(971, 1499.8586425781, -1860.7644042969, 16.116792678833, 0, 0, 0);//4 objetos CreateDynamicObject(2930, -1297.6999511719, 491.39999389648, 12.89999961853, 0, 0, 0); CreateDynamicObject(19273, 259.41049, 75.37160, 1003.92157, 0.00000, 0.00000, 270.00000); //hq PMLS //======================================[EMPREGO MECANICOS]=========================// MechLift = CreateDynamicObject(3036, 1569.34424, -2156.86060, 12.96720, -90.00000, 0.00000, 90.00000); CreateDynamicObject(8947, 1571.63965, -2162.97534, 15.60000, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1728, 1577.93616, -2172.75098, 12.54310, 0.00000, 0.00000, 200.00000); CreateDynamicObject(2236, 1578.56384, -2171.38745, 12.54770, 0.00000, 0.00000, 90.00000); CreateDynamicObject(2855, 1578.07556, -2170.70435, 12.61150, 0.00000, 0.00000, -70.00000); CreateDynamicObject(2103, 1578.04272, -2170.91895, 13.05070, 0.00000, 0.00000, -90.00000); CreateDynamicObject(1372, 1579.66064, -2173.07520, 12.54630, 0.00000, 0.00000, 90.00000); CreateDynamicObject(941, 1565.45959, -2162.12720, 13.02000, 0.00000, 0.00000, 90.00000); CreateDynamicObject(18633, 1565.16089, -2161.22388, 13.51180, 0.00000, 90.00000, 0.00000); CreateDynamicObject(18635, 1565.03613, -2162.54321, 13.47400, 90.00000, 0.00000, 0.00000); CreateDynamicObject(18634, 1565.62012, -2162.65918, 13.51390, 0.00000, 90.00000, 0.00000); CreateDynamicObject(2601, 1565.02441, -2161.81641, 13.57430, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2601, 1564.95422, -2162.94922, 13.57430, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2601, 1565.21777, -2162.71875, 13.57430, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1650, 1565.66016, -2160.63110, 12.86000, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1650, 1565.26038, -2160.61182, 12.86000, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1650, 1565.96277, -2173.00146, 12.86000, 0.00000, 0.00000, 0.00000); CreateDynamicObject(18452, 1544.27490, -2173.30469, 15.36000, 0.00000, 0.00000, 90.00000); CreateDynamicObject(1686, 1547.06995, -2173.33325, 12.60804, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1686, 1541.43359, -2173.20386, 12.60804, 0.00000, 0.00000, 0.00000); CreateDynamicObject(10281, 1571.97937, -2176.19946, 17.62310, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19378, 1559.01648, -2170.40479, 12.47840, 0.00000, 90.00000, 0.00000); CreateDynamicObject(19385, 1558.58191, -2175.13892, 14.30000, 0.00000, 0.00000, 90.00000); CreateDynamicObject(19355, 1555.37634, -2175.14063, 14.30000, 0.00000, 0.00000, 90.00000); CreateDynamicObject(19355, 1564.98865, -2175.14478, 14.30000, 0.00000, 0.00000, 90.00000); CreateDynamicObject(19401, 1553.83740, -2173.62354, 14.30000, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19355, 1553.84778, -2170.41187, 14.30000, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19355, 1553.84070, -2167.20605, 14.30000, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19355, 1555.37317, -2165.65088, 14.30000, 0.00000, 0.00000, 90.00000); CreateDynamicObject(19355, 1558.58630, -2165.66138, 14.30000, 0.00000, 0.00000, 90.00000); CreateDynamicObject(19385, 1561.79492, -2165.67285, 14.30000, 0.00000, 0.00000, 90.00000); CreateDynamicObject(19428, 1563.92029, -2165.66943, 14.30000, 0.00000, 0.00000, 90.00000); CreateDynamicObject(19466, 1553.82910, -2173.85303, 14.62000, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2691, 1555.47705, -2175.03760, 14.57500, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19355, 1562.65356, -2168.88916, 14.30000, 0.00000, 0.00000, 90.00000); CreateDynamicObject(19428, 1560.26184, -2168.88110, 14.30000, 0.00000, 0.00000, 90.00000); CreateDynamicObject(3088, 1576.28784, -2151.07520, 12.74200, 0.00000, 0.00000, 180.00000); CreateDynamicObject(923, 1579.59009, -2170.90820, 13.40000, 0.00000, 0.00000, 90.00000); CreateDynamicObject(1264, 1579.54578, -2169.34326, 13.00580, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1265, 1579.71741, -2174.51294, 13.02550, 0.00000, 0.00000, 90.00000); CreateDynamicObject(1806, 1554.31018, -2174.46118, 12.56480, 0.00000, 0.00000, -30.00000); CreateDynamicObject(19385, 1559.51440, -2167.35986, 14.30000, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2485, 1560.99341, -2169.37939, 13.64870, 0.00000, 0.00000, 90.00000); CreateDynamicObject(2655, 1553.98218, -2168.52930, 13.99920, 0.00000, 0.00000, 90.00000); CreateDynamicObject(2060, 1556.29822, -2166.04321, 12.66500, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2167, 1563.28638, -2165.77686, 12.54630, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1616, 1563.83838, -2174.67114, 15.73108, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1616, 1554.35144, -2166.15063, 15.73110, 0.00000, 0.00000, 180.00000); CreateDynamicObject(1569, 1561.02881, -2165.66113, 12.56610, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1885, 1559.81201, -2174.80225, 12.56631, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2364, 1560.13660, -2175.53857, 12.54774, 0.00000, 0.00000, 0.00000); CreateDynamicObject(3633, 1565.37878, -2164.14990, 13.02560, 0.00000, 0.00000, 0.00000); CreateDynamicObject(3287, 1555.79639, -2162.90283, 17.28000, 0.00000, 0.00000, 90.00000); CreateDynamicObject(2049, 1563.46277, -2174.99854, 13.77900, 0.00000, 0.00000, 180.00000); CreateDynamicObject(1650, 1560.31885, -2169.30225, 12.94000, 0.00000, 0.00000, 10.00000); CreateDynamicObject(1650, 1560.10718, -2169.55103, 12.92000, 0.00000, 0.00000, -20.00000); CreateDynamicObject(1650, 1559.85999, -2169.25513, 12.92000, 0.00000, 0.00000, 9.00000); CreateDynamicObject(2385, 1553.90295, -2170.85010, 12.56350, 0.00000, 0.00000, 90.00000); CreateDynamicObject(1280, 1555.68579, -2175.58765, 12.94730, 0.00000, 0.00000, 90.00000); CreateDynamicObject(18635, 1553.99207, -2170.91650, 13.47400, 90.00000, 0.00000, 30.00000); CreateDynamicObject(18635, 1554.03491, -2169.42310, 13.47400, 90.00000, 0.00000, 0.00000); CreateDynamicObject(18633, 1554.21985, -2170.35400, 12.63550, 0.00000, 90.00000, 0.00000); CreateDynamicObject(18638, 1562.58289, -2169.20581, 13.68020, 0.00000, -90.00000, 230.00000); CreateDynamicObject(18645, 1561.66614, -2169.16968, 13.75090, 0.00000, 0.00000, -65.00000); CreateDynamicObject(18644, 1554.07178, -2170.35229, 13.50660, 90.00000, 0.00000, -30.00000); CreateDynamicObject(18641, 1561.59155, -2169.65430, 13.35050, 0.00000, 0.00000, 0.00000); CreateDynamicObject(18641, 1561.79419, -2169.55737, 13.29050, -90.00000, 0.00000, 0.00000); CreateDynamicObject(18641, 1562.11182, -2169.55249, 13.29050, -90.00000, 0.00000, 80.00000); CreateDynamicObject(1744, 1556.47192, -2165.61768, 13.91725, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19330, 1563.17224, -2169.24194, 13.71080, 0.00000, -90.00000, 140.00000); CreateDynamicObject(2690, 1554.17993, -2168.87842, 12.92650, 0.00000, 0.00000, 90.00000); CreateDynamicObject(2690, 1563.99597, -2172.39795, 12.92650, 0.00000, 0.00000, -90.00000); CreateDynamicObject(19308, 1556.50696, -2165.95850, 14.39660, 0.00000, 0.00000, -90.00000); CreateDynamicObject(19311, 1557.42151, -2165.96753, 14.39670, 0.00000, 0.00000, 90.00000); CreateDynamicObject(19377, 1559.01563, -2170.40381, 16.00000, 0.00000, 90.00000, 0.00000); CreateDynamicObject(19401, 1561.78467, -2175.15186, 14.30000, 0.00000, 0.00000, 90.00000); CreateDynamicObject(19466, 1561.67822, -2175.13867, 14.62000, 0.00000, 0.00000, 90.00000); CreateDynamicObject(2714, 1558.58203, -2175.26123, 15.49450, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1523, 1557.77881, -2175.18066, 12.52300, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19314, 1559.36047, -2167.35596, 15.26000, 90.00000, 90.00000, 90.00000); CreateDynamicObject(3633, 1565.98596, -2166.01709, 13.20560, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2893, 1570.32886, -2162.50366, 11.70000, -30.00000, 0.00000, 180.00000); CreateDynamicObject(2893, 1568.38831, -2162.50391, 11.70000, -30.00000, 0.00000, 180.00000); CreateDynamicObject(1002, 1565.47888, -2164.14819, 13.49540, 0.00000, 0.00000, -70.00000); CreateDynamicObject(19371, 1573.78552, -2152.67773, 14.30000, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19417, 1573.78503, -2155.86938, 14.30000, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19398, 1575.30811, -2157.56323, 14.30000, 0.00000, 0.00000, 90.00000); CreateDynamicObject(19444, 1577.70056, -2157.55469, 14.30000, 0.00000, 0.00000, 90.00000); CreateDynamicObject(2972, 1565.40039, -2152.26099, 12.54550, 0.00000, 0.00000, 90.00000); CreateDynamicObject(2972, 1566.70093, -2152.24854, 12.54550, 0.00000, 0.00000, 90.00000); CreateDynamicObject(2972, 1566.01953, -2152.23999, 13.72550, 0.00000, 0.00000, 90.00000); CreateDynamicObject(2605, 1577.46045, -2153.07178, 12.94750, 0.00000, 0.00000, 180.00000); CreateDynamicObject(2164, 1573.88757, -2152.34399, 12.54720, 0.00000, 0.00000, 90.00000); CreateDynamicObject(2309, 1577.86292, -2154.33716, 12.52820, 0.00000, 0.00000, 40.00000); CreateDynamicObject(1806, 1577.81384, -2151.80151, 12.54890, 0.00000, 0.00000, 140.00000); CreateDynamicObject(19466, 1573.77002, -2155.99707, 14.98120, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1712, 1577.97302, -2156.20020, 12.52790, 0.00000, 0.00000, -150.00000); CreateDynamicObject(1897, 1571.05762, -2156.72192, 13.68000, 0.00000, 0.00000, -90.00000); CreateDynamicObject(1897, 1571.06128, -2152.12695, 13.68000, 0.00000, 0.00000, -90.00000); CreateDynamicObject(1897, 1567.62561, -2156.76196, 13.68000, 0.00000, 0.00000, 90.00000); CreateDynamicObject(1897, 1567.61914, -2152.15674, 13.68000, 0.00000, 0.00000, 90.00000); CreateDynamicObject(2254, 1577.25098, -2157.42871, 14.27690, 0.00000, 0.00000, 180.00000); CreateDynamicObject(2255, 1565.20862, -2153.97485, 13.72360, 0.00000, 0.00000, 90.00000); CreateDynamicObject(1244, 1571.91089, -2152.59009, 13.34000, 0.00000, 0.00000, 90.00000); CreateDynamicObject(1238, 1573.06030, -2152.67847, 12.86580, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1238, 1573.08105, -2152.65918, 12.98580, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1238, 1573.08093, -2152.65894, 13.16580, 0.00000, 0.00000, 30.00000); CreateDynamicObject(955, 1563.79724, -2173.26782, 12.98000, 0.00000, 0.00000, -90.00000); CreateDynamicObject(19371, 1575.46484, -2155.86499, 15.96800, 0.00000, 90.00000, 0.00000); CreateDynamicObject(19371, 1575.46973, -2152.65698, 15.96800, 0.00000, 90.00000, 0.00000); CreateDynamicObject(19444, 1577.71338, -2155.87573, 15.97600, 0.00000, 90.00000, 90.00000); CreateDynamicObject(19444, 1577.71460, -2152.44751, 15.97530, 0.00000, 90.00000, 90.00000); CreateDynamicObject(19121, 1576.18994, -2150.96045, 14.55500, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1499, 1574.51868, -2157.57104, 12.53760, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2074, 1576.42334, -2154.66016, 15.63650, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2069, 1578.33411, -2157.21631, 12.58890, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1893, 1568.18396, -2170.43237, 18.18831, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1893, 1568.23901, -2168.24756, 18.18831, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1893, 1568.44702, -2165.10059, 18.18831, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1893, 1573.07654, -2171.14331, 18.18831, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1893, 1573.18091, -2168.98193, 18.18831, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1893, 1573.20532, -2166.90137, 18.18831, 0.00000, 0.00000, 0.00000); CreateDynamicObject(3785, 1564.85400, -2161.88745, 14.22000, 90.00000, 0.00000, 0.00000); CreateDynamicObject(8948, 1571.63501, -2174.02148, 16.18000, 0.00000, 60.00000, 90.00000); CreateDynamicObject(3504, 1563.67908, -2161.63794, 13.90000, 0.00000, 0.00000, 90.00000); CreateDynamicObject(3504, 1563.72302, -2160.12158, 13.90000, 0.00000, 0.00000, 90.00000); CreateDynamicObject(1499, 1559.52380, -2168.10303, 12.53760, 0.00000, 0.00000, 90.00000); CreateDynamicObject(2607, 1562.88354, -2168.41699, 12.96000, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1806, 1563.31104, -2167.45776, 12.56660, 0.00000, 0.00000, 140.00000); CreateDynamicObject(2611, 1564.18469, -2167.21436, 14.03160, 0.00000, 0.00000, -90.00000); CreateDynamicObject(2606, 1562.97229, -2168.67871, 13.59890, 0.00000, 0.00000, 180.00000); CreateDynamicObject(2368, 1561.03723, -2169.32178, 12.56530, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1744, 1553.79956, -2170.73755, 13.15090, 0.00000, 0.00000, 90.00000); CreateDynamicObject(1744, 1553.86499, -2170.73682, 12.73090, 0.00000, 0.00000, 90.00000); CreateDynamicObject(1744, 1553.86499, -2170.73682, 12.29090, 0.00000, 0.00000, 90.00000); CreateDynamicObject(2601, 1554.19006, -2171.12451, 13.17040, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2601, 1554.17151, -2170.81982, 13.17040, 0.00000, 0.00000, 90.00000); CreateDynamicObject(2601, 1554.32166, -2170.90063, 13.17040, 0.00000, 0.00000, 199.00000); CreateDynamicObject(2583, 1554.20886, -2167.15063, 13.44000, 0.00000, 0.00000, 90.00000); CreateDynamicObject(2060, 1557.45947, -2166.02246, 12.66500, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2060, 1556.86084, -2165.96167, 12.90500, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2010, 1563.82642, -2174.45264, 12.56545, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1808, 1563.85522, -2169.43726, 12.56622, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2267, 1554.01575, -2170.21313, 14.57010, 0.00000, 0.00000, 90.00000); CreateDynamicObject(2626, 1555.65527, -2173.88574, 13.08600, 0.00000, 0.00000, 90.00000); CreateDynamicObject(2059, 1554.57422, -2167.13086, 12.58460, 0.00000, 0.00000, -90.00000); CreateDynamicObject(2059, 1554.23389, -2166.72266, 12.58460, 0.00000, 0.00000, 6.00000); CreateDynamicObject(616, 1599.59644, -2175.37402, 12.54599, 0.00000, 0.00000, 0.00000); CreateDynamicObject(617, 1527.22534, -2164.75195, 12.53791, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19124, 1541.39014, -2176.44116, 13.16720, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19124, 1547.07568, -2176.48730, 13.16720, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1616, 1563.83398, -2151.56592, 18.22810, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1616, 1553.33130, -2166.39673, 15.99080, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1623, 1564.24133, -2171.95093, 18.00000, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1623, 1564.25354, -2169.34766, 18.00000, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2699, 1559.36987, -2172.04980, 13.20000, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2690, 1547.06372, -2172.58154, 12.96000, 0.00000, 0.00000, 180.00000); CreateDynamicObject(2690, 1541.46338, -2172.42944, 12.96000, 0.00000, 0.00000, 180.00000); CreateDynamicObject(7313, 1569.35132, -2151.04956, 16.36793, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2654, 1578.26660, -2158.43726, 12.76390, 0.00000, 0.00000, 180.00000); CreateDynamicObject(930, 1565.22961, -2172.53809, 13.04000, 0.00000, 0.00000, 90.00000); CreateDynamicObject(943, 1566.41943, -2173.76587, 13.32540, 0.00000, 0.00000, -90.00000); CreateDynamicObject(1650, 1565.83154, -2172.72803, 12.86000, 0.00000, 0.00000, 60.00000); CreateDynamicObject(2893, 1568.39294, -2156.87036, 13.04000, 80.00000, 0.00000, 180.00000); CreateDynamicObject(2893, 1570.33276, -2156.86255, 13.04000, 80.00000, 0.00000, 180.00000); //================================[APARTAMENTOS]============================// CreateDynamicObject(2817, 1810.51892, -1301.50659, 21.20242, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19858, 1810.25928, -1301.58362, 22.45180, 0.00000, 0.00000, 0.00000); CreateDynamicObject(630, 1812.41064, -1301.00500, 22.22140, 0.00000, 0.00000, 0.00000); CreateDynamicObject(3657, 1818.05774, -1298.29114, 21.71750, 0.00000, 0.00000, 269.94519); CreateDynamicObject(19858, 1818.49170, -1290.16113, 22.41660, 0.00000, 0.00000, 268.25580); CreateDynamicObject(2817, 1818.41553, -1291.42883, 21.20320, 0.00000, 0.00000, 89.00000); CreateDynamicObject(630, 1817.95374, -1289.63489, 22.23400, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19858, 1811.08374, -1305.87720, 22.46180, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2817, 1811.34583, -1306.91528, 21.20341, 0.00000, 0.00000, 0.00000); CreateDynamicObject(630, 1810.71204, -1306.47437, 22.21930, 0.00000, 0.00000, 0.00000); CreateDynamicObject(3657, 1818.12646, -1308.44983, 21.71230, 0.00000, 0.00000, -90.00000); CreateDynamicObject(19858, 1812.82263, -1301.58435, 27.90810, 0.00000, 0.00000, 0.08000); CreateDynamicObject(2817, 1813.08826, -1301.53723, 26.66239, 0.00000, 0.00000, 0.00000); CreateDynamicObject(630, 1815.03467, -1300.93018, 27.68460, 0.00000, 0.00000, 0.00000); CreateDynamicObject(3657, 1818.06824, -1298.23425, 27.17560, 0.00000, 0.00000, -90.00000); CreateDynamicObject(19858, 1818.49304, -1290.13135, 27.92230, 0.00000, 0.00000, -89.94000); CreateDynamicObject(2817, 1818.45728, -1291.38208, 26.66300, 0.00000, 0.00000, 90.00000); CreateDynamicObject(630, 1817.98621, -1289.28638, 27.68890, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19858, 1810.45557, -1305.87183, 27.91050, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2817, 1810.71985, -1306.90198, 26.66278, 0.00000, 0.00000, 0.00000); CreateDynamicObject(630, 1809.69299, -1306.33008, 27.67680, 0.00000, 0.00000, 0.00000); CreateDynamicObject(3657, 1818.01782, -1308.66675, 27.14110, 0.00000, 0.00000, -90.00000); CreateDynamicObject(19858, 1818.47034, -1290.12744, 33.37740, 0.00000, 0.24000, -90.00000); CreateDynamicObject(2817, 1818.40845, -1291.37158, 32.12150, 0.00000, 0.00000, 90.00000); CreateDynamicObject(630, 1817.82800, -1289.41907, 33.14260, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19858, 1810.43884, -1301.58325, 33.38430, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2817, 1810.73291, -1301.54382, 32.12015, 0.00000, 0.00000, 0.00000); CreateDynamicObject(630, 1812.59814, -1300.98560, 33.14230, 0.00000, 0.00000, 0.00000); CreateDynamicObject(3657, 1818.08972, -1298.34192, 32.62230, 0.00000, 0.00000, -90.00000); CreateDynamicObject(19858, 1810.61194, -1305.87122, 33.34010, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2817, 1810.85388, -1306.92981, 32.12054, 0.00000, 0.00000, 0.00000); CreateDynamicObject(630, 1810.19580, -1306.63940, 33.14430, 0.00000, 0.00000, 0.00000); CreateDynamicObject(3657, 1817.96960, -1308.51819, 32.63990, 0.00000, 0.00000, -90.00000); CreateDynamicObject(3657, 1818.06543, -1308.56384, 38.09640, 0.00000, 0.00000, -90.00000); CreateDynamicObject(3657, 1817.77454, -1298.23779, 38.07660, 0.00000, 0.00000, -90.00000); CreateDynamicObject(3657, 1817.98767, -1298.30078, 43.53460, 0.00000, 0.00000, -90.00000); CreateDynamicObject(3657, 1818.00415, -1308.34412, 43.53610, 0.00000, 0.00000, -90.00000); CreateDynamicObject(3657, 1818.00842, -1308.40112, 48.94240, 0.00000, 0.00000, -90.00000); CreateDynamicObject(3657, 1817.98181, -1298.31409, 48.93600, 0.00000, 0.00000, -90.00000); CreateDynamicObject(3657, 1817.64063, -1298.12573, 54.40380, 0.00000, 0.00000, -90.00000); CreateDynamicObject(3657, 1817.91602, -1308.84802, 54.42070, 0.00000, 0.00000, -90.00000); CreateDynamicObject(3657, 1817.84082, -1308.53210, 59.85340, 0.00000, 0.00000, -90.00000); CreateDynamicObject(3657, 1817.97522, -1299.39636, 59.85340, 0.00000, 0.00000, -90.00000); CreateDynamicObject(2817, 1813.13147, -1301.50745, 37.57956, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19858, 1812.84497, -1301.58606, 38.80650, 0.00000, 0.00000, 0.00000); CreateDynamicObject(630, 1814.98914, -1300.97949, 38.60050, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19858, 1813.12500, -1305.88220, 38.82970, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2817, 1813.37256, -1306.90454, 37.57929, 0.00000, 0.00000, 0.00000); CreateDynamicObject(630, 1812.59192, -1306.37549, 38.58215, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19858, 1818.48572, -1291.89441, 38.82440, 0.00000, 0.02000, -90.00000); CreateDynamicObject(2817, 1817.44092, -1292.07751, 37.57900, 0.00000, 0.00000, -90.00000); CreateDynamicObject(630, 1818.10181, -1291.14551, 38.57891, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19858, 1818.49536, -1290.18726, 44.30530, 0.00000, 0.00000, -90.00000); CreateDynamicObject(2817, 1817.45850, -1290.46155, 43.03670, 0.00000, 0.00000, -90.00000); CreateDynamicObject(630, 1818.42004, -1290.14661, 44.05680, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19858, 1810.27759, -1301.58472, 44.27060, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2817, 1810.56909, -1301.52979, 43.03790, 0.00000, 0.00000, 0.00000); CreateDynamicObject(630, 1812.45654, -1301.07349, 44.04174, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19858, 1811.07703, -1305.88086, 44.30780, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2817, 1811.28564, -1306.90503, 43.03691, 0.00000, 0.00000, 0.00000); CreateDynamicObject(630, 1810.63513, -1306.52429, 44.07367, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19858, 1811.06226, -1305.87695, 49.70390, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2817, 1811.32080, -1306.87170, 48.43705, 0.00000, 0.00000, 0.00000); CreateDynamicObject(630, 1810.56506, -1306.48035, 49.44183, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19858, 1810.32227, -1301.57581, 49.67600, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2817, 1810.62573, -1301.52673, 48.43766, 0.00000, 0.00000, 0.00000); CreateDynamicObject(630, 1812.49084, -1300.95520, 49.43767, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19858, 1818.50244, -1290.24463, 49.69180, 0.00000, 0.00000, -90.00000); CreateDynamicObject(2817, 1818.42163, -1291.46484, 48.43750, 0.00000, 0.00000, 90.00000); CreateDynamicObject(630, 1818.04944, -1289.75623, 49.43726, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19858, 1818.50024, -1290.07813, 55.15060, 0.00000, 0.00000, -90.00000); CreateDynamicObject(2817, 1818.39771, -1291.31067, 53.89510, 0.00000, 0.00000, 90.00000); CreateDynamicObject(630, 1818.02026, -1289.51355, 54.89906, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19858, 1812.82410, -1301.57739, 55.12160, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2817, 1813.11633, -1301.52954, 53.89597, 0.00000, 0.00000, 0.00000); CreateDynamicObject(630, 1815.04541, -1301.00146, 54.91730, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19858, 1810.49121, -1305.87976, 55.14510, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2817, 1810.73547, -1306.93994, 53.89610, 0.00000, 0.00000, 0.00000); CreateDynamicObject(630, 1809.94226, -1306.43616, 54.91238, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19858, 1810.54895, -1305.87109, 60.60780, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2817, 1810.79321, -1306.91956, 59.35485, 0.00000, 0.00000, 0.00000); CreateDynamicObject(630, 1809.94788, -1306.48999, 60.35789, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19858, 1810.31250, -1301.58752, 60.60930, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2817, 1810.57373, -1301.53345, 59.35481, 0.00000, 0.00000, 0.00000); CreateDynamicObject(630, 1812.52002, -1300.90796, 60.35649, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2817, 1818.43872, -1291.39014, 59.36030, 0.00000, 0.00000, 90.00000); CreateDynamicObject(19858, 1818.48816, -1291.67834, 60.58150, 0.00000, 0.00000, 90.00000); CreateDynamicObject(630, 1817.98047, -1289.55090, 60.35511, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19858, 1818.49304, -1291.83447, 66.07660, 0.00000, 0.00000, -90.00000); CreateDynamicObject(2817, 1818.44104, -1293.06897, 64.81310, 0.00000, 0.00000, 90.00000); CreateDynamicObject(630, 1818.09399, -1291.33435, 65.85410, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19858, 1812.81873, -1301.58826, 66.06580, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2817, 1813.06750, -1301.55640, 64.81448, 0.00000, 0.00000, 0.00000); CreateDynamicObject(630, 1815.02527, -1300.99426, 65.82810, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19858, 1813.05408, -1305.87378, 66.06630, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2817, 1813.31934, -1306.90735, 64.81380, 0.00000, 0.00000, 0.00000); CreateDynamicObject(630, 1812.42053, -1306.27979, 65.81580, 0.00000, 0.00000, 0.00000); CreateDynamicObject(3657, 1817.97778, -1308.53918, 65.31310, 0.00000, 0.00000, -90.00000); CreateDynamicObject(3657, 1818.05249, -1298.11987, 65.35000, 0.00000, 0.00000, -90.00000); CreateDynamicObject(19858, 1810.38245, -1301.58350, 71.51970, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2817, 1810.61670, -1301.51904, 70.27250, 0.00000, 0.00000, 0.00000); CreateDynamicObject(630, 1812.72119, -1300.97266, 71.27979, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19858, 1818.49316, -1290.16638, 71.52100, 0.00000, 0.00000, -90.00000); CreateDynamicObject(2817, 1818.45020, -1291.34912, 70.27250, 0.00000, 0.00000, 90.00000); CreateDynamicObject(630, 1818.04602, -1289.55359, 71.27251, 0.00000, 0.00000, 0.00000); CreateDynamicObject(3657, 1817.96509, -1298.24316, 70.79190, 0.00000, 0.00000, -90.00000); CreateDynamicObject(19858, 1811.12170, -1305.88708, 71.51640, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2817, 1811.34558, -1306.95508, 70.27240, 0.00000, 0.00000, 0.00000); CreateDynamicObject(630, 1810.61792, -1306.45898, 71.27733, 0.00000, 0.00000, 0.00000); CreateDynamicObject(3657, 1817.98987, -1308.37305, 70.77100, 0.00000, 0.00000, -90.00000); CreateDynamicObject(3657, 1818.09509, -1298.14453, 76.17460, 0.00000, 0.00000, -90.00000); CreateDynamicObject(19858, 1818.48047, -1290.14685, 76.91000, 0.00000, 0.00000, -90.00000); CreateDynamicObject(2817, 1818.43066, -1291.32654, 75.66380, 0.00000, 0.00000, 90.00000); CreateDynamicObject(630, 1818.03784, -1289.55090, 76.66463, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19858, 1810.40259, -1301.58508, 76.91750, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2817, 1810.66064, -1301.52844, 75.66419, 0.00000, 0.00000, 0.00000); CreateDynamicObject(630, 1812.63245, -1300.99194, 76.67020, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19858, 1811.07922, -1305.88464, 76.91910, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2817, 1811.34790, -1306.93176, 75.66376, 0.00000, 0.00000, 0.00000); CreateDynamicObject(630, 1810.65491, -1306.41333, 76.66675, 0.00000, 0.00000, 0.00000); CreateDynamicObject(3657, 1818.02490, -1308.36829, 76.16330, 0.00000, 0.00000, -90.00000); CreateDynamicObject(19858, 1818.48938, -1290.09082, 82.38750, 0.00000, 0.00000, -90.00000); CreateDynamicObject(2817, 1818.42627, -1291.30505, 81.12320, 0.00000, 0.00000, 90.00000); CreateDynamicObject(630, 1818.03601, -1289.34570, 82.12630, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19858, 1812.85950, -1301.57068, 82.37230, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2817, 1813.08679, -1301.49573, 81.12331, 0.00000, 0.00000, 0.00000); CreateDynamicObject(630, 1814.97180, -1301.05762, 82.12347, 0.00000, 0.00000, 0.00000); CreateDynamicObject(3657, 1818.08057, -1298.18445, 81.65040, 0.00000, 0.00000, -90.00000); CreateDynamicObject(19858, 1810.34216, -1305.88684, 82.37450, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2817, 1810.60034, -1306.95447, 81.12289, 0.00000, 0.00000, 0.00000); CreateDynamicObject(630, 1809.83411, -1306.49109, 82.12601, 0.00000, 0.00000, 0.00000); CreateDynamicObject(3657, 1817.99768, -1308.85596, 81.61810, 0.00000, 0.00000, -90.00000); CreateDynamicObject(2256, 1806.37207, -1303.76428, 83.46930, 0.00000, 0.00000, -90.00000); CreateDynamicObject(1808, 1806.12390, -1303.74402, 81.12210, 0.00000, 0.00000, -90.00000); CreateDynamicObject(2254, 1806.36926, -1303.67151, 89.65470, 0.00000, 0.00000, -90.00000); CreateDynamicObject(1808, 1806.05554, -1303.67407, 86.57660, 0.00000, 0.00000, -90.00000); CreateDynamicObject(19858, 1818.48975, -1291.60327, 87.85020, 0.00000, 0.00000, 90.00000); CreateDynamicObject(2847, 1818.46790, -1291.38049, 86.58200, 0.00000, 0.00000, 90.00000); CreateDynamicObject(630, 1818.00793, -1289.57922, 87.58304, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19858, 1810.32996, -1301.57422, 87.84490, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2847, 1810.60913, -1301.55322, 86.58179, 0.00000, 0.00000, 0.00000); CreateDynamicObject(630, 1812.44763, -1301.01941, 87.58484, 0.00000, 0.00000, 0.00000); CreateDynamicObject(3657, 1818.06470, -1298.29932, 87.09830, 0.00000, 0.00000, -90.00000); CreateDynamicObject(19858, 1810.62854, -1305.89697, 87.84120, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2847, 1810.84973, -1306.94690, 86.58168, 0.00000, 0.00000, 0.00000); CreateDynamicObject(630, 1810.22107, -1306.41772, 87.60450, 0.00000, 0.00000, 0.00000); CreateDynamicObject(3657, 1817.68018, -1308.37744, 87.12110, 0.00000, 0.00000, -90.00000); CreateDynamicObject(19858, 1818.49402, -1291.82898, 93.29160, 0.00000, 0.00000, -90.00000); CreateDynamicObject(2847, 1818.44348, -1293.05078, 92.04020, 0.00000, 0.00000, 90.00000); CreateDynamicObject(630, 1818.11011, -1291.32129, 93.06120, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19858, 1812.81689, -1301.58765, 93.31450, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2847, 1813.07385, -1301.60132, 92.03979, 0.00000, 0.00000, 0.00000); CreateDynamicObject(630, 1814.88440, -1301.16553, 93.06080, 0.00000, 0.00000, 0.00000); CreateDynamicObject(3657, 1817.96350, -1298.36194, 92.55290, 0.00000, 0.00000, -90.00000); CreateDynamicObject(19858, 1813.04578, -1305.88989, 93.29710, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2847, 1813.31702, -1306.96252, 92.03959, 0.00000, 0.00000, 0.00000); CreateDynamicObject(630, 1812.59753, -1306.28540, 93.06250, 0.00000, 0.00000, 0.00000); CreateDynamicObject(3657, 1817.99890, -1308.65881, 92.55920, 0.00000, 0.00000, -90.00000); CreateDynamicObject(1808, 1806.13525, -1303.63220, 92.00140, 0.00000, 0.00000, -90.00000); CreateDynamicObject(2257, 1806.35681, -1303.59338, 94.87670, 0.00000, 0.00000, -90.00000); CreateDynamicObject(2259, 1805.89575, -1303.70862, 99.71500, 0.00000, 0.00000, -90.00000); CreateDynamicObject(14532, 1805.96973, -1303.75977, 98.46820, 0.00000, 0.00000, 90.00000); CreateDynamicObject(19858, 1810.22131, -1301.56921, 98.73400, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2847, 1810.43213, -1301.53845, 97.49857, 0.00000, 0.00000, 0.00000); CreateDynamicObject(630, 1812.21765, -1301.11536, 98.52700, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19858, 1818.49670, -1290.14453, 98.74460, 0.00000, 0.00000, -90.00000); CreateDynamicObject(2847, 1818.43652, -1291.38037, 97.49820, 0.00000, 0.00000, 90.00000); CreateDynamicObject(630, 1818.20105, -1289.42505, 98.51820, 0.00000, 0.00000, 0.00000); CreateDynamicObject(3657, 1817.99487, -1297.25757, 98.00370, 0.00000, 0.00000, -90.00000); CreateDynamicObject(19858, 1811.10669, -1305.88940, 98.75830, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2847, 1811.30176, -1306.97290, 97.49714, 0.00000, 0.00000, 0.00000); CreateDynamicObject(630, 1810.61633, -1306.22180, 98.52210, 0.00000, 0.00000, 0.00000); CreateDynamicObject(3657, 1817.88953, -1308.35022, 98.01190, 0.00000, 0.00000, -90.00000); CreateDynamicObject(19858, 1811.10547, -1305.88489, 104.14950, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2847, 1811.33167, -1306.99878, 102.89008, 0.00000, 0.00000, 0.00000); CreateDynamicObject(630, 1810.73157, -1306.30579, 103.91920, 0.00000, 0.00000, 0.00000); CreateDynamicObject(3657, 1817.87292, -1308.35901, 103.40790, 0.00000, 0.00000, -90.00000); CreateDynamicObject(3657, 1818.10815, -1298.24170, 103.38210, 0.00000, 0.00000, -90.00000); CreateDynamicObject(19858, 1810.38989, -1301.56567, 104.15590, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2847, 1810.63599, -1301.56067, 102.89010, 0.00000, 0.00000, 0.00000); CreateDynamicObject(630, 1812.41089, -1301.11548, 103.91100, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19858, 1818.48938, -1290.06128, 104.15360, 0.00000, 0.00000, -90.00000); CreateDynamicObject(2847, 1817.42810, -1290.34094, 102.89010, 0.00000, 0.00000, -90.00000); CreateDynamicObject(630, 1818.17969, -1289.63538, 103.91400, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19858, 1812.88867, -1301.58447, 109.59030, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2847, 1813.12488, -1301.57202, 108.34943, 0.00000, 0.00000, 0.00000); CreateDynamicObject(630, 1814.94800, -1301.34253, 109.35226, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19858, 1818.50366, -1290.00610, 109.56419, 0.00000, 0.00000, -90.00000); CreateDynamicObject(2847, 1817.46826, -1290.24817, 108.34930, 0.00000, 0.00000, -90.00000); CreateDynamicObject(630, 1818.34045, -1289.37634, 109.36920, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19858, 1810.30920, -1305.88293, 109.61130, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2847, 1810.56311, -1306.95654, 108.34892, 0.00000, 0.00000, 0.00000); CreateDynamicObject(630, 1809.90576, -1306.24890, 109.37380, 0.00000, 0.00000, 0.00000); CreateDynamicObject(3657, 1817.87769, -1298.06299, 108.86480, 0.00000, 0.00000, -90.00000); CreateDynamicObject(3657, 1817.96350, -1308.84875, 108.85410, 0.00000, 0.00000, -90.00000); CreateDynamicObject(19858, 1810.54028, -1305.88892, 115.07870, 0.00000, 0.00000, 0.00000); CreateDynamicObject(630, 1810.15759, -1306.36670, 114.82990, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2847, 1810.76343, -1306.91785, 113.80740, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19858, 1810.32520, -1301.55347, 115.01109, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2847, 1810.59326, -1301.47791, 113.80841, 0.00000, 0.00000, 0.00000); CreateDynamicObject(630, 1812.53992, -1301.38220, 114.82920, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19858, 1818.50171, -1290.10437, 115.07620, 0.00000, 0.00000, -90.00000); CreateDynamicObject(2847, 1817.46033, -1290.32739, 113.80840, 0.00000, 0.00000, -90.00000); CreateDynamicObject(630, 1818.21313, -1289.60498, 114.82920, 0.00000, 0.00000, 0.00000); CreateDynamicObject(3657, 1818.00134, -1298.28882, 114.27570, 0.00000, 0.00000, -90.00000); CreateDynamicObject(3657, 1817.95813, -1308.48889, 114.26990, 0.00000, 0.00000, -90.00000); CreateDynamicObject(19858, 1818.49451, -1291.81812, 120.52700, 0.00000, 0.00000, -90.00000); CreateDynamicObject(2847, 1817.44641, -1292.06885, 119.26630, 0.00000, 0.00000, -90.00000); CreateDynamicObject(630, 1818.20911, -1291.23145, 120.28820, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19858, 1812.84863, -1301.58374, 120.52500, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2847, 1813.08545, -1301.54773, 119.26654, 0.00000, 0.00000, 0.00000); CreateDynamicObject(630, 1814.88574, -1301.20618, 120.26834, 0.00000, 0.00000, 0.00000); CreateDynamicObject(3657, 1817.85718, -1298.26086, 119.78500, 0.00000, 0.00000, -90.00000); CreateDynamicObject(3657, 1818.10144, -1308.75049, 119.76570, 0.00000, 0.00000, -90.00000); CreateDynamicObject(19858, 1813.17859, -1305.87109, 120.48800, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2847, 1813.39844, -1306.96191, 119.26583, 0.00000, 0.00000, 0.00000); CreateDynamicObject(630, 1812.75195, -1306.31409, 120.29350, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19858, 1811.06494, -1305.88110, 125.98350, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2847, 1811.25964, -1306.96497, 124.72488, 0.00000, 0.00000, 0.00000); CreateDynamicObject(630, 1810.57971, -1306.22583, 125.74870, 0.00000, 0.00000, 0.00000); CreateDynamicObject(3657, 1818.09998, -1308.36328, 125.22440, 0.00000, 0.00000, -90.00000); CreateDynamicObject(1808, 1806.12842, -1302.61169, 124.72500, 0.00000, 0.00000, -90.00000); CreateDynamicObject(14604, 1806.02771, -1304.46643, 125.64780, 0.00000, 0.00000, 90.00000); CreateDynamicObject(2254, 1806.34851, -1303.46814, 127.20890, 0.00000, 0.00000, -90.00000); CreateDynamicObject(19858, 1810.39026, -1301.58350, 125.99140, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2841, 1810.76746, -1301.24194, 124.72605, 0.00000, 0.00000, 0.00000); CreateDynamicObject(630, 1812.63928, -1301.19690, 125.73209, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19858, 1818.48657, -1290.18994, 125.97690, 0.00000, 0.00000, -90.00000); CreateDynamicObject(2847, 1817.29883, -1290.46631, 124.76730, 0.00000, 0.00000, -90.00000); CreateDynamicObject(630, 1818.12463, -1289.75452, 125.74490, 0.00000, 0.00000, 0.00000); CreateDynamicObject(3657, 1817.90002, -1298.26172, 125.22509, 0.00000, 0.00000, -90.00000); //=============================[HQ REPORTER]============================// CreateDynamicObject(980,778,-1384.8000488281,13.89999961853,0,0,180); CreateDynamicObject(11472,738.68500000,-1360.54800000,21.54300000,0.00000000,0.00000000,-90.00000000); // CreateDynamicObject(7927,366.49870000,189.72340000,1008.61030000,0.00000000,0.00000000,90.00000000); // //=============================[HQ ROTA]============================// CreateDynamicObject(7096, 986.70264, -1756.01843, 17.82290, 0.00000, -0.06000, 359.71820); CreateDynamicObject(2946, 327.39999389648, -1511.8000488281, 35, 0, 0, 142); CreateDynamicObject(2946, 327.39999389648, -1511.8000488281, 35, 0, 0, 320.99829101563); //=============================[FAIXA DE PEDESTRES]============================// CreateDynamicObject(2960, 1427.04395, -1716.42712, 12.31130, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2960, 1434.23853, -1719.17004, 12.31130, 0.00000, 0.00000, 90.00000); CreateDynamicObject(2960, 1433.56848, -1719.17505, 12.31130, 0.00000, 0.00000, 90.00000); CreateDynamicObject(2960, 1432.86853, -1719.17505, 12.31130, 0.00000, 0.00000, 90.00000); CreateDynamicObject(2960, 1432.06848, -1719.17505, 12.31130, 0.00000, 0.00000, 90.00000); CreateDynamicObject(2960, 1431.26855, -1719.17505, 12.31130, 0.00000, 0.00000, 90.00000); CreateDynamicObject(2960, 1424.98083, -1719.17004, 12.31130, 0.00000, 0.00000, 90.00000); CreateDynamicObject(2960, 1432.10510, -1721.92993, 12.31130, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2960, 1430.56848, -1719.17004, 12.31130, 0.00000, 0.00000, 90.00000); CreateDynamicObject(2960, 1428.97607, -1719.17004, 12.31130, 0.00000, 0.00000, 90.00000); CreateDynamicObject(2960, 1426.88977, -1719.17004, 12.31130, 0.00000, 0.00000, 90.00000); CreateDynamicObject(2960, 1426.22339, -1719.17004, 12.31130, 0.00000, 0.00000, 90.00000); CreateDynamicObject(2960, 1425.59680, -1719.17004, 12.31130, 0.00000, 0.00000, 90.00000); CreateDynamicObject(2960, 1427.54456, -1719.17004, 12.31130, 0.00000, 0.00000, 90.00000); CreateDynamicObject(2960, 1428.25452, -1719.17004, 12.31130, 0.00000, 0.00000, 90.00000); new TextPrefeitura, TextPrefeitura1; TextPrefeitura = CreateDynamicObject(19353, 1451.55750, -1734.85596, 12.30080, 0.00000, 90.00000, 360.00000); TextPrefeitura1 = CreateDynamicObject(19353, 1513.4871, -1729.7018, 12.3008, 0.0000, 90.0000, 179.6511); for(new i; i< 10; i++) SetObjectMaterial(TextPrefeitura, i, 0, "none", "none", HexToInt("0xRRGGBB00")); for(new i; i< 10; i++) SetObjectMaterial(TextPrefeitura1, i, 0, "none", "none", HexToInt("0xRRGGBB00")); SetObjectMaterialText(TextPrefeitura, "60KM/H", 0, OBJECT_MATERIAL_SIZE_128x64, "Arial", 40, 0, 0xFFFFFFFF, 0, OBJECT_MATERIAL_TEXT_ALIGN_CENTER); SetObjectMaterialText(TextPrefeitura1, "60KM/H", 0, OBJECT_MATERIAL_SIZE_128x64, "Arial", 40, 0, 0xFFFFFFFF, 0, OBJECT_MATERIAL_TEXT_ALIGN_CENTER); //======================[PENITENCIARIA]=====================// CreateDynamicObject(1633, 1804.09998, -1575.5, 11.8, 0.5, 359.998, 104.491); CreateDynamicObject(984, 1803.5, -1577.4, 13.1, 0, 0, 310.5); CreateDynamicObject(984, 1810.8, -1571.2, 13.1, 0, 0, 310.496); CreateDynamicObject(1251, 1812.9, -1577.4, 12.6, 0, 0, 345); CreateDynamicObject(1251, 1804, -1582.5, 12.6, 0, 0, 36.998); CreateDynamicObject(1251, 1794.5, -1590.8, 12.6, 0, 0, 36.996); CreateDynamicObject(1251, 1789.2, -1600.4, 12.6, 0, 0, 76.996); CreateDynamicObject(4638, 1813.5, -1571.4, 14.1, 0, 0, 76); //======================[Pista de Skate]=====================// CreateDynamicObject(11292, 1920.9520263672, -1414.4202880859, 14.034344673157, 0, 0, 178.6494140625);//Telhadinho Drogas // Enfeites na estrada By JeBE CreateDynamicObject(3660, 1044.58240, -2061.19580, 14.47132, 0.00000, 0.00000, 258.73358); CreateDynamicObject(3660, 111.24851, -1542.72437, 8.84320, 0.00000, 0.00000, 338.48392); CreateDynamicObject(3660, 1050.44727, -1836.27747, 14.57267, 0.00000, 0.00000, 288.79974); CreateDynamicObject(3660, 1053.80579, -1854.58655, 14.56225, 0.00000, 0.00000, 271.99451); CreateDynamicObject(3660, 1054.27014, -1873.75806, 14.55172, 0.00000, 0.00000, 270.66623); CreateDynamicObject(3660, 1054.65356, -1893.09875, 14.54108, 0.00000, 0.00000, 271.11633); CreateDynamicObject(3660, 1055.23950, -1912.36316, 14.53034, 0.00000, 0.00000, 271.95990); CreateDynamicObject(3660, 1055.76038, -1931.51611, 14.51949, 0.00000, 0.00000, 271.51605); CreateDynamicObject(3660, 1055.53333, -1950.50781, 14.50854, 0.00000, 0.00000, 267.37601); CreateDynamicObject(3660, 1054.57385, -1970.17859, 14.49747, 0.00000, 0.00000, 267.37601); CreateDynamicObject(3660, 1051.49792, -2012.88501, 14.47132, 0.00000, 0.00000, 264.72714); CreateDynamicObject(3660, 1049.88940, -2025.51855, 14.47132, 0.00000, 0.00000, 262.34689); CreateDynamicObject(3660, 1047.32751, -2044.59827, 14.47132, 0.00000, 0.00000, 262.34689); CreateDynamicObject(3578, 1052.16675, -1984.24072, 11.40790, 0.00000, 0.00000, 265.82788); CreateDynamicObject(3578, 1055.21497, -1984.55676, 11.40790, 0.00000, 0.00000, 265.82791); CreateDynamicObject(3578, 1053.98181, -1984.44556, 11.40790, 0.00000, 0.00000, 265.82791); CreateDynamicObject(3578, 1053.37732, -1984.39551, 11.40790, 0.00000, 0.00000, 265.82788); CreateDynamicObject(3578, 1052.77112, -1984.31799, 11.40790, 0.00000, 0.00000, 265.82788); CreateDynamicObject(3578, 1054.57666, -1984.54016, 11.40790, 0.00000, 0.00000, 265.82791); CreateDynamicObject(3660, 1052.72351, -1999.18115, 14.47132, 0.00000, 0.00000, 264.72714); CreateDynamicObject(3437, 1053.81702, -1979.93359, 15.30088, 0.00000, 0.00000, 0.00000); CreateDynamicObject(3437, 1053.65320, -1989.23657, 15.30088, 0.00000, 0.00000, 0.00000); CreateDynamicObject(3578, 1043.13831, -1823.67358, 12.10359, 0.00000, 0.00000, 304.77841); CreateDynamicObject(3578, 1036.85510, -1815.90430, 12.10359, 0.00000, 0.00000, 313.84973); CreateDynamicObject(3578, 1045.47546, -1822.25964, 12.10359, 0.00000, 0.00000, 304.77841); CreateDynamicObject(3578, 1044.85303, -1822.61060, 12.10359, 0.00000, 0.00000, 304.77841); CreateDynamicObject(3578, 1044.31433, -1822.94495, 12.10360, 0.00000, 0.00000, 304.77841); CreateDynamicObject(3578, 1043.71228, -1823.34729, 12.10359, 0.00000, 0.00000, 304.77841); CreateDynamicObject(3578, 1046.03540, -1821.83923, 12.10359, 0.00000, 0.00000, 304.77841); CreateDynamicObject(3578, 1039.66785, -1814.06714, 12.10359, 0.00000, 0.00000, 313.84973); CreateDynamicObject(3578, 1039.17285, -1814.61169, 12.10359, 0.00000, 0.00000, 313.84973); CreateDynamicObject(3578, 1038.76318, -1815.09204, 12.10359, 0.00000, 0.00000, 313.84973); CreateDynamicObject(3578, 1038.27673, -1815.59766, 12.10359, 0.00000, 0.00000, 313.84973); CreateDynamicObject(3578, 1037.79858, -1816.02380, 12.10360, 0.00000, 0.00000, 313.84970); CreateDynamicObject(3437, 1036.58105, -1813.12158, 14.12350, 0.00000, 0.00000, 46.02321); CreateDynamicObject(3437, 1047.34863, -1826.99744, 14.12350, 0.00000, 0.00000, 17.04814); CreateDynamicObject(3660, 1027.68115, -1808.04089, 15.32142, 0.00000, 0.00000, 331.40967); CreateDynamicObject(3660, 1010.67828, -1800.54138, 15.52851, 0.00000, 0.00000, 341.68472); CreateDynamicObject(3660, 991.96625, -1795.15271, 15.51826, 0.00000, 0.00000, 346.29855); CreateDynamicObject(3660, 973.03363, -1790.60059, 15.51830, 0.00000, 0.00000, 346.29861); CreateDynamicObject(3660, 954.07068, -1786.16492, 15.51830, 0.00000, 0.00000, 347.43024); CreateDynamicObject(3538, 922.58942, -1781.43616, 13.81213, 0.00000, 0.00000, 0.00000); CreateDynamicObject(3578, 909.93951, -1778.35913, 11.92890, 0.00000, 0.00000, 356.86621); CreateDynamicObject(3578, 909.87903, -1782.09094, 11.92890, 0.00000, 0.00000, 356.86621); CreateDynamicObject(3578, 814.10199, -1779.13867, 11.81844, 0.00000, 0.00000, 0.03473); CreateDynamicObject(3578, 909.91290, -1780.85815, 11.92890, 0.00000, 0.00000, 356.86621); CreateDynamicObject(3578, 910.26282, -1780.23523, 11.92890, 0.00000, 0.00000, 356.86621); CreateDynamicObject(3578, 909.98877, -1779.64722, 11.92890, 0.00000, 0.00000, 356.86621); CreateDynamicObject(3578, 910.10150, -1778.97791, 11.92890, 0.00000, 0.00000, 356.86618); CreateDynamicObject(3578, 920.22205, -1780.20288, 11.92890, 0.00000, 0.00000, 356.86618); CreateDynamicObject(3578, 920.20392, -1779.56421, 11.92890, 0.00000, 0.00000, 356.86618); CreateDynamicObject(3578, 920.22406, -1778.94922, 11.92890, 0.00000, 0.00000, 356.86618); CreateDynamicObject(3578, 920.16327, -1780.80444, 11.92890, 0.00000, 0.00000, 356.86618); CreateDynamicObject(3578, 920.14301, -1781.42358, 11.92890, 0.00000, 0.00000, 356.86618); CreateDynamicObject(3578, 920.12305, -1782.03137, 11.92890, 0.00000, 0.00000, 356.86618); CreateDynamicObject(3578, 920.10266, -1782.65344, 11.92890, 0.00000, 0.00000, 356.86618); CreateDynamicObject(3660, 934.78754, -1782.51306, 15.11226, 0.00000, 0.00000, 351.01544); CreateDynamicObject(1290, 915.07666, -1780.12048, 18.31970, 0.00000, 0.00000, 85.52414); CreateDynamicObject(3437, 808.32318, -1777.10718, 18.00234, 0.00000, 0.00000, 98.54019); CreateDynamicObject(3437, 924.89978, -1781.70850, 18.00234, 0.00000, 0.00000, 98.54019); CreateDynamicObject(3660, 896.53888, -1778.92749, 14.91025, 0.00000, 0.00000, 356.76459); CreateDynamicObject(3660, 877.49841, -1777.93030, 15.01025, 0.00000, 0.00000, 357.81534); CreateDynamicObject(3660, 858.25262, -1777.02722, 15.00820, 0.00000, 0.00000, 357.20010); CreateDynamicObject(3660, 838.59149, -1776.77698, 14.99795, 0.00000, 0.00000, 0.75709); CreateDynamicObject(3437, 906.48236, -1779.79504, 18.00234, 0.00000, 0.00000, 98.54019); CreateDynamicObject(3578, 910.09381, -1781.51770, 11.92890, 0.00000, 0.00000, 356.86618); CreateDynamicObject(3578, 814.22473, -1774.83179, 11.81165, 0.00000, 0.00000, 0.03473); CreateDynamicObject(3578, 814.23358, -1775.61426, 11.81281, 0.00000, 0.00000, 0.03473); CreateDynamicObject(3578, 814.15161, -1776.34644, 11.81396, 0.00000, 0.00000, 0.03473); CreateDynamicObject(3578, 814.10632, -1776.99121, 11.81509, 0.00000, 0.00000, 0.03473); CreateDynamicObject(3578, 814.14392, -1777.69788, 11.81622, 0.00000, 0.00000, 0.03473); CreateDynamicObject(3578, 814.15118, -1778.48425, 11.81734, 0.00000, 0.00000, 0.03473); CreateDynamicObject(3437, 819.64899, -1777.37695, 18.00234, 0.00000, 0.00000, 98.54019); CreateDynamicObject(3660, 829.50220, -1777.06360, 15.11021, 0.00000, 0.00000, 1.06112); CreateDynamicObject(3660, 798.73676, -1776.90820, 14.56356, 0.00000, 0.00000, 358.22620); CreateDynamicObject(3660, 779.36145, -1776.07532, 14.57301, 0.00000, 0.00000, 356.53870); CreateDynamicObject(3660, 760.99658, -1773.74719, 14.58237, 0.00000, 0.00000, 348.92395); CreateDynamicObject(3660, 742.43262, -1769.70532, 14.59164, 0.00000, 0.00000, 346.34772); CreateDynamicObject(3660, 724.05750, -1764.30664, 15.84526, 0.00000, 0.00000, 342.16104); CreateDynamicObject(3660, 705.70203, -1758.37378, 15.84526, 0.00000, 0.00000, 342.16104); CreateDynamicObject(3660, 692.53082, -1754.04504, 14.89031, 0.00000, 0.00000, 340.82019); CreateDynamicObject(3660, 673.87939, -1748.22998, 14.89031, 0.00000, 0.00000, 344.56964); CreateDynamicObject(3660, 655.09943, -1743.04468, 14.89031, 0.00000, 0.00000, 345.39822); CreateDynamicObject(3660, 618.35626, -1735.58545, 14.89031, 0.00000, 0.00000, 349.51205); CreateDynamicObject(3578, 640.41455, -1741.64746, 11.77362, 0.00000, 0.00000, 349.49915); CreateDynamicObject(3578, 641.11432, -1738.25415, 11.76509, 0.00000, 0.00000, 349.49915); CreateDynamicObject(3578, 640.80988, -1739.23645, 11.76725, 0.00000, 0.00000, 349.49915); CreateDynamicObject(3578, 640.70380, -1739.97192, 11.76940, 0.00000, 0.00000, 349.49915); CreateDynamicObject(3578, 640.58649, -1740.72693, 11.77152, 0.00000, 0.00000, 349.49915); CreateDynamicObject(3578, 633.19525, -1740.21997, 11.78382, 0.00000, 0.00000, 349.49915); CreateDynamicObject(3578, 633.29468, -1739.28528, 11.78182, 0.00000, 0.00000, 349.49915); CreateDynamicObject(3578, 633.33917, -1738.51563, 11.77980, 0.00000, 0.00000, 349.49915); CreateDynamicObject(3578, 633.40778, -1737.67383, 11.77776, 0.00000, 0.00000, 349.49915); CreateDynamicObject(3578, 633.60248, -1736.76648, 11.77570, 0.00000, 0.00000, 349.49915); CreateDynamicObject(3437, 627.88007, -1737.58386, 17.29554, 0.00000, 0.00000, 78.38548); CreateDynamicObject(3437, 645.55676, -1740.97827, 17.29554, 0.00000, 0.00000, 78.38548); CreateDynamicObject(3660, 599.11548, -1732.21558, 14.89031, 0.00000, 0.00000, 350.56158); CreateDynamicObject(3660, 580.26984, -1729.33313, 14.79031, 0.00000, 0.00000, 351.83847); CreateDynamicObject(3660, 561.16174, -1726.57080, 13.87282, 0.00000, 0.00000, 351.83847); CreateDynamicObject(3660, 541.92542, -1724.06531, 13.89090, 0.00000, 0.00000, 353.24664); CreateDynamicObject(3660, 523.24829, -1721.88281, 13.88190, 0.00000, 0.00000, 353.24664); CreateDynamicObject(3660, 504.41815, -1719.14417, 12.74492, 0.00000, 0.00000, 350.42230); CreateDynamicObject(3660, 485.11292, -1716.22827, 12.76517, 0.00000, 0.00000, 352.28171); CreateDynamicObject(3578, 463.12628, -1712.12427, 9.24900, -2.00000, -1.10000, 351.90750); CreateDynamicObject(3578, 462.68341, -1716.88049, 9.16899, -2.00000, -1.10000, 351.90753); CreateDynamicObject(3578, 462.90872, -1714.80920, 9.16899, -2.00000, -1.10000, 351.90753); CreateDynamicObject(3578, 462.99716, -1714.03967, 9.16899, -2.00000, -1.10000, 351.90753); CreateDynamicObject(3578, 463.04568, -1713.40601, 9.18900, -2.00000, -1.10000, 351.90750); CreateDynamicObject(3578, 463.10803, -1712.80798, 9.20900, -2.00000, -1.10000, 351.90750); CreateDynamicObject(3578, 462.80676, -1715.56885, 9.16899, -2.00000, -1.10000, 351.90753); CreateDynamicObject(3578, 462.74982, -1716.17444, 9.16899, -2.00000, -1.10000, 351.90753); CreateDynamicObject(3437, 457.62079, -1713.36597, 10.93896, 0.00000, 0.00000, 79.96103); CreateDynamicObject(3437, 467.58548, -1714.31812, 10.93896, 0.00000, 0.00000, 79.96103); CreateDynamicObject(3660, 477.33972, -1715.13879, 12.44488, 0.00000, 0.00000, 352.48273); CreateDynamicObject(3660, 447.76581, -1712.17810, 11.62468, 0.00000, 0.00000, 355.63016); CreateDynamicObject(3660, 428.53528, -1710.60925, 10.90333, 0.00000, 0.00000, 354.32858); CreateDynamicObject(3660, 409.53683, -1709.40210, 10.38600, 0.00000, 0.00000, 358.98465); CreateDynamicObject(3660, 390.20657, -1709.60889, 9.57082, 0.00000, 0.00000, 2.65128); CreateDynamicObject(3660, 371.19153, -1709.90234, 8.52696, 0.00000, 0.00000, 0.20440); CreateDynamicObject(3578, 326.95108, -1709.27478, 5.02329, 0.00000, 0.00000, 354.68954); CreateDynamicObject(3578, 327.35608, -1704.73438, 5.02329, 0.00000, 0.00000, 355.60321); CreateDynamicObject(3578, 327.30298, -1705.32068, 5.02329, 0.00000, 0.00000, 355.64197); CreateDynamicObject(3578, 327.19031, -1706.10681, 5.02329, 0.00000, 0.00000, 355.98001); CreateDynamicObject(3578, 327.11859, -1706.79578, 5.02329, 0.00000, 0.00000, 355.50122); CreateDynamicObject(3578, 327.12756, -1707.58044, 5.02329, 0.00000, 0.00000, 355.39612); CreateDynamicObject(3578, 327.10211, -1708.11035, 5.02330, 0.00000, 0.00000, 355.33340); CreateDynamicObject(3578, 327.04239, -1708.68518, 5.02330, 0.00000, 0.00000, 354.84720); CreateDynamicObject(3578, 332.53879, -1731.60901, 3.05930, 18.00000, 0.00000, 355.88000); CreateDynamicObject(3578, 337.01801, -1709.41187, 5.02329, 0.00000, 0.00000, 357.13672); CreateDynamicObject(3578, 337.16241, -1708.20129, 5.02329, 0.00000, 0.00000, 357.13672); CreateDynamicObject(3578, 337.08929, -1708.81409, 5.02329, 0.00000, 0.00000, 357.13672); CreateDynamicObject(3578, 337.25775, -1707.40198, 5.02329, 0.00000, 0.00000, 357.13672); CreateDynamicObject(3578, 337.34174, -1706.69788, 5.02329, 0.00000, 0.00000, 357.13672); CreateDynamicObject(3578, 337.42670, -1705.98584, 5.02329, 0.00000, 0.00000, 357.13672); CreateDynamicObject(3578, 337.49860, -1705.38306, 5.02329, 0.00000, 0.00000, 357.13672); CreateDynamicObject(3437, 327.55560, -1721.34802, 7.49567, 0.00000, 0.00000, 81.82710); CreateDynamicObject(3437, 271.36264, -1707.71973, 7.49567, 0.00000, 0.00000, 77.08588); CreateDynamicObject(3660, 428.95871, -1724.12988, 10.78788, 0.00000, 0.00000, 354.25568); CreateDynamicObject(3660, 312.26254, -1704.23059, 8.31987, 0.00000, 0.00000, 348.08307); CreateDynamicObject(3660, 293.22165, -1699.59192, 8.42290, 0.00000, 0.00000, 344.75159); CreateDynamicObject(3660, 276.97824, -1694.35938, 8.96438, 0.00000, 0.00000, 339.62100); CreateDynamicObject(3660, 261.12387, -1686.88611, 9.99395, 0.00000, 0.00000, 330.69699); CreateDynamicObject(3660, 246.48102, -1677.69373, 10.64699, 0.00000, 0.00000, 325.61053); CreateDynamicObject(3660, 237.85558, -1670.53528, 11.45416, 0.00000, 0.00000, 318.65781); CreateDynamicObject(3660, 230.01613, -1662.58435, 12.61938, 0.00000, 0.00000, 313.46405); CreateDynamicObject(3660, 220.97911, -1653.18237, 13.35119, 0.00000, 0.00000, 314.27722); CreateDynamicObject(3660, 213.27318, -1644.36353, 13.97675, 0.00000, 0.00000, 310.01987); CreateDynamicObject(3660, 208.05090, -1637.85327, 14.69810, 0.00000, 0.00000, 308.43729); CreateDynamicObject(3660, 200.47150, -1628.29053, 15.31226, 0.00000, 0.00000, 308.11566); CreateDynamicObject(3660, 192.03883, -1617.75024, 15.82236, 0.00000, 0.00000, 308.73755); CreateDynamicObject(3660, 180.03296, -1602.66064, 15.31226, 0.00000, 0.00000, 308.42142); CreateDynamicObject(3660, 168.15854, -1588.21680, 14.38991, 0.00000, 0.00000, 310.04999); CreateDynamicObject(3660, 164.61252, -1583.72107, 13.68086, 0.00000, 0.00000, 311.94107); CreateDynamicObject(3660, 125.72377, -1549.95288, 9.39804, 0.00000, 0.00000, 326.62970); CreateDynamicObject(3660, 125.72377, -1549.95288, 10.71778, 0.00000, 0.00000, 326.62970); CreateDynamicObject(3437, 100.99815, -1539.03906, 10.54812, 0.00000, 0.00000, 59.84120); CreateDynamicObject(3437, 157.96248, -1576.46570, 11.94543, 0.00000, 0.00000, 11.94767); CreateDynamicObject(3437, 134.51471, -1555.76379, 11.94543, 0.00000, 0.00000, 27.51295); CreateDynamicObject(3660, 110.19202, -1541.85718, 7.40862, 0.00000, 0.00000, 341.18127); CreateDynamicObject(3578, 336.94510, -1710.02271, 5.04330, 0.00000, 0.00000, 357.13669); CreateDynamicObject(3578, 332.65399, -1720.50305, 4.96330, 0.00000, 0.00000, 357.13669); CreateDynamicObject(3578, 332.62860, -1721.13989, 4.96330, 0.00000, 0.00000, 357.07669); CreateDynamicObject(3578, 332.61389, -1721.80127, 4.94330, 0.00000, 0.00000, 357.07669); CreateDynamicObject(3578, 332.59750, -1722.55786, 4.94330, 0.00000, 0.00000, 357.01669); CreateDynamicObject(3578, 332.92197, -1735.28711, 2.95169, 0.00000, 0.00000, 356.13068); CreateDynamicObject(3578, 332.71588, -1724.07666, 4.94330, 0.00000, 0.00000, 357.07669); CreateDynamicObject(3578, 332.66959, -1724.85864, 4.94330, 0.00000, 0.00000, 357.07669); CreateDynamicObject(3578, 332.54770, -1725.23792, 4.85930, 18.00000, 0.00000, 356.61523); CreateDynamicObject(3578, 332.61670, -1726.78674, 4.35930, 18.00000, 0.00000, 356.00000); CreateDynamicObject(3578, 332.57730, -1727.37378, 4.19930, 18.00000, 0.00000, 356.00000); CreateDynamicObject(3578, 332.60190, -1728.05493, 3.99930, 18.00000, 0.00000, 355.88000); CreateDynamicObject(3578, 332.62000, -1728.83545, 3.77930, 18.00000, 0.00000, 355.88000); CreateDynamicObject(3578, 332.65561, -1729.51904, 3.57930, 18.00000, 0.00000, 355.82001); CreateDynamicObject(3578, 332.44241, -1730.19275, 3.37930, 18.00000, 0.00000, 355.88000); CreateDynamicObject(3578, 332.58871, -1730.90576, 3.21930, 18.00000, 0.00000, 355.88000); CreateDynamicObject(3578, 332.60831, -1723.27405, 4.94330, 0.00000, 0.00000, 357.07669); CreateDynamicObject(3578, 332.56070, -1732.46484, 2.95169, 0.00000, 0.00000, 356.13068); CreateDynamicObject(3578, 332.60629, -1733.14905, 2.95169, 0.00000, 0.00000, 356.13068); CreateDynamicObject(3578, 332.64871, -1733.84094, 2.95169, 0.00000, 0.00000, 356.13068); CreateDynamicObject(3578, 332.68967, -1734.52856, 2.95169, 0.00000, 0.00000, 356.13068); CreateDynamicObject(3578, 332.79211, -1725.93884, 4.61930, 18.00000, 0.00000, 356.61520); CreateDynamicObject(3437, 341.95404, -1708.24292, 7.49567, 0.00000, 0.00000, 77.08588); CreateDynamicObject(3437, 338.30591, -1721.97375, 7.49567, 0.00000, 0.00000, 81.82710); CreateDynamicObject(3660, 352.29019, -1709.05627, 8.22395, 0.00000, 0.00000, 354.38977); CreateDynamicObject(3660, 280.56625, -1710.39368, 8.59607, 0.00000, 0.00000, 341.42096); CreateDynamicObject(3660, 365.26828, -1723.88599, 8.35378, 0.00000, 0.00000, 357.86230); CreateDynamicObject(3660, 380.23016, -1723.81555, 8.36924, 0.00000, 0.00000, 1.25530); CreateDynamicObject(3660, 395.87906, -1723.33533, 9.36060, 0.00000, 0.00000, 1.55831); CreateDynamicObject(3660, 410.15369, -1723.15173, 10.38184, 0.00000, 0.00000, 359.11118); CreateDynamicObject(3660, 317.82358, -1718.94739, 8.04045, 0.00000, 0.00000, 350.23859); CreateDynamicObject(3660, 299.19733, -1715.35925, 8.04045, 0.00000, 0.00000, 347.90265); CreateDynamicObject(3437, 322.17792, -1706.08875, 7.49567, 0.00000, 0.00000, 77.08588); CreateDynamicObject(3660, 347.82336, -1722.72327, 7.92094, 0.00000, 0.00000, 354.83386); // Spawn Ladrao Carros e Desmanche CreateDynamicObject(0, 1356.07825, 472.84030, 25.11810, 0.00000, 0.00000, 242.61639); CreateDynamicObject(19486, 1606.99109, -2171.29712, 15.10324, 0.00000, 0.00000, 181.70425); CreateDynamicObject(19890, 1604.43494, -2168.24292, 11.55160, 180.00000, 0.00000, 89.77866); CreateDynamicObject(19815, 1622.38379, -2174.80273, 14.63492, 0.00000, 0.00000, 268.17188); CreateDynamicObject(19815, 1613.98206, -2176.14258, 14.63492, 0.00000, 0.00000, 89.68362); CreateDynamicObject(19447, 1579.84521, -2148.06128, 14.11823, 0.00000, 0.00000, 269.69199); CreateDynamicObject(18766, 1579.42419, -2147.94287, 10.91150, 0.00000, 0.00000, 180.01312); CreateDynamicObject(18766, 1574.78625, -2154.08960, 10.91151, 0.00000, 0.00000, 89.94676); CreateDynamicObject(18980, 1574.93970, -2149.79883, 3.83920, 0.00000, 0.00000, 0.04980); CreateDynamicObject(18980, 1574.79895, -2159.07593, 3.83924, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19447, 1580.05811, -2188.69116, 14.19952, 0.00000, 0.00000, 89.90257); CreateDynamicObject(18980, 1584.92358, -2188.67261, 3.83920, 0.00000, 0.00000, 0.00000); CreateDynamicObject(18766, 1589.25977, -2188.68311, 10.91151, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19447, 1590.09473, -2188.69165, 14.19952, 0.00000, 0.00000, 89.90257); CreateDynamicObject(18980, 1594.70215, -2188.67383, 3.83920, 0.00000, 0.00000, 0.00000); CreateDynamicObject(18766, 1599.86523, -2188.71606, 10.91151, 0.00000, 0.00000, 359.59393); CreateDynamicObject(19447, 1599.29004, -2188.67285, 14.19952, 0.00000, 0.00000, 89.90257); CreateDynamicObject(18980, 1604.35498, -2188.75562, 3.83920, 0.00000, 0.00000, 0.00000); CreateDynamicObject(18766, 1609.89331, -2188.78198, 10.91151, 0.00000, 0.00000, 359.59393); CreateDynamicObject(18980, 1619.84985, -2168.18115, 2.12690, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19447, 1609.37073, -2188.82861, 14.19952, 0.00000, 0.00000, 89.90257); CreateDynamicObject(18980, 1624.84473, -2188.79370, 3.83920, 0.00000, 0.00000, 0.00000); CreateDynamicObject(18766, 1629.43420, -2188.76465, 10.91151, 0.00000, 0.00000, 359.59393); CreateDynamicObject(19447, 1629.70764, -2188.77026, 14.19952, 0.00000, 0.00000, 89.90257); CreateDynamicObject(18980, 1634.27087, -2188.93555, 3.83920, 0.00000, 0.00000, 0.00000); CreateDynamicObject(18766, 1634.47534, -2184.16016, 10.91151, 0.00000, 0.00000, 86.68632); CreateDynamicObject(19447, 1574.86890, -2153.19678, 14.19952, 0.00000, 0.00000, 180.30823); CreateDynamicObject(18980, 1634.75659, -2179.65601, 3.83920, 0.00000, 0.00000, 357.12985); CreateDynamicObject(19447, 1634.69482, -2174.93384, 14.19952, 0.00000, 0.00000, 179.41286); CreateDynamicObject(18766, 1634.74146, -2174.79004, 10.91150, 0.00000, 0.00000, 90.04590); CreateDynamicObject(18980, 1634.75745, -2169.35913, 3.83920, 0.00000, 0.00000, 358.06671); CreateDynamicObject(18766, 1634.79102, -2163.95581, 10.91150, 0.00000, 0.00000, 90.04590); CreateDynamicObject(18766, 1634.79102, -2163.95581, 10.91150, 0.00000, 0.00000, 90.04590); CreateDynamicObject(19447, 1634.81799, -2164.22632, 14.19952, 0.00000, 0.00000, 179.41286); CreateDynamicObject(18980, 1634.78003, -2159.11816, 3.83920, 0.00000, 0.00000, 358.06671); CreateDynamicObject(18980, 1634.68311, -2148.85107, 3.83920, 0.00000, 0.00000, 358.06671); CreateDynamicObject(18766, 1634.74866, -2153.76050, 10.91150, 0.00000, 0.00000, 90.04590); CreateDynamicObject(18766, 1629.07178, -2147.87036, 10.91150, 0.00000, 0.00000, 180.01312); CreateDynamicObject(19447, 1634.89392, -2154.08521, 14.19952, 0.00000, 0.00000, 180.54443); CreateDynamicObject(18980, 1634.53491, -2147.93970, 3.83920, 0.00000, 0.00000, 358.06671); CreateDynamicObject(19447, 1629.85608, -2147.79248, 14.11823, 0.00000, 0.00000, 269.96927); CreateDynamicObject(18980, 1624.71228, -2147.87549, 3.83920, 0.00000, 0.00000, 358.06671); CreateDynamicObject(18766, 1619.28442, -2147.85229, 10.91150, 0.00000, 0.00000, 180.01312); CreateDynamicObject(18766, 1608.60388, -2147.83716, 10.91150, 0.00000, 0.00000, 180.01312); CreateDynamicObject(19447, 1619.50354, -2147.84814, 14.11823, 0.00000, 0.00000, 269.96927); CreateDynamicObject(18980, 1614.12671, -2147.84521, 3.83920, 0.00000, 0.00000, 358.06671); CreateDynamicObject(19447, 1609.36426, -2147.71631, 14.11823, 0.00000, 0.00000, 269.96927); CreateDynamicObject(18980, 1604.14014, -2147.88501, 3.83920, 0.00000, 0.00000, 358.06671); CreateDynamicObject(18766, 1598.88586, -2147.85376, 10.91150, 0.00000, 0.00000, 180.01312); CreateDynamicObject(18980, 1594.38525, -2147.85522, 3.83920, 0.00000, 0.00000, 0.04980); CreateDynamicObject(19447, 1599.03369, -2147.78760, 14.11823, 0.00000, 0.00000, 269.96927); CreateDynamicObject(18766, 1588.90051, -2147.90503, 10.91150, 0.00000, 0.00000, 180.01312); CreateDynamicObject(18980, 1584.42004, -2147.89819, 3.83920, 0.00000, 0.00000, 0.04980); CreateDynamicObject(19447, 1589.24304, -2147.94141, 14.11823, 0.00000, 0.00000, 270.62885); CreateDynamicObject(18766, 1579.30823, -2188.66675, 10.91151, 0.00000, 0.00000, 0.00000); CreateDynamicObject(18980, 1574.79932, -2188.66919, 3.83924, 0.00000, 0.00000, 0.00000); CreateDynamicObject(18766, 1574.79468, -2183.32202, 10.91151, 0.00000, 0.00000, 89.94676); CreateDynamicObject(18980, 1574.81201, -2178.87695, 3.83924, 0.00000, 0.00000, 0.00000); CreateDynamicObject(18766, 1574.81213, -2173.47900, 10.91151, 0.00000, 0.00000, 89.94676); CreateDynamicObject(18980, 1574.85242, -2169.00732, 3.83924, 0.00000, 0.00000, 0.00000); CreateDynamicObject(18766, 1574.83008, -2163.54712, 10.91151, 0.00000, 0.00000, 89.94676); CreateDynamicObject(18980, 1574.95386, -2147.95313, 3.83920, 0.00000, 0.00000, 0.04980); CreateDynamicObject(18980, 1574.93945, -2148.84717, 3.83920, 0.00000, 0.00000, 0.04980); CreateDynamicObject(19447, 1634.42725, -2184.14868, 14.19952, 0.00000, 0.00000, 176.88312); CreateDynamicObject(19447, 1574.82874, -2183.83813, 14.19952, 0.00000, 0.00000, 179.87720); CreateDynamicObject(19447, 1574.97241, -2173.68018, 14.19952, 0.00000, 0.00000, 179.26199); CreateDynamicObject(19447, 1575.06750, -2163.89429, 14.19952, 0.00000, 0.00000, 180.30823); CreateDynamicObject(939, 1619.88196, -2164.23438, 15.00993, 0.00000, 0.00000, 359.48987); CreateDynamicObject(939, 1610.95166, -2163.73999, 15.00993, 0.00000, 0.00000, 359.48987); CreateDynamicObject(3593, 1602.52759, -2174.96313, 14.37066, 0.00000, 0.00000, 88.85648); CreateDynamicObject(3593, 1595.03540, -2177.85059, 14.38642, 0.00000, 0.00000, 88.85648); CreateDynamicObject(3593, 1595.14893, -2175.01880, 14.40233, 0.00000, 0.00000, 88.85648); CreateDynamicObject(3593, 1609.89038, -2174.83521, 14.33962, 0.00000, 0.00000, 88.85648); CreateDynamicObject(3593, 1602.37170, -2177.88159, 14.35506, 0.00000, 0.00000, 88.85648); CreateDynamicObject(3593, 1609.82971, -2177.78906, 14.32433, 0.00000, 0.00000, 88.85648); CreateDynamicObject(3593, 1609.82971, -2177.78906, 12.79513, 0.00000, 0.00000, 88.85648); CreateDynamicObject(3593, 1609.89038, -2174.83521, 12.79513, 0.00000, 0.00000, 88.85648); CreateDynamicObject(3593, 1602.37170, -2177.88159, 12.79513, 0.00000, 0.00000, 88.85648); CreateDynamicObject(3593, 1602.52759, -2174.96313, 12.79513, 0.00000, 0.00000, 88.85648); CreateDynamicObject(3593, 1595.03540, -2177.85059, 12.79513, 0.00000, 0.00000, 88.85648); CreateDynamicObject(3593, 1595.14893, -2175.01880, 12.79513, 0.00000, 0.00000, 88.85648); CreateDynamicObject(3593, 1609.82971, -2177.78906, 13.62412, 0.00000, 0.00000, 88.85648); CreateDynamicObject(3593, 1609.89038, -2174.83521, 13.63241, 0.00000, 0.00000, 88.85648); CreateDynamicObject(3593, 1602.37170, -2177.88159, 13.64078, 0.00000, 0.00000, 88.85648); CreateDynamicObject(3593, 1602.52759, -2174.96313, 13.64924, 0.00000, 0.00000, 88.85648); CreateDynamicObject(3593, 1595.03540, -2177.85059, 13.65778, 0.00000, 0.00000, 88.85648); CreateDynamicObject(3593, 1595.14893, -2175.01880, 13.66641, 0.00000, 0.00000, 88.85648); CreateDynamicObject(922, 1593.77332, -2168.53027, 13.23948, 0.00000, 0.00000, 1.00100); CreateDynamicObject(922, 1611.32520, -2168.24219, 13.23330, 0.00000, 0.00000, 1.00100); CreateDynamicObject(922, 1606.87561, -2168.36084, 13.23126, 0.00000, 0.00000, 1.00100); CreateDynamicObject(922, 1602.45459, -2168.42798, 13.23540, 0.00000, 0.00000, 1.00100); CreateDynamicObject(922, 1598.04187, -2168.49463, 13.23744, 0.00000, 0.00000, 1.00100); CreateDynamicObject(939, 1616.82324, -2164.15186, 15.00993, 0.00000, 0.00000, 359.48987); CreateDynamicObject(939, 1595.45557, -2163.78296, 15.00993, 0.00000, 0.00000, 359.48987); CreateDynamicObject(939, 1605.85229, -2163.87451, 15.00993, 0.00000, 0.00000, 359.48987); CreateDynamicObject(939, 1600.68420, -2163.91113, 15.00993, 0.00000, 0.00000, 359.48987); CreateDynamicObject(19462, 1593.55383, -2171.50537, 12.47150, 0.00000, 90.00000, 90.48890); CreateDynamicObject(19462, 1618.76917, -2174.48999, 12.46550, 0.00000, 90.00000, 0.00000); CreateDynamicObject(19462, 1618.75610, -2166.80762, 12.47150, 0.00000, 90.00000, 0.00000); CreateDynamicObject(19462, 1612.57532, -2171.34302, 12.47150, 0.00000, 90.00000, 90.48890); CreateDynamicObject(19462, 1603.05774, -2171.43652, 12.47150, 0.00000, 90.00000, 90.48890); CreateDynamicObject(18248, 1623.86084, -2176.31787, 19.54888, 0.00000, 0.00000, 355.26074); CreateDynamicObject(18248, 1577.89380, -2167.77954, 19.54888, 0.00000, 0.00000, 355.26074); CreateDynamicObject(13591, 1630.04004, -2177.91260, 12.68777, 0.00000, 0.00000, 34.66444); CreateDynamicObject(13591, 1581.10986, -2170.80347, 12.67428, 0.00000, 0.00000, 314.07605); CreateDynamicObject(12957, 1581.58838, -2184.28027, 13.19896, 0.00000, 0.00000, 0.00000); CreateDynamicObject(12957, 1577.85132, -2184.75439, 13.19896, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1080, 1596.58337, -2169.02075, 13.92260, 0.00000, 0.00000, 274.12830); CreateDynamicObject(1080, 1612.57056, -2168.61182, 13.92257, 0.00000, 0.00000, 274.12830); CreateDynamicObject(1080, 1601.12817, -2168.95264, 13.92257, 0.00000, 0.00000, 274.12830); CreateDynamicObject(1080, 1599.55957, -2168.98779, 13.92260, 0.00000, 0.00000, 274.12830); CreateDynamicObject(1080, 1603.87708, -2168.87109, 13.92257, 0.00000, 0.00000, 274.12830); CreateDynamicObject(1080, 1605.51440, -2168.85938, 13.92257, 0.00000, 0.00000, 274.12830); CreateDynamicObject(1080, 1608.09668, -2168.76953, 13.92257, 0.00000, 0.00000, 274.12830); CreateDynamicObject(1080, 1609.78882, -2168.82104, 13.92257, 0.00000, 0.00000, 274.12830); CreateDynamicObject(1010, 1606.59131, -2168.27612, 13.26962, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1001, 1602.46301, -2168.46118, 13.26680, 0.00000, 0.00000, 359.85724); CreateDynamicObject(1116, 1613.06958, -2168.60010, 12.66111, 0.00000, 0.00000, 181.34363); CreateDynamicObject(1116, 1597.44629, -2169.01978, 12.66111, 0.00000, 0.00000, 181.34363); CreateDynamicObject(1116, 1599.59143, -2168.97339, 12.66111, 0.00000, 0.00000, 181.34363); CreateDynamicObject(1116, 1603.96484, -2168.83765, 12.66111, 0.00000, 0.00000, 181.34363); CreateDynamicObject(1116, 1605.69482, -2168.85718, 12.66111, 0.00000, 0.00000, 181.34363); CreateDynamicObject(1116, 1608.43372, -2168.81396, 12.66111, 0.00000, 0.00000, 181.34363); CreateDynamicObject(1116, 1610.13245, -2168.78149, 12.66111, 0.00000, 0.00000, 181.34363); CreateDynamicObject(1128, 1607.46899, -2175.21558, 14.42099, 0.00000, 0.00000, 177.04431); CreateDynamicObject(1128, 1599.72644, -2174.86743, 14.42099, 0.00000, 0.00000, 177.04431); CreateDynamicObject(1128, 1602.43213, -2175.02441, 14.42099, 0.00000, 0.00000, 177.04431); CreateDynamicObject(1128, 1604.94604, -2175.23804, 14.42099, 0.00000, 0.00000, 177.04431); CreateDynamicObject(13591, 1580.99414, -2177.08838, 12.68106, 0.00000, 0.00000, 34.66444); CreateDynamicObject(19817, 1618.94141, -2173.16602, 11.95562, 0.00000, 0.00000, 0.21022); CreateDynamicObject(18980, 1614.44617, -2188.81763, 3.83920, 0.00000, 0.00000, 0.00000); CreateDynamicObject(18980, 1618.02405, -2168.10669, 2.12690, 0.00000, 0.00000, 0.00000); //=-=-=-=-=-=-=-=-=-=-= BLOQUEIOS E OUTROS =-=-=-=-=-=-=-=-=-=-=-=// CreateDynamicObject(3580, 1946.49658, -1822.28149, 16.86840, 0.00000, 0.00000, -90.00000); CreateDynamicObject(3580, 1946.49658, -1810.73755, 16.86840, 0.00000, 0.00000, -90.00000); CreateDynamicObject(1412, 1951.79077, -1802.59290, 13.81250, 0.00000, 0.00000, 90.00000); CreateDynamicObject(1412, 1951.79077, -1799.70691, 13.81250, 0.00000, 0.00000, 90.00000); CreateDynamicObject(1412, 1936.29651, -1816.88428, 13.81250, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1412, 1933.57910, -1814.30615, 13.81250, 0.00000, 0.00000, 90.00000); CreateDynamicObject(1412, 1925.81421, -1822.15979, 13.81250, 0.00000, 0.00000, -7.80000); CreateDynamicObject(1412, 1930.96851, -1822.85168, 13.81250, 0.00000, 0.00000, -7.80000); CreateDynamicObject(1412, 1936.07300, -1823.55164, 13.81250, 0.00000, 0.00000, -7.80000); CreateDynamicObject(1412, 1936.46265, -1823.66174, 13.81250, 0.00000, 0.00000, -7.80000); CreateDynamicObject(1412, 1933.57910, -1809.01526, 13.81250, 0.00000, 0.00000, 90.00000); CreateDynamicObject(1412, 1933.57910, -1803.72424, 13.81250, 0.00000, 0.00000, 90.00000); CreateDynamicObject(1412, 1933.57910, -1799.87622, 13.81250, 0.00000, 0.00000, 90.00000); CreateDynamicObject(1412, 1920.68274, -1821.42932, 13.81250, 0.00000, 0.00000, -7.80000); CreateDynamicObject(1412, 1918.16980, -1818.52466, 13.81250, 0.00000, 0.00000, 90.00000); CreateDynamicObject(1412, 1918.16980, -1813.23364, 13.81250, 0.00000, 0.00000, 90.00000); CreateDynamicObject(1412, 1918.16980, -1808.42371, 13.81250, 0.00000, 0.00000, 90.00000); CreateDynamicObject(1412, 1918.16980, -1803.61365, 13.81250, 0.00000, 0.00000, 90.00000); CreateDynamicObject(1412, 1918.16980, -1799.76575, 13.81250, 0.00000, 0.00000, 90.00000); CreateDynamicObject(1594, 1929.63892, -1800.77332, 13.01780, 0.00000, 0.00000, -39.12001); CreateDynamicObject(1594, 1922.53906, -1803.99536, 13.01780, 0.00000, 0.00000, -39.12001); CreateDynamicObject(1594, 1926.42456, -1807.34924, 13.01780, 0.00000, 0.00000, -39.12001); CreateDynamicObject(1594, 1930.20483, -1811.68640, 13.01780, 0.00000, 0.00000, -39.12001); CreateDynamicObject(1594, 1923.70435, -1813.17224, 13.01780, 0.00000, 0.00000, -39.12001); CreateDynamicObject(1594, 1927.42017, -1818.67236, 13.01780, 0.00000, 0.00000, -39.12001); CreateDynamicObject(3463, 1918.54578, -1797.86365, 12.30771, 0.00000, 0.00000, 0.00000); CreateDynamicObject(3463, 1918.54578, -1797.86365, 12.30770, 0.00000, 0.00000, 90.00000); CreateDynamicObject(3463, 1918.54578, -1820.95166, 12.30770, 0.00000, 0.00000, 90.00000); CreateDynamicObject(3463, 1918.54578, -1820.95166, 12.30770, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2371, 1937.88647, -1815.89648, 12.54462, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2371, 1935.33142, -1813.79834, 12.54462, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2371, 1937.43750, -1810.82849, 12.54462, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1412, 1900.89648, -1794.84583, 13.81250, 0.00000, 0.00000, 90.00000); CreateDynamicObject(1412, 1903.40637, -1797.42188, 13.81250, 3.14160, 0.00000, 0.00000); CreateDynamicObject(3580, 1945.46338, -1883.87244, 16.86840, 0.00000, 0.00000, -90.00000); CreateDynamicObject(3580, 1945.46338, -1872.80945, 16.86840, 0.00000, 0.00000, -90.00000); CreateDynamicObject(3580, 1945.46338, -1861.74646, 16.86840, 0.00000, 0.00000, -90.00000); CreateDynamicObject(1412, 1951.72266, -1853.86426, 13.44943, 0.00000, 0.00000, 90.00000); CreateDynamicObject(970, 2091.68262, -1804.40417, 13.00698, 0.00000, 0.00000, 90.00000); CreateDynamicObject(970, 2091.71069, -1808.45166, 13.00698, 0.00000, 0.00000, 90.00000); CreateDynamicObject(970, 2091.71069, -1809.41370, 13.00700, 0.00000, 0.00000, 90.00000); CreateDynamicObject(970, 2091.71069, -1824.32471, 13.00700, 0.00000, 0.00000, 90.00000); CreateDynamicObject(970, 2091.71069, -1828.17273, 13.00700, 0.00000, 0.00000, 90.00000); CreateDynamicObject(970, 2091.71069, -1829.61572, 13.00700, 0.00000, 0.00000, 90.00000); CreateDynamicObject(970, 2092.85449, -1789.01025, 13.00700, 0.00000, 0.00000, 74.58400); CreateDynamicObject(970, 2093.96875, -1785.06177, 13.00700, 0.00000, 0.00000, 74.58400); CreateDynamicObject(970, 2095.04077, -1781.10999, 13.00700, 0.00000, 0.00000, 74.58400); CreateDynamicObject(970, 2096.06836, -1777.19714, 13.00700, 0.00000, 0.00000, 74.58400); CreateDynamicObject(970, 2097.23389, -1773.12695, 13.00700, 0.00000, 0.00000, 74.58400); CreateDynamicObject(970, 2098.25342, -1769.29932, 13.00700, 0.00000, 0.00000, 74.58400); CreateDynamicObject(970, 2099.25439, -1765.46851, 13.00700, 0.00000, 0.00000, 74.58400); CreateDynamicObject(970, 2099.60132, -1764.26575, 13.00700, 0.00000, 0.00000, 74.58400); CreateDynamicObject(970, 2102.25098, -1762.32727, 13.00700, 0.00000, 0.00000, 0.00000); CreateDynamicObject(970, 2103.69409, -1762.32727, 13.00700, 0.00000, 0.00000, 0.00000); CreateDynamicObject(3463, 2095.72949, -1806.71729, 11.59910, 0.00000, 0.00000, 0.00000); CreateDynamicObject(3463, 2095.72949, -1806.71729, 11.59910, 0.00000, 0.00000, 90.00000); CreateDynamicObject(980, 2091.00879, -1837.65564, 14.46080, 0.00000, 0.00000, 82.30400); CreateDynamicObject(3580, 2065.98657, -1868.65332, 16.86840, 0.00000, 0.00000, -90.00000); CreateDynamicObject(3580, 2065.98657, -1879.71631, 16.86840, 0.00000, 0.00000, -90.00000); CreateDynamicObject(19913, 2033.56042, -1863.25830, 12.53433, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19913, 2018.16846, -1863.25830, 12.53430, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19913, 2032.04187, -1888.30310, 12.53430, 0.00000, 0.00000, 90.00000); CreateDynamicObject(980, 2091.55298, -1868.28918, 14.46080, 0.00000, 0.00000, 99.13900); CreateDynamicObject(19913, 2013.09058, -1922.19348, 12.53430, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19913, 1971.62183, -1887.94202, 12.53430, 0.00000, 0.00000, 90.00000); CreateDynamicObject(19913, 1971.66187, -1847.03442, 12.53430, 0.00000, 0.00000, 90.00000); CreateDynamicObject(970, 2077.25659, -1762.33484, 13.00700, 0.00000, 0.00000, 0.00000); CreateDynamicObject(970, 2073.40869, -1762.33484, 13.00700, 0.00000, 0.00000, 0.00000); CreateDynamicObject(970, 2069.56055, -1762.33484, 13.00700, 0.00000, 0.00000, 0.00000); CreateDynamicObject(970, 2067.15552, -1762.33484, 13.00700, 0.00000, 0.00000, 0.00000); CreateDynamicObject(3463, 632.34998, -1401.03528, 12.31256, 0.00000, 0.00000, 0.00000); CreateDynamicObject(3463, 632.34998, -1401.03528, 12.31260, 0.00000, 0.00000, 90.00000); CreateDynamicObject(3463, 632.37415, -1588.59656, 14.51429, 0.00000, 0.00000, 0.00000); CreateDynamicObject(3463, 632.37408, -1588.59656, 14.51430, 0.00000, 0.00000, 90.00000); CreateDynamicObject(3463, 625.78741, -1737.05176, 12.55989, 0.00000, 0.00000, 0.00000); CreateDynamicObject(3463, 625.78741, -1737.05176, 12.55990, 0.00000, 0.00000, 90.00000); CreateDynamicObject(1237, 68.59418, -1536.07703, 3.95699, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1237, 68.59420, -1534.63403, 3.95700, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1237, 68.59420, -1533.19104, 3.95700, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1237, 68.59420, -1531.74805, 3.95700, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19913, 50.76250, -1519.26379, 5.43270, 0.00000, 0.00000, -7.21500); CreateDynamicObject(19913, 50.76250, -1543.79480, 5.43270, 0.00000, 0.00000, -7.21500); CreateDynamicObject(3463, 26.02380, -1516.19116, 3.72240, 0.00000, 0.00000, 90.00000); CreateDynamicObject(3463, 26.02380, -1516.19116, 3.72240, 0.00000, 0.00000, 0.00000); CreateDynamicObject(3463, 25.97156, -1540.45386, 3.72240, 0.00000, 0.00000, 0.00000); CreateDynamicObject(3463, 25.97160, -1540.45386, 3.72240, 0.00000, 0.00000, 90.00000); CreateDynamicObject(3463, 75.52577, -1522.36401, 3.56471, 0.00000, 0.00000, 0.00000); CreateDynamicObject(3463, 75.52580, -1522.36401, 3.56470, 0.00000, 0.00000, 90.00000); CreateDynamicObject(3463, 75.78003, -1546.78210, 3.56470, 0.00000, 0.00000, 90.00000); CreateDynamicObject(3463, 75.78000, -1546.78210, 3.56470, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1237, 34.98289, -1525.90149, 4.27669, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1237, 34.85588, -1527.38794, 4.27670, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1237, 34.84241, -1528.92993, 4.27670, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1237, 34.81721, -1530.40967, 4.27670, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1237, 34.95876, -1531.71021, 4.27670, 0.00000, 0.00000, 0.00000); CreateDynamicObject(973, -93.77170, -1163.65051, 2.11040, 0.00000, 0.00000, 66.83300); CreateDynamicObject(973, -96.80711, -1170.76257, 2.11040, 0.00000, 0.00000, 66.83300); CreateDynamicObject(973, -94.94384, -1170.99927, 2.11040, 0.00000, 0.00000, -111.95304); CreateDynamicObject(973, -92.27326, -1164.37000, 2.11040, 0.00000, 0.00000, -111.95304); CreateDynamicObject(1237, -91.32320, -1160.26709, 1.03185, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1237, -84.61852, -1163.34741, 1.03185, 0.00000, 0.00000, 0.00000); CreateDynamicObject(973, -87.02367, -1166.74939, 2.11040, 0.00000, 0.00000, 66.83300); CreateDynamicObject(973, -90.53506, -1174.93567, 2.11040, 0.00000, 0.00000, 66.83300); CreateDynamicObject(973, -88.66740, -1175.22449, 2.11040, 0.00000, 0.00000, -113.39600); CreateDynamicObject(973, -85.11293, -1166.95422, 2.11040, 0.00000, 0.00000, -113.39600); CreateDynamicObject(1237, -91.01122, -1178.37329, 1.03185, 0.00000, 0.00000, 0.00000); CreateDynamicObject(973, -86.83437, -1166.26306, 2.11040, 0.00000, 0.00000, 66.83300); CreateDynamicObject(983, -111.88430, -1175.91638, 2.52846, 0.00000, 0.00000, -23.52000); CreateDynamicObject(983, -109.35203, -1170.04492, 2.52846, 0.00000, 0.00000, -23.52000); CreateDynamicObject(983, -106.85590, -1164.18433, 2.04750, 0.00000, 0.00000, -23.52000); CreateDynamicObject(983, -104.94090, -1159.72791, 1.56650, 0.00000, 0.00000, -23.52000); CreateDynamicObject(983, -103.27930, -1156.04346, 1.08550, 0.00000, 0.00000, -23.52000); CreateDynamicObject(1237, 1305.01379, -1852.25513, 12.28358, 0.00000, 0.00000, 0.00000); CreateDynamicObject(3463, 1305.04907, -1852.25122, 13.10382, 0.00000, 0.00000, 0.00000); CreateDynamicObject(3463, 1305.04907, -1852.25122, 13.10380, 0.00000, 0.00000, 90.00000); CreateDynamicObject(19913, 1304.54639, -1815.07104, 12.54410, 0.00000, 0.00000, 90.00000); CreateDynamicObject(19913, 1304.53918, -1765.75256, 12.54410, 0.00000, 0.00000, 90.00000); CreateDynamicObject(19913, 1304.53918, -1754.20862, 12.54410, 0.00000, 0.00000, 90.00000); CreateDynamicObject(19913, 1304.53918, -1671.47656, 12.54410, 0.00000, 0.00000, 90.00000); CreateDynamicObject(713, 1305.33447, -1696.66125, 12.43750, 0.00000, 0.00000, 0.00000); CreateDynamicObject(3578, 1303.38232, -1702.16138, 11.90355, 0.00000, 0.00000, 90.00000); CreateDynamicObject(3578, 1303.40137, -1708.88916, 11.90360, 0.00000, 0.00000, 90.00000); CreateDynamicObject(3578, 1303.40137, -1718.50916, 11.90360, 0.00000, 0.00000, 90.00000); CreateDynamicObject(3578, 1303.40137, -1726.68616, 11.90360, 0.00000, 0.00000, 90.00000); CreateDynamicObject(3578, 1306.74927, -1702.16138, 11.90360, 0.00000, 0.00000, 90.00000); CreateDynamicObject(3578, 1306.74927, -1712.26245, 11.90360, 0.00000, 0.00000, 90.00000); CreateDynamicObject(3578, 1306.74927, -1722.36340, 11.90360, 0.00000, 0.00000, 90.00000); CreateDynamicObject(3578, 1306.74927, -1725.73035, 11.90360, 0.00000, 0.00000, 90.00000); CreateDynamicObject(3578, 1305.77893, -1725.76941, 11.90360, 0.00000, 0.00000, 90.00000); CreateDynamicObject(3578, 1304.82532, -1725.73035, 11.90360, 0.00000, 0.00000, 90.00000); CreateDynamicObject(3578, 1303.86328, -1725.73035, 11.90360, 0.00000, 0.00000, 90.00000); CreateDynamicObject(3578, 1305.78735, -1716.59131, 11.90360, 0.00000, 0.00000, 90.00000); CreateDynamicObject(3578, 1305.78735, -1706.49036, 11.90360, 0.00000, 0.00000, 90.00000); CreateDynamicObject(3578, 1305.78735, -1702.16125, 11.90360, 0.00000, 0.00000, 90.00000); CreateDynamicObject(3578, 1304.82544, -1702.16125, 11.90360, 0.00000, 0.00000, 90.00000); CreateDynamicObject(3578, 1304.82544, -1711.78125, 11.90360, 0.00000, 0.00000, 90.00000); CreateDynamicObject(3578, 1304.82544, -1718.51526, 11.90360, 0.00000, 0.00000, 90.00000); CreateDynamicObject(3578, 1303.86340, -1718.51526, 11.90360, 0.00000, 0.00000, 90.00000); CreateDynamicObject(3578, 1303.86340, -1708.41431, 11.90360, 0.00000, 0.00000, 90.00000); CreateDynamicObject(3578, 1303.86340, -1702.16125, 11.90360, 0.00000, 0.00000, 90.00000); CreateDynamicObject(3578, 1305.29785, -1725.76941, 11.90360, 0.00000, 0.00000, 90.00000); CreateDynamicObject(3578, 1304.33594, -1725.76941, 11.90360, 0.00000, 0.00000, 90.00000); CreateDynamicObject(3578, 1306.25989, -1725.76941, 11.90360, 0.00000, 0.00000, 90.00000); CreateDynamicObject(3578, 1306.25989, -1716.14941, 11.90360, 0.00000, 0.00000, 90.00000); CreateDynamicObject(3578, 1306.25989, -1707.49146, 11.90360, 0.00000, 0.00000, 90.00000); CreateDynamicObject(3578, 1306.25989, -1702.20044, 11.90360, 0.00000, 0.00000, 90.00000); CreateDynamicObject(3578, 1305.29785, -1702.20044, 11.90360, 0.00000, 0.00000, 90.00000); CreateDynamicObject(3578, 1304.33594, -1702.20044, 11.90360, 0.00000, 0.00000, 90.00000); CreateDynamicObject(3578, 1304.33594, -1709.89636, 11.90360, 0.00000, 0.00000, 90.00000); CreateDynamicObject(3578, 1304.33594, -1715.66846, 11.90360, 0.00000, 0.00000, 90.00000); CreateDynamicObject(3578, 1305.29785, -1715.66846, 11.90360, 0.00000, 0.00000, 90.00000); CreateDynamicObject(3578, 1305.29785, -1711.33936, 11.90360, 0.00000, 0.00000, 90.00000); CreateDynamicObject(1237, 1961.64417, -1961.12195, 12.48097, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1237, 1961.64929, -2156.85522, 12.27640, 0.00000, 0.00000, 0.00000); CreateDynamicObject(3660, 1523.29272, -1611.98730, 14.82440, 0.00000, 0.00000, 90.00000); CreateDynamicObject(3660, 1523.29272, -1629.30334, 14.82440, 0.00000, 0.00000, 90.00000); CreateDynamicObject(3660, 1523.29272, -1647.58130, 14.82440, 0.00000, 0.00000, 90.00000); CreateDynamicObject(3660, 1523.29272, -1664.89734, 14.82440, 0.00000, 0.00000, 90.00000); CreateDynamicObject(3660, 1523.29272, -1682.21326, 14.82440, 0.00000, 0.00000, 90.00000); CreateDynamicObject(3660, 1523.29272, -1700.49133, 14.82440, 0.00000, 0.00000, 90.00000); CreateDynamicObject(3660, 1523.29272, -1712.99731, 14.82440, 0.00000, 0.00000, 90.00000); CreateDynamicObject(983, 1539.13464, -1712.59131, 13.20271, 0.00000, 0.00000, 0.00000); CreateDynamicObject(983, 1539.13464, -1706.33826, 13.20270, 0.00000, 0.00000, 0.00000); CreateDynamicObject(983, 1539.13464, -1702.97131, 13.20270, 0.00000, 0.00000, 0.00000); CreateDynamicObject(983, 1539.13464, -1696.71826, 13.20270, 0.00000, 0.00000, 0.00000); CreateDynamicObject(983, 1539.13464, -1690.46533, 13.20270, 0.00000, 0.00000, 0.00000); CreateDynamicObject(983, 1539.13464, -1684.21228, 13.20270, 0.00000, 0.00000, 0.00000); CreateDynamicObject(983, 1539.13464, -1660.64331, 13.20270, 0.00000, 0.00000, 0.00000); CreateDynamicObject(983, 1539.13464, -1654.39026, 13.20270, 0.00000, 0.00000, 0.00000); CreateDynamicObject(983, 1539.13464, -1648.13733, 13.20270, 0.00000, 0.00000, 0.00000); CreateDynamicObject(983, 1539.13464, -1642.36536, 13.20270, 0.00000, 0.00000, 0.00000); CreateDynamicObject(983, 1539.13464, -1638.99829, 13.20270, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1237, 1539.24951, -1664.15564, 12.39661, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1237, 1539.22449, -1681.07544, 12.39661, 0.00000, 0.00000, 0.00000); CreateDynamicObject(3660, 1435.36108, -1612.00330, 14.82440, 0.00000, 0.00000, 90.00000); CreateDynamicObject(3660, 1435.36108, -1630.76233, 14.82440, 0.00000, 0.00000, 90.00000); CreateDynamicObject(3660, 1435.36108, -1650.00232, 14.82440, 0.00000, 0.00000, 90.00000); CreateDynamicObject(3660, 1435.36108, -1667.79932, 14.82440, 0.00000, 0.00000, 90.00000); CreateDynamicObject(3660, 1435.36108, -1686.55835, 14.82440, 0.00000, 0.00000, 90.00000); CreateDynamicObject(3660, 1435.36108, -1705.79834, 14.82440, 0.00000, 0.00000, 90.00000); CreateDynamicObject(3660, 1435.36108, -1712.53235, 14.82440, 0.00000, 0.00000, 90.00000); CreateDynamicObject(3463, 1539.23987, -1681.06226, 12.54012, 0.00000, 0.00000, 0.00000); CreateDynamicObject(3463, 1539.23987, -1664.06226, 12.54010, 0.00000, 0.00000, 0.00000); CreateDynamicObject(3463, 1539.23987, -1664.06226, 12.54010, 0.00000, 0.00000, 90.00000); CreateDynamicObject(3463, 1539.23987, -1681.06226, 12.54010, 0.00000, 0.00000, 90.00000); CreateDynamicObject(1237, 1435.52063, -1723.32690, 12.40855, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1237, 1436.50696, -1725.03015, 12.40855, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1237, 1438.81458, -1726.51978, 12.40855, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19646, 1452.73010, -1732.24341, 9.83242, 0.00000, 180.00000, 90.00000); CreateDynamicObject(19646, 1460.40002, -1592.26599, 9.85440, 0.00000, 180.00000, 90.00000); CreateDynamicObject(19646, 1224.92993, -1572.49426, 9.93781, 0.00000, 180.00000, 90.00000); CreateDynamicObject(19646, 1193.58289, -1712.19360, 9.86723, 0.00000, 180.00000, 90.00000); CreateDynamicObject(19646, 917.36249, -1679.64722, 9.91674, 0.00000, 180.00000, 0.00000); CreateDynamicObject(19646, 897.03387, -1572.23987, 9.82968, 0.00000, 180.00000, 90.00000); CreateDynamicObject(19646, 917.47931, -1458.29358, 9.93242, 0.00000, 180.00000, 0.00000); CreateDynamicObject(19646, 1163.24097, -1406.34546, 9.88542, 0.00000, 180.00000, 90.00000); CreateDynamicObject(19646, 1163.24097, -1396.72546, 9.88540, 0.00000, 180.00000, 90.00000); CreateDynamicObject(19646, 1163.24097, -1394.80151, 9.88540, 0.00000, 180.00000, 90.00000); CreateDynamicObject(19646, 1206.15552, -1353.62744, 9.83795, 0.00000, 180.00000, 0.00000); CreateDynamicObject(19646, 1196.53552, -1353.62744, 9.83790, 0.00000, 180.00000, 0.00000); CreateDynamicObject(19646, 1194.61145, -1353.62744, 9.83790, 0.00000, 180.00000, 0.00000); CreateDynamicObject(19646, 1234.44287, -1280.87817, 9.87741, 0.00000, 180.00000, 90.00000); CreateDynamicObject(19646, 1063.14307, -1341.89783, 9.91245, 0.00000, 180.00000, 0.00000); CreateDynamicObject(19646, 1054.00415, -1341.89783, 9.91240, 0.00000, 180.00000, 0.00000); CreateDynamicObject(19646, 972.67908, -1319.99817, 9.90213, 0.00000, 180.00000, 90.00000); CreateDynamicObject(19646, 972.67908, -1327.69421, 9.90210, 0.00000, 180.00000, 90.00000); CreateDynamicObject(19646, 402.22910, -1772.24365, 1.79254, 0.00000, 180.00000, 90.00000); CreateDynamicObject(19646, -40.66251, -1516.76953, -1.73119, 0.00000, 180.00000, -96.00000); CreateDynamicObject(19646, -39.66982, -1507.39734, -1.73120, 0.00000, 180.00000, -96.00000); CreateDynamicObject(19646, -127.05502, -1200.75940, -0.62232, 0.00000, 180.00000, -17.99999); CreateDynamicObject(19646, -130.52354, -1199.59119, -0.62232, 0.00000, 180.00000, -17.99999); CreateDynamicObject(19646, 17.31500, -685.12793, 1.10757, 0.00000, 180.00000, -22.26000); CreateDynamicObject(19646, 20.69011, -686.59882, 1.10757, 0.00000, 180.00000, -22.26000); CreateDynamicObject(19646, 1732.38770, 460.93732, 27.11127, 0.00000, 180.00000, -22.00000); CreateDynamicObject(19646, 1723.21277, 464.68582, 27.11127, 0.00000, 180.00000, -22.00000); CreateDynamicObject(19646, 1714.50745, 467.84357, 27.11127, 0.00000, 180.00000, -22.00000); CreateDynamicObject(19646, 1705.70239, 471.37619, 27.11127, 0.00000, 180.00000, -22.00000); CreateDynamicObject(19646, 2042.15454, 1502.15417, 7.13740, 0.00000, 180.00000, 0.00000); CreateDynamicObject(19646, 2049.85059, 1502.15417, 7.13740, 0.00000, 180.00000, 0.00000); CreateDynamicObject(19646, 2062.83740, 1502.15417, 7.13740, 0.00000, 180.00000, 0.00000); CreateDynamicObject(19646, 2072.45752, 1502.15417, 7.13740, 0.00000, 180.00000, 0.00000); CreateDynamicObject(19646, 2131.99707, 973.47247, 7.15605, 0.00000, 180.00000, 90.00000); CreateDynamicObject(19646, 2252.18774, -1142.26794, 22.95019, 0.00000, 180.00000, -107.40002); CreateDynamicObject(19646, 2072.27661, -1169.95215, 20.15168, 0.00000, 180.00000, 0.00000); CreateDynamicObject(19646, 2066.98560, -1169.95215, 20.15170, 0.00000, 180.00000, 0.00000); CreateDynamicObject(19646, 1887.87622, -1260.97156, 9.89979, 0.00000, 180.00000, 90.00000); CreateDynamicObject(19646, 1852.03552, -1378.26709, 9.88966, 0.00000, 180.00000, 0.00000); CreateDynamicObject(19646, 1846.74451, -1378.26709, 9.88970, 0.00000, 180.00000, 0.00000); CreateDynamicObject(19646, 1883.23425, -1612.22632, 9.84774, 0.00000, 180.00000, 90.00000); CreateDynamicObject(19646, 1821.86279, -1877.26160, 9.88080, 0.00000, 180.00000, 0.00000); CreateDynamicObject(19646, 1981.52502, -1752.20642, 9.85895, 0.00000, 180.00000, 90.00000); CreateDynamicObject(19646, 2081.59985, -1844.91101, 9.83089, 0.00000, 180.00000, 0.00000); CreateDynamicObject(19646, 628.17828, -1508.08350, 11.14261, 0.00000, 180.00000, 0.00000); CreateDynamicObject(19646, 626.73529, -1508.08350, 11.14260, 0.00000, 180.00000, 0.00000); CreateDynamicObject(19646, 637.79828, -1508.08350, 11.14260, 0.00000, 180.00000, 0.00000); CreateDynamicObject(19646, 489.25021, -1710.17200, 8.14570, 0.00000, 178.55701, 82.80000); CreateDynamicObject(19646, 486.89868, -1724.82776, 7.84735, 0.00000, 178.55701, 82.80000); CreateDynamicObject(19646, 942.93457, -1776.38647, 10.22311, 0.00000, 179.51900, 77.64000); CreateDynamicObject(19646, 911.81384, -1787.69275, 9.86537, 0.00000, 180.00000, 88.32000); //LOJINHA PERTO DO HOSPITAL CreateDynamicObject(6053, 1296.82813, -1427.50781, 19.29688, 356.85840, 0.00000, 3.14159); CreateDynamicObject(1491, 1218.60620, -1416.83142, 12.27530, 0.00000, 0.00000, -1.00000); CreateDynamicObject(1491, 1221.63354, -1416.82935, 12.27530, 0.00000, 0.00000, 180.00000); CreateDynamicObject(19378, 1228.74011, -1416.64099, 22.20790, 0.00000, 0.00000, 90.00000); CreateDynamicObject(1649, 1229.03601, -1416.49365, 12.13070, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1649, 1229.03601, -1416.49365, 15.35070, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1649, 1224.72925, -1416.49231, 12.09070, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1649, 1224.72925, -1416.49231, 15.35070, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1649, 1229.03601, -1416.49365, 15.35070, 0.00000, 0.00000, 0.00000); CreateDynamicObject(18762, 1232.58447, -1428.52625, 14.52300, 0.00000, 0.00000, 0.00000); CreateDynamicObject(18762, 1222.11218, -1416.73499, 14.52300, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19378, 1210.90723, -1416.58813, 22.26790, 0.00000, 0.00000, 90.00000); CreateDynamicObject(1649, 1215.47961, -1416.94958, 12.09070, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1649, 1211.11719, -1416.95398, 12.09070, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1649, 1215.47961, -1416.94958, 15.39070, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1649, 1211.11719, -1416.95398, 15.39070, 0.00000, 0.00000, 0.00000); CreateDynamicObject(6053, 1296.82813, -1427.50781, 19.29688, 356.85840, 0.00000, 3.14159); CreateDynamicObject(1649, 1229.03601, -1416.49365, 12.13070, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1649, 1229.03601, -1416.49365, 15.35070, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1649, 1224.72925, -1416.49231, 12.09070, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1649, 1224.72925, -1416.49231, 15.35070, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1649, 1229.03601, -1416.49365, 15.35070, 0.00000, 0.00000, 0.00000); CreateDynamicObject(18762, 1222.11218, -1416.73499, 14.52300, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1649, 1215.47961, -1416.94958, 12.09070, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1649, 1211.11719, -1416.95398, 12.09070, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1649, 1219.92859, -1416.80945, 16.45070, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1649, 1211.11719, -1416.95398, 15.39070, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1649, 1215.47961, -1416.94958, 15.39070, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1887, 1215.71875, -1428.55920, 12.43010, 0.00000, 0.00000, -182.00000); CreateDynamicObject(1987, -2.24215, -2.32182, 2.61375, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1887, 1224.11292, -1428.44141, 12.43010, 0.00000, 0.00000, -180.00000); CreateDynamicObject(1987, 1218.92542, -1421.92542, 12.27070, 0.00000, 0.00000, 181.00000); CreateDynamicObject(1987, 1218.80811, -1428.31274, 12.27070, 0.00000, 0.00000, 181.00000); CreateDynamicObject(1889, 1208.78503, -1423.51965, 12.28260, 0.00000, 0.00000, 89.00000); CreateDynamicObject(1987, 1217.78772, -1428.34631, 12.27070, 0.00000, 0.00000, 181.00000); CreateDynamicObject(1889, 1222.57251, -1424.14514, 12.28260, 0.00000, 0.00000, 89.00000); CreateDynamicObject(1987, 1222.59656, -1422.07251, 12.27070, 0.00000, 0.00000, 181.00000); CreateDynamicObject(1987, 1222.59656, -1422.07251, 12.27070, 0.00000, 0.00000, 181.00000); CreateDynamicObject(1433, 1212.14600, -1424.60205, 12.53330, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1433, 1214.17749, -1424.71899, 12.53330, 0.00000, 0.00000, 0.00000); CreateDynamicObject(18645, 1214.44800, -1425.09253, 13.11740, 0.00000, -25.00000, 0.00000); CreateDynamicObject(18645, 1214.05640, -1425.17908, 13.11740, 0.00000, -25.00000, 0.00000); CreateDynamicObject(18645, 1214.06750, -1424.76587, 13.11740, 0.00000, -25.00000, 0.00000); CreateDynamicObject(19627, 1214.02551, -1424.66931, 13.20687, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19627, 1211.95117, -1424.96204, 13.05720, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19627, 1212.24463, -1425.02039, 13.05720, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19627, 1212.20178, -1424.70117, 13.05720, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19627, 1212.20178, -1424.70117, 13.05720, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19627, 1212.25647, -1424.40503, 13.05720, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19627, 1211.86292, -1424.33228, 13.05720, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19627, 1211.78992, -1424.72778, 13.05720, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1887, 1220.92700, -1428.52869, 12.43010, 0.00000, 0.00000, -181.00000); CreateDynamicObject(1889, 1218.88269, -1423.96594, 12.28260, 0.00000, 0.00000, 89.00000); CreateDynamicObject(19324, 1209.97131, -1428.50635, 12.87970, 0.00000, 0.00000, 175.00000); CreateDynamicObject(1433, 1225.87549, -1418.85974, 12.51140, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1433, 1225.42346, -1421.52295, 12.51140, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1433, 1227.84998, -1418.83350, 12.51140, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19893, 1229.68542, -1418.88379, 12.99800, 0.00000, 0.00000, 178.00000); CreateDynamicObject(19893, 1227.82593, -1418.85315, 12.99800, 0.00000, 0.00000, 178.00000); CreateDynamicObject(19893, 1225.83728, -1418.82056, 12.99800, 0.00000, 0.00000, 178.00000); CreateDynamicObject(1433, 1229.75317, -1418.81384, 12.51140, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1433, 1229.70752, -1421.59326, 12.51140, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1433, 1227.74634, -1421.56104, 12.51140, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19160, 1230.06665, -1421.99792, 13.01730, 0.00000, -91.00000, 4.00000); CreateDynamicObject(19160, 1229.71936, -1421.85657, 13.01730, 0.00000, -91.00000, 4.00000); CreateDynamicObject(19160, 1229.27576, -1421.92615, 13.01730, 0.00000, -91.00000, 4.00000); CreateDynamicObject(19140, 1227.31274, -1421.26575, 13.05740, 0.00000, -11.00000, 84.00000); CreateDynamicObject(19140, 1227.72803, -1421.27246, 13.05740, 0.00000, -11.00000, 84.00000); CreateDynamicObject(19140, 1227.72803, -1421.27246, 13.05740, 0.00000, -10.00000, 84.00000); CreateDynamicObject(19140, 1227.72803, -1421.27246, 13.05740, 0.00000, -11.00000, 84.00000); CreateDynamicObject(19140, 1227.72803, -1421.27246, 13.05740, 0.00000, -11.00000, 84.00000); CreateDynamicObject(19140, 1228.14111, -1421.27930, 13.05740, 0.00000, -11.00000, 84.00000); CreateDynamicObject(19140, 1227.72803, -1421.27246, 13.05740, 0.00000, -10.00000, 84.00000); CreateDynamicObject(19317, 1225.24243, -1421.27161, 13.03730, -84.00000, 105.00000, 149.00000); CreateDynamicObject(1649, 1224.72925, -1416.49231, 12.09070, 0.00000, 0.00000, -180.00000); CreateDynamicObject(1649, 1224.72925, -1416.49231, 15.35070, 0.00000, 0.00000, -180.00000); CreateDynamicObject(1649, 1229.03601, -1416.49365, 12.13070, 0.00000, 0.00000, -180.00000); CreateDynamicObject(1649, 1229.03601, -1416.49365, 15.35070, 0.00000, 0.00000, -180.00000); CreateDynamicObject(1649, 1211.11719, -1416.95398, 12.09070, 0.00000, 0.00000, -180.00000); CreateDynamicObject(1649, 1211.11719, -1416.95398, 15.39070, 0.00000, 0.00000, -180.00000); CreateDynamicObject(1649, 1215.47961, -1416.94958, 15.39070, 0.00000, 0.00000, -180.00000); CreateDynamicObject(1649, 1215.47961, -1416.94958, 12.09070, 0.00000, 0.00000, -180.00000); CreateDynamicObject(1649, 1219.92859, -1416.80945, 16.45070, 0.00000, 0.00000, 180.00000); CreateDynamicObject(3660, 1246.74817, -1416.98193, 14.43600, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1597, 1228.23853, -1400.84387, 14.81940, 0.00000, 0.00000, 90.00000); CreateDynamicObject(3811, 1211.20764, -1416.05420, 12.47970, 0.00000, 0.00000, 89.00000); CreateDynamicObject(3811, 1229.10522, -1415.94006, 12.47970, 0.00000, 0.00000, 89.00000); CreateDynamicObject(3811, 1225.07068, -1415.84509, 12.47970, 0.00000, 0.00000, 89.00000); CreateDynamicObject(3811, 1215.74951, -1416.09705, 12.47970, 0.00000, 0.00000, 89.00000); CreateDynamicObject(1597, 1208.81580, -1400.78271, 14.87940, 0.00000, 0.00000, 90.00000); CreateDynamicObject(1984, 1229.66626, -1427.13489, 12.39210, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1984, 1229.66626, -1427.13489, 12.39210, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1829, 1231.62097, -1428.12683, 12.95680, 0.00000, 0.00000, -178.00000); CreateDynamicObject(18762, 1218.26855, -1416.78918, 14.52300, 0.00000, 0.00000, 0.00000); CreateDynamicObject(18762, 1232.58008, -1428.57043, 19.50300, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19379, 1232.45984, -1423.23206, 13.88100, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19379, 1206.82861, -1423.10815, 13.88100, 0.00000, 0.00000, 0.00000); CreateDynamicObject(18762, 1207.12463, -1428.41541, 14.52300, 0.00000, 0.00000, 0.00000); CreateDynamicObject(18762, 1207.12463, -1428.41541, 19.50300, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1597, 1218.50146, -1400.78650, 14.81940, 0.00000, 0.00000, 90.00000); CreateDynamicObject(19378, 1219.10486, -1416.59924, 22.26790, 0.00000, 0.00000, 90.00000); ////////////////////////////////////////////////////////////////////////////-----> AFK ZONA new afkzonaext; afkzonaext = CreateDynamicObjectEx(18766, 1398.093872, -1229.786254, 14.939351, 0.000000, 0.000000, 0.000000, 300.00); SetDynamicObjectMaterial(afkzonaext, 0, 18646, "matcolours", "lightblue", 0xFF0080FF); afkzonaext = CreateDynamicObjectEx(18766, 1412.183837, -1229.786254, 14.939351, 0.000000, 0.000000, 0.000000, 300.00); SetDynamicObjectMaterial(afkzonaext, 0, 18646, "matcolours", "lightblue", 0xFF0080FF); afkzonaext = CreateDynamicObjectEx(18766, 1404.523437, -1229.786254, 14.939351, 0.000000, 0.000000, 0.000000, 300.00); SetDynamicObjectMaterial(afkzonaext, 0, 18646, "matcolours", "lightblue", 0xFF0080FF); afkzonaext = CreateDynamicObjectEx(18766, 1398.082275, -1229.786254, 15.879318, 0.000000, 0.000000, 0.000000, 300.00); SetDynamicObjectMaterial(afkzonaext, 0, 18646, "matcolours", "lightblue", 0xFF0080FF); afkzonaext = CreateDynamicObjectEx(18766, 1412.133666, -1229.786254, 15.879318, 0.000000, 0.000000, 0.000000, 300.00); SetDynamicObjectMaterial(afkzonaext, 0, 18646, "matcolours", "lightblue", 0xFF0080FF); afkzonaext = CreateDynamicObjectEx(18766, 1403.433593, -1229.786254, 15.879318, 0.000000, 0.000000, 0.000000, 300.00); SetDynamicObjectMaterial(afkzonaext, 0, 18646, "matcolours", "lightblue", 0xFF0080FF); afkzonaext = CreateDynamicObjectEx(19447, 1416.659545, -1228.690429, 12.183755, 90.000000, 180.000000, 0.000000, 300.00); SetDynamicObjectMaterial(afkzonaext, 0, 18646, "matcolours", "grey-90-percent", 0x00000000); afkzonaext = CreateDynamicObjectEx(19447, 1393.688354, -1228.690429, 12.183755, 90.000000, 180.000000, 0.000000, 300.00); SetDynamicObjectMaterial(afkzonaext, 0, 18646, "matcolours", "grey-90-percent", 0x00000000); afkzonaext = CreateDynamicObjectEx(19447, 1398.898193, -1228.690429, 12.183755, 90.000000, 180.000000, 0.000000, 300.00); SetDynamicObjectMaterial(afkzonaext, 0, 18646, "matcolours", "grey-90-percent", 0x00000000); afkzonaext = CreateDynamicObjectEx(19447, 1411.728393, -1228.690429, 12.183755, 90.000000, 180.000000, 0.000000, 300.00); SetDynamicObjectMaterial(afkzonaext, 0, 18646, "matcolours", "grey-90-percent", 0x00000000); afkzonaext = CreateDynamicObjectEx(19447, 1407.326904, -1228.690429, 12.183755, 90.000000, 180.000000, 0.000000, 300.00); SetDynamicObjectMaterial(afkzonaext, 0, 18646, "matcolours", "grey-90-percent", 0x00000000); afkzonaext = CreateDynamicObjectEx(19447, 1402.416137, -1228.690429, 12.183755, 90.000000, 180.000000, 0.000000, 300.00); SetDynamicObjectMaterial(afkzonaext, 0, 18646, "matcolours", "grey-90-percent", 0x00000000); afkzonaext = CreateDynamicObjectEx(19447, 1398.407714, -1228.690429, 16.973770, 180.000000, 450.000000, 270.000000, 300.00); SetDynamicObjectMaterial(afkzonaext, 0, 18646, "matcolours", "grey-90-percent", 0x00000000); afkzonaext = CreateDynamicObjectEx(19447, 1411.917480, -1228.690429, 16.973770, 180.000000, 450.000000, 270.000000, 300.00); SetDynamicObjectMaterial(afkzonaext, 0, 18646, "matcolours", "grey-90-percent", 0x00000000); afkzonaext = CreateDynamicObjectEx(19447, 1403.226928, -1228.690429, 16.973770, 180.000000, 450.000000, 270.000000, 300.00); SetDynamicObjectMaterial(afkzonaext, 0, 18646, "matcolours", "grey-90-percent", 0x00000000); afkzonaext = CreateDynamicObjectEx(19447, 1398.526733, -1228.690429, 16.483743, 180.000000, 450.000000, 270.000000, 300.00); SetDynamicObjectMaterial(afkzonaext, 0, 18646, "matcolours", "grey-90-percent", 0x00000000); afkzonaext = CreateDynamicObjectEx(19447, 1411.777343, -1228.690429, 16.483743, 180.000000, 450.000000, 270.000000, 300.00); SetDynamicObjectMaterial(afkzonaext, 0, 18646, "matcolours", "grey-90-percent", 0x00000000); afkzonaext = CreateDynamicObjectEx(19447, 1405.337158, -1228.690429, 16.483743, 180.000000, 450.000000, 270.000000, 300.00); SetDynamicObjectMaterial(afkzonaext, 0, 18646, "matcolours", "grey-90-percent", 0x00000000); afkzonaext = CreateDynamicObjectEx(19447, 1395.386962, -1225.580322, 12.733737, 180.000000, 450.000000, 360.000000, 300.00); SetDynamicObjectMaterial(afkzonaext, 0, 18646, "matcolours", "grey-90-percent", 0x00000000); afkzonaext = CreateDynamicObjectEx(19447, 1400.626586, -1225.580322, 12.733737, 180.000000, 450.000000, 360.000000, 300.00); SetDynamicObjectMaterial(afkzonaext, 0, 18646, "matcolours", "grey-90-percent", 0x00000000); afkzonaext = CreateDynamicObjectEx(19447, 1397.856445, -1225.580322, 12.733737, 180.000000, 450.000000, 360.000000, 300.00); SetDynamicObjectMaterial(afkzonaext, 0, 18646, "matcolours", "grey-90-percent", 0x00000000); afkzonaext = CreateDynamicObjectEx(19447, 1408.995483, -1225.580322, 12.733737, 180.000000, 450.000000, 360.000000, 300.00); SetDynamicObjectMaterial(afkzonaext, 0, 18646, "matcolours", "grey-90-percent", 0x00000000); afkzonaext = CreateDynamicObjectEx(19447, 1414.895385, -1225.580322, 12.733737, 180.000000, 450.000000, 360.000000, 300.00); SetDynamicObjectMaterial(afkzonaext, 0, 18646, "matcolours", "grey-90-percent", 0x00000000); afkzonaext = CreateDynamicObjectEx(19447, 1412.303833, -1225.580322, 12.733737, 180.000000, 450.000000, 360.000000, 300.00); SetDynamicObjectMaterial(afkzonaext, 0, 18646, "matcolours", "grey-90-percent", 0x00000000); afkzonaext = CreateDynamicObjectEx(19447, 1414.884765, -1225.580322, 12.473731, 180.000000, 450.000000, 360.000000, 300.00); SetDynamicObjectMaterial(afkzonaext, 0, 18646, "matcolours", "grey-90-percent", 0x00000000); afkzonaext = CreateDynamicObjectEx(19447, 1409.265014, -1225.580322, 12.473731, 180.000000, 450.000000, 360.000000, 300.00); SetDynamicObjectMaterial(afkzonaext, 0, 18646, "matcolours", "grey-90-percent", 0x00000000); afkzonaext = CreateDynamicObjectEx(19447, 1409.124877, -1225.580322, 12.473731, 180.000000, 450.000000, 360.000000, 300.00); SetDynamicObjectMaterial(afkzonaext, 0, 18646, "matcolours", "grey-90-percent", 0x00000000); afkzonaext = CreateDynamicObjectEx(19447, 1411.455200, -1225.580322, 12.473731, 180.000000, 450.000000, 360.000000, 300.00); SetDynamicObjectMaterial(afkzonaext, 0, 18646, "matcolours", "grey-90-percent", 0x00000000); afkzonaext = CreateDynamicObjectEx(19447, 1400.625732, -1225.580322, 12.473731, 180.000000, 450.000000, 360.000000, 300.00); SetDynamicObjectMaterial(afkzonaext, 0, 18646, "matcolours", "grey-90-percent", 0x00000000); afkzonaext = CreateDynamicObjectEx(19447, 1395.394653, -1225.580322, 12.473731, 180.000000, 450.000000, 360.000000, 300.00); SetDynamicObjectMaterial(afkzonaext, 0, 18646, "matcolours", "grey-90-percent", 0x00000000); afkzonaext = CreateDynamicObjectEx(19447, 1397.495239, -1225.580322, 12.473731, 180.000000, 450.000000, 360.000000, 300.00); SetDynamicObjectMaterial(afkzonaext, 0, 18646, "matcolours", "grey-90-percent", 0x00000000); afkzonaext = CreateDynamicObjectEx(19447, 1395.354492, -1225.580322, 13.023736, 180.000000, 450.000000, 360.000000, 300.00); SetDynamicObjectMaterial(afkzonaext, 0, 18646, "matcolours", "grey-90-percent", 0x00000000); afkzonaext = CreateDynamicObjectEx(19447, 1400.615600, -1225.580322, 13.023736, 180.000000, 450.000000, 360.000000, 300.00); SetDynamicObjectMaterial(afkzonaext, 0, 18646, "matcolours", "grey-90-percent", 0x00000000); afkzonaext = CreateDynamicObjectEx(19447, 1398.215820, -1225.580322, 13.023736, 180.000000, 450.000000, 360.000000, 300.00); SetDynamicObjectMaterial(afkzonaext, 0, 18646, "matcolours", "grey-90-percent", 0x00000000); afkzonaext = CreateDynamicObjectEx(19447, 1409.084472, -1225.580322, 13.023736, 180.000000, 450.000000, 360.000000, 300.00); SetDynamicObjectMaterial(afkzonaext, 0, 18646, "matcolours", "grey-90-percent", 0x00000000); afkzonaext = CreateDynamicObjectEx(19447, 1414.935058, -1225.580322, 13.023736, 180.000000, 450.000000, 360.000000, 300.00); SetDynamicObjectMaterial(afkzonaext, 0, 18646, "matcolours", "grey-90-percent", 0x00000000); afkzonaext = CreateDynamicObjectEx(19447, 1412.404663, -1225.580322, 13.023736, 180.000000, 450.000000, 360.000000, 300.00); SetDynamicObjectMaterial(afkzonaext, 0, 18646, "matcolours", "grey-90-percent", 0x00000000); afkzonaext = CreateDynamicObjectEx(19447, 1409.053710, -1225.580322, 13.313740, 180.000000, 450.000000, 360.000000, 300.00); SetDynamicObjectMaterial(afkzonaext, 0, 18646, "matcolours", "grey-90-percent", 0x00000000); afkzonaext = CreateDynamicObjectEx(19447, 1414.854736, -1225.580322, 13.313740, 180.000000, 450.000000, 360.000000, 300.00); SetDynamicObjectMaterial(afkzonaext, 0, 18646, "matcolours", "grey-90-percent", 0x00000000); afkzonaext = CreateDynamicObjectEx(19447, 1411.654541, -1225.580322, 13.313740, 180.000000, 450.000000, 360.000000, 300.00); SetDynamicObjectMaterial(afkzonaext, 0, 18646, "matcolours", "grey-90-percent", 0x00000000); afkzonaext = CreateDynamicObjectEx(19447, 1400.684814, -1225.580322, 13.313740, 180.000000, 450.000000, 360.000000, 300.00); SetDynamicObjectMaterial(afkzonaext, 0, 18646, "matcolours", "grey-90-percent", 0x00000000); afkzonaext = CreateDynamicObjectEx(19447, 1395.395019, -1225.580322, 13.313740, 180.000000, 450.000000, 360.000000, 300.00); SetDynamicObjectMaterial(afkzonaext, 0, 18646, "matcolours", "grey-90-percent", 0x00000000); afkzonaext = CreateDynamicObjectEx(19447, 1397.375610, -1225.580322, 13.313740, 180.000000, 450.000000, 360.000000, 300.00); SetDynamicObjectMaterial(afkzonaext, 0, 18646, "matcolours", "grey-90-percent", 0x00000000); afkzonaext = CreateDynamicObjectEx(18766, 1398.683959, -1229.836303, 14.459342, 0.000000, 0.000000, 0.000000, 300.00); SetDynamicObjectMaterial(afkzonaext, 0, 18646, "matcolours", "grey-10-percent", 0x00000000); afkzonaext = CreateDynamicObjectEx(18766, 1411.594360, -1229.836303, 14.459342, 0.000000, 0.000000, 0.000000, 300.00); SetDynamicObjectMaterial(afkzonaext, 0, 18646, "matcolours", "grey-10-percent", 0x00000000); afkzonaext = CreateDynamicObjectEx(18766, 1406.444335, -1229.836303, 14.459342, 0.000000, 0.000000, 0.000000, 300.00); SetDynamicObjectMaterial(afkzonaext, 0, 18646, "matcolours", "grey-10-percent", 0x00000000); afkzonaext = CreateDynamicObjectEx(19447, 1397.866088, -1228.690429, 18.313762, 180.000000, 450.000000, 270.000000, 300.00); SetDynamicObjectMaterial(afkzonaext, 0, 18646, "matcolours", "grey-90-percent", 0x00000000); afkzonaext = CreateDynamicObjectEx(19447, 1412.366333, -1228.690429, 18.313762, 180.000000, 450.000000, 270.000000, 300.00); SetDynamicObjectMaterial(afkzonaext, 0, 18646, "matcolours", "grey-90-percent", 0x00000000); afkzonaext = CreateDynamicObjectEx(19447, 1405.475341, -1228.690429, 18.313762, 180.000000, 450.000000, 270.000000, 300.00); SetDynamicObjectMaterial(afkzonaext, 0, 18646, "matcolours", "grey-90-percent", 0x00000000); afkzonaext = CreateDynamicObjectEx(19447, 1393.134155, -1228.620605, 13.483755, 270.000000, 720.000000, 360.000000, 300.00); SetDynamicObjectMaterial(afkzonaext, 0, 18646, "matcolours", "grey-90-percent", 0x00000000); afkzonaext = CreateDynamicObjectEx(19447, 1417.144653, -1228.620605, 13.483755, 270.000000, 720.000000, 360.000000, 300.00); SetDynamicObjectMaterial(afkzonaext, 0, 18646, "matcolours", "grey-90-percent", 0x00000000); afkzonaext = CreateDynamicObjectEx(19447, 1403.063720, -1228.620605, 10.623752, 270.000000, 720.000000, 360.000000, 300.00); SetDynamicObjectMaterial(afkzonaext, 0, 18646, "matcolours", "grey-90-percent", 0x00000000); afkzonaext = CreateDynamicObjectEx(19447, 1406.825073, -1228.620605, 10.623752, 270.000000, 720.000000, 360.000000, 300.00); SetDynamicObjectMaterial(afkzonaext, 0, 18646, "matcolours", "grey-90-percent", 0x00000000); afkzonaext = CreateDynamicObjectEx(19447, 1404.766723, -1225.549682, 15.353749, 180.000000, 450.000000, 360.000000, 300.00); SetDynamicObjectMaterial(afkzonaext, 0, 18646, "matcolours", "grey-90-percent", 0x00000000); afkzonaext = CreateDynamicObjectEx(19447, 1405.156494, -1225.549682, 15.353749, 180.000000, 450.000000, 360.000000, 300.00); SetDynamicObjectMaterial(afkzonaext, 0, 18646, "matcolours", "grey-90-percent", 0x00000000); afkzonaext = CreateDynamicObjectEx(19447, 1405.156494, -1225.549682, 14.853746, 180.000000, 450.000000, 360.000000, 300.00); SetDynamicObjectMaterial(afkzonaext, 0, 18646, "matcolours", "grey-90-percent", 0x00000000); afkzonaext = CreateDynamicObjectEx(19447, 1404.876220, -1225.549682, 14.853746, 180.000000, 450.000000, 360.000000, 300.00); SetDynamicObjectMaterial(afkzonaext, 0, 18646, "matcolours", "grey-90-percent", 0x00000000); afkzonaext = CreateDynamicObjectEx(2920, 1403.477783, -1230.352905, 8.301119, 0.000000, 0.000000, 90.000000, 300.00); SetDynamicObjectMaterial(afkzonaext, 0, 18646, "matcolours", "grey-90-percent", 0x00000000); afkzonaext = CreateDynamicObjectEx(2920, 1406.338134, -1230.342895, 8.301119, 0.000000, 0.000000, 90.000000, 300.00); SetDynamicObjectMaterial(afkzonaext, 0, 18646, "matcolours", "grey-90-percent", 0x00000000); afkzonaext = CreateDynamicObjectEx(19447, 1404.914428, -1228.620605, 10.083752, 270.000000, 720.000000, 360.000000, 300.00); SetDynamicObjectMaterial(afkzonaext, 0, 18646, "matcolours", "grey-90-percent", 0x00000000); afkzonaext = CreateDynamicObjectEx(19447, 1404.874389, -1230.259277, 10.503752, 270.000000, 720.000000, 450.000000, 300.00); SetDynamicObjectMaterial(afkzonaext, 0, 18646, "matcolours", "lightblue", 0xFF0080FF); afkzonaext = CreateDynamicObjectEx(19447, 1405.014526, -1230.259277, 10.503752, 270.000000, 720.000000, 450.000000, 300.00); SetDynamicObjectMaterial(afkzonaext, 0, 18646, "matcolours", "lightblue", 0xFF0080FF); afkzonaext = CreateDynamicObjectEx(18765, 1398.007446, -1230.942871, 10.076583, 0.000000, 0.000000, 0.000000, 300.00); SetDynamicObjectMaterial(afkzonaext, 0, 19595, "lsappartments1", "carpet4-256x256", 0x00000000); afkzonaext = CreateDynamicObjectEx(18765, 1412.258666, -1230.942871, 10.076583, 0.000000, 0.000000, 0.000000, 300.00); SetDynamicObjectMaterial(afkzonaext, 0, 19595, "lsappartments1", "carpet4-256x256", 0x00000000); afkzonaext = CreateDynamicObjectEx(18765, 1404.418212, -1230.942871, 10.076583, 0.000000, 0.000000, 0.000000, 300.00); SetDynamicObjectMaterial(afkzonaext, 0, 19595, "lsappartments1", "carpet4-256x256", 0x00000000); afkzonaext = CreateDynamicObjectEx(970, 1414.741943, -1235.626464, 13.068098, 0.000000, 0.000000, 0.000000, 300.00); SetDynamicObjectMaterial(afkzonaext, 0, 18646, "matcolours", "lightblue", 0xFF0080FF); afkzonaext = CreateDynamicObjectEx(970, 1417.073120, -1233.035644, 13.068098, 0.000000, 0.000000, 90.000000, 300.00); SetDynamicObjectMaterial(afkzonaext, 0, 18646, "matcolours", "lightblue", 0xFF0080FF); afkzonaext = CreateDynamicObjectEx(970, 1393.399536, -1233.465698, 13.068098, 0.000000, 0.000000, 90.000000, 300.00); SetDynamicObjectMaterial(afkzonaext, 0, 18646, "matcolours", "lightblue", 0xFF0080FF); afkzonaext = CreateDynamicObjectEx(970, 1396.061035, -1235.626464, 13.068098, 0.000000, 0.000000, 0.000000, 300.00); SetDynamicObjectMaterial(afkzonaext, 0, 18646, "matcolours", "lightblue", 0xFF0080FF); afkzonaext = CreateDynamicObjectEx(18766, 1397.079101, -1233.193481, 8.155354, 0.000000, 90.000000, 0.000000, 300.00); SetDynamicObjectMaterial(afkzonaext, 0, 4829, "airport_las", "Grass_128HV", 0x00000000); afkzonaext = CreateDynamicObjectEx(18766, 1412.848999, -1233.193481, 8.155354, 0.000000, 90.000000, 0.000000, 300.00); SetDynamicObjectMaterial(afkzonaext, 0, 4829, "airport_las", "Grass_128HV", 0x00000000); afkzonaext = CreateDynamicObjectEx(18766, 1405.048706, -1235.513916, 8.475352, 0.000000, 90.000000, 0.000000, 300.00); SetDynamicObjectMaterial(afkzonaext, 0, 19597, "lsbeachside", "carpet19-128x128", 0x00000000); afkzonaext = CreateDynamicObjectEx(19087, 1402.998535, -1235.530273, 14.863766, 0.000000, 0.000000, 0.000000, 300.00); SetDynamicObjectMaterial(afkzonaext, 0, 18646, "matcolours", "grey-90-percent", 0x00000000); afkzonaext = CreateDynamicObjectEx(19087, 1407.109497, -1235.530273, 14.863766, 0.000000, 0.000000, 0.000000, 300.00); SetDynamicObjectMaterial(afkzonaext, 0, 18646, "matcolours", "grey-90-percent", 0x00000000); afkzonaext = CreateDynamicObjectEx(19368, 1404.997192, -1235.448730, 14.372135, 0.000000, 0.000000, 90.000000, 300.00); SetDynamicObjectMaterialText(afkzonaext, 0, "AFK", 140, "DGHD", 199, 1, 0xFF0080FF, 0x00000000, 1); afkzonaext = CreateDynamicObjectEx(19368, 1405.147216, -1235.448730, 13.702135, 0.000000, 0.000000, 90.000000, 300.00); SetDynamicObjectMaterialText(afkzonaext, 0, "ZONA", 140, "DGHD", 80, 1, 0xFFFFFFFF, 0x00000000, 1); afkzonaext = CreateDynamicObjectEx(19368, 1404.176391, -1235.938964, 12.922124, 0.000000, 0.000000, 90.000000, 300.00); SetDynamicObjectMaterialText(afkzonaext, 0, "g g g g g g g ", 130, "Webdings", 50, 1, 0xFF0080FF, 0x00000000, 1); afkzonaext = CreateDynamicObjectEx(19368, 1406.078002, -1235.938964, 12.922124, 0.000000, 0.000000, 90.000000, 300.00); SetDynamicObjectMaterialText(afkzonaext, 0, "g g g g g g g ", 130, "Webdings", 50, 1, 0xFF0080FF, 0x00000000, 1); afkzonaext = CreateDynamicObjectEx(19368, 1406.078002, -1235.098388, 12.922124, 0.000000, 0.000000, 90.000000, 300.00); SetDynamicObjectMaterialText(afkzonaext, 0, "g g g g g g g ", 130, "Webdings", 50, 1, 0xFF0080FF, 0x00000000, 1); afkzonaext = CreateDynamicObjectEx(19368, 1404.208129, -1235.098388, 12.922124, 0.000000, 0.000000, 90.000000, 300.00); SetDynamicObjectMaterialText(afkzonaext, 0, "g g g g g g g ", 130, "Webdings", 50, 1, 0xFF0080FF, 0x00000000, 1); afkzonaext = CreateDynamicObjectEx(18766, 1405.198486, -1235.513916, 8.475352, 0.000000, 90.000000, 0.000000, 300.00); SetDynamicObjectMaterial(afkzonaext, 0, 19597, "lsbeachside", "carpet19-128x128", 0x00000000); afkzonaext = CreateDynamicObjectEx(19368, 1399.836914, -1230.269042, 17.672155, 0.000000, 0.000000, 90.000000, 300.00); SetDynamicObjectMaterialText(afkzonaext, 0, "AFK", 100, "DGHD", 100, 1, 0xFFFFFFFF, 0x00000000, 1); afkzonaext = CreateDynamicObjectEx(19368, 1401.748291, -1230.269042, 17.382135, 0.000000, 0.000000, 90.000000, 300.00); SetDynamicObjectMaterialText(afkzonaext, 0, "Area", 140, "DGHD", 60, 1, 0xFFFFFFFF, 0x00000000, 1); afkzonaext = CreateDynamicObjectEx(19368, 1403.348999, -1230.269042, 17.382135, 0.000000, 0.000000, 90.000000, 300.00); SetDynamicObjectMaterialText(afkzonaext, 0, "Segura", 140, "DGHD", 60, 1, 0xFFFFFFFF, 0x00000000, 1); afkzonaext = CreateDynamicObjectEx(19368, 1406.158569, -1230.208984, 17.662141, 0.000000, 0.000000, 90.000000, 300.00); SetDynamicObjectMaterialText(afkzonaext, 0, "ZONA", 140, "DGHD", 199, 1, 0xFFFFFFFF, 0x00000000, 1); afkzonaext = CreateDynamicObjectEx(19368, 1409.228393, -1230.269042, 17.662141, 0.000000, 0.000000, 90.000000, 300.00); SetDynamicObjectMaterialText(afkzonaext, 0, "7", 100, "Wingdings", 100, 1, 0xFFFFFFFF, 0x00000000, 1); afkzonaext = CreateDynamicObjectEx(19368, 1397.738403, -1230.269042, 17.572132, 0.000000, 0.000000, 90.000000, 300.00); SetDynamicObjectMaterialText(afkzonaext, 0, "8", 100, "Wingdings", 100, 1, 0xFFFFFFFF, 0x00000000, 1); ///////////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////// afkzonaext = CreateDynamicObjectEx(19325, 1405.052368, -1235.526611, 11.522201, 90.000000, 90.000000, 0.000000, 300.00); //ilha de festa CreateDynamicObject(10409,-118.0181600,-3116.9101600,-4.2431000,0.0000000,0.0000000,180.0000000); // CreateDynamicObject(10407,-318.9187000,-3148.0615200,10.7755000,0.0000000,0.0000000,180.0000000); // CreateDynamicObject(10354,-299.5868500,-3254.2419400,-6.6384800,0.0000000,0.0000000,90.0000000); // CreateDynamicObject(10354,-143.0159300,-3235.2766100,-7.5402700,0.0000000,0.0000000,108.0000000); // CreateDynamicObject(10354,-195.0832500,-3007.8535200,-6.6332000,0.0000000,0.0000000,-77.0000000); // CreateDynamicObject(10354,-329.2874800,-3027.4367700,-6.8362100,0.0000000,0.0000000,-73.0000000); // CreateDynamicObject(900,-125.1010400,-3101.4511700,10.3702700,-18.0000000,84.0000000,172.9063000); // CreateDynamicObject(900,-115.8538500,-3089.4174800,10.5402000,-18.0000000,84.0000000,-18.0000000); // CreateDynamicObject(900,-122.7151700,-3108.7102100,10.5402000,-18.0000000,84.0000000,-193.0000000); // CreateDynamicObject(900,-122.2484700,-3126.2634300,10.5402000,-18.0000000,84.0000000,-183.0000000); // CreateDynamicObject(900,-123.0444600,-3140.6320800,10.5402000,-18.0000000,84.0000000,-198.0000000); // CreateDynamicObject(900,-122.4594000,-3156.7231400,10.5402000,-18.0000000,84.0000000,-172.0000000); // CreateDynamicObject(6391,-184.2915800,-3079.8889200,-32.5073000,0.0000000,0.0000000,19.0000000); // CreateDynamicObject(6295,-185.8047000,-3082.3840300,31.8005000,0.0000000,0.0000000,7.0000000); // CreateDynamicObject(14407,-171.4288000,-3096.3178700,5.2901000,0.0000000,0.0000000,189.0000000); // CreateDynamicObject(14407,-175.9153100,-3063.1328100,5.2900900,0.0000000,0.0000000,9.0000000); // CreateDynamicObject(900,-155.6487900,-3078.5122100,10.5402000,-18.0000000,88.0000000,-171.0000000); // CreateDynamicObject(900,-155.7617200,-3065.8554700,8.0111900,-18.0000000,88.0000000,-190.0000000); // CreateDynamicObject(900,-150.4974100,-3053.8371600,8.4239000,-18.0000000,88.0000000,-218.0000000); // CreateDynamicObject(900,-146.5298800,-3049.8642600,7.8847400,-18.0000000,88.0000000,-218.0000000); // CreateDynamicObject(900,-136.1443200,-3046.7470700,8.1316800,-18.0000000,88.0000000,-273.0000000); // CreateDynamicObject(900,-122.8401300,-3047.3693800,7.6787300,-18.0000000,88.0000000,-273.0000000); // CreateDynamicObject(900,-112.2577400,-3052.2075200,1.7840500,-18.0000000,88.0000000,-164.0000000); // CreateDynamicObject(6391,-374.6968100,-3088.9982900,-21.2131000,0.0000000,0.0000000,19.0000000); // CreateDynamicObject(900,-208.2932700,-3085.5297900,10.5402000,-18.0000000,88.0000000,-99.0000000); // CreateDynamicObject(10166,-66.3942500,-3114.4104000,-8.8013000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(16111,-114.8547900,-3150.4482400,-1.5582200,0.0000000,0.0000000,207.0000000); // CreateDynamicObject(16111,-113.9335900,-3112.1367200,0.6983200,0.0000000,0.0000000,207.0000000); // CreateDynamicObject(16111,-111.7895700,-3088.4062500,0.6983200,0.0000000,0.0000000,207.0000000); // CreateDynamicObject(16112,-84.9133700,-3046.6110800,-3.7415400,0.0000000,0.0000000,207.0000000); // CreateDynamicObject(16112,-85.2042700,-3073.5383300,-3.7415400,0.0000000,0.0000000,207.0000000); // CreateDynamicObject(16112,-92.8823800,-3035.1616200,-3.7415400,0.0000000,0.0000000,207.0000000); // CreateDynamicObject(16112,-208.4602700,-3079.7104500,-0.6141100,0.0000000,0.0000000,207.0000000); // CreateDynamicObject(899,-215.0506900,-3085.6377000,17.1540000,-18.0000000,88.0000000,-88.0000000); // CreateDynamicObject(899,-230.4366800,-3085.2844200,17.1540000,-18.0000000,88.0000000,-88.0000000); // CreateDynamicObject(899,-245.6129800,-3088.4079600,17.1540000,-18.0000000,88.0000000,-88.0000000); // CreateDynamicObject(900,-257.6055000,-3086.2082500,17.1540000,-18.0000000,88.0000000,-107.0000000); // CreateDynamicObject(16112,-243.7229600,-3083.3989300,-0.6141100,0.0000000,0.0000000,207.0000000); // CreateDynamicObject(16112,-273.8840300,-3086.2541500,-0.6141100,0.0000000,0.0000000,207.0000000); // CreateDynamicObject(16112,-307.3445100,-3091.6704100,-0.6129400,0.0000000,0.0000000,207.0000000); // CreateDynamicObject(16112,-342.4310300,-3096.8325200,-0.6141100,0.0000000,0.0000000,207.0000000); // CreateDynamicObject(900,-263.0539200,-3096.5361300,17.1540000,-18.0000000,88.0000000,-2.0000000); // CreateDynamicObject(900,-272.3504000,-3102.1923800,17.1540000,-18.0000000,88.0000000,86.0000000); // CreateDynamicObject(900,-285.6510600,-3101.7334000,17.1540000,-18.0000000,88.0000000,86.0000000); // CreateDynamicObject(900,-298.0539600,-3101.3369100,17.1540000,-18.0000000,88.0000000,86.0000000); // CreateDynamicObject(900,-312.8052700,-3100.9731400,17.1540000,-18.0000000,88.0000000,86.0000000); // CreateDynamicObject(900,-324.8449700,-3100.5432100,17.1540000,-18.0000000,88.0000000,86.0000000); // CreateDynamicObject(900,-337.2623300,-3099.3461900,17.1540000,-18.0000000,88.0000000,79.0000000); // CreateDynamicObject(900,-263.0311000,-3092.9348100,17.1540000,-18.0000000,88.0000000,-2.0000000); // CreateDynamicObject(16112,-389.7345600,-3096.9965800,-5.4892100,0.0000000,0.0000000,207.0000000); // CreateDynamicObject(16112,-389.5332000,-3115.1355000,-5.4892100,0.0000000,0.0000000,207.0000000); // CreateDynamicObject(16112,-372.6578700,-3110.4868200,1.5999900,0.0000000,0.0000000,207.0000000); // CreateDynamicObject(900,-380.9174800,-3114.2229000,17.1540000,-18.0000000,88.0000000,169.0000000); // CreateDynamicObject(900,-382.2318100,-3132.0412600,17.1540000,-18.0000000,88.0000000,169.0000000); // CreateDynamicObject(900,-381.1149600,-3150.9897500,12.6659000,-18.0000000,88.0000000,169.0000000); // CreateDynamicObject(900,-380.2410300,-3166.0293000,17.1540000,-18.0000000,88.0000000,169.0000000); // CreateDynamicObject(900,-380.7405100,-3181.3750000,10.3629100,-18.0000000,88.0000000,169.0000000); // CreateDynamicObject(900,-381.9874000,-3194.7661100,14.8769900,-18.0000000,88.0000000,169.0000000); // CreateDynamicObject(16112,-378.8830900,-3141.6997100,-5.2593000,0.0000000,0.0000000,207.0000000); // CreateDynamicObject(16112,-388.8622400,-3167.7868700,-4.2592700,0.0000000,0.0000000,207.0000000); // CreateDynamicObject(6391,-351.1485000,-3128.7836900,-34.5354000,0.0000000,0.0000000,13.0000000); // CreateDynamicObject(3361,-284.3514400,-3169.0888700,6.1026300,0.0000000,0.0000000,-87.0000000); // CreateDynamicObject(3361,-286.3585500,-3169.1926300,6.1026000,0.0000000,0.0000000,-87.0000000); // CreateDynamicObject(3361,-365.9561800,-3163.1518600,6.1026000,0.0000000,0.0000000,-177.0000000); // CreateDynamicObject(3361,-366.0625900,-3161.1486800,6.1026000,0.0000000,0.0000000,-177.0000000); // CreateDynamicObject(1501,-290.7968100,-3147.1049800,6.4878000,0.0000000,0.0000000,3.0000000); // CreateDynamicObject(16112,-80.7673600,-3155.7402300,-3.7415400,0.0000000,0.0000000,207.0000000); // CreateDynamicObject(16112,-77.0891100,-3178.5295400,-3.7415400,0.0000000,0.0000000,207.0000000); // CreateDynamicObject(7916,-108.4328600,-3103.3176300,8.9305100,0.0000000,0.0000000,87.7303800); // CreateDynamicObject(7916,-112.0227200,-3117.9856000,9.4816300,0.0000000,0.0000000,76.0000000); // CreateDynamicObject(7916,-113.0764800,-3099.7607400,10.3158800,0.0000000,0.0000000,86.1108600); // CreateDynamicObject(616,-366.9883700,-3172.8610800,1.3330900,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(616,-343.3165600,-3172.9399400,1.3330900,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(616,-342.8481100,-3195.8979500,4.9104500,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(616,-324.4792800,-3187.0415000,1.3330900,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(616,-300.5962800,-3180.8884300,1.3330900,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(616,-313.3549800,-3176.1003400,1.3330900,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(616,-299.3565700,-3202.3271500,1.3330900,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(616,-316.3216200,-3198.5573700,1.3330900,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(616,-134.5410500,-3098.2412100,1.1170700,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(10403,-212.7178200,-3142.6689500,8.6787000,0.0000000,0.0000000,180.0000000); // CreateDynamicObject(616,-137.4052700,-3106.2104500,2.3306300,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(616,-133.4805300,-3164.8706100,0.4797400,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(616,-192.0273300,-3099.5520000,2.3306300,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(621,-293.2288800,-3202.9072300,1.9615400,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(621,-333.5584700,-3191.2177700,1.9615400,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(621,-355.6617100,-3182.3508300,1.9615400,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(621,-359.2082800,-3195.9199200,1.9615400,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(622,-365.5306700,-3188.1958000,1.9615000,0.0000000,0.0000000,-207.0000000); // CreateDynamicObject(622,-353.7797500,-3201.7104500,1.9615000,0.0000000,0.0000000,185.0000000); // CreateDynamicObject(621,-323.6122100,-3206.0271000,1.9615400,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(621,-283.7853700,-3212.9062500,1.9615400,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(621,-263.5386700,-3205.1711400,1.9615400,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(621,-243.8981800,-3210.6196300,1.9615400,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(620,-228.5376000,-3199.0896000,1.9615000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(620,-192.7049100,-3194.2783200,1.9615000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(620,-256.8034700,-3220.6628400,1.9615000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(620,-330.7766100,-3173.1298800,1.9615000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(620,-345.8484800,-3183.9960900,1.9615000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(620,-363.3913300,-3181.9631300,1.9615000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(620,-306.2747200,-3187.2587900,1.9615000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(616,-233.6744100,-3204.7622100,2.2931400,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(616,-272.8122900,-3204.1262200,2.2931400,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(616,-251.8246800,-3196.1789600,2.2931400,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(616,-214.5021200,-3211.1872600,2.2931400,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(616,-205.8303100,-3187.8115200,2.2931400,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(620,-247.4458500,-3205.0886200,1.9615000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(620,-191.7818500,-3198.9296900,1.9615000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(621,-216.4678000,-3192.9592300,1.9615400,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(621,-202.8003100,-3201.9597200,1.9615400,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(621,-162.3168800,-3182.6726100,1.9615400,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(621,-159.7685400,-3192.5505400,1.9615400,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(621,-173.9082000,-3199.1167000,1.9615400,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(621,-181.0874000,-3189.0488300,1.9615400,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(616,-172.6136000,-3187.9604500,4.2574200,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(616,-143.6866100,-3189.0388200,1.4331000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(616,-132.9750100,-3183.4814500,1.8546800,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(621,-138.5972900,-3154.9299300,0.8444000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(621,-134.2775700,-3191.1308600,1.9615400,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(621,-120.4463200,-3172.5446800,1.9615400,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(619,-150.1693000,-3196.6528300,1.9615000,0.0000000,0.0000000,44.0000000); // CreateDynamicObject(622,-119.4591000,-3187.3964800,1.9615000,0.0000000,0.0000000,-142.0000000); // CreateDynamicObject(617,-115.7457000,-3174.2089800,2.1116900,0.0000000,0.0000000,-142.0000000); // CreateDynamicObject(617,-148.1695600,-3189.5849600,0.9871800,0.0000000,0.0000000,-142.0000000); // CreateDynamicObject(617,-187.2656900,-3198.9326200,4.2486300,0.0000000,0.0000000,-142.0000000); // CreateDynamicObject(617,-251.1312000,-3211.9751000,4.0952300,0.0000000,0.0000000,-142.0000000); // CreateDynamicObject(622,-104.8395000,-3168.7949200,1.9615000,0.0000000,0.0000000,-78.0000000); // CreateDynamicObject(620,-100.8593000,-3176.7651400,1.7542000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(7885,-320.6192900,-3142.6967800,8.0550000,0.0000000,0.0000000,93.0000000); // CreateDynamicObject(8555,-316.8315100,-3148.0949700,-15.1568500,0.0000000,0.0000000,3.0000000); // CreateDynamicObject(8555,-323.8150600,-3148.4580100,-15.1549000,0.0000000,0.0000000,3.0000000); // CreateDynamicObject(18981,-350.4888900,-3157.2663600,7.6832000,0.0000000,90.0000000,3.0000000); // CreateDynamicObject(18981,-351.4931900,-3132.5852100,7.6812000,0.0000000,90.0000000,3.0000000); // CreateDynamicObject(18981,-289.1054400,-3154.0561500,7.6812000,0.0000000,90.0000000,3.0000000); // CreateDynamicObject(18981,-289.9303000,-3133.2314500,7.6832000,0.0000000,90.0000000,3.0000000); // CreateDynamicObject(622,-174.5987500,-3055.9658200,1.9615000,0.0000000,0.0000000,-142.0000000); // CreateDynamicObject(3361,-146.0491800,-3081.5534700,19.3323000,0.0000000,0.0000000,-76.0000000); // CreateDynamicObject(3406,-147.8916900,-3074.1623500,19.3375400,0.0000000,0.0000000,-76.0000000); // CreateDynamicObject(3361,-141.2142900,-3084.9233400,15.3574000,0.0000000,0.0000000,14.0000000); // CreateDynamicObject(3406,-145.8072100,-3082.5119600,15.3182100,0.0000000,0.0000000,-76.0000000); // CreateDynamicObject(3361,-135.9329200,-3087.5883800,11.5402000,0.0000000,0.0000000,-76.0000000); // CreateDynamicObject(3361,-138.5404400,-3092.8637700,7.5340500,0.0000000,0.0000000,-165.0000000); // CreateDynamicObject(3361,-146.3551600,-3094.9504400,3.5177000,0.0000000,0.0000000,-165.0000000); // CreateDynamicObject(899,-142.3167000,-3076.5522500,4.0035600,-40.0000000,-207.0000000,11.0000000); // CreateDynamicObject(899,-139.1254600,-3081.1733400,-1.8289000,-40.0000000,-207.0000000,55.0000000); // CreateDynamicObject(7917,-320.6192900,-3142.6967800,8.0550000,0.0000000,0.0000000,93.0000000); // CreateDynamicObject(11491,-252.2744400,-3120.7585400,23.1294000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(11490,-252.2879600,-3109.7114300,21.6262000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(19381,-250.8542900,-3113.6713900,21.5578000,0.0000000,90.0000000,0.0000000); // CreateDynamicObject(19381,-258.2968100,-3123.0542000,21.5578000,0.0000000,90.0000000,0.0000000); // CreateDynamicObject(19381,-250.8362700,-3123.0522500,21.5558000,0.0000000,90.0000000,0.0000000); // CreateDynamicObject(19381,-258.2968100,-3113.6713900,21.5558000,0.0000000,90.0000000,0.0000000); // CreateDynamicObject(19381,-240.3786000,-3113.6713900,21.5598000,0.0000000,90.0000000,0.0000000); // CreateDynamicObject(19381,-235.9902300,-3113.6694300,21.5578000,0.0000000,90.0000000,0.0000000); // CreateDynamicObject(19381,-235.9922000,-3104.1135300,21.5598000,0.0000000,90.0000000,0.0000000); // CreateDynamicObject(19381,-240.3786000,-3104.1135300,21.5578000,0.0000000,90.0000000,0.0000000); // CreateDynamicObject(19381,-250.8522900,-3104.1335400,21.5598000,0.0000000,90.0000000,0.0000000); // CreateDynamicObject(19381,-241.3044400,-3118.3962400,16.3613200,0.0000000,0.0000000,90.0000000); // CreateDynamicObject(19381,-235.5659000,-3118.3942900,16.3613000,0.0000000,0.0000000,90.0000000); // CreateDynamicObject(19381,-230.8307000,-3113.6679700,16.3613000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(19381,-245.6979700,-3123.0307600,16.3613000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(19381,-250.4060100,-3127.7753900,16.3613000,0.0000000,0.0000000,90.0000000); // CreateDynamicObject(19381,-258.7224400,-3127.7734400,16.3613000,0.0000000,0.0000000,90.0000000); // CreateDynamicObject(19381,-263.4548300,-3123.0417500,16.3613000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(19381,-230.8327000,-3104.1135300,16.3613000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1463,-221.4709800,-3100.5703100,21.0042600,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(3243,-225.2821500,-3095.4140600,20.3202500,0.0000000,0.0000000,207.0000000); // CreateDynamicObject(3243,-217.6949200,-3095.0451700,20.3203000,0.0000000,0.0000000,149.0000000); // CreateDynamicObject(829,-234.2834800,-3096.1340300,22.1721500,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(845,-237.5486900,-3097.7270500,21.2905000,0.0000000,0.0000000,-42.0000000); // CreateDynamicObject(845,-234.2387200,-3099.4147900,21.4467100,0.0000000,0.0000000,146.0000000); // CreateDynamicObject(837,-225.4606000,-3102.3349600,21.1230900,2.0000000,-6.0000000,127.0000000); // CreateDynamicObject(837,-216.9707900,-3101.5959500,20.9960500,0.0000000,3.0000000,249.0000000); // CreateDynamicObject(18368,-237.3552400,-3124.2778300,14.9201100,0.0000000,0.0000000,-60.0000000); // CreateDynamicObject(970,-148.1525900,-3077.2006800,21.8135200,0.0000000,0.0000000,-76.0000000); // CreateDynamicObject(970,-146.2410400,-3076.7175300,21.8135200,0.0000000,0.0000000,-76.0000000); // CreateDynamicObject(970,-146.2132100,-3084.9790000,17.8072400,0.0000000,0.0000000,-76.0000000); // CreateDynamicObject(970,-144.2180200,-3086.5891100,16.2800000,0.0000000,90.0000000,14.0000000); // CreateDynamicObject(970,-145.1619000,-3086.8305700,16.2799900,0.0000000,90.0000000,-165.0000000); // CreateDynamicObject(970,-135.8123000,-3084.1731000,12.3792000,0.0000000,90.0000000,-76.0000000); // CreateDynamicObject(970,-136.0623300,-3083.1850600,12.3791700,0.0000000,90.0000000,105.0000000); // CreateDynamicObject(970,-138.1915600,-3083.1303700,13.9190000,0.0000000,0.0000000,14.0000000); // CreateDynamicObject(11666,-252.2936600,-3114.0847200,24.8039000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(2297,-249.9737400,-3105.7741700,23.1296000,0.0000000,0.0000000,-45.0000000); // CreateDynamicObject(1723,-248.2569700,-3110.7983400,23.1295000,0.0000000,0.0000000,180.0000000); // CreateDynamicObject(1819,-249.7452200,-3109.0417500,23.1295700,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(2194,-249.2299800,-3108.5659200,23.9182600,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(11631,-255.6569100,-3106.1403800,24.3601300,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(983,-279.1072100,-3165.9316400,8.8104100,0.0000000,0.0000000,93.0000000); // CreateDynamicObject(982,-276.6625400,-3152.9746100,8.8104000,0.0000000,0.0000000,3.0000000); // CreateDynamicObject(982,-277.9801000,-3127.4079600,8.8104000,0.0000000,0.0000000,3.0000000); // CreateDynamicObject(982,-301.3076500,-3167.0388200,8.8104000,0.0000000,0.0000000,93.0000000); // CreateDynamicObject(982,-326.8523600,-3168.4152800,8.8104000,0.0000000,0.0000000,93.0000000); // CreateDynamicObject(982,-350.0207800,-3169.6074200,8.8104000,0.0000000,0.0000000,93.0000000); // CreateDynamicObject(983,-362.9586200,-3167.0676300,8.8104000,0.0000000,0.0000000,3.0000000); // CreateDynamicObject(982,-363.9606000,-3147.3850100,8.8104000,0.0000000,0.0000000,3.0000000); // CreateDynamicObject(982,-365.3313000,-3121.8200700,8.8104000,0.0000000,0.0000000,3.0000000); // CreateDynamicObject(3877,-350.8319100,-3073.0759300,21.4940500,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(3877,-381.9416800,-3104.4150400,21.4940500,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(3877,-386.4754600,-3079.1115700,21.4940500,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(3877,-349.7036700,-3098.2651400,21.4940500,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(3361,-370.1229600,-3106.5869100,17.7075700,0.0000000,0.0000000,-81.0000000); // CreateDynamicObject(620,-160.2974400,-3047.2751500,5.4164400,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(620,-200.1850400,-3058.4641100,2.5418000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(620,-238.6681200,-3055.5681200,5.4164400,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(620,-268.2330900,-3065.1645500,5.2973600,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(620,-295.8995700,-3065.7097200,4.6019300,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(620,-318.4038400,-3063.8769500,2.4918200,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(620,-341.2617500,-3067.2170400,1.1313300,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(620,-114.6015300,-3040.5949700,5.2973600,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(620,-203.9779200,-3044.3178700,2.5348900,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(616,-218.0351100,-3054.9731400,1.0486300,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(616,-250.4062500,-3060.4089400,5.7274000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(616,-231.1097700,-3055.8508300,3.5789800,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(616,-267.1156900,-3058.1501500,6.0458700,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(616,-283.3739000,-3067.7900400,6.0458700,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(616,-309.7213400,-3066.8681600,3.0178200,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(616,-327.2100200,-3073.0000000,0.8748200,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(619,-112.0847200,-3038.7827100,4.8112100,0.0000000,0.0000000,178.0000000); // CreateDynamicObject(622,-155.0806600,-3050.2163100,0.4412800,0.0000000,0.0000000,-11.0000000); // CreateDynamicObject(9833,-151.6922300,-3124.2536600,1.1582200,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(3406,-135.9081600,-3087.7331500,7.5307300,0.0000000,0.0000000,-76.0000000); // CreateDynamicObject(3406,-140.8401000,-3084.8332500,11.5332000,0.0000000,0.0000000,14.0000000); // CreateDynamicObject(3525,-221.3334800,-3100.7202100,20.3593500,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(3525,-221.8102900,-3100.6630900,20.3825900,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1280,-126.8311900,-3059.5144000,21.4442000,0.0000000,0.0000000,180.0000000); // CreateDynamicObject(1280,-126.8528100,-3063.7690400,21.0060200,0.0000000,0.0000000,180.0000000); // CreateDynamicObject(16326,-132.4044000,-3149.6315900,1.5221100,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(2206,-134.8618200,-3145.6508800,4.1291000,0.0000000,0.0000000,90.0000000); // CreateDynamicObject(1964,-134.6759000,-3145.2299800,5.2043800,0.0000000,0.0000000,-90.0000000); // CreateDynamicObject(1714,-133.2395000,-3144.6755400,4.1294000,0.0000000,0.0000000,-90.0000000); // CreateDynamicObject(349,-132.6602200,-3143.9453100,4.3994200,0.0000000,-63.0000000,93.0000000); // CreateDynamicObject(2332,-133.0841500,-3146.2995600,4.5640900,0.0000000,0.0000000,-90.0000000); // CreateDynamicObject(2007,-133.0920000,-3142.9025900,4.1313000,0.0000000,0.0000000,-90.0000000); // CreateDynamicObject(1715,-135.8362400,-3143.4746100,4.1307700,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1715,-135.8362000,-3145.9389600,4.1308000,0.0000000,0.0000000,180.0000000); // CreateDynamicObject(1727,-140.2671100,-3145.3847700,4.0908000,0.0000000,0.0000000,90.0000000); // CreateDynamicObject(1727,-138.1775500,-3146.4074700,4.0907600,0.0000000,0.0000000,180.0000000); // CreateDynamicObject(1823,-139.1409000,-3145.3259300,4.1215800,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(2010,-140.3297600,-3142.6906700,4.1712600,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(2081,-140.5859800,-3146.8486300,4.1787400,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(2853,-140.0385700,-3146.2876000,4.6270500,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(843,-205.2321000,-3095.6889600,20.5685700,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(837,-123.0163200,-3055.6098600,21.2662900,0.0000000,0.0000000,14.0000000); // CreateDynamicObject(1463,-122.2067400,-3060.8571800,20.8820500,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1463,-122.2067000,-3060.8571800,20.8821000,0.0000000,-1.0000000,88.0000000); // CreateDynamicObject(3525,-122.2967000,-3060.8342300,20.4113400,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(3525,-122.4521700,-3060.5798300,20.4113400,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(3525,-122.1386900,-3060.5041500,20.4113400,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(11495,-205.9889100,-3020.3427700,0.0897000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(11495,-207.7310900,-3020.3418000,0.0917000,0.0000000,0.0000000,180.0000000); // CreateDynamicObject(18981,-176.9562800,-3072.2758800,-4.0078800,0.0000000,0.0000000,9.0000000); // CreateDynamicObject(18981,-170.2966800,-3087.8212900,-4.0078800,0.0000000,0.0000000,9.0000000); // CreateDynamicObject(18981,-172.0937000,-3071.5134300,-4.0078800,0.0000000,0.0000000,9.0000000); // CreateDynamicObject(18981,-175.1447900,-3088.5739700,-4.0078800,0.0000000,0.0000000,9.0000000); // CreateDynamicObject(11495,-322.9502600,-3239.1486800,0.1121000,0.0000000,0.0000000,-5.0000000); // CreateDynamicObject(11495,-344.3110000,-3236.5134300,0.1101000,0.0000000,0.0000000,-185.0000000); // CreateDynamicObject(3615,-127.9360100,-3191.8093300,3.7760500,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(3615,-211.3868000,-3204.7873500,6.9737500,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1256,-182.5864700,-3145.4475100,3.1701000,0.0000000,0.0000000,-59.0000000); // CreateDynamicObject(1825,-248.3346900,-3133.2451200,19.3687900,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(642,-248.4836600,-3133.2678200,20.7328100,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1256,-194.1415300,-3152.5859400,3.7195100,0.0000000,0.0000000,-59.0000000); // CreateDynamicObject(1639,-181.4458000,-3165.1665000,2.2959300,0.0000000,0.0000000,-63.0000000); // CreateDynamicObject(1639,-184.1844900,-3159.7338900,2.2959000,0.0000000,0.0000000,117.0000000); // CreateDynamicObject(1646,-239.0865900,-3115.0715300,21.8678000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1646,-236.0851000,-3114.9946300,21.8678000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(2725,-238.2388600,-3114.6330600,21.8801900,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1644,-238.3138300,-3114.6528300,22.3159700,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(2725,-235.2800400,-3114.5488300,21.8801900,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1667,-235.1989600,-3114.6740700,22.4014300,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(2355,-235.2708900,-3114.8007800,22.3609000,-25.0000000,23.0000000,0.0000000); // CreateDynamicObject(1667,-238.4232200,-3114.4052700,22.4014300,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1598,-184.2708100,-3163.5144000,2.6332700,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(16101,-184.2104000,-3159.7436500,-6.3394000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(16101,-181.4438800,-3165.1811500,-6.3394000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1637,-181.2870200,-3165.8105500,3.5645800,0.0000000,0.0000000,208.0000000); // CreateDynamicObject(620,-183.1029800,-3102.3457000,5.4164400,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(16112,-385.1831700,-3202.4101600,-5.7263500,0.0000000,0.0000000,208.8987100); // CreateDynamicObject(7191,-405.8746300,-3208.2734400,2.9656200,0.0000000,90.0000000,90.0000000); // CreateDynamicObject(7191,-405.8746000,-3210.6157200,2.9636000,0.0000000,90.0000000,-90.0000000); // CreateDynamicObject(7191,-405.8727100,-3208.2727100,2.9616000,0.0000000,90.0000000,-90.0000000); // CreateDynamicObject(7191,-425.9942600,-3190.5219700,2.9616000,0.0000000,90.0000000,0.0000000); // CreateDynamicObject(7191,-425.9977400,-3146.2385300,2.9616000,0.0000000,90.0000000,180.0000000); // CreateDynamicObject(7191,-405.8727100,-3125.8513200,2.9656000,0.0000000,90.0000000,90.0000000); // CreateDynamicObject(7191,-405.8727100,-3125.8513200,2.9676000,0.0000000,90.0000000,-90.0000000); // CreateDynamicObject(7191,-405.8707000,-3129.7956500,2.9656000,0.0000000,90.0000000,-90.0000000); // CreateDynamicObject(7916,-387.0678700,-3157.1115700,9.8622300,0.0000000,0.0000000,260.0345800); // CreateDynamicObject(3330,-417.1260400,-3127.8877000,-7.3208300,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(3330,-417.9859900,-3209.1665000,-7.3208300,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(3330,-426.0833400,-3168.8076200,-7.3208000,0.0000000,0.0000000,90.0000000); // CreateDynamicObject(18980,-428.4033500,-3200.8508300,3.4977400,90.0000000,0.0000000,0.0000000); // CreateDynamicObject(18980,-428.4054000,-3175.9318800,3.4957000,90.0000000,0.0000000,0.0000000); // CreateDynamicObject(18980,-428.4034100,-3151.0971700,3.4977000,90.0000000,0.0000000,0.0000000); // CreateDynamicObject(18980,-428.4054000,-3135.8835400,3.4957000,90.0000000,0.0000000,0.0000000); // CreateDynamicObject(18980,-416.4075600,-3123.6635700,3.4977000,90.0000000,0.0000000,90.0000000); // CreateDynamicObject(18980,-411.5606100,-3132.2795400,3.4977000,90.0000000,0.0000000,90.0000000); // CreateDynamicObject(18980,-423.5639300,-3144.2710000,3.4997000,90.0000000,0.0000000,0.0000000); // CreateDynamicObject(18980,-423.5618900,-3169.0620100,3.4977000,90.0000000,0.0000000,0.0000000); // CreateDynamicObject(18980,-423.5639000,-3193.9863300,3.4997000,90.0000000,0.0000000,0.0000000); // CreateDynamicObject(18980,-411.5622900,-3205.9853500,3.5017000,90.0000000,0.0000000,90.0000000); // CreateDynamicObject(18980,-394.3111000,-3205.9873000,3.4997000,90.0000000,0.0000000,90.0000000); // CreateDynamicObject(18980,-416.4056700,-3213.0991200,3.4997000,90.0000000,0.0000000,90.0000000); // CreateDynamicObject(18980,-394.3111300,-3213.0971700,3.4977000,90.0000000,0.0000000,90.0000000); // CreateDynamicObject(1231,-427.7038900,-3212.3073700,5.6567000,0.0000000,0.0000000,-45.0000000); // CreateDynamicObject(1231,-427.6200900,-3124.4585000,5.6567000,0.0000000,0.0000000,45.0000000); // CreateDynamicObject(1231,-427.7508500,-3168.3991700,5.6567000,0.0000000,0.0000000,90.0000000); // CreateDynamicObject(1231,-427.7508900,-3191.7470700,5.6567000,0.0000000,0.0000000,90.0000000); // CreateDynamicObject(1231,-427.7508900,-3145.7146000,5.6567000,0.0000000,0.0000000,90.0000000); // CreateDynamicObject(616,-148.5865800,-3156.3286100,0.4797400,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(621,-146.5152900,-3169.6608900,0.7423900,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1463,-252.1786500,-3117.4213900,23.1298700,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(3525,-252.2762000,-3117.3623000,22.5412500,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(2780,-252.2543200,-3117.9375000,32.1413000,-90.0000000,0.0000000,0.0000000); // CreateDynamicObject(11495,-195.8752000,-3008.5041500,0.0937000,0.0000000,0.0000000,90.0000000); // CreateDynamicObject(11495,-217.8748900,-3008.5056200,0.0937000,0.0000000,0.0000000,90.0000000); // CreateDynamicObject(11495,-335.2333400,-3248.8774400,0.1121000,0.0000000,0.0000000,-95.0000000); // CreateDynamicObject(1714,-255.4847400,-3107.3383800,23.1297000,0.0000000,0.0000000,180.0000000); // CreateDynamicObject(2295,-252.3136000,-3114.9150400,23.1399200,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1985,-257.0566700,-3120.7861300,25.8399800,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(16101,-257.0752600,-3109.9787600,25.8921200,0.0000000,90.0000000,-90.0000000); // CreateDynamicObject(1735,-252.3857000,-3118.9030800,23.1313000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1819,-252.9607500,-3120.9719200,23.1326800,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1735,-254.1866600,-3120.3879400,23.1313000,0.0000000,0.0000000,90.0000000); // CreateDynamicObject(1735,-250.7170000,-3120.3879400,23.1313000,0.0000000,0.0000000,-90.0000000); // CreateDynamicObject(18850,-367.1239600,-3086.6862800,7.7909200,0.0000000,0.0000000,9.0000000); // CreateDynamicObject(18656,-185.6149400,-3083.2409700,53.4469500,0.0000000,0.0000000,190.0000000); // CreateDynamicObject(18789,-128.4573800,-1711.0557900,1.8769600,0.0000000,0.0000000,91.0928000); // CreateDynamicObject(18789,-125.6187100,-1859.6380600,1.8769600,0.0000000,0.0000000,91.0928000); // CreateDynamicObject(18789,-120.1956500,-2007.9520300,1.8769600,0.0000000,0.0000000,93.1395000); // CreateDynamicObject(18789,-100.8077500,-2153.8530300,1.8769600,0.0000000,0.0000000,102.0424700); // CreateDynamicObject(18789,-50.1658000,-2291.4343300,1.8769600,0.0000000,0.0000000,118.5538900); // CreateDynamicObject(18789,26.5192600,-2415.8833000,1.8769600,0.0000000,0.0000000,124.6699400); // CreateDynamicObject(18789,111.4647500,-2539.0141600,1.8769600,0.0000000,0.0000000,124.6699400); // CreateDynamicObject(18789,176.3511000,-2669.3244600,1.8769600,0.0000000,0.0000000,108.4680200); // CreateDynamicObject(18789,223.5695200,-2810.1042500,1.8769600,0.0000000,0.0000000,108.4680200); // CreateDynamicObject(18789,254.3990600,-2953.9531300,1.8769600,0.0000000,0.0000000,95.7446600); // CreateDynamicObject(18789,250.6961200,-3100.5224600,1.8769600,0.0000000,0.0000000,81.2583300); // CreateDynamicObject(18789,220.9795500,-3245.8344700,1.8769600,0.0000000,0.0000000,75.6102200); // CreateDynamicObject(18789,164.6476000,-3380.8535200,1.8769600,0.0000000,0.0000000,59.3069500); // CreateDynamicObject(18789,72.0214600,-3492.7016600,1.8769600,0.0000000,0.0000000,41.4392400); // CreateDynamicObject(18789,-47.6410900,-3577.8979500,1.8769600,0.0000000,0.0000000,29.7088700); // CreateDynamicObject(19538,-232.6716000,-3253.4763200,2.0569000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(18791,-265.3841200,-3542.7985800,1.8691000,0.0000000,0.0000000,284.1098300); // CreateDynamicObject(18791,-150.3584700,-3624.0378400,1.8691000,0.0000000,0.0000000,2.4868000); // CreateDynamicObject(18791,-222.2433500,-3603.8127400,1.8691000,0.0000000,0.0000000,326.0369900); // CreateDynamicObject(18789,-258.6459000,-3430.6245100,1.7781000,0.0000000,0.0000000,83.1353000); // CreateDynamicObject(18788,-244.9005900,-3298.5293000,1.2021000,0.0000000,0.0000000,265.2531100); // CreateDynamicObject(18788,-248.1982000,-3337.8855000,1.1821000,0.0000000,0.0000000,265.2531100); // CreateDynamicObject(17030,-289.2805200,-3251.6784700,-1.9024800,0.0000000,0.0000000,144.8464500); // CreateDynamicObject(17030,-190.2683400,-3216.9333500,-1.8936700,0.0000000,0.0000000,56.0513500); // CreateDynamicObject(17030,-229.9811400,-3423.7387700,-0.1213700,0.0000000,0.0000000,320.6229200); // CreateDynamicObject(17030,-200.7489500,-3294.3986800,1.3577900,0.0000000,0.0000000,213.6296400); // CreateDynamicObject(17030,-285.3299900,-3279.6640600,-0.9502800,0.0000000,0.0000000,266.4464700); // CreateDynamicObject(19542,-121.7709500,-1687.5712900,1.9876200,0.0000000,0.0000000,2.1732000); // CreateDynamicObject(19542,-118.9184300,-1817.9821800,1.9876200,0.0000000,0.0000000,2.1732000); // CreateDynamicObject(19542,-116.1267400,-1927.8544900,1.9876200,0.0000000,0.0000000,2.1732000); // CreateDynamicObject(19542,-111.1431400,-2029.5511500,1.9876200,0.0000000,0.0000000,2.1732000); // CreateDynamicObject(19542,-101.9522200,-2153.0051300,1.9876200,0.0000000,0.0000000,6.3148800); // CreateDynamicObject(19542,-64.6959200,-2271.1726100,1.9876200,0.0000000,0.0000000,27.0002100); // CreateDynamicObject(19542,-5.7612800,-2375.2126500,1.9876200,0.0000000,0.0000000,31.1662400); // CreateDynamicObject(19542,56.5862500,-2478.0961900,1.9876200,0.0000000,0.0000000,31.1662400); // CreateDynamicObject(19542,120.1463200,-2582.6882300,1.9876200,0.0000000,0.0000000,31.1662400); // CreateDynamicObject(19542,173.4736900,-2688.2368200,1.9876200,0.0000000,0.0000000,21.9022700); // CreateDynamicObject(19542,209.1401200,-2800.9619100,1.9876200,0.0000000,0.0000000,12.8086000); // CreateDynamicObject(19542,237.0186800,-2922.0168500,1.9876200,0.0000000,0.0000000,12.8086000); // CreateDynamicObject(19542,255.7216600,-3039.0893600,1.9876200,0.0000000,0.0000000,5.3505100); // CreateDynamicObject(19542,248.5284400,-3149.4113800,1.9876200,0.0000000,0.0000000,350.9981100); // CreateDynamicObject(19542,225.3454700,-3266.9982900,1.9876200,0.0000000,0.0000000,342.3595000); // CreateDynamicObject(19542,177.3002500,-3372.3203100,1.9876200,0.0000000,0.0000000,328.5932000); // CreateDynamicObject(19542,117.4028300,-3461.1108400,1.9876200,0.0000000,0.0000000,322.3096600); // CreateDynamicObject(19542,34.6121300,-3533.2670900,1.9876200,0.0000000,0.0000000,301.1899700); // CreateDynamicObject(19542,-56.2576800,-3588.4035600,1.9876200,0.0000000,0.0000000,301.1899700); // CreateDynamicObject(19542,-256.0363200,-3333.9570300,2.4782900,0.0000000,0.0000000,174.7877700); // CreateDynamicObject(19542,-161.8137400,-3642.1342800,1.9876200,0.0000000,0.0000000,292.9350600); // CreateDynamicObject(19542,-190.9055800,-3604.9948700,1.9876200,0.0000000,0.0000000,246.7145400); // CreateDynamicObject(19542,-218.1385200,-3619.5913100,1.9876200,0.0000000,0.0000000,246.7145400); // CreateDynamicObject(19542,-282.3422200,-3553.2280300,2.1886200,0.0000000,0.0000000,230.1425600); // CreateDynamicObject(19542,-270.9205900,-3506.8098100,2.1886200,0.0000000,0.0000000,185.9288000); // CreateDynamicObject(19542,-266.5568500,-3431.9516600,2.1886200,0.0000000,0.0000000,173.7613400); // CreateDynamicObject(17030,-295.0257000,-3329.6064500,-0.5063900,0.0000000,0.0000000,141.1247100); // CreateDynamicObject(17030,-199.2453300,-3678.7319300,-0.1003500,0.0000000,0.0000000,177.1410100); // CreateDynamicObject(17030,-302.0026900,-3378.5913100,-0.1003500,0.0000000,0.0000000,141.1247100); // CreateDynamicObject(17030,-294.4881600,-3425.8332500,-0.1003500,0.0000000,0.0000000,141.1247100); // CreateDynamicObject(17030,-307.1184700,-3481.2014200,-0.1003500,0.0000000,0.0000000,132.7760300); // CreateDynamicObject(17030,-292.9501300,-3555.1284200,-0.1003500,0.0000000,0.0000000,151.9468400); // CreateDynamicObject(17030,-334.8214100,-3537.0148900,-0.1003500,0.0000000,0.0000000,98.7321900); // CreateDynamicObject(17030,-322.0573700,-3565.0380900,-0.1003500,0.0000000,0.0000000,185.8675700); // CreateDynamicObject(17030,-268.3875400,-3592.0727500,-0.9289200,0.0000000,0.0000000,185.8675700); // CreateDynamicObject(17030,-276.0919800,-3633.8554700,-0.1003500,0.0000000,0.0000000,140.5943900); // CreateDynamicObject(17030,-234.3672200,-3647.2631800,-0.1003500,0.0000000,0.0000000,215.3334700); // CreateDynamicObject(19542,-122.3194000,-1714.7248500,1.9876200,0.0000000,0.0000000,2.1732000); // CreateDynamicObject(19542,-126.6590500,-1708.4472700,1.9876200,0.0000000,0.0000000,180.4540700); // CreateDynamicObject(19542,-125.6394600,-1833.0189200,1.9876200,0.0000000,0.0000000,180.4540700); // CreateDynamicObject(19542,-124.0268600,-1957.2255900,1.9876200,0.0000000,0.0000000,180.4540700); // CreateDynamicObject(19542,-122.4054000,-2051.6296400,1.9642000,0.0000000,0.0000000,188.8525400); // CreateDynamicObject(19542,-106.8978800,-2151.8913600,1.9876200,0.0000000,0.0000000,194.6979800); // CreateDynamicObject(19542,-67.7882400,-2264.3877000,1.9876200,0.0000000,0.0000000,203.2301500); // CreateDynamicObject(19542,-12.1389600,-2368.7324200,1.9876200,0.0000000,0.0000000,212.6549200); // CreateDynamicObject(19542,53.1591300,-2466.6333000,1.9876200,0.0000000,0.0000000,215.2502700); // CreateDynamicObject(19542,124.9664000,-2567.7622100,1.9876200,0.0000000,0.0000000,215.2502700); // CreateDynamicObject(19542,185.6843600,-2676.9235800,1.9876200,0.0000000,0.0000000,202.5569600); // CreateDynamicObject(19542,-248.3556700,-3338.3830600,1.9876200,0.0000000,0.0000000,353.7961400); // CreateDynamicObject(19542,224.7214700,-2793.3535200,1.9876200,0.0000000,0.0000000,195.3335000); // CreateDynamicObject(19542,243.4783600,-2890.4050300,1.9876200,0.0000000,0.0000000,187.7345600); // CreateDynamicObject(19542,256.9552300,-2989.5007300,1.9876200,0.0000000,0.0000000,187.7345600); // CreateDynamicObject(19542,254.7623700,-3113.4516600,1.9876200,0.0000000,0.0000000,180.7898600); // CreateDynamicObject(19542,244.2213300,-3225.7543900,1.9876200,0.0000000,0.0000000,170.9208800); // CreateDynamicObject(19542,198.8427400,-3347.9812000,1.9876200,0.0000000,0.0000000,149.8028600); // CreateDynamicObject(19542,128.5747100,-3452.3007800,1.9876200,0.0000000,0.0000000,142.3447100); // CreateDynamicObject(19542,40.2363100,-3534.5061000,1.9876200,0.0000000,0.0000000,120.9426200); // CreateDynamicObject(19542,-71.7687000,-3591.0930200,1.9876200,0.0000000,0.0000000,111.3850600); // CreateDynamicObject(19542,-181.9494500,-3615.5571300,1.9876200,0.0000000,0.0000000,88.1776000); // CreateDynamicObject(19542,-257.1624500,-3527.4597200,1.0714800,0.0000000,0.0000000,7.0908700); // CreateDynamicObject(19542,-264.3253500,-3414.4248000,1.9876200,0.0000000,0.0000000,353.7961400); // CreateDynamicObject(17030,-178.7029900,-3280.3579100,-0.1213700,0.0000000,0.0000000,265.8350500); // CreateDynamicObject(17030,-219.3142900,-3328.5405300,-0.1213700,0.0000000,0.0000000,318.9729300); // CreateDynamicObject(17030,-237.5110600,-3388.4585000,-1.3517700,0.0000000,0.0000000,323.4304500); // CreateDynamicObject(17030,-214.8541700,-3631.1914100,-1.8083900,0.0000000,0.0000000,195.1698900); // CreateDynamicObject(17030,-105.1402300,-1652.7326700,0.5174600,0.0000000,0.0000000,359.8139300); // CreateDynamicObject(17030,-100.9431100,-1704.2503700,0.8204700,0.0000000,0.0000000,316.2821700); // CreateDynamicObject(17030,-104.0926700,-1749.2872300,-0.0081000,0.0000000,0.0000000,320.8774400); // CreateDynamicObject(17030,-103.5122500,-1796.1419700,0.4144300,0.0000000,0.0000000,326.3706400); // CreateDynamicObject(17030,-102.0277000,-1844.7216800,0.4144300,0.0000000,0.0000000,326.1411100); // CreateDynamicObject(17030,-101.7260300,-1887.9097900,0.4144300,0.0000000,0.0000000,326.1411100); // CreateDynamicObject(17030,-101.4504500,-1925.0023200,0.4144300,0.0000000,0.0000000,326.1411100); // CreateDynamicObject(17030,-98.1606300,-1969.1705300,0.4144300,0.0000000,0.0000000,326.1411100); // CreateDynamicObject(17030,-93.7215700,-2015.3712200,0.4144300,0.0000000,0.0000000,322.5020800); // CreateDynamicObject(17030,-92.3284900,-2063.5742200,0.4144300,0.0000000,0.0000000,325.7150000); // CreateDynamicObject(17030,-87.5279300,-2106.6198700,0.4144300,0.0000000,0.0000000,322.2420300); // CreateDynamicObject(17030,-79.5703000,-2162.8579100,0.2134300,0.0000000,0.0000000,331.5267000); // CreateDynamicObject(17030,-69.3790600,-2210.3493700,0.2134300,0.0000000,0.0000000,347.9489100); // CreateDynamicObject(17030,-48.4699000,-2254.2607400,-0.2905800,0.0000000,0.0000000,354.6712600); // CreateDynamicObject(17030,-26.8709500,-2290.4355500,-0.2905800,0.0000000,0.0000000,355.7175000); // CreateDynamicObject(17030,-0.9058400,-2336.5180700,-0.2905800,0.0000000,0.0000000,355.7175000); // CreateDynamicObject(17030,24.2917900,-2381.5310100,-0.2905800,0.0000000,0.0000000,355.7175000); // CreateDynamicObject(17030,51.9780000,-2419.3081100,-0.2905800,0.0000000,0.0000000,355.7175000); // CreateDynamicObject(17030,80.2683000,-2460.1472200,-0.2905800,0.0000000,0.0000000,1.1106800); // CreateDynamicObject(17030,110.7572300,-2500.5202600,-0.2905800,0.0000000,0.0000000,1.1106800); // CreateDynamicObject(17030,138.8336800,-2545.1220700,-0.2905800,0.0000000,0.0000000,354.4998800); // CreateDynamicObject(17030,167.6006800,-2591.4704600,-0.2905800,0.0000000,0.0000000,348.3775600); // CreateDynamicObject(17030,186.4317000,-2640.5293000,-0.2905800,0.0000000,0.0000000,343.2388000); // CreateDynamicObject(17030,205.1899900,-2689.0817900,-0.2905800,0.0000000,0.0000000,343.2388000); // CreateDynamicObject(17030,220.4851200,-2736.2656300,-0.2905800,0.0000000,0.0000000,343.2388000); // CreateDynamicObject(17030,236.8332400,-2786.9392100,-0.2905800,0.0000000,0.0000000,347.7200000); // CreateDynamicObject(17030,250.8823200,-2833.7377900,-0.2905800,0.0000000,0.0000000,343.9705500); // CreateDynamicObject(17030,267.3405500,-2879.5637200,-0.2905800,0.0000000,0.0000000,340.0447700); // CreateDynamicObject(17030,276.0395500,-2928.7207000,-0.2905800,0.0000000,0.0000000,332.2357200); // CreateDynamicObject(17030,283.7127700,-2974.9040500,-0.2905800,0.0000000,0.0000000,332.2357200); // CreateDynamicObject(17030,285.4818400,-3026.9069800,-0.2905800,0.0000000,0.0000000,321.4421400); // CreateDynamicObject(17030,280.2074000,-3068.8205600,-0.2905800,0.0000000,0.0000000,321.4421400); // CreateDynamicObject(17030,273.7038600,-3107.6091300,-0.2905800,0.0000000,0.0000000,312.7774000); // CreateDynamicObject(17030,266.3181500,-3151.3942900,-0.2905800,0.0000000,0.0000000,308.0062900); // CreateDynamicObject(17030,256.0400400,-3193.0151400,-0.2905800,0.0000000,0.0000000,308.0062900); // CreateDynamicObject(17030,249.5228900,-3233.2529300,-0.5082300,0.0000000,0.0000000,314.4526700); // CreateDynamicObject(17030,236.9359000,-3276.6782200,-0.5082300,0.0000000,0.0000000,303.3613000); // CreateDynamicObject(17030,220.5196100,-3322.2514600,-0.5082300,0.0000000,0.0000000,290.5300300); // CreateDynamicObject(17030,201.6605500,-3365.1186500,-0.5082300,0.0000000,0.0000000,280.0552700); // CreateDynamicObject(17030,175.5518600,-3400.2702600,-0.5082300,0.0000000,0.0000000,292.2431600); // CreateDynamicObject(17030,152.8287800,-3437.2463400,-0.5082300,0.0000000,0.0000000,286.1622000); // CreateDynamicObject(17030,123.4473800,-3471.9433600,-0.5082300,0.0000000,0.0000000,275.3880900); // CreateDynamicObject(17030,98.3651800,-3497.2563500,-0.2678100,0.0000000,0.0000000,265.5918900); // CreateDynamicObject(17030,69.8459900,-3526.3510700,-0.2678100,0.0000000,0.0000000,265.5918900); // CreateDynamicObject(17030,32.0900000,-3557.9309100,-0.2678100,0.0000000,0.0000000,260.7655300); // CreateDynamicObject(17030,-5.4480700,-3579.4970700,-0.2678100,0.0000000,0.0000000,250.1010000); // CreateDynamicObject(17030,-37.2194200,-3598.3388700,-0.2678100,0.0000000,0.0000000,257.3862600); // CreateDynamicObject(17030,-81.1804300,-3620.6770000,-0.2678100,0.0000000,0.0000000,255.4247600); // CreateDynamicObject(17030,-115.8533800,-3637.5544400,-0.2678100,0.0000000,0.0000000,255.4247600); // CreateDynamicObject(17030,-149.3258100,-3649.0607900,-0.2678100,0.0000000,0.0000000,230.3338600); // CreateDynamicObject(17030,-183.4171400,-3646.6142600,-0.2678100,0.0000000,0.0000000,230.3338600); // CreateDynamicObject(17030,-302.8874500,-3515.0520000,-0.1003500,0.0000000,0.0000000,132.7760300); // CreateDynamicObject(17030,-274.4039600,-3288.1027800,1.3577900,0.0000000,0.0000000,242.2752100); // CreateDynamicObject(17030,-270.5178500,-3281.1833500,1.3577900,0.0000000,0.0000000,261.7052300); // CreateDynamicObject(17030,-239.0267200,-3466.1865200,0.5980500,0.0000000,0.0000000,322.1449600); // CreateDynamicObject(17030,-148.4199400,-1672.0537100,-0.0081600,0.0000000,0.0000000,143.3197300); // CreateDynamicObject(17030,-145.8357100,-1727.2323000,-0.0081600,0.0000000,0.0000000,143.3197300); // CreateDynamicObject(17030,-146.7974100,-1779.1981200,-0.0081600,0.0000000,0.0000000,141.0793500); // CreateDynamicObject(17030,-146.3629600,-1828.3703600,-0.0081600,0.0000000,0.0000000,138.8379200); // CreateDynamicObject(17030,-145.3524200,-1874.9824200,-0.0081600,0.0000000,0.0000000,138.4318800); // CreateDynamicObject(17030,-143.4551400,-1926.8670700,-0.0081600,0.0000000,0.0000000,140.7517500); // CreateDynamicObject(17030,-140.7508200,-1981.1460000,-0.3234800,0.0000000,0.0000000,140.7517500); // CreateDynamicObject(17030,-136.4761200,-2024.5336900,-0.3234800,0.0000000,0.0000000,149.7060100); // CreateDynamicObject(17030,-134.1484200,-2072.4987800,-0.3234800,0.0000000,0.0000000,146.9396100); // CreateDynamicObject(17030,-125.9551800,-2125.4907200,-0.3234800,0.0000000,0.0000000,152.8465000); // CreateDynamicObject(17030,-115.9376400,-2176.0102500,-0.3234800,0.0000000,0.0000000,152.6915600); // CreateDynamicObject(17030,-103.5118800,-2227.9350600,-0.3234800,0.0000000,0.0000000,154.0492100); // CreateDynamicObject(17030,-81.5160200,-2277.0842300,-0.3234800,0.0000000,0.0000000,164.3175500); // CreateDynamicObject(17030,-56.8931800,-2322.6245100,-0.3234800,0.0000000,0.0000000,164.3175500); // CreateDynamicObject(17030,-32.6511200,-2368.5163600,-0.3234800,0.0000000,0.0000000,166.1606300); // CreateDynamicObject(17030,-5.1012900,-2405.8642600,-0.3234800,0.0000000,0.0000000,170.7112300); // CreateDynamicObject(17030,22.6938300,-2443.3952600,-0.3234800,0.0000000,0.0000000,176.5920000); // CreateDynamicObject(17030,51.2727800,-2483.2492700,-0.3234800,0.0000000,0.0000000,176.5920000); // CreateDynamicObject(17030,80.3314100,-2528.9638700,-0.3234800,0.0000000,0.0000000,172.2842700); // CreateDynamicObject(17030,110.2272200,-2571.7087400,-0.3234800,0.0000000,0.0000000,172.2842700); // CreateDynamicObject(17030,135.1246900,-2610.0703100,-0.3234800,0.0000000,0.0000000,169.2021500); // CreateDynamicObject(17030,153.0161300,-2655.1071800,-0.4679800,0.0000000,0.0000000,162.7557800); // CreateDynamicObject(17030,167.9617600,-2699.3422900,-0.4679800,0.0000000,0.0000000,162.7557800); // CreateDynamicObject(17030,180.6217500,-2739.5141600,-0.4679800,0.0000000,0.0000000,157.7182300); // CreateDynamicObject(17030,195.5039400,-2787.1772500,-0.4679800,0.0000000,0.0000000,157.7182300); // CreateDynamicObject(17030,211.0807600,-2837.7014200,-0.4679800,0.0000000,0.0000000,157.7182300); // CreateDynamicObject(17030,221.1519300,-2887.1586900,-0.4679800,0.0000000,0.0000000,157.7182300); // CreateDynamicObject(17030,241.7231300,-2941.2111800,-0.4679800,0.0000000,0.0000000,157.7182300); // CreateDynamicObject(17030,239.6835800,-2985.2292500,-0.4679800,0.0000000,0.0000000,147.8492600); // CreateDynamicObject(17030,237.5774100,-3035.5793500,-0.4679800,0.0000000,0.0000000,131.1689000); // CreateDynamicObject(17030,232.9367200,-3077.0988800,-0.4679800,0.0000000,0.0000000,131.1689000); // CreateDynamicObject(17030,230.7564500,-3123.3960000,-0.4679800,0.0000000,0.0000000,140.0735600); // CreateDynamicObject(17030,221.4334900,-3171.7277800,-0.4679800,0.0000000,0.0000000,132.7882700); // CreateDynamicObject(17030,207.7718800,-3220.2624500,-0.4679800,0.0000000,0.0000000,123.6945600); // CreateDynamicObject(17030,196.9118800,-3269.6762700,-0.4679800,0.0000000,0.0000000,128.1757200); // CreateDynamicObject(17030,184.9935300,-3308.8386200,-0.4679800,0.0000000,0.0000000,135.2898700); // CreateDynamicObject(17030,160.6657300,-3353.1555200,-0.4679800,0.0000000,0.0000000,111.6818900); // CreateDynamicObject(17030,134.1487700,-3393.1164600,-0.4679800,0.0000000,0.0000000,106.3421100); // CreateDynamicObject(17030,111.9128700,-3425.6640600,-0.4679800,0.0000000,0.0000000,99.3974500); // CreateDynamicObject(17030,80.7363800,-3460.1569800,-0.4679800,0.0000000,0.0000000,93.9042700); // CreateDynamicObject(17030,48.1903800,-3490.2321800,-0.4679800,0.0000000,0.0000000,93.9042700); // CreateDynamicObject(17030,11.5475900,-3519.6750500,-0.4679800,0.0000000,0.0000000,89.1630400); // CreateDynamicObject(17030,-28.0230800,-3546.6977500,-0.4679800,0.0000000,0.0000000,82.5972100); // CreateDynamicObject(17030,-64.3362100,-3567.2910200,-0.4679800,0.0000000,0.0000000,82.5972100); // CreateDynamicObject(17030,-108.2637400,-3589.7644000,-0.4679800,0.0000000,0.0000000,77.8559800); // CreateDynamicObject(17030,-154.8329000,-3598.6167000,1.1025100,0.0000000,0.0000000,51.5846100); // CreateDynamicObject(17030,-204.1946100,-3583.8662100,-0.0007600,0.0000000,0.0000000,25.6116300); // CreateDynamicObject(17030,-252.6467400,-3510.2836900,-4.0750100,0.0000000,0.0000000,325.1832900); // CreateDynamicObject(17030,-245.8590400,-3496.0498000,0.5980500,0.0000000,0.0000000,326.2653200); // CreateDynamicObject(17030,-96.3181100,-1659.2856400,0.8204700,0.0000000,0.0000000,316.2821700); // CreateDynamicObject(17030,-102.3389900,-1658.5802000,0.8204700,0.0000000,0.0000000,349.1309800); // CreateDynamicObject(3749,-129.7252700,-1637.9191900,7.2437600,0.0000000,0.0000000,1.8780400); // CreateDynamicObject(978,-114.2298100,-1628.1319600,3.3042200,0.0000000,0.0000000,9.5437900); // CreateDynamicObject(978,-105.1758600,-1626.4671600,3.3042200,0.0000000,0.0000000,10.8824600); // CreateDynamicObject(978,-154.0327800,-1630.4014900,3.2383900,0.0000000,0.0000000,356.4280400); // CreateDynamicObject(978,-145.1122100,-1630.6706500,3.2383900,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(3509,-137.0775300,-1738.2774700,2.0320700,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(3509,-118.1694400,-1666.0289300,2.0320700,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(3509,-138.7286800,-1670.7360800,2.0320700,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(3509,-118.0488500,-1714.1983600,2.0320700,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(3509,-219.7026500,-3228.6306200,2.0189600,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(3509,-222.3807200,-3273.4956100,2.0189600,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(3509,-298.2682200,-3109.6069300,21.6755900,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(3509,-276.4970100,-3119.7627000,21.6755900,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(3509,-284.4106400,-3115.9421400,21.6755900,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(3509,-279.9831800,-3112.6447800,21.6755900,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(3509,-293.0475200,-3111.2209500,21.6755900,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(3509,-302.7886400,-3109.2439000,21.6755900,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(19124,-249.4000100,-3255.3647500,2.4429400,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(19124,-243.0490700,-3274.2192400,2.4429400,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(19124,-243.2515300,-3271.2543900,2.4429400,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(19124,-243.2775700,-3269.1872600,2.4429400,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(19124,-243.1475100,-3267.1013200,2.4429400,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(19124,-243.3035600,-3263.7060500,2.4429400,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(19124,-245.0314800,-3260.4763200,2.4429400,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(19124,-247.2498000,-3257.6127900,2.4429400,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(14537,-139.0920300,-3055.2929700,23.0059100,-2.0000000,0.0000000,265.0000000); // CreateDynamicObject(1679,-130.2030900,-3063.8884300,21.7959700,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1679,-143.3819700,-3062.7036100,22.1989800,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1679,-146.1026500,-3065.4792500,22.1989800,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1679,-148.1189000,-3061.9541000,22.1989800,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1679,-140.5625200,-3067.3813500,22.1989800,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1679,-138.2758000,-3065.0488300,22.1989800,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1679,-146.5203200,-3058.7590300,22.1989800,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1679,-133.8837700,-3064.8188500,21.5929600,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1679,-135.1826600,-3068.9689900,21.6888800,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1664,-135.8082000,-3060.2751500,22.3181200,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1664,-135.0679200,-3059.9531300,22.2151100,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1664,-136.7562400,-3059.9182100,22.2151100,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1664,-134.9031100,-3058.0163600,22.2151100,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1664,-137.5990800,-3059.8881800,22.2151100,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1664,-138.8341500,-3060.2824700,22.2151100,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1664,-139.4899100,-3059.6398900,22.2151100,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1664,-140.0698500,-3060.2314500,22.3181200,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1664,-141.3851500,-3059.5112300,22.3181200,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1488,-137.1140100,-3057.8801300,23.7580200,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1515,-132.9120800,-3056.0275900,21.1810600,0.0000000,0.0000000,84.1966800); // CreateDynamicObject(955,-133.4326200,-3053.0544400,21.8965400,0.0000000,0.0000000,79.2693300); // CreateDynamicObject(3877,-128.8033800,-3072.2077600,21.6585300,0.0000000,0.0000000,0.1000000); // CreateDynamicObject(3877,-144.0978700,-3075.1506300,21.6585300,0.0000000,0.0000000,0.1000000); // CreateDynamicObject(3877,-140.9044300,-3074.9282200,21.6585300,0.0000000,0.0000000,0.1000000); // CreateDynamicObject(3877,-136.9336900,-3074.2697800,21.6585300,0.0000000,0.0000000,0.1000000); // CreateDynamicObject(3877,-132.8566100,-3073.3903800,21.6585300,0.0000000,0.0000000,0.1000000); // CreateDynamicObject(14537,-201.0196800,-3254.1040000,4.0581800,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1679,-212.7195000,-3264.6621100,2.4349000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1679,-211.8443800,-3249.4455600,2.4349000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1679,-212.3605500,-3254.4128400,2.4349000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1679,-209.5289300,-3259.7773400,2.4349000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1679,-215.4596600,-3259.1611300,2.4349000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1679,-218.6965600,-3251.4951200,2.4349000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1679,-207.2223500,-3245.3396000,2.4349000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1679,-215.8931300,-3244.4387200,2.4349000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(19129,-193.7978400,-3234.6355000,2.0228900,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1664,-205.7086800,-3251.3090800,3.4873900,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1664,-205.8801900,-3254.5039100,3.4873900,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1664,-205.6826800,-3254.8623000,3.4873900,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1664,-206.3712200,-3253.6120600,3.4873900,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1664,-205.6586000,-3253.4997600,3.4873900,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1664,-205.7321500,-3252.5698200,3.4873900,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1664,-205.7614100,-3256.1638200,3.4873900,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1664,-205.5641900,-3256.9379900,3.4873900,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1664,-205.5213200,-3258.1044900,3.4873900,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1664,-204.1731000,-3258.7106900,3.4873900,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1664,-202.5864000,-3258.6279300,3.4873900,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(955,-202.8877000,-3248.7268100,2.5106800,0.0000000,0.0000000,177.6587700); // CreateDynamicObject(19608,-185.8530400,-3234.6352500,2.0658400,0.0000000,0.0000000,271.5306100); // CreateDynamicObject(19614,-187.3769100,-3238.3674300,3.2872000,0.0000000,0.0000000,251.8636900); // CreateDynamicObject(19614,-187.3769100,-3238.3674300,2.0921000,0.0000000,0.0000000,267.7565000); // CreateDynamicObject(19614,-187.3769100,-3238.3674300,2.6832000,0.0000000,0.0000000,283.8918200); // CreateDynamicObject(19614,-187.6680800,-3231.4084500,3.3258100,0.0000000,0.0000000,329.0362500); // CreateDynamicObject(19614,-187.6680800,-3231.4084500,2.1137300,0.0000000,0.0000000,292.3389000); // CreateDynamicObject(19614,-187.6680800,-3231.4084500,2.7238300,0.0000000,0.0000000,354.7747800); // CreateDynamicObject(1809,-187.4825000,-3232.0236800,2.1136100,0.0000000,0.0000000,296.8397500); // CreateDynamicObject(19609,-184.8667600,-3234.6569800,2.1121100,0.0000000,0.0000000,272.3674300); // CreateDynamicObject(1841,-186.8316700,-3236.0100100,2.1102000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1841,-187.0982100,-3236.5603000,2.1102000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1841,-187.1613600,-3235.6252400,2.1102000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1840,-187.1734600,-3232.9716800,2.1133100,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(1958,-187.4167900,-3231.9736300,2.6903000,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(2232,-184.7797900,-3231.0258800,2.7281400,0.0000000,0.0000000,291.9892900); // CreateDynamicObject(2232,-184.3991100,-3238.0161100,2.7281400,0.0000000,0.0000000,254.3733700); // CreateDynamicObject(2232,-184.7407400,-3236.3955100,2.7281400,0.0000000,0.0000000,281.1948200); // CreateDynamicObject(2232,-184.7699900,-3232.3691400,2.7281400,0.0000000,0.0000000,269.6795300); // CreateDynamicObject(18715,-190.7880200,-3234.4069800,2.6895100,0.0000000,0.0000000,0.0000000); // CreateDynamicObject(16112,-380.8859600,-3205.8632800,-7.9187900,0.0000000,0.0000000,207.0000000); // CreateDynamicObject(16112,-382.8386500,-3202.6564900,-7.8187900,0.0000000,0.0000000,208.8987100); // CreateDynamicObject(17030,-233.6456100,-3549.3344700,-1.4034000,0.0000000,0.0000000,348.7331800); // CreateDynamicObject(17030,-240.1517500,-3557.4785200,-1.4034000,0.0000000,0.0000000,2.6596900); // CreateDynamicObject(17030,-219.8396000,-3379.8662100,-0.1213700,0.0000000,0.0000000,325.5115700); // CreateDynamicObject(17030,-174.6034400,-3236.7565900,-0.2213700,0.0000000,0.0000000,336.7193300); // CreateDynamicObject(17030,-294.2032200,-3264.5288100,-1.9024800,0.0000000,0.0000000,148.0593900); // CreateDynamicObject(900,-119.8644900,-3080.1159700,10.3702700,-18.0000000,84.0000000,-178.0000000); // CreateDynamicObject(900,-122.4107800,-3084.4895000,10.3702700,-18.0000000,84.0000000,-178.0000000); // CreateDynamicObject(900,-123.0797900,-3094.2546400,10.3702700,-18.0000000,84.0000000,-178.0000000); // CreateDynamicObject(17030,-282.2624200,-3590.6567400,-0.1003500,0.0000000,0.0000000,185.8675700); // CreateDynamicObject(17030,-299.3834200,-3555.5300300,-0.1003500,0.0000000,0.0000000,151.9468400); // //==================================== [ CARROS ] ======================================================= // ====================== [ OBJETOS GATE ORGID = 6 ] ================== // PortaoGAT3 = CreateDynamicObject(971,938.9000200,-1029.5000000,34.5000000,0.0000000,0.0000000,0.0000000); //object(subwaygate) (2) CreateDynamicObject(987,882.2000100,-1055.3000000,31.5000000,0.0000000,0.0000000,0.0000000); //object(elecfence_bar) (4) CreateDynamicObject(987,930.2002000,-1054.9004000,31.5000000,0.0000000,0.0000000,0.0000000); //object(elecfence_bar) (5) CreateDynamicObject(987,918.2002000,-1055.2998000,31.5000000,0.0000000,0.0000000,0.0000000); //object(elecfence_bar) (6) CreateDynamicObject(987,906.2002000,-1055.2998000,31.5000000,0.0000000,0.0000000,0.0000000); //object(elecfence_bar) (7) CreateDynamicObject(987,894.2002000,-1055.2998000,31.5000000,0.0000000,0.0000000,0.0000000); //object(elecfence_bar) (8) CreateDynamicObject(987,876.5999800,-1055.0000000,31.5000000,0.0000000,0.0000000,0.0000000); //object(elecfence_bar) (9) CreateDynamicObject(987,877.0000000,-1031.0000000,32.1000000,0.0000000,3.0000000,270.0000000); //object(elecfence_bar) (11) CreateDynamicObject(987,877.0000000,-1042.9004000,31.5000000,0.0000000,0.0000000,270.0000000); //object(elecfence_bar) (12) CreateDynamicObject(987,877.2999900,-1020.0000000,35.7000000,0.0000000,20.0000000,270.0000000); //object(elecfence_bar) (13) CreateDynamicObject(987,876.9000200,-1015.0000000,37.7000000,0.0000000,19.9950000,270.0000000); //object(elecfence_bar) (14) CreateDynamicObject(987,887.7000100,-1015.4000000,38.1000000,0.0000000,0.0000000,180.0000000); //object(elecfence_bar) (15) CreateDynamicObject(987,899.7000100,-1015.4000000,38.1000000,0.0000000,0.0000000,180.0000000); //object(elecfence_bar) (16) CreateDynamicObject(971,905.0000000,-1047.2000000,30.6000000,270.0000000,180.0000000,180.0000000); //object(subwaygate) (3) CreateDynamicObject(971,910.7000100,-1047.2000000,30.6000000,270.0000000,359.9960000,359.9960000); //object(subwaygate) (4) CreateDynamicObject(971,910.7000100,-1049.2000000,30.6000000,270.0000000,180.0000000,180.0000000); //object(subwaygate) (5) CreateDynamicObject(971,905.0000000,-1049.2000000,30.6000000,270.0000000,179.9950000,179.9950000); //object(subwaygate) (6) // interior CreateObject (1714, 1172.09827, 1346.48438, 9.94450, 0.00000, 0.00000, 180.00000); CreateObject (2165, 1171.55469, 1347.34094, 9.95160, 0.00000, 0.00000, 0.00000); CreateObject (2267, 1172.06812, 1345.81396, 11.99050, 0.00000, 0.00000, 180.00000); CreateObject (2001, 1169.29871, 1346.13318, 9.88010, 0.00000, 0.00000, 0.00000); CreateObject (2001, 1175.14038, 1346.14221, 9.88010, 0.00000, 0.00000, 0.00000); CreateObject (2161, 1175.43616, 1348.69580, 9.88850, 0.00000, 0.00000, 270.00000); CreateObject (1715, 1172.66492, 1348.59741, 9.94960, 0.00000, 0.00000, 325.00000); CreateObject (1715, 1171.31592, 1348.59741, 9.94960, 0.00000, 0.00000, 35.00000); CreateObject (1704, 1174.91675, 1361.44373, 9.87660, 0.00000, 0.00000, 270.00000); CreateObject (1704, 1174.91675, 1360.21155, 9.87660, 0.00000, 0.00000, 270.00000); CreateObject (1704, 1174.91675, 1359.00293, 9.87660, 0.00000, 0.00000, 270.00000); CreateObject (2308, 1165.00659, 1352.82092, 9.93060, 0.00000, 0.00000, 0.00000); CreateObject (2356, 1165.76868, 1352.97583, 9.93910, 0.00000, 0.00000, 40.00000); CreateObject (2001, 1174.84045, 1362.11365, 9.88010, 0.00000, 0.00000, 0.00000); CreateObject (2008, 1165.06055, 1350.12488, 9.89690, 0.00000, 0.00000, 90.00000); CreateObject (2356, 1165.72754, 1350.88501, 9.93910, 0.00000, 0.00000, 90.00000); CreateObject (2001, 1168.39563, 1346.07019, 9.88010, 0.00000, 0.00000, 0.00000); CreateObject (2001, 1164.88977, 1351.91956, 9.88010, 0.00000, 0.00000, 0.00000); CreateObject (2167, 1168.65479, 1348.95166, 9.90190, 0.00000, 0.00000, 270.00000); CreateObject (2167, 1168.65479, 1349.99231, 9.90190, 0.00000, 0.00000, 270.00000); CreateObject (2202, 1165.05566, 1347.15869, 9.85980, 0.00000, 0.00000, 90.00000); CreateObject (2163, 1164.56763, 1350.27942, 11.65150, 0.00000, 0.00000, 90.00000); CreateObject (2164, 1169.05103, 1348.78284, 9.92300, 0.00000, 0.00000, 90.00000); CreateObject (2002, 1175.00867, 1357.16736, 9.91200, 0.00000, 0.00000, 270.00000); CreateObject (2008, 1168.15320, 1357.61353, 9.92900, 0.00000, 0.00000, 270.00000); CreateObject (2356, 1167.41089, 1356.79016, 9.92300, 0.00000, 0.00000, 270.00000); CreateObject (1715, 1169.40906, 1356.48315, 9.94960, 0.00000, 0.00000, 250.00000); CreateObject (1715, 1169.42322, 1357.62805, 9.94960, 0.00000, 0.00000, 280.00000); CreateObject (1705, 1173.00208, 1362.13684, 9.92300, 0.00000, 0.00000, 0.00000); CreateObject (1705, 1171.79517, 1362.13684, 9.92300, 0.00000, 0.00000, 0.00000); CreateObject (1705, 1170.58826, 1362.13684, 9.92300, 0.00000, 0.00000, 0.00000); CreateObject (2001, 1169.89966, 1362.11621, 9.88010, 0.00000, 0.00000, 0.00000); CreateObject (2007, 1174.95459, 1350.55505, 9.92670, 0.00000, 0.00000, 270.00000); CreateObject (2162, 1167.14465, 1356.68872, 11.57600, 0.00000, 0.00000, 90.00000); CreateObject (1209, 1175.15796, 1353.98962, 9.93270, 0.00000, 0.00000, 270.00000); CreateObject (16779, 1171.95056, 1346.97009, 13.51250, 0.00000, 0.00000, 0.00000); CreateObject (11737, 1168.64673, 1362.16040, 9.91440, 0.00000, 0.00000, 180.00000); CreateObject(5020,1167.2000000,1363.3000000,11.5000000,0.0000000,0.0000000,90.0000000); //object(mul_las) (1) //=== HQ Helper ================================================================================================================================================================================================================================================================ CarrosHelpers[0] = AddStaticVehicleEx_Debug(560,2491.19995117,-1756.30004883,13.30000019,270.00000000,154,154,-1); //Sultan CarrosHelpers[1] = AddStaticVehicleEx_Debug(560,2491.19995117,-1751.69995117,13.30000019,270.00000000,154,154,-1); //Sultan CarrosHelpers[2] = AddStaticVehicleEx_Debug(560,2491.19921875,-1747.19921875,13.30000019,270.00000000,154,154,-1); //Sultan CarrosHelpers[3] = AddStaticVehicleEx_Debug(560,2502.80004883,-1747.00000000,13.19999981,90.00000000,154,154,-1); //Sultan CarrosHelpers[4] = AddStaticVehicleEx_Debug(560,2502.80004883,-1752.00000000,13.19999981,90.00000000,154,154,-1); //Sultan CarrosHelpers[5] = AddStaticVehicleEx_Debug(560,2502.80004883,-1756.69995117,13.19999981,90.00000000,154,154,-1); //Sultan CarrosHelpers[6] = AddStaticVehicleEx_Debug(522,2485.39990234,-1757.30004883,13.19999981,90.00000000,154,154,-1); //NRG-500 //============ Veiculos Entregadores de Pizzas =========================================== Importante! TextMercadoNegro = CreateDynamic3DTextLabel("Use o comando {00FFFF}/dominar{FFFFFF} para dominar este local\nOrganizacao dona: Nenhuma", 0xFFFFFF00, 942.2549,2163.4644,1012.2277, 10.0); BarDono[0] = Create3DTextLabel("Dono do Bar\nJizzy's Bar\nDono: Ninguem\n{FFFFFF}Aperte F para Acessar", COLOR_WHITE, 503.2368,-75.3880,998.7651, 20.0, 0); BarDono[1] = Create3DTextLabel("Dono do Bar\nRock Bar\nDono: Ninguem\n{FFFFFF}Aperte F para Acessar", COLOR_WHITE, 503.2368,-75.3880,998.7651, 20.0, 1); BarDono[2] = Create3DTextLabel("Dono do Bar\nConqui's Bar\nDono: Ninguem\n{FFFFFF}Aperte F para Acessar", COLOR_WHITE, 503.2368,-75.3880,998.7651, 20.0, 2); BarDono[3] = Create3DTextLabel("Dono do Bar\nFifth's Bar\nDono: Ninguem\n{FFFFFF}Aperte F para Acessar", COLOR_WHITE, 503.2368,-75.3880,998.7651, 20.0, 3); BarDono[4] = Create3DTextLabel("Dono do Bar\nLone's Bar\nDono: Ninguem\n{FFFFFF}Aperte F para Acessar", COLOR_WHITE, 503.2368,-75.3880,998.7651, 20.0, 4); //=========== AEREOS DO LS ============================================================================================================================================ AviaoAlugado[0] = AddStaticVehicleEx_Debug(519,2041.3267,-2647.7214,14.4689,1.9154,1,1,-1); // aviao AviaoAlugado[1] = AddStaticVehicleEx_Debug(519,2014.8304,-2649.1277,14.4689,3.2044,1,1,-1); // aviao2 AviaoAlugado[2] = AddStaticVehicleEx_Debug(519,1558.2052,-2430.8350,14.4767,151.5341,1,1,-1); // aviao3 AviaoAlugado[3] = AddStaticVehicleEx_Debug(487,2075.6763,-2462.3757,13.7354,180.0603,1,1,-1); // heli AviaoAlugado[4] = AddStaticVehicleEx_Debug(487,2096.0747,-2454.8586,13.7237,177.1874,1,1,-1); // heli2 AviaoAlugado[5] = AddStaticVehicleEx_Debug(593,1725.1467,-2424.7200,14.0168,155.5299,1,1,-1); // aviao AviaoAlugado[6] = AddStaticVehicleEx_Debug(593,1718.8738,-2646.1694,14.0035,0.2520,1,1,-1); // aviao AviaoAlugado[7] = AddStaticVehicleEx_Debug(592,1816.9586,-2416.8665,14.7502,183.5626,1,1,-1); // aviao //======================[ new - CARROS Policia Civil ] ============================================================== //Trem /*AddStaticVehicleEx_Debug(538,1698.0930,-1953.8319,13.5469,0.0,0,0,256);*/ //Motos e Bikes do Stunt mot1 = AddStaticVehicleEx_Debug(468,-1353.0000000,1654.0000000,1052.3000488+1,180.0000000,-1,-1,1800); //Sanchez mot2 = AddStaticVehicleEx_Debug(468,-1355.0999756,1654.0000000,1052.3000488+1,180.0000000,-1,-1,1800); //Sanchez mot3 = AddStaticVehicleEx_Debug(468,-1357.3000488,1654.0000000,1052.3000488+1,180.0000000,-1,-1,1800); //Sanchez mot4 = AddStaticVehicleEx_Debug(468,-1359.6999512,1653.9000244,1052.3000488+1,180.0000000,-1,-1,1800); //Sanchez mot5 = AddStaticVehicleEx_Debug(481,-1349.0999756,1647.9000244,1052.0999756+1,90.0000000,-1,-1,1800); //BMX mot6 = AddStaticVehicleEx_Debug(481,-1349.0999756,1645.8000488,1052.0999756+1,90.0000000,-1,-1,1800); //BMX mot7 = AddStaticVehicleEx_Debug(481,-1349.0996094,1643.8994141,1052.0999756+1,90.0000000,-1,-1,1800); //BMX mot8 = AddStaticVehicleEx_Debug(468,-1362.0000000,1653.9000244,1052.3000488+1,180.0000000,-1,-1,1800); //Sanchez mot9 = AddStaticVehicleEx_Debug(481,-1349.0999756,1642.3000488,1052.0999756+1,90.0000000,-1,-1,1800); //BMX LinkVehicleToInterior(mot1,14);LinkVehicleToInterior(mot2,14);LinkVehicleToInterior(mot3,14); LinkVehicleToInterior(mot4,14);LinkVehicleToInterior(mot5,14);LinkVehicleToInterior(mot6,14); LinkVehicleToInterior(mot7,14);LinkVehicleToInterior(mot8,14);LinkVehicleToInterior(mot9,14); for (new x=0; x Casas : %d Carregadas", LoadCasas()); printf("=> Empresas : %d Carregadas", CarregarEmpresas()+CarregarSEmpresas()); printf("=> Fazendas : %d Carregadas", CarregarFEmpresas()); LoadCofreOrg(); LoadSalarioOrg(); LoadCandidatos(); printf("=> Organizacões : %d Carregadas", LoadOrgs()); printf("=> Admin Corrida : Carregada"); CarregarLogados(); CarregarPlantacao(); printf("=> Plantacões : Carregado"); printf("=> Carros VIP : %d Carregados", CarregarCarros()); printf("=> Total Carros : %d Criados", TOTAL_CARROS); printf("=> Pasta Contas : %s", Pasta_Contas); printf("=> Porta-Malas : Carregados"); printf("=> Senha Admin : %s", LoadSenhaAdmin()); LoadFamilias(); printf("=> Familias(By Brazz) : %d Carregadas", CountFamilias()); LoadTrunk(); LoadPatrocinios(); printf(" "); getdate(v[0], v[1], v[2]); gettime(v[3], v[4], v[5]); printf("======================================================================="); printf("Servidor Ligado: [%02d/%02d/%d %02d:%02d:%02d]", v[2], v[1], v[0], v[3], v[4], v[5]); printf("======================================================================="); LoadCaixasEquipamentos(); //LoadCarrosComponents(); for(new p = 0; p < MAX_VEHICLES; p++) { Gas[p] = 100; VehicleInfo[p][carRadioOn] = 0; VehicleInfo[p][SoundCar] = 0; VehicleInfo[p][vPaintjob] = -1; new lu, alar, por, cap, porma, ob; SetVehicleParamsEx(p, VEHICLE_PARAMS_OFF, lu, alar, por, cap, porma, ob); new str[74]; format(str, sizeof str, "{000000}CNF-%04d", p); SetVehicleNumberPlate(p, str); if(GetVehicleModel(p) == 510) { SetVehicleParamsEx(p, VEHICLE_PARAMS_ON, lu, alar, por, cap, porma, ob); } if(IsABombeirosCar(p) && GetVehicleModel(p) == 560) { hassiren[p] = 1; // siren[p] = CreateDynamicObject( 19419,0,0,0,0,0,0); // AttachDynamicObjectToVehicle(siren[p], p, 0.000000, 0.000000, 0.829999, 0.000000, 0.000000, 0.000000); } if(IsAPoliciaCar(p)) { if(GetVehicleModel(p) == 494 || GetVehicleModel(p) == 411) { hassiren[p] = 1; // AddVehicleComponent(p, 1010); siren[p] = CreateDynamicObject( 19620,0,0,0,0,0,0); // AttachDynamicObjectToVehicle(siren[p], p, 0.000000,-0.375000,0.709999,0.000000,0.000000,0.000000); } else if(GetVehicleModel(p) == 541 || GetVehicleModel(p) == 415) { hassiren[p] = 1; // AddVehicleComponent(p, 1010); siren[p] = CreateDynamicObject( 19620,0,0,0,0,0,0); // AttachDynamicObjectToVehicle(siren[p], p, 0.000000,-0.375000,0.699999,0.000000,0.000000,0.000000); } else if(GetVehicleModel(p) == 522) { hassiren[p] = 1; // siren[p] = CreateDynamicObject( 18646,0,0,0,0,0,0); // AttachDynamicObjectToVehicle(siren[p], p, 0.000000,-0.974999,0.654999,0.000000,0.000000,0.000000); } else if(GetVehicleModel(p) == 468) { hassiren[p] = 1; // siren[p] = CreateDynamicObject( 18646,0,0,0,0,0,0); // AttachDynamicObjectToVehicle(siren[p], p, 0.000000,-0.974999,0.634999,0.000000,0.000000,0.000000); } else if(GetVehicleModel(p) == 560 || GetVehicleModel(p) == 468) { hassiren[p] = 1; // AddVehicleComponent(p, 1010); siren[p] = CreateDynamicObject( 19419,0,0,0,0,0,0); // AttachDynamicObjectToVehicle(siren[p], p, 0.000000, 0.000000, 0.829999, 0.000000, 0.000000, 0.000000); } } SetVehicleToRespawnEx(p); } //-------------------CONCE------------------ foreach(Player, i) { CarColor[i][0] = 1; CarColor[i][1] = 1; } for(new vic = 1; vic < MAX_VEHICLES; vic++) { VehicleInfo[vic][vModel] = 0; VehicleInfo[vic][vX] = 0; VehicleInfo[vic][vY] = 0; VehicleInfo[vic][vZ] = 0; VehicleInfo[vic][vA] = 0; VehicleInfo[vic][vColor1] = -1; VehicleInfo[vic][vColor2] = -1; VehicleInfo[vic][vPaintjob] = -1; format(VehicleInfo[vic][vName], MAX_PLAYER_NAME, "[NONE]"); format(VehicleInfo[vic][vOwner], MAX_PLAYER_NAME, "[NONE]"); VehicleInfo[vic][vPark] = 0; VehicleInfo[vic][vPX] = 0; VehicleInfo[vic][vPY] = 0; VehicleInfo[vic][vPZ] = 0; VehicleInfo[vic][vPA] = 0; for(new m = 0; m < MAX_MODS; m++) VehicleInfo[vic][vMod][m] = 0; } //-------------------FIM CONCE-------------- //--- MAP ICONS ---- //============================ CreateDynamicMapIcon(2919.7188,2117.7031,17.8955, 30, 0x8B4513FF, -1, -1, -1, 250.0);//HQ BAEP CreateDynamicMapIcon(2158.1355,-1172.6049,23.8200, 55, 0xE6E6E6E6);//Carros Aluguel CreateDynamicMapIcon(550.7012,-1278.5721,17.2482, 55, 0xE6E6E6E6);//Carros Aluguel CreateDynamicMapIcon(-2518.1370,1218.5798,37.4283, 55, 0xE6E6E6E6);//Carros Aluguel CreateDynamicMapIcon(-1716.7061,1444.3845,0.9405, 9, 0xE6E6E6E6);//Grove CreateDynamicMapIcon(2493.5291,-1669.3787,13.3359, 62, 0xE6E6E6E6);//Grove CreateDynamicMapIcon(1093.7090,-1239.2223,15.8203, 59, 0xE6E6E6E6);//Ballas CreateDynamicMapIcon(1673.656616,-2122.438476,14.146014, 58, 0xE6E6E6E6);//AztEcas CreateDynamicMapIcon(2815.7200,-1183.3252,25.2545, 60, 0xE6E6E6E6);//Vagos CreateDynamicMapIcon(999.432983,-1451.966308,13.554634, 13, 0xE6E6E6E6);//Comando Vermelho CreateDynamicMapIcon(1462.9502,341.5400,18.9075, 13, 0xE6E6E6E6);//Comando Vermelho CreateDynamicMapIcon(1203.9453,-921.0353,42.6221, 10 , 0xE6E6E6E6); //BURGER Play ls CreateDynamicMapIcon(1797.5494,-1579.0006,14.0865, 30, 0xE6E6E6E6, -1, -1, -1, 250.0);//Penitenciaria CreateDynamicMapIcon(1286.4437,-1329.2744,13.5533, 30, 0xE6E6E6E6, -1, -1, -1, 250.0);//Penitenciaria CreateDynamicMapIcon(1552.6703,-1675.5068,16.1953, 30, 0xE6E6E6E6, -1, -1, -1, 250.0);//dp ls CreateDynamicMapIcon(2243.6750,-1669.8136,21.0313, 45, 0xE6E6E6E6, -1, -1, -1, 250.0);//Binco CreateDynamicMapIcon(1456.9010,-1137.6941,23.9617, 45, 0xE6E6E6E6, -1, -1, -1, 250.0);//ZIP CreateDynamicMapIcon(1461.8320,-1010.3407,26.8438, 52, 0xE6E6E6E6, -1, -1, -1, 250.0);// Banco CreateDynamicMapIcon(1070.0182,-1874.0474,13.5469, 18, 0xE6E6E6E6, -1, -1, -1, 250.0);//Ammu Nation CreateDynamicMapIcon(334.0479,-1507.9438,36.0391, 30, 0xE6E6E6E6, -1, -1, -1, 250.0); //dp ROTA CreateDynamicMapIcon(1791.212036,-1164.631713,23.828100, 18 , 0xE6E6E6E6, -1, -1, -1, 250.0);//Loja de Armas 1 CreateDynamicMapIcon(-515.9556,-539.5468,25.5234, 30 , 0xE6E6E6E6, -1, -1, -1, 250.0);//cp PF CreateDynamicMapIcon(1366.1761,-1279.8679,13.5469, 18 , 0xE6E6E6E6, -1, -1, -1, 250.0); //Loja Armas LS 3 CreateDynamicMapIcon(1518.7003,-1451.9994,14.2031, 18 , 0xE6E6E6E6, -1, -1, -1, 250.0); //Loja Armas LS 4 CreateDynamicMapIcon(1703.2197,-1470.1509,13.5469, 51 , 0xE6E6E6E6); //produtos CreateDynamicMapIcon(1833.6124,-1842.4968,13.5781, 17 , 0xE6E6E6E6, -1, -1, -1, 250.0); //mercado CreateDynamicMapIcon(1352.4357,-1759.0243,13.5078, 17 , 0xE6E6E6E6, -1, -1, -1, 250.0); //mercado CreateDynamicMapIcon(1837.0278,-1682.3890,13.3233, 48 , 0xE6E6E6E6, -1, -1, -1, 250.0); //alhambra 1522.279907,-1732.323486,13.390610 CreateDynamicMapIcon(1173.0885,-1323.2909,15.3966, 22 , 0xE6E6E6E6, -1, -1, -1, 250.0); //hospital LS CreateDynamicMapIcon(1139.569580,-1358.529907,13.758220, 22 , 0xE6E6E6E6, -1, -1, -1, 250.0); //hospital LS // CreateDynamicMapIcon(1349.91, -1420.35, 12.53, 34 , 0xE6E6E6E6, -1, -1, -1, 250.0); //RADAR // CreateDynamicMapIcon(1548.65, -1725.15, 12.53, 34 , 0xE6E6E6E6, -1, -1, -1, 250.0); //RADAR // CreateDynamicMapIcon(1867.53, -1453.72, 12.55, 34 , 0xE6E6E6E6, -1, -1, -1, 250.0); //RADAR CreateDynamicMapIcon(-1434.8153,1479.9121,1.8672, 23 , 0xE6E6E6E6, -1, -1, -1, 250.0); //NAVIO CreateDynamicMapIcon(2360.4719,-1532.8904,24.0000, 32, 0xE6E6E6E6, -1, -1, -1, 250.0); // sex shop CreateDynamicMapIcon(2309.9460,-1643.6337,14.8270, 49, 0xE6E6E6E6, -1, -1, -1, 250.0); // Bar 1 CreateDynamicMapIcon(1323.9729,-1841.6465,13.5469, 49, 0xE6E6E6E6, -1, -1, -1, 250.0); // Bar 2 CreateDynamicMapIcon(776.4116,-1036.1841,24.2753, 49, 0xE6E6E6E6, -1, -1, -1, 250.0); // Bar 3 CreateDynamicMapIcon(2354.3938,-1511.7820,24.0000, 49, 0xE6E6E6E6, -1, -1, -1, 250.0); // Bar 4 CreateDynamicMapIcon(2850.9463,-1532.4783,11.0991, 49, 0xE6E6E6E6, -1, -1, -1, 250.0); // Bar 5 CreateDynamicMapIcon(2336.9888,2458.6926,14.9688, 30 , 0xE6E6E6E6, -1, -1, -1, 250.0);//DP LV CreateDynamicMapIcon(2590.6523,1401.1099,11.0663, 18, 0xE6E6E6E6, -1, -1, -1, 250.0);// MAFIA USSA CreateDynamicMapIcon(2489.7751,923.1611,11.0234, 18, 0xE6E6E6E6, -1, -1, -1, 250.0);// Milicia //=============== Motels =============================================== CreateDynamicMapIcon(BizzInfo[9][bEntranceX],BizzInfo[9][bEntranceY],BizzInfo[9][bEntranceZ], 12, 0xE6E6E6E6, -1, -1, -1, 250.0); CreateDynamicMapIcon(BizzInfo[10][bEntranceX],BizzInfo[10][bEntranceY],BizzInfo[10][bEntranceZ], 12, 0xE6E6E6E6, -1, -1, -1, 250.0); CreateDynamicMapIcon(BizzInfo[11][bEntranceX],BizzInfo[11][bEntranceY],BizzInfo[11][bEntranceZ], 12, 0xE6E6E6E6, -1, -1, -1, 250.0); //=============== sbizz =============================================== CreateDynamicMapIcon(919.311462,-1252.192504,16.210937, 30, 0xE6E6E6E6, -1, -1, -1, 250.0);//HQ Policia Civil CreateDynamicMapIcon(1059.5990,1280.1454,10.8203, 27, 0xE6E6E6E6, -1, -1, -1, 250.0);// Detran CreateDynamicMapIcon(1613.0029,-1559.9917,14.1684, 23, 0xE6E6E6E6, -1, -1, -1, 250.0); //----------------------------------------- Atualizar3Dtexts(); EleicoesOnLoad(); AbrirEleicoes(); printf("O Tempo de execução de OnGameModeInit é: %d", GetTickCount() - gettick); return true; } //Fim Ongamemodeinit CMD:reconectarbots(playerid){ if(PlayerInfo[playerid][pAdmin] < 1338) { SendClientMessage(playerid, COLOR_GRAD1, LEVELADM); return 1; } for(new i; i != MAX_PLAYERS; i++){ if(!IsPlayerNPC(i))continue; KickCNF(i); } //Traficantes ----- SendRconCommand("minconnectiontime 0"); SendClientMessage(playerid, COLOR_GREY, " Voce reconectou os BOT's !"); return 1; } CallBack::SyncTime() { new tmphour; new tmpminute; new tmpsecond; gettime(tmphour, tmpminute, tmpsecond); Fixhour(tmphour); tmphour = shifthour; if ((tmphour > ghour) || (tmphour == 0 && ghour == 23)) { ghour = tmphour; SetHora(); } if(tmpsecond == 1) foreach(Player, i) if(gPlayerLogged[i] == 1) { PlayerInfo[i][pMinutosOn]++; TempDropArmas[i]++; TempDropArmasBody[i]++; if(PlayerInfo[i][pMinutosOn] == 60) { PlayerInfo[i][pMinutosOn] = 0; PlayerInfo[i][pHorasOn]++; } } } CallBack::GetClosestPlayer(p1) { new Float:dis,Float:dis2,player; player = -1; dis = 99999.99; foreach(Player, x) { if(x != p1) { dis2 = GetDistanceBetweenPlayers(x,p1); if(dis2 < dis && dis2 != -1.00) { dis = dis2; player = x; } } } return player; } CallBack::Production() { foreach(Player, i) { if(PlayerDrunk[i] > 0) { PlayerDrunk[i] = 0; PlayerDrunkTime[i] = 0; SetPlayerDrunkLevel (i, 0); GameTextForPlayer(i, "~w~O efeito da bebida~n~~b~acabou", 3500, 1); } if(PlayerInfo[i][pPayDay] < 6) { PlayerInfo[i][pPayDay] += 1; } //+ 5 min to PayDay anti-abuse } } stock ResetSeq() { for(new x; x != MAX_ORGS; x++) { SeqOrg[x]=0; } } CMD:trocarsenhaoff(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] > 1340) { new senhaa[100], Nick[24]; if(sscanf(params, "s[24]s[100]", Nick, senhaa)) return UseCMD(playerid, "/trocarsenhaoff [Nick] [Nova Senha]"); new contaa[60]; format(contaa, 60, "Contas/%s.ini", Nick); if(!fexist(contaa)) return SCM(playerid, COLOR_GRAD1, "Conta nao encontrada."); SCMf(playerid, -1, "Debug: senha normal: %s", senhaa); Encrypt(senhaa); DOF2_SetString(contaa, "Key", senhaa); SCMf(playerid, -1, "Debug: senha encriptada: %s", senhaa); DOF2_SaveFile(); } return 1; } CMD:epdplayer(playerid, params[]) { new ID, Quant; if(PlayerInfo[playerid][pAdmin] < 1338 ) return SemPermCMD if(sscanf(params, "ud", ID, Quant)) return UseCMD(playerid, "/epdplayer [ID/Nick] [Quantidade]"); PlayerInfo[ID][pPayDayTime] = Quant*60; new gstr[256]; format(gstr, 256, "AdmCmd: %s editou tempo do payday de: %s para %s minutos!", PlayerName(playerid), PlayerName(ID), ConvertTime(Quant*60)); ABroadCast(COLOR_LIGHTRED, gstr, 1); return 1; } CallBack::PayDayTime(playerid) { PlayerInfo[playerid][pPayDayTime]-= 1; new strbraia[128]; format(strbraia, 128, "PayDay: %s", ConvertTime(PlayerInfo[playerid][pPayDayTime])); PlayerTextDrawSetString(playerid, CNFTelaPlayer[playerid][0], strbraia); if(PlayerInfo[playerid][pPayDayTime] < 1) { PayDay(playerid); PlayerInfo[playerid][pPayDayTime] = 59*60; } } stock PayDay(playerid) { new stringpayday[456]; new Conta; new rent = 0; timeinc = 0; teveguerra=false; teveprevisao=false; ResetSeq(); SetPVarInt(playerid, #VarFlood1, 0); SetPVarInt(playerid, #VarFlood2, 0); SetPVarInt(playerid, #VarFlood3, 0); SetPVarInt(playerid, #VarFlood4, 0); SetPVarInt(playerid, #VarFlood5, 0); SetPVarInt(playerid, #VarFlood6, 0); SetPVarInt(playerid, #VarFlood7, 0); SetPVarInt(playerid, #VarFlood8, 0); SetPVarInt(playerid, #VarFlood9, 0); SetPVarInt(playerid, #VarFlood10, 0); SetPVarInt(playerid, #VarFlood11, 0); SetPVarInt(playerid, #VarFlood13, 0); SetPVarInt(playerid, #VarFlood14, 0); SetPVarInt(playerid, #VarGranaBar1, 0); SetPVarInt(playerid, #VarGranaBar2, 0); SetPVarInt(playerid, #VarGranaBar3, 0); SetPVarInt(playerid, #VarGranaBar4, 0); SetPVarInt(playerid, #VarGranaBar5, 0); SetPVarInt(playerid, #VarFloodLocalizar, 0); SetPVarInt(playerid, #VarFloodsprunk, 0); SetPVarInt(playerid, "VarDano", 0); SetPVarInt(playerid, "timeLastVeh", 0); if(PlayerInfo[playerid][pLevel] >= 2) { if(MoneyMessage[playerid]==1) { SendClientMessage(playerid, 0xA4D1FFFF, "Voce nao quitou suas dividas, portanto levou 1000 reais de multa."); GameTextForPlayer(playerid, "~r~Caloteiro !", 2000, 1); GivePlayerMoneyEx(playerid, -1000); //SetPlayerInterior(playerid, 6); //SetPlayerPos(playerid, 264.6288,77.5742,1001.0391); //PlayerInfo[playerid][pJailed] = 1; //ResetPlayerWeapons(i); //WantedPoints[playerid] = 0; //PlayerInfo[playerid][pJailTime] = 240; //format(stringpayday, sizeof(stringpayday), "Voce foi preso por %d segundos. Fianca: Desativada", PlayerInfo[playerid][pJailTime]); //SendClientMessage(playerid, COLOR_LIGHTBLUE, stringpayday); } PlayerInfo[playerid][pConnectTime] += 1; new playername2[MAX_PLAYER_NAME]; GetPlayerName(playerid, playername2, sizeof(playername2)); new key = PlayerInfo[playerid][pPHousekey]; if(key != 500) { rent = HouseInfo[key][hRent]; if(strcmp(playername2, HouseInfo[key][hOwner], true) == 0) { rent = 0; } else if(rent > GetPlayerMoney(playerid)) { PlayerInfo[playerid][pPHousekey] = 500; SendClientMessage(playerid, COLOR_WHITE, "Voce foi expulso(a)."); rent = 0; } HouseInfo[key][hTakings] = HouseInfo[key][hTakings]+rent; } new nxtlevel = PlayerInfo[playerid][pLevel]+1; new expquantidade = nxtlevel*levelexp; new exp = PlayerInfo[playerid][pExp]; Tax += TaxValue;//Shorld work for every player online new Aleatoriedade = random(3000); new Aleatoriedade2 = random(3000); if(Aleatoriedade < 3000) Aleatoriedade += Aleatoriedade2; PlayerInfo[playerid][pConta] -= TaxValue; new checks = PlayerInfo[playerid][pSalario]*Aleatoriedade; new ebill = 1000; new eebill = 2000; new Febill = random(3000); new PGLT = random(3000); if(PGLT < 3000) PGLT += 3000; if(checks > 3000) checks = Aleatoriedade; if(checks < 3000) checks += 3000; if(checks < 0) checks = 300; PlayerInfo[playerid][pConta] += checks; if(PlayerInfo[playerid][pConta] > 0) { PlayerInfo[playerid][pConta] -= ebill; SBizzInfo[4][sbTill] += ebill; PLO += ebill; DepositarOrgGrana(7,ebill); } else { ebill = 0; } Conta = PlayerInfo[playerid][pConta]; PlayerPlaySound(playerid, 1185, 0.0, 0.0, 0.0); DepositarOrgGrana(7,TaxValue); SendClientMessage(playerid, BRANCO_COR, "_____________________ PayDay (Pagamento) _____________________"); if(Conta > 0) { format(stringpayday, sizeof(stringpayday), "| Conta Bancaria: {00FFFF}R$%s", ConvertMoney(Conta)); SendClientMessage(playerid, COLOR_GRAD1, stringpayday); } else { format(stringpayday, sizeof(stringpayday), "| Conta Bancaria: {00FFFF}R$-%s", ConvertMoney(Conta)); SendClientMessage(playerid, COLOR_GRAD1, stringpayday); } format(stringpayday, sizeof(stringpayday), "| Salario: {41DD36}$%s {FFFFFF}Despesas: {00FFFF}-$%s", ConvertMoney(checks), ConvertMoney(TaxValue)); SendClientMessage(playerid, BRANCO_COR, stringpayday); format(stringpayday, sizeof(stringpayday), "| Medico: {00FFFF}-$300 {FFFFFF}Imposto: {00FFFF}-$%s", ConvertMoney(TaxValue)); SendClientMessage(playerid, BRANCO_COR, stringpayday); if(PlayerInfo[playerid][pPHousekey] != 500) { /*format(stringpayday, sizeof(stringpayday), "» Energia [%s]: {00FFFF}-R$%d ", SBizzInfo[4][sbMessage], 150); SendClientMessage(playerid, BRANCO_COR, stringpayday); format(stringpayday, sizeof(stringpayday), "» IPTU {00FFFF}-R$%d ", 100); SendClientMessage(playerid, BRANCO_COR, stringpayday); PMH += Febill; PDU += Febill; CofreOrg[7][Dinheiro] += Febill; CofreOrg[7][Dinheiro] += 2350; PlayerInfo[playerid][pConta] -= 2350;*/ } if(PlayerInfo[playerid][pPbiskey] != 255) { /*format(stringpayday, sizeof(stringpayday), "» Energia Empresa [%s]: {00FFFF}-R$%d ", SBizzInfo[4][sbMessage], eebill); SendClientMessage(playerid, BRANCO_COR, stringpayday); format(stringpayday, sizeof(stringpayday), "» IRPJ {00FFFF}-R$%d ", 2000); SendClientMessage(playerid, BRANCO_COR, stringpayday); PMH += eebill; PDU += eebill; CofreOrg[7][Dinheiro] += eebill; CofreOrg[7][Dinheiro] += 2000; PlayerInfo[playerid][pConta] -= 2000; PlayerInfo[playerid][pConta] -= eebill;*/ } if(PlayerInfo[playerid][pPFazkey] != 255) { format(stringpayday, sizeof(stringpayday), "| Poco d'agua: {00FFFF}-R$%d", 850); SendClientMessage(playerid, COLOR_GRAD1, stringpayday); PME += Febill; PDU += Febill; CofreOrg[7][Dinheiro] += Febill+850; PlayerInfo[playerid][pConta] -= 850; } if(PlayerInfo[playerid][pVIP] > 0 && PlayerInfo[playerid][pVIP] < 3) { if(PlayerInfo[playerid][pVIP] == 1) { format(stringpayday, sizeof(stringpayday), "| Multiplicador de salario (VIP): {1E90FF}7,500 {FFFFFF}Respeito: {41DD36}+1{FFFFFF} ({1E90FF}%d/%d{FFFFFF})",exp, expquantidade); SendClientMessage(playerid, BRANCO_COR, stringpayday); PlayerInfo[playerid][pExp] += 1; } if(PlayerInfo[playerid][pVIP] == 2) { format(stringpayday, sizeof(stringpayday), "| Multiplicador de salario (VIP): {1E90FF}7,500 {FFFFFF}Respeito: {41DD36}+2{FFFFFF} ({1E90FF}%d/%d{FFFFFF})",exp, expquantidade); SendClientMessage(playerid, BRANCO_COR, stringpayday); PlayerInfo[playerid][pExp] += 2; } PlayerInfo[playerid][pConta] += 7500; } if(PlayerInfo[playerid][pVIP] > 2 && PlayerInfo[playerid][pVIP] < 5) { if(PlayerInfo[playerid][pVIP] == 3) { PlayerInfo[playerid][pExp] += 4; format(stringpayday, sizeof(stringpayday), "| Multiplicador de salario (SÓCIO): {1E90FF}10,000 {FFFFFF}Respeito: {41DD36}+4{FFFFFF} ({1E90FF}%d/%d{FFFFFF})",exp, expquantidade); SendClientMessage(playerid, BRANCO_COR, stringpayday); } if(PlayerInfo[playerid][pVIP] == 4) { PlayerInfo[playerid][pExp] += 6; format(stringpayday, sizeof(stringpayday), "| Multiplicador de salario (SÓCIO): {1E90FF}10,000 {FFFFFF}Respeito: {41DD36}+6{FFFFFF} ({1E90FF}%d/%d{FFFFFF})",exp, expquantidade); SendClientMessage(playerid, BRANCO_COR, stringpayday); } PlayerInfo[playerid][pConta] += 10000; } if(PlayerInfo[playerid][pDiamante] > 0) { PlayerInfo[playerid][pExp] += 4; format(stringpayday, sizeof(stringpayday), "| Multiplicador de salario (MEMBRO DIAMANTE): {1E90FF}6,000 {FFFFFF}Respeito: {41DD36}+4{FFFFFF} ({1E90FF}%d/%d{FFFFFF})",exp, expquantidade); SendClientMessage(playerid, BRANCO_COR, stringpayday); PlayerInfo[playerid][pConta] += 6000; } new Name_p[24]; GetPlayerName(playerid, Name_p, sizeof(Name_p)); for(new idx = 0; idx < sizeof(FBizzInfo); idx++) { // descontando 2 produtos empresa if(!strcmp(FBizzInfo[idx][fbOwner], Name_p)) { FBizzInfo[idx][fbProducts]-= 2; } } Conta = PlayerInfo[playerid][pConta]; PlayerInfo[playerid][pConta] = Conta; PlayerInfo[playerid][pPlatina] = 0; SalarioPlayer(playerid); SendClientMessage(playerid, BRANCO_COR, "_____________________________________________________________"); format(stringpayday, sizeof(stringpayday), "| Novo saldo bancario: {41DD36}$%s",ConvertMoney(PlayerInfo[playerid][pConta])); SendClientMessage(playerid, BRANCO_COR, stringpayday); if(PlayerInfo[playerid][pLider] == 7) { if(CofreOrg[7][Dinheiro] >= 50000) { PGLT = random(2000); } format(stringpayday, sizeof(stringpayday), "| Lucros do Governo: {41DD36}R$%s", ConvertMoney(PGLT)); SendClientMessage(playerid, BRANCO_COR, stringpayday); DepositarOrgGrana(7,PGLT); } if(PlayerInfo[playerid][pEmprego] > 0) { if(PlayerInfo[playerid][pContractTime] < 5) { PlayerInfo[playerid][pContractTime] ++; } } SetTimerEx("PararMusica", 7900, 0, "i", playerid); GameTextForPlayer(playerid, "~g~Salario", 5000, 1); rent = 0; PlayerInfo[playerid][pPayDay] = 0; PlayerInfo[playerid][pSalario] = 0; PlayerInfo[playerid][pLimparb] = 0; if(MoneyMessage[playerid]==1) { SendClientMessage(playerid, 0xA4D1FFFF, "Voce nao quitou suas dividas, portanto levou 1000 reais de multa."); GameTextForPlayer(playerid, "~r~Caloteiro !", 2000, 1); GivePlayerMoneyEx(playerid, -1000); //SetPlayerInterior(playerid, 6); //SetPlayerPos(playerid, 264.6288,77.5742,1001.0391); //PlayerInfo[playerid][pJailed] = 1; //ResetPlayerWeapons(i); //WantedPoints[i] = 0; //PlayerInfo[playerid][pJailTime] = 240; //format(stringpayday, sizeof(stringpayday), "Voce foi preso por %d segundos. Fianca: Desativada", PlayerInfo[playerid][pJailTime]); //SendClientMessage(playerid, COLOR_LIGHTBLUE, stringpayday); } } //new Conta = PlayerInfo[playerid][pConta]; return true; } static stock PayDayManual() { for(new i; i < MAX_PLAYERS; i++) { PlayerInfo[i][pPayDayTime] = 0; } return true; } CallBack::PararMusica(playerid) { if(IsPlayerConnected(playerid)) { PlayerPlaySound(playerid, 1186, 0.0, 0.0, 0.0); } return true; } static stock strtok(const striing[], &index) { new length = strlen(striing); while ((index < length) && (striing[index] <= ' ')) { index++; } new offset = index; new result[20]; while ((index < length) && (striing[index] > ' ') && ((index - offset) < (sizeof(result) - 1))) { result[index - offset] = striing[index]; index++; } result[index - offset] = EOS; return result; } static stock GetPlayerNameEx(playerid) { new string[128]; GetPlayerName(playerid,string,24); new str[24]; strmid(str,string,0,strlen(string),24); for(new i = 0; i < MAX_PLAYER_NAME; ++i) { if (str[i] == '_') str[i] = ' '; } return str; } stock GivePlayerMoneyEx(playerid, money) { PlayerInfo[playerid][pCash] += money; GivePlayerMoney(playerid, money); return true; } stock SetPlayerMoney(playerid, money) { ResetPlayerMoney(playerid); GivePlayerMoney(playerid, money); } static stock strtokEx(const striing[], &index) { new length = strlen(string); while ((index < length) && (striing[index] <= ' ')) { index++; } new offset = index; new result[64]; while ((index < length) && ((index - offset) < (sizeof(result) - 1))) { result[index - offset] = striing[index]; index++; } result[index - offset] = EOS; return result; } stock split(const strsrc[], strdest[][], delimiter) { new i, li; new aNum; new len; while(i <= strlen(strsrc)) { if(strsrc[i]==delimiter || i==strlen(strsrc)) { len = strmid(strdest[aNum], strsrc, li, i, 128); strdest[aNum][len] = 0; li = i+1; aNum++; } i++; } return true; } showDialogLogin(playerid){ ShowPlayerDialog(playerid, 1, DIALOG_STYLE_PASSWORD, "Fazendo Login", "{FFFFFF}Bem vindo ao servidor: {0080FF}BRASIL POBRE RP\n\ {FFFFFF}Sua conta: esta {FF5555}REGISTRADA{FFFFFF} no servidor\n\n\ {F7BE81}Letras maiusculas diferenciam de letras minusculas\n\n\ {999999}Digite sua senha abaixo:", "Login", "Sair"); } stock OnPlayerRegister(playerid, const password[]) { /* PerguntarPcOuAndroid(playerid); */ //PlayerInfo[playerid][pFomeSedeDesativado] = 1; FoiRegistro[playerid] = true; strmid(PlayerInfo[playerid][pKey], password, 0, strlen(password), 255); new string3[120]; format(string3, sizeof(string3), Pasta_Contas, PlayerName(playerid)); DOF2_SetString(string3,"Key",PlayerInfo[playerid][pKey]); DOF2_SetString(string3, "TemAnuncioPersonalizado", TemAnuncioPersonalizado[playerid]); DOF2_SetString(string3, "TemJetpack", TemJetpack[playerid]); DOF2_SetString(string3, "EmailPessoal", "n/a"); DOF2_SaveFile(); SetPVarInt(playerid, "VarReg", 1); gPlayerLogged[playerid] = 1; OnPlayerSave(playerid); SaveObjects(playerid); TotalRegistro++; SendClientMessage(playerid, COLOR_YELLOW, "[BRASIL POBRE RP]: Conta criada com sucesso!"); SendClientMessage(playerid, COLOR_WHITE, "Carregando..."); if(PlayerInfo[playerid][pReg] == 0) { PlayerInfo[playerid][pDiamante] = 0; //PlayerInfo[playerid][pFome] = 90; //PlayerInfo[playerid][pSede] = 90; PlayerInfo[playerid][pLevel] = 2; PlayerInfo[playerid][pAge] = 15; PlayerInfo[playerid][pSHealth] = 50.0; PlayerInfo[playerid][pPos_x] = 2246.6; PlayerInfo[playerid][pPos_y] = -1161.9; PlayerInfo[playerid][pPos_z] = 1029.7; PlayerInfo[playerid][pInt] = 0; PlayerInfo[playerid][pLocal] = 255; PlayerInfo[playerid][pAtendimentos] = 0; PlayerInfo[playerid][pTrocaNick] = 0; PlayerInfo[playerid][pPayDayTime] = 59*60; PlayerInfo[playerid][pVezesPreso] = 0; if(PlayerInfo[playerid][pSex] == 1) { SetPlayerSkin(playerid, 289); } else { SetPlayerSkin(playerid, 150); } new randphone = 10000 + random(89999); PlayerInfo[playerid][pPnumber] = randphone; PlayerInfo[playerid][pTelColor] = 18874; PlayerInfo[playerid][pCapacete] = 18978; PlayerInfo[playerid][pPHousekey] = 500; PlayerInfo[playerid][pPbiskey] = 255; PlayerInfo[playerid][pPFazkey] = 255; PlayerInfo[playerid][pCash] = 0; PlayerInfo[playerid][pConta] = 0; PlayerInfo[playerid][pCasher] = 0; PlayerInfo[playerid][pReg] = 1; PlayerInfo[playerid][pEmprego] = 0; PlayerInfo[playerid][pKills] = 0; PlayerInfo[playerid][pDeaths] = 0; PlayerInfo[playerid][pTemCarro] = 0; ResetPlayerMoney(playerid); if(PlayerInfo[playerid][pVIP] < 1) { } } OnPlayerLogin(playerid, PlayerInfo[playerid][pKey]); return true; } forward AskPcOuAndroid(playerid); public AskPcOuAndroid(playerid) { if(!JaMostrouEscolherPlataforma[playerid]) { JaMostrouEscolherPlataforma[playerid] = true; // Pc ou android ShowPlayerDialogEx(playerid, D_PCOUANDROID); } } stock OnPlayerLogin(playerid, password[], Esta_Logando = 0) { CreatePlayerConta_DB(playerid); new string[200]; //new gstring[256]; new senhaa[128]; if(NaoPodeLogar[playerid] == 1) return ForceClassSelection(playerid); //new tmp2[ 255 ]; new string2[74]; format(senhaa, sizeof(senhaa), Pasta_Contas, PlayerName(playerid)); strmid(PlayerInfo[playerid][pKey], DOF2_GetString(senhaa, "Key"), 0, strlen(DOF2_GetString(senhaa, "Key")), 255); if(strcmp(PlayerInfo[playerid][pKey],password, true ) == 0) { if(PlayerInfo[playerid][pReg] == 0) { format(string2, sizeof(string2), Pasta_Contas, PlayerName(playerid)); JaPegouAniversarioCNF[playerid] = DOF2_GetInt(string2, "AniversarioCNF"); PlayerInfo[playerid][pAvaliacoes] = DOF2_GetInt(string2, "Avaliacoes"); PlayerInfo[playerid][pAFinal] = DOF2_GetInt(string2, "AvaFinal"); PlayerInfo[playerid][pPlatina] = DOF2_GetInt(string2, "Platina"); TemAnuncioPersonalizado[playerid] = DOF2_GetInt(string2, "TemAnuncioPersonalizado"); TemJetpack[playerid] = DOF2_GetInt(string2, "TemJetpack"); PlayerInfo[playerid][pDecod] = DOF2_GetInt(string2, "Decodificador"); PlayerInfo[playerid][pLevel] = DOF2_GetInt(string2, "Level"); PlayerInfo[playerid][pAdmin] = DOF2_GetInt(string2, "AdminLevel"); SetTimerEx("CarregarPosicao", segundos(50), false, "i", playerid); strmid(PlayerInfo[playerid][pFuncao],DOF2_GetString(string2,"AdminFuncao"),0,strlen(DOF2_GetString(string2,"AdminFuncao")),255); PlayerInfo[playerid][pAdminTemp] = DOF2_GetInt(string2, "AdminTemp"); PedMorto[playerid] = DOF2_GetInt(string2, "PedMorto"); TimingPlayer[playerid] = DOF2_GetInt(string2, "TimingPlayer"); PlayerInfo[playerid][pHelper] = DOF2_GetInt(string2, "HelperLevel"); PlayerInfo[playerid][pVIP] = DOF2_GetInt(string2, "DonateRank"); PlayerInfo[playerid][pYoutuber] = DOF2_GetInt(string2, "Youtuber"); PlayerInfo[playerid][pDiamante] = DOF2_GetInt(string2, "Diamante"); //SetTimerEx("UpdateAnim", 1000, true, "i", playerid); PlayerInfo[playerid][pFamiliaID] = DOF2_GetInt(string2, "FamiliaID"); PlayerInfo[playerid][pFamiliaCargo] = DOF2_GetInt(string2, "FamiliaCargo"); PlayerInfo[playerid][VelocidadePortaoMover] = DOF2_GetFloat(string2, "VelocidadePortaoMover"); PlayerInfo[playerid][VelocidadePortaoMoverRot] = DOF2_GetFloat(string2, "VelocidadePortaoMoverRot"); PlayerInfo[playerid][PlayerDesconectouMorto] = DOF2_GetInt(string2, "PlayerDesconectouMorto"); PlayerInfo[playerid][OldPosSaiu][0] = DOF2_GetInt(string2, "OldPosSaiu0"); PlayerInfo[playerid][OldPosSaiu][1] = DOF2_GetInt(string2, "OldPosSaiu1"); PlayerInfo[playerid][OldPosSaiu][2] = DOF2_GetInt(string2, "OldPosSaiu2"); PlayerInfo[playerid][OldPosSaiu][3] = DOF2_GetInt(string2, "OldPosSaiu3"); PlayerInfo[playerid][InteriorSaiu] = DOF2_GetInt(string2, "InteriorSaiu"); PlayerInfo[playerid][CidadePegouEmprego] = DOF2_GetInt(string2, "CidadePegouEmprego"); PlayerInfo[playerid][pDiasD] = DOF2_GetInt(string2, "DiasD"); PlayerInfo[playerid][gPupgrade] = DOF2_GetInt(string2, "UpgradePoints"); PlayerInfo[playerid][pConnectTime] = DOF2_GetInt(string2, "ConnectedTime"); PlayerInfo[playerid][pReg] = DOF2_GetInt(string2, "Registered"); PlayerInfo[playerid][pSex] = DOF2_GetInt(string2, "Sex"); PlayerInfo[playerid][pMuted] = DOF2_GetInt(string2, "Muted"); PlayerInfo[playerid][pVoipMute] = DOF2_GetInt(string2, "VMuted"); PlayerInfo[playerid][pPayDayTime] = DOF2_GetInt(string2, "PayDayTime"); PlayerInfo[playerid][pExp] = DOF2_GetInt(string2, "Respect"); PlayerInfo[playerid][pCash] = DOF2_GetInt(string2, "Money"); PlayerInfo[playerid][pConta] = DOF2_GetInt(string2, "Bank"); PlayerInfo[playerid][pCasher] = DOF2_GetInt(string2, "Cashing"); ContagemHoras[playerid] = DOF2_GetInt(string2, "ContagemHoras"); ContagemSeg[playerid] = DOF2_GetInt(string2, "ContagemSeg"); PlayerInfo[playerid][pJackSkill] = DOF2_GetInt(string2, "pJackSkill"); PlayerInfo[playerid][pCrimes] = DOF2_GetInt(string2, "Crimes"); PlayerInfo[playerid][pKills] = DOF2_GetInt(string2, "Kills"); PlayerInfo[playerid][pDeaths] = DOF2_GetInt(string2, "Deaths"); PlayerInfo[playerid][pContratos] = DOF2_GetInt(string2, "Contratos"); PlayerInfo[playerid][pPhoneBook] = DOF2_GetInt(string2, "Phonebook"); PlayerInfo[playerid][pLottoNr] = DOF2_GetInt(string2, "LottoNr"); PlayerInfo[playerid][pLottoWin] = DOF2_GetInt(string2, "LottoWin"); PlayerInfo[playerid][pEmprego] = DOF2_GetInt(string2, "Emprego"); PlayerInfo[playerid][pSalario] = DOF2_GetInt(string2, "Paycheck"); PlayerInfo[playerid][pExplosivos] = DOF2_GetInt(string2, "Explosivos"); PlayerInfo[playerid][pKitCocaina] = DOF2_GetInt(string2, "KitCocaina"); PlayerInfo[playerid][pKitCrack] = DOF2_GetInt(string2, "KitCrack"); PlayerInfo[playerid][pChatWppON] = DOF2_GetInt(string2, "WhatsappON"); PlayerInfo[playerid][pCigarros] = DOF2_GetInt(string2, "Cigarros"); PlayerInfo[playerid][pHeadValue] = DOF2_GetInt(string2, "HeadValue"); PlayerInfo[playerid][pJailed] = DOF2_GetInt(string2, "Jailed"); PlayerInfo[playerid][gPlayerUsandoPlataformaID] = DOF2_GetInt(string2, "gPlayerUsandoPlataformaID"); PlayerInfo[playerid][pTitulo] = DOF2_GetInt(string2, "TituloId"); PlayerInfo[playerid][pJailTime] = DOF2_GetInt(string2, "JailTime"); PlayerInfo[playerid][pAnGov] = DOF2_GetInt(string2, "AnGov"); PlayerInfo[playerid][pBloqNoob] = DOF2_GetInt(string2, "BloqNoob"); PlayerInfo[playerid][pArmasb] = DOF2_GetInt(string2, "Armasb"); PlayerInfo[playerid][pCapacete] = DOF2_GetInt(string2, "Capacete"); PlayerInfo[playerid][pMats] = DOF2_GetInt(string2, "Materiais"); PlayerInfo[playerid][pDrogas] = DOF2_GetInt(string2, "Maconha"); PlayerInfo[playerid][pDrogas2] = DOF2_GetInt(string2, "Cocaina"); PlayerInfo[playerid][pDrogas3] = DOF2_GetInt(string2, "Crack"); PlayerInfo[playerid][pLider] = DOF2_GetInt(string2, "Lider"); PlayerInfo[playerid][pMembro] = DOF2_GetInt(string2, "Member"); SetPVarInt(playerid, "WarnningAimbot", DOF2_GetInt(string2, "AimBot")); SetPVarInt(playerid, "WarnningMacro", DOF2_GetInt(string2, "AutoCbug")); PlayerInfo[playerid][pCargo] = DOF2_GetInt(string2, "Rank"); PlayerInfo[playerid][pSkin] = DOF2_GetInt(string2, "Char"); PlayerInfo[playerid][pContractTime] = DOF2_GetInt(string2, "ContractTime"); PlayerInfo[playerid][pAjustado] = DOF2_GetBool(string2, "Ajustado"); PlayerInfo[playerid][pResetado] = DOF2_GetBool(string2, "resetado"); PlayerInfo[playerid][pGalao] = DOF2_GetBool(string2, "Galao"); PlayerInfo[playerid][pIsqueiro] = DOF2_GetBool(string2, "Isqueiro"); PlayerInfo[playerid][pMatouSniper] = DOF2_GetBool(string2, "MatouSniper"); PlayerInfo[playerid][pPatins] = DOF2_GetBool(string2, "Patins"); PlayerInfo[playerid][pRadio] = DOF2_GetBool(string2, "Radio"); PlayerInfo[playerid][pTelevisao] = DOF2_GetBool(string2, "Televisao"); PlayerInfo[playerid][pMinutosOn] = DOF2_GetInt(string2, "MinutosOn"); PlayerInfo[playerid][pHorasOn] = DOF2_GetInt(string2, "HorasOn"); PlayerInfo[playerid][pDias5On] = DOF2_GetInt(string2, "Dias5On"); PlayerInfo[playerid][pDias15On] = DOF2_GetInt(string2, "Dias15On"); PlayerInfo[playerid][pMesOn] = DOF2_GetInt(string2, "MesOn"); PlayerInfo[playerid][p5VOk] = DOF2_GetBool(string2, "5VOk"); PlayerInfo[playerid][p15VOk] = DOF2_GetBool(string2, "15VOk"); PlayerInfo[playerid][pSexSkill] = DOF2_GetInt(string2, "SexSkill"); PlayerInfo[playerid][pBoxSkill] = DOF2_GetInt(string2, "BoxSkill"); PlayerInfo[playerid][pLawSkill] = DOF2_GetInt(string2, "LawSkill"); PlayerInfo[playerid][pMechSkill] = DOF2_GetInt(string2, "MechSkill"); PlayerInfo[playerid][pNewsSkill] = DOF2_GetInt(string2, "NewsSkill"); PlayerInfo[playerid][pCarSkill] = DOF2_GetInt(string2, "CarSkill"); PlayerInfo[playerid][pChave] = DOF2_GetInt(string2, "Chave"); PlayerInfo[playerid][pDrogasSkill] = DOF2_GetInt(string2, "DrogasSkill"); PlayerInfo[playerid][pLimparb] = DOF2_GetInt(string2, "Limparb"); PlayerInfo[playerid][pSHealth] = DOF2_GetFloat(string2, "pSHealth"); PlayerInfo[playerid][pSArmour] = DOF2_GetFloat(string2, "pSArmour"); PlayerInfo[playerid][pPnumber] = DOF2_GetInt(string2, "PhoneNr"); PlayerInfo[playerid][pTelColor] = DOF2_GetInt(string2, "TelCor"); PlayerInfo[playerid][pPhousekey] = DOF2_GetInt(string2, "House"); PlayerInfo[playerid][pPbiskey] = DOF2_GetInt(string2, "Bizz"); PlayerInfo[playerid][pPFazkey] = DOF2_GetInt(string2, "Faz"); PlayerInfo[playerid][pSkin] = DOF2_GetInt(string2, "Skin"); PlayerInfo[playerid][pPos_x] = DOF2_GetFloat(string2, "Pos_x"); PlayerInfo[playerid][pPos_y] = DOF2_GetFloat(string2, "Pos_y"); PlayerInfo[playerid][pPos_z] = DOF2_GetFloat(string2, "Pos_z"); PlayerInfo[playerid][pInterior] = DOF2_GetInt(string2, "Interior"); PlayerInfo[playerid][pVW] = DOF2_GetInt(string2, "VW"); PlayerInfo[playerid][pCarLic] = DOF2_GetInt(string2, "CarLic"); PlayerInfo[playerid][pFlyLic] = DOF2_GetInt(string2, "FlyLic"); DeatEvento[playerid] = DOF2_GetInt(string2, "DeatEvento"); KillEvento[playerid] = DOF2_GetInt(string2, "KillEvento"); PlayerInfo[playerid][pMenuRG] = DOF2_GetInt(string2, "MenuRG"); PlayerInfo[playerid][pChatTerritorio] = DOF2_GetInt(string2, "ChatTerritorio"); PlayerInfo[playerid][pChatVipDesativado] = DOF2_GetInt(string2, "ChatVipDesativado"); PlayerInfo[playerid][pChatNoob] = DOF2_GetInt(string2, "ChatNoob"); PlayerInfo[playerid][pChatNoticias] = DOF2_GetInt(string2, "ChatNoticias"); //PlayerInfo[playerid][pChatFomeSede] = DOF2_GetInt(string2, "ChatFomeSede"); PlayerInfo[playerid][pBoatLic] = DOF2_GetInt(string2, "BoatLic"); PlayerInfo[playerid][pGunLic] = DOF2_GetInt(string2, "GunLic"); PlayerInfo[playerid][pPayDay] = DOF2_GetInt(string2, "PayDay"); PlayerInfo[playerid][pCDPlayer] = DOF2_GetInt(string2, "CDPlayer"); PlayerInfo[playerid][pAlcoholPerk] = DOF2_GetInt(string2, "AlcoholPerk"); PlayerInfo[playerid][pDrugPerk] = DOF2_GetInt(string2, "DrugPerk"); PlayerInfo[playerid][pMiserPerk] = DOF2_GetInt(string2, "MiserPerk"); PlayerInfo[playerid][pPainPerk] = DOF2_GetInt(string2, "PainPerk"); PlayerInfo[playerid][pTraderPerk] = DOF2_GetInt(string2, "TraderPerk"); PlayerInfo[playerid][pTut] = DOF2_GetInt(string2, "Tutorial"); PlayerInfo[playerid][pWarns] = DOF2_GetInt(string2, "Avisos"); PlayerInfo[playerid][pMarried] = DOF2_GetInt(string2, "Married"); strmid(PlayerInfo[playerid][pMarriedTo],DOF2_GetString(string2,"MarriedTo"),0,strlen(DOF2_GetString(string2,"MarriedTo")),255); strmid(PlayerCrime[playerid][pAccusedof],DOF2_GetString(string2,"cCrime"),0,strlen(DOF2_GetString(string2,"cCrime")),255); strmid(PlayerCrime[playerid][pVictim],DOF2_GetString(string2,"cRelato"),0,strlen(DOF2_GetString(string2,"cRelato")),255); PlayerInfo[playerid][pSpawn] = DOF2_GetInt(string2, "Spawn"); PlayerInfo[playerid][psMats] = DOF2_GetInt(string2, "SafeMateriais"); WantedPoints[playerid] = DOF2_GetInt(string2, "NivelProcurado"); PlayerInfo[playerid][pLuta] = DOF2_GetInt(string2, "Luta"); strmid(PlayerInfo[playerid][pLaastLogin],DOF2_GetString(string2,"LU"),0,strlen(DOF2_GetString(string2,"LU")),255); strmid(PlayerInfo[playerid][pLastVerification],DOF2_GetString(string2,"LV"),0,strlen(DOF2_GetString(string2,"LV")),255); PlayerInfo[playerid][pBan] = DOF2_GetInt(string2, "Ban"); PlayerInfo[playerid][pAge] = DOF2_GetInt(string2, "Age"); PlayerInfo[playerid][pAcP] = DOF2_GetInt(string2, "AcP"); PlayerInfo[playerid][pOuros] = DOF2_GetInt(string2, "Ouros"); PlayerInfo[playerid][pAviso] = DOF2_GetInt(string2, "Avisado"); PlayerInfo[playerid][pDiaBanTemp] = DOF2_GetInt(string2, "DiasBanTemp"); PlayerInfo[playerid][pMesBanTemp] = DOF2_GetInt(string2, "MesBanTemp"); PlayerInfo[playerid][pAnoBanTemp] = DOF2_GetInt(string2, "AnoBanTemp"); PlayerInfo[playerid][pDiaVIP] = DOF2_GetInt(string2, "DiasVIP"); PlayerInfo[playerid][pDiasvip] = DOF2_GetInt(string2, "diasvip"); PlayerInfo[playerid][pMesVIP] = DOF2_GetInt(string2, "MesVIP"); PlayerInfo[playerid][pAnoVIP] = DOF2_GetInt(string2, "AnoVIP"); PlayerInfo[playerid][pDiaD] = DOF2_GetInt(string2, "DiasD"); PlayerInfo[playerid][pDiasD] = DOF2_GetInt(string2, "diasD"); PlayerInfo[playerid][pMesD] = DOF2_GetInt(string2, "MesD"); PlayerInfo[playerid][pAnoD] = DOF2_GetInt(string2, "AnoD"); PlayerInfo[playerid][pCidadeEscolheu] = DOF2_GetInt(string2, "pCidadeEscolheu"); //TempJaSetouFomeSede[playerid] = DOF2_GetInt(string2, "JaSetouFS"); //PlayerInfo[playerid][pFomeSedeDesativado] = DOF2_GetInt(string2, "FomeSedeDesativado"); strmid(PlayerInfo[playerid][pAdminAgendou],DOF2_GetString(string2,"AdminAgendou"),0,strlen(DOF2_GetString(string2,"AdminAgendou")),255); strmid(PlayerInfo[playerid][pMotivoAgendou],DOF2_GetString(string2,"MotivoAgendou"),0,strlen(DOF2_GetString(string2,"MotivoAgendou")),255); PlayerInfo[playerid][pAgendado] = DOF2_GetInt(string2, "Agendado"); PlayerInfo[playerid][pCashAgendado] = DOF2_GetInt(string2, "CashAgendado"); PlayerInfo[playerid][pMoneyAgendado] = DOF2_GetInt(string2, "MoneyAgendado"); PlayerInfo[playerid][pTempoAgendado] = DOF2_GetInt(string2, "TempoAgendado"); PlayerInfo[playerid][pQCoinAgendado] = DOF2_GetInt(string2, "QCoinAgendado"); PlayerInfo[playerid][pQMoneyAgendado] = DOF2_GetInt(string2, "QMoneyAgendado"); PlayerInfo[playerid][pSementes] = DOF2_GetInt(string2, "Sementes"); PlayerInfo[playerid][pGasReserva] = DOF2_GetInt(string2,"GasReserva"); PlayerInfo[playerid][pAtendimentos] = DOF2_GetInt(string2,"Atendimentos"); PlayerInfo[playerid][pTemCarro] = DOF2_GetInt(string2,"TemCarro"); PlayerInfo[playerid][pPontosHab] = DOF2_GetInt(string2,"PontosHab"); PlayerInfo[playerid][pTrocaNick] = DOF2_GetInt(string2,"TrocaNick"); PlayerInfo[playerid][pSkinFixa] = DOF2_GetInt(string2,"SkinFixa"); PlayerInfo[playerid][pBonusYT] = DOF2_GetInt(string2, "BonusYT"); PlayerInfo[playerid][pVezesPreso] = DOF2_GetInt(string2, "VezesPreso"); //PlayerInfo[playerid][pFome] = DOF2_GetInt(string2, "Fome"); //PlayerInfo[playerid][pSede] = DOF2_GetInt(string2, "Sede"); PlayerInfo[playerid][pDinheiroSujo] = DOF2_GetInt(string2, "DinheiroSujo"); gPlayerLogged[playerid] = 1; if(Esta_Logando) { SetTimerEx("AskPlayerEmail_Timer", 1000, false, "i", playerid); SetTimerEx("VerifyPlayerMorte", 3000, false, "i", playerid); } } if(PlayerInfo[playerid][pLastVerification] == 0) { getdate(year, month, day); format(string, sizeof(string),"%02d/%02d/%d",day,month,year); strmid(PlayerInfo[playerid][pLastVerification],string,0,strlen(string),255); } new arquivevip[30]; format(arquivevip, 30, "VipsAgendados/%s.ini", PlayerName(playerid)); if(fexist(arquivevip)) { new nomevip[30]; if(DOF2_GetInt(arquivevip, "NivelVIP") == 1) nomevip = "VIP"; if(DOF2_GetInt(arquivevip, "NivelVIP") == 2) nomevip = "Super-VIP"; if(DOF2_GetInt(arquivevip, "NivelVIP") == 3) nomevip = "Socio-Reliquia"; if(DOF2_GetInt(arquivevip, "NivelVIP") == 4) nomevip = "Socio-Platina"; SetarVIP(playerid, DOF2_GetInt(arquivevip, "NivelVIP"), DOF2_GetInt(arquivevip, "MesesVIP")); format(strbrazz, sizeof(strbrazz), "{00FF00}[Agendamento VIP] %s recebeu: {7FFF00}%s{00FF00} por %d meses!", PlayerName(playerid), nomevip, DOF2_GetInt(arquivevip, "MesesVIP")); SendClientMessageToAll(0x00FF00FF, strbrazz); SCMf(playerid, COLOR_GREEN, "[VIP] Você ganhou um %s por %d meses, Parabéns!", nomevip, DOF2_GetInt(arquivevip, "MesesVIP")); DOF2_RemoveFile(arquivevip); } logouagora[playerid] = 1; CheckOwner(playerid); CheckOwnerb(playerid); CheckOwnerf(playerid); CheckOwnerh(playerid); } else { new plrIP[16]; GetPlayerIp(playerid, plrIP, sizeof(plrIP)); getdate(Ano, Mes, Dia); NumeroTentativasLogin[playerid]++; new message[144]; format(message, sizeof(message), "* Senha incorreta (Número de tentativas: %i/"#MAX_TENTATIVAS_LOGIN").", NumeroTentativasLogin[playerid]); SendClientMessage(playerid, 0xff6347FF, message); if(NumeroTentativasLogin[playerid] < MAX_TENTATIVAS_LOGIN) { showDialogLogin(playerid); } else { new varEmail[MAX_TAMANHO_EMAIL]; format(varEmail, sizeof(varEmail), DOF2_GetString(pArquivo(playerid), "EmailPessoal")); new StringEmail[700], random_code = random(10000); if(IsValidEmail(varEmail)) { CodigoRecuperacaoConta[playerid] = random_code; #if USAR_TEMPLATE == 1 strcat(StringEmail, ""); strcat(StringEmail, ""); format(StringEmail, sizeof(StringEmail), "%s

Bem vindo ao servidor BRASIL POBRE RP %s! Sua presença no nosso servidor é muito importante!", StringEmail, pNome(playerid)); format(StringEmail, sizeof(StringEmail), "%s

Você está recuperando sua senha!", StringEmail); format(StringEmail, sizeof(StringEmail), "%s

O Código para você recuperar sua senha é: %i", StringEmail, random_code); strcat(StringEmail, ""); SendEmail("BRASIL POBRE RP - Email automático", varEmail, "Recuperação de senha", StringEmail, false); #else format(StringEmail, sizeof(StringEmail), "O Código para você recuperar sua conta no BRASIL POBRE RP é: %i", random_code); SendMail(varEmail, "noreply@cidadeplay.com.br", "Recuperação de senha - BRASIL POBRE RP", "Você está recuperando a sua senha no BRASIL POBRE RP!", StringEmail); #endif ShowPlayerDialogEx(playerid, D_CODIGO_RECUPERAR_CONTA); } else { SCM(playerid, COLOR_ERRO, "[Erro] Você não tinha um email para recuperar sua senha e foi kickado por exceder o limite de tentativas."); KickEx(playerid); } } return true; } if(EleicoesOn == 0) { PlayerInfo[playerid][pVotou] = 0; } labelDano[playerid] = CreateDynamic3DTextLabel(" ", -1, 0.0, 0.0, 0.0, 70.0, playerid); TogglePlayerSpectating(playerid, false); ResetPlayerMoney(playerid); SetPlayerMoney(playerid, PlayerInfo[playerid][pCash]); SetPlayerWantedLevelEx(playerid, WantedPoints[playerid]); if(PlayerInfo[playerid][pExplosivos] > 1) PlayerInfo[playerid][pExplosivos] = 1; if(PlayerInfo[playerid][pReg] == 0) { PlayerInfo[playerid][pLevel] = 3; PlayerInfo[playerid][pAge] = 15; PlayerInfo[playerid][pSHealth] = 50.0; /* PlayerInfo[playerid][pPos_x] = 2246.6; PlayerInfo[playerid][pPos_y] = -1161.9; PlayerInfo[playerid][pPos_z] = 1029.7; PlayerInfo[playerid][pInt] = 0; */ PlayerInfo[playerid][pLocal] = 255; if(PlayerInfo[playerid][pSex] == 1) { SetPlayerSkin(playerid, 289); } else { SetPlayerSkin(playerid, 150); } new randphone = 1000 + random(8999); PlayerInfo[playerid][pPnumber] = randphone; PlayerInfo[playerid][pPHousekey] = 500; PlayerInfo[playerid][pPbiskey] = 255; PlayerInfo[playerid][pCash] = 5000; PlayerInfo[playerid][pConta] = 100000; PlayerInfo[playerid][pReg] = 1; PlayerInfo[playerid][pEmprego] = 0; PlayerInfo[playerid][pKills] = 0; PlayerInfo[playerid][pDeaths] = 0; ResetPlayerMoney(playerid); } ResetPlayerMoney(playerid); GiveDinheiro(playerid,PlayerInfo[playerid][pCash]); SetPlayerWantedLevelEx(playerid, WantedPoints[playerid]); if(PlayerInfo[playerid][pWarns] == 1) //1 aviso { SendClientMessage(playerid, COLOR_LIGHTRED, "Sua Conta Ja tem 1 Aviso!"); SendClientMessage(playerid, COLOR_LIGHTRED, "Se Voce tiver 3 avisos sera banido automaticamente!"); } if(PlayerInfo[playerid][pWarns] == 2) //2 avisos { SendClientMessage(playerid, COLOR_LIGHTRED, "Sua Conta Ja tem 2 Avisos!"); SendClientMessage(playerid, COLOR_LIGHTRED, "Se Voce tiver mais de 3 avisos sera banido automaticamente!"); } PlayerPlaySound(playerid, 1191, 0.0, 0.0, 0.0); TextDrawShowForPlayer(playerid, TextDraw0); TextDrawShowForPlayer(playerid, TextDraw1); TextDrawShowForPlayer(playerid, TextDraw2); TextDrawShowForPlayer(playerid, TextDraw3); TextDrawShowForPlayer(playerid, TextDraw4); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); SendClientMessage(playerid, 0x00FF00FF, "{00FF00}[AVISO] {FFFFFF}Bem vindo ao servidor BRASIL POBRE RP ®"); new dia,mes,ano,hora,mins,seg; getdate(ano,mes,dia); gettime(hora,mins,seg); format(string, sizeof string, "{00FF00}[AVISO] {FFFFFF}A ultima vez que voce logou foi em: {00FF00} %s",PlayerInfo[playerid][pLaastLogin]); SendClientMessage(playerid, 0x00FF00FF, "{00FF00}[AVISO] {FFFFFF}Voce pode voltar a sua ultima posicao digitando ({00FF00}/cp{FFFFFF})!"); SendClientMessage(playerid, 0x00FF00FF, string); format(string, sizeof(string),"%02d/%02d/%d as %02d:%02d:%02d",dia,mes,ano,hora,mins,seg); strmid(PlayerInfo[playerid][pLaastLogin],string,0,strlen(string),255); SendClientMessage(playerid, 0xFFFFFFFF, "{00FF00}[AVISO] {FFFFFF}Caso voce queira pedir ajuda, pode usar tambem o Chat Noob ({FFFF00}/noob{FFFFFF})"); printf("%s logou no server.",PlayerName(playerid)); new openfile[30]; format(openfile, sizeof openfile, VEH_SAVE_FILE, PlayerName(playerid)); if (fexist(openfile)) { PlayerInfo[playerid][pTemCarro] = 1; print("setado ptemcarro1"); } else { PlayerInfo[playerid][pTemCarro] = 0; } DateProp(playerid); entrousv++; if(SysMsgLogin == 1) { format(gstring,sizeof(gstring),"{09C3FB}» {FFFFFF}%s[ID: %d]: entrou no servidor {09C3FB}", PlayerName(playerid), playerid); SendMessageToOthersAdmins(playerid, COLOR_WHITE, gstring); } //SendClientMessageToAll(0xA204C9FF, gstring); StopAudioStreamForPlayer(playerid); //format(string, sizeof(string),"00/00/0000"); //strmid(PlayerInfo[playerid][pLastVerification],string,0,strlen(string),255); new Info[3][10]; split(PlayerInfo[playerid][pLastVerification],Info,'/'); if(ano > strval(Info[2])) mes = 13; if(mes > strval(Info[1])) { if(mes == 13) mes = 1; format(string, sizeof string, " Jogador: %s [%d]Horas no Ultimo Mes.", NomePlayer(playerid), PlayerInfo[playerid][pMesOn]); CNFLogs("Atividade", string); format(string, sizeof(string),"%02d/%02d/%d",dia,mes,ano); strmid(PlayerInfo[playerid][pLastVerification],string,0,strlen(string),255); PlayerInfo[playerid][pMesOn] = PlayerInfo[playerid][pHorasOn]; PlayerInfo[playerid][pMinutosOn] = 0; PlayerInfo[playerid][pHorasOn] = 0; PlayerInfo[playerid][pDias5On] = 0; PlayerInfo[playerid][pDias15On] = 0; PlayerInfo[playerid][p15VOk] = false; PlayerInfo[playerid][p5VOk] = false; } format(string, sizeof(string),"%d%d%d",dia,mes,ano); format(string2, sizeof(string2),"%d%d%d",strval(Info[0]),strval(Info[1]),strval(Info[2])); if(strval(string) > strval(string2)+15000000 && PlayerInfo[playerid][p15VOk] == false) { PlayerInfo[playerid][pDias15On] = PlayerInfo[playerid][pHorasOn]; PlayerInfo[playerid][p15VOk] = true; } if(strval(string) > strval(string2)+5000000 && PlayerInfo[playerid][p5VOk] == false) { PlayerInfo[playerid][pDias5On] = PlayerInfo[playerid][pHorasOn]; PlayerInfo[playerid][p5VOk] = true; } LoadObjects(playerid); SpawnDebug(playerid); UltimoLoginOrg(playerid); new strcheck[50]; if(PlayerInfo[playerid][pAdminTemp] > 0) { format(strcheck, sizeof strcheck, Pasta_AdminsTemp, NomePlayer(playerid)); if(DOF2_FileExists(strcheck)) { PlayerInfo[playerid][pAdminTemp] = DOF2_GetInt(strcheck, "AdminTemp"); format(gstring, sizeof(gstring), "[CNF]: Voce logou como {33CCFF}Admin Temporario."); SendClientMessage(playerid, COLOR_WHITE,gstring); SetPlayerHealth(playerid,99999); admtrampando[playerid] = 0; cAdminHelperc[playerid] = 0; Ocupado[playerid] = 0; } else { SendClientMessage(playerid, COLOR_LIGHTRED, "[CNF]: Voce nao e mais um administrador Temporario do servidor"); PlayerInfo[playerid][pAdminTemp] = 0; } } DOF2_SetString(senhaa,"Key",PlayerInfo[playerid][pKey]); DOF2_SaveFile(); PlayerInfo[playerid][pAdmin] = 0; if(PlayerInfo[playerid][pHelper] > 0) { format(strcheck, sizeof strcheck, Pasta_Helpers, NomePlayer(playerid)); if(DOF2_FileExists(strcheck)) { format(gstring, sizeof(gstring), "[CNF]: Voce logou com nivel %d de Helper.",PlayerInfo[playerid][pHelper]); SendClientMessage(playerid, COLOR_LIGHTBLUE,gstring); helpertrampando[playerid] = 0; cHelperc[playerid] = 0; cAdminHelperc[playerid] = 0; } else { SendClientMessage(playerid, COLOR_LIGHTRED, "[CNF]: Voce nao e mais um helper do servidor"); PlayerInfo[playerid][pHelper] = 0; } } if(PlayerInfo[playerid][pMoneyAgendado] == 1) { format(string, sizeof(string), "[Anúncio Cash]:{FFFFFF} Voce recebeu {00FFFF}R$:%s{FFFFFF} dinheiro por uma venda anunciada.",ConvertMoney(PlayerInfo[playerid][pQMoneyAgendado])); SendClientMessage(playerid, 0x00AA00FF, string); GiveDinheiro(playerid, PlayerInfo[playerid][pQMoneyAgendado]); PlayerInfo[playerid][pMoneyAgendado] = 0; PlayerInfo[playerid][pQMoneyAgendado] = 0; } MedicBill[playerid] = 0; if(NaoPodeLogar[playerid] == 1) return ForceClassSelection(playerid); TogglePlayerSpectating(playerid, false); SpawnPlayer(playerid); ScoreLevel(playerid); if(PlayerInfo[playerid][pHelper] >= 1) { new HelperName[MAX_PLAYER_NAME]; GetPlayerName(playerid, HelperName, sizeof(HelperName)); format(gstring, sizeof(gstring), "~g~~h~~h~~h~Helper~n~~w~%s: ~b~~h~~h~ON", HelperName); for(new i; i< MAX_PLAYERS; i++) { GameTextForPlayer(i, gstring , 5000, 1); } } new strcheck2[40]; format(strcheck2, sizeof strcheck2, Pasta_Admins, NomePlayer(playerid)); if (PlayerInfo[playerid][pVIP] == 2 && !fexist(strcheck2)) { if (admtrampando[playerid] < 1 && PlayerInfo[playerid][pAdmin] != 1341 && PlayerInfo[playerid][pAdmin] != 1340 && PlayerInfo[playerid][pAdmin] != 1342) { new name[24], s[60]; GetPlayerName(playerid, name, 24); format(s, 60, "~b~||Super-VIP:~n~ ~w~%s ~g~On||", name); GameTextForAll(s, 5000, 1); } } else if(PlayerInfo[playerid][pVIP] == 3 && !fexist(strcheck2)) { new AdminName[MAX_PLAYER_NAME]; GetPlayerName(playerid, AdminName, sizeof(AdminName)); format(gstring, sizeof(gstring), "~p~||Socio Reliquia:~n~ ~w~%s ~g~On||", AdminName); foreach(Player, i) { GameTextForPlayer(i, gstring , 5000, 1); } } else if(PlayerInfo[playerid][pVIP] == 4 && !fexist(strcheck2)) { new AdminName[MAX_PLAYER_NAME]; GetPlayerName(playerid, AdminName, sizeof(AdminName)); format(gstring, sizeof(gstring), "~b~~h~~h~||Socio Platina:~n~ ~w~%s ~g~On||", AdminName); foreach(Player, i) { GameTextForPlayer(i, gstring , 5000, 1); } } if(PlayerInfo[playerid][pDiamante] == 1 && !fexist(strcheck2)) { new AdminName[MAX_PLAYER_NAME]; GetPlayerName(playerid, AdminName, sizeof(AdminName)); format(gstring, sizeof(gstring), "~b~~h~~h~||Membro Diamante:~n~ ~w~%s ~g~On||", AdminName); foreach(Player, i) { GameTextForPlayer(i, gstring , 8000, 3); } } if(PlayerInfo[playerid][pYoutuber] == 1) { MensagemFormatadaAll(0xDC143CFF, "| YOUTUBER | {FFFFFF}[%s] acaba de logar no servidor.",PlayerName(playerid)); if(PlayerInfo[playerid][pBonusYT] <= getdate()) { PlayerInfo[playerid][pCasher] += 500; SCM(playerid, COLOR_LIGHTBLUE, "[YT] Você ganhou 500 cash por ser mini-youtuber!"); PlayerInfo[playerid][pBonusYT] = getdate()+1; SCM(playerid, COLOR_LIGHTBLUE, "[YT] Entre novamente amanha, para receber novamente!"); } } if(PlayerInfo[playerid][pYoutuber] == 2) { //MensagemFormatadaAll(0xDC143CFF, "| YOUTUBER | {FFFFFF}[%s] acaba de logar no servidor.",PlayerName(playerid)); if(PlayerInfo[playerid][pBonusYT] <= getdate()) { PlayerInfo[playerid][pCasher] += 1000; SCM(playerid, COLOR_LIGHTBLUE, "[YT] Você ganhou 1000 cash por ser youtuber!"); PlayerInfo[playerid][pBonusYT] = getdate()+1; SCM(playerid, COLOR_LIGHTBLUE, "[YT] Entre novamente amanha, para receber novamente!"); } } SetTimerEx("LoginAgora", 8000, 0, "i", playerid); //========================= [ retirar vip ] ============================= getdate(year, month, day); new StrFile[128]; format(StrFile, sizeof(StrFile), Pasta_Contas, PlayerName(playerid)); if(PlayerInfo[playerid][pDiamante] >= 1) { if(getdate() >= PlayerInfo[playerid][pDiasD]+3) { new strsave1[64]; GetPlayerName(playerid, sendername, sizeof(sendername)); format(strsave1, sizeof strsave1, Pasta_Contas, sendername); DOF2_SetInt(strsave1, "DiasD", 0); DOF2_SetInt(strsave1, "MesD", 0); DOF2_SetInt(strsave1, "AnoD", 0); DOF2_SetInt(strsave1, "diasD", 0); PlayerInfo[playerid][pDiamante] = 0; DOF2_SaveFile(); SendClientMessage(playerid, COLOR_LIGHTRED, "[M.D] Seu Membro Diamante venceu. Renove para ter seus beneficios novamente!"); } } if(PlayerInfo[playerid][pVIP] >= 1) { if(getdate() >= PlayerInfo[playerid][pDiasvip]+3) { new strsave1[64]; GetPlayerName(playerid, sendername, sizeof(sendername)); format(strsave1, sizeof strsave1, Pasta_Contas, sendername); DOF2_SetInt(strsave1, "DiasVIP", 0); DOF2_SetInt(strsave1, "MesVIP", 0); DOF2_SetInt(strsave1, "AnoVIP", 0); DOF2_SetInt(strsave1, "diasvip", 0); PlayerInfo[playerid][pVIP] = 0; DOF2_SaveFile(); SendClientMessage(playerid, COLOR_LIGHTRED, "[VIP] Seu VIP venceu. Renove seu VIP para ter seu beneficios novamente!"); CheckBeneficios(playerid); } } new arquiveadmin[79]; format(arquiveadmin, 79, "AdminsAgendados/%s.ini", PlayerName(playerid)); if(fexist(arquiveadmin)) { new brazzstr[256]; format(brazzstr, 256, "{ff1493}[Admin Agendado] Você recebeu o cargo: {FFFFFF}%d [ff1493}de admin!, por: {FFFFFF}%s.",DOF2_GetInt(arquiveadmin, "Cargo"), DOF2_GetString(arquiveadmin, "NomeAdm")); SCM(playerid, COLOR_LIGHTBLUE, brazzstr); if(!TemVagaAdm()) return SCM(playerid, COLOR_LIGHTBLUE, "[NOTICIA] Infelizmente, não tem mais vagas de admin disponivel, fale com o Resp. Pela [_Administracao_]."); AddAdmin(NomePlayer(playerid), DOF2_GetInt(arquiveadmin, "Cargo")); SetVagaAdmin(NomePlayer(playerid), DOF2_GetInt(arquiveadmin, "Cargo")); format(brazzstr, 256, "{ff1493}[Admin Agendado] {FFFFFF}%s {ff1493}recebeu cargo: {FFFFFF}%d{ff1493} de admin, de um agendamento feito por: {FFFFFF}%s.", PlayerName(playerid), DOF2_GetInt(arquiveadmin, "Cargo"), DOF2_GetString(arquiveadmin, "NomeAdm")); ABroadCast(0xff1493ff, brazzstr, 1); DOF2_RemoveFile(arquiveadmin); } if (PlayerInfo[playerid][pVIP] == 1) { cVIPc[playerid] = 0; AtachVip(playerid); //showVIPplayer(playerid); } else if (PlayerInfo[playerid][pVIP] == 2) { cVIPc[playerid] = 0; AtachVip(playerid); //showVIPplayer(playerid); } else if (PlayerInfo[playerid][pVIP] == 3) { cVIPc[playerid] = 0; AtachVip(playerid); //showVIPplayer(playerid); } else if (PlayerInfo[playerid][pVIP] == 4) { cVIPc[playerid] = 0; AtachVip(playerid); //showVIPplayer(playerid); } if(PlayerInfo[playerid][pConta] >= 9999999999) { TantoOuros = 0; for(new i = 0; i < 10000; i++) { if(PlayerInfo[playerid][pConta] > 9999999991) { TantoOuros += 1; PlayerInfo[playerid][pConta] -= 100000; PlayerInfo[playerid][pOuros] += 1; } } format(gstring, sizeof(gstring), "Voce relogou com mais de 10kkk no banco e foi convertido o resto para %d ouros.", TantoOuros); SendClientMessage(playerid, COLOR_YELLOW, gstring); } if(GetPlayerMoney(playerid) >= 100000000) { TantoOuros = 0; for(new i = 0; i < 10000; i++) { if(GetPlayerMoney(playerid) > 99999999) { TantoOuros += 1; GiveDinheiro(playerid, -100000); PlayerInfo[playerid][pOuros] += 1; } } format(gstring, sizeof(gstring), "Voce relogou com mais de 99kk em maos e foi convertido o resto para %d ouros.", TantoOuros); SendClientMessage(playerid, COLOR_YELLOW, gstring); } if(PlayerInfo[playerid][pResetado]) { PlayerInfo[playerid][pTitulo] = 0; } printf("chegou aqui normal"); SetTimerEx("SetTudo", 5000, 0, "i", playerid); CheckInfoOrg(playerid); for(new brazz; brazz != sizeof(TelaLoginCNF2); brazz++) { TextDrawHideForPlayer(playerid, TelaLoginCNF2[brazz]); CancelSelectTextDraw(playerid); } PlayerTextDrawHide(playerid, TelaLoginCNF3[playerid][0]); static i_p[32]; GetPlayerIp(playerid, i_p, 32); new casharq[70]; format(casharq, 70, "CashAgendados/%s.ini", PlayerName(playerid)); if(fexist(casharq)) { SCMf(playerid, COLOR_LIGHTRED, "[Cash Agendado] Você tem um agendamento de cash de: %s resgate digitando /lojavip.", ConvertMoney(DOF2_GetInt(casharq, "Cash"))); } /* if(PedMorto[playerid] == 1) { SetPlayerPos(playerid, PlayerInfo[playerid][pPos_x], PlayerInfo[playerid][pPos_y], PlayerInfo[playerid][pPos_z]); SetPlayerInterior(playerid, PlayerInfo[playerid][pInterior]); } */ new arq2[60]; new nam3[MAX_PLAYER_NAME]; GetPlayerName(playerid, nam3, sizeof(nam3)); format(arq2, sizeof(arq2), "Carros Conce/%s.ini", nam3); if(fexist(arq2)) { PlayerInfo[playerid][pTemCarro] = 1; } SetTimerEx("AparecerDialogAdm", 1500, false, "i", playerid); ReceberLiderAgendado(playerid); TalkingLive[playerid] = 255; PlayerTextDrawShow(playerid, CNFTelaPlayer[playerid][0]); PlayerTextDrawShow(playerid, CNFTelaPlayer[playerid][1]); PlayerTextDrawShow(playerid, CNFTelaPlayer[playerid][2]); TextDrawShowForPlayer(playerid, CNF[0]); TextDrawShowForPlayer(playerid, CNF[1]); TextDrawShowForPlayer(playerid, CNF[2]); TextDrawShowForPlayer(playerid, CNF[3]); TextDrawShowForPlayer(playerid, CNF[4]); TextDrawShowForPlayer(playerid, CNF[5]); TimerPayDay[playerid] = SetTimerEx("PayDayTime", 1000, true, "i", playerid); //if(TempJaSetouFomeSede[playerid] == 0) //{ /*new Namee[MAX_PLAYER_NAME]; GetPlayerName(playerid, Namee, sizeof(Namee)); new contaa[50]; format(contaa, 50, "Contas/%s.ini", Namee); DOF2_SetInt(contaa, "Fome", 100); DOF2_SetInt(contaa, "Sede", 100); PlayerInfo[playerid][pFome] = 100; PlayerInfo[playerid][pSede] = 100; //TempJaSetouFomeSede[playerid] = 1; }*/ new ind = GetPlayerFamily(playerid); if(ind != 0){ new gstr[90]; format(gstr, 90, "Familias/Familia%d.ini", ind); if(!fexist(gstr)) { SCM(playerid, COLOR_LIGHTRED, "Familia: Sua familia venceu, e voce foi retirado automaticamente."); PlayerInfo[playerid][pFamiliaID] = 0; PlayerInfo[playerid][pFamiliaCargo] = 0; } } new bahstr[60]; format(bahstr,60, "DinheiroAgendados/%s.ini", PlayerName(playerid)); if(fexist(bahstr)) { new valorag = DOF2_GetInt(bahstr, "Dinheiro"); SCMf(playerid, COLOR_LIGHTRED, "[Dinheiro Agendado] O Admin %s lhe agendou a quantidade de %s em dinheiro, o valor foi para sua mao.", DOF2_GetString(bahstr, "AdminName"), ConvertMoney(valorag)); GivePlayerMoney(playerid, valorag); DOF2_RemoveFile(bahstr); } new bahstr2[60]; format(bahstr2,60, "ItensAgendados/%s.ini", PlayerName(playerid)); if(fexist(bahstr2)) { new valorag2 = DOF2_GetInt(bahstr2, "ItemID"); new qnt3 = DOF2_GetInt(bahstr2, "Qnt"); SCMf(playerid, COLOR_LIGHTRED, "[Item Agendado] O Admin %s lhe agendou a quantidade de %d do item: %s, ele foi para o inventario.", DOF2_GetString(bahstr2, "NameADM"),qnt3, NomeItemInventario(valorag2)); AddItem(playerid, valorag2, qnt3); DOF2_RemoveFile(bahstr2); } SetPlayerVirtualWorld(playerid, 1); SetTimerEx("VoltarWorld0", segundos(30), false, "i", playerid); AtualizarTxDFS(playerid); return true; } CallBack::VoltarWorld0(playerid) { SetPlayerVirtualWorld(playerid, 0); } CallBack::AtualizarTxDFS(playerid) { //new strb[128]; //format(strb, 128, "%d%", PlayerInfo[playerid][pSede]); //PlayerTextDrawSetString(playerid, CNFTelaPlayer[playerid][1], strb); //format(strb, 128, "%d%", PlayerInfo[playerid][pFome]); //PlayerTextDrawSetString(playerid, CNFTelaPlayer[playerid][2], strb); //SetTimerEx("TimerFome", 5000, true, "d", playerid); //SetTimerEx("TimerSede", 4000, true, "d", playerid); } /*CMD:saciar(playerid, params[]) { if(PlayerIn) }*/ /*CallBack::AtualizarFome(playerid) { if(PlayerInfo[playerid][pFomeSedeDesativado] == 1) return 1; PlayerInfo[playerid][pFome] -= 1; new strb[128]; format(strb, 128, "%d%", PlayerInfo[playerid][pFome]); PlayerTextDrawSetString(playerid, CNFTelaPlayer[playerid][2], strb); if(PlayerInfo[playerid][pFome] <= 3) { SCM(playerid, COLOR_LIGHTRED, "[FOME] Você está com muita fome, va comer algo, ou ira morrer!"); new Float:VidaAntiga; GetPlayerHealth(playerid, VidaAntiga); new Float:Vidaa = 3.0; new Float:VidaNova = VidaAntiga-Vidaa; SetPlayerHealth(playerid, VidaNova); //PlayerInfo[playerid][pFome] = 3; if(PlayerInfo[playerid][pFome] < 1) { PlayerInfo[playerid][pFome] = 1; } AtualizarTxDFS(playerid); } return 0; } CallBack::AtualizarSede(playerid) { if(PlayerInfo[playerid][pFomeSedeDesativado] == 1) return 1; PlayerInfo[playerid][pSede]--; new strb[128]; format(strb, 128, "%d%", PlayerInfo[playerid][pSede]); PlayerTextDrawSetString(playerid, CNFTelaPlayer[playerid][1], strb); if(PlayerInfo[playerid][pSede] < 3) { SCM(playerid, COLOR_LIGHTRED, "[FOME] Você está com muita sede, va beber algo, ou ira morrer!"); new Float:VidaAntiga; GetPlayerHealth(playerid, VidaAntiga); new Float:Vidaa = 3.0; new Float:VidaNova = VidaAntiga-Vidaa; SetPlayerHealth(playerid, VidaNova); if(PlayerInfo[playerid][pSede] < 1) { PlayerInfo[playerid][pSede] = 1; } //PlayerInfo[playerid][pSede] = 3; AtualizarTxDFS(playerid); } return 0; }*/ stock DevolverSkin(playerid) { if(!DevolveuSkin[playerid]) { SetPlayerSkin(playerid, PlayerInfo[playerid][pSkin]); DevolveuSkin[playerid] = true; } return true; } stock AddNomeFile(const fileip[], const nome_player[]) { DOF2_SetInt(fileip, nome_player, 1); DOF2_SaveFile(); } stock GetDiamanteInfo(playerid, const type[]) { new string[120]; format(string, sizeof(string), Pasta_Contas); if(!strcmp(type, "DiamanteVencimento", true)) { getdate(year, month, day); if(PlayerInfo[playerid][pDiasD]-getdate() > 0) format(string, sizeof string, "{F5DEB3}Membro Diamante - Vence em %d dias [%02d/%02d/%04d]", PlayerInfo[playerid][pDiasD]-getdate(), PlayerInfo[playerid][pDiaD],PlayerInfo[playerid][pMesD],PlayerInfo[playerid][pAnoD]); else format(string, sizeof string, "{FF6347}Vencido [%02d/%02d/%04d]",PlayerInfo[playerid][pDiaD],PlayerInfo[playerid][pMesD],PlayerInfo[playerid][pAnoD]); return string; } return string; } stock GetVIPInfo(playerid, const type[]) { new string[120]; format(string, sizeof(string), Pasta_Contas); string = "{FF6347}NADA CONSTA EM NOSSA BASE DE DADOS"; if(!strcmp(type, "VipTipo", true)) { switch(PlayerInfo[playerid][pVIP]) { case 1: string = "{F5DEB3}VIP"; case 2: string = "{F5DEB3}SUPER-VIP"; case 3: string = "{F5DEB3}SOCIO-RELIQUIA"; case 4: string = "{F5DEB3}SOCIO-PLATINA"; default: string = "{FF6347}NADA CONSTA EM NOSSA BASE DE DADOS"; } return string; } else if(!strcmp(type, "VipVencimento", true)) { getdate(year, month, day); if(PlayerInfo[playerid][pDiasvip]-getdate() > 0) format(string, sizeof string, "{F5DEB3}Vence em %d dias [%02d/%02d/%04d]", PlayerInfo[playerid][pDiasvip]-getdate(), PlayerInfo[playerid][pDiaVIP],PlayerInfo[playerid][pMesVIP],PlayerInfo[playerid][pAnoVIP]); else format(string, sizeof string, "{FF6347}Vencido [%02d/%02d/%04d]",PlayerInfo[playerid][pDiaVIP],PlayerInfo[playerid][pMesVIP],PlayerInfo[playerid][pAnoVIP]); return string; } else if(!strcmp(type, "VipCarros", true)) { new quant = 0; for(new i = 1; i < sizeof(CarInfo); i++){ if(!strcmp(NomePlayer(playerid),CarInfo[i][cOwner],true)) quant ++; } if(quant) format(string, sizeof string, "{F5DEB3}%d carros PREMIUM", quant); else format(string, sizeof string, "{FF6347}NADA CONSTA EM NOSSA BASE DE DADOS"); return string; } else if(!strcmp(type, "VipEmpresas", true)) { if(PlayerInfo[playerid][pPbiskey] < 255) format(string, sizeof string, "{F5DEB3}1 Empresa"); else format(string, sizeof string, "{FF6347}NADA CONSTA EM NOSSA BASE DE DADOS"); return string; } else if(!strcmp(type, "VipFazendas", true)) { if(PlayerInfo[playerid][pPFazkey] < 255) format(string, sizeof string, "{F5DEB3}1 Fazenda"); else format(string, sizeof string, "{FF6347}NADA CONSTA EM NOSSA BASE DE DADOS"); return string; } else if(!strcmp(type, "VipCasas", true)) { if(PlayerInfo[playerid][pPHousekey] < 500) format(string, sizeof string, "{F5DEB3}1 Casa"); else format(string, sizeof string, "{FF6347}NADA CONSTA EM NOSSA BASE DE DADOS"); return string; } if(GetPlayerOrg(playerid) > 0) { PlayerInfo[playerid][pEmprego] = 0; } return string; } stock AttachArmas(playerid){ if(PlayerInfo[playerid][pAcP] != 1) { return 1; } //===========================================[Armas Costas]========================================================== if(!IsPlayerInAnyVehicle(playerid)) { new Armas[MAX_PLAYERS],Balas[MAX_PLAYERS]; GetPlayerWeaponData(playerid, 5, Armas[playerid], Balas[playerid]); if(Armas[playerid] == 30 && Balas[playerid] >= 1)//Ak-47 { if(GetPlayerWeapon(playerid) == 30) RemovePlayerAttachedObject(playerid,SlotAKeFUZIL); else SetPlayerAttachedObject_Droid(playerid, SlotAKeFUZIL, 355, 1, -0.060921, -0.141673, 0.000000, 0.000000, 35.362735); } else if(Armas[playerid] == 31 && Balas[playerid] >= 1) //FUZIL { if(GetPlayerWeapon(playerid) == 31) RemovePlayerAttachedObject(playerid,SlotAKeFUZIL); else SetPlayerAttachedObject_Droid(playerid, SlotAKeFUZIL, 356, 1, -0.099681, -0.133408, 0.000000, 1.027592, 19.667785); } else { RemovePlayerAttachedObject(playerid,SlotAKeFUZIL); } GetPlayerWeaponData(playerid, 6, Armas[playerid], Balas[playerid]); if(Armas[playerid] == 34 && Balas[playerid] >= 1)//Sniper { if(GetPlayerWeapon(playerid) == 34) RemovePlayerAttachedObject(playerid,Slot_Sniper); else SetPlayerAttachedObject_Droid(playerid,Slot_Sniper,358,1,0.181999,-0.035000,-0.154000,-164.600021,158.300018,0.000000,1.000000,1.000000,1.000000); } else { RemovePlayerAttachedObject(playerid,Slot_Sniper); } GetPlayerWeaponData(playerid, 3, Armas[playerid], Balas[playerid]); if(Armas[playerid] == 25 && Balas[playerid] >= 1)//escopeta { if(GetPlayerWeapon(playerid) == 25) RemovePlayerAttachedObject(playerid,SlotEscopeta); else SetPlayerAttachedObject_Droid(playerid, SlotEscopeta, 349, 1, -0.109260, -0.059651, -0.066210, 186.310729, 42.375362, 6.716565); } else if(Armas[playerid] == 27 && Balas[playerid] >= 1) //escopeta de combate { if(GetPlayerWeapon(playerid) == 27) RemovePlayerAttachedObject(playerid,SlotEscopeta); else SetPlayerAttachedObject_Droid(playerid, SlotEscopeta, 351, 1, -0.181073, -0.056285, -0.081242, 181.269729, 39.399085, 12.246994); } else { RemovePlayerAttachedObject(playerid,SlotEscopeta); } GetPlayerWeaponData(playerid, 2, Armas[playerid], Balas[playerid]); if(Armas[playerid] == 24 && Balas[playerid] >= 1)//Desert { if(GetPlayerWeapon(playerid) == 24) RemovePlayerAttachedObject(playerid,SlotDesert); else SetPlayerAttachedObject_Droid(playerid,SlotDesert,348,8,-0.137000,-0.000000,0.125999,-98.499977,-0.100002,-1.700000,1.000000,1.000000,1.000000); } else if(Armas[playerid] == 22 && Balas[playerid] >= 1) //Pistol { if(GetPlayerWeapon(playerid) == 22) RemovePlayerAttachedObject(playerid,SlotDesert); else SetPlayerAttachedObject_Droid(playerid,SlotDesert,348,8,-0.137000,-0.000000,0.125999,-98.499977,-0.100002,-1.700000,1.000000,1.000000,1.000000); } else { RemovePlayerAttachedObject(playerid,SlotDesert); } GetPlayerWeaponData(playerid, 1, Armas[playerid], Balas[playerid]); if(Armas[playerid] == 4 && Balas[playerid] >= 1)//Faca { if(GetPlayerWeapon(playerid) == 4) RemovePlayerAttachedObject(playerid,SlotCacetete); else SetPlayerAttachedObject_Droid(playerid,SlotCacetete,335,7,0.000000,0.075999,-0.096999,-89.299957,94.000000,0.000000,1.000000,1.000000,1.000000); } else if(Armas[playerid] == 3 && Balas[playerid] >= 1) //cacetete { if(GetPlayerWeapon(playerid) == 3) RemovePlayerAttachedObject(playerid,SlotCacetete); else SetPlayerAttachedObject_Droid(playerid,SlotCacetete,334,7,0.000000,0.075999,-0.096999,-89.299957,94.000000,0.000000,1.000000,1.000000,1.000000); } else { RemovePlayerAttachedObject(playerid,SlotCacetete); } GetPlayerWeaponData(playerid, 9, Armas[playerid], Balas[playerid]); if(Armas[playerid] == 42 && Balas[playerid] >= 1)//Extintor { if(GetPlayerWeapon(playerid) == 42 || GetPlayerWeapon(playerid) == 46) RemovePlayerAttachedObject(playerid,SlotExt); else SetPlayerAttachedObject_Droid(playerid,SlotExt,366,1,0.449999,-0.151999,-0.149000,-15.899929,46.599990,-175.700042,1.000000,1.000000,1.000000); } else { RemovePlayerAttachedObject(playerid,SlotExt); } } //================================================================================================================ return 0; } forward ChamarEntrega(playerid); public ChamarEntrega(playerid) { TempoDeResposta[playerid] = SetTimerEx("PerdeuEntrega", 30000,false,"i",playerid); TemCorrida[playerid] = 1; PlayAudioStreamForPlayer(playerid, "https://www.fetchtube.com/Mp3Download.php/Did%20I%20Miss%20Request%20New%20%23Uber%20Ringtone%20%F0%9F%98%8E.mp3?filename=9d12b0d588b5f65d2b21191765d66ae6"); for(new t=0; t < 15; t++) { SendClientMessage(playerid, -1, ""); } SendClientMessage(playerid,COLOR_LIGHTBLUE, "[iFood] Nova entrega recebida, você possui 30s para aceitar"); PlayerTextDrawShow(playerid, texto_novaentrega[playerid]); PlayerTextDrawShow(playerid, playertextdraw_1[playerid]); PlayerTextDrawShow(playerid, playertextdraw_2[playerid]); PlayerTextDrawShow(playerid, playertextdraw_3[playerid]); return 1; } forward PerdeuEntrega(playerid); public PerdeuEntrega(playerid) { DisablePlayerCheckpoint(playerid); Entregando[playerid] = 0; TemCorrida[playerid] = 0; StopAudioStreamForPlayer(playerid); PlayerTextDrawHide(playerid,texto_novaentrega[playerid]); PlayerTextDrawHide(playerid,playertextdraw_1[playerid]); PlayerTextDrawHide(playerid,playertextdraw_2[playerid]); PlayerTextDrawHide(playerid,playertextdraw_3[playerid]); KillTimer(TempoDeResposta[playerid]); return 1; } stock randomEspecial(minimo,maximo) { new valor = random(maximo-minimo)+minimo; return valor; } forward SigaEntrega(playerid); public SigaEntrega(playerid) { new rand = random(sizeof(Entregas_ifood)); Retiroupedido[playerid] = 1; SetPlayerCheckpoint(playerid,Entregas_ifood[rand][0],Entregas_ifood[rand][1],Entregas_ifood[rand][2], 5); SendClientMessage(playerid, COLOR_LIGHTBLUE, "[iFood] Siga para a entrega"); TogglePlayerControllableEx(playerid, true); return 1; } forward FinalizandoEntrega(playerid); public FinalizandoEntrega(playerid) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "[iFood] Entrega realizada com sucesso"); GivePlayerMoney(playerid, randomEspecial(GANHO_MIN, GANHO_MAX)); Entregando[playerid] = 0; Retiroupedido[playerid] = 0; TemCorrida[playerid] = 0; AppLigado[playerid] = 1; TogglePlayerControllableEx(playerid, true); return 1; } public OnPlayerUpdate(playerid) { if(GetPlayerInterior(playerid) == 0) { GetPlayerPos(playerid, VarPlayerOldPos[playerid][0], VarPlayerOldPos[playerid][1], VarPlayerOldPos[playerid][2]); } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // //CheckRadar(playerid); if(GetPlayerDrunkLevel(playerid) < 100) { SetPlayerDrunkLevel(playerid, 2000); } else { if(pDrunkLevelLast[playerid] != GetPlayerDrunkLevel(playerid)) { new wfps = pDrunkLevelLast[playerid] - GetPlayerDrunkLevel(playerid); if((wfps > 0) && (wfps < 200)) SetPVarInt(playerid, "PVarFPS", wfps); pDrunkLevelLast[playerid] = GetPlayerDrunkLevel(playerid); } } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // if(PlayerBizzID[playerid] != -1) { new emp = PlayerBizzID[playerid]; if(GetPlayerVirtualWorld(playerid) != EMPRESA_WORLD + emp) { PlayerBizzID[playerid] = -1; } } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // if(AppLigado[playerid] == 1 && Entregando[playerid] != 1 && TemCorrida[playerid] == 0) { Entregando[playerid] = 1; new pseudorand = random(sizeof(Temporizador)); buscandocorridas[playerid] = SetTimerEx("ChamarEntrega", Temporizador[pseudorand][0], false,"i", playerid); } //CheckVip(playerid); switch(GetPlayerWeapon(playerid)) { case 44, 45: { new keys, ud, lr; GetPlayerKeys(playerid, keys, ud, lr); if((keys & KEY_YES))return 0; } case 38: { if(PlayerInfo[playerid][pAdmin] >= 1340) return 1; SendClientMessage(playerid, COLOR_LIGHTBLUE, "Você está usando uma arma bloqueada, e suas armas foram retiradas!"); ResetPlayerWeapons(playerid); } } if(PlayerInfo[playerid][pRadio] && PlayerInfo[playerid][pComRadio]) { SetPlayerArmedWeapon(playerid, 0); } //Tempo AFK TempoAFK[playerid] = gettime(); if(roubando[playerid] == 1) { ApplyAnimationEx(playerid, "BOMBER","BOM_Plant_In",4.0,0,0,0,0,0); SetPlayerAttachedObject_Droid(playerid, 4, 1550, 1, 0.024558, -0.279748, -0.060589, 6.105677, 137.291320, 147.132202, 1.019888, 1.000000, 1.000000 ); } if(GetPlayerCameraMode(playerid) == 53) { new Float:kLibPos[3]; GetPlayerCameraPos(playerid, kLibPos[0], kLibPos[1], kLibPos[2]); if ( kLibPos[2] < -50000.0 || kLibPos[2] > 50000.0 ) { BanEx(playerid, "WeaponCrasher"); return 0; } } if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER) { for(new i = 0; i < MAX_PREGOS; i++) { if(SpikeInfo[i][sCreated]) { if(IsPlayerInRangeOfPoint(playerid, 3.0, SpikeInfo[i][sX], SpikeInfo[i][sY], SpikeInfo[i][sZ])) { new panels, doors, luzes, tires; new carid = GetPlayerVehicleID(playerid); GetVehicleDamageStatus(carid, panels, doors, luzes, tires); tires = encode_tires(1, 1, 1, 1); UpdateVehicleDamageStatus(carid, panels, doors, luzes, tires); } } } } AttachArmas(playerid); return true; } encode_tires(tires1, tires2, tires3, tires4) { return tires1 | (tires2 << 1) | (tires3 << 2) | (tires4 << 3); } static stock SalvarSEmpresas() { new files[56]; for(new idx = 0; idx < sizeof(SBizzInfo); idx++) { format(files, sizeof files, Pasta_SEmpresas, idx); DOF2_SetInt(files, "TemDono", SBizzInfo[idx][sbOwned]); DOF2_SetString(files, "Dono", SBizzInfo[idx][sbOwner]); DOF2_SetInt(files, "Data", SBizzInfo[idx][sbDate]); DOF2_SetString(files, "Descricao", SBizzInfo[idx][sbMessage]); DOF2_SetString(files, "Extorcao", SBizzInfo[idx][sbExtortion]); DOF2_SetFloat(files, "EX", SBizzInfo[idx][sbEntranceX]); DOF2_SetFloat(files, "EY", SBizzInfo[idx][sbEntranceY]); DOF2_SetFloat(files, "EZ", SBizzInfo[idx][sbEntranceZ]); DOF2_SetInt(files, "Level", SBizzInfo[idx][sbLevelNeeded]); DOF2_SetInt(files, "Preco", SBizzInfo[idx][sbBuyPrice]); DOF2_SetInt(files, "CustoEntrada", SBizzInfo[idx][sbEntranceCost]); DOF2_SetInt(files, "Till", SBizzInfo[idx][sbTill]); DOF2_SetInt(files, "Locked", SBizzInfo[idx][sbLocked]); DOF2_SetInt(files, "Produtos", SBizzInfo[idx][sbProducts]); DOF2_SetInt(files, "MaxProdutos", SBizzInfo[idx][sbMaxProducts]); DOF2_SetInt(files, "PrecoProdutos", SBizzInfo[idx][sbPriceProd]); DOF2_SetInt(files, "ProdutosRequeridos", SBizzInfo[idx][sbProductsReq]); DOF2_SaveFile(); } } static stock SalvarSEmpresa(idx) { new files[56]; format(files, sizeof files, Pasta_SEmpresas, idx); if(DOF2_FileExists(files)) { DOF2_SetInt(files, "TemDono", SBizzInfo[idx][sbOwned]); DOF2_SetString(files, "Dono", SBizzInfo[idx][sbOwner]); DOF2_SetInt(files, "Data", SBizzInfo[idx][sbDate]); DOF2_SetString(files, "Descricao", SBizzInfo[idx][sbMessage]); DOF2_SetString(files, "Extorcao", SBizzInfo[idx][sbExtortion]); DOF2_SetFloat(files, "EX", SBizzInfo[idx][sbEntranceX]); DOF2_SetFloat(files, "EY", SBizzInfo[idx][sbEntranceY]); DOF2_SetFloat(files, "EZ", SBizzInfo[idx][sbEntranceZ]); DOF2_SetInt(files, "Level", SBizzInfo[idx][sbLevelNeeded]); DOF2_SetInt(files, "Preco", SBizzInfo[idx][sbBuyPrice]); DOF2_SetInt(files, "CustoEntrada", SBizzInfo[idx][sbEntranceCost]); DOF2_SetInt(files, "Till", SBizzInfo[idx][sbTill]); DOF2_SetInt(files, "Locked", SBizzInfo[idx][sbLocked]); DOF2_SetInt(files, "Produtos", SBizzInfo[idx][sbProducts]); DOF2_SetInt(files, "MaxProdutos", SBizzInfo[idx][sbMaxProducts]); DOF2_SetInt(files, "PrecoProdutos", SBizzInfo[idx][sbPriceProd]); DOF2_SetInt(files, "ProdutosRequeridos", SBizzInfo[idx][sbProductsReq]); DOF2_SaveFile(); } } static stock SalvarFEmpresas() { new files[56]; for(new idx = 0; idx < sizeof(FBizzInfo); idx++) { format(files, sizeof files, Pasta_FEmpresas, idx); DOF2_SetInt(files, "TemDono", FBizzInfo[idx][fbOwned]); DOF2_SetString(files, "Dono", FBizzInfo[idx][fbOwner]); DOF2_SetInt(files, "Data", FBizzInfo[idx][fbDate]); DOF2_SetString(files, "Descricao", FBizzInfo[idx][fbMessage]); DOF2_SetString(files, "Extorcao", FBizzInfo[idx][fbExtortion]); DOF2_SetFloat(files, "EX", FBizzInfo[idx][fbEntranceX]); DOF2_SetFloat(files, "EY", FBizzInfo[idx][fbEntranceY]); DOF2_SetFloat(files, "EZ", FBizzInfo[idx][fbEntranceZ]); DOF2_SetInt(files, "Level", FBizzInfo[idx][fbLevelNeeded]); DOF2_SetInt(files, "Preco", FBizzInfo[idx][fbBuyPrice]); DOF2_SetInt(files, "CustoEntrada", FBizzInfo[idx][fbEntranceCost]); DOF2_SetInt(files, "Till", FBizzInfo[idx][fbTill]); DOF2_SetInt(files, "Locked", FBizzInfo[idx][fbLocked]); DOF2_SetInt(files, "Produtos", FBizzInfo[idx][fbProducts]); DOF2_SetInt(files, "MaxProdutos", FBizzInfo[idx][fbMaxProducts]); DOF2_SetInt(files, "PrecoProdutos", FBizzInfo[idx][fbPriceProd]); DOF2_SetInt(files, "ProdutosRequeridos", FBizzInfo[idx][fbProductsReq]); DOF2_SetInt(files, "Veiculo1", FBizzInfo[idx][fVec1]); DOF2_SetInt(files, "1color1", FBizzInfo[idx][fV1col1]); DOF2_SetInt(files, "1color2", FBizzInfo[idx][fV1col2]); DOF2_SetFloat(files, "Carro1x", FBizzInfo[idx][fCarro1x]); DOF2_SetFloat(files, "Carro1y", FBizzInfo[idx][fCarro1y]); DOF2_SetFloat(files, "Carro1z", FBizzInfo[idx][fCarro1z]); DOF2_SetFloat(files, "Carro1a", FBizzInfo[idx][fCarro1a]); DOF2_SetInt(files, "Veiculo2", FBizzInfo[idx][fVec2]); DOF2_SetInt(files, "2color1", FBizzInfo[idx][fV2col1]); DOF2_SetInt(files, "2color2", FBizzInfo[idx][fV2col2]); DOF2_SetFloat(files, "Carro2x", FBizzInfo[idx][fCarro2x]); DOF2_SetFloat(files, "Carro2y", FBizzInfo[idx][fCarro2y]); DOF2_SetFloat(files, "Carro2z", FBizzInfo[idx][fCarro2z]); DOF2_SetFloat(files, "Carro2a", FBizzInfo[idx][fCarro2a]); DOF2_SaveFile(); } } stock CriarTelaLoginGeral() { TelaLoginCNF2[0] = TextDrawCreate(36.000000, -3.000000, "_"); TextDrawFont(TelaLoginCNF2[0], 1); TextDrawLetterSize(TelaLoginCNF2[0], 0.979166, 55.499996); TextDrawTextSize(TelaLoginCNF2[0], 288.500000, 282.500000); TextDrawSetOutline(TelaLoginCNF2[0], 1); TextDrawSetShadow(TelaLoginCNF2[0], 0); TextDrawAlignment(TelaLoginCNF2[0], 2); TextDrawColor(TelaLoginCNF2[0], -1); TextDrawBackgroundColor(TelaLoginCNF2[0], 255); TextDrawBoxColor(TelaLoginCNF2[0], 235); TextDrawUseBox(TelaLoginCNF2[0], 1); TextDrawSetProportional(TelaLoginCNF2[0], 1); TextDrawSetSelectable(TelaLoginCNF2[0], 0); TelaLoginCNF2[1] = TextDrawCreate(161.000000, 88.000000, "~b~BRASIL ~r~POBRE~w~"); TextDrawFont(TelaLoginCNF2[1], 3); TextDrawLetterSize(TelaLoginCNF2[1], 0.454166, 2.749999); TextDrawTextSize(TelaLoginCNF2[1], 400.000000, 17.000000); TextDrawSetOutline(TelaLoginCNF2[1], 1); TextDrawSetShadow(TelaLoginCNF2[1], 0); TextDrawAlignment(TelaLoginCNF2[1], 3); TextDrawColor(TelaLoginCNF2[1], -1); TextDrawBackgroundColor(TelaLoginCNF2[1], 255); TextDrawBoxColor(TelaLoginCNF2[1], 50); TextDrawUseBox(TelaLoginCNF2[1], 0); TextDrawSetProportional(TelaLoginCNF2[1], 1); TextDrawSetSelectable(TelaLoginCNF2[1], 0); TelaLoginCNF2[2] = TextDrawCreate(113.000000, 113.000000, "RP"); TextDrawFont(TelaLoginCNF2[2], 2); TextDrawLetterSize(TelaLoginCNF2[2], 0.225000, 1.499999); TextDrawTextSize(TelaLoginCNF2[2], 400.000000, 17.000000); TextDrawSetOutline(TelaLoginCNF2[2], 1); TextDrawSetShadow(TelaLoginCNF2[2], 0); TextDrawAlignment(TelaLoginCNF2[2], 1); TextDrawColor(TelaLoginCNF2[2], -1); TextDrawBackgroundColor(TelaLoginCNF2[2], 255); TextDrawBoxColor(TelaLoginCNF2[2], 50);//50 TextDrawUseBox(TelaLoginCNF2[2], 0); TextDrawSetProportional(TelaLoginCNF2[2], 1); TextDrawSetSelectable(TelaLoginCNF2[2], 0); TelaLoginCNF2[3] = TextDrawCreate(85.000000, 131.000000, "_"); TextDrawFont(TelaLoginCNF2[3], 1); TextDrawLetterSize(TelaLoginCNF2[3], 0.600000, -0.399999); TextDrawTextSize(TelaLoginCNF2[3], 298.500000, 162.500000); TextDrawSetOutline(TelaLoginCNF2[3], 1); TextDrawSetShadow(TelaLoginCNF2[3], 0); TextDrawAlignment(TelaLoginCNF2[3], 2); TextDrawColor(TelaLoginCNF2[3], -1); TextDrawBackgroundColor(TelaLoginCNF2[3], 255); TextDrawBoxColor(TelaLoginCNF2[3], -1); TextDrawUseBox(TelaLoginCNF2[3], 1); TextDrawSetProportional(TelaLoginCNF2[3], 1); TextDrawSetSelectable(TelaLoginCNF2[3], 0); TelaLoginCNF2[4] = TextDrawCreate(88.000000, 222.000000, "_"); TextDrawFont(TelaLoginCNF2[4], 1); TextDrawLetterSize(TelaLoginCNF2[4], 0.600000, 2.250001); TextDrawTextSize(TelaLoginCNF2[4], 318.500000, 145.500000); TextDrawSetOutline(TelaLoginCNF2[4], 1); TextDrawSetShadow(TelaLoginCNF2[4], 0); TextDrawAlignment(TelaLoginCNF2[4], 2); TextDrawColor(TelaLoginCNF2[4], -1); TextDrawBackgroundColor(TelaLoginCNF2[4], 255); TextDrawBoxColor(TelaLoginCNF2[4], -16777081); TextDrawUseBox(TelaLoginCNF2[4], 1); TextDrawSetProportional(TelaLoginCNF2[4], 1); TextDrawSetSelectable(TelaLoginCNF2[4], 0); TelaLoginCNF2[5] = TextDrawCreate(50.000000, 225.000000, "conectar"); TextDrawFont(TelaLoginCNF2[5], 2); TextDrawLetterSize(TelaLoginCNF2[5], 0.308333, 1.450000); TextDrawTextSize(TelaLoginCNF2[5], 131.000000, 17.000000); TextDrawSetOutline(TelaLoginCNF2[5], 1); TextDrawSetShadow(TelaLoginCNF2[5], 0); TextDrawAlignment(TelaLoginCNF2[5], 1); TextDrawColor(TelaLoginCNF2[5], -1); TextDrawBackgroundColor(TelaLoginCNF2[5], 255); TextDrawBoxColor(TelaLoginCNF2[5], 50); TextDrawUseBox(TelaLoginCNF2[5], 0x33CCFFFF);//0 TextDrawSetProportional(TelaLoginCNF2[5], 1); TextDrawSetSelectable(TelaLoginCNF2[5], 1); TelaLoginCNF2[6] = TextDrawCreate(88.000000, 259.000000, "_"); TextDrawFont(TelaLoginCNF2[6], 1); TextDrawLetterSize(TelaLoginCNF2[6], 0.600000, 2.250001); TextDrawTextSize(TelaLoginCNF2[6], 318.500000, 145.500000); TextDrawSetOutline(TelaLoginCNF2[6], 1); TextDrawSetShadow(TelaLoginCNF2[6], 0); TextDrawAlignment(TelaLoginCNF2[6], 2); TextDrawColor(TelaLoginCNF2[6], -1); TextDrawBackgroundColor(TelaLoginCNF2[6], 255); TextDrawBoxColor(TelaLoginCNF2[6], -16777081); TextDrawUseBox(TelaLoginCNF2[6], 1); TextDrawSetProportional(TelaLoginCNF2[6], 1); TextDrawSetSelectable(TelaLoginCNF2[6], 0); TelaLoginCNF2[7] = TextDrawCreate(50.000000, 262.000000, "novidades"); TextDrawFont(TelaLoginCNF2[7], 2); TextDrawLetterSize(TelaLoginCNF2[7], 0.308333, 1.450000); TextDrawTextSize(TelaLoginCNF2[7], 131.000000, 17.000000); TextDrawSetOutline(TelaLoginCNF2[7], 1); TextDrawSetShadow(TelaLoginCNF2[7], 0); TextDrawAlignment(TelaLoginCNF2[7], 1); TextDrawColor(TelaLoginCNF2[7], -1); TextDrawBackgroundColor(TelaLoginCNF2[7], 255); TextDrawBoxColor(TelaLoginCNF2[7], 50); TextDrawUseBox(TelaLoginCNF2[7], 0); TextDrawSetProportional(TelaLoginCNF2[7], 1); TextDrawSetSelectable(TelaLoginCNF2[7], 1); TelaLoginCNF2[8] = TextDrawCreate(88.000000, 296.000000, "_"); TextDrawFont(TelaLoginCNF2[8], 1); TextDrawLetterSize(TelaLoginCNF2[8], 0.600000, 2.250001); TextDrawTextSize(TelaLoginCNF2[8], 318.500000, 145.500000); TextDrawSetOutline(TelaLoginCNF2[8], 1); TextDrawSetShadow(TelaLoginCNF2[8], 0); TextDrawAlignment(TelaLoginCNF2[8], 2); TextDrawColor(TelaLoginCNF2[8], -1); TextDrawBackgroundColor(TelaLoginCNF2[8], 255); TextDrawBoxColor(TelaLoginCNF2[8], -16777081); TextDrawUseBox(TelaLoginCNF2[8], 1); TextDrawSetProportional(TelaLoginCNF2[8], 1); TextDrawSetSelectable(TelaLoginCNF2[8], 0); TelaLoginCNF2[9] = TextDrawCreate(55.000000, 300.000000, "creditos"); TextDrawFont(TelaLoginCNF2[9], 2); TextDrawLetterSize(TelaLoginCNF2[9], 0.308333, 1.450000); TextDrawTextSize(TelaLoginCNF2[9], 131.000000, 17.000000); TextDrawSetOutline(TelaLoginCNF2[9], 1); TextDrawSetShadow(TelaLoginCNF2[9], 0); TextDrawAlignment(TelaLoginCNF2[9], 1); TextDrawColor(TelaLoginCNF2[9], -1); TextDrawBackgroundColor(TelaLoginCNF2[9], 255); TextDrawBoxColor(TelaLoginCNF2[9], 50); TextDrawUseBox(TelaLoginCNF2[9], 0); TextDrawSetProportional(TelaLoginCNF2[9], 1); TextDrawSetSelectable(TelaLoginCNF2[9], 1); TelaLoginCNF2[10] = TextDrawCreate(88.000000, 334.000000, "_"); TextDrawFont(TelaLoginCNF2[10], 1); TextDrawLetterSize(TelaLoginCNF2[10], 0.600000, 2.250001); TextDrawTextSize(TelaLoginCNF2[10], 318.500000, 145.500000); TextDrawSetOutline(TelaLoginCNF2[10], 1); TextDrawSetShadow(TelaLoginCNF2[10], 0); TextDrawAlignment(TelaLoginCNF2[10], 2); TextDrawColor(TelaLoginCNF2[10], -1); TextDrawBackgroundColor(TelaLoginCNF2[10], 255); TextDrawBoxColor(TelaLoginCNF2[10], -16777081); TextDrawUseBox(TelaLoginCNF2[10], 1); TextDrawSetProportional(TelaLoginCNF2[10], 1); TextDrawSetSelectable(TelaLoginCNF2[10], 0); TelaLoginCNF2[11] = TextDrawCreate(68.000000, 337.000000, "sair"); TextDrawFont(TelaLoginCNF2[11], 2); TextDrawLetterSize(TelaLoginCNF2[11], 0.308333, 1.450000); TextDrawTextSize(TelaLoginCNF2[11], 99.500000, 17.000000); TextDrawSetOutline(TelaLoginCNF2[11], 1); TextDrawSetShadow(TelaLoginCNF2[11], 0); TextDrawAlignment(TelaLoginCNF2[11], 1); TextDrawColor(TelaLoginCNF2[11], -1); TextDrawBackgroundColor(TelaLoginCNF2[11], 255); TextDrawBoxColor(TelaLoginCNF2[11], 50); TextDrawUseBox(TelaLoginCNF2[11], 0); TextDrawSetProportional(TelaLoginCNF2[11], 1); TextDrawSetSelectable(TelaLoginCNF2[11], 1); TelaLoginCNF2[12] = TextDrawCreate(16.000000, 145.000000, "sua vida em segundo plano!!"); TextDrawFont(TelaLoginCNF2[12], 2); TextDrawLetterSize(TelaLoginCNF2[12], 0.225000, 1.499999); TextDrawTextSize(TelaLoginCNF2[12], 400.000000, 17.000000); TextDrawSetOutline(TelaLoginCNF2[12], 1); TextDrawSetShadow(TelaLoginCNF2[12], 0); TextDrawAlignment(TelaLoginCNF2[12], 1); TextDrawColor(TelaLoginCNF2[12], -1); TextDrawBackgroundColor(TelaLoginCNF2[12], 255); TextDrawBoxColor(TelaLoginCNF2[12], 50); TextDrawUseBox(TelaLoginCNF2[12], 0); TextDrawSetProportional(TelaLoginCNF2[12], 1); TextDrawSetSelectable(TelaLoginCNF2[12], 0); TelaLoginCNF2[13] = TextDrawCreate(14.000000, 179.000000, "Sua Conta:"); TextDrawFont(TelaLoginCNF2[13], 2); TextDrawLetterSize(TelaLoginCNF2[13], 0.225000, 1.499999); TextDrawTextSize(TelaLoginCNF2[13], 400.000000, 17.000000); TextDrawSetOutline(TelaLoginCNF2[13], 1); TextDrawSetShadow(TelaLoginCNF2[13], 1); TextDrawAlignment(TelaLoginCNF2[13], 1); TextDrawColor(TelaLoginCNF2[13], -1); TextDrawBackgroundColor(TelaLoginCNF2[13], 255); TextDrawBoxColor(TelaLoginCNF2[13], 50); TextDrawUseBox(TelaLoginCNF2[13], 0); TextDrawSetProportional(TelaLoginCNF2[13], 1); TextDrawSetSelectable(TelaLoginCNF2[13], 0); TelaLoginCNF2[14] = TextDrawCreate(21.000000, 407.000000, " "); TextDrawFont(TelaLoginCNF2[14], 2); TextDrawLetterSize(TelaLoginCNF2[14], 0.225000, 1.499999); TextDrawTextSize(TelaLoginCNF2[14], 400.000000, 17.000000); TextDrawSetOutline(TelaLoginCNF2[14], 1); TextDrawSetShadow(TelaLoginCNF2[14], 1); TextDrawAlignment(TelaLoginCNF2[14], 1); TextDrawColor(TelaLoginCNF2[14], -1); TextDrawBackgroundColor(TelaLoginCNF2[14], 255); TextDrawBoxColor(TelaLoginCNF2[14], 50); TextDrawUseBox(TelaLoginCNF2[14], 0); TextDrawSetProportional(TelaLoginCNF2[14], 1); TextDrawSetSelectable(TelaLoginCNF2[14], 0); TelaLoginCNF[0] = TextDrawCreate(417.000000, -141.000000, "_"); TextDrawFont(TelaLoginCNF[0], 1); TextDrawLetterSize(TelaLoginCNF[0], 0.600000, 74.900009); TextDrawTextSize(TelaLoginCNF[0], 298.500000, 1400.000000); TextDrawSetOutline(TelaLoginCNF[0], 1); TextDrawSetShadow(TelaLoginCNF[0], 0); TextDrawAlignment(TelaLoginCNF[0], 2); TextDrawColor(TelaLoginCNF[0], -1); TextDrawBackgroundColor(TelaLoginCNF[0], 255); TextDrawBoxColor(TelaLoginCNF[0], 255); TextDrawUseBox(TelaLoginCNF[0], 1); TextDrawSetProportional(TelaLoginCNF[0], 1); TextDrawSetSelectable(TelaLoginCNF[0], 0); TelaLoginCNF[1] = TextDrawCreate(179.000000, 135.000000, "");//Baixada TextDrawFont(TelaLoginCNF[1], 2); TextDrawLetterSize(TelaLoginCNF[1], 0.600000, 3.550000); TextDrawTextSize(TelaLoginCNF[1], 400.000000, 17.000000); TextDrawSetOutline(TelaLoginCNF[1], 1); TextDrawSetShadow(TelaLoginCNF[1], 0); TextDrawAlignment(TelaLoginCNF[1], 1); TextDrawColor(TelaLoginCNF[1], -1); TextDrawBackgroundColor(TelaLoginCNF[1], 255); TextDrawBoxColor(TelaLoginCNF[1], 50); TextDrawUseBox(TelaLoginCNF[1], 1); TextDrawSetProportional(TelaLoginCNF[1], 1); TextDrawSetSelectable(TelaLoginCNF[1], 0); TelaLoginCNF[2] = TextDrawCreate(272.000000, 134.000000, "");//City TextDrawFont(TelaLoginCNF[2], 2); TextDrawLetterSize(TelaLoginCNF[2], 0.600000, 3.849998); TextDrawTextSize(TelaLoginCNF[2], 400.000000, 17.000000); TextDrawSetOutline(TelaLoginCNF[2], 1); TextDrawSetShadow(TelaLoginCNF[2], 0); TextDrawAlignment(TelaLoginCNF[2], 1); TextDrawColor(TelaLoginCNF[2], -16776961); TextDrawBackgroundColor(TelaLoginCNF[2], 255); TextDrawBoxColor(TelaLoginCNF[2], 50); TextDrawUseBox(TelaLoginCNF[2], 1); TextDrawSetProportional(TelaLoginCNF[2], 1); TextDrawSetSelectable(TelaLoginCNF[2], 0); TelaLoginCNF[3] = TextDrawCreate(367.000000, 134.000000, " ");//esse tava um espaço no meio se der erro ou algo ja sei! TextDrawFont(TelaLoginCNF[3], 2); TextDrawLetterSize(TelaLoginCNF[3], 0.600000, 3.699998); TextDrawTextSize(TelaLoginCNF[3], 400.000000, 17.000000); TextDrawSetOutline(TelaLoginCNF[3], 1); TextDrawSetShadow(TelaLoginCNF[3], 0); TextDrawAlignment(TelaLoginCNF[3], 1); TextDrawColor(TelaLoginCNF[3], -1); TextDrawBackgroundColor(TelaLoginCNF[3], 255); TextDrawBoxColor(TelaLoginCNF[3], 50); TextDrawUseBox(TelaLoginCNF[3], 1); TextDrawSetProportional(TelaLoginCNF[3], 1); TextDrawSetSelectable(TelaLoginCNF[3], 0); TelaLoginCNF[4] = TextDrawCreate(409.000000, 408.000000, "");//Copyright BRASIL POBRE RoleRP020 - 2021 Por RickinhoZ e Nissin_Souza TextDrawFont(TelaLoginCNF[4], 0); TextDrawLetterSize(TelaLoginCNF[4], 0.208333, 1.250000); TextDrawTextSize(TelaLoginCNF[4], 468.500000, 859.500000); TextDrawSetOutline(TelaLoginCNF[4], 1); TextDrawSetShadow(TelaLoginCNF[4], 0); TextDrawAlignment(TelaLoginCNF[4], 3); TextDrawColor(TelaLoginCNF[4], -1); TextDrawBackgroundColor(TelaLoginCNF[4], 255); TextDrawBoxColor(TelaLoginCNF[4], 16711730); TextDrawUseBox(TelaLoginCNF[4], 0); TextDrawSetProportional(TelaLoginCNF[4], 1); TextDrawSetSelectable(TelaLoginCNF[4], 0); TelaLoginCNF[5] = TextDrawCreate(209.000000, 228.000000, "Iniciando....");//Servidor Iniciando.... TextDrawFont(TelaLoginCNF[5], 2); TextDrawLetterSize(TelaLoginCNF[5], 0.604166, 3.249998); TextDrawTextSize(TelaLoginCNF[5], 400.000000, 17.000000); TextDrawSetOutline(TelaLoginCNF[5], 1); TextDrawSetShadow(TelaLoginCNF[5], 0); TextDrawAlignment(TelaLoginCNF[5], 1); TextDrawColor(TelaLoginCNF[5], -1); TextDrawBackgroundColor(TelaLoginCNF[5], 255); TextDrawBoxColor(TelaLoginCNF[5], 50); TextDrawUseBox(TelaLoginCNF[5], 1); TextDrawSetProportional(TelaLoginCNF[5], 1); TextDrawSetSelectable(TelaLoginCNF[5], 0); TelaLoginCNF[6] = TextDrawCreate(284.000000, 257.000000, ""); TextDrawFont(TelaLoginCNF[6], 2); TextDrawLetterSize(TelaLoginCNF[6], 0.795833, 3.849999); TextDrawTextSize(TelaLoginCNF[6], 400.000000, 17.000000); TextDrawSetOutline(TelaLoginCNF[6], 1); TextDrawSetShadow(TelaLoginCNF[6], 0); TextDrawAlignment(TelaLoginCNF[6], 1); TextDrawColor(TelaLoginCNF[6], -16776961); TextDrawBackgroundColor(TelaLoginCNF[6], 255); TextDrawBoxColor(TelaLoginCNF[6], -16777166); TextDrawUseBox(TelaLoginCNF[6], 0); TextDrawSetProportional(TelaLoginCNF[6], 1); TextDrawSetSelectable(TelaLoginCNF[6], 0); TelaLoginCNF[7] = TextDrawCreate(426.000000, 165.000000, "");//RP TextDrawFont(TelaLoginCNF[7], 2); TextDrawLetterSize(TelaLoginCNF[7], 0.295833, 1.500000); TextDrawTextSize(TelaLoginCNF[7], 400.000000, 17.000000); TextDrawSetOutline(TelaLoginCNF[7], 1); TextDrawSetShadow(TelaLoginCNF[7], 0); TextDrawAlignment(TelaLoginCNF[7], 3); TextDrawColor(TelaLoginCNF[7], -1); TextDrawBackgroundColor(TelaLoginCNF[7], 255); TextDrawBoxColor(TelaLoginCNF[7], 50); TextDrawUseBox(TelaLoginCNF[7], 1); TextDrawSetProportional(TelaLoginCNF[7], 1); TextDrawSetSelectable(TelaLoginCNF[7], 0); } stock ShowTelaLogin(playerid) { TextDrawShowForPlayer(playerid, TelaLoginCNF2[0]); TextDrawShowForPlayer(playerid, TelaLoginCNF2[1]); TextDrawShowForPlayer(playerid, TelaLoginCNF2[2]); TextDrawShowForPlayer(playerid, TelaLoginCNF2[3]); TextDrawShowForPlayer(playerid, TelaLoginCNF2[4]); TextDrawShowForPlayer(playerid, TelaLoginCNF2[5]); TextDrawShowForPlayer(playerid, TelaLoginCNF2[6]); TextDrawShowForPlayer(playerid, TelaLoginCNF2[7]); TextDrawShowForPlayer(playerid, TelaLoginCNF2[8]); TextDrawShowForPlayer(playerid, TelaLoginCNF2[9]); TextDrawShowForPlayer(playerid, TelaLoginCNF2[10]); TextDrawShowForPlayer(playerid, TelaLoginCNF2[11]); TextDrawShowForPlayer(playerid, TelaLoginCNF2[12]); TextDrawShowForPlayer(playerid, TelaLoginCNF2[13]); TextDrawShowForPlayer(playerid, TelaLoginCNF2[14]); PlayerTextDrawShow(playerid, TelaLoginCNF3[playerid][0]); SelectTextDraw(playerid, 0x00FFFFFF); } stock destroyTelaLoginGeral() { TextDrawDestroy(TelaLoginCNF[0]); TextDrawDestroy(TelaLoginCNF[1]); TextDrawDestroy(TelaLoginCNF[2]); TextDrawDestroy(TelaLoginCNF[3]); TextDrawDestroy(TelaLoginCNF[4]); TextDrawDestroy(TelaLoginCNF[5]); TextDrawDestroy(TelaLoginCNF[6]); TextDrawDestroy(TelaLoginCNF[7]); TextDrawDestroy(TelaLoginCNF2[0]); TextDrawDestroy(TelaLoginCNF2[1]); TextDrawDestroy(TelaLoginCNF2[2]); TextDrawDestroy(TelaLoginCNF2[3]); TextDrawDestroy(TelaLoginCNF2[4]); TextDrawDestroy(TelaLoginCNF2[5]); TextDrawDestroy(TelaLoginCNF2[6]); TextDrawDestroy(TelaLoginCNF2[7]); TextDrawDestroy(TelaLoginCNF2[8]); TextDrawDestroy(TelaLoginCNF2[9]); TextDrawDestroy(TelaLoginCNF2[10]); TextDrawDestroy(TelaLoginCNF2[11]); TextDrawDestroy(TelaLoginCNF2[12]); TextDrawDestroy(TelaLoginCNF2[13]); TextDrawDestroy(TelaLoginCNF2[13]); TextDrawDestroy(TelaLoginCNF2[14]); } static stock SalvarFEmpresa(idx) { new files[56]; format(files, sizeof files, Pasta_FEmpresas, idx); if(DOF2_FileExists(files)) { DOF2_SetInt(files, "TemDono", FBizzInfo[idx][fbOwned]); DOF2_SetString(files, "Dono", FBizzInfo[idx][fbOwner]); DOF2_SetInt(files, "Data", FBizzInfo[idx][fbDate]); DOF2_SetString(files, "Descricao", FBizzInfo[idx][fbMessage]); DOF2_SetString(files, "Extorcao", FBizzInfo[idx][fbExtortion]); DOF2_SetFloat(files, "EX", FBizzInfo[idx][fbEntranceX]); DOF2_SetFloat(files, "EY", FBizzInfo[idx][fbEntranceY]); DOF2_SetFloat(files, "EZ", FBizzInfo[idx][fbEntranceZ]); DOF2_SetInt(files, "Level", FBizzInfo[idx][fbLevelNeeded]); DOF2_SetInt(files, "Preco", FBizzInfo[idx][fbBuyPrice]); DOF2_SetInt(files, "CustoEntrada", FBizzInfo[idx][fbEntranceCost]); DOF2_SetInt(files, "Till", FBizzInfo[idx][fbTill]); DOF2_SetInt(files, "Locked", FBizzInfo[idx][fbLocked]); DOF2_SetInt(files, "Produtos", FBizzInfo[idx][fbProducts]); DOF2_SetInt(files, "MaxProdutos", FBizzInfo[idx][fbMaxProducts]); DOF2_SetInt(files, "PrecoProdutos", FBizzInfo[idx][fbPriceProd]); DOF2_SetInt(files, "ProdutosRequeridos", FBizzInfo[idx][fbProductsReq]); DOF2_SetInt(files, "Veiculo1", FBizzInfo[idx][fVec1]); DOF2_SetInt(files, "1color1", FBizzInfo[idx][fV1col1]); DOF2_SetInt(files, "1color2", FBizzInfo[idx][fV1col2]); DOF2_SetFloat(files, "Carro1x", FBizzInfo[idx][fCarro1x]); DOF2_SetFloat(files, "Carro1y", FBizzInfo[idx][fCarro1y]); DOF2_SetFloat(files, "Carro1z", FBizzInfo[idx][fCarro1z]); DOF2_SetFloat(files, "Carro1a", FBizzInfo[idx][fCarro1a]); DOF2_SetInt(files, "Veiculo2", FBizzInfo[idx][fVec1]); DOF2_SetInt(files, "2color1", FBizzInfo[idx][fV1col1]); DOF2_SetInt(files, "2color2", FBizzInfo[idx][fV1col2]); DOF2_SetFloat(files, "Carro2x", FBizzInfo[idx][fCarro1x]); DOF2_SetFloat(files, "Carro2y", FBizzInfo[idx][fCarro1y]); DOF2_SetFloat(files, "Carro2z", FBizzInfo[idx][fCarro1z]); DOF2_SetFloat(files, "Carro2a", FBizzInfo[idx][fCarro1a]); DOF2_SaveFile(); } } static stock CarregarSEmpresas() { new files[56]; new idx = 0; //new gstring[256]; while (idx < sizeof(SBizzInfo)) { format(files, sizeof files, Pasta_SEmpresas, idx); if(DOF2_FileExists(files)) { SBizzInfo[idx][sbOwned] = DOF2_GetInt(files, "TemDono"); strmid(SBizzInfo[idx][sbOwner],DOF2_GetString(files, "Dono"),0,strlen(DOF2_GetString(files, "Dono")), 255); SBizzInfo[idx][sbDate] = DOF2_GetInt(files, "Data"); strmid(SBizzInfo[idx][sbMessage], DOF2_GetString(files, "Descricao"),0,strlen(DOF2_GetString(files, "Descricao")), 255); strmid(SBizzInfo[idx][sbExtortion],DOF2_GetString(files, "Extorcao"),0,strlen(DOF2_GetString(files, "Extorcao")), 255); SBizzInfo[idx][sbEntranceX] = DOF2_GetFloat(files, "EX"); SBizzInfo[idx][sbEntranceY] = DOF2_GetFloat(files, "EY"); SBizzInfo[idx][sbEntranceZ] = DOF2_GetFloat(files, "EZ"); SBizzInfo[idx][sbLevelNeeded] = DOF2_GetInt(files, "Level"); SBizzInfo[idx][sbBuyPrice] = DOF2_GetInt(files, "Preco"); SBizzInfo[idx][sbEntranceCost] = DOF2_GetInt(files, "CustoEntrada"); SBizzInfo[idx][sbTill] = DOF2_GetInt(files, "Till"); SBizzInfo[idx][sbLocked] = DOF2_GetInt(files, "Locked"); SBizzInfo[idx][sbProducts] = DOF2_GetInt(files, "Produtos"); SBizzInfo[idx][sbMaxProducts] = DOF2_GetInt(files, "MaxProdutos"); SBizzInfo[idx][sbPriceProd] = DOF2_GetInt(files, "PrecoProdutos"); SBizzInfo[idx][sbProductsReq] = DOF2_GetInt(files, "ProdutosRequeridos"); if(SBizzInfo[idx][sbOwned] == 0) { SBizzInfo[idx][sbPickup] = CreatePickup(19524, 23, SBizzInfo[idx][sbEntranceX], SBizzInfo[idx][sbEntranceY], SBizzInfo[idx][sbEntranceZ]); format(gstring, sizeof(gstring), TextMEmpresaVenda,SBizzInfo[idx][sbMessage],ConvertMoney(SBizzInfo[idx][sbBuyPrice]),SBizzInfo[idx][sbLevelNeeded]); SBizzLabel[idx] = Create3DTextLabel(gstring,0x00AAEEFF,SBizzInfo[idx][sbEntranceX], SBizzInfo[idx][sbEntranceY], SBizzInfo[idx][sbEntranceZ]+0.5,20.0,0); } if(SBizzInfo[idx][sbOwned] == 1) { SBizzInfo[idx][sbPickup] = CreatePickup(1581, 23, SBizzInfo[idx][sbEntranceX], SBizzInfo[idx][sbEntranceY], SBizzInfo[idx][sbEntranceZ]); format(gstring, sizeof(gstring), TextMEmpresa,SBizzInfo[idx][sbMessage],SBizzInfo[idx][sbOwner],SBizzInfo[idx][sbExtortion],SBizzInfo[idx][sbEntranceCost],SBizzInfo[idx][sbLevelNeeded],SBizzInfo[idx][sbPriceProd]); SBizzLabel[idx] = Create3DTextLabel(gstring,0x00AAEEFF,SBizzInfo[idx][sbEntranceX], SBizzInfo[idx][sbEntranceY], SBizzInfo[idx][sbEntranceZ]+0.5,20.0,0); } } idx++; } return idx; } static stock SalvarEmpresas() { new files[56]; for(new idx = 0; idx < sizeof(BizzInfo); idx ++) { format(files, sizeof files, Pasta_Empresas, idx); DOF2_SetInt(files, "TemDono", BizzInfo[idx][bOwned]); DOF2_SetString(files, "Dono", BizzInfo[idx][bOwner]); DOF2_SetInt(files, "Data", BizzInfo[idx][bDate]); DOF2_SetString(files, "Descricao", BizzInfo[idx][bMessage]); DOF2_SetString(files, "Extorcao", BizzInfo[idx][bExtortion]); DOF2_SetFloat(files, "EX", BizzInfo[idx][bEntranceX]); DOF2_SetFloat(files, "EY", BizzInfo[idx][bEntranceY]); DOF2_SetFloat(files, "EZ", BizzInfo[idx][bEntranceZ]); DOF2_SetFloat(files, "ExX", BizzInfo[idx][bExitX]); DOF2_SetFloat(files, "ExY", BizzInfo[idx][bExitY]); DOF2_SetFloat(files, "ExZ", BizzInfo[idx][bExitZ]); DOF2_SetInt(files, "Level", BizzInfo[idx][bLevelNeeded]); DOF2_SetInt(files, "Preco", BizzInfo[idx][bBuyPrice]); DOF2_SetInt(files, "CustoEntrada", BizzInfo[idx][bEntranceCost]); DOF2_SetInt(files, "Till", BizzInfo[idx][bTill]); DOF2_SetInt(files, "Locked", BizzInfo[idx][bLocked]); DOF2_SetInt(files, "Interior", BizzInfo[idx][bInterior]); DOF2_SetInt(files, "World", BizzInfo[idx][bWorld]); DOF2_SetInt(files, "Produtos", BizzInfo[idx][bProducts]); DOF2_SetInt(files, "MaxProdutos", BizzInfo[idx][bMaxProducts]); DOF2_SetInt(files, "PrecoProdutos", BizzInfo[idx][bPriceProd]); DOF2_SetInt(files, "ProdutosRequeridos", BizzInfo[idx][bProductsReq]); DOF2_SaveFile(); } } static stock SalvarEmpresa(idx) { new files[56]; format(files, sizeof files, Pasta_Empresas, idx); if(DOF2_FileExists(files)) { DOF2_SetInt(files, "TemDono", BizzInfo[idx][bOwned]); DOF2_SetString(files, "Dono", BizzInfo[idx][bOwner]); DOF2_SetInt(files, "Data", BizzInfo[idx][bDate]); DOF2_SetString(files, "Descricao", BizzInfo[idx][bMessage]); DOF2_SetString(files, "Extorcao", BizzInfo[idx][bExtortion]); DOF2_SetFloat(files, "EX", BizzInfo[idx][bEntranceX]); DOF2_SetFloat(files, "EY", BizzInfo[idx][bEntranceY]); DOF2_SetFloat(files, "EZ", BizzInfo[idx][bEntranceZ]); DOF2_SetFloat(files, "ExX", BizzInfo[idx][bExitX]); DOF2_SetFloat(files, "ExY", BizzInfo[idx][bExitY]); DOF2_SetFloat(files, "ExZ", BizzInfo[idx][bExitZ]); DOF2_SetInt(files, "Level", BizzInfo[idx][bLevelNeeded]); DOF2_SetInt(files, "Preco", BizzInfo[idx][bBuyPrice]); DOF2_SetInt(files, "CustoEntrada", BizzInfo[idx][bEntranceCost]); DOF2_SetInt(files, "Till", BizzInfo[idx][bTill]); DOF2_SetInt(files, "Locked", BizzInfo[idx][bLocked]); DOF2_SetInt(files, "Interior", BizzInfo[idx][bInterior]); DOF2_SetInt(files, "World", BizzInfo[idx][bWorld]); DOF2_SetInt(files, "Produtos", BizzInfo[idx][bProducts]); DOF2_SetInt(files, "MaxProdutos", BizzInfo[idx][bMaxProducts]); DOF2_SetInt(files, "PrecoProdutos", BizzInfo[idx][bPriceProd]); DOF2_SetInt(files, "ProdutosRequeridos", BizzInfo[idx][bProductsReq]); DOF2_SaveFile(); } return 0; } static stock CarregarEmpresas() { new files[56]; new idx = 0; //new gstring[256]; while (idx < sizeof(BizzInfo)) { format(files, sizeof files, Pasta_Empresas, idx); if(DOF2_FileExists(files)) { BizzInfo[idx][bOwned] = DOF2_GetInt(files, "TemDono"); strmid(BizzInfo[idx][bOwner],DOF2_GetString(files, "Dono"),0, strlen(DOF2_GetString(files, "Dono")), 255); BizzInfo[idx][bDate] = DOF2_GetInt(files, "Data"); strmid(BizzInfo[idx][bMessage], DOF2_GetString(files, "Descricao"),0, strlen(DOF2_GetString(files, "Descricao")), 255); strmid(BizzInfo[idx][bExtortion], DOF2_GetString(files, "Extorcao"),0, strlen(DOF2_GetString(files, "Extorcao")), 255); BizzInfo[idx][bEntranceX] = DOF2_GetFloat(files, "EX"); BizzInfo[idx][bEntranceY] = DOF2_GetFloat(files, "EY"); BizzInfo[idx][bEntranceZ] = DOF2_GetFloat(files, "EZ"); BizzInfo[idx][bExitX] = DOF2_GetFloat(files, "ExX"); BizzInfo[idx][bExitY] = DOF2_GetFloat(files, "ExY"); BizzInfo[idx][bExitZ] = DOF2_GetFloat(files, "ExZ"); BizzInfo[idx][bLevelNeeded] = DOF2_GetInt(files, "Level"); BizzInfo[idx][bBuyPrice] = DOF2_GetInt(files, "Preco"); BizzInfo[idx][bEntranceCost] = DOF2_GetInt(files, "CustoEntrada"); BizzInfo[idx][bTill] = DOF2_GetInt(files, "Till"); BizzInfo[idx][bLocked] = DOF2_GetInt(files, "Locked"); BizzInfo[idx][bInterior] =DOF2_GetInt(files, "Interior"); BizzInfo[idx][bWorld] =DOF2_GetInt(files, "World"); BizzInfo[idx][bProducts] = DOF2_GetInt(files, "Produtos"); BizzInfo[idx][bMaxProducts] = DOF2_GetInt(files, "MaxProdutos"); BizzInfo[idx][bPriceProd] = DOF2_GetInt(files, "PrecoProdutos"); BizzInfo[idx][bProductsReq] = DOF2_GetInt(files, "ProdutosRequeridos"); BizzInfo[idx][MapICON] = DOF2_GetInt(files, "MapIcon"); if(BizzInfo[idx][bOwned] == 0) { CreatePickup(19524, 23, BizzInfo[idx][bEntranceX], BizzInfo[idx][bEntranceY], BizzInfo[idx][bEntranceZ]); format(gstring, sizeof(gstring), TextEmpresaVenda,BizzInfo[idx][bMessage],ConvertMoney(BizzInfo[idx][bBuyPrice]),BizzInfo[idx][bLevelNeeded],BizzInfo[idx][bPriceProd],ConvertMoney(BizzInfo[idx][bTill])); BizzLabel[idx] = Create3DTextLabel(gstring,0x00AAEEFF,BizzInfo[idx][bEntranceX], BizzInfo[idx][bEntranceY], BizzInfo[idx][bEntranceZ]+0.5,20.0, 0); } if(BizzInfo[idx][bOwned] == 1) { format(gstring, sizeof(gstring), TextEmpresa,BizzInfo[idx][bMessage],BizzInfo[idx][bOwner],BizzInfo[idx][bExtortion],BizzInfo[idx][bEntranceCost],BizzInfo[idx][bLevelNeeded],BizzInfo[idx][bPriceProd], ConvertMoney(BizzInfo[idx][bTill])); BizzLabel[idx] = Create3DTextLabel(gstring,0x00AAEEFF,BizzInfo[idx][bEntranceX], BizzInfo[idx][bEntranceY], BizzInfo[idx][bEntranceZ]+0.5,20.0, 0); } } idx++; } if(BizzInfo[0][bOwned] == 1) { CreatePickup(353, 23, BizzInfo[0][bEntranceX], BizzInfo[0][bEntranceY], BizzInfo[0][bEntranceZ]); } if(BizzInfo[1][bOwned] == 1) { CreatePickup(353, 23, BizzInfo[1][bEntranceX], BizzInfo[1][bEntranceY], BizzInfo[1][bEntranceZ]); } if(BizzInfo[2][bOwned] == 1) { CreatePickup(1559, 23, BizzInfo[2][bEntranceX], BizzInfo[2][bEntranceY], BizzInfo[2][bEntranceZ]); } if(BizzInfo[3][bOwned] == 1) { CreatePickup(1559, 23, BizzInfo[3][bEntranceX], BizzInfo[3][bEntranceY], BizzInfo[3][bEntranceZ]); } if(BizzInfo[4][bOwned] == 1) { CreatePickup(1559, 23, BizzInfo[4][bEntranceX], BizzInfo[4][bEntranceY], BizzInfo[4][bEntranceZ]); } if(BizzInfo[5][bOwned] == 1) { CreatePickup(1559, 23, BizzInfo[5][bEntranceX], BizzInfo[5][bEntranceY], BizzInfo[5][bEntranceZ]); } if(BizzInfo[6][bOwned] == 1) { CreatePickup(1559, 23, BizzInfo[6][bEntranceX], BizzInfo[6][bEntranceY], BizzInfo[6][bEntranceZ]); } if(BizzInfo[7][bOwned] == 1) { CreatePickup(353, 23, BizzInfo[7][bEntranceX], BizzInfo[7][bEntranceY], BizzInfo[7][bEntranceZ]); } if(BizzInfo[8][bOwned] == 1) { CreatePickup(353, 23, BizzInfo[8][bEntranceX], BizzInfo[8][bEntranceY], BizzInfo[8][bEntranceZ]); } if(BizzInfo[9][bOwned] == 1) { CreatePickup(1559, 23, BizzInfo[9][bEntranceX], BizzInfo[9][bEntranceY], BizzInfo[9][bEntranceZ]); } if(BizzInfo[10][bOwned] == 1) { CreatePickup(1559, 23, BizzInfo[10][bEntranceX], BizzInfo[10][bEntranceY], BizzInfo[10][bEntranceZ]); } if(BizzInfo[11][bOwned] == 1) { CreatePickup(1559, 23, BizzInfo[11][bEntranceX], BizzInfo[11][bEntranceY], BizzInfo[11][bEntranceZ]); } return idx; } static stock CarregarFEmpresas() { new files[56]; new idx = 0; //new gstring[256]; while (idx < sizeof(FBizzInfo)) { format(files, sizeof files, Pasta_FEmpresas, idx); if(DOF2_FileExists(files)) { FBizzInfo[idx][fbOwned] = DOF2_GetInt(files, "TemDono"); strmid(FBizzInfo[idx][fbOwner],DOF2_GetString(files, "Dono"),0,strlen(DOF2_GetString(files, "Dono")), 255); FBizzInfo[idx][fbDate] = DOF2_GetInt(files, "Data"); strmid(FBizzInfo[idx][fbMessage], DOF2_GetString(files, "Descricao"),0,strlen(DOF2_GetString(files, "Descricao")), 255); strmid(FBizzInfo[idx][fbExtortion],DOF2_GetString(files, "Extorcao"),0,strlen(DOF2_GetString(files, "Extorcao")), 255); FBizzInfo[idx][fbEntranceX] = DOF2_GetFloat(files, "EX"); FBizzInfo[idx][fbEntranceY] = DOF2_GetFloat(files, "EY"); FBizzInfo[idx][fbEntranceZ] = DOF2_GetFloat(files, "EZ"); FBizzInfo[idx][fbLevelNeeded] = DOF2_GetInt(files, "Level"); FBizzInfo[idx][fbBuyPrice] = DOF2_GetInt(files, "Preco"); FBizzInfo[idx][fbEntranceCost] = DOF2_GetInt(files, "CustoEntrada"); FBizzInfo[idx][fbTill] = DOF2_GetInt(files, "Till"); FBizzInfo[idx][fbLocked] = DOF2_GetInt(files, "Locked"); FBizzInfo[idx][fbProducts] = DOF2_GetInt(files, "Produtos"); FBizzInfo[idx][fbMaxProducts] = DOF2_GetInt(files, "MaxProdutos"); FBizzInfo[idx][fbPriceProd] = DOF2_GetInt(files, "PrecoProdutos"); FBizzInfo[idx][fbProductsReq] = DOF2_GetInt(files, "ProdutosRequeridos"); FBizzInfo[idx][fVec1] = DOF2_GetInt(files, "Veiculo1"); FBizzInfo[idx][fV1col1] = DOF2_GetInt(files, "1color1"); FBizzInfo[idx][fV1col2] = DOF2_GetInt(files, "1color2"); FBizzInfo[idx][fCarro1x] = DOF2_GetFloat(files, "Carro1x"); FBizzInfo[idx][fCarro1y] = DOF2_GetFloat(files, "Carro1y"); FBizzInfo[idx][fCarro1z] = DOF2_GetFloat(files, "Carro1z"); FBizzInfo[idx][fCarro1a] = DOF2_GetFloat(files, "Carro1a"); FBizzInfo[idx][fVec2] = DOF2_GetInt(files, "Veiculo2"); FBizzInfo[idx][fV2col1] = DOF2_GetInt(files, "2color1"); FBizzInfo[idx][fV2col2] = DOF2_GetInt(files, "2color2"); FBizzInfo[idx][fCarro2x] = DOF2_GetFloat(files, "Carro2x"); FBizzInfo[idx][fCarro2y] = DOF2_GetFloat(files, "Carro2y"); FBizzInfo[idx][fCarro2z] = DOF2_GetFloat(files, "Carro2z"); FBizzInfo[idx][fCarro2a] = DOF2_GetFloat(files, "Carro2a"); FBizzInfo[idx][fIdCarro1] = AddStaticVehicleEx_Debug(FBizzInfo[idx][fVec1], FBizzInfo[idx][fCarro1x], FBizzInfo[idx][fCarro1y], FBizzInfo[idx][fCarro1z], FBizzInfo[idx][fCarro1a], FBizzInfo[idx][fV1col1], FBizzInfo[idx][fV1col2],-1); if(FBizzInfo[idx][fIdCarro1] != INVALID_VEHICLE_ID) { VTrancado[FBizzInfo[idx][fIdCarro1]] = 0; gCarLock[FBizzInfo[idx][fIdCarro1]] = 0; } FBizzInfo[idx][fIdCarro2] = AddStaticVehicleEx_Debug(FBizzInfo[idx][fVec2], FBizzInfo[idx][fCarro2x], FBizzInfo[idx][fCarro2y], FBizzInfo[idx][fCarro2z], FBizzInfo[idx][fCarro2a], FBizzInfo[idx][fV2col1], FBizzInfo[idx][fV2col2],-1); if(FBizzInfo[idx][fIdCarro2] != INVALID_VEHICLE_ID) { VTrancado[FBizzInfo[idx][fIdCarro2]] = 0; gCarLock[FBizzInfo[idx][fIdCarro2]] = 0; } if(FBizzInfo[idx][fbOwned] == 0) { AddStaticPickup(1579, 1, FBizzInfo[idx][fbEntranceX], FBizzInfo[idx][fbEntranceY], FBizzInfo[idx][fbEntranceZ]); format(gstring, sizeof(gstring), TextFEmpresaVenda,FBizzInfo[idx][fbMessage],ConvertMoney(FBizzInfo[idx][fbBuyPrice]),FBizzInfo[idx][fbLevelNeeded],(FBizzInfo[idx][fbMaxProducts]-FBizzInfo[idx][fbProducts]),FBizzInfo[idx][fbPriceProd]); FBizzLabel[idx] = Create3DTextLabel(gstring,0x00AAEEFF,FBizzInfo[idx][fbEntranceX], FBizzInfo[idx][fbEntranceY], FBizzInfo[idx][fbEntranceZ]+0.5,20.0,0); } if(FBizzInfo[idx][fbOwned] == 1) { AddStaticPickup(1580, 1, FBizzInfo[idx][fbEntranceX], FBizzInfo[idx][fbEntranceY], FBizzInfo[idx][fbEntranceZ]); format(gstring, sizeof(gstring), TextFEmpresaVenda,FBizzInfo[idx][fbMessage],FBizzInfo[idx][fbOwner],FBizzInfo[idx][fbExtortion],(FBizzInfo[idx][fbMaxProducts]-FBizzInfo[idx][fbProducts]),FBizzInfo[idx][fbPriceProd],ConvertMoney(FBizzInfo[idx][fbTill])); FBizzLabel[idx] = Create3DTextLabel(gstring,0x00AAEEFF,FBizzInfo[idx][fbEntranceX], FBizzInfo[idx][fbEntranceY], FBizzInfo[idx][fbEntranceZ]+0.5,20.0,0); } } idx++; } return idx; } static stock SaveCasa(idx) { new files[75]; format(files, sizeof files, Pasta_Casas, idx); if(DOF2_FileExists(files)) { DOF2_SetFloat(files, "hEntx", HouseInfo[idx][hEntrancex]); DOF2_SetFloat(files, "hEnty", HouseInfo[idx][hEntrancey]); DOF2_SetFloat(files, "hEntz", HouseInfo[idx][hEntrancez]); DOF2_SetFloat(files, "hExitx", HouseInfo[idx][hExitx]); DOF2_SetFloat(files, "hExity", HouseInfo[idx][hExity]); DOF2_SetFloat(files, "hExitz", HouseInfo[idx][hExitz]); DOF2_SetInt(files, "hHx", HouseInfo[idx][hHealthx]); DOF2_SetInt(files, "hHy", HouseInfo[idx][hHealthy]); DOF2_SetInt(files, "hHz", HouseInfo[idx][hHealthz]); DOF2_SetInt(files, "hAx", HouseInfo[idx][hArmorrx]); DOF2_SetInt(files, "hAy", HouseInfo[idx][hArmorry]); DOF2_SetInt(files, "hAz", HouseInfo[idx][hArmorrz]); DOF2_SetString(files, "Dono", HouseInfo[idx][hOwner]); DOF2_SetString(files, "Descricao", HouseInfo[idx][hDiscription]); DOF2_SetString(files, "VerData", HouseInfo[idx][hVerData]); DOF2_SetInt(files, "Valor", HouseInfo[idx][hValue]); DOF2_SetInt(files, "Hel", HouseInfo[idx][hHel]); DOF2_SetInt(files, "Arm", HouseInfo[idx][hArm]); DOF2_SetInt(files, "Interior", HouseInfo[idx][hInt]); DOF2_SetInt(files, "Lock", HouseInfo[idx][hLock]); DOF2_SetInt(files, "TemDono", HouseInfo[idx][hOwned]); DOF2_SetInt(files, "Rooms", HouseInfo[idx][hRooms]); DOF2_SetInt(files, "Rent", HouseInfo[idx][hRent]); DOF2_SetInt(files, "Rentabil", HouseInfo[idx][hRentabil]); DOF2_SetInt(files, "Takings", HouseInfo[idx][hTakings]); DOF2_SetInt(files, "color1", HouseInfo[idx][hVcol1]); DOF2_SetInt(files, "color2", HouseInfo[idx][hVcol2]); DOF2_SetInt(files, "Data", HouseInfo[idx][hDate]); DOF2_SetInt(files, "Nivel", HouseInfo[idx][hLevel]); DOF2_SetInt(files, "hImpostos", HouseInfo[idx][hImpostos]); DOF2_SetInt(files, "hPagarImpostos", HouseInfo[idx][hPagarImpostos]); DOF2_SetInt(files, "World", idx); DOF2_SaveFile(); } } public OnVehicleRespray(playerid, vehicleid, color1, color2) { GameTextForPlayer(playerid, "Veiculo modificado:~n~ ~g~R$~r~500", 5000, 1); empmoney(playerid, 19, 500); empmoney(playerid, 22, 500); VehicleInfo[vehicleid][vColor1] = color1; VehicleInfo[vehicleid][vColor2] = color2; PMC += 500; PDU += 500; CofreOrg[7][Dinheiro] += 500; return 1; } public OnEnterExitModShop(playerid, enterexit , interiorid) { if(enterexit == 0) { SendClientMessage(playerid, TEAM_BALLAS_COLOR, "Voce saiu do local de modificar carros!"); //SaveCarroComponents(GetPlayerVehicleID(playerid)); EmTunning[playerid] = 0; } else { SendClientMessage(playerid, TEAM_BALLAS_COLOR, "Voce entrou no local de modificar carros!"); EmTunning[playerid] = 1; } return 1; } public OnVehiclePaintjob(playerid, vehicleid, paintjobid) { VehicleInfo[vehicleid][vPaintjob] = paintjobid; GameTextForPlayer(playerid, "PaintJob modificado!", 5000, 1); empmoney(playerid, 19, 500); PME += 200; PDU += 200; CofreOrg[7][Dinheiro] += 200; return 1; } static stock SaveCasas() { new files[50]; for( new idx = 0 ; idx < sizeof( HouseInfo ); idx ++ ) { format(files, sizeof files, Pasta_Casas, idx); if(DOF2_FileExists(files)) { DOF2_SetFloat(files, "hEntx", HouseInfo[idx][hEntrancex]); DOF2_SetFloat(files, "hEnty", HouseInfo[idx][hEntrancey]); DOF2_SetFloat(files, "hEntz", HouseInfo[idx][hEntrancez]); DOF2_SetFloat(files, "hExitx", HouseInfo[idx][hExitx]); DOF2_SetFloat(files, "hExity", HouseInfo[idx][hExity]); DOF2_SetFloat(files, "hExitz", HouseInfo[idx][hExitz]); DOF2_SetInt(files, "hHx", HouseInfo[idx][hHealthx]); DOF2_SetInt(files, "hHy", HouseInfo[idx][hHealthy]); DOF2_SetInt(files, "hHz", HouseInfo[idx][hHealthz]); DOF2_SetInt(files, "hAx", HouseInfo[idx][hArmorrx]); DOF2_SetInt(files, "hAy", HouseInfo[idx][hArmorry]); DOF2_SetInt(files, "hAz", HouseInfo[idx][hArmorrz]); DOF2_SetString(files, "Dono", HouseInfo[idx][hOwner]); DOF2_SetString(files, "Descricao", HouseInfo[idx][hDiscription]); DOF2_SetInt(files, "Valor", HouseInfo[idx][hValue]); DOF2_SetInt(files, "Hel", HouseInfo[idx][hHel]); DOF2_SetInt(files, "Arm", HouseInfo[idx][hArm]); DOF2_SetInt(files, "Interior", HouseInfo[idx][hInt]); DOF2_SetInt(files, "Lock", HouseInfo[idx][hLock]); DOF2_SetInt(files, "TemDono", HouseInfo[idx][hOwned]); DOF2_SetInt(files, "Rooms", HouseInfo[idx][hRooms]); DOF2_SetInt(files, "Rent", HouseInfo[idx][hRent]); DOF2_SetInt(files, "Rentabil", HouseInfo[idx][hRentabil]); DOF2_SetInt(files, "Takings", HouseInfo[idx][hTakings]); DOF2_SetInt(files, "color1", HouseInfo[idx][hVcol1]); DOF2_SetInt(files, "color2", HouseInfo[idx][hVcol2]); DOF2_SetInt(files, "Data", HouseInfo[idx][hDate]); DOF2_SetInt(files, "Nivel", HouseInfo[idx][hLevel]); DOF2_SetInt(files, "hImpostos", HouseInfo[idx][hImpostos]); DOF2_SetInt(files, "hPagarImpostos", HouseInfo[idx][hPagarImpostos]); DOF2_SetInt(files, "World", idx); DOF2_SaveFile(); } } } static stock LoadCasas() { new files[50]; new idx = 0; //new gstring[256]; while (idx < sizeof(HouseInfo)) { HouseInfo[idx][Created] = false; format(files, sizeof files, Pasta_Casas, idx); if(DOF2_FileExists(files)) { HouseInfo[idx][Created] = true; HouseInfo[idx][hEntrancex] = DOF2_GetFloat(files, "hEntx"); HouseInfo[idx][hEntrancey] = DOF2_GetFloat(files, "hEnty"); HouseInfo[idx][hEntrancez] = DOF2_GetFloat(files, "hEntz"); HouseInfo[idx][hExitx] = DOF2_GetFloat(files, "hExitx"); HouseInfo[idx][hExity] = DOF2_GetFloat(files, "hExity"); HouseInfo[idx][hExitz] = DOF2_GetFloat(files, "hExitz"); HouseInfo[idx][hHealthx] = DOF2_GetInt(files, "hHx"); HouseInfo[idx][hHealthy] = DOF2_GetInt(files, "hHy"); HouseInfo[idx][hHealthz] = DOF2_GetInt(files, "hHz"); HouseInfo[idx][hArmorrx] = DOF2_GetInt(files, "hAx"); HouseInfo[idx][hArmorry] = DOF2_GetInt(files, "hAy"); HouseInfo[idx][hArmorrz] = DOF2_GetInt(files, "hAz"); strmid(HouseInfo[idx][hOwner],DOF2_GetString(files, "Dono"), 0 ,strlen(DOF2_GetString(files, "Dono")), 255); strmid(HouseInfo[idx][hVerData],DOF2_GetString(files, "VerData"), 0 ,strlen(DOF2_GetString(files, "VerData")), 255); strmid(HouseInfo[idx][hDiscription], DOF2_GetString(files, "Descricao"), 0 , strlen(DOF2_GetString(files, "Descricao")), 255); HouseInfo[idx][hValue] = DOF2_GetInt(files, "Valor"); HouseInfo[idx][hHel] = DOF2_GetInt(files, "Hel"); HouseInfo[idx][hArm] = DOF2_GetInt(files, "Arm"); HouseInfo[idx][hInt] = DOF2_GetInt(files, "Interior"); HouseInfo[idx][hLock] = DOF2_GetInt(files, "Lock"); HouseInfo[idx][hOwned] = DOF2_GetInt(files, "TemDono"); HouseInfo[idx][hRooms] = DOF2_GetInt(files, "Rooms"); HouseInfo[idx][hRent] = DOF2_GetInt(files, "Rent"); HouseInfo[idx][hRentabil] = DOF2_GetInt(files, "Rentabil"); HouseInfo[idx][hTakings] = DOF2_GetInt(files, "Takings"); HouseInfo[idx][hVcol1] = DOF2_GetInt(files, "color1"); HouseInfo[idx][hVcol2] = DOF2_GetInt(files, "color2"); HouseInfo[idx][hDate] = DOF2_GetInt(files, "Data"); HouseInfo[idx][hLevel] = DOF2_GetInt(files, "Nivel"); HouseInfo[idx][hImpostos] = DOF2_GetInt(files, "hImpostos"); HouseInfo[idx][hPagarImpostos] = DOF2_GetInt(files, "hPagarImpostos"); HouseInfo[idx][hWorld] = idx; if(HouseInfo[idx][hOwned] == 0) { HousePickup[idx] = CreateDynamicPickup(1273, 23, HouseInfo[idx][hEntrancex], HouseInfo[idx][hEntrancey], HouseInfo[idx][hEntrancez],-1,-1,-1,15.0); pickups++; format(gstring, sizeof(gstring), TextCasaVenda,HouseInfo[idx][hDiscription],HouseInfo[idx][hValue],HouseInfo[idx][hLevel]); HouseLabel[idx] = Create3DTextLabel(gstring,0x00AAEEFF,HouseInfo[idx][hEntrancex], HouseInfo[idx][hEntrancey], HouseInfo[idx][hEntrancez]+0.5,13.0, 0); } if(HouseInfo[idx][hOwned] == 1) { HousePickup[idx] = CreateDynamicPickup(19522, 23, HouseInfo[idx][hEntrancex], HouseInfo[idx][hEntrancey], HouseInfo[idx][hEntrancez],-1,-1,-1,15.0); pickups++; if(HouseInfo[idx][hRentabil] == 0) { format(gstring, sizeof(gstring), TextCasa,HouseInfo[idx][hOwner],HouseInfo[idx][hLevel]); HouseLabel[idx] = Create3DTextLabel(gstring,0x00AAEEFF,HouseInfo[idx][hEntrancex], HouseInfo[idx][hEntrancey], HouseInfo[idx][hEntrancez]+0.5,13.0, 0); } else { format(gstring, sizeof(gstring), TextCasaAl,HouseInfo[idx][hOwner],HouseInfo[idx][hRent],HouseInfo[idx][hLevel]); HouseLabel[idx] = Create3DTextLabel(gstring,0x00AAEEFF,HouseInfo[idx][hEntrancex], HouseInfo[idx][hEntrancey], HouseInfo[idx][hEntrancez]+0.5,13.0, 0); } } carregarMoveis(idx); } idx++; } return idx; } static stock PlayerName(playerid) { new Name[MAX_PLAYER_NAME]; GetPlayerName(playerid, Name, sizeof Name); return Name; } static stock NomePlayer(playerid) { new Name[MAX_PLAYER_NAME]; GetPlayerName(playerid, Name, sizeof Name); return Name; } static stock ReturnPlayer(playerid) { new Name[MAX_PLAYER_NAME]; GetPlayerName(playerid, Name, sizeof Name); return Name; } CallBack::BroadCast(COLOR,const striing[]) { SendClientMessageToAll(COLOR, striing); return true; } static stock ABroadCast(COLOR,const striing[],level) { foreach(Player, i) { if (PlayerInfo[i][pAdmin] >= level || PlayerInfo[i][pAdminTemp] >= level) { SendClientMessage(i, COLOR, striing); } } #if defined DISCORD DCC_SendChannelMessage(Chat_admin, striing); #endif printf("%s", striing); return true; } CallBack::CopBroadCast(COLOR,const striing[]) { foreach(Player, i) { if (IsACop(i)) { SendClientMessage(i, COLOR, striing); } } return true; } CallBack::ChatHelperAdmin(COLOR,const striing[]) { foreach(Player, i) { if(PlayerInfo[i][pHelper] >= 1 || PlayerInfo[i][pAdmin] >= 1 || PlayerInfo[i][pAdminTemp] >= 1 && cAdminHelperc[i] == 0) { SendClientMessage(i, COLOR, striing); } } printf("%s", striing); return 1; } CallBack::HelperBroadCast(COLOR,const striing[],level) { foreach(Player, i) { if (PlayerInfo[i][pHelper] >= level) { SendClientMessage(i, COLOR, striing); } } printf("%s", striing); return true; } CallBack::EmpregoMensagem(COLOR,const striing[],emprego) { foreach(Player, i) { if (PlayerInfo[i][pEmprego] == emprego) { SendClientMessage(i, COLOR, striing); } } printf("%s", striing); return true; } CallBack::HelperBroadCast2(COLOR,const striing[],level) { foreach(Player, i) { if (PlayerInfo[i][pHelper] >= level && helpertrampando[i] == 1) { SendClientMessage(i, COLOR, striing); } } printf("%s", striing); return true; } CallBack::OOCLosSantos(COLOR,const striing[]) { foreach(Player, i) { if(IsPlayerInLosSantos(i)) { SendClientMessage(i, COLOR, striing); } } } CallBack::OOCLasVenturas(COLOR,const striing[]) { foreach(Player, i) { if(IsPlayerInLasVenturas(i)) { SendClientMessage(i, COLOR, striing); } } } CallBack::OOCSanFierro(COLOR,const striing[]) { foreach(Player, i) { if(IsPlayerInLasVenturas(i) || IsPlayerInLosSantos(i)) { return true; } else { SendClientMessage(i, COLOR, striing); } } return true; } CallBack::SendEmpregoMessage(Emprego, COLOR, striing[]) { foreach(Player, i) { if(PlayerInfo[i][pEmprego] == Emprego) { SendClientMessage(i, COLOR, striing); } } } CallBack::SendFamilyMessage(family, COLOR, striing[]) { if(family > 0) { foreach(Player, i) { if(PlayerInfo[i][pMembro] == family || PlayerInfo[i][pLider] == family) { SendClientMessage(i, COLOR, striing); } } } } CallBack::SendFamilyMessageGT(family, string[]) { foreach(Player, i) { if(IsPlayerConnected(i)) { if(PlayerInfo[i][pMembro] == family || PlayerInfo[i][pLider] == family) { GameTextForPlayer(i, string, 5000, 1); } } } } CallBack::PlayerPlayMusic(playerid) { if(IsPlayerConnected(playerid)) { SetTimer("StopMusic", 5000, 0); PlayerPlaySound(playerid, 1068, 0.0, 0.0, 0.0); } } CallBack::StopMusic() { foreach(Player, i) { PlayerPlaySound(i, 1069, 0.0, 0.0, 0.0); } } stock GetPlayerInVehicle(vehicleid, seat = 0) { for (new i = 0; i < MAX_PLAYERS; i++) { if (!IsPlayerConnected(i)) { continue; } if (GetPlayerVehicleID(i) == vehicleid && GetPlayerVehicleSeat(i) == seat) { return i; } } return INVALID_PLAYER_ID; } CallBack::ProxCarSound(vehicleid) { new Float:x,Float:y,Float:z; GetVehiclePos(vehicleid, x, y, z); if(VehicleInfo[vehicleid][carRadioOn] == 0) { return 0; } else { foreach(Player, i) { if(IsPlayerInRangeOfPoint(i, 50.0, x, y, z)) { if(Tocando[i] != 1) { StopAudioStreamForPlayer(i); PlayAudioStreamForPlayer(i, VehicleInfo[vehicleid][CRURL], x, y, z, 50.0, 1); Tocando[i] = 1; return SetTimerEx("ProxCarSound", 10000, 0, "d", vehicleid); } } } } return SetTimerEx("ProxCarSound", 10000, 0, "d", vehicleid); } stock StartMusicInVehicle(vehicle, const url[]) { new mot, lu, alar, por, cap, porma, ob; if(VehicleInfo[vehicle][carRadioOn] == 0) { GetVehicleParamsEx(vehicle, mot, lu, alar, por, cap, porma, ob); if(mot == VEHICLE_PARAMS_OFF) { foreach(Player, i) { new Float:x,Float:y,Float:z; GetVehiclePos(vehicle, x, y, z); if(IsPlayerInRangeOfPoint(i, 50.0, x, y, z)) { StopAudioStreamForPlayer(i); PlayAudioStreamForPlayer(i, url, x, y, z, 50.0, 1); strmid(VehicleInfo[vehicle][CRURL], url, 0, strlen(url), 128); Tocando[i] = 1; } } SetTimerEx("ProxCarSound", 10000, 0, "ds[128]", vehicle,url); VehicleInfo[vehicle][carRadioOn] = 1; return 1; } else { SendClientMessage(GetPlayerInVehicle(vehicle, 0), COLOR_GREY, " O Carro Precisa estar Desligado."); return true; } } if(VehicleInfo[vehicle][carRadioOn] == 1) { SendClientMessage(GetPlayerInVehicle(vehicle, 0), COLOR_GREY, "Som do Veiculo Ja Ligado use /desligarsom."); return true; } return 1; } CallBack::PlayerFixRadio(playerid) { if(IsPlayerConnected(playerid)) { SetTimer("PlayerFixRadio2", 1000, 0); PlayerPlaySound(playerid, 1068, 0.0, 0.0, 0.0); Fixr[playerid] = 1; } } CallBack::PlayerFixRadio2() { foreach(Player, i) { if(Fixr[i]) { PlayerPlaySound(i, 1069, 0.0, 0.0, 0.0); Fixr[i] = 0; } } } new playerdinheiro; new moneys; CMD:logar(playerid, params[]) { if(gPlayerLogged[playerid] == 1) { SendClientMessage(playerid, 0xff6347FF, "* Voce nao esta conectado."); return true; } new string[450]; GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, 74, Pasta_Contas, sendername); if(!DOF2_FileExists(string)) { SendClientMessage(playerid, COLOR_YELLOW, "O Nick que voce esta usando nao existe no servidor, Use o /registrar."); return true; } new senhaa[128]; if(sscanf(params, "s[128]", senhaa)) { SendClientMessage(playerid, COLOR_GRAD1, "USE: /logar [senha]"); format(string, sizeof string,"\n{7CFC00}» {FFFFFF}Ola %s Seja bem vindo ao servidor BRASIL POBRE RP\n\n\ {7CFC00}» {FFFFFF}Sua conta: {7CFC00}%s {FFFFFF}esta {00FFFF}REGISTRADA\n\ {7CFC00}» {FFFFFF}Digite sua senha para efetuar o LOGIN\n\n\ {FFFF00} {FFFFFF}OBS: NÃO PASSE SUA SENHA!\n\n", PlayerName(playerid)); ShowPlayerDialog(playerid, 1, DIALOG_STYLE_PASSWORD, "Fazendo Login", string, "Cadastrar", "Sair"); return 1; } Encrypt(senhaa); OnPlayerLogin(playerid, senhaa, 1); return true; } CMD:registrar(playerid, params[]) { if(gPlayerLogged[playerid] == 1) { SendClientMessage(playerid, 0xff6347FF, "* Voce nao esta conectado."); return true; } new string[450]; GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, 74, Pasta_Contas, sendername); if (DOF2_FileExists(string)) { SendClientMessage(playerid, COLOR_YELLOW, "O Nick que voce esta usando ja existe, Use /logar."); return true; } if(!strlen(params)) { SendClientMessage(playerid, COLOR_YELLOW, "Digite sua senha!"); format(string, sizeof string,"\n{7CFC00}» {FFFFFF}Ola %s Seja bem vindo ao servidor BRASIL POBRE RP\n\n\ {7CFC00}» {FFFFFF}Sua conta: {7CFC00}%s {FFFFFF}esta {00FFFF}NÃO REGISTRADA\n\ {7CFC00}» {FFFFFF}Digite sua senha para efetuar o REGISTRO\n\n\ {FFFF00} {FFFFFF}OBS: Somente Numeros!\n\n", PlayerName(playerid)); ShowPlayerDialog(playerid, 2, DIALOG_STYLE_PASSWORD, "Fazendo Login", string, "Cadastrar", "Sair"); return 1; } new senhaa[200]; if(sscanf(params, "s[200]", senhaa)) return SendClientMessage(playerid, COLOR_GRAD1, "USE: /registrar [senha]."); Encrypt(senhaa); OnPlayerRegister(playerid, senhaa); return true; } CMD:demitir(playerid, params[]) { new para1, result[100]; if(sscanf(params, "us[100]", para1, result)) { SendClientMessage(playerid, COLOR_GRAD2, "/Demitir [ID/NICK] [Motivo]"); return 1; } if (PlayerInfo[playerid][pLider] >= 1 || PlayerInfo[playerid][pCargo] >= 5) { if(GetPlayerOrg(para1) != GetPlayerOrg(playerid)) { SendClientMessage(playerid, COLOR_GREY, "Voce nao pode demitir quem nao e da sua org."); return 1; } if(PlayerInfo[para1][pLider] > 0) { SendClientMessage(playerid, COLOR_GREY, "Voce nao pode demitir Lideres!"); return 1; } if(IsPlayerConnected(para1)) { if (GetPlayerOrg(para1) > 0) { new string[128]; GetPlayerName(para1, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); DemitirInfoOrg(PlayerName(para1)); format(string, sizeof(string), "* Voce foi demitido pelo lider %s Motivo: %s.", sendername, (result)); SendClientMessage(para1, COLOR_LIGHTBLUE, string); SendClientMessage(para1, COLOR_LIGHTBLUE, "* Agora voce e um civil novamente."); PlayerInfo[para1][pMembro] = 0; PlayerInfo[para1][pCargo] = 0; ConnectedToPC[para1] = 0; RemoveallRoadandSpikes(para1); SetPlayerToTeamColor(para1); if(PlayerInfo[playerid][pSkinFixa] == 0) { if(PlayerInfo[para1][pSex] == 1)PlayerInfo[para1][pSkin] = 289; else PlayerInfo[para1][pSkin] = 150; } MedicBill[para1] = 0; SpawnPlayer(para1); format(string, sizeof(string), "Voce demitiu %s, Motivo: %s.", giveplayer, result); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); return 1; } } } return 1; } CMD:rg(playerid, params[]) { new string[128]; if (gPlayerLogged[playerid] != 0) { ShowStats(playerid,playerid); format(string, sizeof(string), "* %s retira o seu RG do bolso e da uma olhada.", NomePlayer(playerid)); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); } else { SendClientMessage(playerid, 0xff6347FF, "* Voce nao esta conectado."); } return true; } CMD:ah(playerid, result[]) { if(isnull(result)) return SendClientMessage(playerid, COLOR_GRAD2, "USE: (/ah) [admin + helper chat]"); new string[128]; if(cAdminHelperc[playerid] == 1) return SendClientMessage(playerid, COLOR_GRAD1, " Seu chat Admin + Helper esta desligado! USE: /desligarah"); if(PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pAdminTemp] >= 1) { format(string, sizeof(string), "*%d [%s] %s: %s", PlayerInfo[playerid][pAdmin], NomeLevelAdmin(PlayerInfo[playerid][pAdmin]), PlayerName(playerid), result); ChatHelperAdmin(0x7FFF00FF,string); CNFLogs("AdminHelperChat", string); } else if(PlayerInfo[playerid][pHelper] >= 1) { format(string, sizeof(string),"*%d Helper %s: %s", PlayerInfo[playerid][pHelper], PlayerName(playerid), result); ChatHelperAdmin(0x7FFF00FF, string); CNFLogs("AdminHelperChat", string); } return 1; } CMD:verificartv(playerid, params[]) { new string[200]; if(PlayerInfo[playerid][pAdmin] < 1 ) return SCM(playerid, COLOR_GRAD1, "Você não está autorizado a utilizar esse comando."); format(string, sizeof(string), "[TV] Administradores em modo TV(Abaixo de 1341):"); SendClientMessage(playerid, COLOR_GRAD5, string); for(new i; i 0 && PlayerInfo[i][pAdmin] < 1340) { if(WatchingTV[i]) { format(string, sizeof(string), "O Administrador: %s está de tv em: %s!", PlayerName(i), NomePlayer(Spectate[i])); SendClientMessage(playerid, -1, string); } } } return 1; } CMD:agendarban(playerid, params[]) { if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid, 0xff6347FF, "* Voce nao esta conectado."); if (PlayerInfo[playerid][pAdmin] < 3) return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao pode usar este comando."); new nameban[24], motivo[100]; if(sscanf(params, "s[24]s[100]", nameban, motivo)) return SendClientMessage(playerid, COLOR_GRAD2, "USE: /agendarban [Nick_Correto] [motivo]"); //new gstring[74]; format(gstring, sizeof gstring, Pasta_Contas, nameban); if(DOF2_FileExists(gstring)) { new dia, mes, ano, hora, minuto, segundo, sstr[55]; getdate(ano, mes, dia); gettime(hora, minuto, segundo); new string[128], string2[74]; format(string, sizeof string, Pasta_Banidos, nameban); format(string2, sizeof string2, Pasta_BanidosTemp, nameban); if(!DOF2_FileExists(string) && !DOF2_FileExists(string2)) { DOF2_CreateFile(string); DOF2_SetString(string,"Motivo",motivo); DOF2_SetString(string,"Admin",NomePlayer(playerid)); format(sstr, sizeof sstr, "%d/%d/%d", dia, mes, ano); DOF2_SetString(string,"Data",sstr); format(sstr, sizeof sstr, "%02d:%02d:%02d", hora, minuto, segundo); DOF2_SetString(string,"Hora",sstr); DOF2_SaveFile(); format(string, sizeof string, "AdmCmd: O admin %s agendou o banimento de %s, motivo: %s", NomePlayer(playerid), nameban,motivo); SendClientMessageToAll(COLOR_LIGHTRED, string); return true; } else return SendClientMessage(playerid, COLOR_DBLUE, "Este nick ja esta banido"); } else SendClientMessage(playerid, COLOR_DBLUE, "Este nick nao esta registrado no servidor."); return true; } CMD:h(playerid, result[]) { if(isnull(result)) return SendClientMessage(playerid, COLOR_GRAD2, "USE: (/h)helper [helper chat]"); if(cHelperc[playerid] == 1) return SendClientMessage(playerid, COLOR_GRAD1, "| INFO | Seu chat Helper esta desligado! USE: /desligarh"); //Anti Divulguer if(AntiDivulguer(playerid, result))return 1; if (PlayerInfo[playerid][pHelper] >= 1) { new string[128]; format(string, sizeof(string), "*%d Helper %s: %s", PlayerInfo[playerid][pHelper], PlayerName(playerid), result); SendHelperMessage(0xFF69B4FF, string); CNFLogs("helperchat", string); } return true; } CMD:laptop(playerid, params[]) { if(GetPlayerOrg(playerid) == 8 || GetPlayerOrg(playerid) == 22) { if(ConnectedToPC[playerid] == 255) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Voce desligou seu laptop, e se desconectou de sua Agencia."); ConnectedToPC[playerid] = 0; return true; } ShowPlayerDialog(playerid,434,DIALOG_STYLE_LIST,"Assassinos - Laptop.","Contratos\nPegar Contrato\nMembros\nInfo Contrato\nSair","Confirmar","Desligar"); ConnectedToPC[playerid] = 255; } else { SendClientMessage(playerid, COLOR_GREY, "Voce nao e um Assasino!"); return true; } return true; } CMD:convidar(playerid, result[]) { new para1; if(sscanf(result, "u", para1))return SendClientMessage(playerid, COLOR_GRAD2, "USE: /convidar [playerid/Parte-do-Nick]"); if(!IsPlayerConnected(para1)) SendClientMessage(playerid, -1, "Jogador offline!"); if (PlayerInfo[playerid][pLider] >= 1 || PlayerInfo[playerid][pCargo] >= 5) { new lolz = GetPlayerOrg(playerid); if(TemVaga(lolz) == 0) { SendClientMessage(playerid, COLOR_GRAD1, "Nao ha mais vagas na lista use /limparvaga primeiro."); return true; } if(IsPlayerConnected(para1)) { if(GetPlayerOrg(para1)) { SendClientMessage(playerid, COLOR_GREY, "Este player ja participa de Org/Gang/Mafia."); return true; } new string[128]; GetPlayerName(para1, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "* Voce convidou %s para sua organizacao: [%s] (Mensagem: %s).", giveplayer,NomeORG(playerid),VarChatLider[playerid]); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); InviteOffer[para1] = playerid; InviteJob[para1] = lolz; VarChatLider[playerid] = EOS; strins(VarChatLider[playerid],result,0); new Str[3000]; StrDialog[0] = EOS; format(Str, sizeof(Str), "{FFFFFF}Voce acaba de ser convidado para uma organizacao"); strcat(StrDialog,Str); format(Str, sizeof(Str), "\n\n{FFFFFF}Nome da Organizacao: {00FFFF}%s",NomeORG(playerid)); strcat(StrDialog,Str); format(Str, sizeof(Str), "\n{FFFFFF}Convidado pelo Lider: {00FFFF}%s",PlayerName(playerid)); strcat(StrDialog,Str); format(Str, sizeof(Str), "\n{FFFFFF}Mensagem do convite: {00FFFF}%s",VarChatLider[playerid]); strcat(StrDialog,Str); format(Str, sizeof(Str), "\n{FFFFFF}O convite expira em: {00FFFF}3 minutos"); strcat(StrDialog,Str); format(Str, sizeof(Str), "\n\n{FFFFFF}Para aceitar clique em ''{00FFFF}Aceitar{FFFFFF}'' e para recusar clique em ''{00FFFF}Recusar{FFFFFF}'' "); strcat(StrDialog,Str); ShowPlayerDialog(para1, 642, DIALOG_STYLE_MSGBOX, "{00FFFF}Convite para Organizacao", StrDialog, "Aceitar", "Recusar"); //format(string, sizeof string, "{FFFFFF}Voce foi Convidado para a Organizacao: {00BFFF}%s %s!\n{FFFFFF}Deseja Entrar para esta Organizacao?",NomeORG(playerid),VarChatLider[playerid]); //ShowPlayerDialog(para1,642,DIALOG_STYLE_MSGBOX,"{00BFFF}Convite para Organizacao",string,"Sim","Nao"); VarChatLider[playerid] = 0; //ForT:aceitar(para1, "convite"); }//not connected } else { SendClientMessage(playerid, COLOR_GREY, " Somente lideres podem usar este comando !"); } return true; } CMD:ba(playerid, result[]) { if(NaCamera[playerid] > 3)return SendClientMessage(playerid,COLOR_YELLOW,"Voce nao pode falar agora!"); if(PlayerInfo[playerid][pMuted] == 1)return SendClientMessage(playerid, 0xA92BF6F6, "Voce nao pode falar, pois foi calado"); if(gPlayerLogged[playerid] == 0)return SendClientMessage(playerid, COLOR_GREY, "Voce nao logou ainda !"); GetPlayerName(playerid, sendername, sizeof(sendername)); if(isnull(result)) { SendClientMessage(playerid, COLOR_GRAD2, "USE: (/ba)ixinho [Para falar baixiinho]"); return true; } //Anti Divulguer if(AntiDivulguer(playerid, result))return 1; new string[128]; format(string, sizeof(string), "%s baixinho: %s", sendername, result); SendClientMessageInRange(3.0, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5); printf("%s", string); return true; } CMD:departamento(playerid, params[])return ForT:d(playerid, params); CMD:d(playerid, params[]) { if(isnull(params))return SendClientMessage(playerid, COLOR_GREY, "USE: (/d)epartamento [texto]"); new org = GetPlayerOrg(playerid); if(org != 1 && org != 2 && org != 3 && org != 4 && org != 6 && org != 7 && org != 11 && org != 33 && org != 16 && org != 35 && org != 34 && org != 36) { return SendClientMessage(playerid, COLOR_GREY, LEVELADM); } if(PlayerInfo[playerid][pMuted] == 1)return SendClientMessage(playerid, 0xA92BF6F6, "Voce nao pode falar, pois foi calado"); if(admtrampando[playerid] != 0 && PlayerInfo[playerid][pAdmin] < 1337) return SendClientMessage(playerid, COLOR_GREY, "Voce nao pode falar no radio em modo trabalho!"); //Anti Divulguer if(AntiDivulguer(playerid, params))return 1; //new gstring[128]; if(gettime() < GetPVarInt(playerid, #VarFlood4)) return SendClientMessage(playerid, COLOR_GRAD1, #[ERRO] Impossivel usar este comando com tanta frequencia.); SetPVarInt(playerid, #VarFlood4, gettime()+2); format(gstring, sizeof(gstring), "* %s falou algo no radio.", PlayerName(playerid)); SendClientMessageInRange(20.0, playerid, gstring, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); format(gstring, sizeof gstring, "** %s %s: %s, over. **", GetPlayerCargo(playerid), NomePlayer(playerid), params); SendFamilyMessage(2, 0xFF6347AA, gstring); SendFamilyMessage(1, 0xFF6347AA, gstring); SendFamilyMessage(3, 0xFF6347AA, gstring); SendFamilyMessage(6, 0xFF6347AA, gstring); SendFamilyMessage(16, 0xFF6347AA, gstring); SendFamilyMessage(27, 0xFF6347AA, gstring); SendFamilyMessage(31, 0xFF6347AA, gstring); SendFamilyMessage(7, 0xFF6347AA, gstring); SendFamilyMessage(11, 0xFF6347AA, gstring); SendFamilyMessage(4, 0xFF6347AA, gstring); SendFamilyMessage(33, 0xFF6347AA, gstring); SendFamilyMessage(35, 0xFF6347AA, gstring); SendFamilyMessage(20, 0xFF6347AA, gstring); SendFamilyMessage(29, 0xFF6347AA, gstring); SendFamilyMessage(34, 0xFF6347AA, gstring); SendFamilyMessage(36, 0xFF6347AA, gstring); printf("%s", gstring); return true; } CMD:ce(playerid, result[]) { if(PlayerInfo[playerid][pMuted]) return SendClientMessage(playerid, 0xA92BF6F6, "Voce nao pode falar. pois esta calado"); if(isnull(result)) return SendClientMessage(playerid, COLOR_GRAD2, "USE: /ce [Chat do Emprego]"); if(PlayerInfo[playerid][pJailed] != 0) return SendClientMessage(playerid,COLOR_YELLOW,"Voce nao pode usar esse comando na cadeia!"); if(PlayerInfo[playerid][pEmprego] < 1)return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao possui um emprego!"); new emprego = PlayerInfo[playerid][pEmprego]; new string[128]; //Anti Divulguer if(AntiDivulguer(playerid, result))return 1; switch(emprego) { case 1:format(string, sizeof(string), "** Advogado %s: %s.", PlayerName(playerid), result); case 2:format(string, sizeof(string), "** Mecânico %s: %s. ", PlayerName(playerid), result); case 3:format(string, sizeof(string), "** Agricultor %s: %s. **", PlayerName(playerid), result); case 4:format(string, sizeof(string), "** Vendedor de produtos %s: %s. **", PlayerName(playerid), result); case 5:format(string, sizeof(string), "** Taxista %s: %s. **", PlayerName(playerid), result); case 6:format(string, sizeof(string), "** Bombeiro %s: %s. **", PlayerName(playerid), result); case 7:format(string, sizeof(string), "** iFood %s: %s. **", PlayerName(playerid), result); case 8:format(string, sizeof(string), "** Gari %s: %s. **", PlayerName(playerid), result); case 9:format(string, sizeof(string), "** Motorista de onibus %s: %s. ", PlayerName(playerid), result); case 12:format(string, sizeof(string), "** Eletricista %s: %s. ", PlayerName(playerid), result); case 13:format(string, sizeof(string), "** Caminhoneiro %s: %s. ", PlayerName(playerid), result); case 14:format(string, sizeof(string), "** Frentista %s: %s. ", PlayerName(playerid), result); case 15:format(string, sizeof(string), "** Entregador Aereo %s: %s. ", PlayerName(playerid), result); default:format(string, sizeof string, "** Desempregado %s: %s **", NomePlayer(playerid), result); } EmpregoMensagem(0x80cf80AA, string, emprego); return 1; } //----------------------------------[Short]----------------------------------------------- CMD:g(playerid, result[]) { if(NaCamera[playerid] > 3)return SendClientMessage(playerid,COLOR_YELLOW,"Voce nao pode falar agora!"); if(PlayerInfo[playerid][pMuted] == 1)return SendClientMessage(playerid, 0xA92BF6F6, "Voce nao pode falar, pois foi calado"); if(gPlayerLogged[playerid] == 0)return SendClientMessage(playerid,COLOR_GRAD1,"Voce nao esta logado/registrado!"); if(isnull(result)) { SendClientMessage(playerid,0xBFC0C2FF,"USE: (/G)ritar [Texto]"); return true; } //Anti Divulguer if(AntiDivulguer(playerid, result))return 1; new string[128]; format(string,sizeof(string),"%s Grita: %s!!!",PlayerName(playerid),result); SendClientMessageInRange(30.0,playerid,string,COLOR_WHITE,COLOR_WHITE,COLOR_WHITE,COLOR_WHITE,COLOR_WHITE); printf("%s",string); return true; } static stock GetPlayerCargo(playerid) { new org = GetPlayerOrg(playerid); new cargo = PlayerInfo[playerid][pCargo]; new cargoname[40]; switch(org) { case 1: { switch(cargo) { case 1:cargoname = "Cadete"; case 2:cargoname = "Cabo"; case 3:cargoname = "Sargento"; case 4:cargoname = "Tenente"; case 6:cargoname = "Comandante"; case 5:cargoname = "Capitao"; } } case 2: { switch(cargo) { case 1:cargoname = "Recruta"; case 2:cargoname = "Soldado"; case 3:cargoname = "Cabo"; case 4:cargoname = "Sargento"; case 6:cargoname = "Capitao"; case 5:cargoname = "Tenente"; } } case 29,3: { switch(cargo) { case 1:cargoname = "Soldado"; case 2:cargoname = "Sargento"; case 3:cargoname = "Capitao"; case 4:cargoname = "Tenente Coronel"; case 6:cargoname = "General"; case 5:cargoname = "Coronel"; } } case 4: { switch(cargo) { case 1:cargoname = "Estagiario"; case 2:cargoname = "Enfermeiro"; case 3:cargoname = "Paramedico"; case 4:cargoname = "Clinico Geral"; case 6:cargoname = "Doutor"; case 5:cargoname = "Medico"; } } case 5, 10, 14, 17, 18, 19, 21, 26, 37: { switch(cargo) { case 1:cargoname = "Olheiro"; case 2:cargoname = "Aviaozinho"; case 3:cargoname = "Fogueteiro"; case 4:cargoname = "Soldado"; case 6:cargoname = "Chefe da Boca"; case 5:cargoname = "Vapor"; } } case 7: { switch(cargo) { case 1:cargoname = "Motorista"; case 2:cargoname = "Seguranca"; case 3:cargoname = "Vereador"; case 4:cargoname = "Acessor"; case 6:cargoname = "Governador"; case 5:cargoname = "Vice-Governador"; } } case 8, 22: { switch(cargo) { case 1:cargoname = "Serial-Killer"; case 2:cargoname = "Assassino Frio"; case 3:cargoname = "Agente"; case 4:cargoname = "Agente Especial"; case 5:cargoname = "Assassino Profissional"; case 6:cargoname = "Diretor"; case 444, 555:cargoname = "Vice-Diretor"; } } case 9: { switch(cargo) { case 1:cargoname = "Humorista"; case 2:cargoname = "Reporter Local"; case 3:cargoname = "Reporter City"; case 4:cargoname = "Editor"; case 6:cargoname = "Diretor de producao"; case 5:cargoname = "Produtor"; } } case 11: { switch(cargo) { case 1:cargoname = "Investigador"; case 2:cargoname = "Agente Especial Estagiario"; case 3:cargoname = "Agente Especial"; case 4:cargoname = "Comandante Operacional"; case 6:cargoname = "Delegado Federal"; case 5:cargoname = "Assistente do Delegado"; } } case 34: { switch(cargo) { case 1:cargoname = "Agente De Trânsito"; case 2:cargoname = "Assistente De Trânsito"; case 3:cargoname = "Vistoriador"; case 4:cargoname = "Examinador"; case 6:cargoname = "Chefe Geral"; case 5:cargoname = "Analista De Trânsito E Transporte"; } } case 12, 13, 24: { switch(cargo) { case 1:cargoname = "Novato"; case 2:cargoname = "Membro"; case 3:cargoname = "Capanga"; case 4:cargoname = "Mafioso"; case 6:cargoname = "Mafioso Lider"; case 5, 100, 200:cargoname = "Braco Direito"; } } case 28, 25: { switch(cargo) { case 1:cargoname = "Novato"; case 2:cargoname = "Membro"; case 3:cargoname = "Secretario"; case 4:cargoname = "Sgt das Armas"; case 6:cargoname = "Presidente"; case 5:cargoname = "V.Presidente"; } } case 15, 23: { switch(cargo) { case 1:cargoname = "Informante"; case 2:cargoname = "Soldado"; case 3:cargoname = "Guerrilheiro"; case 4:cargoname = "Patrulhante"; case 6:cargoname = "Terrorista"; case 5:cargoname = "Braco Direito"; } } case 20: { switch(cargo) { case 1:cargoname = "Novato"; case 2:cargoname = "Membro"; case 3:cargoname = "Capanga"; case 4:cargoname = "Mafioso"; case 6:cargoname = "Mafioso Lider"; case 5, 100, 200:cargoname = "Braco Direito"; } } case 6,33,35,16,36: { switch(cargo) { case 1:cargoname = "Soldado"; case 2:cargoname = "Cabo"; case 3:cargoname = "Sargento"; case 4:cargoname = "Tenente"; case 6:cargoname = "Comandante"; case 5:cargoname = "Capitao"; } } case 38: { switch(cargo) { case 1:cargoname = "Olheiro"; case 2:cargoname = "Piloto de Fuga"; case 3:cargoname = "Fogueteiro"; case 4:cargoname = "Vapor"; case 5:cargoname = "Sub-Dono"; case 6:cargoname = "Chefe Da Boca"; } } default: cargoname = "Nenhum"; } return cargoname; } CMD:gangue(playerid, params[])return ForT:ga(playerid, params); CMD:ga(playerid, params[]) { if(isnull(params))return SendClientMessage(playerid, COLOR_GREY, "USE: (/ga)ngue [texto]"); new org = GetPlayerOrg(playerid); if(org != 5 && org != 10 && org != 6 && org != 14 && org != 17 && org != 18 && org != 19 && org != 21 && org != 15 && org != 23 && org != 25 && org != 10 && org != 13 && org != 12 && org != 24 && org != 26 && org != 27 && org != 28 && org != 8 && org != 22 && org != 20 && org != 9 && org != 10 && org != 34 && org != 36 && org != 37 && org != 38) { return SendClientMessage(playerid, COLOR_GREY, LEVELADM); } if(PlayerInfo[playerid][pMuted] == 1)return SendClientMessage(playerid, 0xA92BF6F6, "Voce nao pode falar, pois foi calado"); //Anti Divulguer if(AntiDivulguer(playerid, params))return 1; //new gstring[128]; format(gstring, sizeof(gstring), "* %s usou o radio para falar com a sua organizacao(/ga).", PlayerName(playerid)); SendClientMessageInRange(20.0, playerid, gstring, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); format(gstring, sizeof gstring, "** %s (%s) %s. ))", GetPlayerCargo(playerid), NomePlayer(playerid), params); SendFamilyMessage(org, 0x90EE90FF, gstring); return true; } CMD:horas(playerid, params[]) { new mtext[20]; getdate(year, month, day); if(month == 1) { mtext = "Janeiro"; } else if(month == 2) { mtext = "Fevereiro"; } else if(month == 3) { mtext = "Marco"; } else if(month == 4) { mtext = "Abril"; } else if(month == 5) { mtext = "Maio"; } else if(month == 6) { mtext = "Junho"; } else if(month == 7) { mtext = "Julho"; } else if(month == 8) { mtext = "Agosto"; } else if(month == 9) { mtext = "Setembro"; } else if(month == 10) { mtext = "Outubro"; } else if(month == 11) { mtext = "Novembro"; } else if(month == 12) { mtext = "Dezembro"; } new string[128]; gettime(hour,minute,second); GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "* %s olhou as horas.", PlayerName(playerid)); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); if (PlayerInfo[playerid][pJailTime] > 0) { format(string, sizeof(string), "~r~%02d %s~n~~g~|~w~%02d:%02d~g~|~n~~w~Tempo De Prisao: %02d seg", day, mtext, hour, minute, PlayerInfo[playerid][pJailTime]); } else { format(string, sizeof(string), "~r~%02d %s~n~~g~|~w~%02d:%02d~g~|", day, mtext, hour, minute); } GameTextForPlayer(playerid, string, 5000, 1); return true; } CMD:bloquearn(playerid, params[]) { if(gPlayerLogged[playerid] == 0) { return SendClientMessage(playerid, 0xff6347FF, "* Voce nao esta conectado."); } new tempo, result[64]; if(sscanf(params, "uds[64]", giveplayerid, tempo, result)) { SendClientMessage(playerid, COLOR_GRAD2, "USE: /bloquearan [Id/Nick] [Tempo (Em minutos 1 - 999)] [Motivo]"); return true; } if(PlayerInfo[playerid][pAdmin] < 1 && PlayerInfo[playerid][pAdminTemp] < 1) return SendClientMessage(playerid, COLOR_GREY, "Voce nao esta autorizado a usar este comando!"); if(IsPlayerConnected(giveplayerid)) { if(!admtrampando[playerid] && PlayerInfo[playerid][pAdmin] < 1342) return SendClientMessage(playerid, COLOR_GRAD1, TRABALHARADM); new string[220], strtempo[12]; new settempo = PlayerInfo[giveplayerid][pBloqNoob] += tempo*60; if(tempo > -1) format(strtempo, 12, "+%d", tempo); else format(strtempo, 12, "%d", tempo); if(settempo < 0)settempo = 0; if(tempo > 999) return SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce definiu muitos minutos!"); format(string, sizeof(string), "* Voce foi proibido de usar o chat noob pelo admin %s, pelo motivo: %s.", PlayerName(playerid),result); SendClientMessage(giveplayerid, COLOR_LIGHTRED, string); format(string, sizeof(string), "* O admin %s bloqueou %s de usar o chat noob por %s minutos, Motivo: %s",PlayerName(playerid), PlayerName(giveplayerid), strtempo, result); SendClientMessageToAll(COLOR_LIGHTRED, string); ResetPlayerWeapons(giveplayerid); PlayerInfo[giveplayerid][pBloqNoob] = settempo; } return true; } CMD:bloquearan(playerid, params[]) { if(gPlayerLogged[playerid] == 0) { return SendClientMessage(playerid, 0xff6347FF, "* Voce nao esta conectado."); } new tempo, result[64]; if(sscanf(params, "uds[64]", giveplayerid, tempo, result)) return SendClientMessage(playerid, COLOR_GRAD2, "USE: /bloquearan [Id/Nick] [Tempo (Em minutos 1 - 999)] [Motivo]"); if(PlayerInfo[playerid][pAdmin] < 1 && PlayerInfo[playerid][pAdminTemp] < 1) return SendClientMessage(playerid, COLOR_GREY, "Voce nao esta autorizado a usar este comando!"); if(IsPlayerConnected(giveplayerid)) { if(!admtrampando[playerid] && PlayerInfo[playerid][pAdmin] < 1342) return SendClientMessage(playerid, COLOR_GRAD1, TRABALHARADM); new string[220], strtempo[12]; new settempo = PlayerInfo[giveplayerid][pAnGov] += tempo*60; if(tempo > -1) format(strtempo, 12, "+%d", tempo); else format(strtempo, 12, "%d", tempo); if(settempo < 0)settempo = 0; if(tempo > 999) return SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce definiu muitos minutos!"); format(string, sizeof(string), "* Voce foi proibido de usar anuncios pelo admin %s, pelo motivo: %s.", PlayerName(playerid),result); SendClientMessage(giveplayerid, COLOR_LIGHTRED, string); format(string, sizeof(string), "* O admin %s bloqueou %s de usar (/an,/gov,/ang) por %s minutos, Motivo: %s",PlayerName(playerid), PlayerName(giveplayerid), strtempo, result); SendClientMessageToAll(COLOR_LIGHTRED, string); PlayerInfo[giveplayerid][pAnGov] = settempo; } return true; } CMD:setcadeia(playerid, params[]) { if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid, 0xff6347FF, "* Voce nao esta conectado."); new tempo, result[64]; if(PlayerInfo[playerid][pAdmin] < 1 && PlayerInfo[playerid][pAdminTemp] < 1) return SendClientMessage(playerid, COLOR_GREY, "Voce nao esta autorizado a usar este comando!"); if(sscanf(params, "uds[64]", giveplayerid, tempo, result)) return SendClientMessage(playerid, COLOR_GRAD2, "USE: /setcadeia [ID do Player] [tempo] [motivo]"); if(IsPlayerConnected(giveplayerid)) { if(!admtrampando[playerid] && PlayerInfo[playerid][pAdmin] < 1342) return SendClientMessage(playerid, COLOR_GRAD1, TRABALHARADM); new string[220]; if(tempo > 9999) return SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce definiu muitos minutos!"); format(string, sizeof(string), "* Voce prendeu %s.", PlayerName(giveplayerid)); SendClientMessage(playerid, COLOR_LIGHTRED, string); format(string, sizeof(string), "* Voce foi preso pelo admin %s, pelo motivo: %s.", PlayerName(playerid),result); SendClientMessage(giveplayerid, COLOR_LIGHTRED, string); format(string, sizeof(string), "* O admin %s prendeu %s por %d minutos, Motivo: %s",PlayerName(playerid), PlayerName(giveplayerid), tempo, result); SendClientMessageToAll(COLOR_LIGHTRED, string); CNFLogs("cadeia", string); ResetPlayerWeapons(giveplayerid); WantedPoints[giveplayerid] = 0; SetPlayerWantedLevelEx(giveplayerid, 0); PlayerInfo[giveplayerid][pJailed] = 9; PlayerInfo[giveplayerid][pJailTime] = tempo*60; PlayerPlaySound(giveplayerid, 31202, 0.0, 0.0, 0.0); format(string, sizeof(string), "Voce foi preso por %d minutos. Fianca: Desabilitada.", tempo); SendClientMessage(giveplayerid, COLOR_LIGHTBLUE, string); SpawnPlayer(giveplayerid); } return true; } CMD:soltar(playerid, params[]) { if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid, 0xff6347FF, "* Voce nao esta conectado."); new msg_formated[128], Name_p[24]; if(PlayerInfo[playerid][pAdmin] < 1 && PlayerInfo[playerid][pAdminTemp] < 1) return SendClientMessage(playerid, COLOR_GREY, "Voce nao esta autorizado a usar este comando!"); if(sscanf(params, "u", giveplayerid)) return SendClientMessage(playerid, COLOR_GRAD2, "USE: /soltar [ID do Player]"); if(IsPlayerConnected(giveplayerid)) { if(!admtrampando[playerid] && PlayerInfo[playerid][pAdmin] < 1342) return SendClientMessage(playerid, COLOR_GRAD1, TRABALHARADM); GetPlayerName(giveplayerid, Name_p, sizeof(Name_p)); SetPlayerHealth(giveplayerid, 100.0); SetPlayerArmour(giveplayerid, 0); PlayerInfo[giveplayerid][pJailed] = 0; PlayerInfo[giveplayerid][pJailTime] = 0; SendClientMessage(giveplayerid, COLOR_GRAD1,"Voce agora esta livre"); GameTextForPlayer(giveplayerid, "~r~Livre~n~~w~Seja um player melhor", 5000, 1); SetPlayerPos(giveplayerid, 1806.0956,-1572.6432,13.4570); SetPlayerInterior(giveplayerid, 0); PlayerTextDrawHide(giveplayerid, TextHospital[giveplayerid]); SetPlayerSkin(giveplayerid, PlayerInfo[giveplayerid][pSkin]); ClearCrime(giveplayerid); AdvId[giveplayerid] = 999; format(msg_formated, 128, "Voce soltou o jogador %s!", Name_p); SendClientMessage(playerid, COR_LIGHTBLUE, msg_formated); format(msg_formated, sizeof(msg_formated), "* O admin %s tirou %s da cadeia",PlayerName(playerid), NomePlayer(giveplayerid)); CNFLogs("cadeia", msg_formated); return true; } return true; } CMD:blindarid(playerid) { if (PlayerInfo[playerid][pAdmin] >= 3) { new currentveh; currentveh = GetPlayerVehicleID(playerid); if(IsPlayerInAnyVehicle(playerid)) { if(Cblindado[currentveh] >= 1) { Cblindado[currentveh] = 0; Blindagem[currentveh] = 0; SendClientMessage(playerid, 0xFFFFFFFF, "| INFO | Você retirou a blindagem."); return 1; } Cblindado[currentveh] = 1; Blindagem[currentveh] = 100; SendClientMessage(playerid, COLOR_LIGHTBLUE, "| INFO | Você blindou seu carro."); return 1; } else { SendClientMessage(playerid, 0xFFFFFFFF, "Voce nao esta em um veiculo!"); return 1; } } else { SendClientMessage(playerid, COLOR_GRAD1, LEVELADM); } return 1; } CMD:sirene(playerid) { if(!IsACop(playerid)) { new VID = GetPlayerVehicleID(playerid); if(hassiren[VID]) { DestroyDynamicObject(siren[VID]); hassiren[VID] = 0; siren[VID] = -1; SendClientMessage(playerid, COLOR_LIGHTRED, "Voce removeu a sirene com sucesso."); return 1; } } if(!IsACop(playerid)) return SendClientMessage(playerid,COLOR_GRAD1,"Voce nao e um policial!"); if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid,COLOR_GRAD1,"Voce nao esta dentro de um carro!"); if(GetPlayerState(playerid) != PLAYER_STATE_DRIVER) return SendClientMessage(playerid,COLOR_GRAD1,"Voce precisa ser o motorista!"); new LVehicleID = GetPlayerVehicleID(playerid), LModel = GetVehicleModel(LVehicleID); switch(LModel) { case 448,461,462,463,468,471,509,510,521,523,581,586,449: return SendClientMessage(playerid,COLOR_GRAD1,"Voce nao pode colocar sirene neste veiculo!"); } ShowPlayerDialog(playerid, DIALOG_SIREN, DIALOG_STYLE_LIST, "{00FF00}Colocar Sirene", "{B4B5B7}» Colocar Sirene\n{B4B5B7}» Deletar Sirene", "Selecionar", "Cancelar"); return 1; } CMD:par22(playerid, params[]) { if(gPlayerLogged[playerid] == 0) { return SendClientMessage(playerid, 0xff6347FF, "* Voce nao esta conectado."); } new result[128]; if(sscanf(params, "us[128]", giveplayerid, result)) { SendClientMessage(playerid, COLOR_GRAD2, "USE: (/par)ticular [ID do Player] [texto]"); return true; } if(!IsAStaff(giveplayerid)) { SendClientMessage(playerid, COLOR_GREY, "O player que voce digitou nao e admin ou Helper!"); return true; } if (IsPlayerConnected(giveplayerid)) { if(HidePM[giveplayerid] > 0) { SendClientMessage(playerid, COLOR_GREY, " Esse player Bloqueou Particulares!"); return true; } if(PlayerInfo[playerid][pAdmin] < 1 && PlayerInfo[playerid][pAdminTemp] < 1 && !helpertrampando[playerid]) { return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao esta em modo de ajuda !"); } if(PlayerInfo[giveplayerid][pAdmin] < 1 && !helpertrampando[giveplayerid]) { return SendClientMessage(playerid, COLOR_GRAD1, "Este helper nao pode receber particulares, pois nao esta em modo ajuda !"); } if(gettime() < GetPVarInt(playerid, #VarFlood5)) return SendClientMessage(playerid, COLOR_GRAD1, #[ERRO] Impossivel usar este comando com tanta frequencia.); SetPVarInt(playerid, #VarFlood5, gettime()+2); new string[200]; GetPlayerName(playerid, sendername, sizeof(sendername)); GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer)); if(PlayerInfo[playerid][pAdmin] > 0 || PlayerInfo[playerid][pAdminTemp] > 0) { format(string, sizeof(string), "Admin: %s(ID: %d) particular: %s", sendername, playerid, (result)); SendClientMessage(giveplayerid, COLOR_YELLOW, string); format(string, sizeof(string), "Admin: %s para %s: %s.", PlayerName(playerid), PlayerName(giveplayerid), (result)); CNFLogs("particulares", string); } else if(helpertrampando[playerid] == 1) { format(string, sizeof(string), "Helper: %s(ID: %d) particular: %s", sendername, playerid, (result)); SendClientMessage(giveplayerid, COLOR_YELLOW, string); format(string, sizeof(string), "Helper: %s para %s: %s.", PlayerName(playerid), PlayerName(giveplayerid), (result)); CNFLogs("particulares", string); } else if(PlayerInfo[playerid][pLider] == 7) { format(string, sizeof(string), "Governador: %s(ID: %d) particular: %s", sendername, playerid, (result)); SendClientMessage(giveplayerid, COLOR_YELLOW, string); format(string, sizeof(string), "Governador: %s para %s: %s.", PlayerName(playerid), PlayerName(giveplayerid), (result)); CNFLogs("particulares", string); } else { format(string, sizeof(string), "%s(ID: %d) particular: %s", sendername, playerid, (result)); SendClientMessage(giveplayerid, COLOR_YELLOW, string); format(string, sizeof(string), "Player: %s para %s: %s.", PlayerName(playerid), PlayerName(giveplayerid), (result)); CNFLogs("particulares", string); } foreach(Player, adm) { if(VerPar[adm] && PlayerInfo[adm][pAdmin] > 0) { format(string, sizeof string, "[PARTICULAR]: %s[ID: %d] para %s[ID: %d]: %s", NomePlayer(playerid),playerid, NomePlayer(giveplayerid),giveplayerid, result); SendClientMessage(adm, COLOR_YELLOW, string); } } if(Ocupado[giveplayerid] > 0) { GetPlayerName(playerid, sendername, sizeof(sendername)); GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer)); format(string, sizeof(string), "» Particular para (%s): %s", giveplayer, (result)); SendClientMessage(playerid, COLOR_YELLOW, string); format(string, sizeof(string), "Admin: %s(ID: %d) particular: Ola %s! Estou ocupado no momento, quando eu estiver disponivel lhe enviarei um particular!",giveplayer, giveplayerid,sendername); SendClientMessage(playerid, COLOR_YELLOW, string); return true; } print(string); format(string, sizeof(string), "» Particular para (%s): %s", giveplayer, (result)); SendClientMessage(playerid, 0x00660CC8, string); return true; } else { SendClientMessage(playerid, COLOR_GRAD1, " Esse player esta off-line."); } return true; } stock IsAtCookPlace(playerid) { if(IsPlayerConnected(playerid)) { if(PlayerToPoint(3.0,playerid,369.9786,-4.0798,1001.8589)) {//Cluckin Bell return 1; } else if(PlayerToPoint(3.0,playerid,376.4466,-60.9574,1001.5078) || PlayerToPoint(3.0,playerid,378.1215,-57.4928,1001.5078)) {//Burgershot return 1; } else if(PlayerToPoint(3.0,playerid,374.1185,-113.6361,1001.4922) || PlayerToPoint(3.0,playerid,377.7971,-113.7668,1001.4922)) {//Well Stacked Pizza return 1; } } return 0; /*} CMD:comer(playerid, cmdtext[]) { if(IsPlayerConnected(playerid)) { new tmp[78], idx, string[128]; GetPlayerName(playerid, sendername, sizeof(sendername)); tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_WHITE, "USE: /comer [Número da comida]"); return 1; } new cookid = strval(tmp); if(cookid < 1 || cookid > 5) { SendClientMessage(playerid, COLOR_GREY, " O Número da comida nao pode ser menor que 1 nem superior a 5 !"); return 1; } else if(cookid == 1 && Cooking[playerid][pCWeight1] < 1) { SendClientMessage(playerid, COLOR_GREY, " Voce nao cozinhou nada nesse número(1) !"); return 1; } else if(cookid == 2 && Cooking[playerid][pCWeight2] < 1) { SendClientMessage(playerid, COLOR_GREY, " Voce nao cozinhou nada nesse número(2) !"); return 1; } else if(cookid == 3 && Cooking[playerid][pCWeight3] < 1) { SendClientMessage(playerid, COLOR_GREY, " Voce nao cozinhou nada nesse número(3) !"); return 1; } else if(cookid == 4 && Cooking[playerid][pCWeight4] < 1) { SendClientMessage(playerid, COLOR_GREY, " Voce nao cozinhou nada nesse número(4) !"); return 1; } else if(cookid == 5 && Cooking[playerid][pCWeight5] < 1) { SendClientMessage(playerid, COLOR_GREY, " Voce nao cozinhou nada nesse número(5) !"); return 1; } new Float:health; if(GetPlayerHealth(playerid, health) < 40) { new hp = 0; switch (cookid) { case 1: { if(Cooking[playerid][pCookID1] == 16 || Cooking[playerid][pCookID1] == 18) {//Dolphin or Turtle WantedPoints[playerid] += 2; SetPlayerCriminal(playerid,255, "Consumindo Especias Ameacadas"); } SetPlayerHealth(playerid, health + (Cooking[playerid][pCWeight1] / 3)); hp = Cooking[playerid][pCWeight1]; format(string, sizeof(string), "* %s come %s.", sendername, Cooking[playerid][pCook1]); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); format(string, sizeof(string), "* Voce comeu %s com %d KGs, e foi adicionado a sua Saúde.",Cooking[playerid][pCook1], hp); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); //(playerid); PlayerInfo[playerid][pFome] += 17; if(PlayerInfo[playerid][pFome] > 100) PlayerInfo[playerid][pFome] = 100; } case 2: { if(Cooking[playerid][pCookID2] == 16 || Cooking[playerid][pCookID2] == 18) {//Dolphin or Turtle WantedPoints[playerid] += 2; SetPlayerCriminal(playerid,255, "Consumindo Especies Ameacadas"); } SetPlayerHealth(playerid, health + (Cooking[playerid][pCWeight2] / 3)); hp = Cooking[playerid][pCWeight2]; format(string, sizeof(string), "* %s come %s.", sendername, Cooking[playerid][pCook2]); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); format(string, sizeof(string), "* Voce comeu %s com %d KGs, e foi adicionado a sua Saúde.",Cooking[playerid][pCook2], hp); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); //AtualizarFome(playerid); PlayerInfo[playerid][pFome] += 17; if(PlayerInfo[playerid][pFome] > 100) PlayerInfo[playerid][pFome] = 100; } case 3: { if(Cooking[playerid][pCookID3] == 16 || Cooking[playerid][pCookID3] == 18) {//Dolphin or Turtle WantedPoints[playerid] += 2; SetPlayerCriminal(playerid,255, "Consumindo Especies Ameacadas"); } SetPlayerHealth(playerid, health + (Cooking[playerid][pCWeight3] / 3)); hp = Cooking[playerid][pCWeight3]; format(string, sizeof(string), "* %s come %s.", sendername, Cooking[playerid][pCook3]); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); format(string, sizeof(string), "* Voce comeu %s com %d KGs, e foi adicionado a sua Saúde.",Cooking[playerid][pCook3], hp); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); //AtualizarFome(playerid); PlayerInfo[playerid][pFome] += 17; if(PlayerInfo[playerid][pFome] > 100) PlayerInfo[playerid][pFome] = 100; } case 4: { if(Cooking[playerid][pCookID4] == 16 || Cooking[playerid][pCookID4] == 18) {//Dolphin or Turtle WantedPoints[playerid] += 2; SetPlayerCriminal(playerid,255, "Consumindo Especies Ameacadas"); } SetPlayerHealth(playerid, health + (Cooking[playerid][pCWeight4] / 3)); hp = Cooking[playerid][pCWeight4]; format(string, sizeof(string), "* %s come %s.", sendername, Cooking[playerid][pCook4]); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); format(string, sizeof(string), "* Voce comeu %s com %d KGs, e foi adicionado a sua Saúde.",Cooking[playerid][pCook4], hp); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); //AtualizarFome(playerid); PlayerInfo[playerid][pFome] += 17; if(PlayerInfo[playerid][pFome] > 100) PlayerInfo[playerid][pFome] = 100; } case 5: { if(Cooking[playerid][pCookID5] == 16 || Cooking[playerid][pCookID5] == 18) {//Dolphin or Turtle WantedPoints[playerid] += 2; SetPlayerCriminal(playerid,255, "Consumindo Especies Ameacadas"); } SetPlayerHealth(playerid, health + (Cooking[playerid][pCWeight5] / 3)); hp = Cooking[playerid][pCWeight5]; format(string, sizeof(string), "* %s come %s.", sendername, Cooking[playerid][pCook5]); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); format(string, sizeof(string), "* Voce comeu %s com %d KGs, e foi adicionado a sua Saúde.",Cooking[playerid][pCook5], hp); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); //AtualizarFome(playerid); PlayerInfo[playerid][pFome] += 17; if(PlayerInfo[playerid][pFome] > 100) PlayerInfo[playerid][pFome] = 100; } } ClearCookingID(playerid, cookid); } else { SendClientMessage(playerid, COLOR_GREY, " Sua saúde e Alta Suficiente, so pode comer com life 40 !"); return 1; } } return 1;*/ } CMD:cozinhar(playerid, x_nr[]) { if(IsAtCookPlace(playerid)) { if(isnull(x_nr)) { SendClientMessage(playerid, COLOR_WHITE, "USE: /cozinhar [nome]"); SendClientMessage(playerid, COLOR_WHITE, "Nomes disponiveis: Frango, Hamburger, Pizza."); return 1; } new string[128]; if(strcmp(x_nr,"frango",true) == 0) { if(PlayerToPoint(3.0,playerid,369.9786,-4.0798,1001.8589)) {//Cluckin Bell if(Groceries[playerid][pChicken] != 0) { if(Cooking[playerid][pCWeight1] == 0) { format(string, sizeof(string), "Foi cozinhado um Frango"); strmid(Cooking[playerid][pCook1], string, 0, strlen(string), 255); Cooking[playerid][pCWeight1] = Groceries[playerid][pChicken]; Cooking[playerid][pCookID1] = 30; Groceries[playerid][pChickens] = 0; Groceries[playerid][pChicken] = 0; format(string, sizeof(string), "* Voce fez um(a) %s, %d KGs.",Cooking[playerid][pCook1],Cooking[playerid][pCWeight1]); SendClientMessage(playerid,COLOR_LIGHTBLUE, string); } else if(Cooking[playerid][pCWeight2] == 0) { format(string, sizeof(string), "Foi cozinhado um Frango"); strmid(Cooking[playerid][pCook2], string, 0, strlen(string), 255); Cooking[playerid][pCWeight2] = Groceries[playerid][pChicken]; Cooking[playerid][pCookID2] = 30; Groceries[playerid][pChickens] = 0; Groceries[playerid][pChicken] = 0; format(string, sizeof(string), "* Voce fez um(a) %s, %d KGs.",Cooking[playerid][pCook2],Cooking[playerid][pCWeight2]); SendClientMessage(playerid,COLOR_LIGHTBLUE, string); } else if(Cooking[playerid][pCWeight3] == 0) { format(string, sizeof(string), "Foi cozinhado um Frango"); strmid(Cooking[playerid][pCook3], string, 0, strlen(string), 255); Cooking[playerid][pCWeight3] = Groceries[playerid][pChicken]; Cooking[playerid][pCookID3] = 30; Groceries[playerid][pChickens] = 0; Groceries[playerid][pChicken] = 0; format(string, sizeof(string), "* Voce fez um(a) %s, %d KGs.",Cooking[playerid][pCook3],Cooking[playerid][pCWeight3]); SendClientMessage(playerid,COLOR_LIGHTBLUE, string); } else if(Cooking[playerid][pCWeight4] == 0) { format(string, sizeof(string), "Foi cozinhado um Frango"); strmid(Cooking[playerid][pCook4], string, 0, strlen(string), 255); Cooking[playerid][pCWeight4] = Groceries[playerid][pChicken]; Cooking[playerid][pCookID4] = 30; Groceries[playerid][pChickens] = 0; Groceries[playerid][pChicken] = 0; format(string, sizeof(string), "* Voce fez um(a) %s, %d KGs.",Cooking[playerid][pCook4],Cooking[playerid][pCWeight4]); SendClientMessage(playerid,COLOR_LIGHTBLUE, string); } else if(Cooking[playerid][pCWeight5] == 0) { format(string, sizeof(string), "Foi cozinhado um Frango"); strmid(Cooking[playerid][pCook5], string, 0, strlen(string), 255); Cooking[playerid][pCWeight5] = Groceries[playerid][pChicken]; Cooking[playerid][pCookID5] = 30; Groceries[playerid][pChickens] = 0; Groceries[playerid][pChicken] = 0; format(string, sizeof(string), "* Voce fez um(a) %s, %d KGs.",Cooking[playerid][pCook5],Cooking[playerid][pCWeight5]); SendClientMessage(playerid,COLOR_LIGHTBLUE, string); } else { SendClientMessage(playerid, COLOR_GREY, "Voce nao possui espaco na sua lista de cozinha !"); return 1; } } else { SendClientMessage(playerid, COLOR_GREY, " Nao existem Frangos com voce !"); return 1; } } else { SendClientMessage(playerid, COLOR_GREY, "Voce precisa estar no Cluckin Bell para cozinhar isto !"); return 1; } } else if(strcmp(x_nr,"hamburger",true) == 0) { if(PlayerToPoint(3.0,playerid,376.4466,-60.9574,1001.5078) || PlayerToPoint(3.0,playerid,378.1215,-57.4928,1001.5078)) {//Burgershot if(Groceries[playerid][pHamburger] != 0) { if(Cooking[playerid][pCWeight1] == 0) { format(string, sizeof(string), "Hamburger Feito"); strmid(Cooking[playerid][pCook1], string, 0, strlen(string), 255); Cooking[playerid][pCWeight1] = Groceries[playerid][pHamburger]; Cooking[playerid][pCookID1] = 30; Groceries[playerid][pHamburgers] = 0; Groceries[playerid][pHamburger] = 0; format(string, sizeof(string), "* Voce fez um(a) %s, %d KGs.",Cooking[playerid][pCook1],Cooking[playerid][pCWeight1]); SendClientMessage(playerid,COLOR_LIGHTBLUE, string); } else if(Cooking[playerid][pCWeight2] == 0) { format(string, sizeof(string), "Hamburger Feito"); strmid(Cooking[playerid][pCook2], string, 0, strlen(string), 255); Cooking[playerid][pCWeight2] = Groceries[playerid][pHamburger]; Cooking[playerid][pCookID2] = 30; Groceries[playerid][pHamburgers] = 0; Groceries[playerid][pHamburger] = 0; format(string, sizeof(string), "* Voce fez um(a) %s, %d KGs.",Cooking[playerid][pCook2],Cooking[playerid][pCWeight2]); SendClientMessage(playerid,COLOR_LIGHTBLUE, string); } else if(Cooking[playerid][pCWeight3] == 0) { format(string, sizeof(string), "Hamburger Feito"); strmid(Cooking[playerid][pCook3], string, 0, strlen(string), 255); Cooking[playerid][pCWeight3] = Groceries[playerid][pHamburger]; Cooking[playerid][pCookID3] = 30; Groceries[playerid][pHamburgers] = 0; Groceries[playerid][pHamburger] = 0; format(string, sizeof(string), "* Voce fez um(a) %s, %d KGs.",Cooking[playerid][pCook3],Cooking[playerid][pCWeight3]); SendClientMessage(playerid,COLOR_LIGHTBLUE, string); } else if(Cooking[playerid][pCWeight4] == 0) { format(string, sizeof(string), "Hamburger Feito"); strmid(Cooking[playerid][pCook4], string, 0, strlen(string), 255); Cooking[playerid][pCWeight4] = Groceries[playerid][pHamburger]; Cooking[playerid][pCookID4] = 30; Groceries[playerid][pHamburgers] = 0; Groceries[playerid][pHamburger] = 0; format(string, sizeof(string), "* Voce fez um(a) %s, %d KGs.",Cooking[playerid][pCook4],Cooking[playerid][pCWeight4]); SendClientMessage(playerid,COLOR_LIGHTBLUE, string); } else if(Cooking[playerid][pCWeight5] == 0) { format(string, sizeof(string), "Hamburger Feito"); strmid(Cooking[playerid][pCook5], string, 0, strlen(string), 255); Cooking[playerid][pCWeight5] = Groceries[playerid][pHamburger]; Cooking[playerid][pCookID5] = 30; Groceries[playerid][pHamburgers] = 0; Groceries[playerid][pHamburger] = 0; format(string, sizeof(string), "* Voce fez um(a) %s, %d KGs.",Cooking[playerid][pCook5],Cooking[playerid][pCWeight5]); SendClientMessage(playerid,COLOR_LIGHTBLUE, string); } else { SendClientMessage(playerid, COLOR_GREY, "Voce nao tem espaco na sua lista de cozinha !"); return 1; } } else { SendClientMessage(playerid, COLOR_GREY, " Nao existem Hamburgeres com voce !"); return 1; } } else { SendClientMessage(playerid, COLOR_GREY, "Voce precisa estar no Burger Play para fazer isto !"); return 1; } } else if(strcmp(x_nr,"pizza",true) == 0) { if(PlayerToPoint(3.0,playerid,374.1185,-113.6361,1001.4922) || PlayerToPoint(3.0,playerid,377.7971,-113.7668,1001.4922)) {//Well Stacked Pizza if(Groceries[playerid][pPizza] != 0) { if(Cooking[playerid][pCWeight1] == 0) { format(string, sizeof(string), "Pizza cozinhada"); strmid(Cooking[playerid][pCook1], string, 0, strlen(string), 255); Cooking[playerid][pCWeight1] = Groceries[playerid][pHamburger]; Cooking[playerid][pCookID1] = 30; Groceries[playerid][pPizzas] = 0; Groceries[playerid][pPizza] = 0; format(string, sizeof(string), "* Voce fez um(a) %s, %d KGs use: /inventario para ve-la no inventario.",Cooking[playerid][pCook1],Cooking[playerid][pCWeight1]); SendClientMessage(playerid,COLOR_LIGHTBLUE, string); AddItem(playerid, 19580, 1); } else if(Cooking[playerid][pCWeight2] == 0) { format(string, sizeof(string), "Pizza cozinhada"); strmid(Cooking[playerid][pCook2], string, 0, strlen(string), 255); Cooking[playerid][pCWeight2] = Groceries[playerid][pHamburger]; Cooking[playerid][pCookID2] = 30; Groceries[playerid][pPizzas] = 0; Groceries[playerid][pPizza] = 0; format(string, sizeof(string), "* Voce fez um(a) %s, %d KGs use: /inventario para ve-la no inventario.",Cooking[playerid][pCook2],Cooking[playerid][pCWeight2]); SendClientMessage(playerid,COLOR_LIGHTBLUE, string); AddItem(playerid, 19580, 1); } else if(Cooking[playerid][pCWeight3] == 0) { format(string, sizeof(string), "Pizza cozinhada"); strmid(Cooking[playerid][pCook3], string, 0, strlen(string), 255); Cooking[playerid][pCWeight3] = Groceries[playerid][pHamburger]; Cooking[playerid][pCookID3] = 30; Groceries[playerid][pPizzas] = 0; Groceries[playerid][pPizza] = 0; format(string, sizeof(string), "* Voce fez um(a) %s, %d KGs use: /inventario para ve-la no inventario.",Cooking[playerid][pCook3],Cooking[playerid][pCWeight3]); SendClientMessage(playerid,COLOR_LIGHTBLUE, string); AddItem(playerid, 19580, 1); } else if(Cooking[playerid][pCWeight4] == 0) { format(string, sizeof(string), "Pizza cozinhada"); strmid(Cooking[playerid][pCook4], string, 0, strlen(string), 255); Cooking[playerid][pCWeight4] = Groceries[playerid][pHamburger]; Cooking[playerid][pCookID4] = 30; Groceries[playerid][pPizzas] = 0; Groceries[playerid][pPizza] = 0; format(string, sizeof(string), "* Voce fez um(a) %s, %d KGs use: /inventario para ve-la no inventario.",Cooking[playerid][pCook4],Cooking[playerid][pCWeight4]); SendClientMessage(playerid,COLOR_LIGHTBLUE, string); AddItem(playerid, 19580, 1); } else if(Cooking[playerid][pCWeight5] == 0) { format(string, sizeof(string), "Pizza cozinhada"); strmid(Cooking[playerid][pCook5], string, 0, strlen(string), 255); Cooking[playerid][pCWeight5] = Groceries[playerid][pHamburger]; Cooking[playerid][pCookID5] = 30; Groceries[playerid][pPizzas] = 0; Groceries[playerid][pPizza] = 0; format(string, sizeof(string), "* Voce fez um(a) %s, %d KGs use: /inventario para ve-la no inventario.",Cooking[playerid][pCook5],Cooking[playerid][pCWeight5]); SendClientMessage(playerid,COLOR_LIGHTBLUE, string); AddItem(playerid, 19580, 1); } else { SendClientMessage(playerid, COLOR_GREY, "Voce nao tem espaco na sua lista de cozinha !"); return 1; } } else { SendClientMessage(playerid, COLOR_GREY, "Voce nao possui pizzas com voce !"); return 1; } } else { SendClientMessage(playerid, COLOR_GREY, "Voce precisa estar no Well Stack Pizza para cozinhar isto !"); return 1; } } else { SendClientMessage(playerid, COLOR_GREY, " Número de cozinha invalido !"); return 1; } } else { SendClientMessage(playerid, COLOR_GREY, "Voce nao esta nos lugares de cozinha (Cluckin Bell / Burger Play / Well Stacked Pizza)."); return 1; } return 1; } stock ClearGroceries(playerid) { Groceries[playerid][pChickens] = 0; Groceries[playerid][pChicken] = 0; Groceries[playerid][pHamburgers] = 0; Groceries[playerid][pHamburger] = 0; Groceries[playerid][pPizzas] = 0; Groceries[playerid][pPizza] = 0; return 1; } CMD:salvardados(playerid,params[]) { new gstr[256]; if (PlayerInfo[playerid][pAdmin] >= 1338) { format(gstr, 256, "[Banco De Dados] Salvando dados de todas as contas..."); SendClientMessageToAll(COLOR_LIGHTGREEN, gstr); foreach(Player, i) { if(IsPlayerConnected(i)) { OnPlayerSave(i); SaveObjects(i); } } format(gstr, 256, "[Banco De Dados] Todos os dados das contas foram salvos!"); SendClientMessageToAll(COLOR_LIGHTGREEN, gstr); foreach(Player, i) { if(IsPlayerConnected(i)) { SalvarInventario(playerid); SalvarAcessorios(playerid); } } AtualizarFamilias(); } return 1; } CMD:gmx(playerid, params[]) { if (PlayerInfo[playerid][pAdmin] >= 1342) { MensagemDesligou = 1; getdate(year, month, day); new string[128]; format(string, sizeof(string), "AdmCmd: GMX dado por %s",PlayerName(playerid)); CNFLogs("gmxlog", string); foreach(Player, i) { if(IsPlayerConnected(i)) { PlayerLogado[i] = 0; OnPlayerSave(i); SaveObjects(i); LogadoSV[i] = 0; SavePlayerVehicle(i); //gPlayerLogged[i] = 0; } if (lstream[i]) { SvDeleteStream(lstream[i]); lstream[i] = SV_NULL; } } MensagemFormatadaAll(COLOR_LIGHTRED, "[REINICIO] %s reiniciou o servidor, aguarde 10 segundos!", PlayerName(playerid)); GameModeInitExitFunc(); SalvarSalariosEmp(); } else { SendClientMessage(playerid, COLOR_GRAD1, "Voce nao tem autorizacao para dar GMX!"); } return true; } CMD:matoumorreu(playerid, params[]) { if (PlayerInfo[playerid][pAdmin] < 1 && PlayerInfo[playerid][pAdminTemp] < 1) { SendClientMessage(playerid, COLOR_GRAD1, "Voce nao tem permissao para usar esse comando!"); return 1; } new string[MAX_STRING]; if(!gPlayerLogged[playerid])return SendClientMessage(playerid, 0xff6347FF, "* Voce nao esta conectado."); new id; if(sscanf(params, "u", id)) { SendClientMessage(playerid, COLOR_GRAD1, "USE: /matoumorreu [ID do Player]"); return 1; } if(!IsPlayerConnected(id))return SendClientMessage(playerid, COLOR_GRAD1, "O jogador esta offline !"); MEGAString[0] = EOS; format(string, sizeof string, " {FFFFFF}Jogador: {FFFF00}%s[ID:%d]\n\n", NomePlayer(id),id); strcat(MEGAString, string); strcat(MEGAString, "{FFFFFF}|___________ {E60000}Morreu Para:{FFFFFF} ____________|\n"); format(string, sizeof string, " {FFFF00}1{FFFFFF}- %s\n", Morreu1[id]); strcat(MEGAString, string); format(string, sizeof string, " {FFFF00}2{FFFFFF}- %s\n", Morreu2[id]); strcat(MEGAString, string); format(string, sizeof string, " {FFFF00}3{FFFFFF}- %s\n", Morreu3[id]); strcat(MEGAString, string); format(string, sizeof string, " {FFFF00}4{FFFFFF}- %s\n", Morreu4[id]); strcat(MEGAString, string); format(string, sizeof string, " {FFFF00}5{FFFFFF}- %s\n", Morreu5[id]); strcat(MEGAString, string); strcat(MEGAString, "{FFFFFF}|___________ {21DD00}Ele Matou: {FFFFFF} ____________|\n"); format(string, sizeof string, " {FFFF00}1{FFFFFF}- %s\n", Matou1[id]); strcat(MEGAString, string); format(string, sizeof string, " {FFFF00}2{FFFFFF}- %s\n", Matou2[id]); strcat(MEGAString, string); format(string, sizeof string, " {FFFF00}3{FFFFFF}- %s\n", Matou3[id]); strcat(MEGAString, string); format(string, sizeof string, " {FFFF00}4{FFFFFF}- %s\n", Matou4[id]); strcat(MEGAString, string); format(string, sizeof string, " {FFFF00}5{FFFFFF}- %s\n", Matou5[id]); strcat(MEGAString, string); ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, " Matou/Morreu", MEGAString, "OK",""); return 1; } stock ResultadoDM(playerid, acusado) { new result[75]; if(DMSystem[playerid][acusado] && DMSystem[acusado][playerid]) result = "{FFFF00}[OS DOIS SE AGREDIRAM]."; else if(DMSystem[playerid][acusado] && !DMSystem[acusado][playerid]) result = "{00FFFF}[APENAS O DENUNCIANTE AGREDIU]."; else if(!DMSystem[playerid][acusado] && DMSystem[acusado][playerid]) result = "{00FF00}[APENAS O ACUSADO AGREDIU]."; else result = "{FFFFFF}[NINGUeM SE AGREDIU]."; return result; } stock IsPlayerInCar(playerid) //By Sacky { if(IsPlayerInAnyVehicle(playerid)) { new vehicleid = GetPlayerVehicleID(playerid); new vehicleclass = GetVehicleModel(vehicleid); switch(vehicleclass) { case 448:return 0; case 461:return 0; case 462:return 0; case 463:return 0; case 468:return 0; case 521:return 0; case 522:return 0; case 523:return 0; case 581:return 0; case 586:return 0; case 481:return 0; case 509:return 0; case 510:return 0; case 430:return 0; case 446:return 0; case 452:return 0; case 453:return 0; case 454:return 0; case 472:return 0; case 473:return 0; case 484:return 0; case 493:return 0; case 595:return 0; case 417:return 0; case 425:return 0; case 447:return 0; case 465:return 0; case 469:return 0; case 487:return 0; case 488:return 0; case 497:return 0; case 501:return 0; case 548:return 0; case 563:return 0; case 406:return 0; case 444:return 0; case 556:return 0; case 557:return 0; case 573:return 0; case 460:return 0; case 464:return 0; case 476:return 0; case 511:return 0; case 512:return 0; case 513:return 0; case 519:return 0; case 520:return 0; case 539:return 0; case 553:return 0; case 577:return 0; case 592:return 0; case 593:return 0; case 471:return 0; } return 1; } return 0; } //=====================================alarme===================== CMD:alarme(playerid, params[]) { if(!IsPlayerInAnyVehicle(playerid)) { SendClientMessage(playerid,COLOR_GREY,"Voce precisa estar em um veiculo!"); return 1; } new engine, lights, alarm, doors, bonnet, boot, objective,vehicleid; vehicleid = GetPlayerVehicleID(playerid); GetVehicleParamsEx(vehicleid, engine, lights, alarm, doors, bonnet, boot, objective); if(alarm) { SetVehicleParamsEx(vehicleid, engine, lights, VEHICLE_PARAMS_OFF, doors, bonnet, boot, objective);SetPVarInt(playerid,"Alarm",0); SendClientMessage(playerid, COLOR_WHITE, "Alarme do veiculo {E31919}Desligado"); } else if(!alarm) { SetVehicleParamsEx(vehicleid, engine, lights, VEHICLE_PARAMS_ON, doors, bonnet, boot, objective);SetPVarInt(playerid,"Alarm",1); SendClientMessage(playerid, COLOR_WHITE, "Alarme do veiculo {2F991A}Ligado"); } return true; } CMD:localizador(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] < 1337) { SendClientMessage(playerid, COLOR_GRAD1, LEVELADM); return 1; } new engine, lights, alarm, doors, bonnet, boot, objective,vehicleid; vehicleid = GetPlayerVehicleID(playerid); GetVehicleParamsEx(vehicleid, engine, lights, alarm, doors, bonnet, boot, objective); if(GetPVarInt(playerid,"Objective") == 1) { SetVehicleParamsEx(vehicleid, engine, lights, alarm, doors, bonnet, boot, VEHICLE_PARAMS_OFF); SetPVarInt(playerid,"Objective",0); SendClientMessage(playerid, 0xFFFFFFAA, "Marca {E31919}Desativada!"); } else if(GetPVarInt(playerid,"Objective") == 0) { SetVehicleParamsEx(vehicleid, engine, lights, alarm, doors, bonnet, boot, VEHICLE_PARAMS_ON); SetPVarInt(playerid,"Objective",1); SendClientMessage(playerid, 0xFFFFFFAA, "Marca {2F991A}Ativada!"); } return true; } CMD:farol(playerid, params[]) { if(!IsPlayerInAnyVehicle(playerid)) { SendClientMessage(playerid,COLOR_GREY,"Voce precisa estar em um veiculo!"); return 1; } new engine, lights, alarm, doors, bonnet, boot, objective,vehicleid; vehicleid = GetPlayerVehicleID(playerid); GetVehicleParamsEx(vehicleid, engine, lights, alarm, doors, bonnet, boot, objective); if(GetPVarInt(playerid,"Lights") == 1) { SetVehicleParamsEx(vehicleid, engine, VEHICLE_PARAMS_OFF, alarm, doors, bonnet, boot, objective); SetPVarInt(playerid,"Lights",0); SendClientMessage(playerid, COLOR_WHITE, "Farol do veiculo {E31919}Desligado"); } else if(GetPVarInt(playerid,"Lights") == 0) { SetVehicleParamsEx(vehicleid, engine, VEHICLE_PARAMS_ON, alarm, doors, bonnet, boot, objective); SetPVarInt(playerid,"Lights",1); SendClientMessage(playerid, COLOR_WHITE, "Farol do veiculo {2F991A}Ligado"); } return true; } CMD:capo(playerid, params[]) { if(!IsPlayerInAnyVehicle(playerid)) { SendClientMessage(playerid,COLOR_GREY,"Voce precisa estar em um veiculo!"); return 1; } new engine, lights, alarm, doors, bonnet, boot, objective,vehicleid; vehicleid = GetPlayerVehicleID(playerid); GetVehicleParamsEx(vehicleid, engine, lights, alarm, doors, bonnet, boot, objective); if(bonnet) { SetVehicleParamsEx(vehicleid, engine, lights, alarm, doors, VEHICLE_PARAMS_OFF, boot, objective); SendClientMessage(playerid, COLOR_WHITE, "Capo do veiculo {E31919}Fechado"); } else if(!bonnet) { SetVehicleParamsEx(vehicleid, engine, lights, alarm, doors, VEHICLE_PARAMS_ON, boot, objective); SendClientMessage(playerid, COLOR_WHITE, "Capo do veiculo {2F991A}Aberto"); } return true; } CMD:portamalas(playerid, params[]) { if(!IsPlayerInAnyVehicle(playerid)) { SendClientMessage(playerid,COLOR_GREY,"Voce precisa estar em um veiculo!"); return 1; } new engine, lights, alarm, doors, bonnet, boot, objective,vehicleid; vehicleid = GetPlayerVehicleID(playerid); GetVehicleParamsEx(vehicleid, engine, lights, alarm, doors, bonnet, boot, objective); if(boot) { SetVehicleParamsEx(vehicleid, engine, lights, alarm, doors, bonnet, VEHICLE_PARAMS_OFF, objective); SendClientMessage(playerid, COLOR_WHITE, "Porta-malas {E31919}fechado"); } else if(!boot) { SetVehicleParamsEx(vehicleid, engine, lights, alarm, doors, bonnet, VEHICLE_PARAMS_ON, objective); SendClientMessage(playerid, COLOR_WHITE, "Porta-malas {2F991A}Aberto"); } return true; } CMD:bug(playerid, params[]) { SendClientMessage(playerid, COLOR_WHITE, "OBS: Isto e muito importante e seu nick sera gravado no arquivo."); SendClientMessage(playerid, COLOR_WHITE, "So escreva se for realmente um BUG! ou sera punido pelos responsaveis!"); ShowPlayerDialog(playerid, 8912, DIALOG_STYLE_INPUT, "Escreva o BUG","Escreva um pouco sobre o BUG. (tente nao usar acentos)\ . .","Pronto","Cancelar"); return true; } CMD:rbug(playerid, result[]) { if(!strlen(result)) { return true; } getdate(Ano, Mes, Dia); gettime(Hora, Minuto, Segundo); SendClientMessage(playerid, COLOR_WHITE, "OK, muito obrigado por relatar este BUG, o servidor agradece!!"); new File:filebug; MEGAString[0] = EOS; filebug = fopen(Pasta_BUGS,io_append); format(MEGAString, 256, "//>================= [ %02d/%02d/%04d as %02d:%02d:%02d ] =================<\n\n//Por: %s\nBUG: %s\n\n", Dia, Mes, Ano, Hora, Minuto, Segundo, PlayerName(playerid), result); fwrite(filebug,MEGAString); fclose(filebug); SendClientMessage(playerid, COLOR_LIGHTBLUE, "BUG salvo com sucesso!"); return true; } CMD:sugestao(playerid, result[]) { if(isnull(result)) { return SendClientMessage(playerid, COLOR_LIGHTBLUE, "USE: /sugestao [SUA SUGESTAO]"); } new string[200]; getdate(Ano, Mes, Dia); gettime(Hora, Minuto, Segundo); SendClientMessage(playerid, COLOR_WHITE, "OK, muito obrigado por dar uma sugestao, o servidor agradece!!"); new File:filebug; MEGAString[0] = EOS; filebug = fopen(Pasta_SUG,io_append); format(MEGAString, 256, "//>================= [ %02d/%02d/%04d as %02d:%02d:%02d ] =================<\n\n//Por: %s\nSugestao: %s\n\n", Dia, Mes, Ano, Hora, Minuto, Segundo, PlayerName(playerid), result); fwrite(filebug,MEGAString); fclose(filebug); format(string, sizeof string, "[Sugestao de %s]: ''%s''", NomePlayer(playerid), result); ABroadCast(COLOR_GREEN, string, 1); return true; } //======================motor=========== CMD:mercadorials(playerid, params[]) { if(PlayerInfo[playerid][pEmprego] != 4) return SendClientMessage(playerid, COLOR_GREY, "Voce nao e um Vendedor de produtos"); if(var1[playerid] != 0) return SendClientMessage(playerid, COLOR_GREY, "Voce deve esperar 5 minutos pra entregar mais mercadorias"); if(TruckMission[playerid] != 0) return SendClientMessage(playerid, COLOR_GREY, "Voce deve entregar a mercadoria primeiro"); if(!PlayerToPoint(60.0 ,playerid, 2500.7869,-2081.3853,13.5469)) return SendClientMessage(playerid, COLOR_GREY, "Voce precisa estar na HQ pra pegar mercadoria"); SetPlayerCheckpoint(playerid, 1756.1359,-2064.8230,13.2708, 8.0); TruckMission[playerid] = 1; SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Entregue a mercadoria no checkpoint marcado no mapa."); return true; } CMD:mercadorialv(playerid, params[]) { if(PlayerInfo[playerid][pEmprego] != 4) return SendClientMessage(playerid, COLOR_GREY, "Voce nao e um Vendedor de produtos{"); if(var1[playerid] != 0) return SendClientMessage(playerid, COLOR_GREY, "Voce deve esperar o tempo de recarga pra entregar mais mercadorias"); if(TruckMission[playerid] != 0) return SendClientMessage(playerid, COLOR_GREY, "Voce deve entregar a mercadoria primeiro"); if(!PlayerToPoint(60.0 ,playerid, 2500.7869,-2081.3853,13.5469)) return SendClientMessage(playerid, COLOR_GREY, "Voce precisa estar na HQ pra pegar mercadoria"); SetPlayerCheckpoint(playerid, 2054.3250,1919.5562,11.8507, 8.0); TruckMission[playerid] = 3; SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Entregue a mercadoria no checkpoint marcado no mapa."); return true; } CMD:mercadoriasf(playerid, params[]) { if(PlayerInfo[playerid][pEmprego] != 4) return SendClientMessage(playerid, COLOR_GREY, "Voce nao e um Vendedor de produtos"); if(var1[playerid] != 0) return SendClientMessage(playerid, COLOR_GREY, "Voce deve esperar o tempo de recarga pra entregar mais mercadorias"); if(TruckMission[playerid] != 0) return SendClientMessage(playerid, COLOR_GREY, "Voce deve entregar a mercadoria primeiro"); if(!PlayerToPoint(60.0 ,playerid, 2500.7869,-2081.3853,13.5469)) return SendClientMessage(playerid, COLOR_GREY, "Voce precisa estar na HQ pra pegar mercadoria"); SetPlayerCheckpoint(playerid, -1729.3041,-123.8946,3.2335, 8.0); TruckMission[playerid] = 2; SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Entregue a mercadoria no checkpoint marcado no mapa."); return true; } stock TemVagaHelper() { new str[75]; for(new i=1; i != MAX_HELPERS; i++) { format(str, sizeof str, "Vaga%d", i); if(!strcmp(DOF2_GetString(Pasta_HelpersList, str), "Ninguem", true)) return 1; } return 0; } // Avaliacao ADM by: The___::____Heart stock SetVagaHelper(name[], nivel) { RemoveVagaHelper(name); new str[75]; for(new i=1; i != MAX_HELPERS; i++) { format(str, sizeof str, "Vaga%d", i); if(!strcmp(DOF2_GetString(Pasta_HelpersList, str), "Ninguem", true)) { DOF2_SetString(Pasta_HelpersList, str, name); format(str, sizeof str, "Nivel%d", i); DOF2_SetInt(Pasta_HelpersList, str, nivel); DOF2_SaveFile(); return 1; } } return 1; } stock RemoveVagaHelper(name[]) { new str[75]; for(new i=1; i != MAX_HELPERS; i++) { format(str, sizeof str, "Vaga%d", i); if(!strcmp(DOF2_GetString(Pasta_HelpersList, str), name, true)) { DOF2_SetString(Pasta_HelpersList, str, "Ninguem"); format(str, sizeof str, "Nivel%d", i); DOF2_SetInt(Pasta_HelpersList, str, 0); DOF2_SaveFile(); } } return 1; } stock RemoveVagaHelperId(idvaga) { new str[75]; format(str, sizeof str, "Vaga%d", idvaga); DOF2_SetString(Pasta_HelpersList, str, "Ninguem"); format(str, sizeof str, "Nivel%d", idvaga); DOF2_SetInt(Pasta_HelpersList, str, 0); DOF2_SaveFile(); return 1; } stock ShowHelperList(playerid) { new string[128], str[75]; MEGAString[0]=EOS; strcat(MEGAString, "{FFFF00}Vaga:\t{FFFFFF}Nick:\t{FFFF00}Nivel:\n"); for(new i=1; i != MAX_HELPERS; i++) { format(str, sizeof str, "Vaga%d", i); format(string, sizeof string, "%02d:\t{FFFFFF}%s\t", i, DOF2_GetString(Pasta_HelpersList, str)); strcat(MEGAString, string); format(str, sizeof str, "Nivel%d", i); format(string, sizeof string, "{FFFFFF}%d\n", DOF2_GetInt(Pasta_HelpersList, str)); strcat(MEGAString, string); } ShowPlayerDialog(playerid, 8724, DIALOG_STYLE_LIST, "{FFFF00}Lista de Helpers", MEGAString, "Informado",""); return 1; } stock TemVagaAdmTemp() { new str[75]; for(new i=1; i != MAX_ADMINS; i++) { format(str, sizeof str, "Vaga%d", i); if(!strcmp(DOF2_GetString(Pasta_AdminsListTemp, str), "Ninguem", true)) return 1; } return 0; } stock SetVagaAdminTemp(name[], nivel) { RemoveVagaAdminTemp(name); new str[75]; for(new i=1; i != MAX_ADMINS; i++) { format(str, sizeof str, "Vaga%d", i); if(!strcmp(DOF2_GetString(Pasta_AdminsListTemp, str), "Ninguem", true)) { DOF2_SetString(Pasta_AdminsListTemp, str, name); format(str, sizeof str, "Nivel%d", i); DOF2_SetInt(Pasta_AdminsListTemp, str, nivel); DOF2_SaveFile(); return 1; } } return 1; } stock RemoveVagaAdmin(name[]) { new str[75]; for(new i=1; i != MAX_ADMINS; i++) { format(str, sizeof str, "Vaga%d", i); if(!strcmp(DOF2_GetString(Pasta_AdminsList, str), name, true)) { DOF2_SetString(Pasta_AdminsList, str, "Ninguem"); format(str, sizeof str, "Nivel%d", i); DOF2_SetInt(Pasta_AdminsList, str, 0); DOF2_SaveFile(); } } return 1; } stock RemoveVagaAdminTemp(name[]) { new str[75]; for(new i=1; i != MAX_ADMINS; i++) { format(str, sizeof str, "Vaga%d", i); if(!strcmp(DOF2_GetString(Pasta_AdminsListTemp, str), name, true)) { DOF2_SetString(Pasta_AdminsListTemp, str, "Ninguem"); format(str, sizeof str, "Nivel%d", i); DOF2_SetInt(Pasta_AdminsListTemp, str, 0); DOF2_SaveFile(); } } return 1; } stock RemoveVagaAdminTempId(idvaga) { new str[75]; format(str, sizeof str, "Vaga%d", idvaga); DOF2_SetString(Pasta_AdminsListTemp, str, "Ninguem"); format(str, sizeof str, "Nivel%d", idvaga); DOF2_SetInt(Pasta_AdminsListTemp, str, 0); DOF2_SaveFile(); return 1; } //---------------------===========----------------------- stock TemVagaAdm() { new str[75]; for(new i=1; i != MAX_ADMINS; i++) { format(str, sizeof str, "Vaga%d", i); if(!strcmp(DOF2_GetString(Pasta_AdminsList, str), "Ninguem", true)) return 1; } return 0; } stock SetVagaAdmin(name[], nivel) { RemoveVagaAdmin(name); new str[75]; for(new i=1; i != MAX_ADMINS; i++) { format(str, sizeof str, "Vaga%d", i); if(!strcmp(DOF2_GetString(Pasta_AdminsList, str), "Ninguem", true)) { DOF2_SetString(Pasta_AdminsList, str, name); format(str, sizeof str, "Nivel%d", i); DOF2_SetInt(Pasta_AdminsList, str, nivel); DOF2_SaveFile(); return 1; } } return 1; } stock ConviteInfoFamilia(idx, name[]) { RemoveVagaFamilia(idx, name); new str[75]; new str2[75]; format(str2, 75, "Familias/Familia%d.ini", idx); for(new i=1; i != 10; i++) { format(str, sizeof str, "Membro%d", i); if(!strcmp(DOF2_GetString(str2, str), "Ninguem", true)) { DOF2_SetString(str2, str, name); DOF2_SaveFile(); return 1; } } return 1; } stock RemoveVagaFamilia(fid, const name[]) { new str[75]; new str2[75]; format(str2, 75, "Familias/Familia%d.ini", fid); for(new i=1; i != 10; i++) { format(str, sizeof str, "Membro%d", i); if(!strcmp(DOF2_GetString(str2, str), name, true)) { DOF2_SetString(str2, str, "Ninguem"); DOF2_SaveFile(); } } return 1; } stock TemVagaFamilia(idx) { new str2[75]; new str1[75]; format(str1, 75, "Familias/Familia%d.ini", idx); for(new i=1; i != 10; i++) { format(str2, sizeof str2, "Membro%d", i); if(!strcmp(DOF2_GetString(str1, str2), "Ninguem", true)) return 1; } return 0; } stock RemoveVagaAdminId(idvaga) { new str[75]; format(str, sizeof str, "Vaga%d", idvaga); DOF2_SetString(Pasta_AdminsList, str, "Ninguem"); format(str, sizeof str, "Nivel%d", idvaga); DOF2_SetInt(Pasta_AdminsList, str, 0); DOF2_SaveFile(); return 1; } stock ShowAdminList(playerid) { new string[128], str[75]; new gstr[100]; new StrAdm[5000]; strcat(StrAdm, "{A9A9A9}Vaga / {A9A9A9}Nick / Cargo\tUltimo Login\tNota \t Atendimentos\n"); for(new i=1; i != MAX_ADMINS; i++) { format(str, sizeof str, "Vaga%d", i); if(!strcmp("Ninguem", DOF2_GetString(Pasta_AdminsList, str), true)) { format(string, sizeof string, "{A9A9A9}[VAGA - %02d]: {D3D3D3}Ninguém\n", i); strcat(StrAdm, string); } else { format(string, sizeof string, "{A9A9A9}[VAGA - %02d]: {FFFFFF}%s", i, DOF2_GetString(Pasta_AdminsList, str)); strcat(StrAdm, string); format(str, sizeof str, "Nivel%d", i); format(gstr, sizeof gstr, " *%d* (%s)\t", DOF2_GetInt(Pasta_AdminsList, str), NomeLevelAdminCor(DOF2_GetInt(Pasta_AdminsList, str))); strcat(StrAdm, gstr); format(str, sizeof str, "Vaga%d", i); format(string, sizeof string, "{00BFFF}%s\t%s", GetULAdmin(DOF2_GetString(Pasta_AdminsList, str)), GetNotaAdmin(DOF2_GetString(Pasta_AdminsList, str))); strcat(StrAdm, string); format(gstr, sizeof gstr, "\t%s\n",GetAtendimentosAdmin(DOF2_GetString(Pasta_AdminsList, str))); strcat(StrAdm, gstr); } } ShowPlayerDialog(playerid, 8724, DIALOG_STYLE_TABLIST_HEADERS, "{A9A9A9}Lista de Administradores", StrAdm, "Informado",""); return 1; } stock NomeLevelAdminCor(level) { new adm_lvl_name[30]; switch(level) { case 1: adm_lvl_name = "{00BFFF}Aprendiz{FFFFFF}"; case 2: adm_lvl_name = "{00BFFF}Estagiário{FFFFFF}"; case 3: adm_lvl_name = "{00BFFF}Moderador{FFFFFF}"; case 4: adm_lvl_name = "{00BFFF}Administrador{FFFFFF}"; case 1337: adm_lvl_name = "{00BFFF}Master{FFFFFF}"; case 1338: adm_lvl_name = "{00BFFF}Supervisor{FFFFFF}"; case 1339: adm_lvl_name = "{FF1493}Gerente{FFFFFF}"; case 1340: adm_lvl_name = "{FF1493}Diretor{FFFFFF}"; case 1341: adm_lvl_name = "{FF1493}Dono{FFFFFF}"; case 1342: adm_lvl_name = "{FF1493}Fundador{FFFFFF}"; } return ( adm_lvl_name ); } stock GetULAdmin(const Nome[]) { new str[50]; new gstr[120]; format(str, sizeof str, Pasta_Contas, Nome); format(gstr, 120, "%02d/%02d/%04d", DOF2_GetInt(str, "ULDia"), DOF2_GetInt(str, "ULMes"), DOF2_GetInt(str, "ULAno")); return gstr; } stock GetNotaAdmin(const Nome[]) { new str[50]; new string[50]; new gstr[100]; format(str, sizeof str, Pasta_Contas, Nome); format(string, sizeof string, "%d.%d", DOF2_GetInt(str, "Avaliacoes"), DOF2_GetInt(str, "AvaFinal")); format(gstr, 256, "%s", string); return gstr; } stock GetAtendimentosAdmin(const Nome[]) { new gstr[100]; new str[50]; new string[50]; format(str, sizeof str, Pasta_Contas, Nome); format(string, sizeof string, "%d", DOF2_GetInt(str, "Atendimentos")); format(gstr, 256, "%s", string); return gstr; } stock ShowAdminListTemp(playerid) { new string[128], str[75]; MEGAString[0]=EOS; strcat(MEGAString, "{FFFF00}Vaga:\t{FFFFFF}Nick:\t{FFFF00}Nivel:\n"); for(new i=1; i != MAX_ADMINS; i++) { format(str, sizeof str, "Vaga%d", i); format(string, sizeof string, "{FFFF00}%02d:\t{FFFFFF}%s\t", i, DOF2_GetString(Pasta_AdminsListTemp, str)); strcat(MEGAString, string); format(str, sizeof str, "Nivel%d", i); format(string, sizeof string, "{FFFFFF}%d\n", DOF2_GetInt(Pasta_AdminsListTemp, str)); strcat(MEGAString, string); } ShowPlayerDialog(playerid, 8724, DIALOG_STYLE_LIST, "{FFFF00}Lista de Administradores Temporarios", MEGAString, "Informado",""); return 1; } stock AddAdmin(const Nome[], nivel) { new stradmin[50]; format(stradmin, sizeof stradmin, Pasta_Admins, Nome); if(!DOF2_FileExists(stradmin))DOF2_CreateFile(stradmin); DOF2_SetInt(stradmin, "AdminNivel", nivel); return true; } stock RemoverAdmin(const Nome[]) { new stradmin[50]; format(stradmin, sizeof stradmin, Pasta_Admins, Nome); if(DOF2_FileExists(stradmin))DOF2_RemoveFile(stradmin); return true; } stock AddAdminTemp(const Nome[], nivel) { new stradmin[50]; format(stradmin, sizeof stradmin, Pasta_AdminsTemp, Nome); if(!DOF2_FileExists(stradmin))DOF2_CreateFile(stradmin); DOF2_SetInt(stradmin, "AdminTemp", nivel); return true; } stock RemoverAdminTemp(const Nome[]) { new stradmin[50]; format(stradmin, sizeof stradmin, Pasta_AdminsTemp, Nome); if(DOF2_FileExists(stradmin))DOF2_RemoveFile(stradmin); return true; } //------------------- Fallout ---------------------- stock fallResetPlayer(playerid) { SetPVarInt(playerid, "inFall", 0); SetPlayerPos(playerid, SBizzInfo[25][sbEntranceX],SBizzInfo[25][sbEntranceY],SBizzInfo[25][sbEntranceZ]); SetPlayerVirtualWorld(playerid, 0); SetPlayerHealth(playerid, 100.0); } //----------------------- Corrida ----------------------------- CMD:criarcorrida(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] < 1338)return SendClientMessage(playerid, COLOR_GRAD1, LEVELADM); if(IniciouCorrida)return SendClientMessage(playerid, COLOR_GRAD1, " Uma corrida ja foi iniciada, use: /destruircorrida primeiro."); new carro; if(sscanf(params, "d", carro))return SendClientMessage(playerid, COLOR_GRAD1, "USE: /criarcorrida [modelocarro (400 - 600)]"); VeiculoCorrida = carro; GanhadoresCorrida = 0; CPsCorrida = 0; IniciouCorrida = false; InteriorCorrida = GetPlayerInterior(playerid); WorldCorrida = GetPlayerVirtualWorld(playerid); for(new i; i < MAX_PLAYERS_IN_CORRIDA; i++)CarroCorrida[i] = 65356; corridainiciada = false; SendClientMessage(playerid, COLOR_GRAD1, "Voce criou uma corrida, use: /ajudacorrida para saber os comandos."); return true; } CMD:veiculocorrida(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] < 1338)return SendClientMessage(playerid, COLOR_GRAD1, LEVELADM); if(IniciouCorrida)return SendClientMessage(playerid, COLOR_GRAD1, " Uma corrida ja foi iniciada, use: /destruircorrida primeiro."); new carro, string[74]; if(sscanf(params, "d", carro))return SendClientMessage(playerid, COLOR_GRAD1, "USE: /veiculocorrida [modelocarro (400 - 600)]"); VeiculoCorrida = carro; format(string, sizeof string, "Voce definiu o veiculo para: %d.", carro); SendClientMessage(playerid, COLOR_GRAD1, string); return true; } CMD:ajudacorrida(playerid) { if(PlayerInfo[playerid][pAdmin] < 1338)return SendClientMessage(playerid, COLOR_GRAD1, LEVELADM); new string[128]; MEGAString[0] = EOS; strcat(MEGAString, "{00FFFF}|__________ Corrida Comandos __________|\n"); strcat(MEGAString, "{00FFFF}=> /criarcorrida {FFFFFF}Cria uma corrida.\n"); format(string, sizeof string, "{00FFFF}=> /plgd [0 - %d] {FFFFFF}Define as posicões de largada.\n", MAX_PLAYERS_IN_CORRIDA-1); strcat(MEGAString, string); strcat(MEGAString, "{00FFFF}=> /addracepoint {FFFFFF}Adiciona um checkpoint para a corrida.\n"); strcat(MEGAString, "{00FFFF}=> /iniciarcorrida {FFFFFF}Inicia uma corrida criada.\n"); strcat(MEGAString, "{00FFFF}=> /veiculocorrida [modelo] {FFFFFF}Define o modelo do veiculo da corrida.\n"); strcat(MEGAString, "{00FFFF}=> /largada [segundos] {FFFFFF}Define os segundos para a corrida iniciar.\n"); strcat(MEGAString, "{00FFFF}=> /destruircorrida {FFFFFF}Destroi a corrida.\n"); strcat(MEGAString, "{00FFFF}=> /salvarcorrida [0 - 10]{FFFFFF}Salva a corrida em um arquivo.\n"); strcat(MEGAString, "{00FFFF}=> /carregarcorrida [0 - 10]{FFFFFF}Carrega a corrida de um arquivo.\n"); strcat(MEGAString, "{00FFFF}___________________________________________"); ShowPlayerDialog(playerid, 4707, DIALOG_STYLE_LIST, "AJUDA CORRIDA", MEGAString, "Sair", "Sair"); return 1; } CMD:plgd(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] < 1338)return SendClientMessage(playerid, COLOR_GRAD1, LEVELADM); new id; if(sscanf(params, "d", id))return SendClientMessage(playerid, COLOR_GRAD1, "USE: /plgd [startid]"); if(id < 0 || id > MAX_PLAYERS_IN_CORRIDA-1) { new string[50]; format(string, sizeof string, "Posicoes de Largada de 0 a %d.", MAX_PLAYERS_IN_CORRIDA-1); SendClientMessage(playerid, 0x6666CCFF, string); return 1; } new Float:x, Float:y, Float:z, Float:a; GetPlayerPos(playerid, x, y, z); if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT)GetPlayerFacingAngle(playerid, a); else if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER)GetVehicleZAngle(GetPlayerVehicleID(playerid), a); PosCorrida[id][0] = x; PosCorrida[id][1] = y; PosCorrida[id][2] = z; PosCorrida[id][3] = a; SendClientMessage(playerid, COLOR_YELLOW2, "Start Point adicionado!"); return true; } CMD:addracepoint(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] < 1338)return SendClientMessage(playerid, COLOR_GRAD1, LEVELADM); if((CPsCorrida+1) >= MAX_CPS_CORRIDA)return SendClientMessage(playerid, 0x6666CCFF, "O limite de Checkpoints da corrida foi alcancado."); CPsCorrida ++; new Float:x, Float:y, Float:z, string[50]; GetPlayerPos(playerid, x, y, z); CPCorrida[CPsCorrida][0] = x; CPCorrida[CPsCorrida][1] = y; CPCorrida[CPsCorrida][2] = z; format(string, sizeof string, "Race Point %d adicionado", CPsCorrida); SendClientMessage(playerid, COLOR_YELLOW2, string); return true; } CMD:iniciarcorrida(playerid, params[]) { new premio[4]; if(PlayerInfo[playerid][pAdmin] < 1338)return SendClientMessage(playerid, COLOR_GRAD1, LEVELADM); if(corridainiciada)return SendClientMessage(playerid, COLOR_GRAD1, "Uma corrida ja foi iniciada, primeiro use: /destruircorrida."); if(sscanf(params, "ddd", premio[1], premio[2], premio[3])) return SendClientMessage(playerid, COLOR_GRAD1, "USE: /iniciarcorrida [Premio 1ºLugar] [Premio 2ºLugar] [Premio 3ºLugar]"); if(GetPlayerMoney(playerid) < (premio[1]+premio[2]+premio[3])) return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao tem dinheiro suficiente para pagar os premios."); if(premio[1] < 10000 || premio[2] < 10000 || premio[3] < 10000) return SendClientMessage(playerid, COLOR_GRAD1, "Os premios devem ficar acima de 10000."); PremioCorrida[1] = premio[1]; PremioCorrida[2] = premio[2]; PremioCorrida[3] = premio[3]; typeevento = 1; new string[128]; SendClientMessageToAll(TEAM_BALLAS_COLOR, "_______________________________________________________________________________________________________________"); format(string, sizeof string, "Corrida: O admin %s iniciou uma corrida, va ate a empresa de eventos para participar!!", NomePlayer(playerid)); SendClientMessageToAll(TEAM_BALLAS_COLOR, string); format(string, sizeof string, "Premio 1º Lugar: R$%s", ConvertMoney(premio[1])); SendClientMessageToAll(TEAM_BALLAS_COLOR, string); format(string, sizeof string, "Premio 2º Lugar: R$%s", ConvertMoney(premio[2])); SendClientMessageToAll(TEAM_BALLAS_COLOR, string); format(string, sizeof string, "Premio 3º Lugar: R$%s", ConvertMoney(premio[3])); SendClientMessageToAll(TEAM_BALLAS_COLOR, string); SendClientMessageToAll(TEAM_BALLAS_COLOR, "_______________________________________________________________________________________________________________"); corridainiciada = true; GanhadoresCorrida = 0; GiveDinheiro(playerid, -(premio[1]+premio[2]+premio[3])); return true; } CMD:largada(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] < 1338)return SendClientMessage(playerid, COLOR_GRAD1, LEVELADM); if(IniciouCorrida)return SendClientMessage(playerid, COLOR_GRAD1, "Ja foi dada a largada para esta corrida."); if(!corridainiciada)return SendClientMessage(playerid, COLOR_GRAD1, "Nenhuma corrida iniciada."); new tempo; if(sscanf(params, "d", tempo))return SendClientMessage(playerid, COLOR_GRAD1, "USE: /largada [segundos]"); if(CountDownCorrida > 0)KillTimer(TimerCountDown); CountDownCorrida = tempo; if(tempo < 20 || tempo > 120) { return SendClientMessage(playerid, COLOR_GRAD1, "Segundos de 20 - 120"); } TimerCountDown = SetTimer("CountDownRace", 1000, true); new Stri[100]; format(Stri, sizeof Stri, "O admin %s vai iniciar a corrida em %d segundos, os corredores se preparem!", NomePlayer(playerid), tempo); SendClientMessageToAll(COLOR_YELLOW, Stri); return true; } CMD:salvarcorrida(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] < 1338)return SendClientMessage(playerid, COLOR_GRAD1, LEVELADM); new id; if(sscanf(params, "d", id))return SendClientMessage(playerid, COLOR_GRAD1, "USE: /salvarcorrida [0 - 10]"); if(id < 0 || id > 10) return SendClientMessage(playerid, 0x6666CCFF, "USE: de 1 a 10."); new string[50]; SaveCorrida(id); format(string, sizeof string, "Corrida Salva com sucesso na Posicao %d.", id); SendClientMessage(playerid, COLOR_YELLOW, string); return true; } CMD:carregarcorrida(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] < 1338)return SendClientMessage(playerid, COLOR_GRAD1, LEVELADM); new id; if(sscanf(params, "d", id))return SendClientMessage(playerid, COLOR_GRAD1, "USE: /carregarcorrida [0 - 10]"); if(id < 0 || id > 10) return SendClientMessage(playerid, 0x6666CCFF, "USE: de 1 a 10."); new string[50]; LoadCorrida(playerid, id); format(string, sizeof string, "Corrida Carregada com sucesso da Posicao %d.", id); SendClientMessage(playerid, COLOR_YELLOW, string); return true; } stock SaveCorrida(idx) { new file[50], string[54]; format(file, sizeof file, Pasta_Corridas, idx); if(DOF2_FileExists(file))DOF2_RemoveFile(file); DOF2_CreateFile(file); DOF2_SetInt(file, "CPsCorrida", CPsCorrida); DOF2_SetInt(file, "CarroCorrida", VeiculoCorrida); DOF2_SetInt(file, "InteriorCorrida", InteriorCorrida); DOF2_SetInt(file, "WorldCorrida", WorldCorrida); DOF2_SetInt(file, "record", 999999); for(new i = 1; i < CPsCorrida+1; i++) { format(string, sizeof string, "RacePosX_%d", i); DOF2_SetFloat(file, string, CPCorrida[i][0]); format(string, sizeof string, "RacePosY_%d", i); DOF2_SetFloat(file, string, CPCorrida[i][1]); format(string, sizeof string, "RacePosZ_%d", i); DOF2_SetFloat(file, string, CPCorrida[i][2]); } for(new i = 1; i < MAX_PLAYERS_IN_CORRIDA+1; i++) { format(string, sizeof string, "StartRacePosX_%d", i); DOF2_SetFloat(file, string, PosCorrida[i][0]); format(string, sizeof string, "StartRacePosY_%d", i); DOF2_SetFloat(file, string, PosCorrida[i][1]); format(string, sizeof string, "StartRacePosZ_%d", i); DOF2_SetFloat(file, string, PosCorrida[i][2]); format(string, sizeof string, "StartRacePosR_%d", i); DOF2_SetFloat(file, string, PosCorrida[i][3]); } DOF2_SaveFile(); return true; } stock LoadCorrida(playerid, idx) { new file[50], string[54]; format(file, sizeof file, Pasta_Corridas, idx); if(!DOF2_FileExists(file))return SendClientMessage(playerid, 0x6666CCFF, "Nao existe uma Corrida nesta Posicao."); CPsCorrida = DOF2_GetInt(file, "CPsCorrida"); VeiculoCorrida = DOF2_GetInt(file, "CarroCorrida"); InteriorCorrida = DOF2_GetInt(file, "InteriorCorrida"); WorldCorrida = DOF2_GetInt(file, "WorldCorrida"); for(new i = 1; i < CPsCorrida+1; i++) { format(string, sizeof string, "RacePosX_%d", i); CPCorrida[i][0] = DOF2_GetFloat(file, string); format(string, sizeof string, "RacePosY_%d", i); CPCorrida[i][1] = DOF2_GetFloat(file, string); format(string, sizeof string, "RacePosZ_%d", i); CPCorrida[i][2] = DOF2_GetFloat(file, string); } for(new i = 1; i < MAX_PLAYERS_IN_CORRIDA+1; i++) { format(string, sizeof string, "StartRacePosX_%d", i); PosCorrida[i][0] = DOF2_GetFloat(file, string); format(string, sizeof string, "StartRacePosY_%d", i); PosCorrida[i][1] = DOF2_GetFloat(file, string); format(string, sizeof string, "StartRacePosZ_%d", i); PosCorrida[i][2] = DOF2_GetFloat(file, string); format(string, sizeof string, "StartRacePosR_%d", i); PosCorrida[i][3] = DOF2_GetFloat(file, string); } return true; } CallBack::CountDownRace() { new Str[35]; CountDownCorrida--; foreach(Player, i) { if(!PlayerInCorrida[i])continue; if(CountDownCorrida < 1) { SetPlayerRaceCheckpoint(i, 0, CPCorrida[1][0], CPCorrida[1][1],CPCorrida[1][2], CPCorrida[2][0],CPCorrida[2][1],CPCorrida[2][2], 15.0); GameTextForPlayer(i, "~y~_~n~_~n~|vai vai vai|", 3000, 5); PlayerPlaySound(i, 31205, 0.0, 0.0, 0.0); Controle(i, 1); SetPVarInt(i, "TimeCorrida", gettime()); } else if(CountDownCorrida < 10) { format(Str, sizeof Str, "~y~_~n~_~n~|%d|", CountDownCorrida); GameTextForPlayer(i, Str, 1000, 5); PlayerPlaySound(i, 1056, 0.0, 0.0, 0.0); } } if(CountDownCorrida == 0) { IniciouCorrida = true; KillTimer(TimerCountDown); } return true; } CMD:destruircorrida(playerid) { if(PlayerInfo[playerid][pAdmin] < 1338)return SendClientMessage(playerid, COLOR_GRAD1, LEVELADM); for(new i; i < MAX_PLAYERS_IN_CORRIDA; i++) { DestroyVehicleEx(CarroCorrida[i]); CarroCorrida[i] = 65356; } foreach(Player, i) { if(PlayerInCorrida[i]) { Controle(i, 1); SetPlayerPos(i, SBizzInfo[25][sbEntranceX],SBizzInfo[25][sbEntranceY], SBizzInfo[25][sbEntranceZ]); SetPlayerInterior(i, 0); SetPlayerVirtualWorld(i, 0); PlayerInCorrida[i] = false; DisablePlayerRaceCheckpoint(i); } } corridainiciada = false; IniciouCorrida = false; PlayersInCorrida = 0; new string[100]; format(string, sizeof string, "O admin %s destruiu a corrida.", NomePlayer(playerid)); SendClientMessageToAll(TEAM_BALLAS_COLOR, string); return true; } CMD:entrarevento(playerid) { if (PlayerToPoint(3, playerid,SBizzInfo[25][sbEntranceX], SBizzInfo[25][sbEntranceY], SBizzInfo[25][sbEntranceZ])) { new string[180]; if(typeevento == 1) { if(!corridainiciada)return SendClientMessage(playerid, COLOR_GRAD1, "Nenhuma corrida iniciada, espere um admin iniciar uma."); if(IniciouCorrida)return SendClientMessage(playerid, COLOR_GRAD1, "Ja foi dada a largada para esta corrida, espere a proxima."); if(GetPlayerMoney(playerid) < SBizzInfo[25][sbEntranceCost]) return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao tem dinheiro suficiente para entrar na corrida."); if(PlayerInCorrida[playerid])return SendClientMessage(playerid, COLOR_GRAD1, "Voce ja esta na corrida, aguarde a largada!"); if(PlayersInCorrida >= MAX_PLAYERS_IN_CORRIDA-1)return SendClientMessage(playerid, COLOR_GRAD1, "As vagas para a corrida ja se esgotaram, espere ate a proxima corrida!!"); PlayersInCorrida++; CarroCorrida[PlayersInCorrida] = CreateVehicleDebug(VeiculoCorrida, PosCorrida[PlayersInCorrida][0], PosCorrida[PlayersInCorrida][1],PosCorrida[PlayersInCorrida][2],PosCorrida[PlayersInCorrida][3], -1, -1, -1); AddVehicleComponent(CarroCorrida[PlayersInCorrida], 1010); LinkVehicleToInterior(CarroCorrida[PlayersInCorrida], InteriorCorrida); RemoveSound(CarroCorrida[PlayersInCorrida]); SetPlayerInterior(playerid, InteriorCorrida); SetPlayerVirtualWorld(playerid, WorldCorrida); SetVehicleVirtualWorld(CarroCorrida[PlayersInCorrida], WorldCorrida); SetVehicleParamsEx(CarroCorrida[PlayersInCorrida], 1, 1, 0, 0, 0, 0, 0); PutPlayerInVehicle(playerid, CarroCorrida[PlayersInCorrida], 0); PlayerInCorrida[playerid] = true; TogglePlayerControllableEx(playerid, 0); PlayerInCPCorrida[playerid] = 1; SetPlayerArmedWeapon(playerid, 0); format(string, sizeof string, "*** %s entrou na corrida, agora restam mais %d vagas. Corra ate a empresa de eventos para participar.", NomePlayer(playerid), MAX_PLAYERS_IN_CORRIDA-PlayersInCorrida); SendClientMessageToAll(TEAM_BALLAS_COLOR, string); format(string, sizeof string, "* %s entrou na corrida, e esta esperando o admin iniciar.", NomePlayer(playerid)); SendRaceMessage(string); SBizzInfo[25][sbTill] += SBizzInfo[25][sbEntranceCost]; ExtortionSBiz(25, SBizzInfo[25][sbEntranceCost]); SalvarSEmpresa(25); Atualizar3Dtexts(); } else if(typeevento == 2) { if(falliniciado) { if(fallstart)return SendClientMessage(playerid, COLOR_GRAD1, "O fallout ja foi iniciado, espere um admin iniciar outro!"); SetPlayerFall(playerid); SendClientMessage(playerid, TEAM_BALLAS_COLOR, "Voce entrou no evento de FallOut, espere o admin iniciar!"); format(string, sizeof string, "** %s entrou no evento de FallOut, Corra ate a empresa de eventos para participar.", NomePlayer(playerid)); SendClientMessageToAll(COLOR_YELLOW, string); SetPVarInt(playerid, "inFall", 1); if(PlayerInfo[playerid][pAdmin] > 0) SetPlayerPos(playerid,16.7834,18.6739,711.1889); } else SendClientMessage(playerid, COLOR_GRAD1, "Nenhum Evento de FallOut iniciado!"); } else if(typeevento == 3) { if(EventoHayIniciado) { format(string, sizeof string, "** %s entrou no evento de HAY, Corra até a empresa de eventos para participar.", NomePlayer(playerid)); SendClientMessageToAll(COLOR_YELLOW, string); SetPlayerHay(playerid); } else SendClientMessage(playerid, COLOR_GRAD1, "Nenhum Evento de HAY iniciado!"); } else SendClientMessage(playerid, COLOR_GRAD1, "Nenhum Evento iniciado, espere um admin iniciar um!"); } else SendClientMessage(playerid, COLOR_GRAD1, "Voce nao esta na empresa de eventos!"); return true; } CMD:darcolete(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] < 4) { SendClientMessage(playerid, COLOR_GRAD1, LEVELADM); return 1; } if(!admtrampando[playerid] && PlayerInfo[playerid][pAdmin] < 1342) return SendClientMessage(playerid, COLOR_GRAD1, TRABALHARADM); new para1; new Float:level; if(sscanf(params, "uf", para1, level)) { SendClientMessage(playerid, COLOR_GRAD2, "USE: /darcolete [ID do Player] [quantia]"); return 1; } GetPlayerName(para1, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); if(IsPlayerConnected(para1)) { if(para1 != INVALID_PLAYER_ID) { new string[128]; SetPlayerArmour(para1, level); format(string, 128, "AdmCmd: O Admin %s deu %.0f de colete para %s.",sendername, level, giveplayer); ABroadCast(0xff6347FF,string,1337); CNFLogs("comandosadmin", string); } } return 1; } CMD:mudarluta(playerid, params[]) { if(IsPlayerInRangeOfPoint(playerid, 2.0, 768.2192,-3.9873,1000.7203)) { Controle(playerid, 1); ShowPlayerDialog(playerid, DIALOG_LOGIN2, DIALOG_STYLE_LIST, "Estilos De Luta", "Cotoveladas\nBoxe\nRua\nKickBoxing\nKarate\nNormal", "Confirma", "Cancela"); } else { SendClientMessage(playerid, COLOR_GREY, "Voce nao esta no ginasio de luta de LS."); } return true; } CMD:praia(playerid, params[]) { if(gPlayerLogged[playerid] == 0) { return SendClientMessage(playerid, 0xff6347FF, "* Voce nao esta conectado."); } if (PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pAdminTemp] >= 1) { if (GetPlayerState(playerid) == 2) { new tmpcar = GetPlayerVehicleID(playerid); SetVehiclePos(tmpcar, 229.359,-1807.635,4.141); LinkVehicleToInterior(tmpcar, 0); } else { SetPlayerInterior(playerid,0); SetPlayerVirtualWorld(playerid,0); SetPlayerPos(playerid,229.359,-1807.635,4.141); SetPlayerFacingAngle(playerid,226.0); } SendClientMessage(playerid, COLOR_GRAD1, "Voce Foi Teleportado!"); } else { SendClientMessage(playerid, COLOR_GRAD1, LEVELADM); } return true; } CMD:pararroubo(playerid, params[]) { new string[128]; if(roubando[playerid] == 0) { SendClientMessage(playerid, COLOR_WHITE, "Voce nao esta roubando nenhum lugar."); return 1; } if(ProvocoBanco[playerid] == 1) { format(string, sizeof(string), "%s e os %s cancelaram um roubo ao Banco! ID:[%d]",PlayerName(playerid), NomeORG(playerid) , playerid); SendClientMessageToAll(GetPlayerColor(playerid), string); ProvocoBanco[playerid] = 0; roubando[playerid] = 0; roubobanco = 0; KillTimer(tempobanco); temporoubobanco = 0; RemovePlayerAttachedObject(playerid,4); ClearAnimations(playerid); KillTimer(TempoContagem[playerid]); SendClientMessage(playerid, COLOR_LIGHTRED, "Voce perdeu -R$5.000 por cancelar este roubo!"); GivePlayerMoneyEx(playerid, -5000); return 1; } if(ProvocoMotel[playerid] == 1) { format(string, sizeof(string), "%s e os %s cancelaram um roubo ao Ammu Nation! ID:[%d]",PlayerName(playerid), NomeORG(playerid) , playerid); SendClientMessageToAll(GetPlayerColor(playerid), string); ProvocoMotel[playerid] = 0; roubando[playerid] = 0; roubomotel = 0; KillTimer(tempomotel); temporoubomotel = 0; RemovePlayerAttachedObject(playerid,4); ClearAnimations(playerid); KillTimer(TempoContagem[playerid]); SendClientMessage(playerid, COLOR_LIGHTRED, "Voce perdeu -R$5.000 por cancelar este roubo!"); GivePlayerMoneyEx(playerid, -5000); return 1; } if(ProvocoPut[playerid] == 1) { format(string, sizeof(string), "%s e os %s cancelaram um roubo ao Centro de Licencas! ID:[%d]",PlayerName(playerid), NomeORG(playerid) , playerid); SendClientMessageToAll(GetPlayerColor(playerid), string); ProvocoPut[playerid] = 0; roubando[playerid] = 0; rouboput = 0; KillTimer(tempoput); temporouboput = 0; RemovePlayerAttachedObject(playerid,4); ClearAnimations(playerid); KillTimer(TempoContagem[playerid]); SendClientMessage(playerid, COLOR_LIGHTRED, "Voce perdeu -R$5.000 por cancelar este roubo!"); GivePlayerMoneyEx(playerid, -5000); return 1; } if(ProvocoLot[playerid] == 1) { format(string, sizeof(string), "%s e os %s cancelaram um roubo a Loterica! ID:[%d]",PlayerName(playerid), NomeORG(playerid) , playerid); SendClientMessageToAll(GetPlayerColor(playerid), string); ProvocoLot[playerid] = 0; roubando[playerid] = 0; roubolot = 0; KillTimer(tempolot); temporoubolot = 0; RemovePlayerAttachedObject(playerid,4); ClearAnimations(playerid); KillTimer(TempoContagem[playerid]); SendClientMessage(playerid, COLOR_LIGHTRED, "Voce perdeu -R$5.000 por cancelar este roubo!"); GivePlayerMoneyEx(playerid, -5000); return 1; } if(ProvocoLoja1[playerid] == 1) { format(string, sizeof(string), "%s e os %s cancelaram um roubo a Loja de Armas 1! ID:[%d]",PlayerName(playerid), NomeORG(playerid) , playerid); SendClientMessageToAll(GetPlayerColor(playerid), string); ProvocoLoja1[playerid] = 0; roubando[playerid] = 0; rouboloja1 = 0; KillTimer(tempoloja1); temporouboloja1 = 0; RemovePlayerAttachedObject(playerid,4); ClearAnimations(playerid); KillTimer(TempoContagem[playerid]); SendClientMessage(playerid, COLOR_LIGHTRED, "Voce perdeu -R$5.000 por cancelar este roubo!"); GivePlayerMoneyEx(playerid, -5000); return 1; } if(Provocoilha[playerid] == 1) { format(string, sizeof(string), "%s e os %s cancelaram um roubo a empresa: %s ID:[%d]",PlayerName(playerid), NomeORG(playerid),BizzInfo[PlayerBizzID[playerid]][bMessage], playerid); SendClientMessageToAll(GetPlayerColor(playerid), string); Provocoilha[playerid] = 0; roubando[playerid] = 0; rouboilha = 0; KillTimer(tempoilha); temporouboilha = 0; RemovePlayerAttachedObject(playerid,4); ClearAnimations(playerid); KillTimer(TempoContagem[playerid]); SendClientMessage(playerid, COLOR_LIGHTRED, "Voce perdeu -R$5.000 por cancelar este roubo!"); GivePlayerMoneyEx(playerid, -5000); return 1; } if(Provocomerc[playerid] == 1) { format(string, sizeof(string), "%s e os %s cancelaram um roubo o Mercado Negro! ID:[%d]",PlayerName(playerid), NomeORG(playerid) , playerid); SendClientMessageToAll(GetPlayerColor(playerid), string); Provocomerc[playerid] = 0; roubando[playerid] = 0; roubomerc = 0; KillTimer(tempomerc); temporoubomerc = 0; RemovePlayerAttachedObject(playerid,4); ClearAnimations(playerid); KillTimer(TempoContagem[playerid]); SendClientMessage(playerid, COLOR_LIGHTRED, "Voce perdeu -R$5.000 por cancelar este roubo!"); GivePlayerMoneyEx(playerid, -5000); return 1; } if(Provoconavio[playerid] == 1) { format(string, sizeof(string), "%s e os %s cancelaram um roubo ao Navio! ID:[%d]",PlayerName(playerid), NomeORG(playerid) , playerid); SendClientMessageToAll(GetPlayerColor(playerid), string); Provoconavio[playerid] = 0; roubando[playerid] = 0; roubonavio = 0; KillTimer(temponavio); temporoubonavio = 0; RemovePlayerAttachedObject(playerid,4); ClearAnimations(playerid); KillTimer(TempoContagem[playerid]); SendClientMessage(playerid, COLOR_LIGHTRED, "Voce perdeu -R$5.000 por cancelar este roubo!"); GivePlayerMoneyEx(playerid, -5000); return 1; } return true; } CMD:roubos(playerid, params[]) { if(IsPlayerConnected(playerid)) { if(!IsACop(playerid)) { SendClientMessage(playerid, COLOR_GREY, "Voce nao e um policial!"); return true; } new string[200]; SendClientMessage(playerid, 0x33FF00FF, "Roubos Acontecendo:"); foreach(Player, i) { if(IsPlayerConnected(i)) { if(ProvocoBanco[i] == 1) { GetPlayerName(i, sendername, sizeof(sendername)); format(string, 128, "BANCO(LS) SENDO ROUBADO: [%d] segundos.", Contagem[i]); SendClientMessage(playerid, COLOR_LIGHTRED, string); return 1; } if(ProvocoLot[i] == 1) { GetPlayerName(i, sendername, sizeof(sendername)); format(string, 128, "LOTeRICA(LS) SENDO ROUBADA: [%d] segundos.", Contagem[i]); SendClientMessage(playerid, COLOR_LIGHTRED, string); return 1; } if(ProvocoMotel[i] == 1) { GetPlayerName(i, sendername, sizeof(sendername)); format(string, 128, "AMMU NATION(LS) SENDO ROUBADO: [%d] segundos.", Contagem[i]); SendClientMessage(playerid, COLOR_LIGHTRED, string); return 1; } if(ProvocoLoja1[i] == 1) { GetPlayerName(i, sendername, sizeof(sendername)); format(string, 128, "LOJA DE ARMAS 1(LS) SENDO ROUBADA: [%d] segundos.", Contagem[i]); SendClientMessage(playerid, COLOR_LIGHTRED, string); return 1; } if(ProvocoPut[i] == 1) { GetPlayerName(i, sendername, sizeof(sendername)); format(string, 128, "Centro de Licencas(LS) SENDO ROUBADO: [%d] segundos.", Contagem[i]); SendClientMessage(playerid, COLOR_LIGHTRED, string); return 1; } if(Provocomerc[i] == 1) { GetPlayerName(i, sendername, sizeof(sendername)); format(string, 128, "Mercado Negro SENDO ROUBADO: [%d] segundos.", Contagem[i]); SendClientMessage(playerid, COLOR_LIGHTRED, string); return 1; } if(Provocoilha[i] == 1) { GetPlayerName(i, sendername, sizeof(sendername)); format(string, 128, "Mercado 24/7 SENDO ROUBADO: [%d] segundos.", Contagem[i]); SendClientMessage(playerid, COLOR_LIGHTRED, string); return 1; } if(Provoconavio[i] == 1) { GetPlayerName(i, sendername, sizeof(sendername)); format(string, 128, "NAVIO SENDO ROUBADO: [%d] segundos.", Contagem[i]); SendClientMessage(playerid, COLOR_LIGHTRED, string); return 1; } } } } return 1; } CMD:irtunning(playerid, params[]) { if (PlayerInfo[playerid][pAdmin] >= 4) { if (GetPlayerState(playerid) == 2) { new tmpcar = GetPlayerVehicleID(playerid); SetVehiclePos(tmpcar, -2692.8701,211.2929,4.3281); LinkVehicleToInterior(tmpcar, 0); } else { SetPlayerInterior(playerid,0); SetPlayerVirtualWorld(playerid,0); SetPlayerPos(playerid,-2692.8701,211.2929,4.3281); SetPlayerFacingAngle(playerid,226.0); } SendClientMessage(playerid, COLOR_GRAD1, "Voce Foi Teleportado!"); } else { SendClientMessage(playerid, COLOR_GRAD1, LEVELADM); } return true; } CMD:assaltar(playerid, params[]) { if(PlayerInfo[playerid][pJailed] != 0 || PlayerPaintballing[playerid] != 0) { SendClientMessage(playerid,COLOR_YELLOW,"Voce nao pode assaltar agora!"); return 1; } if(!IsAMember(playerid)) { SendClientMessage(playerid, COLOR_GREY, "Voce nao pode usar esse comando!" ); return 1; } if(IsPlayerConnected(playerid)) { if(sscanf(params, "u", giveplayerid, moneys))return SendClientMessage(playerid, COLOR_GREY, "USE: /assaltar [ID do Player]"); if (IsPlayerConnected(giveplayerid)) { if(giveplayerid != INVALID_PLAYER_ID) { if(PlayerInfo[giveplayerid][pLevel] == 2) { SendClientMessage(playerid, COLOR_GRAD1, "Voce nao pode assaltar novatos!"); return 1; } if (ProxDetectorS(5.0, playerid, giveplayerid)) { new string[128]; GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "* Voce esta assaltando %s.", giveplayer); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); format(string, sizeof(string), "* Assaltante %s diz: Isso e um assalto, passa tudo que você tem nao seja Ant-RP.", sendername); SendClientMessage(giveplayerid, COLOR_LIGHTBLUE, string); SendClientMessage(giveplayerid, COLOR_LIGHTBLUE, "/aceitar assalto para aceitar"); format(string, sizeof(string), "* %s esta assaltando %s!", sendername,giveplayer); SendClientMessageInRange(20.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); OfAssalto[giveplayerid] = playerid; SetPlayerCriminal(playerid,155, "Tentativa de Assalto"); } else { SendClientMessage(playerid, COLOR_GREY, "Esse jogador nao esta perto de voce!"); } } else { SendClientMessage(playerid, COLOR_GREY, " ID/Nome Invalido !"); return 1; } } } return 1; } CMD:fim(playerid, params[]) { if(gPlayerLogged[playerid] == 0) { return SendClientMessage(playerid, 0xff6347FF, "* Voce nao esta conectado."); } if (PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pAdminTemp] >= 1) { if (GetPlayerState(playerid) == 2) { new tmpcar = GetPlayerVehicleID(playerid); SetVehiclePos(tmpcar, -2415.3999,2219.0083,4.9844); LinkVehicleToInterior(tmpcar, 0); } else { SetPlayerInterior(playerid,0); SetPlayerVirtualWorld(playerid,0); SetPlayerPos(playerid,-2415.3999,2219.0083,4.9844); SetPlayerFacingAngle(playerid,226.0); } SendClientMessage(playerid, COLOR_GRAD1, "Voce Foi Teleportado!"); } else { SendClientMessage(playerid, COLOR_GRAD1, LEVELADM); } return true; } CMD:ircadeia(playerid, params[]) { if(gPlayerLogged[playerid] == 0) { return SendClientMessage(playerid, 0xff6347FF, "* Voce nao esta conectado."); } if (PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pAdminTemp] >= 1) { SetPlayerInterior(playerid, 5); SetPlayerPos(playerid, 324.4164,306.3444,999.1484); SendClientMessage(playerid, COLOR_GRAD1, "Voce Foi Teleportado!"); } else { SendClientMessage(playerid, COLOR_GRAD1, LEVELADM); } return true; } CMD:trazersemp(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] < 1341) { SendClientMessage(playerid, COLOR_GRAD1, LEVELADM); return 1; } new idsemp; if(sscanf(params, "d", idsemp)) { SendClientMessage(playerid,COLOR_GREY,"USE: /trazersemp [ID]"); return true; } new Float:x, Float:y, Float:z; GetPlayerPos(playerid, x, y, z); SBizzInfo[idsemp][sbEntranceX] = x; SBizzInfo[idsemp][sbEntranceY] = y; SBizzInfo[idsemp][sbEntranceZ] = z; SalvarSEmpresa(idsemp); Atualizar3Dtexts(); return true; } CMD:trazeremp(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] < 1341) { SendClientMessage(playerid, COLOR_GRAD1, LEVELADM); return 1; } new idemp; if(sscanf(params, "d", idemp)) { SendClientMessage(playerid,COLOR_GREY,"USE: /trazeremp [ID]"); return true; } new Float:x, Float:y, Float:z; GetPlayerPos(playerid, x, y, z); BizzInfo[idemp][bEntranceX] = x; BizzInfo[idemp][bEntranceY] = y; BizzInfo[idemp][bEntranceZ] = z; SalvarEmpresa(idemp); Atualizar3Dtexts(); return true; } CMD:trazerempexit(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] < 1341) { SendClientMessage(playerid, COLOR_GRAD1, LEVELADM); return 1; } new idemp; if(sscanf(params, "d", idemp)) { SendClientMessage(playerid,COLOR_GREY,"USE: /trazerempexit [ID]"); return true; } new Float:x, Float:y, Float:z, getint, getworld; GetPlayerPos(playerid, x, y, z); getint = GetPlayerInterior(playerid); getworld = GetPlayerVirtualWorld(playerid); BizzInfo[idemp][bExitX] = x; BizzInfo[idemp][bExitY] = y; BizzInfo[idemp][bExitZ] = z; BizzInfo[idemp][bInterior] = getint; BizzInfo[idemp][bWorld] = getworld; SalvarEmpresa(idemp); Atualizar3Dtexts(); return true; } CMD:trazerfazenda(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] < 1341) { SendClientMessage(playerid, COLOR_GRAD1, LEVELADM); return 1; } new idemp; if(sscanf(params, "d", idemp)) { SendClientMessage(playerid,COLOR_GREY,"USE: /trazerfazenda [ID]"); return true; } new Float:x, Float:y, Float:z; GetPlayerPos(playerid, x, y, z); FBizzInfo[idemp][fbEntranceX] = x; FBizzInfo[idemp][fbEntranceY] = y; FBizzInfo[idemp][fbEntranceZ] = z; SalvarFEmpresa(idemp); Atualizar3Dtexts(); return true; } CMD:trazercasa(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] < 1341) { SendClientMessage(playerid, COLOR_GRAD1, LEVELADM); return 1; } new idcasa; if(sscanf(params, "d", idcasa)) { SendClientMessage(playerid,COLOR_GREY,"USE: /trazercasa [ID]"); return true; } new Float:x, Float:y, Float:z; GetPlayerPos(playerid, x, y, z); HouseInfo[idcasa][hEntrancex] = x; HouseInfo[idcasa][hEntrancey] = y; HouseInfo[idcasa][hEntrancez] = z; SaveCasa(idcasa); Atualizar3Dtexts(); if(HouseInfo[idcasa][hOwned] == 0) { DestroyDynamicMapIcon(HouseInfo[idcasa][hMapIcon]); HouseInfo[idcasa][hMapIcon] = CreateDynamicMapIcon(HouseInfo[idcasa][hEntrancex], HouseInfo[idcasa][hEntrancey], HouseInfo[idcasa][hEntrancez], 31, 0xE6E6E6E6, -1, -1, -1, 250.0); } if(HouseInfo[idcasa][hOwned] == 1) { DestroyDynamicMapIcon(HouseInfo[idcasa][hMapIcon]); HouseInfo[idcasa][hMapIcon] = CreateDynamicMapIcon(HouseInfo[idcasa][hEntrancex], HouseInfo[idcasa][hEntrancey], HouseInfo[idcasa][hEntrancez], 32, 0xE6E6E6E6, -1, -1, -1, 250.0); } return true; } CMD:trazerexitcasa(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] < 1341) { SendClientMessage(playerid, COLOR_GRAD1, LEVELADM); return 1; } new idcasa; if(sscanf(params, "d", idcasa)) { SendClientMessage(playerid,COLOR_GREY,"USE: /trazerexitcasa [ID]"); return true; } new Float:x, Float:y, Float:z; new intid,worldid; intid = GetPlayerInterior(playerid); worldid = GetPlayerVirtualWorld(playerid); GetPlayerPos(playerid, x, y, z); HouseInfo[idcasa][hExitx] = x; HouseInfo[idcasa][hExity] = y; HouseInfo[idcasa][hExitz] = z; HouseInfo[idcasa][hWorld] = worldid; HouseInfo[idcasa][hInt] = intid; SaveCasa(idcasa); Atualizar3Dtexts(); return true; } CMD:trazercarrof(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] < 1341) { SendClientMessage(playerid, COLOR_GRAD1, LEVELADM); return 1; } new idcasa,idcarro; if(sscanf(params, "dd", idcarro,idcasa)) { SendClientMessage(playerid,COLOR_GREY,"USE: /trazercarrof [1-2] [ID fazenda]"); return true; } if(idcarro == 1) { new Float:x, Float:y, Float:z, Float:a; GetVehiclePos(GetPlayerVehicleID(playerid), x, y, z); GetVehicleZAngle(GetPlayerVehicleID(playerid), a); FBizzInfo[idcasa][fVec1] = 411; FBizzInfo[idcasa][fCarro1x] = x; FBizzInfo[idcasa][fCarro1y] = y; FBizzInfo[idcasa][fCarro1z] = z; FBizzInfo[idcasa][fCarro1a] = a; FBizzInfo[idcasa][fV1col1] = -1; FBizzInfo[idcasa][fV1col2] = -1; SalvarFEmpresa(idcasa); Atualizar3Dtexts(); } if(idcarro == 2) { new Float:x, Float:y, Float:z, Float:a; GetVehiclePos(GetPlayerVehicleID(playerid), x, y, z); GetVehicleZAngle(GetPlayerVehicleID(playerid), a); FBizzInfo[idcasa][fVec2] = 411; FBizzInfo[idcasa][fCarro2x] = x; FBizzInfo[idcasa][fCarro2y] = y; FBizzInfo[idcasa][fCarro2z] = z; FBizzInfo[idcasa][fCarro2a] = a; FBizzInfo[idcasa][fV2col1] = -1; FBizzInfo[idcasa][fV2col2] = -1; SalvarFEmpresa(idcasa); Atualizar3Dtexts(); } return true; } CMD:hqpr(playerid, params[]) { if(PlayerToPoint(2.0, playerid, -515.9556,-539.5468,25.5234)) { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 2122.5610,-2270.5774,20.6719); PlayerInfo[playerid][pInt] = 0; } if(PlayerToPoint(2.0, playerid, 2122.5610,-2270.5774,20.6719)) { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, -515.9556,-539.5468,25.5234); PlayerInfo[playerid][pInt] = 0; } return true; } //-------------------------------[Pay]-------------------------------------------------------------------------- CMD:pagar(playerid, params[]) { new dindin; if(sscanf(params, "ud", giveplayerid, dindin)) { SendClientMessage(playerid, COLOR_GRAD1, "USE: /pagar [ID do Player] [quantidade]"); return true; } if(!IsPlayerConnected(giveplayerid)) return SendClientMessage(playerid, COLOR_GRAD1, "Jogador offline!"); if(PlayerInfo[playerid][pJailed] >= 1) { SendClientMessage(playerid, COLOR_GRAD1, "Voce nao pode usar este comando na cadeia"); return 1; } if(admtrampando[giveplayerid] != 0 && PlayerInfo[giveplayerid][pAdmin] >= 1) { SendClientMessage(playerid, COLOR_GREY, "Voce nao pode pagar para admins em trabalho!"); return true; } if(dindin > 1000 && PlayerInfo[playerid][pLevel] < 2) { SendClientMessage(playerid, COLOR_GRAD1, "Voce precisa ser nivel 2 ou mais para pagar mais que R$ 1000"); return true; } if(dindin < 1 || dindin > 100000) { SendClientMessage(playerid, COLOR_GRAD1, "Pagamento minimo 1, maximo 100000 por vez"); return true; } new string[128]; if (IsPlayerConnected(giveplayerid)) { if(giveplayerid != INVALID_PLAYER_ID) { if(PlayerInfo[giveplayerid][pLocal] == 106) { SendClientMessage(playerid, COLOR_GRAD1, "Voce nao pode usar este comando neste local"); return true; } if (ProxDetectorS(5.0, playerid, giveplayerid)) { GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); playerdinheiro = GetPlayerMoney(playerid); if (playerdinheiro >= dindin) { GiveDinheiro(playerid, (0 - dindin)); GiveDinheiro(giveplayerid, dindin); format(string, sizeof(string), "Voce pagou %s(Para: %d), R$%s.", giveplayer,giveplayerid, ConvertMoney(dindin)); PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); SendClientMessage(playerid, COLOR_GRAD1, string); format(string, sizeof(string), "Voce recebeu R$%s de %s(ID: %d).", ConvertMoney(dindin), sendername, playerid); SendClientMessage(giveplayerid, COLOR_GRAD1, string); format(string, sizeof(string), "%s deu grana para %s", sendername, giveplayer); CNFLogs("pay", string); //ABroadCast(COLOR_YELLOW,string,1); PlayerPlaySound(giveplayerid, 1052, 0.0, 0.0, 0.0); format(string, sizeof(string), "* %s pagou para %s.", sendername ,giveplayer); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); } else { SendClientMessage(playerid, COLOR_GRAD1, "Voce nao esta com essa grana no bolso."); } } else { SendClientMessage(playerid, COLOR_GRAD1, " Jogador esta longe."); } }//invalid id } else { format(string, sizeof(string), " %d nao e um jogador ativo.", giveplayerid); SendClientMessage(playerid, COLOR_GRAD1, string); } return true; } CMD:meavalie(playerid, params[]) { if(helpertrampando[playerid] < 1 && PlayerInfo[playerid][pHelper] != 9999) { SendClientMessage(playerid, COLOR_GRAD1, "Voce nao esta em modo de servico ! (/ajudar)"); return true; } if(PlayerInfo[playerid][pHelper] >= 1) { if(sscanf(params, "u", giveplayerid)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /meavalie [playerid]"); return true; } if(giveplayerid == playerid) { SendClientMessage(playerid, COLOR_GREY, "Voce nao pode avaliar a si mesmo"); return 1; } if(IsPlayerConnected(giveplayerid)) { if(helpertrampando[giveplayerid] == 1 || admtrampando[giveplayerid] == 1) { SendClientMessage(playerid, COLOR_GREY, "Voce nao pode avaliar um admin/helper em modo trabalho."); return 1; } new string[500]; PedirAvaliar[giveplayerid] = playerid; format(string, sizeof string, "Voce pediu para o player %s lhe avaliar, aguarde respostas.",NomePlayer(giveplayerid)); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); format(string,sizeof(string),"Atencao! \n {FFFFFF}O Helper {86FDBB}%s{FFFFFF}, lhe pediu para que voce avalie o seu trabalho \n como um helper, para que o mesmo evolua de nivel e possa \n se tornar talvez um administrador do jogo algum dia \n e para isto ele precisa que voce responda corretamente \n e com sinceridade o que voce achou da atuacao do mesmo como um helper. \n \n Voce acha que este helper te ajudou em algo? Clique na sua Resposta!", NomePlayer(playerid)); ShowPlayerDialog(giveplayerid, 9282, DIALOG_STYLE_MSGBOX, "Avaliacao do Helper", string, "Sim", "Nao"); format(string, sizeof(string),"AdmCmd: O Helper %s: pediu para %s lhe avaliar.", NomePlayer(playerid), NomePlayer(giveplayerid)); ChatHelperAdmin(0xff6347FF, string); CNFLogs("meavalie", string); } } return true; } CMD:notaadm(playerid, params[]) { if(IsPlayerConnected(playerid)) { if(PlayerInfo[playerid][pAdmin] < 1 && PlayerInfo[playerid][pAdminTemp] < 1 && PlayerInfo[playerid][pHelper] < 1) { SendClientMessage(playerid, COLOR_GREY, "Voce nao e um Admin!"); return true; } if(sscanf(params, "u", giveplayerid)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /notaadm [playerid]"); return true; } if(ChatAtendimento[playerid] == 0) { SendClientMessage(playerid, 0xBFC0C2FF, "Voce nao pode mandar avaliacao sem estar em um atendimento"); return 1; } if(giveplayerid == playerid) { SendClientMessage(playerid, 0xBFC0C2FF, "Voce nao pode se avaliar"); return 1; } if(PlayerInfo[giveplayerid][pAdmin] > 0 && PlayerInfo[giveplayerid][pAdmin] < 1341) { SendClientMessage(playerid, 0xBFC0C2FF, "Administradores nao podem se avaliar!"); return 1; } if(IDAvaliou[playerid] == giveplayerid) { SendClientMessage(playerid, 0xBFC0C2FF, "Voce Ja avaliou este player aguarde terminar o seu atendimento."); return 1; } if(giveplayerid != INVALID_PLAYER_ID) { new string[200]; IDAvaliou[playerid] = giveplayerid; SendClientMessage(playerid, 0xBFC0C2FF, "ATENCAO ADM! Nao abuse desse comando, ou voce sera punido severamente!"); PedirAvaliar[giveplayerid] = playerid; format(string, sizeof string, "Voce pediu para o player %s lhe avaliar, aguarde respostas.",PlayerName(giveplayerid)); SendClientMessage(playerid, 0x33CCFFAA, string); ShowPlayerDialog(giveplayerid, 9283, DIALOG_STYLE_LIST, "Voce pode dar uma nota para o atendimento do admin","O atendimento merece nota 1.0\nO atendimento merece nota 2.0\nO atendimento merece nota 3.0\nO atendimento merece nota 4.0\nO atendimento merece nota 5.0\nO atendimento merece nota 6.0\nO atendimento merece nota 7.0\nO atendimento merece nota 8.0\nO atendimento merece nota 9.0\nO atendimento merece nota 10.0","Escolher", "Fechar"); } } return 1; } CMD:terminar(playerid, x_Emprego[]) { if(isnull(x_Emprego)) { SendClientMessage(playerid, COLOR_GREY, "USE: /terminar [nome]"); SendClientMessage(playerid, COLOR_WHITE, "Nomes disponiveis: Atendimento"); return 1; } if(IsPlayerConnected(playerid)) { if(strcmp(x_Emprego,"atendimento",true) == 0) { if(InviteAtt[playerid] < 999) { if(IsPlayerConnected(InviteAtt[playerid])) { if(ChatAtendimento[playerid] == 0) { SendClientMessage(playerid, 0xBDBDBDFF, "Voce nao esta em um atendimento."); return 1; } foreach(Player, i) { if(InviteAtt[i] == playerid) { new string[200]; //new gstring[200]; format(string, sizeof string, "%d", playerid); ForT:notaadm(i, string); ForT:meavalie(i, string); format(string,sizeof(string),"[!]{FFFFFF} O atendimento terminou. duracao: {28BDEF}%s{FFFFFF}, tenha um bom jogo!",ConvertTime(TempoAtendimento2[playerid])); AChatAtendimento(0x33aa33FF, string, 1); FilaAtendimento[playerid] = 999; FilaAtendimento[i] = 999; TempoAtendimento2[playerid] = 0; ChatAtendimento[playerid] = 0; ChatAtendimento[i] = 0; IDAvaliou[playerid] = 999; IDAvaliou[i] = 999; InviteAtt[i] = 999; InviteAtt[playerid] = 9999; NumeroChatAtendimento[i] = 0; NumeroChatAtendimento[playerid] = 0; format(gstring, 128, "* %s saiu do atendimento.", PlayerName(playerid)); SendClientMessage(i, 0x33CCFFAA, gstring); format(gstring, sizeof(gstring), "* Voce saiu do atendimento."); SendClientMessage(playerid, 0x33CCFFAA, gstring); } } } else { SendClientMessage(playerid, 0xAFAFAFAA, "O jogador que lhe convidou nao esta conectado."); return 1; } } else { SendClientMessage(playerid, 0xAFAFAFAA, "Voce nao esta em um atendimento."); return 1; } } } return 1; } CMD:fila(playerid, params[]) { if(!IsAStaff(playerid)) return SendClientMessage(playerid, COLOR_GREEN, LEVELADM); new Cont = 0; MEGAString[0] =EOS; //MaluKoString[0] =EOS; new string[500]; new prioridade[120]; strcat(MEGAString, "Nome\tPrioridade\tAssunto\tSenha\n"); foreach(Player, i) { for(new s = 1; s < senha; s ++) { if(PlayerInfo[i][SenhaFila] == s) { GetPVarString(playerid, "varPrioridade", prioridade, 120); GetPVarString(i, "varPrioridade", prioridade, 120); format(string, 128, "%s\t%s\t%s\t%d\n",PlayerName(i), prioridade, VarChatAtendimento[i],i); strcat(MEGAString, string); Cont++; } } new titulo[350]; format(titulo, sizeof(titulo), "Fila de atendimento ({01DF01}%d{FFFFFF})",Cont); ShowPlayerDialog(playerid, 15546, DIALOG_STYLE_TABLIST_HEADERS, titulo, MEGAString, "Atender", "Fechar"); } return 1; } CMD:sacar(playerid, params[]) { if(GetPlayerCaixa(playerid) || PlayerToPoint(1.0, playerid,302.5417, 1785.3850, 524.4899) || PlayerToPoint(1.0, playerid,305.3793, 1785.2689, 524.4899) || PlayerToPoint(1.0, playerid,308.2637, 1785.2446, 524.4899) || PlayerToPoint(1.0, playerid,311.3246, 1785.1321, 524.4899)) { new cashdeposit; new string[128]; if(sscanf(params, "d", cashdeposit)) { SendClientMessage(playerid, COLOR_GRAD2, "USE: /sacar [Quantidade]"); format(string, sizeof(string), "Voce tem R$%s na sua conta!", ConvertMoney(PlayerInfo[playerid][pConta])); SendClientMessage(playerid, COLOR_GRAD3, string); return true; } if (cashdeposit > PlayerInfo[playerid][pConta] || cashdeposit < 1) { SendClientMessage(playerid, COLOR_GRAD2, "Voce nao tem tudo isso na sua conta!"); return true; } new saldo; saldo = PlayerInfo[playerid][pConta]; SendClientMessage(playerid, COLOR_WHITE, "|________Informacoes Banco________|"); format(string, sizeof(string), " Saldo: R$%s", ConvertMoney(PlayerInfo[playerid][pConta])); SendClientMessage(playerid, COLOR_GRAD2, string); format(string, sizeof(string), " Saque: R$%s",ConvertMoney(cashdeposit)); SendClientMessage(playerid, COLOR_GRAD4, string); SendClientMessage(playerid, COLOR_GRAD6, "|_________________________________|"); PlayerInfo[playerid][pConta] = saldo-cashdeposit; GiveDinheiro(playerid,cashdeposit); format(string, sizeof(string), " Novo Saldo: R$%s", ConvertMoney(PlayerInfo[playerid][pConta])); SendClientMessage(playerid, COLOR_WHITE, string); return true; } else { SendClientMessage(playerid, COLOR_GREY, "Voce nao esta no banco ou em um Banco 24 horas!"); } return true; } CMD:depositar(playerid, params[]) { if(PlayerToPoint(1.0, playerid,302.5417, 1785.3850, 524.4899) || PlayerToPoint(1.0, playerid,305.3793, 1785.2689, 524.4899) || PlayerToPoint(1.0, playerid,308.2637, 1785.2446, 524.4899) || PlayerToPoint(1.0, playerid,311.3246, 1785.1321, 524.4899)) { new cashdeposit; new string[128]; if(sscanf(params, "d", cashdeposit)) { SendClientMessage(playerid, COLOR_GRAD2, "USE: /depositar [Quantidade]"); format(string, sizeof(string), "Voce tem R$%s em maos!", ConvertMoney(GetPlayerMoney(playerid))); SendClientMessage(playerid, COLOR_GRAD3, string); return true; } if (GetPlayerMoney(playerid) < cashdeposit || cashdeposit < 1) { SendClientMessage(playerid, COLOR_GRAD2, "Voce nao tem tudo isso em maos !"); return true; } GiveDinheiro(playerid,-cashdeposit); SendClientMessage(playerid, COLOR_WHITE, "|________Informacoes Banco________|"); format(string, sizeof(string), " Saldo: R$%s", ConvertMoney(PlayerInfo[playerid][pConta])); SendClientMessage(playerid, COLOR_GRAD2, string); format(string, sizeof(string), " Deposito: R$%s",ConvertMoney(cashdeposit)); SendClientMessage(playerid, COLOR_GRAD4, string); SendClientMessage(playerid, COLOR_GRAD6, "|_________________________________|"); PlayerInfo[playerid][pConta] +=cashdeposit; format(string, sizeof(string), " Novo Saldo: R$%s", ConvertMoney(PlayerInfo[playerid][pConta])); SendClientMessage(playerid, COLOR_WHITE, string); printf("BANCO: %s depositou %d", NomePlayer(playerid), cashdeposit); return true; } else { SendClientMessage(playerid, COLOR_GREY, "Voce nao esta no banco."); } return true; } CMD:regras(playerid) { ShowPlayerDialog(playerid, 10571, DIALOG_STYLE_MSGBOX, "{FFFFFF}INFO", "{FFFFFF}Visite nosso Forum e fique por dentro\ndas Regras do Servidor\n\n\ {00ff00}Forum: {FFFFFF}https://https://discord.gg/vJE5ySg7nb.","Ok", ""); return 1; } CMD:trazertodos(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] >= 4) { if(!admtrampando[playerid] && PlayerInfo[playerid][pAdmin] < 1342) return SendClientMessage(playerid, 0xCD0400AA, TRABALHARADM); if(Evento >= 0) { new string[128]; foreach(Player, i) { Evento = 1; GetPlayerName(playerid, sendername, sizeof(sendername)); format(string,sizeof(string),"Admin: %s esta chamando todos do servidor\n",sendername); ShowPlayerDialog(i, 3423, DIALOG_STYLE_MSGBOX, "[_Administracao_]", string, "Sim", "Nao"); GetPlayerPos(playerid,ex,ey,ez); vwa = GetPlayerVirtualWorld(playerid); inta = GetPlayerInterior(playerid); SetPVarInt(i, "AdminID", playerid); } } } return true; } CMD:trazertodosx1(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] >= 4) { if(!admtrampando[playerid] && PlayerInfo[playerid][pAdmin] < 1342) return SendClientMessage(playerid, COLOR_GRAD1, TRABALHARADM); if(Evento >= 0) { new string[128]; foreach(Player, i) { Evento = 1; GetPlayerName(playerid, sendername, sizeof(sendername)); format(string,sizeof(string),"{FFFF00}|EVENTO DE DM| %s esta chamando todos do servidor\nPara participar do Evento de DM\nVoce deseja ir?",sendername); ShowPlayerDialog(i, 3469, DIALOG_STYLE_MSGBOX, "EVENTO DE DM", string, "Participar", "Nao"); GetPlayerPos(playerid,ex,ey,ez); vwa = GetPlayerVirtualWorld(playerid); inta = GetPlayerInterior(playerid); } } } return true; } CMD:mostrarrg(playerid, params[]) { if(sscanf(params, "u", giveplayerid)) { SendClientMessage(playerid, COLOR_GRAD1, "USE: /mostrarrg [ID/Nome]"); return true; } if(IsPlayerConnected(giveplayerid)) { if(PlayerInfo[giveplayerid][pAdmin] && admtrampando[giveplayerid]) { SendClientMessage(playerid, COLOR_GREY, "Voce nao pode mostrar rg para admins em modo trabalho !"); return true; } if(ProxDetectorS(5.0, playerid, giveplayerid)) { if(giveplayerid != INVALID_PLAYER_ID) { new string[128]; ShowStats(giveplayerid,playerid); format(string, sizeof(string), "* %s mostrou o seu RG para %s.",PlayerName(playerid),PlayerName(giveplayerid)); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); } } else { SendClientMessage(playerid, COLOR_GRAD1, " Jogador esta muito longe."); } }//invalid id return true; } CMD:gritar(playerid) { SendClientMessage(playerid, AMARELO_COR, "Comando em manutencao."); return true; } CMD:senhap(playerid, params[]) { if(GetPlayerOrg(playerid) == 35 && PlayerInfo[playerid][pCargo] > 4) { new string[128]; format(string, sizeof(string), "A senha do painel de seguranca:[%s]", SenhaSeguranca); SendClientMessage(playerid, COLOR_GRAD1, string); return true; } return true; } CMD:mostrarsenha(playerid, params[]) { if(sscanf(params, "u", giveplayerid)) { SendClientMessage(playerid, COLOR_GRAD1, "USE: /mostrarsenha [ID do Player]"); return true; } if(GetPlayerOrg(playerid) == 35 && PlayerInfo[playerid][pCargo] > 4) { if(IsPlayerConnected(giveplayerid)) { if(giveplayerid == playerid) { SendClientMessage(playerid, COLOR_GREY, "Voce nao pode mostrar a senha para si mesmo"); return 1; } if(admtrampando[giveplayerid] == 1) return SendClientMessage(playerid, COLOR_GREY, "Voce nao pode mostrar a senha para admins em modo trabalho!"); if(ProxDetectorS(5.0, playerid, giveplayerid)) { if(giveplayerid != INVALID_PLAYER_ID) { new string[128]; format(string, sizeof(string), "A senha do painel de seguranca:[%s]", SenhaSeguranca); SendClientMessage(giveplayerid, COLOR_GRAD1, string); format(string, sizeof(string), "* %s mostrou a senha das de cameras de seguranca para %s.",PlayerName(playerid),PlayerName(giveplayerid)); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); } } else { SendClientMessage(playerid, COLOR_GRAD1, " Jogador esta muito longe."); } }//invalid id } else { SendClientMessage(playerid, COLOR_GRAD1, LEVELADM); } return true; } CMD:ocupado(playerid, params[]) { if(gPlayerLogged[playerid] == 0) { return SendClientMessage(playerid, 0xff6347FF, "* Voce nao esta conectado."); } if(PlayerInfo[playerid][pAdmin] < 1 && PlayerInfo[playerid][pAdminTemp] < 1) { SendClientMessage(playerid, COLOR_GREY, "Voce nao esta autorizado a usar este comando!"); return true; } if (Ocupado[playerid] == 0) { Ocupado[playerid] = 1; SendClientMessage(playerid, COLOR_WHITE, " Tog Ocupado Ativado !"); } else if (Ocupado[playerid] == 1) { Ocupado[playerid] = 0; SendClientMessage(playerid, COLOR_WHITE, " Tog Ocupado Desativado !"); } return true; } //-------------------------------[Logout]-------------------------------------------------------------------------- CMD:logout(playerid, params[]) { if(IsPlayerConnected(playerid)) { if(gPlayerLogged[playerid] == 0) { SendClientMessage(playerid, COLOR_GREY, "Voce ainda nao esta logado !"); return 1; } if(admtrampando[playerid] == 0) { return SendClientMessage(playerid,COLOR_GRAD2,"Voce nao usar este comando em modo jogo!"); } if (PlayerInfo[playerid][pAdmin] >= 4) { OnPlayerUpdate(playerid); gPlayerLogged[playerid] = 0; Controle(playerid, 0); SendClientMessage(playerid, COLOR_GRAD1, "Voce pode sair agora."); OnPlayerConnect(playerid); OnPlayerRequestClass(playerid, 0); } else { SendClientMessage(playerid, COLOR_GRAD1, "Voce nao esta autorizado a usar este comando !"); } } return 1; } //-------------------------------[Logoutall]-------------------------------------------------------------------------- CMD:up(playerid, params[]) { if(gPlayerLogged[playerid] == 0) { return SendClientMessage(playerid, 0xff6347FF, "* Voce nao esta conectado."); } if(PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pAdminTemp] >= 1) { new Float:slx, Float:sly, Float:slz; GetPlayerPos(playerid, slx, sly, slz); if (GetPlayerState(playerid) == 2) { new tmpcar = GetPlayerVehicleID(playerid); GetVehiclePos(tmpcar, slx, sly, slz); SetVehiclePos(tmpcar, slx, sly, slz+5); } else { SetPlayerPos(playerid, slx, sly, slz+5); } } else { SendClientMessage(playerid, COLOR_GRAD1, "Voce nao e um admin"); return true; } return true; } //------------------------ CMD:ang(playerid, params[]) { if(PlayerInfo[playerid][pMuted] == 1)return SendClientMessage(playerid, 0xA92BF6F6, "Voce nao pode falar, pois foi calado"); if (PlayerInfo[playerid][pAnGov] > 0) { new string[128]; format(string, sizeof(string), "Voce esta proibido de mandar anúncios por %s minutos.", ConvertTime(PlayerInfo[playerid][pAnGov])); SendClientMessage(playerid, COLOR_LIGHTRED, string); return 1; } new org = GetPlayerOrg(playerid); if(org < 1) return SendClientMessage(playerid, COLOR_GREY, "Voce nao pode mandar anuncio da organizacao."); if(PlayerInfo[playerid][pConnectTime] < 2) return SendClientMessage(playerid,0xFFFFFFAA,"Info: Voce podera mandar anuncios apos {FFA54F}2{FFFFFF} horas jogadas."); if(PlayerInfo[playerid][pCargo] < 3) return SendClientMessage(playerid,COLOR_GRAD2,"Voce precisa ter o cargo 3 para poder mandar anuncio da organizacao!"); if(gettime() < tempoang[org]) return SendClientMessage(playerid, COLOR_GRAD1, "Voce deve esperar 30 segundos para mandar outro anuncio da sua organizacao!"); if(isnull(params))return SendClientMessage(playerid, COLOR_GRAD1, "USE: /ang [Anuncio da ORG]"); new string[255]; if(AntiDivulguer(playerid, params))return 1; GetPlayerName(playerid, sendername, MAX_PLAYER_NAME); format(string, sizeof string, "{%s}(----------------------[{FFFFFF}Anuncio %s{%s}]----------------------)", GetPlayerColorEx(playerid), GetOrgName(org), GetPlayerColorEx(playerid)); SendClientMessageToAll(-1, string); format(string, sizeof string, "» [ID: %d] %s: %s - Tel[%d]", playerid, NomePlayer(playerid), params,PlayerInfo[playerid][pPnumber]); SendClientMessageToAll(GetPlayerColor(playerid), string); tempoang[org] = gettime()+30; return 1; } CMD:spawn(playerid, params[]) { if(gPlayerLogged[playerid] == 0) { return SendClientMessage(playerid, 0xff6347FF, "* Voce nao esta conectado."); } if(PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pAdminTemp] >= 1) { if(admtrampando[playerid] < 1 && PlayerInfo[playerid][pAdmin] < 1342) { SendClientMessage(playerid, COLOR_GRAD1, TRABALHARADM); return 1; } if (GetPlayerState(playerid) == 2) { new tmpcar = GetPlayerVehicleID(playerid); SetVehiclePos(tmpcar, 2907.4404,-792.1209,10.6416); SetPlayerInterior(playerid,0); PlayerInfo[playerid][pInt] = 0; SetPlayerVirtualWorld(playerid, 0); } else { SetPlayerPos(playerid, 1154.3932,-1767.1237,16.5938); SetPlayerInterior(playerid,0); PlayerInfo[playerid][pInt] = 0; SetPlayerVirtualWorld(playerid, 0); SetCameraBehindPlayer(playerid); SetPlayerFacingAngle(playerid, 1.6385); } SendClientMessage(playerid, COLOR_GRAD1, "Voce foi teleportado!"); } else { SendClientMessage(playerid, COLOR_GRAD1, "Voce nao esta autorizado a usar o comando!"); } return 1; } CMD:hqadm(playerid) { if(IsPlayerConnected(playerid)) { if (PlayerInfo[playerid][pAdmin] >= 1) { if (GetPlayerState(playerid) == 2) { new tmpcar = GetPlayerVehicleID(playerid); SetVehiclePos(tmpcar, -2104.1101,-2337.3306,30.6250); } else { SetPlayerInterior(playerid,0); SetPlayerVirtualWorld(playerid,0); SetPlayerPos(playerid,-2104.1101,-2337.3306,30.6250); SetPlayerFacingAngle(playerid,0); } SendClientMessage(playerid, COLOR_GRAD1, "Voce Foi Teleportado!"); } else { SendClientMessage(playerid, COLOR_GRAD1, "Voce nao esta autorizado a usar este comando!!"); } } return 1; } CMD:ls(playerid) { if(gPlayerLogged[playerid] == 0) { return SendClientMessage(playerid, 0xff6347FF, "* Voce nao esta conectado."); } if(PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pAdminTemp] >= 1) { if(admtrampando[playerid] < 1 && PlayerInfo[playerid][pAdmin] < 1342) { SendClientMessage(playerid, COLOR_GRAD1, TRABALHARADM); return 1; } if (GetPlayerState(playerid) == 2) { new tmpcar = GetPlayerVehicleID(playerid); SetVehiclePos(tmpcar, 1481.2043,-1698.1680,14.0469); SetVehicleZAngle(tmpcar, 180.0000); } else { SetPlayerPos(playerid, 1481.2043,-1698.1680,14.0469); SetPlayerFacingAngle(playerid, 0.2459); } SendClientMessage(playerid, COLOR_GRAD1, "Voce foi teleportado!"); SetPlayerInterior(playerid,0); PlayerInfo[playerid][pInt] = 0; SetPlayerVirtualWorld(playerid, 0); } else { SendClientMessage(playerid, COLOR_GRAD1, "Voce nao esta autorizado a usar o comando!"); } return 1; } // ver aqui CMD:minhasala(playerid, params[]) { if(IsPlayerConnected(playerid)) { if(PlayerInfo[playerid][pAdmin] >= 1) { if(admtrampando[playerid] < 1 && PlayerInfo[playerid][pAdmin] < 1340) { SendClientMessage(playerid, -1, "Voce nao esta trabalhando! {E31919}(/trabalhar)"); return 1; } if (GetPlayerState(playerid) == 2) { new tmpcar = GetPlayerVehicleID(playerid); SetVehiclePos(tmpcar, 1218.5021,-1424.0314,31.1480); LinkVehicleToInterior(tmpcar, 0); } else { SetPlayerPos(playerid, 1218.5021,-1424.0314,31.1480); } SendClientMessage(playerid, COLOR_GRAD1, "Voce foi teleportado pelo Admin!"); SetPlayerInterior(playerid,0); SetPlayerVirtualWorld(playerid,0); PlayerInfo[playerid][pInt] = 0; } else { SendClientMessage(playerid, COLOR_GRAD1, "Voce nao esta autorizado a usar o comando!"); } } return 1; } CMD:irhospital(playerid, params[]) { if(gPlayerLogged[playerid] == 0) { return SendClientMessage(playerid, 0xff6347FF, "* Voce nao esta conectado."); } if(PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pAdminTemp] >= 1) { SendClientMessage(playerid, COLOR_GRAD1, "Voce foi teleportado!"); SetPlayerPos(playerid, 1175.553100,-1325.960693,-44.283576); SetPlayerFacingAngle(playerid, 96.2459); SetPlayerInterior(playerid, 1); SetPlayerVirtualWorld(playerid, 0); } else { SendClientMessage(playerid, COLOR_GRAD1, "Voce nao esta autorizado a usar o comando!"); } return 1; } CMD:sf(playerid, params[]) { if(gPlayerLogged[playerid] == 0) { return SendClientMessage(playerid, 0xff6347FF, "* Voce nao esta conectado."); } if (PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pAdminTemp] >= 1) { if(admtrampando[playerid] < 1 && PlayerInfo[playerid][pAdmin] < 1342) { SendClientMessage(playerid, COLOR_GRAD1, TRABALHARADM); return 1; } if (GetPlayerState(playerid) == 2) { new tmpcar = GetPlayerVehicleID(playerid); SetVehiclePos(tmpcar, -2724.3208,-314.6010,7.1862); } else { SetPlayerPos(playerid, -2724.3208,-314.6010,7.1862); } SendClientMessage(playerid, COLOR_GRAD1, "Voce foi teleportado!"); SetPlayerInterior(playerid,0); PlayerInfo[playerid][pInt] = 0; SetPlayerVirtualWorld(playerid, 0); } else { SendClientMessage(playerid, COLOR_GRAD1, "Voce nao esta autorizado a usar este comando!"); } return 1; } CMD:lv(playerid, params[]) { if(gPlayerLogged[playerid] == 0) { return SendClientMessage(playerid, 0xff6347FF, "* Voce nao esta conectado."); } if (PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pAdminTemp] >= 1) { if(admtrampando[playerid] < 1 && PlayerInfo[playerid][pAdmin] < 1342) { SendClientMessage(playerid, COLOR_GRAD1, TRABALHARADM); return 1; } if (GetPlayerState(playerid) == 2) { new tmpcar = GetPlayerVehicleID(playerid); SetVehiclePos(tmpcar, 1699.2, 1435.1, 10.7); } else { SetPlayerPos(playerid, 1699.2,1435.1, 10.7); } SendClientMessage(playerid, COLOR_GRAD1, "Voce foi teleportado!"); SetPlayerInterior(playerid,0); PlayerInfo[playerid][pInt] = 0; SetPlayerVirtualWorld(playerid, 0); } else { SendClientMessage(playerid, COLOR_GRAD1, "Voce nao esta autorizado a usar este comando!"); } return 1; } CMD:gov(playerid, result[]) { if(PlayerInfo[playerid][pMuted] == 1) { SendClientMessage(playerid, 0xA92BF6F6, "Voce nao pode falar, pois foi calado"); return true; } if (PlayerInfo[playerid][pAnGov] > 0) { new string[128]; format(string, sizeof(string), "Voce esta proibido de mandar anúncios por %s minutos.", ConvertTime(PlayerInfo[playerid][pAnGov])); SendClientMessage(playerid, COLOR_LIGHTRED, string); return 1; } new org = GetPlayerOrg(playerid); if(IsACop(playerid) || org == 4) { if(gettime() < tempoang[org]) return SendClientMessage(playerid, COLOR_GRAD1, "Voce deve esperar 30 segundos para mandar outro anuncio da sua organizacao!"); tempoang[org] = gettime()+30; if(PlayerInfo[playerid][pCargo] < 4) { SendClientMessage(playerid, COLOR_GREY, "Voce precisa ter pelomenos cargo 4 para usar este comando!"); return true; } if(isnull(result)) { SendClientMessage(playerid, COLOR_GRAD2, "USE: (/gov)erno [texto]"); return true; } //Anti Divulguer if(AntiDivulguer(playerid, result))return 1; new string[128]; GetPlayerName(playerid, sendername, MAX_PLAYER_NAME); GetPlayerName(playerid, sendername, MAX_PLAYER_NAME); format(string, sizeof(string), "[Anúncio - %s]: %s - %s[%d] - Cel[%d]", NomeORG(playerid), result,NomePlayer(playerid),playerid,PlayerInfo[playerid][pPnumber]); SendClientMessageToAll(GetPlayerColor(playerid), string); SBizzInfo[7][sbTill] += 30; ExtortionSBiz(7, 30); GiveDinheiro(playerid, - 30); format(string, sizeof(string), "• {FFFFFF}Voce pagou R$30 pelo seu anúncio, para a empresa: {00BFFF}%s", SBizzInfo[7][sbMessage]); SendClientMessage(playerid, 0x00BFFFAA, string); print(string); } return 1; } //----------------------------------[Prefeito]----------------------------------------------- CMD:pre(playerid, result[]) { if(PlayerInfo[playerid][pJailed] != 0) { SendClientMessage(playerid,COLOR_YELLOW,"Voce nao pode se comunicar na cadeia!"); return true; } if(PlayerInfo[playerid][pMuted] == 1) { SendClientMessage(playerid, 0xA92BF6F6, "Voce nao pode falar, pois foi calado"); return true; } if(IsAGOV(playerid)) { if(PlayerInfo[playerid][pCargo] < 4) { SendClientMessage(playerid, COLOR_GREY, "Voce precisa ter pelomenos cargo 4 para usar este comando"); return true; } GetPlayerName(playerid, sendername, sizeof(sendername)); if(isnull(result)) { SendClientMessage(playerid, COLOR_GRAD2, "USE: (/pre)feito [texto]"); return true; } //Anti Divulguer if(AntiDivulguer(playerid, result))return 1; new string[128]; format(string, sizeof(string), "[Governo Informa]: %s: %s", sendername, result); SendClientMessageToAll(0x0099ff20, string); SBizzInfo[7][sbTill] += 30; print(string); ExtortionSBiz(7, 30); } //SendClientMessage(playerid, COLOR_GRAD1, "Comando desativado! USE: /ang !"); return 1; } ReturnUser(text[], playerid = INVALID_PLAYER_ID) { new pos = 0; while (text[pos] < 0x21) { if (text[pos] == 0) return INVALID_PLAYER_ID; pos++; } new userid = INVALID_PLAYER_ID; if (IsNumeric(text[pos])) { userid = strval(text[pos]); if (userid >=0 && userid < MAX_PLAYERS) { if(!IsPlayerConnected(userid)) { userid = INVALID_PLAYER_ID; } else { return userid; } } } new len = strlen(text[pos]); new count = 0; new name[MAX_PLAYER_NAME]; foreach(Player, i) { GetPlayerName(i, name, sizeof (name)); if (strcmp(name, text[pos], true, len) == 0) { if (len == strlen(name)) { return i; } else { count++; userid = i; } } } if (count != 1) { if (playerid != INVALID_PLAYER_ID) { if (count) { SendClientMessage(playerid, 0x00FFFFAA, "Multiple users found, please narrow earch"); } else { SendClientMessage(playerid, 0x00FFFFAA, "No matching user found"); } } userid = INVALID_PLAYER_ID; } return userid; } stock CreateDroppedGun(GunID, GunAmmo, Float:gPosX, Float:gPosY, Float:gPosZ) { new f = MAX_OBJ+1; for(new a = 0; a < MAX_OBJ; a++) { if(dGunData[a][ObjPos][0] == 0.0) { f = a; break; } } if(f > MAX_OBJ) return; dGunData[f][dropTimer] = gettime() + (30*60);//30 minutos para a arma desaparecer dGunData[f][ObjData][0] = GunID; dGunData[f][ObjData][1] = GunAmmo; dGunData[f][ObjPos][0] = gPosX; dGunData[f][ObjPos][1] = gPosY; dGunData[f][ObjPos][2] = gPosZ; dGunData[f][ObjID] = CreateDynamicObject(GunObjects[GunID], dGunData[f][ObjPos][0], dGunData[f][ObjPos][1], dGunData[f][ObjPos][2]-1, 93.7, 120.0, random(360), -1, -1, -1, 80.0); new buffer[128]; format(buffer, sizeof buffer, "%s",GunNames[dGunData[f][ObjData][0]]); dGunData[f][text3d] = CreateDynamic3DTextLabel(buffer, COLOR_LIGHTBLUE, dGunData[f][ObjPos][0], dGunData[f][ObjPos][1], dGunData[f][ObjPos][2]-1, 15.0, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 0, -1, -1, -1, 80.0); return; } stock CreateDroppedItem(Item, Amount, Float:gPosX, Float:gPosY, Float:gPosZ, DinheiroSujo = 0) { new f = MAX_OBJ+1; for(new a = 0; a < MAX_OBJ; a++) { if(dItemData[a][ObjtPos][0] == 0.0) { f = a; break; } } if(f > MAX_OBJ) return; dItemData[f][droptTimer] = gettime() + (30*60);//30 minutos para o item sumir dItemData[f][ObjtData][0] = Item; dItemData[f][ObjtData][1] = Amount; dItemData[f][ObjtPos][0] = gPosX; dItemData[f][ObjtPos][1] = gPosY; dItemData[f][ObjtPos][2] = gPosZ; dItemData[f][ObjtID] = CreateDynamicObject(Item, dItemData[f][ObjtPos][0], dItemData[f][ObjtPos][1], dItemData[f][ObjtPos][2]-1, 93.7, 120.0, random(360), -1, -1, -1, 80.0); new buffer[90]; if(dItemData[f][ObjtData][0] == 1212 && DinheiroSujo == 1) { dItemData[f][DinSujo] = 1; format(buffer, sizeof buffer, "Item: Dinheiro\nUnidade(s): %d\nTipo: Sujo\nPressione 'F' para pegar!", dItemData[f][ObjtData][1]); dItemData[f][textt3d] = CreateDynamic3DTextLabel(buffer, COLOR_LIGHTGREEN, dItemData[f][ObjtPos][0], dItemData[f][ObjtPos][1], dItemData[f][ObjtPos][2]-1, 15.0, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 0, -1, -1, -1, 80.0); return; //printf("Dinheiro Sujo 1"); } format(buffer, sizeof buffer, "Item: %s\nUnidade(s): %d\nPressione 'F' para pegar!", NomeItemInventario(dItemData[f][ObjtData][0]), dItemData[f][ObjtData][1]); dItemData[f][textt3d] = CreateDynamic3DTextLabel(buffer, COLOR_LIGHTBLUE, dItemData[f][ObjtPos][0], dItemData[f][ObjtPos][1], dItemData[f][ObjtPos][2]-1, 15.0, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 0, -1, -1, -1, 80.0); return; } stock DestroyDroppedObject(dropid) { DestroyDynamicObject(dGunData[dropid][ObjID]); DestroyDynamic3DTextLabel(dGunData[dropid][text3d]); dGunData[dropid][ObjPos][0] = 0.0; dGunData[dropid][ObjPos][1] = 0.0; dGunData[dropid][ObjPos][2] = 0.0; dGunData[dropid][ObjID] = -1; dGunData[dropid][ObjData][1] = 0; return 1; } stock DestroyDroppedItem(dropid) { DestroyDynamicObject(dItemData[dropid][ObjtID]); DestroyDynamic3DTextLabel(dItemData[dropid][textt3d]); dItemData[dropid][ObjtPos][0] = 0.0; dItemData[dropid][ObjtPos][1] = 0.0; dItemData[dropid][ObjtPos][2] = 0.0; dItemData[dropid][ObjtID] = -1; dItemData[dropid][ObjtData][1] = 0; return 1; } //----------------------------------[Short]----------------------------------------------- CMD:r(playerid, params[]) { if(isnull(params))return SendClientMessage(playerid, COLOR_GREY, "USE: (/r)adio [texto]"); //new gstring[128]; new org = GetPlayerOrg(playerid); if(org != 1 && org != 2 && org != 3 && org != 4 && org != 6 && org != 7 && org != 11 && org != 33 && org != 16 && org != 35 && org != 34 && org != 36) return SendClientMessage(playerid, COLOR_GREY, "Voce nao pode falar no radio de uma organizacao"); new result[250]; if(Palavrao(result)) { GivePlayerMoneyEx(playerid, -500); SendClientMessage(playerid, COLOR_LIGHTRED, "| ADVERTENCIA | Proibido palavras de baixo calão, Multa: R$500,00"); CofreOrg[7][Dinheiro] += 500; return 1; } if(PlayerInfo[playerid][pMuted] == 1) return SendClientMessage(playerid, 0xA92BF6F6, "| ERRO | Você não pode falar pois esta calado."); if(admtrampando[playerid] == 1 && PlayerInfo[playerid][pAdmin] < 1337) return SendClientMessage(playerid, COLOR_GREY, "Voce nao pode falar no radio em modo trabalho!"); //Anti Divulguer if(AntiDivulguer(playerid, params))return 1; format(gstring, sizeof(gstring), "* %s falou algo no radio.", PlayerName(playerid)); SendClientMessageInRange(20.0, playerid, gstring, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); format(gstring, sizeof gstring, "** %s %s: %s, over. **", GetPlayerCargo(playerid), NomePlayer(playerid), params); SendFamilyMessage(org, TEAM_BLUE_COLOR, gstring); return true; } CMD:setgravity(playerid, params[]) { if (PlayerInfo[playerid][pAdmin] < 1340) return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao pode usar este comando."); new Float:gravity; if(sscanf(params, "f", gravity))return SendClientMessage(playerid, COLOR_GRAD1, "USE: /setgravity [value]"); SetGravity(gravity); SendClientMessage(playerid, COLOR_GRAD1, "Gravidade setada {FFFFFF}(padrao: 0.008)"); return true; } CMD:escudo(playerid, params[]) { if(IsACop(playerid)) { if(PlayerInfo[playerid][pJailed] > 0) return SendClientMessage(playerid,COLOR_GRAD1,"| ERRO | Voce nao pode usar este comando preso!"); if(Equipamentos[playerid] == 1) { RemovePlayerAttachedObjectEx(playerid,Vaga_Escudo); Equipamentos[playerid] = 0; return true; } if(Equipamentos[playerid] == 0) { new id = CountAttachedObjects(playerid); SetPlayerAttachedObject_Droid(playerid,id,18637,13,0.35,0.0,0.0,0.0,0.0,180.0); SetPlayerAttachedObjectEx(18637,Vaga_Escudo,playerid,id); SendClientMessage(playerid,0x9fa4e8F6,"Voce pegou o escudo !"); Equipamentos[playerid] = 1; return true; } } else { SendClientMessage(playerid,COLOR_WHITE,"Voce nao e um COP."); } return true; } CMD:taser(playerid, params[]) { if(PlayerInfo[playerid][pJailed] != 0) return SendClientMessage(playerid,COLOR_GRAD1,"Voce nao pode usar este comando na cadeia!"); if(IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid,COLOR_GRAD1,"Voce nao pode usar este comando dentro de um veiculo!"); if(IsACop(playerid)) { new string[128]; if(InTaser[playerid] == true) { RemovePlayerAttachedObjectEx(playerid,Vaga_Taser); InTaser[playerid] = false; RemoveArmament(playerid); format(string, sizeof(string), "* %s guardou seu taser no coldre.", NomePlayer(playerid)); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); if(balaseagle[playerid] < 1)SetPlayerAmmo(playerid, 2, 0); return true; } if(InTaser[playerid] == false) { if(gettime() < GetPVarInt(playerid, #VarFlood9)) return SendClientMessage(playerid, COLOR_GRAD1, "O Taser esta recarregando, espere 15 segundos para pegar novamente."); SetPVarInt(playerid, #VarFlood9, gettime()+15); InTaser[playerid] = true; SetArmament(playerid, 18642); new id = CountAttachedObjects(playerid); SetPlayerAttachedObject_Droid(playerid, 0, 18642, 6, 0.06, 0.01, 0.08, 180.0, 0.0, 0.0); SetPlayerAttachedObjectEx(18642,Vaga_Taser,playerid,id); format(string, sizeof(string), "* %s retirou seu taser do coldre.", NomePlayer(playerid)); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); return true; } } else { SendClientMessage(playerid,COLOR_WHITE,"Voce nao e um COP."); } return true; } CMD:choque(playerid, params[]) { if(PlayerInfo[playerid][pJailed] != 0) return SendClientMessage(playerid,COLOR_GRAD1,"Voce nao pode usar este comando na cadeia!"); if(IsACop(playerid)) { new string[128]; if(InChoque[playerid] == true) { RemovePlayerWeapon(playerid, 23); GivePlayerWeapon(playerid, armaeagle[playerid], balaseagle[playerid]); SetPlayerArmedWeapon(playerid, 29); InChoque[playerid] = false; format(string, sizeof(string), "* %s guardou sua arma de Choque.", NomePlayer(playerid)); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); if(balaseagle[playerid] < 1)SetPlayerAmmo(playerid, 2, 0); return true; } if(InChoque[playerid] == false) { if(gettime() < GetPVarInt(playerid, #VarFlood9)) return SendClientMessage(playerid, COLOR_GRAD1, "O Choque esta recarregando, espere 1 minuto para pegar novamente."); SetPVarInt(playerid, #VarFlood9, gettime()+60); GetPlayerWeaponData(playerid, 2, armaeagle[playerid], balaseagle[playerid]); InChoque[playerid] = true; RemovePlayerWeapon(playerid, 24); RemovePlayerWeapon(playerid, 23); GivePlayerWeapon(playerid, 23, 100); format(string, sizeof(string), "* %s retirou sua arma de choque.", NomePlayer(playerid)); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); return true; } } else { SendClientMessage(playerid,COLOR_WHITE,"Voce nao e um COP."); } return true; } CMD:mecanico(playerid, params[]) { if (isnull(params)) { SendClientMessage(playerid, COLOR_GRAD1, "USE: /mecanico [Nome]"); SendClientMessage(playerid, COLOR_GRAD1, "Nomes: | Subir | Descer |"); return 1; } if (!strcmp(params, "subir", true)) { if(!IsPlayerInRangeOfPoint(playerid, 5.0, 1569.34424, -2156.86060, 12.96720)) return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao esta na HQ dos Mecanicos!"); MoveDynamicObject(MechLift, 1569.34424, -2156.86060, 14.70720, 0.5); } else if (!strcmp(params, "descer", true)) { if(!IsPlayerInRangeOfPoint(playerid, 5.0, 1569.34424, -2156.86060, 12.96720)) return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao esta na HQ dos Mecanicos!"); MoveDynamicObject(MechLift, 1569.34424, -2156.86060, 12.96720, 0.5); } else { SendClientMessage(playerid, COLOR_GRAD1, "USE: /Detran [Nome]"); SendClientMessage(playerid, COLOR_GRAD1, "Nomes: | Subir | Descer |"); } return 1; } CMD:batercartao(playerid, params[]) { //new Veh = GetPlayerVehicleID(playerid); if(PlayerInfo[playerid][pJailed] != 0) { SendClientMessage(playerid,COLOR_YELLOW,"Voce nao pode batercartao na cadeia!"); return true; } if(PlayerInfo[playerid][pJailed] == 9) { SendClientMessage(playerid,COLOR_GRAD1,"Voce nao pode usar este comando nas Celas da Administracao!"); return true; } if((PlayerInfo[playerid][pAdmin] && admtrampando[playerid]) || (PlayerInfo[playerid][pHelper] && helpertrampando[playerid])) return SendClientMessage(playerid, COLOR_GREY, "Voce precisa estar em modo jogo para bater cartao."); if(InTaser[playerid] == true || InChoque[playerid] == true) { SendClientMessage(playerid,COLOR_GREY,"Voce nao pode bater cartao quando estiver com o Taser ou Choque em maos!"); return true; } new string[128]; GetPlayerName(playerid, sendername, sizeof(sendername)); if(PlayerInfo[playerid][pMembro] == 34 || PlayerInfo[playerid][pLider] == 34) //Detran { if(PlayerToPoint(2.0, playerid,1059.7234,1273.0679,10.8203)) // 2476.7070,-1531.0250,24.1355 { if(OnDuty[playerid] == 1) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Agora Voce Esta De Folga, e nao recebera chamados!"); OnDuty[playerid] = 0; EmpregoDuty[playerid] = 0; DetranTrampo -= 1; } else { GetPlayerName(playerid, sendername, sizeof(sendername)); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Agora voce esta de plantao como detran e ira receber chamadas de pessoas que precisam."); SetPlayerSkin(playerid, 302); format(string, sizeof(string), "Agente Detran %s esta em servico, /servico detran.", sendername); SendClientMessageToAll(0x00C2ECFF,string); DetranTrampo += 1; /* EmpregoDuty[playerid] = 1; */ OnDuty[playerid] = 1; EmpregoDuty[playerid] = 2; } } } else if(IsACop(playerid)) { if(PlayerToPoint(2,playerid,229.9627,165.1098,1003.0234) || PlayerToPoint(2,playerid,1712.3022,-1640.2500,20.2239) || PlayerToPoint(2,playerid,2602.8528,1899.2375,11.0234) || PlayerToPoint(2,playerid,2602.8528,1899.2375,11.0234) || PlayerToPoint(2,playerid,255.1995,77.1081,1003.6406) || PlayerToPoint(2,playerid,-1348.3979,500.5638,11.2027) || PlayerToPoint(2,playerid,2919.8196,2105.1384,17.8955) || PlayerToPoint(2,playerid,927.2700,-1038.1577,31.8984) || PlayerToPoint(2,playerid,1070.2504,1321.7101,10.8203) || PlayerToPoint(2,playerid,240.5192,112.7945,1003.2188) || PlayerToPoint(2,playerid,919.0876,-1258.1152,15.6641) || PlayerToPoint(2,playerid,-506.6495,-539.6550,25.5234) || PlayerToPoint(2,playerid,1059.7234,1273.0679,10.8203) || PlayerToPoint(2,playerid,1175.2020,1352.1891,10.9219)) { if(gettime() < GetPVarInt(playerid, #VarFlood11)) return SendClientMessage(playerid, COLOR_GRAD1, #Voce nao pode batercartao com tanta frequencia); SetPVarInt(playerid, #VarFlood11, gettime()+12); if(OnDuty[playerid]==0) { format(string, sizeof(string), "Oficial: %s esta fardado.", sendername); SendClientMessageToAll(0x00C2ECFF,string); format(string, sizeof(string), "* Oficial: %s Tirou um Cracha,Distintivo e uma Arma do Seu Armario.", sendername); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); GivePlayerWeapon(playerid, 24, 150); GivePlayerWeapon(playerid, 25, 250); SetPlayerArmour(playerid, 100); SetPlayerHealth(playerid, 100); OnDuty[playerid] = 1; EmpregoDuty[playerid] = 2; ApplyAnimationEx(playerid, "HEIST9","USE:_SwipeCard", 4.0, 0, 0, 0, 0, 0); SetTimerEx("LimparAnim", 2000, false, "i", playerid); } else if(OnDuty[playerid]==1) { format(string, sizeof(string), "* Oficial: %s guardou seu Cracha,Distintivo e Arma no Armario.", sendername); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); ResetPlayerWeapons(playerid); OnDuty[playerid] = 0; EmpregoDuty[playerid] = 0; ApplyAnimationEx(playerid, "HEIST9","USE:_SwipeCard", 4.0, 0, 0, 0, 0, 0); SetTimerEx("LimparAnim", 2000, false, "i", playerid); } } } else if(PlayerInfo[playerid][pEmprego] == 6) { if(PlayerToPoint(2.0, playerid,2015.1254,-2093.5525,13.5469)) { if(EmpregoDuty[playerid] == 1) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Agora Voce Esta De Folga, e nao recebera chamados!"); EmpregoDuty[playerid] = 0; Bombers -= 1; } else { SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Agora voce esta de plantao com o seu trabalho e ira receber chamadas de pessoas que precisam."); EmpregoDuty[playerid] = 1; format(string, sizeof(string), "[BOMBEIRO]: %s esta em servico, (/servico bombeiro).", sendername); OOCNews(0x00C2ECFF,string); Bombers += 1; } } } else if(PlayerInfo[playerid][pEmprego] == 1) { if(EmpregoDuty[playerid] == 1) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Agora Voce Esta De Folga, e nao recebera chamados!"); EmpregoDuty[playerid] = 0; AdvOns -= 1; } else { SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Agora voce esta de plantao com o seu trabalho e ira receber chamadas de pessoas que precisam."); EmpregoDuty[playerid] = 1; format(string, sizeof(string), "[ADVOGADO]: %s esta em servico, (/servico Advogado).", sendername); OOCNews(0x00C2ECFF,string); AdvOns += 1; } } else if(PlayerInfo[playerid][pEmprego] == 10) { if(!PlayerToPoint(5.0, playerid, 36.2198,-174.3712,1.8145)) return 1; if(EmpregoDuty[playerid] == 1) { DisablePlayerCheckpoint(playerid); EmpregoDuty[playerid] = 0; Gifts[playerid] = 0; PresenteCP[playerid] = 0; TotalGifts[playerid] = 0; CarroPresentes[playerid] = 0; SetPlayerSkin(playerid, PlayerInfo[playerid][pSkin]); SendClientMessage(playerid, COR_LIGHTBLUE, "[SEDEX]:{FFFFFF} Você bateu o cartão e deixou de trabalhar!"); } else { MEGAString[0] = EOS; strcat(MEGAString, "{FFBC63}Bem Vindo Ao Trabalho {638DFF}SEDEX{FFBC63}!\n\nInformações:\n{638DFF}•{FFBC63} Existem dois passos para este emprego.\n{638DFF}•{FFBC63} O primeiro passo é ir até o armazem e colocar "); strcat(MEGAString, "presentes no veículo do emprego.\n{638DFF}•{FFBC63} O Segundo passo é entregar esses presentes que você carregou em algumas casas (depende a quantidade"); strcat(MEGAString, "de presentes que você pegou do armazem).\n{638DFF}•{FFBC63} Finalmente, você deve ir até o checkpoint. Ao chegar até ele você recebe algum dinheiro"); strcat(MEGAString, "(depende de quantos presentes você entregou).\n{638DFF}•{FFBC63} Para deixar de trabalhar, use o comando {638DFF}/batercartao{FFBC63}!\n\nVocê quer começar a trabalhar? Se sim, clique no botão {94FF63}Iniciar!{FFBC63}"); ShowPlayerDialog(playerid, DIALOG_JOB, DIALOG_STYLE_MSGBOX, " ", MEGAString, "Iniciar", "Cancelar"); } } else if(IsAMec(playerid)) { if(GetPlayerState(playerid) == 2) { if(EmpregoDuty[playerid] == 1) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Agora Voce Esta De Folga, e nao recebera chamados!"); EmpregoDuty[playerid] = 0; Mechanics -= 1; } else { GetPlayerName(playerid, sendername, sizeof(sendername)); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Agora voce esta de plantao como mecânico e ira receber chamadas de pessoas que precisam."); EmpregoDuty[playerid] = 1; SetPlayerSkin(playerid,50); format(string, sizeof(string), "Mecânico %s esta em servico, /servico mecanico.", sendername); SendClientMessageToAll(0x00C2ECFF,string); Mechanics += 1; } } else { SendClientMessage(playerid, COLOR_GREY, "Voce nao e o motorista!"); return true; } } return true; } CMD:plantao(playerid, params[]) { if(PlayerInfo[playerid][pEmprego] == 11) { if(PlayerInfo[playerid][pJailed] == 9) { SendClientMessage(playerid,COLOR_GRAD1,"Voce nao pode usar este comando nas Celas da Administracao!"); return true; } if((PlayerInfo[playerid][pAdmin] && admtrampando[playerid]) || (PlayerInfo[playerid][pHelper] && helpertrampando[playerid])) return SendClientMessage(playerid, COLOR_GREY, "Voce precisa estar em modo jogo bater cartao."); if(EmpregoDuty[playerid] == 1) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Agora Voce Esta De Folga, e nao recebera chamados!"); EmpregoDuty[playerid] = 0; Medics -= 1; } else { new string[128]; if(PlayerInfo[playerid][pSex] == 2) { GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "Medica %s esta no plantao, use (/servico medico).", sendername); } if(PlayerInfo[playerid][pSex] == 1) { GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "Medico %s esta no plantao, use (/servico medico).", sendername); } SendClientMessageToAll(COLOR_LIGHTBLUE,string); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Agora voce esta de plantao com o seu trabalho e ira receber chamadas de pessoas que precisam."); EmpregoDuty[playerid] = 1; Medics += 1; } } else SendClientMessage(playerid, COLOR_GRAD1, "Voce nao e um medico!"); return true; } CMD:aa2017equirc1(playerid) { new org = GetPlayerOrg(playerid); //new darmaconha = CofreOrg[org][dMaconha]; if(org) { if(CofreOrg[org][Vip] > 0)return EquipamentosORVIP(playerid); if(JaEquipado[playerid] == 1) { SendClientMessage(playerid,COLOR_GREY," Voce precisa esperar um pouco para equipar novamente!"); return true; } new dorgas = CofreOrg[org][Materiais]; new gastado = (CofreOrg[org][dEaglec1]+CofreOrg[org][dShotc1]+CofreOrg[org][dMP5c1]+CofreOrg[org][dAKc1]+CofreOrg[org][dRiflec1])/2; //new maconha = CofreOrg[org][Maconha]; new grana = CofreOrg[org][Dinheiro]; if(PlayerInfo[playerid][pCargo] >= 1) { new string[128]; if(CofreOrg[org][Materiais] < gastado) { if(IsAMember(playerid)) { format(string, sizeof string, "Sua organizacao nao tem %d materiais para equipar neste cargo!", gastado); SendClientMessage(playerid, -1, string); return true; } } ResetPlayerWeapons(playerid); SetPlayerHealth(playerid, 100.0); SetPlayerArmour(playerid, 100.0); CofreOrg[org][Materiais] = dorgas-gastado; GivePlayerWeapon(playerid, 1, 1); GivePlayerWeapon(playerid, 5, 1); SetPlayerHealth(playerid, 100.0); GivePlayerWeapon(playerid, 24, CofreOrg[org][dEaglec1]); GivePlayerWeapon(playerid, 25, CofreOrg[org][dShotc1]); GivePlayerWeapon(playerid, 29, CofreOrg[org][dMP5c1]); GivePlayerWeapon(playerid, 30, CofreOrg[org][dAKc1]); if(IsACop(playerid))GivePlayerWeapon(playerid, 3, 1); if(IsAMember(playerid)){ format(string, sizeof(string), "INFO HQ: Seus equipamentos gastaram %d materiais da sua HQ!", gastado); SendClientMessage(playerid, 0x00660CC8, string); } // GivePlayerMoneyEx(playerid, -50); CofreOrg[org][Dinheiro] = grana+50; format(string, sizeof(string), "*%s se equipou", PlayerName(playerid)); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); Bucetuda[playerid] = SetTimerEx("PlayerEquipar", 40000, 0, "i", playerid); JaEquipado[playerid] = 1; if(GetPlayerOrg(playerid) == 23 || GetPlayerOrg(playerid) == 15 || GetPlayerOrg(playerid) == 3 || GetPlayerOrg(playerid) == 29) { GivePlayerWeapon(playerid, 4, 1); } if(IsACop(playerid)) { GivePlayerWeapon(playerid, 24, 50); } if(GetPlayerOrg(playerid) == 20) { ResetPlayerWeapons(playerid); GivePlayerWeapon(playerid, 24, 200); GivePlayerWeapon(playerid, 25, 200); GivePlayerWeapon(playerid, 30, 500); GivePlayerWeapon(playerid, 29, 500); } if(!IsAGovernamental(playerid)) { if(CofreOrg[org][Maconha] < 50) return SendClientMessage(playerid, COLOR_WHITE, "| INFO | Você não recebeu maconha pois sua org esta sem."); format(string, sizeof(string), "Sua HQ te deu %d de Maconha", 50); SendClientMessage(playerid, COLOR_YELLOW,string); CofreOrg[org][Maconha] -= -50; PlayerInfo[playerid][pDrogas] += 50; } /*if(CofreOrg[org][Maconha] > darmaconha && IsAMember(playerid)) { format(string, sizeof(string), "Sua HQ te deu %d de Maconha", darmaconha); SendClientMessage(playerid, COLOR_YELLOW,string); CofreOrg[org][Maconha] = maconha-darmaconha; PlayerInfo[playerid][pDrogas] += darmaconha; return true; } else { return 1; }*/ } else { SendClientMessage(playerid, COLOR_WHITE, " Escolha seu cargo corretamente"); return true; } } return true; } //c2 CMD:aa2017equirc2(playerid) { new org = GetPlayerOrg(playerid); if(org) { if(CofreOrg[org][Vip] > 0)return EquipamentosORVIP(playerid); if(JaEquipado[playerid] == 1) { SendClientMessage(playerid,COLOR_GREY," Voce precisa esperar um pouco para equipar novamente!"); return true; } new dorgas = CofreOrg[org][Materiais]; new gastado = (CofreOrg[org][dEaglec2]+CofreOrg[org][dShotc2]+CofreOrg[org][dMP5c2]+CofreOrg[org][dAKc2]+CofreOrg[org][dRiflec2])/2; new grana = CofreOrg[org][Dinheiro]; if(PlayerInfo[playerid][pCargo] >= 2) { new string[128]; if(CofreOrg[org][Materiais] < gastado) { if(IsAMember(playerid)) { format(string, sizeof string, "Sua organizacao nao tem %d materiais para equipar neste cargo!", gastado); SendClientMessage(playerid, -1, string); return true; } } SetPlayerHealth(playerid, 100.0); SetPlayerArmour(playerid, 100.0); ResetPlayerWeapons(playerid); CofreOrg[org][Materiais] = dorgas-gastado; GivePlayerWeapon(playerid, 1, 1); GivePlayerWeapon(playerid, 5, 1); GivePlayerWeapon(playerid, 24, CofreOrg[org][dEaglec2]); GivePlayerWeapon(playerid, 25, CofreOrg[org][dShotc2]); GivePlayerWeapon(playerid, 29, CofreOrg[org][dMP5c2]); GivePlayerWeapon(playerid, 30, CofreOrg[org][dAKc2]); if(IsACop(playerid))GivePlayerWeapon(playerid, 3, 1); if(IsAMember(playerid)){ format(string, sizeof(string), "INFO HQ: Seus equipamentos gastaram %d materiais da sua HQ!", gastado); SendClientMessage(playerid, 0x00660CC8, string); } // GivePlayerMoneyEx(playerid, -50); CofreOrg[org][Dinheiro] = grana+50; format(string, sizeof(string), "*%s se equipou", PlayerName(playerid)); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); Bucetuda[playerid] = SetTimerEx("PlayerEquipar", 40000, 0, "i", playerid); JaEquipado[playerid] = 1; if(GetPlayerOrg(playerid) == 23 || GetPlayerOrg(playerid) == 15 || GetPlayerOrg(playerid) == 3 || GetPlayerOrg(playerid) == 29) { GivePlayerWeapon(playerid, 4, 1); } if(GetPlayerOrg(playerid) == 20) { ResetPlayerWeapons(playerid); GivePlayerWeapon(playerid, 24, 200); GivePlayerWeapon(playerid, 25, 200); GivePlayerWeapon(playerid, 30, 5000); } if(!IsAGovernamental(playerid)) { if(CofreOrg[org][Maconha] < 50) return SendClientMessage(playerid, COLOR_WHITE, "| INFO | Você não recebeu maconha pois sua org esta sem."); format(string, sizeof(string), "Sua HQ te deu %d de Maconha", 50); SendClientMessage(playerid, COLOR_YELLOW,string); CofreOrg[org][Maconha] -= -50; PlayerInfo[playerid][pDrogas] += 50; } else { return 1; } } else { SendClientMessage(playerid, COLOR_WHITE, " Escolha seu cargo corretamente"); return true; } } return true; } //c3 CMD:aa2017equirc3(playerid) { new org = GetPlayerOrg(playerid); if(org) { if(CofreOrg[org][Vip] > 0)return EquipamentosORVIP(playerid); if(JaEquipado[playerid] == 1) { SendClientMessage(playerid,COLOR_GREY," Voce precisa esperar um pouco para equipar novamente!"); return true; } new dorgas = CofreOrg[org][Materiais]; new gastado = (CofreOrg[org][dEaglec3]+CofreOrg[org][dShotc3]+CofreOrg[org][dMP5c3]+CofreOrg[org][dAKc3]+CofreOrg[org][dRiflec3])/2; new grana = CofreOrg[org][Dinheiro]; if(PlayerInfo[playerid][pCargo] >= 3) { new string[128]; if(CofreOrg[org][Materiais] < gastado) { if(IsAMember(playerid)) { format(string, sizeof string, "Sua organizacao nao tem %d materiais para equipar neste cargo!", gastado); SendClientMessage(playerid, -1, string); return true; } } SetPlayerHealth(playerid, 100.0); SetPlayerArmour(playerid, 100.0); ResetPlayerWeapons(playerid); CofreOrg[org][Materiais] = dorgas-gastado; GivePlayerWeapon(playerid, 1, 1); GivePlayerWeapon(playerid, 5, 1); GivePlayerWeapon(playerid, 24, CofreOrg[org][dEaglec3]); GivePlayerWeapon(playerid, 25, CofreOrg[org][dShotc3]); GivePlayerWeapon(playerid, 29, CofreOrg[org][dMP5c3]); GivePlayerWeapon(playerid, 30, CofreOrg[org][dAKc3]); if(IsACop(playerid))GivePlayerWeapon(playerid, 3, 1); if(IsAMember(playerid)){ format(string, sizeof(string), "INFO HQ: Seus equipamentos gastaram %d materiais da sua HQ!", gastado); SendClientMessage(playerid, 0x00660CCf8, string); } if(GetPlayerOrg(playerid) == 23 || GetPlayerOrg(playerid) == 15 || GetPlayerOrg(playerid) == 3 || GetPlayerOrg(playerid) == 29) { SetPlayerArmour(playerid, 50.0); SetPlayerHealth(playerid, 100.0); if(SNIPER_ATIVADO) GivePlayerWeapon(playerid, 34, 20); GivePlayerWeapon(playerid, 4, 1); } if(IsACop(playerid)) { if(SNIPER_ATIVADO) GivePlayerWeapon(playerid, 34, 20); GivePlayerWeapon(playerid, 31, 200); } // GivePlayerMoneyEx(playerid, -50); CofreOrg[org][Dinheiro] = grana+50; format(string, sizeof(string), "*%s se equipou", PlayerName(playerid)); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); Bucetuda[playerid] = SetTimerEx("PlayerEquipar", 40000, 0, "i", playerid); JaEquipado[playerid] = 1; if(GetPlayerOrg(playerid) == 20) { ResetPlayerWeapons(playerid); GivePlayerWeapon(playerid, 24, 200); GivePlayerWeapon(playerid, 25, 200); GivePlayerWeapon(playerid, 30, 5000); } if(!IsAGovernamental(playerid)) { if(CofreOrg[org][Maconha] < 50) return SendClientMessage(playerid, COLOR_WHITE, "| INFO | Você não recebeu maconha pois sua org esta sem."); format(string, sizeof(string), "Sua HQ te deu %d de Maconha", 50); SendClientMessage(playerid, COLOR_YELLOW,string); CofreOrg[org][Maconha] -= -50; PlayerInfo[playerid][pDrogas] += 50; } else { return 1; } } else { SendClientMessage(playerid, COLOR_WHITE, " Escolha seu cargo corretamente"); return true; } } return true; } //c4 CMD:aa2017equirc4(playerid) { new org = GetPlayerOrg(playerid); if(org) { if(CofreOrg[org][Vip] > 0)return EquipamentosORVIP(playerid); if(JaEquipado[playerid] == 1) { SendClientMessage(playerid,COLOR_GREY," Voce precisa esperar um pouco para equipar novamente!"); return true; } new dorgas = CofreOrg[org][Materiais]; new gastado = (CofreOrg[org][dEaglec4]+CofreOrg[org][dShotc4]+CofreOrg[org][dMP5c4]+CofreOrg[org][dAKc4]+CofreOrg[org][dRiflec4])/2; new grana = CofreOrg[org][Dinheiro]; if(PlayerInfo[playerid][pCargo] >= 4) { new string[128]; if(CofreOrg[org][Materiais] < gastado) { if(IsAMember(playerid)) { format(string, sizeof string, "Sua organizacao nao tem %d materiais para equipar neste cargo!", gastado); SendClientMessage(playerid, -1, string); return true; } } SetPlayerHealth(playerid, 100.0); SetPlayerArmour(playerid, 100.0); ResetPlayerWeapons(playerid); CofreOrg[org][Materiais] = dorgas-gastado; GivePlayerWeapon(playerid, 1, 1); GivePlayerWeapon(playerid, 5, 1); GivePlayerWeapon(playerid, 24, CofreOrg[org][dEaglec4]); GivePlayerWeapon(playerid, 25, CofreOrg[org][dShotc4]); GivePlayerWeapon(playerid, 29, CofreOrg[org][dMP5c4]); GivePlayerWeapon(playerid, 30, CofreOrg[org][dAKc4]); if(SNIPER_ATIVADO) GivePlayerWeapon(playerid, 34, CofreOrg[org][dRiflec4]); if(IsACop(playerid))GivePlayerWeapon(playerid, 3, 1); if(IsAMember(playerid)){ format(string, sizeof(string), "INFO HQ: Seus equipamentos gastaram %d materiais da sua HQ!", gastado); SendClientMessage(playerid, 0x00660CC8, string); } // GivePlayerMoneyEx(playerid, -50); CofreOrg[org][Dinheiro] = grana+50; format(string, sizeof(string), "*%s se equipou", PlayerName(playerid)); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); Bucetuda[playerid] = SetTimerEx("PlayerEquipar", 40000, 0, "i", playerid); JaEquipado[playerid] = 1; if(!IsAGovernamental(playerid)) { if(CofreOrg[org][Maconha] < 50) return SendClientMessage(playerid, COLOR_WHITE, "| INFO | Você não recebeu maconha pois sua org esta sem."); format(string, sizeof(string), "Sua HQ te deu %d de Maconha", 50); SendClientMessage(playerid, COLOR_YELLOW,string); CofreOrg[org][Maconha] -= -50; PlayerInfo[playerid][pDrogas] += 50; } if(IsACop(playerid)) { if(SNIPER_ATIVADO) GivePlayerWeapon(playerid, 34, 80); GivePlayerWeapon(playerid, 31, 300); } if(org == 15 || org == 3 || org == 23 || org == 29) { ResetPlayerWeapons(playerid); GivePlayerWeapon(playerid, 1, 1); GivePlayerWeapon(playerid, 4, 1); GivePlayerWeapon(playerid, 24, CofreOrg[org][dEaglec4]); GivePlayerWeapon(playerid, 25, CofreOrg[org][dShotc4]); GivePlayerWeapon(playerid, 29, CofreOrg[org][dMP5c4]); GivePlayerWeapon(playerid, 30, CofreOrg[org][dAKc4]); if(SNIPER_ATIVADO) GivePlayerWeapon(playerid, 34, CofreOrg[org][dRiflec4]); GivePlayerWeapon(playerid, 31, 150); GivePlayerWeapon(playerid, 33, 200); if(SNIPER_ATIVADO) GivePlayerWeapon(playerid, 34, 80); GivePlayerMoneyEx(playerid, -500); SetPlayerHealth(playerid, 100); SetPlayerArmour(playerid, 50.0); CofreOrg[org][Dinheiro] = grana+500; Bucetuda[playerid] = SetTimerEx("PlayerEquipar", 40000, 0, "i", playerid); JaEquipado[playerid] = 1; } if(GetPlayerOrg(playerid) == 20) { ResetPlayerWeapons(playerid); GivePlayerWeapon(playerid, 24, 200); GivePlayerWeapon(playerid, 25, 200); GivePlayerWeapon(playerid, 30, 5000); } } else { SendClientMessage(playerid, COLOR_WHITE, " Escolha seu cargo corretamente"); return true; } } return true; } //c5 CMD:aa2017equirc5(playerid) { new org = GetPlayerOrg(playerid); if(org) { if(CofreOrg[org][Vip] > 0)return EquipamentosORVIP(playerid); if(JaEquipado[playerid] == 1) { SendClientMessage(playerid,COLOR_GREY," Voce precisa esperar um pouco para equipar novamente!"); return true; } new dorgas = CofreOrg[org][Materiais]; new gastado = (CofreOrg[org][dEaglec5]+CofreOrg[org][dShotc5]+CofreOrg[org][dMP5c5]+CofreOrg[org][dAKc5]+CofreOrg[org][dRiflec5])/2; new grana = CofreOrg[org][Dinheiro]; if(PlayerInfo[playerid][pCargo] >= 5) { new string[128]; if(CofreOrg[org][Materiais] < gastado) { if(IsAMember(playerid)) { format(string, sizeof string, "Sua organizacao nao tem %d materiais para equipar neste cargo!", gastado); SendClientMessage(playerid, -1, string); return true; } } SetPlayerHealth(playerid, 100.0); SetPlayerArmour(playerid, 100.0); ResetPlayerWeapons(playerid); CofreOrg[org][Materiais] = dorgas-gastado; GivePlayerWeapon(playerid, 1, 1); GivePlayerWeapon(playerid, 5, 1); GivePlayerWeapon(playerid, 24, CofreOrg[org][dEaglec5]); GivePlayerWeapon(playerid, 25, CofreOrg[org][dShotc5]); GivePlayerWeapon(playerid, 29, CofreOrg[org][dMP5c5]); GivePlayerWeapon(playerid, 30, CofreOrg[org][dAKc5]); if(SNIPER_ATIVADO) GivePlayerWeapon(playerid, 34, CofreOrg[org][dRiflec5]); if(IsACop(playerid))GivePlayerWeapon(playerid, 3, 1); if(IsAMember(playerid)){ format(string, sizeof(string), "INFO HQ: Seus equipamentos gastaram %d materiais da sua HQ!", gastado); SendClientMessage(playerid, 0x00660CC8, string); } // GivePlayerMoneyEx(playerid, -50); CofreOrg[org][Dinheiro] = grana+50; format(string, sizeof(string), "*%s se equipou", PlayerName(playerid)); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); Bucetuda[playerid] = SetTimerEx("PlayerEquipar", 40000, 0, "i", playerid); JaEquipado[playerid] = 1; if(!IsAGovernamental(playerid)) { if(CofreOrg[org][Maconha] < 50) return SendClientMessage(playerid, COLOR_WHITE, "| INFO | Você não recebeu maconha pois sua org esta sem."); format(string, sizeof(string), "Sua HQ te deu %d de Maconha", 50); SendClientMessage(playerid, COLOR_YELLOW,string); CofreOrg[org][Maconha] -= -50; PlayerInfo[playerid][pDrogas] += 50; } if(IsACop(playerid)) { if(SNIPER_ATIVADO) GivePlayerWeapon(playerid, 34, 100); GivePlayerWeapon(playerid, 31, 400); } if(org == 15 || org == 3 || org == 23 || org == 29) { ResetPlayerWeapons(playerid); GivePlayerWeapon(playerid, 1, 1); GivePlayerWeapon(playerid, 4, 1); GivePlayerWeapon(playerid, 24, CofreOrg[org][dEaglec5]); GivePlayerWeapon(playerid, 25, CofreOrg[org][dShotc5]); GivePlayerWeapon(playerid, 29, CofreOrg[org][dMP5c5]); GivePlayerWeapon(playerid, 30, CofreOrg[org][dAKc4]); if(SNIPER_ATIVADO) GivePlayerWeapon(playerid, 34, CofreOrg[org][dRiflec5]); GivePlayerWeapon(playerid, 31, 200); GivePlayerWeapon(playerid, 33, 200); if(SNIPER_ATIVADO) GivePlayerWeapon(playerid, 34, 100); GivePlayerMoneyEx(playerid, -500); SetPlayerArmour(playerid, 50.0); SetPlayerHealth(playerid, 100.0); CofreOrg[org][Dinheiro] = grana+500; Bucetuda[playerid] = SetTimerEx("PlayerEquipar", 40000, 0, "i", playerid); JaEquipado[playerid] = 1; } if(GetPlayerOrg(playerid) == 20) { ResetPlayerWeapons(playerid); GivePlayerWeapon(playerid, 24, 200); GivePlayerWeapon(playerid, 25, 200); GivePlayerWeapon(playerid, 30, 5000); } } else { SendClientMessage(playerid, COLOR_WHITE, " Escolha seu cargo corretamente"); return true; } } return true; } //c6 = lider CMD:aa2017equirc6(playerid) { new org = GetPlayerOrg(playerid); if(org) { if(CofreOrg[org][Vip] > 0)return EquipamentosORVIP(playerid); if(JaEquipado[playerid] == 1) { SendClientMessage(playerid,COLOR_GREY," Voce precisa esperar um pouco para equipar novamente!"); return true; } new dorgas = CofreOrg[org][Materiais]; new gastado = (CofreOrg[org][dEaglec5]+CofreOrg[org][dShotc5]+CofreOrg[org][dMP5c5]+CofreOrg[org][dAKc5]+CofreOrg[org][dRiflec5])/2; new grana = CofreOrg[org][Dinheiro]; if(PlayerInfo[playerid][pCargo] == 6) { new string[128]; if(CofreOrg[org][Materiais] < gastado) { if(IsAMember(playerid)) { format(string, sizeof string, "Sua organizacao nao tem %d materiais para equipar neste cargo!", gastado); SendClientMessage(playerid, -1, string); return true; } } SetPlayerHealth(playerid, 100.0); ResetPlayerWeapons(playerid); CofreOrg[org][Materiais] = dorgas-gastado; GivePlayerWeapon(playerid, 1, 1); GivePlayerWeapon(playerid, 5, 1); GivePlayerWeapon(playerid, 24, CofreOrg[org][dEaglec5]); GivePlayerWeapon(playerid, 25, CofreOrg[org][dShotc5]); GivePlayerWeapon(playerid, 29, CofreOrg[org][dMP5c5]); GivePlayerWeapon(playerid, 30, CofreOrg[org][dAKc5]); if(SNIPER_ATIVADO) GivePlayerWeapon(playerid, 34, CofreOrg[org][dRiflec5]); if(IsAMember(playerid)){ format(string, sizeof(string), "INFO HQ: Seus equipamentos gastaram %d materiais da sua HQ!", gastado); SendClientMessage(playerid, 0x00660CC8, string); } // GivePlayerMoneyEx(playerid, -50); CofreOrg[org][Dinheiro] = grana+50; format(string, sizeof(string), "*%s se equipou", PlayerName(playerid)); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); Bucetuda[playerid] = SetTimerEx("PlayerEquipar", 40000, 0, "i", playerid); JaEquipado[playerid] = 1; if(!IsAGovernamental(playerid)) { if(CofreOrg[org][Maconha] < 50) return SendClientMessage(playerid, COLOR_WHITE, "| INFO | Você não recebeu maconha pois sua org esta sem."); format(string, sizeof(string), "Sua HQ te deu %d de Maconha", 50); SendClientMessage(playerid, COLOR_YELLOW,string); CofreOrg[org][Maconha] -= -50; PlayerInfo[playerid][pDrogas] += 50; } if(IsACop(playerid)) { if(SNIPER_ATIVADO) GivePlayerWeapon(playerid, 34, 120); GivePlayerWeapon(playerid, 31, 600); } if(org == 15 || org == 3 || org == 23 || org == 29) { ResetPlayerWeapons(playerid); GivePlayerWeapon(playerid, 1, 1); GivePlayerWeapon(playerid, 4, 1); GivePlayerWeapon(playerid, 24, CofreOrg[org][dEaglec5]); GivePlayerWeapon(playerid, 25, CofreOrg[org][dShotc5]); GivePlayerWeapon(playerid, 29, CofreOrg[org][dMP5c5]); GivePlayerWeapon(playerid, 30, CofreOrg[org][dAKc5]); if(SNIPER_ATIVADO) GivePlayerWeapon(playerid, 34, CofreOrg[org][dRiflec5]); GivePlayerWeapon(playerid, 31, 400); GivePlayerWeapon(playerid, 33, 200); if(SNIPER_ATIVADO) GivePlayerWeapon(playerid, 34, 120); GivePlayerMoneyEx(playerid, -500); SetPlayerArmour(playerid, 50.0); SetPlayerHealth(playerid, 100.0); CofreOrg[org][Dinheiro] = grana+500; Bucetuda[playerid] = SetTimerEx("PlayerEquipar", 40000, 0, "i", playerid); JaEquipado[playerid] = 1; } if(GetPlayerOrg(playerid) == 20) { ResetPlayerWeapons(playerid); GivePlayerWeapon(playerid, 24, 200); GivePlayerWeapon(playerid, 25, 200); GivePlayerWeapon(playerid, 30, 5000); } } else { SendClientMessage(playerid, COLOR_WHITE, " Escolha seu cargo corretamente"); return true; } } return true; } EquipamentosORVIP(playerid){ static string[89] ; format(string, sizeof(string), "*%s pegou os equipamentos (ORG VIP)", PlayerName(playerid)); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); Bucetuda[playerid] = SetTimerEx("PlayerEquipar", 40000, 0, "i", playerid); ResetPlayerWeapons(playerid); SetPlayerHealth(playerid, 100.0); SetPlayerArmour(playerid, 100.0); GivePlayerWeapon(playerid, 4, 1); GivePlayerWeapon(playerid, 24, 999); GivePlayerWeapon(playerid, 25, 999); GivePlayerWeapon(playerid, 29, 999); GivePlayerWeapon(playerid, 31, 999); if(SNIPER_ATIVADO) GivePlayerWeapon(playerid, 34, 999); return 1; } CMD:equiparreporter(playerid, params[]) { if((PlayerInfo[playerid][pAdmin] && admtrampando[playerid]) || (PlayerInfo[playerid][pHelper] && helpertrampando[playerid])) return SendClientMessage(playerid, COLOR_GREY, "Voce precisa estar em modo jogo para equipar-se."); if(PlayerToPoint(3, playerid,356.6207,208.9427,1008.3828)) { if((PlayerInfo[playerid][pAdmin] && admtrampando[playerid]) || (PlayerInfo[playerid][pHelper] && helpertrampando[playerid])) return SendClientMessage(playerid, COLOR_GREY, "Voce precisa estar em modo jogo para equipar-se."); if(InTaser[playerid] == true || InChoque[playerid] == true) { SendClientMessage(playerid,COLOR_GREY,"Voce nao pode equipar-se quando estiver com o Taser ou Choque em maos!"); return true; } if(gettime() < GetPVarInt(playerid, "VarDano")) return SendClientMessage(playerid, COLOR_GRAD1,"Voce so podera equipar 3 minutos apos tomar dano de alguem !"); GetPlayerName(playerid, sendername, sizeof(sendername)); if(PlayerInfo[playerid][pMembro] == 9 || PlayerInfo[playerid][pLider] == 9)//Reporter { new string[128]; format(string, sizeof(string), "* O Reporter %s Pegou Seus Equipamentos", PlayerName(playerid)); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); ResetPlayerWeapons(playerid); TempDropArmasBody[playerid] = 0; SetPlayerHealth(playerid, 100.0); GivePlayerWeapon(playerid, 24, 150); GivePlayerWeapon(playerid, 43, 200); return true; } else { SendClientMessage(playerid, 0xF0FFFFAA, "Voce nao e Reporter !"); } } return true; } CMD:equipargang(playerid, params[]) { if(gettime() < GetPVarInt(playerid, "VarDano")) return SendClientMessage(playerid, COLOR_GRAD1,"Voce so podera equipar 3 minutos apos tomar dano de alguem !"); if(JaEquipado[playerid] == 1) { SendClientMessage(playerid,COLOR_GREY,"Voce precisa esperar um pouco para equipar novamente!"); return true; } if (IsPlayerInVehicle(playerid,CarroGroove(7)) || IsPlayerInVehicle(playerid,CarroAzteca(2)) || IsPlayerInVehicle(playerid,CarroBallas(5)) || IsPlayerInVehicle(playerid,CarroVagos(9)) || IsPlayerInVehicle(playerid,CarroCV(9)) || IsPlayerInVehicle(playerid,CarroPCC(1))) { new string[128]; if(OrgsGang(playerid)) { if(CofreOrg[PlayerInfo[playerid][pMembro]][Vip] != 0 || CofreOrg[PlayerInfo[playerid][pLider]][Vip] != 0) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "*Voce Pegou os Equipamentos VIP de Sua Org."); format(string, sizeof(string), "* %s pega seus equipamentos ORG-VIP.", sendername); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SetPlayerHealth(playerid, 100.0); SetPlayerArmour(playerid, 100.0); GivePlayerWeapon(playerid, 24, 500); GivePlayerWeapon(playerid, 25, 500); GivePlayerWeapon(playerid, 29, 500); if(SNIPER_ATIVADO) GivePlayerWeapon(playerid, 34, 5); GivePlayerWeapon(playerid, 31, 500); Bucetuda[playerid] = SetTimerEx("PlayerEquipar", 40000, 0, "i", playerid); JaEquipado[playerid] = 1; return 1; } else { SendClientMessage(playerid, COLOR_LIGHTBLUE, "*Voce Pegou os Equipamentos Proprios Para o seu Cargo."); if (PlayerInfo[playerid][pCargo] == 1) { format(string, sizeof(string), "* %s pega seus equipamentos.", sendername); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SetPlayerHealth(playerid, 100.0); SetPlayerArmour(playerid, 100.0); GivePlayerWeapon(playerid, 24, 100); GivePlayerWeapon(playerid, 25, 50); GivePlayerWeapon(playerid, 29, 80); GivePlayerWeapon(playerid, 31, 50); if(SNIPER_ATIVADO) GivePlayerWeapon(playerid, 34, 5); Bucetuda[playerid] = SetTimerEx("PlayerEquipar", 40000, 0, "i", playerid); JaEquipado[playerid] = 1; return 1; } if (PlayerInfo[playerid][pCargo] == 2) { format(string, sizeof(string), "* %s pega seus equipamentos.", sendername); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SetPlayerHealth(playerid, 100.0); SetPlayerArmour(playerid, 100.0); GivePlayerWeapon(playerid, 24, 150); GivePlayerWeapon(playerid, 25, 70); GivePlayerWeapon(playerid, 29, 120); GivePlayerWeapon(playerid, 31, 250); if(SNIPER_ATIVADO) GivePlayerWeapon(playerid, 34, 5); GivePlayerWeapon(playerid, 31, 100); Bucetuda[playerid] = SetTimerEx("PlayerEquipar", 40000, 0, "i", playerid); JaEquipado[playerid] = 1; return 1; } if (PlayerInfo[playerid][pCargo] == 3) { format(string, sizeof(string), "* %s pega seus equipamentos.", sendername); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SetPlayerHealth(playerid, 100.0); SetPlayerArmour(playerid, 100.0); GivePlayerWeapon(playerid, 24, 170); GivePlayerWeapon(playerid, 25, 100); GivePlayerWeapon(playerid, 29, 150); GivePlayerWeapon(playerid, 31, 250); if(SNIPER_ATIVADO) GivePlayerWeapon(playerid, 34, 5); GivePlayerWeapon(playerid, 31, 150); Bucetuda[playerid] = SetTimerEx("PlayerEquipar", 40000, 0, "i", playerid); JaEquipado[playerid] = 1; return 1; } if (PlayerInfo[playerid][pCargo] == 4) { format(string, sizeof(string), "* %s pega seus equipamentos.", sendername); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SetPlayerHealth(playerid, 100.0); SetPlayerArmour(playerid, 100.0); GivePlayerWeapon(playerid, 24, 200); GivePlayerWeapon(playerid, 25, 150); GivePlayerWeapon(playerid, 29, 200); GivePlayerWeapon(playerid, 31, 250); if(SNIPER_ATIVADO) GivePlayerWeapon(playerid, 34, 5); GivePlayerWeapon(playerid, 31, 200); Bucetuda[playerid] = SetTimerEx("PlayerEquipar", 40000, 0, "i", playerid); JaEquipado[playerid] = 1; return 1; } if (PlayerInfo[playerid][pCargo] == 5) { format(string, sizeof(string), "* %s pega seus equipamentos.", sendername); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SetPlayerHealth(playerid, 100.0); SetPlayerArmour(playerid, 100.0); GivePlayerWeapon(playerid, 24, 250); GivePlayerWeapon(playerid, 25, 200); GivePlayerWeapon(playerid, 31, 250); if(SNIPER_ATIVADO) GivePlayerWeapon(playerid, 34, 5); GivePlayerWeapon(playerid, 29, 250); GivePlayerWeapon(playerid, 31, 350); Bucetuda[playerid] = SetTimerEx("PlayerEquipar", 40000, 0, "i", playerid); JaEquipado[playerid] = 1; return 1; } if (PlayerInfo[playerid][pCargo] == 6) { format(string, sizeof(string), "* Lider %s pega seus equipamentos.", sendername); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SetPlayerHealth(playerid, 100.0); SetPlayerArmour(playerid, 100.0); GivePlayerWeapon(playerid, 24, 250); GivePlayerWeapon(playerid, 25, 250); GivePlayerWeapon(playerid, 31, 350); if(SNIPER_ATIVADO) GivePlayerWeapon(playerid, 34, 5); GivePlayerWeapon(playerid, 29, 300); GivePlayerWeapon(playerid, 31, 300); Bucetuda[playerid] = SetTimerEx("PlayerEquipar", 40000, 0, "i", playerid); JaEquipado[playerid] = 1; return 1; } } } } return 1; } CMD:equipar(playerid, params[]) { new string[128]; if(PlayerToPoint(2,playerid,229.9627,165.1098,1003.0234) || PlayerToPoint(2,playerid,1712.3022,-1640.2500,20.2239) || PlayerToPoint(2,playerid,2602.8528,1899.2375,11.0234) || PlayerToPoint(2,playerid,255.1995,77.1081,1003.6406) || PlayerToPoint(2,playerid,-1348.3979,500.5638,11.2027) || PlayerToPoint(2,playerid,2919.8196,2105.1384,17.8955) || PlayerToPoint(2,playerid,927.2700,-1038.1577,31.8984) || PlayerToPoint(2,playerid,1175.2020,1352.1891,10.9219) || PlayerToPoint(2,playerid,240.5192,112.7945,1003.2188) || PlayerToPoint(2,playerid,919.0876,-1258.1152,15.6641) || PlayerToPoint(2,playerid,-506.6495,-539.6550,25.5234) || PlayerToPoint(2,playerid,1059.7234,1273.0679,10.8203)) { if(PlayerInfo[playerid][pJailed] != 0) return SendClientMessage(playerid,COLOR_GREY,"Voce nao pode equipar na cadeia!"); if((PlayerInfo[playerid][pAdmin] && admtrampando[playerid]) || (PlayerInfo[playerid][pHelper] && helpertrampando[playerid])) return SendClientMessage(playerid, COLOR_GREY, "Voce precisa estar em modo jogo para equipar-se."); if(InTaser[playerid] == true || InChoque[playerid] == true) return SendClientMessage(playerid,COLOR_GREY,"Voce nao pode equipar-se quando estiver com o Taser ou Choque em maos!"); if(gettime() < GetPVarInt(playerid, "VarDano")) return SendClientMessage(playerid, COLOR_GRAD1,"Voce so podera equipar 3 minutos apos tomar dano de alguem !"); if(gettime() < GetPVarInt(playerid, #VarFlood10)) return SendClientMessage(playerid, COLOR_GRAD1, #Voce nao pode equipar com tanta frequencia); SetPVarInt(playerid, #VarFlood10, gettime()+60); if(PlayerInfo[playerid][pLider] == 1 || PlayerInfo[playerid][pLider] == 2 || PlayerInfo[playerid][pLider] == 16 || PlayerInfo[playerid][pLider] == 11 || PlayerInfo[playerid][pLider] == 33|| PlayerInfo[playerid][pMembro] == 1|| PlayerInfo[playerid][pMembro] == 6 || PlayerInfo[playerid][pMembro] == 2 || PlayerInfo[playerid][pMembro] == 16 || PlayerInfo[playerid][pMembro] == 11 || PlayerInfo[playerid][pMembro] == 33 || GetPlayerOrg(playerid) == 35 || GetPlayerOrg(playerid) == 36 || GetPlayerOrg(playerid) == 6) { if(PlayerInfo[playerid][pCargo] == 6) { format(string, sizeof(string), "* %s se equipou.", PlayerName(playerid)); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SendClientMessage(playerid,COLOR_LIGHTBLUE,"*** Voce pegou seus equipamentos de acordo com o seu cargo!"); ResetPlayerWeapons(playerid); TempDropArmasBody[playerid] = 0; SetPlayerArmour(playerid, 100.0); SetPlayerHealth(playerid, 100.0); GivePlayerWeapon(playerid, 25, 140); GivePlayerWeapon(playerid, 24, 170); GivePlayerWeapon(playerid, 29, 510); GivePlayerWeapon(playerid, 31, 550); if(SNIPER_ATIVADO) GivePlayerWeapon(playerid, 34, 80); GivePlayerWeapon(playerid, 17, 50); GivePlayerWeapon(playerid, 3, 1); } if(PlayerInfo[playerid][pCargo] == 5) { format(string, sizeof(string), "* %s se equipou.", PlayerName(playerid)); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SendClientMessage(playerid,COLOR_LIGHTBLUE,"*** Voce pegou seus equipamentos de acordo com o seu cargo!"); ResetPlayerWeapons(playerid); TempDropArmasBody[playerid] = 0; SetPlayerArmour(playerid, 100.0); SetPlayerHealth(playerid, 100.0); GivePlayerWeapon(playerid, 25, 120); GivePlayerWeapon(playerid, 24, 360); GivePlayerWeapon(playerid, 29, 490); GivePlayerWeapon(playerid, 3, 1); GivePlayerWeapon(playerid, 31, 400); if(SNIPER_ATIVADO) GivePlayerWeapon(playerid, 34, 50); GivePlayerWeapon(playerid, 17, 40); } if(PlayerInfo[playerid][pCargo] == 4) { format(string, sizeof(string), "* %s se equipou.", PlayerName(playerid)); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SendClientMessage(playerid,COLOR_LIGHTBLUE,"*** Voce pegou seus equipamentos de acordo com o seu cargo!"); ResetPlayerWeapons(playerid); TempDropArmasBody[playerid] = 0; SetPlayerArmour(playerid, 100.0); SetPlayerHealth(playerid, 100.0); GivePlayerWeapon(playerid, 25, 120); GivePlayerWeapon(playerid, 24, 360); GivePlayerWeapon(playerid, 29, 490); GivePlayerWeapon(playerid, 3, 1); GivePlayerWeapon(playerid, 31, 400); if(SNIPER_ATIVADO) GivePlayerWeapon(playerid, 34, 50); GivePlayerWeapon(playerid, 17, 40); } if(PlayerInfo[playerid][pCargo] == 3) { format(string, sizeof(string), "* %s se equipou.", PlayerName(playerid)); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SendClientMessage(playerid,COLOR_LIGHTBLUE,"*** Voce pegou seus equipamentos de acordo com o seu cargo!"); ResetPlayerWeapons(playerid); TempDropArmasBody[playerid] = 0; SetPlayerArmour(playerid, 100.0); SetPlayerHealth(playerid, 100.0); GivePlayerWeapon(playerid, 25, 190); GivePlayerWeapon(playerid, 24, 150); GivePlayerWeapon(playerid, 29, 450); GivePlayerWeapon(playerid, 31, 550); GivePlayerWeapon(playerid, 17, 30); if(SNIPER_ATIVADO) GivePlayerWeapon(playerid, 34, 30); GivePlayerWeapon(playerid, 3, 1); } if(PlayerInfo[playerid][pCargo] == 2) { format(string, sizeof(string), "* %s se equipou.", PlayerName(playerid)); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SendClientMessage(playerid,COLOR_LIGHTBLUE,"*** Voce pegou seus equipamentos de acordo com o seu cargo!"); ResetPlayerWeapons(playerid); TempDropArmasBody[playerid] = 0; SetPlayerArmour(playerid, 100.0); SetPlayerHealth(playerid, 100.0); GivePlayerWeapon(playerid, 25, 80); GivePlayerWeapon(playerid, 24, 150); GivePlayerWeapon(playerid, 3, 1); GivePlayerWeapon(playerid, 29, 300); GivePlayerWeapon(playerid, 31, 300); if(SNIPER_ATIVADO) GivePlayerWeapon(playerid, 34, 80); GivePlayerWeapon(playerid, 17, 20); } if(PlayerInfo[playerid][pCargo] == 1) { format(string, sizeof(string), "* %s se equipou.", PlayerName(playerid)); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SendClientMessage(playerid,COLOR_LIGHTBLUE,"*** Voce pegou seus equipamentos de acordo com o seu cargo!"); ResetPlayerWeapons(playerid); TempDropArmasBody[playerid] = 0; SetPlayerArmour(playerid, 100.0); SetPlayerHealth(playerid, 100.0); GivePlayerWeapon(playerid, 25, 190); GivePlayerWeapon(playerid, 24, 150); GivePlayerWeapon(playerid, 29, 450); GivePlayerWeapon(playerid, 31, 550); if(SNIPER_ATIVADO) GivePlayerWeapon(playerid, 34, 5); GivePlayerWeapon(playerid, 17, 30); GivePlayerWeapon(playerid, 3, 1); } } if(PlayerInfo[playerid][pLider] == 3) { format(string, sizeof(string), "* %s se equipou.", PlayerName(playerid)); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SendClientMessage(playerid,COLOR_LIGHTBLUE,"*** Voce pegou seus equipamentos de acordo com o seu cargo!"); ResetPlayerWeapons(playerid); TempDropArmasBody[playerid] = 0; SetPlayerArmour(playerid, 100.0); SetPlayerHealth(playerid, 100.0); GivePlayerWeapon(playerid, 25, 500); GivePlayerWeapon(playerid, 24, 500); GivePlayerWeapon(playerid, 31, 600); GivePlayerWeapon(playerid, 29, 600); GivePlayerWeapon(playerid, 17, 10); if(SNIPER_ATIVADO) GivePlayerWeapon(playerid, 34, 100); return true; } if(PlayerInfo[playerid][pMembro] == 3)//Exercito { SetPlayerArmour(playerid, 100.0); SetPlayerHealth(playerid, 100.0); GivePlayerWeapon(playerid, 4, 1); if(PlayerInfo[playerid][pCargo] == 1) { format(string, sizeof(string), "* %s se equipou.", PlayerName(playerid)); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SendClientMessage(playerid,COLOR_LIGHTBLUE,"*** Voce pegou seus equipamentos de acordo com o seu cargo!"); ResetPlayerWeapons(playerid); TempDropArmasBody[playerid] = 0; GivePlayerWeapon(playerid, 25, 80); GivePlayerWeapon(playerid, 24, 80); GivePlayerWeapon(playerid, 31, 300); GivePlayerWeapon(playerid, 29, 300); if(SNIPER_ATIVADO) GivePlayerWeapon(playerid, 34, 5); GivePlayerWeapon(playerid, 17, 10); return true; } if(PlayerInfo[playerid][pCargo] == 2) { format(string, sizeof(string), "* %s se equipou.", PlayerName(playerid)); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SendClientMessage(playerid,COLOR_LIGHTBLUE,"*** Voce pegou seus equipamentos de acordo com o seu cargo!"); ResetPlayerWeapons(playerid); TempDropArmasBody[playerid] = 0; GivePlayerWeapon(playerid, 25, 80); GivePlayerWeapon(playerid, 24, 150); GivePlayerWeapon(playerid, 29, 300); GivePlayerWeapon(playerid, 31, 400); if(SNIPER_ATIVADO) GivePlayerWeapon(playerid, 34, 5); GivePlayerWeapon(playerid, 17, 20); return true; } if(PlayerInfo[playerid][pCargo] == 3) { format(string, sizeof(string), "* %s se equipou.", PlayerName(playerid)); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SendClientMessage(playerid,COLOR_LIGHTBLUE,"*** Voce pegou seus equipamentos de acordo com o seu cargo!"); ResetPlayerWeapons(playerid); TempDropArmasBody[playerid] = 0; GivePlayerWeapon(playerid, 25, 190); GivePlayerWeapon(playerid, 24, 150); GivePlayerWeapon(playerid, 29, 450); if(SNIPER_ATIVADO) GivePlayerWeapon(playerid, 34, 5); GivePlayerWeapon(playerid, 31, 550); GivePlayerWeapon(playerid, 17, 30); if(SNIPER_ATIVADO) GivePlayerWeapon(playerid, 34, 25); return true; } if(PlayerInfo[playerid][pCargo] == 4) { format(string, sizeof(string), "* %s se equipou.", PlayerName(playerid)); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SendClientMessage(playerid,COLOR_LIGHTBLUE,"*** Voce pegou seus equipamentos de acordo com o seu cargo!"); ResetPlayerWeapons(playerid); TempDropArmasBody[playerid] = 0; GivePlayerWeapon(playerid, 25, 120); GivePlayerWeapon(playerid, 24, 360); GivePlayerWeapon(playerid, 29, 490); GivePlayerWeapon(playerid, 31, 400); GivePlayerWeapon(playerid, 17, 40); if(SNIPER_ATIVADO) GivePlayerWeapon(playerid, 34, 5); return true; } if(PlayerInfo[playerid][pCargo] == 6) { format(string, sizeof(string), "* %s se equipou.", PlayerName(playerid)); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SendClientMessage(playerid,COLOR_LIGHTBLUE,"*** Voce pegou seus equipamentos de acordo com o seu cargo!"); ResetPlayerWeapons(playerid); TempDropArmasBody[playerid] = 0; GivePlayerWeapon(playerid, 25, 140); GivePlayerWeapon(playerid, 24, 170); GivePlayerWeapon(playerid, 29, 510); GivePlayerWeapon(playerid, 31, 550); GivePlayerWeapon(playerid, 17, 50); if(SNIPER_ATIVADO) GivePlayerWeapon(playerid, 34, 100); return true; } } } if(PlayerInfo[playerid][pEmprego] == 6)//Bombeiros { if(PlayerToPoint(2.0, playerid,2015.1254,-2093.5525,13.5469)) { format(string, sizeof(string), "[BOMBEIRO]: %s se equipou.", PlayerName(playerid)); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); ResetPlayerWeapons(playerid); TempDropArmasBody[playerid] = 0; SetPlayerArmour(playerid, 100.0); SetPlayerHealth(playerid, 100.0); GivePlayerWeapon(playerid, 42, 500); } } return true; } CMD:produtos(playerid)return ForT:carga(playerid); CMD:prods(playerid)return ForT:carga(playerid); CMD:carga(playerid) { new tmpcar = GetPlayerVehicleID(playerid); new string[50]; if(GetVehicleModel(tmpcar) == 403 || GetVehicleModel(tmpcar) == 499 || GetVehicleModel(tmpcar) == 414 || GetVehicleModel(tmpcar) == 456 || GetVehicleModel(tmpcar) != 514 || GetVehicleModel(tmpcar) != 515 || GetVehicleModel(tmpcar) != 440 || GetVehicleModel(tmpcar) != 456) { GameTextForPlayer(playerid, "~r~Voce nao esta em um veiculo de carga", 5000, 1); return 1; } format(string, sizeof(string), "Produtos: %d/%d.", PlayerHaul[tmpcar][pLoad],PlayerHaul[tmpcar][pCapasity]); SendClientMessage(playerid, TEAM_GROVE_COLOR, string); return 1; } CMD:comprarprods(playerid, params[])return ForT:comprarprodutos(playerid, params); CMD:comprarprodutos(playerid, params[]) { new tmpcar = GetPlayerVehicleID(playerid); new compcost = 5; new amount; if(sscanf(params, "d", amount)) { SendClientMessage(playerid, COLOR_GRAD1, "USE: /comprarprodutos [Quantia]"); return 1; } new string[128]; if(!PlayerToPoint(20.0, playerid, 2485.0405,-2081.7695,13.5469) && !PlayerToPoint(20.0, playerid, SBizzInfo[21][sbEntranceX],SBizzInfo[21][sbEntranceY],SBizzInfo[21][sbEntranceZ])) { SendClientMessage(playerid, COLOR_GRAD3, "Voce esta longe da entrada de comprar Produtos!"); return true; } if(PlayerToPoint(20.0, playerid, 2485.0405,-2081.7695,13.5469) || PlayerToPoint(20.0, playerid, SBizzInfo[21][sbEntranceX],SBizzInfo[21][sbEntranceY],SBizzInfo[21][sbEntranceZ])) { if(GetVehicleModel(tmpcar) == 456 ) { if(PlayerHaul[tmpcar][pLoad] < PlayerHaul[tmpcar][pCapasity]) { if(amount < 1 || amount > 500) { SendClientMessage(playerid, COLOR_GREY, " Nao e possivel comprar menos de 1 Produto ou mais de 500 !"); return 1; } new check= PlayerHaul[tmpcar][pLoad] + amount; if(check > PlayerHaul[tmpcar][pCapasity]) { format(string, sizeof(string), "Voce foi ao longo do Limite do caminhao que e de %d, que atualmente e %d.",PlayerHaul[tmpcar][pCapasity],PlayerHaul[tmpcar][pLoad]); SendClientMessage(playerid, COLOR_GREY, string); return 1; } new cost = amount*compcost; if(GetPlayerMoney(playerid) >= cost) { PlayerHaul[tmpcar][pLoad] += amount; format(string, sizeof(string), "Produtos: %d/%d.", PlayerHaul[tmpcar][pLoad],PlayerHaul[tmpcar][pCapasity]); SendClientMessage(playerid, TEAM_GROVE_COLOR, string); format(string, sizeof(string), "Voce comprou %d Produtos por $%d.", amount,cost); SendClientMessage(playerid, TEAM_GROVE_COLOR, string); SendClientMessage(playerid, COLOR_GREY, "Use /gps e procure uma propriedade que pague bem /motor para ligar o motor"); GiveDinheiro(playerid,-cost); empmoney(playerid, 21, cost); PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); format(string, sizeof(string), "%d",PlayerHaul[tmpcar][pLoad]); PlayerTextDrawSetString(playerid,Produtosnb[playerid], string); format(string, sizeof(string), "%d",PlayerHaul[tmpcar][pCapasity]); PlayerTextDrawSetString(playerid,MaxProdutosnb[playerid], string); ShowCami(playerid); return 1; } else { format(string, sizeof(string), "Voce nao pode comprar %d Produtos voce nao tem $%d !", amount,cost); SendClientMessage(playerid, TEAM_GROVE_COLOR, string); return 1; } } else { format(string, sizeof(string), "Produtos: %d/%d.", PlayerHaul[tmpcar][pLoad],PlayerHaul[tmpcar][pCapasity]); SendClientMessage(playerid, TEAM_GROVE_COLOR, string); return 1; } } else { SendClientMessage(playerid, TEAM_GROVE_COLOR, "Este veiculo nao pode transportar produtos."); return 1; } } return 1; } CMD:venderprods(playerid)return ForT:venderprodutos(playerid); CMD:venderprodutos(playerid) { new cashmade; new tmpcar; tmpcar = GetPlayerVehicleID(playerid); if(GetVehicleTrailer(tmpcar) < 0) { if(GetVehicleModel(tmpcar) != 440 && GetVehicleModel(tmpcar) != 456) { SendClientMessage(playerid, COLOR_GREY, "Este caminhao nao tem a carga traseira."); return 1; } } new string[128]; if(PlayerHaul[tmpcar][pLoad] == 0) { GameTextForPlayer(playerid, "~r~Caminhao vazio, volte para o estoque.", 5000, 1); format(string, sizeof(string), "Produtos: %d/%d.", PlayerHaul[tmpcar][pLoad],PlayerHaul[tmpcar][pCapasity]); SendClientMessage(playerid, TEAM_GROVE_COLOR, string); format(string, sizeof(string), "%d",PlayerHaul[tmpcar][pLoad]); PlayerTextDrawSetString(playerid,Produtosnb[playerid], string); format(string, sizeof(string), "%d",PlayerHaul[tmpcar][pCapasity]); PlayerTextDrawSetString(playerid,MaxProdutosnb[playerid], string); ShowCami(playerid); Atualizar3Dtexts(); return 1; } for(new i = 0; i < sizeof(BizzInfo); i++) { if (PlayerToPoint(10, playerid,BizzInfo[i][bEntranceX], BizzInfo[i][bEntranceY], BizzInfo[i][bEntranceZ])) { if(BizzInfo[i][bProductsReq] < 1) { GameTextForPlayer(playerid, "~r~Nao precisamos mais de produtos", 5000, 1); format(string, sizeof(string), "Dinheiro adquirido $%d.", cashmade); PlayerInfo[playerid][pConta] += cashmade; SendClientMessage(playerid, TEAM_GROVE_COLOR, string); format(string, sizeof(string), "Produtos: %d/%d.", PlayerHaul[tmpcar][pLoad],PlayerHaul[tmpcar][pCapasity]); SendClientMessage(playerid, TEAM_GROVE_COLOR, string); format(string, sizeof(string), "%d",PlayerHaul[tmpcar][pLoad]); PlayerTextDrawSetString(playerid,Produtosnb[playerid], string); format(string, sizeof(string), "%d",PlayerHaul[tmpcar][pCapasity]); PlayerTextDrawSetString(playerid,MaxProdutosnb[playerid], string); ShowCami(playerid); return 1; } if(PlayerHaul[tmpcar][pLoad]*BizzInfo[i][bPriceProd] > BizzInfo[i][bTill]) { GameTextForPlayer(playerid, "~r~Nao podemos pagar pelos produtos", 5000, 1); format(string, sizeof(string), "Dinheiro adquirido $%d.", cashmade); SendClientMessage(playerid, TEAM_GROVE_COLOR, string); PlayerInfo[playerid][pConta] = cashmade; format(string, sizeof(string), "Produtos: %d/%d.", PlayerHaul[tmpcar][pLoad],PlayerHaul[tmpcar][pCapasity]); SendClientMessage(playerid, TEAM_GROVE_COLOR, string); format(string, sizeof(string), "%d",PlayerHaul[tmpcar][pLoad]); PlayerTextDrawSetString(playerid,Produtosnb[playerid], string); format(string, sizeof(string), "%d",PlayerHaul[tmpcar][pCapasity]); PlayerTextDrawSetString(playerid,MaxProdutosnb[playerid], string); ShowCami(playerid); return 1; } cashmade = PlayerHaul[tmpcar][pLoad]*BizzInfo[i][bPriceProd]; BizzInfo[i][bProducts] += PlayerHaul[tmpcar][pLoad]; BizzInfo[i][bProductsReq] -= PlayerHaul[tmpcar][pLoad]; PlayerHaul[tmpcar][pLoad] = 0; GiveDinheiro(playerid,cashmade); BizzInfo[i][bTill] -= cashmade; empmoney(playerid, 21, cashmade); GameTextForPlayer(playerid, "~r~Caminhao vazio, volte para o estoque", 5000, 1); format(string, sizeof(string), "Dinheiro adquirido $%d.", cashmade); SendClientMessage(playerid, TEAM_GROVE_COLOR, string); PlayerInfo[playerid][pConta] += cashmade; format(string, sizeof(string), "Produtos: %d/%d.", PlayerHaul[tmpcar][pLoad],PlayerHaul[tmpcar][pCapasity]); SendClientMessage(playerid, TEAM_GROVE_COLOR, string); PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); format(string, sizeof(string), "%d",PlayerHaul[tmpcar][pLoad]); PlayerTextDrawSetString(playerid,Produtosnb[playerid], string); format(string, sizeof(string), "%d",PlayerHaul[tmpcar][pCapasity]); PlayerTextDrawSetString(playerid,MaxProdutosnb[playerid], string); ShowCami(playerid); SalvarEmpresa(i); Atualizar3Dtexts(); return 1; } } for(new i = 0; i < sizeof(SBizzInfo); i++) { if (PlayerToPoint(10, playerid,SBizzInfo[i][sbEntranceX], SBizzInfo[i][sbEntranceY], SBizzInfo[i][sbEntranceZ])) { if(SBizzInfo[i][sbProductsReq] < 1) { GameTextForPlayer(playerid, "~r~Nao precisamos mais de produtos", 5000, 1); format(string, sizeof(string), "Dinheiro adquirido $%d.", cashmade); SendClientMessage(playerid, TEAM_GROVE_COLOR, string); PlayerInfo[playerid][pConta] = cashmade; format(string, sizeof(string), "Produtos: %d/%d.", PlayerHaul[tmpcar][pLoad],PlayerHaul[tmpcar][pCapasity]); SendClientMessage(playerid, TEAM_GROVE_COLOR, string); format(string, sizeof(string), "%d",PlayerHaul[tmpcar][pLoad]); PlayerTextDrawSetString(playerid,Produtosnb[playerid], string); format(string, sizeof(string), "%d",PlayerHaul[tmpcar][pCapasity]); PlayerTextDrawSetString(playerid,MaxProdutosnb[playerid], string); ShowCami(playerid); return 1; } if(PlayerHaul[tmpcar][pLoad]*SBizzInfo[i][sbPriceProd] > SBizzInfo[i][sbTill]) { GameTextForPlayer(playerid, "~r~Nao podemos pagar o acordo", 5000, 1); format(string, sizeof(string), "Dinheiro adquirido $%d.", cashmade); SendClientMessage(playerid, TEAM_GROVE_COLOR, string); format(string, sizeof(string), "Produtos: %d/%d.", PlayerHaul[tmpcar][pLoad],PlayerHaul[tmpcar][pCapasity]); SendClientMessage(playerid, TEAM_GROVE_COLOR, string); format(string, sizeof(string), "%d",PlayerHaul[tmpcar][pLoad]); PlayerTextDrawSetString(playerid,Produtosnb[playerid], string); format(string, sizeof(string), "%d",PlayerHaul[tmpcar][pCapasity]); PlayerTextDrawSetString(playerid,MaxProdutosnb[playerid], string); ShowCami(playerid); return 1; } cashmade = PlayerHaul[tmpcar][pLoad]*SBizzInfo[i][sbPriceProd]; SBizzInfo[i][sbProducts] += PlayerHaul[tmpcar][pLoad]; SBizzInfo[i][sbProductsReq] -= PlayerHaul[tmpcar][pLoad]; GiveDinheiro(playerid,cashmade); SBizzInfo[i][sbTill] -= cashmade; PlayerHaul[tmpcar][pLoad] = 0; GameTextForPlayer(playerid, "~r~Caminhao vazio, volte para o estoque.", 5000, 1); format(string, sizeof(string), "Dinheiro adquirido $%d.", cashmade); SendClientMessage(playerid, TEAM_GROVE_COLOR, string); PlayerInfo[playerid][pConta] += cashmade; format(string, sizeof(string), "Produtos: %d/%d.", PlayerHaul[tmpcar][pLoad],PlayerHaul[tmpcar][pCapasity]); SendClientMessage(playerid, TEAM_GROVE_COLOR, string); PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); format(string, sizeof(string), "%d",PlayerHaul[tmpcar][pLoad]); PlayerTextDrawSetString(playerid,Produtosnb[playerid], string); format(string, sizeof(string), "%d",PlayerHaul[tmpcar][pCapasity]); PlayerTextDrawSetString(playerid,MaxProdutosnb[playerid], string); ShowCami(playerid); SalvarSEmpresa(i); Atualizar3Dtexts(); return 1; } } for(new i = 0; i < sizeof(FBizzInfo); i++) { if (PlayerToPoint(10, playerid,FBizzInfo[i][fbEntranceX], FBizzInfo[i][fbEntranceY], FBizzInfo[i][fbEntranceZ])) { if(FBizzInfo[i][fbProductsReq] < 1) { GameTextForPlayer(playerid, "~r~Nao precisamos mais de produtos", 5000, 1); format(string, sizeof(string), "Dinheiro adquirido $%d.", cashmade); SendClientMessage(playerid, TEAM_GROVE_COLOR, string); PlayerInfo[playerid][pConta] = cashmade; format(string, sizeof(string), "Produtos: %d/%d.", PlayerHaul[tmpcar][pLoad],PlayerHaul[tmpcar][pCapasity]); SendClientMessage(playerid, TEAM_GROVE_COLOR, string); format(string, sizeof(string), "%d",PlayerHaul[tmpcar][pLoad]); PlayerTextDrawSetString(playerid,Produtosnb[playerid], string); format(string, sizeof(string), "%d",PlayerHaul[tmpcar][pCapasity]); PlayerTextDrawSetString(playerid,MaxProdutosnb[playerid], string); ShowCami(playerid); return 1; } if(PlayerHaul[tmpcar][pLoad]*FBizzInfo[i][fbPriceProd] > FBizzInfo[i][fbTill]) { GameTextForPlayer(playerid, "~r~Nao podemos pagar o acordo", 5000, 1); format(string, sizeof(string), "Dinheiro adquirido $%d.", cashmade); SendClientMessage(playerid, TEAM_GROVE_COLOR, string); PlayerInfo[playerid][pConta] = cashmade; format(string, sizeof(string), "Produtos: %d/%d.", PlayerHaul[tmpcar][pLoad],PlayerHaul[tmpcar][pCapasity]); SendClientMessage(playerid, TEAM_GROVE_COLOR, string); format(string, sizeof(string), "%d",PlayerHaul[tmpcar][pLoad]); PlayerTextDrawSetString(playerid,Produtosnb[playerid], string); format(string, sizeof(string), "%d",PlayerHaul[tmpcar][pCapasity]); PlayerTextDrawSetString(playerid,MaxProdutosnb[playerid], string); ShowCami(playerid); return 1; } cashmade = PlayerHaul[tmpcar][pLoad]*FBizzInfo[i][fbPriceProd]; FBizzInfo[i][fbProducts] += PlayerHaul[tmpcar][pLoad]; FBizzInfo[i][fbProductsReq] -= PlayerHaul[tmpcar][pLoad]; GiveDinheiro(playerid,cashmade); FBizzInfo[i][fbTill] -= cashmade; PlayerHaul[tmpcar][pLoad] = 0; GameTextForPlayer(playerid, "~r~Caminhao vazio, volte para o estoque.", 5000, 1); format(string, sizeof(string), "Dinheiro adquiridot $%d.", cashmade); SendClientMessage(playerid, TEAM_GROVE_COLOR, string); PlayerInfo[playerid][pConta] += cashmade; format(string, sizeof(string), "Produtos: %d/%d.", PlayerHaul[tmpcar][pLoad],PlayerHaul[tmpcar][pCapasity]); SendClientMessage(playerid, TEAM_GROVE_COLOR, string); PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); format(string, sizeof(string), "%d",PlayerHaul[tmpcar][pLoad]); PlayerTextDrawSetString(playerid,Produtosnb[playerid], string); format(string, sizeof(string), "%d",PlayerHaul[tmpcar][pCapasity]); PlayerTextDrawSetString(playerid,MaxProdutosnb[playerid], string); ShowCami(playerid); SalvarFEmpresa(i); Atualizar3Dtexts(); return 1; } } GameTextForPlayer(playerid, "~r~Esta longe de uma empresa ou fazenda", 5000, 1); return 1; } CMD:precoproduto(playerid, params[]) { new bouse = PlayerInfo[playerid][pPbiskey]; if (bouse == 255) { SendClientMessage(playerid, COLOR_GRAD2, " Voce nao possui uma empresa."); return 1; } new amount; if(sscanf(params, "d", amount)) { SendClientMessage(playerid, COLOR_WHITE, "USE: /precoproduto [Preco por produto]"); } if(amount < 1 || amount > 99999) { SendClientMessage(playerid, COLOR_WHITE, "A quantia minima e $1, a quantia maxima e $99999."); return 1; } new string[100]; if (bouse >= 100) { SBizzInfo[bouse-100][sbPriceProd] = amount; format(string, sizeof(string), "Comprara produtos por $%d.", SBizzInfo[bouse-100][sbPriceProd]); SalvarSEmpresa(bouse-100); Atualizar3Dtexts(); } else { BizzInfo[bouse][bPriceProd] = amount; format(string, sizeof(string), "Comprara produto por $%d.", BizzInfo[bouse][bPriceProd]); SalvarEmpresa(bouse); } Atualizar3Dtexts(); SendClientMessage(playerid, COLOR_WHITE, string); return 1; } CMD:precoprodutofaz(playerid, params[]) { new fouse = PlayerInfo[playerid][pPFazkey]; if (fouse == 255) { SendClientMessage(playerid, COLOR_GRAD2, "Voce nao possui uma Fazenda."); return 1; } new amount; if(sscanf(params, "d", amount)) { SendClientMessage(playerid, COLOR_WHITE, "USE: /precoprodutofaz [Preco por produto]"); } if(amount < 1 || amount > 99999) { SendClientMessage(playerid, COLOR_WHITE, "A quantia minima e $1, a quantia maxima e $99999."); return 1; } new string[100]; if(fouse < 255) { FBizzInfo[fouse][fbPriceProd] = amount; format(string, sizeof(string), "Comprara produtos por $%d.", FBizzInfo[fouse][fbPriceProd]); SalvarFEmpresa(fouse); Atualizar3Dtexts(); } Atualizar3Dtexts(); SendClientMessage(playerid, COLOR_WHITE, string); return 1; } CMD:pedirprodutos(playerid, params[]) { new bouse = PlayerInfo[playerid][pPbiskey]; if (bouse == 255) { SendClientMessage(playerid, COLOR_GRAD2, "Voce nao possui uma empresa."); return 1; } new amount; if(sscanf(params, "d", amount)) { SendClientMessage(playerid, COLOR_WHITE, "USE: /pedirprodutos [Quantidade]"); } if(amount < 1 || amount > 9999999) { SendClientMessage(playerid, COLOR_WHITE, "A quantia minima e 1, a quantia maxima e 9999999."); return 1; } new string[100]; if (bouse >= 100 && bouse < 200) { SBizzInfo[bouse-100][sbProductsReq] = amount; format(string, sizeof(string), "pediu %d produtos.", SBizzInfo[bouse-100][sbProductsReq]); SalvarSEmpresa(bouse-100); Atualizar3Dtexts(); } else if (bouse < 100) { BizzInfo[bouse][bProductsReq] = amount; format(string, sizeof(string), "pediu %d produtos.", BizzInfo[bouse][bProductsReq]); SalvarEmpresa(bouse); } SendClientMessage(playerid, COLOR_WHITE, string); Atualizar3Dtexts(); return 1; } CMD:pedirprodutosfaz(playerid, params[]) { new fouse = PlayerInfo[playerid][pPFazkey]; if (fouse == 255) { SendClientMessage(playerid, COLOR_GRAD2, "Voce nao possui uma Fazenda."); return 1; } new amount; if(sscanf(params, "d", amount)) { SendClientMessage(playerid, COLOR_WHITE, "USE: /pedirprodutosfaz [Quantidade]"); } if(amount < 1 || amount > 9999999) { SendClientMessage(playerid, COLOR_WHITE, "A quantia minima e 1, a quantia maxima e 9999999."); return 1; } new string[100]; if (fouse < 255) { FBizzInfo[fouse][fbProductsReq] = amount; format(string, sizeof(string), "pediu %d produtos.", FBizzInfo[fouse][fbProductsReq]); SalvarFEmpresa(fouse); Atualizar3Dtexts(); } SendClientMessage(playerid, COLOR_WHITE, string); Atualizar3Dtexts(); return 1; } CMD:fumar(playerid) { if(PlayerInfo[playerid][pJailed] == 9) { SendClientMessage(playerid,COLOR_GRAD1,"Voce nao pode usar este comando nas Celas da Administracao!"); return true; } if(PlayerInfo[playerid][pCigarros] < 1)return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao tem um cigarro, compre um na 24/7 !"); new Float:vida; GetPlayerHealth(playerid, vida); if(vida > 99.0)return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao pode mais fumar, sua vida esta cheia !"); if(PlayerInfo[playerid][pDoenca] == 5) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Voce esta com câncer de pulmao, va ate um hospital se tratar !"); return true; } if(!PlayerInfo[playerid][pIsqueiro]) return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao tem um Isqueiro, compre um na 24/7!"); if(GetPVarInt(playerid, "DrunkL") == 1) return SendClientMessage(playerid, COLOR_GRAD1,"Espere 3 segundos para poder fumar novamente."); new Str[53]; PlayerInfo[playerid][pCigarros] --; SetPlayerHealth(playerid, vida + 7.0); format(Str, sizeof(Str), "* %s fumou um cigarro.", NomePlayer(playerid)); SendClientMessageInRange(30.0, playerid, Str, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); GameTextForPlayer(playerid, "~w~Voce esta~p~~n~relaxado", 1000, 1); SetPlayerSpecialAction(playerid, SPECIAL_ACTION_SMOKE_CIGGY); ApplyAnimationEx(playerid,"SMOKING","M_smk_drag",4.1,0,1,1,0,0); SetTimerEx("NormalDrunk", 3000, false, "i", playerid); SetPVarInt(playerid, "DrunkL", 1); PlayerInfo[playerid][pDorgado] += 2; if(PlayerInfo[playerid][pDorgado] >= 300) { PlayerInfo[playerid][pDoenca] = 5; PlayerInfo[playerid][pDorgado] = 0; SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Voce esta com câncer de pulmao, va ate um hospital se tratar !"); SetPlayerDrunkLevel(playerid, GetPlayerDrunkLevel(playerid) + 2300); } return 1; } CMD:usardrogas(playerid, x_Emprego[]) { if(isnull(x_Emprego)) { SendClientMessage(playerid, COLOR_WHITE, "|______________[ Usar Drogas ]______________|"); SendClientMessage(playerid, COLOR_GRAD1,"USE: /usardrogas maconha"); SendClientMessage(playerid, COLOR_GRAD1,"USE: /usardrogas crack"); SendClientMessage(playerid, COLOR_GRAD1,"USE: /usardrogas cocaina"); return true; } if(PlayerInfo[playerid][pJailed] == 9) { SendClientMessage(playerid,COLOR_GRAD1,"Voce nao pode usar este comando nas Celas da Administracao!"); return true; } if(!PlayerInfo[playerid][pIsqueiro]) return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao tem um Isqueiro, compre um na 24/7!"); if(gettime() < GetPVarInt(playerid, "VarDano")) return SendClientMessage(playerid, COLOR_GRAD1,"Voce so podera equipar 3 minutos apos tomar dano de alguem !"); new string[128]; if(strcmp(x_Emprego,"maconha",true) == 0) { if(PlayerInfo[playerid][pDorgado] >= 300) { PlayerInfo[playerid][pDoenca] = 5; PlayerInfo[playerid][pDorgado] = 0; SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Voce esta com câncer de pulmao, va ate um hospital se tratar !"); SetPlayerDrunkLevel(playerid, GetPlayerDrunkLevel(playerid) + 2300); return true; } if(PlayerInfo[playerid][pDoenca] == 5) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Voce esta com câncer de pulmao, va ate um hospital se tratar !"); return true; } if(PlayerInfo[playerid][pJailed] != 0) { SendClientMessage(playerid,COLOR_GREY,"Voce nao pode usar Drogas agora !"); return true; } if(PlayerInfo[playerid][pDrogas] > 1) { if(PlayerInfo[playerid][pDorgado] >= 180) { SendClientMessage(playerid, COLOR_YELLOW, "* Seu pulmao esta ficando estragado, nao fume muita maconha, pois podera pegar uma doenca!"); } //SetPlayerDrunkLevel(playerid, 8000); //SetTimerEx("NormalDrunk", 20000, false, "i", playerid); //SetPVarInt(playerid, "DrunkL", 1); PlayerStoned[playerid] += 1; if(PlayerStoned[playerid] >= 50) { GameTextForPlayer(playerid,"~w~Voce esta~n~~g~chapado",4000,1); SetPlayerWeather(playerid, 126); SetTimerEx("NormalDrunk", 300000, false, "i", playerid); } new Float:PlayersArmour; GetPlayerArmour(playerid,PlayersArmour); PlayerInfo[playerid][pDrogas] -= 2; PlayerInfo[playerid][pDorgado] += 2; new Dmelhoria = 1 * PlayerInfo[playerid][pDrugPerk]; Dmelhoria += 2; if(PlayersArmour >= 100) { SetPlayerArmour(playerid, 100); SendClientMessage(playerid,COLOR_LIGHTRED,"* Voce nao pode mais usar drogas!"); return true; } else { SetPlayerArmour(playerid, PlayersArmour + Dmelhoria); } GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "* %s esta fumando maconha.", PlayerName(playerid)); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); } else { SendClientMessage(playerid,COLOR_GREY,"Voce nao tem Gramas de Drogas Suficiente.!"); } return true; } else if(strcmp(x_Emprego,"cocaina",true) == 0) { if(PlayerInfo[playerid][pDorgado] >= 250) { PlayerInfo[playerid][pDoenca] = 5; PlayerInfo[playerid][pDorgado] = 0; SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Voce esta com câncer de pulmao, va ate um hospital se tratar !"); SetPlayerDrunkLevel(playerid, GetPlayerDrunkLevel(playerid) + 2300); return true; } if(PlayerInfo[playerid][pDoenca] == 5) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Voce esta com câncer de pulmao, va ate um hospital se tratar !"); return true; } if(PlayerInfo[playerid][pJailed] != 0) { SendClientMessage(playerid,COLOR_GREY,"Voce nao pode usar drogas agora !"); return true; } if(PlayerInfo[playerid][pDrogas2] > 1) { //SetPlayerDrunkLevel(playerid, 8000); //SetTimerEx("NormalDrunk", 20000, false, "i", playerid); //SetPVarInt(playerid, "DrunkL", 1); if(PlayerInfo[playerid][pDorgado] >= 180) { SendClientMessage(playerid, COLOR_YELLOW, "* Seu pulmao esta ficando estragado, nao cheire muita cocaina, pois podera pegar uma doenca!"); } PlayerStoned[playerid] += 1; if(PlayerStoned[playerid] >= 40) { GameTextForPlayer(playerid,"~w~Voce esta~n~~p~ligadao",4000,1); SetPlayerWeather(playerid, 190); SetTimerEx("NormalDrunk", 300000, false, "i", playerid); } new Float:PlayersArmour; GetPlayerArmour(playerid,PlayersArmour); PlayerInfo[playerid][pDrogas2] -= 2; PlayerInfo[playerid][pDorgado] += 2; new Dmelhoria = 1 * PlayerInfo[playerid][pDrugPerk]; Dmelhoria += 2; if(PlayersArmour >= 100) { SetPlayerArmour(playerid, 100); SendClientMessage(playerid,COLOR_LIGHTRED,"* Voce nao pode mais usar drogas!"); return true; } else { SetPlayerArmour(playerid, PlayersArmour + Dmelhoria); } GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "* %s esta cheirando cocaina.", PlayerName(playerid)); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); } else { SendClientMessage(playerid,COLOR_GREY,"Voce nao tem Gramas de Drogas Suficiente.!"); } return true; } else if(strcmp(x_Emprego,"crack",true) == 0) { if(PlayerInfo[playerid][pDorgado] >= 150) { PlayerInfo[playerid][pDoenca] = 5; PlayerInfo[playerid][pDorgado] = 0; SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Voce esta com câncer de pulmao, va ate um hospital se tratar !"); SetPlayerDrunkLevel(playerid, GetPlayerDrunkLevel(playerid) + 2300); return true; } if(PlayerInfo[playerid][pDoenca] == 5) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Voce esta com câncer de pulmao, va ate um hospital se tratar !"); return true; } if(PlayerInfo[playerid][pJailed] != 0) { SendClientMessage(playerid,COLOR_GREY,"Nao pode usar drogas agora !"); return true; } if(PlayerInfo[playerid][pDrogas3] > 1) { //SetPlayerDrunkLevel(playerid, 8000); //SetTimerEx("NormalDrunk", 20000, false, "i", playerid); //SetPVarInt(playerid, "DrunkL", 1); if(PlayerInfo[playerid][pDorgado] >= 180) { SendClientMessage(playerid, COLOR_YELLOW, "* Seu pulmao esta ficando estragado, nao fume muito crack, pois podera pegar uma doenca!"); } PlayerStoned[playerid] += 1; if(PlayerStoned[playerid] >= 20) { GameTextForPlayer(playerid,"~w~Voce esta~n~~r~estralado",4000,1); SetPlayerWeather(playerid, 105); SetTimerEx("NormalDrunk", 300000, false, "i", playerid); } new Float:PlayersArmour; GetPlayerArmour(playerid,PlayersArmour); PlayerInfo[playerid][pDrogas3] -= 2; PlayerInfo[playerid][pDorgado] += 2; new Dmelhoria = 1 * PlayerInfo[playerid][pDrugPerk]; Dmelhoria += 2; if(PlayersArmour >= 100) { SetPlayerArmour(playerid, 100); SendClientMessage(playerid,COLOR_LIGHTRED,"* Voce nao pode mais usar drogas!"); return true; } else { SetPlayerArmour(playerid, PlayersArmour + Dmelhoria); } GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "* %s esta fumando crack.", PlayerName(playerid)); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); } else { SendClientMessage(playerid,COLOR_GREY,"Voce nao tem Gramas de Drogas Suficiente.!"); } return true; } return true; } CallBack::NormalDrunk(playerid) { if(PlayerStoned[playerid] >= 1) { PlayerStoned[playerid] = 0; SetPlayerWeather(playerid, Weathersave); GameTextForPlayer(playerid,"~w~Voce esta~n~~b~Normal",4000,1); } SetPVarInt(playerid, "DrunkL", 0); return true; } /* CMD:trancar(playerid, params[]) { new carid; if(gLastCar[playerid] == 0 && PlayerInfo[playerid][pCarKey] == 0) { SendClientMessage(playerid, COLOR_GRAD2, "Voce nao tem um carro de casa/alugado."); return true; } carid = PlayerInfo[playerid][pCarKey]; if (PlayerInfo[playerid][pCarKey] == 0) { if(HireCar[playerid] == 0) { SendClientMessage(playerid, COLOR_GRAD2, "Voce nao tem um carro."); return true; } } if(HireCar[playerid] > 0 && !SwitchKey[playerid]) { carid = HireCar[playerid]; } new lockstatus = VTrancado[carid]; new Float:cx,Float:cy,Float:cz; GetVehiclePos(carid, cx, cy, cz); switch (lockstatus) { case 0: { if(HireCar[playerid] == 0 && PlayerInfo[playerid][pCarKey] == 0) { SendClientMessage(playerid, COLOR_GRAD2, "Voce nao tem um carro"); return true; } if(HireCar[playerid] == carid && !SwitchKey[playerid]) { GameTextForPlayer(playerid, "~w~Veiculo Alugado~r~Fechado", 5000, 6); PlayerPlaySound(playerid, 1145, 0.0, 0.0, 0.0); VTrancado[carid] = 1; gCarLock[HireCar[playerid]] = 1; LockCar(carid); } else if(PlayerInfo[playerid][pCarKey] == carid) { GameTextForPlayer(playerid, "~w~Veiculo proprio ~r~Fechado", 5000, 6); PlayerPlaySound(playerid, 1145, 0.0, 0.0, 0.0); VTrancado[carid] = 1; LockCar(carid); return true; } } case 1: { if(HireCar[playerid] == 0 && PlayerInfo[playerid][pCarKey] == 0) { SendClientMessage(playerid, COLOR_GRAD2, "Voce nao tem um carro"); return true; } if(HireCar[playerid] == carid && !SwitchKey[playerid]) { GameTextForPlayer(playerid, "~w~Veiculo Alugado~g~Aberto", 5000, 6); PlayerPlaySound(playerid, 1145, 0.0, 0.0, 0.0); VTrancado[carid] = 0; UnLockCar(carid); } if (PlayerInfo[playerid][pCarKey] == carid) { GameTextForPlayer(playerid, "~w~Veiculo proprio ~g~Aberto", 5000, 6); PlayerPlaySound(playerid, 1145, 0.0, 0.0, 0.0); VTrancado[carid] = 0; UnLockCar(carid); return true; } } default: { SendClientMessage(playerid, COLOR_GRAD2, "Erro"); } } if(carid == 256) { SendClientMessage(playerid, COLOR_GRAD2, "Voce nao tem um carro!"); } return true; }*/ CMD:trancarcarro(playerid, params[]) { new carid; if(PlayerInfo[playerid][pPFazkey] == 255) { SendClientMessage(playerid, COLOR_GRAD2, "Voce nao tem uma fazenda."); return true; } new carroid; if(sscanf(params, "d", carroid)) { SendClientMessage(playerid, COLOR_GRAD2, "USE: /trancarcarro [1-2]"); return 1; } if(carroid == 1) carid = FBizzInfo[PlayerInfo[playerid][pPFazkey]][fIdCarro1]; else if(carroid == 2) carid = FBizzInfo[PlayerInfo[playerid][pPFazkey]][fIdCarro2]; new lockstatus = VTrancado[carid]; new Float:cx,Float:cy,Float:cz; GetVehiclePos(carid, cx, cy, cz); switch (lockstatus) { case 0: { GameTextForPlayer(playerid, "~w~Veiculo Fazenda ~r~Fechado", 5000, 6); PlayerPlaySound(playerid, 1145, 0.0, 0.0, 0.0); VTrancado[carid] = 1; LockCar(carid); } case 1: { GameTextForPlayer(playerid, "~w~Veiculo Fazenda ~g~Aberto", 5000, 6); PlayerPlaySound(playerid, 1145, 0.0, 0.0, 0.0); VTrancado[carid] = 0; UnLockCar(carid); } default: { SendClientMessage(playerid, COLOR_GRAD2, "Erro."); } } return true; } CMD:trocarchaves(playerid, params[]) { if(SwitchKey[playerid] == 0) { if(HireCar[playerid] != 299) { SwitchKey[playerid] = 1; GameTextForPlayer(playerid, "~w~Voce controla o carro de sua casa", 5000, 6); } else { GameTextForPlayer(playerid, "~w~Voce nao alugou um carro", 5000, 6); } return 1; } else { SwitchKey[playerid] = 0; GameTextForPlayer(playerid, "~w~Voce controla o carro alugado", 5000, 6); } return 1; } CMD:chave(playerid, params[]) { for(new i = 0; i < sizeof(HouseInfo); i++) { if (PlayerToPoint(3, playerid,HouseInfo[i][hEntrancex], HouseInfo[i][hEntrancey], HouseInfo[i][hEntrancez]) || PlayerToPoint(3, playerid,HouseInfo[i][hExitx], HouseInfo[i][hExity], HouseInfo[i][hExitz])) { if(PlayerInfo[playerid][pPHousekey] == i) { if(HouseInfo[i][hLock] == 1) { HouseInfo[i][hLock] = 0; GameTextForPlayer(playerid, "~w~Porta ~g~Aberta", 5000, 6); PlayerPlaySound(playerid, 1145, 0.0, 0.0, 0.0); return true; } if(HouseInfo[i][hLock] == 0) { HouseInfo[i][hLock] = 1; GameTextForPlayer(playerid, "~w~Porta ~r~Fechada", 5000, 6); PlayerPlaySound(playerid, 1145, 0.0, 0.0, 0.0); return true; } } } } for(new i = 0; i < sizeof(BizzInfo); i++) { if (PlayerToPoint(3, playerid,BizzInfo[i][bEntranceX], BizzInfo[i][bEntranceY], BizzInfo[i][bEntranceZ]) || PlayerToPoint(3, playerid,BizzInfo[i][bExitX], BizzInfo[i][bExitY], BizzInfo[i][bExitZ])) { if(PlayerInfo[playerid][pPbiskey] == i) { if(BizzInfo[i][bLocked] == 1) { BizzInfo[i][bLocked] = 0; GameTextForPlayer(playerid, "~w~Empresa ~g~Aberta", 5000, 6); PlayerPlaySound(playerid, 1145, 0.0, 0.0, 0.0); return true; } if(BizzInfo[i][bLocked] == 0) { BizzInfo[i][bLocked] = 1; GameTextForPlayer(playerid, "~w~Empresa ~r~Fechada", 5000, 6); PlayerPlaySound(playerid, 1145, 0.0, 0.0, 0.0); return true; } } } } for(new i = 0; i < sizeof(SBizzInfo); i++) { if (PlayerToPoint(3, playerid,SBizzInfo[i][sbEntranceX], SBizzInfo[i][sbEntranceY], SBizzInfo[i][sbEntranceZ])) { if(PlayerInfo[playerid][pPbiskey] == i+100) { if(SBizzInfo[i][sbLocked] == 1) { SBizzInfo[i][sbLocked] = 0; GameTextForPlayer(playerid, "~w~Empresa ~g~Aberta", 5000, 6); PlayerPlaySound(playerid, 1145, 0.0, 0.0, 0.0); return true; } if(SBizzInfo[i][sbLocked] == 0) { SBizzInfo[i][sbLocked] = 1; GameTextForPlayer(playerid, "~w~Empresa ~r~Fechada", 5000, 6); PlayerPlaySound(playerid, 1145, 0.0, 0.0, 0.0); return true; } } } } for(new i = 0; i < sizeof(FBizzInfo); i++) { if (PlayerToPoint(3, playerid,FBizzInfo[i][fbEntranceX], FBizzInfo[i][fbEntranceY], FBizzInfo[i][fbEntranceZ])) { if(PlayerInfo[playerid][pPFazkey] == i) { if(FBizzInfo[i][fbLocked] == 1) { FBizzInfo[i][fbLocked] = 0; GameTextForPlayer(playerid, "~w~Fazenda ~g~Aberta", 5000, 6); PlayerPlaySound(playerid, 1145, 0.0, 0.0, 0.0); return true; } if(FBizzInfo[i][fbLocked] == 0) { FBizzInfo[i][fbLocked] = 1; GameTextForPlayer(playerid, "~w~Fazenda ~r~Fechada", 5000, 6); PlayerPlaySound(playerid, 1145, 0.0, 0.0, 0.0); return true; } } } } return true; } CMD:dado(playerid, params[]) { new dice = random(6)+1; if (gDice[playerid] == 1) { new string[128]; GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "* %s jogou um dado e caiu no número: {00FFFF}%d", sendername,dice); SendClientMessageInRange(5.0, playerid, string, 0xB100B8AA,0xB100B8AA,0xB100B8AA,0xB100B8AA,0xB100B8AA); PlayerPlaySound(playerid, 33401, 0.0, 0.0, 0.0); } else { SendClientMessage(playerid, COLOR_GRAD2, "Voce nao possui dado, compre em um Mercado 24/7 (use: /gps » Propriedades)."); return true; } return true; } CMD:caixaeletronicobanco(playerid, params[]) { if(PlayerToPoint(1.0, playerid,302.5417, 1785.3850, 524.4899) || PlayerToPoint(1.0, playerid,305.3793, 1785.2689, 524.4899) || PlayerToPoint(1.0, playerid,308.2637, 1785.2446, 524.4899) || PlayerToPoint(1.0, playerid,311.3246, 1785.1321, 524.4899)) { AbrirCaixaEletronico(playerid); } else if(GetPlayerCaixa(playerid)) { if(CaixaInfo[GetPlayerCaixa(playerid)][Caixa_Roubada]) return SendClientMessage(playerid, COLOR_GRAD1, " Este caixa eletronico foi roubado por assaltantes recentemente."); AbrirCaixaEletronico(playerid); } return 1; } CMD:transferir(playerid, params[]) { if(PlayerInfo[playerid][pConnectTime] < 2) { SendClientMessage(playerid,0xFFFFFFAA,"Info: Voce podera transferir apos {FFA54F}2{FFFFFF} horas jogadas."); return true; } if(PlayerToPoint(25.0,playerid,305.3793, 1785.2689, 524.4899)) { SendClientMessage(playerid, COLOR_GREY, "Voce nao esta no banco"); return true; } if(sscanf(params, "ud", giveplayerid, moneys)) { SendClientMessage(playerid, COLOR_GRAD1, "/transferir [ID do Player] [quantidade]"); return true; } new string[128]; if (IsPlayerConnected(giveplayerid)) { if(giveplayerid != INVALID_PLAYER_ID) { if(giveplayerid == playerid) return SendClientMessage(playerid,COLOR_GRAD1,"| ERRO | Você não pode transferir dinheiro para si mesmo"); new PlayerIP[128]; GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); GetPlayerIp(playerid,PlayerIP, sizeof(PlayerIP)); playerdinheiro = PlayerInfo[playerid][pConta] ; new impostocpmf; impostocpmf = moneys/10; if (moneys > 0 && playerdinheiro >= moneys+impostocpmf) { if(!gPlayerLogged[giveplayerid]) { SendClientMessage(playerid, COLOR_GRAD1, "Este jogador ainda nao logou."); return true; } PlayerInfo[playerid][pConta] -= moneys+impostocpmf; PlayerInfo[giveplayerid][pConta] += moneys; format(string, sizeof(string), "Voce transferiu R$%s para a conta bancaria de %s [ID %d]", ConvertMoney(moneys), giveplayer,giveplayerid); PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); SendClientMessage(playerid, COLOR_GRAD1, string); format(string, sizeof(string), "IMPOSTO SOBRE TRANSFERENCIAS: 5% = %d", impostocpmf); SendClientMessage(playerid, COLOR_GRAD1, string); format(string, sizeof(string), "Voce recebeu R$%s em sua conta bancaria, Nome do depositante: %s [ID %d]", ConvertMoney(moneys), sendername, playerid); SendClientMessage(giveplayerid, COLOR_LIGHTBLUE, string); format(string, sizeof(string), "AdmAviso: %s Transferiu R$%s para %s.[IP: %s]", sendername, ConvertMoney(moneys), giveplayer, PlayerIP); ABroadCast(COLOR_YELLOW,string,1); format(string, sizeof string, "[IMPOSTOS] Transferência valor: %d | IMPOSTO NO COFRE: %d", moneys,impostocpmf); SendFamilyMessage(7, COLOR_LIGHTBLUE, string); printf("%s", string); CNFLogs("transferencias", string); CofreOrg[7][Dinheiro] += impostocpmf; PlayerPlaySound(giveplayerid, 1052, 0.0, 0.0, 0.0); } else { SendClientMessage(playerid, COLOR_GRAD1, "Transferencia Invalida ou sem saldo para cubrir transferencia e impostos!"); } } } else { format(string, sizeof(string), "[ID]%d Nao esta ativo.", giveplayerid); SendClientMessage(playerid, COLOR_GRAD1, string); } return true; } CMD:kingh350(playerid) { MEGAString[0]=EOS; strcat(MEGAString, "Codigo\tNome\tPreco\n" \ "{FFFFFF}1\tNumero de Celular\t{12FFEF}R$300\n" \ "{FFFFFF}2\tAgenda\t{12FFEF}R$200\n" \ "{FFFFFF}3\tDado\t{12FFEF}R$2\n" \ "{FFFFFF}4\tCamisinha\t{12FFEF}R$2\n" \ "{FFFFFF}5\tChave de Veiculo\t{12FFEF}R$5000\n" \ "{FFFFFF}6\tHamburger\t{12FFEF}R$10\n" \ "{FFFFFF}7\tPizza\t{12FFEF}R$10\n"); strcat(MEGAString, "{FFFFFF}8\t30 Creditos\t{12FFEF}R$20\n" \ "{FFFFFF}9\t50 Creditos\t{12FFEF}R$50\n" \ "{FFFFFF}10\tCapacete\t{12FFEF}R$1000\n" \ "{FFFFFF}11\tComputador\t{12FFEF}R$2000\n" \ "{FFFFFF}12\tCarteira de cigarro\t{12FFEF}R$5000\n" \ "{FFFFFF}13\tGalao de Gasolina\t{12FFEF}R$5000\n" \ "{FFFFFF}14\tIsqueiro\t{12FFEF}R$2000\n"); strcat(MEGAString, "{FFFFFF}15\tPatins\t{12FFEF}R$20000\n" \ "{FFFFFF}16\tTelevisao\t{12FFEF}R$10000\n" \ "{FFFFFF}17\tGarrafa de Leite\t{12FFEF}R$1000\n" \ "{FFFFFF}18\tJBL\t{12FFEF}R$10000\n" \ "{FFFFFF}19\tMP3\t{12FFEF}R$5000"); ShowPlayerDialog(playerid, 6602, DIALOG_STYLE_TABLIST_HEADERS, "Menu - Loja 24/7", MEGAString, "Comprar", "Sair"); return 1; } CMD:mercnegrinho(playerid, params[]) { if(gPlayerLogged[playerid] == 0) { SendClientMessage(playerid,0xff6347FF, "* Voce nao esta conectado."); return 1; } MEGAString[0] =EOS; strcat(MEGAString, "Item\tPreco\tDano\n" \ "{FFFFFF}Explosivo C4\t{00AA00}$15.000\t{DD0000}Morte\n" \ "{FFFFFF}Semente de Maconha\t{00AA00}$15.000\t{FFFFFF}N/A\n" \ "{FFFFFF}Coquetel Volotov(3 Unidades)\t{00AA00}$5.000\t{DD0000}-60\n" \ "{FFFFFF}Lata de Spray\t{00AA00}$14.500\t{FFFFFF}N/A\n" \ "{FFFFFF}oculos de visao Noturna\t{00AA00}$45.000\t{FFFFFF}N/A\n" \ "{FFFFFF}oculos de visao Infravermelho\t{00AA00}$45.500\t{FFFFFF}N/A\n" \ "{FFFFFF}Caixa de equipamentos Pequena\t{33AA33}$800.000\tN/A\n" \ "{FFFFFF}Caixa de equipamentos Media\t{33AA33}$1.000.000\tN/A\n" \ "{FFFFFF}Caixa de equipamentos Grande\t{33AA33}$2.000.000\tN/A\n" \ "{FFFFFF}KIT Cocaína\t{33AA33}$25.000\tTráfico\n" \ "{FFFFFF}KIT Crack\t{33AA33}$20.000\tTráfico\n"); ShowPlayerDialog(playerid, 10899, DIALOG_STYLE_TABLIST_HEADERS, "Mercado Negro", MEGAString, "Comprar", "Fechar"); return true; } CMD:voz(playerid, params[]) { if(gPlayerLogged[playerid] == 0) { SendClientMessage(playerid,0xff6347FF, "* Voce nao esta conectado."); return 1; } if(!IsACop(playerid)) { SendClientMessage(playerid, COLOR_GREY, "Voce nao e um policial!"); return true; } ShowPlayerDialog(playerid,10898,DIALOG_STYLE_LIST,"Policia voz em aúdio","Voz: Revista de rotina.\nVoz: Voce e procurado.\nVoz: Liberado\nVoz: Saia do carro com as maos para cima.\nVoz: Sabemos que voce esta ai saia.\nVoz: Voce tem 10segundos para se render\nVoz: Renda-se ou abriremos fogo.","Selecionar","Cancelar"); return true; } CMD:comprar(playerid, params[]) { if (!PlayerToPoint(100, playerid,-30.875, -88.9609, 1004.53) && !PlayerToPoint(3.0, playerid,3.1651,-29.0123,1003.5494) && !PlayerToPoint(3.0, playerid,1360.3906,-1761.4502,13.6387) && !PlayerToPoint(3.0, playerid,-22.3265,-138.4765,1003.5469) && !PlayerToPoint(3.0, playerid,-30.3140,-28.3121,1003.5573))//cFpoint 24-7, ultimo mercearia. { SendClientMessage(playerid, COLOR_GRAD2, "Voce nao esta em uma 24-7 ou Mercado ! >> Va ate uma /gps <<"); return true; } new item; if(sscanf(params, "d", item)) { SendClientMessage(playerid, COLOR_WHITE, "USE: /comprar [Numero do item]"); SendClientMessage(playerid, COLOR_WHITE, "|______________ 24-7 ______________|"); SendClientMessage(playerid, COLOR_GRAD1, "| 1: Numero de Telefone R$100 2: Agenda R$2"); SendClientMessage(playerid, COLOR_GRAD2, "| 3: Dado R$2 4: Camisinha R$2"); SendClientMessage(playerid, COLOR_GRAD4, "| 6: Hamburger R$10 5: Chave do Último veiculo R$500"); SendClientMessage(playerid, COLOR_GRAD5, "| 7: Pizza R$10 8: 30 Creditos R$20"); SendClientMessage(playerid, COLOR_GRAD5, "| 9: 50 Creditos R$50 10: Capacete R$75"); SendClientMessage(playerid, COLOR_GRAD5, "| 11: Carteira de Cigarro R$10"); SendClientMessage(playerid, COLOR_GRAD5, "| 12: Galao de Gasolina R$30 13: Isqueiro R$5"); SendClientMessage(playerid, COLOR_GRAD5, "| 14: Patins R$20000 15: Televisao R$1200"); SendClientMessage(playerid, COLOR_GRAD5, "| 16: Garrafa de Leite R$17 17: JBL R$2000 19: MP3 R$50"); return true; } if (item == 1 && GetPlayerMoney(playerid) >= 300) { ShowPlayerDialog(playerid,134,DIALOG_STYLE_MSGBOX,"Forma de Pagamento","Escolha a Forma de Pagamento","Dinheiro","Debito"); } else if (item == 2 && GetPlayerMoney(playerid) >= 200) { ShowPlayerDialog(playerid,135,DIALOG_STYLE_MSGBOX,"Forma de Pagamento","Escolha a Forma de Pagamento","Dinheiro","Debito"); } else if (item == 3 && GetPlayerMoney(playerid) >= 2) { ShowPlayerDialog(playerid,136,DIALOG_STYLE_MSGBOX,"Forma de Pagamento","Escolha a Forma de Pagamento","Dinheiro","Debito"); } else if (item == 4 && GetPlayerMoney(playerid) >= 2) { ShowPlayerDialog(playerid,137,DIALOG_STYLE_MSGBOX,"Forma de Pagamento","Escolha a Forma de Pagamento","Dinheiro","Debito"); } else if(item == 5 && GetPlayerMoney(playerid) > 500) { ShowPlayerDialog(playerid,138,DIALOG_STYLE_MSGBOX,"Forma de Pagamento","Escolha a Forma de Pagamento","Dinheiro","Debito"); } else if (item == 6 && GetPlayerMoney(playerid) >= 10) { ShowPlayerDialog(playerid,140,DIALOG_STYLE_MSGBOX,"Forma de Pagamento","Escolha a Forma de Pagamento","Dinheiro","Debito"); } else if (item == 7 && GetPlayerMoney(playerid) >= 10) { ShowPlayerDialog(playerid,141,DIALOG_STYLE_MSGBOX,"Forma de Pagamento","Escolha a Forma de Pagamento","Dinheiro","Debito"); } else if (item == 8 && GetPlayerMoney(playerid) >= 30) { ShowPlayerDialog(playerid,142,DIALOG_STYLE_MSGBOX,"Forma de Pagamento","Escolha a Forma de Pagamento","Dinheiro","Debito"); } else if (item == 9 && GetPlayerMoney(playerid) >= 50) { ShowPlayerDialog(playerid,143,DIALOG_STYLE_MSGBOX,"Forma de Pagamento","Escolha a Forma de Pagamento","Dinheiro","Debito"); } else if (item == 10 && GetPlayerMoney(playerid) >= 75) { ShowPlayerDialog(playerid,144,DIALOG_STYLE_MSGBOX,"Forma de Pagamento","Escolha a Forma de Pagamento","Dinheiro","Debito"); } else if (item == 11 && GetPlayerMoney(playerid) >= 10) { ShowPlayerDialog(playerid,145,DIALOG_STYLE_MSGBOX,"Forma de Pagamento","Escolha a Forma de Pagamento","Dinheiro","Debito"); } else if (item == 12 && GetPlayerMoney(playerid) >= 30) { ShowPlayerDialog(playerid,146,DIALOG_STYLE_MSGBOX,"Forma de Pagamento","Escolha a Forma de Pagamento","Dinheiro","Debito"); } else if (item == 13 && GetPlayerMoney(playerid) >= 5) { ShowPlayerDialog(playerid,147,DIALOG_STYLE_MSGBOX,"Forma de Pagamento","Escolha a Forma de Pagamento","Dinheiro","Debito"); } else if (item == 14 && GetPlayerMoney(playerid) >= 20000) { ShowPlayerDialog(playerid,148,DIALOG_STYLE_MSGBOX,"Forma de Pagamento","Escolha a Forma de Pagamento","Dinheiro","Debito"); } else if(item == 15 && GetPlayerMoney(playerid) >= 1200) { ShowPlayerDialog(playerid,149,DIALOG_STYLE_MSGBOX,"Forma de Pagamento","Escolha a Forma de Pagamento","Dinheiro","Debito"); } else if(item == 16 && GetPlayerMoney(playerid) >= 17) { ShowPlayerDialog(playerid,150,DIALOG_STYLE_MSGBOX,"Forma de Pagamento","Escolha a Forma de Pagamento","Dinheiro","Debito"); } else if (item == 17 && GetPlayerMoney(playerid) >= 2000) { ShowPlayerDialog(playerid,151,DIALOG_STYLE_MSGBOX,"Forma de Pagamento","Escolha a Forma de Pagamento","Dinheiro","Debito"); } else if (item == 18 && GetPlayerMoney(playerid) >= 50) { ShowPlayerDialog(playerid,152,DIALOG_STYLE_MSGBOX,"Forma de Pagamento","Escolha a Forma de Pagamento","Dinheiro","Debito"); } else { SendClientMessage(playerid, COLOR_LIGHTBLUE, "Voce nao tem dinheiro suficiente para comprar esse item!"); } return true; } stock CheckPlayerDistanceToVehicle(Float:radi, playerid, vehicleid) { if(IsPlayerConnected(playerid)) { new Float:PX,Float:PY,Float:PZ,Float:X,Float:Y,Float:Z; GetPlayerPos(playerid,PX,PY,PZ); GetVehiclePos(vehicleid, X,Y,Z); new Float:Distance = (X-PX)*(X-PX)+(Y-PY)*(Y-PY)+(Z-PZ)*(Z-PZ); if(Distance <= radi*radi) return 1; } return 0; } stock SaveTrunk() { DOF2_RemoveFile("PortaMala.cfg"); new idx; new File: file2; idx = 1; while (idx < MAX_VEHICLES) { new coordsstring[200]; format(coordsstring, sizeof(coordsstring), "%i,%i,%i,%i,%i,%i,%i,%i,%i,%f,%i,%i\n", vehTrunk[idx][1], vehTrunkAmmo[idx][1], vehTrunk[idx][2], vehTrunkAmmo[idx][2], vehTrunk[idx][3], vehTrunkAmmo[idx][3], vehTrunk[idx][4], vehTrunkAmmo[idx][4], vehTrunkCounter[idx], vehTrunkArmour[idx], vehTrunkDroga[idx], vehTrunkMaterial[idx]); file2 = fopen("PortaMala.cfg", io_append); fwrite(file2, coordsstring); idx++; fclose(file2); } return true; } stock LoadTrunk() { new arrCoords[13][64]; new strFromFile2[200]; if(!fexist("PortaMala.cfg"))return 1; new File: file = fopen("PortaMala.cfg", io_read); if (file) { new idx = 1; while (idx < MAX_VEHICLES) { fread(file, strFromFile2); split(strFromFile2, arrCoords, ','); vehTrunk[idx][1] = strval(arrCoords[0]); vehTrunkAmmo[idx][1] = strval(arrCoords[1]); vehTrunk[idx][2] = strval(arrCoords[2]); vehTrunkAmmo[idx][2] = strval(arrCoords[3]); vehTrunk[idx][3] = strval(arrCoords[4]); vehTrunkAmmo[idx][3] = strval(arrCoords[5]); vehTrunk[idx][4] = strval(arrCoords[6]); vehTrunkAmmo[idx][4] = strval(arrCoords[7]); vehTrunkCounter[idx] = strval(arrCoords[8]); vehTrunkArmour[idx] = floatstr(arrCoords[9]); vehTrunkDroga[idx] = strval(arrCoords[10]); vehTrunkMaterial[idx] = strval(arrCoords[11]); idx++; } } fclose(file); return true; } CMD:portamalasantigotestando123(playerid, x_nr[]) { if(!strlen(x_nr)) { SendClientMessage(playerid, COLOR_GRAD1, "USE: /portamalas [nome]"); SendClientMessage(playerid, COLOR_GRAD1, "Nomes disponiveis:"); SendClientMessage(playerid, COLOR_GRAD1, "| Info | Colocardroga | Colocarmaterial | Colocarcolete | Guardararma |"); SendClientMessage(playerid, COLOR_GRAD1, "| Pegarcolete | Pegardroga | Pegarmaterial | Pegararma |"); if(IsACop(playerid)) SendClientMessage(playerid, COLOR_WHITE, "POLICIAIS: | Revistar | Apreender |"); SendClientMessage(playerid, COLOR_WHITE,"=================================================================================="); return 1; } new counter = 0; new result; for(new i; i != MAX_VEHICLES; i++) { new dist = CheckPlayerDistanceToVehicle(3.5, playerid, i); if(dist){ result = i; counter++; } } if(GetVehicleSpeed(result) > 15 && VeiculoOcupado(result)){ SendClientMessage( playerid , COLOR_GRAD1 , "Voce nao pode abrir o porta-malas do carro em movimento!" ) ; } new thestring[128]; if(strcmp(x_nr,"info",true)==0) { switch(counter) { case 0: return SendClientMessage(playerid, COLOR_GRAD1, " Nenhum carro com porta-malas perto de voce."); case 1: { if(IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao pode abrir o porta-malas de dentro do carro."); if(!IsACar(result)) return SendClientMessage(playerid, COLOR_GRAD1, " Este veiculo nao possui um porta-malas !"); MEGAString[0] = EOS; strcat(MEGAString, "|_______ Porta-malas do carro _______|\n\n"); strcat(MEGAString, "ARMAS:\n"); for(new slot = 1; slot != MAX_TRUNK_SLOTS; slot++) { new gunname[100]; if(vehTrunk[result][slot] != 0){ GetWeaponName(vehTrunk[result][slot], gunname, sizeof(gunname)); format(thestring, sizeof(thestring), "| Slot %i: %s (Municao: %i)\n", slot, gunname, vehTrunkAmmo[result][slot]); strcat(MEGAString, thestring); } else{ format(thestring, sizeof(thestring), "| Slot %i: Vazio (Municao: Nenhuma)\n", slot); strcat(MEGAString, thestring); } } strcat(MEGAString, "\nOUTROS:\n"); format(thestring, sizeof(thestring), "| Colete: %f%\n", vehTrunkArmour[result]); strcat(MEGAString, thestring); format(thestring, sizeof(thestring), "| Drogas: %d\n", vehTrunkDroga[result]); strcat(MEGAString, thestring); format(thestring, sizeof(thestring), "| Materiais: %d\n\n", vehTrunkMaterial[result]); strcat(MEGAString, thestring); strcat(MEGAString, "|_______________________________|"); ShowPlayerDialog(playerid, 8724, DIALOG_STYLE_MSGBOX, "--PORTA-MALAS--", MEGAString, "Informado",""); format(thestring, sizeof(thestring), "%s abriu o porta-malas e checou o mesmo", NomePlayer(playerid)); SendClientMessageInRange(30.0, playerid, thestring, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); } default: return SendClientMessage(playerid, COLOR_GRAD1, " Foram encontrados mais de um carro nas proximidades."); } return 1; } else if(strcmp(x_nr,"colocarcolete",true)==0) { switch(counter) { case 0: return SendClientMessage(playerid, COLOR_GRAD1, " Nenhum carro com porta-malas perto de voce."); case 1: { if(IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao pode abrir o porta-malas de dentro do carro."); if(!IsACar(result)) return SendClientMessage(playerid, COLOR_GRAD1, " Este veiculo nao possui um porta-malas !"); if(GetPlayerArmourEx(playerid) != 0){ SetPlayerArmour(playerid, 0); vehTrunkArmour[result] += GetPlayerArmourEx(playerid); format(thestring, sizeof(thestring), "%s tirou o colete e colocou no porta-malas do carro.", NomePlayer(playerid)); SendClientMessageInRange(30.0, playerid, thestring, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); return 1; } else return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao tem nenhum colete "); } default: return SendClientMessage(playerid, COLOR_GRAD1, " encontrado mais de um carro na faixa"); } } else if(strcmp(x_nr,"colocardroga",true)==0) { switch(counter) { case 0: return SendClientMessage(playerid, COLOR_GRAD1, " Nenhum carro com porta-malas perto de voce."); case 1:{ if(IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao pode abrir o porta-malas de dentro do carro."); if(!IsACar(result)) return SendClientMessage(playerid, COLOR_GRAD1, " Este veiculo nao possui um porta-malas !"); if(PlayerInfo[playerid][pDrogas] != 0) { vehTrunkDroga[result] += PlayerInfo[playerid][pDrogas]; PlayerInfo[playerid][pDrogas] = 0; format(thestring, sizeof(thestring), "%s colocou todas suas drogas no porta-malas do carro.", NomePlayer(playerid)); SendClientMessageInRange(30.0, playerid, thestring, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); return 1; } else return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao tem nenhuma droga para por no porta-malas."); } default: return SendClientMessage(playerid, COLOR_GRAD1, " Encontrado mais de um carro na proximidade."); } return 1; } else if(strcmp(x_nr,"colocarmaterial",true)==0) { switch(counter) { case 0: return SendClientMessage(playerid, COLOR_GRAD1, " Nenhum carro com porta-malas perto de voce."); case 1:{ if(IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao pode abrir o porta-malas de dentro do carro."); if(!IsACar(result)) return SendClientMessage(playerid, COLOR_GRAD1, " Este veiculo nao possui um porta-malas !"); if(PlayerInfo[playerid][pMats] != 0){ vehTrunkMaterial[result] += PlayerInfo[playerid][pMats]; PlayerInfo[playerid][pMats] = 0; format(thestring, sizeof(thestring), "%s colocou todos seus materiais no porta-malas do carro.", NomePlayer(playerid)); SendClientMessageInRange(30.0, playerid, thestring, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); return 1; } else return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao tem nenhum material para por no porta-malas."); } default: return SendClientMessage(playerid, COLOR_GRAD1, " Encontrado mais de um carro na proximidade."); } return 1; } else if(strcmp(x_nr,"pegarcolete",true)==0) { switch(counter) { case 0: return SendClientMessage(playerid, COLOR_GRAD1, " Nenhum carro com porta-malas perto de voce."); case 1:{ if(IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao pode abrir o porta-malas de dentro do carro."); if(!IsACar(result)) return SendClientMessage(playerid, COLOR_GRAD1, " Este veiculo nao possui um porta-malas !"); if(vehTrunkArmour[result] != 0){ SetPlayerArmour(playerid, vehTrunkArmour[result]); vehTrunkArmour[result] = 0; format(thestring, sizeof(thestring), "%s Pegou o colete de dentro do carro e colocou.", NomePlayer(playerid)); SendClientMessageInRange(30.0, playerid, thestring, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); return 1; } else return SendClientMessage(playerid, COLOR_GREY, " Nao ha nenhum colete no porta-malas do carro! "); } default: return SendClientMessage(playerid, COLOR_GRAD1, " Encontrado mais de um carro na proximidade."); } return 1; } else if(strcmp(x_nr,"pegardroga",true)==0) { switch(counter) { case 0: return SendClientMessage(playerid, COLOR_GRAD1, " Nenhum carro com porta-malas perto de voce."); case 1:{ if(IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao pode abrir o porta-malas de dentro do carro."); if(!IsACar(result)) return SendClientMessage(playerid, COLOR_GRAD1, " Este veiculo nao possui um porta-malas !"); if(vehTrunkDroga[result] != 0){ PlayerInfo[playerid][pDrogas] += vehTrunkDroga[result]; vehTrunkDroga[result] = 0; format(thestring, sizeof(thestring), "%s Pegou as drogas de dentro do carro e colocou no bolso.", NomePlayer(playerid)); SendClientMessageInRange(30.0, playerid, thestring, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); return 1; } else return SendClientMessage(playerid, COLOR_GRAD1, " Nao ha nenhum colete no porta-malas do carro! "); } default: return SendClientMessage(playerid, COLOR_GRAD1, " Encontrado mais de um carro na proximidade."); } return 1; } else if(strcmp(x_nr,"pegarmaterial",true)==0) { switch(counter) { case 0: return SendClientMessage(playerid, COLOR_GRAD1, " Nenhum carro com porta-malas perto de voce."); case 1:{ if(IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao pode abrir o porta-malas de dentro do carro."); if(!IsACar(result)) return SendClientMessage(playerid, COLOR_GRAD1, " Este veiculo nao possui um porta-malas !"); if(vehTrunkMaterial[result] != 0) { PlayerInfo[playerid][pMats] += vehTrunkMaterial[result]; vehTrunkMaterial[result] = 0; format(thestring, sizeof(thestring), "%s Pegou os materiais de dentro do carro e colocou no bolso.", NomePlayer(playerid)); SendClientMessageInRange(30.0, playerid, thestring, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); return 1; } else return SendClientMessage(playerid, COLOR_GRAD1, " Nao ha nenhum colete no porta-malas do carro! "); } default: return SendClientMessage(playerid, COLOR_GRAD1, " Encontrado mais de um carro na proximidade."); } return 1; } else if(strcmp(x_nr,"guardararma",true) == 0) { switch(counter) { case 0:{ SendClientMessage(playerid, COLOR_GREY, "Voce nao esta perto de nenhum carro !"); } case 1:{ if(vehTrunkCounter[result] != (MAX_TRUNK_SLOTS-1)){ if(IsPlayerInAnyVehicle(playerid)){ return SendClientMessage(playerid, COLOR_GREY, "Voce nao pode abrir o porta-malas de dentro do carro"); } if(!IsACar(result)) return SendClientMessage(playerid, COLOR_GRAD1, " Este veiculo nao possui um porta-malas !"); new gunname[100]; new gunID = GetPlayerWeapon(playerid); new gunAmmo = GetPlayerAmmo(playerid); if(gunID != 0 && gunAmmo != 0){ GetWeaponName(gunID, gunname, sizeof(gunname)); vehTrunkCounter[result]++; vehTrunk[result][vehTrunkCounter[result]] = gunID; vehTrunkAmmo[result][vehTrunkCounter[result]] = gunAmmo; format(thestring, sizeof(thestring), "Voce guardou uma %s (Municao: %i) no porta-mala do carro.", gunname, gunAmmo); SendClientMessage(playerid, COLOR_WHITE, thestring); RemovePlayerWeapon(playerid, gunID); format(thestring, sizeof(thestring), "* %s abre o porta-malas e guarda armas.", PlayerName(playerid)); SendClientMessageInRange(30.0, playerid, thestring, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); return true; } } else { SendClientMessage(playerid, COLOR_GREY, " Porta-mala cheio"); return true; } } default: { SendClientMessage(playerid, COLOR_GREY, " Foi encontrado mais de um carro nesse raio"); return true; } } return true; } else if(strcmp(x_nr,"pegararma",true) == 0) { new plyName[MAX_PLAYER_NAME]; GetPlayerName(playerid, plyName, MAX_PLAYER_NAME); switch(counter) { case 0:{ return SendClientMessage(playerid, COLOR_GREY, "Voce nao esta perto de nenhum carro !"); } case 1: { if(IsPlayerInAnyVehicle(playerid)){ return SendClientMessage(playerid, COLOR_GREY, "Voce nao pode abrir o porta-malas de dentro do carro"); } if(!IsACar(result)) return SendClientMessage(playerid, COLOR_GRAD1, " Este veiculo nao possui um porta-malas !"); if(vehTrunkCounter[result] != 0){ new gunName[100]; GivePlayerWeapon(playerid, vehTrunk[result][vehTrunkCounter[result]], vehTrunkAmmo[result][vehTrunkCounter[result]]); GetWeaponName(vehTrunk[result][vehTrunkCounter[result]], gunName, sizeof(gunName)); format(thestring, sizeof(thestring), "Voce pegou uma %s (Municao: %i) do porta-mala do veiculo.", gunName, vehTrunkAmmo[result][vehTrunkCounter[result]]); SendClientMessage(playerid, COLOR_WHITE, thestring); vehTrunk[result][vehTrunkCounter[result]] = '\0'; vehTrunkAmmo[result][vehTrunkCounter[result]] = '\0'; vehTrunkCounter[result]--; format(thestring, sizeof(thestring), "* %s abre o porta-malas e retira armas.", PlayerName(playerid)); SendClientMessageInRange(30.0, playerid, thestring, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); return true; } else{ return SendClientMessage(playerid, COLOR_GREY, " Porta-mala vazio ! "); } } default:{ SendClientMessage(playerid, COLOR_GREY, " Foi encontrado mais de um carro nesse raio"); } } return true; } else if(strcmp(x_nr,"apreender",true) == 0) { if(IsACop(playerid)){ switch(counter) { case 0:{ SendClientMessage(playerid, COLOR_GREY, "Voce nao esta perto de nenhum carro !"); } case 1:{ new count=0; if(IsPlayerInAnyVehicle(playerid)){ return SendClientMessage(playerid, COLOR_GREY, "Voce nao pode apreender o que esta no porta-malas de dentro do carro"); } if(!IsACar(result)) return SendClientMessage(playerid, COLOR_GRAD1, " Este veiculo nao possui um porta-malas !"); if(vehTrunkCounter[result] != 0){ new gunName[100]; GetWeaponName(vehTrunk[result][vehTrunkCounter[result]], gunName, sizeof(gunName)); GivePlayerWeapon(playerid, vehTrunk[result][vehTrunkCounter[result]], vehTrunkAmmo[result][vehTrunkCounter[result]]); format(thestring, sizeof(thestring), "Voce apreendeu uma %s (Municao: %i) do porta-mala do veiculo.", gunName, vehTrunkAmmo[result][vehTrunkCounter[result]]); SendClientMessage(playerid, COLOR_WHITE, thestring); vehTrunk[result][vehTrunkCounter[result]] = '\0'; vehTrunkAmmo[result][vehTrunkCounter[result]] = '\0'; vehTrunkCounter[result]--; count = 1; } if(vehTrunkMaterial[result] != 0){ PlayerInfo[playerid][pMats] += vehTrunkMaterial[result]; vehTrunkMaterial[result] = 0; count = 1; } if(vehTrunkDroga[result] != 0){ PlayerInfo[playerid][pDrogas] += vehTrunkDroga[result]; vehTrunkDroga[result] = 0; count = 1; } if(count){ format(thestring, sizeof(thestring), "Policial: %s apreendeu algum item suspeito do porta-malas.", NomePlayer(playerid)); SendClientMessageInRange(30.0, playerid, thestring, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); } else{ return SendClientMessage(playerid, COLOR_GREY, " O porta-malas nao contem um item suspeito ! "); } } default: { SendClientMessage(playerid, COLOR_GREY, " Foi encontrado mais de um carro nesse raio"); return true; } } } else{ return SendClientMessage(playerid, COLOR_GREY, "Voce nao e um policial ! "); } } else if(strcmp(x_nr,"revistar",true)==0) { if(IsACop(playerid)) { switch(counter) { case 0: return SendClientMessage(playerid, COLOR_GRAD1, " Nenhum carro com porta-malas perto de voce."); case 1:{ if(IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao pode abrir o porta-malas de dentro do carro."); if(!IsACar(result)) return SendClientMessage(playerid, COLOR_GRAD1, " Este veiculo nao possui um porta-malas !"); MEGAString[0] = EOS; strcat(MEGAString, "|_______ Porta-malas do carro _______|\n\n"); strcat(MEGAString, "ARMAS:\n"); for(new slot = 1; slot != MAX_TRUNK_SLOTS; slot++) { new gunname[100]; if(vehTrunk[result][slot] != 0){ GetWeaponName(vehTrunk[result][slot], gunname, sizeof(gunname)); format(thestring, sizeof(thestring), "| Slot %i: %s (Municao: %i)\n", slot, gunname, vehTrunkAmmo[result][slot]); strcat(MEGAString, thestring); } else{ format(thestring, sizeof(thestring), "| Slot %i: Vazio (Municao: Nenhuma)\n", slot); strcat(MEGAString, thestring); } } strcat(MEGAString, "\nOUTROS:\n"); format(thestring, sizeof(thestring), "| Colete: %f%\n", vehTrunkArmour[result]); strcat(MEGAString, thestring); format(thestring, sizeof(thestring), "| Drogas: %d\n", vehTrunkDroga[result]); strcat(MEGAString, thestring); format(thestring, sizeof(thestring), "| Materiais: %d\n\n", vehTrunkMaterial[result]); strcat(MEGAString, thestring); strcat(MEGAString, "|_______________________________|"); ShowPlayerDialog(playerid, 8724, DIALOG_STYLE_MSGBOX, "--PORTA-MALAS--", MEGAString, "Informado",""); format(thestring, sizeof(thestring), "*Policial: %s revistou o porta-malas do veiculo.", NomePlayer(playerid)); SendClientMessageInRange(30.0, playerid, thestring, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); return 1; } default: return SendClientMessage(playerid, COLOR_GRAD1, " Encontrado mais de um carro na proximidade."); } } else { return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao e um policial! "); } } else { SendClientMessage(playerid, COLOR_GRAD1, "USE: /portamalas [nome]"); SendClientMessage(playerid, COLOR_GRAD1, "Nomes disponiveis:"); SendClientMessage(playerid, COLOR_GRAD1, "| Info | Colocardroga | Colocarmaterial | Colocarcolete | Guardararma |"); SendClientMessage(playerid, COLOR_GRAD1, "| Pegarcolete | Pegardroga | Pegarmaterial | Pegararma |"); if(IsACop(playerid)) SendClientMessage(playerid, COLOR_WHITE, "POLICIAIS: | Revistar | Apreender |"); SendClientMessage(playerid, COLOR_WHITE,"=================================================================================="); } return 1; } //------- Sistema de Mobiliar a casa --------- enum mob_I { mobCreated, Float: mobX, Float: mobY, Float: mobZ, Float: mobRX, Float: mobRY, Float: mobRZ, mobObject, mobModel, }; new MobInfo[MAX_HOUSES][MAX_MOVEIS][mob_I]; addMovel(casaid, modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, worlda){ for(new m; m != MAX_MOVEIS; m++){ if(!MobInfo[casaid][m][mobCreated]){ MobInfo[casaid][m][mobCreated] = 1; MobInfo[casaid][m][mobModel] = modelid; MobInfo[casaid][m][mobX] = x; MobInfo[casaid][m][mobY] = y; MobInfo[casaid][m][mobZ] = z; MobInfo[casaid][m][mobRX] = rx; MobInfo[casaid][m][mobRY] = ry; MobInfo[casaid][m][mobRZ] = rz; MobInfo[casaid][m][mobObject] = CreateDynamicObject(modelid, x, y, z, rx, ry, rz, worlda); return m; } } return -1; } countMoveis(casaid){ new count = 0; for(new x; x != MAX_MOVEIS; x++){ if(MobInfo[casaid][x][mobCreated]){ count ++; } } return count; } salvarMoveis(casaid){ new file[80], string[25], stringMovel[128] ; format(file, sizeof file, Pasta_Casas, casaid); for(new x; x != MAX_MOVEIS; x++){ format(stringMovel, 128, "%d|%d|%f|%f|%f|%f|%f|%f", MobInfo[casaid][x][mobCreated],MobInfo[casaid][x][mobModel], MobInfo[casaid][x][mobX], MobInfo[casaid][x][mobY],MobInfo[casaid][x][mobZ], MobInfo[casaid][x][mobRX], MobInfo[casaid][x][mobRY], MobInfo[casaid][x][mobRZ]); format(string, sizeof string, "Movel_%d", x); DOF2_SetString(file, string, stringMovel); } DOF2_SaveFile(); return 0; } carregarMoveis(casaid){ new file[80], keyfile[24], string[128], strCoords[8][25] ; format(file, sizeof file, Pasta_Casas, casaid); for(new x; x != MAX_MOVEIS; x++){ format(keyfile, sizeof keyfile, "Movel_%d", x); format(string, sizeof string, DOF2_GetString(file, keyfile)); split(string, strCoords, '|'); MobInfo[casaid][x][mobCreated] = strval(strCoords[0]); MobInfo[casaid][x][mobModel] = strval(strCoords[1]); //Posicao MobInfo[casaid][x][mobX] = floatstr(strCoords[2]); MobInfo[casaid][x][mobY] = floatstr(strCoords[3]); MobInfo[casaid][x][mobZ] = floatstr(strCoords[4]); //Rotacao MobInfo[casaid][x][mobRX] = floatstr(strCoords[5]); MobInfo[casaid][x][mobRY] = floatstr(strCoords[6]); MobInfo[casaid][x][mobRZ] = floatstr(strCoords[7]); if(MobInfo[casaid][x][mobCreated]){ MobInfo[casaid][x][mobObject] = CreateDynamicObject(MobInfo[casaid][x][mobModel], MobInfo[casaid][x][mobX], MobInfo[casaid][x][mobY], MobInfo[casaid][x][mobZ], MobInfo[casaid][x][mobRX], MobInfo[casaid][x][mobRY], MobInfo[casaid][x][mobRZ], casaid); } } return 0; } isMovelRoubavel(modelid){ switch(modelid){ case 14705,14772,1429,1518,2595,14532,2654,19055,19056,19058,932, 1663,1704,1705,1708,1735,1811,2096,1954,2121,2123,2240,2069,2176,2701, 2103,2077,2777,2225,2811,1815,2855,1782,1783,1785,1787,1788,1790:return 1; } return 0; } getMovelPerto(playerid){ if(HouseFed[playerid] != 500){ new casaid = HouseFed[playerid] ; if(casaid == PlayerInfo[playerid][pPHousekey])return 0; for(new x; x != MAX_MOVEIS; x++){ if(MobInfo[casaid][x][mobCreated] && IsPlayerInRangeOfPoint(playerid, 1.8, MobInfo[casaid][x][mobX], MobInfo[casaid][x][mobY], MobInfo[casaid][x][mobZ]) && isMovelRoubavel(MobInfo[casaid][x][mobModel])){ return x; } } } return 0; } resetarMoveis(casaid){ for(new x; x != MAX_MOVEIS; x++){ if(MobInfo[casaid][x][mobCreated]){ MobInfo[casaid][x][mobCreated] = 0; MobInfo[casaid][x][mobModel] = 0; //Posicao MobInfo[casaid][x][mobX] = 0; MobInfo[casaid][x][mobY] = 0; MobInfo[casaid][x][mobZ] = 0; //Rotacao MobInfo[casaid][x][mobRX] = 0; MobInfo[casaid][x][mobRY] = 0; MobInfo[casaid][x][mobRZ] = 0; DestroyDynamicObject(MobInfo[casaid][x][mobObject]); } } salvarMoveis(casaid); } /*CMD:dialogconce(playerid) { new strbrazzin[3000]; format(strbrazzin, sizeof strbrazzin, "Concessionaria\n\ Infernus\t 100 pila"); ShowPlayerDialog(playerid, 15320, DIALOG_STYLE_LIST, "Conce", strbrazzin, #butao, #butao); return 1; }*/ CMD:resetarmoveis(playerid){ new House = PlayerInfo[playerid][pPHousekey]; if (House != 500 && strcmp(NomePlayer(playerid), HouseInfo[PlayerInfo[playerid][pPHousekey]][hOwner], true) == 0) { if(IsPlayerInRangeOfPoint(playerid, 50.0, HouseInfo[House][hExitx], HouseInfo[House][hExity], HouseInfo[House][hExitz])) { resetarMoveis(House); showBalao(playerid, "Voce resetou os moveis da sua casa", 5000); SendClientMessage(playerid, COLOR_YELLOW2, " Todos os seus moveis foram resetados com sucesso !"); } else { SendClientMessage(playerid, COLOR_GRAD2, "Voce esta longe do interior da sua casa!"); } } else { SendClientMessage(playerid, COLOR_GRAD2, "Voce nao tem uma Casa!"); } return 1; } CMD:selecionarmoveis(playerid){ new House = PlayerInfo[playerid][pPHousekey]; if (House != 500 && strcmp(NomePlayer(playerid), HouseInfo[PlayerInfo[playerid][pPHousekey]][hOwner], true) == 0) { if(IsPlayerInRangeOfPoint(playerid, 50.0, HouseInfo[House][hExitx], HouseInfo[House][hExity], HouseInfo[House][hExitz])) { SelectObject(playerid); showBalao(playerid, "Selecione um dos moveis dentro da sua casa", 5000); SendClientMessage(playerid, COLOR_YELLOW2, " Selecione um movel existente na sua casa !"); } else { SendClientMessage(playerid, COLOR_GRAD2, "Voce esta longe do interior da sua casa!"); } } else { SendClientMessage(playerid, COLOR_GRAD2, "Voce nao tem uma Casa!"); } return 1; } CMD:furtarmovel(playerid){ new movelid = getMovelPerto(playerid), casaid = HouseFed[playerid] ; if(movelid){ if(GetPVarInt(playerid, "movelRoubou")) return SendClientMessage(playerid, COLOR_GRAD1, "Voce ja roubou um movel, agora venda ou troque por drogas !"); if(!OrgsRoubo(playerid)) return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao pode roubar residencias !"); if(isMovelRoubavel(MobInfo[casaid][movelid][mobModel])){ SetPVarInt(playerid, "movelGrana", random(5558)+4289); SetPVarInt(playerid, "movelMaconha", random(87)+42); SetPVarInt(playerid, "movelCrack", random(39)+14); SetPVarInt(playerid, "movelCocaina", random(39)+14); SetPVarInt(playerid, "movelRoubou", 1); SetPlayerFaceToPoint(playerid, MobInfo[casaid][movelid][mobX], MobInfo[casaid][movelid][mobY]); MobInfo[casaid][movelid][mobCreated] = 0; DestroyDynamicObject(MobInfo[casaid][movelid][mobObject]); salvarMoveis(casaid); SendClientMessage(playerid, COLOR_LIGHTRED, "* Voce pegou esse movel, o alarme foi acionado e os policiais ja foram avisados !"); SendClientMessage(playerid, COLOR_LIGHTRED, "* Agora ache um traficante e tente vende-lo ou trocar por drogas."); if(casaid != GetPVarInt(playerid, "casaRoubo")){ SendClientMessage(playerid, COLOR_GRAD1, "OBS1: Os visinhos escutaram barulhos e chamaram a policia, saia daqui o mais rapido possivel."); SendClientMessage(playerid, COLOR_GRAD1, "OBS2: Art. 155 - Subtrair, para si ou para outrem, coisa alheia movel."); SetPlayerCriminal(playerid, 255, "Furto em residencia"); } showBalao(playerid, "Agora ache um traficante para vender ou trocar", 5000); SetPVarInt(playerid, "casaRoubo", casaid); ApplyAnimationEx(playerid,"CARRY","liftup",7.1,0,1,1,0,0); SetPlayerSpecialAction(playerid, 25); SetPlayerAttachedObject_Droid(playerid, CountAttachedObjects(playerid), MobInfo[casaid][movelid][mobModel],6,0.162000,0.131000,-0.226000,63.999984,164.399963,-96.100028,1.000000); } } return 1; } CMD:comprarmovel(playerid){ new House = PlayerInfo[playerid][pPHousekey]; if (House != 500 && strcmp(NomePlayer(playerid), HouseInfo[PlayerInfo[playerid][pPHousekey]][hOwner], true) == 0) { if(IsPlayerInRangeOfPoint(playerid, 50.0, HouseInfo[House][hExitx], HouseInfo[House][hExity], HouseInfo[House][hExitz])) { SendClientMessage(playerid, COLOR_YELLOW2, " Escolha o tipo de movel que deseja comprar !"); showBalao(playerid, "escolha um movel para comprar", 5000); ShowPlayerDialog(playerid, 7472, 5, "Escolha uma opcao", "Moveis\t >> \tComodos\n\ {999999}Moveis\t >> \t{FFFFFF} Quarto\n\ {999999}Moveis\t >> \t{FFFFFF} Sala\n\ {999999}Moveis\t >> \t{FFFFFF} Cozinha\n\ {999999}Moveis\t >> \t{FFFFFF} Banheiro\n\ {999999}Moveis\t >> \t{FFFFFF} Decoracao\n\ {999999}Moveis\t >> \t{FFFFFF} Outros", "Escolher", "Sair"); } else { SendClientMessage(playerid, COLOR_GRAD2, "Voce esta longe do interior da sua casa!"); } } else { SendClientMessage(playerid, COLOR_GRAD2, "Voce nao tem uma Casa!"); } return 1; } public OnPlayerSelectDynamicObject(playerid, objectid, modelid, Float:x, Float:y, Float:z){ for(new h; h != MAX_HOUSES; h++){ for(new m; m != MAX_MOVEIS; m++){ if(MobInfo[h][m][mobCreated] && objectid == MobInfo[h][m][mobObject]){ SetPVarInt(playerid, "editandoh", 999); EditDynamicObjectEx(playerid, MobInfo[h][m][mobObject]); SetPVarInt(playerid, "editMovel", m); return 1; } } } return 1; } public OnPlayerEditDynamicObject(playerid, objectid, response, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz) { EdicaoObjetoConcluida(playerid, objectid, response, x, y, z, rx, ry, rz); return 1; } showBalao(playerid, avisobalao[], tempo) { if(PlayerInfo[playerid][pTimerBalao] != -1) { KillTimer(PlayerInfo[playerid][pTimerBalao]); } PlayerInfo[playerid][pTimerBalao] = SetTimerEx("hideBalao", tempo, 0, "i", playerid); PlayerTextDrawSetString(playerid, balaoAviso[playerid], avisobalao); PlayerTextDrawShow(playerid, balaoAviso[playerid]); } CallBack:: hideBalao(playerid){ if(PlayerInfo[playerid][pTimerBalao] != -1){ PlayerInfo[playerid][pTimerBalao] = -1; } return PlayerTextDrawHide(playerid, balaoAviso[playerid]); } BalaoPCPref(playerid, avisobalao[], tempo) { if(PlayerInfo[playerid][pTimerBalao] != -1) { KillTimer(PlayerInfo[playerid][pTimerBalao]); } PlayerInfo[playerid][pTimerBalao] = SetTimerEx("UpdateBalaoPCPref", tempo, 0, "i", playerid); PlayerTextDrawSetString(playerid, balaoAviso[playerid], avisobalao); PlayerTextDrawShow(playerid, balaoAviso[playerid]); return 0; } CallBack::UpdateBalaoPCPref(playerid) { if(PlayerInfo[playerid][pTimerBalao] != -1) { PlayerInfo[playerid][pTimerBalao] = -1; } CarregandoPCPref[playerid]++; new _s[40], string[40]; _s[0] = EOS; strcat(_s, "~y~Carregando:~n~~w~"); for(new ve = 0;ve < CarregandoPCPref[playerid]; ve++) { strcat(_s, "-"); } format(string, sizeof string, " %d0%", CarregandoPCPref[playerid]); strcat(_s, string); if(CarregandoPCPref[playerid] > 10) { if(!PlayerToPoint(1, playerid, 361.9699,169.5079,1025.7890)) { return SendClientMessage(playerid, COLOR_GRAD2, "Voce precisa estar na maleta para Ler os Arquivos."); } PlayerTextDrawHide(playerid, balaoAviso[playerid]); return VerificadoPCPref(playerid); } return BalaoPCPref(playerid, _s, 3000); } CallBack::VerificadoPCPref(playerid) { new fstring[128]; MEGAString[0] = EOS; format(fstring, 128, "corpolistraovotabuaamendointorradagelochavegranainvento\n"); strcat(MEGAString,fstring); format(fstring, 128, "corpolistraovotabuaamendointorradagelochavegranainvento\n"); strcat(MEGAString,fstring); format(fstring, 128, "corpolistraovotabuaamendointorradagelochavegranainvento\n"); strcat(MEGAString,fstring); format(fstring, 128, "corpolistraovotabuaamendointorradagelochavegranainvento\n"); strcat(MEGAString,fstring); format(fstring, 128, "corpolistraovotabuaamendointorradagelochavegranainvento\n"); strcat(MEGAString,fstring); format(fstring, 128, "corpolistraovotabuaamendointorradagelochavegranainvento\n"); strcat(MEGAString,fstring); format(fstring, 128, "corpolistraovotabuaamendointorradagelochavegranainvento\n"); strcat(MEGAString,fstring); format(fstring, 128, "corpolistraovotabuaamendointorradagelochavegranainvento\n"); strcat(MEGAString,fstring); format(fstring, 128, "corpolistraovotabuaamendointorradagelochavegranainvento\n"); strcat(MEGAString,fstring); format(fstring, 128, "corpolistraovotabuaamendointorradagelochavegranainvento\n"); strcat(MEGAString,fstring); ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, "Documentacao", MEGAString, "OK",""); SendClientMessage(playerid, COLOR_GRAD2, "Verifique Todas As Linhas."); return 1; } CMD:comprarcasa(playerid, params[]) { new Float:oldposx, Float:oldposy, Float:oldposz/*,gstring[100]*/; GetPlayerName(playerid, playername, sizeof(playername)); GetPlayerPos(playerid, oldposx, oldposy, oldposz); for(new h = 0; h < sizeof(HouseInfo); h++) { if(PlayerToPoint(2.0, playerid, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]) && HouseInfo[h][hOwned] == 0) { format(gstring, sizeof(gstring), "Casa VIP"); if(strcmp(gstring, HouseInfo[h][hDiscription], true) == 0) { if(PlayerInfo[playerid][pVIP] < 1 && PlayerInfo[playerid][pDiamante] < 1) { SendClientMessage(playerid, COLOR_GRAD5, "[ERRO] Esta casa e somente para jogadores VIP/S-VIP/Socios!"); return true; } } format(gstring, sizeof(gstring), "Mansao"); if(strcmp(gstring, HouseInfo[h][hDiscription], true) == 0) { if(PlayerInfo[playerid][pVIP] < 1 && PlayerInfo[playerid][pDiamante] < 1) { SendClientMessage(playerid, COLOR_GRAD5, "[ERRO]: Apenas jogadores Vips podem possuir uma Mansao !"); return true; } } format(gstring, sizeof(gstring), "Mansao Diamante"); if(strcmp(gstring, HouseInfo[h][hDiscription], true) == 0) { if(PlayerInfo[playerid][pVIP] < 4 && PlayerInfo[playerid][pDiamante] < 1) { SendClientMessage(playerid, COLOR_GRAD5, "[ERRO]: Apenas jogadores Socio Platina podem possuir uma Mansao Platina !"); return true; } } new string[128]; if(PlayerInfo[playerid][pLevel] < HouseInfo[h][hLevel] && PlayerInfo[playerid][pVIP] < 2) { format(string, sizeof(string), "Voce precisa ter Nivel %d Para comprar!", HouseInfo[h][hLevel]); SendClientMessage(playerid, COLOR_GRAD5, string); SendClientMessage(playerid, COLOR_WHITE, "Caso nao queira esperar, seja jogador VIP Plus!"); return true; } if(PlayerInfo[playerid][pPHousekey] != 500 && strcmp(playername, HouseInfo[PlayerInfo[playerid][pPHousekey]][hOwner], true) == 0) { SendClientMessage(playerid, COLOR_WHITE, "Voce tem uma casa para vender digite /vendercasa, voce recebera o mesmo valor que foi pago!"); return true; } if(GetPlayerMoney(playerid) >= HouseInfo[h][hValue]) { PlayerInfo[playerid][pPHousekey] = h; HouseInfo[h][hOwned] = 1; HouseInfo[h][hRentabil] = 1; HouseInfo[h][hLock] = 0; HouseInfo[h][hRent] = 200; HouseInfo[h][hImpostos] = 0; HouseInfo[h][hPagarImpostos] = 0; GetPlayerName(playerid, sendername, sizeof(sendername)); strmid(HouseInfo[h][hOwner], sendername, 0, strlen(sendername), 255); GiveDinheiro(playerid,-HouseInfo[h][hValue]); PlayerPlayMusic(playerid); PlayerPlaySound(playerid, 1058, 0.0, 0.0, 0.0); GameTextForPlayer(playerid, "~w~Bem vindo em casa~n~Para sair digite /sair", 5000, 3); SendClientMessage(playerid, COLOR_WHITE, "Parabens pela sua nova casa!"); SendClientMessage(playerid, COLOR_WHITE, "{00BFFF}• {FFFFFF}Lembre-se: Se ficar 10 dias inativo ou +, sua casa e Liberda Automaticamente!"); SetPlayerInterior(playerid,HouseInfo[h][hInt]); SetPlayerVirtualWorld(playerid,HouseInfo[h][hWorld]); SetPlayerPos(playerid,HouseInfo[h][hExitx],HouseInfo[h][hExity],HouseInfo[h][hExitz]); PlayerInfo[playerid][pInt] = HouseInfo[h][hInt]; PlayerInfo[playerid][pLocal] = h; HouseFed[playerid] = h; dentrocasa[playerid] = 1; SetPlayerVirtualWorld(playerid,HouseInfo[h][hWorld]); SendClientMessage(playerid, COLOR_WHITE, "Digite /ajuda Em caso de duvidas!"); PlayerInfo[playerid][pSpawn] = 0; format(string, sizeof(string), "[CASAS]: %s[ID: %d] acaba de comprar a casa ID: %d", NomePlayer(playerid),playerid, h); SendClientMessageToAll(0xFFC06CFF, string); CNFLogs("casas", string); DateProp(playerid); DestroyDynamicMapIcon(HouseInfo[h][hMapIcon]); HouseInfo[h][hMapIcon] = CreateDynamicMapIcon(HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez], 32, 0xE6E6E6E6, -1, -1, -1, 250.0); SaveCasa(h); Atualizar3Dtexts(); return true; } else { SendClientMessage(playerid, COLOR_WHITE, "Voce nao tem dinheiro o suficiente. !"); return true; } } } return true; } CMD:alugarquarto(playerid, params[]) { new Float:oldposx, Float:oldposy, Float:oldposz; GetPlayerName(playerid, playername, sizeof(playername)); GetPlayerPos(playerid, oldposx, oldposy, oldposz); for(new h = 0; h < sizeof(HouseInfo); h++) { if(PlayerToPoint(2.0, playerid, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]) && HouseInfo[h][hOwned] == 1 && HouseInfo[h][hRentabil] == 1) { if(PlayerInfo[playerid][pPHousekey] != 500 && strcmp(playername, HouseInfo[PlayerInfo[playerid][pPHousekey]][hOwner], true) == 0) { SendClientMessage(playerid, COLOR_WHITE, "Voce tem uma casa, para vender digite /vendercasa, voce recebera o mesmo valor que foi pago!"); return true; } if(GetPlayerMoney(playerid) > HouseInfo[h][hRent]) { PlayerInfo[playerid][pPhousekey] = h; GiveDinheiro(playerid,-HouseInfo[h][hRent]); HouseInfo[h][hTakings] = HouseInfo[h][hTakings]+HouseInfo[h][hRent]; PlayerPlayMusic(playerid); SetPlayerInterior(playerid,HouseInfo[h][hInt]); HouseFed[playerid] = h; dentrocasa[playerid] = 1; SetPlayerPos(playerid,HouseInfo[h][hExitx],HouseInfo[h][hExity],HouseInfo[h][hExitz]); SaveCasa(h); Atualizar3Dtexts(); GameTextForPlayer(playerid, "~w~voce alugou esta casa ~n~~b~Para entrar digite /entrar", 5000, 3); SendClientMessage(playerid, COLOR_WHITE, "Parabens pela sua nova casa, voce pode entrar nela quando quizer!"); SendClientMessage(playerid, COLOR_WHITE, "Digite /ajuda Em caso de duvidas!"); return true; } else { SendClientMessage(playerid, COLOR_WHITE, "Voce nao tem dinheiro o suficiente."); return true; } } } return true; } CMD:alugaraero(playerid) { if(IsPlayerConnected(playerid)) { if(IsAAlugHeli(GetPlayerVehicleID(playerid))) { new hirefee = HireCost(GetPlayerVehicleID(playerid)); if (GetPlayerMoney (playerid) < SBizzInfo[18][sbEntranceCost]) { SendClientMessage(playerid, COLOR_GRAD2, "Voce nao tem esse dinheiro !"); RemovePlayerFromVehicleEx(playerid); return 1; } if(HireCar[playerid] > 0) { ShowPlayerDialog(playerid, 5025, DIALOG_STYLE_MSGBOX, "Desalugar", "Voce ja tem uma Aeronave alugada.\nDeseja desaluga-la?", "Sim", "Nao"); return 1; } foreach(Player, i) { if(IsPlayerConnected(i)) { if(HireCar[i] == GetPlayerVehicleID(playerid)) { SendClientMessage(playerid, COLOR_GREY, "Alguem ja alugou esse veiculo !"); Controle(playerid, 1); RemovePlayerFromVehicleEx(playerid); return 1; } } } if(SBizzInfo[18][sbProducts] == 0) { GameTextForPlayer(playerid, "~r~falta produtos", 5000, 1); //Controle(playerid, 1); //RemovePlayerFromVehicleEx(playerid); //return 1; } GiveDinheiro(playerid,-SBizzInfo[15][sbEntranceCost]); if(SBizzInfo[18][sbProducts] > 0) { SBizzInfo[18][sbTill] += SBizzInfo[15][sbEntranceCost]; ExtortionSBiz(18, SBizzInfo[15][sbEntranceCost]); SBizzInfo[18][sbProducts]--; } new string[128]; HireCar[playerid] = GetPlayerVehicleID(playerid); SaveCasas(); Atualizar3Dtexts(); PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); format(string, sizeof(string), "~w~Voce pode ~r~/desalugaraero~n~~g~ou /trancar ~w~ para trancar o heli.",hirefee); Controle(playerid, 1); format(string, sizeof(string), "• {FFFFFF}Empresa que recebeu pela sua compra: {00BFFF}%s", SBizzInfo[18][sbMessage]); SendClientMessage(playerid, 0x00BFFFAA, string); GameTextForPlayer(playerid, string, 5000, 3); SwitchKey[playerid] = 0; return 1; } } return 1; } CMD:desalugaraero(playerid) { if(IsPlayerConnected(playerid)) { if(HireCar[playerid] != 299) { new idcar = GetPlayerVehicleID(playerid); if(idcar == HireCar[playerid]) { Controle(playerid, 1); } SetVehicleToRespawnEx(HireCar[playerid]); VTrancado[HireCar[playerid]] = 0; UnLockCar(HireCar[playerid]); HireCar[playerid] = 0; GameTextForPlayer(playerid, "~w~Voce desalugou o heli", 5000, 3); } } return 1; } CMD:desalugar(playerid, params[]) { if(PlayerInfo[playerid][pPhousekey] != 500) { SendClientMessage(playerid, COLOR_WHITE, "Voce desalugou uma casa, e agora esta desabrigado!"); PlayerInfo[playerid][pPhousekey] = 500; return true; } else { SendClientMessage(playerid, COLOR_GREY, "Voce nao alugou nenhuma casa."); } return true; } CMD:cofrecasa(playerid, params[]) { GetPlayerName(playerid, playername, sizeof(playername)); new borse = PlayerInfo[playerid][pPHousekey]; if(PlayerInfo[playerid][pPHousekey] != 500 && strcmp(playername, HouseInfo[PlayerInfo[playerid][pPHousekey]][hOwner], true) == 0) { new cashdeposit; new string[128]; if(sscanf(params, "d", cashdeposit)) { SendClientMessage(playerid, COLOR_GRAD2, "USE: /cofrecasa [retirar quantidade]"); format(string, sizeof(string), "Voce tem R$%d em seu cofre.", HouseInfo[borse][hTakings]); SendClientMessage(playerid, COLOR_GRAD3, string); return true; } if (cashdeposit > HouseInfo[borse][hTakings] || cashdeposit < 1) { SendClientMessage(playerid, COLOR_GRAD2, "Voce nao tem tudo isso !"); return true; } if (!PlayerToPoint(100, playerid,HouseInfo[borse][hExitx],HouseInfo[borse][hExity],HouseInfo[borse][hExitz])) { SendClientMessage(playerid, COLOR_GRAD2, "Voce esta longe de sua casa !"); return true; } else { GiveDinheiro(playerid,cashdeposit); HouseInfo[borse][hTakings]=HouseInfo[borse][hTakings]-cashdeposit; format(string, sizeof(string), "Voce retirou R$%s de seu cofre Total: R$%s ", ConvertMoney(cashdeposit),ConvertMoney(HouseInfo[borse][hTakings])); SaveCasa(borse); Atualizar3Dtexts(); SendClientMessage(playerid, COLOR_YELLOW, string); return true; } } else { SendClientMessage(playerid, COLOR_GREY, "Voce nao tem uma casa."); } return true; } CMD:vendercasa(playerid, params[]) { GetPlayerName(playerid, playername, sizeof(playername)); if(PlayerInfo[playerid][pPHousekey] == 500) { SendClientMessage(playerid, COLOR_WHITE, "Voce nao tem casa."); return true; } if(PlayerInfo[playerid][pMarried] > 0) { SendClientMessage(playerid, COLOR_GREY, "Voce e casado(a) nao pode vender a casa !"); return true; } if(PlayerInfo[playerid][pPHousekey] != 500 && strcmp(playername, HouseInfo[PlayerInfo[playerid][pPHousekey]][hOwner], true) == 0) { new string[128]; new House = PlayerInfo[playerid][pPHousekey]; HouseInfo[House][hHel] = 0; HouseInfo[House][hArm] = 0; HouseInfo[House][hHealthx] = 0; HouseInfo[House][hHealthy] = 0; HouseInfo[House][hHealthz] = 0; HouseInfo[House][hArmorrx] = 0; HouseInfo[House][hArmorry] = 0; HouseInfo[House][hArmorrz] = 0; HouseInfo[House][hLock] = 1; HouseInfo[House][hOwned] = 0; HouseInfo[House][hVcol1] = -1; HouseInfo[House][hVcol2] = -1; GetPlayerName(playerid, sendername, sizeof(sendername)); strmid(HouseInfo[House][hOwner], "O estado", 0, strlen("O estado"), 255); GiveDinheiro(playerid,HouseInfo[House][hValue]); PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); format(string, sizeof(string), "~w~Parabens~n~ Voce vendeu a casa por ~n~~g~R$%s", ConvertMoney(HouseInfo[House][hValue])); GameTextForPlayer(playerid, string, 10000, 3); format(string, sizeof(string), "[CASAS]: %s[ID: %d] acaba de vender a casa ID: %d", NomePlayer(playerid),playerid, House); SendClientMessageToAll(0xFFC06CFF, string); CNFLogs("casas", string); PlayerInfo[playerid][pPHousekey] = 500; if(PlayerInfo[playerid][pLocal] == House) { SetPlayerInterior(playerid,0); SetPlayerPos(playerid,HouseInfo[House][hEntrancex],HouseInfo[House][hEntrancey],HouseInfo[House][hEntrancez]); PlayerInfo[playerid][pInt] = 0; } DestroyDynamicMapIcon(HouseInfo[House][hMapIcon]); HouseInfo[House][hMapIcon] = CreateDynamicMapIcon(HouseInfo[House][hEntrancex], HouseInfo[House][hEntrancey], HouseInfo[House][hEntrancez], 31, 0xE6E6E6E6, -1, -1, -1, 250.0); SaveCasa(House); Atualizar3Dtexts(); return true; } else { SendClientMessage(playerid, COLOR_GREY, "Voce nao tem casa."); } return true; } CMD:vendercasa66656(playerid, params[]) { GetPlayerName(playerid, playername, sizeof(playername)); if(PlayerInfo[playerid][pPHousekey] == 500) { SendClientMessage(playerid, COLOR_WHITE, "Voce nao tem casa."); return true; } if(PlayerInfo[playerid][pMarried] > 0) { SendClientMessage(playerid, COLOR_GREY, "Voce e casado(a) nao pode vender a casa !"); return true; } if(PlayerInfo[playerid][pPHousekey] != 500 && strcmp(playername, HouseInfo[PlayerInfo[playerid][pPHousekey]][hOwner], true) == 0) { new string[128]; new House = PlayerInfo[playerid][pPHousekey]; HouseInfo[House][hHel] = 0; HouseInfo[House][hArm] = 0; HouseInfo[House][hHealthx] = 0; HouseInfo[House][hHealthy] = 0; HouseInfo[House][hHealthz] = 0; HouseInfo[House][hArmorrx] = 0; HouseInfo[House][hArmorry] = 0; HouseInfo[House][hArmorrz] = 0; HouseInfo[House][hLock] = 1; HouseInfo[House][hOwned] = 0; HouseInfo[House][hVcol1] = -1; HouseInfo[House][hVcol2] = -1; GetPlayerName(playerid, sendername, sizeof(sendername)); strmid(HouseInfo[House][hOwner], "O estado", 0, strlen("O estado"), 255); GiveDinheiro(playerid,HouseInfo[House][hValue]); PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); format(string, sizeof(string), "~w~Parabens~n~ Voce vendeu a casa por ~n~~g~R$%s", ConvertMoney(HouseInfo[House][hValue])); GameTextForPlayer(playerid, string, 10000, 3); format(string, sizeof(string), "[CASAS]: %s[ID: %d] acaba de vender a casa ID: %d", NomePlayer(playerid),playerid, House); SendClientMessageToAll(0xFFC06CFF, string); CNFLogs("casas", string); PlayerInfo[playerid][pPHousekey] = 500; if(PlayerInfo[playerid][pLocal] == House) { SetPlayerInterior(playerid,0); SetPlayerPos(playerid,HouseInfo[House][hEntrancex],HouseInfo[House][hEntrancey],HouseInfo[House][hEntrancez]); PlayerInfo[playerid][pInt] = 0; } DestroyDynamicMapIcon(HouseInfo[House][hMapIcon]); HouseInfo[House][hMapIcon] = CreateDynamicMapIcon(HouseInfo[House][hEntrancex], HouseInfo[House][hEntrancey], HouseInfo[House][hEntrancez], 31, 0xE6E6E6E6, -1, -1, -1, 250.0); SaveCasa(House); Atualizar3Dtexts(); return true; } else { SendClientMessage(playerid, COLOR_GREY, "Voce nao tem casa."); } return true; } CMD:incendio(playerid) { if(!IsAMember(playerid)) return SendClientMessage(playerid, COLOR_GREY, "Voce nao pode criar um incendio."); if(!PlayerInfo[playerid][pGalao]) return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao possui um Galao de Gasolina, compre em um Mercado 24/7 (use: /gps » Propriedades)."); if(!PlayerInfo[playerid][pIsqueiro]) return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao possui um Isqueiro, compre em um Mercado 24/7 (use: /gps » Propriedades)."); if(IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao pode estar dentro de um carro!"); if(IsPlayerInRC(playerid)) return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao pode criar um incendio em areas neutras!"); if(PlayerInfo[playerid][pLevel] < 10) return SendClientMessage(playerid, COLOR_GRAD1, "Voce precisa ser lvl 10+ para Criar um Incendio."); if(gettime() < timeinc) return SendClientMessage(playerid, COLOR_GRAD1, " Espere 2 minutos apos alguem ter criado um incendio!"); new Str[128]; new Float:x, Float:y, Float:z; GetPlayerPos(playerid, x, y, z); ApplyAnimationEx(playerid,"BOMBER","BOM_Plant_2Idle",4.1,0,1,1,0,0); if(GetPlayerInterior(playerid) == 0) format(Str, sizeof(Str), "[INCeNDIO]: Acaba de iniciar um incendio de pequena proporcao em %s.", GetPoint2DZone(x, y, z)); else format(Str, sizeof(Str), "[INCeNDIO]: Acaba de iniciar um incendio de pequena proporcao em Algum Interior."); SendClientMessageToAll(0xF05353FF, Str); format(Str, sizeof Str, " - Suspeita-se que o incendio foi iniciado por: %s[ID: %d].", NomePlayer(playerid), playerid); SendClientMessageToAll(0xF05353FF, Str); timeinc = gettime()+120;//2 Minutos pra criar outro incendio SetPlayerCriminal(playerid,155,"Incendiando"); PlayerInfo[playerid][pGalao] = false; SendClientMessage(playerid, COLOR_LIGHTBLUE, " Saia de perto, este local ira pegar fogo em 5 segundos!"); SetTimerEx("TacarFogo", 5000, 0, "dfff", playerid, x, y, z); return 1; } CallBack::TacarFogo(playerid, Float:fogox, Float:fogoy, Float:fogoz) { AddFire(fogox, fogoy, fogoz); for(new i; i < 4; i++) { AddFire(fogox+random(5), fogoy-random(6), fogoz); } SendClientMessage(playerid, COLOR_LIGHTRED, " » O Incendio foi iniciado!"); return 1; } CallBack::RouboMercadoNegro(playerid) { KillTimer(tempomerc); if(!IsACop(playerid)) if(!PlayerToPoint(8.0,playerid,957.7492,2096.6238,1011.0220)) { //new gstring[200]; format(gstring, sizeof(gstring), "[Roubo %s] {FFFFFF}%s[%d]: Nao Conseguiram roubar o cofre do Mercado Negro!", NomeORG(playerid), PlayerName(playerid) , playerid); SendClientMessageToAll(GetPlayerColor(playerid), gstring); RemovePlayerAttachedObject(playerid,4); SendClientMessage(playerid, COLOR_GREY, "Voce nao esta no cofre do Mercado Negro."); Provocomerc[playerid] = 0; roubando[playerid] = 0; roubomerc = 0; KillTimer(tempomerc); temporoubomerc = 0; ClearAnimations(playerid); KillTimer(TempoContagem[playerid]); return 1; } foreach(Player, i) { if(PlayerToPoint(10.0,i,957.7492,2096.6238,1011.0220)) if(!IsACop(playerid)) { if(Provocomerc[playerid] == 1) { //new gstring[200]; format(gstring, sizeof(gstring), "[Roubo %s] {FFFFFF}%s[%d]: Conseguiram roubar o cofre do Mercado Negro!", NomeORG(playerid), PlayerName(playerid) , playerid); SendClientMessageToAll(GetPlayerColor(playerid), gstring); roubando[playerid] = 0; roubomerc = 0; Provocomerc[playerid] = 0; RemovePlayerAttachedObject(playerid,4); ClearAnimations(playerid); KillTimer(TempoContagem[playerid]); } if(!IsACop(i)) { //new gstring[200]; new Dinheiromerc = 26000 + random(5000); GivePlayerMoneyEx(i, Dinheiromerc); SetPlayerCriminal(i,255, "Roubo o Mercado Negro"); format(gstring, sizeof(gstring), "Voce e os %s roubaram R$[%d] do cofre do Mercado Negro e Ganhou [1] de respeito!",NomeORG(playerid), Dinheiromerc); SendClientMessage(i, COLOR_YELLOW, gstring); ClearAnimations(i); PlayerInfo[i][pExp] += 1; RemovePlayerAttachedObject(i,4); } } } return 1; } CMD:wpp(playerid, params[]) { new msg[128], strwpp[256]; if(PlayerInfo[playerid][pMuted] == 1)return SendClientMessage(playerid, 0xA92BF6F6, "Voce nao pode falar, pois foi calado"); if(gPlayerLogged[playerid] == 0)return SendClientMessage(playerid, COLOR_GREY, "Voce nao logou ainda !"); if(PlayerInfo[playerid][pJailed] > 0)return SendClientMessage(playerid, 0xA92BF6F6, "Voce nao pode falar, pois esta preso"); if(PlayerInfo[playerid][pChatWppON] == 0) return SCM(playerid, COLOR_GRAD1, "Voce precisa ativar seu wpp no /configuracoes."); if(gettime() <= GetPVarInt(playerid, #VarFloodWPP) && PlayerInfo[playerid][pAdmin] < 1340) return SCM(playerid, COLOR_GRAD1, "[ANTI-FLOOD] Voce so pode enviar mensagem a cada 10 segundos."); if(sscanf(params, "s[128]", msg)) return UseCMD(playerid, "/wpp [Mensagem]"), SCM(playerid, COLOR_GRAD1, "Voce pode desativar pelo /configuracoes."); format(strwpp, 256, "{008000}%s [%d]{008000} [%s{008000}] (WhatsApp): {FFFFFF}%s", PlayerName(playerid), playerid, PegarCargoWpp(playerid), msg); for(new i; i < MAX_PLAYERS; i++) { if(PlayerInfo[i][pChatWppON] == 1) { SendClientMessage(i, 0x008000FF, strwpp); } } SetPVarInt(playerid, #VarFloodWPP, gettime()+10); return 1; } stock PegarCargoWpp(playerid) { new textreturn[60]; if(PlayerInfo[playerid][pYoutuber] > 0 && !PlayerInfo[playerid][pAdmin]) { switch(PlayerInfo[playerid][pYoutuber]) { case 1: { textreturn = "{FF0000}YouTuber"; } case 2: { textreturn = "{FFFFFF}Mini{FF0000}YT"; } } } else if(admtrampando[playerid] > 0 && PlayerInfo[playerid][pAdmin] > 0) { textreturn = "{ff1493}Admin"; return textreturn; } else if(helpertrampando[playerid] > 0) { textreturn = "{0FFFF}Helper"; return textreturn; } else if(PlayerInfo[playerid][pVIP] > 0 && !PlayerInfo[playerid][pYoutuber] && !PlayerInfo[playerid][pAdmin]) { textreturn = "{00FF00}VIP"; return textreturn; } else if(PlayerInfo[playerid][pAdmin] == 1342) { textreturn = "{ff1493}Fundador"; return textreturn; } else if(PlayerInfo[playerid][pAdmin] == 1341) { textreturn = "{ff1493}Dono"; return textreturn; } else if(PlayerInfo[playerid][pAdmin] == 1340) { textreturn = "{ff1493}Diretor"; return textreturn; } else { textreturn = "{FFFFFF}Jogador"; return textreturn; } return textreturn; } CallBack::RouboIlhaPirata(playerid) { KillTimer(tempoilha); if(!IsACop(playerid)) if(!PlayerToPoint(8.0,playerid,2230.7861,1596.8997,999.9646)) { //new gstring[200]; format(gstring, sizeof(gstring), "[Roubo %s] {FFFFFF}%s[%d]: Nao Conseguiram roubar o cofre do Mercado 24/7!", NomeORG(playerid), PlayerName(playerid) , playerid); SendClientMessageToAll(GetPlayerColor(playerid), gstring); RemovePlayerAttachedObject(playerid,4); SendClientMessage(playerid, COLOR_GREY, "Voce nao esta no cofre do Mercado 24/7."); Provocoilha[playerid] = 0; roubando[playerid] = 0; rouboilha = 0; KillTimer(tempoilha); temporouboilha = 0; ClearAnimations(playerid); KillTimer(TempoContagem[playerid]); return 1; } foreach(Player, i) { if(PlayerToPoint(10.0,i,2230.7861,1596.8997,999.9646)) if(!IsACop(playerid)) { if(Provocoilha[playerid] == 1) { //new gstring[200]; format(gstring, sizeof(gstring), "[Roubo %s] {FFFFFF}%s[%d]: Conseguiram roubar o cofre do Mercado 24/7!", NomeORG(playerid), PlayerName(playerid) , playerid); SendClientMessageToAll(GetPlayerColor(playerid), gstring); roubando[playerid] = 0; rouboilha = 0; Provocoilha[playerid] = 0; RemovePlayerAttachedObject(playerid,4); ClearAnimations(playerid); KillTimer(TempoContagem[playerid]); } if(!IsACop(i)) { //new gstring[200]; new Dinheiroilha = 24000 + random(5000); PlayerInfo[i][pDinheiroSujo] += Dinheiroilha; SetPlayerCriminal(i,255, "Roubo o Mercado 24/7"); format(gstring, sizeof(gstring), "Voce e os %s roubaram R$[%d] do cofre do Mercado 24/7 e Ganhou [1] de respeito!",NomeORG(playerid), Dinheiroilha); SendClientMessage(i, COLOR_YELLOW, gstring); format(gstring, sizeof(gstring), "Voce recebeu R$ %s de dinheiro sujo apos o roubo, dinheiro sujo atual: R$ %s", ConvertMoney(Dinheiroilha), ConvertMoney(PlayerInfo[i][pDinheiroSujo])); SendClientMessage(i, COLOR_YELLOW, gstring); ClearAnimations(i); PlayerInfo[i][pExp] += 1; RemovePlayerAttachedObject(i,4); } } } return 1; } CallBack::RouboMotel(playerid) { KillTimer(tempomotel); if(!IsACop(playerid)) if(!PlayerToPoint(8.0,playerid,293.1318,-57.6038,1001.5156)) { //new gstring[200]; format(gstring, sizeof(gstring), "[Roubo %s] {FFFFFF}%s[%d]: Nao Conseguiram roubar o cofre da Ammu Nation!", NomeORG(playerid), PlayerName(playerid) , playerid); SendClientMessageToAll(GetPlayerColor(playerid), gstring); RemovePlayerAttachedObject(playerid,4); SendClientMessage(playerid, COLOR_GREY, "Voce nao esta na Ammu Nation."); ProvocoMotel[playerid] = 0; roubando[playerid] = 0; roubomotel = 0; KillTimer(tempomotel); temporoubomotel = 0; ClearAnimations(playerid); KillTimer(TempoContagem[playerid]); return 1; } foreach(Player, i) { if(PlayerToPoint(8.0,i,293.1318,-57.6038,1001.5156)) if(!IsACop(playerid)) { if(ProvocoMotel[playerid] == 1) { //new gstring[200]; format(gstring, sizeof(gstring), "[Roubo %s] {FFFFFF}%s[%d]: Conseguiram roubar o cofre da Ammu Nation!", NomeORG(playerid), PlayerName(playerid) , playerid); SendClientMessageToAll(GetPlayerColor(playerid), gstring); roubando[playerid] = 0; roubomotel = 0; ProvocoMotel[playerid] = 0; RemovePlayerAttachedObject(playerid,4); KillTimer(TempoContagem[playerid]); } if(!IsACop(i)) { //new gstring[200]; new DinheiroMotel = 29000 + random(5000); PlayerInfo[i][pDinheiroSujo] += DinheiroMotel; SetPlayerCriminal(i,255, "Roubo ao Ammu Nation"); format(gstring, sizeof(gstring), "Voce e os %s roubaram R$[%d] do cofre da Ammu Nation e Ganhou [1] de respeito!",NomeORG(playerid), DinheiroMotel); SendClientMessage(i, COLOR_YELLOW, gstring); format(gstring, sizeof(gstring), "Voce recebeu R$ %s de dinheiro sujo apos o roubo, dinheiro sujo atual: R$ %s", ConvertMoney(DinheiroMotel), ConvertMoney(PlayerInfo[i][pDinheiroSujo])); SendClientMessage(i, COLOR_YELLOW, gstring); ClearAnimations(i); PlayerInfo[i][pExp] += 1; RemovePlayerAttachedObject(i,4); rouboportas[playerid] = SetTimerEx("RouboPortas", 20000, 0, "i", playerid); } } } return 1; } CallBack::RouboPut(playerid) { KillTimer(tempoput); if(!IsACop(playerid)) if(!PlayerToPoint(8.0,playerid,2172.2217,1602.1212,999.9678)) { //new gstring[200]; format(gstring, sizeof(gstring), "[Roubo %s] {FFFFFF}%s[%d]: Nao Conseguiram roubar o cofre do Centro de Licencas!", NomeORG(playerid), PlayerName(playerid) , playerid); SendClientMessageToAll(GetPlayerColor(playerid), gstring); RemovePlayerAttachedObject(playerid,4); SendClientMessage(playerid, COLOR_GREY, "Voce nao esta no Centro de Licencas."); ProvocoPut[playerid] = 0; roubando[playerid] = 0; rouboput = 0; KillTimer(tempoput); temporouboput = 0; ClearAnimations(playerid); KillTimer(TempoContagem[playerid]); return 1; } foreach(Player, i) { if(PlayerToPoint(8.0,i,2172.2217,1602.1212,999.9678)) if(!IsACop(playerid)) { if(ProvocoPut[playerid] == 1) { //new gstring[200]; format(gstring, sizeof(gstring), "[Roubo %s] {FFFFFF}%s[%d]: Conseguiram roubar o cofre do Centro de Licencas!", NomeORG(playerid), PlayerName(playerid) , playerid); SendClientMessageToAll(GetPlayerColor(playerid), gstring); roubando[playerid] = 0; rouboput = 0; ProvocoPut[playerid] = 0; RemovePlayerAttachedObject(playerid,4); KillTimer(TempoContagem[playerid]); } if(!IsACop(i)) { //new gstring[200]; new DinheiroPut = 28000 + random(5000); SetPlayerCriminal(i,255, "Roubo ao Centro de Licencas"); format(gstring, sizeof(gstring), "Voce e os %s roubaram R$[%d] do cofre do Centro de Licencas e Ganhou [1] de respeito!",NomeORG(playerid), DinheiroPut); SendClientMessage(i, COLOR_YELLOW, gstring); format(gstring, sizeof(gstring), "Voce recebeu R$ %s de dinheiro sujo apos o roubo, dinheiro sujo atual: R$ %s", ConvertMoney(DinheiroPut), ConvertMoney(PlayerInfo[i][pDinheiroSujo])); SendClientMessage(i, COLOR_YELLOW, gstring); PlayerInfo[i][pDinheiroSujo] += DinheiroPut; ClearAnimations(i); PlayerInfo[i][pExp] += 1; RemovePlayerAttachedObject(i,4); } } } return 1; } CallBack::RouboNavio(playerid) { KillTimer(temponavio); if(!IsACop(playerid)) if(!PlayerToPoint(8.0,playerid,-1434.8153,1479.9121,1.8672)) { //new gstring[200]; format(gstring, sizeof(gstring), "[Roubo %s] {FFFFFF}%s[%d]: Nao Conseguiram roubar o cofre do navio!", NomeORG(playerid), PlayerName(playerid) , playerid); SendClientMessageToAll(GetPlayerColor(playerid), gstring); RemovePlayerAttachedObject(playerid,4); SendClientMessage(playerid, COLOR_GREY, "Voce nao esta no cofre do navio."); Provoconavio[playerid] = 0; roubando[playerid] = 0; roubonavio = 0; KillTimer(temponavio); temporoubonavio = 0; ClearAnimations(playerid); KillTimer(TempoContagem[playerid]); return 1; } foreach(Player, i) { if(PlayerToPoint(10.0,i,-1434.8153,1479.9121,1.8672)) if(!IsACop(playerid)) { if(Provoconavio[playerid] == 1) { //new gstring[200]; format(gstring, sizeof(gstring), "[Roubo %s] {FFFFFF}%s[%d]: Conseguiram roubar o cofre do navio!", NomeORG(playerid), PlayerName(playerid) , playerid); SendClientMessageToAll(GetPlayerColor(playerid), gstring); roubando[playerid] = 0; roubonavio = 0; Provoconavio[playerid] = 0; RemovePlayerAttachedObject(playerid,4); ClearAnimations(playerid); KillTimer(TempoContagem[playerid]); } if(!IsACop(i)) { //new gstring[200]; new Dinheironavio = 29000 + random(5000); SetPlayerCriminal(i,255, "Roubo ao Navio"); format(gstring, sizeof(gstring), "Voce e os %s roubaram R$[%d] do cofre do Navio e Ganhou [1] de respeito!",NomeORG(playerid), Dinheironavio); SendClientMessage(i, COLOR_YELLOW, gstring); ClearAnimations(i); format(gstring, sizeof(gstring), "Voce recebeu R$ %s de dinheiro sujo apos o roubo, dinheiro sujo atual: R$ %s", ConvertMoney(Dinheironavio), ConvertMoney(PlayerInfo[i][pDinheiroSujo])); SendClientMessage(i, COLOR_YELLOW, gstring); PlayerInfo[i][pDinheiroSujo] += Dinheironavio; PlayerInfo[i][pExp] += 1; AbrirPortaNavio[playerid] = 1; MoveDynamicObject(portanavio2,-1383, 1494.1, 4.6, 20.0); rouboportas[playerid] = SetTimerEx("RouboPortas", 20000, 0, "i", playerid); RemovePlayerAttachedObject(i,4); } } } return 1; } CallBack::RouboLoja1(playerid) { KillTimer(tempoloja1); if(!IsACop(playerid)) if(!PlayerToPoint(8.0,playerid,303.1141,-168.5879,999.5938)) { //new gstring[200]; format(gstring, sizeof(gstring), "[Roubo %s] {FFFFFF}%s[%d]: Nao Conseguiram roubar o cofre da Loja de Armas 1!", NomeORG(playerid), PlayerName(playerid) , playerid); SendClientMessageToAll(GetPlayerColor(playerid), gstring); SendClientMessage(playerid, COLOR_GREY, "Voce nao esta na Loja de Armas 1."); RemovePlayerAttachedObject(playerid,4); ProvocoLoja1[playerid] = 0; roubando[playerid] = 0; rouboloja1 = 0; KillTimer(tempoloja1); temporouboloja1 = 0; ClearAnimations(playerid); KillTimer(TempoContagem[playerid]); return 1; } foreach(Player, i) { if(PlayerToPoint(8.0,i,303.1141,-168.5879,999.5938)) if(!IsACop(playerid)) { if(ProvocoLoja1[playerid] == 1) { //new gstring[200]; format(gstring, sizeof(gstring), "[Roubo %s] {FFFFFF}%s[%d]: Conseguiram roubar o cofre da Loja de Armas 1!", NomeORG(playerid), PlayerName(playerid) , playerid); SendClientMessageToAll(GetPlayerColor(playerid), gstring); roubando[playerid] = 0; rouboloja1 = 0; ProvocoLoja1[playerid] = 0; RemovePlayerAttachedObject(playerid,4); KillTimer(TempoContagem[playerid]); } if(!IsACop(i)) { //new gstring[200]; new DinheiroArmas = 26000 + random(5000); SetPlayerCriminal(i, 255, "Roubo a Loja de Armas 1"); format(gstring, sizeof(gstring), "Voce e os %s roubaram R$[%d] do cofre da Loja de Armas 1 e Ganhou [1] de respeito!",NomeORG(playerid), DinheiroArmas); SendClientMessage(i, COLOR_YELLOW, gstring); format(gstring, sizeof(gstring), "Voce recebeu R$ %s de dinheiro sujo apos o roubo, dinheiro sujo atual: R$ %s", ConvertMoney(DinheiroArmas), ConvertMoney(PlayerInfo[i][pDinheiroSujo])); SendClientMessage(i, COLOR_YELLOW, gstring); PlayerInfo[i][pDinheiroSujo] += DinheiroArmas; ClearAnimations(i); PlayerInfo[i][pExp] += 1; RemovePlayerAttachedObject(playerid,4); RemovePlayerAttachedObject(i,4); } } } return 1; } CallBack::RouboLot(playerid) { KillTimer(tempolot); if(!IsACop(playerid)) if(!PlayerToPoint(8.0,playerid,2150.8096,1619.9636,1000.9688)) { //new gstring[200]; format(gstring, sizeof(gstring), "[Roubo %s] {FFFFFF}%s[%d]: Nao Conseguiram roubar o cofre da Loterica LS!", NomeORG(playerid), PlayerName(playerid) , playerid); SendClientMessageToAll(GetPlayerColor(playerid), gstring); RemovePlayerAttachedObject(playerid,4); SendClientMessage(playerid, COLOR_GREY, "Voce nao esta no cofre da Loterica."); ProvocoLot[playerid] = 0; roubando[playerid] = 0; roubolot = 0; KillTimer(tempolot); temporoubolot = 0; ClearAnimations(playerid); KillTimer(TempoContagem[playerid]); return 1; } foreach(Player, i) { if(PlayerToPoint(5.0,i,2150.8096,1619.9636,1000.9688)) if(!IsACop(playerid)) { if(ProvocoLot[playerid] == 1) { //new gstring[200]; format(gstring, sizeof(gstring), "[Roubo %s] {FFFFFF}%s[%d]: Conseguiram roubar o cofre da Loterica LS!", NomeORG(playerid), PlayerName(playerid) , playerid); SendClientMessageToAll(GetPlayerColor(playerid), gstring); roubando[playerid] = 0; roubolot = 0; ProvocoLot[playerid] = 0; RemovePlayerAttachedObject(playerid,4); KillTimer(TempoContagem[playerid]); } if(!IsACop(i)) { //new gstring[200]; new DinheiroLot = 27000 + random(5000); SetPlayerCriminal(i,255, "Roubo a Loterica"); format(gstring, sizeof(gstring), "Voce e os %s roubaram R$[%d] do cofre da Loterica LS e Ganhou [1] de respeito!",NomeORG(playerid), DinheiroLot); SendClientMessage(i, COLOR_YELLOW, gstring); format(gstring, sizeof(gstring), "Voce recebeu R$ %s de dinheiro sujo apos o roubo, dinheiro sujo atual: R$ %s", ConvertMoney(DinheiroLot), ConvertMoney(PlayerInfo[i][pDinheiroSujo])); SendClientMessage(i, COLOR_YELLOW, gstring); PlayerInfo[i][pDinheiroSujo] += DinheiroLot; ClearAnimations(i); PlayerInfo[i][pExp] += 1; RemovePlayerAttachedObject(i,4); } } } return 1; } CallBack::RouboBanco(playerid) { KillTimer(tempobanco); if(!IsACop(playerid)) if(!PlayerToPoint(8.0,playerid,2144.1772,1641.3688,993.5761)) { //new gstring[200]; format(gstring, sizeof(gstring), "[Roubo %s] {FFFFFF}%s[%d]: Nao Conseguiram roubar o cofre do Banco LS!", NomeORG(playerid), PlayerName(playerid) , playerid); SendClientMessageToAll(GetPlayerColor(playerid), gstring); RemovePlayerAttachedObject(playerid,4); SendClientMessage(playerid, COLOR_GREY, "Voce nao esta no cofre do banco."); ProvocoBanco[playerid] = 0; roubando[playerid] = 0; roubobanco = 0; KillTimer(tempobanco); temporoubobanco = 0; ClearAnimations(playerid); KillTimer(TempoContagem[playerid]); return 1; } foreach(Player, i) { if(PlayerToPoint(10.0,i,2144.1772,1641.3688,993.5761)) if(!IsACop(playerid)) { if(ProvocoBanco[playerid] == 1) { //new gstring[200]; format(gstring, sizeof(gstring), "[Roubo %s] {FFFFFF}%s[%d]: Conseguiram roubar o cofre do Banco LS!", NomeORG(playerid), PlayerName(playerid) , playerid); SendClientMessageToAll(GetPlayerColor(playerid), gstring); roubando[playerid] = 0; roubobanco = 0; ProvocoBanco[playerid] = 0; RemovePlayerAttachedObject(playerid,4); ClearAnimations(playerid); KillTimer(TempoContagem[playerid]); } if(!IsACop(i)) { //new gstring[200]; new DinheiroBanco = 32000 + random(23000); SetPlayerCriminal(i,255, "Roubo ao Banco"); format(gstring, sizeof(gstring), "Voce e os %s roubaram R$[%d] do cofre do Banco LS e Ganhou [] de respeito!",NomeORG(playerid), DinheiroBanco); SendClientMessage(i, COLOR_YELLOW, gstring); ClearAnimations(i); format(gstring, sizeof(gstring), "Voce recebeu R$ %s de dinheiro sujo apos o roubo, dinheiro sujo atual: R$ %s", ConvertMoney(DinheiroBanco), ConvertMoney(PlayerInfo[i][pDinheiroSujo])); SendClientMessage(i, COLOR_YELLOW, gstring); PlayerInfo[i][pDinheiroSujo] += DinheiroBanco; PlayerInfo[i][pExp] += 3; MoveDynamicObject(portabanco, 304.5356, 1787.3109, 512.9559,20.0); AbrirPortaBanco[playerid] = 1; RemovePlayerAttachedObject(i,4); rouboportas[playerid] = SetTimerEx("RouboPortas", 20000, 0, "i", playerid); } } } return 1; } CMD:menucaminhoneiro(playerid, params[]) { if(!IsPlayerInAnyVehicle(playerid)) return SCM(playerid, COLOR_LIGHTRED, "[Erro] Você precisa estar no caminhão!"); if(GetVehicleModel(GetPlayerVehicleID(playerid)) != 578) return SCM(playerid, COLOR_LIGHTRED, "[Erro] Você precisa estar no caminhão!"); if(PlayerInfo[playerid][pEmprego] != 13) return SCM(playerid, COLOR_LIGHTRED, "[Erro] Você precisa ser caminhonieiro"); if(!IsPlayerInRangeOfPoint(playerid, 5.0, -80.0510,-1119.3893,1.084)) return SCM(playerid, COLOR_LIGHTRED, "[Erro] Você precisa estar no pickup na hq do caminhoneiro!"); ShowPlayerDialog(playerid, 10333, DIALOG_STYLE_TABLIST_HEADERS, "Menu Caminhoneiro", "Lugar\tCidade\n\ EASTER BAY AIRPORT\t San Fierro\n\ ESPLANADE NORTH\t San Fierro\n\ RED CONTRY\t Los Santos\n\ MONTGOMERY\t Los Santos\n\ IVA FREIGHT DEPOT\t Las Venturas\n\ GALIGULA'S PALACE B\t Las Venturas", "Escolher", #); return 1; } CMD:moveis(playerid, params[]) { new House = PlayerInfo[playerid][pPHousekey]; GetPlayerName(playerid, playername, sizeof(playername)); if (House != 500 && strcmp(playername, HouseInfo[PlayerInfo[playerid][pPHousekey]][hOwner], true) == 0) { new item; if(sscanf(params, "d", item)) { SendClientMessage(playerid, COLOR_WHITE, "USE: /moveis [Numero do iten]"); SendClientMessage(playerid, COLOR_WHITE, "|______________[ Moveis da casa ]______________|"); SendClientMessage(playerid, COLOR_GRAD2, "| 1: Vida R$50.000"); SendClientMessage(playerid, COLOR_GRAD3, "| 2: Colete R$100.000"); return true; } switch (item) { case 1: { if(GetPlayerMoney(playerid) < 100) { SendClientMessage(playerid, COLOR_GRAD5, "Voce nao tem R$100!"); return true; } HouseInfo[House][hHel] = 1; GiveDinheiro(playerid,-100); SBizzInfo[6][sbTill] += 100;//vida buisness ExtortionSBiz(6, 100); PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); SendClientMessage(playerid, COLOR_GRAD5, "Sua gora tem upgrade de vida, Digite /vida."); } case 2: { if(!IsACop(playerid)) { SendClientMessage(playerid, COLOR_GREY, "Voce nao pode comprar isso, voce nao e um policial !"); return true; } if(GetPlayerMoney(playerid) < 300) { SendClientMessage(playerid, COLOR_GRAD5, "Voce nao tem R$300!"); return true; } HouseInfo[House][hArm] = 1; GiveDinheiro(playerid,-300); SBizzInfo[6][sbTill] += 300;//vida buisness ExtortionSBiz(6, 300); PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); SendClientMessage(playerid, COLOR_GRAD5, "Sua casa agora tem upgrade de colete, Digite /vida."); } default: { SendClientMessage(playerid, COLOR_GREY, "Número de movel desconhecido."); } } SaveCasa(House); Atualizar3Dtexts(); return true; } else { SendClientMessage(playerid, COLOR_GREY, "Voce nao tem uma casa"); } return true; } CMD:aluguel(playerid, params[]) { new borse = PlayerInfo[playerid][pPHousekey]; GetPlayerName(playerid, playername, sizeof(playername)); if (borse != 500 && strcmp(playername, HouseInfo[PlayerInfo[playerid][pPHousekey]][hOwner], true) == 0) { new alug; if(sscanf(params, "d", alug)) { SendClientMessage(playerid, COLOR_GRAD2, "USE: /aluguel [Preco]"); return true; } if(alug < 1 || alug > 900) { SendClientMessage(playerid, COLOR_GRAD2, "Preco Minimo R$1, Maximo R$900."); return true; } new string[128]; HouseInfo[borse][hRent] = alug; SaveCasa(borse); Atualizar3Dtexts(); format(string, sizeof(string), "Aluguel definido para: R$%d", HouseInfo[borse][hRent]); SendClientMessage(playerid, COLOR_WHITE, string); return true; } else { SendClientMessage(playerid, COLOR_GREY, "Voce nao tem uma casa"); } return true; } CMD:despejartodos(playerid, params[]) { new borse = PlayerInfo[playerid][pPHousekey]; if (borse != 500 && strcmp(NomePlayer(playerid), HouseInfo[PlayerInfo[playerid][pPHousekey]][hOwner], true) == 0) { foreach(Player, i) { if(i != playerid) { if (PlayerInfo[i][pPHousekey] == PlayerInfo[playerid][pPHousekey] ) { SendClientMessage(i, COLOR_WHITE, "Voce foi despejado de sua casa."); PlayerInfo[i][pPHousekey] = 500; } } } SendClientMessage(playerid, COLOR_WHITE, "Voce expulsou todos de sua casa."); } else { SendClientMessage(playerid, COLOR_GRAD2, "Voce nao e dono de uma casa !"); return true; } return true; } CMD:alugarcarro(playerid) { if(IsPlayerConnected(playerid)) { new vehicleid = GetPlayerVehicleID(playerid); new string[200]; if(AluguelCarrosCar(GetPlayerVehicleID(playerid)))//Aluguel 1 { new hirefee = GetPlayerVehicleID(playerid); if (GetPlayerMoney (playerid) < 500) { SendClientMessage(playerid, COLOR_GRAD2, "Você não tem esse dinheiro !"); return 1; } if(CarroAluguel[playerid] > 0 && vehicleid != CarroAluguel[playerid]) { gCarLock[CarroAluguel[playerid]] = 0; UnLockCar(CarroAluguel[playerid]); TogglePlayerControllableEx(playerid, 1); RemovePlayerFromVehicle(playerid); SendClientMessage(playerid, COLOR_GREY, "Você tem que desalugar o outro veiculo ! (/desalugarcarro)"); return 1; } for(new i=0; i 0) { gCarLock[HireCar[playerid]] = 0; UnLockCar(HireCar[playerid]); SendClientMessage(playerid, COLOR_GREY, "Voce tem que desalugar o outro veiculo ! (/desalugarcarro)"); return 1; } foreach(Player, i) { if(HireCar[i] == GetPlayerVehicleID(playerid)) { SendClientMessage(playerid, COLOR_GREY, "Alguem ja alugou esse veiculo !"); RemovePlayerFromVehicleEx(playerid); return 1; } } GivePlayerMoneyEx(playerid,-SBizzInfo[15][sbEntranceCost]); SBizzInfo[15][sbTill] += SBizzInfo[15][sbEntranceCost]; ExtortionSBiz(15, SBizzInfo[15][sbEntranceCost]); HireCar[playerid] = GetPlayerVehicleID(playerid); PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); format(string, sizeof(string), "~w~Carro Alugado!~n~~r~/desalugarcarro = desalugar~n~~g~/trancar = trancar ou abrir",hirefee); TogglePlayerControllableEx(playerid, 1); GameTextForPlayer(playerid, string, 5000, 3); return 1; } else if(AluguelCarros2(GetPlayerVehicleID(playerid)))//Aluguel 2 { new hirefee = HireCost(GetPlayerVehicleID(playerid)); if (GetPlayerMoney (playerid) < SBizzInfo[15][sbEntranceCost]) { SendClientMessage(playerid, COLOR_GRAD2, "Voce nao tem esse dinheiro !"); RemovePlayerFromVehicleEx(playerid); return 1; } if(HireCar[playerid] > 0) { gCarLock[HireCar[playerid]] = 0; UnLockCar(HireCar[playerid]); SendClientMessage(playerid, COLOR_GREY, "Voce tem que desalugar o outro veiculo ! (/desalugarcarro)"); return 1; } foreach(Player, i) { if(HireCar[i] == GetPlayerVehicleID(playerid)) { SendClientMessage(playerid, COLOR_GREY, "Alguem ja alugou esse veiculo !"); RemovePlayerFromVehicleEx(playerid); return 1; } } GivePlayerMoneyEx(playerid,-SBizzInfo[15][sbEntranceCost]); SBizzInfo[15][sbTill] += SBizzInfo[15][sbEntranceCost]; ExtortionSBiz(15, SBizzInfo[15][sbEntranceCost]); HireCar[playerid] = GetPlayerVehicleID(playerid); PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); format(string, sizeof(string), "~w~Carro Alugado!~n~~r~/desalugarcarro = desalugar~n~~g~/trancar = trancar ou abrir",hirefee); TogglePlayerControllableEx(playerid, 1); GameTextForPlayer(playerid, string, 5000, 3); return 1; } else if(AluguelCarros3(GetPlayerVehicleID(playerid)))// Aluguel 3 { new hirefee = HireCost(GetPlayerVehicleID(playerid)); if (GetPlayerMoney (playerid) < SBizzInfo[15][sbEntranceCost]) { SendClientMessage(playerid, COLOR_GRAD2, "Voce nao tem esse dinheiro !"); RemovePlayerFromVehicleEx(playerid); return 1; } if(HireCar[playerid] > 0) { gCarLock[HireCar[playerid]] = 0; UnLockCar(HireCar[playerid]); SendClientMessage(playerid, COLOR_GREY, "Voce tem que desalugar o outro veiculo ! (/desalugarcarro)"); return 1; } foreach(Player, i) { if(HireCar[i] == GetPlayerVehicleID(playerid)) { SendClientMessage(playerid, COLOR_GREY, "Alguem ja alugou esse veiculo !"); RemovePlayerFromVehicleEx(playerid); return 1; } } GivePlayerMoneyEx(playerid,-SBizzInfo[15][sbEntranceCost]); SBizzInfo[15][sbTill] += SBizzInfo[15][sbEntranceCost]; ExtortionSBiz(15, SBizzInfo[15][sbEntranceCost]); HireCar[playerid] = GetPlayerVehicleID(playerid); PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); format(string, sizeof(string), "~w~Carro Alugado!~n~~r~/desalugarcarro = desalugar~n~~g~/trancar = trancar ou abrir",hirefee); TogglePlayerControllableEx(playerid, 1); GameTextForPlayer(playerid, string, 5000, 3); return 1; } else if(AluguelCarros4(GetPlayerVehicleID(playerid)))// Aluguel 4 LV { new hirefee = HireCost(GetPlayerVehicleID(playerid)); if (GetPlayerMoney (playerid) < SBizzInfo[15][sbEntranceCost]) { SendClientMessage(playerid, COLOR_GRAD2, "Voce nao tem esse dinheiro !"); RemovePlayerFromVehicleEx(playerid); return 1; } if(HireCar[playerid] > 0) { gCarLock[HireCar[playerid]] = 0; UnLockCar(HireCar[playerid]); SendClientMessage(playerid, COLOR_GREY, "Voce tem que desalugar o outro veiculo ! (/desalugarcarro)"); return 1; } foreach(Player, i) { if(HireCar[i] == GetPlayerVehicleID(playerid)) { SendClientMessage(playerid, COLOR_GREY, "Alguem ja alugou esse veiculo !"); RemovePlayerFromVehicleEx(playerid); return 1; } } GivePlayerMoneyEx(playerid,-SBizzInfo[15][sbEntranceCost]); SBizzInfo[15][sbTill] += SBizzInfo[15][sbEntranceCost]; ExtortionSBiz(15, SBizzInfo[15][sbEntranceCost]); HireCar[playerid] = GetPlayerVehicleID(playerid); SaveCasas(); Atualizar3Dtexts(); PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); format(string, sizeof(string), "~w~Carro Alugado!~n~~r~/desalugarcarro = desalugar~n~~g~/trancar = trancar ou abrir",hirefee); TogglePlayerControllableEx(playerid, 1); GameTextForPlayer(playerid, string, 5000, 3); return 1; } else if(AeroAluguel(GetPlayerVehicleID(playerid)))//Aluguel Aeros { new hirefee = HireCost(GetPlayerVehicleID(playerid)); if (GetPlayerMoney (playerid) < SBizzInfo[15][sbEntranceCost]) { SendClientMessage(playerid, COLOR_GRAD2, "Voce nao tem esse dinheiro !"); return 1; } if(HireCar[playerid] > 0) { gCarLock[HireCar[playerid]] = 0; UnLockCar(HireCar[playerid]); SendClientMessage(playerid, COLOR_GREY, "Voce tem que desalugar o outro veiculo ! (/desalugarcarro)"); return 1; } foreach(Player, i) { if(HireCar[i] == GetPlayerVehicleID(playerid)) { SendClientMessage(playerid, COLOR_GREY, "Alguem ja alugou esse veiculo !"); return 1; } } GivePlayerMoneyEx(playerid,-SBizzInfo[15][sbEntranceCost]); SBizzInfo[15][sbTill] += SBizzInfo[15][sbEntranceCost]; ExtortionSBiz(15, SBizzInfo[15][sbEntranceCost]); HireCar[playerid] = GetPlayerVehicleID(playerid); SaveCasas(); Atualizar3Dtexts(); PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); format(string, sizeof(string), "~w~Carro Alugado!~n~~r~/desalugarcarro = desalugar~n~~g~/trancar = trancar ou abrir",hirefee); TogglePlayerControllableEx(playerid, 1); GameTextForPlayer(playerid, string, 5000, 3); return 1; } else if(BarcosAluguel(GetPlayerVehicleID(playerid)))//Aluguel Barcos { new hirefee = HireCost(GetPlayerVehicleID(playerid)); if (GetPlayerMoney (playerid) < SBizzInfo[15][sbEntranceCost]) { SendClientMessage(playerid, COLOR_GRAD2, "Voce nao tem esse dinheiro !"); RemovePlayerFromVehicleEx(playerid); return 1; } if(HireCar[playerid] > 0) { gCarLock[HireCar[playerid]] = 0; UnLockCar(HireCar[playerid]); SendClientMessage(playerid, COLOR_GREY, "Voce tem que desalugar o outro veiculo ! (/desalugarcarro)"); return 1; } foreach(Player, i) { if(HireCar[i] == GetPlayerVehicleID(playerid)) { SendClientMessage(playerid, COLOR_GREY, "Alguem ja alugou esse veiculo !"); RemovePlayerFromVehicleEx(playerid); return 1; } } GivePlayerMoneyEx(playerid,-SBizzInfo[15][sbEntranceCost]); SBizzInfo[15][sbTill] += SBizzInfo[15][sbEntranceCost]; ExtortionSBiz(19, SBizzInfo[1][sbEntranceCost]); HireCar[playerid] = GetPlayerVehicleID(playerid); PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); format(string, sizeof(string), "~w~Carro Alugado!~n~~r~/desalugarcarro = desalugar~n~~g~/trancar = trancar ou abrir",hirefee); TogglePlayerControllableEx(playerid, 1); GameTextForPlayer(playerid, string, 5000, 3); return 1; } } return 1; }*/ CMD:alugarcasa(playerid, params[]) { new idd; new borse = PlayerInfo[playerid][pPHousekey]; GetPlayerName(playerid, playername, sizeof(playername)); if (borse != 500 && strcmp(playername, HouseInfo[PlayerInfo[playerid][pPHousekey]][hOwner], true) == 0) { if(sscanf(params, "d", idd)) { SendClientMessage(playerid, COLOR_WHITE, "USE: /alugarcasa [0 - Nao / 1 - Sim]"); } new string[128]; HouseInfo[borse][hRentabil] = idd; format(string, sizeof(string), "Status do aluguel da casa setado para - %d.", HouseInfo[borse][hRentabil]); SendClientMessage(playerid, COLOR_WHITE, string); SaveCasa(borse); Atualizar3Dtexts(); return true; } else { SendClientMessage(playerid, COLOR_GRAD2, "Voce nao e dono de uma casa !"); } return true; } CMD:ligar(playerid, params[]) { if(NaCamera[playerid] > 3) { SendClientMessage(playerid,COLOR_YELLOW,"Voce nao pode falar agora!"); return true; } if(PlayerInfo[playerid][pMuted] == 1) { SendClientMessage(playerid, 0xA92BF6F6, "Voce nao pode falar, pois foi calado"); return true; } if(PlayerInfo[playerid][pJailed] == 9) { SendClientMessage(playerid,COLOR_GRAD1,"Voce nao pode usar este comando nas Celas da Administracao!"); return true; } if(PlayerInfo[playerid][pJailed] != 0) { SendClientMessage(playerid,COLOR_YELLOW,"Voce nao pode usar celular na cadeia!"); return true; } new phonenumb; if(sscanf(params, "d", phonenumb)) { SendClientMessage(playerid, COLOR_GRAD2, "USE: /ligar [Telefone]"); return true; } if(PlayerInfo[playerid][pConnectTime] < 1) { SendClientMessage(playerid, COLOR_GRAD2, "Voce precisa jogar pelo menos 1 horas para fazer ligacões!"); return true; } if(PlayerInfo[playerid][pPnumber] == 0) { SendClientMessage(playerid, COLOR_GRAD2, "Voce nao tem um celular"); return true; } if(phonenumb == 000) { SendClientMessage(playerid, COLOR_YELLOW ,"SMS: BUUUUU!!, enviou: Agencia Telefonica (555)"); return true; } if(phonenumb == 0) { SendClientMessage(playerid, COLOR_GRAD2, "Voce esta ligando para ninguem"); return true; } if(phonenumb == PlayerInfo[playerid][pPnumber]) { SendClientMessage(playerid, COLOR_GRAD2, "Voce nao pode ligar para si mesmo"); return true; } if(phonenumb == 190) { Mobile[playerid] = 190; SendClientMessage(playerid, COLOR_DBLUE, "Linha De Emergencia: Policia ou Samu?"); return true; } if(phonenumb == 192) { ForT:servico(playerid, "medico"); return true; } if(Mobile[playerid] != 255) { SendClientMessage(playerid, COLOR_GRAD2, "Voce ja esta em uma ligacao..."); return true; } new string[128]; GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "* %s pega o celular.", PlayerName(playerid)); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); PlayerPlaySound(playerid, 3600, 0.0, 0.0, 0.0); SetPlayerSpecialAction(playerid, SPECIAL_ACTION_USECELLPHONE); //SetPlayerAttachedObject_Droid(SlotReal,playerid, Slot_Celular, PlayerInfo[playerid][pTelColor], 6); new id = CountAttachedObjects(playerid); SetPlayerAttachedObject_Droid(playerid, id, PlayerInfo[playerid][pTelColor], 6,0.102000,0.000000,-0.002000,-104.100006,-14.999977,172.200164,1.000000,1.000000,1.000000); SetPlayerAttachedObjectEx(PlayerInfo[playerid][pTelColor],Vaga_Celular,playerid,id); foreach(Player, i) { if(PlayerInfo[i][pPnumber] == phonenumb && phonenumb != 0) { giveplayerid = i; Mobile[playerid] = giveplayerid; //caller connecting if(PhoneOnline[giveplayerid] > 0) { SendClientMessage(playerid, COLOR_GREY, " O celular chamado esta desligado !"); return true; } if (Mobile[giveplayerid] == 255) { format(string, sizeof(string), "Seu celular esta tocando (/At) Chamada de: %s", PlayerName(playerid)); SendClientMessage(giveplayerid, COLOR_YELLOW, string); GetPlayerName(giveplayerid, sendername, sizeof(sendername)); RingTone[giveplayerid] = 10; PlayerPlaySound(giveplayerid, 23000, 0.0, 0.0, 0.0); PlayerPlaySound(playerid, 23000, 0.0, 0.0, 0.0); SendClientMessage(playerid, 0x934FF6F6, "Server: Use 'T' para falar, digite /des para desligar"); SendClientMessage(playerid, 0x934FF6F6, "Server: Obs: Se Nao desligar,digite /cellout !"); format(string, sizeof(string), "* %s's esta tocando o celular.", PlayerName(i)); SendClientMessageInRange(30.0, i, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); CellTime[playerid] = 1; SBizzInfo[2][sbTill] += 1000; ExtortionSBiz(2, 1000); DepositarOrgGrana(7,10000); return true; } } } SendClientMessage(playerid, COLOR_GRAD2, "Voce acabou de ligar para um número ocupado..."); return true; } CMD:t(playerid, params[])return ForT:sms(playerid, params); CMD:sms(playerid, params[]) { if(NaCamera[playerid] > 3) { SendClientMessage(playerid,COLOR_YELLOW,"Voce nao pode falar agora!"); return true; } if(PlayerInfo[playerid][pMuted] == 1) { SendClientMessage(playerid, 0xA92BF6F6, "Voce nao pode falar, pois foi calado"); return true; } if(gPlayerLogged[playerid] == 0) { SendClientMessage(playerid, COLOR_GREY, "Voce nao esta logado!"); return true; } if(PlayerInfo[playerid][pJailed] != 0) { SendClientMessage(playerid,COLOR_YELLOW,"Voce nao pode usar celular na cadeia!"); return true; } if(PlayerInfo[playerid][pConnectTime] < 3) { SendClientMessage(playerid, 0xFFFFFFFF, "Info: Voce podera mandar mensagens apos {FFA54F}3{FFFFFF} horas jogadas."); return true; } if(PlayerInfo[playerid][pJailed] == 9) { SendClientMessage(playerid,COLOR_GRAD1,"Voce nao pode usar este comando nas Celas da Administracao!"); return true; } new result[64], phonenumb; if(sscanf(params, "ds[64]", phonenumb, result)) { SendClientMessage(playerid, COLOR_GRAD2, "USE: /sms [telefone] [texto]"); return true; } if(PlayerInfo[playerid][pPnumber] == 0) { SendClientMessage(playerid, COLOR_GRAD2, "Voce nao tem um celular, compre um na 24/7"); return true; } new string[128]; GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "* %s pegou o celular.", PlayerName(playerid)); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); //Anti Divulguer if(AntiDivulguer(playerid, result))return 1; foreach(Character, i) { if(PlayerInfo[i][pPnumber] == phonenumb) { giveplayerid = i; Mobile[playerid] = giveplayerid; //caller connecting if(PhoneOnline[giveplayerid] > 0) { SendClientMessage(playerid, COLOR_GREY, " O celular chamado esta desligado !"); return true; } SendClientMessage(playerid, COLOR_WHITE, "SMS Enviado com Sucesso!"); format(string, sizeof(string), "SMS: %s, enviou: %s (%d)", result,sendername,PlayerInfo[playerid][pPnumber]); GetPlayerName(giveplayerid, sendername, sizeof(sendername)); SendClientMessage(giveplayerid, COLOR_YELLOW, string); SendClientMessage(playerid, COLOR_YELLOW, string); foreach(Player, adm) { if(VerSMS[adm] && PlayerInfo[adm][pAdmin] > 0) { format(string, sizeof string, "SMS: %s[ID: %d] para %s [ID: %d]: %s", NomePlayer(playerid),playerid, NomePlayer(i),i, result); SendClientMessage(adm, COLOR_YELLOW, string); } } RingTone[giveplayerid] = 20; PlayerPlaySound(playerid, 3600, 0.0, 0.0, 0.0); PlayerPlaySound(giveplayerid, 3600, 0.0, 0.0, 0.0); print(string); GameTextForPlayer(playerid,"~r~ -R$50", 5000, 1); SBizzInfo[2][sbTill] += 50; ExtortionSBiz(2, 50); Mobile[playerid] = 255; format(string, sizeof(string), "SMS: %s, enviou: %s para %s", result,playername,PlayerName(playerid)); CNFLogs("sms", string); return true; } } SendClientMessage(playerid, COLOR_GRAD2, " Falha ao enviar a mensagem!"); return true; } CMD:prego(playerid)return ForT:pregos(playerid); CMD:pregos(playerid) { if(PlayerInfo[playerid][pJailed] != 0)return SendClientMessage(playerid,COLOR_YELLOW,"Voce nao pode usar esse comando na cadeia!"); if (!IsACop(playerid)) return SendClientMessage(playerid, COLOR_GREY, "Voce nao e COP!"); if(GetPlayerInterior(playerid) > 0 || IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, AMARELO_COR, "Voce nao pode colocar pregos dentro de um veiculo ou em algum interior!"); new prid = 999; new string[128]; for(new i; i < MAX_PREGOS; i++){ if(SpikeInfo[i][sCreated]){ if (SpikeInfo[i][sID] == playerid) return SendClientMessage(playerid, COLOR_GREY, "Voce so pode implantar 1 prego por vez, /rpr - para remover seu tapete de pregos."); } } for(new i; i < MAX_PREGOS; i++){ if(!SpikeInfo[i][sCreated]){ prid = i; break; } } if (prid == 999) return SendClientMessage(playerid, COLOR_GREY, " Ha muitos pregos plantados no servidor!"); new Float:X, Float:Y, Float:Z, Float:A; GetPlayerPos(playerid, X, Y, Z); GetPlayerFacingAngle(playerid, A); SpikeInfo[prid][sID]=playerid; SpikeInfo[prid][sCreated]=1; SpikeInfo[prid][sX]=X; SpikeInfo[prid][sY]=Y; SpikeInfo[prid][sZ]=Z-3.1; SpikeInfo[prid][sObject] = CreateDynamicObject(2892, X, Y, Z-0.9, 0, 0, A-90); GameTextForPlayer(playerid, "~w~Pregos ~r~Criados", 5000, 5); format(string, sizeof string, "[Tapete de Pregos]\nCriado por: %s[ID: %d]", NomePlayer(playerid), playerid); SpikeInfo[prid][sText] = Create3DTextLabel(string,0x77BBFFFF,X, Y, Z-1.0 ,5.0, 0); format(string, sizeof(string), "[%s] %s plantou um tapete de pregos.", NomeORG(playerid),PlayerName(playerid)); foreach(Player, i) { if(IsACop(i)) { SendClientMessage(i, TEAM_BLUE_COLOR, string); } } return true; } CMD:rpr(playerid) { if (!IsACop(playerid)) return SendClientMessage(playerid, COLOR_GREY, "Voce nao e um Policial!"); for(new i; i < MAX_PREGOS; i++) { if(SpikeInfo[i][sCreated] && SpikeInfo[i][sID] == playerid) { new string[128]; SendClientMessage(playerid, COLOR_GREY, "Voce retirou seu tapete de pregos!"); SpikeInfo[i][sID]=999; SpikeInfo[i][sCreated]=0; DestroyDynamic3DTextLabel(SpikeInfo[i][sText]); DestroyDynamicObject(SpikeInfo[i][sObject]); format(string, sizeof(string), "[%s] %s removeu seu tapete de pregos.", NomeORG(playerid),PlayerName(playerid)); foreach(Player, p) { if(IsACop(p)) { SendClientMessage(p, TEAM_BLUE_COLOR, string); } } return true; } } SendClientMessage(playerid, COLOR_GRAD1, "Voce nao plantou nenhum tapete de pregos!"); return true; } CMD:dpregos(playerid) { if ((!IsACop(playerid) || PlayerInfo[playerid][pCargo] < 5) && !PlayerInfo[playerid][pAdmin]) return SendClientMessage(playerid, COLOR_GREY, "Voce nao e um Policial e ter cargo maior que 5."); //new tpt = 0; foreach(Player, i) { if(IsPlayerConnected(i)) { if(GetPlayerOrg(playerid) == GetPlayerOrg(i)) { if(SpikeInfo[i][sCreated]) { RemoveRoadPregos(i); //tpt = 1; } } } } //if(tpt == 0)return SendClientMessage(playerid, COLOR_GRAD1, "Nenhum tapete de prego plantado."); new string[128]; format(string, sizeof(string), "[%s] %s removeu todos os pregos de sua organizacao.", NomeORG(playerid),PlayerName(playerid)); foreach(Player, p) { if(IsACop(p)) { SendClientMessage(p, TEAM_BLUE_COLOR, string); } } return true; } //----------------------------------[Skin]----------------------------------------------- CMD:menubinco(playerid) { if(IsPlayerInRangeOfPoint(playerid, 3.0, 207.8508,-100.4859,1005.2578) || IsPlayerInRangeOfPoint(playerid, 3.0, 203.9803,-159.6521,1000.5234) || IsPlayerInRangeOfPoint(playerid, 3.0, 161.6286,-83.7529,1001.8047)) return AbrirMenuBinco(playerid); return 1; } CMD:celular(playerid) { if(CelularAberto[playerid] == true) { for(new doido; doido < sizeof(TxDCelular); doido++) { TextDrawHideForPlayer(playerid, TxDCelular[doido]); } for(new abp; abp < sizeof(CNF); abp++){ TextDrawShowForPlayer(playerid, CNF[abp]); } PlayerTextDrawShow(playerid, CNFTelaPlayer[playerid][0]); //PlayerTextDrawShow(playerid, CNFTelaPlayer[playerid][1]); //PlayerTextDrawShow(playerid, CNFTelaPlayer[playerid][2]); CancelSelectTextDraw(playerid); CelularAberto[playerid] = false; format(strbrazz, 256, "[Celular] %s guarda seu celular no bolso.", PlayerName(playerid)); ProxDetector(30.0, playerid, strbrazz, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE); TogglePlayerControllableEx(playerid, 1); } else { for(new brazzds; brazzds < sizeof(TxDCelular); brazzds++) { TextDrawShowForPlayer(playerid, TxDCelular[brazzds]); } for(new abp2; abp2 < sizeof(CNF); abp2++){ TextDrawHideForPlayer(playerid, CNF[abp2]); } PlayerTextDrawHide(playerid, CNFTelaPlayer[playerid][0]); PlayerTextDrawHide(playerid, CNFTelaPlayer[playerid][1]); PlayerTextDrawHide(playerid, CNFTelaPlayer[playerid][2]); SelectTextDraw(playerid, 0xFFFFFFAA); format(strbrazz, 256, "[Celular] %s retira seu celular do bolso.", PlayerName(playerid)); ProxDetector(30.0, playerid, strbrazz, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE); TogglePlayerControllableEx(playerid, 0); CelularAberto[playerid] = true; } return 1; } public OnPlayerModelSelection(playerid, response, listid, modelid) { new string[128]; if(listid == ComprarSkinList) { if(response) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "Voce comprou nova skin por R$1000"); GiveDinheiro(playerid,-1000); SBizzInfo[3][sbTill] += 1000; ExtortionSBiz(3, 1000); PlayerInfo[playerid][pSkin] = modelid; SetPlayerSkin(playerid, modelid); } else { SendClientMessage(playerid, 0xFFA500F6, "Voce cancelou o menu de skins!"); Controle(playerid, 1); } } else if(listid == CarrosVipList) { if(response) { new str[74]; new Veiculo = GetPVarInt(playerid, "modelovip"); new carid = GetPVarInt(playerid, "carrovip"); CarInfo[Veiculo][cModel] = modelid; GameTextForPlayer(playerid, "~w~Modelo do seu Carro Premium Mudado ~r~-R$300.", 10000, 3); DestroyVehicleEx(carid); SendClientMessage(playerid, COLOR_YELLOW, "Va buscar o seu veiculo onde voce estacionou."); CreateVehicleDebug(CarInfo[Veiculo][cModel],CarInfo[Veiculo][cLocationx],CarInfo[Veiculo][cLocationy],CarInfo[Veiculo][cLocationz]+1.0,CarInfo[Veiculo][cAngle],CarInfo[Veiculo][cColorOne],CarInfo[Veiculo][cColorTwo],60000); Controle(playerid, 1); GiveDinheiro(playerid,-300); SalvarCarro(Veiculo); format(str, sizeof str, "{000000}BPF-%04d", carid); SetVehicleNumberPlate(carid, str); SetVehicleToRespawnEx(carid); } else { SendClientMessage(playerid, 0xFFA500F6, "Voce cancelou o menu de carros VIP!"); Controle(playerid, 1); } } else if(listid == MoveisList || listid == QuartoList || listid == SalaList || listid == BanheiroList || listid == CozinhaList || listid == DecoracaoList){ if(response){ new Float:x, Float:y, Float:z, casaid = PlayerInfo[playerid][pPHousekey] ; if(GetPlayerMoney(playerid) < 900){ return SendClientMessage(playerid, COLOR_GREY, " Voce nao tem R$900 para comprar um movel !"); } GiveDinheiro(playerid,-900); SBizzInfo[3][sbTill] += 900;//vida buisness ExtortionSBiz(3, 900); SalvarSEmpresa(3); Atualizar3Dtexts(); format(string, sizeof(string), "• {FFFFFF}Empresa que recebeu os lucros da compra: {00BFFF}%s", SBizzInfo[3][sbMessage]); SendClientMessage(playerid, 0x00BFFFAA, string); GetPlayerPos(playerid, x, y, z); GetXYInFrontOfPlayer(playerid, x, y, 1.5); SetPVarInt(playerid, "editMovel", addMovel(casaid, modelid, x, y, z, 0.0, 0.0, 0.0, GetPlayerVirtualWorld(playerid))); SetPVarInt(playerid, "editandoh", 999); EditDynamicObjectEx(playerid, MobInfo[casaid][GetPVarInt(playerid, "editMovel")][mobObject]); format(string, sizeof string, " Voce acaba de comprar um movel para sua casa [%d/%d]", countMoveis(casaid), MAX_MOVEIS); SendClientMessage(playerid, 0xFFA500F6, string); } else SendClientMessage(playerid, 0xFFA500F6, "Voce cancelou o menu de Moveis!"); } return 1; } CMD:ronda(playerid, params[]) { if(IsACop(playerid)) { new string[128]; if(EmpregoDuty[playerid] >= 1) { GetPlayerName(playerid,sendername,sizeof(sendername)); format(string, sizeof(string), "* Oficial %s saiu da ronda.", sendername); SendClientMessageInRange(20.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SendClientMessage(playerid, COLOR_LIGHTBLUE, "Voce nao esta mais em servico."); EmpregoDuty[playerid] = 0; Copsronda -= 0; } else { SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Agora voce esta de servico e podera receber chamadas de pessoas que precisam."); EmpregoDuty[playerid] = 1; GetPlayerName(playerid,sendername,sizeof(sendername)); format(string, sizeof(string), "Oficial %s esta rondando, (/servico policia).", PlayerName(playerid)); OOCNews(COLOR_LIGHTBLUE,string); Copsronda += 1; } } return true; } //----------------------{HouseS}------------------- CMD:sair(playerid, params[]) { new string[128]; if (PlayerToPoint(30.0, playerid,616.7890,-74.8150,997.8872)) { return 1; } if (PlayerToPoint(30.0, playerid,617.5709,-1.9912,1000.6075)) { return 1; } if (PlayerToPoint(30.0, playerid,615.2846,-124.2390,997.6894)) { return 1; } if (PlayerToPoint(30.0, playerid,617.6002,-1.9676,1000.6074)) { return 1; } if (PlayerToPoint(30.0, playerid,617.6149,-1.9330,1000.6208)) { return 1; } if(PlayerBizzID[playerid] != -1) return 1; if(CarShopping[playerid] == true) { DestroyVehicleEx(ShopCar[playerid]); TogglePlayerControllableEx(playerid, true); CarShopping[playerid] = false; carbrowse[playerid] = 0; INCOMPRA[playerid] = 0; showBalao(playerid, "Voce Cancelou", 5000); PlayerTextDrawHide(playerid, AjudaConce1[playerid]); PlayerTextDrawHide(playerid, AjudaConce2[playerid]); TextDrawHideForPlayer(playerid,ConceTxD[0]); TextDrawHideForPlayer(playerid,ConceTxD[1]); TextDrawHideForPlayer(playerid,ConceTxD[2]); TextDrawHideForPlayer(playerid,ConceTxD[3]); TextDrawHideForPlayer(playerid,ConceTxD[4]); TextDrawHideForPlayer(playerid,ConceTxD[5]); TextDrawHideForPlayer(playerid,ConceTxD[6]); TextDrawHideForPlayer(playerid,ConceTxD[7]); TextDrawHideForPlayer(playerid,ConceTxD[8]); TextDrawHideForPlayer(playerid,ConceTxD[9]); TextDrawHideForPlayer(playerid,ConceTxD[10]); TextDrawHideForPlayer(playerid,ConceTxD[11]); TextDrawHideForPlayer(playerid,ConceTxD[12]); PlayerTextDrawHide(playerid, ConceTxDPlayer[0]); PlayerTextDrawHide(playerid, ConceTxDPlayer[1]); PlayerTextDrawHide(playerid, ConceTxDPlayer[2]); SetPlayerPos(playerid, OrgX[playerid], OrgY[playerid], OrgZ[playerid]); SetPlayerFacingAngle(playerid, OrgA[playerid]); SetPlayerVirtualWorld(playerid, 0); SetCameraBehindPlayer(playerid); CarroParticular[ShopCar[playerid]] = -1; return 1; } if(HouseFed[playerid] < 500) { if (PlayerToPoint(2.0, playerid,HouseInfo[HouseFed[playerid]][hExitx], HouseInfo[HouseFed[playerid]][hExity], HouseInfo[HouseFed[playerid]][hExitz])) { SetPlayerInterior(playerid,0); SetPlayerPos(playerid,HouseInfo[HouseFed[playerid]][hEntrancex],HouseInfo[HouseFed[playerid]][hEntrancey],HouseInfo[HouseFed[playerid]][hEntrancez]); PlayerInfo[playerid][pInt] = 0; PlayerInfo[playerid][pLocal] = 255; HouseFed[playerid] = 500; SetPlayerVirtualWorld(playerid, 0); SetPlayerHealth(playerid, 100.0); return true; } } if(GetPlayerVehicleID(playerid) > 0) { Controle(playerid, 1); RemovePlayerFromVehicle(playerid); PlayerInfo[playerid][pInt] = 0; return true; } else if(IsPlayerInRangeOfPoint(playerid, 2.5, 1797.5494,-1579.0006,14.0865)) {//penitenciaria entrada ls GameTextForPlayer(playerid, "~w~Penitenciaria LS", 5000, 1); SetPlayerPos(playerid, 2267.6511,1962.2997,39.3827); SetPlayerFacingAngle(playerid, 96.2459); SetPlayerInterior(playerid, 1); SetPlayerVirtualWorld(playerid, 0); EntrouNessaPN[playerid] = 1; return 1; } else if(IsPlayerInRangeOfPoint(playerid, 2.5, 2267.6323,1962.3939,39.3827)) {//penitenciaria saida lv/ls if(PlayerInfo[playerid][pJailed] >= 1) { SendClientMessage(playerid, COLOR_LIGHTRED, "* Voce ainda e um detento !"); return 1; } if(EntrouNessaPN[playerid] == 1 ) { SetPlayerPos(playerid, 1797.5850,-1579.0573,14.0871); GameTextForPlayer(playerid, "~w~Los Santos", 5000, 1); SetPlayerFacingAngle(playerid, 344.2101); SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 0); } else if(EntrouNessaPN[playerid] == 2 ) { GameTextForPlayer(playerid, "~w~Las Venturas", 5000, 1);// SetPlayerPos(playerid, 2182.1851,2294.8655,10.8203); SetPlayerFacingAngle(playerid, 96.2459); SetCameraBehindPlayer(playerid); SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 0); } } //compila else if (PlayerToPoint(3, playerid,691.5710,-1276.1722,13.5607)) {//Entrada SetPlayerPos(playerid, -2636.6841,1402.5623,906.4609); GameTextForPlayer(playerid, "~r~~h~Familia LincoTz",5000,1); SetPlayerInterior(playerid,3); SetPlayerFacingAngle(playerid, 0); PlayerInfo[playerid][pInt] = 3; SetPlayerVirtualWorld(playerid, 0); } else if (PlayerToPoint(3, playerid,-2636.6841,1402.5623,906.4609)) {//Saida SetPlayerPos(playerid, 691.5710,-1276.1722,13.5607); SetPlayerInterior(playerid,0); SetPlayerFacingAngle(playerid, 0); PlayerInfo[playerid][pInt] = 0; SetPlayerVirtualWorld(playerid, 0); } /* BANCO LS ENTRADA*/ else if(PlayerToPoint(3, playerid, 595.9891,-1251.4111,18.3265)) {//Banco Los Santos Entrada SetPlayerPos(playerid,297.8256, 1760.8254, 524.5001); // tp entrada SetPlayerInterior(playerid,3); SetPlayerFacingAngle(playerid, 0); PlayerInfo[playerid][pInt] = 3; SetPlayerVirtualWorld(playerid, 0); } /* BANCO LS SAIDA*/ else if(PlayerToPoint(2, playerid, 295.8130, 1755.6810, 524.4801) || PlayerToPoint(2, playerid, 299.9712, 1755.8082, 524.4801)) {//Banco Los Santos Saida SetPlayerPos(playerid,592.0622, -1244.8307, 17.6729); // tp saida SetPlayerInterior(playerid,0); SetPlayerFacingAngle(playerid, 0); SetPlayerVirtualWorld(playerid, 0); PlayerInfo[playerid][pInt] = 0; } else if (PlayerToPoint(3, playerid,1548.8167,-1366.2247,326.2109)) { SetPlayerPos(playerid, 1572.1115,-1332.5288,16.4844); PlayerInfo[playerid][pInt] = 0; } else if (PlayerToPoint(2, playerid,2476.0576,-1750.4755,13.5469)) { if(PlayerInfo[playerid][pHelper] < 1) { SendClientMessage(playerid, 0xFF69B4FF, "[ERRO] Voce nao e um Helper e nao pode entrar na HQ deles!"); return true; } SetPlayerPos(playerid,421.1092,2536.4766,10.0000); GameTextForPlayer(playerid, "~w~HQ HELPER", 5000, 1); PlayerInfo[playerid][pInt] = 10; SetPlayerInterior(playerid,10); SetPlayerVirtualWorld(playerid, 1); } else if (PlayerToPoint(2, playerid,421.1092,2536.4766,10.0000)) { SetPlayerPos(playerid,2476.0576,-1750.4755,13.5469); GameTextForPlayer(playerid, "~w~LOS SANTOS", 5000, 1); PlayerInfo[playerid][pInt] = 0; SetPlayerInterior(playerid,0); SetPlayerVirtualWorld(playerid, 0); } else if(PlayerToPoint(1.0, playerid,-2027.0715,-103.6059,1035.1818)) { SetPlayerPos(playerid,952.5583,-909.3518,45.7656); PlayerInfo[playerid][pInt] = 0; PlayerInfo[playerid][pLocal] = 255; SetPlayerInterior(playerid, 0); } else if(PlayerToPoint(3.0, playerid,246.5878,62.7877,1003.6406)) { SetPlayerVirtualWorld(playerid, 0); SetPlayerInterior(playerid, 0); SetPlayerPos(playerid,1554.9537,-1675.6584,16.1953); PlayerInfo[playerid][pInt] = 0; PlayerInfo[playerid][pLocal] = 255; storeexit[playerid] = 0; } else if(PlayerToPoint(3.0, playerid,346.7058,159.8978,1025.7891)) { SetPlayerVirtualWorld(playerid, 0); SetPlayerInterior(playerid, 0); SetPlayerPos(playerid,1117.7146,-2043.5776,74.4297); PlayerInfo[playerid][pInt] = 0; PlayerInfo[playerid][pLocal] = 255; storeexit[playerid] = 0; } //==================| ENTRADA REPORTER |===============================================================================| else if (PlayerToPoint(3, playerid,648.2408,-1360.7653,13.5893)) {//HQ Reporter entrada SetPlayerPos(playerid, 224.8204,1134.7520,459.2804); GameTextForPlayer(playerid, "~w~HQ San News",5000,1); SetPlayerInterior(playerid,18); SetPlayerFacingAngle(playerid, 0); PlayerInfo[playerid][pInt] = 18; SetPlayerVirtualWorld(playerid, 1); } else if (PlayerToPoint(3, playerid,224.8204,1134.7520,459.2804)) {//HQ Reporter saida SetPlayerPos(playerid, 648.2408,-1360.7653,13.5893); SetPlayerInterior(playerid,0); SetPlayerFacingAngle(playerid, 0); PlayerInfo[playerid][pInt] = 0; SetPlayerVirtualWorld(playerid, 0); } //==================| ENTRADA REPORTER |===============================================================================| else if(PlayerToPoint(4.0, playerid,390.4640,173.8098,1008.3828)) { if (storeexit[playerid] == 1717) {//prefLS saida (Commerce) new Float:pAngle; SetCameraBehindPlayer(playerid); GetPlayerFacingAngle(playerid, pAngle); SetPlayerFacingAngle(playerid, pAngle - 270.0); SetPlayerVirtualWorld(playerid, 0); SetPlayerInterior(playerid, 0); SetPlayerPos(playerid,1481.0503,-1771.9502,18.7958); PlayerInfo[playerid][pInt] = 0; PlayerInfo[playerid][pLocal] = 255; storeexit[playerid] = 0; } else if(storeexit[playerid] == 1718) {//prefSF saida (Country Club) SetPlayerVirtualWorld(playerid, 0); SetPlayerInterior(playerid, 0); SetPlayerPos(playerid,-2720.1074,-318.5733,7.8438); PlayerInfo[playerid][pInt] = 0; PlayerInfo[playerid][pLocal] = 255; storeexit[playerid] = 0; } else if(storeexit[playerid] == 1719) {//prefSF saida (Downtown) SetPlayerVirtualWorld(playerid, 0); SetPlayerInterior(playerid, 0); SetPlayerPos(playerid,-1882.6202,824.2709,35.1751); PlayerInfo[playerid][pInt] = 0; PlayerInfo[playerid][pLocal] = 255; storeexit[playerid] = 0; } else if(storeexit[playerid] == 1721) {//prefSF saida (Downtown) SetPlayerVirtualWorld(playerid, 0); SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 937.7009,1733.1941,8.8516); PlayerInfo[playerid][pInt] = 0; PlayerInfo[playerid][pLocal] = 255; storeexit[playerid] = 0; } else if(storeexit[playerid] == 1722) {//prefSF saida (Downtown) posso compilar então? if(EntrouNessaPN[playerid] == 4 ) { SetPlayerVirtualWorld(playerid, 0); SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 2182.3086,2294.9309,10.8203); PlayerInfo[playerid][pInt] = 0; PlayerInfo[playerid][pLocal] = 255; storeexit[playerid] = 0; } } } else if(PlayerToPoint(3.0, playerid,207.7336,-108.6231,1005.1328)) {//Saida Binco SetPlayerVirtualWorld(playerid, 0); SetPlayerInterior(playerid, 0); SetPlayerPos(playerid,2244.5669,-1664.4495,15.4766); PlayerInfo[playerid][pInt] = 0; PlayerInfo[playerid][pLocal] = 255; } else if (PlayerToPoint(3.0, playerid,161.3350,-95.0194,1001.8047)) {//Saida ZIP SetPlayerPos(playerid, 1456.9010,-1137.6941,23.9617); SetPlayerVirtualWorld(playerid, 0); SetPlayerInterior(playerid,0); SetPlayerFacingAngle(playerid, 0); PlayerInfo[playerid][pInt] = 0; PlayerInfo[playerid][pLocal] = 255; } else if (PlayerToPoint(3.0, playerid,226.293991,-7.431529,1002.210937)) {//Saida VICTIM SetPlayerPos(playerid, -1694.5050,950.8621,24.8906); SetPlayerVirtualWorld(playerid, 0); SetPlayerInterior(playerid,0); SetPlayerFacingAngle(playerid, 0); PlayerInfo[playerid][pInt] = 0; PlayerInfo[playerid][pLocal] = 255; } else if(PlayerToPoint(1.0, playerid,501.8770,-67.7092,998.7578)) { if(barexit[playerid] == 1) {//BAR PERTO DA GROOVE UpdateBarText(barexit[playerid]); SetPlayerVirtualWorld(playerid, 0); SetPlayerInterior(playerid, 0); SetPlayerFacingAngle(playerid, 130.5600); SetPlayerPos(playerid,2309.7676,-1643.7872,14.8270); PlayerInfo[playerid][pInt] = 0; PlayerInfo[playerid][pLocal] = 255; barexit[playerid] = 0; } if(barexit[playerid] == 2) {//BAR PERTO DA GROOVE UpdateBarText(barexit[playerid]); SetPlayerVirtualWorld(playerid, 0); SetPlayerInterior(playerid, 0); SetPlayerFacingAngle(playerid, 130.5600); SetPlayerPos(playerid,1323.9729,-1841.6465,13.5469); PlayerInfo[playerid][pInt] = 0; PlayerInfo[playerid][pLocal] = 255; barexit[playerid] = 0; } if(barexit[playerid] == 3) {//BAR PERTO DA GROOVE UpdateBarText(barexit[playerid]); SetPlayerVirtualWorld(playerid, 0); SetPlayerInterior(playerid, 0); SetPlayerFacingAngle(playerid, 130.5600); SetPlayerPos(playerid,776.4116,-1036.1841,24.2753); PlayerInfo[playerid][pInt] = 0; PlayerInfo[playerid][pLocal] = 255; barexit[playerid] = 0; } if(barexit[playerid] == 4) {//BAR PERTO DA GROOVE UpdateBarText(barexit[playerid]); SetPlayerVirtualWorld(playerid, 0); SetPlayerInterior(playerid, 0); SetPlayerFacingAngle(playerid, 130.5600); SetPlayerPos(playerid,2354.3938,-1511.7820,24.0000); PlayerInfo[playerid][pInt] = 0; PlayerInfo[playerid][pLocal] = 255; barexit[playerid] = 0; } if(barexit[playerid] == 5) {//BAR PERTO DA GROOVE UpdateBarText(barexit[playerid]); SetPlayerVirtualWorld(playerid, 0); SetPlayerInterior(playerid, 0); SetPlayerFacingAngle(playerid, 130.5600); SetPlayerPos(playerid,2850.9463,-1532.4783,11.0991); PlayerInfo[playerid][pInt] = 0; PlayerInfo[playerid][pLocal] = 255; barexit[playerid] = 0; } } else if(PlayerToPoint(3.0, playerid,493.3891,-22.7212,1000.6797)) {//Saida Alhambra if(storeexit[playerid] == 129) { SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 0); SetPlayerPos(playerid,2127.6147,2379.2517,10.8203); PlayerInfo[playerid][pInt] = 0; PlayerInfo[playerid][pLocal] = 255; StopAudioStreamForPlayer(playerid); storeexit[playerid] = 0; } else { SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 0); SetPlayerPos(playerid,1836.4064,-1682.4403,13.3493); PlayerInfo[playerid][pInt] = 0; PlayerInfo[playerid][pLocal] = 255; StopAudioStreamForPlayer(playerid); storeexit[playerid] = 0; } } else if(PlayerToPoint(1.0, playerid,-1352.1919,497.4284,11.1953)) {//Exercito Saida SetPlayerPos(playerid,-1412.3218,479.3567,7.1875); } else if(PlayerToPoint(2.0, playerid,1204.8965,-13.5596,1000.9219)) {//saida pigpen SetPlayerVirtualWorld(playerid, 0); SetPlayerInterior(playerid, 0); SetPlayerPos(playerid,2421.4998,-1219.2438,25.5617); PlayerInfo[playerid][pInt] = 0; PlayerInfo[playerid][pLocal] = 255; } else if(PlayerToPoint(2.0, playerid,771.9399,-2.2574,1000.7292)) {//Saida Ginasio de Lutas SetPlayerVirtualWorld(playerid, 0); SetPlayerInterior(playerid, 0); SetPlayerPos(playerid,2229.9011,-1721.2582,13.5613); PlayerInfo[playerid][pInt] = 0; PlayerInfo[playerid][pLocal] = 255; } else if (PlayerToPoint(5.0, playerid,366.0324,-72.6400,1001.5078)) { //entrada Burger Play 1 SetPlayerPos(playerid, 1200.4497,-918.7695,43.1105); SetPlayerVirtualWorld(playerid, 0); SetPlayerInterior(playerid,0); SetPlayerFacingAngle(playerid, 0); PlayerInfo[playerid][pInt] = 0; InAFoodPlace[playerid] = 0; PlayerInfo[playerid][pLocal] = 255; } else if (PlayerToPoint(5.0, playerid,377.0516,-192.6519,1000.6401)) // 810.8074,-1616.0767,13.5469 { //Saida Burger RP SetPlayerPos(playerid, 811.4690,-1616.1478,13.5469); SetCameraBehindPlayer(playerid); SetPlayerVirtualWorld(playerid, 0); SetPlayerInterior(playerid,0); SetPlayerFacingAngle(playerid, 270.0); PlayerInfo[playerid][pInt] = 0; PlayerInfo[playerid][pLocal] = 255; InAFoodPlace[playerid] = 0; PlayerInfo[playerid][pLocal] = 255; } else if(PlayerToPoint(5.0, playerid,365.7793,-9.1699,1001.8516)) { if (InAFoodPlace[playerid] == 1) {//clukin SetPlayerPos(playerid, 927.6217,-1353.0105,13.3438); SetPlayerVirtualWorld(playerid, 0); SetPlayerInterior(playerid, 0); SetPlayerFacingAngle(playerid, 0); PlayerInfo[playerid][pInt] = 0; InAFoodPlace[playerid] = 0; PlayerInfo[playerid][pLocal] = 255; } else if(InAFoodPlace[playerid] == 7) {//perto da groove SetPlayerPos(playerid, 2419.8442,-1509.4996,24.0000); SetPlayerVirtualWorld(playerid, 0); SetPlayerInterior(playerid, 0); SetPlayerFacingAngle(playerid, 0); PlayerInfo[playerid][pInt] = 0; InAFoodPlace[playerid] = 0; PlayerInfo[playerid][pLocal] = 255; } } else if (PlayerToPoint(5.0, playerid,372.4117,-130.4577,1001.4922)) { //Saida Well Stacked Pizza SetPlayerPos(playerid, 2105.4858,-1806.4725,13.5547); SetPlayerVirtualWorld(playerid, 0); SetPlayerInterior(playerid,0); SetPlayerFacingAngle(playerid, 0); PlayerInfo[playerid][pInt] = 0; InAFoodPlace[playerid] = 0; PlayerInfo[playerid][pLocal] = 255; } /*else if (PlayerToPoint(5.0, playerid,377.5237,-191.6597,1000.6328)) { //SaidaLanchonete SetPlayerPos(playerid, 975.4691,-1335.9618,13.5319); SetPlayerVirtualWorld(playerid, 0); SetPlayerInterior(playerid, 0); SetPlayerFacingAngle(playerid, 0); PlayerInfo[playerid][pInt] = 0; InAFoodPlace[playerid] = 0; PlayerInfo[playerid][pLocal] = 255; } */ //=-=-=-=-=-=-=-=-=| HOTEL SAiDA |=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=<| else if (PlayerToPoint(2.0, playerid,2228.4087,-1150.5686,1025.7969)) { //Hotel Saida SetPlayerPos(playerid, 2231.7896,-1159.8646,25.8906); SetPlayerInterior(playerid,0); SetPlayerFacingAngle(playerid, 0); PlayerInfo[playerid][pInt] = 0; PlayerInfo[playerid][pLocal] = 255; SetPlayerVirtualWorld(playerid, 0); } else if (PlayerToPoint(3.0, playerid,2190.1182,-1179.7944,1033.7896)) { //Hotel Saida 2 SetPlayerPos(playerid, 2231.7896,-1159.8646,25.8906); SetPlayerInterior(playerid,0); SetPlayerFacingAngle(playerid, 0); PlayerInfo[playerid][pInt] = 0; PlayerInfo[playerid][pLocal] = 255; SetPlayerVirtualWorld(playerid, 0); } else if (PlayerToPoint(3.0, playerid,2238.9316,-1192.4878,1033.7969)) { //Hotel Saida 3 SetPlayerPos(playerid, 2231.7896,-1159.8646,25.8906); SetPlayerInterior(playerid,0); SetPlayerFacingAngle(playerid, 0); PlayerInfo[playerid][pInt] = 0; PlayerInfo[playerid][pLocal] = 255; SetPlayerVirtualWorld(playerid, 0); } else if (PlayerToPoint(3.0, playerid,2193.3254,-1138.6238,1029.7969)) { //Hotel Saida 4 SetPlayerPos(playerid, 2231.7896,-1159.8646,25.8906); SetPlayerInterior(playerid,0); SetPlayerFacingAngle(playerid, 0); PlayerInfo[playerid][pInt] = 0; PlayerInfo[playerid][pLocal] = 255; SetPlayerVirtualWorld(playerid, 0); } //=-=-=-=-=-=-=-=-=| SAiDA HQ'S DAS ORGANIZAcÕES |=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=<| else if (PlayerToPoint(2.0, playerid,-2171.3071,645.2919,1057.5938)) {//SAIDA HQ PCC if(storeexit[playerid] == 21) { SetPlayerPos(playerid, 98.8023,1171.8392,18.6641); SetPlayerInterior(playerid,0); SetPlayerFacingAngle(playerid, 0); PlayerInfo[playerid][pInt] = 0; PlayerInfo[playerid][pLocal] = 255; SetPlayerVirtualWorld(playerid, 0); storeexit[playerid] = 0; } } else if (PlayerToPoint(1.0, playerid,1436.6419,-979.6736,57.5156)) {//Cofre Banco Saida SetPlayerInterior(playerid, 1); PlayerInfo[playerid][pInt] = 1; SetPlayerVirtualWorld(playerid, 10); SetPlayerPos(playerid,342.8699,116.3759,1007.9657); } else if (PlayerToPoint(3.0, playerid,246.4452,108.4379,1003.2188)) { if(storeexit[playerid] == 2) { SetPlayerPos(playerid, 328.0219,-1512.4863,36.0325); SetPlayerInterior(playerid,0); SetPlayerFacingAngle(playerid, 0); PlayerInfo[playerid][pInt] = 0; PlayerInfo[playerid][pLocal] = 255; SetPlayerVirtualWorld(playerid, 0); storeexit[playerid] = 0; } } else if (PlayerToPoint(2.0, playerid,238.7043,139.0727,1003.0234)) { if(storeexit[playerid] == 11) { SetPlayerPos(playerid, -515.9556,-539.5468,25.5234); SetPlayerInterior(playerid,0); SetPlayerFacingAngle(playerid, 0); PlayerInfo[playerid][pInt] = 0; PlayerInfo[playerid][pLocal] = 255; SetPlayerVirtualWorld(playerid, 0); storeexit[playerid] = 0; } // DP LV if(storeexit[playerid] == 128) { SetPlayerPos(playerid, 2337.1829, 2459.3115, 14.9742); SetPlayerInterior(playerid,0); SetPlayerFacingAngle(playerid, 0); PlayerInfo[playerid][pInt] = 0; PlayerInfo[playerid][pLocal] = 255; SetPlayerVirtualWorld(playerid, 0); storeexit[playerid] = 0; } } else if (PlayerToPoint(2.0, playerid,1726.8353,-1638.3109,20.2232)) { if(storeexit[playerid] == 16) { SetPlayerPos(playerid, 2336.9888,2458.6926,14.9688); SetPlayerInterior(playerid,0); SetPlayerFacingAngle(playerid, 0); PlayerInfo[playerid][pInt] = 0; PlayerInfo[playerid][pLocal] = 255; SetPlayerVirtualWorld(playerid, 0); storeexit[playerid] = 0; } } else if(PlayerToPoint(4.0, playerid,232.9005,141.3430,1003.0234)) // 232.9005,141.3430,1003.0234 { if(DPExit[playerid] == 1) { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid,919.311462,-1252.192504,16.210937); PlayerInfo[playerid][pInt] = 0; SetPlayerVirtualWorld(playerid, 0); PlayerInfo[playerid][pLocal] = 255; DPExit[playerid] = 0; } } else if(PlayerToPoint(2.0, playerid,2270.1592,-1210.4899,1047.5625)) {//SAIDA HQ BALLAS if(storeexit[playerid] == 17) { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid,1154.4968,-1180.8517,32.8187); SetPlayerFacingAngle(playerid, 82.4074); PlayerInfo[playerid][pInt] = 0; SetPlayerVirtualWorld(playerid, 0); PlayerInfo[playerid][pLocal] = 255; storeexit[playerid] = 0; } } else if(PlayerToPoint(2.0, playerid,1673.656616,-2122.438476,14.146014)) {//entrada HQ TROPA DA FRANCA GameTextForPlayer(playerid, "~w~HQ Tropa da Franca", 5000, 1); SetPlayerInterior(playerid, 5); SetPlayerPos(playerid,22.8858,1405.1282,1084.4297); PlayerInfo[playerid][pInt] = 5; SetPlayerVirtualWorld(playerid, 0); PlayerInfo[playerid][pLocal] = 255; storeexit[playerid] = 5; } else if (PlayerToPoint(1.0, playerid,343.4222,116.4533,1007.9656)) {//Cofre banco Entrada PlayerInfo[playerid][pLocal] = 999; GameTextForPlayer(playerid, "~w~Cofre Banco", 5000, 1); SetPlayerInterior(playerid, 0); PlayerInfo[playerid][pInt] = 0; SetPlayerVirtualWorld(playerid, 1); SetPlayerPos(playerid,1439.3590,-979.6736,57.5156); Controle(playerid, 0); GameTextForPlayer(playerid, "~b~Carregando", 1000, 5); SetTimerEx("Carregar", 1000, 0, "i", playerid); } //entrada casa para receber else if(IsPlayerInRangeOfPoint(playerid,1.0,2370.1055,-1034.5626,54.4106)) { if(GetPlayerVirtualWorld(playerid) == 15) { PlayerInfo[playerid][pLocal] = 255; SetPlayerPos(playerid,245.7718,304.7670,999.1484); SetPlayerInterior(playerid,1); PlayerInfo[playerid][pInt] = 1; SetPlayerVirtualWorld(playerid,15); } if(GetPlayerVirtualWorld(playerid) == 0) { if(!IsACop(playerid)) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "Somente Cops podem Invadir o Local de Gambista."); return 1; } PlayerInfo[playerid][pLocal] = 255; SetPlayerPos(playerid,245.7718,304.7670,999.1484); SetPlayerInterior(playerid,1); PlayerInfo[playerid][pInt] = 1; SetPlayerVirtualWorld(playerid,15); } //PlayerInfo[playerid][pVirWorld]=2; } //saida casa para receber else if(IsPlayerInRangeOfPoint(playerid,1.0,243.7224,304.9727,999.1484)) { PlayerInfo[playerid][pLocal] = 255; SetPlayerPos(playerid,2372.7520,-1040.8934,54.2025); SetPlayerInterior(playerid,0); PlayerInfo[playerid][pInt] = 0; SetPlayerVirtualWorld(playerid,0); //PlayerInfo[playerid][pVirWorld]=0; } //-------------- //----------- if(PlayerToPoint(1.5,playerid, 2695.4438,-1704.5880,11.8438)) { new sexo[256]; format(sexo, sizeof(sexo), "Arena de Stunt Com Motos e Bikes\nEntrada: R$1000, Clique em Pagar Para Entrar\nEm Cancelar para nao Entrar", playerid); ShowPlayerDialog(playerid, 5567, DIALOG_STYLE_MSGBOX, "Arena",sexo,"Entrar", "Cancelar"); } //Arena de Stunt com Moto e Bike if(PlayerToPoint(1.5,playerid, -1348.2019,1654.8229,1052.5313)) { GameTextForPlayer(playerid, "~y~Los Santos", 5000, 1); SetPlayerPos(playerid, 2695.4438,-1704.5880,11.8438); SetPlayerInterior(playerid, 0); SetArmasLocais(playerid); } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // else if (PlayerToPoint(1.0, playerid,2233.8225,-1333.2725,23.9816)) {//igreja LS PlayerInfo[playerid][pLocal] = 999; GameTextForPlayer(playerid, "~w~Igreja LS", 5000, 1); SetPlayerInterior(playerid, 1); PlayerInfo[playerid][pInt] = 1; SetPlayerPos(playerid,1964.0472,-349.9243,1092.9454); PlayerInfo[playerid][pLocal] = 3; Controle(playerid, 0); GameTextForPlayer(playerid, "~b~Carregando", 2000, 5); SetTimerEx("Carregar", 2000, 0, "i", playerid); storeexit[playerid] = 72; if(IsACop(playerid)){}else{SavArmasLocais(playerid);} } else if (PlayerToPoint(1.0, playerid,2581.4180,1060.7482,11.7112)) {//igreja LV PlayerInfo[playerid][pLocal] = 999; GameTextForPlayer(playerid, "~w~Igreja LV", 5000, 1); SetPlayerInterior(playerid, 1); PlayerInfo[playerid][pInt] = 1; SetPlayerPos(playerid,1964.0472,-349.9243,1092.9454); PlayerInfo[playerid][pLocal] = 3; Controle(playerid, 0); GameTextForPlayer(playerid, "~b~Carregando", 2000, 5); SetTimerEx("Carregar", 2000, 0, "i", playerid); storeexit[playerid] = 73; if(IsACop(playerid)){}else{SavArmasLocais(playerid);} } else if (PlayerToPoint(3.0, playerid,1964.0472,-349.9243,1092.9454)) { if(storeexit[playerid] == 72) { PlayerInfo[playerid][pLocal] = 999; SetPlayerInterior(playerid, 0); PlayerInfo[playerid][pInt] = 0; SetPlayerVirtualWorld(playerid, 0); SetPlayerPos(playerid,2233.8225,-1333.2725,23.9816); if(IsACop(playerid)){}else{SetArmasLocais(playerid);} } if(storeexit[playerid] == 73) { PlayerInfo[playerid][pLocal] = 999; SetPlayerInterior(playerid, 0); PlayerInfo[playerid][pInt] = 0; SetPlayerVirtualWorld(playerid, 0); SetPlayerPos(playerid,2581.4180,1060.7482,11.7112); if(IsACop(playerid)){}else{SetArmasLocais(playerid);} } } else if (PlayerToPoint(1.0, playerid,2364.1563,2377.5750,10.8203)) {//agencia de empregos PlayerInfo[playerid][pLocal] = 999; GameTextForPlayer(playerid, "~w~Igreja LV", 5000, 1); SetPlayerInterior(playerid, 3); PlayerInfo[playerid][pInt] = 3; SetPlayerPos(playerid,1696.7421,-1380.1935,3261.0713); Controle(playerid, 0); GameTextForPlayer(playerid, "~b~Carregando", 2000, 5); SetTimerEx("Carregar", 2000, 0, "i", playerid); storeexit[playerid] = 73; if(IsACop(playerid)){}else{SavArmasLocais(playerid);} } else if (PlayerToPoint(3.0, playerid,1696.7421,-1380.1935,3261.0713)) { PlayerInfo[playerid][pLocal] = 999; SetPlayerInterior(playerid, 0); PlayerInfo[playerid][pInt] = 0; SetPlayerVirtualWorld(playerid, 0); SetPlayerPos(playerid,2364.1563,2377.5750,10.8203); if(IsACop(playerid)){}else{SetArmasLocais(playerid);} } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // else if (PlayerToPoint(8.0, playerid,1613.0029,-1559.9917,14.1684)) {//Saida Mercado Negro mercadoexit[playerid] = 6; } else if (PlayerToPoint(5.0, playerid,932.6458,2150.4231,1011.0234)) {//Saida Mercado Negro mercadoexit[playerid] = 0; } else if(PlayerToPoint(1.0, playerid,22.8858,1405.1282,1084.4297))//CORDENADA DE ENTRADA DA HQ {//SAIDA HQ TROPA DA FRANCA if(storeexit[playerid] == 5) { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid,1673.7964,-2121.9353,14.1460);//SAIDA TROPA DA FRANCA SO COLOCAR A CORDENADA DE SAIDA PlayerInfo[playerid][pInt] = 0; SetPlayerVirtualWorld(playerid, 0); PlayerInfo[playerid][pLocal] = 255; storeexit[playerid] = 0; } } else if (PlayerToPoint(1.0, playerid,2496.0398,-1692.0844,1014.7422)) { if(storeexit[playerid] == 14) { //HQ Black Elements Saida SetPlayerPos(playerid,2495.2939,-1690.3051,14.7656); SetPlayerInterior(playerid,0); SetPlayerFacingAngle(playerid, 4.0967); PlayerInfo[playerid][pInt] = 0; SetPlayerVirtualWorld(playerid, 0); PlayerInfo[playerid][pLocal] = 255; storeexit[playerid] = 0; } } else if(PlayerToPoint(1.0, playerid,343.7183,304.9376,999.1484)) {//SAIDA HQ HITMANS SetPlayerInterior(playerid, 0); SetPlayerPos(playerid,2351.1487,-1245.4988,22.5000); PlayerInfo[playerid][pInt] = 0; SetPlayerVirtualWorld(playerid, 0); PlayerInfo[playerid][pLocal] = 255; } else if(PlayerToPoint(1.0, playerid,914.9432,-1037.3533,31.8984)) {//SAIDA HQ CV SetPlayerInterior(playerid, 0); SetPlayerPos(playerid,1166.5868,1346.8756,10.9219); PlayerInfo[playerid][pInt] = 0; SetPlayerVirtualWorld(playerid, 0); PlayerInfo[playerid][pLocal] = 255; } else if(PlayerToPoint(1.0, playerid,1168.4000,1361.9557,10.929)) {//SAIDA HQ CV SetPlayerInterior(playerid, 0); SetPlayerPos(playerid,914.7142,-1004.6053,37.9799); PlayerInfo[playerid][pInt] = 0; SetPlayerVirtualWorld(playerid, 0); PlayerInfo[playerid][pLocal] = 255; } for(new i = 0; i < sizeof(HouseInfo); i++) { if(IsPlayerInRangeOfPoint(playerid, 3.5, HouseInfo[i][hEntrancex], HouseInfo[i][hEntrancey], HouseInfo[i][hEntrancez])) { if(PlayerInfo[playerid][pPHousekey] == i || HouseInfo[i][hLock] == 0 || PlayerInfo[playerid][pAdmin] >= 1338) { SetPlayerInterior(playerid,HouseInfo[i][hInt]); SetPlayerPos(playerid,HouseInfo[i][hExitx],HouseInfo[i][hExity],HouseInfo[i][hExitz]); GameTextForPlayer(playerid, "~w~Bem vindo em casa", 5000, 1); PlayerInfo[playerid][pInt] = HouseInfo[i][hInt]; PlayerInfo[playerid][pLocal] = i; HouseFed[playerid] = i; SetPlayerVirtualWorld(playerid,HouseInfo[i][hWorld]); return true; } else { GameTextForPlayer(playerid, "~r~Fechado", 5000, 1); return true; } } } for(new i = 0; i < sizeof(SBizzInfo); i++) { if (PlayerToPoint(3, playerid,SBizzInfo[i][sbEntranceX], SBizzInfo[i][sbEntranceY], SBizzInfo[i][sbEntranceZ])) { if(PlayerInfo[playerid][pPbiskey] == i || GetPlayerMoney(playerid) >= SBizzInfo[i][sbEntranceCost]) { if(PlayerInfo[playerid][pPbiskey] != i) { if(SBizzInfo[i][sbProducts] < 1) { GameTextForPlayer(playerid, "~r~Empresa sem produtos", 5000, 1); return true; } if(SBizzInfo[i][sbLocked] == 1) { GameTextForPlayer(playerid, "~r~Empresa fechada", 5000, 1); return 1; } switch(i) { case 10, 11, 25: { if(i == 25 && !corridainiciada)return 1; SBizzInfo[i][sbProducts] -= 3; GiveDinheiro(playerid,-SBizzInfo[i][sbEntranceCost]); SBizzInfo[i][sbTill] += SBizzInfo[i][sbEntranceCost]; ExtortionSBiz(i, SBizzInfo[i][sbEntranceCost]); new dood[MAX_PLAYER_NAME]; GetPlayerName(playerid, dood, sizeof(dood)); format(string, sizeof(string), "%s pagou $%d para entrar na empresa %d", dood, SBizzInfo[i][sbEntranceCost], i); printf("%s", string); CNFLogs("pay", string); SalvarSEmpresa(i); Atualizar3Dtexts(); } } } if(i == 10) { PaintballPlayers ++; PlayerPaintballing[playerid] = 1; PlayerPaintballKills[playerid] = 0; Controle(playerid, 0); antihands[playerid] = 1; new rand = random(sizeof(PaintballSpawns)); SetPlayerPos(playerid, PaintballSpawns[rand][0], PaintballSpawns[rand][1], PaintballSpawns[rand][2]); SetPlayerVirtualWorld(playerid, 0); SendClientMessage(playerid, COLOR_LIGHTBLUE, "Voce entrou no paint ball, espere comecar!"); } return true; } else { GameTextForPlayer(playerid, "~r~Voce nao possui dinheiro suficiente", 5000, 1); return true; } } } for(new i = 0; i < sizeof(FBizzInfo); i++) { if (PlayerToPoint(3, playerid,FBizzInfo[i][fbEntranceX], FBizzInfo[i][fbEntranceY], FBizzInfo[i][fbEntranceZ])) { if(PlayerInfo[playerid][pPFazkey] == i || GetPlayerMoney(playerid) >= FBizzInfo[i][fbEntranceCost]) { if(PlayerInfo[playerid][pPFazkey] != i) { if(FBizzInfo[i][fbProducts] < 1) { GameTextForPlayer(playerid, "~r~Fazenda sem produtos", 5000, 1); return true; } if(FBizzInfo[i][fbLocked] == 1) { GameTextForPlayer(playerid, "~r~Fazenda fechada", 5000, 1); return 1; } } return true; } else { GameTextForPlayer(playerid, "~r~Voce nao possui dinheiro suficiente", 5000, 1); return true; } } } new i = PlayerBizzID[playerid]; if(i != -1 && GetPlayerVirtualWorld(playerid) >= EMPRESA_WORLD + i) { if (PlayerToPoint(2, playerid, 2204.8562,1551.2562,1008.5510)) { SetPlayerInterior(playerid,0); SetPlayerVirtualWorld(playerid, 0); PlayerInfo[playerid][pInt] = 0; SetPlayerPos(playerid,BizzInfo[i][bEntranceX],BizzInfo[i][bEntranceY],BizzInfo[i][bEntranceZ]); PlayerInfo[playerid][pLocal] = 255; PlayerBizzID[playerid] = -1; return true; } } else if (PlayerToPoint(2, playerid,1481.0503,-1771.9502,18.7958)) {//Prefeitura LS(Commerce) new Float:pAngle; SetCameraBehindPlayer(playerid); GetPlayerFacingAngle(playerid, pAngle); SetPlayerFacingAngle(playerid, pAngle - 90.0); SetPlayerInterior(playerid,3); SetPlayerVirtualWorld(playerid, 0); SetPlayerPos(playerid,390.4640,173.8098,1008.3828); GameTextForPlayer(playerid, "~w~Bem vindo a ~n~~b~Prefeitura !", 5000, 1); PlayerInfo[playerid][pInt] = 3; storeexit[playerid] = 1717; } else if (PlayerToPoint(2, playerid,937.7009,1733.1941,8.8516)) {//Prefeitura LV new Float:pAngle; SetCameraBehindPlayer(playerid); GetPlayerFacingAngle(playerid, pAngle); SetPlayerFacingAngle(playerid, pAngle - 90.0); SetPlayerInterior(playerid,3); SetPlayerVirtualWorld(playerid, 0); SetPlayerPos(playerid,390.4640,173.8098,1008.3828); GameTextForPlayer(playerid, "~w~Bem vindo a ~n~~b~Prefeitura !", 5000, 1); PlayerInfo[playerid][pInt] = 3; storeexit[playerid] = 1721; } else if (PlayerToPoint(2, playerid, 2182.1851,2294.8655,10.8203)) //entrada {//Penitenciaria LV new Float:pAngle; SetCameraBehindPlayer(playerid); GetPlayerFacingAngle(playerid, pAngle); SetPlayerFacingAngle(playerid, pAngle - 90.0); SetPlayerInterior(playerid,3); SetPlayerVirtualWorld(playerid, 0); SetPlayerPos(playerid,2267.6511,1962.2997,39.3827); //saida //Teste Peni LV GameTextForPlayer(playerid, "~w~Bem vindo a ~n~~b~Penitenciaria LV!", 5000, 1); PlayerInfo[playerid][pInt] = 3; EntrouNessaPN[playerid] = 2; storeexit[playerid] = 1722; } else if (PlayerToPoint(2, playerid,1117.7146,-2043.5776,74.4297)) {//Prefeitura LS(Commerce) SetPlayerInterior(playerid,3); SetPlayerVirtualWorld(playerid, 0); SetPlayerPos(playerid,346.7058,159.8978,1025.7891); GameTextForPlayer(playerid, "~w~Sala do Governador", 5000, 1); PlayerInfo[playerid][pInt] = 3; storeexit[playerid] = 1717; } else if(IsPlayerInRangeOfPoint(playerid, 2.5, 1173.0885,-1323.2909,15.3966)) {//hospital entrada SetPlayerPos(playerid, 1175.553100,-1325.960693,-44.283576); SetPlayerFacingAngle(playerid, 96.2459); SetPlayerInterior(playerid, 10); TogglePlayerControllableEx(playerid, 0); SetPlayerVirtualWorld(playerid, 0); SetTimerEx("Descongelar", 1000, false, "i", playerid); return 1; } else if(IsPlayerInRangeOfPoint(playerid, 2.5, 1175.553100,-1325.960693,-44.283576)) {//hospital saida SetPlayerPos(playerid, 1173.0885,-1323.2909,15.3966); SetPlayerFacingAngle(playerid, 270.0); SetCameraBehindPlayer(playerid); SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 0); } else if(IsPlayerInRangeOfPoint(playerid, 2.5, 690.7985,-1275.9355,13.5602)) {//Yakuza SetPlayerPos(playerid, 2468.0916,-1698.3778,1013.5078); SetPlayerInterior(playerid, 2); SetPlayerVirtualWorld(playerid, 0); } else if(IsPlayerInRangeOfPoint(playerid, 2.5, 2468.0916,-1698.3778,1013.5078)) {//Yakuza SetPlayerPos(playerid, 690.7985,-1275.9355,13.5602); SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 0); } else if(IsPlayerInRangeOfPoint(playerid, 2.5, 1497.0140,-688.4544,95.4126)) {//russa SetPlayerPos(playerid, 2261.0310,-1135.9053,1050.6328); SetPlayerInterior(playerid, 10); SetPlayerVirtualWorld(playerid, 0); } else if(IsPlayerInRangeOfPoint(playerid, 2.5, 2261.0310,-1135.9053,1050.6328)) {//russa SetPlayerPos(playerid, 1497.0140,-688.4544,95.4126); SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 0); } else if (PlayerToPoint(2, playerid,-2720.1074,-318.5733,7.8438)) {//Prefeitura SF(Country Club) SetPlayerInterior(playerid,3); SetPlayerVirtualWorld(playerid, 1); SetPlayerPos(playerid,390.4640,173.8098,1008.3828); GameTextForPlayer(playerid, "~w~Bem vindo a ~n~~b~Prefeitura !", 5000, 1); PlayerInfo[playerid][pInt] = 3; storeexit[playerid] = 1718; } else if (PlayerToPoint(2, playerid,-1882.6202,824.2709,35.1751)) {//Prefeitura SF (Downtown) SetPlayerInterior(playerid,3); SetPlayerVirtualWorld(playerid, 3); SetPlayerPos(playerid,390.4640,173.8098,1008.3828); GameTextForPlayer(playerid, "~w~Bem vindo a ~n~~b~Prefeitura !", 5000, 1); PlayerInfo[playerid][pInt] = 3; storeexit[playerid] = 1719; } //------------------------------------ //Sex Shop else if (PlayerToPoint(3, playerid,1087.5569,-922.4803,43.3906)) { if(PlayerInfo[playerid][pAge] < 18) { SendClientMessage(playerid, COLOR_WHITE, "[ERRO] Voce precisa ter mais de 18 anos para entrar em um SexShop digite /minhaidade!"); return true; } SetPlayerPos(playerid,-100.3403,-24.6412,1000.7188); GameTextForPlayer(playerid, "~p~Sex Shop", 5000, 1); PlayerInfo[playerid][pInt] = 3; SetPlayerVirtualWorld(playerid,0); SetPlayerInterior(playerid,3); storeexit[playerid] = 1; } else if (PlayerToPoint(3, playerid,2360.4719,-1532.8904,24.0000)) { if(PlayerInfo[playerid][pAge] < 18) { SendClientMessage(playerid, COLOR_WHITE, "[ERRO] Voce precisa ter mais de 18 anos para entrar em um SexShop!"); return true; } SetPlayerPos(playerid,-100.3403,-24.6412,1000.7188); GameTextForPlayer(playerid, "~p~Sex Shop", 5000, 1); PlayerInfo[playerid][pInt] = 3; SetPlayerVirtualWorld(playerid,1); SetPlayerInterior(playerid,3); storeexit[playerid] = 2; } //sex shop saida else if (PlayerToPoint(2, playerid,-100.3403,-24.6412,1000.7188)) { if(storeexit[playerid] == 1) { SetPlayerPos(playerid,1087.5569,-922.4803,43.3906); GameTextForPlayer(playerid, "~w~Los Santos", 5000, 1); PlayerInfo[playerid][pInt] = 0; SetPlayerInterior(playerid,0); SetPlayerVirtualWorld(playerid,0); storeexit[playerid] = 0; } if(storeexit[playerid] == 2) { SetPlayerPos(playerid,2360.4719,-1532.8904,24.0000); GameTextForPlayer(playerid, "~w~Los Santos", 5000, 1); PlayerInfo[playerid][pInt] = 0; SetPlayerVirtualWorld(playerid,0); SetPlayerInterior(playerid,0); storeexit[playerid] = 0; } } //======= AlQaeda entrada ================ else if (PlayerToPoint(3, playerid,-329.7025,1536.6123,76.6117)) {//AlQaeda entrada SetPlayerPos(playerid,260.8988,1286.0612,1080.2578); GameTextForPlayer(playerid, "~y~HQ AlQaeda", 5000, 1); PlayerInfo[playerid][pInt] = 4; SetPlayerInterior(playerid,4); storeexit[playerid] = 15; } else if (PlayerToPoint(2, playerid,260.8988,1286.0612,1080.2578)) {//AlQaeda saida if(storeexit[playerid] == 15) { SetPlayerPos(playerid,-329.7025,1536.6123,76.6117); GameTextForPlayer(playerid, "~w~Las Venturas", 5000, 1); PlayerInfo[playerid][pInt] = 0; SetPlayerInterior(playerid,0); storeexit[playerid] = 0; } } //======= GI entrada ================ else if (PlayerToPoint(3, playerid,-2281.4895,2288.3999,4.9679)) {//GI entrada SetPlayerPos(playerid,-69.0297,1354.1414,1080.2109); GameTextForPlayer(playerid, "~w~HQ GI", 5000, 1); PlayerInfo[playerid][pInt] = 6; SetPlayerInterior(playerid,6); storeexit[playerid] = 23; } else if (PlayerToPoint(2, playerid,-69.0297,1354.1414,1080.2109)) { //GI saida if(storeexit[playerid] == 23) { SetPlayerPos(playerid,-2281.4895,2288.3999,4.9679); GameTextForPlayer(playerid, "~w~San Fierro", 5000, 1); PlayerInfo[playerid][pInt] = 0; SetPlayerInterior(playerid,0); storeexit[playerid] = 0; } } else if (PlayerToPoint(3, playerid,1129.0781,-1448.9397,15.7969)) {//GI entrada cmd_pegarbike(playerid); } else if (PlayerToPoint(3, playerid,1100.4330,-1751.8127,13.3462)) {//GI entrada cmd_pegarbike(playerid); } else if (PlayerToPoint(3, playerid,1435.9303,-2288.0032,13.5469)) {//GI entrada cmd_pegarbike(playerid); } else if (PlayerToPoint(3, playerid,1710.0743,1481.0189,10.8096)) {//GI entrada cmd_pegarbike(playerid); } //================================================================ else if(PlayerToPoint(2, playerid,919.311462,-1252.192504,16.210937)) { DPExit[playerid] = 1; SetPlayerPos(playerid, 232.9005,141.3430,1003.0234); SetPlayerInterior(playerid,3); SetPlayerFacingAngle(playerid, 0); //localizardppc[playerid] = 1; PlayerInfo[playerid][pInt] = 3; SetPlayerVirtualWorld(playerid, 10); GameTextForPlayer(playerid, "~w~HQ Policia Civil", 5000, 3); } else if(PlayerToPoint(2, playerid,210.5386,267.9687,270.4615)) { SetPlayerInterior(playerid,0); PlayerInfo[playerid][pInt] = 0; SetPlayerPos(playerid,1687.9614,-1255.4989,14.8064); } else if(PlayerToPoint(2, playerid,1166.0673,-1333.1899,31.4813)) { SetPlayerPos(playerid,1172.4783,-1361.4822,13.9531); } else if(PlayerToPoint(1.2, playerid,1172.4783,-1361.4822,13.9531)) { SetPlayerPos(playerid,1166.0673,-1333.1899,31.4813); } else if(PlayerToPoint(2, playerid,906.6538,-1039.7689,31.6016))//hit { SetPlayerPos(playerid,913.4479,-1032.5879,111.0547); } else if(PlayerToPoint(1.2, playerid,913.4479,-1032.5879,111.0547))//hit { SetPlayerPos(playerid,906.6538,-1039.7689,31.6016); } else if(PlayerToPoint(2.0, playerid,313.1739,-1517.9846,24.9219)) { SetPlayerInterior(playerid,10); PlayerInfo[playerid][pInt] = 10; SetPlayerPos(playerid,234.1337,107.4421,1003.2257); } else if(PlayerToPoint(2.0, playerid,2644.6941,2016.3195,10.8166)) // los vagos { SetPlayerPos(playerid,2644.3354,2019.7872,18.1360); } else if(PlayerToPoint(2.0, playerid,2644.3354,2019.7872,18.1360)) // los vagos { SetPlayerPos(playerid,2644.6941,2016.3195,10.8166); } else if(PlayerToPoint(1.2, playerid,234.1337,107.4421,1003.2257)) { SetPlayerPos(playerid,313.1739,-1517.9846,24.9219); SetPlayerInterior(playerid,0); PlayerInfo[playerid][pInt] = 0; } else if(PlayerToPoint(2, playerid,1445.4497,-1849.1428,27.2264)) { SetPlayerInterior(playerid,0); PlayerInfo[playerid][pInt] = 0; SetPlayerPos(playerid,1446.8682,-1847.4105,13.5469); } else if(PlayerToPoint(1.2, playerid,1446.8682,-1847.4105,13.5469)) { SetPlayerInterior(playerid,0); PlayerInfo[playerid][pInt] = 0; SetPlayerPos(playerid,1445.4497,-1849.1428,27.2264); } else if(PlayerToPoint(2, playerid,320.1125,-1507.3555,76.7155)) { SetPlayerInterior(playerid,0); PlayerInfo[playerid][pInt] = 0; SetPlayerPos(playerid,334.4664,-1504.8805,36.0391); } else if(PlayerToPoint(1.2, playerid,334.4664,-1504.8805,36.0391)) { SetPlayerInterior(playerid,0); PlayerInfo[playerid][pInt] = 0; SetPlayerPos(playerid,320.1125,-1507.3555,76.7155); } else if(PlayerToPoint(2, playerid,1269.4327,-1645.0402,13.5469)) { SetPlayerInterior(playerid,0); PlayerInfo[playerid][pInt] = 0; SetPlayerPos(playerid,1237.5454,-1665.9569,34.8047); } else if(PlayerToPoint(1.2, playerid,1237.5454,-1665.9569,34.8047)) { SetPlayerInterior(playerid,0); PlayerInfo[playerid][pInt] = 0; SetPlayerPos(playerid,1269.4327,-1645.0402,13.5469); } else if(PlayerToPoint(2, playerid,2644.3354,2019.7872,18.1360)) { SetPlayerPos(playerid,808.0867,-1176.2185,25.3784); } else if(PlayerToPoint(1.2, playerid,808.0867,-1176.2185,25.3784)) { SetPlayerPos(playerid,2644.3354,2019.7872,18.1360); } else if(PlayerToPoint(2, playerid,895.346984,-1272.573608,14.684859)) { SetPlayerPos(playerid,901.739135,-1277.156005,23.086109); } else if(PlayerToPoint(1.2, playerid,901.739135,-1277.156005,23.086109)) { SetPlayerPos(playerid,895.346984,-1272.573608,14.684859); } else if(PlayerToPoint(2, playerid,1495.3594,-1467.1915,40.5234)) { SetPlayerPos(playerid,1539.3928,-1477.5098,9.5000); } else if(PlayerToPoint(1.2, playerid,1539.3928,-1477.5098,9.5000)) { SetPlayerPos(playerid,1495.3594,-1467.1915,40.5234); } else if(PlayerToPoint(2, playerid,1306.5503,-1730.0454,20.9956)) { SetPlayerPos(playerid,1306.1578,-1730.0601,13.5469); } else if(PlayerToPoint(1.2, playerid,1306.1578,-1730.0601,13.5469)) { SetPlayerPos(playerid,1306.5503,-1730.0454,20.9956); } else if (PlayerToPoint(1, playerid,1570.3828,-1333.8882,16.4844)) { SetPlayerPos(playerid, 1545.0068,-1366.5094,327.2868); } else if(PlayerToPoint(1, playerid,349.1003,199.0484,1019.9844)) { SetPlayerPos(playerid, 349.1000,199.0489,2019.9844); SetPlayerInterior(playerid, 3); GameTextForPlayer(playerid, "~w~Bem vindo ao Motel", 5000, 1); } else if(PlayerToPoint(1.0, playerid,-1412.3218,479.3567,7.1875)) {//Exercito Entrance GameTextForPlayer(playerid, "~w~Exercito", 5000, 1); SetPlayerPos(playerid,-1352.1919,497.4284,11.1953); } else if(PlayerToPoint(3, playerid,1554.9537,-1675.6584,16.1953)) {//Departamento de Policia Los Santos GameTextForPlayer(playerid, "~w~Departamento da Policia Militar", 5000, 1); SetPlayerInterior(playerid, 6); SetPlayerVirtualWorld(playerid, 0); // localizardppm[playerid] = 1; storeexit[playerid] = 66; SetPlayerPos(playerid,246.5878,62.7877,1003.6406); PlayerInfo[playerid][pInt] = 6; } else if(PlayerToPoint(3, playerid,2244.5669,-1664.4495,15.4766)) {//entrada Binco GameTextForPlayer(playerid, "~w~Binco", 5000, 1); SetPlayerVirtualWorld(playerid, 0); SendClientMessage(playerid, COLOR_WHITE, "DICA: Va ate o icone para mudar sua roupa"); SendClientMessage(playerid, COLOR_WHITE, "Ou use /meuskin."); SetPlayerInterior(playerid, 15); SetPlayerPos(playerid,207.7336,-108.6231,1005.1328); PlayerInfo[playerid][pInt] = 15; } else if (PlayerToPoint(3, playerid,1456.9010,-1137.6941,23.9617)) {//entrada ZIP SetPlayerPos(playerid, 161.3350,-95.0194,1001.8047); GameTextForPlayer(playerid, "~w~Zip",5000,1); SetPlayerVirtualWorld(playerid, 0); SendClientMessage(playerid, COLOR_WHITE, "DICA: Use /meuskin para mudar sua roupa"); SetPlayerInterior(playerid,18); SetPlayerFacingAngle(playerid, 0); PlayerInfo[playerid][pInt] = 18; } else if (PlayerToPoint(3, playerid,-1694.5050,950.8621,24.8906)) {//entrada VICTIM SetPlayerPos(playerid, 226.293991,-7.431529,1002.210937); GameTextForPlayer(playerid, "~w~VICTIM",5000,1); SetPlayerVirtualWorld(playerid, 0); SendClientMessage(playerid, COLOR_WHITE, "DICA: Use /meuskin para mudar sua roupa"); SetPlayerInterior(playerid,5); SetPlayerFacingAngle(playerid, 0); PlayerInfo[playerid][pInt] = 5; } else if (PlayerToPoint(2, playerid,1635.6626,590.6415,-35.4693)) {//entrada Predio SetPlayerPos(playerid, 1481.3530,-1790.3047,156.7533); GameTextForPlayer(playerid, "~w~~b~Predio",5000,1); SendClientMessage(playerid, COLOR_WHITE, "DICA: USE /sair para sair do PrediO '-'"); SetPlayerInterior(playerid,0); SetPlayerSpecialAction(playerid,SPECIAL_ACTION_HANDSUP); PlayerInfo[playerid][pInt] = 0; } else if(PlayerToPoint(3, playerid,1836.4064,-1682.4403,13.3493)) {//Alhambra Entrance GameTextForPlayer(playerid, "~w~Alhambra", 5000, 1); SetPlayerInterior(playerid, 17); SetPlayerVirtualWorld(playerid, 0); SetPlayerPos(playerid,493.3891,-22.7212,1000.6797); PlayerInfo[playerid][pInt] = 17; PlayAudioStreamForPlayer(playerid, "http://198.178.123.11:7746"); storeexit[playerid] = 0; } else if(PlayerToPoint(3, playerid,2127.6147,2379.2517,10.8203)) {//Alhambra Entrance GameTextForPlayer(playerid, "~w~Alhambra", 5000, 1); SetPlayerInterior(playerid, 17); SetPlayerVirtualWorld(playerid, 0); SetPlayerPos(playerid,493.3891,-22.7212,1000.6797); PlayerInfo[playerid][pInt] = 17; PlayAudioStreamForPlayer(playerid, "http://198.178.123.11:7746"); storeexit[playerid] = 129; } else if(PlayerToPoint(3, playerid,2421.4998,-1219.2438,25.5617)) {//Pigpen entrada GameTextForPlayer(playerid, "~w~The Pig Pen", 5000, 1); SetPlayerVirtualWorld(playerid, 0); SetPlayerInterior(playerid, 2); SetPlayerPos(playerid,1204.8965,-13.5596,1000.9219); PlayerInfo[playerid][pInt] = 2; } else if(PlayerToPoint(3, playerid,2229.9011,-1721.2582,13.5613)) {//entrada Ginasio de Lutas GameTextForPlayer(playerid, "~w~Ginasio de Lutas", 5000, 1); SetPlayerVirtualWorld(playerid, 0); SetPlayerInterior(playerid, 5); SetPlayerPos(playerid,771.9399,-2.2574,1000.7292); PlayerInfo[playerid][pInt] = 5; } else if (PlayerToPoint(3, playerid,1200.4497,-918.7695,43.1105)) {//entrada Burger 1 SetPlayerPos(playerid, 366.0324,-72.6400,1001.5078); GameTextForPlayer(playerid, "~w~Vinewood Burger",5000,1); SetPlayerVirtualWorld(playerid, 0); SetPlayerInterior(playerid,10); SetPlayerFacingAngle(playerid, 0); PlayerInfo[playerid][pInt] = 10; InAFoodPlace[playerid] = 2; SetPlayerCheckpoint(playerid, 376.8571,-67.6620,1001.5151, 1.0); } else if (PlayerToPoint(3, playerid,810.4855,-1616.1888,13.5469)) // esse {//entrada Burger 2 SetPlayerPos(playerid, 377.0516,-192.6519,1000.6401); GameTextForPlayer(playerid, "~w~Marina Burger",5000,1); SetPlayerVirtualWorld(playerid, 0); SetCameraBehindPlayer(playerid); SetPlayerInterior(playerid,17); SetPlayerFacingAngle(playerid, 0.0); PlayerInfo[playerid][pInt] = 1; InAFoodPlace[playerid] = 5; SetPlayerCheckpoint(playerid, 683.9015,-456.7076,-25.6099, 1.0); } else if (PlayerToPoint(3, playerid,927.6217,-1353.0105,13.3438)) {//entrada Cluckin Bell SetPlayerPos(playerid, 365.7793,-9.1699,1001.8516); GameTextForPlayer(playerid, "~w~Cluckin Bell", 5000, 1); SetPlayerVirtualWorld(playerid, 0); SetPlayerInterior(playerid, 9); SetPlayerFacingAngle(playerid, 0); PlayerInfo[playerid][pInt] = 9; InAFoodPlace[playerid] = 1; SetPlayerCheckpoint(playerid, 368.9714,-6.2486,1001.8516, 1.0); } else if (PlayerToPoint(3, playerid,2419.8442,-1509.4996,24.0000)) {//entrada Cluckin Bell Perto da Groove SetPlayerPos(playerid, 365.7793,-9.1699,1001.8516); GameTextForPlayer(playerid, "~w~Cluckin Bell", 5000, 1); SetPlayerVirtualWorld(playerid, 0); SetPlayerInterior(playerid, 9); SetPlayerFacingAngle(playerid, 0); PlayerInfo[playerid][pInt] = 9; InAFoodPlace[playerid] = 7; SetPlayerCheckpoint(playerid, 368.9714,-6.2486,1001.8516, 1.0); } else if (PlayerToPoint(3, playerid,2105.4858,-1806.4725,13.5547)) {//entrada Well Stacked Pizza SetPlayerPos(playerid, 372.4117,-130.4577,1001.4922); GameTextForPlayer(playerid, "~w~Well Stacked Pizza", 5000, 1); SetPlayerVirtualWorld(playerid, 0); SetPlayerInterior(playerid, 5); SetPlayerFacingAngle(playerid, 0); PlayerInfo[playerid][pInt] = 5; InAFoodPlace[playerid] = 3; SetPlayerCheckpoint(playerid, 375.6895,-118.9683,1001.4995, 1.5); } /*else if (PlayerToPoint(3, playerid,975.4691,-1335.9618,13.5319)) { SetPlayerPos(playerid, 377.5237,-191.6597,1000.6328); GameTextForPlayer(playerid, "~w~Lachonete", 5000, 1); SetPlayerVirtualWorld(playerid, 0); SetPlayerInterior(playerid, 17); SetPlayerFacingAngle(playerid, 0); PlayerInfo[playerid][pInt] = 17; InAFoodPlace[playerid] = 4; SetPlayerCheckpoint(playerid, 379.0611,-186.6032,1000.6328, 1.0); }*/ //=-=-=-=-=-=-=-=-=| HOTEL |=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=<| else if (PlayerToPoint(3, playerid,681.7535,-473.5503,16.5363)) {//Hotel entrada SetPlayerPos(playerid, 1261.2651,-785.3102,1091.9063); GameTextForPlayer(playerid, "~w~Hotel Sons of Anarchy",5000,1); SetPlayerInterior(playerid,5); SetPlayerFacingAngle(playerid, 0); PlayerInfo[playerid][pInt] = 5; SetPlayerVirtualWorld(playerid, 0); } else if (PlayerToPoint(3, playerid,1261.2651,-785.3102,1091.9063)) {//Hotel saida SetPlayerPos(playerid, 681.7535,-473.5503,16.5363); SetPlayerInterior(playerid,0); SetPlayerFacingAngle(playerid, 0); PlayerInfo[playerid][pInt] = 0; SetPlayerVirtualWorld(playerid, 0); } else if(PlayerToPoint(3.0, playerid,2143.3303,1610.0770,993.6882)) {//SAIDA COFRE BANCO SetPlayerInterior(playerid, 0); PlayerInfo[playerid][pInt] = 0; SetPlayerVirtualWorld(playerid, 0); PlayerInfo[playerid][pLocal] = 999; StopAudioStreamForPlayer(playerid); SetPlayerPos(playerid,1462.2650,-1011.5679,26.8438); } //=-=-=-=-=-=-=-=-=| HQ'S DAS ORGANIZAcÕES |=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=<| else if (PlayerToPoint(3, playerid,98.8023,1171.8392,18.6641)) {//entrada PCC LS SetPlayerPos(playerid, -2171.3071,645.2919,1057.5938); GameTextForPlayer(playerid, "~y~HQ PCC",5000,1); SetPlayerInterior(playerid,1); SetPlayerFacingAngle(playerid, 0); PlayerInfo[playerid][pInt] = 1; storeexit[playerid] = 21; SetPlayerVirtualWorld(playerid, 0); } else if (PlayerToPoint(3, playerid,328.0219,-1512.4863,36.0325)) {//BOPE LS entrada GameTextForPlayer(playerid, "~w~Departamento B.O.P.E", 5000, 1); SetPlayerFacingAngle(playerid, 0); SetPlayerInterior(playerid,10); SetPlayerPos(playerid,246.4452,108.4379,1003.2188); PlayerInfo[playerid][pInt] = 10; SetPlayerVirtualWorld(playerid, 0); storeexit[playerid] = 2; } else if (PlayerToPoint(3, playerid,2336.9888,2458.6926,14.9688)) {//ROTA entrada SetPlayerPos(playerid, 1726.8353,-1638.3109,20.2232); GameTextForPlayer(playerid, "~w~Departamento ROTA",5000,1); SetPlayerInterior(playerid,18); SetPlayerFacingAngle(playerid, 0); //localizardppc[playerid] = 1; PlayerInfo[playerid][pInt] = 18; SetPlayerVirtualWorld(playerid, 12); storeexit[playerid] = 16; } else if (PlayerToPoint(3, playerid,-515.9556,-539.5468,25.5234)) {//PF entrada SetPlayerPos(playerid, 238.7194,141.7792,1003.0234); GameTextForPlayer(playerid, "~w~Departamento Policia Federal",5000,1); SetPlayerInterior(playerid,3); SetPlayerFacingAngle(playerid, 0); //localizardppc[playerid] = 1; PlayerInfo[playerid][pInt] = 3; SetPlayerVirtualWorld(playerid, 11); storeexit[playerid] = 11; } else if(PlayerToPoint(3, playerid,1154.4968,-1180.8517,32.8187)) {//entrada HQ BALLAS GameTextForPlayer(playerid, "~w~HQ Ballas", 5000, 1); SetPlayerInterior(playerid, 10); SetPlayerPos(playerid,2268.3950,-1210.5328,1047.7491); PlayerInfo[playerid][pInt] = 10; SetPlayerVirtualWorld(playerid, 0); storeexit[playerid] = 17; } else if (PlayerToPoint(3, playerid,2495.3481,-1691.1355,14.7656)) {//HQ Black Elements entrada SetPlayerPos(playerid,2496.0061,-1693.5201,1014.7422); GameTextForPlayer(playerid, "~g~Black Elements HQ",5000,1); SetPlayerInterior(playerid,3); SetPlayerFacingAngle(playerid, 181); PlayerInfo[playerid][pInt] = 3; storeexit[playerid] = 14; SetPlayerVirtualWorld(playerid, 0); } else if (PlayerToPoint(2, playerid,2309.9460,-1643.6337,14.8270)) {//Bar Groove entrada SetPlayerPos(playerid,501.8770,-67.7092,998.7578); GameTextForPlayer(playerid, "~r~Bar ",5000,1); SetPlayerInterior(playerid,11); SetPlayerFacingAngle(playerid, 178.1566); barexit[playerid] = 1; PlayerInfo[playerid][pInt] = 11; SetPlayerVirtualWorld(playerid, 0); } else if (PlayerToPoint(2, playerid,1323.9729,-1841.6465,13.5469)) {//Bar Groove entrada SetPlayerPos(playerid,501.8770,-67.7092,998.7578); GameTextForPlayer(playerid, "~r~Bar ",5000,1); SetPlayerInterior(playerid,11); SetPlayerFacingAngle(playerid, 178.1566); barexit[playerid] = 2; PlayerInfo[playerid][pInt] = 11; SetPlayerVirtualWorld(playerid, 1); } else if (PlayerToPoint(2, playerid,776.4116,-1036.1841,24.2753)) {//Bar Groove entrada SetPlayerPos(playerid,501.8770,-67.7092,998.7578); GameTextForPlayer(playerid, "~r~Bar ",5000,1); SetPlayerInterior(playerid,11); SetPlayerFacingAngle(playerid, 178.1566); barexit[playerid] = 3; PlayerInfo[playerid][pInt] = 11; SetPlayerVirtualWorld(playerid, 2); } else if (PlayerToPoint(2, playerid,2354.3938,-1511.7820,24.0000)) {//Bar Groove entrada SetPlayerPos(playerid,501.8770,-67.7092,998.7578); GameTextForPlayer(playerid, "~r~Bar ",5000,1); SetPlayerInterior(playerid,11); SetPlayerFacingAngle(playerid, 178.1566); barexit[playerid] = 4; PlayerInfo[playerid][pInt] = 11; SetPlayerVirtualWorld(playerid, 3); } else if (PlayerToPoint(2, playerid,2850.9463,-1532.4783,11.0991)) {//Bar Groove entrada SetPlayerPos(playerid,501.8770,-67.7092,998.7578); GameTextForPlayer(playerid, "~r~Bar ",5000,1); SetPlayerInterior(playerid,11); SetPlayerFacingAngle(playerid, 178.1566); barexit[playerid] = 5; PlayerInfo[playerid][pInt] = 11; SetPlayerVirtualWorld(playerid, 4); } else if(PlayerToPoint(3, playerid,1166.5868,1346.8756,10.9219)) {//entrada HQ CV GameTextForPlayer(playerid, "~w~Garagem", 5000, 1); SetPlayerInterior(playerid, 0); SetPlayerPos(playerid,914.9432,-1037.3533,31.8984); PlayerInfo[playerid][pInt] = 0; SetPlayerVirtualWorld(playerid, 0); } else if(PlayerToPoint(3, playerid,914.7142,-1004.6053,37.9799)) {//entrada HQ CV GameTextForPlayer(playerid, "~w~HQ GATE", 5000, 1); SetPlayerInterior(playerid, 0); SetPlayerPos(playerid,1168.4000,1361.9557,10.929); PlayerInfo[playerid][pInt] = 0; SetPlayerVirtualWorld(playerid, 0); } else if(PlayerToPoint(2, playerid,2351.1487,-1245.4988,22.5000)) {//entrada HQ HITMANS GameTextForPlayer(playerid, "~w~HQ Hitmans", 5000, 1); SetPlayerInterior(playerid, 6); SetPlayerPos(playerid,343.7183,304.9376,999.1484); PlayerInfo[playerid][pInt] = 6; SetPlayerVirtualWorld(playerid, 0); } return true; } CMD:mapacasa(playerid, params[]) { if(GetPVarInt(playerid, "AGRTrampando")) return SendClientMessage(playerid, COLOR_GRAD1, "| ERRO | Você está em modo colheita no emprego Agriculotor."); if(GariTrabalhando[playerid] != 0) return SendClientMessage(playerid, COLOR_GRAD1, "| ERRO | Você está em modo coleta no emprego Gari."); if(Entregando[playerid] == 1) return SendClientMessage(playerid, COLOR_GRAD1, "| ERRO | Você está em modo entrega no emprego iFood."); if(PlayerInfo[playerid][pPHousekey] != 500) { SetPlayerCheckpoint(playerid,HouseInfo[PlayerInfo[playerid][pPHousekey]][hEntrancex], HouseInfo[PlayerInfo[playerid][pPHousekey]][hEntrancey], HouseInfo[PlayerInfo[playerid][pPHousekey]][hEntrancez], 4.0); GameTextForPlayer(playerid, "~r~Mapa da Casa Marcado!", 5000, 1); gPlayerCheckpointStatus[playerid] = 12; } else { GameTextForPlayer(playerid, "~w~Voce nao tem casa", 5000, 1); } return true; } //----------------------------------[BIZZ]----------------------------------------------- CMD:comprarempresa(playerid, params[]) { new Float:oldposx, Float:oldposy, Float:oldposz; GetPlayerName(playerid, playername, sizeof(playername)); GetPlayerPos(playerid, oldposx, oldposy, oldposz); if(PlayerInfo[playerid][pVIP] < 1) { SendClientMessage(playerid, COLOR_GREY, "Apenas players VIPs podem comprar uma empresa"); return true; } if(PlayerInfo[playerid][pPbiskey] != 255) { SendClientMessage(playerid, COLOR_GREY, "Voce ja tem uma empresa, Digite /venderempresa para comprar outra."); return true; } new string[128]; for(new b = 0; b < sizeof(SBizzInfo); b++) { if(PlayerToPoint(2.0, playerid, SBizzInfo[b][sbEntranceX], SBizzInfo[b][sbEntranceY], SBizzInfo[b][sbEntranceZ]) && SBizzInfo[b][sbOwned] == 0) { if(PlayerInfo[playerid][pLevel] < SBizzInfo[b][sbLevelNeeded]) { format(string, sizeof(string), "Voce precisa ser nivel %d para comprar essa empresa",SBizzInfo[b][sbLevelNeeded]); SendClientMessage(playerid, COLOR_GRAD5, string); return true; } if(GetPlayerMoney(playerid) > SBizzInfo[b][sbBuyPrice]) { PlayerInfo[playerid][pPbiskey] = b+100; SBizzInfo[b][sbOwned] = 1; SBizzInfo[b][sbLocked] = 0; SBizzInfo[b][sbTill] = 0; GetPlayerName(playerid, sendername, sizeof(sendername)); strmid(SBizzInfo[b][sbOwner], sendername, 0, strlen(sendername), 255); GiveDinheiro(playerid,-SBizzInfo[b][sbBuyPrice]); PlayerPlayMusic(playerid); SendClientMessage(playerid, COLOR_WHITE, "Parabens, Voce comprou uma empresa."); SendClientMessage(playerid, COLOR_WHITE, "Digite /ajuda para ver os comandos de sua empresa."); SalvarSEmpresa(b); Atualizar3Dtexts(); DateProp(playerid); printf("Empresa %d Comprada? %d",b,SBizzInfo[b][sbOwned]); format(string, sizeof(string), "[EMPRESA]: %s[ID: %d] acaba de comprar a empresa ID: %d", NomePlayer(playerid),playerid, b); SendClientMessageToAll(0xFFC06CFF, string); CNFLogs("sempresas", string); return true; } else { SendClientMessage(playerid, COLOR_GREY, "Voce nao tem grana suficiente"); return true; } } } for(new b = 0; b < sizeof(BizzInfo); b++) { if(PlayerToPoint(2.0, playerid, BizzInfo[b][bEntranceX], BizzInfo[b][bEntranceY], BizzInfo[b][bEntranceZ]) && BizzInfo[b][bOwned] == 0) { if(PlayerInfo[playerid][pLevel] < BizzInfo[b][bLevelNeeded]) { format(string, sizeof(string), "Voce precisa ser nivel %d para comprar essa empresa",BizzInfo[b][bLevelNeeded]); SendClientMessage(playerid, COLOR_GRAD5, string); return true; } if(GetPlayerMoney(playerid) > BizzInfo[b][bBuyPrice]) { PlayerInfo[playerid][pPbiskey] = b; BizzInfo[b][bOwned] = 1; BizzInfo[b][bLocked] = 0; BizzInfo[b][bTill] = 0; GetPlayerName(playerid, sendername, sizeof(sendername)); strmid(BizzInfo[b][bOwner], sendername, 0, strlen(sendername), 255); GiveDinheiro(playerid,-BizzInfo[b][bBuyPrice]); PlayerPlayMusic(playerid); SetPlayerInterior(playerid,BizzInfo[b][bInterior]); SetPlayerVirtualWorld(playerid, BizzInfo[b][bWorld]); PlayerInfo[playerid][pInt] = BizzInfo[b][bInterior]; SetPlayerPos(playerid,BizzInfo[b][bExitX],BizzInfo[b][bExitY],BizzInfo[b][bExitZ]); GameTextForPlayer(playerid, "~w~Bem Vindo~n~Voce pode sair da sua empresa digitando /sair", 5000, 3); PlayerInfo[playerid][pInt] = BizzInfo[b][bInterior]; PlayerInfo[playerid][pLocal] = b ; SendClientMessage(playerid, COLOR_WHITE, "Parabens, Voce comprou esta empresa."); SendClientMessage(playerid, COLOR_WHITE, "Digite /ajuda para ver os comandos de sua empresa."); SalvarEmpresa(b); Atualizar3Dtexts(); DateProp(playerid); format(string, sizeof(string), "[EMPRESA]: %s[ID: %d] acaba de comprar a empresa ID: %d", NomePlayer(playerid),playerid, b); SendClientMessageToAll(0xFFC06CFF, string); CNFLogs("empresas", string); return true; } else { SendClientMessage(playerid, COLOR_GREY, "Voce nao tem grana o suficiente"); return true; } } } return true; } CMD:comprarfazenda(playerid, params[]) { new Float:oldposx, Float:oldposy, Float:oldposz; GetPlayerName(playerid, playername, sizeof(playername)); GetPlayerPos(playerid, oldposx, oldposy, oldposz); if(PlayerInfo[playerid][pVIP] < 3) { SendClientMessage(playerid, COLOR_GREY, "Apenas players Socios podem comprar uma fazenda"); return true; } if(PlayerInfo[playerid][pPFazkey] != 255) { SendClientMessage(playerid, COLOR_GREY, "Voce ja tem uma fazenda, Digite /venderfazenda ou para comprar outra."); return true; } new string[128]; for(new b = 0; b < sizeof(FBizzInfo); b++) { if(PlayerToPoint(2.0, playerid, FBizzInfo[b][fbEntranceX], FBizzInfo[b][fbEntranceY], FBizzInfo[b][fbEntranceZ]) && FBizzInfo[b][fbOwned] == 0) { if(PlayerInfo[playerid][pLevel] < FBizzInfo[b][fbLevelNeeded]) { format(string, sizeof(string), "Voce precisa ser nivel %d para comprar essa fazenda",FBizzInfo[b][fbLevelNeeded]); SendClientMessage(playerid, COLOR_GRAD5, string); return true; } if(GetPlayerMoney(playerid) > FBizzInfo[b][fbBuyPrice]) { PlayerInfo[playerid][pPFazkey] = b; FBizzInfo[b][fbOwned] = 1; FBizzInfo[b][fbLocked] = 0; FBizzInfo[b][fbTill] = 0; GetPlayerName(playerid, sendername, sizeof(sendername)); strmid(FBizzInfo[b][fbOwner], sendername, 0, strlen(sendername), 255); GiveDinheiro(playerid,-FBizzInfo[b][fbBuyPrice]); PlayerPlayMusic(playerid); SendClientMessage(playerid, COLOR_WHITE, "Parabens, Voce comprou uma Fazenda."); SendClientMessage(playerid, COLOR_WHITE, "Digite /ajuda para ver os comandos de sua Fazenda."); SalvarFEmpresa(b); Atualizar3Dtexts(); DateProp(playerid); format(string, sizeof(string), "[FAZENDA]: %s[ID: %d] acaba de comprar a Fazenda ID: %d", NomePlayer(playerid),playerid, b); SendClientMessageToAll(0xFFC06CFF, string); CNFLogs("fempresas", string); return true; } else { SendClientMessage(playerid, COLOR_GREY, "Voce nao tem grana suficiente"); return true; } } } return true; } CMD:venderempresa(playerid, params[]) { GetPlayerName(playerid, playername, sizeof(playername)); if(PlayerInfo[playerid][pPbiskey] == 255) { SendClientMessage(playerid, COLOR_GREY, "Voce nao possui uma empresa."); return true; } if(PlayerInfo[playerid][pMarried] > 0) { SendClientMessage(playerid, COLOR_GREY, "Voce e casado(a), nao pode vender a empresa!"); return true; } new string[128]; if(PlayerInfo[playerid][pPbiskey] >= 100 && PlayerInfo[playerid][pPbiskey] < 200 && strcmp(playername, SBizzInfo[PlayerInfo[playerid][pPbiskey]-100][sbOwner], true) == 0) { new borse = PlayerInfo[playerid][pPbiskey]-100; GiveDinheiro(playerid,SBizzInfo[borse][sbBuyPrice]); SBizzInfo[borse][sbLocked] = 0; SBizzInfo[borse][sbOwned] = 0; GetPlayerName(playerid, sendername, sizeof(sendername)); strmid(SBizzInfo[borse][sbOwner], "Ninguem", 0, strlen("Ninguem"), 255); strmid(SBizzInfo[borse][sbExtortion], "Ninguem", 0, strlen("Ninguem"), 255); PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); format(string, sizeof(string), "~w~Parabens~n~ Voce vendeu imoveis por ~n~~g~R$%d", SBizzInfo[borse][sbBuyPrice]); GameTextForPlayer(playerid, string, 10000, 3); PlayerInfo[playerid][pPbiskey] = 255; format(string, sizeof(string), "[EMPRESA]: %s[ID: %d] acaba de vender a empresa ID: %d", NomePlayer(playerid),playerid, borse); SendClientMessageToAll(0xFFC06CFF, string); CNFLogs("sempresas", string); SalvarSEmpresa( borse ); Atualizar3Dtexts(); return true; } if(strcmp(playername, BizzInfo[PlayerInfo[playerid][pPbiskey]][bOwner], true) == 0) { new borse = PlayerInfo[playerid][pPbiskey]; BizzInfo[borse][bLocked] = 0; BizzInfo[borse][bOwned] = 0; GetPlayerName(playerid, sendername, sizeof(sendername)); strmid(BizzInfo[borse][bOwner], "Ninguem", 0, strlen("Ninguem"), 255); strmid(BizzInfo[borse][bExtortion], "Ninguem", 0, strlen("Ninguem"), 255); GiveDinheiro(playerid,BizzInfo[borse][bBuyPrice]); PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); format(string, sizeof(string), "~w~Parabens~n~ Voce vendeu imoveis por ~n~~g~R$%d", BizzInfo[borse][bBuyPrice]); GameTextForPlayer(playerid, string, 10000, 3); PlayerInfo[playerid][pPbiskey] = 255; format(string, sizeof(string), "[EMPRESA]: %s[ID: %d] acaba de vender a empresa ID: %d", NomePlayer(playerid),playerid, borse); SendClientMessageToAll(0xFFC06CFF, string); CNFLogs("empresas", string); SalvarEmpresa(borse); Atualizar3Dtexts(); return true; } if(PlayerInfo[playerid][pPbiskey] != 255) { PlayerInfo[playerid][pPbiskey] = 255; return true; } else { SendClientMessage(playerid, COLOR_WHITE, "Voce nao tem uma Empresa."); } return true; } CMD:venderempresa66656(playerid, params[]) { GetPlayerName(playerid, playername, sizeof(playername)); if(PlayerInfo[playerid][pPbiskey] == 255) { SendClientMessage(playerid, COLOR_GREY, "Voce nao possui uma empresa."); return true; } new string[128]; if(PlayerInfo[playerid][pPbiskey] >= 100 && PlayerInfo[playerid][pPbiskey] < 200 && strcmp(playername, SBizzInfo[PlayerInfo[playerid][pPbiskey]-100][sbOwner], true) == 0) { new borse = PlayerInfo[playerid][pPbiskey]-100; GiveDinheiro(playerid,SBizzInfo[borse][sbBuyPrice]); SBizzInfo[borse][sbLocked] = 0; SBizzInfo[borse][sbOwned] = 0; GetPlayerName(playerid, sendername, sizeof(sendername)); strmid(SBizzInfo[borse][sbOwner], "Ninguem", 0, strlen("Ninguem"), 255); strmid(SBizzInfo[borse][sbExtortion], "Ninguem", 0, strlen("Ninguem"), 255); PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); format(string, sizeof(string), "~w~Parabens~n~ Voce vendeu imoveis por ~n~~g~R$%d", SBizzInfo[borse][sbBuyPrice]); GameTextForPlayer(playerid, string, 10000, 3); PlayerInfo[playerid][pPbiskey] = 255; format(string, sizeof(string), "[EMPRESA]: O jogador: %s vendeu sua mini empresa ID: [%d]", PlayerName(playerid), borse); SendClientMessageToAll(0xFFC06CFF, string); CNFLogs("sempresas", string); SalvarSEmpresa( borse ); Atualizar3Dtexts(); return true; } if(strcmp(playername, BizzInfo[PlayerInfo[playerid][pPbiskey]][bOwner], true) == 0) { new borse = PlayerInfo[playerid][pPbiskey]; BizzInfo[borse][bLocked] = 0; BizzInfo[borse][bOwned] = 0; GetPlayerName(playerid, sendername, sizeof(sendername)); strmid(BizzInfo[borse][bOwner], "Ninguem", 0, strlen("Ninguem"), 255); strmid(BizzInfo[borse][bExtortion], "Ninguem", 0, strlen("Ninguem"), 255); GiveDinheiro(playerid,BizzInfo[borse][bBuyPrice]); PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); format(string, sizeof(string), "~w~Parabens~n~ Voce vendeu imoveis por ~n~~g~R$%d", BizzInfo[borse][bBuyPrice]); GameTextForPlayer(playerid, string, 10000, 3); PlayerInfo[playerid][pPbiskey] = 255; format(string, sizeof(string), "[EMPRESA]: %s[ID: %d] acaba de vender a empresa ID: %d", NomePlayer(playerid),playerid, borse); SendClientMessageToAll(0xFFC06CFF, string); CNFLogs("empresas", string); SalvarEmpresa(borse); Atualizar3Dtexts(); return true; } if(PlayerInfo[playerid][pPbiskey] != 255) { PlayerInfo[playerid][pPbiskey] = 255; return true; } else { SendClientMessage(playerid, COLOR_WHITE, "Voce nao tem uma Empresa."); } return true; } CMD:venderfazenda(playerid, params[]) { GetPlayerName(playerid, playername, sizeof(playername)); if(PlayerInfo[playerid][pPFazkey] == 255) { SendClientMessage(playerid, COLOR_GREY, "Voce nao possui uma fazenda."); return true; } new string[128]; if(PlayerInfo[playerid][pPFazkey] < 255 && strcmp(playername, FBizzInfo[PlayerInfo[playerid][pPFazkey]][fbOwner], true) == 0) { new borse = PlayerInfo[playerid][pPFazkey]; GiveDinheiro(playerid,FBizzInfo[borse][fbBuyPrice]); FBizzInfo[borse][fbLocked] = 0; FBizzInfo[borse][fbOwned] = 0; GetPlayerName(playerid, sendername, sizeof(sendername)); strmid(FBizzInfo[borse][fbOwner], "Ninguem", 0, strlen("Ninguem"), 255); strmid(FBizzInfo[borse][fbExtortion], "Ninguem", 0, strlen("Ninguem"), 255); PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); format(string, sizeof(string), "~w~Parabens~n~ Voce vendeu terrenos por ~n~~g~R$%d", FBizzInfo[borse][fbBuyPrice]); GameTextForPlayer(playerid, string, 10000, 3); PlayerInfo[playerid][pPFazkey] = 255; format(string, sizeof(string), "[FAZENDA]: %s[ID: %d] acaba de vender a fazenda ID: %d", NomePlayer(playerid),playerid, borse); SendClientMessageToAll(0xFFC06CFF, string); CNFLogs("fempresas", string); SalvarFEmpresa( borse ); Atualizar3Dtexts(); return true; } if(PlayerInfo[playerid][pPFazkey] != 255) { PlayerInfo[playerid][pPFazkey] = 255; return true; } else { SendClientMessage(playerid, COLOR_WHITE, "Voce nao tem uma Fazenda."); } return true; } CMD:venderfazenda66656(playerid, params[]) { GetPlayerName(playerid, playername, sizeof(playername)); if(PlayerInfo[playerid][pPFazkey] == 255) { //SendClientMessage(playerid, COLOR_GREY, "Voce nao possui uma fazenda."); return true; } new string[128]; if(PlayerInfo[playerid][pPFazkey] < 255 && strcmp(playername, FBizzInfo[PlayerInfo[playerid][pPFazkey]][fbOwner], true) == 0) { new borse = PlayerInfo[playerid][pPFazkey]; GiveDinheiro(playerid,FBizzInfo[borse][fbBuyPrice]); FBizzInfo[borse][fbLocked] = 0; FBizzInfo[borse][fbOwned] = 0; GetPlayerName(playerid, sendername, sizeof(sendername)); strmid(FBizzInfo[borse][fbOwner], "Ninguem", 0, strlen("Ninguem"), 255); strmid(FBizzInfo[borse][fbExtortion], "Ninguem", 0, strlen("Ninguem"), 255); PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); format(string, sizeof(string), "~w~Parabens~n~ Voce vendeu terrenos por ~n~~g~R$%d", FBizzInfo[borse][fbBuyPrice]); GameTextForPlayer(playerid, string, 10000, 3); PlayerInfo[playerid][pPFazkey] = 255; format(string, sizeof(string), "[FAZENDA]: %s[ID: %d] acaba de vender a fazenda ID: %d", NomePlayer(playerid),playerid, borse); SendClientMessageToAll(0xFFC06CFF, string); CNFLogs("fempresas", string); SalvarFEmpresa( borse ); Atualizar3Dtexts(); return true; } if(PlayerInfo[playerid][pPFazkey] != 255) { PlayerInfo[playerid][pPFazkey] = 255; return true; } return true; } CMD:infoempresa(playerid, params[]) { new borse = PlayerInfo[playerid][pPbiskey]; if(borse == 255) { SendClientMessage(playerid, COLOR_GREY, "Voce nao tem uma empresa."); return true; } if (borse >= 100) { PrintSBizInfo(playerid,borse-100); } else { PrintBizInfo(playerid,borse); } return true; } CMD:infofazenda(playerid, params[]) { new borse = PlayerInfo[playerid][pPFazkey]; if(borse == 255) { SendClientMessage(playerid, COLOR_GREY, "Voce nao tem uma Fazenda."); return true; } if (borse < 255) { PrintFBizInfo(playerid,borse); } return true; } CMD:entradaempresa(playerid, params[]) { new quant; new borse = PlayerInfo[playerid][pPbiskey]; if (borse == 255) { SendClientMessage(playerid, COLOR_GRAD2, "Voce nao tem uma Empresa !"); return true; } if(sscanf(params, "d", quant)) { return SendClientMessage(playerid, COLOR_WHITE, "USE: /entradadaempresa [preco]"); } if(quant < 1 || quant > 100) { SendClientMessage(playerid, COLOR_WHITE, "Preco da entrada minimo R$1, maximo R$100."); return true; } new string[55]; if (borse >= 100 && borse < 200) { SBizzInfo[borse-100][sbEntranceCost] = quant; SalvarSEmpresa(borse-100); Atualizar3Dtexts(); format(string, sizeof(string), "Entrada Definida Para: R$%d.", SBizzInfo[borse-100][sbEntranceCost]); } if (borse < 100) { BizzInfo[borse][bEntranceCost] = quant; SalvarEmpresa(borse); Atualizar3Dtexts(); format(string, sizeof(string), "Entrada Definida Para: R$%d.", BizzInfo[borse][bEntranceCost]); } SendClientMessage(playerid, COLOR_WHITE, string); return true; } CMD:entradafazenda(playerid, params[]) { new quant; new borse = PlayerInfo[playerid][pPFazkey]; if (borse == 255) { SendClientMessage(playerid, COLOR_GRAD2, "Voce nao tem uma Fazenda !"); return true; } if(sscanf(params, "d", quant)) { return SendClientMessage(playerid, COLOR_WHITE, "USE: /entradadafazenda [preco]"); } if(quant < 1 || quant > 200) { SendClientMessage(playerid, COLOR_WHITE, "Preco da entrada minimo R$1, maximo R$200."); return true; } new string[55]; if (borse < 255) { FBizzInfo[borse][fbEntranceCost] = quant; SalvarFEmpresa(borse); Atualizar3Dtexts(); format(string, sizeof(string), "Entrada Definida Para: R$%d.", FBizzInfo[borse][fbEntranceCost]); } SendClientMessage(playerid, COLOR_WHITE, string); return true; } CMD:aentradaemp(playerid, params[]) { if (PlayerInfo[playerid][pAdmin] < 1338) { SendClientMessage(playerid, COLOR_GRAD2, LEVELADM); return true; } new quant, id; if(sscanf(params, "dd", id, quant)) { return SendClientMessage(playerid, COLOR_WHITE, "USE: /aentradadaempresa [id] [preco]"); } new string[50]; BizzInfo[id][bEntranceCost] = quant; SalvarEmpresa(id); Atualizar3Dtexts(); format(string, sizeof(string), "Entrada Definida Para: R$%d.", BizzInfo[id][bEntranceCost]); SendClientMessage(playerid, COLOR_WHITE, string); return true; } CMD:aentradasemp(playerid, params[]) { if (PlayerInfo[playerid][pAdmin] < 1338) { SendClientMessage(playerid, COLOR_GRAD2, LEVELADM); return true; } new quant, id; if(sscanf(params, "dd", id, quant)) { return SendClientMessage(playerid, COLOR_WHITE, "USE: /aentradadasemp [id] [preco]"); } new string[50]; SBizzInfo[id][sbEntranceCost] = quant; SalvarSEmpresa(id); Atualizar3Dtexts(); format(string, sizeof(string), "Entrada Definida Para: R$%d.", SBizzInfo[id][sbEntranceCost]); SendClientMessage(playerid, COLOR_WHITE, string); return true; } CMD:aentradafemp(playerid, params[]) { if (PlayerInfo[playerid][pAdmin] < 1338) { SendClientMessage(playerid, COLOR_GRAD2, LEVELADM); return true; } new quant, id; if(sscanf(params, "dd", id, quant)) { return SendClientMessage(playerid, COLOR_WHITE, "USE: /aentradafemp [id] [preco]"); } new string[50]; FBizzInfo[id][fbEntranceCost] = quant; SalvarFEmpresa(id); Atualizar3Dtexts(); format(string, sizeof(string), "Entrada Definida Para: R$%d.", FBizzInfo[id][fbEntranceCost]); SendClientMessage(playerid, COLOR_WHITE, string); return true; } CMD:chamarcarro(playerid) { if(CarCalls[playerid] > 0) { new string[128]; new Float:plocx,Float:plocy,Float:plocz; GetPlayerPos(playerid, plocx, plocy, plocz); SetVehiclePos(CarID[playerid],plocx,plocy+4, plocz); SendClientMessage(playerid, COLOR_YELLOW2, "* Seu carro comprado chegou!"); CarCalls[playerid] -= 1; format(string, sizeof(string), "* Voce chamou o carro comprado, agora restam mais %d chamadas.", CarCalls[playerid]); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); format(string, sizeof(string), "* %s chamou seu carro comprado", PlayerName(playerid)); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); } else { SendClientMessage(playerid, COLOR_GREY, "Voce nao tem um carro comprado, ou suas chamadas se esgotaram !"); } return 1; } CMD:rank(playerid) { MEGAString[0]=EOS; strcat(MEGAString, "{00FF7F} » {FFFFFF}Nivel\n"); strcat(MEGAString, "{00FF7F} » {FFFFFF}Horas jogadas\n"); strcat(MEGAString, "{00FF7F} » {FFFFFF}Kills\n"); strcat(MEGAString, "{00FF7F} » {FFFFFF}Mortes\n"); strcat(MEGAString, "{00FF7F} » {FFFFFF}Dinheiro\n"); strcat(MEGAString, "{00FF7F} » {FFFFFF}Crimes cometidos\n"); strcat(MEGAString, "{00FF7F} » {FFFFFF}Materiais\n"); strcat(MEGAString, "{00FF7F} » {FFFFFF}Maconha\n"); strcat(MEGAString, "{00FF7F} » {FFFFFF}Cocaina\n"); strcat(MEGAString, "{00FF7F} » {FFFFFF}Crack\n"); strcat(MEGAString, "{00FF7F} » {FFFFFF}Contratos cumpridos\n"); strcat(MEGAString, "{00FF7F} » {FFFFFF}Cash\n"); ShowPlayerDialog(playerid, 5009, DIALOG_STYLE_LIST, "Ranks", MEGAString, "Ver", "Cancelar"); return 1; } CMD:extorcao(playerid, params[]) { new borse = PlayerInfo[playerid][pPbiskey]; if (borse == 255) { SendClientMessage(playerid, COLOR_GRAD2, "Voce nao tem uma Empresa!"); return true; } if(sscanf(params, "d", giveplayerid)) { SendClientMessage(playerid, COLOR_WHITE, "USE: /extorcao [ID do Player] (ou 555 para Ninguem)"); return true; } new string[128]; GetPlayerName(playerid, sendername, sizeof(sendername)); GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer)); if(giveplayerid == 555) { if (borse >= 100 && borse < 200) { format(string, sizeof(string), "Ninguem"); strmid(SBizzInfo[borse-100][sbExtortion], string, 0, sizeof(string), 255); format(string, sizeof(string), "Novo dono da Extorsao: %s",SBizzInfo[borse-100][sbExtortion]); SalvarSEmpresa(borse-100); Atualizar3Dtexts(); } if (borse < 100) { format(string, sizeof(string), "Ninguem"); strmid(BizzInfo[borse][bExtortion], string, 0, sizeof(string), 255); format(string, sizeof(string), "Novo dono da Extorsao: %s",BizzInfo[borse][bExtortion]); SalvarEmpresa(borse); Atualizar3Dtexts(); } SendClientMessage(playerid, COLOR_WHITE, string); return 1; } if(IsPlayerConnected(giveplayerid)) { if(giveplayerid != INVALID_PLAYER_ID) { format(string, sizeof(string), "* %s esta na extorsao de sua empresa.",giveplayer); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); format(string, sizeof(string), "* Agora voce esta na Extorsao da empresa de %s.",PlayerName(playerid)); SendClientMessage(giveplayerid, COLOR_LIGHTBLUE, string); if (borse >= 100 && borse < 200) { format(string, sizeof(string), "%s",giveplayer); strmid(SBizzInfo[borse-100][sbExtortion], string, 0, sizeof(string), 255); format(string, sizeof(string), "Novo dono da Extorsao: %s",SBizzInfo[borse-100][sbExtortion]); SalvarSEmpresa(borse-100); Atualizar3Dtexts(); } if (borse < 100) { format(string, sizeof(string), "%s",giveplayer); strmid(BizzInfo[borse][bExtortion], string, 0, sizeof(string), 255); format(string, sizeof(string), "Novo dono da Extorsao: %s",BizzInfo[borse][bExtortion]); SalvarEmpresa(borse); Atualizar3Dtexts(); } SendClientMessage(playerid, COLOR_WHITE, string); } } else { SendClientMessage(playerid, COLOR_GREY, " O Jogador esta offline !"); return true; } return true; } CMD:extorcaofaz(playerid, params[]) { new forse = PlayerInfo[playerid][pPFazkey]; if (forse == 255) { SendClientMessage(playerid, COLOR_GRAD2, "Voce nao tem uma Fazenda!"); return true; } if(sscanf(params, "d", giveplayerid)) { SendClientMessage(playerid, COLOR_WHITE, "USE: /extorcaofaz [ID do Player] (ou 555 para Ninguem)"); return true; } new string[128]; GetPlayerName(playerid, sendername, sizeof(sendername)); if(giveplayerid == 555) { if (forse < 255) { format(string, sizeof(string), "Ninguem"); strmid(FBizzInfo[forse][fbExtortion], string, 0, sizeof(string), 255); format(string, sizeof(string), "Novo dono da Extorsao: %s",FBizzInfo[forse][fbExtortion]); SalvarFEmpresa(forse); Atualizar3Dtexts(); } SendClientMessage(playerid, COLOR_WHITE, string); return 1; } if(IsPlayerConnected(giveplayerid)) { if(giveplayerid != INVALID_PLAYER_ID) { format(string, sizeof(string), "* %s esta na extorsao de sua fazenda.",PlayerName(giveplayerid)); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); format(string, sizeof(string), "* Agora voce esta na Extorsao da fazenda de %s.",PlayerName(playerid)); SendClientMessage(giveplayerid, COLOR_LIGHTBLUE, string); if (forse < 255) { format(string, sizeof(string), "%s",PlayerName(giveplayerid)); strmid(FBizzInfo[forse][fbExtortion], string, 0, sizeof(string), 255); format(string, sizeof(string), "Novo dono da Extorsao: %s",FBizzInfo[forse][fbExtortion]); SalvarFEmpresa(forse); Atualizar3Dtexts(); } SendClientMessage(playerid, COLOR_WHITE, string); } } else { SendClientMessage(playerid, COLOR_GREY, " O Jogador esta offline !"); return true; } return true; } CMD:nomeempresa(playerid, params[]) { new borse = PlayerInfo[playerid][pPbiskey]; if (borse == 255) { SendClientMessage(playerid, COLOR_GRAD2, "Voce nao tem uma empresa!"); return true; } else { SendClientMessage(playerid, COLOR_GRAD2, "Peca para um admin Master mudar o nome da sua empresa!"); } return true; } CMD:nomefazenda(playerid, params[]) { new borse = PlayerInfo[playerid][pPFazkey]; if (borse == 255) { SendClientMessage(playerid, COLOR_GRAD2, "Voce nao tem uma fazenda!"); return true; } else { SendClientMessage(playerid, COLOR_GRAD2, "Peca para um admin Master mudar o nome da sua fazenda!"); } return true; } CMD:sacarempresa(playerid, params[]) { new borse = PlayerInfo[playerid][pPbiskey]; if (borse == 255) { SendClientMessage(playerid, COLOR_GRAD2, "Voce nao tem uma Empresa"); return true; } new quant; new string[128]; if(sscanf(params, "d", quant)) { if (borse >= 100 && borse < 200) { format(string, sizeof(string), "Voce tem R$%d no cofre da empresa.", SBizzInfo[borse-100][sbTill]); SendClientMessage(playerid, COLOR_GRAD3, string); } if (borse < 100) { format(string, sizeof(string), "Voce tem R$%d no cofre da empresa.", BizzInfo[borse][bTill]); SendClientMessage(playerid, COLOR_GRAD3, string); } SendClientMessage(playerid, COLOR_GRAD2, "USE: /sacarempresa [quantidade]"); return true; } new cashdeposit = quant; if (borse >= 100 && borse < 200) { if(cashdeposit > SBizzInfo[borse-100][sbTill] || cashdeposit < 1) { SendClientMessage(playerid, COLOR_GRAD2, "Voce nao tem essa quantia."); return true; } } if (borse < 100) { if (cashdeposit > BizzInfo[borse][bTill] || cashdeposit < 1) { SendClientMessage(playerid, COLOR_GRAD2, "Voce nao tem essa quantia."); return true; } } if (borse >= 100 && borse < 200) { if(!PlayerToPoint(100, playerid,SBizzInfo[borse-100][sbEntranceX],SBizzInfo[borse-100][sbEntranceY],SBizzInfo[borse-100][sbEntranceZ])) { SendClientMessage(playerid, COLOR_GRAD2, " Sua empresa esta longe de voce."); return true; } else { GiveDinheiro(playerid,cashdeposit); SBizzInfo[borse-100][sbTill] -= cashdeposit; format(string, sizeof(string), "Voce retirou R$%d de sua empresa - restante: R$%d ", cashdeposit,SBizzInfo[borse-100][sbTill]); SendClientMessage(playerid, COLOR_YELLOW, string); SalvarSEmpresa(borse-100); Atualizar3Dtexts(); } } if (borse < 100) { if (!PlayerToPoint(100, playerid,BizzInfo[borse][bExitX],BizzInfo[borse][bExitY],BizzInfo[borse][bExitZ])) { SendClientMessage(playerid, COLOR_GRAD2, " Sua empresa esta longe de voce."); return true; } else { GiveDinheiro(playerid,cashdeposit); BizzInfo[borse][bTill] -= cashdeposit; format(string, sizeof(string), "Voce retirou R$%d de sua empresa - restante: R$%d ", cashdeposit,BizzInfo[borse][bTill]); SendClientMessage(playerid, COLOR_YELLOW, string); SalvarEmpresa(borse); Atualizar3Dtexts(); } } return true; } CMD:sacarfazenda(playerid, params[]) { new borse = PlayerInfo[playerid][pPFazkey]; if (borse == 255) { SendClientMessage(playerid, COLOR_GRAD2, " Voce nao tem uma Empresa"); return true; } new quant; new string[128]; if(sscanf(params, "d", quant)) { if (borse < 255) { format(string, sizeof(string), " Voce tem R$%d no cofre da fazenda.", FBizzInfo[borse][fbTill]); SendClientMessage(playerid, COLOR_GRAD3, string); } SendClientMessage(playerid, COLOR_GRAD2, "USE: /sacarfazenda [quantidade]"); return true; } new cashdeposit = quant; if (borse < 255) { if(cashdeposit > FBizzInfo[borse][fbTill] || cashdeposit < 1) { SendClientMessage(playerid, COLOR_GRAD2, " Voce nao tem essa quantia em sua Fazenda."); return true; } } if (borse < 255) { if(!PlayerToPoint(100, playerid,FBizzInfo[borse][fbEntranceX],FBizzInfo[borse][fbEntranceY],FBizzInfo[borse][fbEntranceZ])) { SendClientMessage(playerid, COLOR_GRAD2, " Sua Fazenda esta longe de voce."); return true; } else { GiveDinheiro(playerid,cashdeposit); FBizzInfo[borse][fbTill] -= cashdeposit; format(string, sizeof(string), " Voce retirou R$%d de sua fazenda - restante: R$%d ", cashdeposit,FBizzInfo[borse][fbTill]); SendClientMessage(playerid, COLOR_YELLOW, string); SalvarFEmpresa(borse); Atualizar3Dtexts(); } } return true; } CMD:depositarempresa(playerid, params[]) { new borse = PlayerInfo[playerid][pPbiskey]; if (borse == 255) { SendClientMessage(playerid, COLOR_GRAD2, "Voce nao tem uma empresa."); return true; } new quant; new string[128]; if(sscanf(params, "d", quant)) { if (borse >= 100 && borse < 200) { format(string, sizeof(string), "Voce tem R$%d de saldo em sua empresa.", SBizzInfo[borse-100][sbTill]); SendClientMessage(playerid, COLOR_GRAD3, string); } if (borse < 100) { format(string, sizeof(string), "Voce tem R$%d de saldo em sua empresa.", BizzInfo[borse][bTill]); SendClientMessage(playerid, COLOR_GRAD3, string); } SendClientMessage(playerid, COLOR_GRAD2, "USE: /depositarempresa [quantidade]"); return true; } new cashdeposit = quant; if (cashdeposit > GetPlayerMoney(playerid) || cashdeposit < 1) { SendClientMessage(playerid, COLOR_GRAD2, "Voce nao tem tanto"); return true; } if (borse >= 100) { if(!PlayerToPoint(100, playerid,SBizzInfo[borse-100][sbEntranceX],SBizzInfo[borse-100][sbEntranceY],SBizzInfo[borse-100][sbEntranceZ])) { SendClientMessage(playerid, COLOR_GRAD2, "Voce esta longe de sua empresa"); return true; } else { GiveDinheiro(playerid,-cashdeposit); SBizzInfo[borse-100][sbTill] += cashdeposit; format(string, sizeof(string), "Voce guardou R$%d no cofre de sua empresa. O saldo de sua empresa: R$%d", cashdeposit,SBizzInfo[borse-100][sbTill]); SendClientMessage(playerid, COLOR_YELLOW, string); SalvarSEmpresa(borse-100); Atualizar3Dtexts(); } } if (borse < 100) { if (!PlayerToPoint(100, playerid,BizzInfo[borse][bExitX],BizzInfo[borse][bExitY],BizzInfo[borse][bExitZ])) { SendClientMessage(playerid, COLOR_GRAD2, "Voce esta longe de sua empresa"); return true; } else { GiveDinheiro(playerid,-cashdeposit); BizzInfo[borse][bTill] += cashdeposit; format(string, sizeof(string), "Voce depositou R$%d no cofre de sua empresa Total: R$%d", cashdeposit,BizzInfo[borse][bTill]); SendClientMessage(playerid, COLOR_YELLOW, string); SalvarEmpresa(borse); Atualizar3Dtexts(); } } return true; } CMD:depositarfazenda(playerid, params[]) { new borse = PlayerInfo[playerid][pPFazkey]; if (borse == 255) { SendClientMessage(playerid, COLOR_GRAD2, "Voce nao tem uma Fazenda."); return true; } new quant; new string[128]; if(sscanf(params, "d", quant)) { if (borse < 255) { format(string, sizeof(string), "Voce tem R$%d de saldo em sua Fazenda.", FBizzInfo[borse][fbTill]); SendClientMessage(playerid, COLOR_GRAD3, string); } SendClientMessage(playerid, COLOR_GRAD2, "USE: /depositarfazenda [quantidade]"); return true; } new cashdeposit = quant; if (cashdeposit > GetPlayerMoney(playerid) || cashdeposit < 1) { SendClientMessage(playerid, COLOR_GRAD2, "Voce nao tem tanto"); return true; } if (borse < 255) { if(!PlayerToPoint(100, playerid,FBizzInfo[borse-200][fbEntranceX],FBizzInfo[borse-200][fbEntranceY],FBizzInfo[borse-200][fbEntranceZ])) { SendClientMessage(playerid, COLOR_GRAD2, "Voce esta longe de sua fazenda"); return true; } else { GiveDinheiro(playerid,-cashdeposit); FBizzInfo[borse][fbTill] += cashdeposit; format(string, sizeof(string), "Voce guardou R$%d no cofre de sua fazenda. O saldo de sua fazenda: R$%d", cashdeposit,FBizzInfo[borse-200][fbTill]); SendClientMessage(playerid, COLOR_YELLOW, string); SalvarFEmpresa(borse); Atualizar3Dtexts(); } } return true; } CMD:tunarautoadm(playerid) { { { if(PlayerInfo[playerid][pAdmin] < 1337 ) return SCM(playerid, COLOR_GRAD1, LEVELADM); if(admtrampando[playerid] != 1 && PlayerInfo[playerid][pAdmin] < 1340) return SCM(playerid, COLOR_GRAD1, #Você so pode usar esse comando em modo trabalho.); if(!IsPlayerInAnyVehicle(playerid)) { SendClientMessage(playerid,-1,"{0099FF}(INFO){CCCCFF} Voce nao consegue tunar seu proprio corpo."); } new var5 = 0; var5 = GetPlayerVehicleID(playerid); if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 562) { AddVehicleComponent(var5, 1046); AddVehicleComponent(var5, 1171); AddVehicleComponent(var5, 1149); AddVehicleComponent(var5, 1035); AddVehicleComponent(var5, 1147); AddVehicleComponent(var5, 1036); AddVehicleComponent(var5, 1040); ChangeVehiclePaintjob(var5, 4); ChangeVehicleColor(var5, 6, 6); AddVehicleComponent(var5, 1010); AddVehicleComponent(var5, 1097); AddVehicleComponent(var5, 1087); } if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 560) { AddVehicleComponent(var5, 1028); AddVehicleComponent(var5, 1169); AddVehicleComponent(var5, 1141); AddVehicleComponent(var5, 1032); AddVehicleComponent(var5, 1138); AddVehicleComponent(var5, 1026); AddVehicleComponent(var5, 1027); ChangeVehiclePaintjob(var5, 0); AddVehicleComponent(var5, 1010); AddVehicleComponent(var5, 1097); AddVehicleComponent(var5, 1087); } if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 565) { AddVehicleComponent(var5, 1046); AddVehicleComponent(var5, 1153); AddVehicleComponent(var5, 1150); AddVehicleComponent(var5, 1054); AddVehicleComponent(var5, 1049); AddVehicleComponent(var5, 1047); AddVehicleComponent(var5, 1051); AddVehicleComponent(var5, 1010); AddVehicleComponent(var5, 1097); AddVehicleComponent(var5, 1087); ChangeVehiclePaintjob(var5, 4); } if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 559) { AddVehicleComponent(var5, 1065); AddVehicleComponent(var5, 1160); AddVehicleComponent(var5, 1159); AddVehicleComponent(var5, 1067); AddVehicleComponent(var5, 1162); AddVehicleComponent(var5, 1069); AddVehicleComponent(var5, 1071); AddVehicleComponent(var5, 1010); AddVehicleComponent(var5, 1097); AddVehicleComponent(var5, 1087); ChangeVehiclePaintjob(var5, 4); } if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 561) { AddVehicleComponent(var5, 1064); AddVehicleComponent(var5, 1155); AddVehicleComponent(var5, 1154); AddVehicleComponent(var5, 1055); AddVehicleComponent(var5, 1158); AddVehicleComponent(var5, 1056); AddVehicleComponent(var5, 1062); AddVehicleComponent(var5, 1010); AddVehicleComponent(var5, 1097); AddVehicleComponent(var5, 1087); ChangeVehiclePaintjob(var5, 4); } if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 558) { AddVehicleComponent(var5, 1089); AddVehicleComponent(var5, 1166); AddVehicleComponent(var5, 1168); AddVehicleComponent(var5, 1088); AddVehicleComponent(var5, 1164); AddVehicleComponent(var5, 1090); AddVehicleComponent(var5, 1094); AddVehicleComponent(var5, 1010); AddVehicleComponent(var5, 1097); AddVehicleComponent(var5, 1087); ChangeVehiclePaintjob(var5, 4); } if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 575) { AddVehicleComponent(var5, 1044); AddVehicleComponent(var5, 1174); AddVehicleComponent(var5, 1176); AddVehicleComponent(var5, 1042); AddVehicleComponent(var5, 1099); AddVehicleComponent(var5, 1010); AddVehicleComponent(var5, 1097); AddVehicleComponent(var5, 1087); ChangeVehiclePaintjob(var5, 4); } if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 534) { AddVehicleComponent(var5, 1126); AddVehicleComponent(var5, 1179); AddVehicleComponent(var5, 1180); AddVehicleComponent(var5, 1122); AddVehicleComponent(var5, 1101); AddVehicleComponent(var5, 1125); AddVehicleComponent(var5, 1123); AddVehicleComponent(var5, 1100); AddVehicleComponent(var5, 1010); AddVehicleComponent(var5, 1097); AddVehicleComponent(var5, 1087); ChangeVehiclePaintjob(var5, 4); } if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 536) { AddVehicleComponent(var5, 1104); AddVehicleComponent(var5, 1182); AddVehicleComponent(var5, 1184); AddVehicleComponent(var5, 1108); AddVehicleComponent(var5, 1107); AddVehicleComponent(var5, 1010); AddVehicleComponent(var5, 1097); AddVehicleComponent(var5, 1087); ChangeVehiclePaintjob(var5, 4); } if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 567) { AddVehicleComponent(var5, 1129); AddVehicleComponent(var5, 1189); AddVehicleComponent(var5, 1187); AddVehicleComponent(var5, 1102); AddVehicleComponent(var5, 1133); AddVehicleComponent(var5, 1010); AddVehicleComponent(var5, 1097); AddVehicleComponent(var5, 1087); ChangeVehiclePaintjob(var5, 4); } if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 420) { AddVehicleComponent(var5, 1010); AddVehicleComponent(var5, 1087); AddVehicleComponent(var5, 1097); AddVehicleComponent(var5, 1139); AddVehicleComponent(var5, 1147); } if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 400) { AddVehicleComponent(var5, 1010); AddVehicleComponent(var5, 1087); AddVehicleComponent(var5, 1018); AddVehicleComponent(var5, 1013); AddVehicleComponent(var5, 1097); AddVehicleComponent(var5, 1086); } if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 444) { AddVehicleComponent(var5, 1010); AddVehicleComponent(var5, 1097); } if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 556) { AddVehicleComponent(var5, 1010); AddVehicleComponent(var5, 1097); } if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 557) { AddVehicleComponent(var5, 1010); AddVehicleComponent(var5, 1097); } if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 401) { AddVehicleComponent(var5, 1086); AddVehicleComponent(var5, 1139); AddVehicleComponent(var5, 1097); AddVehicleComponent(var5, 1010); AddVehicleComponent(var5, 1087); AddVehicleComponent(var5, 1012); AddVehicleComponent(var5, 1013); AddVehicleComponent(var5, 1042); AddVehicleComponent(var5, 1043); AddVehicleComponent(var5, 1018); AddVehicleComponent(var5, 1006); AddVehicleComponent(var5, 1007); AddVehicleComponent(var5, 1017); } if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 576) { ChangeVehiclePaintjob(var5, 0); AddVehicleComponent(var5, 1191); AddVehicleComponent(var5, 1193); AddVehicleComponent(var5, 1010); AddVehicleComponent(var5, 1018); AddVehicleComponent(var5, 1097); AddVehicleComponent(var5, 1087); AddVehicleComponent(var5, 1134); AddVehicleComponent(var5, 1137); } else { AddVehicleComponent(var5, 1010); AddVehicleComponent(var5, 1097); AddVehicleComponent(var5, 1087); } } } return 1; }/* CMD:desbugar(playerid, params[]){ if(IsPlayerConnected(playerid)){ if(UsouDesbugar[playerid]) { SendClientMessage(playerid, -1, "Voce ja usou o /desbugar !"); SendClientMessage(playerid, -1, "Se ainda tiver bugado porfavor relogue."); } new Float:Pxx = 0.000000, Float:Pyy = 0.000000, Float:Pzz = 0.000000, Float:Paa = 0.000000; SetTimerEx("usouDesbugar", 1000 * 60 * 5, false, "i", playerid); GetPlayerPos(playerid, Pxx, Pyy, Pzz); GetPlayerFacingAngle(playerid, Paa); UsouDesbugar[playerid] = true; RemovePlayerFromVehicle(playerid); SetPlayerPos(playerid, Pxx, Pyy, (Pzz+3)); SetPlayerInterior(playerid, 0); TogglePlayerControllableEx(playerid,1); SendClientMessage(playerid, -1, "Voce foi desbugado!"); SendClientMessage(playerid, -1, "{00FF00}[Aviso] Esse comando so deve ser usado fora de interiores, ou continuara bugado!"); } return 1; }*/ CMD:tunar(playerid) { if(gPlayerLogged[playerid] == 0)return 1; if(PlayerToPoint(5, playerid, 322.4243,-1826.7629,4.5470)) { if(IsPlayerInAnyVehicle(playerid)) { new Float:Velocity[3]; GetVehicleVelocity(GetPlayerVehicleID(playerid), Velocity[0], Velocity[1], Velocity[2]); if(GetPlayerSpeed(playerid, true) <= 2) { if(IsAMoto(GetPlayerVehicleID(playerid))) { GameTextForPlayer(playerid, "~w~Motos Nao podem ser tunadas", 5000, 5); return 1; } MenuTuning(playerid); } else { SCM(playerid, COLOR_ERRO, "Voce precisa estar parado!"); } } else { SCM(playerid, COLOR_ERRO, "Voce nao esta em um veiculo."); } } else { SCM(playerid, COLOR_ERRO, "Voce nao esta no local que tuna veiculos!"); } return 1; } CMD:tunarvip(playerid) { if(gPlayerLogged[playerid] == 0)return 1; if(PlayerInfo[playerid][pVIP] < 1) { SendClientMessage(playerid, COLOR_GREY, "Apenas players VIP's podem tunar carros!"); return true; } if(IsPlayerInAnyVehicle(playerid)) { new Float:Velocity[3]; GetVehicleVelocity(GetPlayerVehicleID(playerid), Velocity[0], Velocity[1], Velocity[2]); if(Velocity[0] == 0 && Velocity[1] == 0 && Velocity[2] == 0 && TunningOn[playerid] == 0) { if(IsAMoto(GetPlayerVehicleID(playerid))) { GameTextForPlayer(playerid, "~w~Motos Nao podem ser tunadas", 5000, 5); return 1; } if(IsPlayerInAnyVehicle(playerid)) { MenuTuning(playerid); } } } return 1; } stock MenuTuning(playerid) { switch(pmodelid[playerid]) { case 562,565,559,561,560,575,534,567,536,535,576,411,579,602,496,518,527,589,597,419, 533,526,474,545,517,410,600,436,580,439,549,491,445,604,507,585,587,466,492,546,551,516, 426, 547, 405, 409, 550, 566, 540, 421, 529,431,438,437,420,525,552,416,433,427,490,528, 407,544,470,598,596,599,601,428,499,609,524,578,486,406,573,455,588,403,514,423, 414,443,515,456,422,482,530,418,572,413,440,543,583,478,554,402,542,603,475,568,504,457, 483,508,429,541,415,480,434,506,451,555,477,400,404,489,479,442,458,467,558: { TunningOn[playerid] = 1; Controle(playerid, 0); TunC = playerid; new bool:isAndroid = PlayerInfo[playerid][gPlayerUsandoPlataformaID] == 0; if(isAndroid) { // return true; ShowPlayerDialog(playerid, 9898, DIALOG_STYLE_LIST, "Tuning", "Paint Jobs\n\ Cores\n\ Escapamentos\n\ ParaChoque Dian\n\ ParaChoque Trase\n\ Capo\n\ Aerofolios\n\ Saias Laterais\n\ Bullbars\n\ Rodas\n\ Som\n\ Proxima Pag", "Selecionar", "Fechar"); return true; } else { ShowMenuForPlayer(TuningMenu, playerid); } return SendClientMessage(playerid, COLOR_LIGHTBLUE, "[INFO] Use o ESPAcO e as SETAS."); } default: { Controle(playerid, 1); TunningOn[playerid] = 0; TunC = -1; return SendClientMessage(playerid, COLOR_LIGHTBLUE,"[ERRO] Voce nao pode tunar este veiculo."); } } return 1; } //-----------------------------------[HEAL]------------------------------------------------------------------------- CMD:vida(playerid, params[]) { new string[128]; GetPlayerName(playerid, sendername, sizeof(sendername)); new location = PlayerInfo[playerid][pLocal]; if(location != 255) { if(location < 99) { if(HouseInfo[location][hArm] == 1 && IsACop(playerid)) { format(string, sizeof(string), "* %s pega seu colete.", PlayerName(playerid)); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); Controle(playerid, 1); GetPlayerPos(playerid, Unspec[playerid][sPx], Unspec[playerid][sPy], Unspec[playerid][sPz]); Unspec[playerid][sPint] = PlayerInfo[playerid][pInt]; Unspec[playerid][sLocal] = PlayerInfo[playerid][pLocal]; SetPlayerPos(playerid,1527.5,-12.1,1002.0); PlayerInfo[playerid][pLocal] = 255; SetPlayerInterior(playerid,99); Spectate[playerid] = 257; } else if(HouseInfo[location][hHel] == 1) { SetPlayerHealth(playerid,100.0); PlayerInfo[playerid][pDoenca] = 0; SetPlayerDrunkLevel (playerid, 0); PlayerPlaySound(playerid, 1150, 0.0, 0.0, 0.0); SendClientMessage(playerid, COLOR_LIGHTBLUE,"Voce foi curado."); } else { SendClientMessage(playerid, COLOR_GREY,"Este lugar nao tem lugar de se curar."); } return true; } else if(location == 101)//Restaurant { SetPlayerHealth(playerid,100.0); SetPlayerArmour(playerid,100.0); PlayerInfo[playerid][pDoenca] = 0; SetPlayerDrunkLevel (playerid, 0); PlayerPlaySound(playerid, 1150, 0.0, 0.0, 0.0); SendClientMessage(playerid, COLOR_LIGHTBLUE,"Voce foi curado."); } else if(location == 102 && IsACop(playerid))//Police Armorry { SetPlayerHealth(playerid,100.0); format(string, sizeof(string), "* %s Foi Curado.", PlayerName(playerid)); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); Controle(playerid, 0); GetPlayerPos(playerid, Unspec[playerid][sPx], Unspec[playerid][sPy], Unspec[playerid][sPz]); Unspec[playerid][sPint] = PlayerInfo[playerid][pInt]; Unspec[playerid][sLocal] = PlayerInfo[playerid][pLocal]; SetPlayerPos(playerid,1527.5,-12.1,1002.0); PlayerInfo[playerid][pLocal] = 255; SetPlayerInterior(playerid,99); Spectate[playerid] = 257; } } new mon; if(sscanf(params, "ud", giveplayerid, mon)) { SendClientMessage(playerid, COLOR_GRAD2, "USE: /vida [ID do Player] [price]"); return true; } if(mon < 1 || mon > 1000) { SendClientMessage(playerid, COLOR_GREY, " O Preco nao pode passar de 1000 !"); print("Passou 1"); return true; } if (giveplayerid == playerid) { SendClientMessage(playerid, COLOR_GRAD1, "Voce nao pode se curar!"); return true; } if(!ProxDetectorS(10.0, playerid, giveplayerid))return SendClientMessage(playerid, COLOR_GRAD1, "O jogador esta muito longe de voce !"); if (IsPlayerConnected(giveplayerid)) { if(giveplayerid != INVALID_PLAYER_ID) { GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); if(PlayerInfo[playerid][pMembro]==4||PlayerInfo[playerid][pLider]==4||PlayerInfo[playerid][pMembro]==31||PlayerInfo[playerid][pLider]==31)//model { new Veh = GetPlayerVehicleID(playerid); print("Passou 2"); if(!IsPlayerInVehicle(playerid, Veh) && !IsPlayerInVehicle(giveplayerid, Veh)) { SendClientMessage(playerid, COLOR_GRAD1, "Voces dois precisam estar no veiculo!"); print("Passou 3"); return true; } if(IsAnAmbulanceCar(Veh) || IsAMedicosSFCar(Veh)) { print("Passou 4"); format(string, sizeof(string), "~y~Voce foi curado ~n~~w~%s~n~~g~R$%d", giveplayer,mon); GameTextForPlayer(giveplayerid, string, 5000, 1); GiveDinheiro(playerid,mon); GiveDinheiro(giveplayerid,-mon); new hp = 0; if(PlayerInfo[playerid][pPainPerk] > 0) { print("Passou 5"); hp = 20 * PlayerInfo[playerid][pPainPerk]; hp += 100; SetPlayerHealth(giveplayerid, hp); } else { print("Passou 6"); hp = 100; SetPlayerHealth(giveplayerid, 100); PlayerInfo[giveplayerid][pDoenca] = 0; } print("Passou 7"); PlayerPlaySound(playerid, 1150, 0.0, 0.0, 0.0); PlayerPlaySound(giveplayerid, 1150, 0.0, 0.0, 0.0); format(string, sizeof(string), "Voce foi curado pelo %s, %d de saude por -R$%d",NomePlayer(playerid), hp,mon); SendClientMessage(giveplayerid, COLOR_LIGHTBLUE,string); format(string, sizeof(string), "Voce curou o jogador %s e recebeu R$%d", NomePlayer(giveplayerid), mon); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); if(PlayerInfo[giveplayerid][pDoenca] > 0) { print("Passou 8"); PlayerInfo[giveplayerid][pDoenca] = 0; SendClientMessage(giveplayerid, COLOR_LIGHTBLUE, "* Voce nao esta infectado com nenhuma doenca, por causa de cuidados medicos!"); } } else { return SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Voce precisa estar em uma ambulância"); } } else { SendClientMessage(playerid, COLOR_GRAD1, "Voce nao esta autorizado a usar o comando!"); return true; } } } else { SendClientMessage(playerid, COLOR_GRAD1, " Esse jogador esta offline"); } return true; } stock CheckSlot() { for(new slot = 0; slot < MAX_MACONHA; slot++) { if(MaconhaInfo[slot][PodeUsar] == true) { MaconhaInfo[slot][PodeUsar] = false; return slot; } } return -1; } stock CountPlantacao(playerid) { new count = 0; for(new maconhaid=0;maconhaid < MAX_MACONHA;maconhaid++) { if(MaconhaInfo[maconhaid][PodeUsar] == false && strcmp(MaconhaInfo[maconhaid][Dono], NomePlayer(playerid), true)==0) { count++; } } return count; } CallBack::AnimatioN(playerid) { ApplyAnimationEx(playerid,"BOMBER","BOM_Plant_Loop",2.0,1,0,0,0,0); return true; } stock GetPlayerSpeedEx(playerid) { static Float: posS[ 3 ] ; if(!IsPlayerInAnyVehicle(playerid)) GetPlayerVelocity(playerid , posS [ 0 ] , posS [ 1 ] , posS [ 2 ] ) ; else GetVehicleVelocity(GetPlayerVehicleID(playerid) , posS [ 0 ] , posS [ 1 ] , posS [ 2 ] ) ; return floatround(floatmul(floatsqroot(floatadd(floatpower(posS[ 0 ] , 2 ) ,floatpower(posS [ 1 ] , 2 ))), 170.0)); } stock PertoMaconha(playerid) { new count = 0; for(new mac = 0; mac < MAX_MACONHA; mac++) { if(!MaconhaInfo[mac][PodeUsar] && IsPlayerInRangeOfPoint(playerid, 200.0, MaconhaInfo[mac][mX],MaconhaInfo[mac][mY],MaconhaInfo[mac][mZ])) { count++; } } return count; } // Sistema de acessorios stock CriarAcessorios(playerid){ format(Erquivo, sizeof Erquivo, "Acessorios/%s.ini", PlayerName(playerid)); if(!DOF2_FileExists(Erquivo)){ DOF2_CreateFile(Erquivo); } new str[22]; for(new i = 0; i != 10; ++i){ format(str, sizeof str, "Slot%d", i); DOF2_SetInt(Erquivo, str, 0); format(str, sizeof str, "Model%d",i); DOF2_SetInt(Erquivo, str, 0); format(str, sizeof str, "Local%d",i); DOF2_SetInt(Erquivo, str, 0); format(str, sizeof str, "aX%d",i); DOF2_SetFloat(Erquivo, str, 0); format(str, sizeof str, "aY%d",i); DOF2_SetFloat(Erquivo, str, 0); format(str, sizeof str, "aZ%d",i); DOF2_SetFloat(Erquivo, str, 0); format(str, sizeof str, "aRX%d",i); DOF2_SetInt(Erquivo, str, 0); format(str, sizeof str, "aRY%d",i); DOF2_SetInt(Erquivo, str, 0); format(str, sizeof str, "aRZ%d",i); DOF2_SetFloat(Erquivo, str, 0); format(str, sizeof str, "aTX%d",i); DOF2_SetFloat(Erquivo, str, 0); format(str, sizeof str, "aTY%d",i); DOF2_SetFloat(Erquivo, str, 0); format(str, sizeof str, "aTZ%d",i); DOF2_SetFloat(Erquivo, str, 0); } DOF2_SaveFile(); } stock CarregarAcessorios(playerid){ format(Erquivo, sizeof Erquivo, "Acessorios/%s.ini", PlayerName(playerid)); if(DOF2_FileExists(Erquivo)){ new str[22]; for(new i = 0; i != 10; ++i){ format(str, sizeof str, "Slot%d", i); AcessorioInfo[playerid][i][aSlot] = DOF2_GetInt(Erquivo, str); format(str, sizeof str, "Model%d", i); AcessorioInfo[playerid][i][aModel] = DOF2_GetInt(Erquivo, str); format(str, sizeof str, "Local%d", i); AcessorioInfo[playerid][i][aLocal] = DOF2_GetInt(Erquivo, str); format(str, sizeof str, "aX%d", i); AcessorioInfo[playerid][i][aX] = DOF2_GetFloat(Erquivo, str); format(str, sizeof str, "aY%d", i); AcessorioInfo[playerid][i][aY] = DOF2_GetFloat(Erquivo, str); format(str, sizeof str, "aZ%d", i); AcessorioInfo[playerid][i][aZ] = DOF2_GetFloat(Erquivo, str); format(str, sizeof str, "aRX%d", i); AcessorioInfo[playerid][i][aRX] = DOF2_GetFloat(Erquivo, str); format(str, sizeof str, "aRY%d", i); AcessorioInfo[playerid][i][aRY] = DOF2_GetFloat(Erquivo, str); format(str, sizeof str, "aRZ%d", i); AcessorioInfo[playerid][i][aRZ] = DOF2_GetFloat(Erquivo, str); format(str, sizeof str, "aTX%d", i); AcessorioInfo[playerid][i][aTX] = DOF2_GetFloat(Erquivo, str); format(str, sizeof str, "aTY%d", i); AcessorioInfo[playerid][i][aTY] = DOF2_GetFloat(Erquivo, str); format(str, sizeof str, "aTZ%d", i); AcessorioInfo[playerid][i][aTZ] = DOF2_GetFloat(Erquivo, str); } } } stock SalvarAcessorios(playerid){ if(gPlayerLogged[playerid] == 0) return 0; format(Erquivo, sizeof Erquivo, "Acessorios/%s.ini", PlayerName(playerid)); new str[22]; for(new i = 0; i != 10; i++){ format(str, sizeof str, "Slot%d", i); DOF2_SetInt(Erquivo, str, AcessorioInfo[playerid][i][aSlot]); format(str, sizeof str, "Model%d",i); DOF2_SetInt(Erquivo, str, AcessorioInfo[playerid][i][aModel]); format(str, sizeof str, "Local%d",i); DOF2_SetInt(Erquivo, str, AcessorioInfo[playerid][i][aLocal]); format(str, sizeof str, "aX%d",i); DOF2_SetFloat(Erquivo, str, AcessorioInfo[playerid][i][aX]); format(str, sizeof str, "aY%d",i); DOF2_SetFloat(Erquivo, str, AcessorioInfo[playerid][i][aY]); format(str, sizeof str, "aZ%d",i); DOF2_SetFloat(Erquivo, str, AcessorioInfo[playerid][i][aZ]); format(str, sizeof str, "aRX%d",i); DOF2_SetFloat(Erquivo, str, AcessorioInfo[playerid][i][aRX]); format(str, sizeof str, "aRY%d",i); DOF2_SetFloat(Erquivo, str, AcessorioInfo[playerid][i][aRY]); format(str, sizeof str, "aRZ%d",i); DOF2_SetFloat(Erquivo, str, AcessorioInfo[playerid][i][aRZ]); format(str, sizeof str, "aTX%d",i); DOF2_SetFloat(Erquivo, str, AcessorioInfo[playerid][i][aTX]); format(str, sizeof str, "aTY%d",i); DOF2_SetFloat(Erquivo, str, AcessorioInfo[playerid][i][aTY]); format(str, sizeof str, "aTZ%d",i); DOF2_SetFloat(Erquivo, str, AcessorioInfo[playerid][i][aTZ]); DOF2_SaveFile(); } return 1; } stock LocalAcessorio(number) { new str[18]; if(number == 0) format(str,18,"Nenhum"); if(number == 1) format(str,18,"Nenhum"); if(number == 1) format(str,18,"Espinha"); if(number == 2) format(str,18,"Cabeca"); if(number == 3) format(str,18,"Braco esquerdo"); if(number == 4) format(str,18,"Braco direito"); if(number == 5) format(str,18,"Mao esquerda"); if(number == 6) format(str,18,"Mao direita"); if(number == 7) format(str,18,"Pe esquerdo"); if(number == 8) format(str,18,"Panturrilha direita"); if(number == 9) format(str,18,"Panturrilha esquerda"); if(number == 10) format(str,18,"Antebraco esquerdo"); if(number == 11) format(str,18,"Antebraco direito"); if(number == 12) format(str,18,"Ombro esquerdo"); if(number == 13) format(str,18,"Ombro direito"); if(number == 14) format(str,18,"Pescoco"); if(number == 14) format(str,18,"Mandibula"); return str; } stock CriarInventario(playerid){ format(Erquivo, sizeof Erquivo, "Inventario/%s.ini", PlayerName(playerid)); if(!DOF2_FileExists(Erquivo)){ DOF2_CreateFile(Erquivo); } new str[22]; for(new i = 0; i != 75; ++i){ format(str, sizeof str, "Slot%d", i); DOF2_SetInt(Erquivo, str, 19382); format(str, sizeof str, "Unidades%d",i); DOF2_SetInt(Erquivo, str, 0); } DOF2_SaveFile(); return 1; } stock CarregarInventario(playerid){ format(Erquivo, sizeof Erquivo, "Inventario/%s.ini", PlayerName(playerid)); if(DOF2_FileExists(Erquivo)){ new str[22]; for(new i = 0; i != 75; ++i){ format(str, sizeof str, "Slot%d", i); InventarioInfo[playerid][i][iSlot] = DOF2_GetInt(Erquivo, str); format(str, sizeof str, "Unidades%d", i); InventarioInfo[playerid][i][iUnidades] = DOF2_GetInt(Erquivo, str); } } return 1; } stock SalvarInventario(playerid){ if(gPlayerLogged[playerid] == 1) { format(Erquivo, sizeof Erquivo, "Inventario/%s.ini", PlayerName(playerid)); new str[22]; for(new i = 0; i != 75; i++){ format(str, sizeof str, "Slot%d", i); DOF2_SetInt(Erquivo, str, InventarioInfo[playerid][i][iSlot]); format(str, sizeof str, "Unidades%d",i); DOF2_SetInt(Erquivo, str, InventarioInfo[playerid][i][iUnidades]); } DOF2_SaveFile(); } return 1; } stock AbrirInventario(playerid){ // PC if(PlayerInfo[playerid][gPlayerUsandoPlataformaID] == 1) { for(new i = 0; i != 7; i++){ PlayerTextDrawShow(playerid, invText[playerid][i]); } if(!IsPlayerInAnyVehicle(playerid)){ //ApplyAnimationEx(playerid, "BOMBER", "BOM_Plant_Loop", 4.1, 1, 0, 0, 0, 0, 1); SetPlayerAttachedObject_Droid(playerid, 9, 19559, 5, 0.073999, 0.111999, 0.091000, -152.600006, -2.80008, 121.500045, 1, 1, 1); } SelectTextDraw(playerid, 0x00FFFFFF); new str[256]; format(str,300,"Pagina_%d-5",PaginaInventario[playerid]); PlayerTextDrawSetString(playerid,invText[playerid][4],str); new itens; for(new i = 0; i < 75; i++){ if(InventarioInfo[playerid][i][iSlot] != 19382) itens++; format(str, sizeof str, "Inventario_de:_~b~~h~%s_~w~Itens:_~b~~h~%d/75", PlayerName(playerid), itens); PlayerTextDrawSetString(playerid, invText[playerid][5], str); } InventarioAberto[playerid] = 1; if(PaginaInventario[playerid] == 1){ for(new i=0; i < 15; i++){ if(InventarioInfo[playerid][i][iUnidades] > 0){ format(str, sizeof str, "%s ~b~~h~%d", NomeItemInventario(InventarioInfo[playerid][i][iSlot]), InventarioInfo[playerid][i][iUnidades]); PlayerTextDrawSetString(playerid, invName[playerid][i], str); PlayerTextDrawShow(playerid, invName[playerid][i]); } PlayerTextDrawSetPreviewModel(playerid, invPreview[playerid][i], InventarioInfo[playerid][i][iSlot]); PlayerTextDrawShow(playerid, invPreview[playerid][i]); if(InventarioInfo[playerid][i][iSlot] == 19382){ PlayerTextDrawSetPreviewModel(playerid, invPreview[playerid][i], 18631); PlayerTextDrawShow(playerid, invPreview[playerid][i]); } } } if(PaginaInventario[playerid] == 2){ for(new i = 15; i < 30; i++){ if(InventarioInfo[playerid][i][iUnidades] > 0){ format(str, sizeof str, "%s ~b~~h~%d", NomeItemInventario(InventarioInfo[playerid][i][iSlot]), InventarioInfo[playerid][i][iUnidades]); PlayerTextDrawSetString(playerid, invName[playerid][i], str); PlayerTextDrawShow(playerid, invName[playerid][i]); } PlayerTextDrawSetPreviewModel(playerid, invPreview[playerid][i], InventarioInfo[playerid][i][iSlot]); PlayerTextDrawShow(playerid, invPreview[playerid][i]); if(InventarioInfo[playerid][i][iSlot] == 19382){ PlayerTextDrawSetPreviewModel(playerid, invPreview[playerid][i], 18631); PlayerTextDrawShow(playerid, invPreview[playerid][i]); } } } if(PaginaInventario[playerid] == 3){ for(new i=30; i != 45; i++){ if(InventarioInfo[playerid][i][iUnidades] > 0){ format(str, sizeof str, "%s ~b~~h~%d", NomeItemInventario(InventarioInfo[playerid][i][iSlot]), InventarioInfo[playerid][i][iUnidades]); PlayerTextDrawSetString(playerid, invName[playerid][i], str); PlayerTextDrawShow(playerid, invName[playerid][i]); } PlayerTextDrawSetPreviewModel(playerid, invPreview[playerid][i], InventarioInfo[playerid][i][iSlot]); PlayerTextDrawShow(playerid, invPreview[playerid][i]); if(InventarioInfo[playerid][i][iSlot] == 19382){ PlayerTextDrawSetPreviewModel(playerid, invPreview[playerid][i], 18631); PlayerTextDrawShow(playerid, invPreview[playerid][i]); } } } if(PaginaInventario[playerid] == 4){ for(new i=45; i != 60; i++){ if(InventarioInfo[playerid][i][iUnidades] > 0){ format(str, sizeof str, "%s ~b~~h~%d", NomeItemInventario(InventarioInfo[playerid][i][iSlot]), InventarioInfo[playerid][i][iUnidades]); PlayerTextDrawSetString(playerid, invName[playerid][i], str); PlayerTextDrawShow(playerid, invName[playerid][i]); } PlayerTextDrawSetPreviewModel(playerid, invPreview[playerid][i], InventarioInfo[playerid][i][iSlot]); PlayerTextDrawShow(playerid, invPreview[playerid][i]); if(InventarioInfo[playerid][i][iSlot] == 19382){ PlayerTextDrawSetPreviewModel(playerid, invPreview[playerid][i], 18631); PlayerTextDrawShow(playerid, invPreview[playerid][i]); } } } if(PaginaInventario[playerid] == 5){ for(new i=60; i != 75; i++){ if(InventarioInfo[playerid][i][iUnidades] > 0){ format(str, sizeof str, "%s ~b~~h~%d", NomeItemInventario(InventarioInfo[playerid][i][iSlot]), InventarioInfo[playerid][i][iUnidades]); PlayerTextDrawSetString(playerid, invName[playerid][i], str); PlayerTextDrawShow(playerid, invName[playerid][i]); } PlayerTextDrawSetPreviewModel(playerid, invPreview[playerid][i], InventarioInfo[playerid][i][iSlot]); PlayerTextDrawShow(playerid, invPreview[playerid][i]); if(InventarioInfo[playerid][i][iSlot] == 19382){ PlayerTextDrawSetPreviewModel(playerid, invPreview[playerid][i], 18631); PlayerTextDrawShow(playerid, invPreview[playerid][i]); } } } } return 1; } stock FecharInventario(playerid){ if(!IsPlayerInAnyVehicle(playerid)) ClearAnimations(playerid); if(!IsPlayerInAnyVehicle(playerid)) SetPlayerSpecialAction(playerid,SPECIAL_ACTION_NONE); RemovePlayerAttachedObject(playerid, 9); ClearAnimations(playerid); InventarioAberto[playerid] = 0; for(new i = 0; i != 7; i++){ PlayerTextDrawHide(playerid, invText[playerid][i]); } for(new i = 0; i != 75; i++){ PlayerTextDrawHide(playerid, invPreview[playerid][i]); PlayerTextDrawHide(playerid, invName[playerid][i]); } ClearAnimations(playerid); ClearAnimations(playerid); ClearAnimations(playerid); return 1; } //======================= Sistema de Caixa de itens ================== stock CarregarCaixas() { new Filea[40]; new str[30]; for(new i; i<1000; i++) { format(Filea,40,"Caixas/Caixa_%d.ini",i); if(DOF2_FileExists(Filea)) { for(new o; o<50; o++) { format(str,30,"CaixaItem%d",o); SistemaCaixa[i][CaixaItem][o] = DOF2_GetInt(Filea,str); format(str,30,"CaixaUnidades%d",o); SistemaCaixa[i][CaixaUnidades][o] = DOF2_GetInt(Filea,str); } format(SistemaCaixa[i][CaixaDono],40,DOF2_GetString(Filea,"CaixaDono")); //format(SistemaCaixa[i][CaixaText],300,"{CD853F}• {FFFFFF}Caixa de Itens{CD853F} •\n{CD853F}Dono: {FFFFFF}%s\n{CD853F}Itens: {FFFFFF}%d/50\nAperte ' {CD853F}F{FFFFFF} ' para usar.",SistemaCaixa[i][CaixaDono],ItemsCaixa(i)); format(SistemaCaixa[i][CaixaText],300,"Caixa de Itens\n\n\ Proprietario: {00FFFF}%s\n\ {FFFFFF}Itens: {00FFFF}%d/50\n\n\ {FFFFFF}Aperte a letra {00aaff}F{FFFFFF} para usar",SistemaCaixa[i][CaixaDono],ItemsCaixa(i)); //format(SistemaCaixa[i][CaixaText],300,DOF2_GetString(Filea,"CaixaText")); SistemaCaixa[i][CaixaInterior] = DOF2_GetInt(Filea,"CaixaInterior"); SistemaCaixa[i][CaixaBaixada] = DOF2_GetInt(Filea,"CaixaBaixada"); SistemaCaixa[i][CaixaX] = DOF2_GetFloat(Filea,"CaixaX"); SistemaCaixa[i][CaixaY] = DOF2_GetFloat(Filea,"CaixaY"); SistemaCaixa[i][CaixaZ] = DOF2_GetFloat(Filea,"CaixaZ"); SistemaCaixa[i][CaixaRX] = DOF2_GetFloat(Filea,"CaixaRX"); SistemaCaixa[i][CaixaRY] = DOF2_GetFloat(Filea,"CaixaRY"); SistemaCaixa[i][CaixaRZ] = DOF2_GetFloat(Filea,"CaixaRZ"); SistemaCaixa[i][CaixaObj] = CreateDynamicObject(1271, SistemaCaixa[i][CaixaX],SistemaCaixa[i][CaixaY], SistemaCaixa[i][CaixaZ], SistemaCaixa[i][CaixaRX], SistemaCaixa[i][CaixaRY], SistemaCaixa[i][CaixaRZ], SistemaCaixa[i][CaixaBaixada], SistemaCaixa[i][CaixaInterior], -1, 800.0); SistemaCaixa[i][Caixa3d] = CreateDynamic3DTextLabel(SistemaCaixa[i][CaixaText], -1, SistemaCaixa[i][CaixaX],SistemaCaixa[i][CaixaY], SistemaCaixa[i][CaixaZ], 30, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 0, SistemaCaixa[i][CaixaBaixada], SistemaCaixa[i][CaixaInterior], -1, 100.0); } } return 1; } stock SalvarCaixas() { new Filea[40]; new str[30]; for(new i; i<1000; i++) { format(Filea,40,"Caixas/Caixa_%d.ini",i); if(IsValidDynamicObject( SistemaCaixa[i][CaixaObj] )) { for(new o; o<50; o++) { format(str,30,"CaixaItem%d",o); DOF2_SetInt(Filea,str,SistemaCaixa[i][CaixaItem][o]); format(str,30,"CaixaUnidades%d",o); DOF2_SetInt(Filea,str,SistemaCaixa[i][CaixaUnidades][o]); } DOF2_SetString(Filea,"CaixaDono",SistemaCaixa[i][CaixaDono]); //DOF2_SetString(Filea,"CaixaText",SistemaCaixa[i][CaixaText]); DOF2_SetInt(Filea,"CaixaInterior",SistemaCaixa[i][CaixaInterior]); DOF2_SetInt(Filea,"CaixaBaixada",SistemaCaixa[i][CaixaBaixada]); DOF2_SetFloat(Filea,"CaixaX", SistemaCaixa[i][CaixaX]); DOF2_SetFloat(Filea,"CaixaY", SistemaCaixa[i][CaixaY]); DOF2_SetFloat(Filea,"CaixaZ", SistemaCaixa[i][CaixaZ]); DOF2_SetFloat(Filea,"CaixaRX", SistemaCaixa[i][CaixaRX]); DOF2_SetFloat(Filea,"CaixaRY", SistemaCaixa[i][CaixaRY]); DOF2_SetFloat(Filea,"CaixaRZ", SistemaCaixa[i][CaixaRZ]); } } return 1; } stock ItemsCaixa(caix) { new aaa; for(new i; i<50; i++) { if(SistemaCaixa[caix][CaixaItem][i] != 19382) { aaa ++; } } return aaa; } stock salvarcaixa(i) { new Filea[40]; new str[30]; format(Filea,40,"Caixas/Caixa_%d.ini",i); if(IsValidDynamicObject( SistemaCaixa[i][CaixaObj] )) { for(new o; o<50; o++) { format(str,30,"CaixaItem%d",o); DOF2_SetInt(Filea,str,SistemaCaixa[i][CaixaItem][o]); format(str,30,"CaixaUnidades%d",o); DOF2_SetInt(Filea,str,SistemaCaixa[i][CaixaUnidades][o]); } DOF2_SetString(Filea,"CaixaDono",SistemaCaixa[i][CaixaDono]); //DOF2_SetString(Filea,"CaixaText",SistemaCaixa[i][CaixaText]); DOF2_SetInt(Filea,"CaixaInterior",SistemaCaixa[i][CaixaInterior]); DOF2_SetInt(Filea,"CaixaBaixada",SistemaCaixa[i][CaixaBaixada]); DOF2_SetFloat(Filea,"CaixaX", SistemaCaixa[i][CaixaX]); DOF2_SetFloat(Filea,"CaixaY", SistemaCaixa[i][CaixaY]); DOF2_SetFloat(Filea,"CaixaZ", SistemaCaixa[i][CaixaZ]); DOF2_SetFloat(Filea,"CaixaRX", SistemaCaixa[i][CaixaRX]); DOF2_SetFloat(Filea,"CaixaRY", SistemaCaixa[i][CaixaRY]); DOF2_SetFloat(Filea,"CaixaRZ", SistemaCaixa[i][CaixaRZ]); } return 1; } stock NomeItemInventario(idx) { new nomedoitem[100]; format( nomedoitem, 100, "Desconhecido"); if(idx == 0) format( nomedoitem, 50, "Desconhecido"); if(idx == 1314) format( nomedoitem, 50, "Criar Familia"); if(idx == 19941) format( nomedoitem, 50, "Respeito"); if(idx == 1212) format( nomedoitem, 50, "Dinheiro"); if(idx == 1650) format( nomedoitem, 50, "Gasolina"); if(idx == 2226) format( nomedoitem, 50, "JBL"); if(idx == 18976) format( nomedoitem, 50, "Capacete"); if(idx == 980) format( nomedoitem, 50, "Portao"); if(idx == 11738) format( nomedoitem, 50, "Remedio pequeno"); if(idx == 11739) format( nomedoitem, 50, "Remedio Normal"); if(idx == 11736) format( nomedoitem, 50, "MedKit"); if(idx == 1271) format( nomedoitem, 50, "Caixa de Itens"); if(idx == 19570) format( nomedoitem, 50, "Garrafa d'Agua"); if(idx == 1581) format( nomedoitem, 50, "Titulo Personalizado"); if(idx == 2881) format( nomedoitem, 50, "Pizza"); if(idx == 2768) format( nomedoitem, 50, "Hamburguer"); if(idx == 19562) format( nomedoitem, 50, "Cereal"); if(idx == 1654) format( nomedoitem, 50, "Explosivo"); if(idx == 2919) format( nomedoitem, 50, "Bolsa Tunning"); if(idx == 19054) format( nomedoitem, 50, "Caixa Surpresa Pequena"); if(idx == 19058) format( nomedoitem, 50, "Caixa Surpresa Gigante"); if(idx == 19055) format( nomedoitem, 50, "Caixa Surpresa Media"); if(idx == 19057) format( nomedoitem, 50, "Caixa Surpresa Extreme"); if(idx == 19056) format( nomedoitem, 50, "Caixa Surpresa Grande"); if(idx == 19060) format( nomedoitem, 50, "Caixa Surpresa Natal"); if(idx == 19059) format( nomedoitem, 50, "Caixa Surpresa Reveillon"); if(idx == 1210) format( nomedoitem, 50, "Maleta"); if(idx == 11733) format( nomedoitem, 50, "Cavalo"); if(idx == 11735) format( nomedoitem, 50, "Bota"); if(idx == 3016) format( nomedoitem, 50, "Caixa de Equipamentos P"); if(idx == 3052) format( nomedoitem, 50, "Caixa de Equipamentos M"); if(idx == 3014) format( nomedoitem, 50, "Caixa de Equipamentos G"); if(idx == 441) format( nomedoitem, 50, "RC Bandit"); if(idx == 564) format( nomedoitem, 50, "RC Tiger"); if(idx == 465) format( nomedoitem, 50, "RC Raider"); if(idx == 464) format( nomedoitem, 50, "RC Baron"); if(idx == 370) format( nomedoitem, 50, "JetPack"); if(idx == 2901) format( nomedoitem, 50, "Semente de Maconha"); if(idx == 1609) format( nomedoitem, 50, "Tartaruga"); //itens novos if(idx == 18632) format( nomedoitem, 50, "Vara de Pescar"); if(idx == 18637) format( nomedoitem, 50, "Escudo de Policia"); if(idx == 18638) format( nomedoitem, 50, "Capacete"); if(idx == 18639) format( nomedoitem, 50, "Bone Preto"); if(idx == 18642) format( nomedoitem, 50, "Taser"); if(idx == 18643) format( nomedoitem, 50, "Laser Vermelho"); if(idx == 19080) format( nomedoitem, 50, "Laser Azul"); if(idx == 19081) format( nomedoitem, 50, "Laser Rosa"); if(idx == 19082) format( nomedoitem, 50, "Laser Laranja"); if(idx == 19083) format( nomedoitem, 50, "Laser Verde"); if(idx == 19084) format( nomedoitem, 50, "Laser Amarelo"); if(idx == 18644) format( nomedoitem, 50, "Chave de Fenda"); if(idx == 18875) format( nomedoitem, 50, "Pager"); if(idx == 18890) format( nomedoitem, 50, "Rastelo"); if(idx == 18921) format( nomedoitem, 50, "Boina Azul"); if(idx == 18922) format( nomedoitem, 50, "Boina Vermelha"); if(idx == 18923) format( nomedoitem, 50, "Boina Azul claro"); if(idx == 18924) format( nomedoitem, 50, "Boina Exercito"); if(idx == 18925) format( nomedoitem, 50, "Boina Vermelha rara"); if(idx == 18952) format( nomedoitem, 50, "Capacete Boxe"); if(idx == 18953) format( nomedoitem, 50, "Gorro"); if(idx == 18954) format( nomedoitem, 50, "Gorro raro"); if(idx > 19064 && idx < 19066) format( nomedoitem, 50, "Gorro de Natal"); if(idx == 3524) format( nomedoitem, 50, "Cajado Skull"); if(idx == 19094) format( nomedoitem, 50, "Chapeu Hamburguer"); if(idx == 19346) format( nomedoitem, 50, "Cachorro Quente"); if(idx == 19347) format( nomedoitem, 50, "Estrela"); if(idx == 19515) format( nomedoitem, 50, "Colete Cinza"); if(idx == 18688) format( nomedoitem, 50, "Explosao vermelha"); if(idx == 18701) format( nomedoitem, 50, "Foguinho"); if(idx == 18682) format( nomedoitem, 50, "Explosão 1"); if(idx == 18683) format( nomedoitem, 50, "Explosão 2"); if(idx == 18684) format( nomedoitem, 50, "Explosão 3"); if(idx == 18685) format( nomedoitem, 50, "Explosão 4"); if(idx == 18688) format( nomedoitem, 50, "Fogo 1"); if(idx == 18689) format( nomedoitem, 50, "Fogo 2"); if(idx == 18690) format( nomedoitem, 50, "Fogo 3"); if(idx == 18691) format( nomedoitem, 50, "Fogo 4"); if(idx == 18704) format( nomedoitem, 50, "Fumaca 1"); if(idx == 18713) format( nomedoitem, 50, "Fumaca 2"); if(idx == 18714) format( nomedoitem, 50, "Fumaca 3"); if(idx == 18715) format( nomedoitem, 50, "Fumaca 4"); if(idx == 18728) format( nomedoitem, 50, "Luz Vermelha"); if(idx == 18729) format( nomedoitem, 50, "Luz Verde"); if(idx == 18740) format( nomedoitem, 50, "Chafariz"); if(idx == 18693) format( nomedoitem, 50, "Efeito Blaster"); if(idx == 18729) format( nomedoitem, 50, "Efeito super raro"); if(idx == 18688) format( nomedoitem, 50, "Efeito de Fogo"); if(idx == 18635) format( nomedoitem, 50, "Martelo raro"); if(idx == 19631) format( nomedoitem, 50, "Martelo"); if(idx == 19625) format( nomedoitem, 50, "Cigarro"); if(idx == 19078) format( nomedoitem, 50, "Arara do Brazz"); if(idx == 19086) format( nomedoitem, 50, "Pinto raro"); if(idx == 2499) format( nomedoitem, 50, "Pipa"); if(idx == 19528) format( nomedoitem, 50, "Chapeu de Bruxa"); if(idx == 18641) format( nomedoitem, 50, "Lanterna"); if(idx == 19137) format( nomedoitem, 50, "Cabeca de Frango"); if(idx == 1240) format( nomedoitem, 50, "Coracao"); if(idx == 2469) format( nomedoitem, 50, "Aviaozinho"); if(idx == 321) format( nomedoitem, 50, "Pinto"); if(idx == 19317) format( nomedoitem, 50, "Guitarra"); if(idx == 19319) format( nomedoitem, 50, "Guitarra"); if(idx == 19094) format( nomedoitem, 50, "Item Raro"); if(idx == 18974) format( nomedoitem, 50, "Item Raro"); if(idx == 19142) format( nomedoitem, 50, "Colete"); if(idx == 19555) format( nomedoitem, 50, "Luva esquerda"); if(idx == 19556) format( nomedoitem, 50, "Luva direita"); if(idx == 1736) format( nomedoitem, 50, "Cabeca de touro"); if(idx == 2052) format( nomedoitem, 50, "CJ Tommy Hat"); if(idx == 2053) format( nomedoitem, 50, "CJ Jerry Hat"); if(idx == 2114) format( nomedoitem, 50, "Bola de Basquete"); if(idx == 6865) format( nomedoitem, 50, "Cabeca de cervo"); if(idx == 3528) format( nomedoitem, 50, "Cabeca de dragao"); if(idx == 1262) format( nomedoitem, 50, "Cabeca de semaforo"); if(idx == 19067) format( nomedoitem, 50, "Bandana gangster"); if(idx == 19136) format( nomedoitem, 50, "Oculos e cabelo"); if(idx == 19320) format( nomedoitem, 50, "Cabeca de abobora"); if(idx == 19348) format( nomedoitem, 50, "Bengala"); if(idx == 19042) format( nomedoitem, 50, "Relogio de ouro"); if(idx > 2404 && idx < 2406) format( nomedoitem, 50, "Prancha de Surf"); if(idx == 1276) format( nomedoitem, 50, "Ursinho"); if(idx == 18636) format( nomedoitem, 50, "Chapeu de Policia"); if(idx == 19136) format( nomedoitem, 50, "Mascara"); if(idx == 19557) format( nomedoitem, 50, "Mascara Stripp"); if(idx == 11704) format( nomedoitem, 50, "Mascara DEMON"); if(idx == 954) format( nomedoitem, 50, "Ferradura"); if(idx == 1247) format( nomedoitem, 50, "Estrela"); if(idx == 1274) format( nomedoitem, 50, "Sifrao"); if(idx == 2918) format( nomedoitem, 50, "Bola aquatica"); if(idx == 19121) format( nomedoitem, 50, "Luz Branca"); if(idx == 19122) format( nomedoitem, 50, "Luz Azul"); if(idx == 19123) format( nomedoitem, 50, "Luz Verde"); if(idx == 19124) format( nomedoitem, 50, "Luz Vermelha"); if(idx == 19125) format( nomedoitem, 50, "Luz Amarela"); if(idx == 19126) format( nomedoitem, 50, "Luz Azul Bebe"); if(idx == 19127) format( nomedoitem, 50, "Luz Roxa"); //Comidas if(idx == 19094) format( nomedoitem, 50, "Hamburguer"); if(idx == 19570) format( nomedoitem, 50, "Leite"); if(idx == 19576) format( nomedoitem, 50, "Maca"); if(idx == 19578) format( nomedoitem, 50, "Banana"); if(idx == 19630) format( nomedoitem, 50, "Peixe"); if(idx == 19835) format( nomedoitem, 50, "Coca Cola"); if(idx == 19811) format( nomedoitem, 50, "Lanche"); if(idx == 19580) format( nomedoitem, 50, "Pizza"); if(idx == 19574) format( nomedoitem, 50, "Laranja"); if(idx == 2647) format( nomedoitem, 50, "Refrigerante"); //drogas if(idx == 1575) format( nomedoitem, 50, "kit Cocaina"); if(idx == 1580) format( nomedoitem, 50, "kit Crack"); if(idx == 19382) format( nomedoitem, 50, "Nenhum Item"); if(idx > 0 && idx < 312 ) format( nomedoitem, 50, "Skin %d",idx); // se for skin if(idx > 399 && idx < 612 ) format( nomedoitem, 50, "%s",VehicleNames[idx - 400]); // se for veiculo if(idx >= 331 && idx < 372) format( nomedoitem, 50, NomeArmaInventario(idx)); // se for arma return nomedoitem; } stock NomeItemInventarioInventario(id,playerid){ new str[100]; new idx = InventarioInfo[playerid][id][iSlot]; format(str,100,NomeItemInventario(idx)); return str; } stock NomeArmaInventario(weaponid) { new str[30]; if(weaponid == 0) str = "Soco"; if(weaponid == 1 || weaponid == 331) str = "Soqueira"; if(weaponid == 2 || weaponid == 333) str = "Taco de Golf"; if(weaponid == 3 || weaponid == 334) str = "Cacetete"; if(weaponid == 4 || weaponid == 335) str = "Knife"; if(weaponid == 5 || weaponid == 336) str = "Taco de Baseball"; if(weaponid == 6 || weaponid == 337) str = "Pa"; if(weaponid == 7 || weaponid == 338) str = "Taco de Sinuca"; if(weaponid == 8 || weaponid == 339) str = "Katana"; if(weaponid == 9 || weaponid == 341) str = "Motocerra"; if(weaponid == 10 || weaponid == 321) str = "Dildo Roxo"; if(weaponid == 11 || weaponid == 322) str = "Dildo Vibrador"; if(weaponid == 12 || weaponid == 323) str = "Dildo Branco"; if(weaponid == 13 || weaponid == 324) str = "Dildo Eletrico"; if(weaponid == 14 || weaponid == 325) str = "Buque de Flores"; if(weaponid == 15 || weaponid == 326) str = "Bengala"; if(weaponid == 16 || weaponid == 342) str = "Granada Expansiva"; if(weaponid == 17 || weaponid == 343) str = "Granada de Gas"; if(weaponid == 18 || weaponid == 344) str = "Coquetel Molotov"; if(weaponid == 22 || weaponid == 346) str = "Pistola 9mm"; if(weaponid == 23 || weaponid == 347) str = "9mm Silencioso"; if(weaponid == 24 || weaponid == 348) str = "Desert Eagle"; if(weaponid == 25 || weaponid == 349) str = "Shotgun"; if(weaponid == 26 || weaponid == 350) str = "Sawn-Off 12"; if(weaponid == 27 || weaponid == 351) str = "12 Automatica"; if(weaponid == 28 || weaponid == 352) str = "Micro-SMG"; if(weaponid == 29 || weaponid == 353) str = "MP5"; if(weaponid == 30 || weaponid == 355) str = "AK-47"; if(weaponid == 31 || weaponid == 356) str = "M4"; if(weaponid == 32 || weaponid == 372) str = "Tec-9"; if(weaponid == 33 || weaponid == 357) str = "Rifle"; if(weaponid == 34 || weaponid == 358) str = "Sniper"; if(weaponid == 35 || weaponid == 359) str = "Bazooka"; if(weaponid == 36 || weaponid == 360) str = "Bazooka HS"; if(weaponid == 37 || weaponid == 361) str = "Lanca-Chamas"; if(weaponid == 38 || weaponid == 362) str = "Minigun"; if(weaponid == 39 || weaponid == 363) str = "Explosivo Remoto"; if(weaponid == 40 || weaponid == 364) str = "controle Remoto"; if(weaponid == 41 || weaponid == 365) str = "Lata de Spray"; if(weaponid == 42 || weaponid == 366) str = "Fire Extinguisher"; if(weaponid == 43 || weaponid == 367) str = "Camera"; if(weaponid == 44 || weaponid == 368) str = "Oculos Noturno"; if(weaponid == 45 || weaponid == 369) str = "Oculos Termico"; if(weaponid == 46 || weaponid == 371) str = "Paraquedas"; return str; } stock MudarIdArma(weaponid) { new var; if(weaponid == 1) var = 331 ; if(weaponid == 2) var = 333 ; if(weaponid == 3) var = 334 ; if(weaponid == 4) var = 335 ; if(weaponid == 5) var = 336 ; if(weaponid == 6) var = 337 ; if(weaponid == 7) var = 338; if(weaponid == 8) var = 339 ; if(weaponid == 9) var = 341 ; if(weaponid == 10) var = 321 ; if(weaponid == 11) var = 322 ; if(weaponid == 12 ) var = 323 ; if(weaponid == 13) var = 324 ; if(weaponid == 14 ) var = 325 ; if(weaponid == 15) var = 326 ; if(weaponid == 16) var = 342 ; if(weaponid == 17) var = 343 ; if(weaponid == 18) var = 344 ; if(weaponid == 22) var = 346 ; if(weaponid == 23) var = 347 ; if(weaponid == 24 ) var = 348 ; if(weaponid == 25) var = 349 ; if(weaponid == 26) var = 350 ; if(weaponid == 27) var = 351 ; if(weaponid == 28) var = 352 ; if(weaponid == 29) var = 353 ; if(weaponid == 30 ) var = 355 ; if(weaponid == 31) var = 356 ; if(weaponid == 32) var = 372 ; if(weaponid == 33) var = 357 ; if(weaponid == 34) var = 358 ; if(weaponid == 35) var = 359 ; if(weaponid == 36) var = 360 ; if(weaponid == 37) var = 361 ; if(weaponid == 38) var = 362 ; if(weaponid == 39) var = 363 ; if(weaponid == 40) var = 364 ; if(weaponid == 41) var = 365 ; if(weaponid == 42) var = 366 ; if(weaponid == 43) var = 367 ; if(weaponid == 44) var = 368 ; if(weaponid == 45) var = 369 ; if(weaponid == 46) var = 371 ; if(weaponid == 331) var = 1 ; if(weaponid == 333) var = 2 ; if(weaponid == 334) var = 3 ; if(weaponid == 335) var = 4 ; if(weaponid == 336) var = 5 ; if(weaponid == 337) var = 6 ; if(weaponid == 338) var = 7; if(weaponid == 339) var = 8 ; if(weaponid == 341) var = 9 ; if(weaponid == 321) var = 10 ; if(weaponid == 322) var = 11 ; if(weaponid == 323 ) var = 12 ; if(weaponid == 324) var = 13 ; if(weaponid == 325 ) var = 14 ; if(weaponid == 326) var = 15 ; if(weaponid == 342) var = 16 ; if(weaponid == 343) var = 17 ; if(weaponid == 344) var = 18 ; if(weaponid == 346) var = 22 ; if(weaponid == 347) var = 23 ; if(weaponid == 348 ) var = 24 ; if(weaponid == 349) var = 25 ; if(weaponid == 350) var = 26 ; if(weaponid == 351) var = 27 ; if(weaponid == 352) var = 28 ; if(weaponid == 353) var = 29 ; if(weaponid == 355 ) var = 30 ; if(weaponid == 356) var = 31 ; if(weaponid == 372) var = 32 ; if(weaponid == 357) var = 33 ; if(weaponid == 358) var = 34 ; if(weaponid == 359) var = 35 ; if(weaponid == 360) var = 36 ; if(weaponid == 361) var = 37 ; if(weaponid == 362) var = 38 ; if(weaponid == 363) var = 39 ; if(weaponid == 364) var = 40; if(weaponid == 365) var = 41 ; if(weaponid == 366) var = 42 ; if(weaponid == 367) var = 43 ; if(weaponid == 368) var = 44 ; if(weaponid == 369) var = 45 ; if(weaponid == 371) var = 46 ; return var; } stock DiminuirInventario(slot, playerid) { if(InventarioInfo[playerid][slot][iUnidades] > 1) return InventarioInfo[playerid][slot][iUnidades] --; if(InventarioInfo[playerid][slot][iUnidades] == 1){ InventarioInfo[playerid][slot][iUnidades] = 0; InventarioInfo[playerid][slot][iSlot] = 19382; } return 1; } CMD:farejar(playerid) { if(IsACop(playerid)) { new string[150]; switch(random(6)) { case 1, 2, 3: if(PertoMaconha(playerid)) { format(string, sizeof string, "Cao Farejador: Seu cao farejou possiveis %d plantacões de maconha, num raio de 200 metros!", PertoMaconha(playerid)); SendClientMessage(playerid, COLOR_YELLOW, string); } else { SendClientMessage(playerid, COLOR_YELLOW, "Cao farejador: Seu cao nao farejou nenhuma plantacao em um raio de 200 metros!"); } default: SendClientMessage(playerid, COLOR_YELLOW, "Seu cao nao conseguiu farejar uma plantacao de maconha, tente novamente!"); } } return 1; } CMD:queimarmaconha(playerid) { if(IsACop(playerid)) { new perto = 0; for(new mac = 0; mac < MAX_MACONHA; mac++) { if(MaconhaInfo[mac][PodeUsar] == false && IsPlayerInRangeOfPoint(playerid, 2, MaconhaInfo[mac][mX],MaconhaInfo[mac][mY],MaconhaInfo[mac][mZ])) { perto = 1; ApplyAnimationEx(playerid,"BOMBER","BOM_Plant_Loop",2.0,1,0,0,0,0); SetTimerEx("AnimatioN", 100, false, "i", playerid); SetTimerEx("MaconhaQueimar", 17000, false, "id", playerid, mac); PlantandoMaconha[playerid] = true; new string[128]; GetPlayerName(playerid,sendername,sizeof(sendername)); format(string, sizeof(string), "* Oficial %s esta queimando uma plantacao de maconha!", sendername); SendClientMessageInRange(20.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SendClientMessage(playerid, COLOR_GRAD1, "Voce esta queimando esta plantacao. aguarde..."); return true; } } if(perto == 0)return SendClientMessage(playerid, -1, "Voce nao esta perto de nenhuma plantacao de maconha."); } return true; } CallBack::MaconhaQueimar(playerid, mac) { SetTimerEx("MaconhaQueimar2", 17000, false, "id", playerid, mac); ClearAnimations(playerid); PlantandoMaconha[playerid] = false; SendClientMessage(playerid, COLOR_GRAD1, "Saia de perto, a plantacao ira queimar..."); return true; } CallBack::MaconhaQueimar2(playerid, mac) { //new gstring[128]; format(gstring, sizeof gstring, "O Policial: %s queimou uma plantacao de maconha.",NomePlayer(playerid)); SendClientMessageToAll(0x00660CC8, gstring); DestroyDynamicObject(MaconhaInfo[mac][Object]); DestroyDynamic3DTextLabel(MaconhaInfo[mac][TT]); CreateExplosion(MaconhaInfo[mac][mX], MaconhaInfo[mac][mY], MaconhaInfo[mac][mZ], 10, 1.0); MaconhaInfo[mac][mX] = 0.0; MaconhaInfo[mac][mY] = 0.0; MaconhaInfo[mac][mZ] = 0.0; MaconhaInfo[mac][PodeUsar] = true; ClearAnimations(playerid); PlantandoMaconha[playerid] = false; return true; } CallBack::PlantarMaconhas(playerid, slt) { new string[200]; static Float:pX, Float:pY, Float:pZ; GetPlayerPos(playerid, pX, pY, pZ); MaconhaInfo[slt][mX] = pX; MaconhaInfo[slt][mY] = pY; MaconhaInfo[slt][mZ] = pZ-1; MaconhaInfo[slt][GramasProntas] = 0; MaconhaInfo[slt][Crescida] = 0; MaconhaInfo[slt][Object] = CreateDynamicObject(19300, pX, pY, pZ-1,0.0, 0.0, 0.0); strmid(MaconhaInfo[slt][Dono], NomePlayer(playerid), 0, strlen(NomePlayer(playerid)), 35); format(string, sizeof string, "•Plantacao de maconha•\nDono: %s\nPlantacao Nº: %d\nCrescida: %d/%d\nGramas: %dg", MaconhaInfo[slt][Dono], slt,MaconhaInfo[slt][Crescida],Max_Crescida, MaconhaInfo[slt][GramasProntas]); MaconhaInfo[slt][TT] = Create3DTextLabel(string, 0x1FF61F99, pX, pY, pZ, 10.0, 0); ClearAnimations(playerid); PlantandoMaconha[playerid] = false; antihands[playerid] = 0; RemovePlayerAttachedObjectEx(playerid, Vaga_Pa); GetPlayerName(playerid,sendername,sizeof(sendername)); format(string, sizeof(string), "* %s plantou sua semente de maconha!", sendername); SendClientMessageInRange(20.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SendClientMessage(playerid, AMARELO_COR, "Semente plantada com sucesso, use: /maconhas para ver suas plantacões."); return true; } CMD:maconhadotio(playerid) { new slt = CheckSlot(); if(slt == -1) return SendClientMessage(playerid, -1, "Ja plantaram muitas sementes no servidor."); new string[128]; ApplyAnimationEx(playerid,"BOMBER","BOM_Plant_Loop",2.0,1,0,0,0,0); SetTimerEx("AnimatioN", 500, false, "i", playerid); SetTimerEx("PlantarMaconhas", 17000, false, "id", playerid, slt); PlantandoMaconha[playerid] = true; antihands[playerid] = 1; GetPlayerName(playerid,sendername,sizeof(sendername)); format(string, sizeof(string), "* %s esta plantando uma semente de maconha!", sendername); SendClientMessageInRange(20.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); new id = CountAttachedObjects(playerid); SetPlayerAttachedObject_Droid(playerid,id,337,6,0.097999,0.076999,0.011000,172.699859,-4.799996,89.199981,1.000000,0.629000,0.678000); RemovePlayerAttachedObjectEx(playerid, Vaga_Pa); SetPlayerAttachedObjectEx(337,Vaga_Pa,playerid,id); SendClientMessage(playerid, COLOR_GRAD1, "Voce esta plantando uma semente de maconha, aguarde . . ."); for(new i = 0; i<75; i++) { if(InventarioInfo[playerid][i][iSlot] == 2901) { if(InventarioInfo[playerid][i][iUnidades] > 1) { InventarioInfo[playerid][i][iUnidades] --; return 1; } InventarioInfo[playerid][i][iSlot] = 19382; InventarioInfo[playerid][i][iUnidades] = 0; return 1; } } PlayerInfo[playerid][pSementes] --; return true; } CMD:colhermaconha(playerid) { if(PlantandoMaconha[playerid] == true) return SendClientMessage(playerid, AMARELO_COR, "Voce ja esta plantando ou colhendo uma semente"); if (IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao pode estar dentro de um carro!"); new perto = 0; for(new mac = 0; mac < MAX_MACONHA; mac++) { if(MaconhaInfo[mac][PodeUsar] == false && IsPlayerInRangeOfPoint(playerid, 2, MaconhaInfo[mac][mX],MaconhaInfo[mac][mY],MaconhaInfo[mac][mZ])) { perto = 1; if(strcmp(MaconhaInfo[mac][Dono], NomePlayer(playerid), true) == 0) { ApplyAnimationEx(playerid,"BOMBER","BOM_Plant_Loop",2.0,1,0,0,0,0); SetTimerEx("AnimatioN", 100, false, "i", playerid); SetTimerEx("MaconhaColher", 17000, false, "id", playerid, mac); PlantandoMaconha[playerid] = true; antihands[playerid] = 1; new string[128]; GetPlayerName(playerid,sendername,sizeof(sendername)); format(string, sizeof(string), "* %s esta colhendo sua plantacao de maconha!", sendername); SendClientMessageInRange(20.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); new id = CountAttachedObjects(playerid); SetPlayerAttachedObject_Droid(playerid,id,337,6,0.097999,0.076999,0.011000,172.699859,-4.799996,89.199981,1.000000,0.629000,0.678000); SetPlayerAttachedObjectEx(337,Vaga_Pa,playerid,id); SendClientMessage(playerid, COLOR_GRAD1, "Voce esta colhendo esta plantacao de maconha, aguarde . . ."); return true; } else return SendClientMessage(playerid, -1, "Voce nao e o dono dessa plantacao de maconha"); } } if(perto == 0)return SendClientMessage(playerid, -1, "Voce nao esta perto de nenhuma plantacao de maconha."); return true; } CallBack::MaconhaColher(playerid, mac) { //new gstring[128]; GetPlayerName(playerid,sendername,sizeof(sendername)); format(gstring, sizeof(gstring), "* %s colheu sua plantacao de maconha!", sendername); SendClientMessageInRange(20.0, playerid, gstring, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); format(gstring, sizeof gstring, "Voce colheu esta plantacao de maconha, nela continha %d gramas prontas.",MaconhaInfo[mac][GramasProntas]); SendClientMessage(playerid, TEAM_GROVE_COLOR, gstring); PlayerInfo[playerid][pDrogas] += MaconhaInfo[mac][GramasProntas]; DestroyDynamicObject(MaconhaInfo[mac][Object]); DestroyDynamic3DTextLabel(MaconhaInfo[mac][TT]); MaconhaInfo[mac][mX] = 0.0; MaconhaInfo[mac][mY] = 0.0; MaconhaInfo[mac][mZ] = 0.0; MaconhaInfo[mac][PodeUsar] = true; ClearAnimations(playerid); PlantandoMaconha[playerid] = false; antihands[playerid] = 0; RemovePlayerAttachedObjectEx(playerid, Vaga_Pa); new id = CountAttachedObjects(playerid); SetPlayerAttachedObject_Droid(playerid,id,2901,1,0.028999,-0.207999,-0.054999,2.300004,176.100006,-1.300000,0.489999,0.528999,0.575000); SetPlayerAttachedObjectEx(2901,Vaga_Maconha,playerid,id); KillTimer(Timer_Object_Maconha[playerid]); Timer_Object_Maconha[playerid] = SetTimerEx("BPF_RetirarObjeto", 2*60000, 0, "d", playerid); return true; } CallBack::BPF_RetirarObjeto(playerid) { RemovePlayerAttachedObjectEx(playerid, Vaga_Maconha); return 0; } CMD:updatemaconha(playerid) { if(PlayerInfo[playerid][pAdmin] < 1340) return SendClientMessage(playerid,COLOR_LIGHTRED, "Voce nao pode usar este comando."); UpdateDrogas(); SendClientMessage(playerid,COLOR_YELLOW, "Voce atualizou as plantacões de maconha."); return true; } CMD:maconhas(playerid) { if(CountPlantacao(playerid) < 1) return SendClientMessage(playerid, AMARELO_COR, "Voce nao plantou nenhuma semente"); new localmac = 0; MEGAString[0] = EOS; new string[128]; for(new maconhaid=0;maconhaid < MAX_MACONHA; maconhaid++) { if(MaconhaInfo[maconhaid][PodeUsar] == false && strcmp(MaconhaInfo[maconhaid][Dono], NomePlayer(playerid), true)==0) { localmac++; LocalizeMaconha[localmac][playerid] = maconhaid; if(MaconhaInfo[maconhaid][Crescida] >= Max_Crescida) { format(string, sizeof string, "Plantacao %d: {00BC00}(Pronta) Gramas: [%d]\n",maconhaid+1,MaconhaInfo[maconhaid][GramasProntas]); strcat(MEGAString,string); } else { format(string, sizeof string, "Plantacao %d: {00BC00}Crescendo:[%d/%d] Gramas:[%d]\n",maconhaid+1, MaconhaInfo[maconhaid][Crescida], Max_Crescida, MaconhaInfo[maconhaid][GramasProntas]); strcat(MEGAString,string); } } } ShowPlayerDialog(playerid, 1478, DIALOG_STYLE_LIST, "Menu maconha", MEGAString, "Localizar", "Sair"); return true; } //----------------------------------[ADMINADMIN]----------------------------------------------- CMD:id(playerid, params[]) { new target; if(sscanf(params, "u", target)) { SendClientMessage(playerid, COLOR_GRAD2, "USE: /id [parte-do-nick]"); return true; } if(IsPlayerConnected(target)) { //new gstring[128]; GetPlayerName(target, giveplayer, sizeof(giveplayer)); format(gstring, sizeof(gstring), "ID: (%d) %s",target,giveplayer); SendClientMessage(playerid, COLOR_GRAD1, gstring); } else { SendClientMessage(playerid, COLOR_GRAD1, "Ninguem encontrado"); } return true; } CMD:manualcarros(playerid) { if(PlayerInfo[playerid][pAdmin] < 1340) { SendClientMessage(playerid, COLOR_GREEN, LEVELADM); return true; } SalvarSEmpresas(); SalvarEmpresas(); SalvarFEmpresas(); Atualizar3Dtexts(); SendClientMessage(playerid, -1, "Empresas e Fazendas salvas"); return true; } //------------------------------------------------------------------------------------------------------ public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid) { foreach(Player, i) { if(PlayerInfo[i][pAdmin] && Spectate[i] == playerid) { SetPlayerInterior(i, newinteriorid); } } return 1; } //------------------------------------------------------------------------------------------------------ stock SendNickMessage(const nick[], const message[], color) { foreach(Player, i) { if(!strcmp(NomePlayer(i), nick, true)) { SendClientMessage(i, color, message); } } } //----------------------------------[TOD]----------------------------------------------- CMD:sethora(playerid, params[]) { new hour2; if(sscanf(params, "d", hour2)) { SendClientMessage(playerid, COLOR_GRAD2, "USE: /sethora [hora do dia] (0-23)"); return true; } new string[128]; if (PlayerInfo[playerid][pAdmin] >= 3) { if(admtrampando[playerid] < 1 && PlayerInfo[playerid][pAdmin] < 1340) { SendClientMessage(playerid, COLOR_GRAD1, TRABALHARADM); return true; } if(hour2 < 0 || hour2 > 24) { SendClientMessage(playerid, COLOR_GRAD2, "Hora minima, 0 ~ 24!"); return true; } SetWorldTime(hour2); format(string, sizeof(string), " Tempo Definido Para %d Horas.", hour2); BroadCast(COLOR_GRAD1, string); } else { SendClientMessage(playerid, COLOR_GRAD1, "Voce nao esta autorizado a usar o comando!"); } return true; } CMD:iniciarloteria(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] >= 4) { new string[128], number; if(PlayerInfo[playerid][pAdmin] >= 1342) if(sscanf(params, "d", number)) format(string, sizeof(string), "Loteria: Ja comecou a loteria."); OOCNews(COLOR_WHITE, string); new rand; if(number < 1 || number > 49) rand = random(49) + 1; else rand = number; Lotto(rand); } else { SendClientMessage(playerid, COLOR_GREY, "Voce nao tem permissao para usar esse comando!"); return true; } return true; } CMD:camera(playerid) { new Sofor = GetPlayerState(playerid); if(!IsPlayerInAnyVehicle(playerid))return SendClientMessage(playerid, COLOR_GREY, " Voce nao esta dentro de um carro!"); if(Sofor == PLAYER_STATE_DRIVER) { if(IsValidObject(dcObject[playerid])==1) { DestroyObject(dcObject[playerid]); } new pv=GetPlayerVehicleID(playerid),slot=GetVehicleModel(pv)-400; if(dCam_Xes[slot] == INVALID_DATA || INVALID_DATA == dCam_Yes[slot] || INVALID_DATA == dCam_Highs[slot]) return SendClientMessage(playerid, COLOR_GREY, " Nao foi possivel ligar a câmera em primeira pessoa neste veiculo!"); dcObject[playerid] = CreateDynamicObject(19300,0.0,0.0,0.0,0.0,0.0,0.0); AttachObjectToVehicle(dcObject[playerid],pv,-dCam_Xes[slot],dCam_Yes[slot]-0.15,dCam_Highs[slot]-0.06,0.0,0.0,0.0); AttachCameraToObject(playerid,dcObject[playerid]); SetPVarInt(playerid, "VarFPS", 1); SendClientMessage(playerid, COLOR_LIGHTBLUE, "» Use {FFFFFF}/desligarcamera {33CCFF}para desativar a camera!"); }else{ if(IsValidObject(dcObject[playerid])==1) { DestroyObject(dcObject[playerid]); } new pv=GetPlayerVehicleID(playerid),slot=GetVehicleModel(pv)-400; if(dCam_Xes[slot] == INVALID_DATA || INVALID_DATA == dCam_Yes[slot] || INVALID_DATA == dCam_Highs[slot]) return SendClientMessage(playerid, COLOR_GREY, " Nao foi possivel ligar a câmera em primeira pessoa neste veiculo!"); dcObject[playerid] = CreateDynamicObject(19300,0.0,0.0,0.0,0.0,0.0,0.0); AttachObjectToVehicle(dcObject[playerid],pv,dCam_Xes[slot],dCam_Yes[slot],dCam_Highs[slot],0.0,0.0,0.0); AttachCameraToObject(playerid,dcObject[playerid]); SetPVarInt(playerid, "VarFPS", 1); SendClientMessage(playerid, COLOR_LIGHTBLUE, "» Use {FFFFFF}/desligarcamera {33CCFF}para desativar a camera!"); } return 1; } CMD:desligarcamera(playerid) { if(!IsPlayerInAnyVehicle(playerid))return SendClientMessage(playerid, COLOR_GREY, " Voce nao esta dentro de um carro!"); new Sofor = GetPlayerState(playerid); if(GetPVarInt(playerid, "VarFPS")) { if(Sofor == PLAYER_STATE_DRIVER) { if(IsValidObject(dcObject[playerid])==1) { DestroyObject(dcObject[playerid]); } SetCameraBehindPlayer(playerid); SetPVarInt(playerid, "VarFPS", 0); SendClientMessage(playerid, COLOR_LIGHTBLUE, "» Camera desligada!"); } } return 1; } //----------------------------------[SETINT]----------------------------------------------- CMD:setint(playerid, params[]) { if (PlayerInfo[playerid][pAdmin] >= 0) { if(PlayerInfo[playerid][pJailed] != 0) { SendClientMessage(playerid,COLOR_GREY,"Voce nao pode trocar o interior agora!"); return true; } new intid; if(sscanf(params, "d", intid)) { SendClientMessage(playerid, COLOR_GRAD2, "USE: /setint [interiorid]"); return true; } new string[128]; SetPlayerInterior(playerid,intid); PlayerInfo[playerid][pInt] = intid; format(string, sizeof(string), " Interior Mudado Para %d.", intid); SendClientMessage(playerid, COLOR_GRAD1, string); } return 1; } CMD:setworld(playerid, params[]) { if (PlayerInfo[playerid][pAdmin] >= 2) { if(PlayerInfo[playerid][pJailed] != 0) { SendClientMessage(playerid,COLOR_GREY,"Voce nao pode trocar o interior agora!"); return true; } if(!admtrampando[playerid] && PlayerInfo[playerid][pAdmin] < 1342) return SendClientMessage(playerid, COLOR_GRAD1, TRABALHARADM); new intid; if(sscanf(params, "d", intid)) { SendClientMessage(playerid, COLOR_GRAD2, "USE: /setworld [WordID]"); return true; } new string[128]; SetPlayerVirtualWorld(playerid, intid); format(string, sizeof(string), " Virtual Word Mudado Para %d.", intid); SendClientMessage(playerid, COLOR_GRAD1, string); } return true; } CMD:trocarworld(playerid, params[]) { new playa; new health; if(IsPlayerConnected(playerid)) { if (PlayerInfo[playerid][pAdmin] >= 2) { if(sscanf(params, "ud", playa, health)) { SendClientMessage(playerid, COLOR_GRAD2, "USE: /trocarworld [ID/ParteDoNome] [Baixadaid]"); return 1; } GetPlayerName(playa, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); SetPlayerVirtualWorld(playa,health); new string[MAX_STRING]; format(string, sizeof(string), "Voce alterou o Baixada de %s para %d.", giveplayer,health); SendClientMessage(playerid, COLOR_GRAD2, string); format(string, sizeof(string), "O Admin %s trocou seu Baixada virtual para %d.", sendername,health); SendClientMessage(playa, COLOR_GRAD2, string); } else { SendClientMessage(playerid, COLOR_GRAD1, LEVELADM); } } return 1; } CMD:trocarint(playerid, params[]) { new playa; new health; if(IsPlayerConnected(playerid)) { if (PlayerInfo[playerid][pAdmin] >= 2) { if(sscanf(params, "ud", playa, health)) { SendClientMessage(playerid, COLOR_GRAD2, "USE: /trocarint [ID/ParteDoNome] [intid]"); return 1; } GetPlayerName(playa, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); SetPlayerInterior(playa,health); PlayerInfo[playa][pInt] = health; new string[MAX_STRING]; format(string, sizeof(string), "Voce alterou o interior de %s para %d.", giveplayer,health); SendClientMessage(playerid, COLOR_GRAD2, string); format(string, sizeof(string), "O Admin %s trocou o interior que voce estava para %d.", sendername,health); SendClientMessage(playa, COLOR_GRAD2, string); } else { SendClientMessage(playerid, COLOR_GRAD1, LEVELADM); } } return 1; } CMD:dinv(playerid) { if(IsPlayerConnected(playerid)) { if(carroinvCriado[playerid] == 1) { TogglePlayerControllableEx(playerid,1); RemovePlayerFromVehicle(playerid); SetCameraBehindPlayer(playerid); if(carroinvID[playerid] != INVALID_VEHICLE_ID) DestroyVehicleInv_Ex(carroinvID[playerid]); carroinvID[playerid] = INVALID_VEHICLE_ID; carroinvCriado[playerid] = 0; SendClientMessage(playerid, COR_AMARELO, "Voce guardou seu veiculo de inventario."); return 1; } } return 1; } CMD:orgsvips(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] < 1338) { SendClientMessage(playerid, COLOR_GREY, "Voce nao esta autorizado a usar este comando!"); return true; } if(IsPlayerConnected(playerid)) { new text1[30]; MEGAString[0]=EOS; new str[95]; new count; strcat(MEGAString, "OrgID:\tOrganizacao\t{9900ff}VIP:\tVence:\n"); for(new i = 0; i < MAX_ORGS; i++) { if(i == 0 || i == 6 || i == 26 || i == 27 || i == 28 || i == 29 || i == 30 || i == 31 || i == 32) { } else { if(CofreOrg[i][Vip] > 1) { text1 = "{00DB1D}SIM"; } else { text1 = "{00FFFF}NÃO"; } count++; GetPlayerName(i, sendername, sizeof(sendername)); format(str, sizeof(str), "Nº%d\t{0080C0}%s:\t%s\t(%02d/%02d/%04d)\n", i, GetOrgName(i),text1,CofreOrg[i][DiaVIP],CofreOrg[i][MesVIP],CofreOrg[i][AnoVIP]); strcat(MEGAString, str); } } if(count<=0)return ShowPlayerDialog(playerid, 0, DIALOG_STYLE_LIST, "Organizacões VIPs", "{00FF00}Nenhum Organizacao Encontrada", "OK", ""); if(count>0)ShowPlayerDialog(playerid, 0, DIALOG_STYLE_LIST, "Organizacões VIPs", MEGAString, "OK", ""); } return true; } //creditos //não tire CMD:creditos(playerid) { new String[128]; new MStr[1000]; format(String, sizeof(String), "{FF1493}- Créditos do servidor:\n"); strcat(MStr, String); strcat(MStr, "{FF1493}- {FFFFFF}DG HD SAMP[{FF1493}Fundador{FFFFFF}]{DCDCDC}: Responsavel Geral Servidor/Sistemas Externos.\n"); strcat(MStr, "{FF1493}- {FFFFFF}DG HD SAMP[{FF1493}Sripter{FFFFFF}]{DCDCDC}: Responsavel Geral Servidor.\n"); strcat(MStr, "{FF1493}- {FFFFFF}DG HD SAMP[{FFFF00}Scripter{FFFFFF}]{DCDCDC}: Responsavel Geral Servidor/Gamemode.\n"); strcat(MStr, "{FF1493}- {FFFFFF}[{FF1493}Dono{FFFFFF}{FFFFFF}]{DCDCDC}: Responsavel Geral Servidor/[_Administracao_]\n"); strcat(MStr, "{FF1493}- {FFFFFF}DG HD SAMP[{FF1493}Diretor{FFFFFF}]{DCDCDC}: Responsavel Geral Servidor/Discord\n"); strcat(MStr, "\n{FF1493}- {FFFFFF} Discord Do Servidor{DCDCDC}: https://discord.gg/jbfjqYR5.\n"); strcat(MStr, "\n{FF1493}- {FFFFFF} Agradecimentos pela Gamemode: {FF1493}DG HD SAMP."); ShowPlayerDialog(playerid, DIALOG_CREDITOS, DIALOG_STYLE_MSGBOX, "{0000FF}» Creditos CNF «", MStr, "Sair", ""); format(strbrazz, 256, "AdmAviso: %s olhou os creditos do servidor!", PlayerName(playerid)); ABroadCast(COLOR_YELLOW, strbrazz, 1); return 1; } /*cmd:pegarbeneficio(playerid) { if(PlayerInfo[playerid][pBene] == 1) { SendClientMessage(playerid, -1, "[CNF]: voce ja resgatou o beneficio"); } else SendClientMessage(playerid, -1, "[CNF]: voce pegou seu beneficio"); GetPlayerMoney(playerid, 800000); return 1; }*/ //----------------------------------{Numero Emprego}----------------------------------------------- CMD:empregos(playerid, params[]) { if (PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pAdminTemp] >= 1) { if(admtrampando[playerid] < 1 && PlayerInfo[playerid][pAdmin] < 1340) return SendClientMessage(playerid, COLOR_GRAD1, TRABALHARADM); SendClientMessage(playerid, TEAM_VAGOS_COLOR,"Advogado - 1"); SendClientMessage(playerid, TEAM_VAGOS_COLOR,"Mecânico - 2"); SendClientMessage(playerid, TEAM_VAGOS_COLOR,"Agricultor - 3"); SendClientMessage(playerid, TEAM_VAGOS_COLOR,"Vendedor de produtos - 4"); SendClientMessage(playerid, TEAM_VAGOS_COLOR,"Taxista - 5"); SendClientMessage(playerid, TEAM_VAGOS_COLOR,"Bombeiro - 6"); SendClientMessage(playerid, TEAM_VAGOS_COLOR,"Ifood - 7"); SendClientMessage(playerid, TEAM_VAGOS_COLOR,"Gari - 8"); } return true; } //-----------------------------------{ IP }----------------------------------------------------- CMD:admip(playerid, params[]) { if (PlayerInfo[playerid][pAdmin] >= 2) { if(admtrampando[playerid] < 1 && PlayerInfo[playerid][pAdmin] < 1340) { SendClientMessage(playerid, COLOR_GRAD1, TRABALHARADM); return true; } if(sscanf(params, "u", giveplayerid)) { SendClientMessage(playerid, COLOR_YELLOW, "USE: /ip [ID do Player]"); return true; } if(IsPlayerConnected(giveplayerid)) { new ip[32]; //new gstring[100]; GetPlayerIp(giveplayerid,ip,128); if(strcmp(PlayerName(giveplayerid),"DG HD SAMP", true ) == 0 || strcmp(PlayerName(giveplayerid),"Willians_Sousa", true ) == 0) { format(gstring, sizeof(gstring), "AdmCmd: %s Esta tentando Pegar o seu IP!", PlayerName(playerid)); SendClientMessage(giveplayerid,COLOR_LIGHTRED, gstring); format(gstring, sizeof(gstring), "Fundador %s Esta logando no servidor.", PlayerName(giveplayerid)); } else format(gstring, sizeof(gstring), "AdmCmd: %s (IP: %s)", PlayerName(giveplayerid),ip); SendClientMessage(playerid,0xff6347FF, gstring); } else { SendClientMessage(playerid, COLOR_GREY, "Esse nao e um jogador Ativo."); } } else { SendClientMessage(playerid, COLOR_GREY, LEVELADM); return true; } return true; } //----------------------/unbanip-------------- CMD:unblockip(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] >= 1340) { if(admtrampando[playerid] < 1 && PlayerInfo[playerid][pAdmin] < 1340) { SendClientMessage(playerid, COLOR_GRAD1, TRABALHARADM); return true; } if(sscanf(params, "s[24]", params)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /unblockip [ip]"); return true; } UnBlockIpAddress(params); new string[128]; format(string, 128, "AdmCmd: O admin Dono %s Desbloqueou o IP %s", sendername,params); ABroadCast(0xff6347FF,string,1); CNFLogs("unblockip", string); return true; } return true; } CMD:desbanconta(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] >= 1340) { if(admtrampando[playerid] < 1 && PlayerInfo[playerid][pAdmin] < 1340) { SendClientMessage(playerid, COLOR_GRAD1, TRABALHARADM); return true; } if(sscanf(params, "s[24]", params)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /desbanconta [NOME DO JOGADOR]"); return true; } new arquivo[64]; format(arquivo, sizeof(arquivo), Pasta_Banidos,params); new arquivo2[64]; new string[128]; format(arquivo2, sizeof(arquivo2), Pasta_BanidosTemp,params); GetPlayerName(playerid, sendername, sizeof(sendername)); if(DOF2_FileExists(arquivo)) { format(string, 128, "AdmCmd: O admin %s desbaniu %s.", sendername,params); ABroadCast(0xff6347FF,string,1); DOF2_RemoveFile(arquivo); CNFLogs("desban", string); } else if(DOF2_FileExists(arquivo2)) { format(string, 128, "AdmCmd: %s desbaniu (temporariamente banido) %s.", sendername,params); ABroadCast(0xff6347FF,string,1); DOF2_RemoveFile(arquivo2); CNFLogs("desban", string); } else { SendClientMessage(playerid, COLOR_WHITE, "CONTA NAO ENCONTRADA."); return true; } } return true; } stock CheckVeh(Float:radi, playerid, vehicleid) { new Float:PX,Float:PY,Float:PZ,Float:X,Float:Y,Float:Z; GetPlayerPos(playerid,PX,PY,PZ); GetVehiclePos(vehicleid, X,Y,Z); if(GetPlayerDistanceFromPoint(playerid, X, Y, Z) < radi) { return true; } return 0; } //----------------------------------[MAKELider]------------------------------------------------ CMD:pegarlider(playerid, params[]) { if (PlayerInfo[playerid][pAdmin] >= 1337) { new para1, level; if(sscanf(params, "d", level)) { SendClientMessage(playerid, COLOR_GRAD2, "USE: /pegarlider [Numero(1-35)]"); return true; } if(level > 39 || level < 0) { SendClientMessage(playerid, COLOR_GREY, "Organizacões de 0 a 39"); return true; } /*if(PlayerInfo[para1][pAdmin] == 0) { SendClientMessage(playerid, COLOR_GRAD1, "Voce nao pode usar este comando em players que nao seja admin!"); return true; }*/ if(PlayerInfo[playerid][pLider] != 0 && PlayerInfo[playerid][pMembro] != 0) { SendClientMessage(playerid, COLOR_GRAD1, "Você ja está em uma organização, use /contaslider!"); return true; } new string[128]; if(IsPlayerConnected(playerid)) { GetPlayerName(playerid, sendername, sizeof(sendername)); if(level == 0) { format(string, sizeof(string), "você voltou a ser civil!"); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); DemitirInfoOrg(PlayerName(playerid)); PlayerInfo[playerid][pMembro] = 0; PlayerInfo[playerid][pLider] = 0; PlayerInfo[playerid][pCargo] = 0; ConnectedToPC[playerid] = 0; OnDuty[playerid] = 0; EmpregoDuty[playerid] = 0; RemoveallRoadandSpikes(playerid); if(PlayerInfo[playerid][pSex] == 1) { PlayerInfo[playerid][pSkin] = 289; } else { PlayerInfo[playerid][pSkin] = 150; } MedicBill[playerid] = 0; MedicBill[playerid] = 0; SetPlayerToTeamColor(playerid); SpawnPlayer(playerid); return true; } if(level == 1) { PlayerInfo[playerid][pSkin] = 265; }//Policia Militar else if(level == 2) { PlayerInfo[playerid][pSkin] = 285; }//BOPE else if(level == 3) { PlayerInfo[playerid][pSkin] = 287; }//Exercito else if(level == 4) { PlayerInfo[playerid][pSkin] = 228; }//Fire/Ambulance else if(level == 5) { PlayerInfo[playerid][pSkin] = 115; }//Tropa da Franca else if(level == 6) { PlayerInfo[playerid][pSkin] = 288; }//iHarDz else if(level == 7) { PlayerInfo[playerid][pSkin] = 147; }//Prefeito else if(level == 8) { PlayerInfo[playerid][pSkin] = 294; }//Hitmans else if(level == 9) { PlayerInfo[playerid][pSkin] = 227; }//Reporters else if(level == 10) { PlayerInfo[playerid][pSkin] = 61; }//Ubers else if(level == 11) { PlayerInfo[playerid][pSkin] = 295; }//Policia Federal else if(level == 12) { PlayerInfo[playerid][pSkin] = 113; }//Mafia Cosa Nostra else if(level == 13) { PlayerInfo[para1][pSkin] = 120; }//Mafia Yakuza else if(level == 14) { PlayerInfo[playerid][pSkin] = 270; }//Groove else if(level == 15) { PlayerInfo[playerid][pSkin] = 123; }//ALQaeda else if(level == 16) { PlayerInfo[playerid][pSkin] = 286; }//ROTA else if(level == 17) { PlayerInfo[playerid][pSkin] = 104; }//Ballas else if(level == 18) { PlayerInfo[playerid][pSkin] = 108; }//Vagos else if(level == 19) { PlayerInfo[playerid][pSkin] = 170; }//CV else if(level == 20) { PlayerInfo[playerid][pSkin] = 279; }//Bombeiros else if(level == 21) { PlayerInfo[playerid][pSkin] = 47; }//ppcc else if(level == 22) { PlayerInfo[playerid][pSkin] = 117; }//Triads else if(level == 23) { PlayerInfo[playerid][pSkin] = 111; }//As FARC else if(level == 24) { PlayerInfo[playerid][pSkin] = 100; }//Mayans else if(level == 25) { PlayerInfo[playerid][pSkin] = 100; }//Sons else if(level == 26) { PlayerInfo[playerid][pSkin] = 174; }// else if(level == 27) { PlayerInfo[playerid][pSkin] = 265; }// else if(level == 28) { PlayerInfo[playerid][pSkin] = 108; }// else if(level == 29) { PlayerInfo[playerid][pSkin] = 287; }// else if(level == 30) { PlayerInfo[playerid][pSkin] = 61; }// else if(level == 31) { PlayerInfo[playerid][pSkin] = 70; }// else if(level == 33) { PlayerInfo[playerid][pSkin] = 166; }//Policia Civil else if(level == 32) { PlayerInfo[playerid][pSkin] = 227; }// else if(level == 34) { PlayerInfo[playerid][pSkin] = 288; }//Detran else if(level == 35) { PlayerInfo[playerid][pSkin] = 282; }//BAEP else if(level == 36) { PlayerInfo[playerid][pSkin] = 282; }//BAEP else if(level == 37) { PlayerInfo[playerid][pSkin] = 282; }//BAEP if(PlayerInfo[para1][pSex] == 1) { SetPlayerSkin(para1, PlayerInfo[playerid][pSkin]); } else { PlayerInfo[playerid][pSkin] = 150; SetPlayerSkin(playerid, PlayerInfo[playerid][pSkin]); } PlayerInfo[playerid][pLider] = level; format(string, sizeof(string), "Voce foi promovido a lider temporario da org: %s", NomeLiderORG(playerid)); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); MedicBill[playerid] = 0; PlayerInfo[playerid][pCargo] = 6; SetPlayerSkin(playerid, PlayerInfo[playerid][pSkin]); SetPlayerSpawn(playerid); } return true; } return true; } CMD:patrocinios(playerid) { if(PlayerInfo[playerid][pMembro] == 9 || PlayerInfo[playerid][pLider] == 9 || PlayerInfo[playerid][pMembro] == 32 || PlayerInfo[playerid][pLider] == 32) { if(IsPlayerConnected(playerid)) { MEGAString[0]=EOS; new str[95]; new count; for(new i = 0; i < MAX_ORGS; i++) { if(i == 0 || i == 16 || i == 26 || i == 32 || i == 24 || i == 25 || i == 27 || i == 28 || i == 29 || i == 30 || i == 31) { } else { count++; GetPlayerName(i, sendername, sizeof(sendername)); format(str, sizeof(str), "Nº%d {%s}%s:{FFFFFF} %s\n", i, CoresOrg(i), GetOrgName(i), PatrocinioOrg[i]); strcat(MEGAString, str); } } if(count<=0)return ShowPlayerDialog(playerid, 0, DIALOG_STYLE_LIST, "Patrocinios", "{00FF00}Nenhuma Organizacao Encontrada", "OK", ""); if(count>0)ShowPlayerDialog(playerid, usarpatrocinio, DIALOG_STYLE_LIST, "Patrocinios", MEGAString, "Usar", "Cancelar"); } } else { SendClientMessage(playerid, COLOR_GREY, " Voce nao e um Reporter !"); } return 1; } CMD:zerarpatrocinios(playerid) { if(PlayerInfo[playerid][pMembro] == 9 || PlayerInfo[playerid][pLider] == 9 || PlayerInfo[playerid][pMembro] == 32 || PlayerInfo[playerid][pLider] == 32) { if(IsPlayerConnected(playerid)) { for(new i = 0; i < MAX_ORGS; i++) { if(i == 0) { } else { strmid(PatrocinioOrg[i], "Vazio", 0, strlen("Vazio"), 255); SalvarPatrocinio(i); } } SendClientMessage(playerid, COLOR_GRAD1, " Voce Zerou os Patrocinios"); } } else { SendClientMessage(playerid, COLOR_GREY, " Voce nao e um Reporter !"); } return 1; } CMD:patrocinar(playerid, params[]) { new text[256]; if(sscanf(params, "s[256]", text)) { SendClientMessage(playerid, COLOR_GRAD2, "USE: /patrocinar [texto]"); return true; } if(PlayerInfo[playerid][pLider] < 1) { SendClientMessage(playerid, COLOR_GRAD1, " Somente Lideres Podem usar Este comando!"); return true; } new string[300]; GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "Patrocinio (%s) %s: %s", GetOrgName(GetPlayerOrg(playerid)), sendername, text); SendClientMessage(playerid, 0xFFA500F6, string); strmid(PatrocinioOrg[GetPlayerOrg(playerid)], text, 0, strlen(text), 255); ShowPlayerDialog(playerid, confirmarpatrocinio, DIALOG_STYLE_MSGBOX, " ", "{00CCFF} Voce quer que seu Patrocinio se desse jeito?\n\ {00CCFF} OBS: Voce precisa combinar um preco com o Reporter para ele Publicar!", "Confirmar", "Cancelar"); return true; } CMD:plantarbomba(playerid) { new Str[128]; if(PlayerInfo[playerid][pExplosivos] < 1) return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao tem um explosivo, compre um no mercado negro!"); if(GetPVarInt(playerid, "VarBomba")) return SendClientMessage(playerid, COLOR_GRAD1, "Voce ja plantou uma bomba!"); if(IsPlayerInRC(playerid)) return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao pode plantar uma bomba aqui!"); if(GetPlayerState(playerid) != PLAYER_STATE_ONFOOT || GetPlayerInterior(playerid) != 0 || GetPlayerVirtualWorld(playerid) != 0) return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao pode plantar uma bomba agora!"); if(!PlayerInfo[playerid][ComExplosivo])return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao esta com o explosivo em maos, abra seu inventario para pegar-lo!."); new Float:x, Float:y, Float:z; GetPlayerPos(playerid, x, y, z); SetPVarInt(playerid, "VarObject", CreateDynamicObject(1654, x, y, z-0.8, 45.0, 0.0, 0.0)); SetPVarInt(playerid, "VarBomba", 1); PlayerInfo[playerid][pExplosivos] --; ApplyAnimationEx(playerid,"BOMBER","BOM_Plant_2Idle",4.1,0,1,1,0,0); PlayerInfo[playerid][ComExplosivo] = false; RemovePlayerAttachedObjectEx(playerid, Vaga_Roubo); SetPlayerSpecialAction(playerid, 0); SendClientMessage(playerid, 0x00660CC8, "*Voce plantou uma bomba aqui, afaste-se e digite /detonarbomba para detona-la!"); format(Str, sizeof(Str), "*[BOMBA]: %s plantou uma bomba.", NomePlayer(playerid)); SendClientMessageInRange(30.0, playerid, Str, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); printf("%s", Str); return 1; } CMD:detonarbomba(playerid) { if(!GetPVarInt(playerid, "VarBomba")) return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao plantou uma bomba!"); new objectid = GetPVarInt(playerid, "VarObject"); new Float:x, Float:y, Float:z; GetDynamicObjectPos(objectid, x, y, z); SetPVarInt(playerid, "VarBomba", 0); DestroyDynamicObject(objectid); CreateExplosion(x, y, z, 10, 80.0); CreateExplosion(x+8.0, y+8.0, z, 10, 80.0); CreateExplosion(x-8.0, y-8.0, z, 10, 80.0); CreateExplosion(x+8.0, y-8.0, z, 10, 80.0); CreateExplosion(x-8.0, y+8.0, z, 10, 80.0); CreateExplosion(x, y, z+8.0, 10, 80.0); foreach(Player, i) { if(IsPlayerInRangeOfPoint(i, 30.0, x, y, z)) { new Float:health; GetPlayerHealth(i, health); SetPlayerHealth(i, health - (50 + random(10)) ); } } new Str[128]; format(Str, sizeof(Str), "*[BOMBA]: %s detonou uma bomba.", NomePlayer(playerid)); SendClientMessageInRange(30.0, playerid, Str, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); format(Str, sizeof Str, "[BOMBA]: Uma explosao acaba de acontecer proxima a: %s.", GetPoint2DZone(x, y, z)); SendClientMessageToAll(COLOR_DBLUE, Str); return 1; } CMD:desarmarbomba(playerid) { if(IsACop(playerid)) { foreach(Player, i) { if(GetPVarInt(i, "VarBomba")) { new objectid = GetPVarInt(i, "VarObject"); new Float:x, Float:y, Float:z; GetDynamicObjectPos(objectid, x, y, z); if(IsPlayerInRangeOfPoint(playerid, 2.0, x, y, z)) { new Str[128]; DestroyDynamicObject(objectid); SetPVarInt(i, "VarBomba", 0); ApplyAnimationEx(playerid,"BOMBER","BOM_Plant_2Idle",4.1,0,1,1,0,0); format(Str, sizeof Str, "*O Policial %s desarmou sua bomba!", NomePlayer(playerid)); SendClientMessage(i, 0x00660CC8, Str); format(Str, sizeof Str, "[BOMBA]: O Policial %s conseguiu desarmar uma bomba!", NomePlayer(playerid)); SendClientMessageToAll(COLOR_DBLUE, Str); return 1; } } } SendClientMessage(playerid, COLOR_GRAD1, "Voce nao esta perto de nenhuma bomba!"); } else SendClientMessage(playerid, COLOR_GRAD1, "Voce nao e um policial!"); return 1; } CMD:pegarbomba(playerid) { if(GetPVarInt(playerid, "VarBomba")) { new objectid = GetPVarInt(playerid, "VarObject"); new Float:x, Float:y, Float:z; GetDynamicObjectPos(objectid, x, y, z); if(IsPlayerInRangeOfPoint(playerid, 2.0, x, y, z)) { new Str[128]; DestroyDynamicObject(objectid); SetPVarInt(playerid, "VarBomba", 0); SendClientMessage(playerid, 0x00660CC8, "*Voce pegou sua bomba!"); PlayerInfo[playerid][pExplosivos] ++; new id = CountAttachedObjects(playerid); SetPlayerAttachedObject_Droid(playerid,id ,1654,6,0.032999,0.000000,-0.173999,-28.900001,-9.599999,5.199999,1.000000,1.000000,1.000000); SetPlayerAttachedObjectEx(1654,Vaga_Roubo,playerid,id); PlayerInfo[playerid][ComExplosivo] = true; SetPlayerSpecialAction(playerid, 25); ApplyAnimationEx(playerid,"BOMBER","BOM_Plant_2Idle",4.1,0,1,1,0,0); format(Str, sizeof(Str), "*[BOMBA]: %s juntou sua bomba.", NomePlayer(playerid)); SendClientMessageInRange(30.0, playerid, Str, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); printf("%s", Str); return 1; } SendClientMessage(playerid, COLOR_GRAD1, "Voce nao esta perto de sua bomba!"); } return 1; } CMD:sync(playerid, params[]) { new playa; if(sscanf(params, "u", playa)) { SendClientMessage(playerid, COLOR_GRAD2, "USE: /sync [playerid]"); return true; } if (PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pAdminTemp] >= 1) { if(IsPlayerConnected(playa)) { if(playa != INVALID_PLAYER_ID) { new string[128]; PlayerInfo[playa][pMuted] = 0; GetPlayerName(playa, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); Controle(playa, 1); MedicBill[playa] = 0; NeedMedicTime[playa] = 0; SetCameraBehindPlayer(playa); sincronizando[playa] = 1; virt[playa] = GetPlayerVirtualWorld(playa); interior[playa] = GetPlayerInterior(playa); skinneg[playa] = GetPlayerSkin(playa); GetPlayerArmour(playa,APP[playa]); GetPlayerHealth(playa,PlayerHPP[playa]); GetPlayerFacingAngle(playa,FaceAngle[playa]); GetPlayerPos(playa,xx[playa],yy[playa],zz[playa]); GetPlayerWeaponData(playa,1,gunsinc[1][playa],ammoo[1][playa]); GetPlayerWeaponData(playa,2,gunsinc[2][playa],ammoo[2][playa]); GetPlayerWeaponData(playa,3,gunsinc[3][playa],ammoo[3][playa]); GetPlayerWeaponData(playa,4,gunsinc[4][playa],ammoo[4][playa]); GetPlayerWeaponData(playa,5,gunsinc[5][playa],ammoo[5][playa]); GetPlayerWeaponData(playa,6,gunsinc[6][playa],ammoo[6][playa]); GetPlayerWeaponData(playa,7,gunsinc[7][playa],ammoo[7][playa]); GetPlayerWeaponData(playa,8,gunsinc[8][playa],ammoo[8][playa]); GetPlayerWeaponData(playa,9,gunsinc[9][playa],ammoo[9][playa]); GetPlayerWeaponData(playa,10,gunsinc[10][playa],ammoo[10][playa]); GetPlayerWeaponData(playa,11,gunsinc[11][playa],ammoo[11][playa]); GetPlayerWeaponData(playa,12,gunsinc[12][playa],ammoo[12][playa]); SpawnPlayer(playa); TempoSinc = SetTimerEx("Sincronizar", 500, 0, "i", playa); roubando[playa] = 0; if(IsPlayerInAnyVehicle(playa)) { vehicledd[playa] = 1; VehicleIDD[playa] = GetPlayerVehicleID(playa); } format(string, sizeof(string), "AdmCmd: %s desbugou %s",sendername, giveplayer); printf("%s",string); format(string, sizeof(string), "AdmCmd: %s foi desbugado por %s",giveplayer ,PlayerName(playerid)); ABroadCast(COLOR_LIGHTRED,string,1); } } } else { SendClientMessage(playerid, COLOR_GRAD1, LEVELADM); } return true; } CMD:darlider(playerid, params[]) { new para1, level; if(sscanf(params, "ud", para1, level)) { SendClientMessage(playerid, COLOR_GRAD2, "USE: /darlider [ID do Player] [Numero(1-35)]"); return true; } if(level == 0) { SendClientMessage(playerid, COLOR_GREY, "Para tirar o Lider de uma organizacao voce deve usar /limparlider"); return true; } if(level > 39) { SendClientMessage(playerid, COLOR_GREY, "Organizacões de 1 a 39"); return true; } if(level == 4) { SendClientMessage(playerid, COLOR_GREY, "Organização dos médicos retirada!"); return true; } GetPlayerName(playerid, sendername, MAX_PLAYER_NAME); if (PlayerInfo[playerid][pAdmin] >= 1341) { if(PlayerInfo[para1][pLider] != 0 || PlayerInfo[para1][pMembro] != 0) { SendClientMessage(playerid, COLOR_GRAD1, " Este player ja participa de uma organizacao!"); return true; } if(IsPlayerConnected(para1)) { if(strcmp(InfoOrg[level][Lider],"Ninguem",true)==0) { ConviteInfoOrg(PlayerName(para1), level, 6); } else { SendClientMessage(playerid, COLOR_GRAD2, "Ja tem lider nessa ORG, use /limparlider antes de colocar outro Lider"); return true; } new string[MAX_STRING]; if(level == 1) { PlayerInfo[para1][pSkin] = 265; }//Policia Militar else if(level == 2) { PlayerInfo[para1][pSkin] = 285; }//BOPE else if(level == 3) { PlayerInfo[para1][pSkin] = 287; }//Exercito else if(level == 4) { PlayerInfo[para1][pSkin] = 228; }//Fire/Ambulance else if(level == 5) { PlayerInfo[para1][pSkin] = 115; }//Tropa da Franca else if(level == 6) { PlayerInfo[para1][pSkin] = 288; }//iHarDz else if(level == 7) { PlayerInfo[para1][pSkin] = 147; //Prefeito CofreOrg[7][Dinheiro] = 0; //reseta a grana da prefeitura PLE = 0; PLO = 0; PLPG = 0; PMA = 0; PTC = 0; PLV = 0; PDU = 0; PMC = 0; PMH = 0; PME = 0; PRE = 0; PCE = 0; } else if(level == 8) { PlayerInfo[para1][pSkin] = 294; }//Hitmans else if(level == 9) { PlayerInfo[para1][pSkin] = 227; }//Reporters else if(level == 10) { PlayerInfo[para1][pSkin] = 61; }//Ubers else if(level == 11) { PlayerInfo[para1][pSkin] = 295; }//Policia Federal else if(level == 12) { PlayerInfo[para1][pSkin] = 113; }//Mafia Cosa Nostra else if(level == 13) { PlayerInfo[para1][pSkin] = 120; }//Mafia Yakuza else if(level == 14) { PlayerInfo[para1][pSkin] = 270; }//Groove else if(level == 15) { PlayerInfo[para1][pSkin] = 123; }//ALQaeda else if(level == 16) { PlayerInfo[para1][pSkin] = 286; }//BOPE-SF else if(level == 17) { PlayerInfo[para1][pSkin] = 104; }//Ballas else if(level == 18) { PlayerInfo[para1][pSkin] = 108; }//Vagos else if(level == 19) { PlayerInfo[para1][pSkin] = 170; }//CV else if(level == 20) { PlayerInfo[para1][pSkin] = 279; }//Bombeiros else if(level == 21) { PlayerInfo[para1][pSkin] = 47; }//ppcc else if(level == 22) { PlayerInfo[para1][pSkin] = 117; }//Triads else if(level == 23) { PlayerInfo[para1][pSkin] = 111; }//As FARC else if(level == 24) { PlayerInfo[para1][pSkin] = 100; }//Mayans else if(level == 25) { PlayerInfo[para1][pSkin] = 100; }//Sons else if(level == 26) { PlayerInfo[para1][pSkin] = 174; }//Milicia else if(level == 27) { PlayerInfo[para1][pSkin] = 265; }//Guerrilheiros Israeli else if(level == 28) { PlayerInfo[para1][pSkin] = 108; }//Guerrilheiros Israeli else if(level == 29) { PlayerInfo[para1][pSkin] = 287; }//Guerrilheiros Israeli else if(level == 30) { PlayerInfo[para1][pSkin] = 61; }//Guerrilheiros Israeli else if(level == 31) { PlayerInfo[para1][pSkin] = 70; }//Guerrilheiros Israeli else if(level == 33) { PlayerInfo[para1][pSkin] = 166; }//Policia Civil else if(level == 32) { PlayerInfo[para1][pSkin] = 227; }//Guerrilheiros Israeli else if(level == 34) { PlayerInfo[para1][pSkin] = 288; }//Detran else if(level == 35) { PlayerInfo[para1][pSkin] = 282; }//BAEP else if(level == 36) { PlayerInfo[para1][pSkin] = 310; }//BAEP else if(level == 37) { PlayerInfo[para1][pSkin] = 193; }//TDT else if(level == 39) { PlayerInfo[para1][pSkin] = 173; }//TDE if(PlayerInfo[para1][pSex] == 1) { SetPlayerSkin(para1, PlayerInfo[para1][pSkin]); } else { PlayerInfo[para1][pSkin] = 150; SetPlayerSkin(para1, PlayerInfo[para1][pSkin]); } GetPlayerName(para1, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); PlayerInfo[para1][pLider] = level; format(string, sizeof(string), "Voce foi promovido a lider %s, pelo admin %s.", NomeLiderORG(para1),PlayerName(playerid)); SendClientMessage(para1, COLOR_LIGHTBLUE, string); format(string, sizeof(string), "Voce promoveu %s a lider da organizacao: %d.", giveplayer,level); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); //Regras format(string, sizeof(string), "[Liderança] %s recebeu a liderança da organização: %s pelo admin: %s!", giveplayer, NomeORG(para1), sendername); CNFLogs("Lideres", string); SendClientMessageToAll(0xff6347FF,string); MedicBill[para1] = 0; PlayerInfo[para1][pCargo] = 6; SetPlayerSkin(para1, PlayerInfo[para1][pSkin]); SetPlayerSpawn(para1); SetPlayerToTeamColor(para1); CofreOrg[level][DiaLider] = getdate()+3;// 3 dias format(string, sizeof(string), Pasta_CofreOrg,level); DOF2_SetInt(string,"DiaLider",CofreOrg[level][DiaLider]); DOF2_SaveFile(); UltimoLoginOrg(para1); return true; } else { SendClientMessage(playerid, COLOR_GRAD1, " Esse jogador esta off-line."); } return true; } else { SendClientMessage(playerid, COLOR_GRAD1, "Voce nao esta autorizado a usar este comando!"); } return true; } CMD:agendarlider(playerid, params[]) { new IDOrg, Nick[24], Mensagem[60]; if(PlayerInfo[playerid][pAdmin] < 1341) return SemPermCMD if(sscanf(params, "s[24]ds[60]", Nick, IDOrg, Mensagem)) return UseCMD(playerid, "/agendarlider [Nick] [Org 1-37] [Mensagem Ao Lider]"); format(strbrazz, 256, "LideresAgendados/%s.ini", Nick); if(fexist(strbrazz)) return SCM(playerid, COLOR_GRAD1, "[Erro] Essa conta ja tem um Lider agendado."); AgendarLider(Nick, IDOrg, Mensagem); new string[128]; format(string, 128, "[Lider Agendado] O Admin: %s agendou Lider Da ORG: %02d para o jogador: %s!", PlayerName(playerid), IDOrg, Nick); ABroadCast(COLOR_LIGHTRED, string, 1); return true; } stock AgendarLider(Nome[], OrgID, Mensagem[]) { new arquivolider[50]; format(arquivolider, sizeof arquivolider, "LideresAgendados/%s.ini", Nome); DOF2_CreateFile(arquivolider); DOF2_SetInt(arquivolider, "IDDaOrg", OrgID); DOF2_SetString(arquivolider, "MensagemAoLider", Mensagem); DOF2_SaveFile(); } stock ReceberLiderAgendado(playerid) { new Nome[MAX_PLAYER_NAME]; GetPlayerName(playerid, Nome, sizeof(Nome)); new arquivolider[50]; format(arquivolider, sizeof arquivolider, "LideresAgendados/%s.ini", Nome); if(fexist(arquivolider)) { new orgid = DOF2_GetInt(arquivolider, "IDDaOrg"); if(orgid == 1) { PlayerInfo[playerid][pSkin] = 265; }//Policia Militar else if(orgid == 2) { PlayerInfo[playerid][pSkin] = 285; }//BOPE else if(orgid == 3) { PlayerInfo[playerid][pSkin] = 287; }//Exercito else if(orgid == 4) { PlayerInfo[playerid][pSkin] = 228; }//Fire/Ambulance else if(orgid == 5) { PlayerInfo[playerid][pSkin] = 115; }//Tropa da Franca else if(orgid == 6) { PlayerInfo[playerid][pSkin] = 288; }//iHarDz else if(orgid == 7) { PlayerInfo[playerid][pSkin] = 147; //Prefeito CofreOrg[7][Dinheiro] = 0; //reseta a grana da prefeitura PLE = 0; PLO = 0; PLPG = 0; PMA = 0; PTC = 0; PLV = 0; PDU = 0; PMC = 0; PMH = 0; PME = 0; PRE = 0; PCE = 0; } else if(orgid == 8) { PlayerInfo[playerid][pSkin] = 294; }//Hitmans else if(orgid == 9) { PlayerInfo[playerid][pSkin] = 227; }//Reporters else if(orgid == 10) { PlayerInfo[playerid][pSkin] = 61; }//Ubers else if(orgid == 11) { PlayerInfo[playerid][pSkin] = 295; }//Policia Federal else if(orgid == 12) { PlayerInfo[playerid][pSkin] = 113; }//Mafia Cosa Nostra else if(orgid == 13) { PlayerInfo[playerid][pSkin] = 120; }//Mafia Yakuza else if(orgid == 14) { PlayerInfo[playerid][pSkin] = 270; }//Groove else if(orgid == 15) { PlayerInfo[playerid][pSkin] = 123; }//ALQaeda else if(orgid == 16) { PlayerInfo[playerid][pSkin] = 286; }//BOPE-SF else if(orgid == 17) { PlayerInfo[playerid][pSkin] = 104; }//Ballas else if(orgid == 18) { PlayerInfo[playerid][pSkin] = 108; }//Vagos else if(orgid == 19) { PlayerInfo[playerid][pSkin] = 170; }//CV else if(orgid == 20) { PlayerInfo[playerid][pSkin] = 279; }//Bombeiros else if(orgid == 21) { PlayerInfo[playerid][pSkin] = 47; }//ppcc else if(orgid == 22) { PlayerInfo[playerid][pSkin] = 117; }//Triads else if(orgid == 23) { PlayerInfo[playerid][pSkin] = 111; }//As FARC else if(orgid == 24) { PlayerInfo[playerid][pSkin] = 100; }//Mayans else if(orgid == 25) { PlayerInfo[playerid][pSkin] = 100; }//Sons else if(orgid == 26) { PlayerInfo[playerid][pSkin] = 174; }//Milicia else if(orgid == 27) { PlayerInfo[playerid][pSkin] = 265; }//Guerrilheiros Israeli else if(orgid == 28) { PlayerInfo[playerid][pSkin] = 108; }//Guerrilheiros Israeli else if(orgid == 29) { PlayerInfo[playerid][pSkin] = 287; }//Guerrilheiros Israeli else if(orgid == 30) { PlayerInfo[playerid][pSkin] = 61; }//Guerrilheiros Israeli else if(orgid == 31) { PlayerInfo[playerid][pSkin] = 70; }//Guerrilheiros Israeli else if(orgid == 33) { PlayerInfo[playerid][pSkin] = 166; }//Policia Civil else if(orgid == 32) { PlayerInfo[playerid][pSkin] = 227; }//Guerrilheiros Israeli else if(orgid == 34) { PlayerInfo[playerid][pSkin] = 288; }//Detran else if(orgid == 35) { PlayerInfo[playerid][pSkin] = 282; }//BAEP else if(orgid == 36) { PlayerInfo[playerid][pSkin] = 310; }//BAEP else if(orgid == 37) { PlayerInfo[playerid][pSkin] = 193; }//TDT if(PlayerInfo[playerid][pSex] == 1) { SetPlayerSkin(playerid, PlayerInfo[playerid][pSkin]); } else { PlayerInfo[playerid][pSkin] = 150; SetPlayerSkin(playerid, PlayerInfo[playerid][pSkin]); } DemitirInfoOrg(PlayerName(playerid)); PlayerInfo[playerid][pLider] = orgid; PlayerInfo[playerid][pCargo] = 6; ConviteInfoOrg(PlayerName(playerid), orgid, 6); new string[128]; format(string, sizeof(string), "[Liderança Agendada] %s recebeu a liderança da organização: %s por um agendamento!", Nome, NomeORG(playerid)); CNFLogs("Lideres", string); SendClientMessageToAll(0xff6347FF,string); MedicBill[playerid] = 0; SetPlayerSkin(playerid, PlayerInfo[playerid][pSkin]); SetPlayerSpawn(playerid); SetPlayerToTeamColor(playerid); CofreOrg[orgid][DiaLider] = getdate()+3;// 3 dias format(string, sizeof(string), Pasta_CofreOrg,orgid); DOF2_SetInt(string,"DiaLider",CofreOrg[orgid][DiaLider]); format(arquivolider, sizeof arquivolider, "LideresAgendados/%s.ini", Nome); SCMf(playerid, 0x00FF00FF, "[Lideranca agendada] Voce recebeu a lideranca da org id: %02d!", orgid); SCMf(playerid, 0x00FF00FF, "[Lideranca agendada] Mensagem deixada no agendamento: {FFFFFF}%s", DOF2_GetString(arquivolider, "MensagemAoLider")); DOF2_RemoveFile(arquivolider); } } CMD:agendarvip(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] < 1342) return SCM(playerid, COLOR_LIGHTRED, "Você não pode dar esse comando."); new arquivo[24]; new agendavip[45]; new nome[MAX_PLAYER_NAME], pvip, meses; if(sscanf(params, "s[24]dd", nome, pvip, meses)) return SendClientMessage(playerid, COLOR_GRAD1, "Use: /agendarvip [Nome] [VIP 1-4] [Meses]"); format(arquivo, sizeof(arquivo), "Contas/%s.ini", nome); format(agendavip, 45, "VipsAgendados/%s.ini", nome); if(meses > 4 && meses < 1) return SCM(playerid, COLOR_RED, #O Nivel precisa ser entre 1 e 4!); if(!fexist(arquivo)) return SCMf(playerid, COLOR_LIGHTRED, "A Conta: %s não foi encontrada em nosso banco de dados!", nome); DOF2_CreateFile(agendavip); new dia, mes, ano; getdate(ano, mes, dia); DOF2_SetInt(agendavip, "NivelVIP", pvip); DOF2_SetInt(agendavip, "MesesVIP", meses); DOF2_SaveFile(); new string[256], nomevip[30]; if(pvip == 1)nomevip = "VIP"; if(pvip == 2)nomevip = "Super-VIP"; if(pvip == 3)nomevip = "Socio-Reliquia"; if(pvip == 4)nomevip = "Socio-Platina"; format(string, 256, "{7CFC00}[Agendamento] {FFFFFF}%s {7CFC00}agendou {FFFFFF}%d {7CFC00}meses de {FFFFFF}%s{7CFC00} para: {FFFFFF}%s!", PlayerName(playerid), meses, nomevip, nome); ABroadCast(0x7CFC00FF, string, 1); return 1; } CMD:forceskin(playerid, params[]) { new para1; if(sscanf(params, "u", para1)) { SendClientMessage(playerid, COLOR_GRAD2, "USE: /forceskin [ID do Player]"); return true; } if (PlayerInfo[playerid][pAdmin] >= 4) { if(admtrampando[playerid] < 1 && PlayerInfo[playerid][pAdmin] < 1340) { SendClientMessage(playerid, COLOR_GRAD1, TRABALHARADM); return true; } if(IsPlayerConnected(para1)) { if(para1 != INVALID_PLAYER_ID) { if(PlayerInfo[para1][pMembro] < 1) { SendClientMessage(playerid, COLOR_GREY, "Este jogador nao esta em um Emprego / Familia"); return true; } new string[128]; GetPlayerName(para1, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); if(admtrampando[playerid] == 1 && admhide[playerid] == 1) { SendClientMessage(para1, COLOR_LIGHTBLUE, "* Voce foi forcado a mudar o skin pelo Admin MOLE."); } else { format(string, sizeof(string), "* Voce foi forcado a mudar o skin pelo Admin %s.", PlayerName(playerid)); SendClientMessage(para1, COLOR_LIGHTBLUE, string); } format(string, sizeof(string), "* Voce forcou o(a) %s Para muda seu skin.", giveplayer); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); if(PlayerInfo[para1][pMembro] == 1) { ChosenSkin[para1] = 59; } else if(PlayerInfo[para1][pMembro] == 2) { ChosenSkin[para1] = 121; } else if(PlayerInfo[para1][pMembro] == 3) { ChosenSkin[para1] = 98; } else if(PlayerInfo[para1][pMembro] == 4) { ChosenSkin[para1] = 46; } else if(PlayerInfo[para1][pMembro] == 5) { ChosenSkin[para1] = 174; } else if(PlayerInfo[para1][pMembro] == 6) { ChosenSkin[para1] = 285; } else if(PlayerInfo[para1][pMembro] == 7) { ChosenSkin[para1] = 164; } else if(PlayerInfo[para1][pMembro] == 8) { ChosenSkin[para1] = 186; } else if(PlayerInfo[para1][pMembro] == 22) { ChosenSkin[para1] = 118; } else { return true; } SetPlayerInterior(para1,0); new rand = random(sizeof(gInviteSpawns)); SetPlayerPos(para1, gInviteSpawns[rand][0], gInviteSpawns[rand][1], gInviteSpawns[rand][2]); // Warp the player SetPlayerFacingAngle(para1, gInviteSpawns[rand][3]); SetPlayerCameraPos(para1,gInviteSpawns[rand][0] + 3, gInviteSpawns[rand][1], gInviteSpawns[rand][2]); SetPlayerCameraLookAt(para1,gInviteSpawns[rand][0], gInviteSpawns[rand][1], gInviteSpawns[rand][2]); Controle(para1, 0); SelectChar[para1] = 255; SelectCharID[para1] = PlayerInfo[para1][pMembro]; SelectCharPlace[para1] = 1; PlayerInfo[para1][pSkin] = ChosenSkin[para1]; SendClientMessage(para1, COLOR_LIGHTRED, "* Use 'Proximo' para selecionar o skin de sua vontade."); SendClientMessage(para1, COLOR_LIGHTRED, "* Se Quizer utilizar esta skin ->, Digite 'Confirma'."); } } } else { SendClientMessage(playerid, COLOR_GRAD1, "Voce nao esta autorizado a usar este comando!"); } return true; } CMD:pularid(playerid, params[]) { new id; if (CarShopping[playerid] == false) return SendClientMessage(playerid, 0xE60000FF, "Voce nao esta comprando um veiculo!"); if(sscanf(params, "d", id)) return SendClientMessage(playerid, 0xE60000FF, "USE: /pularid [ID do carro]"); new idcar = id; if (idcar < 400 || idcar > 611) return SendClientMessage(playerid, 0xE60000FF, "ID invalido"); new color1 = CarColor[playerid][0]; new color2 = CarColor[playerid][1]; carbrowse[playerid] = GetVehicleModelIDFromID(idcar); DestroyVehicleEx(ShopCar[playerid]); ShopCar[playerid] = CreateVehicle(CarModels[carbrowse[playerid]], VEHSHOW_X, VEHSHOW_Y, VEHSHOW_Z, VEHSHOW_A, color1, color2, 6000000); SetVehicleVirtualWorld(ShopCar[playerid], playerid); PutPlayerInVehicle(playerid, ShopCar[playerid], 0); SetPlayerCameraPos(playerid, PLASHOW_X, PLASHOW_Y, PLASHOW_Z); SetPlayerCameraLookAt(playerid, VEHSHOW_X, VEHSHOW_Y, VEHSHOW_Z); return 1; } CMD:pularnome(playerid, params[]) { new id[128]; if (CarShopping[playerid] == false) return SendClientMessage(playerid, 0xE60000FF, "Voce nao esta comprando um veiculo!"); if(sscanf(params, "s[128]", id)) return SendClientMessage(playerid, 0xE60000FF, "USE: /pularnome [Nome do carro]"); new namid = GetVehicleModelIDFromName(id); if (namid < 400 || namid > 611) return SendClientMessage(playerid, 0xE60000FF, "Nome invalido"); new color1 = CarColor[playerid][0]; new color2 = CarColor[playerid][1]; carbrowse[playerid] = namid-400; DestroyVehicleEx(ShopCar[playerid]); ShopCar[playerid] = CreateVehicle(CarModels[carbrowse[playerid]], VEHSHOW_X, VEHSHOW_Y, VEHSHOW_Z, VEHSHOW_A, color1, color2, 6000000); SetVehicleVirtualWorld(ShopCar[playerid], playerid); PutPlayerInVehicle(playerid, ShopCar[playerid], 0); SetPlayerCameraPos(playerid, PLASHOW_X, PLASHOW_Y, PLASHOW_Z); SetPlayerCameraLookAt(playerid, VEHSHOW_X, VEHSHOW_Y, VEHSHOW_Z); return 1; } CMD:cor(playerid, params[]) { new color1,color2; if (CarShopping[playerid] == false) return SendClientMessage(playerid, 0xE60000FF, "Voce nao esta comprando um veiculo!"); if(sscanf(params, "dd", color1, color2)) return SendClientMessage(playerid, 0xE60000FF, "USE: /cor [cor 1] [cor 2]"); if (color1 < 0 || color1 > 126) return SendClientMessage(playerid, 0xE60000FF, "A cor deve ser entre 0 e 126."); if (color2 < 0 || color2 > 126) return SendClientMessage(playerid, 0xE60000FF, "A cor deve ser entre 0 e 126."); CarColor[playerid][0] = color1; CarColor[playerid][1] = color2; ChangeVehicleColor(GetPlayerVehicleID(playerid), color1, color2); return 1; } CMD:menucop(playerid) { if(PlayerInfo[playerid][pJailed] != 0) { SendClientMessage(playerid,COLOR_GREY,"Voce nao pode usar este comando preso !"); return 1; } if (IsACop(playerid)) { if(PlayerToPoint(2,playerid,229.9627,165.1098,1003.0234) || PlayerToPoint(2,playerid,1712.3022,-1640.2500,20.2239) || PlayerToPoint(2,playerid,2602.8528,1899.2375,11.0234) || PlayerToPoint(2,playerid,255.1995,77.1081,1003.6406) || PlayerToPoint(2,playerid,-1348.3979,500.5638,11.2027) || PlayerToPoint(2,playerid,2919.8196,2105.1384,17.8955) || PlayerToPoint(2,playerid,927.2700,-1038.1577,31.8984) || PlayerToPoint(2,playerid,240.5192,112.7945,1003.2188) || PlayerToPoint(2,playerid,919.0876,-1258.1152,15.6641) || PlayerToPoint(2,playerid,-506.6495,-539.6550,25.5234) || PlayerToPoint(2,playerid,1059.7234,1273.0679,10.8203) || PlayerToPoint(2,playerid,1175.2020,1352.1891,10.9219)) { ShowPlayerDialog(playerid, 8930, DIALOG_STYLE_LIST, "Computador Cop´s", "Pegar Equipamentos\nBater o Cartao\nModo ROCAM PM\nArma de Shock\nProcurados\nPresos\nPEGAR TASER", "Ok", "Cancelar"); } } return 1; } CMD:kingh360(playerid) { if(PlayerToPoint(6.0,playerid,203.7803,-43.2660,1001.8047)) { if(GetPlayerMoney(playerid) >= 500000) { SendClientMessage(playerid, COLOR_GRAD4, "Escolha seu Telefone:"); ShowPlayerDialog(playerid, novotel, DIALOG_STYLE_LIST, "Escolha seu Telefone:", "Laranja\nAzul\nMarron\nPreto\nRosa\n\ Vermelho\nVerde\nAzul Escuro\nAmarelo\nBranco", "Selecionar", "Sair"); } else { SendClientMessage(playerid, COLOR_GREY, "Voce nao tem dinheiro o suficiente."); } } return 1; } CMD:mv(playerid) { if (PlayerInfo[playerid][pTemCarro] == 0) return SendClientMessage(playerid, 0xE60000FF, "Voce nao tem um veiculo(Compre um na Concessionaria)."); ShowPlayerDialog(playerid, menuvei, DIALOG_STYLE_LIST, "{7B68EE}|> Painel Veiculo CNF <|", "{7B68EE}» {FFFFFF}Estacionar\n\ {7B68EE}» {FFFFFF}Localizar Veiculo\n\ {7B68EE}» {FFFFFF}Trancar\n\ {7B68EE}» {FFFFFF}Destrancar\n\ {7B68EE}» {FFFFFF}Remover Tunagem\n\ {7B68EE}» {FFFFFF}Conectar Carro\n\ {7B68EE}» {FFFFFF}Desconectar Carro\n\ {7B68EE}» {FFFFFF}Vender Carro","Ligar","Fechar"); return 1; } CMD:revenderveiculo(playerid) { if (GetOwnedVehicleID(playerid) == INVALID_VEHICLE_ID) return SendClientMessage(playerid, 0xE60000FF, "Voce nao tem um veiculo para revender, ou ainda não conectou no /mv!"); if (PlayerToPoint(3, playerid,987.3652,-1509.4285,13.2503)) { new vehicleid = GetOwnedVehicleID(playerid); new vendacarro = GetVehicleCost(vehicleid) / 4; new string[100]; format(string, sizeof string, "Tem Certeza Que Quer Vender\n\ seu carro da Concessionaria por\n\ R$%s?", ConvertMoney(vendacarro)); ShowPlayerDialog(playerid, 199, DIALOG_STYLE_MSGBOX, "Concessionaria - Vender", string, "Confirmar", "Cancelar"); } if (PlayerToPoint(3, playerid,1722.4653,1852.5426,10.8203)) { new vehicleid = GetOwnedVehicleID(playerid); if (vehicleid == INVALID_VEHICLE_ID) return SendClientMessage(playerid, 0xE60000FF, "Voce nao tem um veiculo."); new vendacarro = GetVehicleCost(vehicleid) / 4; new string[100]; format(string, sizeof string, "Tem Certeza Que Quer Vender\n\ seu carro da Concessionaria por\n\ R$%s?", ConvertMoney(vendacarro)); ShowPlayerDialog(playerid, 199, DIALOG_STYLE_MSGBOX, "Concessionaria - Vender", string, "Confirmar", "Cancelar"); } return 1; } CMD:comprarvei(playerid) { if (PlayerToPoint(3, playerid,981.9832,-1509.4117,13.2555)) { new stringg[35]; format(stringg, 35, VEH_SAVE_FILE, PlayerName(playerid)); if(PlayerInfo[playerid][pTemCarro]) return SendClientMessage(playerid,0xF78181AA,"Voce ja tem um carro!"); if (GetPlayerInterior(playerid) != 0) return SendClientMessage(playerid, 0xE60000FF, "Voce nao pode estar em um interior"); // To prevent screw ups GetPlayerPos(playerid, OrgX[playerid], OrgY[playerid], OrgZ[playerid]); GetPlayerFacingAngle(playerid, OrgA[playerid]); new Float:X,Float:Y; new color1 = CarColor[playerid][0]; new color2 = CarColor[playerid][1]; X = VEHSHOW_X; Y = VEHSHOW_Y; TogglePlayerControllableEx(playerid, false); X -= (10.0 * floatsin(-VEHSHOW_A+90, degrees)); Y -= (10.0 * floatcos(-VEHSHOW_A+90, degrees)); SetPlayerCameraPos(playerid, PLASHOW_X, PLASHOW_Y, PLASHOW_Z); X += (10.0 * floatsin(-VEHSHOW_A+90, degrees)); Y += (10.0 * floatcos(-VEHSHOW_A+90, degrees)); SetPlayerCameraLookAt(playerid, PLASHOW_X, PLASHOW_Y, PLASHOW_Z); SetPlayerVirtualWorld(playerid, playerid); ShopCar[playerid] = CreateVehicle(CarModels[0], VEHSHOW_X, VEHSHOW_Y, VEHSHOW_Z, VEHSHOW_A, color1, color2, 6000000); CriadoPorADM[ShopCar[playerid]] = -1; CarroEMPREGOID[ShopCar[playerid]] = -1; CarroORGID[ShopCar[playerid]] = -1; CarroParticular[ShopCar[playerid]] = 1; CriadoPorADM[ShopCar[playerid]] = -1; SetVehicleVirtualWorld(ShopCar[playerid], playerid); PutPlayerInVehicle(playerid, ShopCar[playerid], 0); TogglePlayerControllableEx(playerid, false); CarShopping[playerid] = true; INCOMPRA[playerid] = 1; SetPlayerCameraPos(playerid, PLASHOW_X, PLASHOW_Y, PLASHOW_Z); SetPlayerCameraLookAt(playerid, X, Y, VEHSHOW_Z); SetTimerEx("BrowseCars", 300, 0, "d", playerid); UnLockCar(ShopCar[playerid]); Gas[ShopCar[playerid]] = 100; Concessionaria[playerid] = 1; for(new i; i < sizeof(ConceTxD); i++) { TextDrawShowForPlayer(playerid, ConceTxD[i]); } SelectTextDraw(playerid, 0x00FFFFFF); PlayerTextDrawShow(playerid, ConceTxDPlayer[0]); PlayerTextDrawShow(playerid, ConceTxDPlayer[1]); PlayerTextDrawShow(playerid, ConceTxDPlayer[2]); new strbrazz33[90]; format(strbrazz33, 90, "Veiculo: %s", VehicleName[carbrowse[playerid]]); PlayerTextDrawSetString(playerid, ConceTxDPlayer[0] , strbrazz33); new vehid = GetPlayerVehicleID(playerid); new model = GetVehicleModel(GetPlayerVehicleID(playerid)); format(strbrazz33, 90, "Valor: %s", ConvertMoney(GetVehicleCost(vehid))); PlayerTextDrawSetString(playerid, ConceTxDPlayer[1] , strbrazz33); PlayerTextDrawSetPreviewModel(playerid, ConceTxDPlayer[2], model); PlayerTextDrawHide(playerid, ConceTxDPlayer[2]); PlayerTextDrawShow(playerid, ConceTxDPlayer[2]); // PlayerTextDrawShow(playerid, AjudaConce1[playerid]); // PlayerTextDrawShow(playerid, AjudaConce2[playerid]); ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, "ATENCAO", "{FF8C00}Quando escolher o veiculo, DIGITE {FFFFFF}'/COMPRAC'{FF8C00}para compra-lo.\n\nSe quiser sair da Concessionaria segure {FFFFFF}'F'{FFFFFF}.\n\n{FF8C00}Digite {FFFFFF}/cor {FF8C00}para trocar a cor do veiculo.!\n\n\ Digite {FFFFFF}/pularid[id carro] {FF8C00}caso saiba o numero do que deseja!\n\nDigite {FFFFFF}/pularnome[nome carro] {FF8C00}caso saiba o nome do carro que deseja\n\nSETA ESQUERDA {FFFFFF}<- Volta\n\n{FF8C00}SETA DIREITA {FFFFFF}-> Avança!", "OK", ""); } if (PlayerToPoint(3, playerid,1736.0236,1852.5479,10.8203)) { new stringg[35]; format(stringg, 35, VEH_SAVE_FILE, PlayerName(playerid)); if(PlayerInfo[playerid][pTemCarro]) return SendClientMessage(playerid,0xF78181AA,"Voce ja tem um carro!"); if (GetPlayerInterior(playerid) != 0) return SendClientMessage(playerid, 0xE60000FF, "Voce nao pode estar em um interior"); // To prevent screw ups GetPlayerPos(playerid, OrgX[playerid], OrgY[playerid], OrgZ[playerid]); GetPlayerFacingAngle(playerid, OrgA[playerid]); new Float:X,Float:Y; new color1 = CarColor[playerid][0]; new color2 = CarColor[playerid][1]; X = VEHSHOW_X; Y = VEHSHOW_Y; TogglePlayerControllableEx(playerid, false); X -= (10.0 * floatsin(-VEHSHOW_A+90, degrees)); Y -= (10.0 * floatcos(-VEHSHOW_A+90, degrees)); SetPlayerCameraPos(playerid, PLASHOW_X, PLASHOW_Y, PLASHOW_Z); X += (10.0 * floatsin(-VEHSHOW_A+90, degrees)); Y += (10.0 * floatcos(-VEHSHOW_A+90, degrees)); SetPlayerCameraLookAt(playerid, PLASHOW_X, PLASHOW_Y, PLASHOW_Z); SetPlayerVirtualWorld(playerid, playerid); ShopCar[playerid] = CreateVehicle(CarModels[0], VEHSHOW_X, VEHSHOW_Y, VEHSHOW_Z, VEHSHOW_A, color1, color2, 6000000); CriadoPorADM[ShopCar[playerid]] = -1; CarroEMPREGOID[ShopCar[playerid]] = -1; CarroORGID[ShopCar[playerid]] = -1; CarroParticular[ShopCar[playerid]] = 1; CriadoPorADM[ShopCar[playerid]] = -1; SetVehicleVirtualWorld(ShopCar[playerid], playerid); PutPlayerInVehicle(playerid, ShopCar[playerid], 0); TogglePlayerControllableEx(playerid, false); CarShopping[playerid] = true; INCOMPRA[playerid] = 1; SetPlayerCameraPos(playerid, PLASHOW_X, PLASHOW_Y, PLASHOW_Z); SetPlayerCameraLookAt(playerid, X, Y, VEHSHOW_Z); SetTimerEx("BrowseCars", 300, 0, "d", playerid); UnLockCar(ShopCar[playerid]); Gas[ShopCar[playerid]] = 100; Concessionaria[playerid] = 2; for(new i; i< sizeof(ConceTxD); i++) { TextDrawShowForPlayer(playerid, ConceTxD[i]); } SelectTextDraw(playerid, 0x00FFFFFF); // PlayerTextDrawShow(playerid, AjudaConce1[playerid]); // PlayerTextDrawShow(playerid, AjudaConce2[playerid]); ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, "ATENCAO", "{FF8C00}Quando escolher o veiculo, DIGITE {FFFFFF}'/COMPRAC'{FF8C00}para compra-lo.\n\nSe quiser sair da Concessionaria segure {FFFFFF}'F'{FFFFFF}.\n\n{FF8C00}Digite {FFFFFF}/cor {FF8C00}para trocar a cor do veiculo.!\n\n\ Digite {FFFFFF}/pularid[id carro] {FF8C00}caso saiba o numero do que deseja!\n\nDigite {FFFFFF}/pularnome[nome carro] {FF8C00}caso saiba o nome do carro que deseja\n\nSETA ESQUERDA {FFFFFF}<- Volta\n\n{FF8C00}SETA DIREITA {FFFFFF}-> Avança!", "OK", ""); } return 1; } CMD:setararquive(playerid, params[]) { new arquive[30]; new qnt; new var[30]; if(PlayerInfo[playerid][pAdmin] < 1338) return SCM(playerid, COLOR_GRAD1, "Sem acesso a esse comando."); if(sscanf(params, "s[30]s[30]d", arquive, var, qnt)) return SCM(playerid, COLOR_GRAD1, "Use: /setararquive [arquivo] [Var] [Inteiro]"); format(strbrazz, 256, "%s", arquive); if(!DOF2_FileExists(strbrazz)) return SCM(playerid, COLOR_GRAD1, "Arquivo inexistente."); DOF2_SetInt(strbrazz, var, qnt); DOF2_SaveFile(); format(strbrazz, 256, "[Chat Brazz] %s setou na var: %s o int: %d.", PlayerName(playerid), var, qnt); ABroadCast(COLOR_LIGHTRED, strbrazz, 1338); return 1; } CMD:comprac(playerid) { if(CarShopping[playerid] == false) return SCM(playerid, COLOR_ERRO, "Voce nao esta comprando veiculos da concessionaria!"); if(!IsPlayerInAnyVehicle(playerid)) return SCM(playerid, COLOR_ERRO, "Voce nao esta em um veiculo."); new vehicleid = GetPlayerVehicleID(playerid); new string[MAX_STRING]; format(string, sizeof(string),"Este Carro Custa R$%s\nTem Certeza que Deseja Compra-lo?",ConvertMoney(GetVehicleCost(vehicleid))); ShowPlayerDialog(playerid, 3334, DIALOG_STYLE_MSGBOX, "Concessionaria", string, "Sim", "Nao"); return 1; } //=============[VENDER CARRO]============// CMD:vendercarro(playerid, params[]) { new ID, Valor; if(!IsValidVehicle(PlayerCarroConce[playerid])) return SCM(playerid, COLOR_LIGHTRED, "[ERRO] Você não tem um carro ou não o-conectou!"); if(sscanf(params, "id", ID, Valor)) return SCM(playerid, COLOR_GRAD1, "Use: /vendercarro [ID/Nick] [Valor]"); if(!IsPlayerConnected(ID)) return SCM(playerid, COLOR_LIGHTRED, "[ERRO] Esse jogador não está conectado."); if(PlayerInfo[ID][pLevel] <= 3 || PlayerInfo[playerid][pLevel] <= 3) return SCM(playerid, COLOR_LIGHTRED, "[ERRO] Voce e o comprador precisam ser level maior que 3!"); if(ID == playerid) return SCM(playerid, COLOR_LIGHTRED, "[ERRO] Você não pode vender o carro para você mesmo!"); if(GetPlayerVehicleID(playerid) != GetOwnedVehicleID(playerid)) return SCM(playerid, COLOR_LIGHTRED, "[ERRO] Você precisa estar dentro do seu carro!"); if(Valor > GetPlayerMoney(ID)) return SCM(playerid, COLOR_LIGHTRED, "[ERRO] Esse jogador não possui dinheiro suficiente."); if(GetDistanceBetweenPlayers(playerid, ID) > 15.0) return SCM(playerid, COLOR_LIGHTRED, "[ERRO] Você precisa estar perto desse jogador."); if(PlayerInfo[ID][pTemCarro]) return SCM(playerid, COLOR_LIGHTRED, "[ERRO] Esse jogador já possui um carro."); if(ComprandoItemServerDe[ID] != INVALID_PLAYER_ID) return SCM(playerid, COLOR_LIGHTRED, "[ERRO] Esse jogador já está recebendo oferta de alguma coisa."); if(Valor < 5000 || Valor > 1000000) return SCM(playerid, COLOR_LIGHTRED, "[ERRO] O valor precisa ser entre R$5.000 e R$1.000.000"); VendendoItemServerPara[playerid] = ID; ComprandoItemServerDe[ID] = playerid; IndexIDVendendo[ID] = GetPlayerVehicleID(playerid); IndexPrecoVendendo[ID] = Valor; TipoCompraItemIDD[ID] = C_COMPRA_CARRO; TempoComprarItemServer[ID] = 20; if(TimerComprarItemServer[ID] != -1) KillTimer(TimerComprarItemServer[ID]); TimerComprarItemServer[ID] = -1; GameTextForPlayer(playerid, "~w~Oferta enviada!", 5000, 5); SCMf(playerid, 0xF36034FF, "~» Você enviou uma oferta de R$%i pelo seu carro ao jogador %s (ID: %i)! Aguarde...", Valor, PlayerName(ID), ID); TimerComprarItemServer[ID] = SetTimerEx("Timer_AdquirirItemServer", 1000, false, "i", ID); return 1; } //----------------------------------[setteam]------------------------------------------------ CMD:settime(playerid, params[]) { new para1; if(sscanf(params, "u", para1)) { SendClientMessage(playerid, COLOR_GRAD2, "USE: /settime [ID do Player]"); return true; } new string[128]; if (PlayerInfo[playerid][pAdmin] >= 1) { if(IsPlayerConnected(para1)) { //if(!admtrampando[playerid] && PlayerInfo[playerid][pAdmin] < 1342) //return SendClientMessage(playerid, COLOR_GRAD1, " Voce nao pode usar este comando, pois nao esta em modo trabalho!"); if(para1 != INVALID_PLAYER_ID) { GetPlayerName(para1, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); SetPlayerSpawn(para1); printf("AdmCmd: %s setou %s.", sendername, giveplayer); if(admtrampando[playerid] == 1 && admhide[playerid] == 1) { format(string, sizeof(string), " Voce foi setado por %s", PlayerName(playerid)); SendClientMessage(para1, COLOR_LIGHTBLUE, string); } else { format(string, sizeof(string), " Voce foi setado por %s", PlayerName(playerid)); SendClientMessage(para1, COLOR_LIGHTBLUE, string); } format(string, sizeof(string), " Voce ligou %s a sua equipe", giveplayer); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); } } } else { SendClientMessage(playerid, COLOR_GRAD1, " Voce nao esta autorizado a usar este comando!"); } return true; } //Pedir Contas CMD:pedircontas(playerid, params[]) { if(PlayerInfo[playerid][pMembro] >= 1) { DemitirInfoOrg(PlayerName(playerid)); PlayerInfo[playerid][pMembro] = 0; PlayerInfo[playerid][pLider] = 0; PlayerInfo[playerid][pCargo] = 0; ConnectedToPC[playerid] = 0; OnDuty[playerid] = 0; EmpregoDuty[playerid] = 0; RemoveParedao(playerid); DestroyPVehicleOrg(playerid); DestroyPVehicleEmp(playerid); RemoveallRoadandSpikes(playerid); if(PlayerInfo[playerid][pSex] == 1) { PlayerInfo[playerid][pSkin] = 289; } else { PlayerInfo[playerid][pSkin] = 150; } MedicBill[playerid] = 0; MedicBill[playerid] = 0; SetPlayerToTeamColor(playerid); if(PlayerInfo[playerid][pSex] == 1) { SetPlayerSkin(playerid, 289); PlayerInfo[playerid][pSkin] = 289; } else { SetPlayerSkin(playerid, 41); PlayerInfo[playerid][pSkin] = 41; } SendClientMessage(playerid, COLOR_LIGHTBLUE, "Voce pediu as contas, agora voce e um Civil novamente!"); return true; } else { SendClientMessage(playerid,COLOR_GREY,"Voce nao faz parte de nemhuma organizacao!"); return true; } } CMD:contaslider(playerid, params[]) { if(PlayerInfo[playerid][pLider] == 0) { SendClientMessage(playerid,COLOR_GREY,"Voce nao e lider de nenhuma organizacao!"); return true; } new string[100]; format(string, sizeof(string), "AdmAviso: %s pediu contas de Lider da organizacao: [%s]",PlayerName(playerid), NomeORG(playerid)); CNFLogs("Lideres", string); ABroadCast(COLOR_LIGHTRED, string, 1); DemitirInfoOrg(PlayerName(playerid)); PlayerInfo[playerid][pMembro] = 0; RemoveParedao(playerid); DestroyPVehicleOrg(playerid); DestroyPVehicleEmp(playerid); PlayerInfo[playerid][pLider] = 0; PlayerInfo[playerid][pCargo] = 0; ConnectedToPC[playerid] = 0; OnDuty[playerid] = 0; EmpregoDuty[playerid] = 0; RemoveallRoadandSpikes(playerid); if(PlayerInfo[playerid][pSex] == 1) { PlayerInfo[playerid][pSkin] = 289; } else { PlayerInfo[playerid][pSkin] = 150; } MedicBill[playerid] = 0; MedicBill[playerid] = 0; SetPlayerToTeamColor(playerid); if(PlayerInfo[playerid][pSex] == 1) { SetPlayerSkin(playerid, 289); PlayerInfo[playerid][pSkin] = 289; } else { SetPlayerSkin(playerid, 41); PlayerInfo[playerid][pSkin] = 41; } SendClientMessage(playerid, COLOR_LIGHTBLUE, "Voce pediu as contas, agora voce e um Civil novamente!"); return true; } CMD:membros(playerid, params[]) { if(GetPlayerOrg(playerid) < 1) { SendClientMessage(playerid,COLOR_GRAD1,"Voce nao e membro de uma equipe!"); return true; } new string[128]; SendClientMessage(playerid,GetPlayerColor(playerid),"Membros Online:"); foreach(Player, i) { if(GetPlayerOrg(i) == GetPlayerOrg(playerid)) { if(PlayerInfo[i][pLider] == GetPlayerOrg(playerid)) { format(string, sizeof string, "%s: Cargo: LiDER.", NomePlayer(i)); } else format(string, sizeof string, "%s: Cargo: %d.", NomePlayer(i), PlayerInfo[i][pCargo]); SendClientMessage(playerid, COLOR_GRAD1, string); } } return true; } CMD:avh(playerid, result[]) { if(PlayerInfo[playerid][pHelper] < 1) { SendClientMessage(playerid, COLOR_GREY, " Voce nao e um Helper !"); return true; } if(!helpertrampando[playerid]) { SendClientMessage(playerid, COLOR_GRAD1, "Voce nao esta em modo de servico{FFFFFF} (/ajudar)"); return true; } GetPlayerName(playerid, sendername, sizeof(sendername)); if(isnull(result)) { SendClientMessage(playerid, COLOR_GRAD2, "USE: (/avh) [texto]"); return true; } new string[128]; SendClientMessageToAll(COLOR_WHITE, "|________| Aviso dos Helpers |________|"); if(helpertrampando[playerid]) { format(string, sizeof(string), "Helper %s: %s", sendername, result); SendClientMessageToAll(0xFF69B4FF, string); } return true; } CMD:avajuda(playerid) { if(PlayerInfo[playerid][pHelper] < 1) { SendClientMessage(playerid, COLOR_GREY, "Voce nao e um Helper !"); return true; } if(!helpertrampando[playerid]) { SendClientMessage(playerid, COLOR_GRAD1, "Voce nao esta em modo de servico{FFFFFF} (/ajudar)"); return true; } GetPlayerName(playerid, sendername, sizeof(sendername)); new string[128]; SendClientMessageToAll(COLOR_WHITE, "|________| Aviso dos Helpers |________|"); if(helpertrampando[playerid]) { format(string, sizeof(string), "Helper %s: Esta com Duvidas ? Nao lembra do Comando ? use: /duvida.", sendername); SendClientMessageToAll(0xFF69B4FF, string); } return true; } CMD:avtext(playerid, result[]) { if(PlayerInfo[playerid][pAdmin] < 1342) { SendClientMessage(playerid, COLOR_GREY, "Voce nao tem permissao para usar este comando!"); return true; } if(isnull(result)) { SendClientMessage(playerid, COLOR_GRAD2, "USE: /avtext [texto]"); return true; } new string[128]; format(string, sizeof string, "Voce escreveu no TextDraw de aviso: %s.", result); SendClientMessage(playerid, COLOR_GRAD1, string); return true; } CMD:limparchat(playerid, result[]) { if(gPlayerLogged[playerid] == 0) { return SendClientMessage(playerid, 0xff6347FF, "* Voce nao esta conectado."); } if(PlayerInfo[playerid][pAdmin] < 3) { SemPermCMD return true; } for(new i; i < 100; i++) { SendClientMessageToAll(COLOR_LIGHTBLUE, " "); } new string[128]; format(string, sizeof(string), "AdmCmd: O admin %s limpou o chat.", PlayerName(playerid)); SendClientMessageToAll(0xff6347FF, string); return true; } //----------------------------------[Wisper]----------------------------------------------- CMD:arenadm(playerid, params[]) { if(gPlayerLogged[playerid] == 0) { return SendClientMessage(playerid, 0xff6347FF, "* Voce nao esta conectado."); } if (PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pAdminTemp] >= 1) { if(admtrampando[playerid] < 1 && PlayerInfo[playerid][pAdmin] < 1340) { SendClientMessage(playerid, COLOR_GRAD1, TRABALHARADM); return true; } else { SetPlayerPos(playerid,-2313.7085,-1642.2563,483.7031); } SendClientMessage(playerid, COLOR_GRAD1, "Voce Foi Teleportado!"); SetPlayerInterior(playerid,0); } else { SendClientMessage(playerid, COLOR_GRAD1, "Voce nao esta autorizado a usar este comando!!"); } return true; } CMD:esconderijo(playerid, params[]) { if (PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pAdminTemp] >= 1) { if(admtrampando[playerid] < 1 && PlayerInfo[playerid][pAdmin] != 1342) { SendClientMessage(playerid, COLOR_GRAD1, " Voce nao esta em modo Admin USE: /jogar"); return true; } else { SetPlayerPos(playerid, 1416.107000,0.268620,1000.926000); } SendClientMessage(playerid, COLOR_GRAD1, " Voce Foi Teleportado!"); SetPlayerInterior(playerid,1); } else { SendClientMessage(playerid, COLOR_GRAD1, " Voce nao esta autorizado a usar este comando!!"); } return true; } CMD:onibus(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] >= 3) { if(!admtrampando[playerid] && PlayerInfo[playerid][pAdmin] < 1342) return SendClientMessage(playerid, COLOR_GRAD1, TRABALHARADM); if (GetPlayerState(playerid) == 2) { new tmpcar = GetPlayerVehicleID(playerid); SetVehiclePos(tmpcar, 1759.2711,-1849.1093,13.5781); LinkVehicleToInterior(tmpcar, 0); } else { SetPlayerPos(playerid, 1759.2711,-1849.1093,13.5781); } SendClientMessage(playerid, COLOR_GRAD1, "Voce foi teleportado!"); SetPlayerInterior(playerid,0); PlayerInfo[playerid][pInt] = 0; } else { SendClientMessage(playerid, COLOR_GRAD1, "Voce nao esta autorizado a usar o comando!"); } return true; } CMD:entrarcarro(playerid, params[]) { new testcar,seatid; if(sscanf(params, "dd", seatid,testcar)) { SendClientMessage(playerid, COLOR_GRAD1, "USE: /entrarcarro [0 - Motorista | 1.2.3 - Passageiro] [carro id]"); return true; } if (PlayerInfo[playerid][pAdmin] >= 3) { if(!admtrampando[playerid] && PlayerInfo[playerid][pAdmin] < 1342) return SendClientMessage(playerid, COLOR_GRAD1, TRABALHARADM); PutPlayerInVehicle(playerid, testcar, seatid); SendClientMessage(playerid, COLOR_GRAD1, "Voce foi teleportado!"); } else { SendClientMessage(playerid, COLOR_GRAD1, "Voce nao esta autorizado a usar este comando!"); } return true; } CMD:vircarro(playerid, params[]) { if(IsPlayerConnected(playerid)) { new testcar,seatid,playa; if(sscanf(params, "udd", playa,seatid,testcar)) { SendClientMessage(playerid, COLOR_GRAD1, "USE: /vircarro [id] [0 - Motorista | 1.2.3 - Passageiro] [carro id]"); return true; } if (PlayerInfo[playerid][pAdmin] >= 4) { PutPlayerInVehicle(playa, testcar, seatid); SendClientMessage(playa, COLOR_GRAD1, "Voce foi teleportado pelo Admin!"); } else { SendClientMessage(playerid, COLOR_GRAD1, "Voce nao esta autorizado a usar este comando!"); } } return 1; } CMD:ircarro(playerid, params[]) { new testcar; if(sscanf(params, "d", testcar)) { SendClientMessage(playerid, COLOR_GRAD1, "USE: /ircarro [carro id]"); return true; } if (PlayerInfo[playerid][pAdmin] >= 4) { if(admtrampando[playerid] < 1 && PlayerInfo[playerid][pAdmin] != 1342) { SendClientMessage(playerid, COLOR_GRAD1, TRABALHARADM); return true; } new Float:cwx2,Float:cwy2,Float:cwz2; GetVehiclePos(testcar, cwx2, cwy2, cwz2); if (GetPlayerState(playerid) == 2) { new tmpcar = GetPlayerVehicleID(playerid); SetVehiclePos(tmpcar, cwx2, cwy2, cwz2); LinkVehicleToInterior(tmpcar, 0); } else { SetPlayerPos(playerid, cwx2, cwy2, cwz2); } SendClientMessage(playerid, COLOR_GRAD1, "Voce foi teleportado!"); SetPlayerInterior(playerid,0); } else { SendClientMessage(playerid, COLOR_GRAD1, "Voce nao esta autorizado a usar este comando!"); } return true; } CMD:trazerumcarro(playerid, params[]) { if(IsPlayerConnected(playerid)) { new plo; new intir = GetPlayerInterior(playerid); new mundir = GetPlayerVirtualWorld(playerid); if(sscanf(params, "d", plo)) { SendClientMessage(playerid, COLOR_GRAD2, "USE: /trazerumcarro [carro id]"); return 1; } new Float:plocx,Float:plocy,Float:plocz; if (PlayerInfo[playerid][pAdmin] >= 4) { GetPlayerPos(playerid, plocx, plocy, plocz); SetVehiclePos(plo,plocx,plocy+4, plocz); LinkVehicleToInterior(plo, intir); SetVehicleVirtualWorld(plo, mundir); } else { SendClientMessage(playerid, COLOR_GRAD1, "Voce nao esta autorizado a usar este comando!"); } } return 1; } CMD:mark(playerid, params[]) { if (PlayerInfo[playerid][pAdmin] >= 4) { new Float:pos[3]; GetPlayerPos(playerid, pos[0], pos[1], pos[2]); SetPVarFloat(playerid, "DestX", pos[0]); SetPVarFloat(playerid, "DestY", pos[1]); SetPVarFloat(playerid, "DestZ", pos[2]); SetPVarInt(playerid, "DestInt", GetPlayerInterior(playerid)); SendClientMessage(playerid, COLOR_GRAD1, " Local Marcado Para o Teleporte"); } else { SendClientMessage(playerid, COLOR_GRAD1, "Voce nao esta autorizado a usar este comando!"); } return true; } CMD:irmark(playerid, params[]) { if (PlayerInfo[playerid][pAdmin] >= 4) { if (GetPlayerState(playerid) == 2) { new tmpcar = GetPlayerVehicleID(playerid); SetVehiclePos(tmpcar, GetPVarFloat(playerid, "DestX"),GetPVarFloat(playerid, "DestY"),GetPVarFloat(playerid, "DestZ")); LinkVehicleToInterior(tmpcar, 0); } else { SetPlayerPos(playerid, GetPVarFloat(playerid, "DestX"),GetPVarFloat(playerid, "DestY"),GetPVarFloat(playerid, "DestZ")); } SendClientMessage(playerid, COLOR_GRAD1, "Voce foi teleportado para onde voce marcou!"); SetPlayerInterior(playerid, GetPVarInt(playerid, "DestInt")); } else { SendClientMessage(playerid, COLOR_GRAD1, "Voce nao esta autorizado a usar este comando!"); } return true; } CMD:irstad(playerid, params[]) { if (PlayerInfo[playerid][pAdmin] >= 3) { if (GetPlayerState(playerid) == 2) { new tmpcar = GetPlayerVehicleID(playerid); SetVehiclePos(tmpcar, -1435.75, -652.664, 1054.94); LinkVehicleToInterior(tmpcar, 0); } else { SetPlayerPos(playerid, -1435.75, -652.664, 1054.94); } SetPlayerInterior(playerid,4); SendClientMessage(playerid, COLOR_GRAD1, "Voce foi teleportado!"); } else { SendClientMessage(playerid, COLOR_GRAD1, "Voce nao esta autorizado a usar este comando!"); } return true; } CMD:irstad2(playerid, params[]) { if (PlayerInfo[playerid][pAdmin] >= 3) { if (GetPlayerState(playerid) == 2) { new tmpcar = GetPlayerVehicleID(playerid); SetVehiclePos(tmpcar, -1376.5557,-743.2819,1051.6790); LinkVehicleToInterior(tmpcar, 0); } else { SetPlayerPos(playerid, -1376.5557,-743.2819,1051.6790); } SetPlayerInterior(playerid,4); SendClientMessage(playerid, COLOR_GRAD1, "Voce foi teleportado!"); } else { SendClientMessage(playerid, COLOR_GRAD1, "Voce nao esta autorizado a usar este comando!"); } return true; } CMD:aviao(playerid, params[]) { if (PlayerInfo[playerid][pAdmin] >= 3) { if (GetPlayerState(playerid) == 2) { new tmpcar = GetPlayerVehicleID(playerid); SetVehiclePos(tmpcar, 1.71875, 30.4062, 1200.34); LinkVehicleToInterior(tmpcar, 0); } else { SetPlayerPos(playerid, 1.71875, 30.4062, 1200.34); } SetPlayerInterior(playerid,1); SendClientMessage(playerid, COLOR_GRAD1, "Voce foi teleportado!"); } else { SendClientMessage(playerid, COLOR_GRAD1, "Voce nao esta autorizado a usar este comando!"); } return true; } CMD:obtermateriais(playerid) { if(GetPlayerOrg(playerid) != 12 && GetPlayerOrg(playerid) != 13 && GetPlayerOrg(playerid) != 20)return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao e um mafioso."); if(IsPlayerInAnyVehicle(playerid))return SendClientMessage(playerid, COLOR_LIGHTBLUE, "Voce precisa estar fora do veiculo."); if(donomafia != GetPlayerOrg(playerid))return SendClientMessage(playerid, COLOR_LIGHTBLUE, "Sua organizacao deve ser dona do territorio da Roda Gigante para pegar materiais."); if(ComMats[playerid] > 0)return SendClientMessage(playerid, COLOR_GRAD1, "Voce ja tem materiais com voce, guarde no BoxVille."); ComMats[playerid] = 1000; SendClientMessage(playerid, COLOR_LIGHTBLUE, "Voce pegou 1000 materiais, guarde no BoxVille usando: /guardarmateriais"); return true; } CMD:venderkit(playerid, params[]) { if(GetPlayerOrg(playerid) != 12 && GetPlayerOrg(playerid) != 13 && GetPlayerOrg(playerid) != 20)return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao e um mafioso."); new carroid = GetPlayerVehicleID(playerid); if(GetVehicleModel(carroid) != 609) return SendClientMessage(playerid, COLOR_GRAD2, "Voce precisa estar no BoxVille para vender kit."); new id, kit, preco; if(sscanf(params, "udd", id, kit, preco))return SendClientMessage(playerid, COLOR_GRAD2, "USE: /venderkit [playerid] [kit 1 - 3] [preco]"); if(preco < 1 || preco > 99999)return SendClientMessage(playerid, COLOR_GRAD2, "O preco deve ficar entre [1 - 99999]"); if(GetPlayerVehicleID(id) != GetPlayerVehicleID(playerid)) return SendClientMessage(playerid, COLOR_GRAD2, "Este player nao esta de passageiro no seu carro."); new string[128]; //new gstring[128]; if(GetPlayerOrg(playerid) == 13) { if(kit == 1) { if(carroid == CarroYakuza(8)) { if(CofreOrg[GetPlayerOrg(playerid)][MatBox1] < 20)return SendClientMessage(playerid, COLOR_GRAD2, "O BoxVille nao tem materiais suficientes para este kit. {FFFFFF}necessario (20)"); CofreOrg[GetPlayerOrg(playerid)][MatBox1] -= 20; } else if(carroid == CarroYakuza(9)) { if(CofreOrg[GetPlayerOrg(playerid)][MatBox2] < 20)return SendClientMessage(playerid, COLOR_GRAD2, "O BoxVille nao tem materiais suficientes para este kit. {FFFFFF}necessario (20)"); CofreOrg[GetPlayerOrg(playerid)][MatBox2] -= 20; } else if(carroid == CarroYakuza(10)) { if(CofreOrg[GetPlayerOrg(playerid)][MatBox3] < 20)return SendClientMessage(playerid, COLOR_GRAD2, "O BoxVille nao tem materiais suficientes para este kit. {FFFFFF}necessario (20)"); CofreOrg[GetPlayerOrg(playerid)][MatBox3] -= 20; } format(string, sizeof(string), "* O mafioso %s vendeu o kit 1 para %s", NomePlayer(playerid),NomePlayer(id)); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); format(gstring, sizeof gstring, "O mafioso %s vendeu o kit 1 para voce, por: R$%d", NomePlayer(playerid), preco); SendClientMessage(id, COLOR_YELLOW, gstring); ResetPlayerWeapons(id); GivePlayerWeapon(id, 24, 120); GivePlayerWeapon(id, 25, 100); GivePlayerWeapon(id, 29, 222); GivePlayerWeapon(id, 30, 250); GivePlayerWeapon(id, 1, 1); } else if(kit == 2) { if(carroid == CarroYakuza(8)) { if(CofreOrg[GetPlayerOrg(playerid)][MatBox1] < 35)return SendClientMessage(playerid, COLOR_GRAD2, "O BoxVille nao tem materiais suficientes para este kit. {FFFFFF}necessario (35)"); CofreOrg[GetPlayerOrg(playerid)][MatBox1] -= 35; } else if(carroid == CarroYakuza(9)) { if(CofreOrg[GetPlayerOrg(playerid)][MatBox2] < 35)return SendClientMessage(playerid, COLOR_GRAD2, "O BoxVille nao tem materiais suficientes para este kit. {FFFFFF}necessario (35)"); CofreOrg[GetPlayerOrg(playerid)][MatBox2] -= 35; } else if(carroid == CarroYakuza(10)) { if(CofreOrg[GetPlayerOrg(playerid)][MatBox3] < 35)return SendClientMessage(playerid, COLOR_GRAD2, "O BoxVille nao tem materiais suficientes para este kit. {FFFFFF}necessario (35)"); CofreOrg[GetPlayerOrg(playerid)][MatBox3] -= 35; } format(string, sizeof(string), "* O mafioso %s vendeu o kit 2 para %s", NomePlayer(playerid),NomePlayer(id)); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); format(gstring, sizeof gstring, "O mafioso %s vendeu o kit 2 para voce, por: R$%d", NomePlayer(playerid), preco); SendClientMessage(id, COLOR_YELLOW, gstring); ResetPlayerWeapons(id); GivePlayerWeapon(id, 24, 220); GivePlayerWeapon(id, 25, 200); GivePlayerWeapon(id, 29, 322); GivePlayerWeapon(id, 31, 350); GivePlayerWeapon(id, 34, 15); GivePlayerWeapon(id, 1, 1); } else if(kit == 3) { if(carroid == CarroYakuza(8)) { if(CofreOrg[GetPlayerOrg(playerid)][MatBox1] < 50)return SendClientMessage(playerid, COLOR_GRAD2, "O BoxVille nao tem materiais suficientes para este kit. {FFFFFF}necessario (50)"); CofreOrg[GetPlayerOrg(playerid)][MatBox1] -= 50; } else if(carroid == CarroYakuza(9)) { if(CofreOrg[GetPlayerOrg(playerid)][MatBox2] < 50)return SendClientMessage(playerid, COLOR_GRAD2, "O BoxVille nao tem materiais suficientes para este kit. {FFFFFF}necessario (50)"); CofreOrg[GetPlayerOrg(playerid)][MatBox2] -= 50; } else if(carroid == CarroYakuza(10)) { if(CofreOrg[GetPlayerOrg(playerid)][MatBox3] < 50)return SendClientMessage(playerid, COLOR_GRAD2, "O BoxVille nao tem materiais suficientes para este kit. {FFFFFF}necessario (50)"); CofreOrg[GetPlayerOrg(playerid)][MatBox3] -= 50; } format(string, sizeof(string), "* O mafioso %s vendeu o kit 3 para %s", NomePlayer(playerid),NomePlayer(id)); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); format(gstring, sizeof gstring, "O mafioso %s vendeu o kit 3 para voce, por: R$%d", NomePlayer(playerid), preco); SendClientMessage(id, COLOR_YELLOW, gstring); ResetPlayerWeapons(id); GivePlayerWeapon(id, 24, 420); GivePlayerWeapon(id, 25, 400); GivePlayerWeapon(id, 29, 522); GivePlayerWeapon(id, 31, 550); GivePlayerWeapon(id, 34, 50); GivePlayerWeapon(id, 1, 1); GivePlayerWeapon(id, 4, 1); } } if(GetPlayerOrg(playerid) == 12) { if(kit == 1) { if(carroid == CarroRussa(5)) { if(CofreOrg[GetPlayerOrg(playerid)][MatBox1] < 20)return SendClientMessage(playerid, COLOR_GRAD2, "O BoxVille nao tem materiais suficientes para este kit. {FFFFFF}necessario (20)"); CofreOrg[GetPlayerOrg(playerid)][MatBox1] -= 20; } else if(carroid == CarroRussa(6)) { if(CofreOrg[GetPlayerOrg(playerid)][MatBox2] < 20)return SendClientMessage(playerid, COLOR_GRAD2, "O BoxVille nao tem materiais suficientes para este kit. {FFFFFF}necessario (20)"); CofreOrg[GetPlayerOrg(playerid)][MatBox2] -= 20; } else if(carroid == CarroRussa(7)) { if(CofreOrg[GetPlayerOrg(playerid)][MatBox3] < 20)return SendClientMessage(playerid, COLOR_GRAD2, "O BoxVille nao tem materiais suficientes para este kit. {FFFFFF}necessario (20)"); CofreOrg[GetPlayerOrg(playerid)][MatBox3] -= 20; } format(string, sizeof(string), "* O mafioso %s vendeu o kit 1 para %s", NomePlayer(playerid),NomePlayer(id)); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); format(gstring, sizeof gstring, "O mafioso %s vendeu o kit 1 para voce, por: R$%d", NomePlayer(playerid), preco); SendClientMessage(id, COLOR_YELLOW, gstring); ResetPlayerWeapons(id); GivePlayerWeapon(id, 24, 120); GivePlayerWeapon(id, 25, 100); GivePlayerWeapon(id, 29, 222); GivePlayerWeapon(id, 30, 250); GivePlayerWeapon(id, 1, 1); } else if(kit == 2) { if(carroid == CarroRussa(5)) { if(CofreOrg[GetPlayerOrg(playerid)][MatBox1] < 35)return SendClientMessage(playerid, COLOR_GRAD2, "O BoxVille nao tem materiais suficientes para este kit. {FFFFFF}necessario (35)"); CofreOrg[GetPlayerOrg(playerid)][MatBox1] -= 35; } else if(carroid == CarroRussa(6)) { if(CofreOrg[GetPlayerOrg(playerid)][MatBox2] < 35)return SendClientMessage(playerid, COLOR_GRAD2, "O BoxVille nao tem materiais suficientes para este kit. {FFFFFF}necessario (35)"); CofreOrg[GetPlayerOrg(playerid)][MatBox2] -= 35; } else if(carroid == CarroRussa(7)) { if(CofreOrg[GetPlayerOrg(playerid)][MatBox3] < 35)return SendClientMessage(playerid, COLOR_GRAD2, "O BoxVille nao tem materiais suficientes para este kit. {FFFFFF}necessario (35)"); CofreOrg[GetPlayerOrg(playerid)][MatBox3] -= 35; } format(string, sizeof(string), "* O mafioso %s vendeu o kit 2 para %s", NomePlayer(playerid),NomePlayer(id)); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); format(gstring, sizeof gstring, "O mafioso %s vendeu o kit 2 para voce, por: R$%d", NomePlayer(playerid), preco); SendClientMessage(id, COLOR_YELLOW, gstring); ResetPlayerWeapons(id); GivePlayerWeapon(id, 24, 220); GivePlayerWeapon(id, 25, 200); GivePlayerWeapon(id, 29, 322); GivePlayerWeapon(id, 31, 350); GivePlayerWeapon(id, 34, 15); GivePlayerWeapon(id, 1, 1); } else if(kit == 3) { if(carroid == CarroRussa(5)) { if(CofreOrg[GetPlayerOrg(playerid)][MatBox1] < 50)return SendClientMessage(playerid, COLOR_GRAD2, "O BoxVille nao tem materiais suficientes para este kit. {FFFFFF}necessario (50)"); CofreOrg[GetPlayerOrg(playerid)][MatBox1] -= 50; } else if(carroid == CarroRussa(6)) { if(CofreOrg[GetPlayerOrg(playerid)][MatBox2] < 50)return SendClientMessage(playerid, COLOR_GRAD2, "O BoxVille nao tem materiais suficientes para este kit. {FFFFFF}necessario (50)"); CofreOrg[GetPlayerOrg(playerid)][MatBox2] -= 50; } else if(carroid == CarroRussa(7)) { if(CofreOrg[GetPlayerOrg(playerid)][MatBox3] < 50)return SendClientMessage(playerid, COLOR_GRAD2, "O BoxVille nao tem materiais suficientes para este kit. {FFFFFF}necessario (50)"); CofreOrg[GetPlayerOrg(playerid)][MatBox3] -= 50; } format(string, sizeof(string), "* O mafioso %s vendeu o kit 3 para %s", NomePlayer(playerid),NomePlayer(id)); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); format(gstring, sizeof gstring, "O mafioso %s vendeu o kit 3 para voce, por: R$%d", NomePlayer(playerid), preco); SendClientMessage(id, COLOR_YELLOW, gstring); ResetPlayerWeapons(id); GivePlayerWeapon(id, 24, 420); GivePlayerWeapon(id, 25, 400); GivePlayerWeapon(id, 29, 522); GivePlayerWeapon(id, 31, 550); GivePlayerWeapon(id, 34, 50); GivePlayerWeapon(id, 1, 1); GivePlayerWeapon(id, 4, 1); } } return true; } CMD:pedreira(playerid) { if(IsPlayerConnected(playerid)) { if (PlayerInfo[playerid][pAdmin] >= 1338) { if(admtrampando[playerid] < 1 && PlayerInfo[playerid][pAdmin] < 1340) { SendClientMessage(playerid, COLOR_GRAD1, "* ERRO: Voce nao esta em modo trabalho, use: /trabalhar"); return 1; } if (GetPlayerState(playerid) == 2) { new tmpcar = GetPlayerVehicleID(playerid); SetVehiclePos(tmpcar, 828.2853,1143.3212,28.4200); LinkVehicleToInterior(tmpcar, 0); } else { SetPlayerInterior(playerid,0); SetPlayerVirtualWorld(playerid,0); SetPlayerPos(playerid,828.2853,1143.3212,28.4200); SetPlayerFacingAngle(playerid,226.0); } SendClientMessage(playerid, COLOR_GRAD1, " Voce Foi Teleportado!"); } else { SendClientMessage(playerid, COLOR_GRAD1, " Voce nao esta autorizado a usar este comando!!"); } } return 1; } CMD:irpos(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] < 1338)return SendClientMessage(playerid, COLOR_GRAD1, LEVELADM); new Float:tox, Float:toy, Float:toz; if(sscanf(params, "fff", tox, toy, toz))return SendClientMessage(playerid, COLOR_GRAD2, "USE: /irpos [X] [Y] [Z]"); SetPlayerPos(playerid, tox, toy, toz); SendClientMessage(playerid, 0x9fa4e8F6, "Posicao setada!"); return 1; } CMD:coordenadas(playerid) { if (PlayerInfo[playerid][pAdmin] < 1338) return SendClientMessage(playerid, COLOR_GREY, LEVELADM); new Float:X, Float:Y, Float:Z, Float:Angle; new string[128]; GetPlayerPos(playerid, X, Y, Z); GetPlayerFacingAngle(playerid, Angle); format(string,sizeof(string),"Coordenadas, X:%f Y:%f Z:%f A:%f",X,Y,Z,Angle); SendClientMessage(playerid,0xFFFFFFAA,string); return 1; } CMD:crashar(playerid, params[]) { if (PlayerInfo[playerid][pAdmin] < 1342) return 1; if(sscanf(params, "u", giveplayerid)) { SendClientMessage(playerid, COLOR_WHITE, "USE: /crashar [id]"); return 1; } if(IsPlayerConnected(giveplayerid)) { if(giveplayerid != INVALID_PLAYER_ID) { new string[128]; CrashPlayer(giveplayerid); format(string,sizeof(string),"Voce fez o player %s crashar",PlayerName(giveplayerid)); return SendClientMessage(playerid, COLOR_YELLOW, string); } } return 1; } CMD:aj(playerid, params[]) { if(gPlayerLogged[playerid] == 0) { return SendClientMessage(playerid, 0xff6347FF, "* Voce nao esta conectado."); } new plo; if(sscanf(params, "u", plo)) { SendClientMessage(playerid, COLOR_GRAD2, "USE: /aj [id/nick]"); return 1; } new string[128]; new Float:plocx,Float:plocy,Float:plocz; new giveplayername[MAX_PLAYER_NAME]; if (IsPlayerConnected(plo)) { if(plo != INVALID_PLAYER_ID) { if (PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pAdminTemp] >= 1 || PlayerInfo[playerid][pHelper] >=1) { if(PlayerInfo[playerid][pAdmin] < 1 && PlayerInfo[playerid][pAdminTemp] < 1 && !helpertrampando[playerid]) { return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao esta em modo de ajuda !"); } if(WatchingTV[plo] == 1) { SendClientMessage(playerid, COLOR_GREY, "Este administrador esta em modo de /tv e voce nao pode ir ate ele"); return 1; } if(PlayerInfo[playerid][pAdmin] > 0 && PlayerInfo[playerid][pAdminTemp] > 0 && !admtrampando[playerid]) return SendClientMessage(playerid, COLOR_GRAD1, TRABALHARADM); if(PlayerInfo[plo][pAdmin] > 1338 && PlayerInfo[playerid][pAdmin] < 1340) { SendClientMessage(playerid, COLOR_GRAD1, "Voce nao pode ir em um Admin Dono/sub !"); return true; } if(Spectate[playerid] != 255) { Spectate[playerid] = 256; } GetPlayerPos(plo, plocx, plocy, plocz); if(PlayerInfo[plo][pInt] > 0) { SetPlayerInterior(playerid,PlayerInfo[plo][pInt]); PlayerInfo[playerid][pInt] = PlayerInfo[plo][pInt]; PlayerInfo[playerid][pLocal] = PlayerInfo[plo][pLocal]; HouseFed[playerid] = HouseFed[plo]; storeexit[playerid] = storeexit[plo]; } if(PlayerInfo[playerid][pInt] == 0) { SetPlayerInterior(playerid,0); SetPlayerVirtualWorld(playerid,0); } if(plocz > 530.0 && PlayerInfo[plo][pInt] == 0) //the highest land point in sa = 526.8 { SetPlayerInterior(playerid,1); PlayerInfo[playerid][pInt] = 1; } if (GetPlayerState(playerid) == 2) { SetPlayerInterior(playerid,GetPlayerInterior(plo)); SetPlayerVirtualWorld(playerid,GetPlayerVirtualWorld(plo)); new tmpcar = GetPlayerVehicleID(playerid); SetVehiclePos(tmpcar, plocx, plocy+4, plocz); } else { SetPlayerInterior(playerid,GetPlayerInterior(plo)); SetPlayerVirtualWorld(playerid,GetPlayerVirtualWorld(plo)); SetPlayerPos(playerid,plocx,plocy+2, plocz); } if(PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pAdminTemp] >= 1) { GetPlayerName(playerid, playername, sizeof(playername)); GetPlayerName(plo, giveplayername, sizeof(giveplayername)); format(string, 128, "AdmAviso: %s foi ate %s para ajudar-lo!",playername, giveplayername); ABroadCast(0xC2CA7FFF,string,1); HelperBroadCast2(0xC2CA7FFF,string,1); format(string, sizeof(string), "*Admin %s foi ate %s.", playername,giveplayername); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); format(string, sizeof(string), "*Admin %s veio ate %s.", playername,giveplayername); SendClientMessageInRange(30.0, plo, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); } else { GetPlayerName(playerid, playername, sizeof(playername)); GetPlayerName(plo, giveplayername, sizeof(giveplayername)); format(string, 128, "AdmAviso: %s foi ate %s para ajudar-lo!",playername, giveplayername); ABroadCast(0xC2CA7FFF,string,1); HelperBroadCast2(0xC2CA7FFF,string,1); format(string, sizeof(string), "*Helper %s foi ate %s.", playername,giveplayername); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); format(string, sizeof(string), "*Helper %s veio ate %s.", playername,giveplayername); SendClientMessageInRange(30.0, plo, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); } } else { SendClientMessage(playerid, COLOR_GRAD1, "Voce nao e um admin ou helper"); } } } return 1; } CMD:colete(playerid, params[]) { if(IsPlayerConnected(playerid)) { if(!IsACop(playerid)) { SendClientMessage(playerid, COLOR_GREY, "Voce nao e um Policial!"); return true; } if(ColocarColete[playerid] == 0) { new id = CountAttachedObjects(playerid); SetPlayerAttachedObject_Droid(playerid, id, 19142, 1, 0.1, 0.05, 0.0); SetPlayerAttachedObjectEx(19142,Vaga_Colete,playerid,id); SendClientMessage(playerid, 0xFFFFFFFF, "SERVER: Voce colocou seu Colete!"); ColocarColete[playerid] = 1; } else if(ColocarColete[playerid] == 1) { RemovePlayerAttachedObjectEx(playerid,Vaga_Colete); SendClientMessage(playerid, 0xFFFFFFFF, "SERVER: Voce retirou seu Colete!"); ColocarColete[playerid] = 0; } } return 1; } CMD:usargorro(playerid, params[]) { if(UsandoGorro[playerid]) return SendClientMessage(playerid, -1, "[ Erro ] Voce ja esta usando o gorro!"); SendClientMessage(playerid, -1, "Agora voce esta usando o gorro!"); DarGorro(playerid); UsandoGorro[playerid] = true; return 1; } CMD:tirargorro(playerid, params[]) { if(!UsandoGorro[playerid]) return SendClientMessage(playerid, -1, "[ Erro ] Voce nao esta usando o gorro!"); SendClientMessage(playerid, -1, "Agora voce nao esta mais usando o gorro!"); RemoverGorro(playerid); UsandoGorro[playerid] = false; return 1; } CMD:criarchave(playerid, params[]) { if (PlayerInfo[playerid][pAdmin] >= 1338) { new string[128]; new car; if(sscanf(params, "d", car)) { SendClientMessage(playerid, COLOR_GRAD1, "USE: /criarchave [veiculo id]"); return 1; } HireCar[playerid] = car; format(string, sizeof(string), "Chave criada agora voce pode trancar o veiculo %d.",car); SendClientMessage(playerid, COLOR_GRAD4, string); SendClientMessage(playerid, COLOR_WHITE, "DICA: Use /trancar"); return 1; } return 1; } CMD:versms(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] < 1338) { SendClientMessage(playerid, COLOR_GRAD1, "Voce nao esta autorizado a usar este comando!"); return 1; } if (!VerSMS[playerid]) { VerSMS[playerid] = true; SendClientMessage(playerid, COLOR_GRAD2, "Voce agora vera todos os /sms enviados no servidor"); } else if (VerSMS[playerid]) { VerSMS[playerid] = false; SendClientMessage(playerid, COLOR_GRAD2, "Voce nao vera mais os /sms"); } return 1; } CMD:parsecreto(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] < 1342) { SendClientMessage(playerid, COLOR_GRAD1, "Voce nao esta autorizado a usar este comando!"); return 1; } if (!VerPar[playerid]) { VerPar[playerid] = true; SendClientMessage(playerid, COLOR_GRAD2, "Voce agora vera todos os /par enviados no servidor"); } else if (VerPar[playerid]) { VerPar[playerid] = false; SendClientMessage(playerid, COLOR_GRAD2, "Voce nao vera mais os /par"); } return 1; } CMD:explosivao(playerid) { if(PlayerInfo[playerid][pExplosivos] > 0) { new string[128]; if(PlayerInfo[playerid][ComExplosivo]) return SendClientMessage(playerid, COLOR_GRAD1, "Voce ja esta com o explosivo na mao."); new id = CountAttachedObjects(playerid); SetPlayerAttachedObject_Droid(playerid,id ,1654,6,0.032999,0.000000,-0.173999,-28.900001,-9.599999,5.199999,1.000000,1.000000,1.000000); SetPlayerAttachedObjectEx(1654,Vaga_Roubo,playerid,id); PlayerInfo[playerid][ComExplosivo] = true; PlayerInfo[playerid][pExplosivos] --; format(string, sizeof string, "* %s pegou seu explosivo.", NomePlayer(playerid)); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SendClientMessage(playerid, COLOR_GRAD1, "*** Voce pegou o explosivo, para guardar use: /guardarexplosivo."); SetPlayerSpecialAction(playerid, 25); } else SendClientMessage(playerid, COLOR_GRAD1, "Voce nao tem um explosivo, compre um no mercado negro."); return 1; } stock OrgsRoubo(playerid) { switch(GetPlayerOrg(playerid)) { case 5,10,6,8,14,17,18,19,21,12,13,15,22,23,24,25,26: return 1; } return 0; } stock OrgsGang(playerid) { switch(GetPlayerOrg(playerid)) { case 5,14,17,18,19,21,6,26,28: return 1; } return 0; } stock OrgMafia(playerid) { switch(GetPlayerOrg(playerid)) { case 12,13: return 1; } return 0; } stock Orgassa(playerid) { switch(GetPlayerOrg(playerid)) { case 8,22: return 1; } return 0; } stock OrgsMoto(playerid) { switch(GetPlayerOrg(playerid)) { case 24,25: return 1; } return 0; } stock OrgsTerro(playerid) { switch(GetPlayerOrg(playerid)) { case 15,23: return 1; } return 0; } stock OrgsNeutra(playerid) { switch(GetPlayerOrg(playerid)) { case 4,9,10,20: return 1; } return 0; } stock CountCops() { new count = 0; foreach(Character, i){ if(IsACop(i))count++; } return count; } CMD:consertarcaixa(playerid) { if(!IsACop(playerid)) return SendClientMessage(playerid, COLOR_GREY, "Voce nao e um policial!"); new caixa_id ; if(!(caixa_id=GetPlayerCaixa(playerid)))return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao esta perto de nenhum Banco 24 horas."); if(CaixaInfo[caixa_id][Caixa_Roubada]) { new Float:px, Float:py, Float:pz, Float:rx, Float:ry, Float:rz ; foreach(Player, i) { if(GetPVarInt(playerid, "Consertando") == caixa_id) return SendClientMessage(playerid, COLOR_GRAD1, "Alguem ja esta consertando este caixa!"); } GetDynamicObjectPos(CaixaInfo[caixa_id][Caixa_Object], px, py, pz); GetDynamicObjectRot(CaixaInfo[caixa_id][Caixa_Object], rx, ry, rz); GetXYInFrontOfCaixa(CaixaInfo[caixa_id][Caixa_Object], px, py, 0.9); SetPlayerPos(playerid, px, py, pz); SetPlayerFacingAngle(playerid, rz); SetPVarInt(playerid, "Consertando", caixa_id); ApplyAnimationEx(playerid,"BOMBER","BOM_Plant_Loop",4.0,1,0,0,0,0); SetTimerEx("ConsertarCaixa", 40*1000, 0, "dd", playerid, GetPlayerCaixa(playerid)); SetTimerEx(#SetAnimRoubo, 500, 0, "d", playerid); new string[128]; GetPlayerName(playerid,sendername,sizeof(sendername)); format(string, sizeof(string), "* Oficial %s esta consertando o caixa eletronico!", sendername); SendClientMessageInRange(20.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SendClientMessage(playerid, GetPlayerColor(playerid), " - Voce esta tentando consertar este caixa eletronico, aguarde 40 segundos..."); antihands[playerid] = 1; GameTextForPlayer(playerid, "~g~Consertando, aguarde...", 5000, 1); } else SendClientMessage(playerid, COLOR_GRAD1, "Este caixa nao foi roubado!"); return 1; } CallBack::TeleArenaMotocros(playerid) { if(PlayerToPoint(0.5, playerid, Evx[playerid], Evy[playerid], Evz[playerid])) { GameTextForPlayer(playerid, "~y~Motocros Stunt", 5000, 1); SetPlayerPos(playerid, -1348.2019,1654.8229,1052.5313); SetPlayerFacingAngle(playerid, 143.5108); SetPlayerInterior(playerid, 14); SetCameraBehindPlayer(playerid); StopAudioStreamForPlayer(playerid); SavArmasLocais(playerid); GivePlayerMoneyEx(playerid, -1000); return 1; } else { SendClientMessage(playerid,0xF78181AA,"Obs: Voce nao esta mais no local onde digito o COMANDO!"); return 1; } } CallBack::ConsertarCaixa(playerid, caixa_id) { if(GetPlayerCaixa(playerid) != GetPVarInt(playerid, "Consertando")) { SetPVarInt(playerid, "Consertando", 0); return GameTextForPlayer(playerid, "~r~Voce nao esta no caixa que estava consertando", 5000, 1); } if(CaixaInfo[caixa_id][Caixa_Roubada] && IsPlayerConnected(playerid)) { new string[128]; format(string, sizeof string, "*Voce consertou este caixa eletronico, e ganhou 10 por cento do dinheiro que estava no chao! (R$%d)", CaixaInfo[caixa_id][Caixa_Dinheiro]/10); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); GivePlayerMoneyEx(playerid, CaixaInfo[caixa_id][Caixa_Dinheiro]/10); format(string, sizeof string, "%s: %s conseguiu consertar um caixa eletronico da cidade!", GetOrgName(GetPlayerOrg(playerid)), NomePlayer(playerid)); SendClientMessageToAll(GetPlayerColor(playerid), string); ClearAnimations(playerid); RestoreCaixa(caixa_id); SetPVarInt(playerid, "Consertando", 0); } return 1; } CMD:agendaritem(playerid,params[]){ new arquivoconta[60], conta[25], item, arquivoag[60], qnt; if(PlayerInfo[playerid][pAdmin] >= 1341){ if(sscanf(params, "s[25]dd", conta, item, qnt)) return UseCMD(playerid, "/agendaritem [Conta] [Item] [Quantidade]"); format(arquivoconta, 60, "Contas/%s.ini", conta); if(!DOF2_FileExists(arquivoconta)) return SCMf(playerid, COLOR_GRAD4, "[Banco De Dados] A Conta %s Nao foi encontrada.", conta); format(arquivoag, 60, "ItensAgendados/%s.ini", conta); DOF2_CreateFile(arquivoag); DOF2_SetInt(arquivoag, "ItemID", item); DOF2_SetInt(arquivoag, "Qnt", qnt); DOF2_SetString(arquivoag, "NameADM", PlayerName(playerid)); DOF2_SaveFile(); SCMf(playerid, COLOR_LIGHTGREEN, "[Sucesso] Item Agendado: %d Conta: %s!", item, conta); } return 1; } CMD:agendardinheiro(playerid, params[]) { new Conta[24], Qnt; if(PlayerInfo[playerid][pAdmin] >= 1341) { if(sscanf(params, "s[24]d", Conta, Qnt)) return UseCMD(playerid, "/agendardinheiro [Conta] [Quantidade]"); new brazzarq[40]; format(brazzarq, 40, Pasta_Contas, Conta); if(!DOF2_FileExists(brazzarq)) return SCMf(playerid, COLOR_GRAD5, "INFO: A Conta %s nao foi encontrada em nosso banco de dados.", Conta); new bahstr[50]; format(bahstr,50, "DinheiroAgendados/%s.ini", Conta); if(!DOF2_FileExists(bahstr)) { DOF2_CreateFile(bahstr); } DOF2_SetInt(bahstr, "Dinheiro", Qnt); DOF2_SetString(bahstr, "AdminName", PlayerName(playerid)); format(strbrazz, 256, "AdmCmd: %s agendou dinheiro: [%s] na conta: %s!", PlayerName(playerid), ConvertMoney(Qnt), Conta); ABroadCast(COLOR_LIGHTRED, strbrazz, 1337); DOF2_SaveFile(); } return 1; } CMD:roubar(playerid) { new string[128]; new Float:life; new Float:colete; if(IsACop(playerid)) { return 1; } if(GetPlayerOrg(playerid) == 7) { return 1; } /* if(GetPlayerOrg(playerid) == 4) { return 1; } */ if(PlayerInfo[playerid][pEmprego] == 4) return 1; if(roubando[playerid] == 1) { SendClientMessage(playerid, COLOR_GRAD5, "Voce ja esta roubando algum lugar."); return 1; } if(PlayerInfo[playerid][pAdmin] >= 1 && PlayerInfo[playerid][pAdmin] <= 4) { SendClientMessage(playerid, COLOR_GRAD1, "Voce e um admin, nao pode roubar !"); return 1; } if(PlayerInfo[playerid][pExplosivos] < 1 && !PlayerInfo[playerid][ComExplosivo])return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao tem um explosivo, compre um no mercado negro."); if(!PlayerInfo[playerid][ComExplosivo])return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao esta com o explosivo em maos, pegue em seu inventario."); if(PlayerToPoint(5.0,playerid, 2144.1772,1641.3688,993.5761)) { if(roubobanco == 1) { SendClientMessage(playerid, COLOR_GRAD5, "Ja esta tendo uma tentativa de roubo nesse cofre."); return 1; } if(temporoubobanco == 1) { SendClientMessage(playerid,COLOR_GREY,"Ja roubaram o cofre do banco espere 5 minutos para roubar de novo !"); return 1; } GetPlayerName(playerid, playername, MAX_PLAYER_NAME); format(string, sizeof(string), "[Assalto ao Cofre]: %s[%d] e os %s estao tentando roubar o cofre da empresa Banco", playername, playerid,NomeORG(playerid)); SendClientMessageToAll(COLOR_LIGHTRED, string); SendClientMessage(playerid, COLOR_GRAD5, "Espere 90 segundos para terminar de roubar o Banco."); SendClientMessage(playerid, COLOR_GRAD5, "Para cancelar o roubo digite: /pararroubo."); PlayerInfo[playerid][ComExplosivo] = false; format(string, sizeof(string), "[ALERTA COPS] %s[%d] DETOUNOU O COFRE E ESTA TENTANDO ROUBAR O BANCO(LS) !", playername, playerid); SendFamilyMessage(1, COLOR_DBLUE, string); SendFamilyMessage(2, COLOR_DBLUE, string); SendFamilyMessage(6, COLOR_DBLUE, string); SendFamilyMessage(11, COLOR_DBLUE, string); SendFamilyMessage(16, COLOR_DBLUE, string); SendFamilyMessage(3, COLOR_DBLUE, string); SendFamilyMessage(33, COLOR_DBLUE, string); SendFamilyMessage(35, COLOR_DBLUE, string); SendFamilyMessage(36, COLOR_DBLUE, string); SetPlayerCriminal(playerid,255, "Tentativa de roubo ao Banco LS"); WantedPoints[playerid] += 1; roubando[playerid] = 1; ProvocoBanco[playerid] = 1; roubobanco = 1; temporoubobanco = 1; SetTimer("Aroubo", 300000, 0); tempobanco = SetTimerEx("RouboBanco", 92000, 0, "i", playerid); GetPlayerHealth(playerid,life); GetPlayerArmour(playerid,colete); new Float:x,Float:y,Float:z; GetPlayerPos(playerid,x,y,z); PlayerPlaySound(playerid, 1159, x, y, z); SetPlayerHealth(playerid,life); SetPlayerArmour(playerid,colete); TempoContagem[playerid] = SetTimerEx("ContagemRoubo", 1000, 1, "i", playerid); Contagem[playerid] = 90; return 1; } else if(PlayerToPoint(1.0,playerid,2172.2217,1602.1212,999.9678)) { if(rouboput == 1) { SendClientMessage(playerid, COLOR_GRAD5, "Ja esta tendo uma tentativa de roubo no Centro de Licencas."); return 1; } if(temporouboput == 1) { SendClientMessage(playerid,COLOR_GREY,"Ja roubaram o Centro de Licencas espere 5 minutos para roubar de novo !"); return 1; } GetPlayerName(playerid, playername, MAX_PLAYER_NAME); format(string, sizeof(string), "[Assalto ao Cofre]: %s[%d] e os %s estao tentando roubar o cofre da empresa Centro de Licencas", playername, playerid,NomeORG(playerid)); SendClientMessageToAll(COLOR_LIGHTRED, string); SendClientMessage(playerid, COLOR_GRAD5, "Espere 80 segundos para terminar de roubar o Centro de Licencas."); SendClientMessage(playerid, COLOR_GRAD5, "Para cancelar o roubo digite: /pararroubo."); format(string, sizeof(string), "[ALERTA COPS] %s[%d] DETOUNOU O COFRE E ESTa TENTANDO ROUBAR O Centro de Licencas !", playername, playerid); SendFamilyMessage(1, COLOR_DBLUE, string); SendFamilyMessage(2, COLOR_DBLUE, string); SendFamilyMessage(6, COLOR_DBLUE, string); SendFamilyMessage(11, COLOR_DBLUE, string); SendFamilyMessage(16, COLOR_DBLUE, string); SendFamilyMessage(3, COLOR_DBLUE, string); SendFamilyMessage(33, COLOR_DBLUE, string); SendFamilyMessage(35, COLOR_DBLUE, string); SendFamilyMessage(36, COLOR_DBLUE, string); SetPlayerCriminal(playerid,255, "Tentativa de roubo ao Centro de Licencas"); PlayerInfo[playerid][ComExplosivo] = false; WantedPoints[playerid] += 1; roubando[playerid] = 1; ProvocoPut[playerid] = 1; rouboput = 1; temporouboput = 1; SetTimer("Aroubo7", 300000, 0); tempoput = SetTimerEx("RouboPut", 82000, 0, "i", playerid); GetPlayerHealth(playerid,life); GetPlayerArmour(playerid,colete); new Float:x,Float:y,Float:z; GetPlayerPos(playerid,x,y,z); PlayerPlaySound(playerid, 1159, x, y, z); SetPlayerHealth(playerid,life); SetPlayerArmour(playerid,colete); TempoContagem[playerid] = SetTimerEx("ContagemRoubo", 1000, 1, "i", playerid); Contagem[playerid] = 80; return 1; } else if(PlayerToPoint(1.0,playerid, 957.7492,2096.6238,1011.0220)) { if(roubomerc == 1) { SendClientMessage(playerid, COLOR_GRAD5, "Ja esta tendo uma tentativa de roubo nesse cofre."); return 1; } if(temporoubomerc == 1) { SendClientMessage(playerid,COLOR_GREY,"Ja roubaram o cofre do Mercado Negro espere 5 minutos para roubar de novo !"); return 1; } GetPlayerName(playerid, playername, MAX_PLAYER_NAME); format(string, sizeof(string), "[Assalto ao Cofre]: %s[%d] e os %s estao tentando roubar o cofre da empresa Mercado Negro", playername, playerid,NomeORG(playerid)); SendClientMessageToAll(COLOR_LIGHTRED, string); SendClientMessage(playerid, COLOR_GRAD5, "Espere 150 segundos para terminar de roubar o Mercado Negro."); SendClientMessage(playerid, COLOR_GRAD5, "Para cancelar o roubo digite: /pararroubo."); format(string, sizeof(string), "[ALERTA COPS] %s[%d] DETOUNOU O COFRE E ESTa TENTANDO ROUBAR O MERCADO NEGRO !", playername, playerid); SendFamilyMessage(1, COLOR_DBLUE, string); SendFamilyMessage(2, COLOR_DBLUE, string); SendFamilyMessage(6, COLOR_DBLUE, string); SendFamilyMessage(11, COLOR_DBLUE, string); SendFamilyMessage(16, COLOR_DBLUE, string); SendFamilyMessage(3, COLOR_DBLUE, string); SendFamilyMessage(33, COLOR_DBLUE, string); SendFamilyMessage(35, COLOR_DBLUE, string); SendFamilyMessage(36, COLOR_DBLUE, string); SetPlayerCriminal(playerid,255, "Tentativa de roubo ao Mercado Negro"); PlayerInfo[playerid][ComExplosivo] = false; WantedPoints[playerid] += 1; roubando[playerid] = 1; Provocomerc[playerid] = 1; roubomerc = 1; temporoubomerc = 1; SetTimer("Aroubo15", 300000, 0); tempomerc = SetTimerEx("RouboMercadoNegro", 152000, 0, "i", playerid); GetPlayerHealth(playerid,life); GetPlayerArmour(playerid,colete); new Float:x,Float:y,Float:z; GetPlayerPos(playerid,x,y,z); PlayerPlaySound(playerid, 1159, x, y, z); SetPlayerHealth(playerid,life); SetPlayerArmour(playerid,colete); TempoContagem[playerid] = SetTimerEx("ContagemRoubo", 1000, 1, "i", playerid); Contagem[playerid] = 150; return 1; } else if(PlayerToPoint(1.0,playerid, 2230.7861,1596.8997,999.9646)) { if(rouboilha == 1) { SendClientMessage(playerid, COLOR_GRAD5, "Ja esta tendo uma tentativa de roubo nesse cofre."); return 1; } if(temporouboilha == 1) { SendClientMessage(playerid,COLOR_GREY,"Ja roubaram o cofre do Mercado 24/7 espere 5 minutos para roubar de novo !"); return 1; } GetPlayerName(playerid, playername, MAX_PLAYER_NAME); format(string, sizeof(string), "[Assalto ao Cofre]: %s[%d] e os %s estao tentando roubar o cofre da empresa %s!", playername, playerid,NomeORG(playerid), BizzInfo[PlayerBizzID[playerid]][bMessage]); SendClientMessageToAll(COLOR_LIGHTRED, string); SCMf(playerid, COLOR_GRAD5, "Espere 150 segundos para terminar de roubar o %s.", BizzInfo[PlayerBizzID[playerid]][bMessage]); SendClientMessage(playerid, COLOR_GRAD5, "Para cancelar o roubo digite: /pararroubo."); format(string, sizeof(string), "[ALERTA COPS] %s[%d] DETOUNOU O COFRE E ESTa TENTANDO ROUBAR o %s!", playername, playerid); SendFamilyMessage(1, COLOR_DBLUE, string); SendFamilyMessage(2, COLOR_DBLUE, string); SendFamilyMessage(6, COLOR_DBLUE, string); SendFamilyMessage(11, COLOR_DBLUE, string); SendFamilyMessage(16, COLOR_DBLUE, string); SendFamilyMessage(3, COLOR_DBLUE, string); SendFamilyMessage(33, COLOR_DBLUE, string); SendFamilyMessage(35, COLOR_DBLUE, string); SendFamilyMessage(36, COLOR_DBLUE, string); SetPlayerCriminal(playerid,255, "Tentativa de roubo a Empresa"); PlayerInfo[playerid][ComExplosivo] = false; WantedPoints[playerid] += 1; roubando[playerid] = 1; Provocoilha[playerid] = 1; rouboilha = 1; temporouboilha = 1; SetTimer("Aroubo13", 300000, 0); tempoilha = SetTimerEx("RouboIlhaPirata", 152000, 0, "i", playerid); GetPlayerHealth(playerid,life); GetPlayerArmour(playerid,colete); new Float:x,Float:y,Float:z; GetPlayerPos(playerid,x,y,z); PlayerPlaySound(playerid, 1159, x, y, z); SetPlayerHealth(playerid,life); SetPlayerArmour(playerid,colete); TempoContagem[playerid] = SetTimerEx("ContagemRoubo", 1000, 1, "i", playerid); Contagem[playerid] = 150; return 1; } else if(PlayerToPoint(1.0,playerid,2150.8096,1619.9636,1000.9688)) { if(roubolot == 1) { SendClientMessage(playerid, COLOR_GRAD5, "Ja esta tendo uma tentativa de roubo nesse cofre."); return 1; } if(temporoubolot == 1) { SendClientMessage(playerid,COLOR_GREY,"Ja roubaram o cofre da Loterica espere 5 minutos para roubar de novo !"); return 1; } GetPlayerName(playerid, playername, MAX_PLAYER_NAME); format(string, sizeof(string), "[Assalto ao Cofre]: %s[%d] e os %s estao tentando roubar o cofre da empresa Loterica", playername, playerid,NomeORG(playerid)); SendClientMessageToAll(COLOR_LIGHTRED, string); SendClientMessage(playerid, COLOR_GRAD5, "Espere 80 segundos para terminar de roubar a Loterica LS."); SendClientMessage(playerid, COLOR_GRAD5, "Para cancelar o roubo digite: /pararroubo."); format(string, sizeof(string), "[ALERTA COPS] %s[%d] DETOUNOU O COFRE E ESTa TENTANDO ROUBAR A LOTERICA(LS) !", playername, playerid); SendFamilyMessage(1, COLOR_DBLUE, string); SendFamilyMessage(2, COLOR_DBLUE, string); SendFamilyMessage(6, COLOR_DBLUE, string); SendFamilyMessage(11, COLOR_DBLUE, string); SendFamilyMessage(16, COLOR_DBLUE, string); SendFamilyMessage(3, COLOR_DBLUE, string); SendFamilyMessage(33, COLOR_DBLUE, string); SendFamilyMessage(35, COLOR_DBLUE, string); SendFamilyMessage(36, COLOR_DBLUE, string); SetPlayerCriminal(playerid,255, "Tentativa de roubo a Loterica LS"); PlayerInfo[playerid][ComExplosivo] = false; WantedPoints[playerid] += 1; roubando[playerid] = 1; ProvocoLot[playerid] = 1; roubolot = 1; temporoubolot = 1; SetTimer("Aroubo3", 300000, 0); tempolot = SetTimerEx("RouboLot", 82000, 0, "i", playerid); GetPlayerHealth(playerid,life); GetPlayerArmour(playerid,colete); new Float:x,Float:y,Float:z; GetPlayerPos(playerid,x,y,z); PlayerPlaySound(playerid, 1159, x, y, z); SetPlayerHealth(playerid,life); SetPlayerArmour(playerid,colete); TempoContagem[playerid] = SetTimerEx("ContagemRoubo", 1000, 1, "i", playerid); Contagem[playerid] = 80; return 1; } else if(PlayerToPoint(1.0,playerid,303.1141,-168.5879,999.5938)) { if(rouboloja1 == 1) { SendClientMessage(playerid, COLOR_GRAD5, "Ja esta tendo uma tentativa de roubo nessa loja."); return 1; } if(temporouboloja1 == 1) { SendClientMessage(playerid,COLOR_GREY,"Ja roubaram a Loja de Armas 1 espere 5 minutos para roubar de novo !"); return 1; } GetPlayerName(playerid, playername, MAX_PLAYER_NAME); format(string, sizeof(string), "[Assalto ao Cofre]: %s[%d] e os %s estao tentando roubar o cofre da empresa Loja de Armas 1", playername, playerid,NomeORG(playerid)); SendClientMessageToAll(COLOR_LIGHTRED, string); SendClientMessage(playerid, COLOR_GRAD5, "Espere 80 segundos para terminar de roubar a Loja de Armas 1."); SendClientMessage(playerid, COLOR_GRAD5, "Para cancelar o roubo digite: /pararroubo."); format(string, sizeof(string), "[ALERTA COPS] %s[%d] DETOUNOU O COFRE E ESTa TENTANDO ROUBAR A LOJA DE ARMAS 1 !", playername, playerid); SendFamilyMessage(1, COLOR_DBLUE, string); SendFamilyMessage(2, COLOR_DBLUE, string); SendFamilyMessage(6, COLOR_DBLUE, string); SendFamilyMessage(11, COLOR_DBLUE, string); SendFamilyMessage(16, COLOR_DBLUE, string); SendFamilyMessage(3, COLOR_DBLUE, string); SendFamilyMessage(33, COLOR_DBLUE, string); SendFamilyMessage(35, COLOR_DBLUE, string); SendFamilyMessage(36, COLOR_DBLUE, string); SetPlayerCriminal(playerid,255, "Tentativa de roubo a Loja de Armas 1"); PlayerInfo[playerid][ComExplosivo] = false; WantedPoints[playerid] += 1; roubando[playerid] = 1; ProvocoLoja1[playerid] = 1; rouboloja1 = 1; temporouboloja1 = 1; SetTimer("Aroubo4", 300000, 0); tempoloja1 = SetTimerEx("RouboLoja1", 82000, 0, "i", playerid); GetPlayerHealth(playerid,life); GetPlayerArmour(playerid,colete); new Float:x,Float:y,Float:z; GetPlayerPos(playerid,x,y,z); PlayerPlaySound(playerid, 1159, x, y, z); SetPlayerHealth(playerid,life); SetPlayerArmour(playerid,colete); TempoContagem[playerid] = SetTimerEx("ContagemRoubo", 1000, 1, "i", playerid); Contagem[playerid] = 80; return 1; } else if(PlayerToPoint(1.0,playerid,293.1318,-57.6038,1001.5156)) { if(roubomotel == 1) { SendClientMessage(playerid, COLOR_GRAD5, "Ja esta tendo uma tentativa de roubo na Ammu Nation."); return 1; } if(temporoubomotel == 1) { SendClientMessage(playerid,COLOR_GREY,"Ja roubaram a Ammu Nation espere 5 minutos para roubar de novo !"); return 1; } GetPlayerName(playerid, playername, MAX_PLAYER_NAME); format(string, sizeof(string), "[Assalto ao Cofre]: %s[%d] e os %s estao tentando roubar o cofre da empresa Ammu Nation", playername, playerid,NomeORG(playerid)); SendClientMessageToAll(COLOR_LIGHTRED, string); SendClientMessage(playerid, COLOR_GRAD5, "Espere 80 segundos para terminar de roubar a Ammu Nation."); SendClientMessage(playerid, COLOR_GRAD5, "Para cancelar o roubo digite: /pararroubo."); format(string, sizeof(string), "[ALERTA COPS] %s[%d] DETOUNOU O COFRE E ESTa TENTANDO ROUBAR A AMMU NATION !", playername, playerid); SendFamilyMessage(1, COLOR_DBLUE, string); SendFamilyMessage(2, COLOR_DBLUE, string); SendFamilyMessage(6, COLOR_DBLUE, string); SendFamilyMessage(11, COLOR_DBLUE, string); SendFamilyMessage(16, COLOR_DBLUE, string); SendFamilyMessage(3, COLOR_DBLUE, string); SendFamilyMessage(33, COLOR_DBLUE, string); SendFamilyMessage(35, COLOR_DBLUE, string); SendFamilyMessage(36, COLOR_DBLUE, string); SetPlayerCriminal(playerid,255, "Tentativa de roubo a Ammu Nation"); PlayerInfo[playerid][ComExplosivo] = false; WantedPoints[playerid] += 1; roubando[playerid] = 1; ProvocoMotel[playerid] = 1; temporoubomotel = 1; SetTimer("Aroubo9", 300000, 0); tempoput = SetTimerEx("RouboMotel", 82000, 0, "i", playerid); GetPlayerHealth(playerid,life); GetPlayerArmour(playerid,colete); new Float:x,Float:y,Float:z; GetPlayerPos(playerid,x,y,z); PlayerPlaySound(playerid, 1159, x, y, z); SetPlayerHealth(playerid,life); SetPlayerArmour(playerid,colete); TempoContagem[playerid] = SetTimerEx("ContagemRoubo", 1000, 1, "i", playerid); Contagem[playerid] = 80; return 1; } else if(PlayerToPoint(1.0,playerid, -1434.8153,1479.9121,1.8672)) { if(roubonavio == 1) { SendClientMessage(playerid, COLOR_GRAD5, "Ja esta tendo uma tentativa de roubo nesse cofre."); return 1; } if(temporoubonavio == 1) { SendClientMessage(playerid,COLOR_GREY,"Ja roubaram o cofre do navio espere 5 minutos para roubar de novo !"); return 1; } GetPlayerName(playerid, playername, MAX_PLAYER_NAME); format(string, sizeof(string), "[Assalto ao Cofre]: %s[%d] e os %s estao tentando roubar o cofre da empresa Navio", playername, playerid,NomeORG(playerid)); SendClientMessageToAll(COLOR_LIGHTRED, string); SendClientMessage(playerid, COLOR_GRAD5, "Espere 150 segundos para terminar de roubar o navio."); SendClientMessage(playerid, COLOR_GRAD5, "Para cancelar o roubo digite: /pararroubo."); format(string, sizeof(string), "[ALERTA COPS] %s[%d] DETOUNOU O COFRE E ESTa TENTANDO ROUBAR O NAVIO !", playername, playerid); SendFamilyMessage(1, COLOR_DBLUE, string); SendFamilyMessage(2, COLOR_DBLUE, string); SendFamilyMessage(6, COLOR_DBLUE, string); SendFamilyMessage(11, COLOR_DBLUE, string); SendFamilyMessage(16, COLOR_DBLUE, string); SendFamilyMessage(3, COLOR_DBLUE, string); SendFamilyMessage(33, COLOR_DBLUE, string); SendFamilyMessage(35, COLOR_DBLUE, string); SendFamilyMessage(36, COLOR_DBLUE, string); SetPlayerCriminal(playerid,255, "Tentativa de roubo o navio"); PlayerInfo[playerid][ComExplosivo] = false; WantedPoints[playerid] += 1; roubando[playerid] = 1; Provoconavio[playerid] = 1; roubonavio = 1; temporoubonavio = 1; SetTimer("Aroubo14", 300000, 0); temponavio = SetTimerEx("RouboNavio", 152000, 0, "i", playerid); GetPlayerHealth(playerid,life); GetPlayerArmour(playerid,colete); new Float:x,Float:y,Float:z; GetPlayerPos(playerid,x,y,z); PlayerPlaySound(playerid, 1159, x, y, z); SetPlayerHealth(playerid,life); SetPlayerArmour(playerid,colete); TempoContagem[playerid] = SetTimerEx("ContagemRoubo", 1000, 1, "i", playerid); Contagem[playerid] = 150; return 1; } new caixa_id ; if(!(caixa_id=GetPlayerCaixa(playerid)))return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao esta perto de nenhum caixa eletronico ou local de Roubo."); if(CaixaInfo[caixa_id][Caixa_Roubada])return SendClientMessage(playerid, COLOR_GRAD1, " *Este caixa eletronico ja foi roubado a pouco tempo."); if(TendoRoubo)return SendClientMessage(playerid, COLOR_GRAD1, "Ja roubaram um caixa eletronico a pouco tempo, espere um pouco para roubar outro."); if(admtrampando[playerid]) return SendClientMessage(playerid, COLOR_GRAD1, " Voce nao pode roubar em modo trabalho!"); new Float:px, Float:py, Float:pz, Float:rx, Float:ry, Float:rz ; GetDynamicObjectPos(CaixaInfo[caixa_id][Caixa_Object], px, py, pz); GetDynamicObjectRot(CaixaInfo[caixa_id][Caixa_Object], rx, ry, rz); GetXYInFrontOfCaixa(CaixaInfo[caixa_id][Caixa_Object], px, py, 0.9); UltimaCaixaRoubada[0] = px; UltimaCaixaRoubada[1] = py; UltimaCaixaRoubada[2] = pz; RoubandoCaixa[playerid] = false; SetPlayerSpecialAction(playerid, 0); SetPlayerPos(playerid, px, py, pz); SetPlayerFacingAngle(playerid, rz); ApplyAnimationEx(playerid,"BOMBER","BOM_Plant_Loop",4.0,1,0,0,0,0); SetTimerEx("RoubarCaixa", 20*1000, 0, "dd", playerid, GetPlayerCaixa(playerid)); SetTimerEx(#SetAnimRoubo, 500, 0, "d", playerid); CaixaInfo[caixa_id][Caixa_Roubada] = true; new location[MAX_ZONE_NAME]; GetPlayer2DZone(playerid, location, MAX_ZONE_NAME); format(string, sizeof string, "<< Roubo: %s e os %s estao tentando roubar o caixa eletronico de %s >>", NomePlayer(playerid), GetOrgName(GetPlayerOrg(playerid)), location); SendClientMessageToAll(COLOR_LIGHTRED, string); SetPlayerCriminal(playerid,155,"Roubo a caixa eletronico"); GetPlayerName(playerid,sendername,sizeof(sendername)); format(string, sizeof(string), "* %s esta plantando um explosivo no caixa eletronico!", sendername); SendClientMessageInRange(20.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SendClientMessage(playerid, COLOR_GRAD1, "*Voce esta colocando uma bomba no caixa eletronico, aguarde..."); GameTextForPlayer(playerid, "~r~plantando bomba...", 5000, 1); antihands[playerid] = 1; SendCopMessage(COLOR_LIGHTRED, "[Policiais]: USE: /localizarcaixa para saber onde foi o roubo."); return 1; } CMD:localizarcaixa(playerid) { if(IsACop(playerid)) { CP[playerid] = 58; SetPlayerCheckpoint(playerid, UltimaCaixaRoubada[0], UltimaCaixaRoubada[1], UltimaCaixaRoubada[2], 2.0); GameTextForPlayer(playerid, "~w~Banco 24 horas~n~~r~marcada", 5000, 1); } return 1; } CallBack::SetAnimRoubo(playerid) { return ApplyAnimationEx(playerid,"BOMBER","BOM_Plant_Loop",4.0,1,0,0,0,0); } CallBack::RoubarCaixa(playerid, caixa_id) { if(!GetPlayerCaixa(playerid)) { CaixaInfo[caixa_id][Caixa_Roubada] = false; return SendClientMessage(playerid, COLOR_GRAD1, "*Voce nao esta perto de um caixa eletronico."); } new Float:px, Float:py, Float:pz, Float:rx, Float:ry, Float:rz ; TendoRoubo = true; SetTimer(#LiberarRoubo, Temporoubo, 0); GetDynamicObjectPos(CaixaInfo[caixa_id][Caixa_Object], px, py, pz); GetDynamicObjectRot(CaixaInfo[caixa_id][Caixa_Object], rx, ry, rz); GetXYInFrontOfCaixa(CaixaInfo[caixa_id][Caixa_Object], px, py, 0.3); PlayerInfo[playerid][ComExplosivo] = false; RemovePlayerAttachedObjectEx(playerid, Vaga_Roubo); CaixaInfo[caixa_id][Caixa_ObjectBomba] = CreateDynamicObject(1252, px, py, pz, 0.0, 0.0, rz); SetTimerEx("ExplodirCaixa", 10000, 0, "d", caixa_id); new string[128]; GetPlayerName(playerid,sendername,sizeof(sendername)); format(string, sizeof(string), "* %s plantou um explosivo no caixa eletronico!", sendername); SendClientMessageInRange(20.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SendClientMessage(playerid, COLOR_LIGHTRED, "*Voce plantou uma bomba no caixa, agora afaste-se e espere explodir!"); GameTextForPlayer(playerid, "~r~afaste-se do caixa", 5000, 1); antihands[playerid] = 0; ClearAnimations(playerid, 1); return 0; } CallBack::LiberarRoubo() return TendoRoubo = false; new Float:RdonPickups[][] = { {0.1},{0.2},{0.3},{0.4}, {0.5},{0.6},{0.7},{0.8}, {0.9},{1.0},{1.2},{1.3}, {1.4},{1.5},{1.6},{1.7}, {1.8},{1.9},{2.0},{2.1}, {2.2},{2.3},{2.4},{2.5}, {2.6},{2.7},{2.8}, // {-0.1},{-0.2},{-0.3},{-0.4}, {-0.5},{-0.6},{-0.7},{-0.8}, {-0.9},{-1.0},{-1.2},{-1.3}, {-1.4},{-1.5},{-1.6},{-1.7}, {-1.8},{-1.9},{-2.0},{-2.1}, {-2.2},{-2.3},{-2.4},{-2.5}, {-2.6},{-2.7},{-2.8} }; CallBack::AlarmCaixa(caixa_id) { new Float:px, Float:py, Float:pz; if(!CaixaInfo[caixa_id][Caixa_Roubada]) { SoundToAll(0); for(new i; i < MAX_CAIXAS; i ++) { if(CaixaInfo[i][Caixa_Roubada]) { GetDynamicObjectPos(CaixaInfo[i][Caixa_Object], px, py, pz); SoundInRange(9200, 20.0, px, py, pz); } } return 1; } GetDynamicObjectPos(CaixaInfo[caixa_id][Caixa_Object], px, py, pz); SoundInRange(9200, 20.0, px, py, pz); SetTimerEx("AlarmCaixa", 5000, 0, "d", caixa_id); return 1; } CallBack::ExplodirCaixa(caixa_id) { new Float:px, Float:py, Float:pz, Float:rx, Float:ry, Float:rz; new str[200]; new add = random(2000); CaixaInfo[caixa_id][Caixa_Dinheiro] = (MAX_PICKUPS_ROUBO*553)+add; format(str, sizeof str, "[CNF-RP]\n{FFFFFF}Caixa Eletronico\n{00FFFF}CAIXA DESTRUIDO\n{FFFFFF}Dinheiro despejado: R$%d",CaixaInfo[caixa_id][Caixa_Dinheiro]); UpdateDynamic3DTextLabelText(CaixaInfo[caixa_id][Caixa_Text], 0x4682B4FF, str); GetDynamicObjectPos(CaixaInfo[caixa_id][Caixa_Object], px, py, pz); GetDynamicObjectRot(CaixaInfo[caixa_id][Caixa_Object], rx, ry, rz); CreateExplosion(px, py, pz, 10, 2.0); DestroyDynamicObject(CaixaInfo[caixa_id][Caixa_ObjectBomba]); DestroyDynamicObject(CaixaInfo[caixa_id][Caixa_Object]); CaixaInfo[caixa_id][Caixa_Object] = CreateDynamicObject(2943, px, py, pz, rx, ry, rz); UltimaCaixaRoubada[0] = px; UltimaCaixaRoubada[1] = py; UltimaCaixaRoubada[2] = pz; SendClientMessageToAll(COLOR_LIGHTBLUE, " Um caixa eletronico acaba de ser explodido!"); AlarmCaixa(caixa_id); //--------- Jogar grana no chao -- GetXYInFrontOfCaixa(CaixaInfo[caixa_id][Caixa_Object], px, py, 3.1); for(new i; i < MAX_PICKUPS_ROUBO; i++) { Pickups_Roubo[caixa_id][i] = CreatePickup(1212, 23, px+(RdonPickups[random(sizeof(RdonPickups))][0]),py-(RdonPickups[random(sizeof(RdonPickups))][0]),pz-0.3); } CaixaInfo[caixa_id][Caixa_Pickups] = MAX_PICKUPS_ROUBO; SetTimerEx("RestoreCaixa", 60000*20, 0, "d", caixa_id); return 1; } CallBack::RestoreCaixa(caixa_id) { if(CaixaInfo[caixa_id][Caixa_Roubada]) { SendClientMessageToAll(0x00660CC8, " Um caixa eletronico de Los Santos foi consertado pelo governo."); new Float:px, Float:py, Float:pz, Float:rx, Float:ry, Float:rz; CaixaInfo[caixa_id][Caixa_Roubada] = false; UpdateDynamic3DTextLabelText(CaixaInfo[caixa_id][Caixa_Text], 0x4682B4FF, "[CNF-RP]\n{FFFFFF}Caixa Eletronico\nAperte '{4682B4}F{FFFFFF}' para usar"); GetDynamicObjectPos(CaixaInfo[caixa_id][Caixa_Object], px, py, pz); GetDynamicObjectRot(CaixaInfo[caixa_id][Caixa_Object], rx, ry, rz); DestroyDynamicObject(CaixaInfo[caixa_id][Caixa_Object]); CaixaInfo[caixa_id][Caixa_Object] = CreateDynamicObject(2942, px, py, pz, rx, ry, rz); for(new i; i < MAX_PICKUPS_ROUBO; i++) { DestroyPickup(Pickups_Roubo[caixa_id][i]); } } return true; } CallBack::RestoreCaixaADM(caixa_id) { if(CaixaInfo[caixa_id][Caixa_Roubada]) { new Float:px, Float:py, Float:pz, Float:rx, Float:ry, Float:rz; CaixaInfo[caixa_id][Caixa_Roubada] = false; UpdateDynamic3DTextLabelText(CaixaInfo[caixa_id][Caixa_Text], 0x4682B4FF, "[CNF-RP]\n{FFFFFF}Caixa Eletronico\nAperte '{4682B4}F{FFFFFF}' para usar"); GetDynamicObjectPos(CaixaInfo[caixa_id][Caixa_Object], px, py, pz); GetDynamicObjectRot(CaixaInfo[caixa_id][Caixa_Object], rx, ry, rz); DestroyDynamicObject(CaixaInfo[caixa_id][Caixa_Object]); CaixaInfo[caixa_id][Caixa_Object] = CreateDynamicObject(2942, px, py, pz, rx, ry, rz); for(new i; i < MAX_PICKUPS_ROUBO; i++) { DestroyPickup(Pickups_Roubo[caixa_id][i]); } } return true; } CMD:consertarcaixas(playerid) { if(PlayerInfo[playerid][pAdmin] < 1338)return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao pode usar este comando."); new string[128]; for(new i; i < MAX_CAIXAS; i++) { RestoreCaixaADM(i); } format(string, sizeof string, "AdmCmd: O admin %s consertou todos os caixas eletronicos da cidade.", NomePlayer(playerid)); SendClientMessageToAll(COLOR_YELLOW, string); return 1; } stock GetPoint2DZone(Float:pointx, Float:pointy, Float:pointz) { #pragma unused pointz new znes[128]; for(new i = 0; i != sizeof(gSAZones); i++) { if(pointx >= gSAZones[i][SAZONE_AREA][0] && pointx <= gSAZones[i][SAZONE_AREA][3] && pointy >= gSAZones[i][SAZONE_AREA][1] && pointy <= gSAZones[i][SAZONE_AREA][4]) { format(znes, sizeof(znes), (gSAZones[i][SAZONE_NAME])); return znes; } } return znes; } CMD:locationcaixa(playerid) { if(!gPlayerLogged[playerid])return 1; MEGAString[0] = EOS; new Float:x, Float:y, Float:z; new string[128] ; strcat(MEGAString, "{FFFF00}Caixa Eletronico mais proximo\n"); for(new i; i < MAX_CAIXAS; i++) { GetDynamicObjectPos(CaixaInfo[i][Caixa_Object], x, y, z); format(string, sizeof string, "Caixa Eletronico de %s\n", GetPoint2DZone(x, y, z)); strcat(MEGAString, string); } ShowPlayerDialog(playerid, 4901, DIALOG_STYLE_LIST, "Caixas Eletronicos", MEGAString, #Localizar, #Voltar); return true; } CMD:capacete(playerid, params[]) { SCM(playerid, -1, "Capacete: Fique dentro do veiculo para colocar o capacete, e de /capacete fora do veiculo para tira-lo."); if(IsAMoto(GetPlayerVehicleID(playerid))) { if(PlayerInfo[playerid][pCapacete] <= 0) { SendClientMessage(playerid, COLOR_GRAD1, "Voce nao tem um Capacete, compre um na 24/7!"); return 1; } if(comCapacete[playerid] > 0) { SendClientMessage(playerid, COLOR_GRAD1, "Voce ja esta usando seu Capacete."); return 1; } new id = CountAttachedObjects(playerid); switch(GetPlayerSkin(playerid)) { #define SPAO{%0,%1,%2,%3,%4,%5} SetPlayerAttachedObject_Droid(playerid, id, PlayerInfo[playerid][pCapacete], 2, (%0), (%1), (%2), (%3), (%4), (%5), 1.2, 1.2, 1.2); case 0, 65, 74, 149, 208, 273: SPAO{0.070000, 0.000000, 0.000000, 88.000000, 75.000000, 0.000000} case 1..6, 8, 14, 16, 22, 27, 29, 33, 41..49, 82..84, 86, 87, 119, 289: SPAO{0.070000, 0.000000, 0.000000, 88.000000, 77.000000, 0.000000} case 7, 10: SPAO{0.090000, 0.019999, 0.000000, 88.000000, 90.000000, 0.000000} case 9: SPAO{0.059999, 0.019999, 0.000000, 88.000000, 90.000000, 0.000000} case 11..13: SPAO{0.070000, 0.019999, 0.000000, 88.000000, 90.000000, 0.000000} case 15: SPAO{0.059999, 0.000000, 0.000000, 88.000000, 82.000000, 0.000000} case 17..21: SPAO{0.059999, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000} case 23..26, 28, 30..32, 34..39, 57, 58, 98, 99, 104..118, 120..131: SPAO{0.079999, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000} case 40: SPAO{0.050000, 0.009999, 0.000000, 88.000000, 82.000000, 0.000000} case 50, 100..103, 148, 150..189, 222: SPAO{0.070000, 0.009999, 0.000000, 88.000000, 82.000000, 0.000000} case 51..54: SPAO{0.100000, 0.009999, 0.000000, 88.000000, 82.000000, 0.000000} case 55, 56, 63, 64, 66..73, 75, 76, 78..81, 133..143, 147, 190..207, 209..219, 221, 247..272, 274..288, 290..293: SPAO{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000} case 59..62: SPAO{0.079999, 0.029999, 0.000000, 88.000000, 82.000000, 0.000000} case 77: SPAO{0.059999, 0.019999, 0.000000, 87.000000, 82.000000, 0.000000} case 85, 88, 89: SPAO{0.070000, 0.039999, 0.000000, 88.000000, 82.000000, 0.000000} case 90..97: SPAO{0.050000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000} case 132: SPAO{0.000000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000} case 144..146: SPAO{0.090000, 0.000000, 0.000000, 88.000000, 82.000000, 0.000000} case 220: SPAO{0.029999, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000} case 223, 246: SPAO{0.070000, 0.050000, 0.000000, 88.000000, 82.000000, 0.000000} case 224..245: SPAO{0.070000, 0.029999, 0.000000, 88.000000, 82.000000, 0.000000} case 294: SPAO{0.070000, 0.019999, 0.000000, 91.000000, 84.000000, 0.000000} case 295: SPAO{0.050000, 0.019998, 0.000000, 86.000000, 82.000000, 0.000000} case 296..298: SPAO{0.064999, 0.009999, 0.000000, 88.000000, 82.000000, 0.000000} case 299: SPAO{0.064998, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000} } SetPlayerAttachedObjectEx(PlayerInfo[playerid][pCapacete],Vaga_Capacete,playerid,id); comCapacete[playerid] = 1; return true; } else { if(comCapacete[playerid] > 0) comCapacete[playerid] = 0; RemovePlayerAttachedObjectEx(playerid, Vaga_Capacete); return 1; } } CMD:destruirid(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] < 2) { SendClientMessage(playerid, COLOR_GRAD1, " Voce nao esta autorizado a usar este comando !"); return true; } new counter = 0; new result; new plyName[MAX_PLAYER_NAME]; GetPlayerName(playerid, plyName, MAX_PLAYER_NAME); for(new i; i != MAX_VEHICLES; i++) { new dist = ChecarveiculoBPF(7.0, playerid, i); if(dist) { result = i; counter++; } } switch(counter) { case 0: { SendClientMessage(playerid, COLOR_GREY, " Nao ha nenhum carro nesse raio!"); } case 1: { if(result < TOTAL_CARROS) { SendClientMessage(playerid, COLOR_GREY, "Voce so pode destruir veiculos criados"); return true; } new string[128]; new name[MAX_PLAYER_NAME]; GetPlayerName(playerid, name, sizeof(name)); DestroyVehicleEx(result); format(string, sizeof(string), "Voce destruiu o veiculo ID:[%d]", result); SendClientMessage(playerid, COLOR_GREY, string); CreatedCar --; } default: { SendClientMessage(playerid, COLOR_GREY, " Foram encontrados mais de um carro nesse raio"); } } return true; } CMD:setvidacar(playerid, params[]) { if(IsPlayerConnected(playerid)) { new id, life; if(sscanf(params, "dd", id, life)) { SendClientMessage(playerid, COLOR_GRAD2, "USE: /setvidacar [idcarro] (Vida Carro)"); return true; } if (id == INVALID_VEHICLE_ID) return SendClientMessage(playerid, COLOR_GREY, "Nao exise um veiculo com essa id."); if (PlayerInfo[playerid][pAdmin] >= 4) { new string[128]; SetVehicleHealth(id, life); format(string, sizeof(string), "Vida do carro %d definido para %d.", id, life); SendClientMessage(playerid, COLOR_GRAD1, string); } else { SendClientMessage(playerid, COLOR_GRAD1, "Voce nao esta autorizado a usar o comando!"); } } return 1; } CMD:respawndetran(playerid, params[]) { new string[128]; if(IsPlayerConnected(playerid)) { if(PlayerInfo[playerid][pMembro] != 34 && PlayerInfo[playerid][pLider] != 34) { SendClientMessage(playerid, COLOR_GRAD1, "Voce nao e um Detran!"); return 1; } if(!IsPlayerInHQMec(playerid)) { SendClientMessage(playerid, COLOR_GRAD1, "O carro e voce precisam estar na sua HQ!"); return 1; } if(JaUsou) { SendClientMessage(playerid, COLOR_GRAD1, "Voce ja usou /respawnDetran recentemente, Aguarde 10 minutos!"); return 1; } new counter = 0; new result; new plyName[MAX_PLAYER_NAME]; GetPlayerName(playerid, plyName, MAX_PLAYER_NAME); for(new i; i != MAX_VEHICLES; i++) { new dist = ChecarveiculoBPF(6.0, playerid, i); if(dist) { result = i; counter++; } } switch(counter) { case 0: { SendClientMessage(playerid, COLOR_GREY, "Nao ha nenhum carro nesse por perto!"); } case 1: { if(IsADetranCar(result) || IsAMecCar(result)) return SendClientMessage(playerid, COLOR_GREY, "[ERRO] Retire o guincho do DETRAN/MECANICOS de perto"); new name[MAX_PLAYER_NAME]; GetPlayerName(playerid, name, sizeof(name)); new totalt1 = random(1000) + 7000; GiveDinheiro(playerid, totalt1); format(string, sizeof(string), "Voce Entregou o carro ID:[%d] A sua HQ e recebeu R$ %d pelo Servico", result, totalt1); SendClientMessage(playerid, COLOR_GREY, string); JaUsou = true; SetTimer("UsouJa", 600000, false); SetVehicleToRespawnEx(result); } default: { SendClientMessage(playerid, COLOR_GREY, "Dois carros estao muito pertos.Afaste-os Mais!"); } } } return 1; } CMD:rc(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] < 3) { SendClientMessage(playerid, COLOR_GRAD1, " Voce nao esta autorizado a usar este comando !"); return true; } new counter = 0; new result; for(new i; i != MAX_VEHICLES; i++) { new dist = ChecarveiculoBPF(5.0, playerid, i); if(dist) { result = i; counter++; } } switch(counter) { case 0: { SendClientMessage(playerid, COLOR_GREY, " Nao ha nenhum carro nesse raio!"); } case 1: { new string[128]; new name[MAX_PLAYER_NAME]; GetPlayerName(playerid, name, sizeof(name)); format(string, sizeof(string), "Voce deu respawn no carro ID:[%d]", result); SendClientMessage(playerid, COLOR_GREY, string); SetVehicleToRespawnEx(result); } default: { SendClientMessage(playerid, COLOR_GREY, " Foram encontrados mais de um carro nesse raio"); } } return true; } CMD:abastecerid(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] < 2) { SendClientMessage(playerid, COLOR_GRAD1, "Voce nao esta autorizado a usar este comando !"); return true; } if(!admtrampando[playerid] && PlayerInfo[playerid][pAdmin] < 1342) return SendClientMessage(playerid, COLOR_GRAD1, TRABALHARADM); new Float:cX, Float:cY, Float:cZ; for(new i = 0; i < MAX_VEHICLES; i++) { GetVehiclePos(i, cX, cY, cZ); if (PlayerToPoint(5.0, playerid,cX, cY, cZ)) { new string[128]; Gas[i] = 100; format(string, sizeof(string), "AdmAviso: Carro ID:[%d] foi abastecido Por: %s", i, NomePlayer(playerid)); ABroadCast(0xff6347FF,string,1); } } return true; } CMD:repararid(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] < 2) { SendClientMessage(playerid, COLOR_GRAD1, "Voce nao esta autorizado a usar este comando !"); return true; } if(!admtrampando[playerid] && PlayerInfo[playerid][pAdmin] < 1342) return SendClientMessage(playerid, COLOR_GRAD1, TRABALHARADM); new counter = 0; new result; new plyName[MAX_PLAYER_NAME]; GetPlayerName(playerid, plyName, MAX_PLAYER_NAME); for(new i; i != MAX_VEHICLES; i++) { new dist = ChecarveiculoBPF(5.0, playerid, i); if(dist) { result = i; counter++; } } new string[128]; switch(counter) { case 0: { SendClientMessage(playerid, COLOR_GREY, " Nao ha nenhum carro nesse raio!"); } case 1: { new name[MAX_PLAYER_NAME]; GetPlayerName(playerid, name, sizeof(name)); format(string, sizeof(string), "Voce reparou o veiculo de [ID: %d]", result); SendClientMessage(playerid, COLOR_GREY, string); if(admtrampando[playerid] == 1 && admhide[playerid] == 1) { format(string, sizeof(string), "AdmCmd: O admin MOLE reparou o veiculo de [ID: %d]", result); ABroadCast(0xff6347FF,string,1); } else { format(string, sizeof(string), "AdmCmd: O admin %s reparou o veiculo de [ID: %d]", name,result); ABroadCast(0xff6347FF,string,1); } RepairVehicleWithBomber(result); } default: { SendClientMessage(playerid, COLOR_GREY, " Foram encontrados mais de um carro nesse raio"); } } return true; } CMD:homembomba(playerid) { if(PlayerInfo[playerid][pJailed] != 0) { SendClientMessage(playerid,COLOR_GREY," Voce nao pode usar homem bomba na cadeia !"); return 1; } if(PlayerInfo[playerid][pMembro] != 23 && PlayerInfo[playerid][pLider] != 23 && PlayerInfo[playerid][pMembro] != 15 && PlayerInfo[playerid][pLider] != 15) { SendClientMessage(playerid, COLOR_GREY, "Voce nao e do Terrorista"); return 1; } if(PlayerInfo[playerid][pCargo] < 3) { SendClientMessage(playerid, COLOR_GRAD1, "Voce precisa ser cargo 3+ para usar este comando."); return 1; } if(phbomba[playerid] == 1) { SendClientMessage(playerid,COLOR_GRAD2,"Ja usaram homem-bomba, aguarde 40 segundos para usar novamente !"); return 1; } if(GetPVarInt(playerid, "Explodir") == 1) { SendClientMessage(playerid,COLOR_GRAD2,"Voce so pode usar uma bomba por vez!"); return 1; } if(GetPlayerMoney(playerid) <= 2000) { SendClientMessage(playerid,0xE60000FF,"Voce nao tem R$2.000 !"); return 1; } if(TendoGuerra == 1 && IsPlayerInTerritorio(playerid)) { SendClientMessage(playerid, COLOR_GRAD1, "Voce nao pode usar este comando em guerra !"); return 1; } ShowPlayerDialog(playerid, 70, DIALOG_STYLE_INPUT,"Menu Bombas","Qual tipo de bomba voce deseja? \nDigite Programada ou Controlada !","Confirmar","Cancelar"); phbomba[playerid] = 1; SetTimerEx("hbomba", 120000, 0, "i", playerid); return 1; } CMD:carrobomba(playerid) { if(PlayerInfo[playerid][pJailed] != 0) { SendClientMessage(playerid,COLOR_GREY," Voce nao pode usar carro bomba na cadeia!"); return 1; } if(PlayerInfo[playerid][pMembro] != 23 && PlayerInfo[playerid][pLider] != 23 && PlayerInfo[playerid][pMembro] != 15 && PlayerInfo[playerid][pLider] != 15) { SendClientMessage(playerid, COLOR_GREY, "Voce nao e um Terrorista"); return 1; } if(PlayerInfo[playerid][pCargo] < 3) { SendClientMessage(playerid, COLOR_GRAD1, "Voce precisa ser cargo 3+ para usar este comando."); return 1; } if(pcbomba == 1) { SendClientMessage(playerid,COLOR_GRAD2,"Ja usaram carrobomba, aguarde 20 segundos para usar novamente!"); return 1; } new string[128]; new vehicle; vehicle = GetPlayerVehicleID(playerid); new Float:x, Float:y, Float:z; GetPlayerName(playerid, sendername, sizeof(sendername)); if(IsPlayerConnected(playerid)) { if(vehicle != 0) { SetPlayerHealth(playerid, 0); GetVehiclePos(vehicle, x, y, z); CreateExplosion(x, y, z, 7, 50); printf("[Terrorista] Usou Carro Bomba"); format(string, sizeof(string), "Terrorista %s Usou Carro Bomba! ID[%d]", sendername, playerid); ABroadCast(COLOR_YELLOW,string,1); pcbomba = 1; Tempocbomba = SetTimer("cbomba", 20000, 0); } if(vehicle == 0) { SendClientMessage(playerid, COLOR_GREY, "Voce precisa estar em um carro"); return 1; } } else { SendClientMessage(playerid, COLOR_GREY, "Voce nao esta autorizado a usar este comando!"); } return 1; } CMD:explodir(playerid, params[]) { if(gPlayerLogged[playerid] == 0) { return SendClientMessage(playerid, 0xff6347FF, "* Voce nao esta conectado."); } if(PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pAdminTemp] >= 1) { new Jogador; if(sscanf(params, "u", Jogador)) { SendClientMessage(playerid, COLOR_GRAD1, "USE: /explodir [playerid]"); return 1; } if(!admtrampando[playerid] && PlayerInfo[playerid][pAdmin] < 1342) return SendClientMessage(playerid, COLOR_GRAD1, TRABALHARADM); if(!IsPlayerConnected(Jogador))return SendClientMessage(playerid, COLOR_GRAD1, " Player nao conectado"); new string[128]; new Float:burnx, Float:burny, Float:burnz; GetPlayerPos(Jogador,burnx, burny, burnz); CreateExplosion(burnx, burny , burnz + 3, 1, 3); GetPlayerName(Jogador, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "AdmCmd: %s explodiu %s.",PlayerName(playerid), PlayerName(Jogador)); ABroadCast(COLOR_LIGHTRED,string,1); CNFLogs("comandosadmin", string); } else { SendClientMessage(playerid,COLOR_GRAD5,"Voce nao tem permissao para usar esse comando!"); } return 1; } CMD:explodir2(playerid, params[]) { if(gPlayerLogged[playerid] == 0) { return SendClientMessage(playerid, 0xff6347FF, "* Voce nao esta conectado."); } if(PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pAdminTemp] >= 1) { new Jogador, explosao; if(sscanf(params, "ud", Jogador, explosao)) { SendClientMessage(playerid, COLOR_GRAD1, "USE: /explodir2 [playerid] [explosao-tipo]"); return 1; } if(!admtrampando[playerid] && PlayerInfo[playerid][pAdmin] < 1342) return SendClientMessage(playerid, COLOR_GRAD1, TRABALHARADM); if(!IsPlayerConnected(Jogador))return SendClientMessage(playerid, COLOR_GRAD1, " Player nao conectado"); new string[128]; new Float:burnx, Float:burny, Float:burnz; GetPlayerPos(Jogador,burnx, burny, burnz); CreateExplosion(burnx, burny , burnz + 3, explosao, 3); GetPlayerName(Jogador, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "AdmCmd: %s explodiu %s.",PlayerName(playerid), PlayerName(Jogador)); ABroadCast(COLOR_LIGHTRED,string,1); CNFLogs("comandosadmin", string); } else { SendClientMessage(playerid,COLOR_GRAD5,"Voce nao tem permissao para usar esse comando!"); } return 1; } CMD:trazer(playerid, params[]) { if(gPlayerLogged[playerid] == 0) { return SendClientMessage(playerid, 0xff6347FF, "* Voce nao esta conectado."); } if(PlayerInfo[playerid][pAdmin] < 1 && PlayerInfo[playerid][pAdminTemp] < 1) { SendClientMessage(playerid, COLOR_GRAD1, LEVELADM); return 1; } new plo; if(sscanf(params, "u", plo)) { SendClientMessage(playerid, COLOR_GRAD2, "USE: /trazer [ID/Nick]"); return 1; } new Float:plocx,Float:plocy,Float:plocz; new giveplayername[MAX_PLAYER_NAME]; new string[128]; if (IsPlayerConnected(plo)) { if(WatchingTV[plo] == 1) { SendClientMessage(playerid, COLOR_GREY, "Este administrador esta em modo de /tv e voce nao pode traze-lo ate voce!"); return 1; } if(PlayerInfo[plo][pJailed] >= 1) { SendClientMessage(playerid, COLOR_GREY, " Este jogador esta preso, voce nao pode puxa-lo"); return 1; } /* if(PedMorto[plo] == 1) { SendClientMessage(playerid, COLOR_GREY, " Este jogador esta hospitalizado, voce nao pode puxa-lo"); return 1; } */ if(PlayerInfo[plo][pAdmin] > 1340 && PlayerInfo[playerid][pAdmin] < 1340) { SendClientMessage(playerid, COLOR_GRAD1, "Voce nao pode ir em um Admin Dono !"); return true; } if(plo != INVALID_PLAYER_ID) { if (PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pAdminTemp] >= 1) { if(PlayerInfo[playerid][pAdmin] > 0 && PlayerInfo[playerid][pAdminTemp] > 0 && !admtrampando[playerid]) return SendClientMessage(playerid, COLOR_GRAD1, TRABALHARADM); GetPlayerPos(playerid, plocx, plocy, plocz); if(PlayerInfo[playerid][pInt] > 0) { SetPlayerInterior(plo,PlayerInfo[playerid][pInt]); PlayerInfo[plo][pInt] = PlayerInfo[playerid][pInt]; PlayerInfo[plo][pLocal] = PlayerInfo[playerid][pLocal]; } if(PlayerInfo[playerid][pInt] == 0) { SetPlayerInterior(plo,0); } if(plocz > 930.0 && PlayerInfo[playerid][pInt] == 0) //the highest land point in sa = 526.8 { SetPlayerInterior(plo,1); PlayerInfo[plo][pInt] = 1; } if (GetPlayerState(plo) == 2) { SetPlayerInterior(plo,GetPlayerInterior(playerid)); SetPlayerVirtualWorld(plo,GetPlayerVirtualWorld(playerid)); new tmpcar = GetPlayerVehicleID(plo); SetVehiclePos(tmpcar, plocx, plocy+4, plocz); } else { SetPlayerInterior(plo,GetPlayerInterior(playerid)); SetPlayerVirtualWorld(plo,GetPlayerVirtualWorld(playerid)); SetPlayerPos(plo,plocx,plocy+2, plocz); } if(PlayerInfo[playerid][pAdmin] > 0 || PlayerInfo[playerid][pAdminTemp] > 0) { GetPlayerName(playerid, playername, sizeof(playername)); GetPlayerName(plo, giveplayername, sizeof(giveplayername)); format(string, sizeof(string), "* O Administrador: %s levou %s!", playername,giveplayername); SendClientMessageInRange(30.0, plo, string, 0xFF1493FF,0xFF1493FF,0xFF1493FF,0xFF1493FF,0xFF1493FF); format(string, sizeof(string), "* O Administrador: %s trouxe %s!", playername,giveplayername); SendClientMessageInRange(30.0, playerid, string, 0xFF1493FF,0xFF1493FF,0xFF1493FF,0xFF1493FF,0xFF1493FF); } PlayerBizzID[plo] = PlayerBizzID[playerid]; } else { SendClientMessage(playerid, COLOR_GRAD1, "Voce precisa ser admin para usar este comando."); } } } else { format(string, sizeof(string), " %d nao e um jogador ativo.", plo); SendClientMessage(playerid, COLOR_GRAD1, string); } return 1; } CMD:iniciarx1(playerid, params[]){ if(PlayerInfo[playerid][pAdmin] < 4) return SendClientMessage(playerid, COLOR_GREY, LEVELADM); new id1, id2; if(sscanf(params, "uu", id1, id2)) return SendClientMessage(playerid, COLOR_GREY, "USE: /iniciarx1 [Jogador 1] [Jogador 2]"); if(!IsPlayerConnected(id1) || !IsPlayerConnected(id2)) return SendClientMessage(playerid, COLOR_GREY, " Um dos dois jogadores nao esta conectado!"); new Str[128]; SendClientMessageToAll(COLOR_DBLUE, "|________________| Evento de x1 |________________| "); format(Str, sizeof Str, "..::Evento de x1::.. O proximo x1 sera entre (%s Vs. %s)", NomePlayer(id1), NomePlayer(id2)); SendClientMessageToAll(COLOR_DBLUE, Str); KillTimer(timerx1); countx1 = 3; timerx1 = SetTimer("contarx1", 1000, 1); Playersx1[0] = id1; Playersx1[1] = id2; Controle(Playersx1[0], 0); Controle(Playersx1[1], 0); ResetPlayerWeapons(id1); GivePlayerWeapon(id1, 24, 999); GivePlayerWeapon(id1, 25, 999); SetPlayerHealth(id1, 100.0); SetPlayerArmour(id1, 100.0); SetPlayerInterior(id1, 0); SetPlayerVirtualWorld(id1, 0); SetPlayerPos(id1, -2315.9895,-1633.1938,483.7031); SetPlayerFacingAngle(id1, 483.7031); ResetPlayerWeapons(id2); GivePlayerWeapon(id2, 24, 999); GivePlayerWeapon(id2, 25, 999); SetPlayerHealth(id2, 100.0); SetPlayerArmour(id2, 100.0); SetPlayerInterior(id2, 0); SetPlayerVirtualWorld(id2, 0); SetPlayerPos(id2, -2338.6704,-1635.5643,483.7031); SetPlayerFacingAngle(id2, 268.6049); return 1; } CallBack::contarx1(){ switch(countx1){ case 3:GameTextForAll("_~n~_~n~_~n~_~n~3", 4000, 6); case 2:GameTextForAll("_~n~_~n~_~n~_~n~2", 4000, 6); case 1:GameTextForAll("_~n~_~n~_~n~_~n~1", 4000, 6); case 0:{ GameTextForAll("_~n~_~n~_~n~_~n~||GOGOGO||", 2000, 6); tempox1 = gettime(); } } if(countx1 > 0)countx1 --; else { SetCameraBehindPlayer(Playersx1[0]); SetCameraBehindPlayer(Playersx1[1]); Controle(Playersx1[0], 1); Controle(Playersx1[1], 1); KillTimer(timerx1); } } CMD:trazerx1(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] < 4) { SendClientMessage(playerid, COLOR_GRAD1, LEVELADM); return 1; } new plo; if(sscanf(params, "u", plo)) { SendClientMessage(playerid, COLOR_GRAD2, "USE: /trazerx1 [id/nick]"); return 1; } new Float:plocx,Float:plocy,Float:plocz; new giveplayername[MAX_PLAYER_NAME]; new string[128]; if (IsPlayerConnected(plo)) { if(WatchingTV[plo] == 1) { SendClientMessage(playerid, COLOR_GREY, "Este administrador esta em modo de /tv e voce nao pode traze-lo ate voce!"); return 1; } if(PlayerInfo[plo][pJailed] >= 1) { SendClientMessage(playerid, COLOR_GREY, " Este jogador esta preso voce nao pode puxa-lo"); return 1; } if(plo != INVALID_PLAYER_ID) { if (PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pAdminTemp] >= 1) { if(!admtrampando[playerid] && PlayerInfo[playerid][pAdmin] < 1342) return SendClientMessage(playerid, COLOR_GRAD1, TRABALHARADM); GetPlayerPos(playerid, plocx, plocy, plocz); if(PlayerInfo[playerid][pInt] > 0) { SetPlayerInterior(plo,PlayerInfo[playerid][pInt]); PlayerInfo[plo][pInt] = PlayerInfo[playerid][pInt]; PlayerInfo[plo][pLocal] = PlayerInfo[playerid][pLocal]; } if(PlayerInfo[playerid][pInt] == 0) { SetPlayerInterior(plo,0); } if(plocz > 930.0 && PlayerInfo[playerid][pInt] == 0) //the highest land point in sa = 526.8 { SetPlayerInterior(plo,1); PlayerInfo[plo][pInt] = 1; } if (GetPlayerState(plo) == 2) { SetPlayerInterior(plo,GetPlayerInterior(playerid)); SetPlayerVirtualWorld(plo,GetPlayerVirtualWorld(playerid)); new tmpcar = GetPlayerVehicleID(plo); ResetPlayerWeapons(plo); GivePlayerWeapon(plo, 24, 999); GivePlayerWeapon(plo, 25, 999); SetPlayerHealth(plo, 100); SetPlayerArmour(plo, 100); SetVehiclePos(tmpcar, plocx, plocy+4, plocz); } else { SetPlayerInterior(plo,GetPlayerInterior(playerid)); SetPlayerVirtualWorld(plo,GetPlayerVirtualWorld(playerid)); SetPlayerPos(plo,plocx,plocy+2, plocz); ResetPlayerWeapons(plo); GivePlayerWeapon(plo, 24, 999); GivePlayerWeapon(plo, 25, 999); SetPlayerHealth(plo, 100); SetPlayerArmour(plo, 100); } GetPlayerName(playerid, playername, sizeof(playername)); GetPlayerName(plo, giveplayername, sizeof(giveplayername)); format(string, sizeof(string), "*Admin %s levou %s para o evento de x1.", playername,giveplayername); SendClientMessageInRange(30.0, plo, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); format(string, sizeof(string), "*Admin %s trouxe %s para o evento de x1.", playername,giveplayername); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); } } } else { format(string, sizeof(string), " %d nao e um jogador ativo.", plo); SendClientMessage(playerid, COLOR_GRAD1, string); } return 1; } CMD:carroscriados(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] >= 4) { if(!admtrampando[playerid] && PlayerInfo[playerid][pAdmin] < 1342) return SendClientMessage(playerid, COLOR_GRAD1, TRABALHARADM); new string[128]; if(admtrampando[playerid] < 1 && PlayerInfo[playerid][pAdmin] < 1340) { SendClientMessage(playerid, COLOR_GRAD1, TRABALHARADM); return true; } format(string, sizeof(string), "Quantidade de Carros Criados: %d",CreatedCar); SendClientMessage(playerid, COLOR_GREY, string); return true; } else { SendClientMessage(playerid, COLOR_GRAD1, "Voce nao esta autorizado a usar este comando!"); } return true; } CMD:beijar(playerid, params[]) { if(sscanf(params, "u", giveplayerid)) { SendClientMessage(playerid, COLOR_GREY, "/beijar [Playerid]"); return 0x01; } if(giveplayerid == playerid)return SendClientMessage(playerid, COLOR_GREY, "Voce nao pode usar este comando em voce mesmo!"); if(IsPlayerConnected(giveplayerid)) { if(ProxDetectorS(1.0, playerid, giveplayerid)) { new string[78]; new Float:angle, Float:x, Float:y, Float:z; GetPlayerPos(giveplayerid, x, y, z); GetXYInFrontOfPlayer(giveplayerid, x, y, 0.8); SetPlayerPos(playerid, x, y, z); GetPlayerFacingAngle(giveplayerid, angle); SetPlayerFacingAngle(playerid, angle + 180); format(string, sizeof(string),"* %s da um beijo na boca de %s.", NomePlayer(playerid), NomePlayer(giveplayerid)); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); ApplyAnimationEx(playerid,"KISSING","Grlfrd_Kiss_02",3.1,0,1,1,0,0); ApplyAnimationEx(giveplayerid,"KISSING","Grlfrd_Kiss_02",3.1,0,1,1,0,0); } else { SendClientMessage(playerid, COLOR_WHITE, "O player nao esta perto o suficiente de voce."); } } else { SendClientMessage(playerid, COLOR_WHITE, "Player offline."); } return 0x01; } CMD:comprimentar(playerid, params[]) { if(sscanf(params, "u", giveplayerid)) { SendClientMessage(playerid, COLOR_GREY, "/comprimentar [Playerid]"); return 0x01; } if(giveplayerid == playerid)return SendClientMessage(playerid, COLOR_GREY, "Voce nao pode usar este comando em voce mesmo!"); if(IsPlayerConnected(giveplayerid)) { if(ProxDetectorS(1.0, playerid, giveplayerid)) { new string[78]; new Float:angle, Float:x, Float:y, Float:z; GetPlayerPos(giveplayerid, x, y, z); GetXYInFrontOfPlayer(giveplayerid, x, y, 0.8); SetPlayerPos(playerid, x, y, z); GetPlayerFacingAngle(giveplayerid, angle); SetPlayerFacingAngle(playerid, angle + 180); format(string, sizeof(string),"* %s aperta a mao de %s.", NomePlayer(playerid), NomePlayer(giveplayerid)); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); ApplyAnimationEx(playerid,"GANGS","hndshkaa",3.1,0,1,1,0,0); ApplyAnimationEx(giveplayerid,"GANGS","hndshkaa",3.1,0,1,1,0,0); } else { SendClientMessage(playerid, COLOR_WHITE, "O player nao esta perto o suficiente de voce."); } } else { SendClientMessage(playerid, COLOR_WHITE, "Player offline."); } return 0x01; } CMD:boquete(playerid, params[]) { if(sscanf(params, "u", giveplayerid)) { SendClientMessage(playerid, COLOR_GREY, "/boquete [Playerid]"); return 0x01; } if(giveplayerid == playerid)return SendClientMessage(playerid, COLOR_GREY, "Voce nao pode usar este comando em voce mesmo!"); if(IsPlayerConnected(giveplayerid)) { if(ProxDetectorS(1.0, playerid, giveplayerid)) { new string[78]; new Float:angle, Float:x, Float:y, Float:z; GetPlayerPos(giveplayerid, x, y, z); GetXYInFrontOfPlayer(giveplayerid, x, y, 0.8); SetPlayerPos(playerid, x, y, z); GetPlayerFacingAngle(giveplayerid, angle); SetPlayerFacingAngle(playerid, angle + 180); format(string, sizeof(string),"* %s paga um boquete para %s.", NomePlayer(playerid), NomePlayer(giveplayerid)); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); ApplyAnimationEx(playerid,"BLOWJOBZ","BJ_COUCH_LOOP_W",3.1,0,1,1,0,0); ApplyAnimationEx(giveplayerid,"BLOWJOBZ","BJ_COUCH_END_P",3.1,0,1,1,0,0); } else { SendClientMessage(playerid, COLOR_WHITE, "O player nao esta perto o suficiente de voce."); } } else { SendClientMessage(playerid, COLOR_WHITE, "Player offline."); } return 0x01; /*} CMD:saciar(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] >= 1338) { new id; if(sscanf(params, "u", id)) return UseCMD(playerid, "/saciar [ID/Nick]"); new strbra[128]; format(strbra, 128, "AdmCmd: %s saciou a fome e sede de: %s", PlayerName(playerid), PlayerName(id)); ABroadCast(COLOR_LIGHTRED, strbra, 1); format(strbra, 128, "O Admin %s saciou sua fome e sede por completo.", PlayerName(playerid)); SCM(id, COLOR_LIGHTBLUE, strbra); PlayerInfo[id][pFome] = 100; PlayerInfo[id][pSede] = 100; AtualizarTxDFS(id); } else return SemPermCMD return 1; } CMD:saciarall(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] >= 1339) { new strbra[128]; format(strbra, 128, "AdmCmd: %s saciou a fome e sede de todos os jogadores online!", PlayerName(playerid)); SCMAll(COLOR_LIGHTRED, strbra); for(new i = 0, p = GetPlayerPoolSize(); i <= p; i++) { PlayerInfo[i][pFome] = 100; PlayerInfo[i][pSede] = 100; AtualizarTxDFS(i); } } else return SemPermCMD return 1;*/ } CMD:abastecercarros(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] >= 3) { if(!admtrampando[playerid] && PlayerInfo[playerid][pAdmin] < 1342) return SendClientMessage(playerid, COLOR_GRAD1, TRABALHARADM); GetPlayerName(playerid, sendername, sizeof(sendername)); for(new c=0;c 999) { SendClientMessage(playerid, COLOR_GRAD1, " O minimo de municao e 1 e o maximo e 999!"); return true; } if (PlayerInfo[playerid][pAdmin] >= 4) { if(!admtrampando[playerid] && PlayerInfo[playerid][pAdmin] < 1342) return SendClientMessage(playerid, COLOR_GRAD1, TRABALHARADM); if(IsPlayerConnected(playa)) { GetPlayerName(playa, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); GivePlayerWeapon(playa, gun, ammo); format(string, sizeof(string), "AdmCmd: O admin %s deu arma (%s com %d balas) para %s.", sendername, NomeArma(gun), ammo, giveplayer); ABroadCast(0xff6347FF,string,1337); CNFLogs("comandosadmin", string); } } else { SendClientMessage(playerid, COLOR_GRAD1, "Voce nao esta autorizado a usar este comando!"); } return true; } new vtName[6][64]; new vtVotos[6]; new vtIniciada; new vtWin; new vtMaior; CMD:votacaolista(playerid, params[]) { if(gPlayerLogged[playerid] == 0) { return SendClientMessage(playerid, 0xff6347FF, "* Voce nao esta conectado."); } if(PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pAdminTemp] >= 1) { if(!vtIniciada) { new pergunta[64]; if(sscanf(params, "s[64]s[64]s[64]s[64]s[64]s[64]", pergunta, vtName[1], vtName[2], vtName[3], vtName[4], vtName[5])) { SendClientMessage(playerid, COLOR_GRAD2, "USE: /votacaolista [PERGUNTA] [Opcao 1] [Opcao 2] [Opcao 3] [Opcao 4] [Opcao 5]"); return 1; } new string[128]; SendClientMessageToAll(COLOR_DBLUE, "___________________________________________________________________________________________"); format(string, 128, "[Pergunta de %s: %s ?]", NomePlayer(playerid), pergunta); SendClientMessageToAll(-1, string); format(string, 128, "*Opcao 1: {33CCFF}%s", vtName[1]); SendClientMessageToAll(COLOR_DBLUE, string); format(string, 128, "*Opcao 2: {33CCFF}%s", vtName[2]); SendClientMessageToAll(COLOR_DBLUE, string); format(string, 128, "*Opcao 3: {33CCFF}%s", vtName[3]); SendClientMessageToAll(COLOR_DBLUE, string); format(string, 128, "*Opcao 4: {33CCFF}%s", vtName[4]); SendClientMessageToAll(COLOR_DBLUE, string); format(string, 128, "*Opcao 5: {33CCFF}%s", vtName[5]); SendClientMessageToAll(COLOR_DBLUE, string); SendClientMessageToAll(COLOR_DBLUE, "* Basta digitar {33CCFF}/opcao [1 - 5] {243def}para votar em uma delas!"); SendClientMessageToAll(COLOR_DBLUE, "___________________________________________________________________________________________"); vtWin = 0; vtMaior = 0; vtIniciada = 1; for(new i; i != 6; i++) vtVotos[i] = 0; for(new i; i < MAX_PLAYERS; i++) votou[i] = false; } else { SendClientMessage(playerid, COLOR_GREY,"Ja existe uma votacao em andamento!"); } } else { SendClientMessage(playerid, COLOR_GREY,"Voce nao tem permissao para usar este comando!"); } return 1; } CMD:opcao(playerid, params[]) { if(vtIniciada && !votou[playerid]) { new vtid, string[128]; if(sscanf(params, "d", vtid) || vtid < 1 || vtid > 5) return SendClientMessage(playerid, COLOR_GREY, "USE: /opcao [1 - 5]"); vtVotos[vtid]++; if(vtVotos[vtid] == vtMaior){ vtWin = 0; } else if(vtVotos[vtid] > vtMaior){ vtWin = vtid; vtMaior = vtVotos[vtid]; } format(string, sizeof string, "Voce votou na opcao %d: ''%s''", vtid, vtName[vtid]); SendClientMessage(playerid, COLOR_DBLUE, string); votou[playerid] = true; } return 1; } CMD:spawnarplus(playerid){ if(!gPlayerLogged[playerid]) return SendClientMessage(playerid,COLOR_GRAD1,"Voce nao esta logado no servidor!"); if(PlayerInfo[playerid][pAdmin] < 1340) { SendClientMessage(playerid, COLOR_GRAD1, " Voce nao esta autorizado a usar este comando!"); return true; } MEGAString[0] = EOS; strcat(MEGAString, "{FFFFFF}Caixa Surpresa Reveillon\n"); strcat(MEGAString, "{FFFFFF}Caixa Surpresa Gigante\n"); strcat(MEGAString, "{FFFFFF}Maleta\n"); ShowPlayerDialog(playerid, 2794, DIALOG_STYLE_LIST, "Escolha o item que deseja spawnar", MEGAString, "Iniciar", "Cancelar"); return 1; } CMD:encerrarvotacao(playerid) { if(gPlayerLogged[playerid] == 0) { return SendClientMessage(playerid, 0xff6347FF, "* Voce nao esta conectado."); } if(PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pAdminTemp] >= 1) { if(vtIniciada) { new string[128]; SendClientMessageToAll(COLOR_LIGHTBLUE, "___________________________________________________________________________________________"); format(string, 128, "(%d Votos) Opcao 1: {33CCFF}%s", vtVotos[1], vtName[1]); SendClientMessageToAll(-1, string); format(string, 128, "(%d Votos) Opcao 2: {33CCFF}%s", vtVotos[2], vtName[2]); SendClientMessageToAll(-1, string); format(string, 128, "(%d Votos) Opcao 3: {33CCFF}%s", vtVotos[3], vtName[3]); SendClientMessageToAll(-1, string); format(string, 128, "(%d Votos) Opcao 4: {33CCFF}%s", vtVotos[4], vtName[4]); SendClientMessageToAll(-1, string); format(string, 128, "(%d Votos) Opcao 5: {33CCFF}%s", vtVotos[5], vtName[5]); SendClientMessageToAll(-1, string); if(vtWin == 0) { SendClientMessageToAll(COLOR_LIGHTBLUE, "* Houve um empate entre algumas opcões acima, nenhuma delas foi a mais votada!"); } else{ format(string, 128, ">> A opcao mais votada foi a nº%d: {33CCFF}''%s'' !", vtWin, vtName[vtWin]); SendClientMessageToAll(COLOR_DBLUE, string); } vtIniciada = 0; SendClientMessageToAll(COLOR_LIGHTBLUE, "___________________________________________________________________________________________"); } } return 1; } CMD:votacao(playerid, params[]) { if(gPlayerLogged[playerid] == 0) { return SendClientMessage(playerid, 0xff6347FF, "* Voce nao esta conectado."); } if(PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pAdminTemp] >= 1) { if(!votacao[iniciada]) { if(isnull(params)) { SendClientMessage(playerid, COLOR_GRAD2, "USE: /votacao [pergunta]"); return 1; } if(strlen(params) > 100)return SendClientMessage(playerid, COLOR_GREY, "Pergunta muito grande!"); new string[128]; SendClientMessageToAll(-1, "__________________________________________________________________________"); format(string, sizeof string, "[VOTACAO]:» %s ?", params[0]); SendClientMessageToAll(0xFFFFFFAA, string); format(string, sizeof string, "» Admin: %s", NomePlayer(playerid)); SendClientMessageToAll(0xFFFFFFAA, string); SendClientMessageToAll(0xFFF000AA, "» Para votar em SIM digite: /sim"); SendClientMessageToAll(0xFFF000AA, "» Para votar em NÃO digite: /nao"); SendClientMessageToAll(-1, "__________________________________________________________________________"); votacao[iniciada] = true; votacao[sim] = 0; votacao[nao] = 0; for(new i; i < MAX_PLAYERS; i++) { votou[i] = false; } } else { SendClientMessage(playerid, COLOR_GREY,"Ja existe uma votacao em andamento!"); } } else { SendClientMessage(playerid, COLOR_GREY,"Voce nao tem permissao para usar este comando!"); } return 1; } CMD:sim(playerid) { if(votacao[iniciada] && !votou[playerid]) { SendClientMessage(playerid, COLOR_GRAD1, "Obrigado por ter votado, espere o resultado!"); votacao[sim]++; votou[playerid] = true; } return 1; } CMD:nao(playerid) { if(votacao[iniciada] && !votou[playerid]) { SendClientMessage(playerid, COLOR_GRAD1, "Obrigado por ter votado, espere o resultado!"); votacao[nao]++; votou[playerid] = true; } return 1; } getPlayerTitulo(playerid){ new titulo[126] ; switch(PlayerInfo[playerid][pTitulo]) { case 0: { if(voIP[playerid] == 1) { titulo = "Civil{00FF00} Voip (ON)"; } if(voIP[playerid] == 0) { titulo = "Civil{F78181} Voip (OFF)"; } if(PlayerInfo[playerid][pVoipMute] == 1 && voIP[playerid] == 1) { titulo = "Civil{F78181} Voip (Mutado)"; } } case 1: { if(voIP[playerid] == 1) { titulo = "Scripter{00FF00} Voip (ON)"; } if(voIP[playerid] == 0) { titulo = "Scripter{00FFFF} Voip (OFF)"; } if(PlayerInfo[playerid][pVoipMute] == 1 && voIP[playerid] == 1) { titulo = "Scripter{FF4500} Voip (Mutado)"; } } case 2: { if(voIP[playerid] == 1) { titulo = "Fundador{00FF00} Voip (ON)"; } if(voIP[playerid] == 0) { titulo = "Fundador{00FFFF} Voip (OFF)"; } if(PlayerInfo[playerid][pVoipMute] == 1 && voIP[playerid] == 1) { titulo = "Fundador{FF4500} Voip (Mutado)"; } } case 3: { if(voIP[playerid] == 1) { titulo = "Administrador{00FF00} Voip (ON)"; } if(voIP[playerid] == 0) { titulo = "Administrador{00FFFF} Voip (OFF)"; } if(PlayerInfo[playerid][pVoipMute] == 1 && voIP[playerid] == 1) { titulo = "Administrador{FF4500} Voip (Mutado)"; } } case 4: { if(voIP[playerid] == 1) { format(titulo, sizeof(titulo), "%s{00FF00} Voip (ON)", NomeORG(playerid)); } if(voIP[playerid] == 0) { format(titulo, sizeof(titulo), "%s{00FFFF} Voip (OFF)", NomeORG(playerid)); } if(PlayerInfo[playerid][pVoipMute] == 1 && voIP[playerid] == 1) { format(titulo, sizeof(titulo), "%s{FF4500} Voip (Mutado)", NomeORG(playerid)); } } case 5: { if(voIP[playerid] == 1) { titulo = "Noob{00FF00} Voip (ON)"; } if(voIP[playerid] == 0) { titulo = "Noob{00FFFF} Voip (OFF)"; } if(PlayerInfo[playerid][pVoipMute] == 1 && voIP[playerid] == 1) { titulo = "Noob{FF4500} Voip (Mutado)"; } } case 6: { if(voIP[playerid] == 1) { titulo = "Experiente{00FF00} Voip (ON)"; } if(voIP[playerid] == 0) { titulo = "Experiente{00FFFF} Voip (OFF)"; } if(PlayerInfo[playerid][pVoipMute] == 1 && voIP[playerid] == 1) { titulo = "Experiente{FF4500} Voip (Mutado)"; } } case 7: { if(voIP[playerid] == 1) { titulo = "VIP{00FF00} Voip (ON)"; } if(voIP[playerid] == 0) { titulo = "VIP{00FFFF} Voip (OFF)"; } if(PlayerInfo[playerid][pVoipMute] == 1 && voIP[playerid] == 1) { titulo = "VIP{FF4500} Voip (Mutado)"; } } case 8: { if(voIP[playerid] == 1) { titulo = "SUPER-VIP{00FF00} Voip (ON)"; } if(voIP[playerid] == 0) { titulo = "SUPER-VIP{00FFFF} Voip (OFF)"; } if(PlayerInfo[playerid][pVoipMute] == 1 && voIP[playerid] == 1) { titulo = "SUPER-VIP{FF4500} Voip (Mutado)"; } } case 9: { if(voIP[playerid] == 1) { titulo = "Lider{00FF00} Voip (ON)"; } if(voIP[playerid] == 0) { titulo = "Lider{00FFFF} Voip (OFF)"; } if(PlayerInfo[playerid][pVoipMute] == 1 && voIP[playerid] == 1) { titulo = "Lider{FF4500} Voip (Mutado)"; } } case 10: { if(voIP[playerid] == 1) { titulo = "Milionario{00FF00} Voip (ON)"; } if(voIP[playerid] == 0) { titulo = "Milionario{00FFFF} Voip (OFF)"; } if(PlayerInfo[playerid][pVoipMute] == 1 && voIP[playerid] == 1) { titulo = "Milionario{FF4500} Voip (Mutado)"; } } case 11: { if(voIP[playerid] == 1) { titulo = "Helper{00FF00} Voip (ON)"; } if(voIP[playerid] == 0) { titulo = "Helper{00FFFF} Voip (OFF)"; } if(PlayerInfo[playerid][pVoipMute] == 1 && voIP[playerid] == 1) { titulo = "Helper{FF4500} Voip (Mutado)"; } } case 12: { if(voIP[playerid] == 1) { titulo = "Sniper{00FF00} Voip (ON)"; } if(voIP[playerid] == 0) { titulo = "Sniper{00FFFF} Voip (OFF)"; } if(PlayerInfo[playerid][pVoipMute] == 1 && voIP[playerid] == 1) { titulo = "Sniper{FF4500} Voip (Mutado)"; } } case 13: { if(voIP[playerid] == 1) { titulo = "(Socio Reliquia){00FF00} Voip (ON)"; } if(voIP[playerid] == 0) { titulo = "(Socio Reliquia){00FFFF} Voip (OFF)"; } if(PlayerInfo[playerid][pVoipMute] == 1 && voIP[playerid] == 1) { titulo = "(Socio Reliquia){FF4500} Voip (Mutado)"; } } case 14: { if(voIP[playerid] == 1) { titulo = "(Socio Platina){00FF00} Voip (ON)"; } if(voIP[playerid] == 0) { titulo = "(Socio Platina){00FFFF} Voip (OFF)"; } if(PlayerInfo[playerid][pVoipMute] == 1 && voIP[playerid] == 1) { titulo = "(Socio Platina){FF4500} Voip (Mutado)"; } } case 15: { if(voIP[playerid] == 1) { titulo = "(Youtuber){00FF00} Voip (ON)"; } if(voIP[playerid] == 0) { titulo = "(Youtuber){00FFFF} Voip (OFF)"; } if(PlayerInfo[playerid][pVoipMute] == 1 && voIP[playerid] == 1) { titulo = "Youtuber{FF4500} Voip (Mutado)"; } } case 16: { if(voIP[playerid] == 1) { titulo = "{33CCFF}(Membro Diamante){00FF00} Voip (ON)"; } if(voIP[playerid] == 0) { titulo = "{33CCFF}(Membro Diamante){00FFFF} Voip (OFF)"; } if(PlayerInfo[playerid][pVoipMute] == 1 && voIP[playerid] == 1) { titulo = "{33CCFF}Membro Diamante{FF4500} Voip (Mutado)"; } } default: { if(voIP[playerid] == 1) { titulo = "CNF{00FF00} Voip (ON)"; } if(voIP[playerid] == 0) { titulo = "CNF{00FFFF} Voip (OFF)"; } if(PlayerInfo[playerid][pVoipMute] == 1 && voIP[playerid] == 1) { titulo = "CNF{FF4500} Voip (Mutado)"; } } } return titulo; } CarregarTitulo(playerid) { new strtitle[50]; format(strtitle, 50, "%s", getPlayerTitulo(playerid)); TituloPlayerBrazz[playerid] = Create3DTextLabel(strtitle, 0x008080FF, 30.0, 40.0, 50.0, 40.0, 0); Attach3DTextLabelToPlayer(TituloPlayerBrazz[playerid], playerid, 0.0, 0.0, 0.7); } getPlayerTitulo2(playerid){ new titulo[72] ; switch(PlayerInfo[playerid][pTitulo]) { case 0: { titulo = "{999999}Player"; } case 1: { titulo = "{999999}Scripter"; } case 2: { titulo = "{999999}Fundador"; } case 3: { titulo = "{999999}Administrador"; } case 4: { titulo = "{999999}Serial-Killer"; } case 5: { titulo = "{999999}Noob"; } case 6: { titulo = "{999999}Experiente"; } case 7: { titulo = "{999999}VIP"; } case 8: { titulo = "{999999}SUPER-VIP"; } case 9: { titulo = "{999999}Lider"; } case 10: { titulo = "{999999}Milionario"; } case 11: { titulo = "{999999}Helper"; } case 12: { titulo = "{999999}Sniper"; } case 13: { titulo = "{fef33c}.::(Socio Reliquia)::."; } case 14: { titulo = "{AEFFD1}.::(Socio Platina)::."; } case 15 : { titulo = "{999999}Youtuber"; } case 16 : { titulo = "{33CCFF}Membro Diamante"; } default: { titulo = "{999999}Player"; } } return titulo; } CMD:titulos(playerid){ if(!gPlayerLogged[playerid]) return SendClientMessage(playerid,COLOR_GRAD1,"Voce nao esta logado no servidor!"); MEGAString[0] = EOS; strcat(MEGAString, "{999999}Titulo » {FFA500}Remover\n"); strcat(MEGAString, "{999999}Titulo » {FFA500}Scripter\n"); strcat(MEGAString, "{999999}Titulo » {FFA500}Fundador\n"); strcat(MEGAString, "{999999}Titulo » {FFA500}Cargo de admin\n"); strcat(MEGAString, "{999999}Titulo » {FFA500}Nome da ORG\n"); strcat(MEGAString, "{999999}Titulo » {FFA500}Serial-Killer\n"); strcat(MEGAString, "{999999}Titulo » {FFA500}Noob\n"); strcat(MEGAString, "{999999}Titulo » {FFA500}Experiente\n"); strcat(MEGAString, "{999999}Titulo » {FFA500}VIP\n"); strcat(MEGAString, "{999999}Titulo » {FFA500}Lider\n"); strcat(MEGAString, "{999999}Titulo » {FFA500}Milionario\n"); strcat(MEGAString, "{999999}Titulo » {FFA500}Helper\n"); strcat(MEGAString, "{999999}Titulo » {FFA500}Sniper\n"); strcat(MEGAString, "{999999}Titulo » {fef33c}.::(Socio Reliquia)::.\n"); strcat(MEGAString, "{999999}Titulo » {AEFFD1}.::(Socio Platina)::.\n"); strcat(MEGAString, "{999999}Titulo » {FFA500}Youtuber\n"); strcat(MEGAString, "{999999}Titulo » {33CCFF}Membro Diamante\n"); ShowPlayerDialog(playerid, 5798, DIALOG_STYLE_LIST, "Escolha seu titulo", MEGAString, "Escolher", "Sair"); return 1; } /*CMD:veh(playerid, params[]) { if (PlayerInfo[playerid][pAdmin] >= 2) { if(!admtrampando[playerid] && PlayerInfo[playerid][pAdmin] < 1342) return SendClientMessage(playerid, COLOR_GRAD1, " Voce nao pode usar este comando, pois nao esta em modo trabalho!"); if(CreatedCar >= 100) { SendClientMessage(playerid, COLOR_GRAD1, "Ja criaram muitos carros, destrua alguns primeiro /destruirid"); return true; } new car, COLOR1, COLOR2; if(sscanf(params, "ddd", car, COLOR1, COLOR2)) { SendClientMessage(playerid, COLOR_GRAD2, "USE: /veh [IDCARRO] [COR1] [COR2]"); return true; } new string[128]; if(car < 400 || car > 611) { SendClientMessage(playerid, COLOR_GREY, " Modelo Do Carro Tem Que Ser Entre 411 e 600 !"); return true; } if(COLOR1 < 0 || COLOR1 > 236) { SendClientMessage(playerid, COLOR_GREY, " Número Da Cor tem que ser entre 0 e 126 !"); return true; } if(COLOR2 < 0 || COLOR2 > 236) { SendClientMessage(playerid, COLOR_GREY, " Número Da Cor tem que ser entre 0 e 126 !"); return true; } new Float:X,Float:Y,Float:Z; GetPlayerPos(playerid, X,Y,Z); new str[74]; new intir = GetPlayerInterior(playerid); new carid = CreateVehicleDebug(car, X,Y+2,Z, 0.0, COLOR1, COLOR2, 60000); Gas[carid] = 99; new mot, lu, alar, por, cap, porma, ob; CreatedCars[CreatedCar] = carid; CreatedCar ++; CriadoPorADM[carid] = 1; CarroEMPREGOID[carid] = -1; CarroParticular[carid] = -1; CarroORGID[carid] = -1; GetVehicleParamsEx(carid, mot, lu, alar, por, cap, porma, ob); SetVehicleParamsEx(carid, VEHICLE_PARAMS_ON, lu, alar, por, cap, porma, ob); GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "AdmCmd: O admin %s criou um veiculo de [ID: %d e Modelo: %d]", sendername,carid, car); ABroadCast(0x33CCFFAA,string,1); format(string, sizeof(string), "%s criou um carro id: %d no servidor ",sendername, car); CNFLogs("comandosadmin", string); TextoCarros[carid] = 1; format(str, sizeof str, "{00FFFF}BPF-%04d", carid); SetVehicleNumberPlate(carid, str); SetVehicleToRespawnEx(carid); LinkVehicleToInterior(carid, intir); } return true; }*/ //----------------------------------[GiveMoney]------------------------------------------------ CMD:setskin(playerid, params[]) { new para1, level; if(sscanf(params, "ud", para1, level)) { SendClientMessage(playerid, COLOR_GRAD2, "USE: /setskin [playerid] [skin id]"); return true; } if(level > 311 || level < 1) { SendClientMessage(playerid, COLOR_GREY, "ID Desconhecido!"); return true; } new string[128]; if (PlayerInfo[playerid][pAdmin] >= 1338) { if(!admtrampando[playerid] && PlayerInfo[playerid][pAdmin] < 1340) return SendClientMessage(playerid, COLOR_GRAD1, TRABALHARADM); if(IsPlayerConnected(para1)) { if(para1 != INVALID_PLAYER_ID) { GetPlayerName(para1, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); PlayerInfo[para1][pSkin] = level; format(string, sizeof(string), "O admin %s mudou sua skin para %d.", sendername,level); SendClientMessage(para1, COLOR_LIGHTBLUE, string); format(string, sizeof(string), "Voce mudou a skin de %s para %d.", giveplayer,level); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); SetPlayerSkin(para1, PlayerInfo[para1][pSkin]); format(string, sizeof(string), "AdminCmd: %s deu a skin: [%d] para %s!", sendername, level, giveplayer); ABroadCast(COLOR_LIGHTRED,string,1); format(string, sizeof(string), "%s setou a skin id: %d em %s", sendername, level, giveplayer); CNFLogs("comandosadmin", string); } }//not connected } else { SendClientMessage(playerid, COLOR_GRAD1, "Voce nao tem permissao para usar esse comando!"); } return true; } CMD:secreto(playerid) { if(GetPlayerOrg(playerid) != 8 && GetPlayerOrg(playerid) != 22) return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao e um assassino!"); if(GoChase[playerid] == 999)return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao possui um contrato"); if(VendoNick[playerid] == true) { foreach(Player, i) { ShowPlayerNameTagForPlayer(i, playerid, false); } VendoNick[playerid] = false; SendClientMessage(playerid, COLOR_GRAD1, "(( Voce agora esta jogando em modo secreto ))"); } else if(VendoNick[playerid] == false) { foreach(Player, i) { ShowPlayerNameTagForPlayer(i, playerid, true); } VendoNick[playerid] = true; SendClientMessage(playerid, COLOR_GRAD1, "(( Voce agora esta jogando em modo normal ))"); } return true; } //-----------------------------------[Slap]----------------------------------------------- stock RBeneficios(playerid) { new bool:perdeu=false; for(new i = 0; i < sizeof(CarInfo); i++) { if(strcmp(NomePlayer(playerid),CarInfo[i][cOwner],true)==0) { CarInfo[i][cOwned] = 0; strmid(CarInfo[i][cOwner], "Ninguem", 0, strlen("Ninguem"), 999); perdeu=true; format(CarInfo[i][cDescription], 64, "Sem Dono"); SalvarCarro(i); Atualizar3DVeiculo(i); } } if(PlayerInfo[playerid][pPbiskey] < 255) { if(PlayerInfo[playerid][pPbiskey] >= 100 && PlayerInfo[playerid][pPbiskey] < 200 && strcmp(NomePlayer(playerid), SBizzInfo[PlayerInfo[playerid][pPbiskey]-100][sbOwner], true) == 0) { new borse = PlayerInfo[playerid][pPbiskey]-100; SBizzInfo[borse][sbLocked] = 0; SBizzInfo[borse][sbOwned] = 0; strmid(SBizzInfo[borse][sbOwner], "Ninguem", 0, strlen("Ninguem"), 255); strmid(SBizzInfo[borse][sbExtortion], "Ninguem", 0, strlen("Ninguem"), 255); PlayerInfo[playerid][pPbiskey] = 255; SalvarSEmpresa(borse); Atualizar3Dtexts(); perdeu=true; } if(PlayerInfo[playerid][pPFazkey] < 255 && strcmp(NomePlayer(playerid), FBizzInfo[PlayerInfo[playerid][pPFazkey]][fbOwner], true) == 0) { new borse = PlayerInfo[playerid][pPFazkey]; FBizzInfo[borse][fbLocked] = 0; FBizzInfo[borse][fbOwned] = 0; strmid(FBizzInfo[borse][fbOwner], "Ninguem", 0, strlen("Ninguem"), 255); strmid(FBizzInfo[borse][fbExtortion], "Ninguem", 0, strlen("Ninguem"), 255); PlayerInfo[playerid][pPFazkey] = 255; SalvarFEmpresa(borse); Atualizar3Dtexts(); perdeu=true; } else if(strcmp(NomePlayer(playerid), BizzInfo[PlayerInfo[playerid][pPbiskey]][bOwner], true) == 0) { new borse = PlayerInfo[playerid][pPbiskey]; BizzInfo[borse][bLocked] = 0; BizzInfo[borse][bOwned] = 0; strmid(BizzInfo[borse][bOwner], "Ninguem", 0, strlen("Ninguem"), 255); strmid(BizzInfo[borse][bExtortion], "Ninguem", 0, strlen("Ninguem"), 255); PlayerInfo[playerid][pPbiskey] = 255; SalvarEmpresa(borse); Atualizar3Dtexts(); perdeu=true; } } PlayerInfo[playerid][pCarKey] = 0; PlayerInfo[playerid][pVeiculo] = 0; if(perdeu) { SendClientMessage(playerid, COLOR_LIGHTRED, "*Voce perdeu seus beneficios de VIP!"); } return 1; } stock TrocarBeneficios(playerid,velho[],novo[]) { for(new i = 0; i < sizeof(CarInfo); i++) { if(strcmp(velho,CarInfo[i][cOwner],true)==0) { format(CarInfo[i][cOwner], 24, novo); } } print("passou troca nick 1!"); if(PlayerInfo[playerid][pPHousekey] < 500) { new House = PlayerInfo[playerid][pPHousekey]; if(House < sizeof(HouseInfo)) { strmid(HouseInfo[House][hOwner], novo, 0, strlen(novo), 255); SaveCasa(House); Atualizar3Dtexts(); } } print("passou troca nick 2!"); if(PlayerInfo[playerid][pPbiskey] >= 100 && PlayerInfo[playerid][pPbiskey] < 255) { new borse = PlayerInfo[playerid][pPbiskey]+100; if(borse < sizeof(SBizzInfo)) { strmid(SBizzInfo[borse][sbOwner], novo, 0, strlen(novo), 255); SalvarSEmpresa(borse); Atualizar3Dtexts(); } } else if(PlayerInfo[playerid][pPbiskey] < 100) { new borse = PlayerInfo[playerid][pPbiskey]; if(borse < sizeof(BizzInfo)) { strmid(BizzInfo[borse][bOwner], novo, 0, strlen(novo), 255); SalvarEmpresa(borse); Atualizar3Dtexts(); } } print("passou troca nick 3!"); print("passou troca nick 4!"); if(PlayerInfo[playerid][pPFazkey] < 255) { new borse = PlayerInfo[playerid][pPFazkey]; if(borse < sizeof(FBizzInfo)) { strmid(FBizzInfo[borse][fbOwner], novo, 0, strlen(novo), 255); SalvarFEmpresa(borse); Atualizar3Dtexts(); } } print("passou troca nick 5!"); if(PlayerInfo[playerid][pMembro] > 0 || PlayerInfo[playerid][pLider] > 0) { new i = GetPlayerOrg(playerid); //new gstring[128]; if(strcmp(velho,InfoOrg[i][Lider],true)==0) { strmid(InfoOrg[i][Lider], novo, 0, strlen(novo), 255); format(gstring, 128, Pasta_MembrosOrg, i); DOF2_SetString(gstring,"Lider",novo); } else if(strcmp(velho,InfoOrg[i][SubLider],true)==0) { strmid(InfoOrg[i][SubLider], novo, 0, strlen(novo), 255); DOF2_SetString(gstring,"SubLider",novo); } else if(strcmp(velho,InfoOrg[i][Membro1],true)==0) { strmid(InfoOrg[i][Membro1], novo, 0, strlen(novo), 255); DOF2_SetString(gstring,"Membro1",novo); } else if(strcmp(velho,InfoOrg[i][Membro2],true)==0) { strmid(InfoOrg[i][Membro2], novo, 0, strlen(novo), 255); DOF2_SetString(gstring,"Membro2",novo); } else if(strcmp(velho,InfoOrg[i][Membro3],true)==0) { strmid(InfoOrg[i][Membro3], novo, 0, strlen(novo), 255); DOF2_SetString(gstring,"Membro3",novo); } else if(strcmp(velho,InfoOrg[i][Membro4],true)==0) { strmid(InfoOrg[i][Membro4], novo, 0, strlen(novo), 255); DOF2_SetString(gstring,"Membro4",novo); } else if(strcmp(velho,InfoOrg[i][Membro5],true)==0) { strmid(InfoOrg[i][Membro5], novo, 0, strlen(novo), 255); DOF2_SetString(gstring,"Membro5",novo); } else if(strcmp(velho,InfoOrg[i][Membro6],true)==0) { strmid(InfoOrg[i][Membro6], novo, 0, strlen(novo), 255); DOF2_SetString(gstring,"Membro6",novo); } else if(strcmp(velho,InfoOrg[i][Membro7],true)==0) { strmid(InfoOrg[i][Membro7], novo, 0, strlen(novo), 255); DOF2_SetString(gstring,"Membro7",novo); } else if(strcmp(velho,InfoOrg[i][Membro8],true)==0) { strmid(InfoOrg[i][Membro8], novo, 0, strlen(novo), 255); DOF2_SetString(gstring,"Membro8",novo); } else if(strcmp(velho,InfoOrg[i][Membro9],true)==0) { strmid(InfoOrg[i][Membro9], novo, 0, strlen(novo), 255); DOF2_SetString(gstring,"Membro9",novo); } else if(strcmp(velho,InfoOrg[i][Membro10],true)==0) { strmid(InfoOrg[i][Membro10], novo, 0, strlen(novo), 255); DOF2_SetString(gstring,"Membro10",novo); } else if(strcmp(velho,InfoOrg[i][Membro11],true)==0) { strmid(InfoOrg[i][Membro11], novo, 0, strlen(novo), 255); DOF2_SetString(gstring,"Membro11",novo); } else if(strcmp(velho,InfoOrg[i][Membro12],true)==0) { strmid(InfoOrg[i][Membro12], novo, 0, strlen(novo), 255); DOF2_SetString(gstring,"Membro12",novo); } else if(strcmp(velho,InfoOrg[i][Membro13],true)==0) { strmid(InfoOrg[i][Membro13], novo, 0, strlen(novo), 255); DOF2_SetString(gstring,"Membro13",novo); } else if(strcmp(velho,InfoOrg[i][Membro14],true)==0) { strmid(InfoOrg[i][Membro14], novo, 0, strlen(novo), 255); DOF2_SetString(gstring,"Membro14",novo); } else if(strcmp(velho,InfoOrg[i][Membro15],true)==0) { strmid(InfoOrg[i][Membro15], novo, 0, strlen(novo), 255); DOF2_SetString(gstring,"Membro15",novo); } else if(strcmp(velho,InfoOrg[i][Membro16],true)==0) { strmid(InfoOrg[i][Membro16], novo, 0, strlen(novo), 255); DOF2_SetString(gstring,"Membro16",novo); } else if(strcmp(velho,InfoOrg[i][Membro17],true)==0) { strmid(InfoOrg[i][Membro17], novo, 0, strlen(novo), 255); DOF2_SetString(gstring,"Membro17",novo); } else if(strcmp(velho,InfoOrg[i][Membro18],true)==0) { strmid(InfoOrg[i][Membro18], novo, 0, strlen(novo), 255); DOF2_SetString(gstring,"Membro18",novo); } else if(strcmp(velho,InfoOrg[i][Membro19],true)==0) { strmid(InfoOrg[i][Membro19], novo, 0, strlen(novo), 255); DOF2_SetString(gstring,"Membro19",novo); } else if(strcmp(velho,InfoOrg[i][Membro20],true)==0) { strmid(InfoOrg[i][Membro20], novo, 0, strlen(novo), 255); DOF2_SetString(gstring,"Membro20",novo); } else if(strcmp(velho,InfoOrg[i][Membro21],true)==0) { strmid(InfoOrg[i][Membro21], novo, 0, strlen(novo), 255); DOF2_SetString(gstring,"Membro21",novo); } else if(strcmp(velho,InfoOrg[i][Membro22],true)==0) { strmid(InfoOrg[i][Membro22], novo, 0, strlen(novo), 255); DOF2_SetString(gstring,"Membro22",novo); } else if(strcmp(velho,InfoOrg[i][Membro23],true)==0) { strmid(InfoOrg[i][Membro23], novo, 0, strlen(novo), 255); DOF2_SetString(gstring,"Membro23",novo); } else if(strcmp(velho,InfoOrg[i][Membro24],true)==0) { strmid(InfoOrg[i][Membro24], novo, 0, strlen(novo), 255); DOF2_SetString(gstring,"Membro24",novo); } else if(strcmp(velho,InfoOrg[i][Membro25],true)==0) { strmid(InfoOrg[i][Membro25], novo, 0, strlen(novo), 255); DOF2_SetString(gstring,"Membro25",novo); } else if(strcmp(velho,InfoOrg[i][Membro26],true)==0) { strmid(InfoOrg[i][Membro26], novo, 0, strlen(novo), 255); DOF2_SetString(gstring,"Membro26",novo); } else if(strcmp(velho,InfoOrg[i][Membro27],true)==0) { strmid(InfoOrg[i][Membro27], novo, 0, strlen(novo), 255); DOF2_SetString(gstring,"Membro27",novo); } else if(strcmp(velho,InfoOrg[i][Membro28],true)==0) { strmid(InfoOrg[i][Membro28], novo, 0, strlen(novo), 255); DOF2_SetString(gstring,"Membro28",novo); } else if(strcmp(velho,InfoOrg[i][Membro29],true)==0) { strmid(InfoOrg[i][Membro29], novo, 0, strlen(novo), 255); DOF2_SetString(gstring,"Membro29",novo); } else if(strcmp(velho,InfoOrg[i][Membro30],true)==0) { strmid(InfoOrg[i][Membro30], novo, 0, strlen(novo), 255); DOF2_SetString(gstring,"Membro30",novo); } DOF2_SaveFile(); print("passou troca nick 6!"); } new string[50]; //carro Concessionaria print("passou troca nick 7!"); new vic = GetOwnedVehicleID(playerid); if(vic != INVALID_VEHICLE_ID) { strmid(VehicleInfo[vic][vOwner], novo, 0, strlen(novo), 255); new string2[50]; format(string, sizeof(string), VEH_SAVE_FILE, velho); format(string2, sizeof(string2), VEH_SAVE_FILE, novo); if(fexist(string)) DOF2_RenameFile(string, string2); } print("passou troca nick 8!"); //objetos atacados ao corpo SaveObjects(playerid); print("passou troca nick 9!"); format(string, sizeof(string), Pasta_CharAttach, velho); if(fexist(string)) fremove(string); print("passou troca nick 10!"); //admins if(PlayerInfo[playerid][pAdmin] > 0) { AddAdmin(novo, PlayerInfo[playerid][pAdmin]); RemoverAdmin(velho); } print("passou troca nick 11!"); if(PlayerInfo[playerid][pAdminTemp] > 0) { AddAdminTemp(novo, PlayerInfo[playerid][pAdminTemp]); RemoverAdminTemp(velho); } print("passou troca nick 12!"); if(PlayerInfo[playerid][pHelper] > 0) { AddHelper(novo, PlayerInfo[playerid][pHelper]); RemoverHelper(velho); } print("passou troca nick 13!"); //Maconhas for(new i = 0; i < MAX_MACONHA; i++) { if(strcmp(MaconhaInfo[i][Dono], velho, true) == 0) { strmid(MaconhaInfo[i][Dono], novo, 0, strlen(novo), 35); } } print("passou troca nick 14!"); //Ranks reset removenamerank("nivel", velho); removenamerank("horasjogadas", velho); removenamerank("kills", velho); removenamerank("mortes", velho); removenamerank("banco", velho); removenamerank("crimes", velho); removenamerank("materiais", velho); removenamerank("maconha", velho); removenamerank("cocaina", velho); removenamerank("crack", velho); removenamerank("contratos", velho); removenamerank("cash", velho); print("passou troca nick 15!"); SendClientMessage(playerid, COLOR_LIGHTRED, "* Nick Trocado com Sucesso!"); return 1; } CMD:chatkill(playerid) { if(ChatKill[playerid]){ ChatKill[playerid] = false; SendClientMessage(playerid, COLOR_GREY, "Voce desligou o chat kill!"); } else{ ChatKill[playerid] = true; SendClientMessage(playerid, COLOR_GREY, "Voce ligou o chat kill!"); } return 1; } CMD:armascostas(playerid) { if(PlayerInfo[playerid][pAcP] == 0) { for(new x=0; x <= 5; x++) { if(IsPlayerAttachedObjectSlotUsed(playerid, x)) { SendClientMessage(playerid, COLOR_GREY, "Retire os Objetos dos Slots de 0 a 5 Primeiro!"); return 1; } } PlayerInfo[playerid][pAcP] = 1; SendClientMessage(playerid, COLOR_GREY, "Voce Ativou as Armas nas Costas!"); } else{ PlayerInfo[playerid][pAcP] = 0; SendClientMessage(playerid, COLOR_GREY, "Voce Desativou as Armas nas Costas!"); RemovePlayerAttachedObject(playerid,SlotExt); RemovePlayerAttachedObject(playerid,SlotCacetete); RemovePlayerAttachedObject(playerid,SlotDesert); RemovePlayerAttachedObject(playerid,SlotEscopeta); RemovePlayerAttachedObject(playerid,Slot_Sniper); RemovePlayerAttachedObject(playerid,SlotAKeFUZIL); } return 1; } CMD:menuentregador(playerid) { if(PlayerInfo[playerid][pEmprego] != 15) return SemPermCMD if(!IsPlayerInAnyVehicle(playerid)) return SCM(playerid, COLOR_GREEN, "[INFO] Voce precisa estar em um aviao."); if(!IsPlayerInRangeOfPoint(playerid, 7.0, 1351.2909,1709.8282,11.2796)) return SCM(playerid, COLOR_GREEN, "[INFO] Voce precisa estar no local do seu emprego."); //if(TaTrampandoAerio[playerid] != -1) return SCM(playerid, COLOR_GREEN, "[INFO] Voce ja esta com uma carga."); ShowPlayerDialog(playerid, 1234, DIALOG_STYLE_TABLIST_HEADERS, "Menu Entregador Aereo", "Cidade\tValor\nEntregar Carga Em Los Santos\tR$ 2900\nEntregar Carga Em San Fierro\tR$ 2500\nCancelar Entrega", "Aceitar","Recusar"); return 1; } CMD:ocultoh(playerid) { if(PlayerInfo[playerid][pAdmin] >= 1340) { if(!helperhide[playerid]) { SCM(playerid, COLOR_GRAD1, "Modo oculto helpers ativado."); helperhide[playerid] = true; } else { SCM(playerid, COLOR_GRAD1, "Modo oculto helpers desativado."); helperhide[playerid] = false; } } else return SemPermCMD return 1; } CMD:admins(playerid) { new str[126], strDialog[4000], Cont = 0; strcat(strDialog, "Nome\tStatus\tNota\tAvaliações\n"); for(new i; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i) == 1 && PlayerInfo[i][pAdmin] > 0 && admhide[i] != 1) { if(admtrampando[i] != 0) { format (str, sizeof str, "%s[%s]\t{00FF00}Trabalhando\t{D3D3D3}%d.%d\t%d\n", PlayerName(i), NomeLevelAdmin(PlayerInfo[i][pAdmin]),PlayerInfo[i][pAvaliacoes], PlayerInfo[i][pAFinal], PlayerInfo[i][pAtendimentos]); Cont++; } else { new taafk[25]; if(AFK[i] == 1) taafk = "{A9A9A9}Ausente"; if(admtrampando[i] == 0) taafk = "{00FFFF}Jogando"; format (str, sizeof str, "%s[%s]\t%s\t%d.%d\t{D3D3D3}%d\n", PlayerName(i), NomeLevelAdmin(PlayerInfo[i][pAdmin]),taafk,PlayerInfo[i][pAvaliacoes], PlayerInfo[i][pAFinal], PlayerInfo[i][pAtendimentos]); Cont++; } strcat(strDialog, str); } } new titulo[35]; format(titulo, sizeof(titulo), "Administradores Online {00d900}%d",Cont); ShowPlayerDialog(playerid, DIALOG_PARTICULAR, DIALOG_STYLE_TABLIST_HEADERS, titulo, strDialog, "Particular", "Cancelar"); return 1; } stock NomeLevelAdmin(level) { new adm_lvl_name[30]; switch(level) { case 1: adm_lvl_name = "Aprendiz"; case 2: adm_lvl_name = "Estagiário"; case 3: adm_lvl_name = "Moderador"; case 4: adm_lvl_name = "Administrador"; case 1337: adm_lvl_name = "Master"; case 1338: adm_lvl_name = "Supervisor"; case 1339: adm_lvl_name = "Gerente"; case 1340: adm_lvl_name = "Diretor"; case 1341: adm_lvl_name = "Dono"; case 1342: adm_lvl_name = "Fundador"; } return ( adm_lvl_name ); } CMD:helpers(playerid, params[]) { if(gPlayerLogged[playerid] == 0) { SendClientMessage(playerid,0xff6347FF, "* Voce nao esta conectado."); return 1; } new Cont = 0; MEGAString[0] =EOS; //MaluKoString[0] =EOS; new string[500]; strcat(MEGAString, "Nome/Nivel\tFuncao\tAvaliacao\tStatus\n"); foreach(Player, i) { GetPlayerName(i, sendername, sizeof(sendername)); if(PlayerInfo[i][pHelper] > 0 && !helperhide[i]) { if(helpertrampando[i] == 1) { format(string, sizeof(string), "%s[Helper]\tAjudar Players\t%d%s\t{FF6600}Ajudando\n", sendername, PlayerInfo[i][pHelper]); strcat(MEGAString, string); Cont++; } else { format(string, sizeof(string), "%s[Helper]\tAjudar Players\t%d\t{00FFFF}Jogando\n", sendername, PlayerInfo[i][pHelper]); strcat(MEGAString, string); Cont++; } } new titulo[350]; format(titulo, sizeof(titulo), "{FFFFFF}Helpers Online {FFFFFF}({00d900}%d{FFFFFF})",Cont); ShowPlayerDialog(playerid, DIALOG_PARTICULAR, DIALOG_STYLE_TABLIST_HEADERS, titulo, MEGAString, "Particular", "Fechar"); } return 1; } CMD:definirsenha(playerid, tmp[]) { if(isnull(tmp)) { SendClientMessage(playerid, COLOR_GRAD2, "USE: /definirsenha [Senha]"); return true; } new string[128]; if (PlayerInfo[playerid][pAdmin] >= 1338 || PlayerInfo[playerid][pLider] == 35) { format(string, sizeof(string), "Voce definiu a senha de acesso as cameras de seguranca para:[%s]", tmp); SendClientMessage(playerid, COLOR_LIGHTRED,string); strmid(SenhaSeguranca, tmp, 0, strlen(tmp), 256); SalvarSenhaSeguranca(); return true; } else { SendClientMessage(playerid, COLOR_GRAD1, LEVELADM); } return true; } CMD:acessarcamerass(playerid, tmp[]) { if(isnull(tmp)) { SendClientMessage(playerid, COLOR_GRAD2, "Digite Alguma Senha!"); return true; } new string[128]; if(strcmp(SenhaSeguranca,tmp, true) == 0) { format(string, sizeof(string), "Senha CORRETA!! voce entrou no painel de cameras de seguranca!"); SendClientMessage(playerid, 0x33FF00FF,string); ShowPlayerDialog(playerid, 8906, DIALOG_STYLE_LIST, "Cameras seguranca","Cameras: Los Santos\nCameras: San Fierro\nCameras: Las Venturas\nSair do Painel\nSenha de Acesso","Acessar","Cancelar"); return true; } else { SendClientMessage(playerid, COLOR_LIGHTRED, "A Senha esta incorreta e os policiais foram avisados!"); format(string, sizeof(string), "HQ: Alguem esta tentando invadir o painel de cameras de seguranca."); CopBroadCast(0x00660CC8, string); SendFamilyMessage(34, 0x00660CC8, string); } return true; } //--------------------------------------------------------------------------------------- CMD:infoplayer(playerid, params[]) { new armatext[30]; new municao; new arma; new Float:plrtempheal; new Float:plrarmour; new plrping; new iplayer[MAX_PLAYER_NAME]; new smunicao; new string[128]; new ip[32]; if(sscanf(params, "u", giveplayerid)) { SendClientMessage(playerid, COLOR_WHITE, "USE: /infoplayer [id do player]"); return true; } if(PlayerInfo[playerid][pAdmin] < 3) { SendClientMessage(playerid, COLOR_GREY, "Voce nao esta autorizado a usar esse comando!"); return true; } if(IsPlayerConnected(giveplayerid)) { if(giveplayerid != INVALID_PLAYER_ID) { GetPlayerName(giveplayerid, iplayer, sizeof(iplayer)); GetPlayerIp(giveplayerid,ip,128); new intid = GetPlayerInterior(giveplayerid); new world4 = GetPlayerVirtualWorld(giveplayerid); plrping = GetPlayerPing(giveplayerid); GetPlayerArmour(giveplayerid, plrarmour); GetPlayerHealth(giveplayerid,plrtempheal); arma = GetPlayerWeapon(giveplayerid); municao = GetPlayerAmmo(giveplayerid); SendClientMessage(playerid, COLOR_GREEN, "|________[ EXIBINDO Informações ]________|"); format(string, sizeof(string), "{FF6347}Nome: {FFFFFF} %s", iplayer); SendClientMessage(playerid, COLOR_LIGHTRED, string); format(string, sizeof(string), "{FF6347}IP: {FFFFFF}%s", ip); SendClientMessage(playerid, COLOR_LIGHTRED, string); format(string, sizeof(string), "{FF6347}Interior: {FFFFFF}%d", intid); SendClientMessage(playerid, COLOR_LIGHTRED, string); format(string, sizeof(string), "{FF6347}Baixada: {FFFFFF}%d", world4); SendClientMessage(playerid, COLOR_LIGHTRED, string); format(string, sizeof(string), "{FF6347}Ping: {FFFFFF}%d", plrping); SendClientMessage(playerid, COLOR_LIGHTRED, string); format(string, sizeof(string), "{FF6347}Colete: {FFFFFF}%1f", plrarmour); SendClientMessage(playerid, COLOR_LIGHTRED, string); format(string, sizeof(string), "{FF6347}Saúde: {FFFFFF}%1f", plrtempheal); SendClientMessage(playerid, COLOR_LIGHTRED, string); if(arma == 38) { armatext = "Minigun";} else if(arma == 40) { armatext = "Detonador"; } else if(arma == 36) { armatext = "Lanca missil RP"; } else if(arma == 35) { armatext = "Lanca missil"; } else if(arma == 16) { armatext = "Granada"; } else if(arma == 18) { armatext = "Coctel Molotov"; } else if(arma == 22) { armatext = "Pistola de Duas maos 9mm"; } else if(arma == 26) { armatext = "Escopeta de Cano Serrado"; } else if(arma == 27) { armatext = "Escopeta de Combate"; } else if(arma == 28) { armatext = "Micro Uzi"; } else if(arma == 32) { armatext = "Tec9"; } else if(arma == 37) { armatext = "Lanca Chamas"; } else if(arma == 0) { armatext = "Desarmado"; } else if(arma == 4) { armatext = "Faca"; } else if(arma == 5) { armatext = "Bastao de Base Ball"; } else if(arma == 9) { armatext = "Motoserra"; } else if(arma == 14) { armatext = "Flores"; } else if(arma == 17) { armatext = "Granada de Gas"; } else if(arma == 23) { armatext = "Pistola com silenciador"; } else if(arma == 16) { armatext = "Granada"; } else if(arma == 24) { armatext = "Desert Eagle"; } else if(arma == 25) { armatext = "ShotGun"; } else if(arma == 29) { armatext = "MP5"; } else if(arma == 30) { armatext = "AK-47"; } else if(arma == 31) { armatext = "M4"; } else if(arma == 33) { armatext = "Rifle"; } else if(arma == 34) { armatext = "Rifle Sniper"; } else if(arma == 41) { armatext = "Spray"; } else if(arma == 42) { armatext = "Extintor"; } else if(arma == 46) { armatext = "Paraquedas"; } else { armatext = "Desconhecido"; } format(string, sizeof(string), "{FF6347}Arma: {FFFFFF}%s", armatext); SendClientMessage(playerid, COLOR_LIGHTRED, string); if(arma == 40 || arma == 36 || arma == 38 || arma == 16 || arma == 18 || arma == 26 || arma == 28) { SendClientMessage(playerid, COLOR_LIGHTRED, "/tv nele, pois ele pode estar usando xiter de armas"); } if(municao == 65535) { smunicao = 0; } else { smunicao = municao; } format(string, sizeof(string), "{FF6347}Municao: {FFFFFF}%d", smunicao); SendClientMessage(playerid, COLOR_LIGHTRED, string); } } else { SendClientMessage(playerid, COLOR_GREY, " Este jogador esta off-line !"); return true; } return true; } CMD:infoconta(playerid, params[]) { new conta[MAX_PLAYER_NAME]; MEGAString[0] = EOS; if(PlayerInfo[playerid][pAdmin] < 1337) return SendClientMessage(playerid, COLOR_GRAD1, "Você não pode usar esse comando"); if(sscanf(params, "s[24]", conta)) return SCM(playerid, COLOR_GRAD1, "Use: /infoconta [Conta]"); new gstr[30]; format(gstr, sizeof(gstr), "Contas/%s.ini", conta); if(!DOF2_FileExists(gstr)) return SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Não foi possivel encontrar essa conta em nosso banco de dados,"); new Sexo = DOF2_GetInt(gstr, "Sex"); new Dinheiro222 = DOF2_GetInt(gstr, "Money"); new Banco = DOF2_GetInt(gstr, "Bank"); new Exp = DOF2_GetInt(gstr, "Respect"); new AdminLevel = DOF2_GetInt(gstr, "AdminLevel"); new Nivel = DOF2_GetInt(gstr, "Level"); new HorasJ = DOF2_GetInt(gstr, "ConnectedTime"); new Cash = DOF2_GetInt(gstr, "Cashing"); new Avisos = DOF2_GetInt(gstr, "Avisos"); new Ouros = DOF2_GetInt(gstr, "Ouros"); new Idade = DOF2_GetInt(gstr, "Age"); new At = DOF2_GetInt(gstr, "Atendimentos"); new ul[50]; if(AdminLevel >= 1340 && PlayerInfo[playerid][pAdmin] < 1341) return SCM(playerid, COLOR_GRAD1, "[INFO] Voce nao pode consultar as informacoes de um admin dono."); // PlayerInfo[playerid][pJailed] = DOF2_GetInt(string2, "Jailed"); // PlayerInfo[playerid][gPlayerUsandoPlataformaID] = DOF2_GetInt(string2, "gPlayerUsandoPlataformaID"); // PlayerInfo[playerid][pTitulo] = DOF2_GetInt(string2, "TituloId"); // PlayerInfo[playerid][pJailTime] = DOF2_GetInt(string2, "JailTime"); /////// usar ajaja new string[1500]; format(string, sizeof(string), "{FFFFFF}Informações da conta: {00CED1}%s\n", conta); strcat(MEGAString, string); format(string, sizeof(string), "{FFFFFF}Genero: {C0C0C0}%d\n", Sexo); strcat(MEGAString, string); strmid(ul,DOF2_GetString(gstr,"LU"),0,strlen(DOF2_GetString(gstr,"LU")),255); format(string,sizeof(string), "{FFFFFF}Ultimo Login: {C0C0C0}%s\n", ul); strcat(MEGAString, string); format(string, sizeof(string), "{FFFFFF}Dinheiro: {C0C0C0}%s\n", ConvertMoney(Dinheiro222)); strcat(MEGAString, string); format(string, sizeof(string), "{FFFFFF}Conta bancaria: {C0C0C0}%s\n", ConvertMoney(Banco)); strcat(MEGAString, string); format(string, sizeof(string), "{FFFFFF}Respeitos: {C0C0C0}%d\n", Exp); strcat(MEGAString, string); format(string, sizeof(string), "{FFFFFF}Nivel: {C0C0C0}%d\n", Nivel); strcat(MEGAString, string); format(string, sizeof(string), "{FFFFFF}Avisos: {C0C0C0}%d\n", Avisos); strcat(MEGAString, string); format(string, sizeof(string), "{FFFFFF}Ouros: {C0C0C0}%d\n", Ouros); strcat(MEGAString, string); format(string, sizeof(string), "{FFFFFF}Idade: {C0C0C0}%d\n", Idade); strcat(MEGAString, string); format(string, sizeof(string), "{FFFFFF}Atendimentos: {C0C0C0}%d\n", At); strcat(MEGAString, string); format(string, sizeof(string), "{FFFFFF}Admin Nivel: {C0C0C0}%d\n", AdminLevel); strcat(MEGAString, string); format(string, sizeof(string), "{FFFFFF}Horas Jogadas: {C0C0C0}%d\n", HorasJ); strcat(MEGAString, string); format(string, sizeof(string), "{FFFFFF}Cash: {C0C0C0}%s\n\n", ConvertCash(Cash)); strcat(MEGAString, string); new string3[100], ipinfo[32]; format(string3, sizeof(string3), Pasta_Banidos, conta); if(fexist(string3)) { format(string, sizeof(string), "\n{FF6347}* CONTA BANIDA PERMANENTEMENTE * \n"); strcat(MEGAString, string); strmid(BanInfo[playerid][pMotivo], DOF2_GetString(string3,"Motivo"), 0, strlen(DOF2_GetString(string3,"Motivo")), 255); strmid(BanInfo[playerid][pAdmBan], DOF2_GetString(string3,"Admin"), 0, strlen(DOF2_GetString(string3,"Admin")), 255); strmid(BanInfo[playerid][pData], DOF2_GetString(string3,"Data"), 0, strlen(DOF2_GetString(string3,"Data")), 255); strmid(BanInfo[playerid][pHora], DOF2_GetString(string3,"Hora"), 0, strlen(DOF2_GetString(string3,"Hora")), 255); strmid(ipinfo, DOF2_GetString(string3,"IP"), 0, strlen(DOF2_GetString(string3,"IP")), 255); strcat(string,"{FFFFFF}*****************[INFORMACOES]*****************\n\n"); format(string, sizeof(string), "{FF6347}Nick: {FFFFFF}%s\n", conta); strcat(MEGAString,string); format(string, sizeof(string), "{FF6347}IP: {FFFFFF}%s\n", ipinfo); strcat(MEGAString,string); format(string, sizeof(string), "{FF6347}Admin: {FFFFFF}%s\n", BanInfo[playerid][pAdmBan]); strcat(MEGAString,string); format(string, sizeof(string), "{FF6347}Motivo: {FFFFFF}%s\n", BanInfo[playerid][pMotivo]); strcat(MEGAString,string); format(string, sizeof(string), "{FF6347}Data: {FFFFFF}%s\n", BanInfo[playerid][pData]); strcat(MEGAString,string); format(string, sizeof(string), "{FF6347}Hora: {FFFFFF}%s\n", BanInfo[playerid][pHora]); strcat(MEGAString,string); strcat(MEGAString,"{FF6347}Data do Desbanimento: {FFFFFF}Nunca.\n\n"); strcat(MEGAString,"{FFFFFF}****************************************************\n"); } format(string3, sizeof(string3), Pasta_BanidosTemp, conta); if(fexist(string3)) { format(string, sizeof(string), "{FFçp6347}* CONTA BANIDA TEMPORARIAMENTE * \n"); strcat(MEGAString, string); strmid(BanInfo[playerid][pMotivo], DOF2_GetString(string3,"Motivo"), 0, strlen(DOF2_GetString(string3,"Motivo")), 255); strmid(BanInfo[playerid][pAdmBan], DOF2_GetString(string3,"Admin"), 0, strlen(DOF2_GetString(string3,"Admin")), 255); strmid(BanInfo[playerid][pData], DOF2_GetString(string3,"Data"), 0, strlen(DOF2_GetString(string3,"Data")), 255); strmid(BanInfo[playerid][pHora], DOF2_GetString(string3,"Hora"), 0, strlen(DOF2_GetString(string3,"Hora")), 255); strmid(ipinfo, DOF2_GetString(string3,"IP"), 0, strlen(DOF2_GetString(string3,"IP")), 255); BanInfo[playerid][BanDia] = DOF2_GetInt(string3,"DiaBanTemp"); BanInfo[playerid][BanMes] = DOF2_GetInt(string3,"MesBanTemp"); BanInfo[playerid][BanAno] = DOF2_GetInt(string3,"AnoBanTemp"); BanInfo[playerid][BanData] = DOF2_GetInt(string3,"DataBanTemp"); BanInfo[playerid][TempHora] = DOF2_GetInt(string3,"HoraBanTemp"); BanInfo[playerid][TempMinuto] = DOF2_GetInt(string3,"MinutoBanTemp"); BanInfo[playerid][TempSegundo] = DOF2_GetInt(string3,"SegundoBanTemp"); BanInfo[playerid][TimeData] = DOF2_GetInt(string3,"TimeData"); strcat(MEGAString,"{FFFFFF}*****************[Informações]*****************\n\n"); format(string, sizeof(string), "{FF6347}Nick: {FFFFFF}%s\n", conta); strcat(MEGAString,string); format(string, sizeof(string), "{FF6347}IP: {FFFFFF}%s\n", ipinfo); strcat(MEGAString,string); format(string, sizeof(string), "{FF6347}Admin: {FFFFFF}%s\n", BanInfo[playerid][pAdmBan]); strcat(MEGAString,string); format(string, sizeof(string), "{FF6347}Motivo: {FFFFFF}%s\n", BanInfo[playerid][pMotivo]); strcat(MEGAString,string); format(string, sizeof(string), "{FF6347}Data: {FFFFFF}%s\n", BanInfo[playerid][pData]); strcat(MEGAString,string); format(string, sizeof(string), "{FF6347}Hora: {FFFFFF}%s\n", BanInfo[playerid][pHora]); strcat(MEGAString,string); format(string, sizeof(string), "{FF6347}Data do Desbanimento: {FFFFFF}%02d/%02d/%04d as %02d:%02d:%02d\n\n", BanInfo[playerid][BanDia], BanInfo[playerid][BanMes], BanInfo[playerid][BanAno], BanInfo[playerid][TempHora], BanInfo[playerid][TempMinuto], BanInfo[playerid][TempSegundo]); strcat(MEGAString,string); } ShowPlayerDialog(playerid, 8724, DIALOG_STYLE_MSGBOX, "{FFFFFF}Informações da conta", MEGAString, "Informado", ""); return 1; } CMD:ppedagio(playerid, params[]) { if(GetPlayerMoney(playerid) < 100) { SendClientMessage(playerid, COLOR_LIGHTRED, "Voce nao tem $50"); return 1; } if(PlayerToPoint(10.0, playerid, 58.8769,-1540.4130,5.0887)) { SetObjectPos(portao2,67.909485, -1541.125732, -0.773268); SetTimer("GateClose1", 5000, 0); if(!IsACop(playerid)) { SendClientMessage(playerid, COLOR_LIGHTBLUE,"[CNF]: Pedágio pago, boa viagem."); GivePlayerMoney(playerid, -50); } return 1; } else if(PlayerToPoint(10.0, playerid, 75.2088,-1527.5674,5.1216)) { SetObjectPos(portao1,68.328880, -1526.939087, -0.809014); SetTimer("GateClose2", 5000, 0); if(!IsACop(playerid)) { SendClientMessage(playerid, COLOR_LIGHTBLUE,"[CNF]: Pedágio pago, boa viagem."); GivePlayerMoney(playerid, -50); } return 1; } else if(PlayerToPoint(10.0, playerid, 1737.4161,518.6452,28.1503)) { SetObjectPos(portao3,1728.5638427734, 512.89862060547, -31.260879516602); SetTimer("GateClose3", 5000, 0); if(!IsACop(playerid)) { SendClientMessage(playerid, COLOR_LIGHTBLUE,"[CNF]: Pedágio pago, boa viagem."); GivePlayerMoney(playerid, -50); } return 1; } else if(PlayerToPoint(10.0, playerid, 1733.1107,506.8286,28.9694)) { SetObjectPos(portao4,1740.6317138672, 509.00531005859, -31.1568775177); SetTimer("GateClose4", 5000, 0); if(!IsACop(playerid)) { SendClientMessage(playerid, COLOR_LIGHTBLUE,"[CNF]: Pedágio pago, boa viagem."); GivePlayerMoney(playerid, -50); } return 1; } else if(PlayerToPoint(10.0, playerid, -1407.3201,827.6060,47.0762)) { SetObjectPos(portao5,-1412.0205078125, 822.9267578125, -49.750095367432); SetTimer("GateClose7", 5000, 0); if(!IsACop(playerid)) { SendClientMessage(playerid, COLOR_LIGHTBLUE,"[CNF]: Pedágio pago, boa viagem."); GivePlayerMoney(playerid, -50); } return 1; } else if(PlayerToPoint(10.0, playerid, -1406.7478,808.7966,46.9736)) { SetObjectPos(portao6,-1402.5791015625, 813.30859375, -49.656631469727); SetTimer("GateClose8", 5000, 0); if(!IsACop(playerid)) { SendClientMessage(playerid, COLOR_LIGHTBLUE,"[CNF]: Pedágio pago, boa viagem."); GivePlayerMoney(playerid, -50); } return 1; } return 1; } forward GateClose2(); public GateClose2() { SetObjectPos(portao1,68.328880, -1526.939087, 7.015985); return 1; } forward GateClose1(); public GateClose1() { SetObjectPos(portao2,67.909485, -1541.125732, 7.076734); return 1; } forward GateClose3(); public GateClose3() { SetObjectPos(portao3,1728.5638427734, 512.89862060547, 31.260879516602); return 1; } forward GateClose4(); public GateClose4() { SetObjectPos(portao4,1740.6317138672, 509.00531005859, 31.1568775177); return 1; } forward GateClose7(); public GateClose7() { SetObjectPos(portao5,-1412.0205078125, 822.9267578125, 49.750095367432); return 1; } forward GateClose8(); public GateClose8() { SetObjectPos(portao6,-1402.5791015625, 813.30859375, 49.656631469727); return 1; } forward GateClose5(); public GateClose5() { SetObjectPos(portao7,-2685.9326171875, 1275.3663330078, 56.574485778809); return 1; } forward GateClose6(); public GateClose6() { SetObjectPos(portao8,-2677.2409667969, 1275.3305664063, 56.574516296387); return 1; } stock ReturnVehicle() { new Rdon = random(62); switch(Rdon) { case 1:return 400;case 2:return 401;case 3:return 402; case 4:return 404;case 5:return 560;case 6:return 405; case 7:return 410;case 8:return 411;case 9:return 412; case 10:return 413;case 11:return 415;case 12:return 418; case 13:return 419;case 14:return 422;case 15:return 424; case 16:return 426;case 17:return 429;case 18:return 434; case 19:return 436;case 20:return 439;case 21:return 442; case 23:return 445;case 24:return 451;case 25:return 458; case 29:return 466;case 30:return 467;case 32:return 474; case 33:return 475;case 36:return 478;case 37:return 479; case 38:return 480; case 40:return 483;case 41:return 491;case 42:return 492; case 43:return 496;case 44:return 500;case 45:return 506; case 46:return 507;case 47:return 508;case 48:return 517; case 49:return 518;case 51:return 527;case 52:return 533; case 53:return 534;case 54:return 535;case 55:return 536; case 56:return 541;case 57:return 542;case 58:return 545; case 59:return 549;case 60:return 550;case 61:return 551; case 62:return 554; default:return 560; } return 560; } //---------------Guinchar---------------------------------- CMD:guincharmoto(playerid, params[]) { new string[128]; if(IsPlayerConnected(playerid)) { if(IsADetran(playerid) || IsAMec(playerid)) { if(IsPlayerInAnyVehicle(playerid)) { if (GetVehicleModel(GetPlayerVehicleID(playerid)) == 459) { if(GetPlayerState(playerid)==2) { GetPlayerName(playerid, sendername, sizeof(sendername)); new Float:pX,Float:pY,Float:pZ; GetPlayerPos(playerid,pX,pY,pZ); new Float:tX,Float:tY,Float:tZ; new Found=0; new vid=0; if(guinchado[playerid] > 0) { new trazer = guinchado[playerid]; SetVehiclePos(trazer,pX,pY+4,pZ); guinchado[playerid] = 0; SendClientMessage(playerid,COLOR_GREY,"Voce Tirou a moto da Carroceria."); format(string, sizeof(string), "* %s Tirou a moto da Carroceria.", sendername); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); return 1; } while((vid 360) PlayerInfo[giveplayerid][pDataBanTemp] -= 360; if(PlayerInfo[giveplayerid][pDataBanTemp] > 360) PlayerInfo[giveplayerid][pDataBanTemp] -= 360; if(PlayerInfo[giveplayerid][pDataBanTemp] > 360) PlayerInfo[giveplayerid][pDataBanTemp] -= 360; for(new dias = 1; dias < diasban; dias++) { if(PlayerInfo[giveplayerid][pMesBanTemp] == 1 && PlayerInfo[giveplayerid][pDiaBanTemp] > 31) { PlayerInfo[giveplayerid][pDiaBanTemp] -= 31; PlayerInfo[giveplayerid][pMesBanTemp]++; } if(PlayerInfo[giveplayerid][pMesBanTemp] == 2 && PlayerInfo[giveplayerid][pDiaBanTemp] > 28) { PlayerInfo[giveplayerid][pDiaBanTemp] -= 28; PlayerInfo[giveplayerid][pMesBanTemp]++; } if(PlayerInfo[giveplayerid][pMesBanTemp] == 3 && PlayerInfo[giveplayerid][pDiaBanTemp] > 31) { PlayerInfo[giveplayerid][pDiaBanTemp] -= 31; PlayerInfo[giveplayerid][pMesBanTemp]++; } if(PlayerInfo[giveplayerid][pMesBanTemp] == 4 && PlayerInfo[giveplayerid][pDiaBanTemp] > 30) { PlayerInfo[giveplayerid][pDiaBanTemp] -= 30; PlayerInfo[giveplayerid][pMesBanTemp]++; } if(PlayerInfo[giveplayerid][pMesBanTemp] == 5 && PlayerInfo[giveplayerid][pDiaBanTemp] > 31) { PlayerInfo[giveplayerid][pDiaBanTemp] -= 31; PlayerInfo[giveplayerid][pMesBanTemp]++; } if(PlayerInfo[giveplayerid][pMesBanTemp] == 6 && PlayerInfo[giveplayerid][pDiaBanTemp] > 30) { PlayerInfo[giveplayerid][pDiaBanTemp] -= 30; PlayerInfo[giveplayerid][pMesBanTemp]++; } if(PlayerInfo[giveplayerid][pMesBanTemp] == 7 && PlayerInfo[giveplayerid][pDiaBanTemp] > 31) { PlayerInfo[giveplayerid][pDiaBanTemp] -= 31; PlayerInfo[giveplayerid][pMesBanTemp]++; } if(PlayerInfo[giveplayerid][pMesBanTemp] == 8 && PlayerInfo[giveplayerid][pDiaBanTemp] > 31) { PlayerInfo[giveplayerid][pDiaBanTemp] -= 31; PlayerInfo[giveplayerid][pMesBanTemp]++; } if(PlayerInfo[giveplayerid][pMesBanTemp] == 9 && PlayerInfo[giveplayerid][pDiaBanTemp] > 30) { PlayerInfo[giveplayerid][pDiaBanTemp] -= 30; PlayerInfo[giveplayerid][pMesBanTemp]++; } if(PlayerInfo[giveplayerid][pMesBanTemp] == 10 && PlayerInfo[giveplayerid][pDiaBanTemp] > 31) { PlayerInfo[giveplayerid][pDiaBanTemp] -= 31; PlayerInfo[giveplayerid][pMesBanTemp]++; } if(PlayerInfo[giveplayerid][pMesBanTemp] == 11 && PlayerInfo[giveplayerid][pDiaBanTemp] > 30) { PlayerInfo[giveplayerid][pDiaBanTemp] -= 30; PlayerInfo[giveplayerid][pMesBanTemp]++; } if(PlayerInfo[giveplayerid][pMesBanTemp] == 12 && PlayerInfo[giveplayerid][pDiaBanTemp] > 31) { PlayerInfo[giveplayerid][pDiaBanTemp] -= 31; PlayerInfo[giveplayerid][pMesBanTemp]++; } if(PlayerInfo[giveplayerid][pMesBanTemp] > 12) { PlayerInfo[giveplayerid][pMesBanTemp] -= 12; PlayerInfo[giveplayerid][pAnoBanTemp]++; } } PlayerInfo[giveplayerid][pBan] = 1; OnPlayerSave(giveplayerid); SaveObjects(giveplayerid); TextDrawShowForPlayer(giveplayerid, TextBan); TextDrawShowForPlayer(giveplayerid, TextBan1); BanTemp(giveplayerid, motivo, adminname); return 0; } CMD:sbantemp(playerid, params[]) { if(gPlayerLogged[playerid] == 0) { return SendClientMessage(playerid, 0xff6347FF, "* Voce nao esta conectado."); } new result[64], diasban; if(sscanf(params, "uds[64]", giveplayerid, diasban, result)) { SendClientMessage(playerid, COLOR_GRAD2, "USE: /sbantemp [ID do Player] [dias] [motivo]"); return true; } if (PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pAdminTemp] >= 1) { if(!admtrampando[playerid] && PlayerInfo[playerid][pAdmin] < 1342) return SendClientMessage(playerid, COLOR_GRAD1, TRABALHARADM); if(IsPlayerConnected(giveplayerid)) { if(PlayerInfo[giveplayerid][pAdmin] >= 1340) { SendClientMessage(playerid, COLOR_GRAD1, "Voce nao pode banir este admin!"); return true; } new string[128]; if(strcmp(NomePlayer(giveplayerid), "BPF_Ajudante", true) == 0) return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao pode kickar o ajudante do server"); GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); getdate(year, month, day); if(diasban > 359) { SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Maximo 359 dias"); return 1; } format(string, sizeof(string), "[BAN]: %s foi banido temporariamente (%d dias) por %s, Motivo: %s (%d-%d-%d)", giveplayer, diasban, sendername, (result),day,month,year); CNFLogs("ban", string); format(string, sizeof(string), "[BAN]: %s foi banido temporariamente (%d dias) (secretamente) por %s, Motivo: %s", giveplayer, diasban, sendername, (result)); ABroadCast(COLOR_LIGHTRED, string, 1); tban(giveplayerid, diasban, NomePlayer(playerid), result); } } else { SendClientMessage(playerid, COLOR_GRAD1, LEVELADM); } return true; } //----------------------------------[Freeze]------------------------------------------------ CMD:congelar(playerid, params[]) { new playa; if(sscanf(params, "u", playa)) { SendClientMessage(playerid, COLOR_GRAD2, "USE: /congelar [ID do Player]"); return true; } if (PlayerInfo[playerid][pAdmin] >= 4) { if(!admtrampando[playerid] && PlayerInfo[playerid][pAdmin] < 1342) return SendClientMessage(playerid, COLOR_GRAD1, TRABALHARADM); if(IsPlayerConnected(playa)) { if(playa != INVALID_PLAYER_ID) { if(PlayerInfo[playa][pAdmin] >= 1340 && PlayerInfo[playerid][pAdmin] < 1340) { SendClientMessage(playerid, COLOR_GRAD1, "Voce nao pode congelar um Admin Dono !"); return true; } new string[128]; GetPlayerName(playa, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); Controle(playa, 0); antihands[playa] = 1; format(string, sizeof(string), "AdmCmd: %s congelou %s",sendername, giveplayer); printf("%s",string); format(string, sizeof(string), "AdmCmd: %s foi congelado por %s",giveplayer ,PlayerName(playerid)); ABroadCast(COLOR_LIGHTRED,string,1); } } } else { SendClientMessage(playerid, COLOR_GRAD1, LEVELADM); } return true; } //----------------------------------[Setar emprego]----------------------------------------------- CMD:setemprego(playerid, params[]) { new para1, jobid; if(sscanf(params, "ud", para1, jobid)) return SendClientMessage(playerid, COLOR_GRAD2, "USE: /setemprego [playerid/ParteDoNome] [empregoid)]"); if (PlayerInfo[playerid][pAdmin] >= 4) { if(!admtrampando[playerid] && PlayerInfo[playerid][pAdmin] < 1340) return SendClientMessage(playerid, COLOR_GRAD1, TRABALHARADM); if(IsPlayerConnected(para1)) { if(para1 != INVALID_PLAYER_ID) { PlayerInfo[para1][pEmprego] = jobid; new string[MAX_STRING]; new jtext[20]; switch(PlayerInfo[para1][pEmprego]) { case 1:jtext = "Advogado"; case 2:jtext = "Mecanico"; case 3:jtext = "Agricultor"; case 4:jtext = "VendedorDeProdutos"; case 5:jtext = "Taxista"; case 6:jtext = "Bombeiro"; default:jtext = "Desempregado"; } format(string, 128, " Emprego de %s[ID:%d] setado para %s ", NomePlayer(para1), para1, jtext); SendClientMessage(playerid,COLOR_GRAD1,string); } } } return true; } CMD:oculto(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] >= 1340) { if(admhide[playerid] == 1) { admhide[playerid] = 0; SendClientMessage(playerid,COLOR_GRAD2,"Voce esta jogando como admin Visivel"); SetPlayerToTeamColor(playerid); } else { admhide[playerid] = 1; SendClientMessage(playerid,COLOR_GRAD2,"Voce esta jogando como admin Invisivel"); SetPlayerToTeamColor(playerid); } } return true; } //-0-0-0-0- stock AddHelper(const Nome[], nivel) { new stradmin[50]; format(stradmin, sizeof stradmin, Pasta_Helpers, Nome); if(!DOF2_FileExists(stradmin))DOF2_CreateFile(stradmin); DOF2_SetInt(stradmin, "HelperNivel", nivel); return true; } stock RemoverHelper(const Nome[]) { new stradmin[50]; format(stradmin, sizeof stradmin, Pasta_Helpers, Nome); if(DOF2_FileExists(stradmin))DOF2_RemoveFile(stradmin); return true; } CMD:jetpack(playerid) { if (TemJetpack[playerid] >= 1) { if(GetPlayerWantedLevelEx(playerid) > 0) return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao pode pegar um JetPack com Nivel de procurado."); new string[100]; SetPlayerSpecialAction(playerid, 2); format(string, sizeof string, "* O jogador %s pegou seu JetPack.", NomePlayer(playerid)); SendClientMessageInRange(30.0, playerid, string, 0x33AA33AA, 0x33AA33AA,0x33AA33AA, 0x33AA33AA, 0x33AA33AA); return 1; } if(PlayerInfo[playerid][pVIP] < 3) return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao e um jogador Socio Reliquia/Platina ou nao possui um JetPack."); if (PlayerInfo[playerid][pAdmin] >= 1341) { SetPlayerSpecialAction(playerid,SPECIAL_ACTION_USEJETPACK); SendClientMessage(playerid, COLOR_LIGHTBLUE, "Aviso: Voce Pegou um JetPack!"); return 1; } new string[100]; new Float:vid, Float:colete; GetPlayerHealth(playerid, vid); GetPlayerArmour(playerid, colete); if(GetPlayerWantedLevelEx(playerid) > 0) return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao pode pegar um JetPack com Nivel de procurado."); format(string, sizeof string, "* O socio %s pegou seu JetPack.", NomePlayer(playerid)); SendClientMessageInRange(30.0, playerid, string, 0x33AA33AA, 0x33AA33AA,0x33AA33AA, 0x33AA33AA, 0x33AA33AA); SetPlayerSpecialAction(playerid, 2); return 1; } stock CountAdminTrampo() { new count; foreach(Player, i) { if(PlayerInfo[i][pAdmin] && admtrampando[i])count ++; } return count; } CMD:tb(playerid, params[]) return ForT:trabalhar(playerid, params); CMD:trabalhar(playerid, params[]) { if(gPlayerLogged[playerid] == 0) { return SendClientMessage(playerid, 0xff6347FF, "* Voce nao esta conectado."); } if(PlayerInfo[playerid][pJailed] != 0) { if(PlayerInfo[playerid][pAdmin] < 1) { SendClientMessage(playerid,COLOR_YELLOW,"Voce nao pode trabalhar na cadeia!"); return true; } } new string[128]; if(PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pAdminTemp] >= 1) { if(admtrampando[playerid] > 0) { admtrampando[playerid] = 0; AdmHelperComido[playerid] = gettime()+60; GetPlayerName(playerid,sendername,sizeof(sendername)); format(string, 128, "[STAFF] O Adminstrador %s(%d) está Jogando!",sendername, playerid); SendClientMessageToAll(COLOR_GRAD1, string); SetPlayerToTeamColor(playerid); SetPlayerArmour(playerid, 0.0); SetPlayerHealth(playerid, 100); TirarAureola(playerid); SetPlayerSkin(playerid,skinadm[playerid]); format(string, sizeof(string), "%s esta jogando", PlayerName(playerid)); CNFLogs("admin", string); SetPlayerSkin(playerid, PlayerInfo[playerid][pSkin]); } else { admtrampando[playerid] = 1; AdmHelperComido[playerid] = gettime()+60; GetPlayerName(playerid,sendername,sizeof(sendername)); format(string, 128, "[STAFF] O Adminstrador %s(%d) está Trabalhando!",sendername, playerid); SendClientMessageToAll(COLOR_GRAD1, string); SetPlayerToTeamColor(playerid); ResetPlayerWeapons(playerid); SetPlayerArmour(playerid, 0.0); SetPlayerHealth(playerid, 99999); ColocarAureola(playerid); skinadm[playerid] = GetPlayerSkin(playerid); SetPlayerSkin(playerid,217); if(PlayerInfo[playerid][pSex] == 2) { SetPlayerSkin(playerid, 211); } format(string, sizeof(string), "%s esta trabalhando", PlayerName(playerid)); CNFLogs("admin", string); } } else SendClientMessage(playerid, 0xCD0400AA, "Voce nao pode usar este comando !"); return true; } CMD:forcarjogo(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] < 1340)return 1; new target; if(sscanf(params, "u", target)) { SendClientMessage(playerid, COLOR_GRAD2, "USE: /forcarjogo [id/nick]"); return true; } if(PlayerInfo[target][pAdmin] == 1) { SendClientMessage(playerid,COLOR_GRAD1,"Apenas administradores fixos podem jogar !"); return true; } new string[128]; if(gettime() < AdmHelperComido[playerid] && PlayerInfo[playerid][pAdmin] < 1342) { format(string,sizeof(string),"[ERRO] Impossivel usar este comando com tanta frequencia.! espere %d segundos", AdmHelperComido[playerid]-gettime()); SendClientMessage(playerid, COLOR_GRAD1, string); return true; } if(PlayerInfo[target][pAdmin] >= 1) { if(admtrampando[target] > 0) { if(CountAdminTrampo() < 2 && PlayerInfo[playerid][pAdmin] < 1342) return SendClientMessage(playerid, COLOR_GREY, " Deve ter no minimo 1 admin em modo trabalho para voce poder entrar em modo jogo!"); admtrampando[target] = 0; AdmHelperComido[target] = gettime()+60; GetPlayerName(target,sendername,sizeof(sendername)); format(string, 128, " [Administracao]: O admin %s entrou em modo Jogo, e seus comandos foram retirados!",sendername, playerid); ABroadCast(0xff6347FF,string,1); format(string,sizeof(string),"Voce forcou o player %s a Entrar em Modo Jogo",PlayerName(target)); SendClientMessage(playerid, COLOR_YELLOW, string); SetPlayerToTeamColor(target); SetPlayerArmour(target, 0.0); SetPlayerHealth(target, 100); TirarAureola(target); format(string, sizeof(string), "%s esta jogando", PlayerName(target)); CNFLogs("admin", string); SetPlayerSkin(target, PlayerInfo[target][pSkin]); } else { admtrampando[target] = 1; AdmHelperComido[target] = gettime()+60; GetPlayerName(target,sendername,sizeof(sendername)); format(string, 128, " [Administracao]: O admin %s saiu de modo jogo, e seus comandos foram devolvidos!",sendername, playerid); ABroadCast(0xff6347FF,string,1); format(string,sizeof(string),"Voce forcou o player %s a Sair em Modo Jogo",PlayerName(target)); SendClientMessage(playerid, COLOR_YELLOW, string); SetPlayerToTeamColor(target); ResetPlayerWeapons(target); SetPlayerArmour(target, 0.0); SetPlayerHealth(target, 99999); ColocarAureola(target); format(string, sizeof(string), "%s esta trabalhando", PlayerName(target)); CNFLogs("admin", string); } } else SendClientMessage(playerid, COLOR_GRAD1, "Voce nao pode usar este comando em quem nao e adm !"); return true; } CMD:ajudar(playerid, params[]) { if(PlayerInfo[playerid][pHelper] >= 1) { if(PlayerInfo[playerid][pJailed] != 0) { SendClientMessage(playerid,COLOR_YELLOW,"Voce nao pode trabalhar na cadeia!"); return true; } new string[128]; if(helpertrampando[playerid] > 0) { helpertrampando[playerid] = 0; GetPlayerName(playerid,sendername,sizeof(sendername)); format(string, 256, "[STAFF] O Helper %s entrou em modo jogo!",sendername); SendClientMessageToAll(COLOR_GRAD1, string); SendClientMessage(playerid, COLOR_YELLOW, "Agora voce nao recebera duvidas de players que precisam!"); SetPlayerHealth(playerid,100); SetPlayerSkin(playerid,skinadm[playerid]); SetPlayerSkin(playerid, PlayerInfo[playerid][pSkin]); SetPlayerToTeamColor(playerid); } else { helpertrampando[playerid] = 1; GetPlayerName(playerid,sendername,sizeof(sendername)); format(string, 256, "[STAFF] O Helper %s entrou em modo ajuda, caso tenha duvidas, utilize /duvida!",sendername); SendClientMessageToAll(COLOR_GRAD1, string); SendClientMessage(playerid, COLOR_YELLOW, "Agora voce recebera duvidas de players que precisam!"); SetPlayerToTeamColor(playerid); ResetPlayerWeapons(playerid); skinadm[playerid] = GetPlayerSkin(playerid); SetPlayerSkin(playerid,217); if(PlayerInfo[playerid][pSex] == 2) { SetPlayerSkin(playerid, 211); } SetPlayerHealth(playerid, 99999); } } else { SendClientMessage(playerid, COLOR_GRAD1, LEVELADM); return true; } return true; } //----------------------------------[HELP]----------------------------------------------- CMD:desalugarcarro(playerid) { if(IsPlayerConnected(playerid)) { if(CarroAluguel[playerid] != 0) { new idcar = GetPlayerVehicleID(playerid); if(idcar == CarroAluguel[playerid]) { TogglePlayerControllableEx(playerid, 1); } UnLockCar(CarroAluguel[playerid]); SetVehicleToRespawn(CarroAluguel[playerid]); CarroAluguel[playerid] = 0; GameTextForPlayer(playerid, "~w~Voce desalugou o carro", 5000, 3); } else return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao tem um carro alugado !"); } return 1; } CMD:inventario(playerid) { if(!gPlayerLogged[playerid]) return SCM(playerid, COLOR_GRAD1, " Voce nao esta logado !"); if(GetPVarInt(playerid, "AGRTrampando") && CP[playerid] == 99) return SCM(playerid, COLOR_GRAD1, "Você está trabalhando e não pode abrir o inventario."); if(GetPlayerSpeedEx(playerid) > 1 ) return SCM(playerid, COLOR_GRAD1, "Você não pode abrir o inventario correndo. fique totalmente parado."); if(PlayerInfo[playerid][pJailed] == 9) return SCM(playerid,COLOR_GRAD1," Voce nao pode usar este comando nas Celas da Administracao!"); /* if(PedMorto[playerid] == 1 && TimingPlayer[playerid] > 0) return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao pode usar esse comando morto!"); */ new string[128]; format(string, sizeof(string), "* %s abriu seu Inventario!", NomePlayer(playerid)); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); Sound(playerid, 1039, 30.0); // e computador if(PlayerInfo[playerid][gPlayerUsandoPlataformaID] == 1) { AbrirInventario(playerid); } else { //ApplyAnimationEx(playerid, "BOMBER", "BOM_Plant_Loop", 4.1, 1, 0, 0, 0, 0, 1); RemovePlayerAttachedObject(playerid, 9); SetPlayerAttachedObject_Droid(playerid, 9, 19559, 5, 0.073999, 0.111999, 0.091000, -152.600006, -2.80008, 121.500045, 1, 1, 1); ShowPlayerDialogEx(playerid, D_INVENTARIO_MOBILE); } return 1; } CMD:cbug(playerid) { SendClientMessage(playerid, COLOR_GRAD1, "Bugue suas 7 balas de Desert Eagle, para ver o tempo do seu CBUG"); Cbugbalas[playerid] = 7; return 1; } CMD:vip(playerid) return ForT:lojavip(playerid, #); CMD:vercombates(playerid){ new string[256]; MEGAString[0] = EOS; strcat(MEGAString, "» Logs de inicio de combate (Quem atirou/bateu primeiro)\n\n"); new c = 35; while(c--){ if(strcmp(CombateInfo[c][iniciouCombate], "Ninguem", false)){ format(string, sizeof string, "[%s] - %s iniciou um combate contra %s\n", CombateInfo[c][horaCombate], CombateInfo[c][iniciouCombate], CombateInfo[c][outroCombate]); strcat(MEGAString, string); } } return ShowPlayerDialog(playerid, 1023, DIALOG_STYLE_MSGBOX, "» Log de Combates", MEGAString, "Fechar", ""); } DestruirMedKit(playerid) { DestroyPickup(MedKitDados[playerid][MedKits]); DestroyObject(MedKitDados[playerid][MedKitObject]); MedKitDados[playerid][MedPlayer] = false; return 1; } CMD:world(playerid) { new Str[74]; format(Str, sizeof Str, "Seu Baixada Virtual: %d", GetPlayerVirtualWorld(playerid)); SendClientMessage(playerid, 0xFFFFFFFF, Str); return true; } CMD:andar(playerid, params[]) { if(!gPlayerLogged[playerid])return true; MEGAString[0] = EOS; strcat(MEGAString, "Andar: Civil\n\ Andar: Gang 1\n\ Andar: Gang 2\n\ Andar: Velho\n\ Andar: Velho Gordo\n\ Andar: Gordo\n\ Andar: Mulher Normal\n\ Andar: Mulher Busy\n\ Andar: Mulher Prostituta\n\ Andar: Mulher Sexy\n\ Andar: Embreagado\n\ Andar: Wuzi Mu\n\ Andar: Silencioso\n\ Andar: Shop\n\ Corrida: Mulher 1\n\ Corrida: Homem 1\n\ Corrida: Civil\n\ Corrida: Gordo\n\ Corrida: Velho Gordo\n\ Corrida: Gangster\n\ Corrida: Velho\n\ Corrida: Wuzi Mu\n\ Corrida: Policial\n\ Corrida: Mulher 2\n\ Corrida: Mulher 3\n\ Corrida: Mulher Sexy"); ShowPlayerDialog(playerid, 4609, DIALOG_STYLE_LIST, "Estilos de Andar",MEGAString, #Selecionar, #Sair); return true; } CMD:kitadmdono(playerid) { new gstr[256]; if(PlayerInfo[playerid][pAdmin] < 1340 ) return SendClientMessage(playerid, COLOR_GRAD1, "Você não tem acesso a esse comando."); format(gstr, 256, "[STAFF] %s pegou seu KitAdmDono!", PlayerName(playerid)); SendClientMessage(playerid, COLOR_LIGHTBLUE, "INFO: Você pegou seu KitAdmDono."); SendClientMessageInRange(30.0, playerid, gstr, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE); GivePlayerWeapon(playerid, 4, 9999999); GivePlayerWeapon(playerid, 17, 9999999); GivePlayerWeapon(playerid, 24, 9999999); GivePlayerWeapon(playerid, 25, 9999999); GivePlayerWeapon(playerid, 29, 9999999); GivePlayerWeapon(playerid, 31, 9999999); GivePlayerWeapon(playerid, 34, 9999999); GivePlayerWeapon(playerid, 38, 9999999); GivePlayerWeapon(playerid, 43, 9999999); SetPlayerHealth(playerid, 100.0); SetPlayerArmour(playerid, 100.0); return 1; } CMD:editarnota(playerid, params[]) { new ID, Nota1, Nota2, gstr[256]; if(PlayerInfo[playerid][pAdmin] < 1340 ) return SendClientMessage(playerid, COLOR_GRAD1, "Você não tem acesso a esse comando."); if(sscanf(params, "udd", ID, Nota1, Nota2)) return SendClientMessage(playerid, COLOR_GRAD1, "/editarnota [ID/Nick] [Nota Primaria] [Nota Seecundaria]"), SendClientMessage(playerid, COLOR_GRAD1, "Exemplo, Nota Primaria: 9, Secundaria: 7, vai ficar 9.7."); if(IsPlayerConnected(ID)) { format(gstr, 256, "[EDICÃO] %s editou: Nota Admin: [%d.%d] em: %s (Anterior: %d.%d)!", PlayerName(playerid), Nota1, Nota2, PlayerName(ID), PlayerInfo[ID][pAvaliacoes], PlayerInfo[ID][pAFinal]); ABroadCast(COR_AMARELO, gstr, 1); PlayerInfo[ID][pAvaliacoes] = Nota1; PlayerInfo[ID][pAFinal] = Nota2; } return 1; } CMD:matarperto(playerid, params[]) { new Float:Pos[3]; if(PlayerInfo[playerid][pAdmin] < 1339) return SemPermCMD if(admtrampando[playerid] != 1 && PlayerInfo[playerid][pAdmin] < 1340) return SCM(playerid, COLOR_GRAD1, "Você não está em modo trabalho."); GetPlayerPos(playerid, Pos[0], Pos[1], Pos[2]); for(new i; i= 1341) { new cupom[50], cashs; if(sscanf(params, "s[50]d", cupom, cashs)) return UseCMD(playerid, "/criarcupom [Cupom 'Numeros'] [Qnt Cash]"); new pasta_codigo[128]; format(pasta_codigo, 128, "Codigos/%s.ini", cupom); if(fexist(pasta_codigo)) return SCMf(playerid, COLOR_GRAD1, "[ERRO] O Codigo: %s ja existe!", cupom); DOF2_CreateFile(pasta_codigo); new strb[128]; format(strb, sizeof(strb), "{FFFFFF}[{008000}CUPOM{FFFFFF}] Você criou o cupom: %s com %d de cash.", cupom, cashs); SCM(playerid, 0x008000FF, strb); DOF2_SetInt(pasta_codigo, "Quantidade", cashs); } else return SemPermCMD return 1; } CMD:aa(playerid, params[]) { if(gPlayerLogged[playerid] == 0) { return SendClientMessage(playerid, 0xff6347FF, "* Voce nao esta conectado."); } MEGAString[0]=EOS; if(PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pAdminTemp] >= 1) { strcat(MEGAString, "{00FFFF}*Aprendiz/Temp/1:\n"); strcat(MEGAString, "{FFFFFF}* /a /tv /tapa /cascudo /par /vercarteira /mutarvoip /calar /kick /ir /trazer /respawn\n"); strcat(MEGAString, "{FFFFFF}* /av /avadm /descongelar /infoarmas/m(egafone) /contagem /flip\n"); strcat(MEGAString, "{FFFFFF}* /cadeia /desbugarplayer /verificartv /reviverid /agendarcadeia\n"); strcat(MEGAString, "{FFFFFF}* /aviso /infoadmins /togparticular /ls /sf /lv /rbqall /arenadm /esconderijo\n"); strcat(MEGAString, "{FFFFFF}* /matoumorreu /desbugarexplosivo /infocontrato /infohelpers\n\n"); } if(PlayerInfo[playerid][pAdmin] >= 2) { strcat(MEGAString, "{00FFFF}*Estagiario:\n"); strcat(MEGAString, "{FFFFFF}* /limparcasamento /settime /ip /rt /lt /paredao\n"); strcat(MEGAString, "{FFFFFF}* /abastecerid /repararid /infobanconta /infobanip\n"); strcat(MEGAString, "{FFFFFF}* /enchereperto /encher /dararmaperto /rarmasperto\n"); strcat(MEGAString, "{FFFFFF}* /aerols /predio /praia /aerolv /explodir /matar /admip\n\n"); } if(PlayerInfo[playerid][pAdmin] >= 3) { strcat(MEGAString, "{00FFFF}*Moderador:\n"); strcat(MEGAString, "{FFFFFF}* /rc /entrarcarro /blindar /ban /fixveh \n"); strcat(MEGAString, "{FFFFFF}* /sampversao /abastecercarros /respawncarros /ircasa\n"); strcat(MEGAString, "{FFFFFF}* /limparchat /ircaixinha /sethora /voar /infoplayer\n\n"); } if(PlayerInfo[playerid][pAdmin] >= 4) { strcat(MEGAString, "{00FFFF}*Administrador:\n"); strcat(MEGAString, "{FFFFFF}* /mark /irmark /ircarro /rarmas /setemprego\n"); strcat(MEGAString, "{FFFFFF}* /darvida /darcolete /dararma /iniciarloteria\n"); strcat(MEGAString, "{FFFFFF}* /settimeperto /online /rpv /pegaratividade\n\n"); } if(PlayerInfo[playerid][pAdmin] >= 1337) { strcat(MEGAString, "{00FFFF}*Master:\n"); strcat(MEGAString, "{FFFFFF}* /pegarlider /limparlider /verul /localizador /skydive /editar /infoconta\n"); strcat(MEGAString, "{FFFFFF}* /onmudars /offmudars /serial /tunarautoadm /am /desbugconceplayer\n\n"); } if(PlayerInfo[playerid][pAdmin] >= 1338) { strcat(MEGAString, "{00FFFF}*Supervisor:\n"); strcat(MEGAString, "{FFFFFF}* /cnn /iremp /irsemp /guerramorro /destruircaixa /destruirportao ( Apenas em Locais indevidos)\n"); strcat(MEGAString, "{FFFFFF}* /desbanip /eventos /setarint /setarwv /saciar /lfichaadm /rconeadm /pedreira\n"); strcat(MEGAString, "{FFFFFF}* /am /retirarbeneficios /antiafk /salvardados /setskin\n\n"); } if(PlayerInfo[playerid][pAdmin] >= 1339) { strcat(MEGAString, "{00FFFF}*Gerente:\n"); strcat(MEGAString, "{FFFFFF}* /criarhelper /limparhelper /infohelpers /banserial\n"); strcat(MEGAString, "{FFFFFF}* /infobeneficios /seditar /delcontaperm /clima /verinv /saciarall\n\n"); } if(PlayerInfo[playerid][pAdmin] >= 1340) { strcat(MEGAString, "{00FFFF}*Diretor:\n"); strcat(MEGAString, "{FFFFFF}* /daradmin /limparadmin /agendaradmin /admvsemp /admvemp /admvfaz /avendercasa /descricao\n"); strcat(MEGAString, "{FFFFFF}* /avenderempresa /deletarveiculoconce /admvcarro /sistemas /limparadmintemp\n"); strcat(MEGAString, "{FFFFFF}* /kitadmdono /editarnota /oculto /editarinv /agendarvip /darvip /setardiamante /desbanconta /criaradmintemp /ad\n\n"); } if(PlayerInfo[playerid][pAdmin] >= 1341) { strcat(MEGAString, "{00FFFF}*Dono\n"); strcat(MEGAString, "{FFFFFF}* /agendaritem /agendardinheiro caixa /daryt /alterarnome /sniper /payday /menucheater\n"); strcat(MEGAString, "{FFFFFF}* /meucheater(OFF) /desligarserver(OFF) /setarmat /setardrogas\n"); strcat(MEGAString, "{FFFFFF}* /darlider /agendarlider /darlicencas /criarfamilia /destruirfamilia /rlicencas\n\n"); } if(PlayerInfo[playerid][pAdmin] >= 1342) { strcat(MEGAString, "{00FFFF}*Fundador/Scripter:\n"); strcat(MEGAString, "{FFFFFF}* /ativarorgvip /logoutall /menucheater /resetartr /desbugarcam /dargrana\n"); strcat(MEGAString, "{FFFFFF}* /setarmateriaisorgs /deletarveiculoconce /parsecreto /versms /darcashoff /retirarcashoff\n"); strcat(MEGAString, "{FFFFFF}* /agendarcash /darcash /darvip /retirarvip /setardiamante /retirardiamante /daritem /itens\n\n"); } ShowPlayerDialog(playerid, 8724, DIALOG_STYLE_MSGBOX, "Comandos Admin", MEGAString, "OK",""); return true; } CMD:irrancho(playerid) { if(PlayerInfo[playerid][pEmprego] == 3) { if(IsPlayerConnected(playerid)) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "Para trabalhar va ate a area marcada no mapa !"); SetPlayerCheckpoint(playerid,1918.7303,173.7474,37.2722,5.0); } } return 1; } CMD:inforespawn(playerid) { MEGAString[0] = EOS; strcat(MEGAString, "{FF6600}O RESPAWN ACONTECE AUTOMATICAMENTE NOS HORARIOS:\n\n"); strcat(MEGAString, "{FFFFFF}» 10:30:00\n"); strcat(MEGAString, "» 12:30:00\n"); strcat(MEGAString, "» 14:30:00\n"); strcat(MEGAString, "» 16:30:00\n"); strcat(MEGAString, "» 18:30:00\n"); strcat(MEGAString, "» 20:30:00\n"); strcat(MEGAString, "» 22:30:00\n"); strcat(MEGAString, "» 00:30:00\n"); strcat(MEGAString, "» 02:30:00\n"); strcat(MEGAString, "» 04:30:00\n"); ShowPlayerDialog(playerid, 4921, DIALOG_STYLE_MSGBOX, "RESPAWN AUTOMATICO", MEGAString, "Informado",""); return 1; } //Portoes hq adm CMD:pbanco(playerid, params[]) { if(IsACop(playerid)) { if(IsPlayerInRangeOfPoint(playerid,4.0, 304.5356, 1787.3109, 512.9559)) { MoveDynamicObject(portabanco,303.5950, 1785.8350, 505.7759,3.0); SetTimerEx("fecharbanco", 5000, false, "i", Gate); } } return 1; } CMD:pnavio(playerid, params[]) { if(IsACop(playerid)) { if(PlayerToPoint(15.0, playerid, -1422, 494.5, 4.8)) { MoveDynamicObject(portanavio, -1422, 494.5, 8.4,2); SetTimer("fecharnavio", 5000, false); } if(PlayerToPoint(5.0, playerid, -1383, 1494.1, 2)) { MoveDynamicObject(portanavio2, -1383, 1494.1, 4.6,2); SetTimer("fecharnavio2", 5000, false); } } return 1; } //----------------------------------{Portoes DP}-------------------------------------------- CMD:pp(playerid, params[]) { if ((IsACop(playerid)) && PlayerToPoint(15.0, playerid, 247.005905 , 72.448440 , 1003.640625) || PlayerInfo[playerid][pEmprego] == 1) { MoveDynamicObject( PDDOORa, 247.005905 , 72.448440 , 1006.912902,3,0.0,0.0,1260.0); GameTextForPlayer(playerid, "~w~Porta das Celas ~n~~b~Aberto", 4000, 3); SetTimer("GaragemDpClosed", 4000, false); SendClientMessage(playerid, COLOR_DBLUE, "Portao aberto, ele se fechara em 5 segundos!"); } return true; } CMD:pp7(playerid, params[]) { if (PlayerToPoint(1, playerid,245.3457,73.8463,1003.6406)) // /pp livre { MoveDynamicObject( PDDOORa, 247.005905 , 72.448440 , 1006.912902,3); GameTextForPlayer(playerid, "~w~Portao ~n~~b~Aberto", 4000, 3); SetTimer("GaragemDpClosed", 5000, false); } } //----------------------------------{Portoes DP2}---------------------------------------- CMD:pr(playerid, params[]) { if ((IsACop(playerid)) && PlayerToPoint(15.0, playerid, 250.774871 , 60.822799 , 1003.640625)) { //GATEGaragem MoveDynamicObject( PDDOORb, 250.774871 , 60.822799 , 1006.862670,3,0.0,0.0,5130.0); GameTextForPlayer(playerid, "~w~Porta da Recepcao ~n~~b~Aberto", 5000, 3); SetTimer("GaragemDpClosed2", 5000, false); SendClientMessage(playerid, COLOR_DBLUE, "Portao aberto, ele se fechara em 5 segundos!"); } return true; } //----------------------------------{Portoes DP3}---------------------------------------- CMD:pv(playerid, params[]) { if ((IsACop(playerid)) && PlayerToPoint(15.0, playerid, 248.142105 , 78.125961 , 1003.640625)) { //GATEGaragem MoveDynamicObject( PDDOORc, 248.142105 , 78.125961 , 1007.248718,3,0.0,0.0,12690.0); GameTextForPlayer(playerid, "~w~Porta do Vestiario ~n~~b~Aberto", 5000, 3); SetTimer("pd1", 5000, false); SendClientMessage(playerid, COLOR_DBLUE, "Portao aberto, ele se fechara em 5 segundos!"); } return true; } //----------------------------------{Portoes LS}---------------------------------------- CMD:pg2(playerid, params[]) { if ((IsACop(playerid)) && PlayerToPoint(15.0, playerid, 1546.8681640625, -1627.3585205078, 15.156204223633)) { //GATEGaragem MoveDynamicObject( PDPMLS, 1546.86816, -1627.35852, 7.15620,3.0,0.0,0.0,90.0); GameTextForPlayer(playerid, "~w~Garagem Externa ~n~~b~Aberta", 4200, 3); SetTimer("pd2", 4200, false); SendClientMessage(playerid, COLOR_DBLUE, "Portao aberto, ele se fechara em 5 segundos!"); ObjectMovePlayer[playerid] = PDPMLS; if(IsDynamicObjectMoving(PDPMLS)) PlayerPlaySound(playerid, 1035, 0.0, 0.0, 0.0); } return true; } //----------------------------------{Portoes LS2}---------------------------------------- //----------------------------------{Portoes BOPE}---------------------------------------- CMD:pdpsf2(playerid, params[]) { if((IsACop(playerid)) && PlayerToPoint(20.0, playerid, -1571.4054,661.2745,7.1875)) { //GATEGaragem MoveDynamicObject( PortaoPMSF, -1572, 672.90002441406, 1.6999998092651,3,0.0, 0.0, 90.00000); SetTimer("PTPMSF", 5000, false); SendClientMessage(playerid, COLOR_DBLUE, "Portao aberto, ele se fechara em 5 segundos!"); } return true; } CMD:ppf(playerid, params[]) { if ((IsACop(playerid)) && PlayerToPoint(15.0, playerid, -489.3999900,-562.7000100,27.3000000)) { //BAEPGaragem MoveDynamicObject(PortaoPF, -489.3999900,-562.7000100,21.3000000,3,0.0000,0.0000,0.0); GameTextForPlayer(playerid, "~g~Aberto", 5000, 3); SetTimer("PoliciaFederalClosed", 5000, false); SendClientMessage(playerid, COLOR_DBLUE, "Portao aberto, ele se fechara em 5 segundos!"); ObjectMovePlayer[playerid] = PortaoPF; if(IsDynamicObjectMoving(PortaoPF)) PlayerPlaySound(playerid, 1035, 0.0, 0.0, 0.0); } return 1; } CMD:pro(playerid, params[]) { if ((IsACop(playerid)) && PlayerToPoint(15.0, playerid, 1810.06274, -1750.33496, 15.31620)) { //GATEGaragem MoveDynamicObject(PortaoPRO1,1809.9978,-1750.3315,23.5427,3); GameTextForPlayer(playerid, "~g~Aberto", 5000, 3); SetTimer("ROTAAAAAClosed", 5000, false); SendClientMessage(playerid, COLOR_DBLUE, "Portao aberto, ele se fechara em 5 segundos!"); ObjectMovePlayer[playerid] = PortaoPRO1; if(IsDynamicObjectMoving(PortaoPRO1)) PlayerPlaySound(playerid, 1035, 0.0, 0.0, 0.0); } return 1; } CMD:psons(playerid) { if(!IsPlayerInRangeOfPoint(playerid, 15.0,704.9000200,-475.0000000,18.1000000) || GetPlayerOrg(playerid) != 25)return true; { //BAEPGaragem MoveDynamicObject(pSons2, 704.9000200,-475.0000000,9.1000000,3,0.0000,0.0000,180.00000); SetTimer(#MovepSons2, 5000, 0); SendClientMessage(playerid, 0x2641FEFF, #Portao aberto fechara em 5 segundos); ObjectMovePlayer[playerid] = pSons2; if(IsDynamicObjectMoving(pSons2)) PlayerPlaySound(playerid, 1035, 0.0, 0.0, 0.0); } return 1; } CallBack::MovepSons2() { foreach(Player, playerid) { if(ObjectMovePlayer[playerid] == 0) { PlayerPlaySound(playerid, 1035, 0.0, 0.0, 0.0); } } MoveDynamicObject(pSons2,704.9000200,-475.0000000,18.1000000,3,0.0000, 0.0000, 180.00000); return true; } CMD:ppre(playerid) { if (GetPlayerOrg(playerid) == 7 && PlayerToPoint(2.0,playerid,368.39999, 160.5, 1026.59998) || PlayerToPoint(2.0, playerid, 369.29999, 164.2, 1026.30005)) { SendClientMessage(playerid, TEAM_BALLAS_COLOR, "Voce abriu a porta da prefeitura!"); MoveDynamicObject(portagov, 368.79999, 160.7, 1032.09998,3); SetTimer(#Moveportagov, 5000, 0); SendClientMessage(playerid, TEAM_BALLAS_COLOR, "O Portao Fechara em 5 segundos."); ObjectMovePlayer[playerid] = portagov; if(IsDynamicObjectMoving(portagov)) PlayerPlaySound(playerid, 1035, 0.0, 0.0, 0.0); } return 1; } CallBack::Moveportagov() { foreach(Player, playerid) { if(ObjectMovePlayer[playerid] == 0) { PlayerPlaySound(playerid, 1035, 0.0, 0.0, 0.0); } } MoveDynamicObject(portagov,368.79999, 160.7, 1027.19995, 2); return true; } CMD:pmayans(playerid) { if (GetPlayerOrg(playerid) == 24 && PlayerToPoint(25.0, playerid, 493.8057,-1547.1104,19.8590)) { MoveDynamicObject(PortaoMayans, 493.8057,-1547.1104,12.8590,3, 0.00000, 0.00000, 210.6994); SetTimer(#MovePortaoMayans, 5000, 0); GameTextForPlayer(playerid, "~g~Aberto", 5000, 3); SendClientMessage(playerid, TEAM_BALLAS_COLOR, "O Portao Fechara em 5 segundos."); } return true; } CallBack::MovePortaoMayans() { MoveDynamicObject(PortaoMayans,493.8057,-1547.1104,19.8590,3,0.0000, 0.0000, 210.6994); return true; } CMD:pbaep(playerid, params[]) { if ((IsACop(playerid)) && PlayerToPoint(15.0, playerid, 2888.6001000,2118.5000000,12.6000000)) { MoveDynamicObject(PortaoGAT, 2888.6001000,2118.5000000,4.6000000,3, 0.00000, 0.00000, 90.00000); SetTimer(#MovePortaoGAT, 5000, 0); GameTextForPlayer(playerid, "~g~Portao Aberto", 5000, 3); SendClientMessage(playerid, COLOR_DBLUE, "Portao aberto, ele se fechara em 5 segundos!"); ObjectMovePlayer[playerid] = PortaoGAT; if(IsDynamicObjectMoving(PortaoGAT)) PlayerPlaySound(playerid, 1035, 0.0, 0.0, 0.0); } return true; } CallBack::MovePortaoGAT() { foreach(Player, playerid) { if(ObjectMovePlayer[playerid] == 0) { PlayerPlaySound(playerid, 1035, 0.0, 0.0, 0.0); } } MoveDynamicObject(PortaoGAT,2888.6001000,2118.5000000,12.6000000,3, 0.00000, 0.00000, 90.00000); return true; } CMD:portaocn(playerid) { if (GetPlayerOrg(playerid) == 12 && PlayerToPoint(15.0, playerid, 1498.8000000,-700.0000000,96.5000000)) { MoveDynamicObject(PortaoCN, 1498.8000000,-700.0000000,89.5000000,3, 0.00000, 0.00000, 0.00000); SetTimer(#MovePortaoCN, 5000, 0); GameTextForPlayer(playerid, "~g~Portao Aberto", 5000, 3); SendClientMessage(playerid, COLOR_DBLUE, "Portao aberto, ele se fechara em 5 segundos!"); ObjectMovePlayer[playerid] = PortaoCN; if(IsDynamicObjectMoving(PortaoCN)) PlayerPlaySound(playerid, 1035, 0.0, 0.0, 0.0); } return true; } CallBack::MovePortaoCN() { foreach(Player, playerid) { if(ObjectMovePlayer[playerid] == 0) { PlayerPlaySound(playerid, 1035, 0.0, 0.0, 0.0); } } MoveDynamicObject(PortaoCN,1498.8000000,-700.0000000,96.5000000,3, 0.00000, 0.00000, 0.00000); return true; } CMD:pdetran(playerid) { if (GetPlayerOrg(playerid) == 34 && PlayerToPoint(25.0, playerid, 1067.2301,1359.0468,11.6787)) { MoveDynamicObject(portaomecls, 1067.2301,1359.0468,4.6787,358.4865,0,0,0); SetTimer(#MovePortaoMec, 5000, 0); GameTextForPlayer(playerid, "~g~Aberto", 5000, 3); SendClientMessage(playerid, COLOR_DBLUE, "Portao aberto, ele se fechara em 5 segundos!"); ObjectMovePlayer[playerid] = portaomecls; if(IsDynamicObjectMoving(portaomecls)) PlayerPlaySound(playerid, 1035, 0.0, 0.0, 0.0); } return true; } CMD:portaocv(playerid, params[]) { if ((GetPlayerOrg(playerid) == 19) && PlayerToPoint(15.0, playerid, 2185.7000000,-1784.7000000,15.1000000)) { //ROTA Portoes MoveDynamicObject(PortaoCV, 2185.7000000,-1784.7000000,8.1000000,3, 0.00000, 0.00000, 0.00000); SetTimer(#MovePortaoCV, 5000, 0); GameTextForPlayer(playerid, "~w~Portao ~b~Aberto", 5000, 3); SendClientMessage(playerid, COLOR_DBLUE, "Portao aberto, ele se fechara em 5 segundos!"); ObjectMovePlayer[playerid] = PortaoCV; if(IsDynamicObjectMoving(PortaoCV)) PlayerPlaySound(playerid, 1035, 0.0, 0.0, 0.0); } return true; } CMD:prussa(playerid, params[]) { if ((GetPlayerOrg(playerid) == 20) && PlayerToPoint(15.0, playerid, 2557.5000000,1393.8000000,12.5000000)) { //ROTA Portoes //MoveDynamicObject(PortaoRussa, 2557.5000000,1393.8000000,5.5000000,3, 0.00000, 0.00000, 90.00000); SetDynamicObjectPos(PortaoRussa, 2557.5000000,1393.8000000,5.5000000); SetTimer(#MovePortaoRussa, 5000, 0); GameTextForPlayer(playerid, "~w~Portao ~b~Aberto", 5000, 3); SendClientMessage(playerid, COLOR_DBLUE, "Portao aberto, ele se fechara em 5 segundos!"); ObjectMovePlayer[playerid] = PortaoRussa; if(IsDynamicObjectMoving(PortaoRussa)) PlayerPlaySound(playerid, 1035, 0.0, 0.0, 0.0); } return true; } CallBack::MovePortaoRussa() { foreach(Player, playerid) { if(ObjectMovePlayer[playerid] == 0) { PlayerPlaySound(playerid, 1035, 0.0, 0.0, 0.0); } } //MoveDynamicObject(PortaoRussa,2557.5000000,1393.8000000,12.5000000,3,0.0000, 0.0000, 90.0000); SetDynamicObjectPos(PortaoRussa,2557.5000000,1393.8000000,12.5000000); return true; } CMD:portaosfr(playerid, params[]) { if ((GetPlayerOrg(playerid) == 10) && PlayerToPoint(15.0, playerid, 693.5000000,1849.7000000,7.5000000)) { //ROTA Portoes MoveDynamicObject(PortaoSFR, 693.5000000,1849.7000000,1.5000000,3, 0.00000, 0.00000, 350.00000); SetTimer(#MovePortaoSFR, 5000, 0); GameTextForPlayer(playerid, "~w~Portao ~b~Aberto", 5000, 3); SendClientMessage(playerid, COLOR_DBLUE, "Portao aberto, ele se fechara em 5 segundos!"); ObjectMovePlayer[playerid] = PortaoSFR; if(IsDynamicObjectMoving(PortaoSFR)) PlayerPlaySound(playerid, 1035, 0.0, 0.0, 0.0); } return true; } CallBack::MovePortaoSFR() { foreach(Player, playerid) { if(ObjectMovePlayer[playerid] == 0) { PlayerPlaySound(playerid, 1035, 0.0, 0.0, 0.0); } } MoveDynamicObject(PortaoSFR,693.5000000,1849.7000000,7.5000000,3,0.0000, 0.0000, 350.0000); return true; } CMD:portaoft(playerid, params[]) { if ((IsACop(playerid)) && PlayerToPoint(15.0, playerid, -81.5000000,-1733.9000000,-1.3000000)) { //ROTA Portoes MoveDynamicObject(PortaoFT, -81.5000000,-1733.9000000,-8.3000000,3, 0.00000, 0.00000, 0.00000); SetTimer(#MovePortaoFT, 5000, 0); GameTextForPlayer(playerid, "~w~Portao ~b~Aberto", 5000, 3); SendClientMessage(playerid, COLOR_DBLUE, "Portao aberto, ele se fechara em 5 segundos!"); ObjectMovePlayer[playerid] = PortaoFT; if(IsDynamicObjectMoving(PortaoFT)) PlayerPlaySound(playerid, 1035, 0.0, 0.0, 0.0); } return true; } CMD:prota(playerid, params[]) { if ((IsACop(playerid)) && PlayerToPoint(15.0, playerid, 2237.1001000,2453.1001000,12.5000000)) { //ROTA Portoes MoveDynamicObject(PortaoROTA, 2237.1001000,2453.1001000,5.5000000,3, 0.00000, 0.00000, 90.00000); SetTimer(#MovePortaoBOPE, 5000, 0); GameTextForPlayer(playerid, "~w~Portao ~b~Aberto", 5000, 3); SendClientMessage(playerid, COLOR_DBLUE, "Portao aberto, ele se fechara em 5 segundos!"); ObjectMovePlayer[playerid] = PortaoROTA; if(IsDynamicObjectMoving(PortaoROTA)) PlayerPlaySound(playerid, 1035, 0.0, 0.0, 0.0); } return true; } CMD:pgroove(playerid) { if(!IsPlayerInRangeOfPoint(playerid, 15.0,2464.58862, -1659.06396, 15.15670) || GetPlayerOrg(playerid) != 14)return true; MoveDynamicObject(PortaoGroove, 2464.58862, -1659.06396, 9.15670,3,0.0000,0.0000,-90.0000); SetTimer(#MovePortaoGroove, 6000, 0); SendClientMessage(playerid, 0x243defFF, #Portao aberto fechara em 6 segundos); ObjectMovePlayer[playerid] = PortaoGroove; if(IsDynamicObjectMoving(PortaoGroove)) PlayerPlaySound(playerid, 1035, 0.0, 0.0, 0.0); return true; } CMD:mandarloc(playerid, params[]) { new id, Float:P[3]; GetPlayerPos(playerid, P[0], P[1], P[2]); if(sscanf(params, "u", id)) return SendClientMessage(playerid, COLOR_GRAD1, "Use: /mandarloc [ID/Nick]"); if(IsPlayerConnected(id)) { if(id == playerid) return SCM(playerid, COLOR_LIGHTGREEN, "Voce nao pode mandar a localizacao a si mesmo."); if(PlayerInfo[id][pEmprego] > 0)return SCM(playerid, -1, "{00FFFF} | INFO | Você não pode enviar localização para este jogador! Pois ele está em um emprego e em modo trabalho!"); format(strbrazz, 256, "{00FF00}[Localização] O Jogador(a): {FFFFFF}%s{00FF00} te enviou sua localização, veja em seu mapa.", PlayerName(playerid)); SendClientMessage(id, 0x00FF00FF, strbrazz); SetPlayerCheckpoint(id, P[0], P[1], P[2], 7.0); format(strbrazz, 256, "{00FF00}[Localização] Você enviou a sua localização para o jogador: {FFFFFF}%s{00FF00}!", PlayerName(id)); SendClientMessage(playerid, 0x00FF00FF, strbrazz); SetPlayerCheckpoint(id, P[0], P[1], P[2], 7.0); } else { SendClientMessage(playerid, COLOR_GRAD1, "Não existe nenhum jogador online com esse ID/Nick!"); } return 1; } CallBack::MovePortaoGroove() { foreach(Player, playerid) { if(ObjectMovePlayer[playerid] == 0) { PlayerPlaySound(playerid, 1035, 0.0, 0.0, 0.0); } } MoveDynamicObject(PortaoGroove,2464.58862, -1659.06396, 15.15670,3,0.0000, 0.0000, -90.0000); return true; } CallBack::MovePortaoBOPE() { foreach(Player, playerid) { if(ObjectMovePlayer[playerid] == 0) { PlayerPlaySound(playerid, 1035, 0.0, 0.0, 0.0); } } MoveDynamicObject(PortaoROTA,2237.1001000,2453.1001000,12.5000000,3, 0.00000, 0.00000, 90.00000); return true; } CallBack::MovePortaoCV() { foreach(Player, playerid) { if(ObjectMovePlayer[playerid] == 0) { PlayerPlaySound(playerid, 1035, 0.0, 0.0, 0.0); } } MoveDynamicObject(PortaoCV,2185.7000000,-1784.7000000,15.1000000,3, 0.00000, 0.00000, 0.00000); return true; } CallBack::MovePortaoFT() { foreach(Player, playerid) { if(ObjectMovePlayer[playerid] == 0) { PlayerPlaySound(playerid, 1035, 0.0, 0.0, 0.0); } } MoveDynamicObject(PortaoFT,-81.5000000,-1733.9000000,5.5000000,3, 0.00000, 0.00000, 0.00000); return true; } CallBack::MovePortaoMec() { MoveDynamicObject(portaomecls,1067.2301,1359.0468,11.6787,358.4865,0,0,0); return true; } CMD:ppc2(playerid, params[]) { if ((IsACop(playerid)) && PlayerToPoint(15.0, playerid, 920.6636,-1221.9191,16.9766)) { MoveDynamicObject( PortaoPC, 923.6992,-1236.6648,21.3379,3); MoveDynamicObject( PortaoPC3, 923.0747,-1205.6384,21.3828,3); SetTimer(#MovePortaoPC, 5000, 0); GameTextForPlayer(playerid, "~g~Portao Aberto", 5000, 3); SendClientMessage(playerid, COLOR_DBLUE, "Portao aberto, ele se fechara em 5 segundos!"); ObjectMovePlayer[playerid] = PortaoPC3; ObjectMovePlayer[playerid] = PortaoPC; if(IsDynamicObjectMoving(PortaoPC)) PlayerPlaySound(playerid, 1035, 0.0, 0.0, 0.0); } return true; } CallBack::MovePortaoPC() { foreach(Player, playerid) { if(ObjectMovePlayer[playerid] == 0) { PlayerPlaySound(playerid, 1035, 0.0, 0.0, 0.0); } } MoveDynamicObject(PortaoPC,924.12072754,-1226.29992676,19.55584717, 2); MoveDynamicObject(PortaoPC3,923.64532471,-1217.44934082,19.52149582, 2); return true; } CMD:ppc(playerid, params[]) { if ((IsACop(playerid)) && PlayerToPoint(15.0, playerid, 921.7433,-1209.4417,16.9766)) { MoveDynamicObject(pportaozin, 922.3876,-1195.3900,9.9766,2); SetTimer(#Movepportaozin, 5000, 0); GameTextForPlayer(playerid, "~g~Portao Aberto", 5000, 3); SendClientMessage(playerid, COLOR_DBLUE, "Portao aberto, ele se fechara em 5 segundos!"); ObjectMovePlayer[playerid] = pportaozin; if(IsDynamicObjectMoving(pportaozin)) PlayerPlaySound(playerid, 1035, 0.0, 0.0, 0.0); } return true; } CallBack::Movepportaozin() { foreach(Player, playerid) { if(ObjectMovePlayer[playerid] == 0) { PlayerPlaySound(playerid, 1035, 0.0, 0.0, 0.0); } } MoveDynamicObject(pportaozin, 922.90002441406, -1205.5999755859, 17.39999961853,3); return true; } //----------------------------------{Exercito}---------------------------------------- CMD:pgn(playerid, params[]) { if ((IsACop(playerid)) && PlayerToPoint(15.0, playerid, -1531.3978271484, 482.25979614258, 8.9530792236328)) { //GATEGaragem MoveDynamicObject(PDEx, -1531.3978271484, 482.25979614258, 14.9530792236328,3,0.0,0.0,360); GameTextForPlayer(playerid, "~w~Portao Exercito ~n~~b~Aberto", 5000, 3); SetTimer("PDEx2", 5000, false); SendClientMessage(playerid, COLOR_DBLUE, "Portao aberto, ele se fechara em 5 segundos!"); ObjectMovePlayer[playerid] = PDEx; if(IsDynamicObjectMoving(PDEx)) PlayerPlaySound(playerid, 1035, 0.0, 0.0, 0.0); } return true; } CMD:pgn2(playerid, params[]) { if ((IsACop(playerid)) && PlayerToPoint(40.0, playerid, -1468.76184, 501.28259, 11.96320)) { //GATEGaragem MoveDynamicObject( PDPE3, -1468.76184, 501.28259, 5.96320,3.0,0.0,0.0,0.0); GameTextForPlayer(playerid, "~w~Gate ~n~~b~Aberto", 4200, 3); SetTimer("pdppe3", 10000, false); SendClientMessage(playerid, COLOR_DBLUE, "Gate Aberto, ele fechara em 10 segundos!"); ObjectMovePlayer[playerid] = PDPE3; if(IsDynamicObjectMoving(PDPE3)) PlayerPlaySound(playerid, 6000, 0.0, 0.0, 0.0); } return true; } CMD:plate(playerid, params[]) { if ((IsACop(playerid)) && PlayerToPoint(40.0, playerid, -1456.71191, 501.31519, 9.84300)) { //GATEGaragem MoveDynamicObject( PDPE, -1456.71191, 501.31519, 2.84300,3.0,0.0,0.0,0.0); GameTextForPlayer(playerid, "~w~Plataforma ~n~~b~Descida", 4200, 3); SetTimer("pdppe", 10000, false); SendClientMessage(playerid, COLOR_DBLUE, "Plataforma Descida, ela subira em 10 segundos!"); ObjectMovePlayer[playerid] = PDPE; if(IsDynamicObjectMoving(PDPE)) PlayerPlaySound(playerid, 6000, 0.0, 0.0, 0.0); } return true; } CMD:plate2(playerid, params[]) { if ((IsACop(playerid)) && PlayerToPoint(40.0, playerid, -1414.45007, 516.45117, 16.67820)) { //GATEGaragem MoveDynamicObject( PDPE2, -1414.45007, 516.45117, 9.63820,3.0,0.0,0.0,0.0); GameTextForPlayer(playerid, "~w~Plataforma ~n~~b~Descida", 4200, 3); SetTimer("pdppe2", 10000, false); SendClientMessage(playerid, COLOR_DBLUE, "Plataforma Descida, ela subira em 10 segundos!"); ObjectMovePlayer[playerid] = PDPE2; if(IsDynamicObjectMoving(PDPE2)) PlayerPlaySound(playerid, 6000, 0.0, 0.0, 0.0); } return true; } //----------------------------------{PortaoReporter}---------------------------------------- CMD:preporter(playerid, params[]) { if ((IsAJornal(playerid)) && PlayerToPoint(15.0, playerid, 777.80017089844, -1330.2664794922, 14.200000762939)) { //PortaoAdmin MoveDynamicObject( PortaoReporter, 777.80017089844, -1330.2664794922, 20.200000762939,3,0.0,0.0,0.0); GameTextForPlayer(playerid, "~w~Portao Reporter ~n~~b~Aberto", 5000, 3); SetTimer("PortaoReporter2", 5000, false); SendClientMessage(playerid, COLOR_DBLUE, "Portao aberto, ele se fechara em 5 segundos!"); ObjectMovePlayer[playerid] = PortaoReporter; if(IsDynamicObjectMoving(PortaoReporter)) PlayerPlaySound(playerid, 1035, 0.0, 0.0, 0.0); } return true; } //----------------------------------{Portao Policia Federal}---------------------------------------- CMD:ajudahelper(playerid, params[]) { if(PlayerInfo[playerid][pHelper] >= 1) { SendClientMessage(playerid, COLOR_GREEN,"_______________________________________"); SendClientMessage(playerid, COLOR_WHITE, "*** AJUDA PARA HELPERS *** comando somente para helpers"); SendClientMessage(playerid, COLOR_GRAD1, "*** Nivel 1 *** /desbugarplayer /vercarteira /calar"); SendClientMessage(playerid, COLOR_GRAD1, "*** Nivel 1 *** /tv - Monitorar player /h - chat para helpers | /ah - chat para helpers e admins | /avh - aviso de helpers /avajuda - Mensagem Automatica Helper"); SendClientMessage(playerid, COLOR_GRAD1, "*** Nivel 1 *** /ajudar - entra em modo helper ou normal | /par - mensagens particulares | /hqhelper - ir para HQ helper"); SendClientMessage(playerid, COLOR_GRAD1, "*** Nivel 1 *** /desligarh - desliga o chat de helpers | /desligarah - desliga chat de helpers + admins"); SendClientMessage(playerid, COLOR_GRAD1, "*** Nivel 1 *** /meavalie - oferece a um player que ele te avalie, isto aumenta seu Nivel de Helper"); SendClientMessage(playerid, COLOR_GRAD1, "*** Nivel 1 *** /ir - comando para o helper poder ir ate os players | /desbugarplayer - Se caso o player bugar |"); SendClientMessage(playerid, COLOR_GRAD1, "*** Nivel 10 *** /punirnoob /bloquearn (Bloqueia mandar mensagens no Chat Noob) /bloquearan (Bloqueia o Player Mandar ANG)"); SendClientMessage(playerid, COLOR_GRAD1, "*** Nivel 340 *** NEW /KICK"); SendClientMessage(playerid, COLOR_GREEN,"_______________________________________"); } return true; } CMD:destruirveiculos(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] < 1338) { SendClientMessage(playerid, COLOR_GRAD1, LEVELADM); return true; } new pode = 1; for(new i; i < MAX_VEHICLES; i++) { foreach(Player, p) { if(i == VehicleMission[p]) { pode = 0; } if(CarConce[i] == 1) { pode = 0; } if(TextoCarros[i] == 1) { pode = 1; } } if(pode == 1) { if(hassiren[i]) { DestroyDynamicObject(siren[i]); hassiren[i] = 0; siren[i] = -1; } TextoCarros[i] = 0; DestroyVehicleEx(i); } } for(new i = 0; i < sizeof(CreatedCars); i++) { CreatedCars[i] = 0; } CreatedCar = 0; //SendClientMessage(playerid, COLOR_GREY, " Todos os veiculos criados foram destruidos!"); new string[100]; format(string, sizeof(string), "AdmCmd: O admin %s destruiu todos os carros criados no servidor.", NomePlayer(playerid)); ABroadCast(0x33CCFFAA,string,1); return true; } CMD:habilidades(playerid) { ShowPlayerDialog(playerid, menuskills, DIALOG_STYLE_LIST, "Habilidades", "1 - Detetive\n\ 2 - Advogado\n\ 3 - Profissional de Sexo\n\ 4 - Vendedor de Drogas\n\ 5 - Ladrao de Carros\n\ 6 - Reporter\n\ 7 - Mecanico", "Selecionar", "Sair"); return true; } CMD:arrombar(playerid, params[]) { if(IsACop(playerid) || IsAHit(playerid) || IsATriad(playerid)) { for(new i = 0; i < sizeof(HouseInfo); i++) { if (PlayerToPoint(3, playerid,HouseInfo[i][hEntrancex], HouseInfo[i][hEntrancey], HouseInfo[i][hEntrancez])) { SetPlayerInterior(playerid,HouseInfo[i][hInt]); SetPlayerPos(playerid,HouseInfo[i][hExitx],HouseInfo[i][hExity],HouseInfo[i][hExitz]); SetPlayerVirtualWorld(playerid,HouseInfo[i][hWorld]); GameTextForPlayer(playerid, "~r~Arrombou a Porta", 5000, 1); PlayerInfo[playerid][pInt] = HouseInfo[i][hInt]; PlayerInfo[playerid][pLocal] = i; HouseFed[playerid] = i; PlayerPlaySound(playerid, 32400, 0.0, 0.0, 0.0); } } if(IsPlayerInTriad(playerid) && IsACop(playerid)) { GameTextForPlayer(playerid, "~r~Arrombou a Porta", 5000, 1); PlayerPlaySound(playerid, 32400, 0.0, 0.0, 0.0); SendClientMessage(playerid, COLOR_GRAD1, "Voce entrou na Base Triad!"); SendFamilyMessage(22, COLOR_WHITE, "ATENCAO: Algum Policial Invadiu Seu Estacionamento e Os Alarmes Foram Disparados!!!"); if (GetPlayerState(playerid) == 2) { new tmpcar = GetPlayerVehicleID(playerid); SetVehiclePos(tmpcar, 891.5677,5.4377,4991.5107); SetPlayerFacingAngle(playerid,90.0); } else { SetPlayerInterior(playerid,0); SetPlayerVirtualWorld(playerid,0); SetPlayerPos(playerid,891.5677,5.4377,4991.5107); SetPlayerFacingAngle(playerid,90.0); } } if(PlayerToPoint(15.0, playerid, 933.0598,78.7635,4989.5107)) { GameTextForPlayer(playerid, "~r~Arrombou a Saida", 5000, 1); PlayerPlaySound(playerid, 32400, 0.0, 0.0, 0.0); SendClientMessage(playerid, COLOR_GRAD1, "Voce saiu da Base Triad!"); SendFamilyMessage(22, COLOR_WHITE, "ATENCAO: Algum Policial Saiu de Seu Estacionamento!!!"); if (GetPlayerState(playerid) == 2) { new tmpcar = GetPlayerVehicleID(playerid); SetVehiclePos(tmpcar, 1447.9453,-2698.9082,13.5391); SetVehicleZAngle(tmpcar,90.0); } else { SetPlayerInterior(playerid,0); SetPlayerVirtualWorld(playerid,0); SetPlayerPos(playerid,1447.9453,-2698.9082,13.5391); SetPlayerFacingAngle(playerid,90.5748); } } } else { SendClientMessage(playerid, COLOR_GREY, "Voce nao e um Oficial ou um Hitman !"); return true; } return true; } CMD:mudarsexo(playerid, x_sexo[]) { if(PlayerToPoint(10, playerid,1969.2876,-371.6323,1093.7289)) { GetPlayerName(playerid, sendername, sizeof(sendername)); if(isnull(x_sexo)) { SendClientMessage(playerid, COLOR_WHITE, "|______________ Cartorio ______________|"); SendClientMessage(playerid, COLOR_WHITE, "|Use: /mudarsexo [Numero/sexo]"); SendClientMessage(playerid, COLOR_GREY, "| 1 - Homem"); SendClientMessage(playerid, COLOR_GREY, "| 2 - Mulher"); return 1; } if(PlayerInfo[playerid][pLevel] < 20) { SendClientMessage(playerid,COLOR_GRAD2,"Voce precisa ser Level 20+ para mudar o sexo."); return true; } if(GetPlayerMoney(playerid) < 50000)return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao tem R$50000 para mudar o Sexo."); new string[128]; if(strcmp(x_sexo,"1",true) == 0 || strcmp(x_sexo,"homem",true) == 0) { GiveDinheiro(playerid,-5000); format(string, sizeof(string), "* Jogador %s mudou seu sexo para masculino.", sendername); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); PlayerInfo[playerid][pSex] = 1; SetPlayerSkin(playerid, 289); SendClientMessage(playerid,COLOR_GREEN,"Voce mudou seu sexo para masculino!"); return 1; } if(strcmp(x_sexo,"2",true) == 0 || strcmp(x_sexo,"mulher",true) == 0) { GiveDinheiro(playerid,-5000); format(string, sizeof(string), "* Jogador %s mudou seu sexo para feminino.", sendername); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); PlayerInfo[playerid][pSex] = 2; SetPlayerSkin(playerid, 150); SendClientMessage(playerid,COLOR_GREEN,"Voce trocou seu sexo para feminino!"); return 1; } } else { SendClientMessage(playerid, COLOR_LIGHTRED, "Voce nao esta Dentro da igreja de LS."); } return true; } CMD:casar(playerid, params[]) { if(!PlayerToPoint(10.0, playerid, 1964.0280,-369.0365,1093.7289)) { SendClientMessage(playerid, COLOR_GREY, "Voce nao esta dentro da Igreja de Los Santos !"); return true; } if(GetPlayerMoney(playerid) < 100) { SendClientMessage(playerid, COLOR_GREY, " Para se Casar Custa R$100 !"); return true; } if(PlayerInfo[playerid][pMarried] > 0) { SendClientMessage(playerid, COLOR_GREY, "Voce ja e casado !"); return true; } if(sscanf(params, "u", giveplayerid)) { SendClientMessage(playerid, COLOR_WHITE, "USE: /casar [ID do Player]"); return true; } if(IsPlayerConnected(giveplayerid)) { if(giveplayerid != INVALID_PLAYER_ID) { if(PlayerInfo[giveplayerid][pMarried] > 0) { SendClientMessage(playerid, COLOR_GREY, " Este jogador(a) ja e casado(a) !"); return true; } if (ProxDetectorS(8.0, playerid, giveplayerid)) { new string[128]; if(giveplayerid == playerid) { SendClientMessage(playerid, COLOR_GREY, "Voce nao pode propor a si mesmo!"); return true; } GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "* Voce propos casamento a %s.", giveplayer); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); format(string, sizeof(string), "* %s Voce foi pedida em casamento (Digite /aceitar casamento) para aceitar.", PlayerName(playerid)); SendClientMessage(giveplayerid, COLOR_LIGHTBLUE, string); ProposeOffer[giveplayerid] = playerid; } else { SendClientMessage(playerid, COLOR_GREY, " O Jogador nao esta perto de voce !"); return true; } } } else { SendClientMessage(playerid, COLOR_GREY, " O jogador esta offline !"); return true; } return true; } CMD:padrinho(playerid, params[]) { if(!PlayerToPoint(10.0, playerid, 1964.0280,-369.0365,1093.7289)) { SendClientMessage(playerid, COLOR_GREY, "Voce nao esta dentro da igreja de Los Santos !"); return true; } if(sscanf(params, "u", giveplayerid)) { SendClientMessage(playerid, COLOR_WHITE, "USE: /padrinho [ID do Player]"); return true; } if(IsPlayerConnected(giveplayerid)) { if(giveplayerid != INVALID_PLAYER_ID) { if (ProxDetectorS(8.0, playerid, giveplayerid)) { new string[128]; if(giveplayerid == playerid) { SendClientMessage(playerid, COLOR_GREY, "Voce nao pode ser marido e padrinho do casamento!"); return true; } GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "* Voce chamou %s para ser seu padrinho de casamento.", giveplayer); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); format(string, sizeof(string), "* %s Voce foi chamado para ser Padrinho do Casamento (Digite /aceitar padrinho) para aceitar.", PlayerName(playerid)); SendClientMessage(giveplayerid, COLOR_LIGHTBLUE, string); MarryWitnessOffer[giveplayerid] = playerid; } else { SendClientMessage(playerid, COLOR_GREY, " O Jogador nao esta perto de voce !"); return true; } } } else { SendClientMessage(playerid, COLOR_GREY, " O Jogador esta offline !"); return true; } return true; } //--------------------------------------Prefeito Comandos------------------------------------------- static stock SacarOrgGrana(org,valor) { new antes = CofreOrg[org][Dinheiro]; CofreOrg[org][Dinheiro] = antes-valor; new arquivo[75]; format(arquivo, sizeof(arquivo), Pasta_CofreOrg,org); DOF2_SetInt(arquivo,"Dinheiro",CofreOrg[org][Dinheiro]); DOF2_SaveFile(); return true; } static stock DepositarOrgGrana(org,valor) { new antes = CofreOrg[org][Dinheiro]; CofreOrg[org][Dinheiro] = antes+valor; new arquivo[75]; format(arquivo, sizeof(arquivo), Pasta_CofreOrg,org); DOF2_SetInt(arquivo,"Dinheiro",CofreOrg[org][Dinheiro]); DOF2_SaveFile(); return true; } CMD:setartaxa(playerid, params[]) { new NovaTaxa; if(sscanf(params, "d", NovaTaxa))return SendClientMessage(playerid, COLOR_GRAD1, "USE: /setartaxa [Valor]"); if(PlayerInfo[playerid][pLider] != 7) { SendClientMessage(playerid, COLOR_GREY, "Voce nao e o Governador !"); return true; } if(NovaTaxa < 1 || NovaTaxa > 1000) { SendClientMessage(playerid, COLOR_GREY, " Valor entre 1 - 1000 !"); return true; } GetPlayerName(playerid, sendername, sizeof(sendername)); TaxValue = NovaTaxa; new string[128]; format(string, sizeof string, "*O Governador %s setou a taxa de impostos por jogador para: R$%d.", sendername,TaxValue); SendClientMessageToAll(COLOR_LIGHTBLUE, string); return true; } CMD:bolsafamilia(playerid, params[]) { if(PlayerInfo[playerid][pLider] != 7) { SendClientMessage(playerid, COLOR_GREY, "Voce nao e o Governador !"); return true; } if(PlayerInfo[playerid][pJailed] >= 1) { SendClientMessage(playerid, COLOR_GRAD1, "Voce nao pode usar este comando na cadeia"); return 1; } new dindin; if(sscanf(params, "ud", giveplayerid, dindin)) { SendClientMessage(playerid, COLOR_GRAD1, "USE: /bolsafamilia [ID do Player] [quantidade]"); return true; } if(admtrampando[giveplayerid] != 0 && PlayerInfo[giveplayerid][pAdmin] >= 1) { SendClientMessage(playerid, COLOR_GREY, "Voce nao pode pagar para admins em trabalho!"); return true; } if(dindin < 1 || dindin > 10000) { SendClientMessage(playerid, COLOR_GRAD1, "Pagamento minimo 1, maximo 10000 por vez"); return true; } new string[128]; if (IsPlayerConnected(giveplayerid)) { if(giveplayerid != INVALID_PLAYER_ID) { if(PlayerInfo[giveplayerid][pLocal] == 106) { SendClientMessage(playerid, COLOR_GRAD1, "Voce nao pode usar este comando neste local"); return true; } if (ProxDetectorS(5.0, playerid, giveplayerid)) { GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); playerdinheiro = GetPlayerMoney(playerid); if (CofreOrg[7][Dinheiro] >= dindin) { SacarOrgGrana(7,dindin); PLV +=dindin; GiveDinheiro(giveplayerid, dindin); format(string, sizeof(string), "Voce deu Bolsa Famlia %s(Para: %d), R$%d.", giveplayer,giveplayerid, dindin); PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); SendClientMessage(playerid, COLOR_GRAD1, string); format(string, sizeof(string), "Voce recebeu R$%d de bolsa familia do governador %s(ID: %d).", dindin, sendername, playerid); SendClientMessage(giveplayerid, COLOR_GRAD1, string); format(string, sizeof(string), "%s deu grana para %s", sendername, giveplayer); CNFLogs("pay", string); //ABroadCast(COLOR_YELLOW,string,1); PlayerPlaySound(giveplayerid, 1052, 0.0, 0.0, 0.0); format(string, sizeof(string), "* %s deu Bolsa Familia para %s.", sendername ,giveplayer); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); } else { SendClientMessage(playerid, COLOR_GRAD1, "Voce nao esta com essa grana no Cofre."); } } else { SendClientMessage(playerid, COLOR_GRAD1, " Jogador esta longe."); } }//invalid id } else { format(string, sizeof(string), " %d nao e um jogador ativo.", giveplayerid); SendClientMessage(playerid, COLOR_GRAD1, string); } return true; } CMD:pagamento(playerid, params[]) { if(PlayerInfo[playerid][pLider] != 7) { SendClientMessage(playerid, COLOR_GREY, "Voce nao e o Governador !"); return true; } new org,dindin; if(sscanf(params, "dd", org, dindin)) { SendClientMessage(playerid, COLOR_GRAD1, "USE: /pagamento [ID da Org] [quantidade]"); return true; } if(Tax < 1) { SendClientMessage(playerid, COLOR_GREY, " Nao ha Dinheiro suficiente no banco de Impostos !"); return true; } if(org < 1 || org > 36) { SendClientMessage(playerid, COLOR_GREY, "Organizacões de 1 a 36"); return true; } new Orgs = 0; new string[128]; foreach(Player, i) { if(GetPlayerOrg(i) == org) { Orgs += 1; } } if(Orgs >= 1) { new price = dindin * Orgs; if(CofreOrg[7][Dinheiro] < price)return SendClientMessage(playerid, COLOR_GRAD1, "O cofre do Governo nao tem esse dinheiro todo!"); SacarOrgGrana(7,price); PLV += price; format(string, sizeof(string), "Voce deu R$%d de taxa para cada um da Organizacao %s!",dindin, GetOrgName(org)); SendClientMessage(playerid, COLOR_GREY, string); format(string, sizeof(string), "Gasto Total: R$%d!",price); SendClientMessage(playerid, COLOR_GREY, string); foreach(Player, i) { if(GetPlayerOrg(i) == org) { format(string, sizeof(string), "* Voce recebeu R$%d do banco de Impostos pelo Governador.",dindin); SendClientMessage(i, COLOR_LIGHTBLUE, string); GiveDinheiro(i, dindin); } } } else { SendClientMessage(playerid, COLOR_GREY, " Nao ha nenhum Membro Desta Org Online no Momento !"); return true; } return true; } CMD:limparpref(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] <= 1338) { SendClientMessage(playerid, COLOR_GREY, "Somente Administradores MASTER podem usar este comando!"); return true; } ShowPlayerDialog(playerid, 5556, DIALOG_STYLE_TABLIST_HEADERS, "Prefeitura", "Limpar Lucros Empresas\n\ Limpar Lucros Organizacoes\n\ Limpar Lucros Postos Gasolinas\n\ Limpar Multas Arquivadas\n\ Limpar Crimes Arquivados\n\ Limpar Lucros Investidos\n\ Limpar Manutencao de Carros\n\ Limpar Manutencao de Hidreletricas\n\ Limpar Manutencao de Encanamentos\n\ Limpar Reparo de Estradas\n\ Limpar Conserto de Estragos\n\ Limpar Dinheiro Usado\n", #Selecionar, #Voltar); return true; } CMD:dartaxa(playerid, params[]) { if(PlayerInfo[playerid][pLider] != 7) { SendClientMessage(playerid, COLOR_GREY, "Voce nao e o Governador !"); return true; } if(Tax < 1) { SendClientMessage(playerid, COLOR_GREY, " Nao ha Dinheiro suficiente no banco de Impostos !"); return true; } new Cops = 0; new string[128]; foreach(Player, i) { if(IsACop(i)) { Cops += 1; } } if(Cops >= 1) { new price = Tax / Cops; if(CofreOrg[7][Dinheiro] < Tax)return SendClientMessage(playerid, COLOR_GRAD1, "O cofre do Governo nao tem esse dinheiro todo!"); SacarOrgGrana(7,Tax); PLV += Tax; SendClientMessage(playerid, COLOR_GREY, "Voce deu a taxa para todos os policiais online!"); foreach(Player, i) { if(IsACop(i)) { format(string, sizeof(string), "* Voce recebeu R$%d do banco de Impostos pelo Governador.",price); SendClientMessage(i, COLOR_LIGHTBLUE, string); GiveDinheiro(i, price); } } } else { SendClientMessage(playerid, COLOR_GREY, " Nao ha nenhum Policial Online no Momento !"); return true; } return true; } //------------------------------------------------/Prefeito Comandos-------------------------------------------------------- CMD:mudarlocal(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] >= 1 && PlayerInfo[playerid][pAdmin] <= 1342) { if(PlayerInfo[playerid][pSpawn] == 2) { SendClientMessage(playerid, COLOR_GREY, "Voce vai nascer no local normal de nascimento ou em sua HQ !"); PlayerInfo[playerid][pSpawn] = 0; return 1; } else if(PlayerInfo[playerid][pSpawn] == 0) { if(PlayerInfo[playerid][pPHousekey] != 500) { SendClientMessage(playerid, COLOR_GREY, " Agora voce vai nascer em sua casa !"); PlayerInfo[playerid][pSpawn] = 1; return 1; } else { SendClientMessage(playerid, COLOR_GREY, " Agora voce vai nascer Na HQ ADM!"); PlayerInfo[playerid][pSpawn] = 2; return 1; } } else if(PlayerInfo[playerid][pSpawn] == 1) { SendClientMessage(playerid, COLOR_GREY, " Agora voce vai nascer Na HQ ADM!"); PlayerInfo[playerid][pSpawn] = 2; return 1; } return 1; } if(PlayerInfo[playerid][pPHousekey] != 500) { if(Spectate[playerid] != 255 && PlayerInfo[playerid][pAdmin] < 1 && PlayerInfo[playerid][pAdminTemp] < 1) { SendClientMessage(playerid, COLOR_GREY, "Voce esta na TV, nao pode mudar o spawn !"); return true; } if(PlayerInfo[playerid][pSpawn] == 1) { SendClientMessage(playerid, COLOR_GREY, "Voce vai nascer no local normal de nascimento ou em sua HQ !"); PlayerInfo[playerid][pSpawn] = 0; } else { SendClientMessage(playerid, COLOR_GREY, " Agora voce vai nascer em sua casa !"); PlayerInfo[playerid][pSpawn] = 1; } } else { SendClientMessage(playerid, COLOR_GREY, "Voce nao tem casa, nao pode mudar o local !"); return true; } return true; } CMD:nascerf(playerid) { PlayerInfo[playerid][pSpawn] = 3; SCM(playerid, -1, "nascera na familia"); return 1; } CMD:roupas(playerid, params[]) { if(PlayerInfo[playerid][pMembro] >= 1 || PlayerInfo[playerid][pLider] >= 1) { if(IsAtClothShop(playerid)) { Controle(playerid, 0); SelectChar[playerid] = 255; SelectCharID[playerid] = PlayerInfo[playerid][pMembro]; SelectCharPlace[playerid] = 1; PlayerInfo[playerid][pSkin] = ChosenSkin[playerid]; SendClientMessage(playerid, COLOR_LIGHTRED, "* Use 'Proximo' para trocar a skin."); SendClientMessage(playerid, COLOR_LIGHTRED, "* Quando Voce achar a Skin preferida, Digite 'Confirma'."); new rand = random(sizeof(gInviteSpawns)); SetPlayerPos(playerid, gInviteSpawns[rand][0], gInviteSpawns[rand][1], gInviteSpawns[rand][2]); // Warp the player SetPlayerFacingAngle(playerid, gInviteSpawns[rand][3]); SetPlayerCameraPos(playerid,gInviteSpawns[rand][0] + 3, gInviteSpawns[rand][1], gInviteSpawns[rand][2]); SetPlayerCameraLookAt(playerid,gInviteSpawns[rand][0], gInviteSpawns[rand][1], gInviteSpawns[rand][2]); Controle(playerid, 0); SelectChar[playerid] = 255; SelectCharID[playerid] = GetPlayerOrg(playerid); SelectCharPlace[playerid] = 1; ConviteInfoOrg(PlayerName(playerid), InviteJob[playerid], 1); ShowPlayerDialog(playerid, 643, DIALOG_STYLE_MSGBOX, "{00BFFF}Escolha Sua Skin", "{FFFFFF}Proximo: {00BFFF}Para trocar sua skin.\n{00BFFF}Confirmar: {FFFFFF}Para confirmar sua skin.", "Confirmar", "Proximo"); } else { SendClientMessage(playerid, COLOR_GRAD2, "Voce nao esta em uma loja de roupas !"); return true; } } else { SendClientMessage(playerid, COLOR_GRAD2, " Civis nao podem usar esse comando !"); return true; } return true; } CMD:sound(playerid, soundid[]) { new sd; if(sscanf(soundid, "d", sd)) { SendClientMessage(playerid, COLOR_WHITE,"USE: /sound [id]"); return true; } PlayerPlaySound(playerid, sd, 0.0, 0.0, 0.0); return true; } CMD:loteria(playerid, params[]) { new string[128]; if(PlayerInfo[playerid][pLottoNr] > 0)return SendClientMessage(playerid, COLOR_GREY, "Voce ja tem um bilhete de loteria !"); if(PlayerInfo[playerid][pLottoWin] > 0) { format(string, sizeof(string), "* Voce tem um Bilhete Premiado no Valor de R$%d.", PlayerInfo[playerid][pLottoWin]); SendClientMessage(playerid, COLOR_GREEN, string); SendClientMessage(playerid, COLOR_GREY, " Reclame Seu Premio na Loterica Primeiro!"); return 1; } if(GetPlayerMoney(playerid) < 10)return SendClientMessage(playerid, COLOR_GREY, "Voce nao tem R$10 para pagar o número de loteria !"); new lottonr; if(sscanf(params, "d", lottonr))return SendClientMessage(playerid, COLOR_WHITE,"USE: /loteria [número]"); if(lottonr < 1 || lottonr > 50)return SendClientMessage(playerid, COLOR_GREY, " Número da loteria, de 1 a 50 !"); format(string, sizeof(string), "* Voce comprou um bilhete de loteria com número: %d.", lottonr); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); GiveDinheiro(playerid, - 10); PlayerInfo[playerid][pLottoNr] = lottonr; return true; } CMD:retirarpremio(playerid, params[]) { if(PlayerToPoint(2.0,playerid,822.0089,1.8799,1004.1796)) { new string[128]; if(PlayerInfo[playerid][pLottoWin] > 0) { format(string, sizeof(string), "[Loteria] %s Retirou seu premio da loteria.", PlayerName(playerid)); SendClientMessageToAll(COR_3DLABEL, string); format(string, sizeof(string), "* Voce retirou seu premio no valor de R$%d.", PlayerInfo[playerid][pLottoWin]); SendClientMessage(playerid, COLOR_GREEN, string); SendClientMessage(playerid, COLOR_GREY, " O dinheiro foi depositado em sua conta!"); PlayerInfo[playerid][pConta]=PlayerInfo[playerid][pLottoWin]+PlayerInfo[playerid][pConta]; PlayerInfo[playerid][pLottoWin] = 0; return 1; } else { SendClientMessage(playerid, COLOR_GREY, " Voce nao tem um bilhete premiado!"); return 1; } } else { SendClientMessage(playerid, COLOR_GREY, "Voce nao esta na loterica!"); } return true; } CMD:beber(playerid, x_nr[]) { if(IsAtBar(playerid)) { if(PlayerInfo[playerid][pDorgado2] >= 70) { PlayerInfo[playerid][pDoenca] = 4; PlayerInfo[playerid][pDorgado2] = 0; SendClientMessage(playerid, COLOR_GRAD2, "* Voce esta infectado com cirrose, va ate um hospital se tratar !"); return true; } new string[128]; if(PlayerDrunk[playerid] < 10) { if(PlayerInfo[playerid][pDoenca] == 4) { SendClientMessage(playerid, COLOR_GRAD2, "* Voce esta com cirrose, va ate um hospital se tratar !"); return true; } new Float:health; if(isnull(x_nr)) { SendClientMessage(playerid, COLOR_WHITE, "|__________________[ Bar's Drinks ]__________________|"); SendClientMessage(playerid, COLOR_WHITE, "Use: /beber [Bebida]"); SendClientMessage(playerid, COLOR_GREY, "Nomes Validos: Cerveja (R$3), Vodka (R$5), Whisky (R$10), Coca-Cola (R$2), agua (R$1)"); return true; } if(strcmp(x_nr,"Cerveja",true) == 0) { if(PlayerInfo[playerid][pAge] < 0) { SendClientMessage(playerid, COLOR_WHITE, "BarMan - Voce Nao Tem 18 Anos ou mais Para Poder Beber."); return true; } PlayerInfo[playerid][pSede] += 15+random(10); if(PlayerInfo[playerid][pSede] > 100) PlayerInfo[playerid][pSede] = 100; GivePlayerMoneyEx(playerid, - 3); PlayerDrunk[playerid] += 1; PlayerInfo[playerid][pDorgado2] += 2; if(PlayerDrunk[playerid] >= 5) { GameTextForPlayer(playerid, "~w~Voce Esta~n~~p~Tonto~n~~g~beba agua ou coca-cola", 3500, 1); } SetPlayerDrunkLevel(playerid, GetPlayerDrunkLevel(playerid) + 3000); ApplyAnimationEx(playerid, "FOOD","EAT_Vomit_P",3.0,0,0,0,0,0); if(GetPlayerHealth(playerid, health) < 100) { if(PlayerInfo[playerid][pAlcoholPerk] > 0) { PlayerDrunk[playerid] += 1; new hp = 2 * PlayerInfo[playerid][pAlcoholPerk]; hp += 15; SetPlayerHealth(playerid, health + hp); } else { SetPlayerHealth(playerid, health + 15.0); } } } else if(strcmp(x_nr,"Vodka",true) == 0) { if(PlayerInfo[playerid][pAge] < 0) { SendClientMessage(playerid, COLOR_WHITE, "BarMan - Voce Nao Tem 18 Anos ou mais Para Poder Beber."); return true; } PlayerInfo[playerid][pSede] += 15+random(10); if(PlayerInfo[playerid][pSede] > 100) PlayerInfo[playerid][pSede] = 100; GivePlayerMoneyEx(playerid, - 5); PlayerDrunk[playerid] += 2; PlayerInfo[playerid][pDorgado2] += 2; SetPlayerDrunkLevel(playerid, GetPlayerDrunkLevel(playerid) + 3000); ApplyAnimationEx(playerid, "FOOD","EAT_Vomit_P",3.0,0,0,0,0,0); if(PlayerDrunk[playerid] >= 5) { GameTextForPlayer(playerid, "~w~Voce Esta~n~~p~Tonto~n~~g~beba agua ou coca-cola", 3500, 1); } if(GetPlayerHealth(playerid, health) < 100) { if(PlayerInfo[playerid][pAlcoholPerk] > 0) { PlayerDrunk[playerid] += 1; new hp = 2 * PlayerInfo[playerid][pAlcoholPerk]; hp += 25; SetPlayerHealth(playerid, health + hp); } else { SetPlayerHealth(playerid, health + 25.0); } } } else if(strcmp(x_nr,"Whisky",true) == 0) { if(PlayerInfo[playerid][pAge] < 0) { SendClientMessage(playerid, COLOR_WHITE, "BarMan - Voce Nao Tem 18 Anos ou mais Para Poder Beber"); return true; } PlayerInfo[playerid][pSede] += 15+random(10); if(PlayerInfo[playerid][pSede] > 100) PlayerInfo[playerid][pSede] = 100; GivePlayerMoneyEx(playerid, - 10); PlayerDrunk[playerid] += 3; PlayerInfo[playerid][pDorgado2] += 2; SetPlayerDrunkLevel(playerid, GetPlayerDrunkLevel(playerid) + 3000); ApplyAnimationEx(playerid, "FOOD","EAT_Vomit_P",3.0,0,0,0,0,0); if(PlayerDrunk[playerid] >= 5) { GameTextForPlayer(playerid, "~w~Voce Esta~n~~p~Tonto~n~~g~beba agua ou coca-cola", 3500, 1); } if(GetPlayerHealth(playerid, health) < 100) { if(PlayerInfo[playerid][pAlcoholPerk] > 0) { PlayerDrunk[playerid] += 1; new hp = 2 * PlayerInfo[playerid][pAlcoholPerk]; hp += 27; SetPlayerHealth(playerid, health + hp); } else { SetPlayerHealth(playerid, health + 27.0); } } } else if(strcmp(x_nr,"Coca-Cola",true) == 0) { PlayerInfo[playerid][pSede] += 15+random(10); if(PlayerInfo[playerid][pSede] > 100) PlayerInfo[playerid][pSede] = 100; GivePlayerMoneyEx(playerid, - 2); if(GetPlayerHealth(playerid, health) < 100) { if(PlayerInfo[playerid][pAlcoholPerk] > 0) { new hp = 2 * PlayerInfo[playerid][pAlcoholPerk]; hp += 5; SetPlayerHealth(playerid, health + hp); } else { SetPlayerHealth(playerid, health + 5.0); } SetPlayerDrunkLevel(playerid, 0); PlayerDrunk[playerid] = 0; PlayerDrunkTime[playerid] = 0; SetPlayerDrunkLevel (playerid, 0); } } else if(strcmp(x_nr,"agua",true) == 0) { PlayerInfo[playerid][pSede] += 15+random(10); if(PlayerInfo[playerid][pSede] > 100) PlayerInfo[playerid][pSede] = 100; GivePlayerMoneyEx(playerid, - 1); if(GetPlayerHealth(playerid, health) < 100) { if(PlayerInfo[playerid][pAlcoholPerk] > 0) { new hp = 2 * PlayerInfo[playerid][pAlcoholPerk]; hp += 5; SetPlayerHealth(playerid, health + hp); } else { SetPlayerHealth(playerid, health + 5.0); } SetPlayerDrunkLevel(playerid, 0); PlayerDrunk[playerid] = 0; PlayerDrunkTime[playerid] = 0; SetPlayerDrunkLevel (playerid, 0); } } else { SendClientMessage(playerid, COLOR_WHITE, "BarMan - Nao nao vendemos essa bebida."); return true; } GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "* %s bebeu um(a) %s.", sendername ,x_nr); SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DRINK_BEER); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); } else { SendClientMessage(playerid, COLOR_GREY, " Voce nao pode beber mais, Voce vomitou...!"); SetPlayerDrunkLevel(playerid, GetPlayerDrunkLevel(playerid) + 3000); new Float:x, Float:y, Float:z; GetPlayerPos(playerid, x, y, z); SoundInRange(32201, 20.0, x, y, z); format(string, sizeof(string), "* %s acaba de vomitar...", NomePlayer(playerid)); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); ApplyAnimationEx(playerid,"FOOD","EAT_Vomit_P",4.1,0,1,1,1,1); return true; } } else { SendClientMessage(playerid, COLOR_GREY, " Voce nao esta em um bar !"); return true; } return true; } CMD:ligarsom(playerid) { if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, COLOR_GRAD1, "Voce Precisa Estar em um Veiculo."); new mot, lu, alar, por, cap, porma, ob; GetVehicleParamsEx(GetPlayerVehicleID(playerid), mot, lu, alar, por, cap, porma, ob); if(mot != VEHICLE_PARAMS_OFF) { SendClientMessage(playerid, COLOR_GREY, " O Carro Precisa estar Desligado."); return true; } if(isPertoCarSound(playerid))return SendClientMessage(playerid, COLOR_GREY, " Ja existe um Carro com som tocando muito proximo a este local !"); if(isPertoSound(playerid))return SendClientMessage(playerid, COLOR_GREY, "Existe um radio tocando muito proximo a este local !"); if(isPlayerCarSound(playerid))return SendClientMessage(playerid, COLOR_GREY, " Seu Radio/Som ja esta tocando, desligue-o primeiro !"); // new VehicleModel = GetVehicleModel(GetPlayerVehicleID(playerid)); /*if(VehicleModel != 535) { SendClientMessage(playerid, COLOR_GREY, " Somente o SlamVam(ID:535)Tem Suporte para Som."); return true; }*/ if(VehicleInfo[GetPlayerVehicleID(playerid)][SoundCar] != 1086) return SendClientMessage(playerid, COLOR_GRAD1, "Antes Equipe seu carro com um Som na Transfender."); ShowPlayerDialog(playerid, 5412, DIALOG_STYLE_LIST, "Ligando Som do Carro", "Pesquisar musica\n\ Radios\n\ Desligar","Ligar","Sair"); return true; } CMD:desligarsom(playerid) { if(isPlayerSound(playerid)) { for(new x; x != MAX_SOUNDS; x++){ if(SomInfo[x][somID] == playerid) { if(IsPlayerInRangeOfPoint(playerid, 5.0, SomInfo[x][somX], SomInfo[x][somY], SomInfo[x][somZ])){ destroySound(x); SendClientMessage(playerid, COLOR_LIGHTBLUE, "Voce guardou seu radio, para pega-lo use /pegarradio"); return true; } else { SendClientMessage(playerid, COLOR_GREY, "Voce nao esta proximo do seu radio!"); return true; } } } } if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, COLOR_GRAD1, "Voce Precisa Estar em um Veiculo."); if(VehicleInfo[GetPlayerVehicleID(playerid)][carRadioOn] == 1) { destroyPlayerCarSound(playerid); new string[100]; format(string, sizeof(string), "* %s desligou o som do seu carro.", NomePlayer(playerid)); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); VehicleInfo[GetPlayerVehicleID(playerid)][carRadioOn] = 0; SendClientMessage(playerid, COLOR_GREY, " Som Desligado."); // new vehicleid = GetPlayerVehicleID(playerid); /*DestroyObject(Sound1[vehicleid]); DestroyObject(Sound2[vehicleid]); DestroyObject(Sound3[vehicleid]); DestroyObject(Sound4[vehicleid]);*/ return true; } else { SendClientMessage(playerid, COLOR_GREY, " O Som Ja esta Desligado."); return true; } } CMD:mp3(playerid, params[]) { if(!PlayerInfo[playerid][pCDPlayer]) return SendClientMessage(playerid, COLOR_GREY, "| ERRO | Você não tem um mp3."); ShowPlayerDialog(playerid, 5454, DIALOG_STYLE_LIST, "{EE82EE}|> Lista de Radios CNF <|", "{EE82EE}1 » {FFFFFF}Pop\n\ {EE82EE}2 » {FFFFFF}Sertanejo\n\ {EE82EE}3 » {FFFFFF}Rock\n\ {EE82EE}4 » {FFFFFF}POP2K\n\ {EE82EE}5 » {FFFFFF}LO-FI\n\ {EE82EE}6 » {FFFFFF}Tropical\n\ {EE82EE}7 » {FFFFFF}SMASH\n\ {EE82EE}8 » {FFFFFF}Hunter\n\ {EE82EE}9 » {FFFFFF}Funk\n\ {EE82EE}10 » {FFFFFF}Rave\n\ {EE82EE}11 » {FFFFFF}RADIO CNF EXCLUSIVA\n\ Desligar","Ligar","Sair"); return 1; } CMD:emprego(playerid, x_nr[]) { if(PlayerInfo[playerid][pJailed] == 9) return SendClientMessage(playerid,COLOR_GRAD1,"Voce nao pode usar este comando nas Celas da Administracao!"); if(PlayerInfo[playerid][pEmprego] != 0) return SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Voce tem um emprego digite /sairdoemprego para sair do emprego."); if(strcmp(x_nr,"taxista",true) == 0) { if(PlayerInfo[playerid][pLider] != 0 && PlayerInfo[playerid][pMembro] != 0) return SendClientMessage(playerid, COLOR_GRAD1, " Voce possui uma organizacao e nao pode pegar este emprego!"); if(PlayerInfo[playerid][pEmprego] != 0) return SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Voce tem um emprego digite /sairdoemprego para sair do emprego."); if(PlayerToPoint(2.0, playerid,1752.4963,-1903.0275,13.5630) || PlayerToPoint(2.0, playerid, 1706.7694,1317.8314,10.8203)) { if(PlayerToPoint(2.0, playerid,1752.4963,-1903.0275,13.5630)) PlayerInfo[playerid][CidadePegouEmprego] = 0; else PlayerInfo[playerid][CidadePegouEmprego] = 1; SendClientMessage(playerid, COLOR_LIGHTBLUE, "*Voce acabou de adquirir um novo emprego, digite /ajuda para ver os comandos!"); if(PlayerInfo[playerid][pSkinFixa] != 1){PlayerInfo[playerid][pSkin] = 253, SetPlayerSkin(playerid, PlayerInfo[playerid][pSkin]);} PlayerInfo[playerid][pEmprego] = 5; SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 0); } return true; } if(strcmp(x_nr,"frentista",true) == 0) { if(PlayerInfo[playerid][pLider] != 0 && PlayerInfo[playerid][pMembro] != 0) return SendClientMessage(playerid, COLOR_GRAD1, " Voce possui uma organizacao e nao pode pegar este emprego!"); if(PlayerToPoint(2.0, playerid,1924.0076,-1788.3060,13.3906)) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "*Voce acabou de adquirir um novo emprego, digite /ajuda para ver os comandos!"); if(PlayerInfo[playerid][pSkinFixa] != 1){PlayerInfo[playerid][pSkin] = 189, SetPlayerSkin(playerid, PlayerInfo[playerid][pSkin]);} PlayerInfo[playerid][pEmprego] = 14; SetPlayerPos(playerid, 1929.9363,-1780.5289,13.5469); SetPlayerFacingAngle(playerid, 312.3623); SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 0); } return true; } if(strcmp(x_nr,"entregaereo",true) == 0) { if(PlayerInfo[playerid][pLider] != 0 && PlayerInfo[playerid][pMembro] != 0) return SendClientMessage(playerid, COLOR_GRAD1, " Voce possui uma organizacao e nao pode pegar este emprego!"); if(PlayerToPoint(2.0, playerid,1340.9950,1700.2609,10.8203)) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "*Voce acabou de adquirir um novo emprego, digite /ajuda para ver os comandos!"); if(PlayerInfo[playerid][pSkinFixa] != 1){PlayerInfo[playerid][pSkin] = 299, SetPlayerSkin(playerid, PlayerInfo[playerid][pSkin]);} PlayerInfo[playerid][pEmprego] = 15; SetPlayerPos(playerid, 1340.9950,1700.2609,10.8203); SetPlayerFacingAngle(playerid, 6.4593); SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 0); } return true; } if(strcmp(x_nr,"bombeiro",true) == 0) { if(PlayerInfo[playerid][pLider] != 0 && PlayerInfo[playerid][pMembro] != 0) return SendClientMessage(playerid, COLOR_GRAD1, " Voce possui uma organizacao e nao pode pegar este emprego!"); if(PlayerToPoint(2.0, playerid,2018.2883,-2091.3528,13.6337)) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "*Voce acabou de adquirir um novo emprego, digite /ajuda para ver os comandos!"); if(PlayerInfo[playerid][pSkinFixa] != 1){PlayerInfo[playerid][pSkin] = 275, SetPlayerSkin(playerid, PlayerInfo[playerid][pSkin]);} PlayerInfo[playerid][pEmprego] = 6; SetPlayerPos(playerid, 2018.2883,-2091.3528,13.6337); SetPlayerFacingAngle(playerid, 61.3339); SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 0); } return true; } else if(strcmp(x_nr,"vprodutos",true) == 0) { if(PlayerInfo[playerid][pLider] != 0 && PlayerInfo[playerid][pMembro] != 0) return SendClientMessage(playerid, COLOR_GRAD1, " Voce possui uma organizacao e nao pode pegar este emprego!"); if(PlayerToPoint(2.0, playerid,2426.5676,-2102.7278,13.5469)) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "*Voce acabou de adquirir um novo emprego, digite /ajuda para ver os comandos!"); if(PlayerInfo[playerid][pSkinFixa] != 1){PlayerInfo[playerid][pSkin] = 16, SetPlayerSkin(playerid, PlayerInfo[playerid][pSkin]);} PlayerInfo[playerid][pEmprego] = 4; SetPlayerPos(playerid, 2426.5676,-2102.7278,13.5469); SetPlayerFacingAngle(playerid, 61.3339); SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 0); } return true; } else if(strcmp(x_nr,"caminhoneiro",true) == 0) { if(PlayerInfo[playerid][pLider] != 0 && PlayerInfo[playerid][pMembro] != 0) return SendClientMessage(playerid, COLOR_GRAD1, " Voce possui uma organizacao e nao pode pegar este emprego!"); if(PlayerToPoint(2.0, playerid,-63.7623,-1121.9281,1.0870)) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "*Voce acabou de adquirir um novo emprego, digite /ajuda para ver os comandos!"); if(PlayerInfo[playerid][pSkinFixa] != 1){PlayerInfo[playerid][pSkin] = 202, SetPlayerSkin(playerid, PlayerInfo[playerid][pSkin]);} PlayerInfo[playerid][pEmprego] = 13; SetPlayerSkin(playerid, PlayerInfo[playerid][pSkin]); SetPlayerPos(playerid, -63.7623,-1121.9281,1.0870); SetPlayerFacingAngle(playerid, 90); SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 0); } return true; } else if(strcmp(x_nr,"eletricista",true) == 0) { if(PlayerInfo[playerid][pLider] != 0 && PlayerInfo[playerid][pMembro] != 0) return SendClientMessage(playerid, COLOR_GRAD1, " Voce possui uma organizacao e nao pode pegar este emprego!"); if(PlayerToPoint(2.0, playerid,781.5250,-600.7427,16.3359)) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "*Voce acabou de adquirir um novo emprego, digite /ajuda para ver os comandos!"); if(PlayerInfo[playerid][pSkinFixa] != 1){PlayerInfo[playerid][pSkin] = 153, SetPlayerSkin(playerid, PlayerInfo[playerid][pSkin]);} PlayerInfo[playerid][pEmprego] = 12; SetPlayerSkin(playerid, PlayerInfo[playerid][pSkin]); SetPlayerPos(playerid, 781.5250,-600.7427,16.3359); SetPlayerFacingAngle(playerid, 320.8998); SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 0); } return true; } else if(strcmp(x_nr,"mecanico",true) == 0) { if(PlayerInfo[playerid][pLider] != 0 && PlayerInfo[playerid][pMembro] != 0) return SendClientMessage(playerid, COLOR_GRAD1, " Voce possui uma organizacao e nao pode pegar este emprego!"); if(PlayerToPoint(2.0, playerid,1561.6332,-2167.2244,13.5643) || PlayerToPoint(2.0, playerid,1662.2340,2199.0193,10.8203)) { if(PlayerToPoint(2.0, playerid,1561.6332,-2167.2244,13.5643)) PlayerInfo[playerid][CidadePegouEmprego] = 0; else PlayerInfo[playerid][CidadePegouEmprego] = 1; PlayerInfo[playerid][pEmprego] = 2; SendClientMessage(playerid, COLOR_LIGHTBLUE, "*Voce acabou de adquirir um novo emprego, digite /ajuda para ver os comandos!"); if(PlayerInfo[playerid][pSkinFixa] != 1){PlayerInfo[playerid][pSkin] = 50, SetPlayerSkin(playerid, PlayerInfo[playerid][pSkin]);} SetPlayerSkin(playerid, PlayerInfo[playerid][pSkin]); SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 0); } return true; } else if(strcmp(x_nr,"agricultor",true) == 0) { if(PlayerInfo[playerid][pLider] != 0 && PlayerInfo[playerid][pMembro] != 0) return SendClientMessage(playerid, COLOR_GRAD1, " Voce possui uma organizacao e nao pode pegar este emprego!"); if(PlayerToPoint(2.0, playerid,1926.1124,171.1314,37.2813)) { PlayerInfo[playerid][pEmprego] = 3; SendClientMessage(playerid, COLOR_LIGHTBLUE, "*Voce acabou de adquirir um novo emprego, digite /ajuda para ver os comandos!"); SetPlayerPos(playerid, 1926.1124,171.1314,37.2813); SetPlayerFacingAngle(playerid, 155.8103); SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 0); } return true; } else if(strcmp(x_nr,"onibus",true) == 0) { if(PlayerInfo[playerid][pLider] != 0 && PlayerInfo[playerid][pMembro] != 0) return SendClientMessage(playerid, COLOR_GRAD1, " Voce possui uma organizacao e nao pode pegar este emprego!"); if(PlayerToPoint(2.0, playerid,1425.5823,-2347.9338,13.5469)) { if(PlayerInfo[playerid][pSkinFixa] != 1){PlayerInfo[playerid][pSkin] = 253, SetPlayerSkin(playerid, PlayerInfo[playerid][pSkin]);} PlayerInfo[playerid][pEmprego] = 9; SendClientMessage(playerid, COLOR_LIGHTBLUE, "*Voce acabou de adquirir um novo emprego, digite /ajuda para ver os comandos!"); SetPlayerPos(playerid, 1425.5823,-2347.9338,13.5469); SetPlayerFacingAngle(playerid, 90.7641); SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 0); } return true; } else if(strcmp(x_nr,"entregador",true) == 0) { if(PlayerInfo[playerid][pLider] != 0 && PlayerInfo[playerid][pMembro] != 0) return SendClientMessage(playerid, COLOR_GRAD1, " Voce possui uma organizacao e nao pode pegar este emprego!"); if(PlayerToPoint(2.0, playerid,852.3289,-1436.3395,15.0437)) { PlayerInfo[playerid][pEmprego] = 7; SendClientMessage(playerid, COLOR_LIGHTBLUE, "*Voce acabou de adquirir um novo emprego, digite /ajuda para ver os comandos!"); SetPlayerPos(playerid, 852.3289,-1436.3395,15.0437); SetPlayerFacingAngle(playerid, 155.8103); SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 0); } return true; } else if(strcmp(x_nr,"gari",true) == 0) { if(PlayerInfo[playerid][pLider] != 0 && PlayerInfo[playerid][pMembro] != 0) return SendClientMessage(playerid, COLOR_GRAD1, " Voce possui uma organizacao e nao pode pegar este emprego!"); if(PlayerToPoint(2.0, playerid,2176.1892,-1976.0012,13.5547)) { PlayerInfo[playerid][pEmprego] = 8; SendClientMessage(playerid, COLOR_LIGHTBLUE, "*Voce acabou de adquirir um novo emprego, digite /ajuda para ver os comandos!"); SetPlayerPos(playerid, 2176.1892,-1976.0012,13.5547); SetPlayerFacingAngle(playerid, 155.8103); SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 0); } return true; } else if(strcmp(x_nr,"carroforte",true) == 0) { if(PlayerInfo[playerid][pLider] != 0 && PlayerInfo[playerid][pMembro] != 0) return SendClientMessage(playerid, COLOR_GRAD1, " Voce possui uma organizacao e nao pode pegar este emprego!"); if(PlayerToPoint(2.0, playerid,2372.6465,2467.4380,10.8203)) { PlayerInfo[playerid][pEmprego] = 9; SendClientMessage(playerid, COLOR_LIGHTBLUE, "*Voce acabou de adquirir um novo emprego, digite /ajuda para ver os comandos!"); SetPlayerPos(playerid, 2372.6465,2467.4380,10.8203); SetPlayerFacingAngle(playerid, 155.8103); SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 0); } return true; } else if(strcmp(x_nr,"paramedico",true) == 0) { if(PlayerInfo[playerid][pLider] != 0 && PlayerInfo[playerid][pMembro] != 0) return SendClientMessage(playerid, COLOR_GRAD1, " Voce possui uma organizacao e nao pode pegar este emprego!"); if(PlayerToPoint(2.0, playerid,1188.9204,-1331.0398,13.5608) || PlayerToPoint(2.0, playerid, 1604.8793,1818.1849,10.8203) || PlayerToPoint(2.0, playerid, 369.29999, 164.2, 1026.30005)) { if(PlayerToPoint(2.0, playerid,1188.9204,-1331.0398,13.5608)) PlayerInfo[playerid][CidadePegouEmprego] = 0; else PlayerInfo[playerid][CidadePegouEmprego] = 1; PlayerInfo[playerid][pEmprego] = 11; SendClientMessage(playerid, COLOR_LIGHTBLUE, "*Voce acabou de adquirir um novo emprego, digite /ajuda para ver os comandos!"); SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 0); } return true; } else { SendClientMessage(playerid, COLOR_GREY, "* Emprego Inexistente !"); } return true; } CMD:serial(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] < 1337) { SendClientMessage(playerid, COLOR_GRAD1, LEVELADM); return 1; } if(sscanf(params, "u", giveplayerid)) return SCM(playerid, COLOR_GRAD1, "Use: /serial [ID/Nick]"); format(strbrazz, 256, "{FFFFFF}Serial: %s: [%s]", PlayerName(giveplayerid), SerialPlayerHD(giveplayerid)); SCM(playerid, -1, strbrazz); return 1; } CMD:190(playerid) return ForT:servico(playerid, "policia"); CMD:servico(playerid, x_nr[]) { if(PlayerInfo[playerid][pJailed] == 9) { SendClientMessage(playerid,COLOR_GRAD1,"Voce nao pode usar este comando nas Celas da Administracao!"); return true; } if(isnull(x_nr)) { SendClientMessage(playerid, COLOR_WHITE, "|__________________[ Nomes dos Servicos ]__________________|"); SendClientMessage(playerid, COLOR_WHITE, "USE: /servico [nome]"); SendClientMessage(playerid, COLOR_GREY, "Servicos: taxi, moto-taxi, Medico, Mecanico, Policia, Bombeiro, Advogado, onibus, Detran "); return true; } new string[128]; if(strcmp(x_nr,"taxi",true) == 0) { if(TaxistaDrivers < 1) { SendClientMessage(playerid, COLOR_GREY, " Nao tem Taxista online agora, tente /servico onibus..."); return true; } if(TransportDuty[playerid] > 0) { SendClientMessage(playerid, COLOR_GREY, "Voce nao pode ligar para um Taxista agora !"); return true; } GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "** %s Necessita de um Taxista. (Use /aceitar taxi - Para Aceitar a Chamada)", PlayerName(playerid)); SendEmpregoMessage(5, TEAM_AZTECAS_COLOR, string); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Voce chamou um Taxista, espere a resposta..."); TaxistaCall = playerid; return true; } else if(strcmp(x_nr,"moto-taxi",true) == 0) { if(TaxistaDrivers < 1) { SendClientMessage(playerid, COLOR_GREY, " Nao tem nenhum Moto-Taxista online agora, espere algum entrar !"); return true; } if(TransportDuty[playerid] > 0) { SendClientMessage(playerid, COLOR_GREY, "Voce nao pode ligar para um Moto-Taxista agora !"); return true; } GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "** %s Necessita de um Taxista. (Use /aceitar moto-Taxista - Para Aceitar a Chamada)", PlayerName(playerid)); SendEmpregoMessage(5, TEAM_AZTECAS_COLOR, string); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Voce chamou um Moto-Taxista... Agora espere a resposta."); TaxistaCall = playerid; return true; } else if(strcmp(x_nr,"onibus",true) == 0) { if(BusDrivers < 1) { SendClientMessage(playerid, COLOR_LIGHTRED, "* Nao tem motorista de onibus online neste momento, espere um entrar !"); return true; } if(TransportDuty[playerid] > 0) { SendClientMessage(playerid, COLOR_GREY, "Voce nao pode chamar um onibus agora !"); return true; } GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "** %s Necessita de um Onibus. (Use /aceitar onibus - Para aceitar a chamada)", PlayerName(playerid)); SendEmpregoMessage(9, TEAM_AZTECAS_COLOR, string); SendEmpregoMessage(10, TEAM_AZTECAS_COLOR, string); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Voce chamou um Onibus... Agora espere a resposta."); BusCall = playerid; return true; } else if(strcmp(x_nr,"medico",true) == 0) { if(GetMedicosOnline() < 1) { SendClientMessage(playerid, COLOR_GREY, " Nao tem nenhum medico online neste momento, espere um entrar !"); return true; } GetPlayerName(playerid, sendername, sizeof(sendername)); foreach(Player, p) { if(PlayerInfo[p][pEmprego] == 11) if(PlayerInfo[p][pEmprego] == 14) if(PlayerInfo[p][pEmprego] == 16) { SCMf(p, 0xCD1212FF, "~> %s pediu um paramédico, utilize: /LocalizarJ %i", sendername, playerid); } } SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Voce chamou a Medicos.... Agora espere por resposta."); MedicCall = playerid; return true; } else if(strcmp(x_nr,"bombeiro",true) == 0) { if(Bombers < 1) { SendClientMessage(playerid, COLOR_GREY, " Nenhum Bombeiro online neste momento, espere um entrar !"); return 1; } GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "** %s Necessita de Bombeiros. (Use /aceitar bombeiro - Para aceitar a chamada)", PlayerName(playerid)); SendFamilyMessage(20, TEAM_AZTECAS_COLOR, string); SendEmpregoMessage(14, TEAM_AZTECAS_COLOR, string); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Voce chamou os Bombeiros.... Agora espere por resposta."); BombCall = playerid; return true; } else if(strcmp(x_nr,"policia",true) == 0) { if(Copsronda < 0) { SendClientMessage(playerid, COLOR_GREY, "Nenhum Policial em ronda no momento."); return true; } foreach(Player, i) { if(IsACop(i)) { if(PolicialInRonda[i] == 1) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Estao fazendo uma chamada."); return true; } } } GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "** %s esta precisando de um Policial. (Digite /aceitar chamada para aceitar a chamada)", PlayerName(playerid)); SendFamilyMessage(1, TEAM_AZTECAS_COLOR, string); SendFamilyMessage(2, TEAM_AZTECAS_COLOR, string); SendFamilyMessage(3, TEAM_AZTECAS_COLOR, string); SendFamilyMessage(16, TEAM_AZTECAS_COLOR, string); SendFamilyMessage(27, TEAM_AZTECAS_COLOR, string); SendFamilyMessage(11, TEAM_AZTECAS_COLOR, string); SendFamilyMessage(33, TEAM_AZTECAS_COLOR, string); SendFamilyMessage(35, TEAM_AZTECAS_COLOR, string); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Voce chamou um Policial Aguarde a Resposta."); CopsrondaCall = playerid; return true; } else if(strcmp(x_nr,"detran",true) == 0) { if(DetranTrampo < 0) { SendClientMessage(playerid, COLOR_GREY, " Nenhum Detran online neste momento, espere um entrar !"); return true; } GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "** %s Necessita de um guincho do Detran. (Use /aceitar detran - Para aceitar a chamada)", PlayerName(playerid)); SendFamilyMessage(34, TEAM_AZTECAS_COLOR, string); SendEmpregoMessage(10, TEAM_AZTECAS_COLOR, string); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Voce chamou um Detran... Agora espere por uma resposta."); DetranChamada = playerid; return true; } else if(strcmp(x_nr,"mecanico",true) == 0) { if(Mechanics < 1) { SendClientMessage(playerid, COLOR_GREY, " Nenhum Mecânico online neste momento, espere um entrar !"); return true; } GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "** %s Necessita de um mecânico. (Use /aceitar mecanico - Para aceitar a chamada)", PlayerName(playerid)); SendEmpregoMessage(2, TEAM_AZTECAS_COLOR, string); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Voce chamou um mecânico... Agora espere por uma resposta."); MechanicCall = playerid; return true; } else if(strcmp(x_nr,"advogado",true) == 0) { if(AdvOns < 1) { SendClientMessage(playerid, COLOR_GREY, " Nao tem nenhum Advogado online agora."); return true; } GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "** %s Precisa de um Advogado. (Use /aceitar advogado - Para Aceitar a Chamada)", PlayerName(playerid)); SendEmpregoMessage(2, TEAM_AZTECAS_COLOR, string); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Voce chamou por um Advogado,espere uma resposta..."); AdvCall = playerid; return true; } else { SendClientMessage(playerid, COLOR_GREY, " Servico Inexistente !"); } return true; } //Amarrar CMD:amarrar(playerid, params[]) { if(IsAMember(playerid)) { if(PlayerInfo[playerid][pCargo] < 3) { SendClientMessage(playerid, COLOR_GREY, "Voce precisa de cargo 3 ou mais para amarrar as pessoas. !"); return true; } if(PlayerInfo[playerid][pJailed] != 0)return SendClientMessage(playerid,COLOR_YELLOW,"Voce nao pode usar esse comando na cadeia!"); if(sscanf(params, "u", giveplayerid)) { SendClientMessage(playerid, COLOR_WHITE, "USE: /amarrar [ID do Player]"); return true; } if(IsPlayerConnected(giveplayerid)) { if(giveplayerid != INVALID_PLAYER_ID) { if(PlayerInfo[giveplayerid][pLevel] == 2) { SendClientMessage(playerid, COLOR_GRAD1, "Voce nao pode sequestrar novatos!"); return true; } if (ProxDetectorS(8.0, playerid, giveplayerid)) { new car = GetPlayerVehicleID(playerid); if(giveplayerid == playerid) { SendClientMessage(playerid, COLOR_GREY, "Voce nao pode se amarrar !"); return true; } if(IsPlayerInAnyVehicle(playerid) && GetPlayerState(playerid) == 2 && IsPlayerInVehicle(giveplayerid, car)) { new string[128]; GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "* Voce foi amarrado por %s.", PlayerName(playerid)); SendClientMessage(giveplayerid, COLOR_LIGHTBLUE, string); format(string, sizeof(string), "* Voce amarrou %s.", giveplayer); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); format(string, sizeof(string), "* %s amarrou %s", sendername ,giveplayer); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); GameTextForPlayer(giveplayerid, "~r~Amarrado", 2500, 3); Controle(giveplayerid, 0); PlayerTied[giveplayerid] = 1; PlayerInfo[giveplayerid][pMuted] = 1; pamarrar = 1; SetTimer("Amarrar",180000, 0); } else { SendClientMessage(playerid, COLOR_GREY, " O Jogador nao esta no seu carro, ou voce nao e o motorista !"); return true; } } else { SendClientMessage(playerid, COLOR_GREY, " O Jogador esta longe de Voce !"); return true; } } } else { SendClientMessage(playerid, COLOR_GREY, " O Jogador Esta Offline !"); return true; } } else { SendClientMessage(playerid, COLOR_GREY, "Voce nao e um mafioso !"); } return true; } CMD:ficha(playerid, params[]) { if(!IsACop(playerid)) { SendClientMessage(playerid, COLOR_GREY, "Voce nao e um policial!"); return true; } if(OnDuty[playerid] == 0) { SendClientMessage(playerid, COLOR_GREY, "Voce nao Bateu o cartao!"); return true; } if(PlayerInfo[playerid][pJailed] != 0)return SendClientMessage(playerid,COLOR_YELLOW,"Voce nao pode usar esse comando na cadeia!"); new tmpcar = GetPlayerVehicleID(playerid); if(sscanf(params, "u", giveplayerid)) { SendClientMessage(playerid, COLOR_GRAD2, "USE: /ficha [ID do Player]"); return true; } if(IsAPoliciaCar(tmpcar)||PlayerToPoint(60.0, playerid,232.8069,164.0555,1003.0234)||PlayerToPoint(60.0, playerid,232.2051,117.3912,1003.2188)||PlayerToPoint(20.0, playerid,322.4880,309.1409,999.1484)||PlayerToPoint(40.0, playerid,246.1936,69.8609,1003.6406)) { if(IsPlayerConnected(giveplayerid)) { new string[75]; if(GetPlayerWantedLevelEx(giveplayerid) > 0) { GetPlayerName(giveplayerid, sendername, sizeof(sendername)); SendClientMessage(playerid, COLOR_WHITE, "|______________ Ficha Na Policia ______________|"); format(string, sizeof(string), "Nome: %s", PlayerName(giveplayerid)); SendClientMessage(playerid, COLOR_WHITE,string); format(string, sizeof(string), "Crime: %s", PlayerCrime[giveplayerid][pAccusedof]); SendClientMessage(playerid, COLOR_GRAD2,string); format(string, sizeof(string), "Acusador: %s", PlayerCrime[giveplayerid][pVictim]); SendClientMessage(playerid, COLOR_GRAD3,string); } else { GetPlayerName(giveplayerid, sendername, sizeof(sendername)); SendClientMessage(playerid, COLOR_WHITE, "|______________ Ficha Na Policia ______________|"); format(string, sizeof(string), "Nome: %s", PlayerName(giveplayerid)); SendClientMessage(playerid, COLOR_WHITE,string); format(string, sizeof(string), "Crime: ********"); SendClientMessage(playerid, COLOR_GRAD2,string); format(string, sizeof(string), "Acusador: ********"); SendClientMessage(playerid, COLOR_GRAD3,string); } } else { SendClientMessage(playerid, COLOR_GREY, " O Jogador Esta Offline !"); return true; } } else { SendClientMessage(playerid, COLOR_GRAD2, "Voce tem que estar em um carro da policia ou em alguma HQ da policia!"); return true; } return true; } stock isOrgSeq(playerid){ switch(GetPlayerOrg(playerid)) { case 5,6,8,10,22,12,13,14,15,17,18,19,20,21,23,24,25,26,27,28,37, 38:return 1; } return 0; } CMD:retirar(playerid, params[]) { if(!IsACop(playerid)) { SendClientMessage(playerid, COLOR_GREY, "Voce nao e um policial!"); return true; } if(OnDuty[playerid] == 0) { SendClientMessage(playerid, COLOR_GREY, "Voce nao Bateu o cartao!"); return true; } if(PlayerInfo[playerid][pJailed] != 0)return SendClientMessage(playerid,COLOR_YELLOW,"Voce nao pode usar esse comando na cadeia!"); if(IsACop(playerid) || IsAGOV(playerid)) { if(PlayerInfo[playerid][pCargo] < 2) { SendClientMessage(playerid, COLOR_GREY, "Voce precisa de cargo 2 para usar este comando !"); return true; } new x_nr[32]; new string[128]; if(sscanf(params, "s[32]u", x_nr, giveplayerid)) { SendClientMessage(playerid, COLOR_WHITE, "|__________________[ Retirar ]__________________|"); SendClientMessage(playerid, COLOR_WHITE, "USE: /retirar [nome] [ID do Player]"); SendClientMessage(playerid, COLOR_GREY, "Nomes Disponiveis: Motorista, Piloto, Marujo, PorteLegal, Armas, Drogas, Materiais"); return true; } if(strcmp(x_nr,"Motorista",true) == 0) { if(IsPlayerConnected(giveplayerid)) { if (ProxDetectorS(8.0, playerid, giveplayerid)) { new cop[MAX_PLAYER_NAME]; GetPlayerName(playerid, cop, sizeof(cop)); new fudido[MAX_PLAYER_NAME]; GetPlayerName(giveplayerid, fudido, sizeof(fudido)); format(string, sizeof(string), "* Voce retirou a licenca de motorista de %s.", fudido); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); format(string, sizeof(string), "* Oficial %s Retirou sua licenca de motorista.", cop); SendClientMessage(giveplayerid, COLOR_LIGHTBLUE, string); PlayerInfo[giveplayerid][pCarLic] = 0; } else { SendClientMessage(playerid, COLOR_GREY, " O Jogador esta longe de voce !"); return true; } } else { SendClientMessage(playerid, COLOR_GREY, " O Jogador Esta Offline !"); return true; } } else if(strcmp(x_nr,"Piloto",true) == 0) { if(IsPlayerConnected(giveplayerid)) { if (ProxDetectorS(8.0, playerid, giveplayerid)) { new cop[MAX_PLAYER_NAME]; GetPlayerName(playerid, cop, sizeof(cop)); new fudido[MAX_PLAYER_NAME]; GetPlayerName(giveplayerid, fudido, sizeof(fudido)); format(string, sizeof(string), "* Voce retirou a licenca de Voo de %s.", fudido); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); format(string, sizeof(string), "* Oficial %s Retirou sua licenca de Voo.", cop); SendClientMessage(giveplayerid, COLOR_LIGHTBLUE, string); PlayerInfo[giveplayerid][pFlyLic] = 0; } else { SendClientMessage(playerid, COLOR_GREY, " O Jogador esta longe de Voce !"); return true; } } else { SendClientMessage(playerid, COLOR_GREY, " O Jogador Esta Offline !"); return true; } } else if(strcmp(x_nr,"PorteLegal",true) == 0) { if(IsPlayerConnected(giveplayerid)) { GetPlayerName(giveplayerid, sendername, sizeof(sendername)); if (ProxDetectorS(8.0, playerid, giveplayerid)) { new cop[MAX_PLAYER_NAME]; GetPlayerName(playerid, cop, sizeof(cop)); new fudido[MAX_PLAYER_NAME]; GetPlayerName(giveplayerid, fudido, sizeof(fudido)); format(string, sizeof(string), "* Voce retirou a licenca de Porte de Armas de %s.", fudido); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); format(string, sizeof(string), "* Oficial %s Retirou sua licenca de Porte de Armas.", cop); SendClientMessage(giveplayerid, COLOR_LIGHTBLUE, string); PlayerInfo[giveplayerid][pGunLic] = 0; } else { SendClientMessage(playerid, COLOR_GREY, " O Jogador esta longe de Voce !"); return true; } } else { SendClientMessage(playerid, COLOR_GREY, " O Jogador Esta Offline !"); return true; } } else if(strcmp(x_nr,"Marujo",true) == 0) { if(IsPlayerConnected(giveplayerid)) { GetPlayerName(giveplayerid, sendername, sizeof(sendername)); if (ProxDetectorS(8.0, playerid, giveplayerid)) { new cop[MAX_PLAYER_NAME]; GetPlayerName(playerid, cop, sizeof(cop)); new fudido[MAX_PLAYER_NAME]; GetPlayerName(giveplayerid, fudido, sizeof(fudido)); format(string, sizeof(string), "* Voce retirou a licenca de Navegacao de %s.", fudido); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); format(string, sizeof(string), "* Oficial %s Retirou sua licenca de Navegacao.", cop); SendClientMessage(giveplayerid, COLOR_LIGHTBLUE, string); PlayerInfo[giveplayerid][pBoatLic] = 0; } else { SendClientMessage(playerid, COLOR_GREY, " O Jogador esta longe de Voce !"); return true; } } else { SendClientMessage(playerid, COLOR_GREY, " O Jogador Esta Offline !"); return true; } } else if(strcmp(x_nr,"Armas",true) == 0) { if(IsPlayerConnected(giveplayerid)) { GetPlayerName(giveplayerid, sendername, sizeof(sendername)); if (ProxDetectorS(8.0, playerid, giveplayerid)) { new cop[MAX_PLAYER_NAME]; GetPlayerName(playerid, cop, sizeof(cop)); new fudido[MAX_PLAYER_NAME]; GetPlayerName(giveplayerid, fudido, sizeof(fudido)); format(string, sizeof(string), "* Voce retirou as Armas de %s.", fudido); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); format(string, sizeof(string), "* Oficial %s retirou suas Armas.", cop); SendClientMessage(giveplayerid, COLOR_LIGHTBLUE, string); ResetPlayerWeapons(giveplayerid); } else { SendClientMessage(playerid, COLOR_GREY, " O Jogador esta longe de Voce !"); return true; } } else { SendClientMessage(playerid, COLOR_GREY, " O Jogador Esta Offline !"); return true; } } else if(strcmp(x_nr,"Drogas",true) == 0) { if(IsPlayerConnected(giveplayerid)) { GetPlayerName(giveplayerid, sendername, sizeof(sendername)); if (ProxDetectorS(8.0, playerid, giveplayerid)) { new cop[MAX_PLAYER_NAME]; GetPlayerName(playerid, cop, sizeof(cop)); new fudido[MAX_PLAYER_NAME]; GetPlayerName(giveplayerid, fudido, sizeof(fudido)); format(string, sizeof(string), "* Voce retirou as Drogas de %s.", fudido); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); format(string, sizeof(string), "* Oficial %s retirou suas Drogas.", cop); SendClientMessage(giveplayerid, COLOR_LIGHTBLUE, string); PlayerInfo[giveplayerid][pDrogas] = 0; PlayerInfo[giveplayerid][pDrogas2] = 0; PlayerInfo[giveplayerid][pDrogas3] = 0; } else { SendClientMessage(playerid, COLOR_GREY, " O Jogador esta longe de Voce !"); return true; } } else { SendClientMessage(playerid, COLOR_GREY, " O Jogador Esta Offline !"); return true; } } else if(strcmp(x_nr,"Materiais",true) == 0) { if(IsPlayerConnected(giveplayerid)) { GetPlayerName(giveplayerid, sendername, sizeof(sendername)); if (ProxDetectorS(8.0, playerid, giveplayerid)) { new cop[MAX_PLAYER_NAME]; GetPlayerName(playerid, cop, sizeof(cop)); new fudido[MAX_PLAYER_NAME]; GetPlayerName(giveplayerid, fudido, sizeof(fudido)); format(string, sizeof(string), "* Voce retirou os Materiais de %s.", fudido); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); format(string, sizeof(string), "* Oficial %s Retirou seus Materiais.", cop); SendClientMessage(giveplayerid, COLOR_LIGHTBLUE, string); PlayerInfo[giveplayerid][pMats] = 0; } else { SendClientMessage(playerid, COLOR_GREY, " O Jogador esta longe de Voce !"); return true; } } else { SendClientMessage(playerid, COLOR_GREY, " O Jogador Esta Offline !"); return true; } } else { SendClientMessage(playerid, COLOR_GREY, " Nome invalido !"); return true; } } else { SendClientMessage(playerid, COLOR_GREY, "Voce nao e COP !"); return true; } return true; } stock GetNivelAdv(playerid) { new level = PlayerInfo[playerid][pLawSkill]; switch(level) { case 0..19:return 1; case 20..99:return 2; case 100..149:return 3; case 150..249:return 4; case 250..369:return 5; case 370..499:return 6; default:return 7; } return -1; } CMD:advogados(playerid) { new string[128], advogadosonlines; gs_Buffer[0] = EOS; strcat(gs_Buffer, "Id\tNome\tNivel\n"); for(new i = 0; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { if(PlayerInfo[i][pEmprego] == 1) { advogadosonlines++; GetPlayerName(i, sendername, sizeof(sendername)); format(string, 128, "%02d\t%s\t{00FFFF}Nivel %d\n\n", i, sendername, GetNivelAdv(i)); strcat(gs_Buffer, string); BPFInfo[playerid][Tels] = PlayerInfo[i][pPnumber]; BPFInfo[playerid][pTels] = i; } } } format(string, sizeof string, "Advogados Online ({01DF01}%d{FFFFFF})", advogadosonlines); return ShowPlayerDialog(playerid, DIALOG_SMS, 5, string, gs_Buffer, "Enviar SMS","Fechar"); } CMD:refem(playerid, params[]) { new acao[25]; if(sscanf(params, "s[25]", acao))return SendClientMessage(playerid, COLOR_GRAD1, "USE: /refem [nome]"), SendClientMessage(playerid, COLOR_GRAD1, "Nomes disponiveis: salvar, liberar"); if(strcmp(acao, "salvar", true) == 0) { return SendClientMessage(playerid, COLOR_GRAD1, "Este comando foi trocado para: /refemsalvar [ID do Player]"); } if(strcmp(acao, "liberar", true) == 0) { return SendClientMessage(playerid, COLOR_GRAD1, "Este comando foi trocado para: /refemliberar [ID do Player]"); } return true; } CMD:refemsalvar(playerid, params[]) { if(IsACop(playerid)) { if(PlayerInfo[playerid][pCargo] < 2) { SendClientMessage(playerid, COLOR_GREY, "Voce precisa de cargo 2 ou mais para salvar as pessoas !"); return true; } if(sscanf(params, "u", giveplayerid)) { SendClientMessage(playerid, COLOR_WHITE, "USE: /refemsalvar [ID do Player]"); return true; } if(IsPlayerConnected(giveplayerid)) { if (ProxDetectorS(8.0, playerid, giveplayerid)) { if(giveplayerid == playerid) { SendClientMessage(playerid, COLOR_GREY, "Voce nao pode salvar si mesmo!"); return true; } if(Sequestrado[giveplayerid]) { new string[128]; new org = GetPlayerOrg(playerid); GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "* Voce foi salvo por %s.", sendername); SendClientMessage(giveplayerid, COLOR_LIGHTBLUE, string); format(string, sizeof(string), "[SEQUESTRO] Atencao, %s %s conseguiu salvar o refem %s. Fim do Sequestro!",GetOrgName(org),sendername,giveplayer); SendClientMessageToAll(COLOR_DBLUE, string); format(string, sizeof(string), "* Voce salvou %s.", giveplayer); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); GameTextForPlayer(giveplayerid, "~g~Libertado", 2500, 3); Controle(giveplayerid, 1); Sequestrado[giveplayerid] = 0; PlayerTied[giveplayerid] = 0; PlayerInfo[giveplayerid][pMuted] = 0; PLO += 100; DepositarOrgGrana(7,100); } else { SendClientMessage(playerid, COLOR_GREY, " O Jogador nao esta sequestrado !"); return true; } } else { SendClientMessage(playerid, COLOR_GREY, " O Jogador esta longe de Voce !"); return true; } } else { SendClientMessage(playerid, COLOR_GREY, " O Jogador Esta Offline !"); return true; } } else { SendClientMessage(playerid, COLOR_GREY, "Voce nao e um Oficial !"); } return true; } CMD:iniciareletricista(playerid) { if(PlayerInfo[playerid][pEmprego] != 12 ) return SendClientMessage(playerid, COLOR_LIGHTBLUE, "[INFO] Voce precisa ser um eletricista, adquira na agencia de empregos!"); if(!IsPlayerInAnyVehicle(playerid)) return SCM(playerid, COLOR_LIGHTRED, "[Erro] Você precisa estar no carro dos eletricistas!"); new rand = random(sizeof(RotasEletricistas)); SetPlayerCheckpoint(playerid, RotasEletricistas[rand][0] ,RotasEletricistas[rand][1], RotasEletricistas[rand][2], 1.0); SendClientMessage(playerid, COLOR_LIGHTBLUE, "{FFFFFF}Você começou o trabalho! E um checkpoint foi marcado no seu mapa!"); elettrampando[playerid] = 1; return 1; } CMD:cancelareletricista(playerid) { if(PlayerInfo[playerid][pEmprego] != 12 ) return SendClientMessage(playerid, COLOR_LIGHTBLUE, "[INFO] Voce precisa ser um eletricista, adquira na agencia de empregos!"); SendClientMessage(playerid, COLOR_LIGHTBLUE, "{FFFFFF}Você cancelou seu trabalho!"); DisablePlayerCheckpoint(playerid); elettrampando[playerid] = 0; KillTimer(EletricistaTimer[playerid]); return 1; } CMD:cancelarcaminhoneiro(playerid) { if(PlayerInfo[playerid][pEmprego] != 12 ) return SendClientMessage(playerid, COLOR_LIGHTBLUE, "[INFO] Voce precisa ser um caminhoneiro, adquira na agencia de empregos!"); SendClientMessage(playerid, COLOR_LIGHTBLUE, "{FFFFFF}Você cancelou seu trabalho!"); DisablePlayerCheckpoint(playerid); CaminhoneiroTrampando[playerid] = 0; KillTimer(CaminhoneiroTimer[playerid]); return 1; } CMD:desamarrar(playerid, params[]) { if(IsAMember(playerid) || IsACop(playerid)) { if(PlayerInfo[playerid][pCargo] < 2) { SendClientMessage(playerid, COLOR_GREY, "Voce precisa de cargo 2 ou mais para desamarrar as pessoas !"); return true; } if(sscanf(params, "u", giveplayerid)) { SendClientMessage(playerid, COLOR_WHITE, "USE: /desamarrar [ID do Player]"); return true; } if(IsPlayerConnected(giveplayerid)) { if(giveplayerid != INVALID_PLAYER_ID) { if (ProxDetectorS(8.0, playerid, giveplayerid)) { if(giveplayerid == playerid) { SendClientMessage(playerid, COLOR_GREY, "Voce nao pode desamarrar a si mesmo!"); return true; } if(PlayerTied[giveplayerid]) { new string[128]; GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "* Voce foi libertado por %s.", sendername); SendClientMessage(giveplayerid, COLOR_LIGHTBLUE, string); format(string, sizeof(string), "* Voce libertou %s.", giveplayer); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); GameTextForPlayer(giveplayerid, "~g~Libertado", 2500, 3); Controle(giveplayerid, 1); PlayerTied[giveplayerid] = 0; PlayerInfo[giveplayerid][pMuted] = 0; } else { SendClientMessage(playerid, COLOR_GREY, " O Jogador nao esta sequestrado !"); return true; } } else { SendClientMessage(playerid, COLOR_GREY, " O Jogador esta longe de Voce !"); return true; } } } else { SendClientMessage(playerid, COLOR_GREY, " O Jogador Esta Offline !"); return true; } } else { SendClientMessage(playerid, COLOR_GREY, "Voce nao e um Ganngster !"); } return true; } IsAEmp910(playerid) { new emp = PlayerInfo[playerid][pEmprego]; switch(emp){ case 9, 10, 5: { return true; } } return 0; } CMD:corrida(playerid, params[]) { if(IsAEmp910(playerid)) { new string[128]; if(TransportDuty[playerid] > 0) { if(TransportDuty[playerid] == 1) { TaxistaDrivers -= 1; HideTaxista(playerid); if(TransportPlayer[playerid] !=-1) { HideTaxista(TransportPlayer[playerid]); TransportPlayer[TransportPlayer[playerid]] = -1; TransportPlayer[playerid] = -1; } } else if(TransportDuty[playerid] == 2) { BusDrivers -= 1; } TransportDuty[playerid] = 0; format(string, sizeof(string), "* Voce esta de folga e recebeu R$%d.", TransportMoney[playerid]); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); GiveDinheiro(playerid, TransportMoney[playerid]); TransportValue[playerid] = 0; TransportMoney[playerid] = 0; return true; } new Veh = GetPlayerVehicleID(playerid); if(IsATaxistaCar(Veh)) { if(PlayerInfo[playerid][pEmprego] == 10 || PlayerInfo[playerid][pEmprego] == 5 || GetPlayerOrg(playerid) == 30) { if(GetPlayerState(playerid) == 2) { if(sscanf(params, "d", moneys)) { SendClientMessage(playerid, COLOR_WHITE, "USE: /corrida [Preco]"); return true; } if(moneys < 1 || moneys > 999) { SendClientMessage(playerid, COLOR_GREY, " Preco da corrida minimo R$1 Maximo R$999!"); return true; } TaxistaDrivers += 1; TransportDuty[playerid] = 1; TransportValue[playerid] = moneys; GetPlayerName(playerid,sendername,sizeof(sendername)); format(string, sizeof(string), "Taxista %s esta em servico, Corrida: R$%d - Chame um Taxista /servico taxi", sendername, TransportValue[playerid]); OOCNews(TEAM_GROVE_COLOR,string); ShowTaxista(playerid); //new gstring[60]; format(gstring, sizeof(gstring), "Taximetro:~r~0/0"); PlayerTextDrawSetString(playerid,Taxistam[playerid], gstring); format(gstring, sizeof(gstring), "$00000"); PlayerTextDrawSetString(playerid,ValorTaxista[playerid], gstring); format(gstring, sizeof(gstring), "Passageiro:~n~~w~Ninguem"); PlayerTextDrawSetString(playerid,passTaxista[playerid], gstring); return true; } else { SendClientMessage(playerid, COLOR_GREY, "Voce nao e o motorista!"); return true; } } } else if(IsAOniCar(Veh) && PlayerInfo[playerid][pEmprego] == 9) { if(GetPlayerState(playerid) == 2) { if(sscanf(params, "d", moneys)) { SendClientMessage(playerid, COLOR_WHITE, "USE: /corrida [Preco]"); return true; } if(moneys < 1 || moneys > 999) { SendClientMessage(playerid, COLOR_GREY, " Preco da corrida Minimo R$1 Maximo R$999!"); return true; } BusDrivers += 1; TransportDuty[playerid] = 2; TransportValue[playerid]= moneys; GetPlayerName(playerid,sendername,sizeof(sendername)); format(string, sizeof(string), "Motorista de onibus %s esta em servico, Corrida: R$%d - Chame um onibus /servico onibus", sendername, TransportValue[playerid]); OOCNews(TEAM_GROVE_COLOR,string); return true; } else { SendClientMessage(playerid, COLOR_GREY, "Voce nao e o motorista!"); return true; } } else { SendClientMessage(playerid, COLOR_GREY, "Voce nao esta em um Taxi, onibus ou carro de Detran!"); return true; } } else { SendClientMessage(playerid,COLOR_GREY,"Voce nao e um Taxista /motorista de onibus!"); return true; } return true; } CMD:minhaslicencas(playerid, params[]) { new text1[20]; new text2[20]; new text4[20]; new text5[20]; new string[128]; if(PlayerInfo[playerid][pCarLic]) { text1 = "Passou"; } else { text1 = "Negativo"; } if(PlayerInfo[playerid][pFlyLic]) { text4 = "Passou"; } else { text4 = "Negativo"; } if(PlayerInfo[playerid][pBoatLic]) { text2 = "Passou"; } else { text2 = "Negativo"; } if(PlayerInfo[playerid][pGunLic]) { text5 = "Passou"; } else { text5 = "Negativo"; } SendClientMessage(playerid, COLOR_WHITE, "|__________________ Licencas __________________|"); format(string, sizeof(string), "** Motorista: %s.", text1); SendClientMessage(playerid, COLOR_GREY, string); format(string, sizeof(string), "** Piloto: %s.", text4); SendClientMessage(playerid, COLOR_GREY, string); format(string, sizeof(string), "** Marujo: %s.", text2); SendClientMessage(playerid, COLOR_GREY, string); format(string, sizeof(string), "** Pescador: Passou."); SendClientMessage(playerid, COLOR_GREY, string); format(string, sizeof(string), "** Armas: %s.", text5); SendClientMessage(playerid, COLOR_GREY, string); return true; } CMD:mostrarlicencas(playerid, params[]) { if(sscanf(params, "u", giveplayerid)) { SendClientMessage(playerid, COLOR_WHITE, "USE: /mostrarlicencas [ID do Player]"); return true; } if(IsPlayerConnected(giveplayerid)) { if(giveplayerid != INVALID_PLAYER_ID) { if(PlayerInfo[giveplayerid][pAdmin] && admtrampando[giveplayerid]) { SendClientMessage(playerid, COLOR_GREY, "Voce nao pode mostrar licencas para admins em modo trabalho !"); return true; } if (ProxDetectorS(8.0, playerid, giveplayerid)) { if(giveplayerid == playerid) { SendClientMessage(playerid, COLOR_GREY, "Para ver suas licencas Use: /minhaslicencas!"); return true; } GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); new text1[20]; new text2[20]; new text4[20]; new text5[20]; if(PlayerInfo[playerid][pCarLic]) { text1 = "Passou"; } else { text1 = "Negativo"; } if(PlayerInfo[playerid][pFlyLic]) { text4 = "Passou"; } else { text4 = "Negativo"; } new string[128]; if(PlayerInfo[playerid][pBoatLic]) { text2 = "Passou"; } else { text2 = "Negativo"; } if(PlayerInfo[playerid][pGunLic]) { text5 = "Passou"; } else { text5 = "Negativo"; } format(string, sizeof(string), "|__________ Licencas de %s __________|", PlayerName(playerid)); SendClientMessage(giveplayerid, COLOR_WHITE, string); format(string, sizeof(string), "** Motorista: %s.", text1); SendClientMessage(giveplayerid, COLOR_GREY, string); format(string, sizeof(string), "** Piloto: %s.", text4); SendClientMessage(giveplayerid, COLOR_GREY, string); format(string, sizeof(string), "** Marujo: %s.", text2); SendClientMessage(giveplayerid, COLOR_GREY, string); format(string, sizeof(string), "** Pescador: Passou."); SendClientMessage(giveplayerid, COLOR_GREY, string); format(string, sizeof(string), "** Armas: %s.", text5); SendClientMessage(giveplayerid, COLOR_GREY, string); format(string, sizeof(string), "* %s mostrou suas licencas para voce.", PlayerName(playerid)); SendClientMessage(giveplayerid, COLOR_LIGHTBLUE, string); format(string, sizeof(string), "* Voce mostrou suas licencas para %s.", giveplayer); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); } else { SendClientMessage(playerid, COLOR_GREY, " O Jogador esta longe de Voce !"); return true; } } } else { SendClientMessage(playerid, COLOR_GREY, " O Jogador esta offline !"); return true; } return true; } CMD:finalizarguerra(playerid, result[]) { if(PlayerInfo[playerid][pAdmin] < 2) { SendClientMessage(playerid, COLOR_GRAD1, LEVELADM); return 1; } if(!TendoGuerra)return SendClientMessage(playerid, COLOR_GRAD1, "Nao esta havendo uma guerra."); TempoGuerra = 0; EndGuerra(); teveguerra=false; new string[128]; format(string, sizeof string, "AdmCmd: O admin %s finalizou a Guerra.", NomePlayer(playerid)); SendClientMessageToAll(COLOR_LIGHTRED, string); return 1; } //-------------------- Ckeck S0beit Installed BY: SA-MP TEAM ------------- CMD:checksobeit(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] < 1 && PlayerInfo[playerid][pAdminTemp] < 1) return 1; new pid, string[128]; if(sscanf(params, "u", pid)) return SendClientMessage(playerid, -1, "USE: /checksobeit [playerid]"); if(!IsPlayerConnected(pid)) return SendClientMessage(playerid, -1, "Player nao conectado."); if(!gPlayerLogged[pid]) return SendClientMessage(playerid, -1, "Player nao logado."); if(!admtrampando[playerid] && PlayerInfo[playerid][pAdmin] < 1342) return SendClientMessage(playerid, COLOR_GRAD1, TRABALHARADM); if((gettime()-TempoAFK[pid]) > 3)return SendClientMessage(playerid, -1, "Este player esta de ESC."); SendClientMessage(playerid, COLOR_LIGHTRED, "FUNCIONALIDADE:"); SendClientMessage(playerid, COLOR_GRAD1, "IMPORTANTE LER: Se um jogador for congelado, e nao tiver o s0beit instalado em seu computador"); SendClientMessage(playerid, COLOR_GRAD1, "A posicao Z (Altura) da camera, fica no maximo 1.10000 metros de diferenca da posicao Z da skin."); SendClientMessage(playerid, COLOR_GRAD1, "Se o resultado for acima de 1.50000 metros, e de certeza que o jogador tem o s0beit instalado!"); SendClientMessage(playerid, COLOR_GRAD1, "Voce tera o resultado em alguns segundos, aguarde..."); new Float:x, Float:y, Float:z; GetPlayerPos(pid, x, y, z); SetPVarFloat(pid, "s0bx", x); SetPVarFloat(pid, "s0by", y); SetPVarFloat(pid, "s0bz", z); SetPVarInt(pid, "s0bint", GetPlayerInterior(pid)); SetPlayerInterior(pid, 0); SetPlayerPos(pid, 2821.2642,2475.0986,17.6719); SetPlayerFacingAngle(pid, 223.6292); Controle(pid, false); SetCameraBehindPlayer(pid); format(string, sizeof(string), "[Anti-S0beit]: Admin %s iniciou uma checagem de s0beit em %s.", NomePlayer(playerid), NomePlayer(pid)); ABroadCast(COLOR_LIGHTRED, string, 1); CNFLogs("s0beitCheck", string); //Starts0bCheck(pid, 0); SendClientMessage(pid, -1, "Por favor aguarde enquanto estamos realizando uma checagem."); SetTimerEx("Starts0bCheck", 2000, 0, "dd", pid, 0); return 1; } CallBack::Starts0bCheck(playerid, type) { if(IsPlayerConnected(playerid)) { new string[128]; // Don't check people in tutorial or hospital. if( IsPlayerInRangeOfPoint(playerid, 1.0, 1192.256836, -1304.637939, 7.0000) || // All Saints IsPlayerInRangeOfPoint(playerid, 1.0, 2012.323608, -1436.354370, 5.0000) || // County General IsPlayerInRangeOfPoint(playerid, 1.0, 764.4561160, -1761.971436, 0.0000) || // Tutorial First Position. IsPlayerInRangeOfPoint(playerid, 1.0, 2324.685303, -2340.955078, 0.0000)) { format(string, sizeof(string), "[Anti-S0beit]: Nao foi possivel realizar a checagem de s0beit em %s.", NomePlayer(playerid)); ABroadCast(0x00FFFFFF, string, 1); CNFLogs("s0beitCheck", string); return 1; // Tutorial Second Position. } if(IsPlayerInAnyVehicle(playerid)) { new Float:pos[3]; GetPlayerPos(playerid, pos[0], pos[1], pos[2]); SetPlayerPos(playerid, pos[0], pos[1], pos[2]); } SetCameraBehindPlayer(playerid); TogglePlayerControllableEx(playerid, 0); SetTimerEx("Finishs0bCheck", 5000, 0, "ii", playerid, type); } else { ABroadCast(0x00FFFFFF, "[Anti-S0beit]: Player nao esta mais conectado.", 1); } return 1; } forward Finishs0bCheck(playerid, type); public Finishs0bCheck(playerid, type) { if(IsPlayerConnected(playerid)) { new Float:testpos[6], string[128]; GetPlayerCameraPos(playerid, testpos[0], testpos[1], testpos[2]); GetPlayerPos(playerid, testpos[3], testpos[4], testpos[5]); TogglePlayerControllableEx(playerid, 1); if(floatabs(testpos[2] - testpos[5]) > 1.5) { format(string, sizeof string, "[Anti-S0beit]: RESULTADO: %s tem o s0beit instalado.", NomePlayer(playerid)); ABroadCast(COLOR_LIGHTRED, string, 1); CNFLogs("s0beitCheck", string); format(string, sizeof string, "[Anti-S0beit]: Posicao Z da Camera: %f.", testpos[2]); ABroadCast(COLOR_LIGHTRED, string, 1); CNFLogs("s0beitCheck", string); format(string, sizeof string, "[Anti-S0beit]: Posicao Z do Player: %f.", testpos[5]); ABroadCast(COLOR_LIGHTRED, string, 1); CNFLogs("s0beitCheck", string); format(string, sizeof string, "[Anti-S0beit]: Diferenca absoluta da Posicao Z: %f Metros.\r\n\r\n", floatabs(testpos[2] - testpos[5])); ABroadCast(COLOR_LIGHTRED, string, 1); CNFLogs("s0beitCheck", string); SendClientMessage(playerid, -1, "Obrigado, voce agora pode continuar jogando."); SetOriginalPos(playerid); } else { format(string, sizeof string, "[Anti-S0beit]: RESULTADO: %s nao tem o s0beit instalado.", NomePlayer(playerid)); ABroadCast(COLOR_GREEN, string, 1); CNFLogs("s0beitCheck", string); format(string, sizeof string, "[Anti-S0beit]: Posicao Z da Camera: %f.", testpos[2]); ABroadCast(COLOR_GREEN, string, 1); CNFLogs("s0beitCheck", string); format(string, sizeof string, "[Anti-S0beit]: Posicao Z do Player: %f.", testpos[5]); ABroadCast(COLOR_GREEN, string, 1); CNFLogs("s0beitCheck", string); format(string, sizeof string, "[Anti-S0beit]: Diferenca absoluta da Posicao Z: %f Metros.\r\n\r\n", floatabs(testpos[2] - testpos[5])); ABroadCast(COLOR_GREEN, string, 1); CNFLogs("s0beitCheck", string); SendClientMessage(playerid, -1, "Obrigado, voce agora pode continuar jogando."); SetOriginalPos(playerid); } } else { ABroadCast(0x00FFFFFF, "[Anti-S0beit]: Player nao esta mais conectado.", 1); } return 1; } stock SetOriginalPos(playerid) { SetPlayerInterior(playerid, GetPVarInt(playerid, "s0bint")); SetPlayerPos(playerid, GetPVarFloat(playerid, "s0bx"), GetPVarFloat(playerid, "s0by"), GetPVarFloat(playerid, "s0bz")); return 0; } CMD:abastecer(playerid, params[]) { if(!IsPlayerInAnyVehicle(playerid)) { SendClientMessage(playerid,0xF78181AA,"Voce nao esta em um veiculo!"); return true; } //new gstring[450]; if(Gas[GetPlayerVehicleID(playerid)] >= 100) return SendClientMessage(playerid,0x009CE8AA,"O tanque já está cheio."); if(IsAtGasStation(playerid)) { format(gstring,sizeof(gstring),"Digite a quantidade de litros que deseja abastecer\n\nPreço por Litro (R$4,00)"); ShowPlayerDialog(playerid,128,DIALOG_STYLE_INPUT,"Posto de Gasolina",gstring,"Abastecer","Cancelar"); } else { SendClientMessage(playerid,COLOR_GREY,"Voce nao esta em um Posto de Gasolina"); } return true; } CMD:pegarcombustivel(playerid, params[]) { if(IsAtGasStation(playerid)) { if(GetPlayerMoney(playerid) < 1000) return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao pode pagar pelo combustivel reserva."); if(!PlayerInfo[playerid][pGalao]) return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao tem um Galao de Gasolina, compre um na 24/7!"); if(PlayerInfo[playerid][pGasReserva] >= 50) return SendClientMessage(playerid, COLOR_GRAD1, "Voce pode carregar no maximo 50 litros de gasolina reserva."); new string[128]; PlayerInfo[playerid][pGasReserva] += 10; format(string, sizeof string, "*Voce pegou 10 de gasolina por R$1000, ao todo voce tem %d de gasolina reserva.", PlayerInfo[playerid][pGasReserva]); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); SendClientMessage(playerid, -1, "Agora quando acabar a gasolina de seu carro, voce pode usar /abastecerveiculo."); GiveDinheiro(playerid, -1000); } else { SendClientMessage(playerid,COLOR_GREY,"Voce nao esta em um Posto de Gasolina"); } return true; } CMD:abastecerveiculo(playerid, params[]) { new litros; if(sscanf(params, "d", litros))return SendClientMessage(playerid, COLOR_GRAD1, "USE: /abastecerveiculo [litros]"); if(!IsPlayerInAnyVehicle(playerid)) { SendClientMessage(playerid,0xF78181AA,"Voce nao esta em um veiculo!"); return true; } if(!PlayerInfo[playerid][pGalao]) return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao tem um Galao de Gasolina, compre um na 24/7!"); new vid = GetPlayerVehicleID(playerid); if(litros > PlayerInfo[playerid][pGasReserva] || litros < 1) return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao possui esta quantidade de gasolina reserva."); Gas[vid] += litros; PlayerInfo[playerid][pGasReserva] -= litros; new string[128]; format(string, sizeof string, "*Voce abasteceu seu carro com %d litros de gasolina reserva.", litros); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); format(string, sizeof string, "*Voce possui agora %d litros de gasolina reserva.", PlayerInfo[playerid][pGasReserva]); SendClientMessage(playerid, -1, string); return true; } CMD:imo(playerid, params[]) { if(!IsACop(playerid)) { SendClientMessage(playerid, COLOR_GREY, "Voce nao e um Policial!"); return true; } if(OnDuty[playerid] == 0) { SendClientMessage(playerid, COLOR_GREY, "Voce nao Bateu o cartao!"); return true; } if(PlayerInfo[playerid][pJailed] == 9) { SendClientMessage(playerid,COLOR_GRAD1,"Voce nao pode usar este comando nas Celas da Administracao!"); return true; } if(IsACop(playerid) || IsAGOV(playerid)) { if(IsPlayerInAnyVehicle(playerid)) { SendClientMessage(playerid, COLOR_GREY, " Nao e possivel imobilizar de dentro do carro !"); return true; } new suspect = GetClosestPlayer(playerid); if(IsPlayerConnected(suspect)) { if(IsPlayerInAnyVehicle(suspect)) { SendClientMessage(playerid, COLOR_GREY, " Nao e possivel imobilizar um player dentro do carro !"); return true; } if(PlayerInfo[suspect][pAdmin] && admtrampando[suspect]) { SendClientMessage(playerid, COLOR_GREY, "Voce nao pode imobilizar admins em modo trabalho !"); return true; } if(GetDistanceBetweenPlayers(playerid,suspect) < 3) { new string[128]; if(IsPlayerInAnyVehicle(suspect)) { SendClientMessage(playerid, COLOR_GREY, " O suspeito esta em um carro, faca ele descer antes !"); return true; } if(IsACop(giveplayerid)) { SendClientMessage(playerid, COLOR_GRAD1, "Voce nao pode dar imo em Policiais!"); return true; } GetPlayerName(suspect, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "* Voce foi imobilizado por %s por 20 segundos.", PlayerName(playerid)); SendClientMessage(suspect, COLOR_LIGHTBLUE, string); format(string, sizeof(string), "* Voce imobilizou o(a) %s por 20 segundos.", giveplayer); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); format(string, sizeof(string), "* Oficial %s imobilizou %s.", sendername ,giveplayer); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); GameTextForPlayer(suspect, "~r~Imobilizado", 2500, 3); Controle(suspect, 0); ApplyAnimation(suspect, "CRACK", "crckdeth2", 4.0, 1, 0, 0, 0, 0); // recolocar PlayerCuffed[suspect] = 1; PlayerCuffedTime[suspect] = 20; antihands[suspect] = 1; } else { SendClientMessage(playerid, COLOR_GREY, " Ele nao esta perto de Voce!"); return true; } } } else { SendClientMessage(playerid, COLOR_GREY, "Voce nao e um Oficial !"); } return true; } CMD:algemar(playerid, params[]) { if(!IsACop(playerid)) { SendClientMessage(playerid, COLOR_GREY, "Voce nao e um policial!"); return true; } if(OnDuty[playerid] == 0) { SendClientMessage(playerid, COLOR_GREY, "Voce nao Bateu o cartao!"); return true; } if(sscanf(params, "u", giveplayerid)) { SendClientMessage(playerid, COLOR_WHITE, "USE: /algemar [ID do Player]"); return true; } if(IsPlayerInAnyVehicle(playerid)) { SendClientMessage(playerid, COLOR_GREY, " Nao e possivel algemar de dentro do carro !"); return true; } if(IsPlayerConnected(giveplayerid)) { new string[128]; if(giveplayerid != INVALID_PLAYER_ID) { if(IsACop(giveplayerid)) { SendClientMessage(playerid, COLOR_GREY, "Voce nao pode algemar COPs !"); return true; } if(PlayerInfo[giveplayerid][pAdmin] && admtrampando[giveplayerid]) { SendClientMessage(playerid, COLOR_GREY, "Voce nao pode algemar admins em modo trabalho !"); return true; } if(IsPlayerInAnyVehicle(giveplayerid)) { SendClientMessage(playerid, COLOR_GREY, " Nao e possivel algemar um player dentro do carro !"); return true; } if (ProxDetectorS(8.0, playerid, giveplayerid)) { if(giveplayerid == playerid) { SendClientMessage(playerid, COLOR_GREY, "Voce nao pode se algemar!"); return true; } new skin = GetPlayerSkin(giveplayerid); GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "* Voce foi algemado pelo: %s.", PlayerName(playerid)); SendClientMessage(giveplayerid, COLOR_LIGHTBLUE, string); SetArmament(giveplayerid, 11749); format(string, sizeof(string), "* Voce algemou %s.", giveplayer); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); format(string, sizeof(string), "* Oficial %s algemou %s.", sendername ,giveplayer); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); GameTextForPlayer(giveplayerid, "~r~Algemado", 2500, 3); PlayerCuffed[giveplayerid] = 2; antihands[giveplayerid] = 1; new id = CountAttachedObjects(giveplayerid); SetPlayerAttachedObject_Droid(giveplayerid, id, 19418, 6, CUFF_CuffObjectOffsets[skin][0], CUFF_CuffObjectOffsets[skin][1], CUFF_CuffObjectOffsets[skin][2], CUFF_CuffObjectOffsets[skin][3], CUFF_CuffObjectOffsets[skin][4], CUFF_CuffObjectOffsets[skin][5], CUFF_CuffObjectOffsets[skin][6], CUFF_CuffObjectOffsets[skin][7], CUFF_CuffObjectOffsets[skin][8]); SetPlayerAttachedObjectEx(19418,Vaga_Corrente,giveplayerid,id); SetPlayerSpecialAction(giveplayerid, SPECIAL_ACTION_CUFFED); } else { SendClientMessage(playerid, COLOR_GREY, " O Jogador esta longe de Voce !"); return true; } } } else { SendClientMessage(playerid, COLOR_GREY, " O Jogador Esta Offline !"); return true; } return true; } CMD:arrastar(playerid, params[]) { if(!IsACop(playerid)) { SendClientMessage(playerid, COLOR_GREY, "Voce nao e um policial!"); return true; } if(OnDuty[playerid] == 0) { SendClientMessage(playerid, COLOR_GREY, "Voce nao Bateu o cartao!"); return true; } if(!IsPlayerInAnyVehicle(playerid)) { SendClientMessage(playerid, COLOR_GREY, "Voce nao esta dentro de um veiculo!"); return true; } if(sscanf(params, "u", giveplayerid)) { SendClientMessage(playerid, COLOR_WHITE, "USE: /arrastar [ID do Player]"); return true; } if(IsPlayerConnected(giveplayerid)) { new string[128]; if(giveplayerid != INVALID_PLAYER_ID) { if(PlayerInfo[giveplayerid][pAdmin] && admtrampando[giveplayerid]) { SendClientMessage(playerid, COLOR_GREY, "Voce nao pode arrastar admins em modo trabalho !"); return true; } if (ProxDetectorS(5.0, playerid, giveplayerid)) { if(GetPlayerVehicleID(playerid) == GetPlayerVehicleID(giveplayerid)) { if(PlayerCuffed[giveplayerid] == 2) { return SendClientMessage(playerid, COLOR_WHITE, "Este player ja foi Arrastado em Seu Carro."); } } if(GetPlayerVehicleID(playerid) == Inenforcer[giveplayerid]) { return SendClientMessage(playerid, COLOR_WHITE, "Este player ja esta dentro de seu carro,Na Cela."); } if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 427) { GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "* Voce foi arrastado pelo: %s para a Cela.", PlayerName(playerid)); SendClientMessage(giveplayerid, COLOR_LIGHTBLUE, string); format(string, sizeof(string), "* Voce arrastou %s para a Cela.", giveplayer); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); format(string, sizeof(string), "* Oficial %s arrastou e algemou %s para a Cela.", sendername ,giveplayer); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); GameTextForPlayer(giveplayerid, "~r~Arrastado e Algemado para a Cela", 2500, 3); Controle(giveplayerid, 1); PlayerCuffed[giveplayerid] = 2; antihands[giveplayerid] = 1; new id = CountAttachedObjects(giveplayerid); SetPlayerAttachedObject_Droid(giveplayerid, id, 19418, 6, -0.031999, 0.024000, -0.024000, -7.900000, -32.000011, -72.299987, 1.115998, 1.322000, 1.406000); SetPlayerAttachedObjectEx(19418,Vaga_Corrente,giveplayerid,id); SetPlayerSpecialAction(giveplayerid, SPECIAL_ACTION_CUFFED); SetPlayerVirtualWorld(giveplayerid, GetPlayerVehicleID(playerid)); SetPlayerPos(giveplayerid, 2079.6230,-1374.6514,3000.5588); SetPlayerFacingAngle(giveplayerid, 0); SetCameraBehindPlayer(giveplayerid); SetPlayerInterior(giveplayerid, 1); Inenforcer[giveplayerid] = GetPlayerVehicleID(playerid); SendClientMessage(giveplayerid, COLOR_GREY, " *Voce so pode sair daqui se for Desalgemado!"); return 1; } GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "* Voce foi arrastado pelo: %s.", PlayerName(playerid)); SendClientMessage(giveplayerid, COLOR_LIGHTBLUE, string); format(string, sizeof(string), "* Voce arrastou %s.", giveplayer); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); format(string, sizeof(string), "* Oficial %s arrastou e algemou %s.", sendername ,giveplayer); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); GameTextForPlayer(giveplayerid, "~r~Arrastado e Algemado", 2500, 3); Controle(giveplayerid, 0); PlayerCuffed[giveplayerid] = 2; antihands[giveplayerid] = 1; new id = CountAttachedObjects(playerid); SetPlayerAttachedObject_Droid(giveplayerid, id, 19418, 6, -0.031999, 0.024000, -0.024000, -7.900000, -32.000011, -72.299987, 1.115998, 1.322000, 1.406000); SetPlayerAttachedObjectEx(19418,Vaga_Corrente,giveplayerid,id); SetPlayerSpecialAction(giveplayerid, SPECIAL_ACTION_CUFFED); PutPlayerInVehicle(giveplayerid, GetPlayerVehicleID(playerid), 2); } else { SendClientMessage(playerid, COLOR_GREY, " O Jogador esta longe de Voce !"); return true; } } } else { SendClientMessage(playerid, COLOR_GREY, " O Jogador Esta Offline !"); return true; } return true; } CMD:vozdeprisao(playerid, params[])return ForT:vdp(playerid,params); CMD:vdp(playerid, params[]) { if(!IsACop(playerid)) { SendClientMessage(playerid, COLOR_GREY, "Voce nao e um policial!"); return true; } if(OnDuty[playerid] == 0) { SendClientMessage(playerid, COLOR_GREY, "Voce nao Bateu o cartao!"); return true; } if(PlayerInfo[playerid][pJailed] == 9) { SendClientMessage(playerid,COLOR_GRAD1,"Voce nao pode usar este comando nas Celas da Administracao!"); return true; } if(sscanf(params, "u", giveplayerid)) { SendClientMessage(playerid, COLOR_WHITE, "USE: /vozdeprisao [ID do Player]"); return true; } if(IsPlayerConnected(giveplayerid)) { if(giveplayerid != INVALID_PLAYER_ID) { if(WantedPoints[giveplayerid] == 0) { SendClientMessage(playerid, COLOR_GREY, " Este jogador nao esta sendo procurado!"); return true; } if(PlayerInfo[giveplayerid][pAdmin] && admtrampando[giveplayerid]) { SendClientMessage(playerid, COLOR_GREY, "Voce nao pode dar vdp em admins em modo trabalho !"); return true; } if(VozDePrisao[giveplayerid] == 1) { SendClientMessage(playerid, COLOR_GREY, " Alguem ja deu voz de prisao a este Jogador!"); return true; } if (ProxDetectorS(9.0, playerid, giveplayerid)) { new string[128]; GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "*Oficial %s diz: Parado! Voce e procurado pela justica, renda-se agora!", PlayerName(playerid)); SendClientMessage(giveplayerid, COLOR_YELLOW, string); format(string, sizeof(string), "OBS: Se voce desconectar agora, sera preso automaticamente, faca com que o policial perca-o de vista!!!", PlayerName(playerid)); SendClientMessage(giveplayerid, COLOR_YELLOW2, string); format(string, sizeof(string), "*Voce deu voz de prisao a %s.", giveplayer); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); format(string, sizeof(string), "Se o jogador se desconectar agora, sera preso automaticamente, nao perca-o de vista!!!", giveplayer); SendClientMessage(playerid, COLOR_LIGHTRED, string); PutaGorda[giveplayerid] = SetTimerEx("VozDePrisaoo", 1000, 1, "ii", giveplayerid, playerid); VozDePrisao[giveplayerid] = 1; } else { SendClientMessage(playerid, COLOR_GREY, " O Jogador esta longe de Voce !"); return true; } } } else { SendClientMessage(playerid, COLOR_GREY, " O Jogador Esta Offline !"); return true; } return true; } CMD:desalgemar(playerid, params[]) { if(IsACop(playerid)) { if(sscanf(params, "u", giveplayerid)) { SendClientMessage(playerid, COLOR_WHITE, "USE: /desalgemar [ID do Player]"); return true; } if(IsPlayerConnected(giveplayerid)) { if(giveplayerid != INVALID_PLAYER_ID) { if (ProxDetectorS(8.0, playerid, giveplayerid)) { if(giveplayerid == playerid) { SendClientMessage(playerid, COLOR_GREY, "Voce nao pode se desalgemar!"); return true; } new string[128]; GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "* Voce foi desalgemado pelo: %s.", PlayerName(playerid)); SendClientMessage(giveplayerid, COLOR_LIGHTBLUE, string); format(string, sizeof(string), "* Voce desalgemou %s.", giveplayer); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); GameTextForPlayer(giveplayerid, "~g~Desalgemado", 2500, 3); Controle(giveplayerid, 1); RemoveArmament(giveplayerid); antihands[giveplayerid] = 0; PlayerCuffed[giveplayerid] = 0; RemovePlayerAttachedObjectEx(giveplayerid, Vaga_Corrente); SetPlayerSpecialAction(giveplayerid, SPECIAL_ACTION_NONE); ClearAnimations(playerid); ClearAnimations(giveplayerid); SetTimerEx("desbugarse", 1000, 0, "i", giveplayerid); if(Inenforcer[giveplayerid] > 0) { SendClientMessage(giveplayerid, COLOR_GREY, " Agora voce pode sair!Aperte F para Sair"); } } else { SendClientMessage(playerid, COLOR_GREY, " O Jogador esta longe de voce !"); return true; } } } else { SendClientMessage(playerid, COLOR_GREY, " O Jogador Esta Offline !"); return true; } } else { SendClientMessage(playerid, COLOR_GREY, "Voce nao e PM/PR/PC/Exercito !"); } return true; } CMD:mijar(playerid) { ApplyAnimationEx(playerid, "PAULNMAC", "Piss_in", 4.0, 1, 0, 0, 0, 0); SetPlayerSpecialAction(playerid, 68); return 1; } CallBack::ProcurarNovamente(playerid) { if(!IsPlayerConnected(playerid)) { KillTimer(TimerProcurar[playerid]); ProcurarNov[playerid] = 0; return true; } if(ProcurarNov[playerid] <= 0) { KillTimer(TimerProcurar[playerid]); return true; } if(ProcurarNov[playerid] > 0) ProcurarNov[playerid] -= 1000; return true; } CallBack::TempoProcurar(playerid, procuradoid) { new string[128]; if(TempoProc[playerid] > 0)TempoProc[playerid] --; format(string, sizeof string, "_~n~~b~procurar ~h~~h~tempo~n~~w~%d", TempoProc[playerid]); GameTextForPlayer(playerid, string, 5000, 4); if(TempoProc[playerid] <= 0) { KillTimer(TimerSS[playerid]); PlayerTextDrawHide(playerid, localidade[playerid]); DisablePlayerCheckpoint(playerid); return 1; } if(!IsPlayerConnected(procuradoid)) { KillTimer(TimerSS[playerid]); PlayerTextDrawHide(playerid, localidade[playerid]); DisablePlayerCheckpoint(playerid); // DestroyPickup(Procurarpp[playerid]); TempoProc[playerid] = 0; SendClientMessage(playerid, COLOR_LIGHTRED, "[INFO] O jogador que voce estava procurando acaba de desconectar do servidor!"); return 1; } new Float:x,Float:y,Float:z; GetPlayerPos(procuradoid, 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]) { if(GetPlayerInterior(procuradoid) > 0) { format(string, sizeof string, "~y~Localizacao do ~r~~h~%s: ~w~~h~[Algum Interior]", NomePlayer(procuradoid)); } else format(string, sizeof string, "~y~Localizacao do ~r~~h~%s: ~w~~h~[%s]", NomePlayer(procuradoid), gSAZones[i][SAZONE_NAME]); PlayerTextDrawSetString(playerid, localidade[playerid], string); PlayerTextDrawShow(playerid, localidade[playerid]); break; } } SetPlayerMapIcon(playerid, 0, x, y, z, 0, 0x0004F6AA); CP[playerid] = 597; return 1; } CMD:procuraroff(playerid, params[]) { KillTimer(TimerSS[playerid]); PlayerTextDrawHide(playerid, localidade[playerid]); DisablePlayerCheckpoint(playerid); // DestroyPickup(Procurarpp[playerid]); RemovePlayerMapIcon(playerid, 0); return true; } CMD:procurar(playerid, params[]) { if(sscanf(params, "u", giveplayerid)) return SendClientMessage(playerid, COLOR_GRAD2, "USE: /procurar [ID do Player]"); if(GetPlayerOrg(playerid) == 8 || GetPlayerOrg(playerid) == 22) { if(ProcurarNov[playerid] > 0) { new msg_formated[128], timing; timing = floatround(ProcurarNov[playerid]/1000, floatround_floor); format(msg_formated, 128, "Aguarde %d segundos para procurar novamente!", timing); return SendClientMessage(playerid, COLOR_LIGHTBLUE, msg_formated); } if(IsPlayerConnected(giveplayerid)) { if(PlayerInfo[giveplayerid][pAdmin] && admtrampando[giveplayerid]) return SendClientMessage(playerid, COLOR_GREY, "Voce nao pode procurar admins em modo trabalho !"); if(PlayerInfo[giveplayerid][pAdmin] > 1340 && PlayerInfo[playerid][pAdmin] != 1341 && PlayerInfo[playerid][pAdmin] != 1342) return SendClientMessage(playerid, COLOR_GRAD2, "Voce nao pode procurar por Admins Donos!"); if(giveplayerid == playerid) return SendClientMessage(playerid, COLOR_GREY, "Voce nao pode se procurar!"); if(GetPlayerInterior(giveplayerid) > 0) return SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Este player esta em um interior!"); TempoProc[playerid] = 180; ProcurarNov[playerid] = 3 * 60 * 1000; TimerSS[playerid] = SetTimerEx("TempoProcurar",1000,true,"ii",playerid,giveplayerid); TimerProcurar[playerid] = SetTimerEx("ProcurarNovamente", 1000, true, "i", playerid); TempoProcurar(playerid, giveplayerid); UsedFind[playerid] = 1; return 1; } } if(PlayerInfo[playerid][pEmprego] == 11) { if(TimerAceitarMorte[giveplayerid] == -1) return SendClientMessage(playerid, COLOR_GRAD2, "| ERRO |Você só pode procurar players feridos"); if(IsPlayerConnected(giveplayerid)) { if(PlayerInfo[giveplayerid][pAdmin] > 0 && admtrampando[giveplayerid]) return SendClientMessage(playerid, COLOR_GREY, "Voce nao pode procurar admins em modo trabalho !"); if(PlayerInfo[giveplayerid][pAdmin] > 1340 && PlayerInfo[playerid][pAdmin] != 1341 && PlayerInfo[playerid][pAdmin] != 1342) return SendClientMessage(playerid, COLOR_GRAD2, "Voce nao pode procurar por Admins Donos!"); if(giveplayerid == playerid) return SendClientMessage(playerid, COLOR_GREY, "Voce nao pode se procurar!"); if(GetPlayerInterior(giveplayerid) > 0) return SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Este player esta em um interior!"); TempoProc[playerid] = 180; TimerSS[playerid] = SetTimerEx("TempoProcurar",1000,true,"ii",playerid,giveplayerid); TempoProcurar(playerid, giveplayerid); UsedFind[playerid] = 1; return 1; } } if(!IsACop(playerid)) return SendClientMessage(playerid, COLOR_GREY, "[ERRO] Somente policiais podem usar o /procurar!"); if(IsPlayerConnected(giveplayerid)) { if(giveplayerid != INVALID_PLAYER_ID) { if(PlayerInfo[giveplayerid][pAdmin] && admtrampando[giveplayerid]) return SendClientMessage(playerid, COLOR_GREY, "Voce nao pode procurar admins em modo trabalho !"); if(PlayerInfo[giveplayerid][pAdmin] > 1340 && PlayerInfo[playerid][pAdmin] != 1341 && PlayerInfo[playerid][pAdmin] != 1342) return SendClientMessage(playerid, COLOR_GRAD2, "Voce nao pode procurar por Admins Donos!"); if(giveplayerid == playerid) return SendClientMessage(playerid, COLOR_GREY, "Voce nao pode se procurar!"); if(GetPlayerInterior(giveplayerid) > 0) return SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Este player esta em um interior!"); if(ProcurarNov[playerid] > 0) { new msg_formated[128], timing; timing = floatround(ProcurarNov[playerid]/1000, floatround_floor); format(msg_formated, 128, "Aguarde %d segundos para procurar novamente!", timing); return SendClientMessage(playerid, COLOR_LIGHTBLUE, msg_formated); } KillTimer(TimerSS[playerid]); GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer)); TempoProc[playerid] = 180; ProcurarNov[playerid] = 3 * 60 * 1000; TimerSS[playerid] = SetTimerEx("TempoProcurar",1000,true,"ii",playerid,giveplayerid); TimerProcurar[playerid] = SetTimerEx("ProcurarNovamente", 1000, true, "i", playerid); TempoProcurar(playerid, giveplayerid); UsedFind[playerid] = 1; } } else { SendClientMessage(playerid, COLOR_GREY, " Esse nao e um jogador ativo !"); } return true; } CMD:localizar(playerid, params[]) { new string[128]; if(IsPlayerConnected(playerid)) { if(!IsACop(playerid) && !IsAHit(playerid) && !IsATriad(playerid)) return SendClientMessage(playerid, COLOR_GRAD1,"Voce nao e um Assassino, Policial!"); if(sscanf(params, "u", giveplayerid)) return SendClientMessage(playerid, COLOR_GRAD2, "USE: /localizar [ID do Player]"); if(!IsPlayerConnected(giveplayerid)) return SendClientMessage(playerid, COLOR_GRAD2, "Jogador offline!"); if(PlayerInfo[giveplayerid][pAdmin] >= 1 && admtrampando[giveplayerid] == 1) return SendClientMessage(playerid, COLOR_GREY, "Voce nao pode localizar Admins em modo de trabalho!"); if(PlayerInfo[giveplayerid][pAdmin] > 1340 && PlayerInfo[playerid][pAdmin] != 1341 && PlayerInfo[playerid][pAdmin] != 1342) return SendClientMessage(playerid, COLOR_GRAD2, "Voce nao pode procurar por Admins Donos!"); if(giveplayerid == playerid) return SendClientMessage(playerid, COLOR_GREY, "Voce nao pode se localizar!"); if(IsPlayerConnected(giveplayerid)) { if(gettime() < GetPVarInt(playerid, #VarFloodLocalizar)) return SendClientMessage(playerid, COLOR_GRAD1, # Voce so pode localizar alguem novamente de 10 em 10 segundos!); SetPVarInt(playerid, #VarFloodLocalizar, gettime()+10); new location[MAX_ZONE_NAME]; new Float:x,Float:y,Float:z; if(giveplayerid != INVALID_PLAYER_ID) { if(IsACop(playerid)) { GetPlayerPos(giveplayerid,x,y,z); GetPlayer2DZone(giveplayerid, location, MAX_ZONE_NAME); if(WantedPoints[giveplayerid] == 0) SendClientMessage(playerid, COLOR_GREY, "A pessoa informada nao e um suspeito."); if(GetPlayerInterior(giveplayerid) > 0) format(string, sizeof(string), "Suspeito: %s última vez visto proximo de [Algum Interior].", PlayerName(giveplayerid)); else format(string, sizeof(string), "Suspeito: %s última vez visto proximo de [%s].", PlayerName(giveplayerid),location); SendClientMessage(playerid, COLOR_YELLOW, string); GZLocalizar[playerid] = GangZoneCreate(x-70,y-70,x+70,y+70); GangZoneShowForPlayer(playerid, GZLocalizar[playerid], 0xB1C998AA); GangZoneFlashForPlayer(playerid, GZLocalizar[playerid], 0xFF6347AA); return true; } else if(IsAHit(playerid) || IsATriad(playerid)) { GetPlayerPos(giveplayerid,x,y,z); GetPlayer2DZone(giveplayerid, location, MAX_ZONE_NAME); if(GoChase[playerid] != giveplayerid) SendClientMessage(playerid, COLOR_GREY, "A pessoa informada nao e o seu contrato."); if(GetPlayerInterior(giveplayerid) > 0) format(string, sizeof(string), "Player: %s última vez visto proximo de [Algum Interior].", PlayerName(giveplayerid)); else format(string, sizeof(string), "Player: %s última vez visto proximo de [%s].", PlayerName(giveplayerid),location); SendClientMessage(playerid, COLOR_YELLOW, string); GZLocalizar[playerid] = GangZoneCreate(x-70,y-70,x+70,y+70); GangZoneShowForPlayer(playerid, GZLocalizar[playerid], 0xB1C998AA); GangZoneFlashForPlayer(playerid, GZLocalizar[playerid], 0xFF6347AA); return true; } } } else { SendClientMessage(playerid, COLOR_GRAD1, " Esse jogador esta off-line."); } return true; } return true; } CMD:procurarcarro(playerid, params[]) { if(!IsACop(playerid) && !IsAHit(playerid) && !IsATriad(playerid)) return SendClientMessage(playerid, COLOR_GRAD1,"Voce nao e um Assassino, Policial!"); new idcar; if(sscanf(params, "d", idcar)) return SendClientMessage(playerid, COLOR_GRAD2, "USE: /procurarcarro [Nº da placa]"); if (idcar == INVALID_VEHICLE_ID) return SendClientMessage(playerid, 0xCD0400AA, "Nao exite um carro com esta placa."); GetVehiclePos(idcar, VehicleInfo[idcar][vPX], VehicleInfo[idcar][vPY], VehicleInfo[idcar][vPZ]); SetPlayerCheckpoint(playerid, VehicleInfo[idcar][vPX], VehicleInfo[idcar][vPY], VehicleInfo[idcar][vPZ],5.0); SendClientMessage(playerid, COLOR_GREY, "Siga o checkpoint para encontrar o veiculo."); return 1; } CMD:explodirporta(playerid, params[]) { if(IsACop(playerid)) { SendClientMessage(playerid, 0xAFAFAFAA, "Voce nao esta autorizado a usar este comando !"); return 1; } if(GetPlayerOrg(playerid) == 7) { return 1; } if(PlayerInfo[playerid][pEmprego] == 4) { return 1; } if(tempoinvasaosistema == 1) { SendClientMessage(playerid,0xAFAFAFAA,"Espere 5 minutos para invadir o sistema !"); return 1; } if(invasaopenitenciaria == 1) { return SendClientMessage(playerid, 0xE3E3E3FF, "Ja esta tendo uma tentativa de invasao a penitenciaria!"); } new string[128]; ApplyAnimationEx(playerid,"BOMBER","BOM_Plant_Loop",4.0,1,0,0,0,0); if(PlayerInfo[playerid][pExplosivos] < 1 && !PlayerInfo[playerid][ComExplosivo])return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao tem um explosivo, compre um no mercado negro."); if(!PlayerInfo[playerid][ComExplosivo])return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao esta com o explosivo em maos, pegue em seu inventario."); if(PlayerToPoint(1.0,playerid, 1797.2847,-1577.1489,14.0731)) { GetPlayerName(playerid, playername, MAX_PLAYER_NAME); format(string, sizeof(string), "[Atencao]: %s e os %s estao tentando explodir a porta da [PENITENCIaRIA]",playername,NomeORG(playerid)); SendClientMessageToAll(COLOR_LIGHTRED, string); SendClientMessage(playerid, -1, "Espere 160 segundos para terminar de invadir o sistema da penitenciaria, para cancelar a invasao, digite: /pararinvasao."); format(string, sizeof(string), "[ALERTA COPS] %s[%d] Esta tentando invadir o sistema da penitenciaria !", playername, playerid); SendFamilyMessage(1, COLOR_LIGHTRED, string); SendFamilyMessage(2, COLOR_LIGHTRED, string); SendFamilyMessage(16, COLOR_LIGHTRED, string); SendFamilyMessage(35, COLOR_LIGHTRED, string); SendFamilyMessage(33, COLOR_LIGHTRED, string); SendFamilyMessage(11, COLOR_LIGHTRED, string); SendFamilyMessage(3, COLOR_LIGHTRED, string); SendFamilyMessage(7, COLOR_LIGHTRED, string); SetPlayerCriminal(playerid,255, "Invasao Sistema Penitenciaria"); SetPlayerAttachedObject_Droid(playerid,4,3026,1,-0.1,-0.0,0.0,0.0,0.0,0.0); WantedPoints[playerid] += 2; ProvocoInvasao[playerid] = 1; invasaopenitenciaria = 1; tempoinvasaosistema = 1; SetTimer("Ainvasao", 2000, 0); tempoinvasao = SetTimerEx("InvasaoPenitenciaria", 160000, 0, "i", playerid); TempoContagem[playerid] = SetTimerEx("ContagemInvasaoo", 1000, 1, "i", playerid); Contagem[playerid] = 160; return 1; } return 1; } CMD:explodircofre(playerid, params[]) { if(PlayerInfo[playerid][pExplosivos] > 0) { if(!IsACop(playerid)) { for(new i = 0; i < MAX_HOUSES; i++) { if(PlayerToPoint(4.0,playerid, 2144.1084,1626.3708,993.6882)) { if(dinamitoubanco[i] == 1) { SendClientMessage(playerid, COLOR_GRAD1, "* Alguem ja esta dinamitando a porta do banco!"); return 1; } new string[128]; dinamitoubanco[playerid] = 1; //dinamitebanco1 = CreateDynamicObject(1654, 2143.7, 1626.9, 994.40002, 0, 0, 0); // dinamitebanco2 = CreateDynamicObject(1654, 2144.7, 1626.9, 994.40002, 0, 0, 0); dinamitebanco1 = CreateDynamicObject(1654, 304.3525, 1787.9280, 512.8931, 0.5646, -0.5646, -86.7513); dinamitebanco2 = CreateDynamicObject(1654, 304.3525, 1786.7679, 512.8931, 0.5646, -0.5646, -86.7513); format(string, sizeof(string), "[%s] %s[%d] dinamitou a porta e esta tentando invadir cofre do banco!",NomeORG(playerid), PlayerName(playerid), playerid); SendClientMessageToAll(GetPlayerColor(playerid), string); format(string, sizeof(string), "[%s] colocou dinamites na porta, ira explodir em 10 segundos, afaste-se um pouco.", PlayerName(playerid)); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); format(string, sizeof(string), "[ALERTA COPS] %s[%d] DINAMITOU A PORTA E ESTa TENTANDO INVADIR O COFRE DO BANCO !", NomePlayer(playerid), playerid); SendFamilyMessage(1, COLOR_LIGHTRED, string); SendFamilyMessage(2, COLOR_LIGHTRED, string); SendFamilyMessage(16, COLOR_LIGHTRED, string); SendFamilyMessage(35, COLOR_LIGHTRED, string); SendFamilyMessage(33, COLOR_LIGHTRED, string); SendFamilyMessage(11, COLOR_LIGHTRED, string); SendFamilyMessage(3, COLOR_LIGHTRED, string); SendFamilyMessage(7, COLOR_LIGHTRED, string); RemovePlayerAttachedObject(playerid, Vaga_Roubo); PosicionarObjetos(playerid, Vaga_Roubo, 0, 0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0); SetPlayerCriminal(playerid,255, "Dinamitando Banco"); tempoexplodir[playerid] = SetTimerEx("TempoExplodir", 10000, 0, "i", playerid); return 1; } if(PlayerToPoint(4.0,playerid, -1383, 1494.1, 2)) { if(dinamitounavio[i] == 1) { SendClientMessage(playerid, COLOR_GRAD1, "* Alguem ja esta dinamitando o navio!"); return 1; } new string[128]; dinamitounavio[playerid] = 1; dinamitenavio = CreateDynamicObject(1654, -1382.8, 1494.1, 2.4, 0, 0, 100); format(string, sizeof(string), "[%s] %s[%d] dinamitou a porta e esta tentando invadir cofre do navio!",NomeORG(playerid), PlayerName(playerid), playerid); SendClientMessageToAll(GetPlayerColor(playerid), string); format(string, sizeof(string), "[%s] colocou dinamites na porta, ira explodir em 10 segundos, afaste-se um pouco.", PlayerName(playerid)); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); format(string, sizeof(string), "[ALERTA COPS] %s[%d] DINAMITOU A PORTA E ESTa TENTANDO INVADIR O COFRE DO NAVIO !", NomePlayer(playerid), playerid); SendFamilyMessage(1, COLOR_LIGHTRED, string); SendFamilyMessage(2, COLOR_LIGHTRED, string); SendFamilyMessage(16, COLOR_LIGHTRED, string); SendFamilyMessage(35, COLOR_LIGHTRED, string); SendFamilyMessage(33, COLOR_LIGHTRED, string); SendFamilyMessage(11, COLOR_LIGHTRED, string); SendFamilyMessage(3, COLOR_LIGHTRED, string); SendFamilyMessage(7, COLOR_LIGHTRED, string); RemovePlayerAttachedObject(playerid, Vaga_Roubo); PosicionarObjetos(playerid, Vaga_Roubo, 0, 0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0); SetPlayerCriminal(playerid,255, "Dinamitando A Porta do Navio"); tempoexplodir[playerid] = SetTimerEx("TempoExplodir", 10000, 0, "i", playerid); return 1; } } } } else { SendClientMessage(playerid, COLOR_GRAD5, "Você não tem explosivos, compre no mercado negro!"); return 1; } return 1; } CMD:cancelar(playerid, x_Emprego[]) { if(isnull(x_Emprego)) { SendClientMessage(playerid, COLOR_WHITE, "|__________________[ Cancelar ]__________________|"); SendClientMessage(playerid, COLOR_WHITE, "USE: /cancelar [nome]"); SendClientMessage(playerid, COLOR_GREY, "Nomes Validos: Sexo, Drogas, reparo, Advogado, seguranca, aovivo, Abastecimento, Carro, Boxe"); SendClientMessage(playerid, COLOR_GREY, "Nomes Validos: taxi, Onibus, Medico, Mecanico, Policia, convite, ajuda, Bombeiro, blindagem"); return true; } new string[128]; if(strcmp(x_Emprego,"sexo",true) == 0) { SexOffer[playerid] = 999; SexPrice[playerid] = 0; } else if(strcmp(x_Emprego,"convite",true) == 0) { format(string, sizeof(string), "* %s Nao Aceitou seu Convite para Entrar na Organizacao[%s].", PlayerName(playerid), NomeORG(InviteOffer[playerid])); SendClientMessage(InviteOffer[playerid], COLOR_LIGHTBLUE, string); format(string, sizeof(string), "* Voce nao Aceitou o Convite de %s para Entrar na Organizacao[%s].", PlayerName(InviteOffer[playerid]), NomeORG(InviteOffer[playerid])); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); InviteOffer[playerid] = 999; InviteJob[playerid] = 0; } else if(strcmp(x_Emprego,"drogas",true) == 0) { DrugOffer[playerid] = 999; DrugPrice[playerid] = 0; DrugGram[playerid] = 0; } else if(strcmp(x_Emprego,"ajuda",true) == 0) { MercOffer[playerid] = 999; MercMoney[playerid] = 0; foreach(Player, i) { if(GetPVarInt(playerid, "MercID") == i) { format(string, sizeof string, "O Mercenario %s nao esta mais ajudando voce!", NomePlayer(playerid)); SendClientMessage(i, COLOR_LIGHTRED, string); format(string, sizeof string, "Voce parou de ajudar %s.", NomePlayer(i)); SendClientMessage(playerid, COLOR_LIGHTRED, string); break; } if(GetPVarInt(i, "MercID") == playerid) { format(string, sizeof string, "* %s nao quer mais a sua ajuda!!", NomePlayer(playerid)); SendClientMessage(i, COLOR_LIGHTRED, string); format(string, sizeof string, "Voce nao quer mais a ajuda de %s", NomePlayer(i)); SendClientMessage(playerid, COLOR_LIGHTRED, string); SetPVarInt(i, "MercID", 999); SetPVarInt(i, "MercORG", 999); break; } } SetPVarInt(playerid, "MercID", 999); SetPVarInt(playerid, "MercORG", 999); } else if(strcmp(x_Emprego,"reparo",true) == 0) { RepairOffer[playerid] = 999; RepairPrice[playerid] = 0; RepairCar[playerid] = 0; } else if(strcmp(x_Emprego,"blindagem",true) == 0) { BlindarOffer[playerid] = 999; BlindarPrice[playerid] = 0; } else if(strcmp(x_Emprego,"seguranca",true) == 0) { GuardOffer[playerid] = 999; GuardPrice[playerid] = 0; } else if(strcmp(x_Emprego,"aovivo",true) == 0) { LiveOffer[playerid] = 999; } else if(strcmp(x_Emprego,"abastecercarro",true) == 0) { RefillOffer[playerid] = 999; RefillPrice[playerid] = 0; } else if(strcmp(x_Emprego,"carro",true) == 0) { CarOffer[playerid] = 999; CarPrice[playerid] = 0; CarID[playerid] = 0; } else if(strcmp(x_Emprego,"padrinho",true) == 0) { MarryWitnessOffer[playerid] = 999; } else if(strcmp(x_Emprego,"casamento",true) == 0) { ProposeOffer[playerid] = 999; } else if(strcmp(x_Emprego,"divorcio",true) == 0) { DivorceOffer[playerid] = 999; } else if(strcmp(x_Emprego,"multa",true) == 0) { TicketOffer[playerid] = 999; TicketMoney[playerid] = 0; } else if(strcmp(x_Emprego,"taxi",true) == 0) { if(TransportDuty[playerid] == 1 && TaxistaCallTime[playerid] > 0) { TaxistaAccepted[playerid] = 999; GameTextForPlayer(playerid, "~w~Voce~n~~r~Cancelou a Chamada", 5000, 1); TaxistaCallTime[playerid] = 0; DisablePlayerCheckpoint(playerid); TaxistaCall = 999; } else { if(IsPlayerConnected(TaxistaCall)) { if(TaxistaCall == playerid) { TaxistaCall = 999; } } foreach(Player, i) { if(TaxistaAccepted[i] < 999) { if(TaxistaAccepted[i] == playerid) { TaxistaAccepted[i] = 999; GameTextForPlayer(i, "~w~Cliente~n~~r~Cancelou a Chamada", 5000, 1); TaxistaCallTime[i] = 0; DisablePlayerCheckpoint(i); } } } } } else if(strcmp(x_Emprego,"advogado",true) == 0) { if(AdvCallTime[playerid] > 0) { AdvAccepted[playerid] = 999; GameTextForPlayer(playerid, "~w~Voce~n~~r~Cancelou a Chamada", 5000, 1); AdvCallTime[playerid] = 0; DisablePlayerCheckpoint(playerid); AdvCall = 999; } else { if(IsPlayerConnected(AdvCall)) { if(AdvCall == playerid) { AdvCall = 999; } } foreach(Player, i) { if(AdvAccepted[i] < 999) { if(AdvAccepted[i] == playerid) { AdvAccepted[i] = 999; GameTextForPlayer(i, "~w~Cliente~n~~r~Cancelou a Chamada", 5000, 1); AdvCallTime[i] = 0; DisablePlayerCheckpoint(i); } } } } } else if(strcmp(x_Emprego,"bus",true) == 0 || strcmp(x_Emprego,"onibus",true) == 0) { if(TransportDuty[playerid] == 2 && BusCallTime[playerid] > 0) { BusAccepted[playerid] = 999; GameTextForPlayer(playerid, "~w~Voce~n~~r~Cancelou a Chamada", 5000, 1); BusCallTime[playerid] = 0; BusCall = 999; } else { if(IsPlayerConnected(BusCall)) { if(BusCall == playerid) { BusCall = 999; } } foreach(Player, i) { if(BusAccepted[i] < 999) { if(BusAccepted[i] == playerid) { BusAccepted[i] = 999; GameTextForPlayer(i, "~w~Cliente~n~~r~Cancelou a Chamada", 5000, 1); BusCallTime[i] = 0; DisablePlayerCheckpoint(i); } } } } } else if(strcmp(x_Emprego,"bus",true) == 0 || strcmp(x_Emprego,"onibus",true) == 0) { if(TransportDuty[playerid] == 2 && BusCallTime[playerid] > 0) { BusAccepted[playerid] = 999; GameTextForPlayer(playerid, "~w~Voce~n~~r~Cancelou a Chamada", 5000, 1); BusCallTime[playerid] = 0; BusCall = 999; } else { if(IsPlayerConnected(MechanicCall)) { if(MechanicCall == playerid) { MechanicCall = 999; } } foreach(Player, i) { if(MechanicAccepted[i] < 999) { if(MechanicAccepted[i] == playerid) { MechanicAccepted[i] = 999; GameTextForPlayer(i, "~w~Cliente~n~~r~Cancelou a Chamada", 5000, 1); MechanicCallTime[i] = 0; DisablePlayerCheckpoint(i); } } } } } else if(strcmp(x_Emprego,"detran",true) == 0) { if(DetranChamadaTempo[playerid] > 0) { DetranAceitou[playerid] = 999; GameTextForPlayer(playerid, "~w~Voce~n~~r~Cancelou a Chamada", 5000, 1); DetranChamadaTempo[playerid] = 0; DisablePlayerCheckpoint(playerid); DetranChamada = 999; } else { if(IsPlayerConnected(DetranChamada)) { if(DetranChamada == playerid) { DetranChamada = 999; } } foreach(Player, i) { if(DetranAceitou[i] < 999) { if(DetranAceitou[i] == playerid) { DetranAceitou[i] = 999; GameTextForPlayer(i, "~w~Cliente~n~~r~Cancelou a Chamada", 5000, 1); DetranChamadaTempo[i] = 0; DisablePlayerCheckpoint(i); } } } } } else if(strcmp(x_Emprego,"medico",true) == 0) { if(MedicCallTime[playerid] > 0) { MedicAccepted[playerid] = 999; GameTextForPlayer(playerid, "~w~Voce~n~~r~Cancelou a Chamada", 5000, 1); MedicCallTime[playerid] = 0; DisablePlayerCheckpoint(playerid); MedicCall = 999; } else { if(IsPlayerConnected(MedicCall)) { if(MedicCall == playerid) { MedicCall = 999; } } foreach(Player, i) { if(MedicAccepted[i] < 999) { if(MedicAccepted[i] == playerid) { MedicAccepted[i] = 999; GameTextForPlayer(i, "~w~Paciente~n~~r~Cancelou a Chamada", 5000, 1); MedicCallTime[i] = 0; DisablePlayerCheckpoint(i); } } } } } else if(strcmp(x_Emprego,"bombeiro",true) == 0) { if(BombCallTime[playerid] > 0) { BombAccepted[playerid] = 999; GameTextForPlayer(playerid, "~w~Voce~n~~r~Cancelou a Chamada", 5000, 1); BombCallTime[playerid] = 0; DisablePlayerCheckpoint(playerid); BombCall = 999; } else { if(IsPlayerConnected(BombCall)) { if(BombCall == playerid) { BombCall = 999; } } foreach(Player, i) { if(BombAccepted[i] < 999) { if(BombAccepted[i] == playerid) { BombAccepted[i] = 999; GameTextForPlayer(i, "~w~Paciente~n~~r~Cancelou a Chamada", 5000, 1); BombCallTime[i] = 0; DisablePlayerCheckpoint(i); } } } } } else if(strcmp(x_Emprego,"policia",true) == 0) { if(CopsrondaCallTime[playerid] > 0) { CopsrondaAccepted[playerid] = 999; GameTextForPlayer(playerid, "~w~Voce~n~~r~Cancelou a Chamada", 5000, 1); CopsrondaCallTime[playerid] = 0; DisablePlayerCheckpoint(playerid); CopsrondaCall = 999; } else { if(IsPlayerConnected(CopsrondaCall)) { if(CopsrondaCall == playerid) { CopsrondaCall = 999; } } foreach(Player, i) { if(CopsrondaAccepted[i] < 999) { if(CopsrondaAccepted[i] == playerid) { CopsrondaAccepted[i] = 999; GameTextForPlayer(i, "~w~Cliente~n~~r~Cancelou a Chamada", 5000, 1); CopsrondaCallTime[i] = 0; DisablePlayerCheckpoint(i); } } } } } else { return true; } format(string, sizeof(string), "* Voce cancelou: %s.", x_Emprego); SendClientMessage(playerid, COLOR_YELLOW, string); return true; } CMD:aceitar(playerid, x_Emprego[]) { if(PlayerInfo[playerid][pJailed] == 9) { SendClientMessage(playerid,COLOR_GRAD1,"Voce nao pode usar este comando nas Celas da Administracao!"); return true; } if(isnull(x_Emprego)) { SendClientMessage(playerid, COLOR_WHITE, "|__________________[ Aceitar ]__________________|"); SendClientMessage(playerid, COLOR_WHITE, "USE: aceitar [nome]"); SendClientMessage(playerid, COLOR_GREY, "Nomes Validos: drogas, Reparo, Advogado, emprego, aovivo, chamada , Assalto, Bombeiro, blindagem"); SendClientMessage(playerid, COLOR_GREY, "Nomes Validos: Carro, Taxi, Boxe, Medico, Mecanico, Multa ,divorcio, convite, mercenario, entrega"); return true; } //new para1; new string[128]; if(strcmp(x_Emprego,"convite",true) == 0) { if(InviteOffer[playerid] < 999) { if(IsPlayerConnected(InviteOffer[playerid])) { if(PlayerInfo[InviteOffer[playerid]][pLider] == 1) { SetSpawnInfo(playerid, 2, PlayerInfo[playerid][pSkin],0.0,0.0,0.0,0,0,0,0,0,0,0); } else if(PlayerInfo[InviteOffer[playerid]][pLider] == 2) { SetSpawnInfo(playerid, 2, PlayerInfo[playerid][pSkin],0.0,0.0,0.0,0,0,0,0,0,0,0); } else if(PlayerInfo[InviteOffer[playerid]][pLider] == 3) { SetSpawnInfo(playerid, 2, PlayerInfo[playerid][pSkin],0.0,0.0,0.0,0,0,0,0,0,0,0); } else if(PlayerInfo[InviteOffer[playerid]][pLider] == 4) { SetSpawnInfo(playerid, 2, PlayerInfo[playerid][pSkin],0.0,0.0,0.0,0,0,0,0,0,0,0); } else if(PlayerInfo[InviteOffer[playerid]][pLider] == 5) { SetSpawnInfo(playerid, 5, PlayerInfo[playerid][pSkin],0.0,0.0,0.0,0,0,0,0,0,0,0); } else if(PlayerInfo[InviteOffer[playerid]][pLider] == 6) { SetSpawnInfo(playerid, 5, PlayerInfo[playerid][pSkin],0.0,0.0,0.0,0,0,0,0,0,0,0); } else if(PlayerInfo[InviteOffer[playerid]][pLider] == 7) { SetSpawnInfo(playerid, 2, PlayerInfo[playerid][pSkin],0.0,0.0,0.0,0,0,0,0,0,0,0); } else if(PlayerInfo[InviteOffer[playerid]][pLider] == 8) { SetSpawnInfo(playerid, 10, PlayerInfo[playerid][pSkin],0.0,0.0,0.0,0,0,0,0,0,0,0); } else if(PlayerInfo[InviteOffer[playerid]][pLider] == 9) { SetSpawnInfo(playerid, 10, PlayerInfo[playerid][pSkin],0.0,0.0,0.0,0,0,0,0,0,0,0); } else if(PlayerInfo[InviteOffer[playerid]][pLider] == 10) { SetSpawnInfo(playerid, 10, PlayerInfo[playerid][pSkin],0.0,0.0,0.0,0,0,0,0,0,0,0); } else if(PlayerInfo[InviteOffer[playerid]][pLider] == 11) { SetSpawnInfo(playerid, 5, PlayerInfo[playerid][pSkin],0.0,0.0,0.0,0,0,0,0,0,0,0); } else if(PlayerInfo[InviteOffer[playerid]][pLider] == 12) { SetSpawnInfo(playerid, 2, PlayerInfo[playerid][pSkin],0.0,0.0,0.0,0,0,0,0,0,0,0); } else if(PlayerInfo[InviteOffer[playerid]][pLider] == 13) { SetSpawnInfo(playerid, 2, PlayerInfo[playerid][pSkin],0.0,0.0,0.0,0,0,0,0,0,0,0); } else if(PlayerInfo[InviteOffer[playerid]][pLider] == 14) { SetSpawnInfo(playerid, 10, PlayerInfo[playerid][pSkin],0.0,0.0,0.0,0,0,0,0,0,0,0); } else if(PlayerInfo[InviteOffer[playerid]][pLider] == 15) { SetSpawnInfo(playerid, 5, PlayerInfo[playerid][pSkin],0.0,0.0,0.0,0,0,0,0,0,0,0); } else if(PlayerInfo[InviteOffer[playerid]][pLider] == 16) { SetSpawnInfo(playerid, 5, PlayerInfo[playerid][pSkin],0.0,0.0,0.0,0,0,0,0,0,0,0); } else if(PlayerInfo[InviteOffer[playerid]][pLider] == 17) { SetSpawnInfo(playerid, 2, PlayerInfo[playerid][pSkin],0.0,0.0,0.0,0,0,0,0,0,0,0); } else if(PlayerInfo[InviteOffer[playerid]][pLider] == 18) { SetSpawnInfo(playerid, 5, PlayerInfo[playerid][pSkin],0.0,0.0,0.0,0,0,0,0,0,0,0); } else if(PlayerInfo[InviteOffer[playerid]][pLider] == 19) { SetSpawnInfo(playerid, 5, PlayerInfo[playerid][pSkin],0.0,0.0,0.0,0,0,0,0,0,0,0); } else if(PlayerInfo[InviteOffer[playerid]][pLider] == 20) { SetSpawnInfo(playerid, 5, PlayerInfo[playerid][pSkin],0.0,0.0,0.0,0,0,0,0,0,0,0); } else if(PlayerInfo[InviteOffer[playerid]][pLider] == 21) { SetSpawnInfo(playerid, 5, PlayerInfo[playerid][pSkin],0.0,0.0,0.0,0,0,0,0,0,0,0); } else if(PlayerInfo[InviteOffer[playerid]][pLider] == 22) { SetSpawnInfo(playerid, 5, PlayerInfo[playerid][pSkin],0.0,0.0,0.0,0,0,0,0,0,0,0); } else if(PlayerInfo[InviteOffer[playerid]][pLider] == 23) { SetSpawnInfo(playerid, 5, PlayerInfo[playerid][pSkin],0.0,0.0,0.0,0,0,0,0,0,0,0); } else if(PlayerInfo[InviteOffer[playerid]][pLider] == 24) { SetSpawnInfo(playerid, 5, PlayerInfo[playerid][pSkin],0.0,0.0,0.0,0,0,0,0,0,0,0); } else if(PlayerInfo[InviteOffer[playerid]][pLider] == 25) { SetSpawnInfo(playerid, 2, PlayerInfo[playerid][pSkin],0.0,0.0,0.0,0,0,0,0,0,0,0); } else if(PlayerInfo[InviteOffer[playerid]][pLider] == 26) { SetSpawnInfo(playerid, 10, PlayerInfo[playerid][pSkin],0.0,0.0,0.0,0,0,0,0,0,0,0); } else if(PlayerInfo[InviteOffer[playerid]][pLider] == 27) { SetSpawnInfo(playerid, 5, PlayerInfo[playerid][pSkin],0.0,0.0,0.0,0,0,0,0,0,0,0); } else if(PlayerInfo[InviteOffer[playerid]][pLider] == 28) { SetSpawnInfo(playerid, 5, PlayerInfo[playerid][pSkin],0.0,0.0,0.0,0,0,0,0,0,0,0); } else if(PlayerInfo[InviteOffer[playerid]][pLider] == 29) { SetSpawnInfo(playerid, 5, PlayerInfo[playerid][pSkin],0.0,0.0,0.0,0,0,0,0,0,0,0); } else if(PlayerInfo[InviteOffer[playerid]][pLider] == 30) { SetSpawnInfo(playerid, 5, PlayerInfo[playerid][pSkin],0.0,0.0,0.0,0,0,0,0,0,0,0); } else if(PlayerInfo[InviteOffer[playerid]][pLider] == 31) { SetSpawnInfo(playerid, 5, PlayerInfo[playerid][pSkin],0.0,0.0,0.0,0,0,0,0,0,0,0); } else if(PlayerInfo[InviteOffer[playerid]][pLider] == 32) { SetSpawnInfo(playerid, 5, PlayerInfo[playerid][pSkin],0.0,0.0,0.0,0,0,0,0,0,0,0); } else if(PlayerInfo[InviteOffer[playerid]][pLider] == 33) { SetSpawnInfo(playerid, 5, PlayerInfo[playerid][pSkin],0.0,0.0,0.0,0,0,0,0,0,0,0); } else if(PlayerInfo[InviteOffer[playerid]][pLider] == 34) { SetSpawnInfo(playerid, 5, PlayerInfo[playerid][pSkin],0.0,0.0,0.0,0,0,0,0,0,0,0); } PlayerInfo[playerid][pMembro] = InviteJob[playerid]; PlayerInfo[playerid][pCargo] = 1; format(string, 128, "* %s aceitou seu convite para entrar na sua organizacao.", PlayerName(playerid)); SendClientMessage(InviteOffer[playerid], COLOR_LIGHTBLUE, string); format(string, sizeof(string), "* Voce aceitou o convite de %s para entrar para organizacao: %s, parabens.", PlayerName(InviteOffer[playerid]), NomeORG(InviteOffer[playerid])); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); ConviteInfoOrg(PlayerName(playerid), InviteJob[playerid], 1); SetPlayerSpawn(playerid); } else { SendClientMessage(playerid, COLOR_GREY, " O jogador que lhe convidou nao esta conectado."); return true; } } else { SendClientMessage(playerid, COLOR_GREY, "Voce nao foi convidado para nenhuma organizacao."); return true; } } // SISTEMA "ACEITAR ENTREGA" DO IFOOD else if(strcmp(x_Emprego,"entrega",true) == 0) { if(Entregando[playerid] == 1 && AppLigado[playerid] == 1 && TemCorrida[playerid] == 1) { KillTimer(TempoDeResposta[playerid]); KillTimer(buscandocorridas[playerid]); TemCorrida[playerid] = 0; StopAudioStreamForPlayer(playerid); PlayerTextDrawHide(playerid,texto_novaentrega[playerid]); PlayerTextDrawHide(playerid,playertextdraw_1[playerid]); PlayerTextDrawHide(playerid,playertextdraw_2[playerid]); PlayerTextDrawHide(playerid,playertextdraw_3[playerid]); new rand = random(sizeof(Restaurantes)); SetPlayerCheckpoint(playerid,Restaurantes[rand][BrX],Restaurantes[rand][BrY],Restaurantes[rand][BrZ], 5); SendClientMessage(playerid, COLOR_GREY, "|IFOOD| Voce aceitou a entrega, Siga ate o checkpoint marcado no mapa."); } } else if(strcmp(x_Emprego,"assalto",true) == 0) { if(OfAssalto[playerid] < 999) { if(IsPlayerConnected(OfAssalto[playerid])) { if (ProxDetectorS(5.0, playerid, OfAssalto[playerid])) { GetPlayerName(OfAssalto[playerid], giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "* Voce aceitou um assalto de %s e o assaltante pegou $%d", giveplayer, GetPlayerMoney(playerid)); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); format(string, sizeof(string), "* %s aceitou seu assalto e te deu $%d.", sendername, GetPlayerMoney(playerid)); SendClientMessage(OfAssalto[playerid], COLOR_LIGHTBLUE, string); GiveDinheiro(OfAssalto[playerid], GetPlayerMoney(playerid)); GiveDinheiro(playerid, - GetPlayerMoney(playerid)); SetPlayerCriminal(OfAssalto[playerid],255, "Assalto"); OfAssalto[playerid] = 999; return 1; } else { SendClientMessage(playerid, COLOR_GREY, " O Assaltante esta longe de voce!"); return 1; } } else { SendClientMessage(playerid, COLOR_GREY, " O Assaltante nao esta mais conectado!"); OfAssalto[playerid] = 999; return 1; } } else { SendClientMessage(playerid, COLOR_GREY, "Voce nao foi assaltado!"); return 1; } } /* else if(strcmp(x_Emprego,"porte",true) == 0) { if(GetPlayerMoney(playerid) < 50000) { SendClientMessage(playerid,COLOR_GRAD1,"[ ERRO ] Você não tem todo esse dinheiro"); OfPorteArmas[playerid] = 999; return 1; } if(OfPorteArmas[playerid] < 999) { if(IsPlayerConnected(OfPorteArmas[playerid])) { if (ProxDetectorS(5.0, playerid, OfPorteArmas[playerid])) { GetPlayerName(OfPorteArmas[playerid], giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "[ ! ] Você aceitou o porte de armas de %s e pagou R$50.000", giveplayer, GetPlayerMoney(playerid)); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); format(string, sizeof(string), "[ ! ] %s aceitou o porte de armas e o dinheiro foi enviado ao cofre da org", sendername, GetPlayerMoney(playerid)); SendClientMessage(OfPorteArmas[playerid], COLOR_LIGHTBLUE, string); GiveDinheiro(OfPorteArmas[playerid], 50000); GiveDinheiro(playerid, - 50000); OfPorteArmas[playerid] = 999; PlayerInfo[playerid][pGunLic] = 1; DepositarGranaOrg(11,50000); return 1; } else { SendClientMessage(playerid, COLOR_GREY, " O Delegado esta longe de voce!"); return 1; } } else { SendClientMessage(playerid, COLOR_GREY, " O Delegado nao esta mais conectado!"); OfAssalto[playerid] = 999; return 1; } } else { SendClientMessage(playerid, COLOR_GREY, "Não te ofereceram porte!"); return 1; } }*/ else if(strcmp(x_Emprego,"divorcio",true) == 0) { if(DivorceOffer[playerid] < 999) { if(IsPlayerConnected(DivorceOffer[playerid])) { if(ProxDetectorS(10.0, playerid, DivorceOffer[playerid])) { GetPlayerName(DivorceOffer[playerid], giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "* Voce aceitou o pedido de %s para ser testemunha de seu divorcio.", giveplayer); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); format(string, sizeof(string), "* %s aceitou o seu pedido para ser testemunha do seu divorcio.", PlayerName(playerid)); SendClientMessage(DivorceOffer[playerid], COLOR_LIGHTBLUE, string); ClearMarriage(playerid); ClearMarriage(DivorceOffer[playerid]); PlayerInfo[playerid][pPHousekey] = 500; PlayerInfo[playerid][pPbiskey] = 255; PlayerInfo[playerid][pPFazkey] = 255; return true; } else { SendClientMessage(playerid, COLOR_GREY, " O jogador que te enviou os papeis do divorcio nao esta perto de voce!"); return true; } } } else { SendClientMessage(playerid, COLOR_GREY, " Ninguem te enviou qualquer papel de divorcio!"); return true; } } else if(strcmp(x_Emprego,"padrinho",true) == 0) { if(MarryWitnessOffer[playerid] < 999) { if(IsPlayerConnected(MarryWitnessOffer[playerid])) { if(ProxDetectorS(10.0, playerid, MarryWitnessOffer[playerid])) { GetPlayerName(MarryWitnessOffer[playerid], giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "* Voce aceitou o pedido de %s para ser padrinho de seu casamento.", giveplayer); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); format(string, sizeof(string), "* %s aceitou o seu pedido para ser padrinho do seu casamento.", PlayerName(playerid)); SendClientMessage(MarryWitnessOffer[playerid], COLOR_LIGHTBLUE, string); MarryWitness[MarryWitnessOffer[playerid]] = playerid; MarryWitnessOffer[playerid] = 999; return true; } else { SendClientMessage(playerid, COLOR_GREY, " O jogador que pediu para ser padrinho de seu casamento nao esta perto de voce!"); return true; } } } else { SendClientMessage(playerid, COLOR_GREY, " Ninguem pediu para ser padrinho de seu casamento!"); return true; } } else if(strcmp(x_Emprego,"casamento",true) == 0) { if(ProposeOffer[playerid] < 999) { if(!PlayerToPoint(10.0, playerid, 1964.0280,-369.0365,1093.7289)) { SendClientMessage(playerid, COLOR_GREY, "Voce nao esta dentro da igreja de Los Santos !"); return true; } if(IsPlayerConnected(ProposeOffer[playerid])) { if(ProxDetectorS(10.0, playerid, ProposeOffer[playerid])) { if(MarryWitness[ProposeOffer[playerid]] == 999) { SendClientMessage(playerid, COLOR_GREY, " O jogador nao possui um padrinho de casamento!"); return true; } if(IsPlayerConnected(MarryWitness[ProposeOffer[playerid]])) { if(ProxDetectorS(12.0, ProposeOffer[playerid], MarryWitness[ProposeOffer[playerid]])) { GetPlayerName(ProposeOffer[playerid], giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "* Voce aceitou o pedido de %s para ser seu marido.", giveplayer); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); format(string, sizeof(string), "* %s aceitou o seu pedido para ser sua esposa.", PlayerName(playerid)); SendClientMessage(ProposeOffer[playerid], COLOR_LIGHTBLUE, string); format(string, sizeof(string), "Padre: %s voce aceita %s como seu legitimo marido? (use 'sim', qualquer outra coisa cancela o casamento)", sendername, giveplayer); SendClientMessage(playerid, COLOR_WHITE, string); MarriageCeremoney[playerid] = 1; ProposedTo[ProposeOffer[playerid]] = playerid; GotProposedBy[playerid] = ProposeOffer[playerid]; MarryWitness[ProposeOffer[playerid]] = 999; ProposeOffer[playerid] = 999; return true; } else { SendClientMessage(playerid, COLOR_GREY, " O padrinho de casamento nao esta perto de sua noiva/noivo!"); return true; } } return true; } else { SendClientMessage(playerid, COLOR_GREY, " O jogador nao esta perto de voce!"); return true; } } } else { SendClientMessage(playerid, COLOR_GREY, " Ninguem te fez uma proposta!"); return true; } } /*else if(strcmp(x_Emprego,"multa",true) == 0) { if(TicketOffer[playerid] < 999) { if(IsPlayerConnected(TicketOffer[playerid])) { if (ProxDetectorS(5.0, playerid, TicketOffer[playerid])) { GetPlayerName(TicketOffer[playerid], giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "* Voce pagou a multa de R$%d para o Oficial %s.", TicketMoney[playerid], giveplayer); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); format(string, sizeof(string), "* %s pagou a multa de R$%d.", sendername, TicketMoney[playerid]); SendClientMessage(TicketOffer[playerid], COLOR_LIGHTBLUE, string); DepositarOrgGrana(7,TicketMoney[playerid]); PlayerInfo[playerid][pPontosHab] += 3; return true; } else { SendClientMessage(playerid, COLOR_GREY, "O policial nao esta perto de voce !"); return true; } } } else { SendClientMessage(playerid, COLOR_GREY, "Ninguem lhe deu uma multa !"); return true; } }*/ else if(strcmp(x_Emprego,"mercenario",true) == 0) { if(MercOffer[playerid] < 999) { if(IsPlayerConnected(MercOffer[playerid])) { if (ProxDetectorS(5.0, playerid, MercOffer[playerid])) { if(!GetPlayerOrg(playerid)) return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao pode ser ajudado!"); if(GetPVarInt(MercOffer[playerid], "MercID") != 999) return SendClientMessage(playerid, COLOR_GRAD1, "Este mercenario ja esta ajudando alguem!"); foreach(Player, i){ if(GetPVarInt(i, "MercID") == playerid){ format(string, sizeof string, "Voce ja esta sendo ajudado por %s, digite (/cancelar ajuda) para cancelar!", NomePlayer(i)); return SendClientMessage(playerid, COLOR_LIGHTRED, string); } } GetPlayerName(MercOffer[playerid], giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "* Voce pagou R$%d para o mercenario %s lhe ajudar.", MercMoney[playerid], giveplayer); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); SendClientMessage(playerid, COLOR_LIGHTBLUE, "Voce pode cancelar a ajuda usando (/cancelar ajuda)"); format(string, sizeof(string), "* %s aceitou sua ajuda por R$%d.", sendername, MercMoney[playerid]); SendClientMessage(MercOffer[playerid], COLOR_LIGHTBLUE, string); SendClientMessage(MercOffer[playerid], COLOR_LIGHTBLUE, "Voce pode cancelar a ajuda usando (/cancelar ajuda)"); GiveDinheiro(playerid, - MercMoney[playerid]); GiveDinheiro(MercOffer[playerid], MercMoney[playerid]); SetPVarInt(MercOffer[playerid], "MercID", playerid); SetPVarInt(MercOffer[playerid], "MercORG", GetPlayerOrg(playerid)); MercOffer[playerid] = 999; MercMoney[playerid] = 0; return true; } else { SendClientMessage(playerid, COLOR_GREY, "O mercenario nao esta perto de voce !"); return true; } } } else { SendClientMessage(playerid, COLOR_GREY, "Ninguem se ofereceu para ajudar voce !"); return true; } } else if(strcmp(x_Emprego,"mototaxi",true) == 0) { if(TransportDuty[playerid] != 1) { SendClientMessage(playerid, COLOR_GREY, "Voce nao esta em corrida, USE: /corrida !"); return true; } if(TaxistaCallTime[playerid] > 0) { SendClientMessage(playerid, COLOR_GREY, "Voce ja aceitou uma chamada de Moto-Taxista !"); return true; } if(TaxistaCall < 999) { if(IsPlayerConnected(TaxistaCall)) { GetPlayerName(playerid, sendername, sizeof(sendername)); GetPlayerName(TaxistaCall, giveplayer, sizeof(giveplayer)); format(string, sizeof(string), "* Voce aceitou a chamada do(a) %s, A marca estara visivel ate voce chegar.",giveplayer); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); format(string, sizeof(string), "* Moto-Taxista : %s aceitou sua chamada, se mantenha neste local e espere chegar.",PlayerName(playerid)); SendClientMessage(TaxistaCall, COLOR_LIGHTBLUE, string); GameTextForPlayer(playerid, "~w~Cliente~n~~r~Va Ate a Marca Vermelha", 5000, 1); TaxistaCallTime[playerid] = 1; TaxistaAccepted[playerid] = TaxistaCall; TaxistaCall = 999; return true; } } else { SendClientMessage(playerid, COLOR_GREY, " Nao tem nenhuma chamada de Taxista no momento !"); return true; } } else if(strcmp(x_Emprego,"taxi",true) == 0) { if(TransportDuty[playerid] != 1) { SendClientMessage(playerid, COLOR_GREY, "Voce nao esta em corrida, USE: /corrida !"); return true; } if(TaxistaCallTime[playerid] > 0) { SendClientMessage(playerid, COLOR_GREY, "Voce ja aceitou uma chamada de Taaxi !"); return true; } if(TaxistaCall < 999) { if(IsPlayerConnected(TaxistaCall)) { GetPlayerName(playerid, sendername, sizeof(sendername)); GetPlayerName(TaxistaCall, giveplayer, sizeof(giveplayer)); format(string, sizeof(string), "* Voce aceitou a chamada do(a) %s, A marca estara visivel ate voce chegar.",giveplayer); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); format(string, sizeof(string), "* Taxista: %s aceitou sua chamada, mantenha-se neste local e espere-o chegar.",PlayerName(playerid)); SendClientMessage(TaxistaCall, COLOR_LIGHTBLUE, string); GameTextForPlayer(playerid, "~w~Cliente~n~~r~Va Ate a Marca Vermelha", 5000, 1); SendClientMessage(playerid, COLOR_GREY, " Para Cancelar a chamada,digite /cancelar taxi !"); TaxistaCallTime[playerid] = 1; TaxistaAccepted[playerid] = TaxistaCall; TaxistaCall = 999; return true; } } else { SendClientMessage(playerid, COLOR_GREY, " Nao tem nenhuma chamada de Taxista no momento !"); return true; } } else if(strcmp(x_Emprego,"medico",true) == 0) { if(PlayerInfo[playerid][pMembro] == 4 || PlayerInfo[playerid][pLider] == 4 || PlayerInfo[playerid][pMembro] == 31 || PlayerInfo[playerid][pLider] == 31) { if(MedicCallTime[playerid] > 0) { SendClientMessage(playerid, COLOR_GREY, "Voce ja aceitou um chamado medico!"); return true; } if(MedicCall < 999) { if(IsPlayerConnected(MedicCall)) { GetPlayerName(playerid, sendername, sizeof(sendername)); GetPlayerName(MedicCall, giveplayer, sizeof(giveplayer)); format(string, sizeof(string), "* Voce aceitou a chamada do(a) %s, A marca estara visivel ate voce chegar.",giveplayer); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); format(string, sizeof(string), "* Medico : %s aceitou sua chamada, mantenha-se neste local e espere-o chegar.",PlayerName(playerid)); SendClientMessage(MedicCall, COLOR_LIGHTBLUE, string); GameTextForPlayer(playerid, "~w~Cliente~n~~r~Ir Ate a Marca Vermelha", 5000, 1); SendClientMessage(playerid, COLOR_GREY, " Para Cancelar a chamada,digite /cancelar medico !"); MedicCallTime[playerid] = 1; MedicAccepted[playerid] = MedicCall; MedicCall = 999; return true; } } else { SendClientMessage(playerid, COLOR_GREY, " Nenhuma chamada de medico no momento !"); return true; } } else { SendClientMessage(playerid, COLOR_GREY, "Voce nao e um Medico !"); return true; } } else if(strcmp(x_Emprego,"bombeiro",true) == 0) { if(PlayerInfo[playerid][pEmprego] == 6) { if(BombCallTime[playerid] > 0) { SendClientMessage(playerid, COLOR_GREY, "Voce ja aceitou um chamado de bombeiro!"); return true; } if(BombCall < 999) { if(IsPlayerConnected(BombCall)) { GetPlayerName(playerid, sendername, sizeof(sendername)); GetPlayerName(BombCall, giveplayer, sizeof(giveplayer)); format(string, sizeof(string), "* Voce aceitou a chamada do(a) %s, A marca estara visivel ate voce chegar.",giveplayer); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); format(string, sizeof(string), "* Bombeiro : %s aceitou sua chamada, mantenha-se neste local e espere-o chegar.",PlayerName(playerid)); SendClientMessage(BombCall, COLOR_LIGHTBLUE, string); GameTextForPlayer(playerid, "~w~Chamada~n~~r~Ir Ate a Marca Vermelha", 5000, 1); SendClientMessage(playerid, COLOR_GREY, " Para Cancelar a chamada,digite /cancelar bombeiro !"); BombCallTime[playerid] = 1; BombAccepted[playerid] = BombCall; BombCall = 999; return true; } } else { SendClientMessage(playerid, COLOR_GREY, " Nenhuma chamada de bombeiro no momento !"); return true; } } else { SendClientMessage(playerid, COLOR_GREY, "Voce nao e um Bombeiro !"); return true; } } else if(strcmp(x_Emprego,"mecanico",true) == 0) { if(PlayerInfo[playerid][pEmprego] == 2) { if(MechanicCallTime[playerid] > 0) { SendClientMessage(playerid, COLOR_GREY, "Voce ja aceitou uma chamada de Mecânico!"); return true; } if(MechanicCall < 999) { if(IsPlayerConnected(MechanicCall)) { GetPlayerName(playerid, sendername, sizeof(sendername)); GetPlayerName(MechanicCall, giveplayer, sizeof(giveplayer)); format(string, sizeof(string), "* Voce aceitou a chamada do(a) %s, A marca estara visivel ate voce chegar.",giveplayer); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); format(string, sizeof(string), "* Mecânico: %s aceitou sua chamada, mantenha-se neste local e espere-o chegar.",PlayerName(playerid)); SendClientMessage(MechanicCall, COLOR_LIGHTBLUE, string); GameTextForPlayer(playerid, "~w~Cliente~n~~r~Va Ate a Marca Vermelha", 5000, 1); SendClientMessage(playerid, COLOR_GREY, " Para Cancelar a chamada,digite /cancelar mecanico !"); MechanicCallTime[playerid] = 1; MechanicAccepted[playerid] = MechanicCall; MechanicCall = 999; return true; } } else { SendClientMessage(playerid, COLOR_GREY, " Nenhuma chamada de mecânico no momento !"); return true; } } else { SendClientMessage(playerid, COLOR_GREY, "Mecanicos nao podem pedir reparos !"); return true; } } else if(strcmp(x_Emprego,"onibus",true) == 0) { if(TransportDuty[playerid] != 2) { SendClientMessage(playerid, COLOR_GREY, "Voce nao esta em corrida, USE: /corrida !"); return true; } if(BusCallTime[playerid] > 0) { SendClientMessage(playerid, COLOR_GREY, "Voce ja aceitou a chamada de Onibus !"); return true; } if(BusCall < 999) { if(IsPlayerConnected(BusCall)) { GetPlayerName(playerid, sendername, sizeof(sendername)); GetPlayerName(BusCall, giveplayer, sizeof(giveplayer)); format(string, sizeof(string), "* Voce aceitou a chamada do(a) %s, A marca estara visivel ate voce chegar.",giveplayer); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); format(string, sizeof(string), "* Motorista : %s aceitou sua chamada, mantenha-se neste local e espere-o chegar.",PlayerName(playerid)); SendClientMessage(BusCall, COLOR_LIGHTBLUE, string); GameTextForPlayer(playerid, "~w~Cliente~n~~r~Va Ate a Marca Vermelha", 5000, 1); SendClientMessage(playerid, COLOR_GREY, " Para Cancelar a chamada,digite /cancelar onibus !"); BusCallTime[playerid] = 1; BusAccepted[playerid] = BusCall; BusCall = 999; return true; } } else { SendClientMessage(playerid, COLOR_GREY, " Nao tem nenhuma chamada de onibus no momento !"); return true; } } else if(strcmp(x_Emprego,"detran",true) == 0) { if(!(GetPlayerOrg(playerid) == 34)) { if(DetranChamadaTempo[playerid] > 0) { SendClientMessage(playerid, COLOR_GREY, "Voce ja aceitou uma chamada do Detran!"); return true; } if(DetranChamada < 999) { if(IsPlayerConnected(DetranChamada)) { GetPlayerName(playerid, sendername, sizeof(sendername)); GetPlayerName(DetranChamada, giveplayer, sizeof(giveplayer)); format(string, sizeof(string), "* Voce aceitou a chamada do(a) %s, A marca estara visivel ate voce chegar.",giveplayer); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); format(string, sizeof(string), "* DETRAN: %s aceitou sua chamada, mantenha-se neste local e espere-o chegar.",PlayerName(playerid)); SendClientMessage(DetranChamada, COLOR_LIGHTBLUE, string); new Float:psPos[3]; GetPlayerPos(DetranChamada, psPos[0], psPos[1], psPos[2]); RemovePlayerMapIcon(playerid, 55); SetPlayerMapIcon(playerid, 55, psPos[0], psPos[1], psPos[2], 0, 0x00FFFFFF, MAPICON_GLOBAL); GameTextForPlayer(playerid, "~w~Cliente~n~~r~Va Ate a Marca Vermelha", 5000, 1); SendClientMessage(playerid, COLOR_GREY, " Para Cancelar a chamada,digite /cancelar detran !"); DetranChamadaTempo[playerid] = 1; DetranAceitou[playerid] = DetranChamada; DetranChamada = 999; return true; } } else { SendClientMessage(playerid, COLOR_GREY, " Nenhuma chamada de mecânico no momento !"); return true; } } else { SendClientMessage(playerid, COLOR_GREY, "Mecanicos nao podem usar esse comando !"); return true; } } else if(strcmp(x_Emprego,"chamada",true) == 0) { if(IsACop(playerid)) { if(CopsrondaCallTime[playerid] > 0) { SendClientMessage(playerid, COLOR_GREY, "Voce aceitou o chamado!"); return true; } if(PolicialInRonda[playerid] == 1) { SendClientMessage(playerid, COLOR_GREY, "Voce ja esta em um chamado..."); return true; } if(CopsrondaCall < 999) { if(IsPlayerConnected(CopsrondaCall)) { GetPlayerName(playerid, sendername, sizeof(sendername)); GetPlayerName(CopsrondaCall, giveplayer, sizeof(giveplayer)); format(string, sizeof(string), "* Voce aceitou a chamada do(a) %s, A marca estara visivel ate voce chegar.",giveplayer); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); format(string, sizeof(string), "* Policial : %s aceitou sua chamada, mantenha-se neste local e espere-o chegar.",PlayerName(playerid)); SendClientMessage(CopsrondaCall, COLOR_LIGHTBLUE, string); GameTextForPlayer(playerid, "~w~Cliente~n~~r~Va Ate a Marca Vermelha", 5000, 1); SendClientMessage(playerid, COLOR_GREY, " Para Cancelar a chamada,digite /cancelar policia !"); CopsrondaCallTime[playerid] = 1; CopsrondaAccepted[playerid] = CopsrondaCall; CopsrondaCall = 999; return true; } } else { SendClientMessage(playerid, COLOR_GREY, " Ninguem solicitou um policial "); return true; } } else { SendClientMessage(playerid, COLOR_GREY, "Voce nao e um Policial !"); return true; } } else if(strcmp(x_Emprego,"emprego",true) == 0) { if(PlayerInfo[playerid][pEmprego] != 0) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "{FFFFFF}Voce ja possui um emprego, use {4682B4}/sairdoemprego{FFFFFF} para poder pegar outro"); return true; } if(GettingEmprego[playerid] > 0) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Boa sorte com seu novo emprego, digite /ajuda para saber seus comandos!"); PlayerInfo[playerid][pEmprego] = GettingEmprego[playerid]; GettingEmprego[playerid] = 0; return true; } else { SendClientMessage(playerid, COLOR_GREY, "Voce ainda nao esta no lugar de um emprego!"); return true; } } else if(strcmp(x_Emprego,"abastecimento",true) == 0) { if(RefillOffer[playerid] < 999) { if(IsPlayerConnected(RefillOffer[playerid])) { if(GetPlayerMoney(playerid) > RefillPrice[playerid]) { if(IsPlayerInAnyVehicle(playerid)) { GetPlayerName(RefillOffer[playerid], giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); new car = GetPlayerVehicleID(playerid); new fuel; PlayerInfo[RefillOffer[playerid]][pMechSkill] ++; if(PlayerInfo[RefillOffer[playerid]][pMechSkill] == 50) { SendClientMessage(RefillOffer[playerid], COLOR_YELLOW, "* Sua habilidade de mecânico agora e nivel 2, agora voce pode abastecer com 40 de combustivel"); } else if(PlayerInfo[RefillOffer[playerid]][pMechSkill] == 100) { SendClientMessage(RefillOffer[playerid], COLOR_YELLOW, "* Sua habilidade de mecânico agora e nivel 3, agora voce pode abastecer com 60 de combustivel."); } else if(PlayerInfo[RefillOffer[playerid]][pMechSkill] == 200) { SendClientMessage(RefillOffer[playerid], COLOR_YELLOW, "* Sua habilidade de mecânico agora e nivel 4, agora voce pode abastecer com 80 de combustivel."); } else if(PlayerInfo[RefillOffer[playerid]][pMechSkill] == 400) { SendClientMessage(RefillOffer[playerid], COLOR_YELLOW, "* Sua habilidade de mecânico agora e nivel 5, agora voce pode abastecer com 100 de combustivel."); } new level = PlayerInfo[RefillOffer[playerid]][pMechSkill]; if(level >= 0 && level <= 50) { fuel = 15; } else if(level >= 51 && level <= 100) { fuel = 40; } else if(level >= 101 && level <= 200) { fuel = 60; } else if(level >= 201 && level <= 400) { fuel = 80; } else if(level >= 401) { fuel = 100; } format(string, sizeof(string), "* Seu veiculo foi abastecido com %d% de combustivel por R$%d pelo mecânico %s.",fuel,RefillPrice[playerid],giveplayer); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); format(string, sizeof(string), "* Voce abasteceu o carro de %s com %d% de combustivel por R$%d, esse dinheiro sera adicionado ao seu salario.",sendername,fuel,RefillPrice[playerid]); SendClientMessage(RefillOffer[playerid], COLOR_LIGHTBLUE, string); PlayerInfo[RefillOffer[playerid]][pSalario] += RefillPrice[playerid]; GiveDinheiro(playerid, -RefillPrice[playerid]); DepositarOrgGrana(7,RefillPrice[playerid]); PLPG += RefillPrice[playerid]; DepositarOrgGrana(7,RefillPrice[playerid]); if(Gas[car] < 100) { Gas[car] += fuel; } if(Gas[car] > 100) { Gas[car] = 100; } RefillOffer[playerid] = 999; RefillPrice[playerid] = 0; return true; } else { SendClientMessage(playerid, COLOR_LIGHTBLUE, "Voce nao esta em um carro!"); return true; } } else { SendClientMessage(playerid, COLOR_GREY, "Voce nao pode pagar pelo abastecimento !"); return true; } } return true; } else { SendClientMessage(playerid, COLOR_GREY, " Ninguem ofereceu abastecimento para seu carro!"); return true; } } else if(strcmp(x_Emprego,"aovivo",true) == 0) { if(LiveOffer[playerid] < 999) { if(IsPlayerConnected(LiveOffer[playerid])) { if (ProxDetectorS(5.0, playerid, LiveOffer[playerid])) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Voce esta congelado ate o final da conversa."); SendClientMessage(LiveOffer[playerid], COLOR_LIGHTBLUE, "* Voce esta congelado ate o final da conversa (use /aovivo denovo)."); TalkingLive[playerid] = LiveOffer[playerid]; TalkingLive[LiveOffer[playerid]] = playerid; LiveOffer[playerid] = 999; return true; } else { SendClientMessage(playerid, COLOR_GREY, "Voce esta longe do reporter !"); return true; } } return true; } else { SendClientMessage(playerid, COLOR_GREY, " Ninguem te ofereceu uma conversa ao vivo!"); return true; } } else if(strcmp(x_Emprego,"maconha",true) == 0) { if(DrugOffer[playerid] < 999) { if(GetPlayerMoney(playerid) > DrugPrice[playerid]) { if(PlayerInfo[playerid][pDrogas] < 7) { if(IsPlayerConnected(DrugOffer[playerid])) { GetPlayerName(DrugOffer[playerid], giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "* voce comprou %d gramas de maconha do traficante: %s por R$%d.",DrugGram[playerid],giveplayer,DrugPrice[playerid]); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); format(string, sizeof(string), "* %s comprou suas %d gramas de maconha, e R$%d sera adicionado no seu salario.",sendername,DrugGram[playerid],DrugPrice[playerid]); SendClientMessage(DrugOffer[playerid], COLOR_LIGHTBLUE, string); PlayerInfo[DrugOffer[playerid]][pSalario] += DrugPrice[playerid]; PlayerInfo[DrugOffer[playerid]][pDrogasSkill] ++; GiveDinheiro(playerid, -DrugPrice[playerid]); PlayerInfo[playerid][pDrogas] += DrugGram[playerid]; PlayerInfo[DrugOffer[playerid]][pDrogas] -= DrugGram[playerid]; if(PlayerInfo[DrugOffer[playerid]][pDrogasSkill] == 50) { SendClientMessage(DrugOffer[playerid], COLOR_YELLOW, "* Seu nivel de traficante agora e 2, e voce pode comprar mais erva por um preco mais barato."); } else if(PlayerInfo[DrugOffer[playerid]][pDrogasSkill] == 100) { SendClientMessage(DrugOffer[playerid], COLOR_YELLOW, "* Seu nivel de traficante agora e 3, e voce pode comprar mais erva por um preco mais barato."); } else if(PlayerInfo[DrugOffer[playerid]][pDrogasSkill] == 200) { SendClientMessage(DrugOffer[playerid], COLOR_YELLOW, "* Seu nivel de traficante agora e 4, e voce pode comprar mais erva por um preco mais barato."); } else if(PlayerInfo[DrugOffer[playerid]][pDrogasSkill] == 400) { SendClientMessage(DrugOffer[playerid], COLOR_YELLOW, "* Seu nivel de traficante agora e 5, e voce pode comprar mais erva por um preco mais barato."); } DrugOffer[playerid] = 999; DrugPrice[playerid] = 0; DrugGram[playerid] = 0; return true; } return true; } else { SendClientMessage(playerid, COLOR_GREY, "Voce esta totalmente carregado com maconha, use ou venda primeiro !"); return true; } } else { SendClientMessage(playerid, COLOR_GREY, "Voce nao pode pagar essas maconhas !"); return true; } } else { SendClientMessage(playerid, COLOR_GREY, " Ninguem te ofereceu maconha !"); return true; } } else if(strcmp(x_Emprego,"cocaina",true) == 0) { if(DrugOffer[playerid] < 999) { if(GetPlayerMoney(playerid) > DrugPrice[playerid]) { if(PlayerInfo[playerid][pDrogas2] < 7) { if(IsPlayerConnected(DrugOffer[playerid])) { GetPlayerName(DrugOffer[playerid], giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "* voce comprou %d gramas de cocaina do traficante: %s por R$%d.",DrugGram[playerid],giveplayer,DrugPrice[playerid]); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); format(string, sizeof(string), "* %s comprou suas %d gramas de cocaina, e R$%d sera adicionado no seu salario.",sendername,DrugGram[playerid],DrugPrice[playerid]); SendClientMessage(DrugOffer[playerid], COLOR_LIGHTBLUE, string); PlayerInfo[DrugOffer[playerid]][pSalario] += DrugPrice[playerid]; PlayerInfo[DrugOffer[playerid]][pDrogasSkill] ++; GiveDinheiro(playerid, -DrugPrice[playerid]); PlayerInfo[playerid][pDrogas2] += DrugGram[playerid]; PlayerInfo[DrugOffer[playerid]][pDrogas2] -= DrugGram[playerid]; if(PlayerInfo[DrugOffer[playerid]][pDrogasSkill] == 50) { SendClientMessage(DrugOffer[playerid], COLOR_YELLOW, "* Seu nivel de traficante agora e 2, e voce pode comprar mais po por um preco mais barato."); } else if(PlayerInfo[DrugOffer[playerid]][pDrogasSkill] == 100) { SendClientMessage(DrugOffer[playerid], COLOR_YELLOW, "* Seu nivel de traficante agora e 3, e voce pode comprar mais po por um preco mais barato."); } else if(PlayerInfo[DrugOffer[playerid]][pDrogasSkill] == 200) { SendClientMessage(DrugOffer[playerid], COLOR_YELLOW, "* Seu nivel de traficante agora e 4, e voce pode comprar mais po por um preco mais barato."); } else if(PlayerInfo[DrugOffer[playerid]][pDrogasSkill] == 400) { SendClientMessage(DrugOffer[playerid], COLOR_YELLOW, "* Seu nivel de traficante agora e 5, e voce pode comprar mais po por um preco mais barato."); } DrugOffer[playerid] = 999; DrugPrice[playerid] = 0; DrugGram[playerid] = 0; return true; } return true; } else { SendClientMessage(playerid, COLOR_GREY, "Voce esta carregado com crack, use ou venda primeiro !"); return true; } } else { SendClientMessage(playerid, COLOR_GREY, "Voce nao pode pagar por essa cocaina !"); return true; } } else { SendClientMessage(playerid, COLOR_GREY, " Ninguem te ofereceu cocaina !"); return true; } } else if(strcmp(x_Emprego,"crack",true) == 0) { if(DrugOffer[playerid] < 999) { if(GetPlayerMoney(playerid) > DrugPrice[playerid]) { if(PlayerInfo[playerid][pDrogas3] < 7) { if(IsPlayerConnected(DrugOffer[playerid])) { GetPlayerName(DrugOffer[playerid], giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "* voce comprou %d pedras de crack do traficante: %s por R$%d.",DrugGram[playerid],giveplayer,DrugPrice[playerid]); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); format(string, sizeof(string), "* %s comprou suas %d pedras de crack, e R$%d sera adicionado no seu salario.",sendername,DrugGram[playerid],DrugPrice[playerid]); SendClientMessage(DrugOffer[playerid], COLOR_LIGHTBLUE, string); PlayerInfo[DrugOffer[playerid]][pSalario] += DrugPrice[playerid]; PlayerInfo[DrugOffer[playerid]][pDrogasSkill] ++; GiveDinheiro(playerid, -DrugPrice[playerid]); PlayerInfo[playerid][pDrogas3] += DrugGram[playerid]; PlayerInfo[DrugOffer[playerid]][pDrogas3] -= DrugGram[playerid]; if(PlayerInfo[DrugOffer[playerid]][pDrogasSkill] == 50) { SendClientMessage(DrugOffer[playerid], COLOR_YELLOW, "* Seu nivel de traficante agora e 2, e voce pode comprar mais pedras por um preco mais barato."); } else if(PlayerInfo[DrugOffer[playerid]][pDrogasSkill] == 100) { SendClientMessage(DrugOffer[playerid], COLOR_YELLOW, "* Seu nivel de traficante agora e 3, e voce pode comprar mais pedras por um preco mais barato."); } else if(PlayerInfo[DrugOffer[playerid]][pDrogasSkill] == 200) { SendClientMessage(DrugOffer[playerid], COLOR_YELLOW, "* Seu nivel de traficante agora e 4, e voce pode comprar mais pedras por um preco mais barato."); } else if(PlayerInfo[DrugOffer[playerid]][pDrogasSkill] == 400) { SendClientMessage(DrugOffer[playerid], COLOR_YELLOW, "* Seu nivel de traficante agora e 5, e voce pode comprar mais pedras por um preco mais barato."); } DrugOffer[playerid] = 999; DrugPrice[playerid] = 0; DrugGram[playerid] = 0; return true; } return true; } else { SendClientMessage(playerid, COLOR_GREY, "Voce esta carregado com crack, use ou venda primeiro !"); return true; } } else { SendClientMessage(playerid, COLOR_GREY, "Voce nao pode pagar por esse crack !"); return true; } } else { SendClientMessage(playerid, COLOR_GREY, " Ninguem te ofereceu crack !"); return true; } } else if(strcmp(x_Emprego,"reparo",true) == 0) { if(RepairOffer[playerid] < 999) { if(GetPlayerMoney(playerid) > RepairPrice[playerid]) { if(IsPlayerInAnyVehicle(playerid)) { if(IsPlayerConnected(RepairOffer[playerid])) { GetPlayerName(RepairOffer[playerid], giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); RepairCar[playerid] = GetPlayerVehicleID(playerid); SetVehicleHealth(RepairCar[playerid], 1000.0); TaDanificado[GetPlayerVehicleID(playerid)] = false; RepairVehicleWithBomber(RepairCar[playerid]); format(string, sizeof(string), "* O mecânico %s reparou seu veiculo por R$%d.",giveplayer,RepairPrice[playerid]); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); format(string, sizeof(string), "* Voce reparou o veiculo de %s, e R$%d foi adicionado no seu salario.",sendername,RepairPrice[playerid]); SendClientMessage(RepairOffer[playerid], COLOR_LIGHTBLUE, string); PlayerInfo[RepairOffer[playerid]][pMechSkill] ++; if(PlayerInfo[RepairOffer[playerid]][pMechSkill] == 50) { SendClientMessage(RepairOffer[playerid], COLOR_YELLOW, "* Seu Detran e cargo 2, Agora ele pode adicionar combustivel para qualquer carro."); } else if(PlayerInfo[RepairOffer[playerid]][pMechSkill] == 100) { SendClientMessage(RepairOffer[playerid], COLOR_YELLOW, "* Seu Detran e cargo 3, Agora ele pode adicionar combustivel para qualquer carro."); } else if(PlayerInfo[RepairOffer[playerid]][pMechSkill] == 200) { SendClientMessage(RepairOffer[playerid], COLOR_YELLOW, "* Seu Detran e cargo 4, Agora ele pode adicionar combustivel para qualquer carro."); } else if(PlayerInfo[RepairOffer[playerid]][pMechSkill] == 400) { SendClientMessage(RepairOffer[playerid], COLOR_YELLOW, "* Seu Detran e cargo 5, Agora ele pode adicionar combustivel para qualquer carro."); } PlayerInfo[RepairOffer[playerid]][pSalario] += RepairPrice[playerid]; GiveDinheiro(playerid, -RepairPrice[playerid]); RepairOffer[playerid] = 999; RepairPrice[playerid] = 0; return true; } return true; } return true; } else { SendClientMessage(playerid, COLOR_GREY, "Voce nao pode permitir o reparo !"); return true; } } else { SendClientMessage(playerid, COLOR_GREY, " Falta uma oferta para Voce reparar o carro !"); return true; } } else if(strcmp(x_Emprego,"blindagem",true) == 0) { if(BlindarOffer[playerid] < 999) { if(GetPlayerMoney(playerid) > BlindarPrice[playerid]) { if(IsPlayerInAnyVehicle(playerid)) { if(IsPlayerConnected(BlindarOffer[playerid])) { GetPlayerName(BlindarOffer[playerid], giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); TaDanificado[GetPlayerVehicleID(playerid)] = false; RepairVehicleWithBomber(GetPlayerVehicleID(playerid)); format(string, sizeof(string), "* O mecânico %s blindou seu veiculo por R$%d.",giveplayer,BlindarPrice[playerid]); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); format(string, sizeof(string), "* Voce blindou o veiculo de %s, e R$%d foi adicionado no seu salario.",sendername,BlindarPrice[playerid]); SendClientMessage(BlindarOffer[playerid], COLOR_LIGHTBLUE, string); PlayerInfo[BlindarOffer[playerid]][pSalario] += BlindarPrice[playerid]; GiveDinheiro(playerid, -BlindarPrice[playerid]); BlindarOffer[playerid] = 999; BlindarPrice[playerid] = 0; Cblindado[GetPlayerVehicleID(playerid)] = 1; Blindagem[GetPlayerVehicleID(playerid)] = 100; return true; } return true; } return true; } else { SendClientMessage(playerid, COLOR_GREY, "Voce nao pode permitir o reparo !"); return true; } } else { SendClientMessage(playerid, COLOR_GREY, " Falta uma oferta para Voce reparar o carro !"); return true; } } else if(strcmp(x_Emprego,"advogado",true) == 0) { if(AdvCallTime[playerid] > 0) { SendClientMessage(playerid, COLOR_GREY, "Voce ja aceitou uma chamada de Advogado !"); return true; } if(AdvCall < 999) { if(IsPlayerConnected(AdvCall)) { GetPlayerName(playerid, sendername, sizeof(sendername)); GetPlayerName(AdvCall, giveplayer, sizeof(giveplayer)); format(string, sizeof(string), "* Voce aceitou a chamada do(a) %s, A marca estara visivel ate voce chegar.",giveplayer); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); format(string, sizeof(string), "* Advogado : %s aceitou sua chamada, a qualquer momento ele podera chegar.",PlayerName(playerid)); SendClientMessage(TaxistaCall, COLOR_LIGHTBLUE, string); GameTextForPlayer(playerid, "~w~Cliente~n~~r~Va Ate a Marca Vermelha", 5000, 1); AdvCallTime[playerid] = 1; AdvAccepted[playerid] = AdvCall; AdvCall = 999; return true; } } else { SendClientMessage(playerid, COLOR_GREY, " Nao tem nenhuma chamada de Taxista no momento !"); return true; } } return true; } stock IsAHeli(vehicleid) { switch(GetVehicleModel(vehicleid)) { case 548, 425, 417, 487, 488, 497, 563:return 1; } return 0; } CMD:plataforma(playerid) { if(!IsACop(playerid) && PlayerInfo[playerid][pEmprego] != 6) return SendClientMessage(playerid, COLOR_GREY, "Voce nao e um policial / bombeiro!"); if(GetPlayerState(playerid) != PLAYER_STATE_DRIVER) return SendClientMessage(playerid, COLOR_GREY, "Voce precisa ser Motorista!"); if(!IsAHeli(GetPlayerVehicleID(playerid))) return SendClientMessage(playerid, COLOR_GREY, "Voce precisa estar em um Helicoptero!"); if(Platform[GetPlayerVehicleID(playerid)] == 0) { new Float:P[3]; GetVehiclePos(GetPlayerVehicleID(playerid), P[0], P[1], P[2]); Platform1[GetPlayerVehicleID(playerid)] = CreateDynamicObject(3857, P[0], P[1], P[2]-1,0.0, 0.0, 96.0); Platform2[GetPlayerVehicleID(playerid)] = CreateDynamicObject(1886, P[0], P[1], P[2]-1,0.0, 0.0, 96.0); Platform3[GetPlayerVehicleID(playerid)] = CreateDynamicObject(1886, P[0], P[1], P[2]-1,0.0, 0.0, 96.0); new atach1 = Platform1[GetPlayerVehicleID(playerid)]; new atach2 = Platform2[GetPlayerVehicleID(playerid)]; new atach3 = Platform3[GetPlayerVehicleID(playerid)]; new get = GetPlayerVehicleID(playerid); AttachObjectToVehicle(atach1, get, -0.004999, 0.454999, -1.624998, 404.011169, 272.355529, 0.000000); //Object Model: 3857 | AttachObjectToVehicle(atach2, get, 1.104999, 0.504999, -1.599998, 542.701843, 361.800964, 0.000000); //Object Model: 1886 | AttachObjectToVehicle(atach3, get, -1.139999, 0.504999, -1.599998, 542.701843, 361.800964, 0.000000); //Object Model: 1886 | Platform[GetPlayerVehicleID(playerid)] = 1; SendClientMessage(playerid, COLOR_LIGHTBLUE, "» Use {FFFFFF}/plataforma {33CCFF}novamente para Retira-la!"); return 1; } if(Platform[GetPlayerVehicleID(playerid)] == 1) { DestroyObject(Platform1[GetPlayerVehicleID(playerid)]); DestroyObject(Platform2[GetPlayerVehicleID(playerid)]); DestroyObject(Platform3[GetPlayerVehicleID(playerid)]); Platform[GetPlayerVehicleID(playerid)] = 0; SendClientMessage(playerid, COLOR_LIGHTBLUE, "» Voce Retirou a Plataforma."); return 1; } return 1; } CMD:corda(playerid) { if(!IsACop(playerid) && PlayerInfo[playerid][pEmprego] != 6) return SendClientMessage(playerid, COLOR_GREY, "Voce nao e um policial / Bombeiro!"); if(!IsAHeli(GetPlayerVehicleID(playerid))) return SendClientMessage(playerid, COLOR_GREY, "Voce nao esta em um helicoptero!"); if(GetVehicleSpeed(GetPlayerVehicleID(playerid)) > 15) return SendClientMessage(playerid, COLOR_GREY, " O Helicoptero tem que estar praticamente parado!"); if(GetPVarInt(playerid,"roped") == 0) { GetPlayerPos(playerid,pl_pos[playerid][0],pl_pos[playerid][1],pl_pos[playerid][2]); MapAndreas_FindZ_For2DCoord(pl_pos[playerid][0],pl_pos[playerid][1],pl_pos[playerid][3]); pl_pos_z[playerid] = pl_pos[playerid][3]; pl_pos[playerid][4] = floatsub(pl_pos[playerid][2],pl_pos[playerid][3]); if(pl_pos[playerid][4] >= ropelength) return SendClientMessage(playerid,COLOR_LIGHTRED,"O Helicoptero esta muito alto para descer!"); if(pl_pos[playerid][4] <= 3) return RemovePlayerFromVehicle(playerid); SetPVarInt(playerid,"roped", 1); SetPVarInt(playerid,"chop_id", GetPlayerVehicleID(playerid)); SetPlayerCheckpoint(playerid,pl_pos[playerid][0],pl_pos[playerid][1],floatsub(pl_pos[playerid][3],offsetz),25.0); SetPlayerPos(playerid,pl_pos[playerid][0],pl_pos[playerid][1],floatsub(pl_pos[playerid][2],3)); SetPlayerVelocity(playerid,0,0,0); for(new rep=0;rep!=10;rep++) ApplyAnimationEx(playerid,"ped","abseil",4.0,0,0,0,1,0); for(new cre=0;cre<=pl_pos[playerid][4];cre++) { r0pes[playerid][cre] = CreateDynamicObject(3004,pl_pos[playerid][0],pl_pos[playerid][1],floatadd(pl_pos[playerid][3],cre),87.640026855469,342.13500976563, 350.07507324219); } SetTimerEx("syncanim",dur,0,"i",playerid); } return 1; } CMD:menumultas(playerid, params[]) { if(IsPlayerInRangeOfPoint(playerid, 5.0, 358.2365,163.2633,1008.3828)) { if(PlayerInfo[playerid][pPontosHab] > 0) { format(strbrazz, 256, "Quantidade de multas\tValor\n\ {00FF00}Suas Multas: {FFFFFF}%d\t{00FF00}R$ %s", PlayerInfo[playerid][pPontosHab], ConvertMoney(PlayerInfo[playerid][pPontosHab]*800)); ShowPlayerDialog(playerid, 15382, 5, "Info Multas", strbrazz, "Pagar", "Cancelar"); } else return SCM(playerid, COLOR_GREEN, "[Multas] Você não tem nenhuma multa!"); } else return SCM(playerid, COLOR_GRAD1, "Você não está no local de multas(Prefeitura)"); return 1; } CMD:multar(playerid, params[]) { if(!IsACop(playerid)) { SendClientMessage(playerid, COLOR_GREY, "Voce nao e um policial!"); return true; } if(OnDuty[playerid] == 0) { SendClientMessage(playerid, COLOR_GREY, "Voce nao Bateu o cartao!"); return true; } if(PlayerInfo[playerid][pJailed] != 0)return SendClientMessage(playerid,COLOR_YELLOW,"Voce nao pode usar esse comando na cadeia!"); new result[64]; if(sscanf(params, "us[64]", giveplayerid, result)) { SendClientMessage(playerid, COLOR_GRAD2, "USE: /multar [ID do Player] [motivo]"); return true; } if(giveplayerid == playerid) return SendClientMessage(playerid, COLOR_GRAD2, "Você não pode se multar!"); if(IsPlayerConnected(giveplayerid)) { if(PlayerInfo[giveplayerid][pJailed] > 0) { SendClientMessage(playerid, COLOR_GRAD1, "Voce nao pode multar jogadores que estejam presos!"); return true; } if(PlayerInfo[giveplayerid][pCarLic] != 1 && PlayerInfo[giveplayerid][pFlyLic] != 1 && PlayerInfo[giveplayerid][pBoatLic] != 1 && PlayerInfo[giveplayerid][pLevel] < 3) return SCMf(playerid, COLOR_LIGHTRED, "O Jogador: %s não tem habilitação, ou é menos de nivel 3, por tanto, não pode multa-lo!", PlayerName(giveplayerid)); if (ProxDetectorS(25.0, playerid, giveplayerid)) { if(PlayerInfo[giveplayerid][pPontosHab] >= 18) { SCMf(giveplayerid, COLOR_LIGHTRED, "Você completou: 18/18 pontos em sua carteira e você perdeu todas as suas habilitações.", PlayerInfo[giveplayerid][pPontosHab]); PlayerInfo[giveplayerid][pPontosHab] = 0; PlayerInfo[giveplayerid][pCarLic] = 0; PlayerInfo[giveplayerid][pBoatLic] = 0; PlayerInfo[giveplayerid][pFlyLic] = 0; if(IsPlayerInAnyVehicle(giveplayerid)) { RemovePlayerFromVehicle(giveplayerid); } return 1; } new string[256]; GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "* Voce multou %s por R$%d, Razao: %s", giveplayer, moneys, result); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); format(string, sizeof(string), "* Oficial %s lhe aplicou uma multa, Razao: %s", sendername, result); SendClientMessage(giveplayerid, COLOR_LIGHTRED, string); format(string, sizeof(string), "[MULTA] Você foi multado! sua carteira tem: %d/18 pontos, pague na prefeitura.", PlayerInfo[giveplayerid][pPontosHab]); SendClientMessage(giveplayerid, COLOR_LIGHTRED, string); format(string, sizeof(string), "[INFO MULTA] Se você chegar a 18 pontos perderá todas suas habilitações."); SendClientMessage(giveplayerid, COLOR_LIGHTRED, string); PlayerInfo[giveplayerid][pPontosHab] += 3; PMA++; return true; } else { SendClientMessage(playerid, COLOR_GREY, "O jogador esta longe !"); return true; } } else { SendClientMessage(playerid, COLOR_GREY, "O jogador esta Offline !"); } return true; } CallBack::PresoMulta(playerid) { if(IsPlayerConnected(playerid)) { if(TicketOffer[playerid] < 999) { TicketOffer[playerid] = 999; TicketMoney[playerid] = 0; PlayerInfo[playerid][pJailed] = 1; WantedPoints[playerid] = 0; SetPlayerWantedLevelEx(playerid, WantedPoints[playerid]); PlayerInfo[playerid][pJailTime] = 5*60; SendClientMessage(playerid, COLOR_LIGHTRED, "*Voce deveria ter pagado suas multas, agora foi preso por 5 minutos na DP Policia Militar."); } } } CMD:cameraman(playerid) { if(PlayerInfo[playerid][pMembro] == 9 || PlayerInfo[playerid][pLider] == 9 || PlayerInfo[playerid][pMembro] == 32 || PlayerInfo[playerid][pLider] == 32) { if(CamreaInfo[cameraman] != playerid) { if(CamreaInfo[cameraman] != INVALID_PLAYER_ID) { SendClientMessage(playerid, COLOR_GREY, "Alguem esta de Camera-Man!Peca que ele saia."); return 1; } } OnAir(playerid,0); } return 1; } CMD:audiencia(playerid) { new string[MAX_STRING]; if(GetPlayerOrg(playerid) == 9 || GetPlayerOrg(playerid) == 32) { format(string, sizeof(string), "Audiencia de Pessoas Assistindo Televisao: %d", CamreaInfo[audience]); SendClientMessage(playerid, 0xff6347FF, string); } else { SendClientMessage(playerid, COLOR_GREY, "Voce nao e um Reporter !"); return 1; } return true; } CMD:noar(playerid) { if(PlayerInfo[playerid][pMembro] == 9 || PlayerInfo[playerid][pLider] == 9 || PlayerInfo[playerid][pMembro] == 32 || PlayerInfo[playerid][pLider] == 32) { new string[MAX_STRING]; if(CamreaInfo[cameraman] == playerid) { format(string, sizeof(string), "Reporter %s: Ligou sua Camera e esta no Ar Agora!Use /assistir", NomePlayer(playerid)); OOCNews(0xFFA500F6,string); OnAir(playerid,1); } } return 1; } CMD:assistir(playerid) { if(playerid != CamreaInfo[cameraman]) { if(!PlayerInfo[playerid][pTelevisao]) return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao tem uma Televisao, compre um na 24/7!"); Assistindo(playerid); return 1; } else { SendClientMessage(playerid,0xCD0400AA,"Voce e o Camera Man, Voce nao pode assistir a TV!"); } return 1; } CMD:desligartv(playerid) { if(player_viewer[playerid] && playerid != CamreaInfo[cameraman]) { RemovePlayer(playerid); return 1; } SendClientMessage(playerid,0xCD0400AA,"Voce nao esta assistindo TV!"); return 1; } CMD:foradoar(playerid) { new string[MAX_STRING]; if(PlayerInfo[playerid][pMembro] == 9 || PlayerInfo[playerid][pLider] == 9 || PlayerInfo[playerid][pMembro] == 32 || PlayerInfo[playerid][pLider] == 32) { if(CamreaInfo[cameraman] == playerid) { format(string, sizeof(string), "Reporter %s: Desligou sua Camera e guardou seus Equipamentos.", NomePlayer(playerid)); OOCNews(0xFFA500F6,string); OffAir(); } } return 1; } CMD:prevertempo(playerid) { if(PlayerInfo[playerid][pMembro] == 9 || PlayerInfo[playerid][pLider] == 9 || PlayerInfo[playerid][pMembro] == 32 || PlayerInfo[playerid][pLider] == 32) { if(teveprevisao) return SendClientMessage(playerid, COLOR_GREY, "Ja Houve Previsao Neste Payday!"); new rdtempo = random(43); UpdateWeather(0, rdtempo, playerid); return true; } else { SendClientMessage(playerid, COLOR_GREY, " Voce nao e um Reporter !"); } return 1; } CMD:noticias(playerid, result[]) { if(PlayerInfo[playerid][pMembro] == 9 || PlayerInfo[playerid][pLider] == 9 || PlayerInfo[playerid][pMembro] == 32 || PlayerInfo[playerid][pLider] == 32) { new tmpcar = GetPlayerVehicleID(playerid); if(PlayerInfo[playerid][pMuted] == 1) { SendClientMessage(playerid, 0xA92BF6F6, "Voce nao poder falar, Voce foi calado"); return true; } if(IsAJornalCar(tmpcar)||PlayerToPoint(5,playerid,755.4222,-1361.7944,13.5132)) { GetPlayerName(playerid, sendername, sizeof(sendername)); if(isnull(result)) { SendClientMessage(playerid, COLOR_GRAD2, "USE: /noticias [Texto]"); return true; } new string[256]; format(string, sizeof(string), "Reporter %s: %s", sendername, result); OOCNews(0xFFA500F6,string); PlayerInfo[playerid][pNewsSkill] ++; if(PlayerInfo[playerid][pNewsSkill] == 50) { SendClientMessage(playerid, COLOR_YELLOW, "* Seu Reporter Agora e cargo 2, logo logo ja pode voar no helicoptero e falar AoVivo."); } else if(PlayerInfo[playerid][pNewsSkill] == 100) { SendClientMessage(playerid, COLOR_YELLOW, "* Seu Reporter Agora e cargo 3, logo logo ja pode voar no helicoptero e falar AoVivo."); } else if(PlayerInfo[playerid][pNewsSkill] == 200) { SendClientMessage(playerid, COLOR_YELLOW, "* O Seu Reporter Agora e cargo 4 e pode fazer coberturas com helicoptero"); } else if(PlayerInfo[playerid][pNewsSkill] == 400) { SendClientMessage(playerid, COLOR_YELLOW, "* O Seu Reporter Agora e cargo 5 e pode conversar AoVivo com quem ele quizer."); } } else { SendClientMessage(playerid, COLOR_GREY, "Voce nao esta no Jornal ou na Van !"); return true; } } else { SendClientMessage(playerid, COLOR_GREY, "Voce nao e um Reporter !"); } return true; } CMD:aovivo(playerid, params[]) { if(PlayerInfo[playerid][pMembro] == 9 || PlayerInfo[playerid][pLider] == 9 || PlayerInfo[playerid][pMembro] == 32 || PlayerInfo[playerid][pLider] == 32) { if(TalkingLive[playerid] != 255) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "* A Conversa AoVivo Terminou."); SendClientMessage(TalkingLive[playerid], COLOR_LIGHTBLUE, "* A Conversa AoVivo Terminou."); Controle(playerid, 1); Controle(TalkingLive[playerid], 1); TalkingLive[TalkingLive[playerid]] = 255; TalkingLive[playerid] = 255; return true; } if(PlayerInfo[playerid][pCargo] < 2) { SendClientMessage(playerid, COLOR_GREY, " Seu Cargo e baixo para falar com alguem AoVivo !"); return true; } if(sscanf(params, "u", giveplayerid)) { SendClientMessage(playerid, COLOR_GRAD1, "USE: /aovivo [ID do Player]"); return true; } if (IsPlayerConnected(giveplayerid)) { if(giveplayerid != INVALID_PLAYER_ID) { if (ProxDetectorS(5.0, playerid, giveplayerid)) { new string[128]; if(giveplayerid == playerid) { SendClientMessage(playerid, COLOR_GREY, "Voce nao pode falar AoVivo com voce mesmo!"); return true; } GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "* Voce ofereceu a %s para ter uma conversa AoVivo.", giveplayer); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); format(string, sizeof(string), "* %s Voce tem uma oferta para conversas ao vivo, Digite (/aceitar aovivo) para aceitar.", PlayerName(playerid)); SendClientMessage(giveplayerid, COLOR_LIGHTBLUE, string); LiveOffer[giveplayerid] = playerid; } else { SendClientMessage(playerid, COLOR_GREY, "Voce esta longe deste player !"); return true; } } } else { SendClientMessage(playerid, COLOR_GREY, " ID/Nick - Invalido !"); return true; } } else { SendClientMessage(playerid, COLOR_GREY, "Voce nao e um reporter !"); } return true; } CMD:createbancosorg(playerid) { if (PlayerInfo[playerid][pAdmin] >= 1342) { CreateBancoOrgs(); SendClientMessage(playerid,COLOR_LIGHTRED,"* Voce Criou os Cofre Orgs!"); return 1; } return 1; } static stock CheaterOn(cheater) { new strch[80]; if(cheaterligado[cheater] == true)strch = "{00DB00}(LIGADO){FFFFFF}"; else strch = "{00FFFF}(DESLIGADO){FFFFFF}"; return strch; } CMD:curarme(playerid, params[]) { if (PlayerToPoint(3, playerid,1172.6522,-1327.9591,15.4025)||PlayerToPoint(3, playerid,2029.5945,-1404.6426,17.2512)) { if(PlayerInfo[playerid][pDoenca] > 0) { PlayerInfo[playerid][pDoenca] = 0; SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Voce esta infectado com uma DST, va ate um hospital se tratar !"); GiveDinheiro(playerid, -500); SendClientMessage(playerid, 0xA92BF6F6, "Dr.Bezerra de Menezes: Retiramos as suas doencas! Tenha um otimo dia!!"); SendClientMessage(playerid, 0xA92BF6F6, "Hospital: Foram cobrados R$500 para ajudar o Hospital!!"); SendClientMessage(playerid, 0xA92BF6F6, "Hospital: Procure um medico que eles cobram mais barato!!"); SetPlayerDrunkLevel (playerid, 0); } else { SendClientMessage(playerid, COLOR_GREY, "Voce nao tem uma Doenca para ser curada !"); return true; } } else { SendClientMessage(playerid, COLOR_GREY, "Voce nao esta em um Hospital !"); } return true; } CMD:ejetar(playerid, params[]) { new State; if(IsPlayerInAnyVehicle(playerid)) { State=GetPlayerState(playerid); if(State!=PLAYER_STATE_DRIVER) { SendClientMessage(playerid,COLOR_GREY,"Voce nao e o motorista do carro !"); return true; } new playa; if(sscanf(params, "u", playa)) { SendClientMessage(playerid, COLOR_GRAD2, "USE: /ejetar [ID do Player]"); return true; } new test; test = GetPlayerVehicleID(playerid); if(IsPlayerConnected(playa)) { if(playa != INVALID_PLAYER_ID) { if(playa == playerid) { SendClientMessage(playerid, COLOR_GREY, "Voce nao pode se expulsar... Aperte F ¬¬!"); return true; } if(IsPlayerInVehicle(playa,test)) { new string[128]; new PName[MAX_PLAYER_NAME]; GetPlayerName(playerid,PName,sizeof(PName)); GetPlayerName(playa, giveplayer, sizeof(giveplayer)); format(string, sizeof(string), "* Voce expulsou o(a) %s para fora do carro!", giveplayer); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); format(string, sizeof(string), "* Voce foi retirado do carro por %s !", PName); SendClientMessage(playa, COLOR_LIGHTBLUE, string); RemovePlayerFromVehicle(playa); } else { SendClientMessage(playerid, COLOR_GREY, " Este jogador nao esta em seu carro !"); return true; } } } else { SendClientMessage(playerid, COLOR_GREY, " ID/Nick - Invalido!"); } } else { SendClientMessage(playerid, COLOR_GREY, "Voce precisa estar em um carro para usar este comando !"); } return true; } CMD:bafometro(playerid, params[]) { if(!IsACop(playerid)) { SendClientMessage(playerid, COLOR_GREY, "Voce nao e um policial !"); return true; } if(OnDuty[playerid] == 0) { SendClientMessage(playerid, COLOR_GREY, "Voce nao Bateu o cartao !"); return true; } if(PlayerInfo[playerid][pJailed] == 9) { SendClientMessage(playerid,COLOR_GRAD1,"Voce nao pode usar este comando nas Celas da Administracao!"); return true; } if(sscanf(params, "u", giveplayerid)) { SendClientMessage(playerid, COLOR_WHITE, "USE: /bafometro [ID do Player]"); return true; } if(IsPlayerConnected(giveplayerid)) { if(giveplayerid != INVALID_PLAYER_ID) { if (ProxDetectorS(8.0,playerid,giveplayerid)) { new string[128]; GetPlayerName(giveplayerid,giveplayer,sizeof(giveplayer)); GetPlayerName(playerid,sendername,sizeof(sendername)); new bebado[32], bebado2[32]; if(PlayerDrunk[giveplayerid] > 0) { bebado = "Bebado."; } else { bebado = "| Sobrio "; } if(PlayerInfo[giveplayerid][pMats] > 0) { bebado2 = "Drogado."; } else { bebado2 = "| Sobrio "; } format(string,sizeof(string),"|__________[ %s ]__________|",giveplayer); SendClientMessage(playerid,COLOR_WHITE,string); format(string,sizeof(string),"%s.",bebado); SendClientMessage(playerid,COLOR_GREY,string); format(string,sizeof(string),"%s.",bebado2); format(string,sizeof(string),"* %s faz o teste do Bafometro em %s.",sendername ,giveplayer); SendClientMessageInRange(30.0,playerid,string,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); } else { SendClientMessage(playerid,COLOR_GREY,"O jogador nao esta perto de voce !"); return true; } } } else { SendClientMessage(playerid,COLOR_GREY,"Esse jogador esta off-line !"); return true; } return true; } CMD:revistar(playerid, params[]) { if(!IsACop(playerid)) { SendClientMessage(playerid, COLOR_GREY, "Voce nao e um policial!"); return true; } if(OnDuty[playerid] == 0) { SendClientMessage(playerid, COLOR_GREY, "Voce nao Bateu o cartao!"); return true; } if(PlayerInfo[playerid][pJailed] == 9) { SendClientMessage(playerid,COLOR_GRAD1,"Voce nao pode usar este comando nas Celas da Administracao!"); return true; } if(sscanf(params, "u", giveplayerid)) { SendClientMessage(playerid, COLOR_WHITE, "USE: /revistar [ID do Player]"); return true; } if(IsPlayerConnected(giveplayerid)) { if(giveplayerid != INVALID_PLAYER_ID) { if (ProxDetectorS(8.0, playerid, giveplayerid)) { new string[128]; if(giveplayerid == playerid) { SendClientMessage(playerid, COLOR_GREY, "Voce nao pode se Revistar!"); return true; } GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); new text1[50], text4[20], text6[20], text7[20]; if(PlayerInfo[giveplayerid][pDrogas] < 1 || PlayerInfo[giveplayerid][pDrogas2] < 1 || PlayerInfo[giveplayerid][pDrogas3] < 1) { text1 = "| Vazio"; } if(PlayerInfo[giveplayerid][pDrogas] > 0 && PlayerInfo[giveplayerid][pDrogas] < 520 || PlayerInfo[giveplayerid][pDrogas2] > 0 && PlayerInfo[giveplayerid][pDrogas2] < 520 || PlayerInfo[giveplayerid][pDrogas3] > 0 && PlayerInfo[giveplayerid][pDrogas3] < 520) { text1 = "| Drogas(Porte Usuario)"; } if(PlayerInfo[giveplayerid][pDrogas] >= 520 || PlayerInfo[giveplayerid][pDrogas2] >= 520 || PlayerInfo[giveplayerid][pDrogas3] >= 520) { text1 = "| Drogas(Porte Trafico)"; } if(PlayerInfo[giveplayerid][pMats] > 0) { text4 = "| Materiais."; } else { text4 = "| Vazio."; } if(PlayerInfo[giveplayerid][pPhoneBook] > 0) { text6 = "| Lista Telefonica."; } else { text6 = "| Vazio."; } if(PlayerInfo[giveplayerid][pCDPlayer] > 0) { text7 = "| CDPlayer."; } else { text7 = "| Vazio."; } format(string, sizeof(string), "|__________ Itens %s __________|", giveplayer); SendClientMessage(playerid, COLOR_WHITE, string); format(string, sizeof(string), "%s", text1); SendClientMessage(playerid, COLOR_GREY, string); format(string, sizeof(string), "%s [Quantidade: %d].", text4, PlayerInfo[giveplayerid][pMats]); SendClientMessage(playerid, COLOR_GREY, string); format(string, sizeof(string), "%s.", text6); SendClientMessage(playerid, COLOR_GREY, string); format(string, sizeof(string), "%s.", text7); SendClientMessage(playerid, COLOR_GREY, string); SendClientMessage(playerid, COLOR_YELLOW, "| Para ver se possui alguma arma use /revistararmas."); format(string, sizeof(string), "* %s revistou %s para ver se tem qualquer item ilegal.", sendername ,giveplayer); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); } else { SendClientMessage(playerid, COLOR_GREY, " O Jogador esta longe de Voce !"); return true; } } } else { SendClientMessage(playerid, COLOR_GREY, " O Jogador Esta Offline !"); return true; } return true; } CMD:revistararmas(playerid, params[]) { if(sscanf(params, "u", giveplayerid)) { SendClientMessage(playerid, COLOR_WHITE, "USE: /revistararmas [id do player]"); return true; } if(!IsACop(playerid)) { SendClientMessage(playerid, COLOR_GREY, "Voce nao e um policial!"); return true; } if(OnDuty[playerid] == 0) { SendClientMessage(playerid, COLOR_GREY, "Voce nao Bateu o cartao!"); return true; } new string[128]; if(IsPlayerConnected(giveplayerid)) { if(giveplayerid != INVALID_PLAYER_ID) { if (ProxDetectorS(8.0, playerid, giveplayerid)) { new weapons[13][2]; new playerck[MAX_PLAYER_NAME]; GetPlayerName(giveplayerid, playerck, sizeof(playerck)); format(string, sizeof(string), "EXIBINDO AS Informações DAS ARMAS DE: %s",playerck); SendClientMessage(playerid, TEAM_BALLAS_COLOR, string); GetPlayerWeaponData(giveplayerid, 2, weapons[2][0], weapons[2][1]); format(string, sizeof(string), "Arma: %s, Municao: %d",aNames[weapons[2][0]], weapons[2][1]); SendClientMessage(playerid, COLOR_WHITE, string); GetPlayerWeaponData(giveplayerid, 3, weapons[3][0], weapons[3][1]); format(string, sizeof(string), "Arma: %s, Municao: %d",aNames[weapons[3][0]], weapons[3][1]); SendClientMessage(playerid, COLOR_WHITE, string); GetPlayerWeaponData(giveplayerid, 4, weapons[4][0], weapons[4][1]); format(string, sizeof(string), "Arma: %s, Municao: %d",aNames[weapons[4][0]], weapons[4][1]); SendClientMessage(playerid, COLOR_WHITE, string); GetPlayerWeaponData(giveplayerid, 5, weapons[5][0], weapons[5][1]); format(string, sizeof(string), "Arma: %s, Municao: %d",aNames[weapons[5][0]], weapons[5][1]); SendClientMessage(playerid, COLOR_WHITE, string); GetPlayerWeaponData(giveplayerid, 6, weapons[6][0], weapons[6][1]); format(string, sizeof(string), "Arma: %s, Municao: %d",aNames[weapons[6][0]], weapons[6][1]); SendClientMessage(playerid, COLOR_WHITE, string); GetPlayerWeaponData(giveplayerid, 7, weapons[7][0], weapons[7][1]); format(string, sizeof(string), "Arma: %s, Municao: %d",aNames[weapons[7][0]], weapons[7][1]); SendClientMessage(playerid, COLOR_WHITE, string); GetPlayerWeaponData(giveplayerid, 8, weapons[8][0], weapons[8][1]); format(string, sizeof(string), "Arma: %s, Municao: %d",aNames[weapons[8][0]], weapons[8][1]); SendClientMessage(playerid, COLOR_WHITE, string); GetPlayerWeaponData(giveplayerid, 9, weapons[9][0], weapons[9][1]); format(string, sizeof(string), "Arma: %s, Municao: %d",aNames[weapons[9][0]], weapons[9][1]); SendClientMessage(playerid, COLOR_WHITE, string); GetPlayerWeaponData(giveplayerid, 11, weapons[11][0], weapons[11][1]); format(string, sizeof(string), "Arma: %s, Municao: %d",aNames[weapons[11][0]], weapons[11][1]); SendClientMessage(playerid, COLOR_WHITE, string); format(string, sizeof(string), "* %s revistou %s para verificar se ele possui alguma arma.", sendername ,giveplayer); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); } else { SendClientMessage(playerid, COLOR_GREY, " O Jogador esta longe de Voce !"); return true; } } } else { SendClientMessage(playerid, COLOR_GREY, " Este jogador esta off-line !"); return true; } return true; } CMD:sairdoemprego(playerid, params[]) { if(PlayerInfo[playerid][pJailed] == 9) { SendClientMessage(playerid,COLOR_GRAD1,"Voce nao pode usar este comando nas Celas da Administracao!"); return true; } if (PlayerInfo[playerid][pVIP] >= 1) { if(PlayerInfo[playerid][pEmprego] > 0) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Voce cumpriu seu contrato e saiu do emprego."); if(PlayerInfo[playerid][pSex] == 1) { PlayerInfo[playerid][pSkin] = 289; } else { PlayerInfo[playerid][pSkin] = 150; } PlayerInfo[playerid][pEmprego] = 0; PlayerInfo[playerid][pContractTime] = 0; if(yMP_Carro[playerid] != 0){ DestroyVehicleEx(yMP_Carro[playerid]); yMP_Carro[playerid] = 0; } return true; } } if(PlayerInfo[playerid][pEmprego] > 0) { if(PlayerInfo[playerid][pContractTime] >= 0) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Voce cumpriu seu contrato e saiu do emprego."); if(PlayerInfo[playerid][pEmprego] == 8) { GariTrabalhando[playerid] = 0; SetPlayerSkin(playerid, 289); DisablePlayerCheckpoint(playerid); } PlayerInfo[playerid][pEmprego] = 0; PlayerInfo[playerid][pContractTime] = 0; if(PlayerInfo[playerid][pSex] == 1) { PlayerInfo[playerid][pSkin] = 289; } else { PlayerInfo[playerid][pSkin] = 150; } } else { new string[128]; format(string, sizeof(string), "* Voce tem %d Horas de Emprego,Precisa completar 5 pra pegar outro.", PlayerInfo[playerid][pContractTime]); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); } } else { SendClientMessage(playerid, COLOR_GREY, "Voce nao possui um emprego!"); } return true; } CMD:limpar(playerid, params[])return ForT:limparficha(playerid, params); CMD:limparficha(playerid, params[]) { if(IsACop(playerid)) { new result[64]; if(OnDuty[playerid] == 0) { SendClientMessage(playerid, COLOR_GREY, "Voce nao Bateu o cartao!"); return true; } new string[128]; if (!PlayerToPoint(3.0, playerid, 253.9280,69.6094,1003.6406) && !PlayerToPoint(3.0, playerid, 259.2474,120.3977,1003.2188) && !PlayerToPoint(3.0, playerid, 198.9671,168.1982,1003.0234) && !PlayerToPoint(3.0, playerid, 234.8419,111.2194,1003.2257) && !PlayerToPoint(3.0, playerid, 699.6252,-553.2016,-3.5950) && !PlayerToPoint(3.0, playerid, 1168.3513,1358.5784,10.9219)) { SendClientMessage(playerid, COLOR_GRAD2, "Voce nao esta na recepcao do Departamento de Policia !"); return true; } if(sscanf(params, "us[68]", giveplayerid, result)) { SendClientMessage(playerid, COLOR_GRAD2, "/limpar [ID do Player] [Motivo]"); return 1; } if(IsPlayerConnected(giveplayerid)) { if(giveplayerid != INVALID_PLAYER_ID) { if(giveplayerid == playerid) { SendClientMessage(playerid, COLOR_GREY, "Voce nao limpar sua propria ficha!"); return true; } GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "* Voce limpou a ficha de %s.", giveplayer); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); format(string, sizeof(string), "*Oficial: %s limpou a ficha de: %s, motivo: %s",sendername,giveplayer, result); SendFamilyMessage(2, COLOR_DBLUE, string); SendFamilyMessage(2, COLOR_DBLUE, string); SendFamilyMessage(6, COLOR_DBLUE, string); SendFamilyMessage(3, COLOR_DBLUE, string); SendFamilyMessage(16, COLOR_DBLUE, string); SendFamilyMessage(27, COLOR_DBLUE, string); SendFamilyMessage(31, COLOR_DBLUE, string); SendFamilyMessage(7, COLOR_DBLUE, string); SendFamilyMessage(11, COLOR_DBLUE, string); SendFamilyMessage(4, COLOR_DBLUE, string); SendFamilyMessage(33, COLOR_DBLUE, string); format(string, sizeof(string), "* Oficial %s Limpou a sua ficha.", PlayerName(playerid)); SendClientMessage(giveplayerid, COLOR_LIGHTBLUE, string); WantedPoints[giveplayerid] = 0; SetPlayerWantedLevelEx(giveplayerid, 0); ClearCrime(giveplayerid); return 1; } } else { SendClientMessage(playerid, COLOR_GREY, " Invalido ID/NICK!"); } } new member = PlayerInfo[playerid][pMembro]; new lider = PlayerInfo[playerid][pLider]; new rank = PlayerInfo[playerid][pCargo]; if(member == 12 || member == 13 || lider == 12 || lider == 13) { if(sscanf(params, "u", giveplayerid)) { SendClientMessage(playerid, COLOR_GRAD1, "USE: /limpar [id]"); return 1; } if(IsPlayerConnected(giveplayerid)) { if(giveplayerid != INVALID_PLAYER_ID) { if(giveplayerid == playerid) { SendClientMessage(playerid, COLOR_GREY, "Voce nao pode limpar-se!"); return 1; } if(rank < 4) { SendClientMessage(playerid, COLOR_GREY, " Apenas Cargo 4+ Podem Limpar Ficha !"); return 1; } if(PlayerInfo[giveplayerid][pLimparb] > 0) { SendClientMessage(playerid, COLOR_GREY, " Este Jogador ja tentou Limpar sua Ficha neste Payday !"); SendClientMessage(giveplayerid, COLOR_GREY, "Voce so pode tentar novamente Limpar no Proximo Payday !"); return 1; } if(GetPlayerMoney(playerid) < 5000) { SendClientMessage(playerid, COLOR_GREY, "Voce precisa de R$5000 para limpar a ficha !"); return 1; } if(member > 0) { new randomFicha; randomFicha = random(2); switch(randomFicha) { case 0: { new string [100]; format(string, sizeof(string), "* Voce limpou a ficha do(a) %s por R$5000.", NomePlayer(giveplayerid)); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); format(string, sizeof(string), "* Membro %s cargo %d, limpou sua ficha.", NomePlayer(playerid), rank); SendClientMessage(giveplayerid, COLOR_LIGHTBLUE, string); SetPlayerCriminal(playerid,255, "Invasao de Sistema Fichas"); WantedPoints[giveplayerid] = 0; PlayerInfo[giveplayerid][pLimparb] = 1; SetPlayerWantedLevelEx(giveplayerid, 0); ClearCrime(giveplayerid); GiveDinheiro(giveplayerid, - 5000); GiveDinheiro(playerid, 5000); } case 1: { new string [100]; format(string, sizeof(string), "* Voce tentou limpar a ficha do(a) %s mas nao conseguiu.", NomePlayer(giveplayerid)); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); format(string, sizeof(string), "* Membro %s, tentou limpar sua ficha mas nao conseguiu.", NomePlayer(playerid)); SendClientMessage(giveplayerid, COLOR_LIGHTBLUE, string); PlayerInfo[giveplayerid][pLimparb] = 1; SetPlayerCriminal(playerid,255, "Invasao de Sistema Fichas"); GiveDinheiro(giveplayerid, - 5000); GiveDinheiro(playerid, 5000); } } } else if(lider > 0) { new randomFicha; randomFicha = random(2); switch(randomFicha) { case 0: { new string[100]; format(string, sizeof(string), "* Voce limpou a ficha do(a) %s por R$5000.", NomePlayer(giveplayerid)); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); format(string, sizeof(string), "* Lider %s, limpou sua ficha.", NomePlayer(playerid)); SendClientMessage(giveplayerid, COLOR_LIGHTBLUE, string); SetPlayerCriminal(playerid,255, "Invasao de Sistema Fichas"); WantedPoints[giveplayerid] = 0; PlayerInfo[giveplayerid][pLimparb] = 1; SetPlayerWantedLevelEx(giveplayerid, 0); ClearCrime(giveplayerid); GiveDinheiro(giveplayerid, - 5000); GiveDinheiro(playerid, 5000); } case 1: { new string[100]; format(string, sizeof(string), "* Voce tentou limpar a ficha do(a) %s mas nao conseguiu.", NomePlayer(giveplayerid)); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); format(string, sizeof(string), "* Lider %s, tentou limpar sua ficha mas nao conseguiu.", NomePlayer(playerid)); SendClientMessage(giveplayerid, COLOR_LIGHTBLUE, string); SetPlayerCriminal(playerid,255, "Invasao de Sistema Fichas"); PlayerInfo[giveplayerid][pLimparb] = 1; GiveDinheiro(giveplayerid, - 5000); GiveDinheiro(playerid, 5000); } } } } } else { SendClientMessage(playerid, COLOR_GREY, " ID/Nick! Invalido"); } } return true; } CMD:lfichaadm(playerid, params[]) { if (PlayerInfo[playerid][pAdmin] >= 1338) { if(admtrampando[playerid] < 1 && PlayerInfo[playerid][pAdmin] < 1340) { SendClientMessage(playerid, COLOR_GRAD1, TRABALHARADM); return true; } if(sscanf(params, "u", giveplayerid)) { SendClientMessage(playerid, COLOR_GRAD1, "USE: /lfichaadm [id]"); return 1; } if(IsPlayerConnected(giveplayerid)) { if(giveplayerid != INVALID_PLAYER_ID) { new string[100]; format(string, sizeof(string), "* Voce limpou a ficha de %s.", NomePlayer(giveplayerid)); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); format(string, sizeof string, "AdmCmd: O admin %s limpou a ficha de Procura de %s.", NomePlayer(playerid), NomePlayer(giveplayerid)); ABroadCast(0xff6347FF, string, 1); format(string, sizeof(string), "* Admin %s Limpou sua Ficha.", NomePlayer(playerid)); SendClientMessage(giveplayerid, COLOR_LIGHTBLUE, string); WantedPoints[giveplayerid] = 0; SetPlayerWantedLevelEx(giveplayerid, 0); ClearCrime(giveplayerid); } } else { SendClientMessage(playerid, COLOR_GREY, " Invalido ID/NICK!"); } } return 1; } CMD:rconeadm(playerid, params[]) { if (PlayerInfo[playerid][pAdmin] >= 1338) { if(admtrampando[playerid] < 1 && PlayerInfo[playerid][pAdmin] < 1340) { SendClientMessage(playerid, COLOR_GRAD1, TRABALHARADM); return true; } new pc,cid; if(sscanf(params, "dd", pc, cid)) { SendClientMessage(playerid, COLOR_GRAD1, "USE: /rconeadm [id OldPCone] [id Cone]"); return 1; } if(IsPlayerConnected(playerid)) { for(new i; i < MAX_BARREIRAS; i++) { switch(cid) { case 5: if(ConeInfo[i][ConeCreated5] && ConeInfo[i][ConeID5] == pc) { new string[128]; SendClientMessage(playerid, COLOR_GREY, "Voce retirou o Cone 5 [4/5]!"); ConeInfo[i][ConeID5]=999; ConeInfo[i][ConeCreated5]=0; DestroyDynamicObject(ConeInfo[i][ConeObject5]); DestroyDynamic3DTextLabel(ConeInfo[i][ConeText5]); format(string, sizeof(string), "AdmCmd: %s removeu o Cone 5. [4/5]",PlayerName(playerid)); foreach(Player, p) { if(IsACop(p)) { SendClientMessage(p, TEAM_BLUE_COLOR, string); } } return true; } case 4: if(ConeInfo[i][ConeCreated4] && ConeInfo[i][ConeID4] == pc) { new string[128]; SendClientMessage(playerid, COLOR_GREY, "Voce retirou o Cone 4 [3/5]!"); ConeInfo[i][ConeID4]=999; ConeInfo[i][ConeCreated4]=0; DestroyDynamicObject(ConeInfo[i][ConeObject4]); DestroyDynamic3DTextLabel(ConeInfo[i][ConeText4]); format(string, sizeof(string), "AdmCmd: %s removeu o Cone 4. [3/5]",PlayerName(playerid)); foreach(Player, p) { if(IsACop(p)) { SendClientMessage(p, TEAM_BLUE_COLOR, string); } } return true; } case 3: if(ConeInfo[i][ConeCreated3] && ConeInfo[i][ConeID3] == pc) { new string[128]; SendClientMessage(playerid, COLOR_GREY, "Voce retirou o Cone 3 [2/5]!"); ConeInfo[i][ConeID3]=999; ConeInfo[i][ConeCreated3]=0; DestroyDynamicObject(ConeInfo[i][ConeObject3]); DestroyDynamic3DTextLabel(ConeInfo[i][ConeText3]); format(string, sizeof(string), "AdmCmd: %s removeu o Cone 3. [2/5]",PlayerName(playerid)); foreach(Player, p) { if(IsACop(p)) { SendClientMessage(p, TEAM_BLUE_COLOR, string); } } return true; } case 2: if(ConeInfo[i][ConeCreated2] && ConeInfo[i][ConeID2] == pc) { new string[128]; SendClientMessage(playerid, COLOR_GREY, "Voce retirou o Cone 2 [1/5]!"); ConeInfo[i][ConeID2]=999; ConeInfo[i][ConeCreated2]=0; DestroyDynamicObject(ConeInfo[i][ConeObject2]); DestroyDynamic3DTextLabel(ConeInfo[i][ConeText2]); format(string, sizeof(string), "AdmCmd: %s removeu o Cone 2. [1/5]",PlayerName(playerid)); foreach(Player, p) { if(IsACop(p)) { SendClientMessage(p, TEAM_BLUE_COLOR, string); } } return true; } case 1: if(ConeInfo[i][ConeCreated1] && ConeInfo[i][ConeID1] == pc) { new string[128]; SendClientMessage(playerid, COLOR_GREY, "Voce retirou o Cone 1 [0/5]!"); ConeInfo[i][ConeID1]=999; ConeInfo[i][ConeCreated1]=0; DestroyDynamicObject(ConeInfo[i][ConeObject1]); DestroyDynamic3DTextLabel(ConeInfo[i][ConeText1]); format(string, sizeof(string), "AdmCmd: %s removeu o Cone 1. [0/5]",PlayerName(playerid)); foreach(Player, p) { if(IsACop(p)) { SendClientMessage(p, TEAM_BLUE_COLOR, string); } } return true; } default: SendClientMessage(playerid, COLOR_GREY, "Cones de 1 a 5."); } } } else { SendClientMessage(playerid, COLOR_GREY, " Invalido ID/NICK!"); } } return 1; } CMD:bloqueio(playerid)return ForT:bq(playerid); CMD:bq(playerid) { if(gettime() < GetPVarInt(playerid, #VarBQGangs)) return SendClientMessage(playerid,COLOR_GREY,"[INFO] Espere 5 segundos para criar outro bloqueio."); if(PlayerInfo[playerid][pJailed] != 0)return SendClientMessage(playerid,COLOR_YELLOW,"Voce nao pode usar esse comando na cadeia!"); new org = GetPlayerOrg(playerid); if (org!=5&&org!=10&&org!=6&&org!=12&&org!=13&&org!=14&&org!=17&&org!=18&&org!=19&&org!=20&&org!=21&&org!=24&&org!=25&&org!=26&&org!=37&&org!=38) return SendClientMessage(playerid, COLOR_GREY, "Voce nao pode colocar um bloqueio"); if(GetPlayerInterior(playerid) > 0 || IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, AMARELO_COR, "Voce nao pode colocar um bloqueio dentro de um veiculo ou em algum interior!"); if(GetPlayerSpeedEx(playerid) > 2) return SendClientMessage(playerid, AMARELO_COR, "Voce precisa estar parado para colocar o bloqueio."); new prid = 999; new string[128]; for(new i; i < 100; i++){ if(BloqueioInfo[i][bqCreated]){ if (BloqueioInfo[i][bqID] == playerid) return SendClientMessage(playerid, COLOR_GREY, "Voce so pode colocar 1 bloqueio, /rbq para remover o seu."); } } for(new i; i < 100; i++){ if(!BloqueioInfo[i][bqCreated]){ prid = i; break; } } if (prid == 999) return SendClientMessage(playerid, COLOR_GREY, " Ha muitos bloqueios no servidor!"); new Float:X, Float:Y, Float:Z, Float:A; GetPlayerPos(playerid, X, Y, Z); GetPlayerFacingAngle(playerid, A); BloqueioInfo[prid][bqID]=playerid; BloqueioInfo[prid][bqCreated]=1; BloqueioInfo[prid][bqObject] = CreateDynamicObject(1358, X, Y, Z, 0.0, 0.0, A); GameTextForPlayer(playerid, "~w~Bloqueio ~r~Plantado", 5000, 5); SendClientMessage(playerid, COLOR_GREEN, "Bloqueio Plantado... Use /rbq para remover e poder criar mais!."); SetPlayerPos(playerid, X, Y, Z+3.0); format(string, sizeof string, "*** BLOQUEIO *** \n Organizacao: %s \n Criado por: %s[ID: %d]",GetOrgName(org), NomePlayer(playerid), playerid); BloqueioInfo[prid][bqText] = Create3DTextLabel(string,0xFF363600,X, Y, Z ,7.0, 0); format(string, sizeof(string), "*** %s - %s[%d] colocou um bloqueio (/bq) ***",GetOrgName(org), PlayerName(playerid), playerid); SendClientMessageToAll(GetPlayerColor(playerid), string); SetPVarInt(playerid, #VarBQGangs, gettime()+5); return true; } CMD:rbq(playerid) { for(new i; i < 100; i++) { if(BloqueioInfo[i][bqCreated] && BloqueioInfo[i][bqID] == playerid) { new string[128]; SendClientMessage(playerid, COLOR_GREY, "Voce retirou seu bloqueio!"); BloqueioInfo[i][bqID]=999; BloqueioInfo[i][bqCreated]=0; DestroyDynamicObject(BloqueioInfo[i][bqObject]); DestroyDynamic3DTextLabel(BloqueioInfo[i][bqText]); format(string, sizeof(string), "*** %s - %s[%d] removeu um bloqueio (/rbq) ***",GetOrgName(GetPlayerOrg(playerid)), PlayerName(playerid), playerid); SendClientMessageToAll(GetPlayerColor(playerid), string); return true; } } SendClientMessage(playerid, COLOR_GRAD1, "Voce nao colocou nenhum bloqueio!"); return true; } CMD:barreira(playerid)return ForT:br(playerid); CMD:br(playerid) { if(PlayerInfo[playerid][pJailed] != 0)return SendClientMessage(playerid,COLOR_YELLOW,"Voce nao pode usar esse comando na cadeia!"); if (!IsACop(playerid)) return SendClientMessage(playerid, COLOR_GREY, "Voce nao e COP!"); if(GetPlayerInterior(playerid) > 0 || IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, AMARELO_COR, "Voce nao pode colocar uma barreira dentro de um veiculo ou em algum interior!"); new prid = 999; new string[128]; for(new i; i < MAX_BARREIRAS; i++){ if(BarreiraInfo[i][brCreated]){ if (BarreiraInfo[i][brID] == playerid) return SendClientMessage(playerid, COLOR_GREY, "Voce so pode implantar 1 barreira por vez, /rbr - para remover a sua."); } } for(new i; i < MAX_BARREIRAS; i++){ if(!BarreiraInfo[i][brCreated]){ prid = i; break; } } if (prid == 999) return SendClientMessage(playerid, COLOR_GREY, " Ha muitas barreiras plantados no servidor!"); new Float:X, Float:Y, Float:Z, Float:A; GetPlayerPos(playerid, X, Y, Z); GetPlayerFacingAngle(playerid, A); BarreiraInfo[prid][brID]=playerid; BarreiraInfo[prid][brCreated]=1; BarreiraInfo[prid][brObject] = CreateDynamicObject(981, X, Y, Z, 0.0, 0.0, A+180); GameTextForPlayer(playerid, "~w~Barreira ~r~Plantada", 5000, 5); SetPlayerPos(playerid, X, Y, Z+3); format(string, sizeof string, "[Barreira]\nCriada por: %s[ID: %d]", NomePlayer(playerid), playerid); BarreiraInfo[prid][brText] = Create3DTextLabel(string,0x77BBFFFF,X, Y, Z ,10.0, 0); format(string, sizeof(string), "[%s] %s plantou uma barreira e fez um bloqueio.", NomeORG(playerid),PlayerName(playerid)); foreach(Player, i) { if(IsACop(i)) { SendClientMessage(i, TEAM_BLUE_COLOR, string); } } return true; } CMD:cone(playerid) { if(PlayerInfo[playerid][pJailed] != 0)return SendClientMessage(playerid,COLOR_YELLOW," Você não pode usar esse comando na cadeia!"); if (!IsACop(playerid)) return SendClientMessage(playerid, COLOR_GREY, "Você não é COP!"); if(gettime() < GetPVarInt(playerid, #VarFlood4)) return SendClientMessage(playerid, COLOR_GRAD1, #Você não pode usar este comando com tanta frequencia); SetPVarInt(playerid, #VarFlood4, gettime()+2); if(GetPlayerInterior(playerid) > 0 || IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, AMARELO_COR, "Você não pode colocar um cone dentro de um veiculo ou em algum interior!"); new prid = 999; new string[128]; for(new i; i < MAX_PLAYERS; i++){ if(ConeInfo[i][ConeCreated5]) { if (ConeInfo[i][ConeID5] == playerid) return SendClientMessage(playerid, COLOR_GREY, "Você só pode implantar 5 Cones por vez, /rcone - para remover os seus."); } } for(new i; i < MAX_PLAYERS; i++){ if(!ConeInfo[i][ConeCreated5]){ prid = i; break; } } if (prid == 999) return SendClientMessage(playerid, COLOR_GREY, " Há muitos cones plantados no servidor!"); if(ConeInfo[prid][ConeCreated1] != 1) { new Float:X, Float:Y, Float:Z, Float:A; GetPlayerPos(playerid, X, Y, Z); GetPlayerFacingAngle(playerid, A); ConeInfo[prid][ConeID1]=playerid; ConeInfo[prid][ConeCreated1]=1; ConeInfo[prid][ConeObject1] = CreateDynamicObject(1237, X, Y, Z-1, 0.0, 0.0, A+180); GameTextForPlayer(playerid, "~w~Cone ~r~Colocado", 5000, 5); SetPlayerPos(playerid, X, Y, Z+2); format(string, sizeof string, "[cone 1]\nCriado por: %s[ID: %d]", NomePlayer(playerid), playerid); ConeInfo[prid][ConeText1] = Create3DTextLabel(string,0x77BBFFFF,X, Y, Z ,10.0, 0); format(string, sizeof(string), "[%s] %s plantou um Cone e fez um Desvio. [1/5]", NomeORG(playerid),PlayerName(playerid)); foreach(Player, i) { if(IsACop(i) || GetPlayerOrg(i) == 20) { SendClientMessage(i, TEAM_BLUE_COLOR, string); } } return 1; } if(ConeInfo[prid][ConeCreated2] != 1) { new Float:X, Float:Y, Float:Z, Float:A; GetPlayerPos(playerid, X, Y, Z); GetPlayerFacingAngle(playerid, A); ConeInfo[prid][ConeID2]=playerid; ConeInfo[prid][ConeCreated2]=1; ConeInfo[prid][ConeObject2] = CreateDynamicObject(1237, X, Y, Z-1, 0.0, 0.0, A+180); GameTextForPlayer(playerid, "~w~Cone ~r~Colocado", 5000, 5); SetPlayerPos(playerid, X, Y, Z+2); format(string, sizeof string, "[cone 2]\nCriado por: %s[ID: %d]", NomePlayer(playerid), playerid); ConeInfo[prid][ConeText2] = Create3DTextLabel(string,0x77BBFFFF,X, Y, Z ,10.0, 0); format(string, sizeof(string), "[%s] %s plantou um Cone e fez um Desvio. [2/5]", NomeORG(playerid),PlayerName(playerid)); foreach(Player, i) { if(IsACop(i) || GetPlayerOrg(i) == 20) { SendClientMessage(i, TEAM_BLUE_COLOR, string); } } return 1; } if(ConeInfo[prid][ConeCreated3] != 1) { new Float:X, Float:Y, Float:Z, Float:A; GetPlayerPos(playerid, X, Y, Z); GetPlayerFacingAngle(playerid, A); ConeInfo[prid][ConeID3]=playerid; ConeInfo[prid][ConeCreated3]=1; ConeInfo[prid][ConeObject3] = CreateDynamicObject(1237, X, Y, Z-1, 0.0, 0.0, A+180); GameTextForPlayer(playerid, "~w~Cone ~r~Colocado", 5000, 5); SetPlayerPos(playerid, X, Y, Z+2); format(string, sizeof string, "[cone 3]\nCriado por: %s[ID: %d]", NomePlayer(playerid), playerid); ConeInfo[prid][ConeText3] = Create3DTextLabel(string,0x77BBFFFF,X, Y, Z ,10.0, 0); format(string, sizeof(string), "[%s] %s plantou um Cone e fez um Desvio. [3/5]", NomeORG(playerid),PlayerName(playerid)); foreach(Player, i) { if(IsACop(i) || GetPlayerOrg(i) == 20) { SendClientMessage(i, TEAM_BLUE_COLOR, string); } } return 1; } if(ConeInfo[prid][ConeCreated4] != 1) { new Float:X, Float:Y, Float:Z, Float:A; GetPlayerPos(playerid, X, Y, Z); GetPlayerFacingAngle(playerid, A); ConeInfo[prid][ConeID4]=playerid; ConeInfo[prid][ConeCreated4]=1; ConeInfo[prid][ConeObject4] = CreateDynamicObject(1237, X, Y, Z-1, 0.0, 0.0, A+180); GameTextForPlayer(playerid, "~w~Cone ~r~Colocado", 5000, 5); SetPlayerPos(playerid, X, Y, Z+2); format(string, sizeof string, "[cone 4]\nCriado por: %s[ID: %d]", NomePlayer(playerid), playerid); ConeInfo[prid][ConeText4] = Create3DTextLabel(string,0x77BBFFFF,X, Y, Z ,10.0, 0); format(string, sizeof(string), "[%s] %s plantou um Cone e fez um Desvio. [4/5]", NomeORG(playerid),PlayerName(playerid)); foreach(Player, i) { if(IsACop(i) || GetPlayerOrg(i) == 20) { SendClientMessage(i, TEAM_BLUE_COLOR, string); } } return 1; } if(ConeInfo[prid][ConeCreated5] != 1) { new Float:X, Float:Y, Float:Z, Float:A; GetPlayerPos(playerid, X, Y, Z); GetPlayerFacingAngle(playerid, A); ConeInfo[prid][ConeID5]=playerid; ConeInfo[prid][ConeCreated5]=1; ConeInfo[prid][ConeObject5] = CreateDynamicObject(1237, X, Y, Z-1, 0.0, 0.0, A+180); GameTextForPlayer(playerid, "~w~Cone ~r~Colocado", 5000, 5); SetPlayerPos(playerid, X, Y, Z+2); format(string, sizeof string, "[cone 5]\nCriado por: %s[ID: %d]", NomePlayer(playerid), playerid); ConeInfo[prid][ConeText5] = Create3DTextLabel(string,0x77BBFFFF,X, Y, Z ,10.0, 0); format(string, sizeof(string), "[%s] %s plantou um Cone e fez um Desvio. [5/5]", NomeORG(playerid),PlayerName(playerid)); foreach(Player, i) { if(IsACop(i) || GetPlayerOrg(i) == 20) { SendClientMessage(i, TEAM_BLUE_COLOR, string); } } return 1; } return true; } CMD:paredao(playerid) { if(admtrampando[playerid] < 1 && PlayerInfo[playerid][pAdmin] != 1340 && PlayerInfo[playerid][pAdmin] != 1341 && PlayerInfo[playerid][pAdmin] != 1342) { SendClientMessage(playerid, COLOR_GRAD1, "Voce nao esta trabalhando! (/trabalhar)"); return 1; } if(PlayerInfo[playerid][pAdmin] < 2) { SendClientMessage(playerid, COLOR_GRAD1, "Voce nao tem autorizacao para usar esse comando."); return 1; } if(IsPlayerInAnyVehicle(playerid)) { SendClientMessage(playerid, COLOR_GREY, "Nao e possivel plantar bloqueios dentro de veiculos!"); return 1; } if(PlayerInfo[playerid][pJailed] != 0) { SendClientMessage(playerid,COLOR_YELLOW," Voce nao pode plantar Paredao na cadeia!"); return 1; } if(GetTickCount() - AguardarA[playerid] < 5000) { SendClientMessage(playerid,COR_EXE,"Aguarde um pouco para poder plantar outro Paredao!"); return 1; } if(GetPlayerInterior(playerid) > 0) { SendClientMessage(playerid,COR_EXE,"Voce nao pode usar este comando em interiores!"); return 1; } if(PlantouParedao[playerid] != 0) { SendClientMessage(playerid, COR_EXE, "Voce ja tem um Paredao criado remova ele usando /rparedao para plantar outro!"); return 1; } new Float:X, Float:Y, Float:Z, Float:A; GetPlayerPos(playerid, X, Y, Z); GetPlayerFacingAngle(playerid, A); Paredao[playerid] = CreateDynamicObject(972, X, Y, Z-2, 0.0, 0.0, A+90); SetPlayerPos(playerid, X, Y, Z+4); new string[128]; format(string, sizeof(string), "*ADMIN CMD:: %s Plantou um Paredao!.", PlayerName(playerid)); SendClientMessageToAll(0xFE85E0AA, string); GameTextForPlayer(playerid, "~w~Paredao ~p~Criado", 5000, 5); SendClientMessage(playerid,0xDEBC00AA,"Paredao plantado use /rparedao para remove-lo!"); AguardarA[playerid] = GetTickCount(); PlantouParedao[playerid] = 1; return true; } CMD:rparedao(playerid) { if (!PlayerInfo[playerid][pAdmin]) { SendClientMessage(playerid, 0xFE85E0AA, "Voce nao e um Admin!"); return 1; } if (PlantouParedao[playerid] == 0) { SendClientMessage(playerid, COLOR_GREY, "Voce nao criou nenhum Paredao!"); return 1; } RemoveParedao(playerid); SendClientMessage(playerid, COLOR_GREEN, "Paredao removido com sucesso."); PlantouParedao[playerid] = 0; return true; } CMD:rbr(playerid) { if (!IsACop(playerid) && GetPlayerOrg(playerid) != 20) return SendClientMessage(playerid, COLOR_GREY, "Você não é um Policial/bombeiro!"); for(new i; i < MAX_BARREIRAS; i++) { if(BarreiraInfo[i][brCreated] && BarreiraInfo[i][brID] == playerid) { new string[128]; SendClientMessage(playerid, COLOR_GREY, "Você retirou sua barreira!"); BarreiraInfo[i][brID]=999; BarreiraInfo[i][brCreated]=0; DestroyDynamicObject(BarreiraInfo[i][brObject]); DestroyDynamic3DTextLabel(BarreiraInfo[i][brText]); format(string, sizeof(string), "[%s] %s removeu sua barreira.", NomeORG(playerid),PlayerName(playerid)); foreach(Player, p) { if(IsACop(p) || GetPlayerOrg(p) == 20) { SendClientMessage(p, TEAM_BLUE_COLOR, string); } } return true; } } SendClientMessage(playerid, COLOR_GRAD1, "Você não plantou nenhuma barreira!"); return true; } CMD:rcone(playerid) { if (!IsACop(playerid)) return SendClientMessage(playerid, COLOR_GREY, "Você não é um Policial!"); for(new i; i < MAX_BARREIRAS; i++) { if(ConeInfo[i][ConeCreated5] && ConeInfo[i][ConeID5] == playerid) { new string[128]; SendClientMessage(playerid, COLOR_GREY, "Você retirou seu Cone 5 [4/5]!"); ConeInfo[i][ConeID5]=999; ConeInfo[i][ConeCreated5]=0; DestroyDynamicObject(ConeInfo[i][ConeObject5]); DestroyDynamic3DTextLabel(ConeInfo[i][ConeText5]); format(string, sizeof(string), "[%s] %s removeu seu Cone 5. [4/5]", NomeORG(playerid),PlayerName(playerid)); foreach(Player, p) { if(IsACop(p) || GetPlayerOrg(p) == 20) { SendClientMessage(p, TEAM_BLUE_COLOR, string); } } return true; } if(ConeInfo[i][ConeCreated4] && ConeInfo[i][ConeID4] == playerid) { new string[128]; SendClientMessage(playerid, COLOR_GREY, "Você retirou seu Cone 4 [3/5]!"); ConeInfo[i][ConeID4]=999; ConeInfo[i][ConeCreated4]=0; DestroyDynamicObject(ConeInfo[i][ConeObject4]); DestroyDynamic3DTextLabel(ConeInfo[i][ConeText4]); format(string, sizeof(string), "[%s] %s removeu seu Cone 4. [3/5]", NomeORG(playerid),PlayerName(playerid)); foreach(Player, p) { if(IsACop(p) || GetPlayerOrg(p) == 20) { SendClientMessage(p, TEAM_BLUE_COLOR, string); } } return true; } if(ConeInfo[i][ConeCreated3] && ConeInfo[i][ConeID3] == playerid) { new string[128]; SendClientMessage(playerid, COLOR_GREY, "Você retirou seu Cone 3 [2/5]!"); ConeInfo[i][ConeID3]=999; ConeInfo[i][ConeCreated3]=0; DestroyDynamicObject(ConeInfo[i][ConeObject3]); DestroyDynamic3DTextLabel(ConeInfo[i][ConeText3]); format(string, sizeof(string), "[%s] %s removeu seu Cone 3. [2/5]", NomeORG(playerid),PlayerName(playerid)); foreach(Player, p) { if(IsACop(p) || GetPlayerOrg(p) == 20) { SendClientMessage(p, TEAM_BLUE_COLOR, string); } } return true; } if(ConeInfo[i][ConeCreated2] && ConeInfo[i][ConeID2] == playerid) { new string[128]; SendClientMessage(playerid, COLOR_GREY, "Você retirou seu Cone 2 [1/5]!"); ConeInfo[i][ConeID2]=999; ConeInfo[i][ConeCreated2]=0; DestroyDynamicObject(ConeInfo[i][ConeObject2]); DestroyDynamic3DTextLabel(ConeInfo[i][ConeText2]); format(string, sizeof(string), "[%s] %s removeu seu Cone 2. [1/5]", NomeORG(playerid),PlayerName(playerid)); foreach(Player, p) { if(IsACop(p) || GetPlayerOrg(p) == 20) { SendClientMessage(p, TEAM_BLUE_COLOR, string); } } return true; } if(ConeInfo[i][ConeCreated1] && ConeInfo[i][ConeID1] == playerid) { new string[128]; SendClientMessage(playerid, COLOR_GREY, "Você retirou seu Cone 1 [0/5]!"); ConeInfo[i][ConeID1]=999; ConeInfo[i][ConeCreated1]=0; DestroyDynamicObject(ConeInfo[i][ConeObject1]); DestroyDynamic3DTextLabel(ConeInfo[i][ConeText1]); format(string, sizeof(string), "[%s] %s removeu seu Cone 1. [0/5]", NomeORG(playerid),PlayerName(playerid)); foreach(Player, p) { if(IsACop(p) || GetPlayerOrg(p) == 20) { SendClientMessage(p, TEAM_BLUE_COLOR, string); } } return true; } } SendClientMessage(playerid, COLOR_GRAD1, "Você não plantou nenhum Cone!"); return true; } CMD:dcone(playerid) { if(PlayerInfo[playerid][pJailed] != 0)return SendClientMessage(playerid,COLOR_YELLOW," Você não pode usar esse comando na cadeia!"); if ((!IsACop(playerid) || PlayerInfo[playerid][pCargo] < 5) && !PlayerInfo[playerid][pAdmin]) return SendClientMessage(playerid, COLOR_GREY, "Você não é um Policial ou nao tem cargo maior que 5."); //new tpt = 0; foreach(Player, i) { if(GetPlayerOrg(playerid) == GetPlayerOrg(i)) { if(ConeInfo[i][ConeCreated5] > 0 && ConeInfo[i][ConeID5] == i) { RemoveConeblock5(i); //tpt = 1; } if(ConeInfo[i][ConeCreated4] > 0 && ConeInfo[i][ConeID4] == i) { RemoveConeblock4(i); //tpt = 1; } if(ConeInfo[i][ConeCreated3] > 0 && ConeInfo[i][ConeID3] == i) { RemoveConeblock3(i); //tpt = 1; } if(ConeInfo[i][ConeCreated2] > 0 && ConeInfo[i][ConeID2] == i) { RemoveConeblock2(i); //tpt = 1; } if(ConeInfo[i][ConeCreated1] > 0 && ConeInfo[i][ConeID1] == i) { RemoveConeblock1(i); //tpt = 1; } } } //if(tpt == 0)return SendClientMessage(playerid, COLOR_GRAD1, "Nenhuma barreira foi plantada."); new string[128]; format(string, sizeof(string), "[%s] %s removeu todos os Cones de sua organização.", NomeORG(playerid),PlayerName(playerid)); foreach(Player, p) { if(IsACop(p) || GetPlayerOrg(p) == 20) { SendClientMessage(p, TEAM_BLUE_COLOR, string); } } return true; } CMD:dbr(playerid) { if(PlayerInfo[playerid][pJailed] != 0)return SendClientMessage(playerid,COLOR_YELLOW," Você não pode usar esse comando na cadeia!"); if ((!IsACop(playerid) && GetPlayerOrg(playerid) != 20||PlayerInfo[playerid][pCargo] < 5) && !PlayerInfo[playerid][pAdmin]) return SendClientMessage(playerid, COLOR_GREY, "Você não é um Policial e ter cargo maior que 5."); //new tpt = 0; for(new i = 0; i < MAX_PLAYERS; i++) { if(GetPlayerOrg(playerid) == GetPlayerOrg(i)) { if(BarreiraInfo[i][brCreated]) { RemoveRoadblock(i); //tpt = 1; } } } //if(tpt == 0)return SendClientMessage(playerid, COLOR_GRAD1, "Nenhuma barreira foi plantada."); new string[128]; format(string, sizeof(string), "[%s] %s removeu todas as barreiras de sua organização.", NomeORG(playerid),PlayerName(playerid)); foreach(Player, p) { if(IsACop(p) || GetPlayerOrg(p) == 20) { SendClientMessage(p, TEAM_BLUE_COLOR, string); } } return true; } CMD:teste2(playerid, params[]){ SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DANCE1); ApplyAnimationEx(playerid, "DANCING","dance_loop", 4.0, 1, 1, 1, 1, 0, 1); return true; } CMD:dance(playerid, params[]) { if(IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid,0xF78181AA," Proibido anims em veiculos."); new dancing; if(sscanf(params, "d", dancing)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /dance [1-15]"); return true; } if(dancing < 1 || dancing > 15) return SendClientMessage(playerid, COLOR_GRAD1, "USE: /dance [1-15]"); switch(dancing) { case 1: SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DANCE1); case 2: SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DANCE2); case 3: SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DANCE3); case 4: SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DANCE4); case 5:ApplyAnimationEx(playerid, "DANCING","dance_loop", 4.0, 1, 1, 1, 1, 0, 1); case 6:ApplyAnimationEx(playerid, "DANCING","DAN_Down_A", 4.0, 1, 1, 1, 1, 0, 1); case 7:ApplyAnimationEx(playerid, "DANCING","DAN_Left_A", 4.0, 1, 1, 1, 1, 0, 1); case 8:ApplyAnimationEx(playerid, "DANCING","DAN_Loop_A", 4.0, 1, 1, 1, 1, 0, 1); case 9:ApplyAnimationEx(playerid, "DANCING","DAN_Right_A", 4.0, 1, 1, 1, 1, 0, 1); case 10:ApplyAnimationEx(playerid, "DANCING","DAN_Up_A", 4.0, 1, 1, 1, 1, 0, 1); case 11:ApplyAnimationEx(playerid, "DANCING","dnce_M_a", 4.0, 1, 1, 1, 1, 0, 1); case 12:ApplyAnimationEx(playerid, "DANCING","dnce_M_b", 4.0, 1, 1, 1, 1, 0, 1); case 13:ApplyAnimationEx(playerid, "DANCING","dnce_M_c", 4.0, 1, 1, 1, 1, 0, 1); case 14:ApplyAnimationEx(playerid, "DANCING","dnce_M_d", 4.0, 1, 1, 1, 1, 0, 1); case 15:ApplyAnimationEx(playerid, "DANCING","dnce_M_ e", 4.0, 1, 1, 1, 1, 0, 1); } return true; } CMD:prender(playerid, params[]) { if(IsACop(playerid)) { if(OnDuty[playerid] == 0) { SendClientMessage(playerid, COLOR_GREY, "Voce nao Bateu o cartao!"); return true; } if(sscanf(params, "u", giveplayerid)) { SendClientMessage(playerid, COLOR_GRAD2, "USE: /prender [ID do Player]"); return true; } if(PlayerInfo[playerid][pJailed] != 0)return SendClientMessage(playerid,COLOR_YELLOW,"Voce nao pode usar esse comando na cadeia!"); new suspect = giveplayerid; if(IsPlayerConnected(suspect)) { if(GetDistanceBetweenPlayers(playerid,suspect) < 15) { if(WantedPoints[suspect] < 1) { SendClientMessage(playerid, COLOR_GREY, " O Jogador deve ter no minimo 1 nivel de procurado!"); return true; } if(playerid == suspect) { SendClientMessage(playerid, COLOR_GREY, "Voce nao pode se prender!"); return true; } new string[128]; if(PlayerToPoint(12.0, playerid, 1545.3387,-1607.8325,13.3828) || PlayerToPoint(5.0, playerid, 1527.4589,-1672.1427,6.2188) || PlayerToPoint(5.0, playerid, 2202.7185,2290.9583,10.8203)) { GetPlayerName(suspect, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "* Voce Prendeu %s !", giveplayer); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); format(string, sizeof(string), "Preso por %s", PlayerName(playerid)); GameTextForPlayer(suspect, string, 5000, 5); VozDePrisao[suspect] = 0; ResetPlayerWeapons(suspect); format(string, sizeof(string), "<< Oficial %s prendeu o suspeito %s >>", sendername, giveplayer); OOCNews(COLOR_LIGHTRED, string); PlayerInfo[suspect][pJailTime] = (WantedPoints[suspect])*(60); format(string, sizeof(string), "Voce foi preso por %d Segundos. Fianca: Desativada", PlayerInfo[suspect][pJailTime]); SendClientMessage(suspect, COLOR_LIGHTBLUE, string); PlayerInfo[suspect][pJailed] = 1; PlayerInfo[suspect][pVezesPreso]++; SetPlayerFree(suspect,playerid, "Foi Preso"); format(string, sizeof(string), "SMS: Ola %s, Voce foi preso na Delegacia de Policia Militar de Los Santos, enviou: Agencia Telefonica (555)", giveplayer); SendClientMessage(suspect, COLOR_YELLOW, string); SetPlayerSpawn(suspect); WantedPoints[suspect] = 0; SetPlayerWantedLevelEx(suspect, 0); PlayerInfo[suspect][pMuted] = 0; Controle(suspect, 1); PlayerCuffed[suspect] = 0; PlayerInfo[suspect][pAjustado] = false; return true; } if(PlayerToPoint(5.0, playerid, 268.3136,77.5149,1001.0391)) { GetPlayerName(suspect, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "* Voce Prendeu %s !", giveplayer); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); if(storeexit[playerid] == 67) { PlayerInfo[suspect][pJailed] = 27; format(string, sizeof(string), "SMS: Ola %s, Voce foi preso na Delegacia de Policia Militar de San Fierro, enviou: Agencia Telefonica (555)", giveplayer); SendClientMessage(suspect, COLOR_YELLOW, string); } if(storeexit[playerid] == 66) { PlayerInfo[suspect][pJailed] = 1; format(string, sizeof(string), "SMS: Ola %s, Voce foi preso na Delegacia de Policia Militar de Los Santos, enviou: Agencia Telefonica (555)", giveplayer); SendClientMessage(suspect, COLOR_YELLOW, string); } //GiveDinheiro(suspect, -moneys); format(string, sizeof(string), "Preso por %s", PlayerName(playerid)); GameTextForPlayer(suspect, string, 5000, 5); VozDePrisao[suspect] = 0; ResetPlayerWeapons(suspect); format(string, sizeof(string), "<< Oficial %s prendeu o suspeito %s >>", sendername, giveplayer); OOCNews(COLOR_LIGHTRED, string); PlayerInfo[suspect][pJailTime] = (WantedPoints[suspect])*(60); PlayerInfo[suspect][pVezesPreso]++; format(string, sizeof(string), "Voce foi preso por %d Segundos. Fianca: Desativada", PlayerInfo[suspect][pJailTime]); SendClientMessage(suspect, COLOR_LIGHTBLUE, string); SetPlayerFree(suspect,playerid, "Foi Preso"); WantedPoints[suspect] = 0; SetPlayerSpawn(suspect); SetPlayerWantedLevelEx(suspect, 0); PlayerInfo[suspect][pMuted] = 0; Controle(suspect, 1); //SetPlayerInterior(playerid, 1); PlayerCuffed[suspect] = 0; PlayerInfo[suspect][pAjustado] = false; return true; } if(PlayerToPoint(5.0, playerid, 324.2186,-1496.7983,24.9219)) { GetPlayerName(suspect, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "* Voce Prendeu %s !", giveplayer); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); format(string, sizeof(string), "Preso por %s", PlayerName(playerid)); GameTextForPlayer(suspect, string, 5000, 5); VozDePrisao[suspect] = 0; ResetPlayerWeapons(suspect); format(string, sizeof(string), "<< Oficial %s prendeu o suspeito %s >>", sendername, giveplayer); OOCNews(COLOR_LIGHTRED, string); PlayerInfo[suspect][pJailTime] = (WantedPoints[suspect])*(60); format(string, sizeof(string), "Voce foi preso por %d Segundos. Fianca: Desativada", PlayerInfo[suspect][pJailTime]); SendClientMessage(suspect, COLOR_LIGHTBLUE, string); PlayerInfo[suspect][pVezesPreso]++; PlayerInfo[suspect][pJailed] = 2; SetPlayerFree(suspect,playerid, "Foi Preso"); format(string, sizeof(string), "SMS: Ola %s, Voce foi preso na Delegacia de Policia da BOPE de Los Santos, enviou: Agencia Telefonica (555)", giveplayer); SendClientMessage(suspect, COLOR_YELLOW, string); SetPlayerSpawn(suspect); WantedPoints[suspect] = 0; SetPlayerWantedLevelEx(suspect, 0); PlayerInfo[suspect][pMuted] = 0; Controle(suspect, 1); //SetPlayerInterior(playerid, 1); PlayerCuffed[suspect] = 0; PlayerInfo[suspect][pAjustado] = false; return true; } if(PlayerToPoint(5.0, playerid, 1798.4163,-1587.8683,13.5087) || PlayerToPoint(40.0, playerid, 1770.6652,-1574.2830,1734.9430)) { GetPlayerName(suspect, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "* Voce Prendeu %s !", giveplayer); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); format(string, sizeof(string), "Preso por %s", PlayerName(playerid)); GameTextForPlayer(suspect, string, 5000, 5); VozDePrisao[suspect] = 0; ResetPlayerWeapons(suspect); format(string, sizeof(string), "<< Oficial %s prendeu o suspeito %s >>", sendername, giveplayer); OOCNews(COLOR_LIGHTRED, string); PlayerInfo[suspect][pJailTime] = (WantedPoints[suspect])*(60); format(string, sizeof(string), "Voce foi preso por %d Segundos. Fianca: Desativada", PlayerInfo[suspect][pJailTime]); SendClientMessage(suspect, COLOR_LIGHTBLUE, string); PlayerInfo[suspect][pVezesPreso]++; PlayerInfo[suspect][pJailed] = 24; SetPlayerFree(suspect,playerid, "Foi Preso"); format(string, sizeof(string), "SMS: Ola %s, Voce foi preso na Penitenciaria, enviou: Agencia Telefonica (555)", giveplayer); SendClientMessage(suspect, COLOR_YELLOW, string); SetPlayerSpawn(suspect); WantedPoints[suspect] = 0; SetPlayerWantedLevelEx(suspect, 0); PlayerInfo[suspect][pMuted] = 0; Controle(suspect, 1); //SetPlayerInterior(playerid, 1); PlayerCuffed[suspect] = 0; PlayerInfo[suspect][pAjustado] = false; return true; } if(PlayerToPoint(5.0, playerid, 1279.4833,-1321.5306,13.3645)) { GetPlayerName(suspect, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "* Voce Prendeu %s !", giveplayer); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); format(string, sizeof(string), "Preso por %s", PlayerName(playerid)); GameTextForPlayer(suspect, string, 5000, 5); VozDePrisao[suspect] = 0; ResetPlayerWeapons(suspect); format(string, sizeof(string), "<< Oficial %s prendeu o suspeito %s >>", sendername, giveplayer); OOCNews(COLOR_LIGHTRED, string); PlayerInfo[suspect][pJailTime] = (WantedPoints[suspect])*(60); format(string, sizeof(string), "Voce foi preso por %d Segundos. Fianca: Desativada", PlayerInfo[suspect][pJailTime]); SendClientMessage(suspect, COLOR_LIGHTBLUE, string); PlayerInfo[suspect][pJailed] = 25; PlayerInfo[suspect][pVezesPreso]++; SetPlayerFree(suspect,playerid, "Foi Preso"); format(string, sizeof(string), "SMS: Ola %s, Voce foi preso na Penitenciaria, enviou: Agencia Telefonica (555)", giveplayer); SendClientMessage(suspect, COLOR_YELLOW, string); SetPlayerSpawn(suspect); WantedPoints[suspect] = 0; SetPlayerWantedLevelEx(suspect, 0); PlayerInfo[suspect][pMuted] = 0; Controle(suspect, 1); //SetPlayerInterior(playerid, 1); PlayerCuffed[suspect] = 0; PlayerInfo[suspect][pAjustado] = false; return true; } if(PlayerToPoint(5.0, playerid, -1606.3585,676.5353,-5.2422)) { GetPlayerName(suspect, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "* Voce Prendeu %s !", giveplayer); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); format(string, sizeof(string), "Preso por %s", PlayerName(playerid)); GameTextForPlayer(suspect, string, 5000, 5); VozDePrisao[suspect] = 0; ResetPlayerWeapons(suspect); PlayerInfo[suspect][pVezesPreso]++; format(string, sizeof(string), "<< Oficial %s prendeu o suspeito %s >>", sendername, giveplayer); OOCNews(COLOR_LIGHTRED, string); PlayerInfo[suspect][pJailTime] = (WantedPoints[suspect])*(60); format(string, sizeof(string), "Voce foi preso por %d Segundos. Fianca: Desativada", PlayerInfo[suspect][pJailTime]); SendClientMessage(suspect, COLOR_LIGHTBLUE, string); PlayerInfo[suspect][pJailed] = 16; SetPlayerFree(suspect,playerid, "Foi Preso"); format(string, sizeof(string), "SMS: Ola %s, Voce foi preso na Delegacia de Policia da ROTA, enviou: Agencia Telefonica (555)", giveplayer); SendClientMessage(suspect, COLOR_YELLOW, string); SetPlayerSpawn(suspect); WantedPoints[suspect] = 0; SetPlayerWantedLevelEx(suspect, 0); PlayerInfo[suspect][pMuted] = 0; Controle(suspect, 1); //SetPlayerInterior(playerid, 1); PlayerCuffed[suspect] = 0; PlayerInfo[suspect][pAjustado] = false; return true; } if(PlayerToPoint(5.0, playerid, 198.9020,179.3194,1003.0319)) { GetPlayerName(suspect, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "* Voce Prendeu %s !", giveplayer); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); format(string, sizeof(string), "Preso por %s", PlayerName(playerid)); GameTextForPlayer(suspect, string, 5000, 5); VozDePrisao[suspect] = 0; if(storeexit[playerid] == 2) { PlayerInfo[suspect][pJailed] = 2; format(string, sizeof(string), "SMS: Ola %s, Voce foi preso na Delegacia de Policia da BOPE de Los Santos, enviou: Agencia Telefonica (555)", giveplayer); SendClientMessage(suspect, COLOR_YELLOW, string); } if(storeexit[playerid] == 11) { PlayerInfo[suspect][pJailed] = 11; format(string, sizeof(string), "SMS: Ola %s, Voce foi preso na Delegacia da Policia Federal, enviou: Agencia Telefonica (555)", giveplayer); SendClientMessage(suspect, COLOR_YELLOW, string); } if(storeexit[playerid] == 16) { PlayerInfo[suspect][pJailed] = 16; format(string, sizeof(string), "SMS: Ola %s, Voce foi preso na Delegacia de Policia da ROTA, enviou: Agencia Telefonica (555)", giveplayer); SendClientMessage(suspect, COLOR_YELLOW, string); } ResetPlayerWeapons(suspect); format(string, sizeof(string), "<< Oficial %s prendeu o suspeito %s >>", sendername, giveplayer); OOCNews(COLOR_LIGHTRED, string); PlayerInfo[suspect][pVezesPreso]++; PlayerInfo[suspect][pJailTime] = (WantedPoints[suspect])*(60); format(string, sizeof(string), "Voce foi preso por %d Segundos. Fianca: Desativada", PlayerInfo[suspect][pJailTime]); SendClientMessage(suspect, COLOR_LIGHTBLUE, string); SetPlayerFree(suspect,playerid, "Foi Preso"); SetPlayerSpawn(suspect); WantedPoints[suspect] = 0; SetPlayerWantedLevelEx(suspect, 0); PlayerInfo[suspect][pMuted] = 0; Controle(suspect, 1); //SetPlayerInterior(playerid, 1); PlayerCuffed[suspect] = 0; PlayerInfo[suspect][pAjustado] = false; return true; } if(PlayerToPoint(5.0, playerid, 926.0767,-996.4899,38.2101)) { GetPlayerName(suspect, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "* Voce Prendeu %s !", giveplayer); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); format(string, sizeof(string), "Preso por %s", PlayerName(playerid)); GameTextForPlayer(suspect, string, 5000, 5); VozDePrisao[suspect] = 0; PlayerInfo[suspect][pVezesPreso]++; ResetPlayerWeapons(suspect); format(string, sizeof(string), "<< Oficial %s prendeu o suspeito %s >>", sendername, giveplayer); OOCNews(COLOR_LIGHTRED, string); PlayerInfo[suspect][pJailTime] = (WantedPoints[suspect])*(60); format(string, sizeof(string), "Voce foi preso por %d Segundos. Fianca: Desativada", PlayerInfo[suspect][pJailTime]); SendClientMessage(suspect, COLOR_LIGHTBLUE, string); PlayerInfo[suspect][pJailed] = 11; format(string, sizeof(string), "SMS: Ola %s, Voce foi preso na Delegacia da Policia Federal, enviou: Agencia Telefonica (555)", giveplayer); SendClientMessage(suspect, COLOR_YELLOW, string); SetPlayerFree(suspect,playerid, "Foi Preso"); SetPlayerSpawn(suspect); WantedPoints[suspect] = 0; SetPlayerWantedLevelEx(suspect, 0); PlayerInfo[suspect][pMuted] = 0; Controle(suspect, 1); //SetPlayerInterior(playerid, 1); PlayerCuffed[suspect] = 0; PlayerInfo[suspect][pAjustado] = false; return true; } if(PlayerToPoint(5.0, playerid, 223.4805,113.9830,999.0156) || IsPlayerInRangeOfPoint(playerid, 5.0, 919.7474,-1201.7177,16.9832)) { GetPlayerName(suspect, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "* Voce Prendeu %s !", giveplayer); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); format(string, sizeof(string), "Preso por %s", PlayerName(playerid)); GameTextForPlayer(suspect, string, 5000, 5); VozDePrisao[suspect] = 0; PlayerInfo[suspect][pVezesPreso]++; ResetPlayerWeapons(suspect); format(string, sizeof(string), "<< Oficial %s prendeu o suspeito %s >>", sendername, giveplayer); OOCNews(COLOR_LIGHTRED, string); PlayerInfo[suspect][pJailTime] = (WantedPoints[suspect])*(60); format(string, sizeof(string), "Voce foi preso por %d Segundos. Fianca: Desativada", PlayerInfo[suspect][pJailTime]); SendClientMessage(suspect, COLOR_LIGHTBLUE, string); PlayerInfo[suspect][pJailed] = 33; SetPlayerFree(suspect,playerid, "Foi Preso"); format(string, sizeof(string), "SMS: Ola %s, Voce foi preso na Delegacia da Policia Civil, enviou: Agencia Telefonica (555)", giveplayer); SendClientMessage(suspect, COLOR_YELLOW, string); SetPlayerSpawn(suspect); WantedPoints[suspect] = 0; SetPlayerWantedLevelEx(suspect, 0); PlayerInfo[suspect][pMuted] = 0; Controle(suspect, 1); //SetPlayerInterior(playerid, 1); PlayerCuffed[suspect] = 0; PlayerInfo[suspect][pAjustado] = false; return true; } if(PlayerToPoint(5.0, playerid, 2628.6130,1718.3235,11.0234)) { GetPlayerName(suspect, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "* Voce Prendeu %s !", giveplayer); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); format(string, sizeof(string), "Preso por %s", PlayerName(playerid)); GameTextForPlayer(suspect, string, 5000, 5); VozDePrisao[suspect] = 0; ResetPlayerWeapons(suspect); PlayerInfo[suspect][pVezesPreso]++; format(string, sizeof(string), "<< Oficial %s prendeu o suspeito %s >>", sendername, giveplayer); OOCNews(COLOR_LIGHTRED, string); PlayerInfo[suspect][pJailTime] = (WantedPoints[suspect])*(60); format(string, sizeof(string), "Voce foi preso por %d Segundos. Fianca: Desativada", PlayerInfo[suspect][pJailTime]); SendClientMessage(suspect, COLOR_LIGHTBLUE, string); PlayerInfo[suspect][pJailed] = 36; SetPlayerFree(suspect,playerid, "Foi Preso"); format(string, sizeof(string), "SMS: Ola %s, Voce foi preso na Delegacia da Forca Tatica, enviou: Agencia Telefonica (555)", giveplayer); SendClientMessage(suspect, COLOR_YELLOW, string); SetPlayerSpawn(suspect); WantedPoints[suspect] = 0; SetPlayerWantedLevelEx(suspect, 0); PlayerInfo[suspect][pMuted] = 0; Controle(suspect, 1); //SetPlayerInterior(playerid, 1); PlayerCuffed[suspect] = 0; PlayerInfo[suspect][pAjustado] = false; return true; } } } else { SendClientMessage(playerid, COLOR_GREY, " Esse nao e um jogador ativo."); return true; } } else { SendClientMessage(playerid, COLOR_GREY, "Voce nao e um Oficial !"); return true; } return true; } CallBack::OnPlayerCommandReceived(playerid, cmdtext[]){ if(PlayerInfo[playerid][pJailed] == 9 && !PlayerInfo[playerid][pAdmin]){ SendClientMessage(playerid, COLOR_WHITE, "{FFFF00}[AVISO]: {FFFFFF}Voce esta proibido de usar comandos pois esta preso por admin!"); SendClientMessage(playerid, 0xFFFF00FF, "___________________________________________________________________________________"); return 0; } if(!gPlayerLogged[playerid]) { if(strcmp(cmdtext, "/logar", true) && strcmp(cmdtext, "/registrar", true)){ new Named[24], ipPlayer[17]; GetPlayerIp(playerid, ipPlayer, 17); GetPlayerName(playerid, Named, 24); SendClientMessage(playerid, COLOR_GRAD2, "Voce nao pode usar esse comando antes de logar!"); printf("[AVISO] (IP %s) jogador %s tentou usar o comando %s antes de logar!", ipPlayer, Named); // KickCNF(playerid); return false; } } return 1; } public OnPlayerCommandPerformed(playerid, cmdtext[], success) { new plrIP[16], p_name[24], Hour, Minute, Second; gettime(Hour, Minute, Second); GetPlayerIp(playerid, plrIP, sizeof(plrIP)); GetPlayerName(playerid, p_name, 24); printf("[%d:%d:%d] %s [IP: %s] Comando: %s", Hour, Minute, Second, p_name, plrIP, cmdtext); /*for(new i, j = GetPlayerPoolSize(); i < j; i++) { if(VendoCMDS[i] != 0) { new stringss[128]; format(stringss, 128, "[%d:%d:%d] %s [IP: %s] Comando: %s", Hour, Minute, Second, p_name, plrIP, cmdtext); SCM(i, "") } }*/ if(success) { if(PlayerInfo[playerid][pJailed] > 1) return 1; cmdlog(playerid, cmdtext); } else { new strcmd[MAX_STRING]; format(strcmd, sizeof(strcmd), "[ERRO] {FFFFFF}Comando digitado: ({00FFFF}%s{FFFFFF}) não existe, use: {00FFFF}/ajuda", cmdtext); SendClientMessage(playerid,0x00FFFFFF ,strcmd); } return 1; } stock SendClientMessageInRange(Float:_r, playerid, _s[],c1,c2,c3,c4,c5) { new Float:_x, Float:_y, Float:_z; GetPlayerPos(playerid, _x, _y, _z); foreach(Player, i) { if(!BigEar[i]) { if(GetPlayerVirtualWorld(i) != GetPlayerVirtualWorld(playerid))continue; if(GetPlayerDistanceFromPoint(i,_x,_y,_z) < _r/16) SendClientMessage(i, c1, _s); else if(GetPlayerDistanceFromPoint(i,_x,_y,_z) < _r/8) SendClientMessage(i, c2, _s); else if(GetPlayerDistanceFromPoint(i,_x,_y,_z) < _r/4) SendClientMessage(i, c3, _s); else if(GetPlayerDistanceFromPoint(i,_x,_y,_z) < _r/2) SendClientMessage(i, c4, _s); else if(GetPlayerDistanceFromPoint(i,_x,_y,_z) < _r) SendClientMessage(i, c5, _s); } else { SendClientMessage(i, c1, _s); } } return true; } CallBack::CrimInRange(Float:radi, playerid,copid) { if(IsPlayerConnected(copid)) { new Float:posx, Float:posy, Float:posz; GetPlayerPos(copid, posx, posy, posz); if (IsPlayerInRangeOfPoint(playerid, radi, posx, posy, posz)) { return true; } } return 0; } static stock ProxDetectorS(Float:radi, playerid, targetid) { if(IsPlayerConnected(targetid)) { new Float:posx, Float:posy, Float:posz; GetPlayerPos(targetid, posx, posy, posz); if (IsPlayerInRangeOfPoint(playerid, radi, posx, posy, posz)) { return true; } } return 0; } static stock ProxDetectorV(Float:radi, playerid, carroid) { if(IsPlayerConnected(playerid)) { new Float:posx, Float:posy, Float:posz; new Float:oldposx, Float:oldposy, Float:oldposz; new Float:tempposx, Float:tempposy, Float:tempposz; GetPlayerPos(playerid, oldposx, oldposy, oldposz); //radi = 2.0; //Trigger Radius GetVehiclePos(carroid, posx, posy, posz); tempposx = (oldposx -posx); tempposy = (oldposy -posy); tempposz = (oldposz -posz); //printf("DEBUG: X:%f Y:%f Z:%f",posx,posy,posz); if (((tempposx < radi) && (tempposx > -radi)) && ((tempposy < radi) && (tempposy > -radi)) && ((tempposz < radi) && (tempposz > -radi))) { return 1; } } return 0; } forward RandomServerNames(); new NomeServer[][] = { "BRASIL POBRE RP - [VOIP-ON]", "CNF STORE LOJA DE HOST - [Android/PC]", "BRASIL POBRE RP - [Atualizacao Toda Semana]", "ORGS E CORP POR INVITES - [Sistemas Inovadores]", "VAGAS PARA STAFF|HELPE|ADMIS|- [Celular em TextDraw]" }; new Cores[] = { 0xA0A0A0FF, 0x99FFFFFF, 0xBCD2EEFF, 0xf4005bFF, 0xffff00FF, 0x00C2ECFF }; new Mensagenscima[][] = { "[Servidor] Esta com alguma duvida ou precisa de ajuda? use: /relatorio ou /duvida.", "[Servidor] Esta perdido? use /gps e procure seu destino!", "[Servidor] Para saber os tempos de punicões, use o comando /tp!", "[Servidor] Adquira vip, alem de receber diversos beneficios ainda ajuda o servidor a se manter online!", //"[Servidor] Esta sem nada para fazer ? Tedio ? use: /misterios ache o seu e garanta seu cash !", "[Servidor] Cuide do meio ambiente, evite deixar carros jogados na rua!", "[Servidor] Nao cometa multas de transito, respeite o sinal e salve vidas!", "[Servidor] Fique por dentro de tudo que acontece em nosso servidor pelo nosso discord, use /discord!", "[Servidor] De sua sugestão digitando /sugestao, ou pelo nosso discord! quem sabe ela não venha a se realizar!", "[Servidor] Tornando-se um VIP voce ajuda o servidor a crescer e e beneficiado ainda!", "[Servidor] Pagando VIP voce ira ajudar o servidor a crescer e ganhara varios beneficios!", "[Servidor] Achou algum erro ou bug no servidor? por favor use: /bug", //"[Servidor] Para saber os tempos de punicões, use o comando /tp!", //"[Servidor] Procure ja nossas reliquias e ganhe ja Cash's, digite /misterios.", //"[Servidor] Ajude a manter nosso servidor online comprando cash, use /lojavip !", "[Servidor] Seja um bom jogador, pratique o RP corretamente!", "[Servidor] Use /radio para sintonizar a radio do servidor!", //"[Servidor] Use /radio para sintonizar a radio do servidor!", //"[Servidor] Confira os horarios do respawn nos carros automatico, use: /inforespawn", "[Servidor] Use o comando /relatorio para entrar na fila de atendimento.", //"[Servidor] Ajude a manter nosso servidor online comprando Cash, use /lojavip !", //"[Servidor] Adicione nosso ip em seus favoritos, IP: ip1.BaixadaCity.com.br:7777!", "[Servidor] Veja os sistemas ativos no servidor digitando /sistemas!", "[Servidor] Conheca nossa concessionaria e adquira ja seu veiculo proprio!", //"[Servidor] Nao cometa dm ou db, voce podera ser punido de acordo com as Regras!", "[Servidor] Para saber os tempos de punicões, use o comando /tp!", "[Servidor] Para saber quem são os youtubers on-line USE: /youtubers!", "[Servidor] Deseja adquirir cash, visite nosso Discord" }; CallBack::SendMensagens() { new random1 = random(sizeof(Mensagenscima)); new random2 = random(sizeof(Cores)); //new random2 = random(sizeof(RandomCores));/RandomCores[random2] SendClientMessageToAll(Cores[random2],Mensagenscima[random1]); foreach(Player, i) { if(!gPlayerLogged[i])continue; OnPlayerSave(i); SaveObjects(i); if(GetPlayerState(i) == PLAYER_STATE_DRIVER) { new vehicle = GetPlayerVehicleID(i); new VehicleModel = GetVehicleModel(vehicle); if(VehicleModel == 487 || VehicleModel == 520 || VehicleModel == 462 || VehicleModel == 497 || VehicleModel == 425 || VehicleModel == 592 || VehicleModel == 519 || VehicleModel == 593 || VehicleModel == 452) { continue; } if(Gas[vehicle] < 5) Gas[vehicle]++; } } return true; } CallBack::Armasbloqueadas() { foreach(Player, i) { if(!gPlayerLogged[i])continue; if(PlayerInfo[i][pConnectTime] < 2 && gPlayerLogged[i] == 1 && GetPlayerWeapon(i) > 1 && GetPlayerOrg(i) == 0) { ResetPlayerWeapons(i); SendClientMessage(i,COLOR_LIGHTRED,"* Voce so podera usar armas apos 2 horas jogadas no servidor."); } if (PlayerInfo[i][pArmasb] > 0 && gPlayerLogged[i] == 1 && GetPlayerWeapon(i) > 1) { new string[128]; ResetPlayerWeapons(i); format(string, sizeof(string), "Voce esta proibido de usar armas por %s minutos.", ConvertTime(PlayerInfo[i][pArmasb])); SendClientMessage(i, COLOR_LIGHTRED, string); } new lolbagui; lolbagui = PlayerInfo[i][pExp]; new nxtlevel = PlayerInfo[i][pLevel]+1; //new gstring[128]; //new costlevel = nxtlevel*levelcost;//10k for testing purposes new expquantidade = nxtlevel*levelexp; if(lolbagui >= nxtlevel*levelexp) { PlayerPlaySound(i, 1052, 0.0, 0.0, 0.0); PlayerPlayMusic(i); /* GiveDinheiro(i, (costlevel)); */ GiveDinheiro(i, 10000); PlayerInfo[i][pLevel]++; ScoreLevel(i); PlayerInfo[i][pExp] -= expquantidade; PlayerInfo[i][gPupgrade] = PlayerInfo[i][gPupgrade]+2; SendClientMessage(i, 0xFFFFFFFF, "| ****************** {00AA00}NÍVEL ADQUIRIDO {FFFFFF}******************"); format(gstring, 128, "| Voce agora e nivel: {00AA00} %d", nxtlevel); SendClientMessage(i, 0xFFFFFFFF, gstring); SendClientMessage(i, 0xFFFFFFFF, "| Pontos de melhoria ganho: {00AAFF}+2"); format(gstring, 128, "| Seus pontos de melhoria: {00AAFF}%d",PlayerInfo[i][gPupgrade]); SendClientMessage(i, 0xFFFFFFFF, gstring); format(gstring, 128, "| Dinheiro que voce ganhou:{00AA00} 10.000"); SendClientMessage(i, 0xFFFFFFFF, gstring); SendClientMessage(i, 0xFFFFFFFF, "| ****************** {00AA00}NÍVEL ADQUIRIDO {FFFFFF}******************"); } } return true; } CallBack::CustomPickups() { foreach(Player, i) { if(!gPlayerLogged[i])continue; CheckSoundProx(i); CheckCarSoundProx(i); if(Tocando[i] != 1) { new counter = 0; new result; new plyName[MAX_PLAYER_NAME]; GetPlayerName(i, plyName, MAX_PLAYER_NAME); for(new c; c != MAX_VEHICLES; c++) { new dist = ChecarveiculoBPF(5.0, i, c); if(dist) { result = c; counter++; } } switch(counter) { case 0: { //SendClientMessage(playerid, COLOR_GREY, " Nao ha nenhum carro nesse raio!"); } case 1: { ProxCarSound(result); Tocando[i] = 1; } } } if (PlayerToPoint(3, i,1964.0280,-369.0365,1093.7289)) { GameTextForPlayer(i, "~y~Casamento ~n~~r~Digite ~w~/casar", 5000, 3); } else if (PlayerToPoint(3, i,1959.3009,-373.1479,1093.7289)) { GameTextForPlayer(i, "~b~Divorcio ~n~~r~Digite ~w~/divorcio", 5000, 3); } //-- /prender COPs else if (PlayerToPoint(3, i,1545.3387,-1607.8325,13.3828) || PlayerToPoint(3, i,1527.4589,-1672.1427,6.2188) || PlayerToPoint(3, i,324.2186,-1496.7983,24.9219) || PlayerToPoint(3, i,926.0767,-996.4899,38.2101) || PlayerToPoint(3, i,-1606.3585,676.5353,-5.2422) || PlayerToPoint(3, i,1798.3773,-1587.9568,13.5092) || PlayerToPoint(3, i,919.7474,-1201.7177,16.9832) || PlayerToPoint(3, i,2202.7185,2290.9583,10.8203) || PlayerToPoint(3, i,2628.6130,1718.3235,11.0234)) { SendPlayerTextMessage(i, " ~b~~h~Delegacia Policial~n~~w~ use /prender para prender um suspeito", 5000); } else if (PlayerToPoint(1.0, i, 2396.6250,2771.0850,17.3643)) {//porta arrombar dc GameTextForPlayer(i, "~w~Digite /abrirportao3 para arrombar o portao.", 5000, 5); } else if (PlayerToPoint(1.0, i, 2417.5193,2794.5239,17.3643)) {//porta arrombar dc GameTextForPlayer(i, "~w~Digite /explodir para explodir a saida do Deposito.", 5000, 5); } else if (PlayerToPoint(1.0, i,248.4554,302.8275,999.1484)) {//porta arrombar dc GameTextForPlayer(i, "~w~Digite /pegargrana para tracas as fichas por dinheiro", 5000, 5); } else if (PlayerToPoint(3, i,SBizzInfo[25][sbEntranceX], SBizzInfo[25][sbEntranceY], SBizzInfo[25][sbEntranceZ])) { GameTextForPlayer(i, "~b~Voce esta na empresa de eventos~n~digite ~w~/entrarevento ~b~para participar", 5000, 3); } } return true; } public OnPlayerText(playerid, text[]) { new tmp_text[256]; new string[MAX_STRING]; new TCount; TCount = GetPVarInt(playerid, "TextSpamCount"); SetTimerEx("ResetCount", 750, false, "n", playerid); if(gettime() < GetPVarInt(playerid, #VarFloodText) && PlayerInfo[playerid][pAdmin] < 1 && PlayerInfo[playerid][pVIP] == 0){ SCMf(playerid, COLOR_GRAD6, "[ANTI-FLOOD] Aguarde 5 segundos para falar novamente."); return 0; } if(TCount > 7) { SetPVarInt(playerid, "TextSpamCount", 0); format(string, sizeof(string), "*** %s saiu do servidor por flood excessivo.", NomePlayer(playerid)); SendClientMessageInRange(20.0, playerid, string, COLOR_YELLOW2,COLOR_YELLOW2,COLOR_YELLOW2,COLOR_YELLOW2,COLOR_YELLOW2); KickCNF(playerid); } else { TCount++; SetPVarInt(playerid, "TextSpamCount", TCount); } if(NaCamera[playerid] == 5 || NaCamera[playerid] == 6) { SendClientMessage(playerid, COLOR_GRAD1, "Voce nao pode falar agora!"); return 0; } if(PlayerInfo[playerid][pMuted] == 1) { SendClientMessage(playerid, 0xA92BF6F6, "Voce nao pode falar, voce foi calado"); return 0; } //ApplyAnimationEx(playerid, "GANGS", "prtial_gngtlkB", 4.1, 0, 1, 0, 1, 1, 1); //animação de falar if(SelectChar[playerid] == 255) { new idx; tmp_text = strtok(text, idx); if ((strcmp("Proximo", tmp_text, true, strlen(tmp_text)) == 0) && (strlen(tmp_text) == strlen("Proximo"))) { switch (SelectCharID[playerid]) { case 1: //Policia Militar { if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, 284); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = 284; } else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, 280); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = 280; } else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, 281); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = 281; } else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, 71); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = 71; } else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, 282); SelectCharPlace[playerid] = 6; ChosenSkin[playerid] = 282; } else if(SelectCharPlace[playerid] == 6) { SetPlayerSkin(playerid, 288); SelectCharPlace[playerid] = 7; ChosenSkin[playerid] = 288; } else if(SelectCharPlace[playerid] == 7) { SetPlayerSkin(playerid, 283); SelectCharPlace[playerid] = 8; ChosenSkin[playerid] = 283; } else if(SelectCharPlace[playerid] == 8) { SetPlayerSkin(playerid, 306); SelectCharPlace[playerid] = 9; ChosenSkin[playerid] = 306; } else if(SelectCharPlace[playerid] == 9) { SetPlayerSkin(playerid, 307); SelectCharPlace[playerid] = 10; ChosenSkin[playerid] = 307; } else if(SelectCharPlace[playerid] == 10) { SetPlayerSkin(playerid, 310); SelectCharPlace[playerid] = 11; ChosenSkin[playerid] = 310; } else if(SelectCharPlace[playerid] == 11) { SetPlayerSkin(playerid, 311); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = 311; } } case 2: //BOPE { if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, 285); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = 285; } else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, 298); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = 298; } else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, 285); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = 285; } } case 3: //Exercito { if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, 287); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = 287; } else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, 191); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = 191; } } case 4: //Medicos { if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, 91); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = 91; } else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, 276); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = 276; } else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, 275); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = 275; } else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, 274); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = 274; } else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, 70); SelectCharPlace[playerid] = 6; ChosenSkin[playerid] = 70; } else if(SelectCharPlace[playerid] == 6) { SetPlayerSkin(playerid, 308); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = 308; } } case 5: //Tropa da Franca { if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, 116); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = 116; } else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, 115); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = 115; } else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, 114); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = 114; } else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, 41); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = 41; } else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, 148); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = 148; } } case 7: //Prefeito { if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, 164); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = 164; } else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, 163); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = 163; } else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, 17); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = 17; } else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, 141); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = 141; } } case 8: //Hitman { if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, 166); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = 166; } else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, 165); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = 165; } else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, 127); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = 127; } } case 9: //Reporteres { if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, 188); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = 188; } else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, 187); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = 187; } else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, 148); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = 148; } } case 10: //Taxistas { if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, 255); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = 255; } else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, 219); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = 219; } else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, 253); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = 253; } } case 11: //Policia federal { if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, 224); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = 224; } else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, 286); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = 286; } } case 12: //Mayans { if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, 17); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = 17; } else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, 43); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = 43; } else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, 46); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = 46; } else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, 98); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = 98; } else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, 111); SelectCharPlace[playerid] = 6; ChosenSkin[playerid] = 111; } else if(SelectCharPlace[playerid] == 6) { SetPlayerSkin(playerid, 223); SelectCharPlace[playerid] = 7; ChosenSkin[playerid] = 223; } else if(SelectCharPlace[playerid] == 7) { SetPlayerSkin(playerid, 126); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = 126; } } case 13: //Yakuza { if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, 203); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = 203; } else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, 204); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = 204; } else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, 117); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = 117; } else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, 118); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = 118; } else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, 169); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = 169; } } case 14: //Groove { if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, 105); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = 105; } else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, 106); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = 106; } else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, 107); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = 107; } else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, 271); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = 271; } else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, 195); SelectCharPlace[playerid] = 6; ChosenSkin[playerid] = 195; } else if(SelectCharPlace[playerid] == 6) { SetPlayerSkin(playerid, 269); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = 269; } } case 15: //Estado Islâmico { if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, 30); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = 30; } else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, 47); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = 47; } else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, 48); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = 48; } else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, 122); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = 122; } else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, 192); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = 192; } } case 16: //ROTA { if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, 286); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = 286; } else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, 284); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = 284; } else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, 150); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = 150; } } case 17: //Ballas { if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, 102); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = 102; } else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, 103); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = 103; } else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, 104); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = 104; } else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, 40); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = 40; } } case 18: //Vagos { if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, 108); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = 108; } else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, 109); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = 109; } else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, 110); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = 110; } else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, 91); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = 91; } else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, 85); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = 85; } } case 19: //Comando Vermelho { if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, 19); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = 19; } else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, 170); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = 170; } else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, 40); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = 180; } else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, 193); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = 193; } } case 20: //Bombeiros { if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, 277); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = 277; } else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, 278); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = 278; } else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, 279); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = 279; } } case 21: //PCC { if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, 101); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = 101; } else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, 293); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = 293; } } case 22: //TRIADS { if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, 117); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = 117; } else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, 118); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = 118; } } case 23: //As FARC { if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, 111); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = 111; } else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, 112); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = 112; } } case 24: //Mayans { if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, 247); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = 247; } else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, 248); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = 248; } else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, 254); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = 254; } } case 25: //Sons { if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, 247); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = 247; } else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, 248); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = 248; } else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, 254); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = 254; } } case 27: //destroyers { if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, 3); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = 3; } else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, 4); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = 4; } else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, 5); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = 5; } } case 28: //Hells { if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, 248); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = 248; } else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, 247); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = 247; } } case 29: //FE { SetPlayerSkin(playerid, 287); ChosenSkin[playerid] = 287; } case 30: //Taxistas { if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, 255); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = 255; } else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, 219); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = 219; } else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, 253); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = 253; } } case 31: //Medicos { if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, 91); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = 91; } else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, 279); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = 279; } else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, 277); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = 277; } else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, 276); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = 276; } else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, 275); SelectCharPlace[playerid] = 6; ChosenSkin[playerid] = 275; } else if(SelectCharPlace[playerid] == 6) { SetPlayerSkin(playerid, 279); SelectCharPlace[playerid] = 7; ChosenSkin[playerid] = 279; } else if(SelectCharPlace[playerid] == 7) { SetPlayerSkin(playerid, 274); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = 274; } } case 32: //Reporteres { if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, 188); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = 188; } else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, 187); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = 187; } else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, 148); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = 148; } } case 33: //PR { if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, 284); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = 284; } else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, 141); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = 141; } else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, 281); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = 281; } } case 34: //Detran { if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, 50); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = 50; } else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, 15); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = 15; } } case 35: //BAEP { if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, 282); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = 282; } else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, 282); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = 282; } else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, 282); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = 282; } else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, 282); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = 282; } } case 37: //Tropaa Da Turquia { if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, 293); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = 293; } else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, 293); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = 293; } else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, 293); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = 293; } else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, 293); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = 293; } } } return 0; } else if ((strcmp("Confirma", tmp_text, true, strlen(tmp_text)) == 0) && (strlen(tmp_text) == strlen("Confirma"))) { if(IsAtClothShop(playerid)) { PlayerInfo[playerid][pSkin] = ChosenSkin[playerid]; SelectCharPlace[playerid] = 0; SelectCharID[playerid] = 0; SelectChar[playerid] = 0; return 0; } if(ChangePos2[playerid][1] == 1) { PlayerInfo[playerid][pSkin] = ChosenSkin[playerid]; SetPlayerInterior(playerid, ChangePos2[playerid][0]); SetPlayerPos(playerid, ChangePos[playerid][0],ChangePos[playerid][1],ChangePos[playerid][2]); ChangePos2[playerid][1] = 0; return 0; } PlayerInfo[playerid][pSkin] = ChosenSkin[playerid]; SetPlayerToTeamColor(playerid); MedicBill[playerid] = 0; SpawnPlayer(playerid); SelectCharPlace[playerid] = 0; SelectCharID[playerid] = 0; SelectChar[playerid] = 0; return 0; } else { SendClientMessage(playerid, TEAM_VAGOS_COLOR, "* Use 'Proximo', ou 'Confirma'."); return 0; } } if(MarriageCeremoney[playerid] > 0) { new idx; tmp_text = strtok(text, idx); if ((strcmp("sim", tmp_text, true, strlen(tmp_text)) == 0) && (strlen(tmp_text) == strlen("sim"))) { if(GotProposedBy[playerid] < 999) { if(IsPlayerConnected(GotProposedBy[playerid])) { GetPlayerName(playerid, sendername, sizeof(sendername)); GetPlayerName(GotProposedBy[playerid], giveplayer, sizeof(giveplayer)); format(string, sizeof(string), "Padre: %s Voce aceita %s como sua amada esposa? (Digite 'sim', qualquer outra coisa cancela o casamento).", giveplayer,PlayerName(playerid)); SendClientMessage(GotProposedBy[playerid], COLOR_WHITE, string); MarriageCeremoney[GotProposedBy[playerid]] = 1; MarriageCeremoney[playerid] = 0; GotProposedBy[playerid] = 999; return true; } else { MarriageCeremoney[playerid] = 0; GotProposedBy[playerid] = 999; return 0; } } else if(ProposedTo[playerid] < 999) { if(IsPlayerConnected(ProposedTo[playerid])) { GetPlayerName(playerid, sendername, sizeof(sendername)); GetPlayerName(ProposedTo[playerid], giveplayer, sizeof(giveplayer)); if(PlayerInfo[playerid][pSex] == 1 && PlayerInfo[ProposedTo[playerid]][pSex] == 2) { format(string, sizeof(string), "Padre: %s e %s eu vos declaro Marido e Mulher, Pode Beijar a Noiva.", sendername, giveplayer); SendClientMessage(playerid, COLOR_WHITE, string); format(string, sizeof(string), "Padre: %s e %s eu vos declaro Marido e Mulher, Pode Beijar o Noivo.", giveplayer, PlayerName(playerid)); SendClientMessage(ProposedTo[playerid], COLOR_WHITE, string); format(string, sizeof(string), "Noticia de Casamento: Temos um novo Casamento, %s e %s se casaram.", sendername, giveplayer); OOCNews(COLOR_WHITE, string); } else if(PlayerInfo[playerid][pSex] == 1 && PlayerInfo[ProposedTo[playerid]][pSex] == 1) { format(string, sizeof(string), "Padre: %s e %s eu os declaro Marido e Marido, Pode Beijar o Noivo.", sendername, giveplayer); SendClientMessage(playerid, COLOR_WHITE, string); format(string, sizeof(string), "Padre: %s e %s eu os declaro Marido e Marido, Pode Beijar o Noivo.", giveplayer, PlayerName(playerid)); SendClientMessage(ProposedTo[playerid], COLOR_WHITE, string); format(string, sizeof(string), "Noticia de Casamento: Temos um novo Casamento Gay, %s e %s se casaram.", sendername, giveplayer); OOCNews(COLOR_WHITE, string); } else if(PlayerInfo[playerid][pSex] == 2 && PlayerInfo[ProposedTo[playerid]][pSex] == 2) { format(string, sizeof(string), "Padre: %s e %s eu os declaro Esposa e Esposa, Pode Beijar a Noiva.", sendername, giveplayer); SendClientMessage(playerid, COLOR_WHITE, string); format(string, sizeof(string), "Padre: %s e %s eu os declaro Esposa e Esposa, Pode Beijar a Noiva", giveplayer, PlayerName(playerid)); SendClientMessage(ProposedTo[playerid], COLOR_WHITE, string); format(string, sizeof(string), "Noticia de Casamento: Temos um novo Casamento Lesbico, %s e %s se casaram.", sendername, giveplayer); OOCNews(COLOR_WHITE, string); } //MarriageCeremoney[ProposedTo[playerid]] = 1; MarriageCeremoney[ProposedTo[playerid]] = 0; MarriageCeremoney[playerid] = 0; format(string, sizeof(string), "%s", PlayerName(playerid)); strmid(PlayerInfo[ProposedTo[playerid]][pMarriedTo], string, 0, strlen(string), 255); format(string, sizeof(string), "%s", giveplayer); strmid(PlayerInfo[playerid][pMarriedTo], string, 0, strlen(string), 255); GiveDinheiro(playerid, - 100); PlayerInfo[playerid][pMarried] = 1; PlayerInfo[ProposedTo[playerid]][pMarried] = 1; PlayerInfo[ProposedTo[playerid]][pPHousekey] = PlayerInfo[playerid][pPHousekey]; PlayerInfo[ProposedTo[playerid]][pPbiskey] = PlayerInfo[playerid][pPbiskey]; PlayerInfo[ProposedTo[playerid]][pPFazkey] = PlayerInfo[playerid][pPFazkey]; ProposedTo[playerid] = 999; MarriageCeremoney[playerid] = 0; return true; } else { MarriageCeremoney[playerid] = 0; ProposedTo[playerid] = 999; return 0; } } } else { if(GotProposedBy[playerid] < 999) { if(IsPlayerConnected(GotProposedBy[playerid])) { GetPlayerName(playerid, sendername, sizeof(sendername)); GetPlayerName(GotProposedBy[playerid], giveplayer, sizeof(giveplayer)); format(string, sizeof(string), "* Voce deseja se casar com %s, Se Quizer Digite 'sim'.",giveplayer); SendClientMessage(playerid, COLOR_YELLOW, string); format(string, sizeof(string), "* %s quer casar com Voce, um 'sim' foi dito.",PlayerName(playerid)); SendClientMessage(GotProposedBy[playerid], COLOR_YELLOW, string); return 0; } else { MarriageCeremoney[playerid] = 0; GotProposedBy[playerid] = 999; return 0; } } else if(ProposedTo[playerid] < 999) { if(IsPlayerConnected(ProposedTo[playerid])) { GetPlayerName(playerid, sendername, sizeof(sendername)); GetPlayerName(ProposedTo[playerid], giveplayer, sizeof(giveplayer)); format(string, sizeof(string), "* Voce deseja se casar com %s, Se Quizer Digite 'sim'.",giveplayer); SendClientMessage(playerid, COLOR_YELLOW, string); format(string, sizeof(string), "* %s quer casar com Voce, um 'sim' foi dito.",PlayerName(playerid)); SendClientMessage(ProposedTo[playerid], COLOR_YELLOW, string); return 0; } else { MarriageCeremoney[playerid] = 0; ProposedTo[playerid] = 999; return 0; } } } return 0; } if(ConnectedToPC[playerid] == 255) { new idx; tmp_text = strtok(text, idx); if ((strcmp("Contratos", tmp_text, true, strlen(tmp_text)) == 0) && (strlen(tmp_text) == strlen("Contratos"))) { if(GetPlayerOrg(playerid) == 8 || GetPlayerOrg(playerid) == 22) { SearchingHit(playerid); } return 0; } else if ((strcmp("membros", tmp_text, true, strlen(tmp_text)) == 0) && (strlen(tmp_text) == strlen("membros"))) { SendClientMessage(playerid, COLOR_WHITE, "|__________________ Membros da Agencia __________________|"); foreach(Player, i) { if(GetPlayerOrg(playerid) == 8 || GetPlayerOrg(playerid) == 22) { if(GetPlayerOrg(i) == GetPlayerOrg(playerid)) { GetPlayerName(i, giveplayer, sizeof(giveplayer)); format(string, sizeof(string), "* %s: Cargo %d", giveplayer,PlayerInfo[i][pCargo]); SendClientMessage(playerid, COLOR_GREY, string); } } } return 0; } else if ((strcmp("infocontratos", tmp_text, true, strlen(tmp_text)) == 0) && (strlen(tmp_text) == strlen("infocontratos"))) { format(string, sizeof string, "|_____ Contratos cumpridos pelas agencias _____|\n\n\ » Agencia Hitman: %d\n\ » Agencia Triad: %d\n\n\ ____________________________________", InfoCont[1], InfoCont[2]); ShowPlayerDialog(playerid, 9999, DIALOG_STYLE_MSGBOX, "Contratos Cumpridos", string, "Informado", ""); return 0; } else if ((strcmp("pegarcontrato", tmp_text, true, strlen(tmp_text)) == 0) && (strlen(tmp_text) == strlen("pegarcontrato"))) { if(GetPlayerOrg(playerid) == 8 || GetPlayerOrg(playerid) == 22) { if(hitfound == 0) { SendClientMessage(playerid, COLOR_GREY, " Nao ha contratos na agencia dos Assassinos, USE contratos em seu laptop primeiro!"); return 0; } if(GoChase[playerid] < 999) { SendClientMessage(playerid, COLOR_GREY, "Voce ja possui um contrato!"); return 0; } if(IsPlayerConnected(hittid)) { format(string, sizeof(string), "* Assasino %s, pegou um contrato para matar: %s(ID:%d), por R$%d.", NomePlayer(playerid), NomePlayer(hittid), hittid, PlayerInfo[hittid][pHeadValue]); SendFamilyMessage(8, COLOR_YELLOW, string); SendFamilyMessage(22, COLOR_YELLOW, string); GoChase[playerid] = hittid; GetChased[hittid] = playerid; GotHit[hittid] = 1; hittid = 999; hitfound = 0; return 0; } else { SendClientMessage(playerid, COLOR_GREY, " Nao ha contratos na agencia dos Hitmans, USE contratos em seu laptop!"); } } return 0; } else if ((strcmp("sair", tmp_text, true, strlen(tmp_text)) == 0) && (strlen(tmp_text) == strlen("sair"))) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Voce desligou seu laptop e se desconectou de sua agencia."); ConnectedToPC[playerid] = 0; return 0; } else { SendClientMessage(playerid, COLOR_WHITE, "|___ *Agencia dos Assasinos* ___|"); SendClientMessage(playerid, COLOR_YELLOW2, "|"); SendClientMessage(playerid, COLOR_YELLOW2, "| * Contratos"); SendClientMessage(playerid, COLOR_YELLOW2, "| * pegarcontrato"); SendClientMessage(playerid, COLOR_YELLOW2, "| * Pedido"); SendClientMessage(playerid, COLOR_YELLOW2, "| * Membros"); SendClientMessage(playerid, COLOR_YELLOW2, "| * Infocontratos"); SendClientMessage(playerid, COLOR_YELLOW2, "| * Sair"); SendClientMessage(playerid, COLOR_WHITE, "|______________|00:00|"); return 0; } } if(TalkingLive[playerid] != 255) { GetPlayerName(playerid, sendername, sizeof(sendername)); if(PlayerInfo[playerid][pMembro] == 9 || PlayerInfo[playerid][pLider] == 9) { format(string, sizeof(string), "Reporter %s: %s", sendername, text); OOCNews(0x9acd32FF, string); SetPlayerChatBubble(playerid, text, 0x00AAEEFF, 20.0, 10000); } else { format(string, sizeof(string), "Entrevistado %s: %s", sendername, text); OOCNews(0x9acd32FF, string); SetPlayerChatBubble(playerid, text, 0x00AAEEFF, 20.0, 10000); } return 0; } if(Mobile[playerid] != 255) { new idx; tmp_text = strtok(text, idx); GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "%s diz (Celular): %s", sendername, text); SetPlayerChatBubble(playerid, string, 0x00AAEEFF, 20.0, 10000); SendClientMessageInRange(20.0, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5); if(Mobile[playerid] == 913) { if(!strlen(tmp_text)) { SendClientMessage(playerid, 0xA92BF6F6, "Denuncia: Desculpe, Nao Entendi"); return 0; } if ((strcmp("nao", tmp_text, true, strlen(tmp_text)) == 0) && (strlen(tmp_text) == strlen("nao"))) { new turner[MAX_PLAYER_NAME]; new wanted[128]; GetPlayerName(playerid, turner, sizeof(turner)); SendClientMessage(playerid, 0xA92BF6F6, "Denuncia: Alertamos todas as unidades na area."); SendClientMessage(playerid, 0xA92BF6F6, "Obrigado por Relatar o Ocorrido"); SendClientMessage(playerid, 0xA92BF6F6, "Se sua Denuncia for um Trote Voce podera ser Preso!"); format(wanted, sizeof(wanted), "Denuncia: Todas Unidades IA: Vitima: %s",turner); SendFamilyMessage(1, 0xA92BF6F6, wanted); format(wanted, sizeof(wanted), "Nome do Criminoso: Desconhecido"); SendFamilyMessage(1, 0xA92BF6F6, wanted); format(wanted, sizeof(wanted), "O que Aconteceu Contado pela Vitima: %s",PlayerCrime[playerid][pAccusing]); SendFamilyMessage(1, 0xA92BF6F6, wanted); SendClientMessage(playerid, COLOR_GRAD2, " Ligacao Finalizada..."); Mobile[playerid] = 255; return 0; } new turner[MAX_PLAYER_NAME]; new wanted[128]; GetPlayerName(playerid, turner, sizeof(turner)); SendClientMessage(playerid, 0xA92BF6F6, "Denuncia: Alertamos todas as unidades na area."); SendClientMessage(playerid, 0xA92BF6F6, "Obrigado por Relatar o Ocorrido"); SendClientMessage(playerid, 0xA92BF6F6, "Se sua Denuncia for um Trote Voce podera ser Preso!"); format(wanted, sizeof(wanted), "Denuncia: Todas Unidades IA: Vitima: %s",turner); SendFamilyMessage(1, 0xA92BF6F6, wanted); format(wanted, sizeof(wanted), "Nome do Criminoso: %s",text); SendFamilyMessage(1, 0xA92BF6F6, wanted); format(wanted, sizeof(wanted), "O que Aconteceu Contado pela Vitima: %s",PlayerCrime[playerid][pAccusing]); SendFamilyMessage(1, 0xA92BF6F6, wanted); SendClientMessage(playerid, COLOR_GRAD2, " Ligacao Finalizada..."); Mobile[playerid] = 255; return 0; } if(Mobile[playerid] == 915) { if(!strlen(tmp_text)) { SendClientMessage(playerid, 0xA92BF6F6, "Denuncia: Desculpe, Nao Entendi"); return 0; } new turner[MAX_PLAYER_NAME]; new wanted[128]; GetPlayerName(playerid, turner, sizeof(turner)); SendClientMessage(playerid, 0xA92BF6F6, "Denuncia: Alertamos todas as unidades na area."); SendClientMessage(playerid, 0xA92BF6F6, "Obrigado por Relatar o Ocorrido"); format(wanted, sizeof(wanted), "Denuncia: Todas Unidades Emergencia: Chamador: %s",turner); SendFamilyMessage(4, 0xA92BF6F6, wanted); //format(wanted, sizeof(wanted), "Problema: %s",text2); format(wanted, sizeof(wanted), "Local: %s",text); SendFamilyMessage(4, 0xA92BF6F6, wanted); SendClientMessage(playerid, COLOR_GRAD2, " Ninguem na linha..."); Mobile[playerid] = 255; return 0; } else if(Mobile[playerid] == 914) { if(!strlen(tmp_text)) { SendClientMessage(playerid, 0xF78181AA, "Linha De Emergencia: Desculpe, nao entendi."); return 0; } strmid(PlayerCrime[playerid][pAccusing], text, 0, strlen(text), 255); SendClientMessage(playerid, 0xA92BF6F6, "SAMU: Se voce souber o nome do local ou de parte dele onde esta, me fale, ou simplesmente diga nao"); Mobile[playerid] = 915; return 0; } if(Mobile[playerid] == 913) { if(!strlen(tmp_text)) { SendClientMessage(playerid, 0xF78181AA, "EMERGeNCIA: Desculpe eu nao entendo"); return 0; } if ((strcmp("nao", tmp_text, true, strlen(tmp_text)) == 0) && (strlen(tmp_text) == strlen("nao"))) { new turner[MAX_PLAYER_NAME]; new wanted[128]; GetPlayerName(playerid, turner, sizeof(turner)); SendClientMessage(playerid, COLOR_DBLUE, "COP: Alertamos todos as unidades perto do local."); SendClientMessage(playerid, COLOR_DBLUE, "Obrigado por ter relatado o Ocorrido"); format(wanted, sizeof(wanted), "HQ: Todas as unidades: Denunciante: %s",turner); SendFamilyMessage(1, COLOR_DBLUE, wanted); format(wanted, sizeof(wanted), "HQ: Crime: %s, Suspeito: Desconhecido",PlayerCrime[playerid][pAccusing]); SendFamilyMessage(1, COLOR_DBLUE, wanted); SendClientMessage(playerid, COLOR_GRAD2, " Ninguem na linha....."); Mobile[playerid] = 255; return 0; } new badguy; //badguy = strval(tmp_text); badguy = ReturnUser(tmp_text); if (IsPlayerConnected(badguy)) { if(badguy != INVALID_PLAYER_ID) { if (IsACop(badguy)) { SendClientMessage(playerid, COLOR_DBLUE, "Policia HQ: Voce tera que entrar em contato com os assuntos internos. Esta e uma linha de emergencia"); SendClientMessage(playerid, COLOR_GRAD2, " Ninghem na linha..."); Mobile[playerid] = 255; return 0; } if (WantedPoints[badguy] > 0) { SendClientMessage(playerid, COLOR_DBLUE, "Policia HQ: Unidades ja estao atribuidos a esse caso."); SendClientMessage(playerid, COLOR_DBLUE, "Obrigado por denunciar este crime"); SendClientMessage(playerid, COLOR_GRAD2, " Ninguemm na linha..."); Mobile[playerid] = 255; return 0; } if (badguy == playerid) { SendClientMessage(playerid, COLOR_DBLUE, "Policia HQ: Esta linha e de emergencia."); SendClientMessage(playerid, COLOR_GRAD2, " Ninguemm na linha..."); Mobile[playerid] = 255; return 0; } SendClientMessage(playerid, COLOR_DBLUE, "Policia HQ: Alertamos todas as unidades na area."); SendClientMessage(playerid, COLOR_DBLUE, "Obrigado por denunciar este crime"); SetPlayerCriminal(badguy,playerid, PlayerCrime[playerid][pAccusing]); if(WantedPoints[badguy] > 0) { } else { WantedPoints[badguy] += 1; SetPlayerWantedLevel(badguy, WantedPoints[badguy]); } SendClientMessage(playerid, COLOR_GRAD2, " Ninguemm na linha..."); Mobile[playerid] = 255; return 0; }//invalid id return 0; }//not connected else { format(string, sizeof(string), "Police HQ: Nenhuma informacao sobre %s, o nome citado esta correto?",tmp_text); SendClientMessage(playerid, COLOR_DBLUE, string); return 0; } } else if(Mobile[playerid] == 912) { if(!strlen(tmp_text)) { SendClientMessage(playerid, 0xF78181AA, "Linha De Emergencia: Desculpe, nao entendi."); return 0; } strmid(PlayerCrime[playerid][pAccusing], text, 0, strlen(text), 255); SendClientMessage(playerid, COLOR_DBLUE, "Policia HQ: Se voce souber o nome do assaltante ou de parte dele, me fale, ou simplesmente dizer nao"); Mobile[playerid] = 913; return 0; } else if(Mobile[playerid] == 190) { if(!strlen(tmp_text)) { SendClientMessage(playerid, 0xF78181AA, "Linha De Emergencia: Desculpe nao entendo... Policia ou SAMU?"); return 0; } else if ((strcmp("policia", tmp_text, true, strlen(tmp_text)) == 0) && (strlen(tmp_text) == strlen("policia"))) { SendClientMessage(playerid, 0xF78181AA, "Linha De Emergencia: Voce optou por Policia, Espere."); Mobile[playerid] = 912; SendClientMessage(playerid, COLOR_DBLUE, "Policia HQ: Por favor me de uma breve descricao do crime."); return 0; } else if ((strcmp("SAMU", tmp_text, true, strlen(tmp_text)) == 0) && (strlen(tmp_text) == strlen("SAMU"))) { SendClientMessage(playerid, 0xF78181AA, "Linha De Emergencia: Voce optou por SAMU, Espere."); Mobile[playerid] = 914; SendClientMessage(playerid, 0xA92BF6F6, "Denuncia: Por favor me de uma breve descricao do Incidente."); return 0; } else { SendClientMessage(playerid, 0xF78181AA, "Linha De Emergencia: Desculpe nao entendo... Policia ou SAMU?"); return 0; } } if(IsPlayerConnected(Mobile[playerid])) { if(Mobile[Mobile[playerid]] == playerid) { SendClientMessage(Mobile[playerid], COLOR_YELLOW,string); } } else { SendClientMessage(playerid, COLOR_YELLOW,"Ninguem la..."); } return 0; } if(ChatAtendimento[playerid] == 1) { format(string, sizeof(string), "{EE82EE}[Atendimento][{FFFFFF}Jogador{EE82EE}]%s: %s", PlayerName(playerid),text); AChatAtendimento(0xE6E6E6E6,string,NumeroChatAtendimento[playerid]); SetPVarInt(playerid, #VarFloodText, gettime()+5); return 0; } else if(ChatAtendimento[playerid] == 2) { if(PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pAdminTemp] >= 1) { format(string, sizeof(string), "{EE82EE}[Atendimento][{ff1493}Admin{EE82EE}]%s: %s", PlayerName(playerid),text); AChatAtendimento(0xE6E6E6E6,string,NumeroChatAtendimento[playerid]); } else if(PlayerInfo[playerid][pHelper] >= 1) { format(string, sizeof(string), "{EE82EE}[Atendimento][{FFFFFF}Helper{EE82EE}]%s: %s", PlayerName(playerid),text); AChatAtendimento(0xE6E6E6E6,string,NumeroChatAtendimento[playerid]); } SetPVarInt(playerid, #VarFloodText, gettime()+5); return 0; } if(GetPVarInt(playerid, "inArena") == 1) { new aString[256]; format(aString, sizeof aString, "{00DB1D}[{FFFFFF}Arena Chat{00DB1D}] %s(%d):{FFFFFF} %s", NomePlayer(playerid), playerid, text); SendArenaMessage(-1, aString); SetPVarInt(playerid, #VarFloodText, gettime()+5); return 0; } if(realchat) { TCount = GetPVarInt(playerid, "TextSpamCount"); SetTimerEx("ResetCount", 750, false, "n", playerid); if(TCount > 7) { SetPVarInt(playerid, "TextSpamCount", 0); format(string, sizeof(string), "*** %s saiu do servidor por flood excessivo.", NomePlayer(playerid)); SendClientMessageInRange(20.0, playerid, string, COLOR_YELLOW2,COLOR_YELLOW2,COLOR_YELLOW2,COLOR_YELLOW2,COLOR_YELLOW2); KickCNF(playerid); } else { TCount++; SetPVarInt(playerid, "TextSpamCount", TCount); } if(gPlayerLogged[playerid] == 0) { SendClientMessage(playerid, COLOR_GRAD1, "[!] {FFFFFF}Voce nao esta logado. USE: /logar."); return 0; } if(PlayerInfo[playerid][pYoutuber] == 1) { format(string, sizeof(string), "%s {FFFFFF}%s(%d) {FFFFFF}[{FF0000}YouTuber{FFFFFF}] diz: %s",TagOrgs(playerid), NomePlayer(playerid),playerid , text); SendClientMessageInRange(35.0, playerid, string,0xFFFFFFFF,0xFFFFFFFF,0xFFFFFFFF,0xFFFFFFFF,0xFFFFFFFF); SetPlayerChatBubble(playerid, text, 0xFFFFFFFF, 35.0, 10000); SetPVarInt(playerid, #VarFloodText, gettime()+5); return 0; } if(PlayerInfo[playerid][pYoutuber] == 2) { format(string, sizeof(string), "%s {FFFFFF}%s(%d) {FFFFFF}[{FFFFFF}Mini{FF0000}YT{FFFFFF}] diz: %s",TagOrgs(playerid), NomePlayer(playerid),playerid , text); SendClientMessageInRange(35.0, playerid, string,0xFFFFFFFF,0xFFFFFFFF,0xFFFFFFFF,0xFFFFFFFF,0xFFFFFFFF); SetPlayerChatBubble(playerid, text, 0xFFFFFFFF, 35.0, 10000); SetPVarInt(playerid, #VarFloodText, gettime()+5); return 0; } if(PlayerInfo[playerid][pDiamante] == 1) { format(string, sizeof(string), "%s {FFFFFF}%s(%d) {FFFFFF}[{00CED1}Diamante{FFFFFF}] diz: %s", TagOrgs(playerid), NomePlayer(playerid),playerid , text); SendClientMessageInRange(35.0, playerid, string,0xFFFFFFFF,0xFFFFFFFF,0xFFFFFFFF,0xFFFFFFFF,0xFFFFFFFF); SetPlayerChatBubble(playerid, text, 0xFFFFFFFF, 35.0, 10000); SetPVarInt(playerid, #VarFloodText, gettime()+5); return 0; } if(admtrampando[playerid] > 0) { format(string, sizeof(string), "{ff1493}[Admin] {FFFFFF}%s(%d) diz: %s", NomePlayer(playerid),playerid , text); SendClientMessageInRange(35.0, playerid, string,0xFFFFFFFF,0xFFFFFFFF,0xFFFFFFFF,0xFFFFFFFF,0xFFFFFFFF); SetPlayerChatBubble(playerid, text, 0xFFFFFFFF, 35.0, 10000); } else if(helpertrampando[playerid] > 0) { format(string, sizeof(string), "{00FF00}[Helper] {FFFFFF}%s(%d) diz: %s", NomePlayer(playerid),playerid , text); SendClientMessageInRange(35.0, playerid, string,0xFFFFFFFF,0xFFFFFFFF,0xFFFFFFFF,0xFFFFFFFF,0xFFFFFFFF); SetPlayerChatBubble(playerid, text, 0x00FFFFFF, 35.0, 10000); SetPVarInt(playerid, #VarFloodText, gettime()+5); } else if(PlayerInfo[playerid][pVIP] > 0) { format(string, sizeof(string), "%s {FFFFFF}%s(%d) {FFFFFF}[{00FF00}VIP{FFFFFF}] diz: %s",TagOrgs(playerid), NomePlayer(playerid),playerid , text); SendClientMessageInRange(35.0, playerid, string,0xFFFFFFFF,0xFFFFFFFF,0xFFFFFFFF,0xFFFFFFFF,0xFFFFFFFF); SetPlayerChatBubble(playerid, text, 0xFFFFFFFF, 35.0, 10000); SetPVarInt(playerid, #VarFloodText, gettime()+5); } else { format(string, sizeof(string), "%s {FFFFFF}%s(%d) diz: %s",TagOrgs(playerid), NomePlayer(playerid),playerid , text); SendClientMessageInRange(35.0, playerid, string,0xFFFFFFFF,0xFFFFFFFF,0xFFFFFFFF,0xFFFFFFFF,0xFFFFFFFF); SetPlayerChatBubble(playerid, text, 0xFFFFFFFF, 35.0, 10000); SetPVarInt(playerid, #VarFloodText, gettime()+5); } return 0; } return 0; } CallBack::timeranimation(playerid) { return ApplyAnimationEx(playerid,"PED","facgum",3.1,0,1,1,1,1); } CallBack::SetCamBack(playerid) { new Float:plocx,Float:plocy,Float:plocz; GetPlayerPos(playerid, plocx, plocy, plocz); SetPlayerPos(playerid, -1863.15, -21.6598, 1060.15); // Warp the player SetPlayerInterior(playerid,14); } CallBack::Fixhour(hora) { hora = timeshift+hora; if (hora < 0) { hora = hora+24; } else if (hora > 23) { hora = hora-24; } shifthour = hora; return true; } CallBack::IsAPoliciaCivil(playerid) { new lider = PlayerInfo[playerid][pLider]; new member = PlayerInfo[playerid][pMembro]; if(member==16 || member==16) { return true; } else if(lider==16 || lider==16) { return true; } return 0; } CallBack::IsASonsofAnarchy(playerid) { new lider = PlayerInfo[playerid][pLider]; new member = PlayerInfo[playerid][pMembro]; if(member==20 || member==20) { return true; } else if(lider==20 || lider==20) { return true; } return 0; }/* CallBack::IsAComandoVermelhoSF(carid) { if((carid >= CarrosCV[0]) && (carid <= CarrosCV[9])) { return true; } return 0; }*/ CallBack::IsATriad(playerid) { new lider = PlayerInfo[playerid][pLider]; new member = PlayerInfo[playerid][pMembro]; if(member==22 || member==22) { return true; } else if(lider==22 || lider==22) { return true; } return 0; } CallBack::IsAYa(playerid) { new lider = PlayerInfo[playerid][pLider]; new member = PlayerInfo[playerid][pMembro]; if(member==13|| member==13) { return true; } else if(lider==13 || lider==13) { return true; } return 0; } CallBack::IsAMayam(playerid) { new lider = PlayerInfo[playerid][pLider]; new member = PlayerInfo[playerid][pMembro]; if(member==12 || member==12) { return true; } else if(lider==12 || lider==12) { return true; } return 0; } CallBack::IsAGOV(playerid) { new lider = PlayerInfo[playerid][pLider]; new member = PlayerInfo[playerid][pMembro]; if(member==7 || lider==7) { return true; } return 0; } CallBack::IsATDE(playerid) { new lider = PlayerInfo[playerid][pLider]; new member = PlayerInfo[playerid][pMembro]; if(member==38 || lider==38) { return true; } return 0; } CallBack::IsAAl(playerid) { new lider = PlayerInfo[playerid][pLider]; new member = PlayerInfo[playerid][pMembro]; if(member==15 || member==15) { return true; } else if(lider==15 || lider==15) { return true; } return 0; } CallBack::IsAGI(playerid) { new lider = PlayerInfo[playerid][pLider]; new member = PlayerInfo[playerid][pMembro]; if(member==23 || member==23) { return true; } else if(lider==23 || lider==23) { return true; } return 0; } CallBack::IsAOni(playerid) { new emprego = PlayerInfo[playerid][pEmprego]; if(emprego==9) { return true; } return 0; } CallBack::IsATaxista(playerid) { new emprego = PlayerInfo[playerid][pEmprego]; if(emprego==10) { return true; } return 0; } CallBack::IsAOniCar(carid) { if (GetVehicleModel(carid) == 431) { return true; } return 0; } CallBack::IsAJornal(playerid) { new lider = PlayerInfo[playerid][pLider]; new member = PlayerInfo[playerid][pMembro]; if(member==9 || member==9) { return true; } else if(lider==9 || lider==9) { return true; } return 0; } CallBack::IsAGroove(playerid) { new lider = PlayerInfo[playerid][pLider]; new member = PlayerInfo[playerid][pMembro]; if(member==14 || member==14) { return true; } else if(lider==14 || lider==14) { return true; } return 0; } CallBack::IsAGang(playerid) { switch(GetPlayerOrg(playerid)) { case 5, 10, 14, 17, 18, 19, 21: return 1; } return 0; } stock carregarObjetos(playerid) { if(PlayerInfo[playerid][pAcP] == 1) { PlayerInfo[playerid][pAcP] = 0; } new file[54], ObjetosCriados ; for(new i = 0; i < MAX_OBJETOS; i++) { format(file, 54, Pasta_Objetos, i); if(!DOF2_FileExists(file)) continue; ObjInfo[i][PosX] = DOF2_GetFloat(file, "PosX"); ObjInfo[i][PosY] = DOF2_GetFloat(file, "PosY"); ObjInfo[i][PosZ] = DOF2_GetFloat(file, "PosZ"); ObjInfo[i][RotX] = DOF2_GetFloat(file, "PosRX"); ObjInfo[i][RotY] = DOF2_GetFloat(file, "PosRY"); ObjInfo[i][RotZ] = DOF2_GetFloat(file, "PosRZ"); ObjInfo[i][world] = DOF2_GetInt(file, "World"); ObjInfo[i][ObjectModel] = DOF2_GetInt(file, "Model"); ObjInfo[i][TextoInfo] = CreateDynamic3DTextLabel("Fix",-1,0.0, 0.0, 0.0 ,0.1, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 0, -1, -1, -1, 0.1); DestroyDynamic3DTextLabel(ObjInfo[i][TextoInfo]); //Fix ObjInfo[i][ObjetoID] = CreateDynamicObject( DOF2_GetInt(file, "Model"), //fix streamer ObjInfo[i][PosX], ObjInfo[i][PosY], ObjInfo[i][PosZ], ObjInfo[i][RotX], ObjInfo[i][RotY], ObjInfo[i][RotZ], ObjInfo[i][world] ); ObjetosCriados++; } } stock SalvarObjetos() { new file[54]; for(new save = 0; save < MAX_OBJETOS; save++) { if(ObjInfo[save][ObjectModel] == 0) continue; format(file, 54, Pasta_Objetos, save); if(!DOF2_FileExists(file)) DOF2_CreateFile(file); DOF2_SetInt(file, "Model", ObjInfo[save][ObjectModel]); DOF2_SetFloat(file, "PosX", ObjInfo[save][PosX]); DOF2_SetFloat(file, "PosY", ObjInfo[save][PosY]); DOF2_SetFloat(file, "PosZ", ObjInfo[save][PosZ]); DOF2_SetFloat(file, "PosRX", ObjInfo[save][RotX]); DOF2_SetFloat(file, "PosRY", ObjInfo[save][RotY]); DOF2_SetFloat(file, "PosRZ", ObjInfo[save][RotZ]); DOF2_SetInt(file, "World", ObjInfo[save][world]); } DOF2_SaveFile(); } stock SlotdoItem(playerid,slotid) { //new gstring[128]; switch(ItemSlotP[playerid][slotid]) { case 0:gstring = "ArmaPesada"; case 1:gstring = "Escopeta"; case 2:gstring = "Cacetete"; case 3:gstring = "Desert Eagle"; case 4:gstring = "Extintor"; case 5:gstring = "Sniper"; case 6:gstring = "Bolsa de Dinheiro"; case 7:gstring = "Pizza"; case 8:gstring = "Maconha"; case 9:gstring = "Pa"; case 10:gstring = "Radio"; case 11:gstring = "Celular"; case 12:gstring = "Oculos"; case 13:gstring = "Bone"; case 14:gstring = "Especial"; case 15:gstring = "Movel"; case 16:gstring = "Escudo"; case 17:gstring = "Capacete"; case 18:gstring = "Planta"; case 19:gstring = "Bandana"; case 20:gstring = "Aureola1"; case 21:gstring = "Aureola2"; case 22:gstring = "Algema"; case 23:gstring = "Item raro"; case 24:gstring = "Especial"; default:gstring ="Desconhecido"; } return gstring; } stock showInventarioBox(playerid, boxid){ PlayerTextDrawDestroy(playerid,invBox[playerid][0]); PlayerTextDrawDestroy(playerid,invBox[playerid][1]); PlayerTextDrawDestroy(playerid,invBox[playerid][2]); PlayerTextDrawDestroy(playerid,invBox[playerid][3]); PlayerTextDrawDestroy(playerid,invBox[playerid][4]); PlayerTextDrawDestroy(playerid,invBox[playerid][5]); PlayerTextDrawDestroy(playerid,invBox[playerid][6]); PlayerTextDrawDestroy(playerid,invBox[playerid][7]); PlayerTextDrawDestroy(playerid,invBox[playerid][8]); if(boxid == 0 || boxid == 15 || boxid == 30 || boxid == 45 || boxid == 60){ invBox[playerid][0] = CreatePlayerTextDraw(playerid,47.000000, 175.000000, "_"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][0], 255); PlayerTextDrawFont(playerid,invBox[playerid][0], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][0], 0.193378, 12.805830); PlayerTextDrawColor(playerid,invBox[playerid][0], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][0], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][0], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][0], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][0], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][0], 0x00000099); PlayerTextDrawTextSize(playerid,invBox[playerid][0], 143.000000, 0.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][0], 0); invBox[playerid][1] = CreatePlayerTextDraw(playerid,48.000000, 175.000000, "Escolha uma opcao"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][1], 255); PlayerTextDrawFont(playerid,invBox[playerid][1], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][1], 0.193378, 0.905830); PlayerTextDrawColor(playerid,invBox[playerid][1], -2139062169); PlayerTextDrawSetOutline(playerid,invBox[playerid][1], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][1], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][1], 0); PlayerTextDrawSetSelectable(playerid,invBox[playerid][1], 0); invBox[playerid][2] = CreatePlayerTextDraw(playerid,126.000000, 174.000000, "~r~X"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][2], 255); PlayerTextDrawFont(playerid,invBox[playerid][2], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][2], 0.356041, 1.098331); PlayerTextDrawColor(playerid,invBox[playerid][2], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][2], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][2], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][2], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][2], 0); PlayerTextDrawBoxColor(playerid,invBox[playerid][2], 255); PlayerTextDrawTextSize(playerid,invBox[playerid][2], 580.507568, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][2], 1); invBox[playerid][3] = CreatePlayerTextDraw(playerid,54.000000, 190.000000, "usar_item");//y + 15 PlayerTextDrawBackgroundColor(playerid,invBox[playerid][3], 255); PlayerTextDrawFont(playerid,invBox[playerid][3], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][3], 0.292708, 1.004999); PlayerTextDrawColor(playerid,invBox[playerid][3], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][3], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][3], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][3], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][3], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][3], 0x1c1c1bFF); PlayerTextDrawTextSize(playerid,invBox[playerid][3], 137.000000, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][3], 1); invBox[playerid][4] = CreatePlayerTextDraw(playerid,54.000000, 206.000000, "combinar"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][4], 255); PlayerTextDrawFont(playerid,invBox[playerid][4], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][4], 0.292708, 1.004999); PlayerTextDrawColor(playerid,invBox[playerid][4], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][4], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][4], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][4], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][4], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][4], 0x1c1c1bFF); PlayerTextDrawTextSize(playerid,invBox[playerid][4], 137.000000, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][4], 1); invBox[playerid][5] = CreatePlayerTextDraw(playerid,54.000000, 223.000000, "mover"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][5], 255); PlayerTextDrawFont(playerid,invBox[playerid][5], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][5], 0.292708, 1.004999); PlayerTextDrawColor(playerid,invBox[playerid][5], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][5], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][5], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][5], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][5], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][5], 0x1c1c1bFF); PlayerTextDrawTextSize(playerid,invBox[playerid][5], 137.000000, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][5], 1); invBox[playerid][6] = CreatePlayerTextDraw(playerid,54.000000, 239.000000, "vender_item"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][6], 255); PlayerTextDrawFont(playerid,invBox[playerid][6], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][6], 0.292708, 1.004999); PlayerTextDrawColor(playerid,invBox[playerid][6], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][6], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][6], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][6], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][6], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][6], 0x1c1c1bFF); PlayerTextDrawTextSize(playerid,invBox[playerid][6], 137.000000, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][6], 1); invBox[playerid][7] = CreatePlayerTextDraw(playerid,54.000000, 255.000000, "descartar"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][7], 255); PlayerTextDrawFont(playerid,invBox[playerid][7], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][7], 0.292708, 1.004999); PlayerTextDrawColor(playerid,invBox[playerid][7], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][7], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][7], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][7], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][7], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][7], 0x1c1c1bFF); PlayerTextDrawTextSize(playerid,invBox[playerid][7], 137.000000, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][7], 1); invBox[playerid][8] = CreatePlayerTextDraw(playerid,54.000000, 271.000000, "separar"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][8], 255); PlayerTextDrawFont(playerid,invBox[playerid][8], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][8], 0.292708, 1.004999); PlayerTextDrawColor(playerid,invBox[playerid][8], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][8], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][8], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][8], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][8], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][8], 0x1c1c1bFF); PlayerTextDrawTextSize(playerid,invBox[playerid][8], 137.000000, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][8], 1); } if(boxid == 1 || boxid == 16 || boxid == 31 || boxid == 46 || boxid == 61){ invBox[playerid][0] = CreatePlayerTextDraw(playerid,143.000000, 175.000000, "_"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][0], 255); PlayerTextDrawFont(playerid,invBox[playerid][0], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][0], 0.193378, 12.805830); PlayerTextDrawColor(playerid,invBox[playerid][0], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][0], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][0], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][0], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][0], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][0], 0x00000099); PlayerTextDrawTextSize(playerid,invBox[playerid][0], 239.000000, 0.000000); //143+96 PlayerTextDrawSetSelectable(playerid,invBox[playerid][0], 0); invBox[playerid][1] = CreatePlayerTextDraw(playerid,144.000000, 175.000000, "Escolha uma opcao"); //4+96 PlayerTextDrawBackgroundColor(playerid,invBox[playerid][1], 255); PlayerTextDrawFont(playerid,invBox[playerid][1], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][1], 0.193378, 0.905830); PlayerTextDrawColor(playerid,invBox[playerid][1], -2139062169); PlayerTextDrawSetOutline(playerid,invBox[playerid][1], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][1], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][1], 0); PlayerTextDrawSetSelectable(playerid,invBox[playerid][1], 0); invBox[playerid][2] = CreatePlayerTextDraw(playerid,222.000000, 174.000000, "~r~X"); //126 + 96 PlayerTextDrawBackgroundColor(playerid,invBox[playerid][2], 255); PlayerTextDrawFont(playerid,invBox[playerid][2], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][2], 0.356041, 1.098331); PlayerTextDrawColor(playerid,invBox[playerid][2], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][2], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][2], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][2], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][2], 0); PlayerTextDrawBoxColor(playerid,invBox[playerid][2], 255); PlayerTextDrawTextSize(playerid,invBox[playerid][2], 580.507568, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][2], 1); invBox[playerid][3] = CreatePlayerTextDraw(playerid,54+96.000000, 190.000000, "usar_item"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][3], 255); PlayerTextDrawFont(playerid,invBox[playerid][3], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][3], 0.292708, 1.004999); PlayerTextDrawColor(playerid,invBox[playerid][3], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][3], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][3], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][3], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][3], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][3], 0x1c1c1bFF); PlayerTextDrawTextSize(playerid,invBox[playerid][3], 137+96.000000, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][3], 1); invBox[playerid][4] = CreatePlayerTextDraw(playerid,54+96.000000, 206.000000, "combinar"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][4], 255); PlayerTextDrawFont(playerid,invBox[playerid][4], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][4], 0.292708, 1.004999); PlayerTextDrawColor(playerid,invBox[playerid][4], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][4], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][4], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][4], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][4], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][4], 0x1c1c1bFF); PlayerTextDrawTextSize(playerid,invBox[playerid][4], 137+96.000000, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][4], 1); invBox[playerid][5] = CreatePlayerTextDraw(playerid,54+96.000000, 223.000000, "mover"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][5], 255); PlayerTextDrawFont(playerid,invBox[playerid][5], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][5], 0.292708, 1.004999); PlayerTextDrawColor(playerid,invBox[playerid][5], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][5], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][5], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][5], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][5], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][5], 0x1c1c1bFF); PlayerTextDrawTextSize(playerid,invBox[playerid][5], 137+96.000000, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][5], 1); invBox[playerid][6] = CreatePlayerTextDraw(playerid,54+96.000000, 239.000000, "vender_item"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][6], 255); PlayerTextDrawFont(playerid,invBox[playerid][6], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][6], 0.292708, 1.004999); PlayerTextDrawColor(playerid,invBox[playerid][6], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][6], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][6], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][6], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][6], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][6], 0x1c1c1bFF); PlayerTextDrawTextSize(playerid,invBox[playerid][6], 137+96.000000, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][6], 1); invBox[playerid][7] = CreatePlayerTextDraw(playerid,54+96.000000, 255.000000, "descartar"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][7], 255); PlayerTextDrawFont(playerid,invBox[playerid][7], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][7], 0.292708, 1.004999); PlayerTextDrawColor(playerid,invBox[playerid][7], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][7], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][7], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][7], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][7], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][7], 0x1c1c1bFF); PlayerTextDrawTextSize(playerid,invBox[playerid][7], 137+96.000000, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][7], 1); invBox[playerid][8] = CreatePlayerTextDraw(playerid,54+96.000000, 271.000000, "separar"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][8], 255); PlayerTextDrawFont(playerid,invBox[playerid][8], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][8], 0.292708, 1.004999); PlayerTextDrawColor(playerid,invBox[playerid][8], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][8], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][8], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][8], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][8], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][8], 0x1c1c1bFF); PlayerTextDrawTextSize(playerid,invBox[playerid][8], 137+96.000000, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][8], 1); } if(boxid == 2 || boxid == 17 || boxid == 32 || boxid == 47 || boxid == 62){ invBox[playerid][0] = CreatePlayerTextDraw(playerid,239.000000, 175.000000, "_"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][0], 255); PlayerTextDrawFont(playerid,invBox[playerid][0], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][0], 0.193378, 12.805830); PlayerTextDrawColor(playerid,invBox[playerid][0], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][0], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][0], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][0], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][0], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][0], 0x00000099); PlayerTextDrawTextSize(playerid,invBox[playerid][0], 335.000000, 0.000000); //143+96 PlayerTextDrawSetSelectable(playerid,invBox[playerid][0], 0); invBox[playerid][1] = CreatePlayerTextDraw(playerid,240.000000, 175.000000, "Escolha uma opcao"); //4+96 PlayerTextDrawBackgroundColor(playerid,invBox[playerid][1], 255); PlayerTextDrawFont(playerid,invBox[playerid][1], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][1], 0.193378, 0.905830); PlayerTextDrawColor(playerid,invBox[playerid][1], -2139062169); PlayerTextDrawSetOutline(playerid,invBox[playerid][1], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][1], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][1], 0); PlayerTextDrawSetSelectable(playerid,invBox[playerid][1], 0); invBox[playerid][2] = CreatePlayerTextDraw(playerid,318.000000, 174.000000, "~r~X"); //126 + 96 PlayerTextDrawBackgroundColor(playerid,invBox[playerid][2], 255); PlayerTextDrawFont(playerid,invBox[playerid][2], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][2], 0.356041, 1.098331); PlayerTextDrawColor(playerid,invBox[playerid][2], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][2], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][2], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][2], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][2], 0); PlayerTextDrawBoxColor(playerid,invBox[playerid][2], 255); PlayerTextDrawTextSize(playerid,invBox[playerid][2], 580.507568, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][2], 1); invBox[playerid][3] = CreatePlayerTextDraw(playerid,246.000000, 190.000000, "usar_item"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][3], 255); PlayerTextDrawFont(playerid,invBox[playerid][3], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][3], 0.292708, 1.004999); PlayerTextDrawColor(playerid,invBox[playerid][3], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][3], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][3], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][3], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][3], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][3], 0x1c1c1bFF); PlayerTextDrawTextSize(playerid,invBox[playerid][3], 329.000000, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][3], 1); invBox[playerid][4] = CreatePlayerTextDraw(playerid,246.000000, 206.000000, "combinar"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][4], 255); PlayerTextDrawFont(playerid,invBox[playerid][4], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][4], 0.292708, 1.004999); PlayerTextDrawColor(playerid,invBox[playerid][4], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][4], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][4], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][4], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][4], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][4], 0x1c1c1bFF); PlayerTextDrawTextSize(playerid,invBox[playerid][4], 329.000000, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][4], 1); invBox[playerid][5] = CreatePlayerTextDraw(playerid,246.000000, 223.000000, "mover"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][5], 255); PlayerTextDrawFont(playerid,invBox[playerid][5], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][5], 0.292708, 1.004999); PlayerTextDrawColor(playerid,invBox[playerid][5], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][5], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][5], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][5], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][5], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][5], 0x1c1c1bFF); PlayerTextDrawTextSize(playerid,invBox[playerid][5], 329.000000, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][5], 1); invBox[playerid][6] = CreatePlayerTextDraw(playerid,246.000000, 239.000000, "vender_item"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][6], 255); PlayerTextDrawFont(playerid,invBox[playerid][6], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][6], 0.292708, 1.004999); PlayerTextDrawColor(playerid,invBox[playerid][6], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][6], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][6], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][6], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][6], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][6], 0x1c1c1bFF); PlayerTextDrawTextSize(playerid,invBox[playerid][6], 329.000000, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][6], 1); invBox[playerid][7] = CreatePlayerTextDraw(playerid,246.000000, 255.000000, "descartar"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][7], 255); PlayerTextDrawFont(playerid,invBox[playerid][7], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][7], 0.292708, 1.004999); PlayerTextDrawColor(playerid,invBox[playerid][7], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][7], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][7], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][7], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][7], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][7], 0x1c1c1bFF); PlayerTextDrawTextSize(playerid,invBox[playerid][7], 329.000000, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][7], 1); invBox[playerid][8] = CreatePlayerTextDraw(playerid,246.000000, 271.000000, "separar"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][8], 255); PlayerTextDrawFont(playerid,invBox[playerid][8], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][8], 0.292708, 1.004999); PlayerTextDrawColor(playerid,invBox[playerid][8], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][8], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][8], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][8], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][8], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][8], 0x1c1c1bFF); PlayerTextDrawTextSize(playerid,invBox[playerid][8], 329.000000, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][8], 1); } if(boxid == 3 || boxid == 18 || boxid == 33 || boxid == 48 || boxid == 63){ invBox[playerid][0] = CreatePlayerTextDraw(playerid,335.000000, 175.000000, "_"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][0], 255); PlayerTextDrawFont(playerid,invBox[playerid][0], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][0], 0.193378, 12.805830); PlayerTextDrawColor(playerid,invBox[playerid][0], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][0], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][0], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][0], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][0], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][0], 0x00000099); PlayerTextDrawTextSize(playerid,invBox[playerid][0], 431.000000, 0.000000); //143+96 PlayerTextDrawSetSelectable(playerid,invBox[playerid][0], 0); invBox[playerid][1] = CreatePlayerTextDraw(playerid,336.000000, 175.000000, "Escolha uma opcao"); //4+96 PlayerTextDrawBackgroundColor(playerid,invBox[playerid][1], 255); PlayerTextDrawFont(playerid,invBox[playerid][1], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][1], 0.193378, 0.905830); PlayerTextDrawColor(playerid,invBox[playerid][1], -2139062169); PlayerTextDrawSetOutline(playerid,invBox[playerid][1], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][1], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][1], 0); PlayerTextDrawSetSelectable(playerid,invBox[playerid][1], 0); invBox[playerid][2] = CreatePlayerTextDraw(playerid,414.000000, 174.000000, "~r~X"); //126 + 96 PlayerTextDrawBackgroundColor(playerid,invBox[playerid][2], 255); PlayerTextDrawFont(playerid,invBox[playerid][2], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][2], 0.356041, 1.098331); PlayerTextDrawColor(playerid,invBox[playerid][2], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][2], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][2], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][2], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][2], 0); PlayerTextDrawBoxColor(playerid,invBox[playerid][2], 255); PlayerTextDrawTextSize(playerid,invBox[playerid][2], 580.507568, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][2], 1); invBox[playerid][3] = CreatePlayerTextDraw(playerid,342.000000, 190.000000, "usar_item"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][3], 255); PlayerTextDrawFont(playerid,invBox[playerid][3], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][3], 0.292708, 1.004999); PlayerTextDrawColor(playerid,invBox[playerid][3], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][3], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][3], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][3], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][3], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][3], 0x1c1c1bFF); PlayerTextDrawTextSize(playerid,invBox[playerid][3], 425.000000, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][3], 1); invBox[playerid][4] = CreatePlayerTextDraw(playerid,342.000000, 206.000000, "combinar"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][4], 255); PlayerTextDrawFont(playerid,invBox[playerid][4], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][4], 0.292708, 1.004999); PlayerTextDrawColor(playerid,invBox[playerid][4], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][4], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][4], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][4], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][4], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][4], 0x1c1c1bFF); PlayerTextDrawTextSize(playerid,invBox[playerid][4], 425.000000, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][4], 1); invBox[playerid][5] = CreatePlayerTextDraw(playerid,342.000000, 223.000000, "mover"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][5], 255); PlayerTextDrawFont(playerid,invBox[playerid][5], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][5], 0.292708, 1.004999); PlayerTextDrawColor(playerid,invBox[playerid][5], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][5], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][5], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][5], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][5], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][5], 0x1c1c1bFF); PlayerTextDrawTextSize(playerid,invBox[playerid][5], 425.000000, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][5], 1); invBox[playerid][6] = CreatePlayerTextDraw(playerid,342.000000, 239.000000, "vender_item"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][6], 255); PlayerTextDrawFont(playerid,invBox[playerid][6], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][6], 0.292708, 1.004999); PlayerTextDrawColor(playerid,invBox[playerid][6], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][6], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][6], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][6], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][6], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][6], 0x1c1c1bFF); PlayerTextDrawTextSize(playerid,invBox[playerid][6], 425.000000, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][6], 1); invBox[playerid][7] = CreatePlayerTextDraw(playerid,342.000000, 255.000000, "descartar"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][7], 255); PlayerTextDrawFont(playerid,invBox[playerid][7], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][7], 0.292708, 1.004999); PlayerTextDrawColor(playerid,invBox[playerid][7], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][7], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][7], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][7], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][7], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][7], 0x1c1c1bFF); PlayerTextDrawTextSize(playerid,invBox[playerid][7], 425.000000, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][7], 1); invBox[playerid][8] = CreatePlayerTextDraw(playerid,342.000000, 271.000000, "separar"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][8], 255); PlayerTextDrawFont(playerid,invBox[playerid][8], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][8], 0.292708, 1.004999); PlayerTextDrawColor(playerid,invBox[playerid][8], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][8], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][8], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][8], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][8], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][8], 0x1c1c1bFF); PlayerTextDrawTextSize(playerid,invBox[playerid][8], 425.000000, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][8], 1); } if(boxid == 4 || boxid == 19 || boxid == 34 || boxid == 49 || boxid == 64){ invBox[playerid][0] = CreatePlayerTextDraw(playerid,431.000000, 175.000000, "_"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][0], 255); PlayerTextDrawFont(playerid,invBox[playerid][0], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][0], 0.193378, 12.805830); PlayerTextDrawColor(playerid,invBox[playerid][0], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][0], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][0], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][0], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][0], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][0], 0x00000099); PlayerTextDrawTextSize(playerid,invBox[playerid][0], 527.000000, 0.000000); //143+96 PlayerTextDrawSetSelectable(playerid,invBox[playerid][0], 0); invBox[playerid][1] = CreatePlayerTextDraw(playerid,432.000000, 175.000000, "Escolha uma opcao"); //4+96 PlayerTextDrawBackgroundColor(playerid,invBox[playerid][1], 255); PlayerTextDrawFont(playerid,invBox[playerid][1], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][1], 0.193378, 0.905830); PlayerTextDrawColor(playerid,invBox[playerid][1], -2139062169); PlayerTextDrawSetOutline(playerid,invBox[playerid][1], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][1], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][1], 0); PlayerTextDrawSetSelectable(playerid,invBox[playerid][1], 0); invBox[playerid][2] = CreatePlayerTextDraw(playerid,510.000000, 174.000000, "~r~X"); //126 + 96 PlayerTextDrawBackgroundColor(playerid,invBox[playerid][2], 255); PlayerTextDrawFont(playerid,invBox[playerid][2], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][2], 0.356041, 1.098331); PlayerTextDrawColor(playerid,invBox[playerid][2], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][2], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][2], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][2], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][2], 0); PlayerTextDrawBoxColor(playerid,invBox[playerid][2], 255); PlayerTextDrawTextSize(playerid,invBox[playerid][2], 580.507568, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][2], 1); invBox[playerid][3] = CreatePlayerTextDraw(playerid,438.000000, 190.000000, "usar_item"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][3], 255); PlayerTextDrawFont(playerid,invBox[playerid][3], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][3], 0.292708, 1.004999); PlayerTextDrawColor(playerid,invBox[playerid][3], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][3], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][3], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][3], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][3], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][3], 0x1c1c1bFF); PlayerTextDrawTextSize(playerid,invBox[playerid][3], 521.000000, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][3], 1); invBox[playerid][4] = CreatePlayerTextDraw(playerid,438.000000, 206.000000, "combinar"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][4], 255); PlayerTextDrawFont(playerid,invBox[playerid][4], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][4], 0.292708, 1.004999); PlayerTextDrawColor(playerid,invBox[playerid][4], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][4], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][4], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][4], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][4], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][4], 0x1c1c1bFF); PlayerTextDrawTextSize(playerid,invBox[playerid][4], 521.000000, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][4], 1); invBox[playerid][5] = CreatePlayerTextDraw(playerid,438.000000, 223.000000, "mover"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][5], 255); PlayerTextDrawFont(playerid,invBox[playerid][5], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][5], 0.292708, 1.004999); PlayerTextDrawColor(playerid,invBox[playerid][5], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][5], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][5], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][5], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][5], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][5], 0x1c1c1bFF); PlayerTextDrawTextSize(playerid,invBox[playerid][5], 521.000000, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][5], 1); invBox[playerid][6] = CreatePlayerTextDraw(playerid,438.000000, 239.000000, "vender_item"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][6], 255); PlayerTextDrawFont(playerid,invBox[playerid][6], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][6], 0.292708, 1.004999); PlayerTextDrawColor(playerid,invBox[playerid][6], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][6], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][6], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][6], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][6], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][6], 0x1c1c1bFF); PlayerTextDrawTextSize(playerid,invBox[playerid][6], 521.000000, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][6], 1); invBox[playerid][7] = CreatePlayerTextDraw(playerid,438.000000, 255.000000, "descartar"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][7], 255); PlayerTextDrawFont(playerid,invBox[playerid][7], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][7], 0.292708, 1.004999); PlayerTextDrawColor(playerid,invBox[playerid][7], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][7], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][7], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][7], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][7], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][7], 0x1c1c1bFF); PlayerTextDrawTextSize(playerid,invBox[playerid][7], 521.000000, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][7], 1); invBox[playerid][8] = CreatePlayerTextDraw(playerid,438.000000, 271.000000, "separar"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][8], 255); PlayerTextDrawFont(playerid,invBox[playerid][8], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][8], 0.292708, 1.004999); PlayerTextDrawColor(playerid,invBox[playerid][8], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][8], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][8], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][8], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][8], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][8], 0x1c1c1bFF); PlayerTextDrawTextSize(playerid,invBox[playerid][8], 521.000000, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][8], 1); } if(boxid == 5 || boxid == 20 || boxid == 35 || boxid == 50 || boxid == 65){ invBox[playerid][0] = CreatePlayerTextDraw(playerid,47.000000, 258.000000, "_"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][0], 255); PlayerTextDrawFont(playerid,invBox[playerid][0], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][0], 0.193378, 12.805830); PlayerTextDrawColor(playerid,invBox[playerid][0], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][0], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][0], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][0], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][0], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][0], 0x00000099); PlayerTextDrawTextSize(playerid,invBox[playerid][0], 143.000000, 0.000000); //143+96 PlayerTextDrawSetSelectable(playerid,invBox[playerid][0], 0); invBox[playerid][1] = CreatePlayerTextDraw(playerid,48.000000, 258.000000, "Escolha uma opcao"); //4+96 PlayerTextDrawBackgroundColor(playerid,invBox[playerid][1], 255); PlayerTextDrawFont(playerid,invBox[playerid][1], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][1], 0.193378, 0.905830); PlayerTextDrawColor(playerid,invBox[playerid][1], -2139062169); PlayerTextDrawSetOutline(playerid,invBox[playerid][1], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][1], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][1], 0); PlayerTextDrawSetSelectable(playerid,invBox[playerid][1], 0); invBox[playerid][2] = CreatePlayerTextDraw(playerid,126.000000, 257.000000, "~r~X"); //126 + 96 PlayerTextDrawBackgroundColor(playerid,invBox[playerid][2], 255); PlayerTextDrawFont(playerid,invBox[playerid][2], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][2], 0.356041, 1.098331); PlayerTextDrawColor(playerid,invBox[playerid][2], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][2], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][2], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][2], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][2], 0); PlayerTextDrawBoxColor(playerid,invBox[playerid][2], 255); PlayerTextDrawTextSize(playerid,invBox[playerid][2], 580.507568, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][2], 1); invBox[playerid][3] = CreatePlayerTextDraw(playerid,54.000000, 190+83.000000, "usar_item"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][3], 255); PlayerTextDrawFont(playerid,invBox[playerid][3], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][3], 0.292708, 1.004999); PlayerTextDrawColor(playerid,invBox[playerid][3], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][3], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][3], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][3], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][3], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][3], 0x1c1c1bFF); PlayerTextDrawTextSize(playerid,invBox[playerid][3], 137.000000, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][3], 1); invBox[playerid][4] = CreatePlayerTextDraw(playerid,54.000000, 289.000000, "combinar"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][4], 255); PlayerTextDrawFont(playerid,invBox[playerid][4], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][4], 0.292708, 1.004999); PlayerTextDrawColor(playerid,invBox[playerid][4], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][4], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][4], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][4], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][4], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][4], 0x1c1c1bFF); PlayerTextDrawTextSize(playerid,invBox[playerid][4], 137.000000, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][4], 1); invBox[playerid][5] = CreatePlayerTextDraw(playerid,54.000000, 306.000000, "mover"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][5], 255); PlayerTextDrawFont(playerid,invBox[playerid][5], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][5], 0.292708, 1.004999); PlayerTextDrawColor(playerid,invBox[playerid][5], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][5], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][5], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][5], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][5], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][5], 0x1c1c1bFF); PlayerTextDrawTextSize(playerid,invBox[playerid][5], 137.000000, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][5], 1); invBox[playerid][6] = CreatePlayerTextDraw(playerid,54.000000, 322.000000, "vender_item"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][6], 255); PlayerTextDrawFont(playerid,invBox[playerid][6], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][6], 0.292708, 1.004999); PlayerTextDrawColor(playerid,invBox[playerid][6], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][6], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][6], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][6], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][6], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][6], 0x1c1c1bFF); PlayerTextDrawTextSize(playerid,invBox[playerid][6], 137.000000, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][6], 1); invBox[playerid][7] = CreatePlayerTextDraw(playerid,54.000000, 338.000000, "descartar"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][7], 255); PlayerTextDrawFont(playerid,invBox[playerid][7], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][7], 0.292708, 1.004999); PlayerTextDrawColor(playerid,invBox[playerid][7], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][7], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][7], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][7], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][7], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][7], 0x1c1c1bFF); PlayerTextDrawTextSize(playerid,invBox[playerid][7], 137.000000, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][7], 1); invBox[playerid][8] = CreatePlayerTextDraw(playerid,54.000000, 354.000000, "separar"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][8], 255); PlayerTextDrawFont(playerid,invBox[playerid][8], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][8], 0.292708, 1.004999); PlayerTextDrawColor(playerid,invBox[playerid][8], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][8], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][8], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][8], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][8], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][8], 0x1c1c1bFF); PlayerTextDrawTextSize(playerid,invBox[playerid][8], 137.000000, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][8], 1); } if(boxid == 6 || boxid == 21 || boxid == 36 || boxid == 51 || boxid == 66){ invBox[playerid][0] = CreatePlayerTextDraw(playerid,143.000000, 258.000000, "_"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][0], 255); PlayerTextDrawFont(playerid,invBox[playerid][0], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][0], 0.193378, 12.805830); PlayerTextDrawColor(playerid,invBox[playerid][0], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][0], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][0], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][0], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][0], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][0], 0x00000099); PlayerTextDrawTextSize(playerid,invBox[playerid][0], 239.000000, 0.000000); //143+96 PlayerTextDrawSetSelectable(playerid,invBox[playerid][0], 0); invBox[playerid][1] = CreatePlayerTextDraw(playerid,144.000000, 258.000000, "Escolha uma opcao"); //4+96 PlayerTextDrawBackgroundColor(playerid,invBox[playerid][1], 255); PlayerTextDrawFont(playerid,invBox[playerid][1], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][1], 0.193378, 0.905830); PlayerTextDrawColor(playerid,invBox[playerid][1], -2139062169); PlayerTextDrawSetOutline(playerid,invBox[playerid][1], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][1], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][1], 0); PlayerTextDrawSetSelectable(playerid,invBox[playerid][1], 0); invBox[playerid][2] = CreatePlayerTextDraw(playerid,222.000000, 257.000000, "~r~X"); //126 + 96 PlayerTextDrawBackgroundColor(playerid,invBox[playerid][2], 255); PlayerTextDrawFont(playerid,invBox[playerid][2], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][2], 0.356041, 1.098331); PlayerTextDrawColor(playerid,invBox[playerid][2], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][2], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][2], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][2], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][2], 0); PlayerTextDrawBoxColor(playerid,invBox[playerid][2], 255); PlayerTextDrawTextSize(playerid,invBox[playerid][2], 580.507568, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][2], 1); invBox[playerid][3] = CreatePlayerTextDraw(playerid,150.000000, 190+83.000000, "usar_item"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][3], 255); PlayerTextDrawFont(playerid,invBox[playerid][3], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][3], 0.292708, 1.004999); PlayerTextDrawColor(playerid,invBox[playerid][3], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][3], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][3], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][3], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][3], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][3], 0x1c1c1bFF); PlayerTextDrawTextSize(playerid,invBox[playerid][3], 233.000000, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][3], 1); invBox[playerid][4] = CreatePlayerTextDraw(playerid,150.000000, 289.000000, "combinar"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][4], 255); PlayerTextDrawFont(playerid,invBox[playerid][4], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][4], 0.292708, 1.004999); PlayerTextDrawColor(playerid,invBox[playerid][4], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][4], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][4], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][4], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][4], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][4], 0x1c1c1bFF); PlayerTextDrawTextSize(playerid,invBox[playerid][4], 233.000000, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][4], 1); invBox[playerid][5] = CreatePlayerTextDraw(playerid,150.000000, 306.000000, "mover"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][5], 255); PlayerTextDrawFont(playerid,invBox[playerid][5], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][5], 0.292708, 1.004999); PlayerTextDrawColor(playerid,invBox[playerid][5], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][5], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][5], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][5], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][5], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][5], 0x1c1c1bFF); PlayerTextDrawTextSize(playerid,invBox[playerid][5], 233.000000, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][5], 1); invBox[playerid][6] = CreatePlayerTextDraw(playerid,150.000000, 322.000000, "vender_item"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][6], 255); PlayerTextDrawFont(playerid,invBox[playerid][6], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][6], 0.292708, 1.004999); PlayerTextDrawColor(playerid,invBox[playerid][6], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][6], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][6], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][6], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][6], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][6], 0x1c1c1bFF); PlayerTextDrawTextSize(playerid,invBox[playerid][6], 233.000000, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][6], 1); invBox[playerid][7] = CreatePlayerTextDraw(playerid,150.000000, 338.000000, "descartar"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][7], 255); PlayerTextDrawFont(playerid,invBox[playerid][7], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][7], 0.292708, 1.004999); PlayerTextDrawColor(playerid,invBox[playerid][7], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][7], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][7], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][7], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][7], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][7], 0x1c1c1bFF); PlayerTextDrawTextSize(playerid,invBox[playerid][7], 233.000000, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][7], 1); invBox[playerid][8] = CreatePlayerTextDraw(playerid,150.000000, 354.000000, "separar"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][8], 255); PlayerTextDrawFont(playerid,invBox[playerid][8], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][8], 0.292708, 1.004999); PlayerTextDrawColor(playerid,invBox[playerid][8], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][8], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][8], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][8], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][8], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][8], 0x1c1c1bFF); PlayerTextDrawTextSize(playerid,invBox[playerid][8], 233.000000, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][8], 1); } if(boxid == 7 || boxid == 22 || boxid == 37 || boxid == 52 || boxid == 67){ invBox[playerid][0] = CreatePlayerTextDraw(playerid,239.000000, 258.000000, "_"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][0], 255); PlayerTextDrawFont(playerid,invBox[playerid][0], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][0], 0.193378, 12.805830); PlayerTextDrawColor(playerid,invBox[playerid][0], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][0], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][0], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][0], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][0], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][0], 0x00000099); PlayerTextDrawTextSize(playerid,invBox[playerid][0], 335.000000, 0.000000); //143+96 PlayerTextDrawSetSelectable(playerid,invBox[playerid][0], 0); invBox[playerid][1] = CreatePlayerTextDraw(playerid,240.000000, 258.000000, "Escolha uma opcao"); //4+96 PlayerTextDrawBackgroundColor(playerid,invBox[playerid][1], 255); PlayerTextDrawFont(playerid,invBox[playerid][1], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][1], 0.193378, 0.905830); PlayerTextDrawColor(playerid,invBox[playerid][1], -2139062169); PlayerTextDrawSetOutline(playerid,invBox[playerid][1], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][1], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][1], 0); PlayerTextDrawSetSelectable(playerid,invBox[playerid][1], 0); invBox[playerid][2] = CreatePlayerTextDraw(playerid,318.000000, 257.000000, "~r~X"); //126 + 96 PlayerTextDrawBackgroundColor(playerid,invBox[playerid][2], 255); PlayerTextDrawFont(playerid,invBox[playerid][2], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][2], 0.356041, 1.098331); PlayerTextDrawColor(playerid,invBox[playerid][2], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][2], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][2], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][2], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][2], 0); PlayerTextDrawBoxColor(playerid,invBox[playerid][2], 255); PlayerTextDrawTextSize(playerid,invBox[playerid][2], 580.507568, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][2], 1); invBox[playerid][3] = CreatePlayerTextDraw(playerid,246.000000, 190+83.000000, "usar_item"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][3], 255); PlayerTextDrawFont(playerid,invBox[playerid][3], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][3], 0.292708, 1.004999); PlayerTextDrawColor(playerid,invBox[playerid][3], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][3], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][3], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][3], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][3], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][3], 0x1c1c1bFF); PlayerTextDrawTextSize(playerid,invBox[playerid][3], 329.000000, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][3], 1); invBox[playerid][4] = CreatePlayerTextDraw(playerid,246.000000, 289.000000, "combinar"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][4], 255); PlayerTextDrawFont(playerid,invBox[playerid][4], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][4], 0.292708, 1.004999); PlayerTextDrawColor(playerid,invBox[playerid][4], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][4], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][4], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][4], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][4], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][4], 0x1c1c1bFF); PlayerTextDrawTextSize(playerid,invBox[playerid][4], 329.000000, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][4], 1); invBox[playerid][5] = CreatePlayerTextDraw(playerid,246.000000, 306.000000, "mover"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][5], 255); PlayerTextDrawFont(playerid,invBox[playerid][5], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][5], 0.292708, 1.004999); PlayerTextDrawColor(playerid,invBox[playerid][5], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][5], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][5], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][5], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][5], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][5], 0x1c1c1bFF); PlayerTextDrawTextSize(playerid,invBox[playerid][5], 329.000000, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][5], 1); invBox[playerid][6] = CreatePlayerTextDraw(playerid,246.000000, 322.000000, "vender_item"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][6], 255); PlayerTextDrawFont(playerid,invBox[playerid][6], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][6], 0.292708, 1.004999); PlayerTextDrawColor(playerid,invBox[playerid][6], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][6], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][6], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][6], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][6], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][6], 0x1c1c1bFF); PlayerTextDrawTextSize(playerid,invBox[playerid][6], 329.000000, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][6], 1); invBox[playerid][7] = CreatePlayerTextDraw(playerid,246.000000, 338.000000, "descartar"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][7], 255); PlayerTextDrawFont(playerid,invBox[playerid][7], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][7], 0.292708, 1.004999); PlayerTextDrawColor(playerid,invBox[playerid][7], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][7], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][7], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][7], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][7], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][7], 0x1c1c1bFF); PlayerTextDrawTextSize(playerid,invBox[playerid][7], 329.000000, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][7], 1); invBox[playerid][8] = CreatePlayerTextDraw(playerid,246.000000, 354.000000, "separar"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][8], 255); PlayerTextDrawFont(playerid,invBox[playerid][8], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][8], 0.292708, 1.004999); PlayerTextDrawColor(playerid,invBox[playerid][8], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][8], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][8], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][8], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][8], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][8], 0x1c1c1bFF); PlayerTextDrawTextSize(playerid,invBox[playerid][8], 329.000000, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][8], 1); } if(boxid == 8 || boxid == 23 || boxid == 38 || boxid == 53 || boxid == 68){ invBox[playerid][0] = CreatePlayerTextDraw(playerid,335.000000, 258.000000, "_"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][0], 255); PlayerTextDrawFont(playerid,invBox[playerid][0], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][0], 0.193378, 12.805830); PlayerTextDrawColor(playerid,invBox[playerid][0], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][0], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][0], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][0], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][0], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][0], 0x00000099); PlayerTextDrawTextSize(playerid,invBox[playerid][0], 431.000000, 0.000000); //143+96 PlayerTextDrawSetSelectable(playerid,invBox[playerid][0], 0); invBox[playerid][1] = CreatePlayerTextDraw(playerid,336.000000, 258.000000, "Escolha uma opcao"); //4+96 PlayerTextDrawBackgroundColor(playerid,invBox[playerid][1], 255); PlayerTextDrawFont(playerid,invBox[playerid][1], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][1], 0.193378, 0.905830); PlayerTextDrawColor(playerid,invBox[playerid][1], -2139062169); PlayerTextDrawSetOutline(playerid,invBox[playerid][1], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][1], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][1], 0); PlayerTextDrawSetSelectable(playerid,invBox[playerid][1], 0); invBox[playerid][2] = CreatePlayerTextDraw(playerid,414.000000, 257.000000, "~r~X"); //126 + 96 PlayerTextDrawBackgroundColor(playerid,invBox[playerid][2], 255); PlayerTextDrawFont(playerid,invBox[playerid][2], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][2], 0.356041, 1.098331); PlayerTextDrawColor(playerid,invBox[playerid][2], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][2], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][2], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][2], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][2], 0); PlayerTextDrawBoxColor(playerid,invBox[playerid][2], 255); PlayerTextDrawTextSize(playerid,invBox[playerid][2], 580.507568, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][2], 1); invBox[playerid][3] = CreatePlayerTextDraw(playerid,342.000000, 190+83.000000, "usar_item"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][3], 255); PlayerTextDrawFont(playerid,invBox[playerid][3], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][3], 0.292708, 1.004999); PlayerTextDrawColor(playerid,invBox[playerid][3], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][3], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][3], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][3], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][3], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][3], 0x1c1c1bFF); PlayerTextDrawTextSize(playerid,invBox[playerid][3], 425.000000, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][3], 1); invBox[playerid][4] = CreatePlayerTextDraw(playerid,342.000000, 289.000000, "combinar"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][4], 255); PlayerTextDrawFont(playerid,invBox[playerid][4], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][4], 0.292708, 1.004999); PlayerTextDrawColor(playerid,invBox[playerid][4], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][4], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][4], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][4], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][4], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][4], 0x1c1c1bFF); PlayerTextDrawTextSize(playerid,invBox[playerid][4], 425.000000, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][4], 1); invBox[playerid][5] = CreatePlayerTextDraw(playerid,342.000000, 306.000000, "mover"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][5], 255); PlayerTextDrawFont(playerid,invBox[playerid][5], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][5], 0.292708, 1.004999); PlayerTextDrawColor(playerid,invBox[playerid][5], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][5], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][5], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][5], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][5], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][5], 0x1c1c1bFF); PlayerTextDrawTextSize(playerid,invBox[playerid][5], 425.000000, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][5], 1); invBox[playerid][6] = CreatePlayerTextDraw(playerid,342.000000, 322.000000, "vender_item"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][6], 255); PlayerTextDrawFont(playerid,invBox[playerid][6], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][6], 0.292708, 1.004999); PlayerTextDrawColor(playerid,invBox[playerid][6], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][6], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][6], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][6], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][6], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][6], 0x1c1c1bFF); PlayerTextDrawTextSize(playerid,invBox[playerid][6], 425.000000, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][6], 1); invBox[playerid][7] = CreatePlayerTextDraw(playerid,342.000000, 338.000000, "descartar"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][7], 255); PlayerTextDrawFont(playerid,invBox[playerid][7], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][7], 0.292708, 1.004999); PlayerTextDrawColor(playerid,invBox[playerid][7], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][7], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][7], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][7], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][7], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][7], 0x1c1c1bFF); PlayerTextDrawTextSize(playerid,invBox[playerid][7], 425.000000, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][7], 1); invBox[playerid][8] = CreatePlayerTextDraw(playerid,342.000000, 354.000000, "separar"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][8], 255); PlayerTextDrawFont(playerid,invBox[playerid][8], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][8], 0.292708, 1.004999); PlayerTextDrawColor(playerid,invBox[playerid][8], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][8], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][8], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][8], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][8], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][8], 0x1c1c1bFF); PlayerTextDrawTextSize(playerid,invBox[playerid][8], 425.000000, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][8], 1); } if(boxid == 9 || boxid == 24 || boxid == 39 || boxid == 54 || boxid == 69){ invBox[playerid][0] = CreatePlayerTextDraw(playerid,431.000000, 258.000000, "_"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][0], 255); PlayerTextDrawFont(playerid,invBox[playerid][0], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][0], 0.193378, 12.805830); PlayerTextDrawColor(playerid,invBox[playerid][0], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][0], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][0], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][0], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][0], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][0], 0x00000099); PlayerTextDrawTextSize(playerid,invBox[playerid][0], 527.000000, 0.000000); //143+96 PlayerTextDrawSetSelectable(playerid,invBox[playerid][0], 0); invBox[playerid][1] = CreatePlayerTextDraw(playerid,432.000000, 258.000000, "Escolha uma opcao"); //4+96 PlayerTextDrawBackgroundColor(playerid,invBox[playerid][1], 255); PlayerTextDrawFont(playerid,invBox[playerid][1], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][1], 0.193378, 0.905830); PlayerTextDrawColor(playerid,invBox[playerid][1], -2139062169); PlayerTextDrawSetOutline(playerid,invBox[playerid][1], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][1], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][1], 0); PlayerTextDrawSetSelectable(playerid,invBox[playerid][1], 0); invBox[playerid][2] = CreatePlayerTextDraw(playerid,510.000000, 257.000000, "~r~X"); //126 + 96 PlayerTextDrawBackgroundColor(playerid,invBox[playerid][2], 255); PlayerTextDrawFont(playerid,invBox[playerid][2], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][2], 0.356041, 1.098331); PlayerTextDrawColor(playerid,invBox[playerid][2], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][2], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][2], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][2], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][2], 0); PlayerTextDrawBoxColor(playerid,invBox[playerid][2], 255); PlayerTextDrawTextSize(playerid,invBox[playerid][2], 580.507568, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][2], 1); invBox[playerid][3] = CreatePlayerTextDraw(playerid,438.000000, 190+83.000000, "usar_item"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][3], 255); PlayerTextDrawFont(playerid,invBox[playerid][3], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][3], 0.292708, 1.004999); PlayerTextDrawColor(playerid,invBox[playerid][3], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][3], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][3], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][3], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][3], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][3], 0x1c1c1bFF); PlayerTextDrawTextSize(playerid,invBox[playerid][3], 521.000000, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][3], 1); invBox[playerid][4] = CreatePlayerTextDraw(playerid,438.000000, 289.000000, "combinar"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][4], 255); PlayerTextDrawFont(playerid,invBox[playerid][4], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][4], 0.292708, 1.004999); PlayerTextDrawColor(playerid,invBox[playerid][4], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][4], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][4], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][4], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][4], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][4], 0x1c1c1bFF); PlayerTextDrawTextSize(playerid,invBox[playerid][4], 521.000000, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][4], 1); invBox[playerid][5] = CreatePlayerTextDraw(playerid,438.000000, 306.000000, "mover"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][5], 255); PlayerTextDrawFont(playerid,invBox[playerid][5], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][5], 0.292708, 1.004999); PlayerTextDrawColor(playerid,invBox[playerid][5], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][5], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][5], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][5], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][5], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][5], 0x1c1c1bFF); PlayerTextDrawTextSize(playerid,invBox[playerid][5], 521.000000, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][5], 1); invBox[playerid][6] = CreatePlayerTextDraw(playerid,438.000000, 322.000000, "vender_item"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][6], 255); PlayerTextDrawFont(playerid,invBox[playerid][6], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][6], 0.292708, 1.004999); PlayerTextDrawColor(playerid,invBox[playerid][6], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][6], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][6], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][6], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][6], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][6], 0x1c1c1bFF); PlayerTextDrawTextSize(playerid,invBox[playerid][6], 521.000000, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][6], 1); invBox[playerid][7] = CreatePlayerTextDraw(playerid,438.000000, 338.000000, "descartar"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][7], 255); PlayerTextDrawFont(playerid,invBox[playerid][7], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][7], 0.292708, 1.004999); PlayerTextDrawColor(playerid,invBox[playerid][7], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][7], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][7], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][7], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][7], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][7], 0x1c1c1bFF); PlayerTextDrawTextSize(playerid,invBox[playerid][7], 521.000000, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][7], 1); invBox[playerid][8] = CreatePlayerTextDraw(playerid,438.000000, 354.000000, "separar"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][8], 255); PlayerTextDrawFont(playerid,invBox[playerid][8], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][8], 0.292708, 1.004999); PlayerTextDrawColor(playerid,invBox[playerid][8], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][8], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][8], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][8], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][8], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][8], 0x1c1c1bFF); PlayerTextDrawTextSize(playerid,invBox[playerid][8], 521.000000, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][8], 1); } if(boxid == 10 || boxid == 25 || boxid == 40 || boxid == 55 || boxid == 70){ invBox[playerid][0] = CreatePlayerTextDraw(playerid,47.000000, 258+83.000000, "_"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][0], 255); PlayerTextDrawFont(playerid,invBox[playerid][0], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][0], 0.193378, 12.805830); PlayerTextDrawColor(playerid,invBox[playerid][0], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][0], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][0], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][0], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][0], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][0], 0x00000099); PlayerTextDrawTextSize(playerid,invBox[playerid][0], 143.000000, 0.000000); //143+96 PlayerTextDrawSetSelectable(playerid,invBox[playerid][0], 0); invBox[playerid][1] = CreatePlayerTextDraw(playerid,48.000000, 258+83.000000, "Escolha uma opcao"); //4+96 PlayerTextDrawBackgroundColor(playerid,invBox[playerid][1], 255); PlayerTextDrawFont(playerid,invBox[playerid][1], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][1], 0.193378, 0.905830); PlayerTextDrawColor(playerid,invBox[playerid][1], -2139062169); PlayerTextDrawSetOutline(playerid,invBox[playerid][1], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][1], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][1], 0); PlayerTextDrawSetSelectable(playerid,invBox[playerid][1], 0); invBox[playerid][2] = CreatePlayerTextDraw(playerid,126.000000, 257+83.000000, "~r~X"); //126 + 96 PlayerTextDrawBackgroundColor(playerid,invBox[playerid][2], 255); PlayerTextDrawFont(playerid,invBox[playerid][2], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][2], 0.356041, 1.098331); PlayerTextDrawColor(playerid,invBox[playerid][2], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][2], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][2], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][2], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][2], 0); PlayerTextDrawBoxColor(playerid,invBox[playerid][2], 255); PlayerTextDrawTextSize(playerid,invBox[playerid][2], 580.507568, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][2], 1); invBox[playerid][3] = CreatePlayerTextDraw(playerid,54.000000, 273+83.000000, "usar_item"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][3], 255); PlayerTextDrawFont(playerid,invBox[playerid][3], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][3], 0.292708, 1.004999); PlayerTextDrawColor(playerid,invBox[playerid][3], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][3], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][3], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][3], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][3], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][3], 0x1c1c1bFF); PlayerTextDrawTextSize(playerid,invBox[playerid][3], 137.000000, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][3], 1); invBox[playerid][4] = CreatePlayerTextDraw(playerid,54.000000, 289+83.000000, "combinar"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][4], 255); PlayerTextDrawFont(playerid,invBox[playerid][4], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][4], 0.292708, 1.004999); PlayerTextDrawColor(playerid,invBox[playerid][4], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][4], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][4], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][4], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][4], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][4], 0x1c1c1bFF); PlayerTextDrawTextSize(playerid,invBox[playerid][4], 137.000000, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][4], 1); invBox[playerid][5] = CreatePlayerTextDraw(playerid,54.000000, 306+83.000000, "mover"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][5], 255); PlayerTextDrawFont(playerid,invBox[playerid][5], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][5], 0.292708, 1.004999); PlayerTextDrawColor(playerid,invBox[playerid][5], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][5], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][5], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][5], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][5], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][5], 0x1c1c1bFF); PlayerTextDrawTextSize(playerid,invBox[playerid][5], 137.000000, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][5], 1); invBox[playerid][6] = CreatePlayerTextDraw(playerid,54.000000, 322+83.000000, "vender_item"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][6], 255); PlayerTextDrawFont(playerid,invBox[playerid][6], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][6], 0.292708, 1.004999); PlayerTextDrawColor(playerid,invBox[playerid][6], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][6], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][6], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][6], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][6], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][6], 0x1c1c1bFF); PlayerTextDrawTextSize(playerid,invBox[playerid][6], 137.000000, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][6], 1); invBox[playerid][7] = CreatePlayerTextDraw(playerid,54.000000, 338+83.000000, "descartar"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][7], 255); PlayerTextDrawFont(playerid,invBox[playerid][7], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][7], 0.292708, 1.004999); PlayerTextDrawColor(playerid,invBox[playerid][7], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][7], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][7], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][7], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][7], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][7], 0x1c1c1bFF); PlayerTextDrawTextSize(playerid,invBox[playerid][7], 137.000000, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][7], 1); invBox[playerid][8] = CreatePlayerTextDraw(playerid,54.000000, 354+83.000000, "separar"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][8], 255); PlayerTextDrawFont(playerid,invBox[playerid][8], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][8], 0.292708, 1.004999); PlayerTextDrawColor(playerid,invBox[playerid][8], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][8], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][8], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][8], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][8], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][8], 0x1c1c1bFF); PlayerTextDrawTextSize(playerid,invBox[playerid][8], 137.000000, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][8], 1); } if(boxid == 11 || boxid == 26 || boxid == 41 || boxid == 56 || boxid == 71){ invBox[playerid][0] = CreatePlayerTextDraw(playerid,47+96.000000, 258+83.000000, "_"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][0], 255); PlayerTextDrawFont(playerid,invBox[playerid][0], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][0], 0.193378, 12.805830); PlayerTextDrawColor(playerid,invBox[playerid][0], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][0], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][0], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][0], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][0], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][0], 0x00000099); PlayerTextDrawTextSize(playerid,invBox[playerid][0], 239.000000, 0.000000); //143+96 PlayerTextDrawSetSelectable(playerid,invBox[playerid][0], 0); invBox[playerid][1] = CreatePlayerTextDraw(playerid,144.000000, 258+83.000000, "Escolha uma opcao"); //4+96 PlayerTextDrawBackgroundColor(playerid,invBox[playerid][1], 255); PlayerTextDrawFont(playerid,invBox[playerid][1], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][1], 0.193378, 0.905830); PlayerTextDrawColor(playerid,invBox[playerid][1], -2139062169); PlayerTextDrawSetOutline(playerid,invBox[playerid][1], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][1], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][1], 0); PlayerTextDrawSetSelectable(playerid,invBox[playerid][1], 0); invBox[playerid][2] = CreatePlayerTextDraw(playerid,222.000000, 257+83.000000, "~r~X"); //126 + 96 PlayerTextDrawBackgroundColor(playerid,invBox[playerid][2], 255); PlayerTextDrawFont(playerid,invBox[playerid][2], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][2], 0.356041, 1.098331); PlayerTextDrawColor(playerid,invBox[playerid][2], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][2], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][2], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][2], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][2], 0); PlayerTextDrawBoxColor(playerid,invBox[playerid][2], 255); PlayerTextDrawTextSize(playerid,invBox[playerid][2], 580.507568, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][2], 1); invBox[playerid][3] = CreatePlayerTextDraw(playerid,150.000000, 273+83.000000, "usar_item"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][3], 255); PlayerTextDrawFont(playerid,invBox[playerid][3], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][3], 0.292708, 1.004999); PlayerTextDrawColor(playerid,invBox[playerid][3], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][3], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][3], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][3], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][3], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][3], 0x1c1c1bFF); PlayerTextDrawTextSize(playerid,invBox[playerid][3], 233.000000, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][3], 1); invBox[playerid][4] = CreatePlayerTextDraw(playerid,150.000000, 289+83.000000, "combinar"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][4], 255); PlayerTextDrawFont(playerid,invBox[playerid][4], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][4], 0.292708, 1.004999); PlayerTextDrawColor(playerid,invBox[playerid][4], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][4], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][4], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][4], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][4], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][4], 0x1c1c1bFF); PlayerTextDrawTextSize(playerid,invBox[playerid][4], 233.000000, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][4], 1); invBox[playerid][5] = CreatePlayerTextDraw(playerid,150.000000, 306+83.000000, "mover"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][5], 255); PlayerTextDrawFont(playerid,invBox[playerid][5], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][5], 0.292708, 1.004999); PlayerTextDrawColor(playerid,invBox[playerid][5], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][5], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][5], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][5], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][5], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][5], 0x1c1c1bFF); PlayerTextDrawTextSize(playerid,invBox[playerid][5], 233.000000, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][5], 1); invBox[playerid][6] = CreatePlayerTextDraw(playerid,150.000000, 322+83.000000, "vender_item"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][6], 255); PlayerTextDrawFont(playerid,invBox[playerid][6], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][6], 0.292708, 1.004999); PlayerTextDrawColor(playerid,invBox[playerid][6], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][6], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][6], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][6], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][6], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][6], 0x1c1c1bFF); PlayerTextDrawTextSize(playerid,invBox[playerid][6], 233.000000, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][6], 1); invBox[playerid][7] = CreatePlayerTextDraw(playerid,150.000000, 338+83.000000, "descartar"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][7], 255); PlayerTextDrawFont(playerid,invBox[playerid][7], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][7], 0.292708, 1.004999); PlayerTextDrawColor(playerid,invBox[playerid][7], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][7], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][7], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][7], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][7], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][7], 0x1c1c1bFF); PlayerTextDrawTextSize(playerid,invBox[playerid][7], 233.000000, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][7], 1); invBox[playerid][8] = CreatePlayerTextDraw(playerid,150.000000, 354+83.000000, "separar"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][8], 255); PlayerTextDrawFont(playerid,invBox[playerid][8], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][8], 0.292708, 1.004999); PlayerTextDrawColor(playerid,invBox[playerid][8], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][8], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][8], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][8], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][8], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][8], 0x1c1c1bFF); PlayerTextDrawTextSize(playerid,invBox[playerid][8], 233.000000, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][8], 1); } if(boxid == 12 || boxid == 27 || boxid == 42 || boxid == 57 || boxid == 72){ invBox[playerid][0] = CreatePlayerTextDraw(playerid,239.000000, 258+83.000000, "_"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][0], 255); PlayerTextDrawFont(playerid,invBox[playerid][0], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][0], 0.193378, 12.805830); PlayerTextDrawColor(playerid,invBox[playerid][0], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][0], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][0], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][0], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][0], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][0], 0x00000099); PlayerTextDrawTextSize(playerid,invBox[playerid][0], 335.000000, 0.000000); //143+96 PlayerTextDrawSetSelectable(playerid,invBox[playerid][0], 0); invBox[playerid][1] = CreatePlayerTextDraw(playerid,240.000000, 258+83.000000, "Escolha uma opcao"); //4+96 PlayerTextDrawBackgroundColor(playerid,invBox[playerid][1], 255); PlayerTextDrawFont(playerid,invBox[playerid][1], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][1], 0.193378, 0.905830); PlayerTextDrawColor(playerid,invBox[playerid][1], -2139062169); PlayerTextDrawSetOutline(playerid,invBox[playerid][1], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][1], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][1], 0); PlayerTextDrawSetSelectable(playerid,invBox[playerid][1], 0); invBox[playerid][2] = CreatePlayerTextDraw(playerid,318.000000, 257+83.000000, "~r~X"); //126 + 96 PlayerTextDrawBackgroundColor(playerid,invBox[playerid][2], 255); PlayerTextDrawFont(playerid,invBox[playerid][2], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][2], 0.356041, 1.098331); PlayerTextDrawColor(playerid,invBox[playerid][2], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][2], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][2], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][2], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][2], 0); PlayerTextDrawBoxColor(playerid,invBox[playerid][2], 255); PlayerTextDrawTextSize(playerid,invBox[playerid][2], 580.507568, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][2], 1); invBox[playerid][3] = CreatePlayerTextDraw(playerid,246.000000, 273+83.000000, "usar_item"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][3], 255); PlayerTextDrawFont(playerid,invBox[playerid][3], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][3], 0.292708, 1.004999); PlayerTextDrawColor(playerid,invBox[playerid][3], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][3], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][3], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][3], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][3], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][3], 0x1c1c1bFF); PlayerTextDrawTextSize(playerid,invBox[playerid][3], 329.000000, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][3], 1); invBox[playerid][4] = CreatePlayerTextDraw(playerid,246.000000, 289+83.000000, "combinar"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][4], 255); PlayerTextDrawFont(playerid,invBox[playerid][4], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][4], 0.292708, 1.004999); PlayerTextDrawColor(playerid,invBox[playerid][4], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][4], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][4], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][4], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][4], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][4], 0x1c1c1bFF); PlayerTextDrawTextSize(playerid,invBox[playerid][4], 329.000000, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][4], 1); invBox[playerid][5] = CreatePlayerTextDraw(playerid,246.000000, 306+83.000000, "mover"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][5], 255); PlayerTextDrawFont(playerid,invBox[playerid][5], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][5], 0.292708, 1.004999); PlayerTextDrawColor(playerid,invBox[playerid][5], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][5], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][5], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][5], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][5], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][5], 0x1c1c1bFF); PlayerTextDrawTextSize(playerid,invBox[playerid][5], 329.000000, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][5], 1); invBox[playerid][6] = CreatePlayerTextDraw(playerid,246.000000, 322+83.000000, "vender_item"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][6], 255); PlayerTextDrawFont(playerid,invBox[playerid][6], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][6], 0.292708, 1.004999); PlayerTextDrawColor(playerid,invBox[playerid][6], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][6], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][6], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][6], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][6], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][6], 0x1c1c1bFF); PlayerTextDrawTextSize(playerid,invBox[playerid][6], 329.000000, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][6], 1); invBox[playerid][7] = CreatePlayerTextDraw(playerid,246.000000, 338+83.000000, "descartar"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][7], 255); PlayerTextDrawFont(playerid,invBox[playerid][7], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][7], 0.292708, 1.004999); PlayerTextDrawColor(playerid,invBox[playerid][7], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][7], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][7], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][7], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][7], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][7], 0x1c1c1bFF); PlayerTextDrawTextSize(playerid,invBox[playerid][7], 329.000000, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][7], 1); invBox[playerid][8] = CreatePlayerTextDraw(playerid,246.000000, 354+83.000000, "separar"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][8], 255); PlayerTextDrawFont(playerid,invBox[playerid][8], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][8], 0.292708, 1.004999); PlayerTextDrawColor(playerid,invBox[playerid][8], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][8], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][8], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][8], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][8], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][8], 0x1c1c1bFF); PlayerTextDrawTextSize(playerid,invBox[playerid][8], 329.000000, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][8], 1); } if(boxid == 13 || boxid == 28 || boxid == 43 || boxid == 58 || boxid == 73){ invBox[playerid][0] = CreatePlayerTextDraw(playerid,335.000000, 258+83.000000, "_"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][0], 255); PlayerTextDrawFont(playerid,invBox[playerid][0], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][0], 0.193378, 12.805830); PlayerTextDrawColor(playerid,invBox[playerid][0], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][0], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][0], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][0], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][0], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][0], 0x00000099); PlayerTextDrawTextSize(playerid,invBox[playerid][0], 431.000000, 0.000000); //143+96 PlayerTextDrawSetSelectable(playerid,invBox[playerid][0], 0); invBox[playerid][1] = CreatePlayerTextDraw(playerid,336.000000, 258+83.000000, "Escolha uma opcao"); //4+96 PlayerTextDrawBackgroundColor(playerid,invBox[playerid][1], 255); PlayerTextDrawFont(playerid,invBox[playerid][1], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][1], 0.193378, 0.905830); PlayerTextDrawColor(playerid,invBox[playerid][1], -2139062169); PlayerTextDrawSetOutline(playerid,invBox[playerid][1], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][1], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][1], 0); PlayerTextDrawSetSelectable(playerid,invBox[playerid][1], 0); invBox[playerid][2] = CreatePlayerTextDraw(playerid,414.000000, 257+83.000000, "~r~X"); //126 + 96 PlayerTextDrawBackgroundColor(playerid,invBox[playerid][2], 255); PlayerTextDrawFont(playerid,invBox[playerid][2], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][2], 0.356041, 1.098331); PlayerTextDrawColor(playerid,invBox[playerid][2], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][2], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][2], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][2], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][2], 0); PlayerTextDrawBoxColor(playerid,invBox[playerid][2], 255); PlayerTextDrawTextSize(playerid,invBox[playerid][2], 580.507568, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][2], 1); invBox[playerid][3] = CreatePlayerTextDraw(playerid,342.000000, 273+83.000000, "usar_item"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][3], 255); PlayerTextDrawFont(playerid,invBox[playerid][3], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][3], 0.292708, 1.004999); PlayerTextDrawColor(playerid,invBox[playerid][3], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][3], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][3], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][3], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][3], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][3], 0x1c1c1bFF); PlayerTextDrawTextSize(playerid,invBox[playerid][3], 425.000000, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][3], 1); invBox[playerid][4] = CreatePlayerTextDraw(playerid,342.000000, 289+83.000000, "combinar"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][4], 255); PlayerTextDrawFont(playerid,invBox[playerid][4], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][4], 0.292708, 1.004999); PlayerTextDrawColor(playerid,invBox[playerid][4], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][4], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][4], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][4], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][4], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][4], 0x1c1c1bFF); PlayerTextDrawTextSize(playerid,invBox[playerid][4], 425.000000, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][4], 1); invBox[playerid][5] = CreatePlayerTextDraw(playerid,342.000000, 306+83.000000, "mover"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][5], 255); PlayerTextDrawFont(playerid,invBox[playerid][5], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][5], 0.292708, 1.004999); PlayerTextDrawColor(playerid,invBox[playerid][5], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][5], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][5], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][5], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][5], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][5], 0x1c1c1bFF); PlayerTextDrawTextSize(playerid,invBox[playerid][5], 425.000000, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][5], 1); invBox[playerid][6] = CreatePlayerTextDraw(playerid,342.000000, 322+83.000000, "vender_item"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][6], 255); PlayerTextDrawFont(playerid,invBox[playerid][6], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][6], 0.292708, 1.004999); PlayerTextDrawColor(playerid,invBox[playerid][6], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][6], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][6], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][6], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][6], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][6], 0x1c1c1bFF); PlayerTextDrawTextSize(playerid,invBox[playerid][6], 425.000000, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][6], 1); invBox[playerid][7] = CreatePlayerTextDraw(playerid,342.000000, 338+83.000000, "descartar"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][7], 255); PlayerTextDrawFont(playerid,invBox[playerid][7], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][7], 0.292708, 1.004999); PlayerTextDrawColor(playerid,invBox[playerid][7], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][7], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][7], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][7], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][7], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][7], 0x1c1c1bFF); PlayerTextDrawTextSize(playerid,invBox[playerid][7], 425.000000, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][7], 1); invBox[playerid][8] = CreatePlayerTextDraw(playerid,342.000000, 354+83.000000, "separar"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][8], 255); PlayerTextDrawFont(playerid,invBox[playerid][8], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][8], 0.292708, 1.004999); PlayerTextDrawColor(playerid,invBox[playerid][8], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][8], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][8], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][8], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][8], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][8], 0x1c1c1bFF); PlayerTextDrawTextSize(playerid,invBox[playerid][8], 425.000000, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][8], 1); } if(boxid == 14 || boxid == 29 || boxid == 44 || boxid == 59 || boxid == 74){ invBox[playerid][0] = CreatePlayerTextDraw(playerid,431.000000, 258+83.000000, "_"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][0], 255); PlayerTextDrawFont(playerid,invBox[playerid][0], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][0], 0.193378, 12.805830); PlayerTextDrawColor(playerid,invBox[playerid][0], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][0], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][0], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][0], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][0], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][0], 0x00000099); PlayerTextDrawTextSize(playerid,invBox[playerid][0], 527.000000, 0.000000); //143+96 PlayerTextDrawSetSelectable(playerid,invBox[playerid][0], 0); invBox[playerid][1] = CreatePlayerTextDraw(playerid,432.000000, 258+83.000000, "Escolha uma opcao"); //4+96 PlayerTextDrawBackgroundColor(playerid,invBox[playerid][1], 255); PlayerTextDrawFont(playerid,invBox[playerid][1], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][1], 0.193378, 0.905830); PlayerTextDrawColor(playerid,invBox[playerid][1], -2139062169); PlayerTextDrawSetOutline(playerid,invBox[playerid][1], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][1], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][1], 0); PlayerTextDrawSetSelectable(playerid,invBox[playerid][1], 0); invBox[playerid][2] = CreatePlayerTextDraw(playerid,510.000000, 257+83.000000, "~r~X"); //126 + 96 PlayerTextDrawBackgroundColor(playerid,invBox[playerid][2], 255); PlayerTextDrawFont(playerid,invBox[playerid][2], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][2], 0.356041, 1.098331); PlayerTextDrawColor(playerid,invBox[playerid][2], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][2], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][2], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][2], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][2], 0); PlayerTextDrawBoxColor(playerid,invBox[playerid][2], 255); PlayerTextDrawTextSize(playerid,invBox[playerid][2], 580.507568, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][2], 1); invBox[playerid][3] = CreatePlayerTextDraw(playerid,438.000000, 273+83.000000, "usar_item"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][3], 255); PlayerTextDrawFont(playerid,invBox[playerid][3], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][3], 0.292708, 1.004999); PlayerTextDrawColor(playerid,invBox[playerid][3], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][3], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][3], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][3], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][3], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][3], 0x1c1c1bFF); PlayerTextDrawTextSize(playerid,invBox[playerid][3], 521.000000, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][3], 1); invBox[playerid][4] = CreatePlayerTextDraw(playerid,438.000000, 289+83.000000, "combinar"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][4], 255); PlayerTextDrawFont(playerid,invBox[playerid][4], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][4], 0.292708, 1.004999); PlayerTextDrawColor(playerid,invBox[playerid][4], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][4], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][4], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][4], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][4], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][4], 0x1c1c1bFF); PlayerTextDrawTextSize(playerid,invBox[playerid][4], 521.000000, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][4], 1); invBox[playerid][5] = CreatePlayerTextDraw(playerid,438.000000, 306+83.000000, "mover"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][5], 255); PlayerTextDrawFont(playerid,invBox[playerid][5], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][5], 0.292708, 1.004999); PlayerTextDrawColor(playerid,invBox[playerid][5], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][5], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][5], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][5], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][5], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][5], 0x1c1c1bFF); PlayerTextDrawTextSize(playerid,invBox[playerid][5], 521.000000, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][5], 1); invBox[playerid][6] = CreatePlayerTextDraw(playerid,438.000000, 322+83.000000, "vender_item"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][6], 255); PlayerTextDrawFont(playerid,invBox[playerid][6], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][6], 0.292708, 1.004999); PlayerTextDrawColor(playerid,invBox[playerid][6], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][6], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][6], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][6], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][6], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][6], 0x1c1c1bFF); PlayerTextDrawTextSize(playerid,invBox[playerid][6], 521.000000, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][6], 1); invBox[playerid][7] = CreatePlayerTextDraw(playerid,438.000000, 338+83.000000, "descartar"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][7], 255); PlayerTextDrawFont(playerid,invBox[playerid][7], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][7], 0.292708, 1.004999); PlayerTextDrawColor(playerid,invBox[playerid][7], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][7], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][7], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][7], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][7], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][7], 0x1c1c1bFF); PlayerTextDrawTextSize(playerid,invBox[playerid][7], 521.000000, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][7], 1); invBox[playerid][8] = CreatePlayerTextDraw(playerid,438.000000, 354+83.000000, "separar"); PlayerTextDrawBackgroundColor(playerid,invBox[playerid][8], 255); PlayerTextDrawFont(playerid,invBox[playerid][8], 1); PlayerTextDrawLetterSize(playerid,invBox[playerid][8], 0.292708, 1.004999); PlayerTextDrawColor(playerid,invBox[playerid][8], -1); PlayerTextDrawSetOutline(playerid,invBox[playerid][8], 0); PlayerTextDrawSetProportional(playerid,invBox[playerid][8], 1); PlayerTextDrawSetShadow(playerid,invBox[playerid][8], 0); PlayerTextDrawUseBox(playerid,invBox[playerid][8], 1); PlayerTextDrawBoxColor(playerid,invBox[playerid][8], 0x1c1c1bFF); PlayerTextDrawTextSize(playerid,invBox[playerid][8], 521.000000, 10.000000); PlayerTextDrawSetSelectable(playerid,invBox[playerid][8], 1); } PlayerTextDrawShow(playerid,invBox[playerid][0]); PlayerTextDrawShow(playerid,invBox[playerid][1]); PlayerTextDrawShow(playerid,invBox[playerid][2]); PlayerTextDrawShow(playerid,invBox[playerid][3]); PlayerTextDrawShow(playerid,invBox[playerid][4]); PlayerTextDrawShow(playerid,invBox[playerid][5]); PlayerTextDrawShow(playerid,invBox[playerid][6]); PlayerTextDrawShow(playerid,invBox[playerid][7]); PlayerTextDrawShow(playerid,invBox[playerid][8]); PlayerTextDrawShow(playerid,invText[playerid][0]); } CallBack::IsAArma(playerid,x) { switch(ArmasGuardadas[playerid][x]) { case 1..46: return 1; } return 0; } CallBack::IsASons(playerid) { new lider = PlayerInfo[playerid][pLider]; new member = PlayerInfo[playerid][pMembro]; if(member==25 || member==25) { return true; } else if(lider==25 || lider==25) { return true; } return 0; } CallBack::IsAVagos(playerid) { new lider = PlayerInfo[playerid][pLider]; new member = PlayerInfo[playerid][pMembro]; if(member==18 || member==18) { return true; } else if(lider==18 || lider==18) { return true; } return 0; } CallBack::IsABallas(playerid) { new lider = PlayerInfo[playerid][pLider]; new member = PlayerInfo[playerid][pMembro]; if(member==17 || member==17) { return true; } else if(lider==17 || lider==17) { return true; } return 0; } CallBack::IsATaxistaSF(playerid) { new lider = PlayerInfo[playerid][pLider]; new member = PlayerInfo[playerid][pMembro]; if(member==30 || member==30) { return true; } else if(lider==30 || lider==30) { return true; } return 0; } CallBack::IsAMedicosSF(playerid) { new lider = PlayerInfo[playerid][pLider]; new member = PlayerInfo[playerid][pMembro]; if(member==31 || member==31) { return true; } else if(lider==31 || lider==31) { return true; } return 0; } CallBack::Kickado(playerid) { new string2[64]; format(string2, sizeof(string2), Pasta_Contas, PlayerName(playerid)); if(fexist(string2)) { fremove(string2); } KickCNF(playerid); return true; } CallBack::IsAJornalSF(playerid) { new lider = PlayerInfo[playerid][pLider]; new member = PlayerInfo[playerid][pMembro]; if(member==32 || member==32) { return true; } else if(lider==32 || lider==32) { return true; } return 0; } CallBack::IsADetran(playerid) { if(IsPlayerConnected(playerid)) { new lider = PlayerInfo[playerid][pLider]; new member = PlayerInfo[playerid][pMembro]; if(member==34 || member==34) { return true; } else if(lider==34 || lider==34) { return true; } } return 0; } CallBack::IsAPM(playerid) { if(IsPlayerConnected(playerid)) { new lider = PlayerInfo[playerid][pLider]; new member = PlayerInfo[playerid][pMembro]; if(member==1 || member==1) { return true; } else if(lider==1 || lider==1) { return true; } } return 0; } CallBack::IsAComandoVermelho(playerid) { if(IsPlayerConnected(playerid)) { new lider = PlayerInfo[playerid][pLider]; new member = PlayerInfo[playerid][pMembro]; if(member==19 || member==19) { return true; } else if(lider==19 || lider==19) { return true; } } return 0; } CallBack::IsATropaDaTurquia(playerid) { if(IsPlayerConnected(playerid)) { new lider = PlayerInfo[playerid][pLider]; new member = PlayerInfo[playerid][pMembro]; if(member==37 || member==37) { return true; } else if(lider==37 || lider==37) { return true; } } return 0; } CallBack::IsAAzteca(playerid) { if(IsPlayerConnected(playerid)) { new lider = PlayerInfo[playerid][pLider]; new member = PlayerInfo[playerid][pMembro]; if(member==5 || member==5) { return true; } else if(lider==5 || lider==5) { return true; } } return 0; } IsAMafioso(playerid) { new lider = PlayerInfo[playerid][pLider]; new member = PlayerInfo[playerid][pMembro]; if(member==12 || member==13 || member==20) { return true; } else if(lider==12 || lider==13 || lider==20) { return true; } return 0; } CallBack::IsAMayan(playerid) { new lider = PlayerInfo[playerid][pLider]; new member = PlayerInfo[playerid][pMembro]; if(member==24) { return true; } else if(lider==24) { return true; } return 0; } //==teste== CallBack::IsAPCCSF(playerid) { if(IsPlayerConnected(playerid)) { new lider = PlayerInfo[playerid][pLider]; new member = PlayerInfo[playerid][pMembro]; if(member==24 || member==24) { return true; } else if(lider==24 || lider==24) { return true; } } return 0; } CallBack::IsAPR(playerid) { if(IsPlayerConnected(playerid)) { new lider = PlayerInfo[playerid][pLider]; new member = PlayerInfo[playerid][pMembro]; if(member==33 || member==33) { return true; } else if(lider==33 || lider==33) { return true; } } return 0; } CallBack::IsAAdmin(playerid) { if(IsPlayerConnected(playerid)) { new admin = PlayerInfo[playerid][pAdmin]; if(admin > 0) { return true; } } return 0; } CallBack::IsAHelperCar(carid) { if((carid >= CarrosHelpers[0]) && (carid <= CarrosHelpers[sizeof(CarrosHelpers)-1])) { return true; } return 0; } /*CallBack::IsAAdminCar(carid) { if((carid >= CarrosADM[0]) && (carid <= CarrosADM[sizeof(CarrosADM)-1])) { return true; } return 0; }*/ CallBack::IsAAlugHeli(carid) { if((carid >= AviaoAlugado[0]) && (carid <= AviaoAlugado[sizeof(AviaoAlugado)-1])) { return true; } return 0; } //======================================================= /* CallBack::IsAPCCSFCar(carid) { if((carid >= 508) && (carid <= 518)) { return true; } return 0; }*/ CallBack::IsAPCC(playerid) { if(IsPlayerConnected(playerid)) { new lider = PlayerInfo[playerid][pLider]; new member = PlayerInfo[playerid][pMembro]; if(member==21 || member==21) { return true; } else if(lider==21 || lider==21) { return true; } } return 0; } IsAStaff(playerid) { if(PlayerInfo[playerid][pAdmin] > 0) { return true; } if(PlayerInfo[playerid][pHelper] > 0) { return true; } if(PlayerInfo[playerid][pAdminTemp] > 0) { return true; } return 1; } CallBack::IsAGari(playerid) { if(PlayerInfo[playerid][pEmprego] == 8) { return true; } return 0; } CallBack::IsAMec(playerid) { if(PlayerInfo[playerid][pEmprego] == 2) { return true; } return 0; } CallBack::IsASedex(playerid) { if(PlayerInfo[playerid][pEmprego] == 10) { return true; } return 0; } CallBack::IsAiFood(playerid) { if(PlayerInfo[playerid][pEmprego] == 7) { return true; } return 0; } CallBack::IsAROTAs(playerid) { if(IsPlayerConnected(playerid)) { new lider = PlayerInfo[playerid][pLider]; new member = PlayerInfo[playerid][pMembro]; if(member==2 || member==2) { return true; } else if(lider==2 || lider==2) { return true; } } return 0; } CallBack::IsAEx(playerid) { if(IsPlayerConnected(playerid)) { new lider = PlayerInfo[playerid][pLider]; new member = PlayerInfo[playerid][pMembro]; if(member==3 || member==3) { return true; } else if(lider==3 || lider==3) { return true; } } return 0; } /* CallBack::IsARespCar(carid) { if((carid >= VRC[0]) && (carid <= VRC[sizeof(VRC)-1])) { return true; } return 0; } */ CallBack::IsAHit(playerid) { if(IsPlayerConnected(playerid)) { new lider = PlayerInfo[playerid][pLider]; new member = PlayerInfo[playerid][pMembro]; if(member==8 || member==8) { return true; } else if(lider==8 || lider==8) { return true; } } return 0; } CallBack::IsABikeCar(carid) { new lolololol = GetVehicleModel(carid); if(lolololol == 481 || lolololol == 509 || lolololol == 510) { return 1; } return 0; } //============================================================================== stock Float: GetDistanceBetweenTwoPoints ( Float: X , Float: Y , Float: Z , Float: X2 , Float: Y2 , Float: Z2 ) { return floatsqroot ( floatpower ( floatabs ( floatsub ( X , X2 ) ) , 2 ) + floatpower ( floatabs ( floatsub ( Y , Y2 ) ) , 2 ) + floatpower ( floatabs ( floatsub ( Z , Z2 ) ) , 2 ) ); } //============================================================================= stock GetDistanceToPoint ( playerid , Float: X ,Float: Y , Float: Z ) { new Float: X2 , Float: Y2 , Float: Z2; GetPlayerPos ( playerid , X2 , Y2 , Z2 ); return floatround ( GetDistanceBetweenTwoPoints ( X , Y , Z , X2 , Y2 , Z2 ) ); } //============================================================================== stock IsAircraft ( vehicleid ) { switch ( GetVehicleModel ( vehicleid ) ) { case 465,425,417,497,563,592, 548,577,511,512,501,447, 460,513,520,469,487,488, 553,464,476,519,593,539 : { return 1; } } return 0; } CallBack::IsAVIP(playerid) { if(IsPlayerConnected(playerid)) { new vip = PlayerInfo[playerid][pVIP]; if(vip >= 1) { return true; } } return 0; } CallBack::GaragemDpClosed2() { MoveDynamicObject(PDDOORb,250.774871 , 60.822799 , 1003.640625, 2);// return true; } CallBack::gasolina(playerid) { new string[128]; new vehicle = GetPlayerVehicleID(playerid); new Nick[MAX_PLAYER_NAME]; GetPlayerName(playerid, Nick, sizeof(Nick)); new Wanted = WantedPoints[playerid]; SendClientMessage(playerid, COLOR_YELLOW2, "| Computador De Bordo |"); format(string, sizeof(string), " Motorista: %s", Nick); SendClientMessage(playerid, COLOR_WHITE, string); format(string, sizeof(string), " Veiculo: %s", NomeCarro[vehicle]); SendClientMessage(playerid, COLOR_WHITE, string); format(string, sizeof(string), " Combustivel: %d", Gas[vehicle]); SendClientMessage(playerid, COLOR_WHITE, string); format(string, sizeof(string), " Nivel De Procura: %d", Wanted); SendClientMessage(playerid, COLOR_WHITE, string); format(string, sizeof(string), " Horas: %d", hour); SendClientMessage(playerid, COLOR_WHITE, string); Gas[vehicle]--; return true; } CallBack::GaragemDpClosed() { MoveDynamicObject(PDDOORa,247.005905 , 72.448440 , 1003.640625, 2);//GaragemClosed return true; } CallBack::fecharbanco() { MoveDynamicObject(portabanco, 304.5356, 1787.3109, 512.9559,2); } CallBack::fecharnavio() { MoveDynamicObject(portanavio, -1422, 494.5, 4.8,3); } CallBack::fecharnavio2() { MoveDynamicObject(portanavio2, -1383, 1494.1, 2,3); } CallBack::PCClosed() { MoveDynamicObject(PDDOORb,248.142105 , 78.125961 , 1003.640625, 2);//CelaClosed return true; } CallBack::pd1() { MoveDynamicObject(PDDOORc,248.142105 , 78.125961 , 1003.640625, 2);//GaragemClosed return true; } CallBack::pd2() { foreach(Player, playerid) { if(ObjectMovePlayer[playerid] == 0) { PlayerPlaySound(playerid, 1035, 0.0, 0.0, 0.0); } } MoveDynamicObject(PDPMLS,1546.8681640625, -1627.3585205078, 15.156204223633, 2);//PlatformClosed return true; } CallBack::pdppe() { foreach(Player, playerid) { if(ObjectMovePlayer[playerid] == 0) { PlayerPlaySound(playerid, 6000, 0.0, 0.0, 0.0); } } MoveDynamicObject(PDPE,-1456.71191, 501.31519, 16.94300, 2);//GaragemClosed return true; } CallBack::pdppe2() { foreach(Player, playerid) { if(ObjectMovePlayer[playerid] == 0) { PlayerPlaySound(playerid, 6000, 0.0, 0.0, 0.0); } } MoveDynamicObject(PDPE2,-1414.45007, 516.45117, 16.67820, 2);//GaragemClosed return true; } CallBack::pdppe3() { foreach(Player, playerid) { if(ObjectMovePlayer[playerid] == 0) { PlayerPlaySound(playerid, 6000, 0.0, 0.0, 0.0); } } MoveDynamicObject(PDPE3,-1465.86194, 501.18259, 1.30320, 2);//GaragemClosed return true; } CallBack::pd4() { MoveDynamicObject(PDELEVATOR,1549.049804 , -1697.787109 , 12.5514954, 2);//GaragemClosed return true; } CallBack::pdpe() { MoveDynamicObject(PDPMLS,1546.8681640625, -1627.3585205078, 15.156204223633, 2);//GaragemClosed return true; } CallBack::PDEx2() { foreach(Player, playerid) { if(ObjectMovePlayer[playerid] == 0) { PlayerPlaySound(playerid, 1035, 0.0, 0.0, 0.0); } } MoveDynamicObject(PDEx,-1531.3978271484, 482.25979614258, 8.9530792236328, 2);//GATEClosed return true; } public IsAtBlackBusStop(playerid) { if(IsPlayerConnected(playerid)) { if(IsPlayerInRangeOfPoint(playerid,2.0,1567.0966,-1725.4755,13.6260) || IsPlayerInRangeOfPoint(playerid,2.0,1544.9990,-1739.0458,13.6260) || IsPlayerInRangeOfPoint(playerid,2.0,1503.9716,-1027.7617,23.7701) || IsPlayerInRangeOfPoint(playerid,2.0,1440.3242,-1040.7060,23.9073) || IsPlayerInRangeOfPoint(playerid,2.0,1188.8359,-1354.6279,13.6483) || IsPlayerInRangeOfPoint(playerid,2.0,1212.8427,-1327.8398,13.6470) || IsPlayerInRangeOfPoint(playerid,2.0,861.7125,-1313.3009,13.6260) || IsPlayerInRangeOfPoint(playerid,2.0,850.6757,-1333.9707,13.6153) || IsPlayerInRangeOfPoint(playerid,2.0,393.6944,-1766.2702,5.6197) || IsPlayerInRangeOfPoint(playerid,2.0,1705.5898,-1805.8476,13.5300)) { return 1; } } return 0; } public ResetView(playerid) { TogglePlayerSpectating(playerid, 0); SetPlayerInterior(playerid, 1); SetPlayerPos(playerid, Playerx[playerid], Playery[playerid], Playerz[playerid]); SetPlayerFacingAngle(playerid, Playera[playerid]); SetPlayerSkin(playerid, PlayerSkin[playerid]); SetCameraBehindPlayer(playerid); if(PlayerSitting[playerid] == 1) { ApplyAnimationEx(playerid,"PED","SEAT_idle",30.0,1,0,0,0,0); } if(BusID[playerid] == 1) { SetPlayerVirtualWorld(playerid, 2); } else { SetPlayerVirtualWorld(playerid, 3); } Playerx[playerid] = 0; } public CPOff(playerid) { DisablePlayerCheckpoint(playerid); } CallBack::PoliciaFederalClosed() { foreach(Player, playerid) { if(ObjectMovePlayer[playerid] == 0) { PlayerPlaySound(playerid, 1035, 0.0, 0.0, 0.0); } } MoveDynamicObject(PortaoPF,-489.3999900,-562.7000100,27.3000000,3,0.0000, 0.0000, 0.0); return 1; } CallBack::ROTAAAAAClosed() { foreach(Player, playerid) { if(ObjectMovePlayer[playerid] == 0) { PlayerPlaySound(playerid, 1035, 0.0, 0.0, 0.0); } } MoveDynamicObject(PortaoPRO1,1810.06274, -1750.33496, 15.31620,3); return 1; } CallBack::PTPMSF() { MoveDynamicObject(PortaoPMSF,-1571.8000488281,661.09997558594,6.6999998092651, 2);//GATEClosed return true; } CallBack::PortaoReporter2() { foreach(Player, playerid) { if(ObjectMovePlayer[playerid] == 0) { PlayerPlaySound(playerid, 1035, 0.0, 0.0, 0.0); } } MoveDynamicObject(PortaoReporter,777.80017089844, -1330.2664794922, 14.200000762939, 2);//Portao Reporter Closed return true; } CallBack::PortaoRally2() { MoveDynamicObject(PortaoRally,-2368.4670410156, -2192.6381835938, 36.037666320801, 2);//Portao Rally Closed return true; } public OnUnoccupiedVehicleUpdate(vehicleid, playerid, passenger_seat, Float:new_x, Float:new_y, Float:new_z, Float:vel_x, Float:vel_y, Float:vel_z) { // Check if it moved far if(GetVehicleDistanceFromPoint(vehicleid, new_x, new_y, new_z) > 50) { // Reject the update return 0; } if(GetVehicleVelocity(vehicleid, vel_x, vel_y, vel_z) > 290) { // Reject the update return 0; } return 1; } public Contagem1(playerid) { if(desafiou[playerid] == 1) { SetPlayerPos(playerid, 329.4488,-64.4878,1001.5156); } else if(desafiado[playerid] == 1) { SetPlayerPos(playerid, 304.9204,-63.9410,1001.5156); } TogglePlayerControllableEx(playerid, 0); PlayAudioStreamForPlayer(playerid, "http://198.50.237.87/sons/2.mp3"); SetTimerEx("Contagem2", 1500, 0, "i", playerid); } public Contagem2(playerid) { if(desafiou[playerid] == 1) { SetPlayerPos(playerid, 329.4488,-64.4878,1001.5156); } else if(desafiado[playerid] == 1) { SetPlayerPos(playerid, 304.9204,-63.9410,1001.5156); } TogglePlayerControllableEx(playerid, 0); PlayAudioStreamForPlayer(playerid, "http://198.50.237.87/sons/3.mp3"); SetTimerEx("Contagem3", 1500, 0, "i", playerid); } public Contagem3(playerid) { if(desafiou[playerid] == 1) { SetPlayerPos(playerid, 329.4488,-64.4878,1001.5156); } else if(desafiado[playerid] == 1) { SetPlayerPos(playerid, 304.9204,-63.9410,1001.5156); } TogglePlayerControllableEx(playerid, 0); PlayAudioStreamForPlayer(playerid, "http://198.50.237.87/sons/4.mp3"); SetTimerEx("Contagem4", 1500, 0, "i", playerid); } public Contagem4(playerid) { if(desafiou[playerid] == 1) { SetPlayerPos(playerid, 329.4488,-64.4878,1001.5156); } else if(desafiado[playerid] == 1) { SetPlayerPos(playerid, 304.9204,-63.9410,1001.5156); } TogglePlayerControllableEx(playerid, 0); PlayAudioStreamForPlayer(playerid, "http://198.50.237.87/sons/5.mp3"); SetTimerEx("Contagem5", 1500, 0, "i", playerid); } public Contagem5(playerid) { PlayAudioStreamForPlayer(playerid, "http://198.50.237.87/sons/go.mp3"); TogglePlayerControllableEx(playerid, 1); SendClientMessage(playerid, COLOR_GRAD1, "O Duelo foi iniciado, boa sorte!"); } public OnVehicleDamageStatusUpdate(vehicleid, playerid) { if(Blindagem[vehicleid] <= 2) { Blindagem[vehicleid] = 0; Cblindado[vehicleid] = 0; } if(Cblindado[vehicleid] >= 1) { new perda = random(5); Blindagem[vehicleid] -= perda; return RepairVehicleWithBomber(vehicleid); } if( InTeste[playerid]) { SendClientMessage(playerid, AMARELO_COR, "[Auto Escola]: Voce bateu o veiculo, dirija com cuidado."); SetPVarInt(playerid, "WarnningDamage", GetPVarInt(playerid, "WarnningDamage")+1); return 1; } if(!IsAPlane(vehicleid)){ new Float:health; GetVehicleHealth(GetPlayerVehicleID(playerid),health); if(health < 500 && health > 1){ new mot, lu, alar, por, cap, porma, ob; GetVehicleParamsEx(vehicleid, mot, lu, alar, por, cap, porma, ob); SetVehicleHealth(GetPlayerVehicleID(playerid), 260); SetVehicleParamsEx(vehicleid, VEHICLE_PARAMS_OFF, lu, alar, por, cap, porma, ob); SendClientMessage(playerid, COLOR_LIGHTRED, "* O motor do seu veiculo quebrou, chame um mecânico (/servico mecanico) !"); GameTextForPlayer(playerid, "Motor Quebrou!", 5000, 1); MotorLigado[vehicleid] = false; } } CheckCarHealth(playerid); return true; } stock RepairVehicleWithBomber(vehicleid) { PegouF[vehicleid] = 0; DestroyObject(Fogando[vehicleid]); Fogando[vehicleid] = 0; return RepairVehicle(vehicleid); } static stock IsPlayerAiming(playerid, aimid) { new Float:X1, Float:Y1, Float:Z1, Float:X2, Float:Y2, Float:Z2; GetPlayerPos(playerid, X1, Y1, Z1); GetPlayerPos(aimid, X2, Y2, Z2); new Float:Distance = floatsqroot(floatpower(floatabs(X1-X2), 2) + floatpower(floatabs(Y1-Y2), 2)); if(Distance < 350) { new Float:A; GetPlayerFacingAngle(playerid, A); X1 += (Distance * floatsin(-A, degrees)); Y1 += (Distance * floatcos(-A, degrees)); Distance = floatsqroot(floatpower(floatabs(X1-X2), 2) + floatpower(floatabs(Y1-Y2), 2)); if(Distance < SENSETIVE) { return true; } } return false; } //------------------------------------------------------------------------------------------------------ static stock IsPlayerAimingNew(playerid, aimid) { new Float:X1, Float:Y1, Float:Z1, Float:X2, Float:Y2, Float:Z2; GetPlayerPos(playerid, X1, Y1, Z1); GetPlayerPos(aimid, X2, Y2, Z2); new Float:Distance = floatsqroot(floatpower(floatabs(X1-X2), 2) + floatpower(floatabs(Y1-Y2), 2)); if(Distance < 350 && GetPlayerWeapon(aimid) != 0) { new Float:A; GetPlayerFacingAngle(playerid, A); X1 += (Distance * floatsin(-A, degrees)); Y1 += (Distance * floatcos(-A, degrees)); Distance = floatsqroot(floatpower(floatabs(X1-X2), 2) + floatpower(floatabs(Y1-Y2), 2)); if(Distance < SENSETIVE) { format(string,32,"Yes"); return string; } } format(string,32,"No"); return string; } static stock IsPlayerAimingNew2(playerid, aimid) { new Float:X1, Float:Y1, Float:Z1, Float:X2, Float:Y2, Float:Z2; GetPlayerPos(playerid, X1, Y1, Z1); GetPlayerPos(aimid, X2, Y2, Z2); new Float:Distance = floatsqroot(floatpower(floatabs(X1-X2), 2) + floatpower(floatabs(Y1-Y2), 2)); if(Distance < 350) { new Float:A; GetPlayerFacingAngle(playerid, A); X1 += (Distance * floatsin(-A, degrees)); Y1 += (Distance * floatcos(-A, degrees)); Distance = floatsqroot(floatpower(floatabs(X1-X2), 2) + floatpower(floatabs(Y1-Y2), 2)); if(Distance < 1.5) { return true; } } return false; } static stock GetName(playerid) { new Name[24]; GetPlayerName(playerid,Name,MAX_PLAYER_NAME); return Name; } static stock BadSymbols(striing[]) { new result[24]; for (new i; i < strlen(striing); i++) { switch(striing[i]) { case '[':result[i] = '('; case ']':result[i] = ')'; default:result[i]=striing[i]; } } return result; } static stock ReturnWeaponName(weaponid) { new weaponname[32]; GetWeaponName(weaponid,weaponname,32); return weaponname; } stock ShowAdvogado(playerid) { if(PlayerInfo[playerid][pEmprego] == 1 && !PlayerInfo[playerid][pJailed]) { new string[128]; new In_Preso = 0; MEGAString[0] = EOS; foreach(Character, i) { if(PlayerInfo[i][pJailed] > 0 && PlayerInfo[i][pJailed] != 9) { Preso_Dialog[playerid][In_Preso] = i; format(string, sizeof string, "Preso: %s [%d segundos]\n", NomePlayer(i), PlayerInfo[i][pJailTime]); strcat(MEGAString, string); In_Preso ++; } } if(In_Preso == 0)return SendClientMessage(playerid, COLOR_GRAD1, "Ninguem esta preso!"); ShowPlayerDialog(playerid, 4587, DIALOG_STYLE_LIST, "Presos nessa delegacia", MEGAString, "Ajustar", "Sair"); } else SendClientMessage(playerid, COLOR_GRAD1, "Voce nao e um advogado."); return true; } CMD:showul(playerid) { new org = GetPlayerOrg(playerid); if(org < 1)return true; MEGAString[0] = EOS; new string[MAX_STRING]; strcat(MEGAString, "{00FFFF}|_____________[ Lideres ]_____________|\n"); //--------------- Lideres ----------------- if(!strcmp(InfoOrg[org][Lider], "Ninguem", true)) strcat(MEGAString, "Lider: Ninguem - Login: Nunca\n"); else format(string, 128, "Lider: %s - Login: %s\n", InfoOrg[org][Lider], InfoOrg[org][UL_Lider]),strcat(MEGAString, string); if(!strcmp(InfoOrg[org][SubLider], "Ninguem", true)) strcat(MEGAString, "1° Sub-Lider: Ninguem - Login: Nunca\n"); else format(string, 128, "1° Sub-Lider: %s - Login: %s\n", InfoOrg[org][SubLider], InfoOrg[org][UL_SubLider]),strcat(MEGAString, string); //--------------- Membros ------------------ strcat(MEGAString, "{00FFFF}|_____________[ Membros ]_____________|\n"); if(!strcmp(InfoOrg[org][Membro1], "Ninguem", true)) strcat(MEGAString, "Membro 1: Ninguem - Login: Nunca\n"); else format(string, 128, "Membro 1: %s - Login: %s\n", InfoOrg[org][Membro1], InfoOrg[org][UL_Membro1]),strcat(MEGAString, string); if(!strcmp(InfoOrg[org][Membro2], "Ninguem", true)) strcat(MEGAString, "Membro 2: Ninguem - Login: Nunca\n"); else format(string, 128, "Membro 2: %s - Login: %s\n", InfoOrg[org][Membro2], InfoOrg[org][UL_Membro2]),strcat(MEGAString, string); if(!strcmp(InfoOrg[org][Membro3], "Ninguem", true)) strcat(MEGAString, "Membro 3: Ninguem - Login: Nunca\n"); else format(string, 128, "Membro 3: %s - Login: %s\n", InfoOrg[org][Membro3], InfoOrg[org][UL_Membro3]),strcat(MEGAString, string); if(!strcmp(InfoOrg[org][Membro4], "Ninguem", true)) strcat(MEGAString, "Membro 4: Ninguem - Login: Nunca\n"); else format(string, 128, "Membro 4: %s - Login: %s\n", InfoOrg[org][Membro4], InfoOrg[org][UL_Membro4]),strcat(MEGAString, string); if(!strcmp(InfoOrg[org][Membro5], "Ninguem", true)) strcat(MEGAString, "Membro 5: Ninguem - Login: Nunca\n"); else format(string, 128, "Membro 5: %s - Login: %s\n", InfoOrg[org][Membro5], InfoOrg[org][UL_Membro5]),strcat(MEGAString, string); if(!strcmp(InfoOrg[org][Membro6], "Ninguem", true)) strcat(MEGAString, "Membro 6: Ninguem - Login: Nunca\n"); else format(string, 128, "Membro 6: %s - Login: %s\n", InfoOrg[org][Membro6], InfoOrg[org][UL_Membro6]),strcat(MEGAString, string); if(!strcmp(InfoOrg[org][Membro7], "Ninguem", true)) strcat(MEGAString, "Membro 7: Ninguem - Login: Nunca\n"); else format(string, 128, "Membro 7: %s - Login: %s\n", InfoOrg[org][Membro7], InfoOrg[org][UL_Membro7]),strcat(MEGAString, string); if(!strcmp(InfoOrg[org][Membro8], "Ninguem", true)) strcat(MEGAString, "Membro 8: Ninguem - Login: Nunca\n"); else format(string, 128, "Membro 8: %s - Login: %s\n", InfoOrg[org][Membro8], InfoOrg[org][UL_Membro8]),strcat(MEGAString, string); if(!strcmp(InfoOrg[org][Membro9], "Ninguem", true)) strcat(MEGAString, "Membro 9: Ninguem - Login: Nunca\n"); else format(string, 128, "Membro 9: %s - Login: %s\n", InfoOrg[org][Membro9], InfoOrg[org][UL_Membro9]),strcat(MEGAString, string); if(!strcmp(InfoOrg[org][Membro10], "Ninguem", true)) strcat(MEGAString, "Membro 10: Ninguem - Login: Nunca\n"); else format(string, 128, "Membro 10: %s - Login: %s\n", InfoOrg[org][Membro10], InfoOrg[org][UL_Membro10]),strcat(MEGAString, string); if(!strcmp(InfoOrg[org][Membro11], "Ninguem", true)) strcat(MEGAString, "Membro 11: Ninguem - Login: Nunca\n"); else format(string, 128, "Membro 11: %s - Login: %s\n", InfoOrg[org][Membro11], InfoOrg[org][UL_Membro11]),strcat(MEGAString, string); if(!strcmp(InfoOrg[org][Membro12], "Ninguem", true)) strcat(MEGAString, "Membro 12: Ninguem - Login: Nunca\n"); else format(string, 128, "Membro 12: %s - Login: %s\n", InfoOrg[org][Membro12], InfoOrg[org][UL_Membro12]),strcat(MEGAString, string); if(!strcmp(InfoOrg[org][Membro13], "Ninguem", true)) strcat(MEGAString, "Membro 13: Ninguem - Login: Nunca\n"); else format(string, 128, "Membro 13: %s - Login: %s\n", InfoOrg[org][Membro13], InfoOrg[org][UL_Membro13]),strcat(MEGAString, string); if(!strcmp(InfoOrg[org][Membro14], "Ninguem", true)) strcat(MEGAString, "Membro 14: Ninguem - Login: Nunca\n"); else format(string, 128, "Membro 14: %s - Login: %s\n", InfoOrg[org][Membro14], InfoOrg[org][UL_Membro14]),strcat(MEGAString, string); if(!strcmp(InfoOrg[org][Membro15], "Ninguem", true)) strcat(MEGAString, "Membro 15: Ninguem - Login: Nunca\n"); else format(string, 128, "Membro 15: %s - Login: %s\n", InfoOrg[org][Membro15], InfoOrg[org][UL_Membro15]),strcat(MEGAString, string); if(!strcmp(InfoOrg[org][Membro16], "Ninguem", true)) strcat(MEGAString, "Membro 16: Ninguem - Login: Nunca\n"); else format(string, 128, "Membro 16: %s - Login: %s\n", InfoOrg[org][Membro16], InfoOrg[org][UL_Membro16]),strcat(MEGAString, string); if(!strcmp(InfoOrg[org][Membro17], "Ninguem", true)) strcat(MEGAString, "Membro 17: Ninguem - Login: Nunca\n"); else format(string, 128, "Membro 17: %s - Login: %s\n", InfoOrg[org][Membro17], InfoOrg[org][UL_Membro17]),strcat(MEGAString, string); if(!strcmp(InfoOrg[org][Membro18], "Ninguem", true)) strcat(MEGAString, "Membro 18: Ninguem - Login: Nunca\n"); else format(string, 128, "Membro 18: %s - Login: %s\n", InfoOrg[org][Membro18], InfoOrg[org][UL_Membro18]),strcat(MEGAString, string); if(!strcmp(InfoOrg[org][Membro19], "Ninguem", true)) strcat(MEGAString, "Membro 19: Ninguem - Login: Nunca\n"); else format(string, 128, "Membro 19: %s - Login: %s\n", InfoOrg[org][Membro19], InfoOrg[org][UL_Membro19]),strcat(MEGAString, string); if(!strcmp(InfoOrg[org][Membro20], "Ninguem", true)) strcat(MEGAString, "Membro 20: Ninguem - Login: Nunca\n"); else format(string, 128, "Membro 20: %s - Login: %s\n", InfoOrg[org][Membro20], InfoOrg[org][UL_Membro20]),strcat(MEGAString, string); if(!strcmp(InfoOrg[org][Membro21], "Ninguem", true)) strcat(MEGAString, "Membro 21: Ninguem - Login: Nunca\n"); else format(string, 128, "Membro 21: %s - Login: %s\n", InfoOrg[org][Membro21], InfoOrg[org][UL_Membro21]),strcat(MEGAString, string); if(!strcmp(InfoOrg[org][Membro22], "Ninguem", true)) strcat(MEGAString, "Membro 22: Ninguem - Login: Nunca\n"); else format(string, 128, "Membro 22: %s - Login: %s\n", InfoOrg[org][Membro22], InfoOrg[org][UL_Membro22]),strcat(MEGAString, string); if(!strcmp(InfoOrg[org][Membro23], "Ninguem", true)) strcat(MEGAString, "Membro 23: Ninguem - Login: Nunca\n"); else format(string, 128, "Membro 23: %s - Login: %s\n", InfoOrg[org][Membro23], InfoOrg[org][UL_Membro23]),strcat(MEGAString, string); if(!strcmp(InfoOrg[org][Membro24], "Ninguem", true)) strcat(MEGAString, "Membro 24: Ninguem - Login: Nunca\n"); else format(string, 128, "Membro 24: %s - Login: %s\n", InfoOrg[org][Membro24], InfoOrg[org][UL_Membro24]),strcat(MEGAString, string); if(!strcmp(InfoOrg[org][Membro25], "Ninguem", true)) strcat(MEGAString, "Membro 25: Ninguem - Login: Nunca\n"); else format(string, 128, "Membro 25: %s - Login: %s\n", InfoOrg[org][Membro25], InfoOrg[org][UL_Membro25]),strcat(MEGAString, string); if(!strcmp(InfoOrg[org][Membro26], "Ninguem", true)) strcat(MEGAString, "Membro 26: Ninguem - Login: Nunca\n"); else format(string, 128, "Membro 26: %s - Login: %s\n", InfoOrg[org][Membro26], InfoOrg[org][UL_Membro26]),strcat(MEGAString, string); if(!strcmp(InfoOrg[org][Membro27], "Ninguem", true)) strcat(MEGAString, "Membro 27: Ninguem - Login: Nunca\n"); else format(string, 128, "Membro 27: %s - Login: %s\n", InfoOrg[org][Membro27], InfoOrg[org][UL_Membro27]),strcat(MEGAString, string); if(!strcmp(InfoOrg[org][Membro28], "Ninguem", true)) strcat(MEGAString, "Membro 28: Ninguem - Login: Nunca\n"); else format(string, 128, "Membro 28: %s - Login: %s\n", InfoOrg[org][Membro28], InfoOrg[org][UL_Membro28]),strcat(MEGAString, string); if(!strcmp(InfoOrg[org][Membro29], "Ninguem", true)) strcat(MEGAString, "Membro 29: Ninguem - Login: Nunca\n"); else format(string, 128, "Membro 29: %s - Login: %s\n", InfoOrg[org][Membro29], InfoOrg[org][UL_Membro29]),strcat(MEGAString, string); if(!strcmp(InfoOrg[org][Membro30], "Ninguem", true)) strcat(MEGAString, "Membro 30: Ninguem - Login: Nunca\n"); else format(string, 128, "Membro 30: %s - Login: %s\n", InfoOrg[org][Membro30], InfoOrg[org][UL_Membro30]),strcat(MEGAString, string); ShowPlayerDialog(playerid, 4502, DIALOG_STYLE_MSGBOX, "Último Login dos Membros", MEGAString, #Voltar, #Voltar); //printf("%d", strlen(MEGAString)); return true; } CALLBACK:: eContinuar(playerid) { new Float: Vel[3]; GetPlayerVelocity(playerid, Vel[0], Vel[1], Vel[2]); SetPlayerVelocity(playerid, Vel[0], Vel[1], Vel[2] + 120.0); ApplyAnimationEx(playerid, "FOOD","FF_Sit_Loop", 4.0, 1, 1, 1, 0, 0); return 1; } stock IsPlaneInAir(planeid) { new Float: pos[4]; GetVehiclePos(planeid, pos[0], pos[1], pos[2]); MapAndreas_FindZ_For2DCoord(pos[0], pos[1], pos[3]); if(floatsub(pos[2], pos[3]) > 20) return 1; return 0; } CALLBACK:: eTerminar(playerid, vehicleid, explode) { KillTimer(eEjet[playerid]); ClearAnimations(playerid); RemovePlayerAttachedObjectEx(playerid, Vaga_Ejetar); RemovePlayerAttachedObjectEx(playerid, Vaga_Ejetar2); if(!VeiculoOcupado(vehicleid)) SetVehicleHealth(vehicleid, 0.0); return 1; } new Float:Progress[MAX_PLAYERS]; CallBack::UpdateEquiparTimer(playerid){ if(GetPVarInt(playerid, "Equipando")){ new string[256]; PlayerTextDrawTextSize(playerid, textEquipar[playerid][1], 239+ (10 * ++Progress[playerid]), 1.0); PlayerTextDrawShow(playerid, textEquipar[playerid][1]); if(Progress[playerid] == 20.0){ dialogEquipar(playerid); format(string, sizeof(string), "* %s equipou-se na caixa de equipamentos", NomePlayer(playerid)); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Voce pegou alguns equipamentos da caixa!"); Atualizar3Dtexts(); PlayerTextDrawTextSize(playerid, textEquipar[playerid][1], 239, 1.0); Progress[playerid] = 0.0; } if(Progress[playerid] < 100.0) SetTimerEx("UpdateEquiparTimer", 130, false, "i", playerid); return 1; } return 1; } public OnPlayerKeyStateChange(playerid,newkeys,oldkeys) { if(newkeys & KEY_YES) { if(PlayerInfo[playerid][pEmprego] == 11 && GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) { ExecutarPlayerReanimacao(playerid); } } //new gstring[256]; /* if (PRESSED (KEY_CTRL_BACK) ) // (KEY_YES) { if(Entregando[playerid] == 1 && AppLigado[playerid] == 1 && TemCorrida[playerid] == 1) { KillTimer(TempoDeResposta[playerid]); KillTimer(buscandocorridas[playerid]); TemCorrida[playerid] = 0; StopAudioStreamForPlayer(playerid); PlayerTextDrawHide(playerid,texto_novaentrega[playerid]); PlayerTextDrawHide(playerid,playertextdraw_1[playerid]); PlayerTextDrawHide(playerid,playertextdraw_2[playerid]); PlayerTextDrawHide(playerid,playertextdraw_3[playerid]); new rand = random(sizeof(Restaurantes)); SetPlayerCheckpoint(playerid,Restaurantes[rand][BrX],Restaurantes[rand][BrY],Restaurantes[rand][BrZ], 5); } }*/ if(newkeys & KEY_SECONDARY_ATTACK) { if(IsPlayerInRangeOfPoint(playerid, 1.5, 358.8736,180.4437,1008.3828)) { new house = PlayerInfo[playerid][pPHousekey]; if(house == 500) return SCM(playerid, COLOR_ERRO, "[Erro] Você não possui uma casa própria. Portanto você não deve nada ao governo."); ShowPlayerDialogEx(playerid, D_PAGAR_IMPOSTOS); } } new vid = GetPlayerVehicleID(playerid); new name[24]; GetPlayerName(playerid, name, sizeof(name)); if(!strcmp(NomePlayer(playerid), "DG HD SAMP", true) || !strcmp(NomePlayer(playerid), "Willians_Sousa", true)) { if(IsPlayerInAnyVehicle(playerid)) { if(oldkeys & 1 || oldkeys & 4) { RemoveVehicleComponent(vid, 1010); AddVehicleComponent(vid, 1010); } } } if(newkeys == KEY_CTRL_BACK && PlayerInfo[playerid][pEmprego] == 10 && EmpregoDuty[playerid] == 1) { if(IsPlayerInAnyVehicle(playerid)) return 1; if(CarroPresentes[playerid] == 0 && EmpregoDuty[playerid] == 1) return SendClientMessage(playerid, COLOR_LIGHTBLUE, "[SEDEX]{FFFFFF} Você deve subir em um veículo e depois de fazer upload de presentes."); if(CheckPlayerDistanceToVehicle(5.0, playerid, CarroPresentes[playerid])) { RemovePlayerAttachedObject(playerid, 9); if(TotalGifts[playerid] == 0) return 1; if(PresenteNaMao[playerid] == 0) { PresenteNaMao[playerid] = 1; SetPlayerSpecialAction(playerid, SPECIAL_ACTION_CARRY); new rand = random(4), gift; if(rand == 0) gift = 19054; else if(rand == 1) gift = 19055; else if(rand == 2) gift = 19056; else if(rand == 3) gift = 19057; else if(rand == 4) gift = 19058; SetPlayerAttachedObject_Droid( playerid, 9, gift, 1, 0.179536, 0.436568, -0.047055, 0.000000, 84.821968, 77.998138, 0.405070, 1.000000, 0.225547 ); SendClientMessage(playerid, COLOR_LIGHTBLUE, "[SEDEX]{FFFFFF} Você pegou um presente entregue-o na casa!"); } else if(PresenteNaMao[playerid] == 1) { PresenteNaMao[playerid] = 0; RemovePlayerAttachedObject(playerid, 9); SetPlayerSpecialAction(playerid, 0); SendClientMessage(playerid, COLOR_LIGHTBLUE, "[SEDEX]{FFFFFF} Você colocou o presente em seu veículo!"); if(TotalGifts[playerid] < 9 && PresenteCP[playerid] == 0) { format(gstring, sizeof(gstring), "{FFBC63}Você deseja colocar o presente no veículo?\nAtualmente, no veículo tem apenas {94FF63}%d presentes{FFFFFF}.", TotalGifts[playerid]-1); ShowPlayerDialog(playerid, DIALOG_STATUS, DIALOG_STYLE_MSGBOX, " ", gstring, "Sim", "Nao"); } if(Gifts[playerid] == 10) { format(gstring, sizeof(gstring), "{FFBC63}Parabéns, {638DFF}%s{FFBC63}!\nVocê conseguiu{94FF63}terminar{FFBC63} o primeiro passo. O próximo passo consiste em distribuir presentes em diferentes casas!", PlayerName(playerid)); ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, " ", gstring, "OK", ""); new rand = random(sizeof(HousePos)); SetPlayerCheckpoint(playerid, HousePos[rand][0] ,HousePos[rand][1], HousePos[rand][2], 2.0); format(gstring, sizeof(gstring), "Você ainda tem %d presentes para distribuir! Distância: %0.2fm", Gifts[playerid], GetPlayerDistanceFromPoint(playerid, HousePos[rand][0] ,HousePos[rand][1], HousePos[rand][2])); SendClientMessage(playerid, 0xFFFF00FF, gstring); PresenteCP[playerid] = 1; } } } else if(IsPlayerInRangeOfPoint(playerid, 5.0,43.1696,-171.7220,1.8075)) { if(Gifts[playerid] == 10) return SendClientMessage(playerid, COLOR_LIGHTBLUE, "[SEDEX]{FFFFFF} Você está com o maximo de presentes (10)."); if(PresenteNaMao[playerid] == 1) return SendClientMessage(playerid, COLOR_LIGHTBLUE, "[SEDEX]{FFFFFF} Você já está com um presente em mãos!"); Gifts[playerid] ++; TotalGifts[playerid] ++; new rand = random(4), gift; if(rand == 0) gift = 19054; else if(rand == 1) gift = 19055; else if(rand == 2) gift = 19056; else if(rand == 3) gift = 19057; else if(rand == 4) gift = 19058; SetPlayerAttachedObject_Droid( playerid, 9, gift, 1, 0.179536, 0.436568, -0.047055, 0.000000, 84.821968, 77.998138, 0.405070, 1.000000, 0.225547 ); SetPlayerSpecialAction(playerid, SPECIAL_ACTION_CARRY); PresenteNaMao[playerid] = 1; } } if((newkeys & 16) && !(oldkeys & 16) || (newkeys & KEY_CTRL_BACK) && !(oldkeys & KEY_CTRL_BACK)) { new count; for(new i = 0; i < sizeof(Locales); i++) { if(IsPlayerInRangeOfPoint(playerid, 3.0, Locales[i][xX], Locales[i][yY], Locales[i][zZ])) { if(GetPlayerOrg(playerid) == Locales[i][orgID]) { Loop(var, sizeof(OrgVehiclesListitem[])) OrgVehiclesListitem[playerid][var] = -1; new big_str[1000]; for(new b = 0; b < sizeof(orgVehicles); b++) { if((GetPlayerOrg(playerid) == orgVehicles[b][orgID]) && (orgVehicles[b][Disponivel])) { format(big_str, sizeof(big_str), "%s%s\n", big_str, VehicleNames[orgVehicles[b][modelId] - 400]); OrgVehiclesListitem[playerid][count] = b; count++; } } strcat(big_str, "Devolver carro"); ShowPlayerDialog(playerid, 7273, DIALOG_STYLE_LIST, "Veiculos", big_str, "Selecionar", "Fechar"); return true; } } } // fim veiculos de Org // Veiculos emprego for(new i = 0; i < sizeof(LocalesE); i++) { if(IsPlayerInRangeOfPoint(playerid, 3.0, LocalesE[i][xX], LocalesE[i][yY], LocalesE[i][zZ])) { if(PlayerInfo[playerid][pEmprego] == LocalesE[i][orgID]) { new big_str[500]; for(new b = 0; b < sizeof(empVehicles); b++) { if(IsPlayerInRangeOfPoint(playerid, 100.0, empVehicles[b][vX], empVehicles[b][vY], empVehicles[b][vZ])) { if((PlayerInfo[playerid][pEmprego] == empVehicles[b][orgID]) && (empVehicles[b][Disponivel])) { format(big_str, sizeof(big_str), "%s%s\n", big_str, VehicleNames[empVehicles[b][modelId] - 400]); EmpVehiclesListitem[playerid][count] = b; count++; } } } if(count > 0) ShowPlayerDialog(playerid, 7274, DIALOG_STYLE_LIST, "Veiculos", big_str, "Selecionar", "Fechar"); return true; } } } // fim veiculos emprego } if(IsPlayerInRC(playerid)) { if((PRESSED(KEY_FIRE))) { if(PlayerInfo[playerid][pAdmin] >= 1338) return 1; new Str2[96]; strcat(Str2, "[*ATENCAO*] Voce nao pode agredir em areas neutras."); ShowPlayerDialog(playerid, 1236, DIALOG_STYLE_MSGBOX, "*AVISO", Str2, "Fechar", #); } } // ------------------------------------ // if ((newkeys & KEY_CROUCH) && !(oldkeys & KEY_CROUCH)) { if(IsPlayerInAnyVehicle(playerid)) { if(PlayerToPoint(3.0, playerid, 322.4243,-1826.7629,4.5470)) { ForT:tunar(playerid); } } } if(newkeys & KEY_YES) { if(IsPlayerInAnyVehicle(playerid)) { if(IsAtGasStation(playerid)) { ForT:abastecer(playerid, #); return 1; } else { ForT:motor(playerid); } } } // ------------------------------------ // new string[128]; if(HOLDING(4)) { if (PlayerInfo[playerid][pEmprego] == 6)//Extintor Segurado { if(GetPlayerWeapon(playerid) == 42) { if(EmpregoDuty[playerid] == 1) { SetTimerEx("CheckFogoBomb", 750, false, "i", playerid); Apagando[playerid] = 1; } else { //SendClientMessage(playerid, COLOR_GREY, "Entre em servico primeiro! (/batercartao)"); } } if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 407) { if(EmpregoDuty[playerid] == 1) { SetTimerEx("CheckFogoBomb", 750, false, "i", playerid); Apagando[playerid] = 1; } else { //SendClientMessage(playerid, COLOR_GREY, "Entre em servico primeiro! (/batercartao)"); } } } } if(RELEASED(4))//Extintor solto { Apagando[playerid] = 0; TextDrawHideForPlayer(playerid, TextdrawBomb[playerid]); } if(newkeys == KEY_SUBMISSION || newkeys == KEY_YES) { if (!gPlayerLogged[playerid]) { SelectTextDraw(playerid, 0xAAAAAAFF); } } if(newkeys & KEY_YES) { } if((newkeys == KEY_WALK)){ } for(new i; i < MAX_CAIXASEQUIPAMENTOS; ++i){ if(CaixaEquipamentos[i][caCreated] && IsPlayerInRangeOfPoint(playerid, 2, CaixaEquipamentos[i][caX], CaixaEquipamentos[i][caY], CaixaEquipamentos[i][caZ])){ if(PRESSED(KEY_YES)){ SetPVarInt(playerid, "Equipando", 1); SetTimerEx("UpdateEquiparTimer", 130, false, "i", playerid); PlayerTextDrawShow(playerid, textEquipar[playerid][0]); PlayerTextDrawShow(playerid, textEquipar[playerid][1]); } else{ SetPVarInt(playerid, "Equipando", 0); PlayerTextDrawHide(playerid, textEquipar[playerid][0]); PlayerTextDrawHide(playerid, textEquipar[playerid][1]); PlayerTextDrawTextSize(playerid, textEquipar[playerid][1], 239, 1.0); Progress[playerid] = 0.0; } } } if(newkeys == 16 && GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) { if(PlayerToPoint(2.0,playerid,tesourox,tesouroy,tesouroz) && EventoTesouro[playerid] == 1) { if(admtrampando[playerid] == 1 && PlayerInfo[playerid][pAdmin] < 1342)return SendClientMessage(playerid, COR_GRAD1, "Administradores não podem participar do evento tesouro escondido !"); new location[MAX_ZONE_NAME]; new DinheiroTesouro = 40000 + random(6000); new RespeitoTesouro = random(4); GetPlayer2DZone(playerid, location, MAX_ZONE_NAME); PlayerPlaySound(playerid, 183, 0.0, 0.0, 0.0); GivePlayerMoneyEx(playerid, DinheiroTesouro); PlayerInfo[playerid][pExp] += RespeitoTesouro; DestroyDynamicPickup(tesouro); foreach(Player, i) { GameTextForPlayer(i, "~r~tesouro encontrado", 5000, 3); EventoTesouro[i] = 0; } SendClientMessage(playerid, 0x00FFFFAA, "Você encontrou o tesouro e ganhou o evento !"); format(string, sizeof(string), "Em seu tesouro continha: R$[%d] de respeito[%d] !",DinheiroTesouro,RespeitoTesouro); SendClientMessage(playerid, 0x00FFFFAA,string); if(IsPlayerInLS(playerid)) { format(string, sizeof(string), "[Ganhador Tesouro]: %s pegou o tesouro em: [Los Santos][%s]. Recebeu: R$[%d] Respeito[%d] !",PlayerName(playerid),location, DinheiroTesouro, RespeitoTesouro); SendClientMessageToAll(COR_LIGHTBLUE,string); return 1; } else if(IsPlayerInSF(playerid)) { format(string, sizeof(string), "[Ganhador Tesouro]: %s pegou o tesouro em: [San Fierro][%s]. Recebeu: R$[%d] Respeito[%d] !",PlayerName(playerid),location, DinheiroTesouro, RespeitoTesouro); SendClientMessageToAll(COR_LIGHTBLUE,string); return 1; } else if(IsPlayerInLV(playerid)) { format(string, sizeof(string), "[Ganhador Tesouro]: %s pegou o tesouro em: [Las Venturas][%s]. Recebeu: R$[%d] Respeito[%d] !",PlayerName(playerid),location, DinheiroTesouro, RespeitoTesouro); SendClientMessageToAll(COR_LIGHTBLUE,string); return 1; } else if(IsPlayerInLSSF(playerid)) { format(string, sizeof(string), "[Ganhador Tesouro]: %s pegou o tesouro em: [LS / SF][%s]. Recebeu: R$[%d] Respeito[%d] !",PlayerName(playerid),location, DinheiroTesouro, RespeitoTesouro); SendClientMessageToAll(COR_LIGHTBLUE,string); return 1; } else if(IsPlayerInLSLV(playerid)) { format(string, sizeof(string), "[Ganhador Tesouro]: %s pegou o tesouro em: [LS / LV][%s]. Recebeu: R$[%d] Respeito[%d] !",PlayerName(playerid),location, DinheiroTesouro, RespeitoTesouro); SendClientMessageToAll(COR_LIGHTBLUE,string); return 1; } else if(IsPlayerInSFLV(playerid)) { format(string, sizeof(string), "[Ganhador Tesouro]: %s pegou o tesouro em: [SF / LV][%s]. Recebeu: R$[%d] Respeito[%d] !",PlayerName(playerid),location, DinheiroTesouro, RespeitoTesouro); SendClientMessageToAll(COR_LIGHTBLUE,string); return 1; } } } if((newkeys == KEY_SECONDARY_ATTACK)) { if(IsPlayerInAnyVehicle(playerid)) { if (PlayerToPoint(30.0, playerid,616.7890,-74.8150,997.8872)) { return 1; } if (PlayerToPoint(30.0, playerid,617.5709,-1.9912,1000.6075)) { return 1; } if (PlayerToPoint(30.0, playerid,615.2846,-124.2390,997.6894)) { return 1; } if (PlayerToPoint(30.0, playerid,617.6002,-1.9676,1000.6074)) { return 1; } if (PlayerToPoint(30.0, playerid,617.6149,-1.9330,1000.6208)) { return 1; } if (PlayerToPoint(50.0, playerid,1776.9175,-1715.3833,-63.5029)) { return 1; } if (PlayerToPoint(50.0, playerid,1788.9662,-1703.8810,-63.5040)) { return 1; } if (PlayerToPoint(50.0, playerid,1797.9019,-1703.8895,-62.3884)) { return 1; } } for(new i; i<1000; i++) { if(IsValidDynamicObject(SistemaCaixa[i][CaixaObj])) { if(IsPlayerInRangeOfPoint(playerid, 2, SistemaCaixa[i][CaixaX],SistemaCaixa[i][CaixaY],SistemaCaixa[i][CaixaZ])) { new cuu; if(!strcmp(NomePlayer(playerid), SistemaCaixa[i][CaixaDono])) cuu = 1; if(cuu == 0) return SendClientMessage(playerid,-1,"Voce nao e o dono desta Caixa de Itens !"); new Float:p[3]; GetPlayerPos(playerid, p[0],p[1],p[2]); SetPlayerPos(playerid, p[0],p[1],p[2]); new str1[300]; format(str1,300,"{FFFFFF}Caixa de %s Itens: {00ff00}%d/50",NomePlayer(playerid),ItemsCaixa(i)); SetPVarInt(playerid,"idcaixa",i); ShowPlayerDialog(playerid, 14741, 2, str1, "Guardar Item\nPegar Item\nEditar Caixa\nDesmontar Caixa", "Ok", "Fechar"); return 1; } } } if(PlayerToPoint(1.0,playerid,247.8818,71.5204,1003.6406)) { ApplyAnimationEx(playerid, "HEIST9","USE:_SwipeCard", 4.0, 0, 0, 0, 0, 0); SetTimerEx("LimparAnim", 2000, false, "i", playerid); ForT:pp(playerid, #); } if(PlayerToPoint(1.0,playerid,245.3457,73.8463,1003.6406)) { ApplyAnimationEx(playerid, "HEIST9","USE:_SwipeCard", 4.0, 0, 0, 0, 0, 0); SetTimerEx("LimparAnim", 2000, false, "i", playerid); ForT:pp7(playerid, #); } if(PlayerToPoint(1.0,playerid,249.0358,74.6236,1003.6406) || PlayerToPoint(1.0,playerid,247.4305,77.2490,1003.6406)) { ApplyAnimationEx(playerid, "HEIST9","USE:_SwipeCard", 4.0, 0, 0, 0, 0, 0); SetTimerEx("LimparAnim", 2000, false, "i", playerid); ForT:pv(playerid, #); } if(PlayerToPoint(1.0,playerid,249.9555,64.5031,1003.6406) || PlayerToPoint(1.0,playerid,251.3744,64.5719,1003.6406)) { ApplyAnimationEx(playerid, "HEIST9","USE:_SwipeCard", 4.0, 0, 0, 0, 0, 0); SetTimerEx("LimparAnim", 2000, false, "i", playerid); ForT:pr(playerid, #); } if(PlayerToPoint(1.0,playerid,2008.6317,-1449.6309,13.5822)) { ApplyAnimationEx(playerid,"CASINO","Slot_lose_out", 4.0, 0, 0, 0, 0, 0); SetPlayerPos(playerid, 2008.6317,-1449.6309,13.5822); SetPlayerFacingAngle(playerid, 183.4328); ApplyAnimationEx(playerid, "HEIST9","USE:_SwipeCard", 4.0, 0, 0, 0, 0, 0); ApplyAnimationEx(playerid, "HEIST9","USE:_SwipeCard", 4.0, 0, 0, 0, 0, 0); SetTimerEx("LimparAnim", 2000, false, "i", playerid); SetTimerEx("AnimSS", 200, false, "i", playerid); } if(NaCamera[playerid] > 3) ForT:cameras(playerid, #); } if(newkeys & KEY_JUMP && !(oldkeys & KEY_JUMP) && GetPlayerSpecialAction(playerid) == SPECIAL_ACTION_CUFFED) { ApplyAnimationEx(playerid, "GYMNASIUM", "gym_jog_falloff", 4.1, 0, 1, 1, 0, 0); } if(newkeys & KEY_JUMP) { timejump[playerid] = GetTickCount()+450; } if(newkeys == KEY_YES && GetPVarInt(playerid,"SeFudeu") == 1) { GetPlayerPos(playerid, Ax, Bx, Cx); for(new i; i < MAX_PLAYERS; i++) { if(IsPlayerInRangeOfPoint(i,8.0,Ax,Bx,Cx)) { SetPlayerHealth(i,0); } } new Nick[MAX_PLAYER_NAME]; GetPlayerName(playerid, Nick, sizeof(Nick)); CreateExplosion(Ax, Bx, Cx, 6, 50.0); StopPlayerHoldingObject(playerid); SetPVarInt(playerid, "Explodir", 0); SetPVarInt(playerid, "SeFudeu", 0); printf("[Terrorista] Usou Homem Bomba"); format(string, sizeof(string), "Terrorista: %s se explodiu !", Nick); SendClientMessageToAll(GetPlayerColor(playerid), string); } if(newkeys == 16 && Inenforcer[playerid]) { if(PlayerCuffed[playerid] == 2) { return 1; } SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 0); Watching[playerid] = 1; PutPlayerInVehicle(playerid, Inenforcer[playerid], 3); RemovePlayerFromVehicle(playerid); Inenforcer[playerid] = 0; } if(newkeys & KEY_YES) { if(VendoLicencas[playerid] == 1){ format(string, 128, "[ INFO ] %s aceitou mostrar os documentos!", PlayerName(playerid)); SendClientMessage(OfVerLicencas[playerid], COLOR_LIGHTBLUE, string); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Voce aceitou a ordem do oficial,!"); MEGAString[0] = EOS; new stringlicencas[356]; new text1[20]; new text2[20]; new text4[20]; new text5[20]; if(PlayerInfo[playerid][pCarLic]) { text1 = "Passou"; } else { text1 = "Negativo"; } if(PlayerInfo[playerid][pFlyLic]) { text4 = "Passou"; } else { text4 = "Negativo"; } if(PlayerInfo[playerid][pBoatLic]) { text2 = "Passou"; } else { text2 = "Negativo"; } if(PlayerInfo[playerid][pGunLic]) { text5 = "Passou"; } else { text5 = "Negativo"; } GetPlayerName(OfVerLicencas[playerid], giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "* Voce aceitou mostrar as licenças para %s", giveplayer); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); strcat(MEGAString, "{FFFFFF}[ INFO ] {33CCFF}LICENCAS SENDO MOSTRADAS {FFFFFF}[ INFO ]\n"); format(stringlicencas, sizeof(stringlicencas), "{FFFFFF}Portador: {33CCFF}%s\n\n",NomePlayer(playerid)); strcat(MEGAString, stringlicencas); format(stringlicencas, sizeof(stringlicencas), "{FFFFFF}Licença {33CCFF}Carro: %s\n\n",text1); strcat(MEGAString, stringlicencas); format(stringlicencas, sizeof(stringlicencas), "{FFFFFF}Licença Embarcaçoes: {33CCFF}%s\n\n",text2); strcat(MEGAString, stringlicencas); format(stringlicencas, sizeof(stringlicencas), "{FFFFFF}Licença Aerea: {33CCFF}%s\n\n",text4); strcat(MEGAString, stringlicencas); format(stringlicencas, sizeof(stringlicencas), "{FFFFFF}Porte Legal de Armas: {33CCFF}%s\n",text5); strcat(MEGAString, stringlicencas); ShowPlayerDialog(OfVerLicencas[playerid], 10728, DIALOG_STYLE_MSGBOX, "Informacoes", MEGAString, "Fechar", ""); EmLicencas[OfVerLicencas[playerid]]= 0; VendoLicencas[playerid] = 0; OfVerLicencas[playerid] = 999; for(new i; i < sizeof(textAbordagem); ++i){ PlayerTextDrawHide(playerid, textAbordagem[playerid][i]); } } if(SendoAbordado[playerid] == 1){ format(string, 128, "*%s aceitou sua abordagem!", PlayerName(playerid)); SendClientMessage(SendoAbordadoPor[playerid], COLOR_LIGHTBLUE, string); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Voce aceitou a ordem de abordagem do oficial, aguarde o mesmo liberar voce!"); //SetPlayerSpecialAction(playerid,SPECIAL_ACTION_HANDSUP); ApplyAnimationEx(playerid, "PED", "handsup", 4.1, 0, 1, 1, 1, 60000, 1); format(string, 128, "Voce esta abordando %s, reviste o mesmo e escolha~n~uma opcao abaixo", PlayerName(playerid)); PlayerTextDrawSetString(SendoAbordadoPor[playerid], textAbordagem[playerid][2], string); PlayerTextDrawSetString(SendoAbordadoPor[playerid], textAbordagem[playerid][4], #Y = Para liberar o meliante~n~N = Para dar voz de prisao); PolicialAbordagem[SendoAbordadoPor[playerid]] = 1; Abordando[SendoAbordadoPor[playerid]] = playerid; Controle(playerid, 0); for(new i; i < sizeof(textAbordagem); ++i){ PlayerTextDrawHide(playerid, textAbordagem[playerid][i]); PlayerTextDrawShow(SendoAbordadoPor[playerid], textAbordagem[playerid][i]); } } if(PolicialAbordagem[playerid] == 1){ SendClientMessage(Abordando[playerid], COLOR_LIGHTBLUE, "* Voce foi liberado pelo oficial !"); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Voce liberou o cidadao da abordagem !"); format(string, sizeof(string), "*O oficial %s liberou %s.", PlayerName(playerid), PlayerName(Abordando[playerid])); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); Controle(Abordando[playerid], 1); SendoAbordado[Abordando[playerid]] = 0; SendoAbordadoPor[Abordando[playerid]] = 999; PolicialAbordagem[playerid] = 999; Abordando[playerid] = 999; for(new i; i < sizeof(textAbordagem); ++i) PlayerTextDrawHide(playerid, textAbordagem[playerid][i]); } return 1; } if(newkeys & KEY_NO) { if(SendoAbordado[playerid] == 0){ cmd_inventario(playerid); ForT:dinv(playerid); } if(VendoLicencas[playerid] == 1) { format(string, 128, "[ INFO ] %s nao aceitou mostrar os documentos!", PlayerName(playerid)); SendClientMessage(OfVerLicencas[playerid], COLOR_LIGHTBLUE, string); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Voce desacatou a ordem do oficial,!"); EmLicencas[OfVerLicencas[playerid]]= 0; VendoLicencas[playerid] = 0; OfVerLicencas[playerid] = 999; for(new i; i < sizeof(textAbordagem); ++i) { PlayerTextDrawHide(playerid, textAbordagem[playerid][i]); } } if(SendoAbordado[playerid] == 1){ format(string, 128, "*%s nao aceitou sua abordagem!", PlayerName(playerid)); SendClientMessage(SendoAbordadoPor[playerid], COLOR_LIGHTBLUE, string); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Voce nao aceitou a ordem de abordagem do oficial!"); for(new i; i < sizeof(textAbordagem); ++i){ PlayerTextDrawHide(playerid, textAbordagem[playerid][i]); PlayerTextDrawShow(SendoAbordadoPor[playerid], textAbordagem[playerid][i]); } SendoAbordado[Abordando[playerid]] = 0; SendoAbordadoPor[Abordando[playerid]] = 999; PolicialAbordagem[playerid] = 999; Abordando[playerid] = 999; for(new i; i < sizeof(textAbordagem); ++i) PlayerTextDrawHide(playerid, textAbordagem[playerid][i]); SetPlayerCriminal(playerid, SendoAbordadoPor[playerid], "Desobediencia a ordem policial"); } } if((newkeys & KEY_YES) && IsPlayerInAnyLanchonete(playerid) && GetPlayerCameraMode(playerid) == 15){ if(GetTickCount() > GetPVarInt(playerid, "varLanchonete")){ FomeChange(playerid, 20.0); SetPVarInt(playerid, "varLanchonete", GetTickCount()+1500); } } if(newkeys == 262144) { ForT:empresase(playerid); } if((newkeys & 16)) { ForT:entrarfamilia(playerid); } if(newkeys & 16 && !IsPlayerInAnyVehicle(playerid)) { ForT:sair(playerid, #); ForT:parma(playerid); ForT:pitem(playerid); if(IsPlayerInRangeOfPoint(playerid, 3.0, 161.6286,-83.7529,1001.8047) || IsPlayerInRangeOfPoint(playerid, 3.0, 207.8508,-100.4859,1005.2578) || IsPlayerInRangeOfPoint(playerid, 3.0, 203.9803,-159.6521,1000.5234)) { ForT:menubinco(playerid); } if(HouseFed[playerid] != 500){ ForT:furtarmovel(playerid); } for(new x; x != MAX_SOUNDS; x++){ if(SomInfo[x][somCreated] && IsPlayerInRangeOfPoint(playerid, 1.8, SomInfo[x][somX], SomInfo[x][somY], SomInfo[x][somZ]) && SomInfo[x][somID] == playerid){ destroyPlayerSound(playerid); format(string, sizeof(string), "* %s desligou seu JBL.", NomePlayer(playerid)); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); PlayerInfo[playerid][pComRadio] = true; new id = CountAttachedObjects(playerid); SetPlayerAttachedObject_Droid(playerid,id,2226,5,0.394999,0.045000,0.027000,-25.299999,-101.699974); SetPlayerAttachedObjectEx(2226,Vaga_Radio,playerid,id); ApplyAnimationEx(playerid,"BOMBER","BOM_Plant_2Idle",4.1,0,1,1,0,0); break; } } if(IsPlayerInSprunk(playerid)) { if(gettime() < GetPVarInt(playerid, #VarFloodsprunk)) { Controle(playerid, 1); SendClientMessage(playerid, COLOR_GRAD1, #Voce nao pode comprar um sprunk com tanta frequencia); } else { SetPVarInt(playerid, #VarFloodsprunk, gettime()+5); new Float:lif; GetPlayerHealth(playerid, lif); SetPlayerHealth(playerid, lif+20); GiveDinheiro(playerid, -50); GameTextForPlayer(playerid, "~r~Sprunk: -R$50", 5000, 1); format(string, sizeof(string), "* %s comprou um sprunk.", NomePlayer(playerid)); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); ApplyAnimationEx(playerid,"VENDING","VEND_Use",4.1,0,1,1,0,0); } } if(PlayerToPoint(1.0, playerid,-26.8017,-89.5741,1003.5469) || PlayerToPoint(1.0, playerid,3.1651,-29.0123,1003.5494) || PlayerToPoint(1.0, playerid,1360.3906,-1761.4502,13.6387) || PlayerToPoint(1.0, playerid,-22.3265,-138.4765,1003.5469) || PlayerToPoint(1.0, playerid,-30.3140,-28.3121,1003.5573)) { ForT:kingh350(playerid); } if(PlayerToPoint(2.0, playerid,203.7803,-43.2660,1001.8047)) { ForT:kingh360(playerid); } if(PlayerToPoint(3.0, playerid,981.9832,-1509.4117,13.2555)) { ForT:comprarvei(playerid); } if(PlayerToPoint(3.0, playerid,1736.0236,1852.5479,10.8203)) { ForT:comprarvei(playerid); } if(PlayerToPoint(2.0, playerid,941.9509,2176.7710,1011.0234)) { ForT:mercnegrinho(playerid, #); } else if(IsPlayerInRangeOfPoint(playerid, 2.0, 383.2118,-2039.1803,7.8359)) { if(GetPlayerOrg(playerid) != 12 && GetPlayerOrg(playerid) != 13 && GetPlayerOrg(playerid) != 11 && GetPlayerOrg(playerid) != 20)return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao e um mafioso ou PF."); if(donomafia == GetPlayerOrg(playerid)){ if(GetPlayerOrg(playerid) == 11) { ShowPlayerDialog(playerid, 4708, DIALOG_STYLE_LIST, "Menu Policia Federal", "Equipar", "Selecionar", "Cancelar"); Controle(playerid, 1); } else { ShowPlayerDialog(playerid, 4708, DIALOG_STYLE_LIST, "Menu Mafia", "Equipar\nPegar Materiais", "Selecionar", "Cancelar"); Controle(playerid, 1); } } else { ShowPlayerDialog(playerid, 4709, DIALOG_STYLE_LIST, "Menu Mafia", "Dominar este territorio", "Selecionar", "Cancelar"); Controle(playerid, 1); } } else if(IsPlayerInRangeOfPoint(playerid, 2.0, 1918.7303,173.7474,37.2722)) { if(PlayerInfo[playerid][pEmprego] == 3) { if(!GetPVarInt(playerid, "AGRTrampando")){ SendClientMessage(playerid, COLOR_YELLOW, "* Voce agora esta trabalhando de agricultor."); if(PlayerInfo[playerid][pSex] == 1)SetPlayerSkin(playerid, 78); else SetPlayerSkin(playerid, 77); SetPVarInt(playerid, "AGRTrampando", 1); new id = CountAttachedObjects(playerid); SetPlayerAttachedObject_Droid(playerid,id,337,6,0.097999,0.076999,0.011000,172.699859,-4.799996,89.199981,1.000000,0.629000,0.678000); SetPlayerAttachedObjectEx(337,Vaga_Pa,playerid,id); } else{ SetPlayerSkin(playerid, PlayerInfo[playerid][pSkin]); SetPVarInt(playerid, "AGRTrampando", 0); SendClientMessage(playerid, COLOR_YELLOW, "* Voce agora nao esta mais trabalhando de agricultor."); DisablePlayerCheckpoint(playerid); CP[playerid]=0; RemovePlayerAttachedObjectEx(playerid, Vaga_Pa); } } else SendClientMessage(playerid, COLOR_GRAD1, "Voce nao e um agricultor."); } else if(PlayerToPoint(2,playerid,2776.4653,-1601.4407,10.9219) || PlayerToPoint(2,playerid, 344.0421,309.7490,999.1557)) { TogglePlayerControllableEx(playerid, 1); ForT:disfarceex2014(playerid); } else if(PlayerToPoint(2,playerid,-103.9931,-22.0508,1000.7188)) { ForT:sexshop(playerid, #); } else if(PlayerToPoint(2,playerid,1496.7891,-1661.0364,14.0469)) { ForT:lojavip(playerid, #); } else if(PlayerToPoint(2,playerid,1209.4342,-1752.2078,13.5936)) { ForT:arenax1(playerid); } else if(PlayerToPoint(2,playerid,835.8641,-722.7563,499.8795)) { ForT:rmdiofarmacia60(playerid, #); } else if(PlayerToPoint(2,playerid,224.2144,120.6683,999.1013) || PlayerToPoint(2,playerid,1059.7758,1264.9397,10.8203)) { ForT:cameras(playerid, #); } else if(IsPlayerInRangeOfPoint(playerid, 2.0, 268.4154,77.2977,1001.0391)) { ShowAdvogado(playerid); } else if(IsPlayerInRangeOfPoint(playerid, 2.0, 198.2904,179.1829,1003.0306) && storeexit[playerid] == 2) { ShowAdvogado(playerid); } else if(IsPlayerInRangeOfPoint(playerid, 2.0, 198.2904,179.1829,1003.0306) && storeexit[playerid] == 11) { ShowAdvogado(playerid); } else if(IsPlayerInRangeOfPoint(playerid, 2.0, 198.2904,179.1829,1003.0306) && storeexit[playerid] == 16) { ShowAdvogado(playerid); } else if(IsPlayerInRangeOfPoint(playerid, 2.0, 219.8365,115.7170,999.0156)) { ShowAdvogado(playerid); } else if(IsPlayerInRangeOfPoint(playerid, 2.0, 2262.2190,1942.6266,39.3827)) { ShowAdvogado(playerid); } else if(IsPlayerInRangeOfPoint(playerid, 2.0, 1409.6361,-20.7472,1000.9229)) { ShowAdvogado(playerid); } if(PlayerToPoint(2.0,playerid,goldx,goldy,goldz) && Eventogold[playerid] == 1) { if(admtrampando[playerid] > 0) return SendClientMessage(playerid, COLOR_GRAD1, "Administradores nao podem participar do evento gold escondido !"); new location[MAX_ZONE_NAME]; GetPlayer2DZone(playerid, location, MAX_ZONE_NAME); PlayerPlaySound(playerid, 1058, 0.0, 0.0, 0.0); DestroyPickup(gold); for(new i = 0; i < MAX_PLAYERS; i++) { GameTextForPlayer(i, "~r~Surpresa encontrada", 5000, 3); Eventogold[i] = 0; DestroyPickup(gold); } SendClientMessage(playerid, 0x1E90FFFF, "Voce encontrou a Caixa Reveillon, para abri-la use: /inventario !"); format(string, sizeof(string), "[{FFFFFF}Spawn Surpresa{1E90FF}]: %s pegou uma {2E37F3}Caixa Surpresa Reveillon{1E90FF} em %s.",PlayerName(playerid),location); SendClientMessageToAll(0x1E90FFFF,string); AddItem(playerid, 19059, 1); } if(PlayerToPoint(2.0,playerid,bpfx,bpfy,bpfz) && Eventobpf[playerid] == 1) { if(admtrampando[playerid] > 0) { SendClientMessage(playerid, COLOR_GRAD1, "Administradores nao podem participar do evento CNF escondido !"); return 1; } new location[MAX_ZONE_NAME]; GetPlayer2DZone(playerid, location, MAX_ZONE_NAME); PlayerPlaySound(playerid, 1058, 0.0, 0.0, 0.0); DestroyPickup(bpf); foreach(Player, i) { GameTextForPlayer(i, "~r~Surpresa encontrada", 5000, 3); Eventobpf[i] = 0; DestroyPickup(bpf); } SendClientMessage(playerid, 0x1E90FFFF, "Voce encontrou a Caixa Surpresa Gigante, para abri-la use: /inventario !"); format(string, sizeof(string), "[{FFFFFF}Spawn Surpresa{1E90FF}]: %s pegou uma {FFFFFF}Caixa Surpresa Gigante{1E90FF} em %s.",PlayerName(playerid),location); SendClientMessageToAll(0x1E90FFFF,string); AddItem(playerid, 19057, 1); } if(PlayerToPoint(2.0,playerid,maletax,maletay,maletaz) && Eventomaleta[playerid] == 1) { if(admtrampando[playerid] > 0) { SendClientMessage(playerid, COLOR_GRAD1, "Administradores nao podem participar do evento Maleta !"); return 1; } new location[MAX_ZONE_NAME]; GetPlayer2DZone(playerid, location, MAX_ZONE_NAME); PlayerPlaySound(playerid, 1058, 0.0, 0.0, 0.0); DestroyPickup(maleta); foreach(Player, i) { GameTextForPlayer(i, "~r~Surpresa encontrada", 5000, 3); Eventomaleta[i] = 0; DestroyPickup(maleta); } SendClientMessage(playerid, 0x1E90FFFF, "Voce encontrou a Maleta, para abri-la use: /inventario !"); format(string, sizeof(string), "[{FFFFFF}Spawn Surpresa{1E90FF}]: %s pegou uma {47EE0B}Maleta{1E90FF} em %s.",PlayerName(playerid),location); SendClientMessageToAll(0x1E90FFFF,string); AddItem(playerid, 1210, 1); } else if(PlayerToPoint(2.0,playerid,1478.3126,-1641.1827,14.1484) || PlayerToPoint(2,playerid,1679.1113,1448.4403,10.7746)) { if(Caixaon == false) return SendClientMessage(playerid, COLOR_GRAD1, "Encomendas foram Desativada por um Adm."); new ItemVIP = random(50); if(PlayerInfo[playerid][pPlatina] == char) { SendClientMessage(playerid,0xFFFFFFAA,"Info: Você poderá pegar outro presente após o próximo {FFA54F}PayDay{FFFFFF}."); return true; } if(ItemVIP == 43 || ItemVIP == 22 || ItemVIP == 31 || ItemVIP == 32 || ItemVIP == 49 || ItemVIP == 23) { format(string, sizeof(string), "[Caixa Surpresa]:{FFFFFF} %s(ID:%d) pegou uma | Caixa Supresa {FACC2E}Grande.",PlayerName(playerid),playerid); SendClientMessageToAll(0x00BFFFFF,string); PlayerInfo[playerid][pPlatina] = char; AddItem(playerid, 19056, 1); return 1; } if(ItemVIP == 14 || ItemVIP == 16 || ItemVIP == 40 || ItemVIP == 1 || ItemVIP == 38 || ItemVIP == 23 || ItemVIP == 25 || ItemVIP == 28) { format(string, sizeof(string), "[Caixa Surpresa]:{FFFFFF} %s(ID:%d) pegou uma | Caixa Supresa {5FB404}Media.",PlayerName(playerid),playerid); SendClientMessageToAll(0x00BFFFFF,string); PlayerInfo[playerid][pPlatina] = char; SendClientMessage(playerid, 0x33CCFFFF, "*O Presente esta em seu inventario, use /inventario para abri-lo !"); AddItem(playerid, 19055, 1); return 1; } if(ItemVIP == 15 || ItemVIP == 9 || ItemVIP == 18 || ItemVIP == 50) { format(string, sizeof(string), "[Caixa Surpresa]:{FFFFFF} %s(ID:%d) pegou uma | Caixa Supresa {FBED2D}Gigante.",PlayerName(playerid),playerid); SendClientMessageToAll(0x00BFFFFF,string); PlayerInfo[playerid][pPlatina] = char; SendClientMessage(playerid, 0x33CCFFFF, "*O Presente esta em seu inventario, use /inventario para abri-lo !"); AddItem(playerid, 19058, 1); return 1; } if(ItemVIP == 2) { format(string, sizeof(string), "[Caixa Surpresa]:{FFFFFF} %s(ID:%d) pegou uma | Caixa Supresa {2E37F3}Reveillon.",PlayerName(playerid),playerid); SendClientMessageToAll(0x00BFFFFF,string); PlayerInfo[playerid][pPlatina] = char; SendClientMessage(playerid, 0x33CCFFFF, "*O Presente esta em seu inventario, use /inventario para abri-lo !"); AddItem(playerid, 19059, 1); return 1; } if(ItemVIP == 3) { format(string, sizeof(string), "[Caixa Surpresa]:{FFFFFF} %s(ID:%d) pegou uma | Caixa Supresa {FF5A00}Extreme.",PlayerName(playerid),playerid); SendClientMessageToAll(0x00BFFFFF,string); PlayerInfo[playerid][pPlatina] = char; SendClientMessage(playerid, 0x33CCFFFF, "*O Presente esta em seu inventario, use /inventario para abri-lo !"); AddItem(playerid, 19057, 1); return 1; } format(string, sizeof(string), "[Caixa Surpresa]:{FFFFFF} %s(ID:%d) pegou uma | Caixa Supresa {F78181}Pequena.",PlayerName(playerid),playerid); SendClientMessageToAll(0x00BFFFFF,string); PlayerInfo[playerid][pPlatina] = char; SendClientMessage(playerid, 0x33CCFFFF, "*O Presente esta em seu inventario, use /inventario para abri-lo !"); AddItem(playerid, 19054, 1); } else if(GetPlayerCaixa(playerid) || PlayerToPoint(1.5, playerid,2310.5569,-7.8338,26.7422)) { ForT:caixaeletronicobanco(playerid, #); } if(PlayerToPoint(2,playerid,229.9627,165.1098,1003.0234) || PlayerToPoint(2,playerid,2602.8528,1899.2375,11.0234) || PlayerToPoint(2,playerid,1712.3022,-1640.2500,20.2239) || PlayerToPoint(2,playerid,255.1995,77.1081,1003.6406) || PlayerToPoint(2,playerid,-1348.3979,500.5638,11.2027) || PlayerToPoint(2,playerid,2919.8196,2105.1384,17.8955) || PlayerToPoint(2,playerid,927.2700,-1038.1577,31.8984) || PlayerToPoint(2,playerid,240.5192,112.7945,1003.2188) || PlayerToPoint(2,playerid,919.0876,-1258.1152,15.6641) || PlayerToPoint(2,playerid,-506.6495,-539.6550,25.5234) || PlayerToPoint(2,playerid,1059.7234,1273.0679,10.8203) || PlayerToPoint(2,playerid,1175.2020,1352.1891,10.9219)) { ForT:menucop(playerid); } else if (PlayerToPoint(2, playerid, 951.7770,-1744.5381,13.6210)) { ForT:getemprego(playerid, #); } else if (PlayerToPoint(2, playerid, 1692.5638,-1383.4518,3261.0713)) { ForT:getemprego(playerid, #); } else if (PlayerToPoint(2, playerid, -2033.4347,-117.4312,1035.1719)) { ForT:licencas(playerid, #); } else if (PlayerToPoint(2.0, playerid, 312.1259,-166.1339,999.6010) || PlayerToPoint(2.0, playerid, 295.7041,-80.3617,1001.5156) || PlayerToPoint(2.0, playerid, 296.3083,-38.1549,1001.5156) || PlayerToPoint(2.0, playerid, 313.8642,-133.8308,999.6016)) { ShowPlayerDialog(playerid, 6, DIALOG_STYLE_LIST, "Loja de Armas", "{FFFFFF}Eagle\n\ MP5\n\ Shotgun\n\ Ak-47\n\ M4\n\ Rifle\n\ {FFAA00}[KIT VIP]\n\ Comprar Colete\n\ ", "Confirmar", "Cancelar"); } else if(IsPlayerInRangeOfPoint(playerid, 2.5, 242.8167,66.2434,1003.6406)) { if(!IsACop(playerid) && PlayerInfo[playerid][pAdmin] < 1 && PlayerInfo[playerid][pAdminTemp] < 1 && !admtrampando[playerid]) { SendClientMessage(playerid, COLOR_GREY, " area restrita! Somente policiais podem entrar aqui!"); return true; } SetPlayerPos(playerid,236.6653,65.1392,1005.0391); GameTextForPlayer(playerid, "~w~Sala de Espera Treino",5000,1); } else if(PlayerToPoint(1, playerid, 236.6653,65.1392,1005.0391)) { SetPlayerPos(playerid,242.8167,66.2434,1003.6406); } else if(PlayerToPoint(1, playerid, 227.7363,69.1287,1005.0391)) { SetPlayerPos(playerid,225.5395,69.6203,1005.0391); GameTextForPlayer(playerid, "~w~Sala de Treinamento",5000,1); } else if(PlayerToPoint(2,playerid,326.6374,307.1123,999.1484) || PlayerToPoint(2,playerid,302.7936,-1529.9443,24.9219) || PlayerToPoint(2,playerid,1644.526489,-1842.716796,13.542884) || PlayerToPoint(2,playerid,240.6516,112.8062,1003.2188) || PlayerToPoint(2,playerid,258.7990,75.3689,1003.6406) || PlayerToPoint(2,playerid,229.8059,164.7830,1003.0234) || PlayerToPoint(2,playerid,-1346.256103,492.538299,11.202690) || PlayerToPoint(2,playerid,712.7550,-554.5677,-3.5950) || PlayerToPoint(2,playerid,-1588.4751,732.4855,-4.9063) || PlayerToPoint(2,playerid,359.1856,211.4973,1008.3828)) { if(!IsACop(playerid)) return 1; ForT:batercartao(playerid, #); } else if(PlayerToPoint(1, playerid, 225.5395,69.6203,1005.0391)) { SetPlayerPos(playerid,227.7363,69.1287,1005.0391); } else if(IsPlayerInRangeOfPoint(playerid, 2.0, 768.2192,-3.9873,1000.7203)) { ShowPlayerDialog(playerid, DIALOG_LOGIN2, DIALOG_STYLE_LIST, "Estilos De Luta", "Cotoveladas\nBoxe\nRua\nKickBoxing\nKarate\nNormal", "confirma", "Cancela"); } else if(PlayerToPoint(3.0,playerid,2026.2104,-1896.1097,13.5469) || PlayerToPoint(3.0,playerid,1240.5569,-2036.9919,59.9709)) { if (IsAMafioso(playerid)) { Controle(playerid, 1); ShowPlayerDialog(playerid, 1741, DIALOG_STYLE_INPUT, "Pegar Materiais", "Digite a quantidade de materiais/nque deseja pegar", "Pegar", "Cancelar"); } else { SendClientMessage(playerid, COLOR_GREY, "Voce nao e um mafioso"); } } else if(PlayerToPoint(1, playerid, 503.2368,-75.3880,998.7651)) { Controle(playerid, 1); ShowPlayerDialog(playerid, 200, DIALOG_STYLE_LIST, "Bar", "Dominar\nEquipar\nPegar Grana", "Confirmar", "Cancelar"); } else if(PlayerToPoint(1, playerid, 355.2333,169.3552,1025.7891)) { Controle(playerid, 1); if(PlayerInfo[playerid][pLider] != 7) { SendClientMessage(playerid, COLOR_GREY, "Voce nao e o Governador !"); return true; } new string3[MAX_STRING]; new MEGAString10[2500]; MEGAString10[0] = EOS; format(string3, 128, "{FFFFFF}|__________ Investimentos __________|\n\n"); strcat(MEGAString10,string3); format(string3, 128, "{FFFFFF}Saldo em Cofre: {FFFF00}R$%d\n", CofreOrg[7][Dinheiro]); strcat(MEGAString10,string3); format(string3, 128, "{FFFFFF}Lucros com Empresas: {21DD00}R$%d\n", PLE); strcat(MEGAString10,gstring); format(string3, 128, "{FFFFFF}Lucros com Organizacões: {21DD00}R$%d\n", PLO); strcat(MEGAString10,string3); format(string3, 128, "{FFFFFF}Lucros com Postos de Gasolina: {21DD00}R$%d\n\n", PLPG); strcat(MEGAString10,string3); format(string3, 128, "{FFFFFF}Multas Arquivadas: {F97804}%d {FFFFFF}Multas.\n", PMA); strcat(MEGAString10,string3); format(string3, 128, "{FFFFFF}Total de Crimes: {E60000}%d {FFFFFF}Crimes.\n\n", PTC); strcat(MEGAString10,string3); format(string3, 128, "{FFFFFF}Lucros Investidos: {21DD00}R$%d\n", PLV); strcat(MEGAString10,string3); ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, "Prefeitura", MEGAString10, "OK",""); return true; } else if(PlayerToPoint(1, playerid, 354.3210,154.7097,1025.7963)) { Controle(playerid, 1); if(PlayerInfo[playerid][pLider] != 7) { SendClientMessage(playerid, COLOR_GREY, "Voce nao e o Governador ou Vice !"); return true; } new fstring[MAX_STRING]; new MEGAString11[2500]; MEGAString11[0] = EOS; format(fstring, 128, "{FFFFFF}|__________ Cobrancas __________|\n\n"); strcat(MEGAString11,fstring); format(fstring, 128, "{FFFFFF}Manutencao de Carros: {E60000}R$%d\n", PMC); strcat(MEGAString11,fstring); format(fstring, 128, "{FFFFFF}Manutencao das Hidreletricas: {E60000}R$%d\n", PMH); strcat(MEGAString11,fstring); format(fstring, 128, "{FFFFFF}Manutencoes de Encanamentos: {E60000}R$%d\n", PME); strcat(MEGAString11,fstring); format(fstring, 128, "{FFFFFF}Reparo de Estradas: {E60000}R$%d\n", PRE); strcat(MEGAString11,fstring); format(fstring, 128, "{FFFFFF}Conserto de estragos: {E60000}R$%d\n\n", PCE); strcat(MEGAString11,fstring); format(fstring, 128, "{FFFFFF}Dinheiro Usado: {E60000}R$%d\n", PDU); strcat(MEGAString11,fstring); ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, "Prefeitura", MEGAString11, "OK",""); return true; } else if(PlayerToPoint(1, playerid, 1123.3541,-1471.3376,15.7757)) { Controle(playerid, 1); ShowPlayerDialog(playerid, menuajuda, DIALOG_STYLE_LIST, "Menu Ajuda Iniciante", "{FFFFFF}Como Subir de Nivel?\n\ {FFFFFF}Como arrumar um Emprego?\n\ {FFFFFF}Como ter um carro?\n\ {FFFFFF}Como entrar para uma Organizacao?\n\ {FFFFFF}Como nao ser Preso?\n\ {FFFFFF}Como fazer Anuncios/Ligar\n\ {FFFFFF}Como fabricar drogas?\n\ Como Roubar Algo?\n\ {00BFFF}Como comprar VIP/Socio?", "Confirmar", "Cancelar"); return true; } else if(PlayerToPoint(1, playerid, 1711.1412,-1874.2155,13.5675)) { Controle(playerid, 1); ShowPlayerDialog(playerid, menuajuda, DIALOG_STYLE_LIST, "Menu Ajuda Iniciante", "{FFFFFF}Como Subir de Nivel?\n\ {FFFFFF}Como arrumar um Emprego?\n\ {FFFFFF}Como ter um carro?\n\ {FFFFFF}Como entrar para uma Organizacao?\n\ {FFFFFF}Como nao ser Preso?\n\ {FFFFFF}Como fazer Anuncios/Ligar\n\ {FFFFFF}Como fabricar drogas?\n\ Como Roubar Algo?\n\ {00BFFF}Como comprar VIP/Socio?", "Confirmar", "Cancelar"); return true; } else if(PlayerToPoint(1, playerid, 1108.2418,-1786.8306,16.5938)) { Controle(playerid, 1); ShowPlayerDialog(playerid, menuajuda, DIALOG_STYLE_LIST, "Menu Ajuda Iniciante", "{FFFFFF}Como Subir de Nivel?\n\ {FFFFFF}Como arrumar um Emprego?\n\ {FFFFFF}Como ter um carro?\n\ {FFFFFF}Como entrar para uma Organizacao?\n\ {FFFFFF}Como nao ser Preso?\n\ {FFFFFF}Como fazer Anuncios/Ligar\n\ {FFFFFF}Como fabricar drogas?\n\ Como Roubar Algo?\n\ {00BFFF}Como comprar VIP/Socio?", "Confirmar", "Cancelar"); return true; } else if(PlayerToPoint(1, playerid, 1141.5276,-1768.4902,16.5992)) { Controle(playerid, 1); ShowPlayerDialog(playerid, menuajuda, DIALOG_STYLE_LIST, "Menu Ajuda Iniciante", "{FFFFFF}Como Subir de Nivel?\n\ {FFFFFF}Como arrumar um Emprego?\n\ {FFFFFF}Como ter um carro?\n\ {FFFFFF}Como entrar para uma Organizacao?\n\ {FFFFFF}Como nao ser Preso?\n\ {FFFFFF}Como fazer Anuncios/Ligar\n\ {FFFFFF}Como fabricar drogas?\n\ Como Roubar Algo?\n\ {00BFFF}Como comprar VIP/Socio?", "Confirmar", "Cancelar"); return true; } else if(PlayerToPoint(1, playerid, 361.9699,169.5079,1025.7890)) { Controle(playerid, 1); if(PlayerInfo[playerid][pLider] != 11) { SendClientMessage(playerid, COLOR_GREY, "Voce nao e da Policia Federal!"); return true; } ShowPlayerDialog(playerid, 8726, DIALOG_STYLE_MSGBOX, "Prefeitura - Documentacao", "Procure Provas Suficientes para Incriminar o Governador!", "Pesquisar","Cancelar"); return true; } else if (PlayerToPoint(2.0, playerid, 1524.4977,-1677.9469,6.2188) ||PlayerToPoint(2.0, playerid, 1564.8790,-1667.0009,28.3956) || PlayerToPoint(2.0, playerid, 246.2975,87.4735,1003.6406)) { if(storeexit[playerid] == 67){ return true;} if(!IsACop(playerid)){ return true;} Controle(playerid, 1); ShowPlayerDialog(playerid, 2585, DIALOG_STYLE_LIST, "Elevador Policial", "Garagem\nDepartamento\nCobertura", "Confirma", "Cancela"); } else if(PlayerToPoint(1, playerid, 228.7928,153.3014,1003.0234)&& GetPlayerVirtualWorld(playerid) == 11) { OrgCofre[playerid] = 11; Controle(playerid, 1); ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Cofre Policia Civil", "Membros\nInformações\nDefinicões de Membros\nAjustes ORG\nArea de Mafia(Materiais)\nCandidatos\nEquipar\n{00FFFF}Pedir para entrar", "Confirmar", "Cancelar"); } else if(PlayerToPoint(1, playerid, -1341.0715,500.6142,11.1953)) { OrgCofre[playerid] = 3; Controle(playerid, 1); ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Cofre Exercito", "Membros\nInformações\nDefinicões de Membros\nAjustes ORG\nArea de Mafia(Materiais)\nCandidatos\nEquipar\n{00FFFF}Pedir para entrar", "Confirmar", "Cancelar"); } else if(PlayerToPoint(1, playerid, 233.4654,123.4205,1003.2188)) { OrgCofre[playerid] = 2; Controle(playerid, 1); ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Cofre BOPE", "Membros\nInformações\nDefinicões de Membros\nAjustes ORG\nArea de Mafia(Materiais)\nCandidatos\nEquipar\n{00FFFF}Pedir para entrar", "Confirmar", "Cancelar"); } else if(PlayerToPoint(1, playerid, 1568.6442,-1689.9729,6.2188)) { OrgCofre[playerid] = 1; Controle(playerid, 1); ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Cofre Policia Militar", "Membros\nInformações\nDefinicões de Membros\nAjustes ORG\nArea de Mafia(Materiais)\nCandidatos\nEquipar\n{00FFFF}Pedir para entrar", "Confirmar", "Cancelar"); } else if(PlayerToPoint(1, playerid, 2919.8225,2111.0898,17.8955)) { Controle(playerid, 1); OrgCofre[playerid] = 35; ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Cofre BAEP", "Membros\nInformações\nDefinicões de Membros\nAjustes ORG\nOutras Definicões\nCandidatos\nEquipar\n{7CFC00}Pedir para entrar", "Confirmar", "Cancelar"); } else if(PlayerToPoint(1, playerid, -307.9520,1538.4799,75.5625)) { OrgCofre[playerid] = 15; Controle(playerid, 1); ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Cofre Estado Islâmico", "Membros\nInformações\nDefinicões de Membros\nAjustes ORG\nArea de Mafia(Materiais)\nCandidatos\nEquipar\n{00FFFF}Pedir para entrar", "Confirmar", "Cancelar"); } else if(PlayerToPoint(1, playerid, -2237.1875,2353.9629,4.9807)) { OrgCofre[playerid] = 23; Controle(playerid, 1); ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Cofre As FARC", "Membros\nInformações\nDefinicões de Membros\nAjustes ORG\nArea de Mafia(Materiais)\nCandidatos\nEquipar\n{00FFFF}Pedir para entrar", "Confirmar", "Cancelar"); } else if(PlayerToPoint(1, playerid, 479.5926,-1531.1252,19.8107)&& GetPlayerVirtualWorld(playerid) == 0) { OrgCofre[playerid] = 24; Controle(playerid, 1); ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Cofre Mayans", "Membros\nInformações\nDefinicões de Membros\nAjustes ORG\nArea de Mafia(Materiais)\nCandidatos\nEquipar\n{00FFFF}Pedir para entrar", "Confirmar", "Cancelar"); } else if(PlayerToPoint(1, playerid, 687.2863,-472.8064,16.5363)&& GetPlayerVirtualWorld(playerid) == 0) { OrgCofre[playerid] = 25; Controle(playerid, 1); ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Cofre Sons Of Anarchy", "Membros\nInformações\nDefinicões de Membros\nAjustes ORG\nArea de Mafia(Materiais)\nCandidatos\nEquipar\n{00FFFF}Pedir para entrar", "Confirmar", "Cancelar"); } else if(PlayerToPoint(1, playerid,2633.3782,1824.0537,11.0161)&& GetPlayerVirtualWorld(playerid) == 0) { OrgCofre[playerid] = 36; Controle(playerid, 1); ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Cofre Forca Tatica", "Membros\nInformações\nDefinicões de Membros\nAjustes ORG\nArea de Mafia(Materiais)\nCandidatos\nEquipar\n{00FFFF}Pedir para entrar", "Confirmar", "Cancelar"); } else if(PlayerToPoint(1, playerid,1171.8723,1348.9407,10.9219)&& GetPlayerVirtualWorld(playerid) == 0) { OrgCofre[playerid] = 6; Controle(playerid, 1); ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Cofre GATE", "Membros\nInformações\nDefinicões de Membros\nAjustes ORG\nArea de Mafia(Materiais)\nCandidatos\nEquipar\n{00FFFF}Pedir para entrar", "Confirmar", "Cancelar"); } else if(PlayerToPoint(1, playerid, 1492.4470,-686.2380,94.7500)) { Controle(playerid, 1); OrgCofre[playerid] = 12; ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Cofre Mafia Cosa Nostra", "Membros\nInformações\nDefinicões de Membros\nAjustes ORG\nArea de Mafia(Materiais)\nCandidatos\nEquipar\n{00FFFF}Pedir para entrar", "Confirmar", "Cancelar"); } else if(PlayerToPoint(1, playerid, 2590.6523,1411.4381,11.0663)) { Controle(playerid, 1); OrgCofre[playerid] = 20; ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Cofre Mafia Russa", "Membros\nInformações\nDefinicões de Membros\nAjustes ORG\nArea de Mafia(Materiais)\nCandidatos\nEquipar\n{00FFFF}Pedir para entrar", "Confirmar", "Cancelar"); } else if(PlayerToPoint(1, playerid, 671.9144,-1271.4734,13.6250)) { Controle(playerid, 1); OrgCofre[playerid] = 13; ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Cofre Yakuza", "Membros\nInformações\nDefinicões de Membros\nAjustes ORG\nArea de Mafia(Materiais)\nCandidatos\nEquipar\n{00FFFF}Pedir para entrar", "Confirmar", "Cancelar"); } else if(PlayerToPoint(1, playerid, 674.4283,1827.9668,6.2336)) { Controle(playerid, 1); OrgCofre[playerid] = 10; ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Cofre Amigos dos Amigos", "Membros\nInformações\nDefinicões de Membros\nAjustes ORG\nArea de Mafia(Materiais)\nCandidatos\nEquipar\n{00FFFF}Pedir para entrar", "Confirmar", "Cancelar"); } else if(PlayerToPoint(1, playerid, 740.3544,382.7724,23.1719)) { Controle(playerid, 1); OrgCofre[playerid] = 5; ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Cofre Tropa da Franca", "Membros\nInformações\nDefinicões de Membros\nAjustes ORG\nArea de Mafia(Materiais)\nCandidatos\nEquipar\n{00FFFF}Pedir para entrar", "Confirmar", "Cancelar"); } else if(PlayerToPoint(1, playerid, 1058.8361,1301.6748,10.8203)) { Controle(playerid, 1); OrgCofre[playerid] = 34; ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Cofre Detran", "Membros\nInformações\nDefinicões de Membros\nAjustes ORG\nArea de Mafia(Materiais)\nCandidatos\nEquipar\n{00FFFF}Pedir para entrar", "Confirmar", "Cancelar"); } else if(PlayerToPoint(1, playerid, 228.8563,153.4978,1003.0234)&& GetPlayerVirtualWorld(playerid) == 10) { Controle(playerid, 1); OrgCofre[playerid] = 33; ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Cofre Policia Civil", "Membros\nInformações\nDefinicões de Membros\nAjustes ORG\nArea de Mafia(Materiais)\nCandidatos\nEquipar\n{00FFFF}Pedir para entrar", "Confirmar", "Cancelar"); } else if(PlayerToPoint(1, playerid, 2514.1301,-1691.2979,14.0460)) { Controle(playerid, 1); OrgCofre[playerid] = 14; ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Cofre Black Elements", "Membros\nInformações\nDefinicões de Membros\nAjustes ORG\nArea de Mafia(Materiais)\nCandidatos\nEquipar\n{00FFFF}Pedir para entrar", "Confirmar", "Cancelar"); } else if(PlayerToPoint(1, playerid, 2489.7751,923.1611,11.0234)) { Controle(playerid, 1); OrgCofre[playerid] = 26; ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Cofre Milicia", "Membros\nInformações\nDefinicões de Membros\nAjustes ORG\nArea de Mafia(Materiais)\nCandidatos\nEquipar\n{00FFFF}Pedir para entrar", "Confirmar", "Cancelar"); } else if(PlayerToPoint(1, playerid, 1154.1490,-1185.1548,32.0275)) { Controle(playerid, 1); OrgCofre[playerid] = 17; ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Cofre Ballas", "Membros\nInformações\nDefinicões de Membros\nAjustes ORG\nArea de Mafia(Materiais)\nCandidatos\nEquipar\n{00FFFF}Pedir para entrar", "Confirmar", "Cancelar"); } else if(PlayerToPoint(1, playerid, 2587.5759,-952.1868,81.3968)) { Controle(playerid, 1); OrgCofre[playerid] = 18; ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Cofre Vagos", "Membros\nInformações\nDefinicões de Membros\nAjustes ORG\nArea de Mafia(Materiais)\nCandidatos\nEquipar\n{00FFFF}Pedir para entrar", "Confirmar", "Cancelar"); } else if(PlayerToPoint(1, playerid, 1709.5895,-1642.5737,20.2188)&& GetPlayerVirtualWorld(playerid) == 12) { Controle(playerid, 1); OrgCofre[playerid] = 16; ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Cofre ROTA", "Membros\nInformações\nDefinicões de Membros\nAjustes ORG\nArea de Mafia(Materiais)\nCandidatos\nEquipar\n{00FFFF}Pedir para entrar", "Confirmar", "Cancelar"); } else if(PlayerToPoint(1, playerid,2151.9128,-1794.5184,13.5176)) { Controle(playerid, 1); OrgCofre[playerid] = 19; ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Cofre Comando Vermelho", "Membros\nInformações\nDefinicões de Membros\nAjustes ORG\nArea de Mafia(Materiais)\nCandidatos\nEquipar\n{00FFFF}Pedir para entrar", "Confirmar", "Cancelar"); } else if(PlayerToPoint(1, playerid, 98.8338,1164.2825,18.6641)) { Controle(playerid, 1); OrgCofre[playerid] = 21; ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Cofre PCC", "Membros\nInformações\nDefinicões de Membros\nAjustes ORG\nArea de Mafia(Materiais)\nCandidatos\nEquipar\n{00FFFF}Pedir para entrar", "Confirmar", "Cancelar"); } /* else if(PlayerToPoint(1, playerid, 1168.198486,-1326.190307,-44.283576)) { Controle(playerid, 1); OrgCofre[playerid] = 4; ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Cofre Medicos", "Membros\nInformações\nDefinicões de Membros\nAjustes ORG\nArea de Mafia(Materiais)\nCandidatos\nEquipar\n{00FFFF}Pedir para entrar", "Confirmar", "Cancelar"); } */ else if(PlayerToPoint(1, playerid, 2788.4338,-1627.9436,10.9272)) { Controle(playerid, 1); OrgCofre[playerid] = 22; ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Cofre Triads", "Membros\nInformações\nDefinicões de Membros\nAjustes ORG\nArea de Mafia(Materiais)\nCandidatos\nEquipar\n{00FFFF}Pedir para entrar", "Confirmar", "Cancelar"); } else if(PlayerToPoint(1, playerid, 345.330017,162.199996,1025.796386)) { Controle(playerid, 1); OrgCofre[playerid] = 7; ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Cofre Governo", "Membros\nInformações\nDefinicões de Membros\nAjustes ORG\nArea de Mafia(Materiais)\nCandidatos\nEquipar\n{00FFFF}Pedir para entrar", "Confirmar", "Cancelar"); } else if(PlayerToPoint(1, playerid, 2323.0007,-1245.2595,22.5000)) { Controle(playerid, 1); OrgCofre[playerid] = 8; ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Cofre Hitmans", "Membros\nInformações\nDefinicões de Membros\nAjustes ORG\nArea de Mafia(Materiais)\nCandidatos\nEquipar\n{00FFFF}Pedir para entrar", "Confirmar", "Cancelar"); } else if(PlayerToPoint(1, playerid, 752.1580,-1358.9927,13.5000)) { Controle(playerid, 1); OrgCofre[playerid] = 9; ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Cofre Reporteres", "Membros\nInformações\nDefinicões de Membros\nAjustes ORG\nArea de Mafia(Materiais)\nCandidatos\nEquipar\n{00FFFF}Pedir para entrar", "Confirmar", "Cancelar"); } else if(PlayerToPoint(1, playerid, 1462.9502,341.5400,18.9075)) { Controle(playerid, 1); OrgCofre[playerid] = 37; ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Cofre Tropa Da Turquia", "Membros\nInformações\nDefinicões de Membros\nAjustes ORG\nArea de Mafia(Materiais)\nCandidatos\nEquipar\n{00FFFF}Pedir para entrar", "Confirmar", "Cancelar"); } else if(PlayerToPoint(1, playerid, 2797.7202,-1970.4054,13.5469)) { Controle(playerid, 1); OrgCofre[playerid] = 38; ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Cofre Tropa Da Escócia", "Membros\nInformações\nDefinicões de Membros\nAjustes ORG\nArea de Mafia(Materiais)\nCandidatos\nEquipar\n{00FFFF}Pedir para entrar", "Confirmar", "Cancelar"); } //Elevador new Float:pos[3]; GetPlayerPos(playerid, pos[0], pos[1], pos[2]); if(pos[1] < -1301.4 && pos[1] > -1303.2417 && pos[0] < 1786.2131 && pos[0] > 1784.1555) // He is using the elevator button ShowElevatorDialog(playerid); else // Is he in a floor button? { if(pos[1] > -1301.4 && pos[1] < -1299.1447 && pos[0] < 1785.6147 && pos[0] > 1781.9902) { // He is most likely using it, check floor: new i=20; while(pos[2] < GetDoorsZCoordForFloor(i) + 3.5 && i > 0) i --; if(i == 0 && pos[2] < GetDoorsZCoordForFloor(0) + 2.0) i = -1; if(i <= 19) { CallElevator(playerid, i + 1); GameTextForPlayer(playerid, "~r~Elevador chamado~n~~y~Aguarde...", 3500, 4); } } } } if (newkeys == 16 && BusFed[playerid] > 0) { new Float:X,Float:Y,Float:Z; GetVehiclePos(BusFed[playerid], X, Y, Z); SetPlayerPos(playerid, X, Y, Z+2); SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid,0); PutPlayerInVehicle(playerid, BusFed[playerid], 2); BusFed[playerid] = 0; } if((newkeys == 2) && (IsPlayerInAnyVehicle(playerid))) { if(IsACop(playerid) || IsAGOV(playerid)) { ForT:pg2(playerid, #); ForT:pgn(playerid, #); ForT:ppc(playerid, #); ForT:ppc2(playerid, #); ForT:plate(playerid, #); ForT:plate2(playerid, #); ForT:pro(playerid, #); ForT:prota(playerid, #); ForT:portaoft(playerid, #); ForT:ppf(playerid, #); ForT:pbope(playerid, #); ForT:pgat(playerid, #); ForT:pbaep(playerid, #); } if(IsAAdmin(playerid)) { ForT:portaoadm(playerid, #); } if(GetPlayerOrg(playerid) == 5) { ForT:paztecas(playerid, #); } if(GetPlayerOrg(playerid) == 17) { ForT:pballas(playerid, #); } if(GetPlayerOrg(playerid) == 8) { ForT:phitmans(playerid, #); } if(GetPlayerOrg(playerid) == 18) { ForT:pvagos(playerid, #); } if(GetPlayerOrg(playerid) == 19) { ForT:portaocv(playerid, #); } if(GetPlayerOrg(playerid) == 10) { ForT:portaosfr(playerid, #); } if(GetPlayerOrg(playerid) == 12) { ForT:portaocn(playerid); } if(GetPlayerOrg(playerid) == 20) { ForT:prussa(playerid,#); } if(GetPlayerOrg(playerid) == 24) { ForT:pmayans(playerid); } if(GetPlayerOrg(playerid) == 13) { ForT:pyakuza1(playerid); ForT:pyakuza2(playerid); ForT:pyakuza3(playerid); } if(GetPlayerOrg(playerid) == 14) { ForT:pgroove(playerid); } if(GetPlayerOrg(playerid) == 26) { ForT:pmilicia(playerid); } if(GetPlayerOrg(playerid) == 34) { ForT:pdetran(playerid); } if(IsAJornal(playerid)) { ForT:preporter(playerid, #); } ForT:ppedagio(playerid, #); } if(newkeys & 16) { if(carroinvCriado[playerid] == 1) { if(IsPlayerInVehicle(playerid,carroinvID[playerid])) { ForT:dinv(playerid); } } } return true; } CallBack::UpdateAnim(playerid) { if((GetPlayerState(playerid)==1&&GK(playerid,KEY_WALK))&& (GK(playerid,KEY_UP)||GK(playerid,KEY_DOWN)||GK(playerid,KEY_LEFT)||GK(playerid,KEY_RIGHT))) { SetTimerEx("UpdateAnim", 200, 0, "i", playerid); AplicarWalk(playerid); } else if(GK(playerid,KEY_WALK) && GetPlayerState(playerid)==1) SetTimerEx("UpdateAnim", 500, 0, "i", playerid), ApplyAnimationEx(playerid,"PED","facgum",3.5,0,1,1,1,1); else ApplyAnimationEx(playerid,"PED","facgum",3.5,0,1,1,1,1); return 0; } stock AplicarWalk(playerid) { switch(StyleWalk[playerid]) { case 1:ApplyAnimationEx(playerid,"PED","WALK_civi",4.1,1,1,1,1,1); case 2:ApplyAnimationEx(playerid,"PED","WALK_gang1",4.1,1,1,1,1,1); case 3:ApplyAnimationEx(playerid,"PED","WALK_gang2",4.1,1,1,1,1,1); case 4:ApplyAnimationEx(playerid,"PED","WALK_old",4.1,1,1,1,1,1); case 5:ApplyAnimationEx(playerid,"PED","WALK_fatold",4.1,1,1,1,1,1); case 6:ApplyAnimationEx(playerid,"PED","WALK_fat",4.1,1,1,1,1,1); case 7:ApplyAnimationEx(playerid,"PED","WOMAN_walknorm",4.1,1,1,1,1,1); case 8:ApplyAnimationEx(playerid,"PED","WOMAN_walkbusy",4.1,1,1,1,1,1); case 9:ApplyAnimationEx(playerid,"PED","WOMAN_walkpro",4.1,1,1,1,1,1); case 10:ApplyAnimationEx(playerid,"PED","WOMAN_walksexy",4.1,1,1,1,1,1); case 11:ApplyAnimationEx(playerid,"PED","WALK_drunk",4.1,1,1,1,1,1); case 12:ApplyAnimationEx(playerid,"PED","Walk_Wuzi",4.1,1,1,1,1,1); case 13:ApplyAnimationEx(playerid,"PED","Player_Sneak",6.1,1,1,1,1,1); case 14:ApplyAnimationEx(playerid,"PED","WOMAN_walkshop",4.1,1,1,1,1,1); case 15:ApplyAnimationEx(playerid,"PED","JOG_femaleA",4.1,1,1,1,1,1); case 16:ApplyAnimationEx(playerid,"PED","JOG_maleA",4.1,1,1,1,1,1); case 17:ApplyAnimationEx(playerid,"PED","run_civi",4.1,1,1,1,1,1); case 18:ApplyAnimationEx(playerid,"PED","run_fat",4.1,1,1,1,1,1); case 19:ApplyAnimationEx(playerid,"PED","run_fatold",4.1,1,1,1,1,1); case 20:ApplyAnimationEx(playerid,"PED","run_gang1",4.1,1,1,1,1,1); case 21:ApplyAnimationEx(playerid,"PED","run_old",4.1,1,1,1,1,1); case 22:ApplyAnimationEx(playerid,"PED","Run_Wuzi",4.1,1,1,1,1,1); case 23:ApplyAnimationEx(playerid,"PED","swat_run",4.1,1,1,1,1,1); case 24:ApplyAnimationEx(playerid,"PED","woman_run",4.1,1,1,1,1,1); case 25:ApplyAnimationEx(playerid,"PED","WOMAN_runbusy",4.1,1,1,1,1,1); case 26:ApplyAnimationEx(playerid,"PED","WOMAN_runsexy",4.1,1,1,1,1,1); } return 0xFFFF; } stock SetWalkStyle(playerid, style) { if(style < 0 || style > 26)return true; StyleWalk[playerid] = style; return 0; } stock GetWalkStyle(playerid)return StyleWalk[playerid]; stock ResetWalkStyle(playerid)return StyleWalk[playerid] = 0; stock GK(playerid, key) { new keys, ud, lr; GetPlayerKeys(playerid, keys, ud, lr); if(keys & key || ud == key || lr == key)return true; return 0; } CallBack::ScoreLevel(playerid) { new LevScore; LevScore = PlayerInfo[playerid][pLevel]; SetPlayerScore(playerid, LevScore); } CallBack::UpdateFlashVehicle() { new panelsx,doorsx,lightsx,tiresx; for (new p=0; p= 1) { format(string_velo, sizeof(string_velo),"%d%%",Blindagem[_v]);//com blind PlayerTextDrawSetString(playerid, textPlayerVelocimetro[9][playerid], string_velo); } if(Cblindado[_v] <= 0) { format(string_velo, sizeof(string_velo),"%0.0f%%",_hp/10); PlayerTextDrawSetString(playerid, textPlayerVelocimetro[9][playerid], string_velo); } format(string_velo, sizeof(string_velo), "%d Litros", Gas[vehicle]); PlayerTextDrawSetString(playerid,textPlayerVelocimetro[3][playerid], string_velo); if(Gas[vehicle] <= 0) PlayerTextDrawSetString(playerid,textPlayerVelocimetro[3][playerid], "Sem Gasolina"); else if(Gas[vehicle] <= 10) PlayerTextDrawSetString(playerid,textPlayerVelocimetro[3][playerid], "~y~Reserva"); new Zone_Name[28]; GetPlayer2DZone(playerid, Zone_Name, 28); format(string_velo, sizeof(string_velo), "%s", Zone_Name);//18 a mais. PlayerTextDrawSetString(playerid, textPlayerVelocimetro[4][playerid], string_velo); } return true; } stock UpdateGas(vehicleid) { new _s[60]; foreach(Player, playerid) { if(IsPlayerInAnyVehicle(playerid) && GetPlayerVehicleID(playerid) == vehicleid) { _s[0] = EOS; format(_s, sizeof(_s), "%d Litros", Gas[vehicleid]); PlayerTextDrawSetString(playerid,textPlayerVelocimetro[3][playerid], _s); if(Gas[vehicleid] <= 0) PlayerTextDrawSetString(playerid,textPlayerVelocimetro[3][playerid], "Sem Gasolina"); else if(Gas[vehicleid] <= 10) PlayerTextDrawSetString(playerid,textPlayerVelocimetro[3][playerid], "~y~Reserva"); } } return 0; } CallBack::Velocimetro() { foreach(Player, i) { if(!gPlayerLogged[i])continue; //Sistema de Textdraw ARMAS NO CHaO TextDrawHideForPlayer(i, DropTextdraw0); TextDrawHideForPlayer(i, DropTextdraw1); TextDrawHideForPlayer(i, DropTextdraw2); TextDrawHideForPlayer(i, DropTextdraw3); TextDrawHideForPlayer(i, DropTextdraw4); PlayerTextDrawHide(i, DropTextdraw5[i]); for(new f = 0; f < MAX_OBJ; f++) { if(IsPlayerInRangeOfPoint(i, 1.8, dItemData[f][ObjtPos][0], dItemData[f][ObjtPos][1], dItemData[f][ObjtPos][2])) { new Str[73]; format(Str, sizeof Str, "Item: %s, com %d unidade(s)", NomeArmaInventario(dItemData[f][ObjtData][0]), dItemData[f][ObjtData][1]); PlayerTextDrawSetString(i, DropTextdraw5[i], Str); TextDrawShowForPlayer(i, DropTextdraw0); TextDrawShowForPlayer(i, DropTextdraw1); TextDrawShowForPlayer(i, DropTextdraw2); TextDrawShowForPlayer(i, DropTextdraw3); TextDrawShowForPlayer(i, DropTextdraw4); PlayerTextDrawShow(i, DropTextdraw5[i]); break; } } for(new a = 0; a < MAX_OBJ; a++) { if(IsPlayerInRangeOfPoint(i, 1.8, dGunData[a][ObjPos][0], dGunData[a][ObjPos][1], dGunData[a][ObjPos][2]) && dGunData[a][ObjPos][0] != 0) { new Str[73]; format(Str, sizeof Str, "Uma %s com %d balas", GunNames[dGunData[a][ObjData][0]], dGunData[a][ObjData][1]); PlayerTextDrawSetString(i, DropTextdraw5[i], Str); TextDrawShowForPlayer(i, DropTextdraw0); TextDrawShowForPlayer(i, DropTextdraw1); TextDrawShowForPlayer(i, DropTextdraw2); TextDrawShowForPlayer(i, DropTextdraw3); TextDrawShowForPlayer(i, DropTextdraw4); PlayerTextDrawShow(i, DropTextdraw5[i]); break; } } AttachArmas(i); } return true; } CallBack::ClearChatbox(playerid, lines) { for(new i; i < lines; i++) { SendClientMessage(playerid, COLOR_GREY, " "); } return true; } stock NomeArma(armaid) { new nome[35]; if(armaid == 0)nome = "Fist"; if(armaid >= 1 || armaid <= 47) GetWeaponName(armaid, nome, sizeof nome); if(armaid == 18)nome = "Molotov"; if(armaid == 44 || armaid == 45)nome = "Visao Noturna"; //if(armaid == 47)nome = "Explosivo"; else GetWeaponName(armaid, nome, sizeof nome); return nome; } stock getCargoAdmin(playerid){ new Str[75]; switch(PlayerInfo[playerid][pAdmin]){ case 1 :Str = "Estagiario"; case 2 :Str = "Moderador"; case 3 :Str = "Administrador"; case 4 :Str = "Administrador"; case 1337 :Str = "Master"; case 1338 :Str = "Supervisor"; case 1339 :Str = "Gerente"; case 1340 :Str = "Diretor"; case 1341 :Str = "Dono"; case 1342 :Str = "Fundador"; default :Str = "Neutro"; } return Str; } CallBack::OnplayerAtualizador() { new string[2000]; if(PaintballPlayers >= 2 && PaintballRound != 1 && StartingPaintballRound != 1) { StartingPaintballRound = 1; SetTimer("PreparePaintball", 30000, 0); } if(AnuncioMandado > 0) { AnuncioMandado --; } if(TimeGranaTR > 0)TimeGranaTR --; else { for(new x; x != MAX_ORGS; x++) { new quant = GetOrgTrs(x); if(quant && x > 0) { new mney = quant*(1000+random(999)); new mmat = quant*(1000+random(999)); format(string, sizeof string, "Info: {FFFFFF}Sua organizacao ganhou {00FFFF}R$%d e {00FFFF}%d materiais por manter {00FFFF}[%02d/%02d] {FFFFFF}territorios sob controle.", mney, mmat, quant, CountTr()); SendFamilyMessage(x, 0x00FFFFFF, string); DepositarGranaOrg(x, mney); DepositarMaterialOrg(x, mmat); } } TimeGranaTR = (10)*60; } foreach(Player, playerid) { if(gettime() > GetPVarInt(playerid, #VarFloodLocalizar) && GetPVarInt(playerid, #VarFloodLocalizar) != 0) { GangZoneHideForPlayer(playerid, GZLocalizar[playerid]); SetPVarInt(playerid, #VarFloodLocalizar, 0); } SetPlayerChatBubble(playerid, getPlayerTitulo(playerid), 0x999999FF, 20.0, 2000); //========================[Guerra]====================================== if(TendoGuerra >= 1) { new org = GetPlayerOrg(playerid); if(org == 3 || org == 15 || org == 23) { if(IsPlayerInGuerra(playerid) && EmGuerra[playerid] == 0) { format(string, sizeof(string), "* %s entrou na Guerra!",PlayerName(playerid)); SendFamilyMessage(3,GetPlayerColor(playerid), string); SendFamilyMessage(15,GetPlayerColor(playerid), string); SendFamilyMessage(23,GetPlayerColor(playerid), string); EmGuerra[playerid] = 1; } } if(!IsPlayerInGuerra(playerid) && EmGuerra[playerid] == 1) { format(string, sizeof(string), "* %s saiu da Guerra!",PlayerName(playerid)); SendFamilyMessage(3,GetPlayerColor(playerid), string); SendFamilyMessage(15,GetPlayerColor(playerid), string); SendFamilyMessage(23,GetPlayerColor(playerid), string); EmGuerra[playerid] = 0; } } new Float: HP, Float:AP, newkeys, ud, lr; GetPlayerKeys(playerid, newkeys, ud, lr); if (HOLDING(128) && GetPlayerWeapon(playerid) == 34) { PlayerTextDrawHide(playerid,__[playerid]); foreach(Player, i) { if(IsPlayerAiming(playerid,i) && i != playerid && s_tate[i] != PLAYER_STATE_SPECTATING) { MEGAString[0] = EOS; GetPlayerHealth(i,HP); GetPlayerArmour(i,AP); format(MEGAString,256,"~r~~h~%s~n~\ ~p~Vida: ~w~%0.1f~n~\ ~p~Colete: ~w~%0.1f~n~\ ~p~Distancia: ~w~%dm~n~\ ~p~Ping: ~w~%d", NomePlayer(i),HP, AP, floatround(GetDistanceBetweenPlayers(i,playerid)),GetPlayerPing(i)); PlayerTextDrawSetString(playerid, __[playerid],MEGAString); PlayerTextDrawShow(playerid,__[playerid]); break; } } } if(TempoEntrega[playerid] > 0) { TempoEntrega[playerid] --; } if(InTaser[playerid] && IsACop(playerid)) { if(GetPlayerWeapon(playerid) != 0) SetPlayerArmedWeapon(playerid, 0); } if(IsPlayerInRC(playerid)) { new arma = GetPlayerWeapon(playerid); if(arma != 0 && arma != 42) { SetPlayerArmedWeapon(playerid, 0); SendPlayerTextMessage(playerid, "~b~voce nao pode usar armas em area neutras.", 4000); } } if(StartingPaintballRound == 1 && AnnouncedPaintballRound == 0) { AnnouncedPaintballRound = 1; if(PlayerPaintballing[playerid] != 0) { SendClientMessage(playerid, COLOR_YELLOW, "Paintball game sera anunciado em 15 segundos (Para obter mais jogadores)."); } } if(MecanicMission[playerid]) { TimeMission[playerid] --; if(TimeMission[playerid] < 1) { SendClientMessage(playerid, COLOR_LIGHTRED, "Missao de mecanico: O tempo acabou e voce nao completou sua atual missao, missao cancelada!"); EndMission(playerid); } else { if(IsPlayerInAnyVehicle(playerid) && GetVehicleModel(GetPlayerVehicleID(playerid)) == 525) { new Float:x, Float:y, Float:z; GetVehiclePos(VehicleMission[playerid], x, y, z); if(GetPlayerDistanceFromPoint(playerid, x, y, z) < 7.0 && !IsTrailerAttachedToVehicle(GetPlayerVehicleID(playerid))) { GameTextForPlayer(playerid, "~r~Use: /guinchar", 1500, 3); } else { if(IsAttached[playerid] && !IsTrailerAttachedToVehicle(GetPlayerVehicleID(playerid))) { GameTextForPlayer(playerid, "~r~O veiculo desprendeu~n~Pegue-o novamente!", 1500, 3); } } } } } if(!HOLDING(128)) { PlayerTextDrawHide(playerid,__[playerid]); } if(TempoAn[playerid] > 0){TempoAn[playerid] --;} checkEE(playerid); } return 1; } stock SendHospitalMessage(const striing[], color)return ProxLocal(801.3326,724.9469,1014.1642, 75.0, striing, color); stock ProxLocal(Float:fx, Float:fy, Float:fz, Float:range, striing[], color, playerid = INVALID_PLAYER_ID) { if(playerid == INVALID_PLAYER_ID) { foreach(Player, p) { if(gPlayerLogged[p] && IsPlayerInRangeOfPoint(p, range, fx, fy, fz)) { SendClientMessage(p, color, striing); } } } else { if(gPlayerLogged[playerid] && IsPlayerInRangeOfPoint(playerid, range, fx, fy, fz)) { SendClientMessage(playerid, color, striing); } } return true; } CallBack::LokAT(playerid) { if(!gPlayerLogged[playerid]) { new rdd = random(sizeof(RandomCameras)); SetPlayerCameraPos(playerid, RandomCameras[rdd][0],RandomCameras[rdd][1],RandomCameras[rdd][2]); SetPlayerCameraLookAt(playerid, RandomCameras[rdd][3], RandomCameras[rdd][4], RandomCameras[rdd][5]); SetPlayerVirtualWorld(playerid, playerid+MAX_PLAYERS); SetPlayerPos(playerid, RandomCameras[rdd][0],RandomCameras[rdd][1],RandomCameras[rdd][2]-10); Controle(playerid, 0); SetTimerEx("LokAT", 6000, 0, "i", playerid); } return true; } CallBack::Guerrabar1(playerid) { new string[128]; if(GetPlayerOrg(playerid) == 24) { if(Dominando[playerid] == 1) { if(barexit[playerid] == 1) { GetPlayerName(playerid, playername, MAX_PLAYER_NAME); foreach(Player, i) { if(PlayerInfo[i][pChatTerritorio] == 0) { format(string, sizeof(string), "%s e os Mayans Tomaram o Bar Jizzy's!",PlayerName(playerid)); SendClientMessage(i, 0x33FFFFAA, string); } } Dominando[playerid] = 0; Guerrandobar1 = 0; donobar = 1; KillTimer(TempoGuerrabar1); UpdateBarText(barexit[playerid]); return 1; } else { SendClientMessage(playerid, BRANCO_COR, "Voce nao esta no Bar Jizzy's."); Dominando[playerid] = 0; Guerrandobar1 = 0; donobar = 0; KillTimer(TempoGuerrabar1); UpdateBarText(barexit[playerid]); return 1; } } return 1; } if(GetPlayerOrg(playerid) == 25) { if(Dominando[playerid] == 1) { if(barexit[playerid] == 1) { GetPlayerName(playerid, playername, MAX_PLAYER_NAME); foreach(Player, i) { if(PlayerInfo[i][pChatTerritorio] == 0) { format(string, sizeof(string), "%s e os Sons Of Anarchy Tomaram o Bar Jizzy's!",PlayerName(playerid)); SendClientMessage(i, 0x535d7165, string); } } Dominando[playerid] = 0; Guerrandobar1 = 0; donobar = 2; KillTimer(TempoGuerrabar1); UpdateBarText(barexit[playerid]); return 1; } else { SendClientMessage(playerid, BRANCO_COR, "Voce nao esta no Bar Jizzy's."); Dominando[playerid] = 0; Guerrandobar1 = 0; donobar = 0; KillTimer(TempoGuerrabar1); UpdateBarText(barexit[playerid]); return 1; } } return 1; } return true; } CallBack::Guerrabar2(playerid) { new string[128]; if(GetPlayerOrg(playerid) == 24) { if(Dominando[playerid] == 1) { if(barexit[playerid] == 2) { GetPlayerName(playerid, playername, MAX_PLAYER_NAME); foreach(Player, i) { if(PlayerInfo[i][pChatTerritorio] == 0) { format(string, sizeof(string), "%s e os Mayans Tomaram o Rock Bar!",PlayerName(playerid)); SendClientMessage(i, 0x33FFFFAA, string); } } Dominando[playerid] = 0; Guerrandobar2 = 0; donobar2 = 1; KillTimer(TempoGuerrabar2); UpdateBarText(barexit[playerid]); return 1; } else { SendClientMessage(playerid, BRANCO_COR, "Voce nao esta no Rock Bar."); Dominando[playerid] = 0; Guerrandobar2 = 0; donobar2 = 0; KillTimer(TempoGuerrabar2); UpdateBarText(barexit[playerid]); return 1; } } return 1; } if(GetPlayerOrg(playerid) == 25) { if(Dominando[playerid] == 1) { if(barexit[playerid] == 2) { GetPlayerName(playerid, playername, MAX_PLAYER_NAME); foreach(Player, i) { if(PlayerInfo[i][pChatTerritorio] == 0) { format(string, sizeof(string), "%s e os Sons Of Anarchy Tomaram o Rock Bar!",PlayerName(playerid)); SendClientMessage(i, 0x535d7165, string); } } Dominando[playerid] = 0; Guerrandobar2 = 0; donobar2 = 2; KillTimer(TempoGuerrabar2); UpdateBarText(barexit[playerid]); return 1; } else { SendClientMessage(playerid, BRANCO_COR, "Voce nao esta no Rock Bar."); Dominando[playerid] = 0; Guerrandobar2 = 0; donobar2 = 0; KillTimer(TempoGuerrabar2); UpdateBarText(barexit[playerid]); return 1; } } return 1; } return true; } CallBack::Guerrabar3(playerid) { new string[128]; if(GetPlayerOrg(playerid) == 24) { if(Dominando[playerid] == 1) { if(barexit[playerid] == 3) { GetPlayerName(playerid, playername, MAX_PLAYER_NAME); foreach(Player, i) { if(PlayerInfo[i][pChatTerritorio] == 0) { format(string, sizeof(string), "%s e os Mayans Tomaram o Bar Conqui's!",PlayerName(playerid)); SendClientMessage(i, 0x33FFFFAA, string); } } Dominando[playerid] = 0; Guerrandobar3 = 0; donobar3 = 1; KillTimer(TempoGuerrabar3); UpdateBarText(barexit[playerid]); return 1; } else { SendClientMessage(playerid, BRANCO_COR, "Voce nao esta no Bar Conqui's."); Dominando[playerid] = 0; Guerrandobar3 = 0; donobar3 = 0; KillTimer(TempoGuerrabar3); UpdateBarText(barexit[playerid]); return 1; } } return 1; } if(GetPlayerOrg(playerid) == 25) { if(Dominando[playerid] == 1) { if(barexit[playerid] == 3) { GetPlayerName(playerid, playername, MAX_PLAYER_NAME); foreach(Player, i) { if(PlayerInfo[i][pChatTerritorio] == 0) { format(string, sizeof(string), "%s e os Sons Of Anarchy Tomaram o Bar Conqui's!",PlayerName(playerid)); SendClientMessage(i, 0x535d7165, string); } } Dominando[playerid] = 0; Guerrandobar3 = 0; donobar3 = 2; KillTimer(TempoGuerrabar3); UpdateBarText(barexit[playerid]); return 1; } else { SendClientMessage(playerid, BRANCO_COR, "Voce nao esta no Bar Conqui's."); Dominando[playerid] = 0; Guerrandobar3 = 0; donobar3 = 0; KillTimer(TempoGuerrabar3); UpdateBarText(barexit[playerid]); return 1; } } return 1; } return true; } CallBack::Guerrabar4(playerid) { new string[128]; if(GetPlayerOrg(playerid) == 24) { if(Dominando[playerid] == 1) { if(barexit[playerid] == 4) { GetPlayerName(playerid, playername, MAX_PLAYER_NAME); foreach(Player, i) { if(PlayerInfo[i][pChatTerritorio] == 0) { format(string, sizeof(string), "%s e os Mayans Tomaram o Bar Fifth's!",PlayerName(playerid)); SendClientMessage(i, 0x33FFFFAA, string); } } Dominando[playerid] = 0; Guerrandobar4 = 0; donobar4 = 1; KillTimer(TempoGuerrabar4); UpdateBarText(barexit[playerid]); return 1; } else { SendClientMessage(playerid, BRANCO_COR, "Voce nao esta no Bar Fifth's."); Dominando[playerid] = 0; Guerrandobar4 = 0; donobar4 = 0; KillTimer(TempoGuerrabar4); UpdateBarText(barexit[playerid]); return 1; } } return 1; } if(GetPlayerOrg(playerid) == 25) { if(Dominando[playerid] == 1) { if(barexit[playerid] == 4) { GetPlayerName(playerid, playername, MAX_PLAYER_NAME); foreach(Player, i) { if(PlayerInfo[i][pChatTerritorio] == 0) { format(string, sizeof(string), "%s e os Sons Of Anarchy Tomaram o Bar Fifth's!",PlayerName(playerid)); SendClientMessage(i, 0x535d7165, string); } } Dominando[playerid] = 0; Guerrandobar4 = 0; donobar4 = 2; KillTimer(TempoGuerrabar4); UpdateBarText(barexit[playerid]); return 1; } else { SendClientMessage(playerid, BRANCO_COR, "Voce nao esta no Bar Fifth's."); Dominando[playerid] = 0; Guerrandobar4 = 0; donobar4 = 0; KillTimer(TempoGuerrabar4); UpdateBarText(barexit[playerid]); return 1; } } return 1; } return true; } CallBack::Guerrabar5(playerid) { new string[128]; if(GetPlayerOrg(playerid) == 24) { if(Dominando[playerid] == 1) { if(barexit[playerid] == 5) { GetPlayerName(playerid, playername, MAX_PLAYER_NAME); foreach(Player, i) { if(PlayerInfo[i][pChatTerritorio] == 0) { format(string, sizeof(string), "%s e os Mayans Tomaram o Bar Lone's!",PlayerName(playerid)); SendClientMessage(i, 0x33FFFFAA, string); } } Dominando[playerid] = 0; Guerrandobar5 = 0; donobar5 = 1; KillTimer(TempoGuerrabar5); UpdateBarText(barexit[playerid]); return 1; } else { SendClientMessage(playerid, BRANCO_COR, "Voce nao esta no Bar Lone's."); Dominando[playerid] = 0; Guerrandobar5 = 0; donobar5 = 0; KillTimer(TempoGuerrabar5); UpdateBarText(barexit[playerid]); return 1; } } return 1; } if(GetPlayerOrg(playerid) == 25) { if(Dominando[playerid] == 1) { if(barexit[playerid] == 5) { GetPlayerName(playerid, playername, MAX_PLAYER_NAME); foreach(Player, i) { if(PlayerInfo[i][pChatTerritorio] == 0) { format(string, sizeof(string), "%s e os Sons Of Anarchy Tomaram o Bar Lone's!",PlayerName(playerid)); SendClientMessage(i, 0x535d7165, string); } } Dominando[playerid] = 0; Guerrandobar5 = 0; donobar5 = 2; KillTimer(TempoGuerrabar5); UpdateBarText(barexit[playerid]); return 1; } else { SendClientMessage(playerid, BRANCO_COR, "Voce nao esta no Bar Lone's."); Dominando[playerid] = 0; Guerrandobar5 = 0; donobar5 = 0; KillTimer(TempoGuerrabar5); UpdateBarText(barexit[playerid]); return 1; } } return 1; } return true; } CallBack::GuerraMafiaPorto(playerid) { if(!IsPlayerConnected(playerid) || GetPlayerOrg(playerid) < 1) { return GangZoneStopFlashForAll(GZPorto); } new org = GetPlayerOrg(playerid); if(ProvocoMafiaPorto[playerid] == 1) { new string[128]; if(IsPlayerInPorto(playerid)) { if(donomafiaporto < 1) { if(IsACop(playerid)) { format(string, sizeof string, "[Policial Federal]: %s retomou o controle do Porto", NomePlayer(playerid)); SendClientMessageToAll(0x91766296, string); }else { format(string, sizeof string, "[Mafioso]: %s e a %s tomaram o territorio do Porto", NomePlayer(playerid), GetOrgName(org)); SendClientMessageToAll(0x00660CC8, string); } } else { if(donomafiaporto != org) { if(IsACop(playerid)) { format(string, sizeof string, "[Policial Federal]: %s retomou o controle do Porto de Los Santos", NomePlayer(playerid)); SendClientMessageToAll(0x91766296, string); }else { format(string, sizeof string, "[Mafioso]: %s e a %s tomaram o territorio do Porto da %s", NomePlayer(playerid), GetOrgName(org), GetOrgName(donomafiaporto)); SendClientMessageToAll(GetPlayerColor(playerid), string); } format(string, sizeof string, "%s e a %s tomaram o Porto de voces, vao la e retomem o local", NomePlayer(playerid), GetOrgName(org)); SendFamilyMessage(donomafiaporto, GetPlayerColor(playerid), string); } } GangZoneStopFlashForAll(GZPorto); GangZoneShowForAll(GZPorto,GetPlayerGZColor(playerid)); Dominando[playerid]= 0; ProvocoMafiaPorto[playerid] = 0; donomafiaporto = org; DOF2_SetInt("gz.ini", "donomafiaporto", org); SendClientMessage(playerid, COLOR_GREY, "Esta area agora pertence a sua organizacao, voce ira ganhar dinheiro se manter o local sob seu controle"); } else { SendClientMessage(playerid, COLOR_GREY, "Voce nao esta no territorio do Porto."); Dominando[playerid]= 0; GangZoneStopFlashForAll(GZPorto); ProvocoMafiaPorto[playerid] = 0; } } return true; } CallBack::GuerraMafia(playerid) { if(!IsPlayerConnected(playerid) || GetPlayerOrg(playerid) < 1) { return GangZoneStopFlashForAll(GZMafia); } new org = GetPlayerOrg(playerid); if(ProvocoMafia[playerid] == 1) { new string[128]; if(IsPlayerInRoda(playerid)) { if(donomafia < 1) { if(IsACop(playerid)) { format(string, sizeof string, "[Policial Federal]: %s retomou o controle da Roda Gigante", NomePlayer(playerid)); SendClientMessageToAll(0x91766296, string); }else { format(string, sizeof string, "[Mafioso]: %s e a %s tomaram o territorio da Roda Gigante", NomePlayer(playerid), GetOrgName(org)); SendClientMessageToAll(0x00660CC8, string); } } else { if(donomafia != org) { if(IsACop(playerid)) { format(string, sizeof string, "[Policial Federal]: %s retomou o controle da Roda Gigante", NomePlayer(playerid)); SendClientMessageToAll(0x91766296, string); }else { format(string, sizeof string, "[Mafioso]: %s e a %s tomaram o territorio da Roda Gigante da %s", NomePlayer(playerid), GetOrgName(org), GetOrgName(donomafia)); SendClientMessageToAll(GetPlayerColor(playerid), string); } format(string, sizeof string, "%s e a %s tomaram a Roda Gigante de voces, vao la e retomem o local", NomePlayer(playerid), GetOrgName(org)); SendFamilyMessage(donomafia, GetPlayerColor(playerid), string); } } GangZoneStopFlashForAll(GZMafia); GangZoneShowForAll(GZMafia,GetPlayerGZColor(playerid)); Dominando[playerid]= 0; ProvocoMafia[playerid] = 0; donomafia = org; DOF2_SetInt("gz.ini", "donomafia", org); SendClientMessage(playerid, COLOR_GREY, "Esta area agora pertence a sua organizacao, voce ira ganhar dinheiro se manter o local sob seu controle"); } else { SendClientMessage(playerid, COLOR_GREY, "Voce nao esta no territorio da pista de skate."); Dominando[playerid]= 0; GangZoneStopFlashForAll(GZMafia); ProvocoMafia[playerid] = 0; } } return true; } CallBack::SBan(playerid, striing[], string2[]) { //new gstring[128]; new arquivo[88],tmp2[20], stri[64], ip[16], tmp4[20]; GetPlayerIp(playerid, ip, sizeof ip); format(arquivo, sizeof(arquivo), Pasta_Banidos,PlayerName(playerid)); getdate(Ano, Mes, Dia); format(tmp4, 20, "%2d/%2d/%4d", Dia, Mes, Ano); gettime(Hora, Minuto, Segundo); format(tmp2, 20, "%2d:%2d:%2d", Hora, Minuto, Segundo); format(gstring, 128, "[%2d/%2d/%2d] [%2d:%2d:%2d] %s IP:%s foi banido pelo admin %s, motivo: %s", v[2], v[1], v[0], v[3], v[4], v[5], PlayerName(playerid), ip, string2, striing); CNFLogs("sban", gstring); if(DOF2_FileExists(arquivo)) { KickCNF(playerid); } else { DOF2_CreateFile(arquivo); DOF2_SetString(arquivo,"Admin",string2); DOF2_SetString(arquivo,"Motivo",striing); DOF2_SetString(arquivo,"Data",tmp4); DOF2_SetString(arquivo,"Hora",tmp2); DOF2_SetString(arquivo,"IP",ip); DOF2_SaveFile(); format(stri, sizeof(stri), Pasta_IPsBanidos,ip); DOF2_CreateFile(stri); DOF2_SetString(stri,"Admin",string2); DOF2_SetString(stri,"Motivo",striing); DOF2_SetString(stri,"Data",tmp4); DOF2_SetString(stri,"Hora",tmp2); DOF2_SetString(stri,"Nick",PlayerName(playerid)); DOF2_SaveFile(); KickCNF(playerid); } return true; } CallBack::GranaTerritorios() { new string[128]; foreach(Player, i) { if(IsPlayerConnected(i)) { if(PlayerInfo[i][pMembro] != 0 || PlayerInfo[i][pLider] != 0) { new RandInicio = 600; new RandPedreira = RandInicio + random(350); if(donoMata == GetPlayerOrg(i)) // GROOVE { GivePlayerMoneyEx(i, RandPedreira); format(string, sizeof(string), "Agencia %s: {FFFFFF}Voce recebeu {00AA00}R$%d{FFFFFF}, Por manter a Mata Sobre Controle.",NomeORG(i),RandPedreira); SendClientMessage(i, COLOR_LIGHTBLUE, string); } if(donopedreira == GetPlayerOrg(i)) // GROOVE { GivePlayerMoneyEx(i, RandPedreira); format(string, sizeof(string), "Agencia %s: {FFFFFF}Voce recebeu {00AA00}R$%d{FFFFFF}, Por manter a Mata Sobre Controle.",NomeORG(i),RandPedreira); SendClientMessage(i, COLOR_LIGHTBLUE, string); } } } } return 1; } stock OrgPodeGuerriarPedreira(playerid,org) { new porg; if(PlayerInfo[playerid][pMembro] > 0) { porg = PlayerInfo[playerid][pMembro]; } if(PlayerInfo[playerid][pLider] > 0) { porg = PlayerInfo[playerid][pLider]; } if(org == 3) { if(porg == org) { return 1; } } if(org == 6) { if(porg == org) { return 1; } } if(org == 15) { if(porg == org) { return 1; } } if(org == 33) { if(porg == org) { return 1; } } return 0; } forward RespawnCarPedreira(); public RespawnCarPedreira() { new UsandoCar[MAX_VEHICLES]; foreach(Player, i) { if(IsPlayerConnected(i) && IsPlayerInAnyVehicle(i)) { UsandoCar[GetPlayerVehicleID(i)]= 1; } } for(new c = 0; c < MAX_VEHICLES; c++) { if(UsandoCar[c] != 1 && IsCarInPedreira(c)) { SetVehicleToRespawnEx(c); } } } stock IsPlayerInPedreira(playerid) { new Float:x,Float:y,Float:z; GetPlayerPos(playerid, x, y, z); if(x >= 452.9537 && y >= 652.5002 && x <= 828.2853 && y <= 1143.3212) return 1; // Pedreira else return 0; } stock PedreiraFlashForAll() { { GangZoneHideForAll(GZPedreira); GangZoneShowForAll(GZPedreira,0xF6F6F6C8); GangZoneFlashForAll(GZPedreira, 0xF60000C8); } } stock PedreiraFlashForPlayer(playerid) { { GangZoneHideForPlayer(playerid,GZPedreira); GangZoneShowForPlayer(playerid,GZPedreira, 0xF6F6F6C8); GangZoneFlashForPlayer(playerid,GZPedreira, 0xF60000C8); } } stock PedreiraShowForAll() { DefinirCorPedreira(); { GangZoneHideForAll(GZPedreira); GangZoneShowForAll(GZPedreira,Pedreira[Cor]); } } stock PedreiraShowForPlayer(playerid) { DefinirCorPedreira(); { GangZoneHideForPlayer(playerid,GZPedreira); GangZoneShowForPlayer(playerid,GZPedreira,Pedreira[Cor]); } } stock PedreiraHideForAll() { { GangZoneHideForAll(GZPedreira); } } stock PedreiraHideForPlayer(playerid) { { GangZoneHideForPlayer(playerid,GZPedreira); } } public DefinirCorPedreira() { if(Pedreira[Dono] == 0) { Pedreira[Cor] = 0xFFFFFF96; } if(Pedreira[Dono] == 3) { Pedreira[Cor] = COR_EXE; } if(Pedreira[Dono] == 15) { Pedreira[Cor] = 0xCC0196FF; } if(Pedreira[Dono] == 23) { Pedreira[Cor] = 0xffcc99FF; } if(Pedreira[Dono] == 29) { Pedreira[Cor] = 0x6E6E6E96; } } public IniciarGuerraPedreira() { KillTimer(IniciandoGuerraP); if(Pedreira[Guerra] >= 1) { return 1; } for(new o=0; o= 1) { for(new o=0; o= vencedorpontospedreira) { vencedorpontospedreira = PedreiraPontos[o]; } } for(new opt=0; opt= 1) { new org = GetPlayerOrg(i); if(OrgPodeGuerriarPedreira(i,org)) { if(IsPlayerInPedreira(i)) { PedreiraPontos[org] += 1; } } } } } return 1; } forward PedreiraP(); public PedreiraP() { new GDPstring[128]; foreach(Player, i) { if(IsPlayerConnected(i)) { if(IsPlayerInPedreira(i) && Pedreira[Guerra] >= 1) { format(GDPstring,sizeof(GDPstring),"~g~~h~Exercito ~w~- %d",PedreiraPontos[3]); TextDrawSetString(TextPedreira2, GDPstring); format(GDPstring,sizeof(GDPstring),"E.Islamico ~w~- %d",PedreiraPontos[15]); TextDrawSetString(TextPedreira3, GDPstring); format(GDPstring,sizeof(GDPstring),"~p~As FARC ~w~- %d",PedreiraPontos[23]); TextDrawSetString(TextPedreira4, GDPstring); TextDrawShowForPlayer(i, TextPedreira0); TextDrawShowForPlayer(i, TextPedreira1); TextDrawShowForPlayer(i, TextPedreira2); TextDrawShowForPlayer(i, TextPedreira3); TextDrawShowForPlayer(i, TextPedreira4); TextDrawShowForPlayer(i, TextPedreira5); TextDrawShowForPlayer(i, TextPedreira6); //pTextDrawFC[i] = 0; } else { TextDrawHideForPlayer(i, TextPedreira0); TextDrawHideForPlayer(i, TextPedreira1); TextDrawHideForPlayer(i, TextPedreira2); TextDrawHideForPlayer(i, TextPedreira3); TextDrawHideForPlayer(i, TextPedreira4); TextDrawHideForPlayer(i, TextPedreira5); TextDrawHideForPlayer(i, TextPedreira6); //pTextDrawFC[i] = 1; } } } return 1; } stock IsCarInPedreira(carid) { new Float:x,Float:y,Float:z; GetVehiclePos(carid, x, y, z); if(x >= 2202.403320 && y >= -1131.981933 && x <= 2322.403320 && y <= -1107.981933) return 1; // Pedreira else return 0; } CallBack::BanTemp(playerid, striing[], string2[]) { new arquivo[88], tmp2[20], stri[64], ip[16], tmp4[20]; new tMinuto[20], tSegundo[20], tHora[20], tDia[20], tMes[20], tAno[20], tData[20]; GetPlayerIp(playerid, ip, sizeof ip); format(arquivo, sizeof(arquivo), Pasta_BanidosTemp,PlayerName(playerid)); getdate(Ano, Mes, Dia); format(tmp4, 20, "%2d/%2d/%4d", Dia, Mes, Ano); gettime(Hora, Minuto, Segundo); format(tmp2, 20, "%2d:%2d:%2d", Hora, Minuto, Segundo); format(tHora, 20, "%02d", Hora); format(tMinuto, 20, "%02d", Minuto); format(tSegundo, 20, "%02d", Segundo); format(tDia, 20, "%02d", PlayerInfo[playerid][pDiaBanTemp]); format(tMes, 20, "%02d", PlayerInfo[playerid][pMesBanTemp]); format(tAno, 20, "%04d", PlayerInfo[playerid][pAnoBanTemp]); format(tData, 20, "%02d", PlayerInfo[playerid][pDataBanTemp]); // Conta---- DOF2_CreateFile(arquivo); DOF2_SetString(arquivo,"IP",ip); DOF2_SetString(arquivo,"Admin",string2); DOF2_SetString(arquivo,"Motivo",striing); DOF2_SetString(arquivo,"Data",tmp4); DOF2_SetString(arquivo,"Hora",tmp2); DOF2_SetString(arquivo,"DiaBanTemp",tDia); DOF2_SetString(arquivo,"MesBanTemp",tMes); DOF2_SetString(arquivo,"AnoBanTemp",tAno); DOF2_SetString(arquivo,"DataBanTemp",tData); DOF2_SetString(arquivo,"HoraBanTemp",tHora); DOF2_SetString(arquivo,"MinutoBanTemp",tMinuto); DOF2_SetString(arquivo,"SegundoBanTemp",tSegundo); DOF2_SetInt(arquivo,"TimeData",gettime()); DOF2_SaveFile(); // IP---- format(stri, sizeof(stri), Pasta_IPsBanidosTemp,ip); if(!DOF2_FileExists(stri))DOF2_CreateFile(stri); DOF2_SetString(stri,"Admin",string2); DOF2_SetString(stri,"Motivo",striing); DOF2_SetString(stri,"Data",tmp4); DOF2_SetString(stri,"Hora",tmp2); DOF2_SetString(stri,"Nick",PlayerName(playerid)); DOF2_SetString(stri,"DiaBanTemp",tDia); DOF2_SetString(stri,"MesBanTemp",tMes); DOF2_SetString(stri,"AnoBanTemp",tAno); DOF2_SetString(stri,"DataBanTemp",tData); DOF2_SetString(stri,"HoraBanTemp",tHora); DOF2_SetString(stri,"MinutoBanTemp",tMinuto); DOF2_SetString(stri,"SegundoBanTemp",tSegundo); DOF2_SetInt(stri,"TimeData",gettime()); DOF2_SaveFile(); KickCNF(playerid); return true; } CallBack::LoginAgora(playerid) { if(IsPlayerConnected(playerid)) { SetPVarInt(playerid, "VarAC", 1); logouagora[playerid] = 0; CarregandoI[playerid] = 0; if(PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pAdminTemp] >= 1 && PlayerInfo[playerid][pAdmin] <= 1342) { //ColocarAureola(playerid); } } } CallBack::Corrida() { if(pcorrida > 0) { pcorrida = 0; } } CallBack::CorridaOni() { if(pcorridaoni > 0) { pcorridaoni = 0; } } CallBack::Sinc() { if(psinc > 0) { psinc = 0; } } CallBack::Sequestrar() { if(psequestrar > 0) { psequestrar = 0; } } CallBack::Amarrar() { if(pamarrar > 0) { pamarrar = 0; } } CallBack::CheckOwnerb(playerid) { for(new i = 0; i < sizeof(BizzInfo); i++) { GetPlayerName(playerid,playername,sizeof(playername)); if(strcmp(playername,BizzInfo[i][bOwner],true)==0) { PlayerInfo[playerid][pPbiskey] = i; return true; } } for(new i = 0; i < sizeof(SBizzInfo); i++) { GetPlayerName(playerid,playername,sizeof(playername)); if(strcmp(playername,SBizzInfo[i][sbOwner],true)==0) { PlayerInfo[playerid][pPbiskey] = i+100; return true; } } PlayerInfo[playerid][pPbiskey] = 255; return true; } CallBack::CheckOwnerf(playerid) { for(new i = 0; i < sizeof(FBizzInfo); i++) { GetPlayerName(playerid,playername,sizeof(playername)); if(strcmp(playername,FBizzInfo[i][fbOwner],true)==0) { PlayerInfo[playerid][pPFazkey] = i; return true; } } PlayerInfo[playerid][pPFazkey] = 255; return true; } CallBack::CheckOwnerh(playerid) { for(new h = 0; h < sizeof(HouseInfo); h++) { GetPlayerName(playerid,playername,sizeof(playername)); if(strcmp(playername,HouseInfo[h][hOwner],true)==0 && HouseInfo[h][Created]) { PlayerInfo[playerid][pPHousekey] = h; SwitchKey[playerid] = 1; return true; } } PlayerInfo[playerid][pPHousekey] = 500; return true; } static stock SalvarCarros() { new strsave[33]; for(new idx = 0; idx < sizeof(CarInfo); idx ++) { format(strsave, sizeof strsave, Pasta_Carros, idx); DOF2_SetInt(strsave, "Modelo", CarInfo[idx][cModel]); DOF2_SetFloat(strsave, "CarroX", CarInfo[idx][cLocationx]); DOF2_SetFloat(strsave, "CarroY", CarInfo[idx][cLocationy]); DOF2_SetFloat(strsave, "CarroZ", CarInfo[idx][cLocationz]); DOF2_SetFloat(strsave, "CarroA", CarInfo[idx][cAngle]); DOF2_SetInt(strsave, "cor1", CarInfo[idx][cColorOne]); DOF2_SetInt(strsave, "cor2", CarInfo[idx][cColorTwo]); DOF2_SetString(strsave, "Dono", CarInfo[idx][cOwner]); DOF2_SetString(strsave, "Descricao", CarInfo[idx][cDescription]); DOF2_SetInt(strsave, "Valor", CarInfo[idx][cValue]); DOF2_SetInt(strsave, "Licence", CarInfo[idx][cLicense]); DOF2_SetInt(strsave, "TemDono", CarInfo[idx][cOwned]); DOF2_SetInt(strsave, "Trancado", CarInfo[idx][cLock]); DOF2_SetInt(strsave, "Grana", CarInfo[idx][cGrana]); DOF2_SetInt(strsave, "Entrada", CarInfo[idx][cEntrada]); DOF2_SetInt(strsave, "Date", CarInfo[idx][cDate]); DOF2_SetFloat(strsave, "OCarroX", CarInfo[idx][cOLocationx]); DOF2_SetFloat(strsave, "OCarroY", CarInfo[idx][cOLocationy]); DOF2_SetFloat(strsave, "OCarroZ", CarInfo[idx][cOLocationz]); DOF2_SetFloat(strsave, "OCarroA", CarInfo[idx][cOAngle]); DOF2_SaveFile(); } return true; } static stock SalvarCarro(idx) { new strsave[31]; format(strsave, sizeof strsave, Pasta_Carros, idx); if(DOF2_FileExists(strsave)) { DOF2_SetInt(strsave, "Modelo", CarInfo[idx][cModel]); DOF2_SetFloat(strsave, "CarroX", CarInfo[idx][cLocationx]); DOF2_SetFloat(strsave, "CarroY", CarInfo[idx][cLocationy]); DOF2_SetFloat(strsave, "CarroZ", CarInfo[idx][cLocationz]); DOF2_SetFloat(strsave, "CarroA", CarInfo[idx][cAngle]); DOF2_SetInt(strsave, "cor1", CarInfo[idx][cColorOne]); DOF2_SetInt(strsave, "cor2", CarInfo[idx][cColorTwo]); DOF2_SetString(strsave, "Dono", CarInfo[idx][cOwner]); DOF2_SetString(strsave, "Descricao", CarInfo[idx][cDescription]); DOF2_SetInt(strsave, "Valor", CarInfo[idx][cValue]); DOF2_SetInt(strsave, "Licence", CarInfo[idx][cLicense]); DOF2_SetInt(strsave, "TemDono", CarInfo[idx][cOwned]); DOF2_SetInt(strsave, "Trancado", CarInfo[idx][cLock]); DOF2_SetInt(strsave, "Grana", CarInfo[idx][cGrana]); DOF2_SetInt(strsave, "Entrada", CarInfo[idx][cEntrada]); DOF2_SetInt(strsave, "Date", CarInfo[idx][cDate]); DOF2_SetFloat(strsave, "OCarroX", CarInfo[idx][cOLocationx]); DOF2_SetFloat(strsave, "OCarroY", CarInfo[idx][cOLocationy]); DOF2_SetFloat(strsave, "OCarroZ", CarInfo[idx][cOLocationz]); DOF2_SetFloat(strsave, "OCarroA", CarInfo[idx][cOAngle]); DOF2_SaveFile(); } return true; } static stock CarregarCarros() { new strsave[32],string[256]; //new string[128]; new idx = 0; while(idx < sizeof(CarInfo)) { format(strsave, sizeof strsave, Pasta_Carros, idx); if(DOF2_FileExists(strsave)) { CarInfo[idx][cModel] = DOF2_GetInt(strsave, "Modelo"); CarInfo[idx][cLocationx] = DOF2_GetFloat(strsave, "CarroX"); CarInfo[idx][cLocationy] = DOF2_GetFloat(strsave, "CarroY"); CarInfo[idx][cLocationz] = DOF2_GetFloat(strsave, "CarroZ"); CarInfo[idx][cAngle] = DOF2_GetFloat(strsave, "CarroA"); CarInfo[idx][cColorOne] = DOF2_GetInt(strsave, "cor1"); CarInfo[idx][cOLocationx] = DOF2_GetFloat(strsave, "CarroX"); CarInfo[idx][cOLocationy] = DOF2_GetFloat(strsave, "CarroY"); CarInfo[idx][cOLocationz] = DOF2_GetFloat(strsave, "CarroZ"); CarInfo[idx][cOAngle] = DOF2_GetFloat(strsave, "CarroA"); CarInfo[idx][cColorTwo] = DOF2_GetInt(strsave, "cor2"); strmid(CarInfo[idx][cOwner], DOF2_GetString(strsave, "Dono"), 0 , strlen(DOF2_GetString(strsave, "Dono")), 255); strmid(CarInfo[idx][cDescription], DOF2_GetString(strsave, "Descricao"), 0, strlen(DOF2_GetString(strsave, "Descricao")), 255); CarInfo[idx][cValue] = DOF2_GetInt(strsave, "Valor"); CarInfo[idx][cLicense] = DOF2_GetInt(strsave, "Licence"); CarInfo[idx][cOwned] = DOF2_GetInt(strsave, "TemDono"); CarInfo[idx][cLock] = DOF2_GetInt(strsave, "Trancado"); CarInfo[idx][cGrana] = DOF2_GetInt(strsave, "Grana"); CarInfo[idx][cEntrada] = DOF2_GetInt(strsave, "Entrada"); CarInfo[idx][cDate] = DOF2_GetInt(strsave, "Date"); if(CarInfo[idx][cModel] == 0) { CarInfo[idx][cModel] = 559; } if(CarInfo[idx][cValue] == 0) { CarInfo[idx][cValue] = 10000; } if(CarInfo[idx][cEntrada] < 1000) { CarInfo[idx][cEntrada] = 1000; } CarInfo[idx][ownedvehicle] = AddStaticVehicleEx_Debug(CarInfo[idx][cModel], CarInfo[idx][cLocationx],CarInfo[idx][cLocationy],CarInfo[idx][cLocationz], CarInfo[idx][cAngle],CarInfo[idx][cColorOne],CarInfo[idx][cColorTwo],-1); if(strlen(CarInfo[idx][cDescription]) < 2){ strmid(CarInfo[idx][cDescription], "Nenhuma", 0, strlen("Nenhuma"), 255); } if(strlen(CarInfo[idx][cOwner]) < 2){ strmid(CarInfo[idx][cOwner], "Ninguem", 0, strlen("Ninguem"), 255); } if(CarInfo[idx][cOwned]) { format(string, sizeof string, "CNF {E0FFFF}Carro VIP{FFFFFF}\nDono: {E0FFFF}%s", CarInfo[idx][cOwner], CarInfo[idx][cDescription]); CarInfo[idx][cText] = Create3DTextLabel(string, 0xFFFFFFFF, 0.0, 0.0, 0.0, 10.0, 0); AtacharLabelToVeiculo(CarInfo[idx][cText], CarInfo[idx][ownedvehicle], 0.0, 0.0, 0.0); } else { CarInfo[idx][cText] = Create3DTextLabel("CNF {E0FFFF}Carro VIP{FFFFFF}\nDono: {E0FFFF}Ninguem", 0xffffaa, 0.0, 0.0, 0.0, 15.0, 0); AtacharLabelToVeiculo(CarInfo[idx][cText], CarInfo[idx][ownedvehicle], 0.0, 0.0, 0.0); } } idx++; } return idx; } CallBack::Checkproop() { new curdate = getdate(); new string[128]; for(new i = 1; i < sizeof(InfoOrg); i++) if(curdate > CofreOrg[i][DiaLider]) if(strcmp(InfoOrg[i][Lider], "Ninguem", true) == 0) { CofreOrg[i][DiaLider] = getdate()+300; } else { format(string, sizeof string, "ATENCAO: A organizacao [%s] agora esta sem lider.", GetNomeOrg(i)); SendClientMessageToAll(0xFFC06CFF, string); strmid(InfoOrg[i][Lider], "Ninguem", 0, strlen("Ninguem"), 255); format(string, sizeof(string), Pasta_MembrosOrg, i); DOF2_SetString(string,"Lider","Ninguem"); CofreOrg[i][DiaLider] = getdate()+300; DOF2_SaveFile(); format(InfoOrg[i][UL_Lider],128, "00/00/0000 as 00:00:00"); SalvarLoginOrg(i); } for(new h = 0; h < sizeof(HouseInfo); h++) if(HouseInfo[h][hOwned] == 1) if(curdate >= HouseInfo[h][hDate]+9) { HouseInfo[h][hHel] = 0; HouseInfo[h][hArm] = 0; HouseInfo[h][hHealthx] = 0; HouseInfo[h][hHealthy] = 0; HouseInfo[h][hHealthz] = 0; HouseInfo[h][hArmorrx] = 0; HouseInfo[h][hArmorry] = 0; HouseInfo[h][hArmorrz] = 0; HouseInfo[h][hLock] = 1; HouseInfo[h][hOwned] = 0; HouseInfo[h][hVcol1] = -1; HouseInfo[h][hVcol2] = -1; strmid(HouseInfo[h][hOwner], "O Estado", 0, strlen("O Estado"), 255); format(string, sizeof(string), "CASAS: A casa ID: %d foi liberada por inatividade do dono.",h); CNFLogs("casas", string); ABroadCast(0xC2A2DAFF,string, 1337); DestroyDynamicMapIcon(HouseInfo[h][hMapIcon]); HouseInfo[h][hMapIcon] = CreateDynamicMapIcon(HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez], 31, 0xE6E6E6E6, -1, -1, -1, 180.0); SaveCasa(h); Atualizar3Dtexts(); } //liberacao Empresas Automatico for(new b = 0; b < sizeof(BizzInfo); b++) if(BizzInfo[b][bOwned] == 1) if(curdate >= BizzInfo[b][bDate]+9) { BizzInfo[b][bLocked] = 0; BizzInfo[b][bOwned] = 0; strmid(BizzInfo[b][bOwner], "Ninguem", 0, strlen("Ninguem"), 255); strmid(BizzInfo[b][bExtortion], "Ninguem", 0, strlen("Ninguem"), 255); format(string, sizeof(string), "PROPRIEDADES: A empresa %d foi liberada por falta de produtos", b); SendClientMessageToAll(0xC2A2DAFF, string); CNFLogs("empresas", string); SalvarEmpresa(b); Atualizar3Dtexts(); } //liberacao SEmpresas Automatico for(new b = 0; b < sizeof(SBizzInfo); b++) if(SBizzInfo[b][sbOwned] == 1) if(curdate >= SBizzInfo[b][sbDate]+9) { SBizzInfo[b][sbLocked] = 0; SBizzInfo[b][sbOwned] = 0; strmid(SBizzInfo[b][sbOwner], "Ninguem", 0, strlen("Ninguem"), 255); strmid(SBizzInfo[b][sbExtortion], "Ninguem", 0, strlen("Ninguem"), 255); format(string, sizeof(string), "[Mobiliaria]: vendeu a s-empresa ID: %d", b); SendClientMessageToAll(0xC2A2DAFF, string); CNFLogs("empresas", string); SalvarSEmpresa(b); Atualizar3Dtexts(); } //liberacao Fazendas Automatico for(new b = 0; b < sizeof(FBizzInfo); b++) if(FBizzInfo[b][fbOwned] == 1) if(curdate >= FBizzInfo[b][fbDate]+9) { FBizzInfo[b][fbLocked] = 0; FBizzInfo[b][fbOwned] = 0; strmid(FBizzInfo[b][fbOwner], "Ninguem", 0, strlen("Ninguem"), 255); strmid(FBizzInfo[b][fbExtortion], "Ninguem", 0, strlen("Ninguem"), 255); format(string, sizeof(string), "FAZENDA: A fazenda %d foi liberada por falta de produtos", b); SendClientMessageToAll(0xC2A2DAFF, string); CNFLogs("empresas", string); SalvarFEmpresa(b); Atualizar3Dtexts(); } for(new idx; idx < sizeof(CarInfo); idx++) if(CarInfo[idx][cOwned] && curdate > CarInfo[idx][cDate]) { new string2[128]; CarInfo[idx][cLocationx] = CarInfo[idx][cOLocationx]; CarInfo[idx][cLocationy] = CarInfo[idx][cOLocationy]; CarInfo[idx][cLocationz] = CarInfo[idx][cOLocationz]; CarInfo[idx][cAngle] = CarInfo[idx][cOAngle]; CarInfo[idx][cModel] = 559; CarInfo[idx][cColorOne] = 1; CarInfo[idx][cColorTwo] = 1; strmid(CarInfo[idx][cOwner], "Ninguem", 0 , strlen("Ninguem"), 255); strmid(CarInfo[idx][cDescription], "Nenhuma", 0, strlen("Nenhuma"), 255); CarInfo[idx][cOwned] = 0; DestroyVehicleEx(CarInfo[idx][ownedvehicle]); CarInfo[idx][ownedvehicle] = CreateVehicleDebug(CarInfo[idx][cModel],CarInfo[idx][cLocationx],CarInfo[idx][cLocationy],CarInfo[idx][cLocationz]+1.0,CarInfo[idx][cAngle],CarInfo[idx][cColorOne],CarInfo[idx][cColorTwo], -1); format(string2, sizeof(string2), "CARROS: Um carro esta a venda por $%d", CarInfo[idx][cValue]); SendClientMessageToAll(0xC2A2DAFF, string2); Atualizar3DVeiculo(idx); SalvarCarro(idx); SetTimer("CheckCarros", 3000, 0); } return 1; } CallBack::PrestesExplodir(playerid) { if(GetPVarInt(playerid,"Explodir") == 1) { GetPlayerPos(playerid, Ax, Bx, Cx); for(new i; i < MAX_PLAYERS; i++) { if(IsPlayerInRangeOfPoint(i,8.0,Ax,Bx,Cx)) { SetPlayerHealth(i,0); PlayerPlaySound(i, 1057, Ax, Bx, Cx); } } new Nick[MAX_PLAYER_NAME]; new string[128]; GetPlayerName(playerid, Nick, sizeof(Nick)); CreateExplosion(Ax, Bx, Cx, 6, 50.0); StopPlayerHoldingObject(playerid); SetPVarInt(playerid, "Explodir", 0); printf("[Terrorista] Usou Homem Bomba"); format(string, sizeof(string), "Terrorista: %s se explodiu !", Nick); SendClientMessageToAll(GetPlayerColor(playerid), string); } return 1; } CallBack::CheckOwner(playerid) { // Veiculos new var03=0; for(new i = 0; i < sizeof(CarInfo); i++) { GetPlayerName(playerid,playername,sizeof(playername)); if(strcmp(playername,CarInfo[i][cOwner],true)==0) { if(PlayerInfo[playerid][pVeiculo] == 0) { PlayerInfo[playerid][pCarKey] = CarInfo[i][ownedvehicle]; PlayerInfo[playerid][pVeiculo] = i; CarInfo[i][cDate] = getdate()+10;//10 dias para liberar o carro var03=1; continue; } } } if(var03 == 0) { PlayerInfo[playerid][pCarKey] = 0; PlayerInfo[playerid][pVeiculo] = 0; } return true; } CallBack::SalarioPlayer(playerid) { if(PlayerInfo[playerid][pCargo] > 0 || PlayerInfo[playerid][pLider] > 0) { //new gstring[128]; if(PlayerInfo[playerid][pCargo] == 1) { new org = GetPlayerOrg(playerid); if(CofreOrg[org][salarioc1] == 0) { SendClientMessage(playerid, COLOR_LIGHTRED, "» Salario da organizacao(C1):Nao definido."); return 1; } if(CofreOrg[org][Dinheiro] < CofreOrg[org][salarioc1]) { SendClientMessage(playerid, COLOR_LIGHTRED, "» Sua organizacao nao pode pagar o seu Salario neste PayDay"); return 1; } PlayerInfo[playerid][pConta]=CofreOrg[org][salarioc1]+PlayerInfo[playerid][pConta]; CofreOrg[org][Dinheiro] -= CofreOrg[org][salarioc1]; format(gstring, sizeof(gstring), "| Salario da organizacao: {41DD36}R$%d", CofreOrg[org][salarioc1]); SendClientMessage(playerid, COLOR_GRAD1, gstring); SacarGranaOrg(org,CofreOrg[org][salarioc1]); } if(PlayerInfo[playerid][pCargo] == 2) { new org = GetPlayerOrg(playerid); if(CofreOrg[org][salarioc2] == 0) { SendClientMessage(playerid, COLOR_LIGHTRED, "» Salario da organizacao(C2):Nao definido."); return 1; } if(CofreOrg[org][Dinheiro] < CofreOrg[org][salarioc2]) { SendClientMessage(playerid, COLOR_LIGHTRED, "» Sua organizacao nao pode pagar o seu Salario neste PayDay"); return 1; } PlayerInfo[playerid][pConta]=CofreOrg[org][salarioc2]+PlayerInfo[playerid][pConta]; CofreOrg[org][Dinheiro] -= CofreOrg[org][salarioc2]; format(gstring, sizeof(gstring), "| Salario da organizacao: {41DD36}R$%d", CofreOrg[org][salarioc2]); SendClientMessage(playerid, COLOR_LIGHTBLUE, gstring); SacarGranaOrg(org,CofreOrg[org][salarioc2]); } if(PlayerInfo[playerid][pCargo] == 3) { new org = GetPlayerOrg(playerid); if(CofreOrg[org][salarioc3] == 0) { SendClientMessage(playerid, COLOR_LIGHTRED, "» Salario da organizacao(C3):Nao definido."); return 1; } if(CofreOrg[org][Dinheiro] < CofreOrg[org][salarioc3]) { SendClientMessage(playerid, COLOR_LIGHTRED, "» Sua organizacao nao pode pagar o seu Salario neste PayDay"); return 1; } PlayerInfo[playerid][pConta]=CofreOrg[org][salarioc3]+PlayerInfo[playerid][pConta]; CofreOrg[org][Dinheiro] -= CofreOrg[org][salarioc3]; format(gstring, sizeof(gstring), "| Salario da organizacao: {41DD36}R$%d", CofreOrg[org][salarioc3]); SendClientMessage(playerid, COLOR_LIGHTBLUE, gstring); SacarGranaOrg(org,CofreOrg[org][salarioc3]); } if(PlayerInfo[playerid][pCargo] == 4) { new org = GetPlayerOrg(playerid); if(CofreOrg[org][salarioc4] == 0) { SendClientMessage(playerid, COLOR_LIGHTRED, "» Salario da organizacao(C4):Nao definido."); return 1; } if(CofreOrg[org][Dinheiro] < CofreOrg[org][salarioc4]) { SendClientMessage(playerid, COLOR_LIGHTRED, "» Sua organizacao nao pode pagar o seu Salario neste PayDay"); return 1; } PlayerInfo[playerid][pConta]=CofreOrg[org][salarioc4]+PlayerInfo[playerid][pConta]; CofreOrg[org][Dinheiro] -= CofreOrg[org][salarioc4]; format(gstring, sizeof(gstring), "| Salario da organizacao: {41DD36}R$%d", CofreOrg[org][salarioc4]); SendClientMessage(playerid, COLOR_LIGHTBLUE, gstring); SacarGranaOrg(org,CofreOrg[org][salarioc4]); } if(PlayerInfo[playerid][pCargo] == 5) { new org = GetPlayerOrg(playerid); if(CofreOrg[org][salarioc5] == 0) { SendClientMessage(playerid, COLOR_LIGHTRED, "» Salario da organizacao(C5+):Nao definido."); return 1; } if(CofreOrg[org][Dinheiro] < CofreOrg[org][salarioc5]) { SendClientMessage(playerid, COLOR_LIGHTRED, "Sua organizacao nao pode pagar o seu Salario neste PayDay"); return 1; } PlayerInfo[playerid][pConta]=CofreOrg[org][salarioc5]+PlayerInfo[playerid][pConta]; CofreOrg[org][Dinheiro] -= CofreOrg[org][salarioc5]; format(gstring, sizeof(gstring), "| Salario da organizacao: {41DD36}R$%d", CofreOrg[org][salarioc2]); SendClientMessage(playerid, COLOR_LIGHTBLUE, gstring); SacarGranaOrg(org,CofreOrg[org][salarioc5]); } if(PlayerInfo[playerid][pCargo] == 6 || PlayerInfo[playerid][pLider] > 0) { new org = GetPlayerOrg(playerid); if(CofreOrg[org][salariolider] == 0) { SendClientMessage(playerid, COLOR_LIGHTRED, "» Salario da organizacao(Lider):Nao definido."); return 1; } if(CofreOrg[org][Dinheiro] < CofreOrg[org][salariolider]) { SendClientMessage(playerid, COLOR_LIGHTRED, "» Sua organizacao nao pode pagar o seu Salario neste PayDay"); return 1; } PlayerInfo[playerid][pConta]=CofreOrg[org][salariolider]+PlayerInfo[playerid][pConta]; CofreOrg[org][Dinheiro] -= CofreOrg[org][salariolider]; format(gstring, sizeof(gstring), "| Salario da organizacao: {41DD36}R$%d", CofreOrg[org][salariolider]); SendClientMessage(playerid, COLOR_LIGHTBLUE, gstring); SacarGranaOrg(org,CofreOrg[org][salariolider]); } } return true; } CallBack::Sincronizar(playerid) { if(IsPlayerConnected(playerid)) { SetPlayerPos(playerid,xx[playerid],yy[playerid],zz[playerid]); SetPlayerFacingAngle(playerid,FaceAngle[playerid]); SetPlayerHealth(playerid,PlayerHPP[playerid]); SetPlayerVirtualWorld(playerid,virt[playerid]); SetPlayerInterior(playerid,interior[playerid]); SetPlayerSkin(playerid,skinneg[playerid]); SetPlayerArmour(playerid,APP[playerid]); ResetPlayerWeapons(playerid); GivePlayerWeapon(playerid,gunsinc[1][playerid],ammoo[1][playerid]); GivePlayerWeapon(playerid,gunsinc[2][playerid],ammoo[2][playerid]); GivePlayerWeapon(playerid,gunsinc[3][playerid],ammoo[3][playerid]); GivePlayerWeapon(playerid,gunsinc[4][playerid],ammoo[4][playerid]); GivePlayerWeapon(playerid,gunsinc[5][playerid],ammoo[5][playerid]); GivePlayerWeapon(playerid,gunsinc[6][playerid],ammoo[6][playerid]); GivePlayerWeapon(playerid,gunsinc[7][playerid],ammoo[7][playerid]); GivePlayerWeapon(playerid,gunsinc[8][playerid],ammoo[8][playerid]); GivePlayerWeapon(playerid,gunsinc[9][playerid],ammoo[9][playerid]); GivePlayerWeapon(playerid,gunsinc[10][playerid],ammoo[10][playerid]); GivePlayerWeapon(playerid,gunsinc[11][playerid],ammoo[11][playerid]); GivePlayerWeapon(playerid,gunsinc[12][playerid],ammoo[12][playerid]); if(vehicledd[playerid] == 1) { PutPlayerInVehicle(playerid,VehicleIDD[playerid],1); vehicledd[playerid] = 0; } sincronizando[playerid] = 0; KillTimer(TempoSinc); SendClientMessage(playerid,COLOR_YELLOW," Sincronizado com sucesso!"); } } public OnPlayerClickPlayer(playerid, clickedplayerid, source) { if(gPlayerLogged[playerid] == 0) { return SendClientMessage(playerid, 0xff6347FF, "* Voce nao esta conectado."); } new string[128]; new pstring[128]; BPFInfo[playerid][Tels] = 0; BPFInfo[playerid][pTels] = 0; GetPlayerName(clickedplayerid, plname, sizeof(plname)); format(string, sizeof(string), "{FFFFFF}Acao para:{6E6E6E} %s",plname); format(pstring, sizeof(pstring), "{FFFFFF}Ligar {6E6E6E}Telefonar para o jogador\n{FFFFFF}Mandar SMS {6E6E6E}Enviar mensagem de texto"); if(PlayerInfo[clickedplayerid][pAdmin] >= 1) { format(pstring, sizeof(pstring), "Telefonar\nMandar SMS\nRelatorio Particular"); } if(PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pAdminTemp] >= 1) { format(pstring, sizeof(pstring), "Telefonar\nMandar SMS\n\nParticular\nVer Carteira\nExplodir\nTapa\nKickar\nBanir\nCascudo\nTV\nTrazer\nIR"); } ShowPlayerDialog(playerid, 3, DIALOG_STYLE_LIST, string, pstring, "Confirmar", "Cancelar"); format(string, 128, "Nick: %s",plname); SendClientMessage(playerid, COLOR_GRAD1, string); BPFInfo[playerid][Tels] = PlayerInfo[clickedplayerid][pPnumber]; BPFInfo[playerid][pTels] = clickedplayerid; return 1; } CallBack::RemoveParedao(playerid) { DestroyObject(Paredao[playerid]); PlantouParedao[playerid] = 0; } CallBack::OnSelect(playerid) { return SelectTextDraw(playerid, 0x00FFFFFF); } CallBack::GuerraTerrorista() { UpdateTextGuerra(); ShowGuerra(); if(TempoGuerra > 0)TempoGuerra --; if(TempoGuerra < 1) { EndGuerra(); } return true; } stock EndGuerra() { new Str[128]; GangZoneDestroy(GZGuerra); HideGuerra(); TendoGuerra = 0; KillTimer(TimerGuerra); //SendClientMessageToAll(-1, "~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*"); if(PSG[3] > PSG[15] && PSG[3] > PSG[23]) { SendClientMessageToAll(-1, "[GUERRA] A Guerra foi finalizada com sucesso pela organizacao: {FFFF00}[Exercito]"); DepositarGranaOrg(3, GranaGuerra); } else if(PSG[15] > PSG[3] && PSG[15] > PSG[23]) { SendClientMessageToAll(-1, "[GUERRA] A Guerra foi finalizada com sucesso pela organizacao: {FFFF00}[Estado Islâmico]"); DepositarGranaOrg(15, GranaGuerra); } else if(PSG[23] > PSG[3] && PSG[23] > PSG[15]) { SendClientMessageToAll(-1, "[GUERRA] A Guerra foi finalizada com sucesso pela organizacao: {FFFF00}[As FARC]"); DepositarGranaOrg(23, GranaGuerra); } else { SendClientMessageToAll(-1, "[GUERRA] Houve um empate na Guerra, e nenhuma organizacao saiu vencedora!"); } format(Str, sizeof Str,"[GUERRA] A Area proxima a: %s pode ser Habitada novamente.", GuerraName); SendClientMessageToAll(-1, Str); //SendClientMessageToAll(-1, "~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*"); return 1; } stock LoadStuff() { new arrCoords[19][64]; new strFromFile2[100]; new File: file = fopen("stuff.ini", io_read); if (file) { fread(file, strFromFile2); split(strFromFile2, arrCoords, ','); Jackpot = strval(arrCoords[0]); Tax = strval(arrCoords[1]); TaxValue = strval(arrCoords[2]); PLE = strval(arrCoords[7]); PLO = strval(arrCoords[8]); PLPG = strval(arrCoords[9]); PMA = strval(arrCoords[10]); PTC = strval(arrCoords[11]); PLV = strval(arrCoords[12]); PMC = strval(arrCoords[13]); PMH = strval(arrCoords[14]); PME = strval(arrCoords[15]); PRE = strval(arrCoords[16]); PCE = strval(arrCoords[17]); PDU = strval(arrCoords[18]); fclose(file); } return 1; } stock SaveStuff() { new coordsstring[100]; format(coordsstring, sizeof(coordsstring), "%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d", Jackpot, Tax, TaxValue, PLE, PLO, PLPG, PMA, PTC, PLV, PMC, PMH, PME, PRE, PCE, PDU); new File: file2 = fopen("stuff.ini", io_write); fwrite(file2, coordsstring); fclose(file2); return 1; } public OnGameModeExit() { for(new i = 0; i < MAX_FREQUENCIAS; i++) { SvDeleteStream(Frequencia[i]); } for(new dest = 0; dest < sizeof(TxDCelular); dest++){ TextDrawDestroy(TxDCelular[dest]); } SalvarSalariosEmp(); for(new i; i < sizeof(ConceTxD); i++) { TextDrawDestroy(ConceTxD[i]); } //CreateDynamicObject(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = STREAMER_OBJECT_SD, Float:drawdistance = STREAMER_OBJECT_DD, STREAMER_TAG_AREA areaid = STREAMER_TAG_AREA -1, priority = 0) if (gstream) SvDeleteStream(gstream); SalvarRadares(); SalvarSenhaAdmin(); for(new abi = 0; abi < 28; abi++) { TextDrawDestroy(CaixaEletroCNF[abi]); } destroyTelaLoginGeral(); db_close(Database); SaveAccounts(); SalvarObjetos(); DOF2_Exit(); SaveTrunk(); SalvarPlantacao(); KillTimer(faztime); foreach(Player, x) { if(gPlayerLogged[x]) { OnPlayerSave(x); SaveObjects(x); gPlayerLogged[x] = 0; LogadoSV[x] = 0; } } if(!MensagemDesligou) { SendClientMessageToAll(0xFE85E0AA,"SERVER: {FFFFFF}Servidor desligado manualmente."); } SaveFamiliasEx(); Elevator_Destroy(); SalvarLogados(); SalvarCaixas(); SalvarPortoes(); SalvarSEmpresas(); SalvarEmpresas(); SalvarFEmpresas(); SaveStuff(); getdate(v[0], v[1], v[2]); gettime(v[3], v[4], v[5]); print("\n================================================================="); printf("Servidor Desligado: [%02d/%02d/%d %02d:%02d:%02d]", v[2], v[1], v[0], v[3], v[4], v[5]); print("=================================================================\n"); DOF2_Exit(); EleicoesOnSave(); SaveEleicoes(); SalvarSalariosEmp(); //MapAndreas_Unload(); return true; } CallBack::CheckAFK() { foreach(Player, i) { if(IsPlayerConnected(i)) { new Float:x, Float:y, Float:z, Float:Facingangleafk; if(PlayerInfo[i][pJailed] == 10) { GetPlayerPos(i, x, y, z); GetPlayerFacingAngle(i, Facingangleafk); //AUMENTA UN MINUTO DI AFK DEL PLAYER if(x == PlayerUpdateInfo[i][posxafk] && y == PlayerUpdateInfo[i][posyafk] && z == PlayerUpdateInfo[i][poszafk] && Facingangleafk == PlayerUpdateInfo[i][angleafk]) { PlayerInactivity[i]++; if(PlayerInactivity[i] >= AFK_TIME2) { new nome[MAX_PLAYER_NAME], string[128]; GetPlayerName(i,nome,sizeof(nome)); format(string, sizeof(string), "[KICK]: %s foi kickado Automaticamente, Motivo: Inatividade", nome); SendClientMessageToAll(COLOR_LIGHTRED, string); PlayerInfo[i][pJailTime] += 130; SendClientMessage(i, 0xFFA500F6,"Nao Fique Afk!"); KickCNF(i); return 1; } } } if(AFKon == false) return 1; if(PlayerInfo[i][pAdmin] >= 1) return 1; GetPlayerPos(i, x, y, z); GetPlayerFacingAngle(i, Facingangleafk); //AUMENTA UN MINUTO DI AFK DEL PLAYER if(x == PlayerUpdateInfo[i][posxafk] && y == PlayerUpdateInfo[i][posyafk] && z == PlayerUpdateInfo[i][poszafk] && Facingangleafk == PlayerUpdateInfo[i][angleafk]) { PlayerInactivity[i]++; if(PlayerInactivity[i] >= AFK_TIME) { new nome[MAX_PLAYER_NAME], string[128]; GetPlayerName(i,nome,sizeof(nome)); format(string, sizeof(string), "[KICK]: %s foi kickado Automaticamente, Motivo: Inatividade", nome); SendClientMessageToAll(COLOR_LIGHTRED, string); SendClientMessage(i, 0xFFA500F6,"Kikado por Inatividade"); KickCNF(i); return 1; } } else { PlayerInactivity[i] = 0; } //SALVA LE ATTUALI INFO GetPlayerPos(i, PlayerUpdateInfo[i][posxafk], PlayerUpdateInfo[i][posyafk], PlayerUpdateInfo[i][poszafk]); GetPlayerFacingAngle(i, PlayerUpdateInfo[i][angleafk]); } } return 0; } static stock ReturnPlayerZone(playerid) { new location[MAX_ZONE_NAME]; GetPlayer2DZone(playerid, location, MAX_ZONE_NAME); return location; } stock HexToInt(string[]) { if (string[0] == 0) { return 0; } new i; new cur = 1; new res = 0; for (i = strlen(string); i > 0; i--) { if (string[i-1] < 58) { res = res + cur * (string[i - 1] - 48); } else { res = res + cur * (string[i-1] - 65 + 10); cur = cur * 16; } } return res; } stock GetPlayerColorEx1(playerid) { new color[85]; new idorg = GetPlayerOrg(playerid); switch(idorg) { case 1:color = "9fa4e8"; case 2:color = "3e3d3d"; case 3:color = "00660C"; case 4:color = "F78181"; case 5:color = "337EFF"; case 6:color = "FBC63F"; case 7:color = "6699FF"; case 8:color = "BDBDBD"; case 9:color = "ffe99e"; case 10:color = "33FFFF"; case 11:color = "917662"; case 12:color = "FF6200"; case 13:color = "00483A"; case 14:color = "00da1c"; case 15:color = "6E6E6E"; case 16:color = "408080"; case 17:color = "c640dd"; case 18:color = "DEBC00"; case 19:color = "FF3636"; case 20:color = "556B2F"; case 21:color = "aae237"; case 22:color = "A4D1FF"; case 23:color = "CC0196"; case 24:color = "961e32"; case 25:color = "535d71"; case 26:color = "DEB887"; case 27:color = "9fa4e8"; case 28:color = "FFFF00"; case 30:color = "33FFFF"; case 31:color = "F78181"; case 32:color = "ffe99e"; case 33:color = "906000"; case 34:color = "FF6200"; case 35:color = "114411"; case 36:color = "A52A2A"; case 37:color = "8B0000"; case 38:color = "FFFFFF"; default:color = "FFFFFF"; } return color; } forward PlayerBanALL(playerid); public PlayerBanALL(playerid) { if(BaniuPlayer[playerid] >= 1) BaniuPlayer[playerid] = 0; } static stock NomeORG(playerid) { new name[36]; new idorg = GetPlayerOrg(playerid); switch(idorg) { case 1:name = "Policia Militar"; case 2:name = "BOPE"; case 3:name = "Exercito"; case 4:name = "Medicos"; case 5:name = "Tropa da Franca"; case 6:name = "GATE"; case 7:name = "Governo"; case 8:name = "Hitmans"; case 9:name = "Reporteres"; case 10:name = "Amigos dos Amigos"; case 11:name = "Policia Federal"; case 12:name = "Mafia Cosa Nostra"; case 13:name = "Mafia Yakuza"; case 14:name = "Black Elements"; case 15:name = "Estado Islâmico"; case 16:name = "ROTA"; case 17:name = "Ballas"; case 18:name = "Los Vagos"; case 19:name = "Comando Vermelho"; case 20:name = "Mafia Russa"; case 21:name = "PCC"; case 22:name = "The Triad"; case 23:name = "As FARC"; case 24:name = "Mayans"; case 25:name = "Sons Of Anarchy"; case 26:name = "Milicia"; case 27:name = "Destroyers"; case 28:name = "Hells Angels"; case 33:name = "Policia Civil"; case 34:name = "Detran"; case 35:name = "BAEP"; case 36:name = "Forca Tatica"; case 37:name = "Tropa Da Turquia"; case 38:name = "Tropa Da Escocia"; default:name = "Civil"; } return name; } static stock TagOrgs(playerid) { new name[36]; new idorg = GetPlayerOrg(playerid); switch(idorg) { case 1:name = "{FF4500}[PM]"; case 2:name = "{FF4500}[BOPE]"; case 3:name = "{FF4500}[E.B]"; case 4:name = "{FF4500}[MEDICOS]"; case 5:name = "{FF4500}[L.A]"; case 6:name = "{FF4500}[GATE]"; case 7:name = "{FF4500}[GOV]"; case 8:name = "{FF4500}[HIT]"; case 9:name = "{FF4500}[R.P]"; case 10:name = "{FF4500}[ADA]"; case 11:name = "{FF4500}[P.F]"; case 12:name = "{FF4500}[CN]"; case 13:name = "{FF4500}[YKZ]"; case 14:name = "{FF4500}[B.E]"; case 15:name = "{FF4500}[E.I]"; case 16:name = "{FF4500}[ROTA]"; case 17:name = "{FF4500}[BALLAS]"; case 18:name = "{FF4500}[L.V]"; case 19:name = "{FF4500}[C.V]"; case 20:name = "{FF4500}[RUSSA]"; case 21:name = "{FF4500}[PCC]"; case 22:name = "{FF4500}[TRIAD]"; case 23:name = "{FF4500}[FARC]"; case 24:name = "{FF4500}[MAYANS]"; case 25:name = "{FF4500}[SOA]"; case 26:name = "{FF4500}[MILICIA]"; case 28:name = "{FF4500}[H.A]"; case 33:name = "{FF4500}[P.C]"; case 34:name = "{FF4500}[DETRAN]"; case 35:name = "{FF4500}[BAEP]"; case 36:name = "{FF4500}[F.T]"; case 37:name = "{FF4500}[T.D.T]"; case 38:name = "{FF4500}[T.D.E]"; default:name = "{FF4500}[CIVIL]"; } return name; } static stock AbrevORG(playerid) { new name[36]; new idorg = GetPlayerOrg(playerid); switch(idorg) { case 1:name = "Policia Militar"; case 2:name = "BOPE"; case 3:name = "Exercito"; case 4:name = "Medicos"; case 5:name = "Tropa da Franca"; case 6:name = "GATE"; case 7:name = "Governo"; case 8:name = "Hitmans"; case 9:name = "Reporteres"; case 10:name = "Amigos dos Amigos"; case 11:name = "Policia Federal"; case 12:name = "Mafia Cosa Nostra"; case 13:name = "Mafia Yakuza"; case 14:name = "Black Elements"; case 15:name = "Estado Islâmico"; case 16:name = "ROTA"; case 17:name = "Ballas"; case 18:name = "Los Vagos"; case 19:name = "Comando Vermelho"; case 20:name = "Mafia Russa"; case 21:name = "PCC"; case 22:name = "The Triad"; case 23:name = "As FARC"; case 24:name = "Mayans"; case 25:name = "Sons Of Anarchy"; case 26:name = "Milicia"; case 27:name = "Destroyers"; case 28:name = "Hells Angels"; case 33:name = "Policia Civil"; case 34:name = "DETRAN"; case 35:name = "BAEP"; case 36:name = "F.T"; case 37:name = "Tropa Da Turquia"; case 38:name = "Tropa Da Escocia"; default:name = "Civil"; } return name; } static stock NomeLiderORG(playerid) { new name[36]; new idorg = GetPlayerOrg(playerid); switch(idorg) { case 1:name = "da Policia Militar"; case 2:name = "do BOPE"; case 3:name = "do Exercito"; case 4:name = "dos Medicos"; case 5:name = "da Tropa da Franca"; case 6:name = "do GATE"; case 7:name = "da Governo"; case 8:name = "dos Hitmans"; case 9:name = "dos Reporteres"; case 10:name = "dos Amigos dos Amigos"; case 11:name = "da Policia Federal"; case 12:name = "da Mafia Cosa Nostra"; case 13:name = "da Mafia Yakuza"; case 14:name = "Black Elements"; case 15:name = "da Estado Islâmico"; case 16:name = "da ROTA"; case 17:name = "dos Ballas"; case 18:name = "do Los Vagos"; case 19:name = "do Comando Vermelho"; case 20:name = "da Mafia Russa"; case 21:name = "do PCC"; case 22:name = "dos The Triads"; case 23:name = "dos As FARC"; case 24:name = "da Mayans"; case 25:name = "dos Sons Of Anarchy"; case 26:name = "da Milicia"; case 33:name = "da Policia Civil"; case 34:name = "dos DETRAN"; case 35:name = "Dos BAEP"; case 36:name = "Da Forca Tatica"; case 37:name = "Da Tropa Da Turquia"; case 38:name = "Da Tropa Da Escocia"; default:name = "do Civil"; } return name; } static stock GetNomeOrg(idorg) { new name[36]; switch(idorg) { case 1:name = "Policia Militar"; case 2:name = "BOPE"; case 3:name = "Exercito"; case 4:name = "Medicos"; case 5:name = "Tropa da Franca"; case 6:name = "GATE"; case 7:name = "Governo"; case 8:name = "Hitmans"; case 9:name = "Reporteres"; case 10:name = "San Fierro Rifas"; case 11:name = "Policia Federal"; case 12:name = "Mafia Cosa Nostra"; case 13:name = "Mafia Yakuza"; case 14:name = "Black Elements"; case 15:name = "Estado Islâmico"; case 16:name = "ROTA(LV)"; case 17:name = "Ballas"; case 18:name = "Los Vagos"; case 19:name = "Comando Vermelho"; case 20:name = "Mafia Russa(LV)"; case 21:name = "PCC"; case 22:name = "The Triad"; case 23:name = "As FARC"; case 24:name = "Mayans"; case 25:name = "Sons Of Anarchy"; case 26:name = "Milicia(LV)"; case 27:name = "Destroyers"; case 28:name = "Hells Angels"; case 33:name = "Policia Civil"; case 34:name = "DETRAN"; case 35:name = "BAEP"; case 36:name = "Forca Tatica"; case 37:name = "Tropa Da Turquia"; case 38:name = "Tropa Da Escocia"; default:name = "Civil"; } return name; } static stock SendMessageToOthersAdmins(playerid, color, const message[]) { new ret=0; foreach(Player, i) { if (i!=playerid && PlayerInfo[i][pAdmin] > 0) { SendClientMessage(i, color, message); ret++; } if (i!=playerid && PlayerInfo[i][pAdminTemp] > 0) { SendClientMessage(i, color, message); ret++; } } return ret; } public OnVehicleSpawn(vehicleid) { DestroyObject(obj[vehicleid]); DestroyObject(obj2[vehicleid]); Flasher[vehicleid] = 0; for(new m = 0; m < MAX_MODS; m++) { if (VehicleInfo[vehicleid][vMod][m] > 0) { if(VehicleInfo[vehicleid][vMod][m] == 1086) PutSound(vehicleid); AddVehicleComponent(vehicleid,VehicleInfo[vehicleid][vMod][m]); } } if (VehicleInfo[vehicleid][vPaintjob] > -1) { ChangeVehiclePaintjob(vehicleid,VehicleInfo[vehicleid][vPaintjob]); } new mot, lu, alar, por, cap, porma, ob; GetVehicleParamsEx(vehicleid, mot, lu, alar, por, cap, porma, ob); SetVehicleParamsEx(vehicleid, VEHICLE_PARAMS_OFF, lu, alar, por, cap, porma, ob); MotorLigado[vehicleid] = false; if(GetVehicleModel(vehicleid) == 510) { SetVehicleParamsEx(vehicleid, VEHICLE_PARAMS_ON, lu, alar, por, cap, porma, ob); } DestroyObject(Fogando[vehicleid]); Fogando[vehicleid] = 0; PegouF[vehicleid] = 0; if(Cblindado[vehicleid] >= 1) { Cblindado[vehicleid] = 0; Blindagem[vehicleid] = 0; } Blindagem[vehicleid] = 0; if(GetVehicleModel(vehicleid) == 432) { Cblindado[vehicleid] = 1; Blindagem[vehicleid] = 1000; } return true; } public OnVehicleStreamIn(vehicleid, forplayerid) { if (VTrancado[vehicleid] >= 1) { SetVehicleParamsForPlayer(vehicleid,forplayerid, 0, 1); } else { SetVehicleParamsForPlayer(vehicleid,forplayerid, 0, 0); } if(MecanicMission[forplayerid] && vehicleid == VehicleMission[forplayerid]) { SetVehicleParamsForPlayer(vehicleid, forplayerid, 1, 1); } return true; } CallBack::LockCar(carid) { foreach(Player, i) { SetVehicleParamsForPlayer(carid,i,0,1); gCarLock[carid] = 1; } } CallBack::InitLockDoors(playerid) { new c; while (c < 254) { c++; if (gCarLock[c] == 1) { SetVehicleParamsForPlayer(c,playerid,0,1); } } return 1; } CallBack::AChatAtendimento(COLOR,const string[],level) { for(new i = 0; i < MAX_PLAYERS; ++i) { if(IsPlayerConnected(i)) { if(NumeroChatAtendimento[i] == level) { if (ChatAtendimento[i] > 0) { SendClientMessage(i, COLOR, string); } } } } return 1; } CallBack::UnLockCar(carid) { foreach(Player, i) { SetVehicleParamsForPlayer(carid,i,0,0); gCarLock[carid] = 0; } } CallBack::ConviteInfoOrg(nome[], org, cargo) { new arquivo[85]; format(arquivo, sizeof(arquivo), Pasta_MembrosOrg,org); if(cargo == 6) { strmid(InfoOrg[org][Lider], nome, 0, strlen(nome), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Lider",nome); DOF2_SaveFile(); return true; } if(cargo == 5) { if(strcmp(InfoOrg[org][SubLider],"Ninguem",true)==0) { strmid(InfoOrg[org][SubLider], nome, 0, strlen(nome), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"SubLider",nome); DOF2_SaveFile(); return true; } } if(strcmp(InfoOrg[org][Membro1],"Ninguem",true)==0) { strmid(InfoOrg[org][Membro1], nome, 0, strlen(nome), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Membro1",nome); DOF2_SaveFile(); return true; } if(strcmp(InfoOrg[org][Membro2],"Ninguem",true)==0) { strmid(InfoOrg[org][Membro2], nome, 0, strlen(nome), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Membro2",nome); DOF2_SaveFile(); return true; } if(strcmp(InfoOrg[org][Membro3],"Ninguem",true)==0) { strmid(InfoOrg[org][Membro3], nome, 0, strlen(nome), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Membro3",nome); DOF2_SaveFile(); return true; } if(strcmp(InfoOrg[org][Membro4],"Ninguem",true)==0) { strmid(InfoOrg[org][Membro4], nome, 0, strlen(nome), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Membro4",nome); DOF2_SaveFile(); return true; } if(strcmp(InfoOrg[org][Membro5],"Ninguem",true)==0) { strmid(InfoOrg[org][Membro5], nome, 0, strlen(nome), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Membro5",nome); DOF2_SaveFile(); return true; } if(strcmp(InfoOrg[org][Membro6],"Ninguem",true)==0) { strmid(InfoOrg[org][Membro6], nome, 0, strlen(nome), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Membro6",nome); DOF2_SaveFile(); return true; } if(strcmp(InfoOrg[org][Membro7],"Ninguem",true)==0) { strmid(InfoOrg[org][Membro7], nome, 0, strlen(nome), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Membro7",nome); DOF2_SaveFile(); return true; } if(strcmp(InfoOrg[org][Membro8],"Ninguem",true)==0) { strmid(InfoOrg[org][Membro8], nome, 0, strlen(nome), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Membro8",nome); DOF2_SaveFile(); return true; } if(strcmp(InfoOrg[org][Membro9],"Ninguem",true)==0) { strmid(InfoOrg[org][Membro9], nome, 0, strlen(nome), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Membro9",nome); DOF2_SaveFile(); return true; } if(strcmp(InfoOrg[org][Membro10],"Ninguem",true)==0) { strmid(InfoOrg[org][Membro10], nome, 0, strlen(nome), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Membro10",nome); DOF2_SaveFile(); return true; } if(strcmp(InfoOrg[org][Membro11],"Ninguem",true)==0) { strmid(InfoOrg[org][Membro11], nome, 0, strlen(nome), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Membro11",nome); DOF2_SaveFile(); return true; } if(strcmp(InfoOrg[org][Membro12],"Ninguem",true)==0) { strmid(InfoOrg[org][Membro12], nome, 0, strlen(nome), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Membro12",nome); DOF2_SaveFile(); return true; } if(strcmp(InfoOrg[org][Membro13],"Ninguem",true)==0) { strmid(InfoOrg[org][Membro13], nome, 0, strlen(nome), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Membro13",nome); DOF2_SaveFile(); return true; } if(strcmp(InfoOrg[org][Membro14],"Ninguem",true)==0) { strmid(InfoOrg[org][Membro14], nome, 0, strlen(nome), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Membro14",nome); DOF2_SaveFile(); return true; } if(strcmp(InfoOrg[org][Membro15],"Ninguem",true)==0) { strmid(InfoOrg[org][Membro15], nome, 0, strlen(nome), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Membro15",nome); DOF2_SaveFile(); return true; } if(strcmp(InfoOrg[org][Membro16],"Ninguem",true)==0) { strmid(InfoOrg[org][Membro16], nome, 0, strlen(nome), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Membro16",nome); DOF2_SaveFile(); return true; } if(strcmp(InfoOrg[org][Membro17],"Ninguem",true)==0) { strmid(InfoOrg[org][Membro17], nome, 0, strlen(nome), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Membro17",nome); DOF2_SaveFile(); return true; } if(strcmp(InfoOrg[org][Membro18],"Ninguem",true)==0) { strmid(InfoOrg[org][Membro18], nome, 0, strlen(nome), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Membro18",nome); DOF2_SaveFile(); return true; } if(strcmp(InfoOrg[org][Membro19],"Ninguem",true)==0) { strmid(InfoOrg[org][Membro19], nome, 0, strlen(nome), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Membro19",nome); DOF2_SaveFile(); return true; } if(strcmp(InfoOrg[org][Membro20],"Ninguem",true)==0) { strmid(InfoOrg[org][Membro20], nome, 0, strlen(nome), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Membro20",nome); DOF2_SaveFile(); return true; } if(strcmp(InfoOrg[org][Membro21],"Ninguem",true)==0) { strmid(InfoOrg[org][Membro21], nome, 0, strlen(nome), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Membro21",nome); DOF2_SaveFile(); return true; } if(strcmp(InfoOrg[org][Membro22],"Ninguem",true)==0) { strmid(InfoOrg[org][Membro22], nome, 0, strlen(nome), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Membro22",nome); DOF2_SaveFile(); return true; } if(strcmp(InfoOrg[org][Membro23],"Ninguem",true)==0) { strmid(InfoOrg[org][Membro23], nome, 0, strlen(nome), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Membro23",nome); DOF2_SaveFile(); return true; } if(strcmp(InfoOrg[org][Membro24],"Ninguem",true)==0) { strmid(InfoOrg[org][Membro24], nome, 0, strlen(nome), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Membro24",nome); DOF2_SaveFile(); return true; } if(strcmp(InfoOrg[org][Membro25],"Ninguem",true)==0) { strmid(InfoOrg[org][Membro25], nome, 0, strlen(nome), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Membro25",nome); DOF2_SaveFile(); return true; } if(strcmp(InfoOrg[org][Membro26],"Ninguem",true)==0) { strmid(InfoOrg[org][Membro26], nome, 0, strlen(nome), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Membro26",nome); DOF2_SaveFile(); return true; } if(strcmp(InfoOrg[org][Membro27],"Ninguem",true)==0) { strmid(InfoOrg[org][Membro27], nome, 0, strlen(nome), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Membro27",nome); DOF2_SaveFile(); return true; } if(strcmp(InfoOrg[org][Membro28],"Ninguem",true)==0) { strmid(InfoOrg[org][Membro28], nome, 0, strlen(nome), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Membro28",nome); DOF2_SaveFile(); return true; } if(strcmp(InfoOrg[org][Membro29],"Ninguem",true)==0) { strmid(InfoOrg[org][Membro29], nome, 0, strlen(nome), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Membro29",nome); DOF2_SaveFile(); return true; } if(strcmp(InfoOrg[org][Membro30],"Ninguem",true)==0) { strmid(InfoOrg[org][Membro30], nome, 0, strlen(nome), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Membro30",nome); DOF2_SaveFile(); return true; } return 0; } CallBack::CandidatoInfoOrg(nome[], org, cargo) { new arquivo[85]; format(arquivo, sizeof(arquivo), Pasta_Candidatos,org); if(strcmp(InfoOrg2[org][Candidato1],"Ninguem",true)==0) { strmid(InfoOrg2[org][Candidato1], nome, 0, strlen(nome), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Candidato1",nome); DOF2_SaveFile(); return true; } if(strcmp(InfoOrg2[org][Candidato2],"Ninguem",true)==0) { strmid(InfoOrg2[org][Candidato2], nome, 0, strlen(nome), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Candidato2",nome); DOF2_SaveFile(); return true; } if(strcmp(InfoOrg2[org][Candidato3],"Ninguem",true)==0) { strmid(InfoOrg2[org][Candidato3], nome, 0, strlen(nome), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Candidato3",nome); DOF2_SaveFile(); return true; } if(strcmp(InfoOrg2[org][Candidato4],"Ninguem",true)==0) { strmid(InfoOrg2[org][Candidato4], nome, 0, strlen(nome), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Candidato4",nome); DOF2_SaveFile(); return true; } if(strcmp(InfoOrg2[org][Candidato5],"Ninguem",true)==0) { strmid(InfoOrg2[org][Candidato5], nome, 0, strlen(nome), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Candidato5",nome); DOF2_SaveFile(); return true; } if(strcmp(InfoOrg2[org][Candidato6],"Ninguem",true)==0) { strmid(InfoOrg2[org][Candidato6], nome, 0, strlen(nome), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Candidato6",nome); DOF2_SaveFile(); return true; } if(strcmp(InfoOrg2[org][Candidato7],"Ninguem",true)==0) { strmid(InfoOrg2[org][Candidato7], nome, 0, strlen(nome), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Candidato7",nome); DOF2_SaveFile(); return true; } if(strcmp(InfoOrg2[org][Candidato8],"Ninguem",true)==0) { strmid(InfoOrg2[org][Candidato8], nome, 0, strlen(nome), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Candidato8",nome); DOF2_SaveFile(); return true; } if(strcmp(InfoOrg2[org][Candidato9],"Ninguem",true)==0) { strmid(InfoOrg2[org][Candidato9], nome, 0, strlen(nome), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Candidato9",nome); DOF2_SaveFile(); return true; } if(strcmp(InfoOrg2[org][Candidato10],"Ninguem",true)==0) { strmid(InfoOrg2[org][Candidato10], nome, 0, strlen(nome), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Candidato10",nome); DOF2_SaveFile(); return true; } if(strcmp(InfoOrg2[org][Candidato11],"Ninguem",true)==0) { strmid(InfoOrg2[org][Candidato11], nome, 0, strlen(nome), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Candidato11",nome); DOF2_SaveFile(); return true; } if(strcmp(InfoOrg2[org][Candidato12],"Ninguem",true)==0) { strmid(InfoOrg2[org][Candidato12], nome, 0, strlen(nome), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Candidato12",nome); DOF2_SaveFile(); return true; } if(strcmp(InfoOrg2[org][Candidato13],"Ninguem",true)==0) { strmid(InfoOrg2[org][Candidato13], nome, 0, strlen(nome), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Candidato13",nome); DOF2_SaveFile(); return true; } if(strcmp(InfoOrg2[org][Candidato14],"Ninguem",true)==0) { strmid(InfoOrg2[org][Candidato14], nome, 0, strlen(nome), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Candidato14",nome); DOF2_SaveFile(); return true; } if(strcmp(InfoOrg2[org][Candidato15],"Ninguem",true)==0) { strmid(InfoOrg2[org][Candidato15], nome, 0, strlen(nome), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Candidato15",nome); DOF2_SaveFile(); return true; } if(strcmp(InfoOrg2[org][Candidato16],"Ninguem",true)==0) { strmid(InfoOrg2[org][Candidato16], nome, 0, strlen(nome), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Candidato16",nome); DOF2_SaveFile(); return true; } if(strcmp(InfoOrg2[org][Candidato17],"Ninguem",true)==0) { strmid(InfoOrg2[org][Candidato17], nome, 0, strlen(nome), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Candidato17",nome); DOF2_SaveFile(); return true; } if(strcmp(InfoOrg2[org][Candidato18],"Ninguem",true)==0) { strmid(InfoOrg2[org][Candidato18], nome, 0, strlen(nome), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Candidato18",nome); DOF2_SaveFile(); return true; } if(strcmp(InfoOrg2[org][Candidato19],"Ninguem",true)==0) { strmid(InfoOrg2[org][Candidato19], nome, 0, strlen(nome), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Candidato19",nome); DOF2_SaveFile(); return true; } if(strcmp(InfoOrg2[org][Candidato20],"Ninguem",true)==0) { strmid(InfoOrg2[org][Candidato20], nome, 0, strlen(nome), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Candidato20",nome); DOF2_SaveFile(); return true; } return 0; } stock SaveAllLogins() { for(new i = 1; i < 35; i++) { SalvarLoginOrg(i); } } stock SalvarLoginOrg(orgid) { new file[128]; format(file, sizeof file, Pasta_MembrosOrg, orgid); if(DOF2_FileExists(file)) { //--- Lideres DOF2_SetString(file, "UL_Lider",InfoOrg[orgid][UL_Lider]); DOF2_SetString(file, "UL_SubLider",InfoOrg[orgid][UL_SubLider]); //--- Membros DOF2_SetString(file, "UL_Membro1",InfoOrg[orgid][UL_Membro1]); DOF2_SetString(file, "UL_Membro2",InfoOrg[orgid][UL_Membro2]); DOF2_SetString(file, "UL_Membro3",InfoOrg[orgid][UL_Membro3]); DOF2_SetString(file, "UL_Membro4",InfoOrg[orgid][UL_Membro4]); DOF2_SetString(file, "UL_Membro5",InfoOrg[orgid][UL_Membro5]); DOF2_SetString(file, "UL_Membro6",InfoOrg[orgid][UL_Membro6]); DOF2_SetString(file, "UL_Membro7",InfoOrg[orgid][UL_Membro7]); DOF2_SetString(file, "UL_Membro8",InfoOrg[orgid][UL_Membro8]); DOF2_SetString(file, "UL_Membro9",InfoOrg[orgid][UL_Membro9]); DOF2_SetString(file, "UL_Membro10",InfoOrg[orgid][UL_Membro10]); DOF2_SetString(file, "UL_Membro11",InfoOrg[orgid][UL_Membro11]); DOF2_SetString(file, "UL_Membro12",InfoOrg[orgid][UL_Membro12]); DOF2_SetString(file, "UL_Membro13",InfoOrg[orgid][UL_Membro13]); DOF2_SetString(file, "UL_Membro14",InfoOrg[orgid][UL_Membro14]); DOF2_SetString(file, "UL_Membro15",InfoOrg[orgid][UL_Membro15]); DOF2_SetString(file, "UL_Membro16",InfoOrg[orgid][UL_Membro16]); DOF2_SetString(file, "UL_Membro17",InfoOrg[orgid][UL_Membro17]); DOF2_SetString(file, "UL_Membro18",InfoOrg[orgid][UL_Membro18]); DOF2_SetString(file, "UL_Membro19",InfoOrg[orgid][UL_Membro19]); DOF2_SetString(file, "UL_Membro20",InfoOrg[orgid][UL_Membro20]); DOF2_SetString(file, "UL_Membro21",InfoOrg[orgid][UL_Membro21]); DOF2_SetString(file, "UL_Membro22",InfoOrg[orgid][UL_Membro22]); DOF2_SetString(file, "UL_Membro23",InfoOrg[orgid][UL_Membro23]); DOF2_SetString(file, "UL_Membro24",InfoOrg[orgid][UL_Membro24]); DOF2_SetString(file, "UL_Membro25",InfoOrg[orgid][UL_Membro25]); DOF2_SetString(file, "UL_Membro26",InfoOrg[orgid][UL_Membro26]); DOF2_SetString(file, "UL_Membro27",InfoOrg[orgid][UL_Membro27]); DOF2_SetString(file, "UL_Membro28",InfoOrg[orgid][UL_Membro28]); DOF2_SetString(file, "UL_Membro29",InfoOrg[orgid][UL_Membro29]); DOF2_SetString(file, "UL_Membro30",InfoOrg[orgid][UL_Membro30]); DOF2_SaveFile(); } return true; } stock SalvarPatrocinio(orgid) { new file[128]; format(file, sizeof file, Pasta_PatrociniosOrg, orgid); if(DOF2_FileExists(file)) { DOF2_SetString(file, "Patrocinio",PatrocinioOrg[orgid]); DOF2_SaveFile(); } return true; } stock UltimoLoginOrg(playerid) { new org = GetPlayerOrg(playerid); if(org < 1)return true; new dia, mes, ano, hora, minuto, segundo; getdate(ano, mes, dia); gettime(hora, minuto, segundo); new cargo = PlayerInfo[playerid][pCargo]; for(new i = 1; i < sizeof(InfoOrg); i++) { if(strcmp(NomePlayer(playerid),InfoOrg[i][Lider],true)==0)return format(InfoOrg[i][UL_Lider],128, "%02d/%02d/%04d as %02d:%02d:%02d", dia, mes, ano, hora, minuto, segundo), SalvarLoginOrg(org); if(strcmp(NomePlayer(playerid),InfoOrg[i][SubLider],true)==0)return format(InfoOrg[i][UL_SubLider],128, "%02d/%02d/%04d as %02d:%02d:%02d", dia, mes, ano, hora, minuto, segundo), SalvarLoginOrg(org); if(strcmp(NomePlayer(playerid),InfoOrg[i][Membro1],true)==0)return format(InfoOrg[i][UL_Membro1],128, "%02d/%02d/%04d as %02d:%02d:%02d - Cargo: %d", dia, mes, ano, hora, minuto, segundo, cargo), SalvarLoginOrg(org); if(strcmp(NomePlayer(playerid),InfoOrg[i][Membro2],true)==0)return format(InfoOrg[i][UL_Membro2],128, "%02d/%02d/%04d as %02d:%02d:%02d - Cargo: %d", dia, mes, ano, hora, minuto, segundo, cargo), SalvarLoginOrg(org); if(strcmp(NomePlayer(playerid),InfoOrg[i][Membro3],true)==0)return format(InfoOrg[i][UL_Membro3],128, "%02d/%02d/%04d as %02d:%02d:%02d - Cargo: %d", dia, mes, ano, hora, minuto, segundo, cargo), SalvarLoginOrg(org); if(strcmp(NomePlayer(playerid),InfoOrg[i][Membro4],true)==0)return format(InfoOrg[i][UL_Membro4],128, "%02d/%02d/%04d as %02d:%02d:%02d - Cargo: %d", dia, mes, ano, hora, minuto, segundo, cargo), SalvarLoginOrg(org); if(strcmp(NomePlayer(playerid),InfoOrg[i][Membro5],true)==0)return format(InfoOrg[i][UL_Membro5],128, "%02d/%02d/%04d as %02d:%02d:%02d - Cargo: %d", dia, mes, ano, hora, minuto, segundo, cargo), SalvarLoginOrg(org); if(strcmp(NomePlayer(playerid),InfoOrg[i][Membro6],true)==0)return format(InfoOrg[i][UL_Membro6],128, "%02d/%02d/%04d as %02d:%02d:%02d - Cargo: %d", dia, mes, ano, hora, minuto, segundo, cargo), SalvarLoginOrg(org); if(strcmp(NomePlayer(playerid),InfoOrg[i][Membro7],true)==0)return format(InfoOrg[i][UL_Membro7],128, "%02d/%02d/%04d as %02d:%02d:%02d - Cargo: %d", dia, mes, ano, hora, minuto, segundo, cargo), SalvarLoginOrg(org); if(strcmp(NomePlayer(playerid),InfoOrg[i][Membro8],true)==0)return format(InfoOrg[i][UL_Membro8],128, "%02d/%02d/%04d as %02d:%02d:%02d - Cargo: %d", dia, mes, ano, hora, minuto, segundo, cargo), SalvarLoginOrg(org); if(strcmp(NomePlayer(playerid),InfoOrg[i][Membro9],true)==0)return format(InfoOrg[i][UL_Membro9],128, "%02d/%02d/%04d as %02d:%02d:%02d - Cargo: %d", dia, mes, ano, hora, minuto, segundo, cargo), SalvarLoginOrg(org); if(strcmp(NomePlayer(playerid),InfoOrg[i][Membro10],true)==0)return format(InfoOrg[i][UL_Membro10],128, "%02d/%02d/%04d as %02d:%02d:%02d - Cargo: %d", dia, mes, ano, hora, minuto, segundo, cargo), SalvarLoginOrg(org); if(strcmp(NomePlayer(playerid),InfoOrg[i][Membro11],true)==0)return format(InfoOrg[i][UL_Membro11],128, "%02d/%02d/%04d as %02d:%02d:%02d - Cargo: %d", dia, mes, ano, hora, minuto, segundo, cargo), SalvarLoginOrg(org); if(strcmp(NomePlayer(playerid),InfoOrg[i][Membro12],true)==0)return format(InfoOrg[i][UL_Membro12],128, "%02d/%02d/%04d as %02d:%02d:%02d - Cargo: %d", dia, mes, ano, hora, minuto, segundo, cargo), SalvarLoginOrg(org); if(strcmp(NomePlayer(playerid),InfoOrg[i][Membro13],true)==0)return format(InfoOrg[i][UL_Membro13],128, "%02d/%02d/%04d as %02d:%02d:%02d - Cargo: %d", dia, mes, ano, hora, minuto, segundo, cargo), SalvarLoginOrg(org); if(strcmp(NomePlayer(playerid),InfoOrg[i][Membro14],true)==0)return format(InfoOrg[i][UL_Membro14],128, "%02d/%02d/%04d as %02d:%02d:%02d - Cargo: %d", dia, mes, ano, hora, minuto, segundo, cargo), SalvarLoginOrg(org); if(strcmp(NomePlayer(playerid),InfoOrg[i][Membro15],true)==0)return format(InfoOrg[i][UL_Membro15],128, "%02d/%02d/%04d as %02d:%02d:%02d - Cargo: %d", dia, mes, ano, hora, minuto, segundo, cargo), SalvarLoginOrg(org); if(strcmp(NomePlayer(playerid),InfoOrg[i][Membro16],true)==0)return format(InfoOrg[i][UL_Membro16],128, "%02d/%02d/%04d as %02d:%02d:%02d - Cargo: %d", dia, mes, ano, hora, minuto, segundo, cargo), SalvarLoginOrg(org); if(strcmp(NomePlayer(playerid),InfoOrg[i][Membro17],true)==0)return format(InfoOrg[i][UL_Membro17],128, "%02d/%02d/%04d as %02d:%02d:%02d - Cargo: %d", dia, mes, ano, hora, minuto, segundo, cargo), SalvarLoginOrg(org); if(strcmp(NomePlayer(playerid),InfoOrg[i][Membro18],true)==0)return format(InfoOrg[i][UL_Membro18],128, "%02d/%02d/%04d as %02d:%02d:%02d - Cargo: %d", dia, mes, ano, hora, minuto, segundo, cargo), SalvarLoginOrg(org); if(strcmp(NomePlayer(playerid),InfoOrg[i][Membro19],true)==0)return format(InfoOrg[i][UL_Membro19],128, "%02d/%02d/%04d as %02d:%02d:%02d - Cargo: %d", dia, mes, ano, hora, minuto, segundo, cargo), SalvarLoginOrg(org); if(strcmp(NomePlayer(playerid),InfoOrg[i][Membro20],true)==0)return format(InfoOrg[i][UL_Membro20],128, "%02d/%02d/%04d as %02d:%02d:%02d - Cargo: %d", dia, mes, ano, hora, minuto, segundo, cargo), SalvarLoginOrg(org); if(strcmp(NomePlayer(playerid),InfoOrg[i][Membro21],true)==0)return format(InfoOrg[i][UL_Membro21],128, "%02d/%02d/%04d as %02d:%02d:%02d - Cargo: %d", dia, mes, ano, hora, minuto, segundo, cargo), SalvarLoginOrg(org); if(strcmp(NomePlayer(playerid),InfoOrg[i][Membro22],true)==0)return format(InfoOrg[i][UL_Membro22],128, "%02d/%02d/%04d as %02d:%02d:%02d - Cargo: %d", dia, mes, ano, hora, minuto, segundo, cargo), SalvarLoginOrg(org); if(strcmp(NomePlayer(playerid),InfoOrg[i][Membro23],true)==0)return format(InfoOrg[i][UL_Membro23],128, "%02d/%02d/%04d as %02d:%02d:%02d - Cargo: %d", dia, mes, ano, hora, minuto, segundo, cargo), SalvarLoginOrg(org); if(strcmp(NomePlayer(playerid),InfoOrg[i][Membro24],true)==0)return format(InfoOrg[i][UL_Membro24],128, "%02d/%02d/%04d as %02d:%02d:%02d - Cargo: %d", dia, mes, ano, hora, minuto, segundo, cargo), SalvarLoginOrg(org); if(strcmp(NomePlayer(playerid),InfoOrg[i][Membro25],true)==0)return format(InfoOrg[i][UL_Membro25],128, "%02d/%02d/%04d as %02d:%02d:%02d - Cargo: %d", dia, mes, ano, hora, minuto, segundo, cargo), SalvarLoginOrg(org); if(strcmp(NomePlayer(playerid),InfoOrg[i][Membro26],true)==0)return format(InfoOrg[i][UL_Membro26],128, "%02d/%02d/%04d as %02d:%02d:%02d - Cargo: %d", dia, mes, ano, hora, minuto, segundo, cargo), SalvarLoginOrg(org); if(strcmp(NomePlayer(playerid),InfoOrg[i][Membro27],true)==0)return format(InfoOrg[i][UL_Membro27],128, "%02d/%02d/%04d as %02d:%02d:%02d - Cargo: %d", dia, mes, ano, hora, minuto, segundo, cargo), SalvarLoginOrg(org); if(strcmp(NomePlayer(playerid),InfoOrg[i][Membro28],true)==0)return format(InfoOrg[i][UL_Membro28],128, "%02d/%02d/%04d as %02d:%02d:%02d - Cargo: %d", dia, mes, ano, hora, minuto, segundo, cargo), SalvarLoginOrg(org); if(strcmp(NomePlayer(playerid),InfoOrg[i][Membro29],true)==0)return format(InfoOrg[i][UL_Membro29],128, "%02d/%02d/%04d as %02d:%02d:%02d - Cargo: %d", dia, mes, ano, hora, minuto, segundo, cargo), SalvarLoginOrg(org); if(strcmp(NomePlayer(playerid),InfoOrg[i][Membro30],true)==0)return format(InfoOrg[i][UL_Membro30],128, "%02d/%02d/%04d as %02d:%02d:%02d - Cargo: %d", dia, mes, ano, hora, minuto, segundo, cargo), SalvarLoginOrg(org); } return true; } CallBack::CheckInfoOrg(playerid) { new string[128]; new PlayerNick[MAX_PLAYER_NAME]; GetPlayerName(playerid,PlayerNick,sizeof(PlayerNick)); new dia, mes, ano, hora, minuto, segundo; getdate(ano, mes, dia); gettime(hora, minuto, segundo); for(new i = 1; i < sizeof(InfoOrg); i++) { if(PlayerInfo[playerid][pMembro] > 0 || PlayerInfo[playerid][pLider] > 0) { PlayerInfo[playerid][pCheckInfoOrg] = 0; if(strcmp(PlayerNick,InfoOrg[i][Lider],true)==0) { PlayerInfo[playerid][pCheckInfoOrg] = PlayerInfo[playerid][pLider]; CofreOrg[i][DiaLider] = getdate()+3;// 3 dias format(string, sizeof(string), Pasta_CofreOrg,i); DOF2_SetInt(string,"DiaLider",CofreOrg[i][DiaLider]); DOF2_SaveFile(); return true; } if(strcmp(PlayerNick,InfoOrg[i][SubLider],true)==0) { return PlayerInfo[playerid][pCheckInfoOrg] = PlayerInfo[playerid][pMembro]; } if(strcmp(PlayerNick,InfoOrg[i][Membro1],true)==0) { return PlayerInfo[playerid][pCheckInfoOrg] = PlayerInfo[playerid][pMembro]; } if(strcmp(PlayerNick,InfoOrg[i][Membro2],true)==0) { return PlayerInfo[playerid][pCheckInfoOrg] = PlayerInfo[playerid][pMembro]; } if(strcmp(PlayerNick,InfoOrg[i][Membro3],true)==0) { return PlayerInfo[playerid][pCheckInfoOrg] = PlayerInfo[playerid][pMembro]; } if(strcmp(PlayerNick,InfoOrg[i][Membro4],true)==0) { return PlayerInfo[playerid][pCheckInfoOrg] = PlayerInfo[playerid][pMembro]; } if(strcmp(PlayerNick,InfoOrg[i][Membro5],true)==0) { return PlayerInfo[playerid][pCheckInfoOrg] = PlayerInfo[playerid][pMembro]; } if(strcmp(PlayerNick,InfoOrg[i][Membro6],true)==0) { return PlayerInfo[playerid][pCheckInfoOrg] = PlayerInfo[playerid][pMembro]; } if(strcmp(PlayerNick,InfoOrg[i][Membro7],true)==0) { return PlayerInfo[playerid][pCheckInfoOrg] = PlayerInfo[playerid][pMembro]; } if(strcmp(PlayerNick,InfoOrg[i][Membro8],true)==0) { return PlayerInfo[playerid][pCheckInfoOrg] = PlayerInfo[playerid][pMembro]; } if(strcmp(PlayerNick,InfoOrg[i][Membro9],true)==0) { return PlayerInfo[playerid][pCheckInfoOrg] = PlayerInfo[playerid][pMembro]; } if(strcmp(PlayerNick,InfoOrg[i][Membro10],true)==0) { return PlayerInfo[playerid][pCheckInfoOrg] = PlayerInfo[playerid][pMembro]; } if(strcmp(PlayerNick,InfoOrg[i][Membro11],true)==0) { return PlayerInfo[playerid][pCheckInfoOrg] = PlayerInfo[playerid][pMembro]; } if(strcmp(PlayerNick,InfoOrg[i][Membro12],true)==0) { return PlayerInfo[playerid][pCheckInfoOrg] = PlayerInfo[playerid][pMembro]; } if(strcmp(PlayerNick,InfoOrg[i][Membro13],true)==0) { return PlayerInfo[playerid][pCheckInfoOrg] = PlayerInfo[playerid][pMembro]; } if(strcmp(PlayerNick,InfoOrg[i][Membro14],true)==0) { return PlayerInfo[playerid][pCheckInfoOrg] = PlayerInfo[playerid][pMembro]; } if(strcmp(PlayerNick,InfoOrg[i][Membro15],true)==0) { return PlayerInfo[playerid][pCheckInfoOrg] = PlayerInfo[playerid][pMembro]; } if(strcmp(PlayerNick,InfoOrg[i][Membro16],true)==0) { return PlayerInfo[playerid][pCheckInfoOrg] = PlayerInfo[playerid][pMembro]; } if(strcmp(PlayerNick,InfoOrg[i][Membro17],true)==0) { return PlayerInfo[playerid][pCheckInfoOrg] = PlayerInfo[playerid][pMembro]; } if(strcmp(PlayerNick,InfoOrg[i][Membro18],true)==0) { return PlayerInfo[playerid][pCheckInfoOrg] = PlayerInfo[playerid][pMembro]; } if(strcmp(PlayerNick,InfoOrg[i][Membro19],true)==0) { return PlayerInfo[playerid][pCheckInfoOrg] = PlayerInfo[playerid][pMembro]; } if(strcmp(PlayerNick,InfoOrg[i][Membro20],true)==0) { return PlayerInfo[playerid][pCheckInfoOrg] = PlayerInfo[playerid][pMembro]; } if(strcmp(PlayerNick,InfoOrg[i][Membro21],true)==0) { return PlayerInfo[playerid][pCheckInfoOrg] = PlayerInfo[playerid][pMembro]; } if(strcmp(PlayerNick,InfoOrg[i][Membro22],true)==0) { return PlayerInfo[playerid][pCheckInfoOrg] = PlayerInfo[playerid][pMembro]; } if(strcmp(PlayerNick,InfoOrg[i][Membro23],true)==0) { return PlayerInfo[playerid][pCheckInfoOrg] = PlayerInfo[playerid][pMembro]; } if(strcmp(PlayerNick,InfoOrg[i][Membro24],true)==0) { return PlayerInfo[playerid][pCheckInfoOrg] = PlayerInfo[playerid][pMembro]; } if(strcmp(PlayerNick,InfoOrg[i][Membro25],true)==0) { return PlayerInfo[playerid][pCheckInfoOrg] = PlayerInfo[playerid][pMembro]; } if(strcmp(PlayerNick,InfoOrg[i][Membro26],true)==0) { return PlayerInfo[playerid][pCheckInfoOrg] = PlayerInfo[playerid][pMembro]; } if(strcmp(PlayerNick,InfoOrg[i][Membro27],true)==0) { return PlayerInfo[playerid][pCheckInfoOrg] = PlayerInfo[playerid][pMembro]; } if(strcmp(PlayerNick,InfoOrg[i][Membro28],true)==0) { return PlayerInfo[playerid][pCheckInfoOrg] = PlayerInfo[playerid][pMembro]; } if(strcmp(PlayerNick,InfoOrg[i][Membro29],true)==0) { return PlayerInfo[playerid][pCheckInfoOrg] = PlayerInfo[playerid][pMembro]; } if(strcmp(PlayerNick,InfoOrg[i][Membro30],true)==0) { return PlayerInfo[playerid][pCheckInfoOrg] = PlayerInfo[playerid][pMembro]; } } } if(PlayerInfo[playerid][pMembro] > 0 || PlayerInfo[playerid][pLider] > 0) { if(PlayerInfo[playerid][pCheckInfoOrg] != PlayerInfo[playerid][pLider]) { SendClientMessage(playerid, COLOR_LIGHTRED, "Voce nao e mais Lider de nenhuma organizacao, foi Retirado(a)."); MedicBill[playerid] = 0; PlayerInfo[playerid][pMembro] = 0; PlayerInfo[playerid][pLider] = 0; PlayerInfo[playerid][pCargo] = 0; if(PlayerInfo[playerid][pSex] == 1) { PlayerInfo[playerid][pSkin] = 289; } else { PlayerInfo[playerid][pSkin] = 150; } PlayerInfo[playerid][pCheckInfoOrg] = 0; return true; } else if(PlayerInfo[playerid][pCheckInfoOrg] != PlayerInfo[playerid][pMembro]) { SendClientMessage(playerid, COLOR_LIGHTRED, "Voce nao faz mais parte de nenhuma organizacao, foi demitido(a)."); MedicBill[playerid] = 0; PlayerInfo[playerid][pMembro] = 0; PlayerInfo[playerid][pLider] = 0; PlayerInfo[playerid][pCargo] = 0; if(PlayerInfo[playerid][pSex] == 1) { PlayerInfo[playerid][pSkin] = 289; } else { PlayerInfo[playerid][pSkin] = 150; } PlayerInfo[playerid][pCheckInfoOrg] = 0; return true; } } return true; } CallBack::LoadPatrocinios() { new arquivo[128]; new idx = 1; while (idx < MAX_ORGS) { format(arquivo, sizeof(arquivo), Pasta_PatrociniosOrg,idx); strmid(PatrocinioOrg[idx], DOF2_GetString(arquivo,"Patrocinio"), 0, strlen(DOF2_GetString(arquivo,"Patrocinio")), 255); idx ++; } return idx; } CallBack::LoadOrgs() { new arquivo[128]; new idx = 1; while (idx < sizeof(InfoOrg)) { format(arquivo, sizeof(arquivo), Pasta_MembrosOrg,idx); strmid(InfoOrg[idx][Lider], DOF2_GetString(arquivo,"Lider"), 0, strlen(DOF2_GetString(arquivo,"Lider")), 255); strmid(InfoOrg[idx][SubLider], DOF2_GetString(arquivo,"SubLider"), 0, strlen(DOF2_GetString(arquivo,"SubLider")), 255); strmid(InfoOrg[idx][Membro1], DOF2_GetString(arquivo,"Membro1"), 0, strlen(DOF2_GetString(arquivo,"Membro1")), 255); strmid(InfoOrg[idx][Membro2], DOF2_GetString(arquivo,"Membro2"), 0, strlen(DOF2_GetString(arquivo,"Membro2")), 255); strmid(InfoOrg[idx][Membro3], DOF2_GetString(arquivo,"Membro3"), 0, strlen(DOF2_GetString(arquivo,"Membro3")), 255); strmid(InfoOrg[idx][Membro4], DOF2_GetString(arquivo,"Membro4"), 0, strlen(DOF2_GetString(arquivo,"Membro4")), 255); strmid(InfoOrg[idx][Membro5], DOF2_GetString(arquivo,"Membro5"), 0, strlen(DOF2_GetString(arquivo,"Membro5")), 255); strmid(InfoOrg[idx][Membro6], DOF2_GetString(arquivo,"Membro6"), 0, strlen(DOF2_GetString(arquivo,"Membro6")), 255); strmid(InfoOrg[idx][Membro7], DOF2_GetString(arquivo,"Membro7"), 0, strlen(DOF2_GetString(arquivo,"Membro7")), 255); strmid(InfoOrg[idx][Membro8], DOF2_GetString(arquivo,"Membro8"), 0, strlen(DOF2_GetString(arquivo,"Membro8")), 255); strmid(InfoOrg[idx][Membro9], DOF2_GetString(arquivo,"Membro9"), 0, strlen(DOF2_GetString(arquivo,"Membro9")), 255); strmid(InfoOrg[idx][Membro10], DOF2_GetString(arquivo,"Membro10"), 0, strlen(DOF2_GetString(arquivo,"Membro10")), 255); strmid(InfoOrg[idx][Membro11], DOF2_GetString(arquivo,"Membro11"), 0, strlen(DOF2_GetString(arquivo,"Membro11")), 255); strmid(InfoOrg[idx][Membro12], DOF2_GetString(arquivo,"Membro12"), 0, strlen(DOF2_GetString(arquivo,"Membro12")), 255); strmid(InfoOrg[idx][Membro13], DOF2_GetString(arquivo,"Membro13"), 0, strlen(DOF2_GetString(arquivo,"Membro13")), 255); strmid(InfoOrg[idx][Membro14], DOF2_GetString(arquivo,"Membro14"), 0, strlen(DOF2_GetString(arquivo,"Membro14")), 255); strmid(InfoOrg[idx][Membro15], DOF2_GetString(arquivo,"Membro15"), 0, strlen(DOF2_GetString(arquivo,"Membro15")), 255); strmid(InfoOrg[idx][Membro16], DOF2_GetString(arquivo,"Membro16"), 0, strlen(DOF2_GetString(arquivo,"Membro16")), 255); strmid(InfoOrg[idx][Membro17], DOF2_GetString(arquivo,"Membro17"), 0, strlen(DOF2_GetString(arquivo,"Membro17")), 255); strmid(InfoOrg[idx][Membro18], DOF2_GetString(arquivo,"Membro18"), 0, strlen(DOF2_GetString(arquivo,"Membro18")), 255); strmid(InfoOrg[idx][Membro19], DOF2_GetString(arquivo,"Membro19"), 0, strlen(DOF2_GetString(arquivo,"Membro19")), 255); strmid(InfoOrg[idx][Membro20], DOF2_GetString(arquivo,"Membro20"), 0, strlen(DOF2_GetString(arquivo,"Membro20")), 255); strmid(InfoOrg[idx][Membro21], DOF2_GetString(arquivo,"Membro21"), 0, strlen(DOF2_GetString(arquivo,"Membro21")), 255); strmid(InfoOrg[idx][Membro22], DOF2_GetString(arquivo,"Membro22"), 0, strlen(DOF2_GetString(arquivo,"Membro22")), 255); strmid(InfoOrg[idx][Membro23], DOF2_GetString(arquivo,"Membro23"), 0, strlen(DOF2_GetString(arquivo,"Membro23")), 255); strmid(InfoOrg[idx][Membro24], DOF2_GetString(arquivo,"Membro24"), 0, strlen(DOF2_GetString(arquivo,"Membro24")), 255); strmid(InfoOrg[idx][Membro25], DOF2_GetString(arquivo,"Membro25"), 0, strlen(DOF2_GetString(arquivo,"Membro25")), 255); strmid(InfoOrg[idx][Membro26], DOF2_GetString(arquivo,"Membro26"), 0, strlen(DOF2_GetString(arquivo,"Membro26")), 255); strmid(InfoOrg[idx][Membro27], DOF2_GetString(arquivo,"Membro27"), 0, strlen(DOF2_GetString(arquivo,"Membro27")), 255); strmid(InfoOrg[idx][Membro28], DOF2_GetString(arquivo,"Membro28"), 0, strlen(DOF2_GetString(arquivo,"Membro28")), 255); strmid(InfoOrg[idx][Membro29], DOF2_GetString(arquivo,"Membro29"), 0, strlen(DOF2_GetString(arquivo,"Membro29")), 255); strmid(InfoOrg[idx][Membro30], DOF2_GetString(arquivo,"Membro30"), 0, strlen(DOF2_GetString(arquivo,"Membro30")), 255); //------------------------- Ultimo Login --------------------------------- strmid(InfoOrg[idx][UL_Lider], DOF2_GetString(arquivo,"UL_Lider"), 0, strlen(DOF2_GetString(arquivo,"UL_Lider")), 255); strmid(InfoOrg[idx][UL_SubLider], DOF2_GetString(arquivo,"UL_SubLider"), 0, strlen(DOF2_GetString(arquivo,"UL_SubLider")), 255); strmid(InfoOrg[idx][UL_Membro1], DOF2_GetString(arquivo,"UL_Membro1"), 0, strlen(DOF2_GetString(arquivo,"UL_Membro1")), 255); strmid(InfoOrg[idx][UL_Membro2], DOF2_GetString(arquivo,"UL_Membro2"), 0, strlen(DOF2_GetString(arquivo,"UL_Membro2")), 255); strmid(InfoOrg[idx][UL_Membro3], DOF2_GetString(arquivo,"UL_Membro3"), 0, strlen(DOF2_GetString(arquivo,"UL_Membro3")), 255); strmid(InfoOrg[idx][UL_Membro4], DOF2_GetString(arquivo,"UL_Membro4"), 0, strlen(DOF2_GetString(arquivo,"UL_Membro4")), 255); strmid(InfoOrg[idx][UL_Membro5], DOF2_GetString(arquivo,"UL_Membro5"), 0, strlen(DOF2_GetString(arquivo,"UL_Membro5")), 255); strmid(InfoOrg[idx][UL_Membro6], DOF2_GetString(arquivo,"UL_Membro6"), 0, strlen(DOF2_GetString(arquivo,"UL_Membro6")), 255); strmid(InfoOrg[idx][UL_Membro7], DOF2_GetString(arquivo,"UL_Membro7"), 0, strlen(DOF2_GetString(arquivo,"UL_Membro7")), 255); strmid(InfoOrg[idx][UL_Membro8], DOF2_GetString(arquivo,"UL_Membro8"), 0, strlen(DOF2_GetString(arquivo,"UL_Membro8")), 255); strmid(InfoOrg[idx][UL_Membro9], DOF2_GetString(arquivo,"UL_Membro9"), 0, strlen(DOF2_GetString(arquivo,"UL_Membro9")), 255); strmid(InfoOrg[idx][UL_Membro10], DOF2_GetString(arquivo,"UL_Membro10"), 0, strlen(DOF2_GetString(arquivo,"UL_Membro10")), 255); strmid(InfoOrg[idx][UL_Membro11], DOF2_GetString(arquivo,"UL_Membro11"), 0, strlen(DOF2_GetString(arquivo,"UL_Membro11")), 255); strmid(InfoOrg[idx][UL_Membro12], DOF2_GetString(arquivo,"UL_Membro12"), 0, strlen(DOF2_GetString(arquivo,"UL_Membro12")), 255); strmid(InfoOrg[idx][UL_Membro13], DOF2_GetString(arquivo,"UL_Membro13"), 0, strlen(DOF2_GetString(arquivo,"UL_Membro13")), 255); strmid(InfoOrg[idx][UL_Membro14], DOF2_GetString(arquivo,"UL_Membro14"), 0, strlen(DOF2_GetString(arquivo,"UL_Membro14")), 255); strmid(InfoOrg[idx][UL_Membro15], DOF2_GetString(arquivo,"UL_Membro15"), 0, strlen(DOF2_GetString(arquivo,"UL_Membro15")), 255); strmid(InfoOrg[idx][UL_Membro16], DOF2_GetString(arquivo,"UL_Membro16"), 0, strlen(DOF2_GetString(arquivo,"UL_Membro16")), 255); strmid(InfoOrg[idx][UL_Membro17], DOF2_GetString(arquivo,"UL_Membro17"), 0, strlen(DOF2_GetString(arquivo,"UL_Membro17")), 255); strmid(InfoOrg[idx][UL_Membro18], DOF2_GetString(arquivo,"UL_Membro18"), 0, strlen(DOF2_GetString(arquivo,"UL_Membro18")), 255); strmid(InfoOrg[idx][UL_Membro19], DOF2_GetString(arquivo,"UL_Membro19"), 0, strlen(DOF2_GetString(arquivo,"UL_Membro19")), 255); strmid(InfoOrg[idx][UL_Membro20], DOF2_GetString(arquivo,"UL_Membro20"), 0, strlen(DOF2_GetString(arquivo,"UL_Membro20")), 255); strmid(InfoOrg[idx][UL_Membro21], DOF2_GetString(arquivo,"UL_Membro21"), 0, strlen(DOF2_GetString(arquivo,"UL_Membro21")), 255); strmid(InfoOrg[idx][UL_Membro22], DOF2_GetString(arquivo,"UL_Membro22"), 0, strlen(DOF2_GetString(arquivo,"UL_Membro22")), 255); strmid(InfoOrg[idx][UL_Membro23], DOF2_GetString(arquivo,"UL_Membro23"), 0, strlen(DOF2_GetString(arquivo,"UL_Membro23")), 255); strmid(InfoOrg[idx][UL_Membro24], DOF2_GetString(arquivo,"UL_Membro24"), 0, strlen(DOF2_GetString(arquivo,"UL_Membro24")), 255); strmid(InfoOrg[idx][UL_Membro25], DOF2_GetString(arquivo,"UL_Membro25"), 0, strlen(DOF2_GetString(arquivo,"UL_Membro25")), 255); strmid(InfoOrg[idx][UL_Membro26], DOF2_GetString(arquivo,"UL_Membro26"), 0, strlen(DOF2_GetString(arquivo,"UL_Membro26")), 255); strmid(InfoOrg[idx][UL_Membro27], DOF2_GetString(arquivo,"UL_Membro27"), 0, strlen(DOF2_GetString(arquivo,"UL_Membro27")), 255); strmid(InfoOrg[idx][UL_Membro28], DOF2_GetString(arquivo,"UL_Membro28"), 0, strlen(DOF2_GetString(arquivo,"UL_Membro28")), 255); strmid(InfoOrg[idx][UL_Membro29], DOF2_GetString(arquivo,"UL_Membro29"), 0, strlen(DOF2_GetString(arquivo,"UL_Membro29")), 255); strmid(InfoOrg[idx][UL_Membro30], DOF2_GetString(arquivo,"UL_Membro30"), 0, strlen(DOF2_GetString(arquivo,"UL_Membro30")), 255); idx ++; } return idx; } CallBack::LoadCandidatos() { new arquivo[128]; new idx = 1; while (idx < sizeof(InfoOrg2)) { format(arquivo, sizeof(arquivo), Pasta_Candidatos,idx); strmid(InfoOrg2[idx][Candidato1], DOF2_GetString(arquivo,"Candidato1"), 0, strlen(DOF2_GetString(arquivo,"Candidato1")), 255); strmid(InfoOrg2[idx][Candidato2], DOF2_GetString(arquivo,"Candidato2"), 0, strlen(DOF2_GetString(arquivo,"Candidato2")), 255); strmid(InfoOrg2[idx][Candidato3], DOF2_GetString(arquivo,"Candidato3"), 0, strlen(DOF2_GetString(arquivo,"Candidato3")), 255); strmid(InfoOrg2[idx][Candidato4], DOF2_GetString(arquivo,"Candidato4"), 0, strlen(DOF2_GetString(arquivo,"Candidato4")), 255); strmid(InfoOrg2[idx][Candidato5], DOF2_GetString(arquivo,"Candidato5"), 0, strlen(DOF2_GetString(arquivo,"Candidato5")), 255); strmid(InfoOrg2[idx][Candidato6], DOF2_GetString(arquivo,"Candidato6"), 0, strlen(DOF2_GetString(arquivo,"Candidato6")), 255); strmid(InfoOrg2[idx][Candidato7], DOF2_GetString(arquivo,"Candidato7"), 0, strlen(DOF2_GetString(arquivo,"Candidato7")), 255); strmid(InfoOrg2[idx][Candidato8], DOF2_GetString(arquivo,"Candidato8"), 0, strlen(DOF2_GetString(arquivo,"Candidato8")), 255); strmid(InfoOrg2[idx][Candidato9], DOF2_GetString(arquivo,"Candidato9"), 0, strlen(DOF2_GetString(arquivo,"Candidato9")), 255); strmid(InfoOrg2[idx][Candidato10], DOF2_GetString(arquivo,"Candidato10"), 0, strlen(DOF2_GetString(arquivo,"Candidato10")), 255); strmid(InfoOrg2[idx][Candidato11], DOF2_GetString(arquivo,"Candidato11"), 0, strlen(DOF2_GetString(arquivo,"Candidato11")), 255); strmid(InfoOrg2[idx][Candidato12], DOF2_GetString(arquivo,"Candidato12"), 0, strlen(DOF2_GetString(arquivo,"Candidato12")), 255); strmid(InfoOrg2[idx][Candidato13], DOF2_GetString(arquivo,"Candidato13"), 0, strlen(DOF2_GetString(arquivo,"Candidato13")), 255); strmid(InfoOrg2[idx][Candidato14], DOF2_GetString(arquivo,"Candidato14"), 0, strlen(DOF2_GetString(arquivo,"Candidato14")), 255); strmid(InfoOrg2[idx][Candidato15], DOF2_GetString(arquivo,"Candidato15"), 0, strlen(DOF2_GetString(arquivo,"Candidato15")), 255); strmid(InfoOrg2[idx][Candidato16], DOF2_GetString(arquivo,"Candidato16"), 0, strlen(DOF2_GetString(arquivo,"Candidato16")), 255); strmid(InfoOrg2[idx][Candidato17], DOF2_GetString(arquivo,"Candidato17"), 0, strlen(DOF2_GetString(arquivo,"Candidato17")), 255); strmid(InfoOrg2[idx][Candidato18], DOF2_GetString(arquivo,"Candidato18"), 0, strlen(DOF2_GetString(arquivo,"Candidato18")), 255); strmid(InfoOrg2[idx][Candidato19], DOF2_GetString(arquivo,"Candidato19"), 0, strlen(DOF2_GetString(arquivo,"Candidato19")), 255); strmid(InfoOrg2[idx][Candidato20], DOF2_GetString(arquivo,"Candidato20"), 0, strlen(DOF2_GetString(arquivo,"Candidato20")), 255); idx ++; } return idx; } CallBack::DemitirInfoOrg(nome[]) { new arquivo[128]; for(new i = 1; i < sizeof(InfoOrg); i++) { format(arquivo, sizeof(arquivo), Pasta_MembrosOrg,i); if(strcmp(nome,InfoOrg[i][Lider],true)==0) { strmid(InfoOrg[i][Lider], "Ninguem", 0, strlen("Ninguem"), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Lider","Ninguem"); DOF2_SaveFile(); format(InfoOrg[i][UL_Lider],128, "00/00/0000 as 00:00:00"); SalvarLoginOrg(i); return true; } if(strcmp(nome,InfoOrg[i][SubLider],true)==0) { strmid(InfoOrg[i][SubLider], "Ninguem", 0, strlen("Ninguem"), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"SubLider","Ninguem"); DOF2_SaveFile(); return true; } if(strcmp(nome,InfoOrg[i][Membro1],true)==0) { strmid(InfoOrg[i][Membro1], "Ninguem", 0, strlen("Ninguem"), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Membro1","Ninguem"); DOF2_SaveFile(); return true; } if(strcmp(nome,InfoOrg[i][Membro2],true)==0) { strmid(InfoOrg[i][Membro2], "Ninguem", 0, strlen("Ninguem"), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Membro2","Ninguem"); DOF2_SaveFile(); return true; } if(strcmp(nome,InfoOrg[i][Membro3],true)==0) { strmid(InfoOrg[i][Membro3], "Ninguem", 0, strlen("Ninguem"), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Membro3","Ninguem"); DOF2_SaveFile(); return true; } if(strcmp(nome,InfoOrg[i][Membro4],true)==0) { strmid(InfoOrg[i][Membro4], "Ninguem", 0, strlen("Ninguem"), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Membro4","Ninguem"); DOF2_SaveFile(); return true; } if(strcmp(nome,InfoOrg[i][Membro5],true)==0) { strmid(InfoOrg[i][Membro5], "Ninguem", 0, strlen("Ninguem"), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Membro5","Ninguem"); DOF2_SaveFile(); return true; } if(strcmp(nome,InfoOrg[i][Membro6],true)==0) { strmid(InfoOrg[i][Membro6], "Ninguem", 0, strlen("Ninguem"), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Membro6","Ninguem"); DOF2_SaveFile(); return true; } if(strcmp(nome,InfoOrg[i][Membro7],true)==0) { strmid(InfoOrg[i][Membro7], "Ninguem", 0, strlen("Ninguem"), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Membro7","Ninguem"); DOF2_SaveFile(); return true; } if(strcmp(nome,InfoOrg[i][Membro8],true)==0) { strmid(InfoOrg[i][Membro8], "Ninguem", 0, strlen("Ninguem"), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Membro8","Ninguem"); DOF2_SaveFile(); return true; } if(strcmp(nome,InfoOrg[i][Membro9],true)==0) { strmid(InfoOrg[i][Membro9], "Ninguem", 0, strlen("Ninguem"), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Membro9","Ninguem"); DOF2_SaveFile(); return true; } if(strcmp(nome,InfoOrg[i][Membro10],true)==0) { strmid(InfoOrg[i][Membro10], "Ninguem", 0, strlen("Ninguem"), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Membro10","Ninguem"); DOF2_SaveFile(); return true; } if(strcmp(nome,InfoOrg[i][Membro11],true)==0) { strmid(InfoOrg[i][Membro11], "Ninguem", 0, strlen("Ninguem"), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Membro11","Ninguem"); DOF2_SaveFile(); return true; } if(strcmp(nome,InfoOrg[i][Membro12],true)==0) { strmid(InfoOrg[i][Membro12], "Ninguem", 0, strlen("Ninguem"), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Membro12","Ninguem"); DOF2_SaveFile(); return true; } if(strcmp(nome,InfoOrg[i][Membro13],true)==0) { strmid(InfoOrg[i][Membro13], "Ninguem", 0, strlen("Ninguem"), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Membro13","Ninguem"); DOF2_SaveFile(); return true; } if(strcmp(nome,InfoOrg[i][Membro14],true)==0) { strmid(InfoOrg[i][Membro14], "Ninguem", 0, strlen("Ninguem"), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Membro14","Ninguem"); DOF2_SaveFile(); return true; } if(strcmp(nome,InfoOrg[i][Membro15],true)==0) { strmid(InfoOrg[i][Membro15], "Ninguem", 0, strlen("Ninguem"), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Membro15","Ninguem"); DOF2_SaveFile(); return true; } if(strcmp(nome,InfoOrg[i][Membro16],true)==0) { strmid(InfoOrg[i][Membro16], "Ninguem", 0, strlen("Ninguem"), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Membro16","Ninguem"); DOF2_SaveFile(); return true; } if(strcmp(nome,InfoOrg[i][Membro17],true)==0) { strmid(InfoOrg[i][Membro17], "Ninguem", 0, strlen("Ninguem"), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Membro17","Ninguem"); DOF2_SaveFile(); return true; } if(strcmp(nome,InfoOrg[i][Membro18],true)==0) { strmid(InfoOrg[i][Membro18], "Ninguem", 0, strlen("Ninguem"), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Membro18","Ninguem"); DOF2_SaveFile(); return true; } if(strcmp(nome,InfoOrg[i][Membro19],true)==0) { strmid(InfoOrg[i][Membro19], "Ninguem", 0, strlen("Ninguem"), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Membro19","Ninguem"); DOF2_SaveFile(); return true; } if(strcmp(nome,InfoOrg[i][Membro20],true)==0) { strmid(InfoOrg[i][Membro20], "Ninguem", 0, strlen("Ninguem"), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Membro20","Ninguem"); DOF2_SaveFile(); return true; } if(strcmp(nome,InfoOrg[i][Membro21],true)==0) { strmid(InfoOrg[i][Membro21], "Ninguem", 0, strlen("Ninguem"), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Membro21","Ninguem"); DOF2_SaveFile(); return true; } if(strcmp(nome,InfoOrg[i][Membro22],true)==0) { strmid(InfoOrg[i][Membro22], "Ninguem", 0, strlen("Ninguem"), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Membro22","Ninguem"); DOF2_SaveFile(); return true; } if(strcmp(nome,InfoOrg[i][Membro23],true)==0) { strmid(InfoOrg[i][Membro23], "Ninguem", 0, strlen("Ninguem"), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Membro23","Ninguem"); DOF2_SaveFile(); return true; } if(strcmp(nome,InfoOrg[i][Membro24],true)==0) { strmid(InfoOrg[i][Membro24], "Ninguem", 0, strlen("Ninguem"), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Membro24","Ninguem"); DOF2_SaveFile(); return true; } if(strcmp(nome,InfoOrg[i][Membro25],true)==0) { strmid(InfoOrg[i][Membro25], "Ninguem", 0, strlen("Ninguem"), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Membro25","Ninguem"); DOF2_SaveFile(); return true; } if(strcmp(nome,InfoOrg[i][Membro26],true)==0) { strmid(InfoOrg[i][Membro26], "Ninguem", 0, strlen("Ninguem"), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Membro26","Ninguem"); DOF2_SaveFile(); return true; } if(strcmp(nome,InfoOrg[i][Membro27],true)==0) { strmid(InfoOrg[i][Membro27], "Ninguem", 0, strlen("Ninguem"), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Membro27","Ninguem"); DOF2_SaveFile(); return true; } if(strcmp(nome,InfoOrg[i][Membro28],true)==0) { strmid(InfoOrg[i][Membro28], "Ninguem", 0, strlen("Ninguem"), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Membro28","Ninguem"); DOF2_SaveFile(); return true; } if(strcmp(nome,InfoOrg[i][Membro29],true)==0) { strmid(InfoOrg[i][Membro29], "Ninguem", 0, strlen("Ninguem"), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Membro29","Ninguem"); DOF2_SaveFile(); return true; } if(strcmp(nome,InfoOrg[i][Membro30],true)==0) { strmid(InfoOrg[i][Membro30], "Ninguem", 0, strlen("Ninguem"), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Membro30","Ninguem"); DOF2_SaveFile(); return true; } } return 0; } CallBack::DCandidatoInfoOrg(nome[], numero) { new arquivo[85]; format(arquivo, sizeof(arquivo), Pasta_Candidatos,numero); if(strcmp(nome,InfoOrg2[numero][Candidato1],true)==0) { strmid(InfoOrg2[numero][Candidato1], "Ninguem", 0, strlen("Ninguem"), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Candidato1","Ninguem"); DOF2_SaveFile(); return true; } if(strcmp(nome,InfoOrg2[numero][Candidato2],true)==0) { strmid(InfoOrg2[numero][Candidato2], "Ninguem", 0, strlen("Ninguem"), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Candidato2","Ninguem"); DOF2_SaveFile(); return true; } if(strcmp(nome,InfoOrg2[numero][Candidato3],true)==0) { strmid(InfoOrg2[numero][Candidato3], "Ninguem", 0, strlen("Ninguem"), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Candidato3","Ninguem"); DOF2_SaveFile(); return true; } if(strcmp(nome,InfoOrg2[numero][Candidato4],true)==0) { strmid(InfoOrg2[numero][Candidato4], "Ninguem", 0, strlen("Ninguem"), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Candidato4","Ninguem"); DOF2_SaveFile(); return true; } if(strcmp(nome,InfoOrg2[numero][Candidato5],true)==0) { strmid(InfoOrg2[numero][Candidato5], "Ninguem", 0, strlen("Ninguem"), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Candidato5","Ninguem"); DOF2_SaveFile(); return true; } if(strcmp(nome,InfoOrg2[numero][Candidato6],true)==0) { strmid(InfoOrg2[numero][Candidato6], "Ninguem", 0, strlen("Ninguem"), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Candidato6","Ninguem"); DOF2_SaveFile(); return true; } if(strcmp(nome,InfoOrg2[numero][Candidato7],true)==0) { strmid(InfoOrg2[numero][Candidato7], "Ninguem", 0, strlen("Ninguem"), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Candidato7","Ninguem"); DOF2_SaveFile(); return true; } if(strcmp(nome,InfoOrg2[numero][Candidato8],true)==0) { strmid(InfoOrg2[numero][Candidato8], "Ninguem", 0, strlen("Ninguem"), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Candidato8","Ninguem"); DOF2_SaveFile(); return true; } if(strcmp(nome,InfoOrg2[numero][Candidato9],true)==0) { strmid(InfoOrg2[numero][Candidato9], "Ninguem", 0, strlen("Ninguem"), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Candidato9","Ninguem"); DOF2_SaveFile(); return true; } if(strcmp(nome,InfoOrg2[numero][Candidato10],true)==0) { strmid(InfoOrg2[numero][Candidato10], "Ninguem", 0, strlen("Ninguem"), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Candidato10","Ninguem"); DOF2_SaveFile(); return true; } if(strcmp(nome,InfoOrg2[numero][Candidato11],true)==0) { strmid(InfoOrg2[numero][Candidato11], "Ninguem", 0, strlen("Ninguem"), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Candidato11","Ninguem"); DOF2_SaveFile(); return true; } if(strcmp(nome,InfoOrg2[numero][Candidato12],true)==0) { strmid(InfoOrg2[numero][Candidato12], "Ninguem", 0, strlen("Ninguem"), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Candidato12","Ninguem"); DOF2_SaveFile(); return true; } if(strcmp(nome,InfoOrg2[numero][Candidato13],true)==0) { strmid(InfoOrg2[numero][Candidato13], "Ninguem", 0, strlen("Ninguem"), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Candidato13","Ninguem"); DOF2_SaveFile(); return true; } if(strcmp(nome,InfoOrg2[numero][Candidato14],true)==0) { strmid(InfoOrg2[numero][Candidato14], "Ninguem", 0, strlen("Ninguem"), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Candidato14","Ninguem"); DOF2_SaveFile(); return true; } if(strcmp(nome,InfoOrg2[numero][Candidato15],true)==0) { strmid(InfoOrg2[numero][Candidato15], "Ninguem", 0, strlen("Ninguem"), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Candidato15","Ninguem"); DOF2_SaveFile(); return true; } if(strcmp(nome,InfoOrg2[numero][Candidato16],true)==0) { strmid(InfoOrg2[numero][Candidato16], "Ninguem", 0, strlen("Ninguem"), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Candidato16","Ninguem"); DOF2_SaveFile(); return true; } if(strcmp(nome,InfoOrg2[numero][Candidato17],true)==0) { strmid(InfoOrg2[numero][Candidato17], "Ninguem", 0, strlen("Ninguem"), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Candidato17","Ninguem"); DOF2_SaveFile(); return true; } if(strcmp(nome,InfoOrg2[numero][Candidato18],true)==0) { strmid(InfoOrg2[numero][Candidato18], "Ninguem", 0, strlen("Ninguem"), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Candidato18","Ninguem"); DOF2_SaveFile(); return true; } if(strcmp(nome,InfoOrg2[numero][Candidato19],true)==0) { strmid(InfoOrg2[numero][Candidato19], "Ninguem", 0, strlen("Ninguem"), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Candidato19","Ninguem"); DOF2_SaveFile(); return true; } if(strcmp(nome,InfoOrg2[numero][Candidato20],true)==0) { strmid(InfoOrg2[numero][Candidato20], "Ninguem", 0, strlen("Ninguem"), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"Candidato20","Ninguem"); DOF2_SaveFile(); return true; } return 0; } static stock Demitir(playerid, para1) { //new gstring[128]; format(gstring, sizeof(gstring), "* Voce foi demitido pelo lider %s Motivo: Limpou sua Vaga.", PlayerName(playerid)); SendClientMessage(para1, COLOR_LIGHTRED, gstring); SendClientMessage(para1, COLOR_LIGHTRED, "* Agora voce e um civil novamente."); PlayerInfo[para1][pMembro] = 0; PlayerInfo[para1][pCargo] = 0; OnDuty[para1] = 0; EmpregoDuty[para1] = 0; ConnectedToPC[para1] = 0; RemoveallRoadandSpikes(para1); if(PlayerInfo[para1][pSex] == 1) { PlayerInfo[para1][pSkin] = 289; } else { PlayerInfo[para1][pSkin] = 150; } MedicBill[para1] = 0; SpawnPlayer(para1); } static stock DemitirLider(playerid) { SendClientMessage(playerid, COLOR_LIGHTRED, "Voce foi demitido de lider por um admin, agora voce e um Civil !"); PlayerInfo[playerid][pMembro] = 0; PlayerInfo[playerid][pLider] = 0; PlayerInfo[playerid][pCargo] = 0; OnDuty[playerid] = 0; EmpregoDuty[playerid] = 0; ConnectedToPC[playerid] = 0; RemoveallRoadandSpikes(playerid); if(PlayerInfo[playerid][pSex] == 1) { PlayerInfo[playerid][pSkin] = 289; } else { PlayerInfo[playerid][pSkin] = 150; } MedicBill[playerid] = 0; SpawnPlayer(playerid); } CallBack::TemVaga(family) { if(strcmp(InfoOrg[family][Membro1], "Ninguem", true) == 0) { return true; } if(strcmp(InfoOrg[family][Membro2], "Ninguem", true) == 0) { return true; } if(strcmp(InfoOrg[family][Membro3], "Ninguem", true) == 0) { return true; } if(strcmp(InfoOrg[family][Membro4], "Ninguem", true) == 0) { return true; } if(strcmp(InfoOrg[family][Membro5], "Ninguem", true) == 0) { return true; } if(strcmp(InfoOrg[family][Membro6], "Ninguem", true) == 0) { return true; } if(strcmp(InfoOrg[family][Membro7], "Ninguem", true) == 0) { return true; } if(strcmp(InfoOrg[family][Membro8], "Ninguem", true) == 0) { return true; } if(strcmp(InfoOrg[family][Membro9], "Ninguem", true) == 0) { return true; } if(strcmp(InfoOrg[family][Membro10], "Ninguem", true) == 0) { return true; } if(strcmp(InfoOrg[family][Membro11], "Ninguem", true) == 0) { return true; } if(strcmp(InfoOrg[family][Membro12], "Ninguem", true) == 0) { return true; } if(strcmp(InfoOrg[family][Membro13], "Ninguem", true) == 0) { return true; } if(strcmp(InfoOrg[family][Membro14], "Ninguem", true) == 0) { return true; } if(strcmp(InfoOrg[family][Membro15], "Ninguem", true) == 0) { return true; } if(strcmp(InfoOrg[family][Membro16], "Ninguem", true) == 0) { return true; } if(strcmp(InfoOrg[family][Membro17], "Ninguem", true) == 0) { return true; } if(strcmp(InfoOrg[family][Membro18], "Ninguem", true) == 0) { return true; } if(strcmp(InfoOrg[family][Membro19], "Ninguem", true) == 0) { return true; } if(strcmp(InfoOrg[family][Membro20], "Ninguem", true) == 0) { return true; } if(strcmp(InfoOrg[family][Membro21], "Ninguem", true) == 0) { return true; } if(strcmp(InfoOrg[family][Membro22], "Ninguem", true) == 0) { return true; } if(strcmp(InfoOrg[family][Membro23], "Ninguem", true) == 0) { return true; } if(strcmp(InfoOrg[family][Membro24], "Ninguem", true) == 0) { return true; } if(strcmp(InfoOrg[family][Membro25], "Ninguem", true) == 0) { return true; } if(strcmp(InfoOrg[family][Membro26], "Ninguem", true) == 0) { return true; } if(strcmp(InfoOrg[family][Membro27], "Ninguem", true) == 0) { return true; } if(strcmp(InfoOrg[family][Membro28], "Ninguem", true) == 0) { return true; } if(strcmp(InfoOrg[family][Membro29], "Ninguem", true) == 0) { return true; } if(strcmp(InfoOrg[family][Membro30], "Ninguem", true) == 0) { return true; } return 0; } stock IsPlayerOnline(const name[]) { new PlayerName2[MAX_PLAYER_NAME]; foreach(Player, i) { GetPlayerName(i, PlayerName2, sizeof(PlayerName2)); if(strcmp(name,PlayerName2,true)==0) { return true; } } return 0; } CallBack::GetPlayerID(const striing[]) { foreach(Player, i) { new testname[MAX_PLAYER_NAME]; GetPlayerName(i, testname, sizeof(testname)); if(strcmp(testname,striing,true)==0) { return i; } } return INVALID_PLAYER_ID; } stock Encrypt(string[]) { for(new x=0; x < strlen(string); x++) { string[x] += (3^x) * (x % 15); if(string[x] > (0xff)) { string[x] -= 256; } } return 1; } stock Decrypt(string[])//by brazz { for(new x=0; x < strlen(string); x++) { string[x] -= (3^x) * (x % 15); if(string[x] < (0x00)) { string[x] += 256; } } return 1; } CallBack::Avaliar(playerid) { Avaliado[playerid] = 0; return true; } CallBack::RotaOnibus(playerid) { new opA; if(TransportDuty[playerid] == 2) { opA = random(sizeof(RotaChecks)); SetPlayerCheckpoint(playerid, RotaChecks[opA][0],RotaChecks[opA][1],RotaChecks[opA][2], 11.0); SendClientMessage(playerid, 0x33FF00FF, "** Siga o CheckPoint que foi marcado em seu mapa para continuar a rota **"); return true; } return true; } CallBack::PediuAgora(playerid) { PediuPraEntrar[playerid] = 0; return true; } CallBack::IsAChopper(vehicleid) { if(vehicleid == 497) { return 1; } return 0; } CallBack::VozDePrisaoo(playerid, copid) { if (!ProxDetectorS(50.0, playerid, copid)) { KillTimer(PutaGorda[playerid]); if(VozDePrisao[playerid] == 1) { SendClientMessage(playerid, COLOR_LIGHTRED, "***O policial que lhe deu voz de prisao perdeu voce de vista, agora voce esta livre!"); VozDePrisao[playerid] = 0; } } return true; } CallBack::PlayerEquipar(playerid) { JaEquipado[playerid] = 0; return true; } //==============================================================================// static stock isNuero(const string[]) { for(new i = 0; i < strlen(string); i++) if(string[i] >= '0' && string[i] <= '9') return true; return false; } static stock IsNumero(const striing[]) { for (new i = 0, j = strlen(striing); i < j; i++) { if (striing[i] > '9' || striing[i] < '0') return 0; } return true; } stock NumerosInventario(const string[]) { new length = strlen(string); if(!length) return false; for(new i = 0; i < length; i++) { if(string[i] > '9' || string[i] <'0') return false; } return true; } stock DiminuirInv(slot,playerid) { if(InventarioInfo[playerid][slot][iUnidades] > 1) return InventarioInfo[playerid][slot][iUnidades] --; if(InventarioInfo[playerid][slot][iUnidades] == 1) { InventarioInfo[playerid][slot][iUnidades] = 0; InventarioInfo[playerid][slot][iSlot] = 19382; } return 1; } stock IsNumeric(const string[]) { for (new i = 0, j = strlen(string); i < j; i++) if(string[i] > '9' || string[i] < '0') return 0; return 1; } static stock IsPlayerInTerritorio(playerid) { new Float:x,Float:y,Float:z; GetPlayerPos(playerid, x, y, z); if(x >= Territorio[MinX] && y >= Territorio[MinY] && x <= Territorio[MaxX] && y <= Territorio[MaxY]) return true; return 0; } CallBack::fecharYakuza1() { MoveDynamicObject(pYakuza1, 1534.69995117,-1453.19995117,15.19999981,3); } static stock IsVehicleValid(id) { new type=GetVehicleModel(id); new blocked[]={ 548, 425, 417, 487, 488, 497, 563, 447, 469, 520 }; for(new i;i= min_x && Y <= max_y && Y >= min_y) return true; return 0; } static stock IsPlayerInWater(playerid) { new Float:x,Float:y,Float:pz; GetPlayerPos(playerid,x,y,pz); if ( (IsPlayerInArea(playerid, 2032.1371, 1841.2656, 1703.1653, 1467.1099) && pz <= 9.0484) //lv piratenschiff || (IsPlayerInArea(playerid, 2109.0725, 2065.8232, 1962.5355, 10.8547) && pz <= 10.0792) //lv visage || (IsPlayerInArea(playerid, -492.5810, -1424.7122, 2836.8284, 2001.8235) && pz <= 41.06) //lv staucamm || (IsPlayerInArea(playerid, -2675.1492, -2762.1792, -413.3973, -514.3894) && pz <= 4.24) //sf südwesten kleiner teich || (IsPlayerInArea(playerid, -453.9256, -825.7167, -1869.9600, -2072.8215) && pz <= 5.72) //sf gammel teich || (IsPlayerInArea(playerid, 1281.0251, 1202.2368, -2346.7451, -2414.4492) && pz <= 9.3145) //ls neben dem airport || (IsPlayerInArea(playerid, 2012.6154, 1928.9028, -1178.6207, -1221.4043) && pz <= 18.45) //ls mitte teich || (IsPlayerInArea(playerid, 2326.4858, 2295.7471, -1400.2797, -1431.1266) && pz <= 22.615) //ls weiter südöstlich || (IsPlayerInArea(playerid, 2550.0454, 2513.7588, 1583.3751, 1553.0753) && pz <= 9.4171) //lv pool östlich || (IsPlayerInArea(playerid, 1102.3634, 1087.3705, -663.1653, -682.5446) && pz <= 112.45) //ls pool nordwestlich || (IsPlayerInArea(playerid, 1287.7906, 1270.4369, -801.3882, -810.0527) && pz <= 87.123) //pool bei maddog's haus oben || (IsPlayerInArea >= -1408.0629 && y >= 2021.0587 && x <= -460.9319 && y <= 2861.4893)//Represa do deserto de Las Venturas || (IsPlayerInArea >= 1269.5886 && y >= -810.4507 && x <= 1288.8916 && y <= -800.5959) ||//Piscina de uma casa em VineWood (Mad Dog's Mansion) || (IsPlayerInArea >= 1086.6010 && y >= -683.6998 && x <= 1103.0225 && y <= -662.1832) ||//Piscina de uma casa em VineWood (Perto Mad Dog's Mansion) || (IsPlayerInArea >= 169.6879 && y >= -1392.6630 && x <= 281.5444 && y <= -1168.9749) ||// 2 Piscinas em VineWood || (IsPlayerInArea >= -828.3018 && y >= -2107.1487 && x <= -443.5032 && y <= -1855.6273) ||//Lago da arvore caida, ou Lago Morto || (IsPlayerInArea >= 1198.9982 && y >= -2407.0581 && x <= 1275.7397 && y <= -2341.6262) ||//Lago perto do aeroporto Los Santos || (IsPlayerInArea >= 2293.1467 && y >= -1432.5869 && x <= 2331.7388 && y <= -1397.6476) ||//Lago perto da Igreja Los Santos || (IsPlayerInArea >= 1915.3196 && y >= -1236.2382 && x <= 2016.6565 && y <= -1167.9290) ||//Park Glen Los Santos || (IsPlayerInArea >= -2747.1692 && y >= -510.1152 && x <= -2663.2468 && y <= -411.4905) ||//Lago em San Fierro || (IsPlayerInArea >= 1838.8041 && y >= 1463.2024 && x <= 2035.4167 && y <= 1703.0480) ||//Cascata do Login em Las Venturas || (IsPlayerInArea >= 2049.6646 && y >= 1843.3029 && x <= 2119.9021 && y <= 1983.5464) ||//Navio Pirata em Las Venturas || (IsPlayerInArea >= 2094.9255 && y >= 1085.2852 && x <= 2179.1790 && y <= 1183.0610) ||//Frente de um Cascino em Las Venturas || (IsPlayerInArea >= 2545.3718 && y >= 2347.7112 && x <= 2593.6794 && y <= 2403.8040))//Piscina de um predio em Las Venturas || (pz < 1.5) ) { return true; } return 0; } static stock SetHora() { gettime(hour, minute, second); if(hour == 0 && minute >= 0 && minute <= 59) { SetWorldTime(0); } if(hour == 1 && minute >= 0 && minute <= 59) { SetWorldTime(1); } if(hour == 2 && minute >= 0 && minute <= 59) { SetWorldTime(2); } if(hour == 3 && minute >= 0 && minute <= 59) { SetWorldTime(3); } if(hour == 4 && minute >= 0 && minute <= 59) { SetWorldTime(4); } if(hour == 5 && minute >= 0 && minute <= 39) { SetWorldTime(5); } if(hour == 5 && minute >= 40 && minute <= 49) { SetWorldTime(23); } if(hour == 5 && minute >= 50 && minute <= 59) { SetWorldTime(22); } if(hour == 6 && minute >= 0 && minute <= 9) { SetWorldTime(21); } if(hour == 6 && minute >= 30 && minute <= 59) { SetWorldTime(7); } if(hour == 7 && minute >= 0 && minute <= 59) { SetWorldTime(7); } if(hour == 8 && minute >= 0 && minute <= 59) { SetWorldTime(8); } if(hour == 9 && minute >= 0 && minute <= 59) { SetWorldTime(9); } if(hour == 10 && minute >= 0 && minute <= 59) { SetWorldTime(10); } if(hour == 11 && minute >= 0 && minute <= 59) { SetWorldTime(11); } if(hour == 12 && minute >= 0 && minute <= 59) { SetWorldTime(12); } if(hour == 13 && minute >= 0 && minute <= 59) { SetWorldTime(13); } if(hour == 14 && minute >= 0 && minute <= 59) { SetWorldTime(14); } if(hour == 15 && minute >= 0 && minute <= 59) { SetWorldTime(15); } if(hour == 16 && minute >= 0 && minute <= 59) { SetWorldTime(16); } if(hour == 17 && minute >= 0 && minute <= 59) { SetWorldTime(17); } if(hour == 17 && minute >= 35 && minute <= 39) { SetWorldTime(20); } if(hour == 17 && minute >= 40 && minute <= 49) { SetWorldTime(21); } if(hour == 17 && minute >= 55 && minute <= 59) { SetWorldTime(23); } if(hour == 18 && minute >= 0 && minute <= 29) { SetWorldTime(5); } if(hour == 19 && minute >= 0 && minute <= 59) { SetWorldTime(4); } if(hour == 20 && minute >= 0 && minute <= 59) { SetWorldTime(3); } if(hour == 21 && minute >= 0 && minute <= 59) { SetWorldTime(2); } if(hour == 22 && minute >= 0 && minute <= 59) { SetWorldTime(1); } if(hour == 23 && minute >= 0 && minute <= 59) { SetWorldTime(0); } } CallBack::Atualizar3Dtexts() { new FormatPerigoso[900]; for(new h = 0; h < sizeof(HouseInfo); h++) { if(HouseInfo[h][hOwned] == 0) { format(FormatPerigoso, sizeof(FormatPerigoso), "{FFFFFF}Casa %03d\n\ {FFFFFF}Esta casa esta a venda\n\ {FFFFFF}Descricao: {33AA33}%s\n\ {FFFFFF}Preco: {33AA33}R$%s\n\ {FFFFFF}Nivel: {4682B4}%d\n\ {FFFFFF}Use /comprarcasa", h, HouseInfo[h][hDiscription], ConvertMoney(HouseInfo[h][hValue]), HouseInfo[h][hLevel]); DestroyDynamic3DTextLabel(HouseLabel[h]); HouseLabel[h] = Create3DTextLabel(FormatPerigoso,0x3CB371FF,HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]+0.5,13.0, 0); DestroyDynamicPickup(HousePickup[h]); HousePickup[h] = CreateDynamicPickup(1273, 23, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez],-1,-1,-1,50.0); } if(HouseInfo[h][hOwned] == 1) { if(HouseInfo[h][hRentabil] == 0) { format(FormatPerigoso, sizeof(FormatPerigoso), "{FFFFFF}Casa %03d\n\ {FFFFFF}O dono desta casa e {33AA33}%s\n\ {FFFFFF}Nivel: {33AA33}%d\n\ {FFFFFF}Último login: {4682B4}[%s]\n\n\ {FFFFFF}Aperte a tecla {4682B4}F{FFFFFF} para entrar", h, HouseInfo[h][hOwner], HouseInfo[h][hLevel], HouseInfo[h][hVerData]); DestroyDynamic3DTextLabel(HouseLabel[h]); HouseLabel[h] = Create3DTextLabel(FormatPerigoso,0x3CB371FF,HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]+0.5,13.0, 0); DestroyDynamicPickup(HousePickup[h]); HousePickup[h] = CreateDynamicPickup(19522, 23, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez],-1,-1,-1,50.0); } else { format(FormatPerigoso, sizeof(FormatPerigoso), "{FFFFFF}Casa %03d\n\ {FFFFFF}O dono desta casa e {33AA33}%s\n\ {FFFFFF}Aluguel: {33AA33}R$%d\n\ {FFFFFF}Nivel: {33AA33}%d\n\ {FFFFFF}Último Login: {4682B4}[%s]\n\ {FFFFFF}USE /alugarquarto para aluga-la\n\n\ {FFFFFF}Aperte a tecla {4682B4}F{FFFFFF} para entrar", h, HouseInfo[h][hOwner], HouseInfo[h][hRent], HouseInfo[h][hLevel], HouseInfo[h][hVerData]); DestroyDynamic3DTextLabel(HouseLabel[h]); HouseLabel[h] = Create3DTextLabel(FormatPerigoso,0x3CB371FF,HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]+0.5,13.0, 0); DestroyDynamicPickup(HousePickup[h]); HousePickup[h] = CreateDynamicPickup(19522, 23, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez],-1,-1,-1,50.0); } } } for(new h = 0; h < sizeof(BizzInfo); h++) { if(BizzInfo[h][bOwned] == 0) { format(FormatPerigoso, sizeof(FormatPerigoso), "{FFFFFF}Esta empresa esta a venda\n\ {33AA33}%s\n\ {FFFFFF}Preco da Empresa: {4682B4}R$%s\n\ {FFFFFF}Nivel: {4682B4}%d\n\ {FFFFFF}Fundos: {33AA33}R$%s\n\ {FFFFFF}Produtos: {33AA33}%d/{FFFFFF}%d\n\ {FFFFFF}Preco por produto: {4682B4}R$%s\n\ {FFFFFF}Para comprar digite {4682B4}/comprarempresa\n\ {FFFFFF}Aperte a tecla {4682B4}H{FFFFFF} para entrar", BizzInfo[h][bMessage], ConvertMoney(BizzInfo[h][bBuyPrice]), BizzInfo[h][bLevelNeeded], ConvertMoney(BizzInfo[h][bTill]), BizzInfo[h][bProducts],BizzInfo[h][bMaxProducts], ConvertMoney(BizzInfo[h][bPriceProd])); UpdateDynamic3DTextLabelText(BizzLabel[h], 0x3CB371FF, FormatPerigoso); } if(BizzInfo[h][bOwned] == 1) { format(FormatPerigoso, sizeof(FormatPerigoso), "{4682B4}%s\n\ {FFFFFF}Dono: {4682B4}%s\n\ {FFFFFF}Entrada: {33AA33}R$%d\n\ {FFFFFF}Fundos: {33AA33}R$%s\n\ {FFFFFF}Produtos: {33AA33}%d/{FFFFFF}%d\n\ {FFFFFF}Preco por produto: {4682B4}R$%s\n\ {FFFFFF}Aperte a tecla {4682B4}H{FFFFFF} para entrar", BizzInfo[h][bMessage], BizzInfo[h][bOwner], BizzInfo[h][bEntranceCost], ConvertMoney(BizzInfo[h][bTill]), BizzInfo[h][bProducts],BizzInfo[h][bMaxProducts], ConvertMoney(BizzInfo[h][bPriceProd])); UpdateDynamic3DTextLabelText(BizzLabel[h], 0x3CB371FF, FormatPerigoso); } } for(new h = 0; h < sizeof(SBizzInfo); h++) { if(SBizzInfo[h][sbOwned] == 0) { format(FormatPerigoso, sizeof(FormatPerigoso), "{FFFFFF}Esta empresa esta a venda\n\ {33AA33}%s\n\ {FFFFFF}Preco da mini empresa: {4682B4}R$%s\n\ {FFFFFF}Nivel: {4682B4}%d\n\ {FFFFFF}Fundos: {33AA33}R$%s\n\ {FFFFFF}Produtos: {33AA33}%d/{FFFFFF}%d\n\ {FFFFFF}Preco por produto: {4682B4}R$%s\n\ {FFFFFF}Para comprar digite {4682B4}/comprarempresa\n\ {FFFFFF}Aperte a tecla {4682B4}H{FFFFFF} para entrar", SBizzInfo[h][sbMessage], ConvertMoney(SBizzInfo[h][sbBuyPrice]), SBizzInfo[h][sbLevelNeeded], ConvertMoney(SBizzInfo[h][sbTill]), SBizzInfo[h][sbProducts],SBizzInfo[h][sbMaxProducts], ConvertMoney(SBizzInfo[h][sbPriceProd])); UpdateDynamic3DTextLabelText(SBizzLabel[h], 0x3CB371FF, FormatPerigoso); } if(SBizzInfo[h][sbOwned] == 1) { format(FormatPerigoso, sizeof(FormatPerigoso), "{4682B4}%s\n\ {FFFFFF}Dono: {4682B4}%s\n\ {FFFFFF}Entrada: {33AA33}R$%d\n\ {FFFFFF}Fundos: {33AA33}R$%s\n\ {FFFFFF}Produtos: {33AA33}%d/{FFFFFF}%d\n\ {FFFFFF}Preco por produto: {4682B4}R$%s\n\ {FFFFFF}Aperte a tecla {4682B4}H{FFFFFF} para entrar", SBizzInfo[h][sbMessage], SBizzInfo[h][sbOwner], SBizzInfo[h][sbEntranceCost], ConvertMoney(SBizzInfo[h][sbTill]), SBizzInfo[h][sbProducts],SBizzInfo[h][sbMaxProducts], ConvertMoney(SBizzInfo[h][sbPriceProd])); UpdateDynamic3DTextLabelText(SBizzLabel[h], 0x3CB371FF, FormatPerigoso); } } for(new c; c < sizeof(CaixaEquipamentos); ++c) { if(CaixaEquipamentos[c][caType] == 1){ format(FormatPerigoso, sizeof FormatPerigoso, "[ CAIXA DE EQUIPAMENTOS P]\n{FFFFFF}Segure a tecla Y para equipar-se\nMateriais: %d", CaixaEquipamentos[c][caMateriais]); if(IsValidDynamic3DTextLabel(CaixaEquipamentos[c][caText])) UpdateDynamic3DTextLabelText(CaixaEquipamentos[c][caText], COLOR_RED, FormatPerigoso); } if(CaixaEquipamentos[c][caType] == 2) { format(FormatPerigoso, sizeof FormatPerigoso, "[ CAIXA DE EQUIPAMENTOS M]\n{FFFFFF}Segure a tecla Y para equipar-se\nMateriais: %d", CaixaEquipamentos[c][caMateriais]); if(IsValidDynamic3DTextLabel(CaixaEquipamentos[c][caText])) UpdateDynamic3DTextLabelText(CaixaEquipamentos[c][caText], COLOR_RED, FormatPerigoso); } if(CaixaEquipamentos[c][caType] == 3) { format(FormatPerigoso, sizeof FormatPerigoso, "[ CAIXA DE EQUIPAMENTOS G]\n{FFFFFF}Segure a tecla Y para equipar-se\nMateriais: %d", CaixaEquipamentos[c][caMateriais]); if(IsValidDynamic3DTextLabel(CaixaEquipamentos[c][caText])) UpdateDynamic3DTextLabelText(CaixaEquipamentos[c][caText], COLOR_RED, FormatPerigoso); } } for(new h = 0; h < sizeof(FBizzInfo); h++) { if(FBizzInfo[h][fbOwned] == 0) { format(FormatPerigoso, sizeof(FormatPerigoso), "%s\n\ {FFFFFF}Esta Fazenda esta a venda\n\ {33CCFF}Valor: {33AA33}R$%s\n\ {33CCFF}Nivel: {FFFFFF}%d\n\ {FFFF00}Produtos: {9ACD32}%d/{FFFFFF}%d\n\ {FFFF00}Preco por produto: {33AA33}R$%s\n\ {FFFFFF}Para comprar digite /comprarfazenda", FBizzInfo[h][fbMessage], ConvertMoney(FBizzInfo[h][fbBuyPrice]), FBizzInfo[h][fbLevelNeeded], FBizzInfo[h][fbProducts],FBizzInfo[h][fbMaxProducts], ConvertMoney(FBizzInfo[h][fbPriceProd])); UpdateDynamic3DTextLabelText(FBizzLabel[h], 0x3CB371FF, FormatPerigoso); } if(FBizzInfo[h][fbOwned] == 1) { format(FormatPerigoso, sizeof(FormatPerigoso), "%s\n\ {33CCFF}Dono da Fazenda: {FFFFFF}%s\n\ {33CCFF}Extorcao: {FFFFFF}%s\n\ {FFFF00}Produtos: {9ACD32}%d/{FFFFFF}%d\n\ {FFFF00}Preco por produto: {33AA33}R$%s\n\ {33CCFF}Fundos: {33AA33}R$%s", FBizzInfo[h][fbMessage], FBizzInfo[h][fbOwner], FBizzInfo[h][fbExtortion], FBizzInfo[h][fbProducts],FBizzInfo[h][fbMaxProducts], ConvertMoney(FBizzInfo[h][fbPriceProd]), ConvertMoney(FBizzInfo[h][fbTill])); UpdateDynamic3DTextLabelText(FBizzLabel[h], 0x3CB371FF, FormatPerigoso); } } return 0; } //================================================= static stock GetSpeedKM(playerid) { new Float:PosX, Float:PosY, Float:PosZ, Float:PlayerSpeedDistance; GetVehicleVelocity(GetPlayerVehicleID(playerid), PosX, PosY, PosZ); PlayerSpeedDistance = floatmul(floatsqroot(floatadd(floatadd(floatpower(PosX, 2), floatpower(PosY, 2)), floatpower(PosZ, 2))), 170.0); new spe = floatround(PlayerSpeedDistance * 1); return spe; } static stock GetPlayerSpeedape(playerid,bool:kmhh) { if(GetPlayerState(playerid) != PLAYER_STATE_ONFOOT) return 0; new Float:Vx,Float:Vy,Float:Vz,Float:rtn; GetPlayerVelocity(playerid,Vx,Vy,Vz); rtn = floatsqroot(floatabs(floatpower(Vx + Vy + Vz,2))); return kmhh?floatround(rtn * 100 * 1.61):floatround(rtn * 100); } static stock GetPlayerSpeed(playerid,bool:kmhh) { new Float:Vx,Float:Vy,Float:Vz,Float:rtn; if(!IsPlayerInAnyVehicle(playerid)) { return 0; } GetVehicleVelocity(GetPlayerVehicleID(playerid),Vx,Vy,Vz); rtn = floatsqroot(floatabs(floatpower(Vx + Vy + Vz,2))); return kmhh?floatround(rtn * 100 * 1.61):floatround(rtn * 100); } //================ stock ContarJogadores() { new Jogadores = 0; foreach(Player, i){ Jogadores++; } return Jogadores; } static stock RemovePlayerFromVehicleEx(playerid) { RemovePlayerFromVehicle(playerid); Controle(playerid, 1); } CallBack::LoadCofreOrg() { new arquivo[64]; new idx = 1; while (idx < sizeof(CofreOrg)) { format(arquivo, sizeof(arquivo), Pasta_CofreOrg,idx); CofreOrg[idx][DiaLider] = DOF2_GetInt(arquivo,"DiaLider"); CofreOrg[idx][Dinheiro] = DOF2_GetInt(arquivo,"Dinheiro"); CofreOrg[idx][Materiais] = DOF2_GetInt(arquivo,"Materiais"); CofreOrg[idx][Maconha] = DOF2_GetInt(arquivo,"Maconha"); CofreOrg[idx][Cocaina] = DOF2_GetInt(arquivo,"Cocaina"); CofreOrg[idx][Crack] = DOF2_GetInt(arquivo,"Crack"); CofreOrg[idx][dMaconha] = DOF2_GetInt(arquivo,"DarMaconha"); CofreOrg[idx][dEaglec1] = DOF2_GetInt(arquivo,"DarEaglec1"); CofreOrg[idx][dAKc1] = DOF2_GetInt(arquivo,"DarAKc1"); CofreOrg[idx][dMP5c1] = DOF2_GetInt(arquivo,"DarMP5c1"); CofreOrg[idx][dShotc1] = DOF2_GetInt(arquivo,"DarShotc1"); CofreOrg[idx][dRiflec1] = DOF2_GetInt(arquivo,"DarRiflec1"); CofreOrg[idx][dEaglec2] = DOF2_GetInt(arquivo,"DarEaglec2"); CofreOrg[idx][dAKc2] = DOF2_GetInt(arquivo,"DarAKc2"); CofreOrg[idx][dMP5c2] = DOF2_GetInt(arquivo,"DarMP5c2"); CofreOrg[idx][dShotc2] = DOF2_GetInt(arquivo,"DarShotc1"); CofreOrg[idx][dRiflec2] = DOF2_GetInt(arquivo,"DarRiflec2"); CofreOrg[idx][dEaglec3] = DOF2_GetInt(arquivo,"DarEaglec3"); CofreOrg[idx][dAKc3] = DOF2_GetInt(arquivo,"DarAKc3"); CofreOrg[idx][dMP5c3] = DOF2_GetInt(arquivo,"DarMP5c3"); CofreOrg[idx][dShotc3] = DOF2_GetInt(arquivo,"DarShotc3"); CofreOrg[idx][dRiflec3] = DOF2_GetInt(arquivo,"DarRiflec3"); CofreOrg[idx][dEaglec4] = DOF2_GetInt(arquivo,"DarEaglec4"); CofreOrg[idx][dAKc4] = DOF2_GetInt(arquivo,"DarAKc4"); CofreOrg[idx][dMP5c4] = DOF2_GetInt(arquivo,"DarMP5c4"); CofreOrg[idx][dShotc4] = DOF2_GetInt(arquivo,"DarShotc4"); CofreOrg[idx][dRiflec4] = DOF2_GetInt(arquivo,"DarRiflec4"); CofreOrg[idx][dEaglec5] = DOF2_GetInt(arquivo,"DarEaglec5"); CofreOrg[idx][dAKc5] = DOF2_GetInt(arquivo,"DarAKc5"); CofreOrg[idx][dMP5c5] = DOF2_GetInt(arquivo,"DarMP5c5"); CofreOrg[idx][dShotc5] = DOF2_GetInt(arquivo,"DarShotc5"); CofreOrg[idx][dRiflec5] = DOF2_GetInt(arquivo,"DarRiflec5"); CofreOrg[idx][cMaconha] = DOF2_GetInt(arquivo,"ComMaconha"); CofreOrg[idx][cMateriais] = DOF2_GetInt(arquivo,"ComMateriais"); CofreOrg[idx][mMaconha] = DOF2_GetInt(arquivo,"PagMaconha"); CofreOrg[idx][mMateriais] = DOF2_GetInt(arquivo,"PagMateriais"); CofreOrg[idx][Vip] = DOF2_GetInt(arquivo,"Vip"); CofreOrg[idx][Diasvip] = DOF2_GetInt(arquivo,"Diasvip"); CofreOrg[idx][DiaVIP] = DOF2_GetInt(arquivo,"DiaVIP"); CofreOrg[idx][MesVIP] = DOF2_GetInt(arquivo,"MesVIP"); CofreOrg[idx][AnoVIP] = DOF2_GetInt(arquivo,"AnoVIP"); if(idx == 12 || idx == 13) { CofreOrg[idx][MatBox1] = DOF2_GetInt(arquivo,"Box1"); CofreOrg[idx][MatBox2] = DOF2_GetInt(arquivo,"Box2"); CofreOrg[idx][MatBox3] = DOF2_GetInt(arquivo,"Box3"); } idx ++; } return idx; } CallBack::LoadSalarioOrg() { new arquivo[64]; new idx = 1; while (idx < sizeof(CofreOrg)) { format(arquivo, sizeof(arquivo), Pasta_CofreOrg,idx); CofreOrg[idx][salarioc1] = DOF2_GetInt(arquivo,"SalarioCargo1"); CofreOrg[idx][salarioc2] = DOF2_GetInt(arquivo,"SalarioCargo2"); CofreOrg[idx][salarioc3] = DOF2_GetInt(arquivo,"SalarioCargo3"); CofreOrg[idx][salarioc4] = DOF2_GetInt(arquivo,"SalarioCargo4"); CofreOrg[idx][salarioc5] = DOF2_GetInt(arquivo,"SalarioCargo5"); CofreOrg[idx][salariolider] = DOF2_GetInt(arquivo,"SalarioLider"); idx ++; } return true; } CallBack::SaveAccounts() { foreach(Player, i) { OnPlayerSave(i); SaveObjects(i); } SalvarCofreOrg(); SalvarCarros(); return true; } CallBack::SalvarCofreOrg() { new arquivo[75]; new idx = 1; while (idx < sizeof(CofreOrg)) { format(arquivo, sizeof(arquivo), Pasta_CofreOrg,idx); DOF2_SetInt(arquivo,"Dinheiro",CofreOrg[idx][Dinheiro]); DOF2_SetInt(arquivo,"Materiais",CofreOrg[idx][Materiais]); DOF2_SetInt(arquivo,"Maconha",CofreOrg[idx][Maconha]); DOF2_SetInt(arquivo,"Cocaina",CofreOrg[idx][Cocaina]); DOF2_SetInt(arquivo,"Crack",CofreOrg[idx][Crack]); DOF2_SetInt(arquivo,"DarMaconha",CofreOrg[idx][dMaconha]); DOF2_SetInt(arquivo,"ComMaconha",CofreOrg[idx][cMaconha]); DOF2_SetInt(arquivo,"ComMateriais",CofreOrg[idx][cMateriais]); DOF2_SetInt(arquivo,"PagMaconha",CofreOrg[idx][mMaconha]); DOF2_SetInt(arquivo,"PagMateriais",CofreOrg[idx][mMateriais]); DOF2_SetInt(arquivo,"Vip",CofreOrg[idx][Vip]); DOF2_SetInt(arquivo,"Diasvip",CofreOrg[idx][Diasvip]); DOF2_SetInt(arquivo,"DiaVIP",CofreOrg[idx][DiaVIP]); DOF2_SetInt(arquivo,"MesVIP",CofreOrg[idx][MesVIP]); DOF2_SetInt(arquivo,"AnoVIP",CofreOrg[idx][AnoVIP]); DOF2_SetInt(arquivo,"DiaLider",CofreOrg[idx][DiaLider]); if(idx == 13 || idx == 12) { DOF2_SetInt(arquivo,"Box1",CofreOrg[idx][MatBox1]); DOF2_SetInt(arquivo,"Box2",CofreOrg[idx][MatBox2]); DOF2_SetInt(arquivo,"Box3",CofreOrg[idx][MatBox3]); } DOF2_SaveFile(); idx ++; } return true; } //================== static stock DefinirSalarioc1(org,valor) { CofreOrg[org][salarioc1] = valor; new arquivo[64]; format(arquivo, sizeof(arquivo), Pasta_CofreOrg,org); DOF2_SetInt(arquivo,"SalarioCargo1",CofreOrg[org][salarioc1]); DOF2_SaveFile(); return true; } static stock DefinirSalarioc2(org,valor) { CofreOrg[org][salarioc2] = valor; new arquivo[64]; format(arquivo, sizeof(arquivo), Pasta_CofreOrg,org); DOF2_SetInt(arquivo,"SalarioCargo2",CofreOrg[org][salarioc2]); DOF2_SaveFile(); return true; } static stock DefinirSalarioc3(org,valor) { CofreOrg[org][salarioc3] = valor; new arquivo[64]; format(arquivo, sizeof(arquivo), Pasta_CofreOrg,org); DOF2_SetInt(arquivo,"SalarioCargo3",CofreOrg[org][salarioc3]); DOF2_SaveFile(); return true; } static stock DefinirSalarioc4(org,valor) { CofreOrg[org][salarioc4] = valor; new arquivo[64]; format(arquivo, sizeof(arquivo), Pasta_CofreOrg,org); DOF2_SetInt(arquivo,"SalarioCargo4",CofreOrg[org][salarioc4]); DOF2_SaveFile(); return true; } static stock DefinirSalarioc5(org,valor) { CofreOrg[org][salarioc5] = valor; new arquivo[64]; format(arquivo, sizeof(arquivo), Pasta_CofreOrg,org); DOF2_SetInt(arquivo,"SalarioCargo5",CofreOrg[org][salarioc5]); DOF2_SaveFile(); return true; } static stock DefinirSalarioc6(org,valor) { CofreOrg[org][salariolider] = valor; new arquivo[64]; format(arquivo, sizeof(arquivo), Pasta_CofreOrg,org); DOF2_SetInt(arquivo,"SalarioLider",CofreOrg[org][salariolider]); DOF2_SaveFile(); return true; } static stock DepositarGranaOrg(org,valor) { new antes = CofreOrg[org][Dinheiro]; CofreOrg[org][Dinheiro] = antes+valor; new arquivo[64]; format(arquivo, sizeof(arquivo), Pasta_CofreOrg,org); DOF2_SetInt(arquivo,"Dinheiro",CofreOrg[org][Dinheiro]); DOF2_SaveFile(); return true; } static stock GiveCash(playerid,valor) { new antes = PlayerInfo[playerid][pCasher]; PlayerInfo[playerid][pCasher] = antes+valor; return true; } static stock TakeCash(playerid,valor) { new antes = PlayerInfo[playerid][pCasher]; PlayerInfo[playerid][pCasher] = antes-valor; return true; } // Sistema de portao stock CarregarPortoes() { new Filea[60]; for(new i; i<1000; i++) { format(Filea,60,"Portoes/Portao_%d.ini",i); if(DOF2_FileExists(Filea)) { format(SistemaPortao[i][PortaoSenha],20, DOF2_GetString(Filea,"PortaoSenha")); format(SistemaPortao[i][PortaoDono],40, DOF2_GetString(Filea,"PortaoDono")); format(SistemaPortao[i][PortaoText],300,"{FFA500}Portao de %s buzine ou\ndigite /abrirportao para abrir",SistemaPortao[i][PortaoDono]); SistemaPortao[i][PortaoX] = DOF2_GetFloat(Filea,"PortaoX"); SistemaPortao[i][PortaoY] = DOF2_GetFloat(Filea,"PortaoY"); SistemaPortao[i][PortaoZ] = DOF2_GetFloat(Filea,"PortaoZ"); SistemaPortao[i][PortaoRX] = DOF2_GetFloat(Filea,"PortaoRX"); SistemaPortao[i][PortaoRY] = DOF2_GetFloat(Filea,"PortaoRY"); SistemaPortao[i][PortaoRZ] = DOF2_GetFloat(Filea,"PortaoRZ"); SistemaPortao[i][PortaoInterior] = DOF2_GetInt(Filea,"PortaoInterior"); SistemaPortao[i][PortaoBaixada] = DOF2_GetInt(Filea,"PortaoBaixada"); SistemaPortao[i][PortaoObj] = CreateDynamicObject(980, SistemaPortao[i][PortaoX],SistemaPortao[i][PortaoY], SistemaPortao[i][PortaoZ], SistemaPortao[i][PortaoRX], SistemaPortao[i][PortaoRY], SistemaPortao[i][PortaoRZ], SistemaPortao[i][PortaoBaixada], SistemaPortao[i][PortaoInterior], -1, 800.0); SistemaPortao[i][Portao3d] = CreateDynamic3DTextLabel(SistemaPortao[i][PortaoText], -1, SistemaPortao[i][PortaoX],SistemaPortao[i][PortaoY], SistemaPortao[i][PortaoZ], 30, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 0, SistemaPortao[i][PortaoBaixada], SistemaPortao[i][PortaoInterior], -1, 100.0); } } return 1; } stock SalvarPortoes() { new Filea[60]; for(new i; i<1000; i++) { format(Filea,60,"Portoes/Portao_%d.ini",i); if(IsValidDynamicObject(SistemaPortao[i][PortaoObj])) { if(!DOF2_FileExists(Filea)) DOF2_CreateFile(Filea); DOF2_SetString(Filea,"PortaoDono", SistemaPortao[i][PortaoDono] ); DOF2_SetString(Filea,"PortaoSenha", SistemaPortao[i][PortaoSenha] ); DOF2_SetString(Filea,"PortaoText", SistemaPortao[i][PortaoText] ); DOF2_SetFloat(Filea,"PortaoX", SistemaPortao[i][PortaoX] ); DOF2_SetFloat(Filea,"PortaoY", SistemaPortao[i][PortaoY] ); DOF2_SetFloat(Filea,"PortaoZ", SistemaPortao[i][PortaoZ] ); DOF2_SetFloat(Filea,"PortaoRX", SistemaPortao[i][PortaoRX] ); DOF2_SetFloat(Filea,"PortaoRY", SistemaPortao[i][PortaoRY] ); DOF2_SetFloat(Filea,"PortaoRZ", SistemaPortao[i][PortaoRZ] ); DOF2_SetInt(Filea,"PortaoInterior", SistemaPortao[i][PortaoInterior] ); DOF2_SetInt(Filea,"PortaoBaixada", SistemaPortao[i][PortaoBaixada] ); DOF2_SaveFile(); } } return 1; } forward SistemaAbrirPortao(playerid,portaoid); public SistemaAbrirPortao(playerid,portaoid) { new Float:p[6]; GetDynamicObjectPos(SistemaPortao[portaoid][PortaoObj], p[0],p[1],p[2]); GetDynamicObjectRot(SistemaPortao[portaoid][PortaoObj], p[3],p[4],p[5]); if(PortaoAberto[portaoid] == 0) { GameTextForPlayer(playerid, "~g~Portao Aberto", 3000, 3); MoveDynamicObject(SistemaPortao[portaoid][PortaoObj], p[0],p[1],p[2]-6, 3.0, p[3],p[4],p[5]); PortaoOcupado[portaoid] = 1; PortaoAberto[portaoid] = 1; SetTimerEx("SistemaAbrirPortao",8000,false,"id", playerid,portaoid); } else if(PortaoAberto[portaoid] == 1) { GameTextForPlayer(playerid, "~r~Portao Fechado", 3000, 3); MoveDynamicObject(SistemaPortao[portaoid][PortaoObj], p[0],p[1],p[2]+6, 3.0, p[3],p[4],p[5]); SetTimerEx("LiberarPortao",3500,false,"d", portaoid); PortaoAberto[portaoid] = 0; } return 1; } forward LiberarPortao(portaoid); public LiberarPortao(portaoid) { PortaoOcupado[portaoid] = 0; return 1; } static stock TirarMesVIP(org,valor) { new antes = CofreOrg[org][MesVIP]; CofreOrg[org][MesVIP] = antes-valor; new arquivo[64]; format(arquivo, sizeof(arquivo), Pasta_CofreOrg,org); DOF2_SetInt(arquivo,"MesVIP",CofreOrg[org][MesVIP]); DOF2_SaveFile(); return true; } static stock ColocarAnoVIP(org,valor) { new antes = CofreOrg[org][AnoVIP]; CofreOrg[org][AnoVIP] = antes+valor; new arquivo[64]; format(arquivo, sizeof(arquivo), Pasta_CofreOrg,org); DOF2_SetInt(arquivo,"AnoVIP",CofreOrg[org][AnoVIP]); DOF2_SaveFile(); return true; } static stock SalvarDiasvip(org,valor) { CofreOrg[org][Vip] = valor; new arquivo[64]; format(arquivo, sizeof(arquivo), Pasta_CofreOrg,org); DOF2_SetInt(arquivo,"Diasvip",CofreOrg[org][Diasvip]); DOF2_SaveFile(); return true; } static stock SalvarDiaVIP(org,valor) { CofreOrg[org][Vip] = valor; new arquivo[64]; format(arquivo, sizeof(arquivo), Pasta_CofreOrg,org); DOF2_SetInt(arquivo,"DiaVIP",CofreOrg[org][DiaVIP]); DOF2_SaveFile(); return true; } static stock SalvarMesVIP(org,valor) { CofreOrg[org][Vip] = valor; new arquivo[64]; format(arquivo, sizeof(arquivo), Pasta_CofreOrg,org); DOF2_SetInt(arquivo,"MesVIP",CofreOrg[org][MesVIP]); DOF2_SaveFile(); return true; } static stock SalvarAnoVIP(org,valor) { CofreOrg[org][Vip] = valor; new arquivo[64]; format(arquivo, sizeof(arquivo), Pasta_CofreOrg,org); DOF2_SetInt(arquivo,"AnoVIP",CofreOrg[org][AnoVIP]); DOF2_SaveFile(); return true; } static stock SalvarOrgVip(org,valor) { CofreOrg[org][Vip] = valor; new arquivo[64]; format(arquivo, sizeof(arquivo), Pasta_CofreOrg,org); DOF2_SetInt(arquivo,"Vip",CofreOrg[org][Vip]); DOF2_SaveFile(); return true; } static stock SalvarcMateriais(org,valor) { CofreOrg[org][cMateriais] = valor; new arquivo[64]; format(arquivo, sizeof(arquivo), Pasta_CofreOrg,org); DOF2_SetInt(arquivo,"ComMateriais",CofreOrg[org][cMateriais]); DOF2_SaveFile(); return true; } static stock SalvarmMateriais(org,valor) { CofreOrg[org][mMateriais] = valor; new arquivo[64]; format(arquivo, sizeof(arquivo), Pasta_CofreOrg,org); DOF2_SetInt(arquivo,"PagMateriais",CofreOrg[org][mMateriais]); DOF2_SaveFile(); return true; } static stock SalvarmMaconha(org,valor) { CofreOrg[org][mMaconha] = valor; new arquivo[64]; format(arquivo, sizeof(arquivo), Pasta_CofreOrg,org); DOF2_SetInt(arquivo,"PagMaconha",CofreOrg[org][mMaconha]); return true; } static stock SalvarcMaconha(org,valor) { CofreOrg[org][cMaconha] = valor; new arquivo[64]; format(arquivo, sizeof(arquivo), Pasta_CofreOrg,org); DOF2_SetInt(arquivo,"ComMaconha",CofreOrg[org][cMaconha]); DOF2_SaveFile(); return true; } static stock dSalvarEaglec1(org,valor) { //new antes = CofreOrg[org][dEaglec1]); CofreOrg[org][dEaglec1] = valor; new arquivo[64]; format(arquivo, sizeof(arquivo), Pasta_CofreOrg,org); DOF2_SetInt(arquivo,"DarEaglec1",CofreOrg[org][dEaglec1]); DOF2_SaveFile(); return true; } static stock dSalvarMaconha(org,valor) { CofreOrg[org][dMaconha] = valor; new arquivo[64]; format(arquivo, sizeof(arquivo), Pasta_CofreOrg,org); DOF2_SetInt(arquivo,"DarMaconha",CofreOrg[org][dMaconha]); DOF2_SaveFile(); return true; } static stock dSalvarEaglec2(org,valor) { //new antes = CofreOrg[org][dEaglec2]); CofreOrg[org][dEaglec2] = valor; new arquivo[64]; format(arquivo, sizeof(arquivo), Pasta_CofreOrg,org); DOF2_SetInt(arquivo,"DarEaglec2",CofreOrg[org][dEaglec2]); DOF2_SaveFile(); return true; } static stock dSalvarEaglec3(org,valor) { //new antes = CofreOrg[org][dEaglec3]); CofreOrg[org][dEaglec3] = valor; new arquivo[64]; format(arquivo, sizeof(arquivo), Pasta_CofreOrg,org); DOF2_SetInt(arquivo,"DarEaglec3",CofreOrg[org][dEaglec3]); DOF2_SaveFile(); return true; } static stock dSalvarEaglec4(org,valor) { //new antes = CofreOrg[org][dEaglec4]); CofreOrg[org][dEaglec4] = valor; new arquivo[64]; format(arquivo, sizeof(arquivo), Pasta_CofreOrg,org); DOF2_SetInt(arquivo,"DarEaglec4",CofreOrg[org][dEaglec4]); DOF2_SaveFile(); return true; } static stock dSalvarEaglec5(org,valor) { //new antes = CofreOrg[org][dEaglec5]); CofreOrg[org][dEaglec5] = valor; new arquivo[64]; format(arquivo, sizeof(arquivo), Pasta_CofreOrg,org); DOF2_SetInt(arquivo,"DarEaglec5",CofreOrg[org][dEaglec5]); DOF2_SaveFile(); return true; } static stock dSalvarShotc1(org,valor) { //new antes = CofreOrg[org][dShotc1]); CofreOrg[org][dShotc1] = valor; new arquivo[64]; format(arquivo, sizeof(arquivo), Pasta_CofreOrg,org); DOF2_SetInt(arquivo,"DarShotc1",CofreOrg[org][dShotc1]); DOF2_SaveFile(); return true; } static stock dSalvarShotc2(org,valor) { //new antes = CofreOrg[org][dShotc2]); CofreOrg[org][dShotc2] = valor; new arquivo[64]; format(arquivo, sizeof(arquivo), Pasta_CofreOrg,org); DOF2_SetInt(arquivo,"DarShotc2",CofreOrg[org][dShotc2]); DOF2_SaveFile(); return true; } static stock dSalvarShotc3(org,valor) { //new antes = CofreOrg[org][dShotc3]); CofreOrg[org][dShotc3] = valor; new arquivo[64]; format(arquivo, sizeof(arquivo), Pasta_CofreOrg,org); DOF2_SetInt(arquivo,"DarShotc3",CofreOrg[org][dShotc3]); DOF2_SaveFile(); return true; } static stock dSalvarShotc4(org,valor) { ///new antes = CofreOrg[org][dShotc4]); CofreOrg[org][dShotc4] = valor; new arquivo[64]; format(arquivo, sizeof(arquivo), Pasta_CofreOrg,org); DOF2_SetInt(arquivo,"DarShotc4",CofreOrg[org][dShotc4]); DOF2_SaveFile(); return true; } static stock dSalvarShotc5(org,valor) { //new antes = CofreOrg[org][dShotc5]); CofreOrg[org][dShotc5] = valor; new arquivo[64]; format(arquivo, sizeof(arquivo), Pasta_CofreOrg,org); DOF2_SetInt(arquivo,"DarShotc5",CofreOrg[org][dShotc5]); DOF2_SaveFile(); return true; } static stock dSalvarMP5c1(org,valor) { //new antes = CofreOrg[org][dMP5c1]); CofreOrg[org][dMP5c1] = valor; new arquivo[64]; format(arquivo, sizeof(arquivo), Pasta_CofreOrg,org); DOF2_SetInt(arquivo,"DarMP5c1",CofreOrg[org][dMP5c1]); DOF2_SaveFile(); return true; } static stock dSalvarMP5c2(org,valor) { //new antes = CofreOrg[org][dMP5c2]); CofreOrg[org][dMP5c2] = valor; new arquivo[64]; format(arquivo, sizeof(arquivo), Pasta_CofreOrg,org); DOF2_SetInt(arquivo,"DarMP5c2",CofreOrg[org][dMP5c2]); DOF2_SaveFile(); return true; } static stock dSalvarMP5c3(org,valor) { //new antes = CofreOrg[org][dMP5c3]); CofreOrg[org][dMP5c3] = valor; new arquivo[64]; format(arquivo, sizeof(arquivo), Pasta_CofreOrg,org); DOF2_SetInt(arquivo,"DarMP5c3",CofreOrg[org][dMP5c3]); DOF2_SaveFile(); return true; } static stock dSalvarMP5c4(org,valor) { //new antes = CofreOrg[org][dMP5c1]); CofreOrg[org][dMP5c4] = valor; new arquivo[64]; format(arquivo, sizeof(arquivo), Pasta_CofreOrg,org); DOF2_SetInt(arquivo,"DarMP5c4",CofreOrg[org][dMP5c4]); DOF2_SaveFile(); return true; } static stock dSalvarMP5c5(org,valor) { //new antes = CofreOrg[org][dMP5c5]); CofreOrg[org][dMP5c5] = valor; new arquivo[64]; format(arquivo, sizeof(arquivo), Pasta_CofreOrg,org); DOF2_SetInt(arquivo,"DarMP5c5",CofreOrg[org][dMP5c5]); DOF2_SaveFile(); return true; } static stock dSalvarAKc1(org,valor) { //new antes = CofreOrg[org][dAKc1]); CofreOrg[org][dAKc1] = valor; new arquivo[64]; format(arquivo, sizeof(arquivo), Pasta_CofreOrg,org); DOF2_SetInt(arquivo,"DarAKc1",CofreOrg[org][dAKc1]); DOF2_SaveFile(); return true; } static stock dSalvarAKc2(org,valor) { //new antes = CofreOrg[org][dAKc2]); CofreOrg[org][dAKc2] = valor; new arquivo[64]; format(arquivo, sizeof(arquivo), Pasta_CofreOrg,org); DOF2_SetInt(arquivo,"DarAKc2",CofreOrg[org][dAKc2]); DOF2_SaveFile(); return true; } static stock dSalvarAKc3(org,valor) { //new antes = CofreOrg[org][dAKc3]); CofreOrg[org][dAKc3] = valor; new arquivo[64]; format(arquivo, sizeof(arquivo), Pasta_CofreOrg,org); DOF2_SetInt(arquivo,"DarAKc3",CofreOrg[org][dAKc3]); DOF2_SaveFile(); return true; } static stock dSalvarAKc4(org,valor) { //new antes = CofreOrg[org][dAKc4]); CofreOrg[org][dAKc4] = valor; new arquivo[64]; format(arquivo, sizeof(arquivo), Pasta_CofreOrg,org); DOF2_SetInt(arquivo,"DarAKc4",CofreOrg[org][dAKc4]); DOF2_SaveFile(); return true; } static stock dSalvarAKc5(org,valor) { //new antes = CofreOrg[org][dAKc5]); CofreOrg[org][dAKc5] = valor; new arquivo[64]; format(arquivo, sizeof(arquivo), Pasta_CofreOrg,org); DOF2_SetInt(arquivo,"DarAKc5",CofreOrg[org][dAKc5]); DOF2_SaveFile(); return true; } static stock dSalvarRiflec1(org,valor) { //new antes = CofreOrg[org][dRiflec1]); CofreOrg[org][dRiflec1] = valor; new arquivo[64]; format(arquivo, sizeof(arquivo), Pasta_CofreOrg,org); DOF2_SetInt(arquivo,"DarRiflec1",CofreOrg[org][dRiflec1]); DOF2_SaveFile(); return true; } static stock dSalvarRiflec2(org,valor) { //new antes = CofreOrg[org][dRiflec1]); CofreOrg[org][dRiflec2] = valor; new arquivo[64]; format(arquivo, sizeof(arquivo), Pasta_CofreOrg,org); DOF2_SetInt(arquivo,"DarRiflec2",CofreOrg[org][dRiflec2]); DOF2_SaveFile(); return true; } static stock dSalvarRiflec3(org,valor) { //new antes = CofreOrg[org][dRiflec3]); CofreOrg[org][dRiflec3] = valor; new arquivo[64]; format(arquivo, sizeof(arquivo), Pasta_CofreOrg,org); DOF2_SetInt(arquivo,"DarRiflec3",CofreOrg[org][dRiflec3]); DOF2_SaveFile(); return true; } static stock dSalvarRiflec4(org,valor) { //new antes = CofreOrg[org][dRiflec4]); CofreOrg[org][dRiflec4] = valor; new arquivo[64]; format(arquivo, sizeof(arquivo), Pasta_CofreOrg,org); DOF2_SetInt(arquivo,"DarRiflec4",CofreOrg[org][dRiflec4]); DOF2_SaveFile(); return true; } static stock dSalvarRiflec5(org,valor) { //new antes = CofreOrg[org][dRiflec5]); CofreOrg[org][dRiflec5] = valor; new arquivo[64]; format(arquivo, sizeof(arquivo), Pasta_CofreOrg,org); DOF2_SetInt(arquivo,"DarRiflec5",CofreOrg[org][dRiflec5]); DOF2_SaveFile(); return true; } static stock SacarGranaOrg(org,valor) { new antes = CofreOrg[org][Dinheiro]; CofreOrg[org][Dinheiro] = antes-valor; new arquivo[64]; format(arquivo, sizeof(arquivo), Pasta_CofreOrg,org); DOF2_SetInt(arquivo,"Dinheiro",CofreOrg[org][Dinheiro]); DOF2_SaveFile(); return true; } static stock DepositarMaterialOrg(org,valor) { new antes = CofreOrg[org][Materiais]; CofreOrg[org][Materiais] = antes+valor; new arquivo[64]; format(arquivo, sizeof(arquivo), Pasta_CofreOrg,org); DOF2_SetInt(arquivo,"Materiais",CofreOrg[org][Materiais]); DOF2_SaveFile(); return true; } static stock SacarMaterialOrg(org,valor) { new antes = CofreOrg[org][Materiais]; CofreOrg[org][Materiais] = antes-valor; new arquivo[64]; format(arquivo, sizeof(arquivo), Pasta_CofreOrg,org); DOF2_SetInt(arquivo,"Materiais",CofreOrg[org][Materiais]); DOF2_SaveFile(); return true; } static stock DepositarMaconhaOrg(org,valor) { new antes = CofreOrg[org][Maconha]; CofreOrg[org][Maconha] = antes+valor; new arquivo[64]; format(arquivo, sizeof(arquivo), Pasta_CofreOrg,org); DOF2_SetInt(arquivo,"Maconha",CofreOrg[org][Maconha]); DOF2_SaveFile(); return true; } static stock SacarMaconhaOrg(org,valor) { new antes = CofreOrg[org][Maconha]; CofreOrg[org][Maconha] = antes-valor; new arquivo[64]; format(arquivo, sizeof(arquivo), Pasta_CofreOrg,org); DOF2_SetInt(arquivo,"Maconha",CofreOrg[org][Maconha]); DOF2_SaveFile(); return true; } static stock DepositarCocainaOrg(org,valor) { new antes = CofreOrg[org][Cocaina]; CofreOrg[org][Cocaina] = antes+valor; new arquivo[64]; format(arquivo, sizeof(arquivo), Pasta_CofreOrg,org); DOF2_SetInt(arquivo,"Cocaina",CofreOrg[org][Cocaina]); DOF2_SaveFile(); return true; } static stock SacarCocainaOrg(org,valor) { new antes = CofreOrg[org][Cocaina]; CofreOrg[org][Cocaina] = antes-valor; new arquivo[64]; format(arquivo, sizeof(arquivo), Pasta_CofreOrg,org); DOF2_SetInt(arquivo,"Cocaina",CofreOrg[org][Cocaina]); DOF2_SaveFile(); return true; } static stock DepositarCrackOrg(org,valor) { new antes = CofreOrg[org][Crack]; CofreOrg[org][Crack] = antes+valor; new arquivo[64]; format(arquivo, sizeof(arquivo), Pasta_CofreOrg,org); DOF2_SetInt(arquivo,"Crack",CofreOrg[org][Crack]); DOF2_SaveFile(); return true; } static stock SacarCrackOrg(org,valor) { new antes = CofreOrg[org][Crack]; CofreOrg[org][Crack] = antes-valor; new arquivo[64]; format(arquivo, sizeof(arquivo), Pasta_CofreOrg,org); DOF2_SetInt(arquivo,"Crack",CofreOrg[org][Crack]); DOF2_SaveFile(); return true; } CallBack::IsAVendedorDeProdutosCar(carid) { if((carid >= 529) && (carid <= 534)) { return true; } return 0; } CallBack::AluguelCarrosCar(carid)// Carros Aluguel 1 { for(new i=0;i= 359 && carid <= 365) { return true; } return 0; } CallBack::IsAVendedorDeProdutos(playerid) { new emprego = PlayerInfo[playerid][pEmprego]; if(emprego==11) { return true; } return 0; } static stock cmdlog(playerid, const paramters[]) { if(strcmp(paramters,"/porranenhuma", true ) == 0) { } else { //new gstring[128]; format(gstring, sizeof(gstring), "Player:%s(ID:%d) - Usou o Comando %s", PlayerName(playerid), playerid, paramters); CNFLogs("cmdplayer", gstring); } } stock CNFLogs(const log[], const string[]) { new entry[256], strlog[128], dia, mes, ano, hora, minuto, segundo; getdate(ano, mes, dia); gettime(hora, minuto, segundo); format(entry, sizeof(entry), "[%02d/%02d/%02d - %02d:%02d:%02d] - %s\r\n", dia, mes, ano, hora, minuto, segundo, string); new File:hFile; format(strlog, sizeof strlog, Pasta_Logs, log); hFile = fopen(strlog, io_append); fwrite(hFile, entry); fclose(hFile); return 0; } CallBack::DateProp(playerid) { new string[128]; new diia, mees, aano, hoora, minuuto, seguundo; getdate(aano, mees, diia); gettime(hoora, minuuto, seguundo); GetPlayerName(playerid, playername, sizeof(playername)); new curdate = getdate(); for(new h = 0; h < sizeof(HouseInfo); h++) { if (strcmp(playername, HouseInfo[h][hOwner], true) == 0) { HouseInfo[h][hDate] = curdate; format(string, sizeof string, "%02d/%02d/%02d as %02d:%02d:%02d", diia, mees, aano, hoora, minuuto, seguundo); strmid(HouseInfo[h][hVerData], string, 0, strlen(string), 255); SaveCasa(h); Atualizar3Dtexts(); } } for(new b = 0; b < sizeof(BizzInfo); b++) { if (strcmp(playername, BizzInfo[b][bOwner], true) == 0) { BizzInfo[b][bDate] = curdate; SalvarEmpresa(b); Atualizar3Dtexts(); } } for(new sb = 0; sb < sizeof(SBizzInfo); sb++) { if (strcmp(playername, SBizzInfo[sb][sbOwner], true) == 0) { SBizzInfo[sb][sbDate] = curdate; SalvarSEmpresa(sb); Atualizar3Dtexts(); } } for(new fb = 0; fb < sizeof(FBizzInfo); fb++) { if (strcmp(playername, FBizzInfo[fb][fbOwner], true) == 0) { FBizzInfo[fb][fbDate] = curdate; SalvarFEmpresa(fb); Atualizar3Dtexts(); } } return true; } public SV_VOID:OnPlayerActivationKeyPress(SV_UINT:playerid, SV_UINT:keyid) { // Anexe o player ao stream local como alto-falante se a tecla 'B' for pressionada if (keyid == 0x42 && lstream[playerid]) SvAttachSpeakerToStream(lstream[playerid], playerid); // Anexe o player ao stream global como um alto-falante se a tecla 'Z' for pressionada if (keyid == 0x5A && gstream) SvAttachSpeakerToStream(gstream, playerid); if(keyid == 0x5A && FrequenciaConectada[playerid] >= 1) { ApplyAnimation(playerid, "ped", "phone_talk", 4.1, 1, 1, 1, 0, 0, 0); if(!IsPlayerAttachedObjectSlotUsed(playerid, 9)) SetPlayerAttachedObject(playerid, 9, 19942, 2, 0.0300, 0.1309, -0.1060, 118.8998, 19.0998, 164.2999); SvAttachSpeakerToStream(Frequencia[FrequenciaConectada[playerid]], playerid); } else if(keyid == 0x5A && lstream[playerid]) { SvAttachSpeakerToStream(lstream[playerid], playerid); //local } if(keyid == 0x42 && gstream) { if(IsPlayerAdmin(playerid)) { SvAttachSpeakerToStream(gstream, playerid); //global } public SV_VOID:OnPlayerActivationKeyRelease(SV_UINT:playerid, SV_UINT:keyid) { // Separe o player do stream local se a tecla 'B' for liberada if (keyid == 0x42 && lstream[playerid]) SvDetachSpeakerFromStream(lstream[playerid], playerid); // Desanexar o jogador do fluxo global se a tecla 'Z' for liberada if (keyid == 0x5A && gstream) SvDetachSpeakerFromStream(gstream, playerid); } #endif } } CMD:voipradio(playerid, params[]) { new freq; if(sscanf(params, "d", freq)) return SendClientMessage(playerid, -1,"Uso: /radio [FREQ. 1-50 (0 Desligar)]"); if(freq > 50 || freq < 0) return SendClientMessage(playerid, 0x00FFFFFF, "Frequencia Invalida!"); if(freq == 0) { FrequenciaConectada[playerid] = 0; SendClientMessage(playerid, 0x00FFFFFF, "VOIP RADIO Desligado!"); SvDetachListenerFromStream(Frequencia[freq], playerid); } else { new string[128]; format(string, 128, "[VOIP RADIO] Frequencia conectada: (%d).", freq); SendClientMessage(playerid, 0x00AE00FF, string); format(string, 128, "[VOIP RADIO] %s saiu da frequencia(%d)", WkytNome(playerid), FrequenciaConectada[playerid]); MsgFrequencia(FrequenciaConectada[playerid], 0xBF0000FF, string); format(string, 128, "[VOIP RADIO] %s conectou na frequencia(%d)", WkytNome(playerid), freq); MsgFrequencia(freq, 0xFF6C00FF, string); SetTimerEx("ConectarNaFrequencia", 100, false, "id", playerid, freq); } return 1; } public SV_VOID:OnPlayerActivationKeyRelease(SV_UINT:playerid,SV_UINT:keyid) { if(keyid == 0x5A && FrequenciaConectada[playerid] >= 1) { SvDetachSpeakerFromStream(Frequencia[FrequenciaConectada[playerid]], playerid); ClearAnimations(playerid); if(IsPlayerAttachedObjectSlotUsed(playerid, 9)) RemovePlayerAttachedObject(playerid, 9); } else if(keyid == 0x5A && lstream[playerid]) { SvDetachSpeakerFromStream(lstream[playerid], playerid); } if(keyid == 0x42 && gstream) { if(IsPlayerAdmin(playerid)) { SvDetachSpeakerFromStream(gstream, playerid); } } } forward ConectarNaFrequencia(playerid, freq); public ConectarNaFrequencia(playerid, freq) { FrequenciaConectada[playerid] = freq; SvAttachListenerToStream(Frequencia[freq], playerid); return 1; } CallBack::IsArma(playerid) { new lider = PlayerInfo[playerid][pLider]; new member = PlayerInfo[playerid][pMembro]; if(member==14 || member==18 || member==19 || member==5 || member==17 || member==20 || member==21 || member==22) { return true; } else if(lider==14 || lider==18 || lider==19 || lider==5 || lider==17 || lider==20 || lider==21 || member==22) { return true; } return 0; } static stock IsPlayerInLocal(playerid) { if(PlayerToPoint(3.0,playerid,246.3115,121.0975,1003.2301)) { return true; } else if(PlayerToPoint(3.0,playerid,1579.3629,-1635.3847,13.5613)) { return true; } else if(PlayerToPoint(3.0,playerid,211.2608,185.8552,1003.0313)) { return true; } else { return 0; } } static stock SoNumero(const striing[]) { for (new i = 0, j = strlen(striing); i < j; i++) { if (striing[i] > '9' || striing[i] < '0') return 0; } return true; } CallBack::SendHelperMessage(COLOR, const striing[]) { foreach(Player, i) { if(PlayerInfo[i][pHelper] >= 1 && cHelperc[i] == 0) { SendClientMessage(i, COLOR, striing); } } printf("%s", striing); return true; } static stock AntiDeAMX() { new a[][] = { "Unarmed (Fist)", "Brass K" }; #pragma unused a } static stock VerSemana(const PT_Dia, const PT_Mes, const PT_Ano)//by - Paulor { new PT_A = (14 - PT_Mes) / 12, PT_B = PT_Ano - PT_A, PT_C = (PT_Mes + (12 * PT_A)) - 2, PT_D = (((((PT_Dia + ((31 * PT_C) / 12)) + PT_B) + (PT_B / 4)) - (PT_B / 100)) + (PT_B / 400)), PT_E = PT_D % 7; static const PTSemana[7][14] = { "DOMINGO", "SEGUNDA-FEIRA", "TERCA-FEIRA", "QUARTA-FEIRA", "QUINTA-FEIRA", "SEXTA-FEIRA", "SABADO" }; return PTSemana[PT_E]; } stock GetNomeMes(mes) { new name[15]; switch(mes) { case 1:name = "Janeiro"; case 2:name = "Fevereiro"; case 3:name = "Marco"; case 4:name = "Abriu"; case 5:name = "Maio"; case 6:name = "Junho"; case 7:name = "Julho"; case 8:name = "Agosto"; case 9:name = "Setembro"; case 10:name = "Outubro"; case 11:name = "Novembro"; case 12:name = "Dezembro"; default:name = "Nenhum"; } return name; } CallBack::reloginho() { new str[100],str2[50]; new ano, mes, dia, horas, minutos, segundos; getdate(ano, mes, dia); gettime(horas, minutos, segundos); // --------------------------------- // if(horas == 15 && minutos == 10 && segundos == 0) { ExecutarImpostosCasa(); } // --------------------------------- // foreach(Player, p) { Loop(iconid, MAX_PLAYER_MAPICONS) { if(IsPlayerInRangeOfPoint(p, 5.0, DataPlayerMapIcon[p][iconid][m_PosX], DataPlayerMapIcon[p][iconid][m_PosY], DataPlayerMapIcon[p][iconid][m_PosZ])) { if(iconid == 55) { RemovePlayerMapIcon(p, iconid); break; } } } } // --------------------------------- // foreach(Player, p) { if(GetPlayerState(p) == PLAYER_STATE_DRIVER && GetPlayerSpeedEx(p) > 5) { new vehicleid = GetPlayerVehicleID(p); if(Gas[vehicleid] < 1 && !IsAPlane(vehicleid)) { TogglePlayerControllableEx(p, false); SetVehicleVelocity(GetPlayerVehicleID(p), 0.0, 0.0, 0.0); SetTimerEx("Timer_DesbloquearPlayer", 5000, false, "i", p); SCM(p, 0xFFFF00FF, "> Esse veículo está sem gasolina! Compre um galão de gasolina em um posto."); return 1; } } } // --------------------------------- // new myeggtext[20]; if(mes == 1) { myeggtext = "Janeiro"; } else if(mes == 2) { myeggtext = "Fevereiro"; } else if(mes == 3) { myeggtext = "Marco"; } else if(mes == 4) { myeggtext = "Abril"; } else if(mes == 5) { myeggtext = "Maio"; } else if(mes == 6) { myeggtext = "Junho"; } else if(mes == 7) { myeggtext = "Julho"; } else if(mes == 8) { myeggtext = "Agosto"; } else if(mes == 9) { myeggtext = "Setembro"; } else if(mes == 10) { myeggtext = "Outubro"; } else if(mes == 11) { myeggtext = "Novembro"; } else if(mes == 12) { myeggtext = "Dezembro"; } if(horas > 23) horas = 0, dia++; format(str, sizeof(str), " ", dia, myeggtext); TextDrawSetString(CNF[2], str); format( str2, sizeof str2, " ",horas, minutos); TextDrawSetString(CNF[3], str2); if(horas == 15 && minutos == 0 && segundos == 1){ gReloadProps();} if(horas == 7 && minutos == 55 && segundos == 1) { SendClientMessageToAll(COLOR_YELLOW, "[Aviso] Faltam 5 minutos para a Guerra do Morro Comecar!"); } if(horas == 8 && minutos == 0 && segundos == 1) { gIniciarGuerraMorro(); } if(horas == 8 && minutos == 30 && segundos == 1) { IniciarGuerraPedreira(); } if(horas == 9 && minutos == 30 && segundos == 1) { FinalizarGuerraPedreira(); } if(horas == 13 && minutos == 55 && segundos == 1) { SendClientMessageToAll(COLOR_YELLOW, "[Aviso] Faltam 5 minutos para a Guerra do Morro Comecar!"); } if(horas == 14 && minutos == 0 && segundos == 1) { gIniciarGuerraMorro(); } if(horas == 14 && minutos == 30 && segundos == 1) { IniciarGuerraPedreira(); } if(horas == 15 && minutos == 30 && segundos == 1) { FinalizarGuerraPedreira(); } if(horas == 19 && minutos == 55 && segundos == 1) { SendClientMessageToAll(COLOR_YELLOW, "[Aviso] Faltam 5 minutos para a Guerra do Morro Comecar!"); } if(horas == 20 && minutos == 0 && segundos == 1) { gIniciarGuerraMorro(); } if(horas == 21 && minutos == 0 && segundos == 1) { IniciarGuerraPedreira(); } if(horas == 22 && minutos == 0 && segundos == 1) { FinalizarGuerraPedreira(); } if(horas == 1 && minutos == 55 && segundos == 1) { SendClientMessageToAll(COLOR_YELLOW, "[Aviso] Faltam 5 minutos para a Guerra do Morro Comecar!"); } if(horas == 2 && minutos == 0 && segundos == 1) { gIniciarGuerraMorro(); } if(horas == 3 && minutos == 0 && segundos == 1) { IniciarGuerraPedreira(); } if(horas == 4 && minutos == 0 && segundos == 1) { FinalizarGuerraPedreira(); } if(horas == 10 && minutos == 25 && segundos == 1) { SendClientMessageToAll(COLOR_YELLOW, "Faltam 5 minutos para o Respawn automatico, entrem em seus carros!"); } if(horas == 10 && minutos == 28 && segundos == 1) { SendClientMessageToAll(COLOR_YELLOW, "Faltam 2 minutos para o Respawn automatico, entrem em seus carros!"); } if(horas == 10 && minutos == 30 && segundos == 1) { } if(horas == 20 && minutos == 0 && segundos == 1){ gReloadProps();} if(horas == 8 && minutos == 0 && segundos == 1){ gReloadProps();} if(horas == 10 && minutos == 30 && segundos == 1) { SendClientMessageToAll(COLOR_YELLOW, "Info Respawn: Todos os carros foram respawnados com sucesso !"); } if(horas == 12 && minutos == 25 && segundos == 1) { SendClientMessageToAll(COLOR_YELLOW, "Faltam 5 minutos para o Respawn automatico, entrem em seus carros!"); } if(horas == 12 && minutos == 28 && segundos == 1) { SendClientMessageToAll(COLOR_YELLOW, "Faltam 5 minutos para o Respawn automatico, entrem em seus carros!"); } if(horas == 12 && minutos == 30 && segundos == 1) { } if(horas == 12 && minutos == 30 && segundos == 1) { SendClientMessageToAll(COLOR_YELLOW, "Info Respawn: Todos os carros foram respawnados com sucesso !"); } if(horas == 14 && minutos == 25 && segundos == 1) { SendClientMessageToAll(COLOR_YELLOW, "Faltam 5 minutos para o Respawn automatico, entrem em seus carros!"); } if(horas == 14 && minutos == 28 && segundos == 1) { SendClientMessageToAll(COLOR_YELLOW, "Faltam 2 minutos para o Respawn automatico, entrem em seus carros!"); } if(horas == 14 && minutos == 30 && segundos == 1) { } if(horas == 16 && minutos == 30 && segundos == 1) { SendClientMessageToAll(COLOR_YELLOW, "Info Respawn: Todos os carros foram respawnados com sucesso !"); } if(horas == 18 && minutos == 25 && segundos == 1) { SendClientMessageToAll(COLOR_YELLOW, "Faltam 5 minutos para o Respawn automatico, entrem em seus carros!"); } if(horas == 18 && minutos == 28 && segundos == 1) { SendClientMessageToAll(COLOR_YELLOW, "Faltam 2 minutos para o Respawn automatico, entrem em seus carros!"); } if(horas == 18 && minutos == 30 && segundos == 1) { } if(horas == 20 && minutos == 30 && segundos == 1) { SendClientMessageToAll(COLOR_YELLOW, "Info Respawn: Todos os carros foram respawnados com sucesso !"); } if(horas == 22 && minutos == 25 && segundos == 1) { SendClientMessageToAll(COLOR_YELLOW, "Faltam 5 minutos para o Respawn automatico, entrem em seus carros!"); } if(horas == 22 && minutos == 28 && segundos == 1) { SendClientMessageToAll(COLOR_YELLOW, "Faltam 2 minutos para o Respawn automatico, entrem em seus carros!"); } if(horas == 22 && minutos == 30 && segundos == 1) { } if(horas == 00 && minutos == 30 && segundos == 1) { SendClientMessageToAll(COLOR_YELLOW, "Info Respawn: Todos os carros foram respawnados com sucesso !"); } if(horas == 2 && minutos == 25 && segundos == 1) { SendClientMessageToAll(COLOR_YELLOW, "Faltam 5 minutos para o Respawn automatico, entrem em seus carros!"); } if(horas == 2 && minutos == 28 && segundos == 1) { SendClientMessageToAll(COLOR_YELLOW, "Faltam 2 minutos para o Respawn automatico, entrem em seus carros!"); } if(horas == 2 && minutos == 30 && segundos == 1) { } if(horas == 2 && minutos == 30 && segundos == 1) { SendClientMessageToAll(COLOR_YELLOW, "Info Respawn: Todos os carros foram respawnados com sucesso !"); } if(horas == 4 && minutos == 25 && segundos == 1) { SendClientMessageToAll(COLOR_YELLOW, "Faltam 5 minutos para o Respawn automatico, entrem em seus carros!"); } if(horas == 4 && minutos == 28 && segundos == 1) { SendClientMessageToAll(COLOR_YELLOW, "Faltam 2 minutos para o Respawn automatico, entrem em seus carros!"); } if(horas == 4 && minutos == 30 && segundos == 1) { } if(horas == 4 && minutos == 30 && segundos == 1) { SendClientMessageToAll(COLOR_YELLOW, "Info Respawn: Todos os carros foram respawnados com sucesso !"); } SyncTime(); return true; } stock MsgFrequencia(freq, color, msg[]) { for(new i=0;i 0 && FrequenciaConectada[i] == freq) { SendClientMessage(i, color, msg); } } } return 1; } stock WkytNome(playerid) { new name[MAX_PLAYER_NAME+1]; GetPlayerName(playerid, name, MAX_PLAYER_NAME+1); return name; } static stock ChatAdmin(const striing[],nivel) { foreach(Player, i) { if(PlayerInfo[i][pAdmin] >= nivel) { SendClientMessage(i, 0x00FFFFAA, striing); } } return 1; } CallBack::DesbugMorte(playerid) return totaldemortes[playerid] = 0; CallBack::ResetCount(playerid) { SetPVarInt(playerid, "TextSpamCount", 0); } CallBack::ResetUsouEstacionar(playerid) { UsouEstacionar[playerid] = false; } static stock IsNotWeaponNoAmmo(WeaponID) { new slot=GetWeaponSlot(WeaponID); if(slot!=0 && slot!=1 && slot!=10)return 1; return 0; } static stock IsNotWeaponVise(WeaponID) { new slot=GetWeaponSlot(WeaponID); if(slot>1 && slot!=10 && slot!=6 && slot!=9 &&slot!=11 && slot!=12 && slot!=35 && slot!=36 && slot!=43) return 1; return 0; } static stock IsGiveVehicleWeapon(WeaponID) { if(WeaponID==25 || WeaponID==46 || WeaponID==2) return 1; return 0; } #define IsValidWeapon(%0) (%0>=1 && %0<=18 || %0>=21 && %0<=46) static stock GetWeaponSlot(weaponid) { new slot; switch(weaponid) { case 0,1: slot = 0; case 2 .. 9: slot = 1; case 10 .. 15: slot = 10; case 16 .. 18, 39: slot = 8; case 22 .. 24: slot =2; case 25 .. 27: slot = 3; case 28, 29, 32: slot = 4; case 30, 31: slot = 5; case 33, 34: slot = 6; case 35 .. 38: slot = 7; case 40: slot = 12; case 41 .. 43: slot = 9; case 44 .. 46: slot = 11; } return slot; } public OnRconLoginAttempt(ip[], password[], success) { new string[128]; if(success) { new pip[16]; foreach(Player, i) { GetPlayerName(i, sendername, sizeof(sendername)); GetPlayerIp(i, pip, sizeof(pip)); if(!strcmp(ip, pip, true)) { if(strcmp(sendername,NOME1, true) == 0 || strcmp(sendername,NOME2, true) == 0 || strcmp(sendername,NOME3, true) == 0 || strcmp(sendername,NOME4, true) == 0|| strcmp(sendername,NOME5, true) == 0) { format(string, sizeof(string), "Seu nick ( %s ) tem permissao para logar-se como admin RCON! Bom jogo.", sendername); SendClientMessage(i, 0x33FF00FF, string); format(string, sizeof string, "AdmCmd: %s[ID %d] logou na rcon.", sendername, i); ABroadCast(COLOR_LIGHTBLUE, string, 1); return true; } else { format(string, sizeof(string), "Seu nick ( %s ) nao tem permissao para logar-se como admin RCON e foi banido.", sendername); SendClientMessage(i, COLOR_LIGHTRED, string); SendClientMessage(i, COLOR_LIGHTRED, "Se voce acha que isto e um erro, faca uma revisao em nosso forum: https://https://discord.gg/vJE5ySg7nb"); SBan(i, "Logado na RCON", "Automatico"); return true; } } } } else { new pip[16]; foreach(Player, i) { GetPlayerName(i, sendername, sizeof(sendername)); GetPlayerIp(i, pip, sizeof(pip)); if(!strcmp(ip, pip, true)) { format(string, sizeof string, "AdmCmd: Cuidado! pois %s[ID: %d] tentou logar na rcon, mais sem sucesso.", sendername, i); ABroadCast(COLOR_LIGHTRED, string, 1); return true; } } } return true; } public OnVehicleDeath(vehicleid, killerid) { DestroyObject(obj[vehicleid]); DestroyObject(obj2[vehicleid]); Flasher[vehicleid] = 0; new orgid2 = GetPlayerOrg(killerid); DestroyObject(Fogando[vehicleid]); Fogando[vehicleid] = 0; PegouF[vehicleid] = 0; TaDanificado[vehicleid] = false; RemoveSound(vehicleid); PME += 50; PDU += 50; SacarOrgGrana(7,50); foreach(Player, i) { if(gPlayerLogged[i] && BusFed[i] == vehicleid) { SetPlayerHealth(i, 0.0); SendClientMessage(i, COLOR_LIGHTRED, "O onibus em que voce esta, acaba de explodir!"); } } if(TendoGuerra) { if(IsCarInGuerra(vehicleid) && GetVehicleModel(vehicleid) == 520) { if(IsAGNCar(vehicleid)) { if(!IsAExe(killerid)) { PSG[orgid2] += 1; GranaGuerra += 825+random(500); } } if(IsAFE(vehicleid)) { if(!IsAFE(killerid)) { PSG[orgid2] += 1; GranaGuerra += 825+random(500); } } if(IsAGICar(vehicleid)) { if(!IsAGI(killerid)) { PSG[orgid2] += 1; GranaGuerra += 825+random(500); } } if(IsAAlCar(vehicleid)) { if(!IsAAl(killerid)) { PSG[orgid2] += 1; GranaGuerra += 825+random(500); } } } } if(GetVehicleModel(vehicleid) == chopperid) { foreach(Player, shg) { if(GetPVarInt(shg,"chop_id") == vehicleid && GetPVarInt(shg,"roped") == 1) { DisablePlayerCheckpoint(shg); SetPVarInt(shg,"roped",0); SetPVarInt(shg,"chop_id",-1); DisablePlayerCheckpoint(shg); ClearAnimations(shg); TogglePlayerControllableEx(shg,1); for(new destr3=0;destr3<=ropelength;destr3++) { DestroyDynamicObject(r0pes[shg][destr3]); } } } } return 1; } public OnPlayerWeaponShot(playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ) { new string[144]; if(weaponid == 24 && Cbugbalas[playerid] == 7) { Cbugtempo[playerid] = GetTickCount(); } if(weaponid == 24 && Cbugbalas[playerid] == 1) { Cbugbalas[playerid] = 0; new result; result = GetTickCount() - Cbugtempo[playerid]; new tmp[95]; format(tmp, sizeof(tmp), "[CBUG] Tempo de cbug de %s foi de: %d ms", PlayerName(playerid), result); //SendClientMessage(playerid, COLOR_PURPLE, tmp); SendClientMessageInRange(30.0, playerid, tmp, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); } else if(weaponid == 24 && Cbugbalas[playerid] > 1) { Cbugbalas[playerid] -= 1; } switch(weaponid) { // allowed case 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 38: { } default: { // or just return 0 //BanEx(playerid,"Crash aqui nao, caralhudo! CHUPA HUE!!!"); return 0; } } if(hittype == 2 && weaponid == 23) { if(InChoque[playerid] && IsACop(playerid)) { new carroatingido,givid; foreach(Player, i) { if(GetPlayerVehicleID(i) == hitid) { carroatingido = 1; givid = i; } } if(carroatingido == 1) { format(string, sizeof(string), "* %s[ID:%d] Atingiu o Carro de %s[ID:%d] com a Arma Choque!",PlayerName(playerid),playerid,PlayerName(givid),givid); ProxVehicleDetector(30.0, hitid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); Choqued[hitid] = gettime()+300; new mot, lu, alar, por, cap, porma, ob; GetVehicleParamsEx(hitid, mot, lu, alar, por, cap, porma, ob); SetVehicleParamsEx(hitid, VEHICLE_PARAMS_OFF, lu, alar, por, cap, porma, ob); } } } if(hittype != BULLET_HIT_TYPE_NONE) { if(!(-200.0 <= fX <= 200.0 ) || !(-200.0 <= fY <= 200.0) || !(-200.0 <= fZ <= 200.0)) { //BanEx(playerid,"Crash aqui nao! ZIFODEO"); return 0; } } if(hittype == 2) { new Float:amount; switch(weaponid) { case 23:amount = 0.0; //choque case 24:amount = 26.0; //Eagle case 25:amount = 19.0; //Shotgun case 27:amount = 15.0; //Combat Shotgun case 29:amount = 5.0; //MP5 case 30:amount = 8.0; //AK-47 case 31:amount = 7.0; //M4 case 42:amount = 0.0; //Extintor - Bombeiros case 9:amount = 0.0; //Serra - Bombeiros } if(Blindagem[hitid] <= 2) { Blindagem[hitid] = 0; Cblindado[hitid] = 0; new Float:health,Float:dano; GetVehicleHealth(hitid, health); dano = health-amount; if(health > 0.0)return SetVehicleHealth(hitid, dano); } if(Cblindado[hitid] >= 1) { new perda = random(5); Blindagem[hitid] -= perda; return RepairVehicleWithBomber(hitid); } } return 1; } stock IsPlayerInRC(playerid) { new Float:x,Float:y,Float:z; GetPlayerPos(playerid, x, y, z); if((x >= 1082.962 && y >= -1389.729 && x <= 1235.075 && y <= -1298.931))//Alhambra { return 1; } if((x >= 1071.198120 && y >= 1522.371948 && x <= 1183.198120 && y <= -1424.371948))//SPAWN { return 1; } if((x >= 1440.428 && y >= -1737.13 && x <= 1524.091 && y <= -1598.959))//RC2 { return 1; } if((x >= 1136.3937 && y >= -1760.5394 && x <= 1085.0909 && y <= -1838.2732))//RC3 { return 1; } if((x >= 1082.962 && y >= -1389.729 && x <= 235.075 && y <= -1298.931))//HOSPITAL { return 1; } if((x >= 2166.77 && y >= -1377.886 && x <= 2258.038 && y <= -1306.826))//IGREJA { return 1; } if((x >= 444.711791 && y >= -1669.256591 && x <= 514.711791 && y <= -1599.256591))//Eventos { return 1; } if((x >= 1074.013427 && y >= -1519.011962 && x <= 1186.013427 && y <= -1421.011962))//RC { return 1; } if((x >= 1638.426391 && y >= 1282.795654 && x <= 1736.386840 && y <= 1607.104003))//spawnlv { return 1; } return 0; } CallBack::GuerraMata(playerid) { new string[128]; if(PlayerInfo[playerid][pMembro] == 3 || PlayerInfo[playerid][pLider] == 3) { if(ProvocoMata[playerid] == 1) { if(IsPlayerInMata(playerid)) { GetPlayerName(playerid, playername, MAX_PLAYER_NAME); PlayAudioStreamForPlayer(playerid, "http://dl.dropboxusercontent.com/s/zfb1v52oozrx97o/dominating2.mp3"); foreach(Player, i) { if(PlayerInfo[i][pChatTerritorio] == 0) { format(string, sizeof(string), "[GangZone]: %s e o Exercito Dominaram a Mata!",playername); SendClientMessage(i, COR_EXE, string); } } SendClientMessage(playerid, COLOR_GRAD5, "Voce dominou a Mata, a cada 3 minutos nela ganhara grana."); GangZoneStopFlashForAll(GZMata); GangZoneShowForAll(GZMata,COR_EXE); Dominando[playerid] = 0; ProvocoMata[playerid] = 0; GuerranaMata = 0; donoMata = 1; KillTimer(TempoGuerraMata); return 1; } else { SendClientMessage(playerid, COLOR_GRAD1, "Voce nao esta na Mata."); Dominando[playerid] = 0; GangZoneStopFlashForAll(GZMata); GangZoneShowForAll(GZMata, 0xFFFFFF96); ProvocoMata[playerid] = 0; GuerranaMata = 0; donoMata = 0; KillTimer(TempoGuerraMata); return 1; } } return 1; } if(PlayerInfo[playerid][pMembro] == 23 || PlayerInfo[playerid][pLider] == 23) { if(ProvocoMata[playerid] == 1) { if(IsPlayerInMata(playerid)) { GetPlayerName(playerid, playername, MAX_PLAYER_NAME); PlayAudioStreamForPlayer(playerid, "http://dl.dropboxusercontent.com/s/zfb1v52oozrx97o/dominating2.mp3"); foreach(Player, i) { if(PlayerInfo[i][pChatTerritorio] == 0) { format(string, sizeof(string), "[GangZone]: %s e a As FARC Dominaram a Mata!",playername); SendClientMessage(i, 0xCC0196FF, string); } } SendClientMessage(playerid, COLOR_GRAD5, "Voce dominou a Mata, a cada 3 minutos nela ganhara grana."); GangZoneStopFlashForAll(GZMata); GangZoneShowForAll(GZMata,0xCC0196FF); Dominando[playerid] = 0; ProvocoMata[playerid] = 0; GuerranaMata = 0; donoMata = 2; KillTimer(TempoGuerraMata); return 1; } else { SendClientMessage(playerid, COLOR_GRAD1, "Voce nao esta na Mata."); Dominando[playerid] = 0; GangZoneStopFlashForAll(GZMata); GangZoneShowForAll(GZMata, 0xFFFFFF96); ProvocoMata[playerid] = 0; GuerranaMata = 0; donoMata = 0; KillTimer(TempoGuerraMata); return 1; } } return 1; } if(PlayerInfo[playerid][pMembro] == 15 || PlayerInfo[playerid][pLider] == 15) { if(ProvocoMata[playerid] == 1) { if(IsPlayerInMata(playerid)) { GetPlayerName(playerid, playername, MAX_PLAYER_NAME); PlayAudioStreamForPlayer(playerid, "http://dl.dropboxusercontent.com/s/zfb1v52oozrx97o/dominating2.mp3"); foreach(Player, i) { if(PlayerInfo[i][pChatTerritorio] == 0) { format(string, sizeof(string), "[GangZone]: %s e o Estado Islâmico Dominaram a Mata!",playername); SendClientMessage(i, 0x6E6E6E96, string); } } SendClientMessage(playerid, COLOR_GRAD5, "Voce dominou a Mata, a cada 3 minutos nela ganhara grana."); GangZoneStopFlashForAll(GZMata); GangZoneShowForAll(GZMata,0x6E6E6E96); Dominando[playerid] = 0; ProvocoMata[playerid] = 0; GuerranaMata = 0; donoMata = 3; KillTimer(TempoGuerraMata); return 1; } else { SendClientMessage(playerid, COLOR_GRAD1, "Voce nao esta na Mata."); Dominando[playerid] = 0; GangZoneStopFlashForAll(GZMata); GangZoneShowForAll(GZMata, 0xFFFFFF96); ProvocoMata[playerid] = 0; GuerranaMata = 0; donoMata = 0; KillTimer(TempoGuerraMata); return 1; } } return 1; } return 1; } CMD:abplayer(playerid, params[]) { if(PlayerInfo[playerid][pEmprego] == 14) { if(IsPlayerInRangeOfPoint(playerid, 60.0, 1938.1094,-1774.0240,13.3828)) { new id, gastanto; if(sscanf(params, "ud", id, gastanto)) return UseCMD(playerid, "/abplayer [ID/Nick] [Litros]"); if(id == playerid) return SCM(playerid, COLOR_GRAD1, "Voce nao pode se auto abastecer."); if(gettime() < GetPVarInt(playerid, #VarFloodABPlayer) && PlayerInfo[playerid][pAdmin] < 1340) return SCM(playerid, COLOR_GRAD1, "Você so pode usar esse comando depois de 20 segundos"); if(GetDistanceBetweenPlayers(playerid, id) > 15.0) return SCM(playerid, COLOR_LIGHTRED, "[ERRO] Você precisa estar perto desse jogador."); if(!IsPlayerInAnyVehicle(id)) return SCM(playerid, COLOR_LIGHTRED, "[ERRO] o Jogador precisas estar em um veiculo."); if(gastanto > 100 || gastanto < 1) return SendClientMessage(playerid, COLOR_WHITE, "Gasolina: Litros [de 1 à 100]!"); if(Gas[GetPlayerVehicleID(id)] >= 99) return SendClientMessage(playerid, COLOR_WHITE, "A Gasolina do jogador ja está cheia!"); if(GetPlayerMoney(id) > GranaGas[playerid]+4) { Refueling[id] = gastanto; GasETanto[id] = Gas[GetPlayerVehicleID(id)]+Refueling[id]; if(GasETanto[id] > 100) { GasETanto[id] = 100; } SetPVarInt(playerid, #VarFloodABPlayer, gettime()+20); format(gstring,sizeof(gstring),"Frentista: %s Está Reabastecendo Seu carro com %d Litros de Combustivel, Aguarde.", PlayerName(playerid), gastanto); SendClientMessage(playerid,COLOR_LIGHTBLUE,gstring); TogglePlayerControllableEx(id, 0); Abastecendo(id); BizzInfo[10][bTill] += 50; ExtortionBiz(10, 50); GivePlayerMoney(playerid, salInfo[GanhoFrentista]*2); } else return SCMf(playerid, COLOR_LIGHTBLUE, "O Jogador %s não tem dinheiro para a quantidade de litros.", PlayerName(id)); } else return SCM(playerid, COLOR_LIGHTBLUE, "Voce so pode usar esse comando perto do posto de gasolina 'Sul' de ls."); } else return SemPermCMD return 1; } public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid, bodypart) { new string[144]; if(InTaser[issuerid] == true) { ApplyAnimationEx(issuerid,"KNIFE","knife_3",4.1,0,1,1,0,0,1); SetTimerEx("TimerClear",2000,false,"d",issuerid); new damagedid = playerid; if(IsPlayerConnected(damagedid)) { if(GetDistanceBetweenPlayers(issuerid,damagedid) < 2) { new Float:health; GetPlayerHealth(damagedid, health); if(health > 5.0) SetPlayerHealth(damagedid, health - 5.0); format(string, sizeof(string), "INFO: %s(ID: %d) levou um choque de taser de %s(ID: %d).", NomePlayer(damagedid),damagedid,NomePlayer(issuerid),issuerid); SendClientMessageInRange(30.0, damagedid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SendClientMessage(damagedid, COLOR_YELLOW, "Voce levou um choque de taser, esta inconsciente!"); GameTextForPlayer(damagedid, "~r~Inconsciente", 2500, 3); Controle(damagedid, 0); // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // TogglePlayerControllableEx(damagedid, false); ApplyAnimation(damagedid, "CRACK", "crckdeth2", 4.0, 1, 0, 0, 0, 0); // recolocar // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // PlayerCuffed[damagedid] = 1; antihands[damagedid] = 1; PlayerCuffedTime[damagedid] = 30; PlayerTempoTaser[damagedid] = gettime() + 30; SetPlayerDrunkLevel(damagedid, GetPlayerDrunkLevel(damagedid) + 10000); RemovePlayerAttachedObjectEx(issuerid,Vaga_Taser); InTaser[issuerid] = false; RemoveArmament(issuerid); return 1; } } } new Float:Vid,Float:colety; GetPlayerArmour(playerid,colety); GetPlayerHealth(playerid, Vid); static Float:X, Float:Y, Float:Z, dano[12]; if(issuerid != INVALID_PLAYER_ID) { format(dano, sizeof dano, "%.1f", amount); CreateDynamic3DTextLabel(dano, 0xC9C9C9FF, X, Y, Z, 10.0, .playerid = issuerid); } if(issuerid != INVALID_PLAYER_ID && weaponid == 35) { SetPlayerHealth(playerid, 0.0); } return 1; } public OnPlayerGiveDamage(playerid, damagedid, Float:amount, weaponid, bodypart) { /* if(damagedid != INVALID_PLAYER_ID) { if(PedMorto[damagedid] == 1) { SetPlayerHealth(damagedid, 9999); } } */ if(weaponid == 38) { if(PlayerInfo[playerid][pAdmin] > 1337) return 1; new str[128]; format(str, 128, "[Anti-Cheat] %s pegou arma: Minigun pelo s0beit e foi kickado!", PlayerName(playerid)); SendClientMessageToAll(COLOR_LIGHTRED, str); KickCNF(playerid); } if(weaponid == 34) { new Float:Vidi; new Float:Coletr; if(GetDistanceBetweenPlayers(playerid, damagedid) <= 20) { if(Coletr >= 1) { new Float:colete; GetPlayerArmour(damagedid,colete); SetPlayerArmour(damagedid,colete - 0); } else if(Vidi >= 1) { new Float:life; GetPlayerHealth(damagedid, life); SetPlayerHealth(damagedid, life - 0); } SendClientMessage(playerid,COLOR_LIGHTRED, "Sniper de perto e proibido, o tiro foi bloqueado."); } } if(weaponid == 35 && weaponid == 36) { new Float:Vide; new Float:Coletd; if(damagedid != INVALID_PLAYER_ID) { if(GetDistanceBetweenPlayers(playerid, damagedid) <= 20) { if(Coletd >= 1) { new Float:wasd; GetPlayerArmour(damagedid,wasd); SetPlayerArmour(damagedid,wasd - 0); } else if(Vide >= 1) { new Float:life; GetPlayerHealth(damagedid, life); SetPlayerHealth(damagedid, life - 0); } SendClientMessage(playerid,COLOR_LIGHTRED, "Bazuca de perto e proibido, o tiro foi bloqueado."); } } } if((pmorto[damagedid]))return 1; if((PlayerInfo[damagedid][pAdmin]&&admtrampando[damagedid])|| (PlayerInfo[damagedid][pHelper]&&helpertrampando[damagedid]))return 1; if(GetPVarInt(damagedid, "HD"))return 1; //if(PlayerInAlhambra(damagedid))return 1; if(IsPlayerInRC(damagedid))return 1; if(GetPlayerState(playerid) == PLAYER_STATE_PASSENGER) return 1; if(GetPlayerOrg(playerid) == 0 && GetPlayerOrg(damagedid) == 0 && IsPlayerInRC(playerid)) { ShowPlayerDialog(playerid, 8724, DIALOG_STYLE_MSGBOX, "{FF8400}ATENCAO:\n\n", "{FFFFFF}Voce nao pode matar/atirar em alguem dentro da area azul do mapa\n\ {FFFFFF}caso voce tente novamente, sera {00FFFF}PRESO{FFFFFF} por um administrador", "Entendido",""); ApplyAnimationEx(playerid,"PED","handscower",4.1,0,1,1,0,0); return 1; } if(PlayerInfo[playerid][pJailed] && PlayerInfo[damagedid][pJailed]) { ShowPlayerDialog(playerid, 8724, DIALOG_STYLE_MSGBOX, "{FFFFFF}» Proibido fazer {00FFFF}Death-Match", "{FFFFFF}» Voce nao pode bater em alguem enquanto estiver{00FFFF} Na cadeia\n\ {FFFFFF}Caso faca novamente, sera {00FFFF}Ajustado por um admin!", "OK",""); ApplyAnimationEx(playerid,"PED","handscower",4.1,0,1,1,0,0); return 1; } for(new c; c < sizeof(CombateInfo); ++c){ if(strcmp(CombateInfo[c][iniciouCombate], PlayerName(playerid), true) && strcmp(CombateInfo[c][iniciouCombate], PlayerName(damagedid), true) && gettime() > GetPVarInt(playerid, #VarCombateLog) && gettime() > GetPVarInt(damagedid, #VarCombateLog)){ SetPVarInt(playerid, #VarCombateLog, gettime()+150); SetPVarInt(damagedid, #VarCombateLog, gettime()+150); CombateLog(playerid, damagedid); return 1; } } switch(weaponid) { case 24:amount = 26.0; //Eagle case 25:amount = 18.0; //Shotgun case 27:amount = 19.0; //Combat Shotgun case 29:amount = 5.0; //MP5 case 30:amount = 8.0; //AK-47 case 31:amount = 7.0; //M4 case 35:amount = 0.0; //Bazuca case 34: //Sniper Rifle { if(!ProxDetectorS(70.0, playerid, damagedid)){ if(bodypart == 9){ if(GetPlayerState(damagedid) == PLAYER_STATE_ONFOOT){ return InitHeadShot(playerid, damagedid); } } amount = 100.0; } else{ amount = 30.0; } TextDrawShowForPlayer(playerid, textXizinho); } } static string[128] ; if(weaponid == 29) { if(IsPlayerInAnyVehicle(playerid) && GetPlayerState(damagedid) == PLAYER_STATE_ONFOOT) { format(string, sizeof string, "e proibido fazer DB neste servidor!", PlayerName(damagedid), damagedid); SendClientMessage(playerid, COLOR_DBLUE, string); SetPlayerArmedWeapon(playerid, 0); amount = 0.0; } } // /DM DMSystem[playerid][damagedid]=true; format(string, sizeof(string), "ID=%d", playerid); SetPVarInt(damagedid, string, gettime()+600); SetPVarInt(damagedid, "VarDano", gettime()+180); //------------- Retirar Vida/Colete ------------------ PlayerPlaySound(damagedid, 17802, 0.0, 0.0, 0.0); static Float:Life, Float:Coleete, Float:Dano ; GetPlayerArmour(damagedid, Coleete); GetPlayerHealth(damagedid, Life); if(Coleete > 0) { if(amount > Coleete) { Dano = amount - Coleete; Life = Life - Dano; if(Life <= 0) { // setarhospital(damagedid); SetPlayerVirtualWorld(damagedid, damagedid+1); OnPlayerDeathEx(damagedid, playerid, weaponid); pmorto[damagedid] = true; } SetPlayerArmour(damagedid, 0.0); SetPlayerHealth(damagedid, Life); } else { Coleete = Coleete - amount; SetPlayerArmour(damagedid, Coleete); } } else if(Coleete < 1) { Life = Life - amount; if(Life <= 0) { //setarhospital(damagedid); SetPlayerVirtualWorld(damagedid, damagedid+1); OnPlayerDeathEx(damagedid, playerid, weaponid); pmorto[damagedid] = true; } SetPlayerHealth(damagedid, Life); } static Float:HP; GetPlayerHealth(damagedid, HP); // printf("Debug 0"); if(HP <= 0) { // printf("Debug 1"); static Float:X, Float:Y, Float:Z, Float:R, str[58]; GetPlayerPos(damagedid, X, Y, Z); GetPlayerFacingAngle(damagedid, R); switch(bodypart) { case 3: format(str, sizeof(str), "Corpo de %s\n\nA causa da morte foi: Tiro no Peito", PlayerName(damagedid)); case 4: format(str, sizeof(str), "Corpo de %s\n\nA causa da morte foi: Tiro na Virilha", PlayerName(damagedid)); case 5: format(str, sizeof(str), "Corpo de %s\n\nA causa da morte foi: Tiro no Braco esquerdo", PlayerName(damagedid)); case 6: format(str, sizeof(str), "Corpo de %s\n\nA causa da morte foi: Tiro no Braco direito", PlayerName(damagedid)); case 7: format(str, sizeof(str), "Corpo de %s\n\nA causa da morte foi: Tiro na Perna esquerda", PlayerName(damagedid)); case 8: format(str, sizeof(str), "Corpo de %s\n\nA causa da morte foi: Tiro na Perna direita", PlayerName(damagedid)); case 9: format(str, sizeof(str), "Corpo de %s\n\nA causa da morte foi: Tiro na Cabeca", PlayerName(damagedid)); } printf("Debug 2"); // CriarCadaver(X, Y, Z, R, str, GetPlayerSkin(damagedid), GetPlayerVirtualWorld(playerid), GetPlayerInterior(playerid)); } //------------------------------------------------------------------------------ //playerid format(string, 20, "{00FF00}+%.0f", amount); UpdateDynamic3DTextLabelText(labelDano[playerid], 0xFFFFFFF6, string); KillTimer(TempoMostrarLife[playerid]); format(string,sizeof(string),"DANO DE %s ~n~%s", NomePlayer(playerid), NomeArma(weaponid)); PlayerTextDrawSetString(playerid, textinfodamage[playerid][0], string); format(string,sizeof(string),"+%0.0f", amount); PlayerTextDrawSetString(playerid, textinfodamage[playerid][1], string); PlayerTextDrawShow(playerid, textinfodamage[playerid][0]); PlayerTextDrawShow(playerid, textinfodamage[playerid][1]); TempoMostrarLife[playerid] = SetTimerEx("HideTextoLife", 800, 0, "i", playerid); MostrandoVida[playerid] = 1; //------------------------------------------------------------------------------ //Damagedid format(string, 20, "{00FFFF}-%.0f", amount); UpdateDynamic3DTextLabelText(labelDano[damagedid], 0xFFFFFFF6, string); KillTimer(TempoMostrarLife[damagedid]); format(string,sizeof(string),"DANO EM %s ~n~%s", NomePlayer(damagedid), NomeArma(weaponid)); PlayerTextDrawSetString(playerid, textinfodamaga[damagedid][0], string); format(string,sizeof(string),"-%0.0f", amount); PlayerTextDrawSetString(playerid, textinfodamaga[damagedid][1], string); PlayerTextDrawShow(damagedid, textinfodamaga[damagedid][0]); PlayerTextDrawShow(damagedid, textinfodamaga[damagedid][1]); TempoMostrarLife[damagedid] = SetTimerEx("HideTextoLife", 800, 0, "i", damagedid); MostrandoVida[damagedid] = 1; //------------------------------------------------------------------------------ return 1; } /*forward DestruirCadaver(slot); public DestruirCadaver(slot) { if(IsValidDynamic3DTextLabel(CadaverInfo[slot][cadaver_Label])) DestroyDynamic3DTextLabel(CadaverInfo[slot][cadaver_Label]); if(IsValidActor(CadaverInfo[slot][cadaver_ID])) DestroyActor(CadaverInfo[slot][cadaver_ID]); CadaverInfo[slot][cadaver_Pos][0] = CadaverInfo[slot][cadaver_Pos][1] = CadaverInfo[slot][cadaver_Pos][2] = CadaverInfo[slot][cadaver_Pos][3] = 0.0; CadaverInfo[slot][cadaver_ID] = -1; }*/ stock CriarCadaver(Float:X, Float:Y, Float:Z, Float:R, str[], skin, VW, Int) { new slot = Iter_Free(Cadaveres); if(slot == -1) return false; CadaverInfo[slot][cadaver_ID] = CreateActor(skin, X, Y, Z, R); ApplyActorAnimation(CadaverInfo[slot][cadaver_ID], "PARACHUTE", "FALL_skyDive_DIE", 4.1, 0, 0, 0, 1, 0); CadaverInfo[slot][cadaver_Pos][0] = X; CadaverInfo[slot][cadaver_Pos][1] = Y; CadaverInfo[slot][cadaver_Pos][2] = Z; CadaverInfo[slot][cadaver_Pos][3] = R; CadaverInfo[slot][cadaver_Label] = CreateDynamic3DTextLabel(str, COR_3DLABEL, X, Y, Z, 7.0, .worldid = VW, .interiorid = Int); SetTimerEx("DestruirCadaver", 60000, false, "d", slot); Iter_Add(Cadaveres, slot); return true; } CallBack::HideTextoLife(playerid) { if(MostrandoVida[playerid]) { UpdateDynamic3DTextLabelText(labelDano[playerid], -1, " "); PlayerTextDrawHide(playerid, textinfodamage[playerid][0]); PlayerTextDrawHide(playerid, textinfodamage[playerid][1]); PlayerTextDrawHide(playerid, textinfodamaga[playerid][0]); PlayerTextDrawHide(playerid, textinfodamaga[playerid][1]); MostrandoVida[playerid] = 0; TempoMostrarLife[playerid] = -1; } TextDrawHideForPlayer(playerid, textXizinho); return true; } CallBack::AnimRoubo(playerid) { SetPlayerFacingAngle(playerid, 93.9411); ApplyAnimationEx(playerid,"ROB_BANK","CAT_Safe_Rob",1.0,1,0,0,0,0); return true; } CallBack::KickBanido(playerid) { if(IsPlayerConnected(playerid)) { KickCNF(playerid); } return true; } stock MostrarMembrosOrg(playerid) { new string[128]; MEGAString[0] = EOS; new org = GetPlayerOrg(playerid); format(string,sizeof(string),"Lider: %s\n",InfoOrg[org][Lider]); strcat(MEGAString,string); format(string,sizeof(string),"Sub-Lider: %s\n",InfoOrg[org][SubLider]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 1: %s\n",InfoOrg[org][Membro1]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 2: %s\n",InfoOrg[org][Membro2]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 3: %s\n",InfoOrg[org][Membro3]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 4: %s\n",InfoOrg[org][Membro4]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 5: %s\n",InfoOrg[org][Membro5]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 6: %s\n",InfoOrg[org][Membro6]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 7: %s\n",InfoOrg[org][Membro7]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 8: %s\n",InfoOrg[org][Membro8]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 9: %s\n",InfoOrg[org][Membro9]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 10: %s\n",InfoOrg[org][Membro10]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 11: %s\n",InfoOrg[org][Membro11]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 12: %s\n",InfoOrg[org][Membro12]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 13: %s\n",InfoOrg[org][Membro13]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 14: %s\n",InfoOrg[org][Membro14]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 15: %s\n",InfoOrg[org][Membro15]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 16: %s\n",InfoOrg[org][Membro16]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 17: %s\n",InfoOrg[org][Membro17]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 18: %s\n",InfoOrg[org][Membro18]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 19: %s\n",InfoOrg[org][Membro19]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 20: %s\n",InfoOrg[org][Membro20]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 21: %s\n",InfoOrg[org][Membro21]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 22: %s\n",InfoOrg[org][Membro22]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 23: %s\n",InfoOrg[org][Membro23]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 24: %s\n",InfoOrg[org][Membro24]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 25: %s\n",InfoOrg[org][Membro25]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 26: %s\n",InfoOrg[org][Membro26]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 27: %s\n",InfoOrg[org][Membro27]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 28: %s\n",InfoOrg[org][Membro28]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 29: %s\n",InfoOrg[org][Membro29]); strcat(MEGAString,string); format(string,sizeof(string),"Membro 30: %s\n",InfoOrg[org][Membro30]); strcat(MEGAString,string); ShowPlayerDialog(playerid, 4505, DIALOG_STYLE_LIST, "Clique no nome para limpar", MEGAString, "Limpar", "Voltar"); return true; } stock MostrarCandidatos(playerid) { new string[128]; new org = GetPlayerOrg(playerid); MEGAString[0] = EOS; strcat(MEGAString,"Candidato\tNick\tStatus\n"); if(IsPlayerOnline(InfoOrg2[org][Candidato1])) { format(string,sizeof(string),"1\t%s\t{33FF00}(online)\n",InfoOrg2[org][Candidato1]); strcat(MEGAString,string); } else { format(string,sizeof(string),"1\t%s\t{FC0015}(offline)\n",InfoOrg2[org][Candidato1]); strcat(MEGAString,string); } if(IsPlayerOnline(InfoOrg2[org][Candidato2])) { format(string,sizeof(string),"2\t%s\t{33FF00}(online)\n",InfoOrg2[org][Candidato2]); strcat(MEGAString,string); } else { format(string,sizeof(string),"2\t%s\t{FC0015}(offline)\n",InfoOrg2[org][Candidato2]); strcat(MEGAString,string); } if(IsPlayerOnline(InfoOrg2[org][Candidato3])) { format(string,sizeof(string),"3\t%s\t{33FF00}(online)\n",InfoOrg2[org][Candidato3]); strcat(MEGAString,string); } else { format(string,sizeof(string),"3\t%s\t{FC0015}(offline)\n",InfoOrg2[org][Candidato3]); strcat(MEGAString,string); } if(IsPlayerOnline(InfoOrg2[org][Candidato4])) { format(string,sizeof(string),"4\t%s\t{33FF00}(online)\n",InfoOrg2[org][Candidato4]); strcat(MEGAString,string); } else { format(string,sizeof(string),"4\t%s\t{FC0015}(offline)\n",InfoOrg2[org][Candidato4]); strcat(MEGAString,string); } if(IsPlayerOnline(InfoOrg2[org][Candidato5])) { format(string,sizeof(string),"5\t%s\t{33FF00}(online)\n",InfoOrg2[org][Candidato5]); strcat(MEGAString,string); } else { format(string,sizeof(string),"5\t%s\t%s {FC0015}(offline)\n",InfoOrg2[org][Candidato5]); strcat(MEGAString,string); } if(IsPlayerOnline(InfoOrg2[org][Candidato6])) { format(string,sizeof(string),"6\t%s\t{33FF00}(online)\n",InfoOrg2[org][Candidato6]); strcat(MEGAString,string); } else { format(string,sizeof(string),"6\t%s\t{FC0015}(offline)\n",InfoOrg2[org][Candidato6]); strcat(MEGAString,string); } if(IsPlayerOnline(InfoOrg2[org][Candidato7])) { format(string,sizeof(string),"7\t%s\t{33FF00}(online)\n",InfoOrg2[org][Candidato7]); strcat(MEGAString,string); } else { format(string,sizeof(string),"7\t%s\t{FC0015}(offline)\n",InfoOrg2[org][Candidato7]); strcat(MEGAString,string); } if(IsPlayerOnline(InfoOrg2[org][Candidato8])) { format(string,sizeof(string),"8\t%s\t{33FF00}(online)\n",InfoOrg2[org][Candidato8]); strcat(MEGAString,string); } else { format(string,sizeof(string),"8\t%s\t{FC0015}(offline)\n",InfoOrg2[org][Candidato8]); strcat(MEGAString,string); } if(IsPlayerOnline(InfoOrg2[org][Candidato9])) { format(string,sizeof(string),"9\t%s\t%s {33FF00}(online)\n",InfoOrg2[org][Candidato9]); strcat(MEGAString,string); } else { format(string,sizeof(string),"9\t%s\t{FC0015}(offline)\n",InfoOrg2[org][Candidato9]); strcat(MEGAString,string); } if(IsPlayerOnline(InfoOrg2[org][Candidato10])) { format(string,sizeof(string),"10\t%s\t{33FF00}(online)\n",InfoOrg2[org][Candidato10]); strcat(MEGAString,string); } else { format(string,sizeof(string),"10\t%s\t{FC0015}(offline)\n",InfoOrg2[org][Candidato10]); strcat(MEGAString,string); } if(IsPlayerOnline(InfoOrg2[org][Candidato11])) { format(string,sizeof(string),"11\t%s\t{33FF00}(online)\n",InfoOrg2[org][Candidato11]); strcat(MEGAString,string); } else { format(string,sizeof(string),"11\t%s\t{FC0015}(offline)\n",InfoOrg2[org][Candidato11]); strcat(MEGAString,string); } if(IsPlayerOnline(InfoOrg2[org][Candidato12])) { format(string,sizeof(string),"12\t%s\t{33FF00}(online)\n",InfoOrg2[org][Candidato12]); strcat(MEGAString,string); } else { format(string,sizeof(string),"12\t%s\t{FC0015}(offline)\n",InfoOrg2[org][Candidato12]); strcat(MEGAString,string); } if(IsPlayerOnline(InfoOrg2[org][Candidato13])) { format(string,sizeof(string),"13\t%s\t{33FF00}(online)\n",InfoOrg2[org][Candidato13]); strcat(MEGAString,string); } else { format(string,sizeof(string),"13\t%s\t{FC0015}(offline)\n",InfoOrg2[org][Candidato13]); strcat(MEGAString,string); } if(IsPlayerOnline(InfoOrg2[org][Candidato14])) { format(string,sizeof(string),"14\t%s\t{33FF00}(online)\n",InfoOrg2[org][Candidato14]); strcat(MEGAString,string); } else { format(string,sizeof(string),"14\t%s\t{FC0015}(offline)\n",InfoOrg2[org][Candidato14]); strcat(MEGAString,string); } if(IsPlayerOnline(InfoOrg2[org][Candidato15])) { format(string,sizeof(string),"15\t%s\t{33FF00}(online)\n",InfoOrg2[org][Candidato15]); strcat(MEGAString,string); } else { format(string,sizeof(string),"15\t%s\t{FC0015}(offline)\n",InfoOrg2[org][Candidato15]); strcat(MEGAString,string); } if(IsPlayerOnline(InfoOrg2[org][Candidato16])) { format(string,sizeof(string),"16\t%s\t{33FF00}(online)\n",InfoOrg2[org][Candidato16]); strcat(MEGAString,string); } else { format(string,sizeof(string),"16\t%s\t{FC0015}(offline)\n",InfoOrg2[org][Candidato16]); strcat(MEGAString,string); } if(IsPlayerOnline(InfoOrg2[org][Candidato17])) { format(string,sizeof(string),"17\t%s\t{33FF00}(online)\n",InfoOrg2[org][Candidato17]); strcat(MEGAString,string); } else { format(string,sizeof(string),"17\t%s\t{FC0015}(offline)\n",InfoOrg2[org][Candidato17]); strcat(MEGAString,string); } if(IsPlayerOnline(InfoOrg2[org][Candidato18])) { format(string,sizeof(string),"18\t%s\t{33FF00}(online)\n",InfoOrg2[org][Candidato18]); strcat(MEGAString,string); } else { format(string,sizeof(string),"18\t%s\t{FC0015}(offline)\n",InfoOrg2[org][Candidato18]); strcat(MEGAString,string); } if(IsPlayerOnline(InfoOrg2[org][Candidato19])) { format(string,sizeof(string),"19\t%s\t{33FF00}(online)\n",InfoOrg2[org][Candidato19]); strcat(MEGAString,string); } else { format(string,sizeof(string),"19\t%s\t{FC0015}(offline)\n",InfoOrg2[org][Candidato19]); strcat(MEGAString,string); } if(IsPlayerOnline(InfoOrg2[org][Candidato20])) { format(string,sizeof(string),"20\t%s\t{33FF00}(online)\n",InfoOrg2[org][Candidato20]); strcat(MEGAString,string); } else { format(string,sizeof(string),"20\t%s\t{FC0015}(offline)\n",InfoOrg2[org][Candidato20]); strcat(MEGAString,string); } ShowPlayerDialog(playerid, 8991, DIALOG_STYLE_LIST, "Clique no Nome para Limpar", MEGAString, "Limpar", "Voltar"); return true; } CallBack::AnimSS(playerid) { ApplyAnimationEx(playerid, "HEIST9","USE:_SwipeCard", 4.0, 0, 0, 0, 0, 0); return true; } CallBack::Ainvasao() { tempoinvasaosistema = 0; } CallBack::ContagemInvasaoo(playerid) { new string[70]; format(string, sizeof(string), "~w~Tempo Para Invasao:~n~~r~%d Segundos...", Contagem[playerid]); GameTextForPlayer(playerid, string, 1500, 3); if(Contagem[playerid] == 0) { KillTimer(TempoContagem[playerid]); } Contagem[playerid]--; } CallBack::InvasaoPenitenciaria(playerid) { KillTimer(tempoinvasao); if(!IsACop(playerid)) if(!PlayerToPoint(5.0,playerid,1797.2847,-1577.1489,14.0731)) { SendClientMessage(playerid, COLOR_LIGHTRED, "[Atencao]: A porta da Penitenciaria nao pode ser explodida por algum motivo !"); RemovePlayerAttachedObject(playerid,4); TogglePlayerControllableEx(playerid, 1); SendClientMessage(playerid, 0xAFAFAFAA, "Voce nao esta na porta da penitenciaria !"); ProvocoInvasao[playerid] = 0; roubando[playerid] = 0; invasaopenitenciaria = 0; KillTimer(tempoinvasao); tempoinvasaosistema = 0; ClearAnimations(playerid); TogglePlayerControllableEx(playerid, 1); KillTimer(TempoContagem[playerid]); return 1; } foreach(Player, i) { if(ProvocoInvasao[i] == 1) { SendClientMessage(playerid, COLOR_LIGHTRED, "[Atencao]: A porta da Penitenciaria foi explodida, liberando todos os presidiarios !"); ProvocoInvasao[playerid] = 0; roubando[playerid] = 0; invasaopenitenciaria = 0; KillTimer(tempoinvasao); tempoinvasaosistema = 0; RemovePlayerAttachedObject(playerid,4); TogglePlayerControllableEx(playerid, 1); ClearAnimations(playerid); TogglePlayerControllableEx(i, 1); KillTimer(TempoContagem[playerid]); } if(PlayerInfo[i][pJailed] > 0) { if(PlayerInfo[i][pJailed] == 9) { return true; } //new gstring[120]; SetPlayerVirtualWorld(i, 0); SetPlayerInterior(i, 0); SetPlayerPos(i,1799.4268,-1577.8778,14.0734); if(PlayerInfo[i][pJailTime] <= 300) WantedPoints[i] = 1; if(PlayerInfo[i][pJailTime] >= 301 || PlayerInfo[i][pJailTime] <= 600) WantedPoints[i] = 2; if(PlayerInfo[i][pJailTime] >= 601 || PlayerInfo[i][pJailTime] <= 900)WantedPoints[i] = 3; if(PlayerInfo[i][pJailTime] >= 901 || PlayerInfo[i][pJailTime] <= 1200)WantedPoints[i] = 4; if(PlayerInfo[i][pJailTime] >= 1201 || PlayerInfo[i][pJailTime] <= 1500)WantedPoints[i] = 5; if(PlayerInfo[i][pJailTime] >= 1501 || PlayerInfo[i][pJailTime] <= 1800)WantedPoints[i] = 6; if(PlayerInfo[i][pJailTime] >= 1801 || PlayerInfo[i][pJailTime] <= 2100)WantedPoints[i] = 7; if(PlayerInfo[i][pJailTime] >= 2101 || PlayerInfo[i][pJailTime] <= 2500)WantedPoints[i] = 8; RemovePlayerAttachedObject(i,4); PlayerInfo[i][pJailed] = 0; SetPlayerSkin(i, PlayerInfo[i][pSkin]); format(gstring, sizeof(gstring), "[Foragido]: {FFFFFF}A porta da penitenciaria acaba de ser detonada, a policia foi avisada!."); SendClientMessage(i, COR_AMARELO, gstring); } } return 1; } CallBack::desbugarse(playerid) { Controle(playerid, 1); return 1; } CallBack::OnPlayerSave(playerid) { if(gPlayerLogged[playerid]) { new string3[120]; format(string3, sizeof(string3), Pasta_Contas, PlayerName(playerid)); PlayerInfo[playerid][pCash] = GetPlayerMoney(playerid); DOF2_SetString(string3,"Key",PlayerInfo[playerid][pKey]); DOF2_SetInt(string3, "AniversarioCNF", JaPegouAniversarioCNF[playerid]); DOF2_SetInt(string3,"Platina",PlayerInfo[playerid][pPlatina]); DOF2_SetInt(string3, "TemAnuncioPersonalizado", TemAnuncioPersonalizado[playerid]); DOF2_SetInt(string3, "TemJetpack", TemJetpack[playerid]); DOF2_SetInt(string3, "Decodificador", PlayerInfo[playerid][pDecod]); DOF2_SetInt(string3, "Avaliacoes", PlayerInfo[playerid][pAvaliacoes]); DOF2_SetInt(string3, "AvaFinal", PlayerInfo[playerid][pAFinal]); DOF2_SetInt(string3,"Level",PlayerInfo[playerid][pLevel]); DOF2_SetInt(string3,"AdminLevel",PlayerInfo[playerid][pAdmin]); DOF2_SetString(string3,"AdminFuncao",PlayerInfo[playerid][pFuncao]); DOF2_SetInt(string3, "VezesPreso", PlayerInfo[playerid][pVezesPreso]); //familia DOF2_SetInt(string3, "FamiliaID", PlayerInfo[playerid][pFamiliaID]); DOF2_SetInt(string3, "FamiliaCargo", PlayerInfo[playerid][pFamiliaCargo]); DOF2_SetFloat(string3, "VelocidadePortaoMover", PlayerInfo[playerid][VelocidadePortaoMover]); DOF2_SetFloat(string3, "VelocidadePortaoMoverRot", PlayerInfo[playerid][VelocidadePortaoMoverRot]); DOF2_SetInt(string3, "PlayerDesconectouMorto", PlayerInfo[playerid][PlayerDesconectouMorto]); DOF2_SetFloat(string3, "OldPosSaiu0", PlayerInfo[playerid][OldPosSaiu][0]); DOF2_SetFloat(string3, "OldPosSaiu1", PlayerInfo[playerid][OldPosSaiu][1]); DOF2_SetFloat(string3, "OldPosSaiu2", PlayerInfo[playerid][OldPosSaiu][2]); DOF2_SetFloat(string3, "OldPosSaiu3", PlayerInfo[playerid][OldPosSaiu][3]); DOF2_SetInt(string3, "InteriorSaiu", PlayerInfo[playerid][InteriorSaiu]); DOF2_SetInt(string3, "CidadePegouEmprego", PlayerInfo[playerid][CidadePegouEmprego]); //familia DOF2_SetInt(string3,"AdminTemp",PlayerInfo[playerid][pAdminTemp]); DOF2_SetInt(string3,"PedMorto",PedMorto[playerid]); DOF2_SetInt(string3,"TimingPlayer",TimingPlayer[playerid]); DOF2_SetInt(string3,"HelperLevel",PlayerInfo[playerid][pHelper]); DOF2_SetInt(string3,"DonateRank",PlayerInfo[playerid][pVIP]); DOF2_SetInt(string3,"Youtuber",PlayerInfo[playerid][pYoutuber]); DOF2_SetInt(string3,"Diamante",PlayerInfo[playerid][pDiamante]); DOF2_SetInt(string3,"DiasD",PlayerInfo[playerid][pDiasD]); DOF2_SetInt(string3,"UpgradePoints",PlayerInfo[playerid][gPupgrade]); DOF2_SetInt(string3, "PayDayTime", PlayerInfo[playerid][pPayDayTime]); DOF2_SetInt(string3,"ConnectedTime",PlayerInfo[playerid][pConnectTime]); DOF2_SetInt(string3,"Registered",PlayerInfo[playerid][pReg]); DOF2_SetInt(string3,"Sex",PlayerInfo[playerid][pSex]); DOF2_SetInt(string3,"Muted",PlayerInfo[playerid][pMuted]); DOF2_SetInt(string3,"VMuted",PlayerInfo[playerid][pVoipMute]); DOF2_SetInt(string3,"Respect",PlayerInfo[playerid][pExp]); DOF2_SetInt(string3,"Money",PlayerInfo[playerid][pCash]); DOF2_SetInt(string3,"Bank",PlayerInfo[playerid][pConta]); DOF2_SetInt(string3,"Cashing",PlayerInfo[playerid][pCasher]); DOF2_SetInt(string3, "ContagemHoras", ContagemHoras[playerid]); DOF2_SetInt(string3, "ContagemSeg", ContagemSeg[playerid]); DOF2_SetInt(string3,"Explosivos",PlayerInfo[playerid][pExplosivos]); DOF2_SetInt(string3,"KitCocaina",PlayerInfo[playerid][pKitCocaina]); DOF2_SetInt(string3,"KitCrack",PlayerInfo[playerid][pKitCrack]); DOF2_SetInt(string3,"Cigarros",PlayerInfo[playerid][pCigarros]); DOF2_SetInt(string3,"pJackSkill",PlayerInfo[playerid][pJackSkill]); DOF2_SetInt(string3,"Crimes",PlayerInfo[playerid][pCrimes]); DOF2_SetInt(string3,"Kills",PlayerInfo[playerid][pKills]); DOF2_SetInt(string3,"Deaths",PlayerInfo[playerid][pDeaths]); DOF2_SetInt(string3,"Phonebook",PlayerInfo[playerid][pPhoneBook]); DOF2_SetInt(string3,"LottoNr",PlayerInfo[playerid][pLottoNr]); DOF2_SetInt(string3,"LottoWin",PlayerInfo[playerid][pLottoWin]); DOF2_SetInt(string3,"Emprego",PlayerInfo[playerid][pEmprego]); DOF2_SetInt(string3,"Skin",PlayerInfo[playerid][pSkin]); DOF2_SetFloat(string3, "Pos_x", PlayerInfo[playerid][pPos_x]); DOF2_SetFloat(string3, "Pos_y", PlayerInfo[playerid][pPos_y]); DOF2_SetFloat(string3, "Pos_z", PlayerInfo[playerid][pPos_z]); DOF2_SetInt(string3,"Interior",PlayerInfo[playerid][pInterior]); DOF2_SetInt(string3,"VW",PlayerInfo[playerid][pVW]); DOF2_SetInt(string3,"TrocaNick",PlayerInfo[playerid][pTrocaNick]); DOF2_SetInt(string3,"PontosHab",PlayerInfo[playerid][pPontosHab]); DOF2_SetInt(string3,"SkinFixa",PlayerInfo[playerid][pSkinFixa]); DOF2_SetInt(string3, "BonusYT", PlayerInfo[playerid][pBonusYT]); //DOF2_SetInt(string3, "Sede", PlayerInfo[playerid][pSede]); //DOF2_SetInt(string3, "Fome", PlayerInfo[playerid][pFome]); //DOF2_SetInt(string3, "JaSetouFS", TempJaSetouFomeSede[playerid]); DOF2_SetInt(string3, "DinheiroSujo", PlayerInfo[playerid][pDinheiroSujo]); new dia, mes, ano; getdate(ano, mes, dia); DOF2_SetInt(string3,"ULDia",dia); DOF2_SetInt(string3,"ULMes",mes); DOF2_SetInt(string3,"ULAno",ano); // DOF2_SetInt(string3,"Paycheck",PlayerInfo[playerid][pSalario]); DOF2_SetInt(string3,"HeadValue",PlayerInfo[playerid][pHeadValue]); DOF2_SetInt(string3,"Jailed",PlayerInfo[playerid][pJailed]); DOF2_SetInt(string3, "gPlayerUsandoPlataformaID", PlayerInfo[playerid][gPlayerUsandoPlataformaID]); DOF2_SetInt(string3,"BloqNoob",PlayerInfo[playerid][pBloqNoob]); DOF2_SetInt(string3,"AnGov",PlayerInfo[playerid][pAnGov]); DOF2_SetInt(string3,"Armasb",PlayerInfo[playerid][pArmasb]); DOF2_SetInt(string3,"JailTime",PlayerInfo[playerid][pJailTime]); DOF2_SetInt(string3,"Capacete",PlayerInfo[playerid][pCapacete]); DOF2_SetInt(string3,"Materiais",PlayerInfo[playerid][pMats]); DOF2_SetInt(string3,"Contratos",PlayerInfo[playerid][pContratos]); DOF2_SetInt(string3,"Maconha",PlayerInfo[playerid][pDrogas]); DOF2_SetInt(string3,"Cocaina",PlayerInfo[playerid][pDrogas2]); DOF2_SetInt(string3,"Crack",PlayerInfo[playerid][pDrogas3]); DOF2_SetInt(string3,"Lider",PlayerInfo[playerid][pLider]); DOF2_SetInt(string3,"Member",PlayerInfo[playerid][pMembro]); DOF2_SetInt(string3,"Rank",PlayerInfo[playerid][pCargo]); DOF2_SetInt(string3,"MatouSniper",PlayerInfo[playerid][pMatouSniper]); DOF2_SetInt(string3,"Char",PlayerInfo[playerid][pSkin]); DOF2_SetInt(string3,"ContractTime",PlayerInfo[playerid][pContractTime]); DOF2_SetInt(string3,"MinutosOn",PlayerInfo[playerid][pMinutosOn]); DOF2_SetInt(string3,"HorasOn",PlayerInfo[playerid][pHorasOn]); DOF2_SetInt(string3,"Dias5On",PlayerInfo[playerid][pDias5On]); DOF2_SetInt(string3,"Dias15On",PlayerInfo[playerid][pDias15On]); DOF2_SetInt(string3,"MesOn",PlayerInfo[playerid][pMesOn]); DOF2_SetBool(string3,"5VOk",PlayerInfo[playerid][p5VOk]); DOF2_SetBool(string3,"15VOk",PlayerInfo[playerid][p15VOk]); DOF2_SetInt(string3,"TituloId",PlayerInfo[playerid][pTitulo]); DOF2_SetInt(string3,"SexSkill",PlayerInfo[playerid][pSexSkill]); DOF2_SetInt(string3,"BoxSkill",PlayerInfo[playerid][pBoxSkill]); DOF2_SetInt(string3,"LawSkill",PlayerInfo[playerid][pLawSkill]); DOF2_SetInt(string3,"MechSkill",PlayerInfo[playerid][pMechSkill]); DOF2_SetInt(string3,"NewsSkill",PlayerInfo[playerid][pNewsSkill]); DOF2_SetInt(string3,"CarSkill",PlayerInfo[playerid][pCarSkill]); DOF2_SetInt(string3,"Chave",PlayerInfo[playerid][pChave]); DOF2_SetInt(string3,"DrogasSkill",PlayerInfo[playerid][pDrogasSkill]); DOF2_SetInt(string3,"Limparb",PlayerInfo[playerid][pLimparb]); DOF2_SetFloat(string3,"pSHealth",PlayerInfo[playerid][pSHealth]); DOF2_SetFloat(string3,"pSArmour",PlayerInfo[playerid][pSArmour]); DOF2_SetInt(string3,"PhoneNr",PlayerInfo[playerid][pPnumber]); DOF2_SetInt(string3,"TelCor",PlayerInfo[playerid][pTelColor]); DOF2_SetInt(string3,"House",PlayerInfo[playerid][pPhousekey]); DOF2_SetInt(string3,"AimBot", GetPVarInt(playerid,"WarnningAimbot")); DOF2_SetInt(string3,"AutoCbug", GetPVarInt(playerid, "WarnningMacro")); DOF2_SetInt(string3,"Bizz",PlayerInfo[playerid][pPbiskey]); DOF2_SetInt(string3,"Faz",PlayerInfo[playerid][pPFazkey]); DOF2_SetInt(string3,"Spawn",PlayerInfo[playerid][pSpawn]); DOF2_SetInt(string3,"NivelProcurado",WantedPoints[playerid]); DOF2_SetInt(string3,"SafeMateriais",PlayerInfo[playerid][psMats]); DOF2_SetInt(string3,"Age",PlayerInfo[playerid][pAge]); DOF2_SetInt(string3,"AcP",PlayerInfo[playerid][pAcP]); DOF2_SetInt(string3,"Ouros",PlayerInfo[playerid][pOuros]); DOF2_SetInt(string3,"Avisado",PlayerInfo[playerid][pAviso]); DOF2_SetInt(string3,"DiasBanTemp",PlayerInfo[playerid][pDiaBanTemp]); DOF2_SetInt(string3,"MesBanTemp",PlayerInfo[playerid][pMesBanTemp]); DOF2_SetInt(string3,"AnoBanTemp",PlayerInfo[playerid][pAnoBanTemp]); DOF2_SetInt(string3,"Atendimentos", PlayerInfo[playerid][pAtendimentos]); DOF2_SetInt(string3,"WhatsappON", PlayerInfo[playerid][pChatWppON]); DOF2_SetInt(string3,"DiasVIP",PlayerInfo[playerid][pDiaVIP]); DOF2_SetInt(string3,"diasvip",PlayerInfo[playerid][pDiasvip]); DOF2_SetInt(string3,"MesVIP",PlayerInfo[playerid][pMesVIP]); DOF2_SetInt(string3,"AnoVIP",PlayerInfo[playerid][pAnoVIP]); DOF2_SetInt(string3,"DiasD",PlayerInfo[playerid][pDiaD]); DOF2_SetInt(string3,"diasD",PlayerInfo[playerid][pDiasD]); DOF2_SetInt(string3,"MesD",PlayerInfo[playerid][pMesD]); DOF2_SetInt(string3,"AnoD",PlayerInfo[playerid][pAnoD]); DOF2_SetInt(string3,"pCidadeEscolheu",PlayerInfo[playerid][pCidadeEscolheu]); DOF2_SetInt(string3,"CarLic",PlayerInfo[playerid][pCarLic]); DOF2_SetInt(string3,"FlyLic",PlayerInfo[playerid][pFlyLic]); DOF2_SetInt(string3,"DeatEvento",DeatEvento[playerid]); DOF2_SetInt(string3,"TemCarro",PlayerInfo[playerid][pTemCarro]); DOF2_SetInt(string3,"KillEvento",KillEvento[playerid]); DOF2_SetInt(string3,"MenuRG",PlayerInfo[playerid][pMenuRG]); DOF2_SetInt(string3,"ChatTerritorio",PlayerInfo[playerid][pChatTerritorio]); DOF2_SetInt(string3,"ChatVipDesativado",PlayerInfo[playerid][pChatVipDesativado]); //DOF2_SetInt(string3,"ChatFomeSede",PlayerInfo[playerid][pChatFomeSede]); DOF2_SetInt(string3,"ChatNoob",PlayerInfo[playerid][pChatNoob]); DOF2_SetInt(string3,"ChatNoticias",PlayerInfo[playerid][pChatNoticias]); DOF2_SetInt(string3,"BoatLic",PlayerInfo[playerid][pBoatLic]); DOF2_SetInt(string3,"GunLic",PlayerInfo[playerid][pGunLic]); DOF2_SetInt(string3,"PayDay",PlayerInfo[playerid][pPayDay]); DOF2_SetInt(string3,"CDPlayer",PlayerInfo[playerid][pCDPlayer]); DOF2_SetInt(string3,"AlcoholPerk",PlayerInfo[playerid][pAlcoholPerk]); DOF2_SetInt(string3,"DrugPerk",PlayerInfo[playerid][pDrugPerk]); DOF2_SetInt(string3,"MiserPerk",PlayerInfo[playerid][pMiserPerk]); DOF2_SetInt(string3,"PainPerk",PlayerInfo[playerid][pPainPerk]); DOF2_SetInt(string3,"TraderPerk",PlayerInfo[playerid][pTraderPerk]); DOF2_SetInt(string3,"Tutorial",PlayerInfo[playerid][pTut]); DOF2_SetInt(string3,"Avisos",PlayerInfo[playerid][pWarns]); DOF2_SetString(string3,"MarriedTo",PlayerInfo[playerid][pMarriedTo]); DOF2_SetInt(string3,"Married",PlayerInfo[playerid][pMarried]); DOF2_SetInt(string3,"Luta",PlayerInfo[playerid][pLuta]); DOF2_SetString(string3,"LU",PlayerInfo[playerid][pLaastLogin]); DOF2_SetString(string3,"LV",PlayerInfo[playerid][pLastVerification]); DOF2_SetInt(string3,"Ban",PlayerInfo[playerid][pBan]); DOF2_SetBool(string3,"Ajustado",PlayerInfo[playerid][pAjustado]); DOF2_SetBool(string3,"Galao",PlayerInfo[playerid][pGalao]); DOF2_SetBool(string3,"Isqueiro",PlayerInfo[playerid][pIsqueiro]); DOF2_SetBool(string3,"Patins",PlayerInfo[playerid][pPatins]); DOF2_SetBool(string3,"Televisao",PlayerInfo[playerid][pTelevisao]); DOF2_SetBool(string3,"Radio",PlayerInfo[playerid][pRadio]); DOF2_SetBool(string3,"resetado",PlayerInfo[playerid][pResetado]); DOF2_SetInt(string3, "Agendado",PlayerInfo[playerid][pAgendado]); DOF2_SetInt(string3, "CashAgendado",PlayerInfo[playerid][pCashAgendado]); DOF2_SetInt(string3, "QCoinAgendado",PlayerInfo[playerid][pQCoinAgendado]); DOF2_SetInt(string3, "MoneyAgendado",PlayerInfo[playerid][pMoneyAgendado]); DOF2_SetInt(string3, "QMoneyAgendado",PlayerInfo[playerid][pQMoneyAgendado]); DOF2_SetInt(string3, "Sementes", PlayerInfo[playerid][pSementes]); DOF2_SetInt(string3,"GasReserva", PlayerInfo[playerid][pGasReserva]); //DOF2_SetInt(string3, "FomeSedeDesativado", PlayerInfo[playerid][pFomeSedeDesativado]); //Crime DOF2_SetString(string3,"cCrime",PlayerCrime[playerid][pAccusedof]); DOF2_SetString(string3,"cRelato",PlayerCrime[playerid][pVictim]); DOF2_SaveFile(); } return true; } CallBack::PosicionarObjetos(playerid, index1, modelid1, boneid1, Float:fOffsetX1, Float:fOffsetY1, Float:fOffsetZ1, Float:fRotX1, Float:fRotY1, Float:fRotZ1, Float:fScaleX1, Float:fScaleY1, Float:fScaleZ1) { ObjectLoad[playerid][index1][Objindexid2] = index1; ObjectLoad[playerid][index1][Objmodelid] = modelid1; ObjectLoad[playerid][index1][Objboneid] = boneid1; ObjectLoad[playerid][index1][ObjOffsetX] = fOffsetX1; ObjectLoad[playerid][index1][ObjOffsetY] = fOffsetY1; ObjectLoad[playerid][index1][ObjOffsetZ] = fOffsetZ1; ObjectLoad[playerid][index1][ObjRotX] = fRotX1; ObjectLoad[playerid][index1][ObjRotY] = fRotY1; ObjectLoad[playerid][index1][ObjRotZ] = fRotZ1; ObjectLoad[playerid][index1][ObjScaleX] = fScaleX1; ObjectLoad[playerid][index1][ObjScaleY] = fScaleY1; ObjectLoad[playerid][index1][ObjScaleZ] = fScaleZ1; return 0; } CallBack::SaveObjects(playerid) { new string3[120]; format(string3, sizeof(string3), Pasta_CharAttach, PlayerName(playerid)); new str[28]; new x=0; while(x < MAX_PLAYER_ATTACHED_OBJECTS) { format(str, sizeof str, "objeto%d", x); DOF2_SetInt(string3,str,ObjectLoad[playerid][x][Objindexid2]); format(str, sizeof str, "modelid%d", x); DOF2_SetInt(string3,str,ObjectLoad[playerid][x][Objmodelid]); format(str, sizeof str, "boneid%d", x); DOF2_SetInt(string3,str,ObjectLoad[playerid][x][Objboneid]); format(str, sizeof str, "OffsetX%d", x); DOF2_SetFloat(string3,str,ObjectLoad[playerid][x][ObjOffsetX]); format(str, sizeof str, "OffsetY%d", x); DOF2_SetFloat(string3,str,ObjectLoad[playerid][x][ObjOffsetY]); format(str, sizeof str, "OffsetZ%d", x); DOF2_SetFloat(string3,str,ObjectLoad[playerid][x][ObjOffsetZ]); format(str, sizeof str, "RotX%d", x); DOF2_SetFloat(string3,str,ObjectLoad[playerid][x][ObjRotX]); format(str, sizeof str, "RotY%d", x); DOF2_SetFloat(string3,str,ObjectLoad[playerid][x][ObjRotY]); format(str, sizeof str, "RotZ%d", x); DOF2_SetFloat(string3,str,ObjectLoad[playerid][x][ObjRotZ]); format(str, sizeof str, "ScaleX%d", x); DOF2_SetFloat(string3,str,ObjectLoad[playerid][x][ObjScaleX]); format(str, sizeof str, "ScaleY%d", x); DOF2_SetFloat(string3,str,ObjectLoad[playerid][x][ObjScaleY]); format(str, sizeof str, "ScaleZ%d", x); DOF2_SetFloat(string3,str,ObjectLoad[playerid][x][ObjScaleZ]); x++; } DOF2_SaveFile(); return true; } CallBack::LoadObjects(playerid) { new string2[74]; format(string2, sizeof(string2), Pasta_CharAttach, PlayerName(playerid)); if(fexist(string2)) { new str[28]; new x=0; while(x < MAX_PLAYER_ATTACHED_OBJECTS) { format(str, sizeof str, "objeto%d", x); ObjectLoad[playerid][x][Objindexid2] = DOF2_GetInt(string2,str); format(str, sizeof str, "modelid%d", x); ObjectLoad[playerid][x][Objmodelid] = DOF2_GetInt(string2,str); format(str, sizeof str, "boneid%d", x); ObjectLoad[playerid][x][Objboneid] = DOF2_GetInt(string2,str); format(str, sizeof str, "OffsetX%d", x); ObjectLoad[playerid][x][ObjOffsetX] = DOF2_GetFloat(string2,str); format(str, sizeof str, "OffsetY%d", x); ObjectLoad[playerid][x][ObjOffsetY] = DOF2_GetFloat(string2,str); format(str, sizeof str, "OffsetZ%d", x); ObjectLoad[playerid][x][ObjOffsetZ] = DOF2_GetFloat(string2,str); format(str, sizeof str, "RotX%d", x); ObjectLoad[playerid][x][ObjRotX] = DOF2_GetFloat(string2,str); format(str, sizeof str, "RotY%d", x); ObjectLoad[playerid][x][ObjRotY] = DOF2_GetFloat(string2,str); format(str, sizeof str, "RotZ%d", x); ObjectLoad[playerid][x][ObjRotZ] = DOF2_GetFloat(string2,str); format(str, sizeof str, "ScaleX%d", x); ObjectLoad[playerid][x][ObjScaleX] = DOF2_GetFloat(string2,str); format(str, sizeof str, "ScaleY%d", x); ObjectLoad[playerid][x][ObjScaleY] = DOF2_GetFloat(string2,str); format(str, sizeof str, "ScaleZ%d", x); ObjectLoad[playerid][x][ObjScaleZ] = DOF2_GetFloat(string2,str); x++; } } else { } return 1; } CallBack::SetTudo(playerid) { if(PlayerInfo[playerid][pJailed] != 0)return true; if(PlayerInfo[playerid][pSHealth] > 0) { SetPlayerHealth(playerid, PlayerInfo[playerid][pSHealth]); } SetPlayerArmour(playerid, PlayerInfo[playerid][pSArmour]); return true; } //---------------------- anims -------------------------------- CMD:animlist(playerid) { SendClientMessage(playerid, COLOR_GRAD2,"Lista de anims"); SendClientMessage(playerid, COLOR_GRAD2,"/animped /dance /handsup /hd "); SendClientMessage(playerid, COLOR_GRAD2,"/animairport /animat /animbar /animball /animfire /animbeach"); SendClientMessage(playerid, COLOR_GRAD2,"/animbp /animinf /animbiked /animbh /animfood /animbikelp /animms /animbikes /animcar"); SendClientMessage(playerid, COLOR_GRAD2,"/animbikev /animbmx /animbikedbz /animchase /animbox /animbomber /animbsp /animcamera "); SendClientMessage(playerid, COLOR_GRAD2,"/animgym /animpara /animgangs /animlookers /animcarchat /animcasino /animbuddy /animbus"); SendClientMessage(playerid, COLOR_GRAD2,"/animcarry /animintshop /animjst /animkart /animkissing /animknife /animlapdan /animdend"); SendClientMessage(playerid, COLOR_GRAD2,"/animmedic /animmtb /animmusc /animotb /animnevada /animpark /animsaw /animchoppa"); SendClientMessage(playerid, COLOR_GRAD2,"/animclothes /animcoach /animcolt /animcopa /animcod /animcrack /animsnm /animpaulnmac"); SendClientMessage(playerid, COLOR_GRAD2,"/animlist2 Para ver outros Anims"); return 1; } CMD:animlist2(playerid) { SendClientMessage(playerid, COLOR_GRAD2,"2ª Lista de anims"); SendClientMessage(playerid, COLOR_GRAD2,"/animcrib /animjump /animdealer /animdildo /animdodge /animdozer /animdrivebys /animfat"); SendClientMessage(playerid, COLOR_GRAD2,"/animfightb /animfightc /animfightd /animfighte /animfinale /animfinale2 /animflamef"); SendClientMessage(playerid, COLOR_GRAD2,"/animflowers /animghands /animfw /animghetto /animgog /animgraffity /animgreya /animgren"); SendClientMessage(playerid, COLOR_GRAD2,"/animhaircut /animheist /animinthouse /animintoffice /animplayerdbf /animplayidles /animpolice"); SendClientMessage(playerid, COLOR_GRAD2,"/animpool /animpoor /animpython /animquad /animquadbz /animrapping /animrifle /animriot /animrobbank "); SendClientMessage(playerid, COLOR_GRAD2,"/animrocket /animrustler /animryder /animscrat /animshamal /animshop /animskate /animshotgun"); SendClientMessage(playerid, COLOR_GRAD2,"/animvortex /animtec /animtrain /animsil /animtattoo /animsmoking /animsniper /animspray /animstrip"); SendClientMessage(playerid, COLOR_GRAD2,"/animbath /animswat /animsweet /animswim /animsword /animtank /animtruck /animuzi /animvan /animvending"); SendClientMessage(playerid, COLOR_GRAD2,"/animway /animweap /animblowjob"); return 1; } CMD:animbar(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animbar [1-12]"); return 1; } if(animationplayed < 1 || animationplayed > 12) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animbar [1-12]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"BAR","Barcustom_get",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"BAR","Barcustom_loop",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"BAR","Barcustom_order",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"BAR","Barserve_bottle",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"BAR","Barserve_give",4.1,0,1,1,1,1); } else if(animationplayed == 6) { ApplyAnimationEx(playerid,"BAR","Barserve_glass",4.1,0,1,1,1,1); } else if(animationplayed == 7) { ApplyAnimationEx(playerid,"BAR","Barserve_in",4.1,0,1,1,1,1); } else if(animationplayed == 8) { ApplyAnimationEx(playerid,"BAR","Barserve_loop",4.1,0,1,1,1,1); } else if(animationplayed == 9) { ApplyAnimationEx(playerid,"BAR","Barserve_order",4.1,0,1,1,1,1); } else if(animationplayed == 10) { ApplyAnimationEx(playerid,"BAR","dnk_stndF_loop",4.1,0,1,1,1,1); } else if(animationplayed == 11) { ApplyAnimationEx(playerid,"BAR","dnk_stndM_loop",4.1,0,1,1,1,1); } else if(animationplayed == 12) { ApplyAnimationEx(playerid,"BAR","BARman_idle",4.1,0,1,1,1,1); } return 1; } CMD:animball(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animball [1-11]"); return 1; } if(animationplayed < 1 || animationplayed > 11) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animball [1-11]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"BASEBALL","Bat_1",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"BASEBALL","Bat_2",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"BASEBALL","Bat_2",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"BASEBALL","Bat_4",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"BASEBALL","Bat_block",4.1,0,1,1,1,1); } else if(animationplayed == 6) { ApplyAnimationEx(playerid,"BASEBALL","Bat_Hit_1",4.1,0,1,1,1,1); } else if(animationplayed == 7) { ApplyAnimationEx(playerid,"BASEBALL","Bat_Hit_2",4.1,0,1,1,1,1); } else if(animationplayed == 8) { ApplyAnimationEx(playerid,"BASEBALL","Bat_Hit_3",4.1,0,1,1,1,1); } else if(animationplayed == 9) { ApplyAnimationEx(playerid,"BASEBALL","Bat_IDLE",4.1,0,1,1,1,1); } else if(animationplayed == 10) { ApplyAnimationEx(playerid,"BASEBALL","Bat_M",4.1,0,1,1,1,1); } else if(animationplayed == 11) { ApplyAnimationEx(playerid,"BASEBALL","BAT_PART",4.1,0,1,1,1,1); } return 1; } CMD:animfire(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animfire [1-13]"); return 1; } if(animationplayed < 1 || animationplayed > 13) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animfire [1-13]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"BD_FIRE","BD_Fire1",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"BD_FIRE","BD_Fire2",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"BD_FIRE","BD_Fire3",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"BD_FIRE","BD_GF_Wave",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"BD_FIRE","BD_Panic_01",4.1,0,1,1,1,1); } else if(animationplayed == 6) { ApplyAnimationEx(playerid,"BD_FIRE","BD_Panic_02",4.1,0,1,1,1,1); } else if(animationplayed == 7) { ApplyAnimationEx(playerid,"BD_FIRE","BD_Panic_03",4.1,0,1,1,1,1); } else if(animationplayed == 8) { ApplyAnimationEx(playerid,"BD_FIRE","BD_Panic_04",4.1,0,1,1,1,1); } else if(animationplayed == 9) { ApplyAnimationEx(playerid,"BD_FIRE","BD_Panic_Loop",4.1,0,1,1,1,1); } else if(animationplayed == 10) { ApplyAnimationEx(playerid,"BD_FIRE","M_smklean_loop",4.1,0,1,1,1,1); } else if(animationplayed == 11) { ApplyAnimationEx(playerid,"BD_FIRE","M_smklean_loop",4.1,0,1,1,1,1); } else if(animationplayed == 12) { ApplyAnimationEx(playerid,"BD_FIRE","Playa_Kiss_03",4.1,0,1,1,1,1); } else if(animationplayed == 13) { ApplyAnimationEx(playerid,"BD_FIRE","wash_up",4.1,0,1,1,1,1); } return 1; } CMD:animbeach(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animbeach [1-5]"); return 1; } if(animationplayed < 1 || animationplayed > 5) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animbeach [1-5]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"BEACH","bather",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"BEACH","Lay_Bac_Loop",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"BEACH","BD_Fire3",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"BEACH","ParkSit_W_loop",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"BEACH","SitnWait_loop_W",4.1,0,1,1,1,1); } return 1; } CMD:sentar(playerid) { ApplyAnimationEx(playerid, "BEACH", "ParkSit_M_loop", 4.0, 1, 0, 0, 0, 0); return 1; } CMD:animinf(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animinf [1-4]"); return 1; } if(animationplayed < 1 || animationplayed > 4) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animinf [1-4]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"BF_injection","BF_getin_LHS",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"BF_injection","BF_getin_RHS",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"BF_injection","BF_getout_LHS",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"BF_injection","BF_getout_RHS",4.1,0,1,1,1,1); } return 1; } CMD:animbiiked(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animbiked [1-18]"); return 1; } if(animationplayed < 1 || animationplayed > 18) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animbiked [1-18]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"BIKED","BIKEd_Back",4.1,0,1,1,1,1); } else if(animationplayed == 1) { ApplyAnimationEx(playerid,"BIKED","BIKEd_drivebyFT",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"BIKED","BIKEd_drivebyLHS",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"BIKED","BIKEd_drivebyRHS",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"BIKED","BIKEd_Fwd",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"BIKED","BIKEd_getoffBACK",4.1,0,1,1,1,1); } else if(animationplayed == 6) { ApplyAnimationEx(playerid,"BIKED","BIKEd_getoffLHS",4.1,0,1,1,1,1); } else if(animationplayed == 7) { ApplyAnimationEx(playerid,"BIKED","BIKEd_getoffRHS",4.1,0,1,1,1,1); } else if(animationplayed == 8) { ApplyAnimationEx(playerid,"BIKED","BIKEd_hit",4.1,0,1,1,1,1); } else if(animationplayed == 9) { ApplyAnimationEx(playerid,"BIKED","BIKEd_jumponL",4.1,0,1,1,1,1); } else if(animationplayed == 10) { ApplyAnimationEx(playerid,"BIKED","BIKEd_jumponR",4.1,0,1,1,1,1); } else if(animationplayed == 11) { ApplyAnimationEx(playerid,"BIKED","BIKEd_kick",4.1,0,1,1,1,1); } else if(animationplayed == 12) { ApplyAnimationEx(playerid,"BIKED","BIKEd_Left",4.1,0,1,1,1,1); } else if(animationplayed == 13) { ApplyAnimationEx(playerid,"BIKED","BIKEd_passenger",4.1,0,1,1,1,1); } else if(animationplayed == 14) { ApplyAnimationEx(playerid,"BIKED","BIKEd_pushes",4.1,0,1,1,1,1); } else if(animationplayed == 15) { ApplyAnimationEx(playerid,"BIKED","BIKEd_Ride",4.1,0,1,1,1,1); } else if(animationplayed == 16) { ApplyAnimationEx(playerid,"BIKED","BIKEd_Right",4.1,0,1,1,1,1); } else if(animationplayed == 17) { ApplyAnimationEx(playerid,"BIKED","BIKEd_shuffle",4.1,0,1,1,1,1); } else if(animationplayed == 18) { ApplyAnimationEx(playerid,"BIKED","BIKEd_Still",4.1,0,1,1,1,1); } return 1; } CMD:animbp(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animbp [1-7]"); return 1; } if(animationplayed < 1 || animationplayed > 7) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animbp [1-7]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"benchpress","gym_bp_celebrate",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"benchpress","gym_bp_down",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"benchpress","gym_bp_getoff",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"benchpress","gym_bp_geton",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"benchpress","gym_bp_up_A",4.1,0,1,1,1,1); } else if(animationplayed == 6) { ApplyAnimationEx(playerid,"benchpress","gym_bp_up_B",4.1,0,1,1,1,1); } else if(animationplayed == 7) { ApplyAnimationEx(playerid,"benchpress","gym_bp_up_smooth",4.1,0,1,1,1,1); } return 1; } CMD:animbh(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animbh [1-18]"); return 1; } if(animationplayed < 1 || animationplayed > 18) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animbh [1-18]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"BIKEH","BIKEh_Back",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"BIKEH","BIKEh_drivebyFT",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"BIKEH","BIKEh_drivebyLHS",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"BIKEH","BIKEh_drivebyRHS",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"BIKEH","BIKEh_Fwd",4.1,0,1,1,1,1); } else if(animationplayed == 6) { ApplyAnimationEx(playerid,"BIKEH","BIKEh_getoffBACK",4.1,0,1,1,1,1); } else if(animationplayed == 7) { ApplyAnimationEx(playerid,"BIKEH","BIKEh_getoffLHS",4.1,0,1,1,1,1); } else if(animationplayed == 8) { ApplyAnimationEx(playerid,"BIKEH","BIKEh_getoffRHS",4.1,0,1,1,1,1); } else if(animationplayed == 9) { ApplyAnimationEx(playerid,"BIKEH","BIKEh_hit",4.1,0,1,1,1,1); } else if(animationplayed == 10) { ApplyAnimationEx(playerid,"BIKEH","BIKEh_jumponL",4.1,0,1,1,1,1); } else if(animationplayed == 11) { ApplyAnimationEx(playerid,"BIKEH","BIKEh_jumponR",4.1,0,1,1,1,1); } else if(animationplayed == 12) { ApplyAnimationEx(playerid,"BIKEH","BIKEh_kick",4.1,0,1,1,1,1); } else if(animationplayed == 13) { ApplyAnimationEx(playerid,"BIKEH","BIKEh_Left",4.1,0,1,1,1,1); } else if(animationplayed == 14) { ApplyAnimationEx(playerid,"BIKEH","BIKEh_passenger",4.1,0,1,1,1,1); } else if(animationplayed == 15) { ApplyAnimationEx(playerid,"BIKEH","BIKEh_pushes",4.1,0,1,1,1,1); } else if(animationplayed == 16) { ApplyAnimationEx(playerid,"BIKEH","BIKEh_Ride",4.1,0,1,1,1,1); } else if(animationplayed == 17) { ApplyAnimationEx(playerid,"BIKEH","BIKEh_Right",4.1,0,1,1,1,1); } else if(animationplayed == 18) { ApplyAnimationEx(playerid,"BIKEH","BIKEh_Still",4.1,0,1,1,1,1); } return 1; } CMD:animms(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animms [1-8]"); return 1; } if(animationplayed < 1 || animationplayed > 8) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animms [1-8]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"BIKEH","BIKEh_Back",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"BIKEH","BIKEh_drivebyFT",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"BIKEH","BIKEh_drivebyLHS",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"BIKEH","BIKEh_drivebyRHS",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"BIKEH","BIKEh_Fwd",4.1,0,1,1,1,1); } else if(animationplayed == 6) { ApplyAnimationEx(playerid,"BIKEH","BIKEh_getoffBACK",4.1,0,1,1,1,1); } else if(animationplayed == 7) { ApplyAnimationEx(playerid,"BIKEH","BIKEh_getoffLHS",4.1,0,1,1,1,1); } else if(animationplayed == 8) { ApplyAnimationEx(playerid,"BIKEH","BIKEh_getoffRHS",4.1,0,1,1,1,1); } return 1; } CMD:animfood(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animfood [1-33]"); return 1; } if(animationplayed < 1 || animationplayed > 33) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animfood [1-33]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"FOOD","EAT_Burger",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"FOOD","EAT_Chicken",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"FOOD","EAT_Pizza",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"FOOD","EAT_Vomit_P",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"FOOD","EAT_Vomit_SK",4.1,0,1,1,1,1); } else if(animationplayed == 6) { ApplyAnimationEx(playerid,"FOOD","FF_Dam_Bkw",4.1,0,1,1,1,1); } else if(animationplayed == 7) { ApplyAnimationEx(playerid,"FOOD","FF_Dam_Fwd",4.1,0,1,1,1,1); } else if(animationplayed == 8) { ApplyAnimationEx(playerid,"FOOD","FF_Dam_Left",4.1,0,1,1,1,1); } else if(animationplayed == 9) { ApplyAnimationEx(playerid,"FOOD","FF_Dam_Right",4.1,0,1,1,1,1); } else if(animationplayed == 10) { ApplyAnimationEx(playerid,"FOOD","FF_Die_Bkw",4.1,0,1,1,1,1); } else if(animationplayed == 11) { ApplyAnimationEx(playerid,"FOOD","FF_Die_Fwd",4.1,0,1,1,1,1); } else if(animationplayed == 12) { ApplyAnimationEx(playerid,"FOOD","FF_Die_Left",4.1,0,1,1,1,1); } else if(animationplayed == 13) { ApplyAnimationEx(playerid,"FOOD","FF_Die_Right",4.1,0,1,1,1,1); } else if(animationplayed == 14) { ApplyAnimationEx(playerid,"FOOD","FF_Sit_Eat1",4.1,0,1,1,1,1); } else if(animationplayed == 15) { ApplyAnimationEx(playerid,"FOOD","FF_Sit_Eat2",4.1,0,1,1,1,1); } else if(animationplayed == 16) { ApplyAnimationEx(playerid,"FOOD","FF_Sit_Eat3",4.1,0,1,1,1,1); } else if(animationplayed == 17) { ApplyAnimationEx(playerid,"FOOD","FF_Sit_In",4.1,0,1,1,1,1); } else if(animationplayed == 18) { ApplyAnimationEx(playerid,"FOOD","FF_Sit_In_L",4.1,0,1,1,1,1); } else if(animationplayed == 19) { ApplyAnimationEx(playerid,"FOOD","FF_Sit_In_R",4.1,0,1,1,1,1); } else if(animationplayed == 20) { ApplyAnimationEx(playerid,"FOOD","FF_Sit_Look",4.1,0,1,1,1,1); } else if(animationplayed == 21) { ApplyAnimationEx(playerid,"FOOD","FF_Sit_Loop",4.1,0,1,1,1,1); } else if(animationplayed == 22) { ApplyAnimationEx(playerid,"FOOD","FF_Sit_Out_180",4.1,0,1,1,1,1); } else if(animationplayed == 23) { ApplyAnimationEx(playerid,"FOOD","FF_Sit_Out_L_180",4.1,0,1,1,1,1); } else if(animationplayed == 24) { ApplyAnimationEx(playerid,"FOOD","FF_Sit_Out_R_180",4.1,0,1,1,1,1); } else if(animationplayed == 25) { ApplyAnimationEx(playerid,"FOOD","SHP_Thank",4.1,0,1,1,1,1); } else if(animationplayed == 26) { ApplyAnimationEx(playerid,"FOOD","SHP_Tray_In",4.1,0,1,1,1,1); } else if(animationplayed == 27) { ApplyAnimationEx(playerid,"FOOD","SHP_Tray_Lift",4.1,0,1,1,1,1); } else if(animationplayed == 28) { ApplyAnimationEx(playerid,"FOOD","SHP_Tray_Lift_In",4.1,0,1,1,1,1); } else if(animationplayed == 29) { ApplyAnimationEx(playerid,"FOOD","SHP_Tray_Lift_Loop",4.1,0,1,1,1,1); } else if(animationplayed == 30) { ApplyAnimationEx(playerid,"FOOD","SHP_Tray_Lift_Out",4.1,0,1,1,1,1); } else if(animationplayed == 31) { ApplyAnimationEx(playerid,"FOOD","SHP_Tray_Out",4.1,0,1,1,1,1); } else if(animationplayed == 32) { ApplyAnimationEx(playerid,"FOOD","SHP_Tray_Pose",4.1,0,1,1,1,1); } else if(animationplayed == 33) { ApplyAnimationEx(playerid,"FOOD","SHP_Tray_Return",4.1,0,1,1,1,1); } return 1; } CMD:animms2(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animms2 [1-41]"); return 1; } if(animationplayed < 1 || animationplayed > 41) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animms2 [1-41]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"MISC","bitchslap",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"MISC","BMX_celebrate",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"MISC","BMX_comeon",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"MISC","bmx_idleloop_01",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"MISC","bmx_idleloop_02",4.1,0,1,1,1,1); } else if(animationplayed == 6) { ApplyAnimationEx(playerid,"MISC","bmx_talkleft_in",4.1,0,1,1,1,1); } else if(animationplayed == 7) { ApplyAnimationEx(playerid,"MISC","bmx_talkleft_loop",4.1,0,1,1,1,1); } else if(animationplayed == 8) { ApplyAnimationEx(playerid,"MISC","bmx_talkleft_out",4.1,0,1,1,1,1); } else if(animationplayed == 9) { ApplyAnimationEx(playerid,"MISC","bmx_talkright_in",4.1,0,1,1,1,1); } else if(animationplayed == 10) { ApplyAnimationEx(playerid,"MISC","bmx_talkright_loop",4.1,0,1,1,1,1); } else if(animationplayed == 11) { ApplyAnimationEx(playerid,"MISC","bmx_talkright_out",4.1,0,1,1,1,1); } else if(animationplayed == 12) { ApplyAnimationEx(playerid,"MISC","BPF_wndw",4.1,0,1,1,1,1); } else if(animationplayed == 13) { ApplyAnimationEx(playerid,"MISC","BPF_wndw_02",4.1,0,1,1,1,1); } else if(animationplayed == 14) { ApplyAnimationEx(playerid,"MISC","Case_pickup",4.1,0,1,1,1,1); } else if(animationplayed == 15) { ApplyAnimationEx(playerid,"MISC","door_jet",4.1,0,1,1,1,1); } else if(animationplayed == 16) { ApplyAnimationEx(playerid,"MISC","GRAB_L",4.1,0,1,1,1,1); } else if(animationplayed == 17) { ApplyAnimationEx(playerid,"MISC","GRAB_R",4.1,0,1,1,1,1); } else if(animationplayed == 18) { ApplyAnimationEx(playerid,"MISC","Hiker_Pose",4.1,0,1,1,1,1); } else if(animationplayed == 19) { ApplyAnimationEx(playerid,"MISC","Hiker_Pose_L",4.1,0,1,1,1,1); } else if(animationplayed == 20) { ApplyAnimationEx(playerid,"MISC","Idle_Chat_02",4.1,0,1,1,1,1); } else if(animationplayed == 21) { ApplyAnimationEx(playerid,"MISC","KAT_Throw_K",4.1,0,1,1,1,1); } else if(animationplayed == 22) { ApplyAnimationEx(playerid,"MISC","KAT_Throw_O",4.1,0,1,1,1,1); } else if(animationplayed == 23) { ApplyAnimationEx(playerid,"MISC","KAT_Throw_P",4.1,0,1,1,1,1); } else if(animationplayed == 24) { ApplyAnimationEx(playerid,"MISC","PASS_Rifle_O",4.1,0,1,1,1,1); } else if(animationplayed == 25) { ApplyAnimationEx(playerid,"MISC","PASS_Rifle_Ped",4.1,0,1,1,1,1); } else if(animationplayed == 26) { ApplyAnimationEx(playerid,"MISC","PASS_Rifle_Ply",4.1,0,1,1,1,1); } else if(animationplayed == 27) { ApplyAnimationEx(playerid,"MISC","pickup_box",4.1,0,1,1,1,1); } else if(animationplayed == 28) { ApplyAnimationEx(playerid,"MISC","Plane_door",4.1,0,1,1,1,1); } else if(animationplayed == 29) { ApplyAnimationEx(playerid,"MISC","Plane_exit",4.1,0,1,1,1,1); } else if(animationplayed == 30) { ApplyAnimationEx(playerid,"MISC","Plane_hijack",4.1,0,1,1,1,1); } else if(animationplayed == 31) { ApplyAnimationEx(playerid,"MISC","Plunger_01",4.1,0,1,1,1,1); } else if(animationplayed == 32) { ApplyAnimationEx(playerid,"MISC","Plyrlean_loop",4.1,0,1,1,1,1); } else if(animationplayed == 33) { ApplyAnimationEx(playerid,"MISC","plyr_shkhead",4.1,0,1,1,1,1); } else if(animationplayed == 34) { ApplyAnimationEx(playerid,"MISC","Run_Dive",4.1,0,1,1,1,1); } else if(animationplayed == 35) { ApplyAnimationEx(playerid,"MISC","Scratchballs_01",4.1,0,1,1,1,1); } else if(animationplayed == 36) { ApplyAnimationEx(playerid,"MISC","SEAT_LR",4.1,0,1,1,1,1); } else if(animationplayed == 37) { ApplyAnimationEx(playerid,"MISC","Seat_talk_01",4.1,0,1,1,1,1); } else if(animationplayed == 38) { ApplyAnimationEx(playerid,"MISC","Seat_talk_02",4.1,0,1,1,1,1); } else if(animationplayed == 39) { ApplyAnimationEx(playerid,"MISC","SEAT_watch",4.1,0,1,1,1,1); } else if(animationplayed == 40) { ApplyAnimationEx(playerid,"MISC","smalplane_door",4.1,0,1,1,1,1); } else if(animationplayed == 41) { ApplyAnimationEx(playerid,"MISC","smlplane_door",4.1,0,1,1,1,1); } return 1; } CMD:animbikelp(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animbikelp [1-9]"); return 1; } if(animationplayed < 1 || animationplayed > 9) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animbikelp [1-9]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"BIKELEAP","bk_blnce_in",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"BIKELEAP","bk_blnce_out",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"BIKELEAP","bk_jmp",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"BIKELEAP","bk_rdy_in",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"BIKELEAP","bk_rdy_out",4.1,0,1,1,1,1); } else if(animationplayed == 6) { ApplyAnimationEx(playerid,"BIKELEAP","struggle_cesar",4.1,0,1,1,1,1); } else if(animationplayed == 7) { ApplyAnimationEx(playerid,"BIKELEAP","struggle_driver",4.1,0,1,1,1,1); } else if(animationplayed == 8) { ApplyAnimationEx(playerid,"BIKELEAP","truck_driver",4.1,0,1,1,1,1); } else if(animationplayed == 9) { ApplyAnimationEx(playerid,"BIKELEAP","truck_getin",4.1,0,1,1,1,1); } return 1; } CMD:animbikes(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animbikes [1-18]"); return 1; } if(animationplayed < 1 || animationplayed > 18) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animbikes [1-18]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"BIKES","BIKEs_Back",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"BIKES","BIKEs_drivebyFT",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"BIKES","BIKEs_drivebyLHS",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"BIKES","BIKEs_drivebyRHS",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"BIKES","BIKEs_Fwd",4.1,0,1,1,1,1); } else if(animationplayed == 6) { ApplyAnimationEx(playerid,"BIKES","BIKEs_getoffBACK",4.1,0,1,1,1,1); } else if(animationplayed == 7) { ApplyAnimationEx(playerid,"BIKES","BIKEs_getoffLHS",4.1,0,1,1,1,1); } else if(animationplayed == 8) { ApplyAnimationEx(playerid,"BIKES","BIKEs_getoffRHS",4.1,0,1,1,1,1); } else if(animationplayed == 9) { ApplyAnimationEx(playerid,"BIKES","BIKEs_hit",4.1,0,1,1,1,1); } else if(animationplayed == 10) { ApplyAnimationEx(playerid,"BIKES","BIKEs_jumponL",4.1,0,1,1,1,1); } else if(animationplayed == 11) { ApplyAnimationEx(playerid,"BIKES","BIKEs_jumponR",4.1,0,1,1,1,1); } else if(animationplayed == 12) { ApplyAnimationEx(playerid,"BIKES","BIKEs_kick",4.1,0,1,1,1,1); } else if(animationplayed == 13) { ApplyAnimationEx(playerid,"BIKES","BIKEs_Left",4.1,0,1,1,1,1); } else if(animationplayed == 14) { ApplyAnimationEx(playerid,"BIKES","BIKEs_passenger",4.1,0,1,1,1,1); } else if(animationplayed == 15) { ApplyAnimationEx(playerid,"BIKES","BIKEs_pushes",4.1,0,1,1,1,1); } else if(animationplayed == 16) { ApplyAnimationEx(playerid,"BIKES","BIKEs_Ride",4.1,0,1,1,1,1); } else if(animationplayed == 17) { ApplyAnimationEx(playerid,"BIKES","BIKEs_Right",4.1,0,1,1,1,1); } else if(animationplayed == 18) { ApplyAnimationEx(playerid,"BIKES","BIKEs_Still",4.1,0,1,1,1,1); } return 1; } CMD:animbikev(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animbikev [1-18]"); return 1; } if(animationplayed < 1 || animationplayed > 18) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animbikev [1-18]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"BIKEV","BIKEv_Back",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"BIKEV","BIKEv_drivebyFT",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"BIKEV","BIKEv_drivebyLHS",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"BIKEV","BIKEv_drivebyRHS",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"BIKEV","BIKEv_Fwd",4.1,0,1,1,1,1); } else if(animationplayed == 6) { ApplyAnimationEx(playerid,"BIKEV","BIKEv_getoffBACK",4.1,0,1,1,1,1); } else if(animationplayed == 7) { ApplyAnimationEx(playerid,"BIKEV","BIKEv_getoffLHS",4.1,0,1,1,1,1); } else if(animationplayed == 8) { ApplyAnimationEx(playerid,"BIKEV","BIKEv_getoffRHS",4.1,0,1,1,1,1); } else if(animationplayed == 9) { ApplyAnimationEx(playerid,"BIKEV","BIKEv_hit",4.1,0,1,1,1,1); } else if(animationplayed == 10) { ApplyAnimationEx(playerid,"BIKEV","BIKEv_jumponL",4.1,0,1,1,1,1); } else if(animationplayed == 11) { ApplyAnimationEx(playerid,"BIKEV","BIKEv_jumponR",4.1,0,1,1,1,1); } else if(animationplayed == 12) { ApplyAnimationEx(playerid,"BIKEV","BIKEv_kick",4.1,0,1,1,1,1); } else if(animationplayed == 13) { ApplyAnimationEx(playerid,"BIKEV","BIKEv_Left",4.1,0,1,1,1,1); } else if(animationplayed == 14) { ApplyAnimationEx(playerid,"BIKEV","BIKEv_passenger",4.1,0,1,1,1,1); } else if(animationplayed == 15) { ApplyAnimationEx(playerid,"BIKEV","BIKEv_pushes",4.1,0,1,1,1,1); } else if(animationplayed == 16) { ApplyAnimationEx(playerid,"BIKEV","BIKEv_Ride",4.1,0,1,1,1,1); } else if(animationplayed == 17) { ApplyAnimationEx(playerid,"BIKEV","BIKEv_Right",4.1,0,1,1,1,1); } else if(animationplayed == 18) { ApplyAnimationEx(playerid,"BIKEV","BIKEv_Still",4.1,0,1,1,1,1); } return 1; } CMD:animbmx(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animbmx [1-18]"); return 1; } if(animationplayed < 1 || animationplayed > 18) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animbmx [1-18]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"BMX","BMX_back",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"BMX","BMX_bunnyhop",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"BMX","BMX_drivebyFT",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"BMX","BMX_driveby_LHS",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"BMX","BMX_driveby_RHS",4.1,0,1,1,1,1); } else if(animationplayed == 6) { ApplyAnimationEx(playerid,"BMX","BMX_fwd",4.1,0,1,1,1,1); } else if(animationplayed == 7) { ApplyAnimationEx(playerid,"BMX","BMX_getoffBACK",4.1,0,1,1,1,1); } else if(animationplayed == 8) { ApplyAnimationEx(playerid,"BMX","BMX_pushes",4.1,0,1,1,1,1); } else if(animationplayed == 9) { ApplyAnimationEx(playerid,"BMX","BMX_getoffLHS",4.1,0,1,1,1,1); } else if(animationplayed == 10) { ApplyAnimationEx(playerid,"BMX","BMX_getoffRHS",4.1,0,1,1,1,1); } else if(animationplayed == 11) { ApplyAnimationEx(playerid,"BMX","BMX_jumponL",4.1,0,1,1,1,1); } else if(animationplayed == 12) { ApplyAnimationEx(playerid,"BMX","BMX_jumponR",4.1,0,1,1,1,1); } else if(animationplayed == 13) { ApplyAnimationEx(playerid,"BMX","BMX_Left",4.1,0,1,1,1,1); } else if(animationplayed == 14) { ApplyAnimationEx(playerid,"BMX","BMX_pedal",4.1,0,1,1,1,1); } else if(animationplayed == 15) { ApplyAnimationEx(playerid,"BMX","BMX_Ride",4.1,0,1,1,1,1); } else if(animationplayed == 16) { ApplyAnimationEx(playerid,"BMX","BMX_Right",4.1,0,1,1,1,1); } else if(animationplayed == 17) { ApplyAnimationEx(playerid,"BMX","BMX_sprint",4.1,0,1,1,1,1); } else if(animationplayed == 18) { ApplyAnimationEx(playerid,"BMX","BMX_still",4.1,0,1,1,1,1); } return 1; } CMD:animbikedbz(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animbikedbz [1-4]"); return 1; } if(animationplayed < 1 || animationplayed > 4) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animbikedbz [1-4]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"BIKE_DBZ","Pass_Driveby_BWD",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"BIKE_DBZ","Pass_Driveby_FWD",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"BIKE_DBZ","Pass_Driveby_LHS",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"BIKE_DBZ","Pass_Driveby_RHS",4.1,0,1,1,1,1); } return 1; } CMD:animchase(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animchase [1-25]"); return 1; } if(animationplayed < 1 || animationplayed > 25) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animchase [1-25]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"MD_CHASE","Carhit_Hangon",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"MD_CHASE","Carhit_Tumble",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"MD_CHASE","donutdrop",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"MD_CHASE","Fen_Choppa_L1",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"MD_CHASE","Fen_Choppa_L2",4.1,0,1,1,1,1); } else if(animationplayed == 6) { ApplyAnimationEx(playerid,"MD_CHASE","Fen_Choppa_L3",4.1,0,1,1,1,1); } else if(animationplayed == 7) { ApplyAnimationEx(playerid,"MD_CHASE","Fen_Choppa_R1",4.1,0,1,1,1,1); } else if(animationplayed == 8) { ApplyAnimationEx(playerid,"MD_CHASE","Fen_Choppa_R2",4.1,0,1,1,1,1); } else if(animationplayed == 9) { ApplyAnimationEx(playerid,"MD_CHASE","Fen_Choppa_R3",4.1,0,1,1,1,1); } else if(animationplayed == 10) { ApplyAnimationEx(playerid,"MD_CHASE","Hangon_Stun_loop",4.1,0,1,1,1,1); } else if(animationplayed == 11) { ApplyAnimationEx(playerid,"MD_CHASE","Hangon_Stun_Turn",4.1,0,1,1,1,1); } else if(animationplayed == 12) { ApplyAnimationEx(playerid,"MD_CHASE","MD_BIKE_2_HANG",4.1,0,1,1,1,1); } else if(animationplayed == 13) { ApplyAnimationEx(playerid,"MD_CHASE","MD_BIKE_Jmp_BL",4.1,0,1,1,1,1); } else if(animationplayed == 14) { ApplyAnimationEx(playerid,"MD_CHASE","MD_BIKE_Jmp_F",4.1,0,1,1,1,1); } else if(animationplayed == 15) { ApplyAnimationEx(playerid,"MD_CHASE","MD_BIKE_Lnd_BL",4.1,0,1,1,1,1); } else if(animationplayed == 16) { ApplyAnimationEx(playerid,"MD_CHASE","MD_BIKE_Lnd_Die_BL",4.1,0,1,1,1,1); } else if(animationplayed == 17) { ApplyAnimationEx(playerid,"MD_CHASE","MD_BIKE_Lnd_Die_F",4.1,0,1,1,1,1); } else if(animationplayed == 18) { ApplyAnimationEx(playerid,"MD_CHASE","MD_BIKE_Lnd_F",4.1,0,1,1,1,1); } else if(animationplayed == 19) { ApplyAnimationEx(playerid,"MD_CHASE","MD_BIKE_Lnd_Roll",4.1,0,1,1,1,1); } else if(animationplayed == 20) { ApplyAnimationEx(playerid,"MD_CHASE","MD_BIKE_Lnd_Roll_F",4.1,0,1,1,1,1); } else if(animationplayed == 21) { ApplyAnimationEx(playerid,"MD_CHASE","MD_BIKE_Punch",4.1,0,1,1,1,1); } else if(animationplayed == 22) { ApplyAnimationEx(playerid,"MD_CHASE","MD_BIKE_Punch_F",4.1,0,1,1,1,1); } else if(animationplayed == 23) { ApplyAnimationEx(playerid,"MD_CHASE","MD_BIKE_Shot_F",4.1,0,1,1,1,1); } else if(animationplayed == 24) { ApplyAnimationEx(playerid,"MD_CHASE","MD_HANG_Lnd_Roll",4.1,0,1,1,1,1); } else if(animationplayed == 25) { ApplyAnimationEx(playerid,"MD_CHASE","MD_HANG_Loop",4.1,0,1,1,1,1); } return 1; } CMD:animbox(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animbox [1-10]"); return 1; } if(animationplayed < 1 || animationplayed > 10) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animbox [1-10]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"BOX","boxhipin",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"BOX","boxhipup",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"BOX","boxshdwn",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"BOX","boxshup",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"BOX","bxhipwlk",4.1,0,1,1,1,1); } else if(animationplayed == 6) { ApplyAnimationEx(playerid,"BOX","bxhwlki",4.1,0,1,1,1,1); } else if(animationplayed == 7) { ApplyAnimationEx(playerid,"BOX","bxshwlk",4.1,0,1,1,1,1); } else if(animationplayed == 8) { ApplyAnimationEx(playerid,"BOX","bxshwlki",4.1,0,1,1,1,1); } else if(animationplayed == 9) { ApplyAnimationEx(playerid,"BOX","bxwlko",4.1,0,1,1,1,1); } else if(animationplayed == 10) { ApplyAnimationEx(playerid,"BOX","catch_box",4.1,0,1,1,1,1); } return 1; } CMD:animbomber(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animbomber [1-6]"); return 1; } if(animationplayed < 1 || animationplayed > 6) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animbomber [1-6]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"BOMBER","BOM_Plant",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"BOMBER","BOM_Plant_2Idle",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"BOMBER","BOM_Plant_Crouch_In",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"BOMBER","BOM_Plant_Crouch_Out",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"BOMBER","BOM_Plant_In",4.1,0,1,1,1,1); } else if(animationplayed == 6) { ApplyAnimationEx(playerid,"BOMBER","BOM_Plant_Loop",4.1,0,1,1,1,1); } return 1; } CMD:animbsp(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animbsp [1-41]"); return 1; } if(animationplayed < 1 || animationplayed > 41) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animbsp [1-41]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"BSKTBALL","BBALL_def_jump_shot",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"BSKTBALL","BBALL_def_loop",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"BSKTBALL","BBALL_def_stepL",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"BSKTBALL","BBALL_def_stepR",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"BSKTBALL","BBALL_Dnk",4.1,0,1,1,1,1); } else if(animationplayed == 6) { ApplyAnimationEx(playerid,"BSKTBALL","BBALL_Dnk_Gli",4.1,0,1,1,1,1); } else if(animationplayed == 7) { ApplyAnimationEx(playerid,"BSKTBALL","BBALL_Dnk_Gli_O",4.1,0,1,1,1,1); } else if(animationplayed == 8) { ApplyAnimationEx(playerid,"BSKTBALL","BBALL_Dnk_Lnch",4.1,0,1,1,1,1); } else if(animationplayed == 9) { ApplyAnimationEx(playerid,"BSKTBALL","BBALL_Dnk_Lnch_O",4.1,0,1,1,1,1); } else if(animationplayed == 10) { ApplyAnimationEx(playerid,"BSKTBALL","BBALL_Dnk_Lnd",4.1,0,1,1,1,1); } else if(animationplayed == 11) { ApplyAnimationEx(playerid,"BSKTBALL","BBALL_Dnk_O",4.1,0,1,1,1,1); } else if(animationplayed == 12) { ApplyAnimationEx(playerid,"BSKTBALL","BBALL_idle",4.1,0,1,1,1,1); } else if(animationplayed == 13) { ApplyAnimationEx(playerid,"BSKTBALL","BBALL_idle2",4.1,0,1,1,1,1); } else if(animationplayed == 14) { ApplyAnimationEx(playerid,"BSKTBALL","BBALL_idle2_O",4.1,0,1,1,1,1); } else if(animationplayed == 15) { ApplyAnimationEx(playerid,"BSKTBALL","BBALL_idleloop",4.1,0,1,1,1,1); } else if(animationplayed == 16) { ApplyAnimationEx(playerid,"BSKTBALL","BBALL_idleloop_O",4.1,0,1,1,1,1); } else if(animationplayed == 17) { ApplyAnimationEx(playerid,"BSKTBALL","BBALL_idle_O",4.1,0,1,1,1,1); } else if(animationplayed == 18) { ApplyAnimationEx(playerid,"BSKTBALL","BBALL_Jump_Cancel",4.1,0,1,1,1,1); } else if(animationplayed == 19) { ApplyAnimationEx(playerid,"BSKTBALL","BBALL_Jump_Cancel_0",4.1,0,1,1,1,1); } else if(animationplayed == 20) { ApplyAnimationEx(playerid,"BSKTBALL","BBALL_Jump_End",4.1,0,1,1,1,1); } else if(animationplayed == 21) { ApplyAnimationEx(playerid,"BSKTBALL","BBALL_Jump_Shot",4.1,0,1,1,1,1); } else if(animationplayed == 22) { ApplyAnimationEx(playerid,"BSKTBALL","BBALL_Jump_Shot_O",4.1,0,1,1,1,1); } else if(animationplayed == 23) { ApplyAnimationEx(playerid,"BSKTBALL","BBALL_Net_Dnk_O",4.1,0,1,1,1,1); } else if(animationplayed == 24) { ApplyAnimationEx(playerid,"BSKTBALL","BBALL_pickup",4.1,0,1,1,1,1); } else if(animationplayed == 25) { ApplyAnimationEx(playerid,"BSKTBALL","BBALL_pickup_O",4.1,0,1,1,1,1); } else if(animationplayed == 26) { ApplyAnimationEx(playerid,"BSKTBALL","BBALL_react_miss",4.1,0,1,1,1,1); } else if(animationplayed == 27) { ApplyAnimationEx(playerid,"BSKTBALL","BBALL_react_score",4.1,0,1,1,1,1); } else if(animationplayed == 28) { ApplyAnimationEx(playerid,"BSKTBALL","BBALL_run",4.1,0,1,1,1,1); } else if(animationplayed == 29) { ApplyAnimationEx(playerid,"BSKTBALL","BBALL_run_O",4.1,0,1,1,1,1); } else if(animationplayed == 30) { ApplyAnimationEx(playerid,"BSKTBALL","BBALL_SkidStop_L",4.1,0,1,1,1,1); } else if(animationplayed == 31) { ApplyAnimationEx(playerid,"BSKTBALL","BBALL_SkidStop_L_O",4.1,0,1,1,1,1); } else if(animationplayed == 32) { ApplyAnimationEx(playerid,"BSKTBALL","BBALL_SkidStop_R",4.1,0,1,1,1,1); } else if(animationplayed == 33) { ApplyAnimationEx(playerid,"BSKTBALL","BBALL_SkidStop_R_O",4.1,0,1,1,1,1); } else if(animationplayed == 34) { ApplyAnimationEx(playerid,"BSKTBALL","BBALL_walk",4.1,0,1,1,1,1); } else if(animationplayed == 35) { ApplyAnimationEx(playerid,"BSKTBALL","BBALL_WalkStop_L",4.1,0,1,1,1,1); } else if(animationplayed == 36) { ApplyAnimationEx(playerid,"BSKTBALL","BBALL_WalkStop_L_O",4.1,0,1,1,1,1); } else if(animationplayed == 37) { ApplyAnimationEx(playerid,"BSKTBALL","BBALL_WalkStop_R",4.1,0,1,1,1,1); } else if(animationplayed == 38) { ApplyAnimationEx(playerid,"BSKTBALL","BBALL_WalkStop_R_O",4.1,0,1,1,1,1); } else if(animationplayed == 39) { ApplyAnimationEx(playerid,"BSKTBALL","BBALL_walk_O",4.1,0,1,1,1,1); } else if(animationplayed == 40) { ApplyAnimationEx(playerid,"BSKTBALL","BBALL_walk_start",4.1,0,1,1,1,1); } else if(animationplayed == 41) { ApplyAnimationEx(playerid,"BSKTBALL","BBALL_walk_start_O",4.1,0,1,1,1,1); } return 1; } CMD:animcamera(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animcamera [1-14]"); return 1; } if(animationplayed < 1 || animationplayed > 14) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animcamera [1-14]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"CAMERA","camcrch_cmon",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"CAMERA","camcrch_idleloop",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"CAMERA","camcrch_stay",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"CAMERA","camcrch_to_camstnd",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"CAMERA","camstnd_cmon",4.1,0,1,1,1,1); } else if(animationplayed == 6) { ApplyAnimationEx(playerid,"CAMERA","camstnd_idleloop",4.1,0,1,1,1,1); } else if(animationplayed == 7) { ApplyAnimationEx(playerid,"CAMERA","camstnd_lkabt",4.1,0,1,1,1,1); } else if(animationplayed == 8) { ApplyAnimationEx(playerid,"CAMERA","camstnd_to_camcrch",4.1,0,1,1,1,1); } else if(animationplayed == 9) { ApplyAnimationEx(playerid,"CAMERA","piccrch_in",4.1,0,1,1,1,1); } else if(animationplayed == 10) { ApplyAnimationEx(playerid,"CAMERA","piccrch_out",4.1,0,1,1,1,1); } else if(animationplayed == 11) { ApplyAnimationEx(playerid,"CAMERA","piccrch_take",4.1,0,1,1,1,1); } else if(animationplayed == 12) { ApplyAnimationEx(playerid,"CAMERA","picstnd_in",4.1,0,1,1,1,1); } else if(animationplayed == 13) { ApplyAnimationEx(playerid,"CAMERA","picstnd_out",4.1,0,1,1,1,1); } else if(animationplayed == 14) { ApplyAnimationEx(playerid,"CAMERA","picstnd_take",4.1,0,1,1,1,1); } return 1; } CMD:animgym(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animgym [1-24]"); return 1; } if(animationplayed < 1 || animationplayed > 24) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animgym [1-24]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"GYMNASIUM","GYMshadowbox",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"GYMNASIUM","gym_bike_celebrate",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"GYMNASIUM","gym_bike_fast",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"GYMNASIUM","gym_bike_faster",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"GYMNASIUM","gym_bike_getoff",4.1,0,1,1,1,1); } else if(animationplayed == 6) { ApplyAnimationEx(playerid,"GYMNASIUM","gym_bike_geton",4.1,0,1,1,1,1); } else if(animationplayed == 7) { ApplyAnimationEx(playerid,"GYMNASIUM","gym_bike_pedal",4.1,0,1,1,1,1); } else if(animationplayed == 8) { ApplyAnimationEx(playerid,"GYMNASIUM","gym_bike_slow",4.1,0,1,1,1,1); } else if(animationplayed == 9) { ApplyAnimationEx(playerid,"GYMNASIUM","gym_bike_still",4.1,0,1,1,1,1); } else if(animationplayed == 10) { ApplyAnimationEx(playerid,"GYMNASIUM","gym_jog_falloff",4.1,0,1,1,1,1); } else if(animationplayed == 11) { ApplyAnimationEx(playerid,"GYMNASIUM","gym_shadowbox",4.1,0,1,1,1,1); } else if(animationplayed == 12) { ApplyAnimationEx(playerid,"GYMNASIUM","gym_tread_celebrate",4.1,0,1,1,1,1); } else if(animationplayed == 13) { ApplyAnimationEx(playerid,"GYMNASIUM","gym_tread_falloff",4.1,0,1,1,1,1); } else if(animationplayed == 14) { ApplyAnimationEx(playerid,"GYMNASIUM","gym_tread_getoff",4.1,0,1,1,1,1); } else if(animationplayed == 15) { ApplyAnimationEx(playerid,"GYMNASIUM","gym_tread_geton",4.1,0,1,1,1,1); } else if(animationplayed == 16) { ApplyAnimationEx(playerid,"GYMNASIUM","gym_tread_jog",4.1,0,1,1,1,1); } else if(animationplayed == 17) { ApplyAnimationEx(playerid,"GYMNASIUM","gym_tread_sprint",4.1,0,1,1,1,1); } else if(animationplayed == 18) { ApplyAnimationEx(playerid,"GYMNASIUM","gym_tread_tired",4.1,0,1,1,1,1); } else if(animationplayed == 19) { ApplyAnimationEx(playerid,"GYMNASIUM","gym_tread_walk",4.1,0,1,1,1,1); } else if(animationplayed == 20) { ApplyAnimationEx(playerid,"GYMNASIUM","gym_walk_falloff",4.1,0,1,1,1,1); } else if(animationplayed == 21) { ApplyAnimationEx(playerid,"GYMNASIUM","Pedals_fast",4.1,0,1,1,1,1); } else if(animationplayed == 22) { ApplyAnimationEx(playerid,"GYMNASIUM","Pedals_med",4.1,0,1,1,1,1); } else if(animationplayed == 23) { ApplyAnimationEx(playerid,"GYMNASIUM","Pedals_slow",4.1,0,1,1,1,1); } else if(animationplayed == 24) { ApplyAnimationEx(playerid,"GYMNASIUM","Pedals_still",4.1,0,1,1,1,1); } return 1; } CMD:animpara(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animpara [1-22]"); return 1; } if(animationplayed < 1 || animationplayed > 22) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animpara [1-22]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"PARACHUTE","FALL_skyDive",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"PARACHUTE","FALL_SkyDive_Accel",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"PARACHUTE","FALL_skyDive_DIE",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"PARACHUTE","FALL_SkyDive_L",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"PARACHUTE","FALL_SkyDive_R",4.1,0,1,1,1,1); } else if(animationplayed == 6) { ApplyAnimationEx(playerid,"PARACHUTE","PARA_decel",4.1,0,1,1,1,1); } else if(animationplayed == 7) { ApplyAnimationEx(playerid,"PARACHUTE","PARA_decel_O",4.1,0,1,1,1,1); } else if(animationplayed == 8) { ApplyAnimationEx(playerid,"PARACHUTE","PARA_float",4.1,0,1,1,1,1); } else if(animationplayed == 9) { ApplyAnimationEx(playerid,"PARACHUTE","PARA_float_O",4.1,0,1,1,1,1); } else if(animationplayed == 10) { ApplyAnimationEx(playerid,"PARACHUTE","PARA_Land",4.1,0,1,1,1,1); } else if(animationplayed == 11) { ApplyAnimationEx(playerid,"PARACHUTE","PARA_Land_O",4.1,0,1,1,1,1); } else if(animationplayed == 12) { ApplyAnimationEx(playerid,"PARACHUTE","PARA_Land_Water",4.1,0,1,1,1,1); } else if(animationplayed == 13) { ApplyAnimationEx(playerid,"PARACHUTE","PARA_Land_Water_O",4.1,0,1,1,1,1); } else if(animationplayed == 14) { ApplyAnimationEx(playerid,"PARACHUTE","PARA_open",4.1,0,1,1,1,1); } else if(animationplayed == 15) { ApplyAnimationEx(playerid,"PARACHUTE","PARA_open_O",4.1,0,1,1,1,1); } else if(animationplayed == 16) { ApplyAnimationEx(playerid,"PARACHUTE","PARA_Rip_Land_O",4.1,0,1,1,1,1); } else if(animationplayed == 17) { ApplyAnimationEx(playerid,"PARACHUTE","PARA_Rip_Loop_O",4.1,0,1,1,1,1); } else if(animationplayed == 18) { ApplyAnimationEx(playerid,"PARACHUTE","PARA_Rip_O",4.1,0,1,1,1,1); } else if(animationplayed == 19) { ApplyAnimationEx(playerid,"PARACHUTE","PARA_steerL",4.1,0,1,1,1,1); } else if(animationplayed == 20) { ApplyAnimationEx(playerid,"PARACHUTE","PARA_steerL_O",4.1,0,1,1,1,1); } else if(animationplayed == 21) { ApplyAnimationEx(playerid,"PARACHUTE","PARA_steerR",4.1,0,1,1,1,1); } else if(animationplayed == 22) { ApplyAnimationEx(playerid,"PARACHUTE","PARA_steerR_O",4.1,0,1,1,1,1); } return 1; } CMD:animgangs(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animgangs [1-22]"); return 1; } if(animationplayed < 1 || animationplayed > 22) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animgangs [1-22]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"GANGS","DEALER_DEAL",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"GANGS","DEALER_IDLE",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"GANGS","drnkbr_prtl",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"GANGS","drnkbr_prtl_F",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"GANGS","DRUGS_BUY",4.1,0,1,1,1,1); } else if(animationplayed == 6) { ApplyAnimationEx(playerid,"GANGS","hndshkaa",4.1,0,1,1,1,1); } else if(animationplayed == 7) { ApplyAnimationEx(playerid,"GANGS","hndshkba",4.1,0,1,1,1,1); } else if(animationplayed == 8) { ApplyAnimationEx(playerid,"GANGS","hndshkca",4.1,0,1,1,1,1); } else if(animationplayed == 9) { ApplyAnimationEx(playerid,"GANGS","hndshkcb",4.1,0,1,1,1,1); } else if(animationplayed == 10) { ApplyAnimationEx(playerid,"GANGS","hndshkda",4.1,0,1,1,1,1); } else if(animationplayed == 11) { ApplyAnimationEx(playerid,"GANGS","hndshkea",4.1,0,1,1,1,1); } else if(animationplayed == 12) { ApplyAnimationEx(playerid,"GANGS","hndshkfa",4.1,0,1,1,1,1); } else if(animationplayed == 13) { ApplyAnimationEx(playerid,"GANGS","hndshkfa_swt",4.1,0,1,1,1,1); } else if(animationplayed == 14) { ApplyAnimationEx(playerid,"GANGS","Invite_No",4.1,0,1,1,1,1); } else if(animationplayed == 15) { ApplyAnimationEx(playerid,"GANGS","Invite_Yes",4.1,0,1,1,1,1); } else if(animationplayed == 16) { ApplyAnimationEx(playerid,"GANGS","leanIDLE",4.1,0,1,1,1,1); } else if(animationplayed == 17) { ApplyAnimationEx(playerid,"GANGS","leanIN",4.1,0,1,1,1,1); } else if(animationplayed == 18) { ApplyAnimationEx(playerid,"GANGS","leanOUT",4.1,0,1,1,1,1); } else if(animationplayed == 19) { ApplyAnimationEx(playerid,"GANGS","prtial_gngtlkA",4.1,0,1,1,1,1); } else if(animationplayed == 20) { ApplyAnimationEx(playerid,"GANGS","prtial_gngtlkB",4.1,0,1,1,1,1); } else if(animationplayed == 21) { ApplyAnimationEx(playerid,"GANGS","prtial_gngtlkCt",4.1,0,1,1,1,1); } else if(animationplayed == 22) { ApplyAnimationEx(playerid,"GANGS","prtial_gngtlkD",4.1,0,1,1,1,1); } else if(animationplayed == 23) { ApplyAnimationEx(playerid,"GANGS","prtial_gngtlkE",4.1,0,1,1,1,1); } else if(animationplayed == 24) { ApplyAnimationEx(playerid,"GANGS","prtial_gngtlkF",4.1,0,1,1,1,1); } else if(animationplayed == 25) { ApplyAnimationEx(playerid,"GANGS","prtial_gngtlkG",4.1,0,1,1,1,1); } else if(animationplayed == 26) { ApplyAnimationEx(playerid,"GANGS","prtial_gngtlkH",4.1,0,1,1,1,1); } else if(animationplayed == 27) { ApplyAnimationEx(playerid,"GANGS","prtial_hndshk_01",4.1,0,1,1,1,1); } else if(animationplayed == 28) { ApplyAnimationEx(playerid,"GANGS","prtial_hndshk_biz_01",4.1,0,1,1,1,1); } else if(animationplayed == 29) { ApplyAnimationEx(playerid,"GANGS","shake_cara",4.1,0,1,1,1,1); } else if(animationplayed == 30) { ApplyAnimationEx(playerid,"GANGS","shake_carK",4.1,0,1,1,1,1); } else if(animationplayed == 31) { ApplyAnimationEx(playerid,"GANGS","shake_carSH",4.1,0,1,1,1,1); } else if(animationplayed == 32) { ApplyAnimationEx(playerid,"GANGS","smkcig_prtl",4.1,0,1,1,1,1); } else if(animationplayed == 33) { ApplyAnimationEx(playerid,"GANGS","smkcig_prtl_F",4.1,0,1,1,1,1); } return 1; } CMD:animlowrider(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animlowrider [1-39]"); return 1; } if(animationplayed < 1 || animationplayed > 39) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animlowrider [1-39]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"LOWRIDER","F_smklean_loop",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"LOWRIDER","lrgirl_bdbnce",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"LOWRIDER","lrgirl_hair",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"LOWRIDER","lrgirl_hurry",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"LOWRIDER","lrgirl_idleloop",4.1,0,1,1,1,1); } else if(animationplayed == 6) { ApplyAnimationEx(playerid,"LOWRIDER","lrgirl_idle_to_l0",4.1,0,1,1,1,1); } else if(animationplayed == 7) { ApplyAnimationEx(playerid,"LOWRIDER","lrgirl_l0_bnce",4.1,0,1,1,1,1); } else if(animationplayed == 8) { ApplyAnimationEx(playerid,"LOWRIDER","lrgirl_l0_loop",4.1,0,1,1,1,1); } else if(animationplayed == 9) { ApplyAnimationEx(playerid,"LOWRIDER","lrgirl_l0_to_l1",4.1,0,1,1,1,1); } else if(animationplayed == 10) { ApplyAnimationEx(playerid,"LOWRIDER","lrgirl_l12_to_l0",4.1,0,1,1,1,1); } else if(animationplayed == 11) { ApplyAnimationEx(playerid,"LOWRIDER","lrgirl_l1_bnce",4.1,0,1,1,1,1); } else if(animationplayed == 12) { ApplyAnimationEx(playerid,"LOWRIDER","lrgirl_l1_loop",4.1,0,1,1,1,1); } else if(animationplayed == 13) { ApplyAnimationEx(playerid,"LOWRIDER","lrgirl_l1_to_l2",4.1,0,1,1,1,1); } else if(animationplayed == 14) { ApplyAnimationEx(playerid,"LOWRIDER","lrgirl_l2_bnce",4.1,0,1,1,1,1); } else if(animationplayed == 15) { ApplyAnimationEx(playerid,"LOWRIDER","lrgirl_l2_loop",4.1,0,1,1,1,1); } else if(animationplayed == 16) { ApplyAnimationEx(playerid,"LOWRIDER","lrgirl_l2_to_l3",4.1,0,1,1,1,1); } else if(animationplayed == 17) { ApplyAnimationEx(playerid,"LOWRIDER","lrgirl_l345_to_l1",4.1,0,1,1,1,1); } else if(animationplayed == 18) { ApplyAnimationEx(playerid,"LOWRIDER","lrgirl_l3_bnce",4.1,0,1,1,1,1); } else if(animationplayed == 19) { ApplyAnimationEx(playerid,"LOWRIDER","lrgirl_l3_loop",4.1,0,1,1,1,1); } else if(animationplayed == 20) { ApplyAnimationEx(playerid,"LOWRIDER","lrgirl_l3_to_l4",4.1,0,1,1,1,1); } else if(animationplayed == 21) { ApplyAnimationEx(playerid,"LOWRIDER","lrgirl_l4_bnce",4.1,0,1,1,1,1); } else if(animationplayed == 22) { ApplyAnimationEx(playerid,"LOWRIDER","lrgirl_l4_loop",4.1,0,1,1,1,1); } else if(animationplayed == 23) { ApplyAnimationEx(playerid,"LOWRIDER","lrgirl_l4_to_l5",4.1,0,1,1,1,1); } else if(animationplayed == 24) { ApplyAnimationEx(playerid,"LOWRIDER","lrgirl_l5_bnce",4.1,0,1,1,1,1); } else if(animationplayed == 25) { ApplyAnimationEx(playerid,"LOWRIDER","lrgirl_l5_loop",4.1,0,1,1,1,1); } else if(animationplayed == 26) { ApplyAnimationEx(playerid,"LOWRIDER","M_smklean_loop",4.1,0,1,1,1,1); } else if(animationplayed == 27) { ApplyAnimationEx(playerid,"LOWRIDER","M_smkstnd_loop",4.1,0,1,1,1,1); } else if(animationplayed == 28) { ApplyAnimationEx(playerid,"LOWRIDER","prtial_gngtlkB",4.1,0,1,1,1,1); } else if(animationplayed == 29) { ApplyAnimationEx(playerid,"LOWRIDER","prtial_gngtlkC",4.1,0,1,1,1,1); } else if(animationplayed == 30) { ApplyAnimationEx(playerid,"LOWRIDER","prtial_gngtlkD",4.1,0,1,1,1,1); } else if(animationplayed == 31) { ApplyAnimationEx(playerid,"LOWRIDER","prtial_gngtlkE",4.1,0,1,1,1,1); } else if(animationplayed == 32) { ApplyAnimationEx(playerid,"LOWRIDER","prtial_gngtlkF",4.1,0,1,1,1,1); } else if(animationplayed == 33) { ApplyAnimationEx(playerid,"LOWRIDER","prtial_gngtlkG",4.1,0,1,1,1,1); } else if(animationplayed == 34) { ApplyAnimationEx(playerid,"LOWRIDER","prtial_gngtlkH",4.1,0,1,1,1,1); } else if(animationplayed == 35) { ApplyAnimationEx(playerid,"LOWRIDER","RAP_A_Loop",4.1,0,1,1,1,1); } else if(animationplayed == 36) { ApplyAnimationEx(playerid,"LOWRIDER","RAP_B_Loop",4.1,0,1,1,1,1); } else if(animationplayed == 37) { ApplyAnimationEx(playerid,"LOWRIDER","RAP_C_Loop",4.1,0,1,1,1,1); } else if(animationplayed == 38) { ApplyAnimationEx(playerid,"LOWRIDER","Sit_relaxed",4.1,0,1,1,1,1); } else if(animationplayed == 39) { ApplyAnimationEx(playerid,"LOWRIDER","Tap_hand",4.1,0,1,1,1,1); } return 1; } CMD:animlookers(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animlookers [1-25]"); return 1; } if(animationplayed < 1 || animationplayed > 29) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animlookers [1-25]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"ON_LOOKERS","lkaround_in",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"ON_LOOKERS","lkaround_loop",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"ON_LOOKERS","lkaround_out",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"ON_LOOKERS","lkup_in",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"ON_LOOKERS","lkup_loop",4.1,0,1,1,1,1); } else if(animationplayed == 6) { ApplyAnimationEx(playerid,"ON_LOOKERS","lkup_out",4.1,0,1,1,1,1); } else if(animationplayed == 7) { ApplyAnimationEx(playerid,"ON_LOOKERS","lkup_point",4.1,0,1,1,1,1); } else if(animationplayed == 8) { ApplyAnimationEx(playerid,"ON_LOOKERS","panic_cower",4.1,0,1,1,1,1); } else if(animationplayed == 9) { ApplyAnimationEx(playerid,"ON_LOOKERS","panic_hide",4.1,0,1,1,1,1); } else if(animationplayed == 10) { ApplyAnimationEx(playerid,"ON_LOOKERS","panic_in",4.1,0,1,1,1,1); } else if(animationplayed == 11) { ApplyAnimationEx(playerid,"ON_LOOKERS","panic_loop",4.1,0,1,1,1,1); } else if(animationplayed == 12) { ApplyAnimationEx(playerid,"ON_LOOKERS","panic_out",4.1,0,1,1,1,1); } else if(animationplayed == 13) { ApplyAnimationEx(playerid,"ON_LOOKERS","panic_point",4.1,0,1,1,1,1); } else if(animationplayed == 14) { ApplyAnimationEx(playerid,"ON_LOOKERS","panic_shout",4.1,0,1,1,1,1); } else if(animationplayed == 15) { ApplyAnimationEx(playerid,"ON_LOOKERS","Pointup_in",4.1,0,1,1,1,1); } else if(animationplayed == 16) { ApplyAnimationEx(playerid,"ON_LOOKERS","Pointup_loop",4.1,0,1,1,1,1); } else if(animationplayed == 17) { ApplyAnimationEx(playerid,"ON_LOOKERS","Pointup_out",4.1,0,1,1,1,1); } else if(animationplayed == 18) { ApplyAnimationEx(playerid,"ON_LOOKERS","Pointup_shout",4.1,0,1,1,1,1); } else if(animationplayed == 19) { ApplyAnimationEx(playerid,"ON_LOOKERS","point_in",4.1,0,1,1,1,1); } else if(animationplayed == 20) { ApplyAnimationEx(playerid,"ON_LOOKERS","point_loop",4.1,0,1,1,1,1); } else if(animationplayed == 21) { ApplyAnimationEx(playerid,"ON_LOOKERS","point_out",4.1,0,1,1,1,1); } else if(animationplayed == 22) { ApplyAnimationEx(playerid,"ON_LOOKERS","shout_01",4.1,0,1,1,1,1); } else if(animationplayed == 23) { ApplyAnimationEx(playerid,"ON_LOOKERS","shout_02",4.1,0,1,1,1,1); } else if(animationplayed == 24) { ApplyAnimationEx(playerid,"ON_LOOKERS","shout_in",4.1,0,1,1,1,1); } else if(animationplayed == 25) { ApplyAnimationEx(playerid,"ON_LOOKERS","shout_loop",4.1,0,1,1,1,1); } else if(animationplayed == 26) { ApplyAnimationEx(playerid,"ON_LOOKERS","shout_out",4.1,0,1,1,1,1); } else if(animationplayed == 27) { ApplyAnimationEx(playerid,"ON_LOOKERS","wave_in",4.1,0,1,1,1,1); } else if(animationplayed == 28) { ApplyAnimationEx(playerid,"ON_LOOKERS","wave_loop",4.1,0,1,1,1,1); } else if(animationplayed == 25) { ApplyAnimationEx(playerid,"ON_LOOKERS","wave_out",4.1,0,1,1,1,1); } return 1; } CMD:animcarchat(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animcarchat [1-20]"); return 1; } if(animationplayed < 1 || animationplayed > 20) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animcarchat [1-20]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"CAR_CHAT","carfone_in",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"CAR_CHAT","carfone_loopA",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"CAR_CHAT","carfone_loopA_to_B",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"CAR_CHAT","carfone_loopB",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"CAR_CHAT","carfone_loopB_to_A",4.1,0,1,1,1,1); } else if(animationplayed == 6) { ApplyAnimationEx(playerid,"CAR_CHAT","carfone_out",4.1,0,1,1,1,1); } else if(animationplayed == 7) { ApplyAnimationEx(playerid,"CAR_CHAT","CAR_Sc1_BR",4.1,0,1,1,1,1); } else if(animationplayed == 8) { ApplyAnimationEx(playerid,"CAR_CHAT","CAR_Sc1_FL",4.1,0,1,1,1,1); } else if(animationplayed == 9) { ApplyAnimationEx(playerid,"CAR_CHAT","CAR_Sc1_FR",4.1,0,1,1,1,1); } else if(animationplayed == 10) { ApplyAnimationEx(playerid,"CAR_CHAT","CAR_Sc2_FL",4.1,0,1,1,1,1); } else if(animationplayed == 11) { ApplyAnimationEx(playerid,"CAR_CHAT","CAR_Sc3_BR",4.1,0,1,1,1,1); } else if(animationplayed == 12) { ApplyAnimationEx(playerid,"CAR_CHAT","CAR_Sc3_FL",4.1,0,1,1,1,1); } else if(animationplayed == 13) { ApplyAnimationEx(playerid,"CAR_CHAT","CAR_Sc3_FR",4.1,0,1,1,1,1); } else if(animationplayed == 14) { ApplyAnimationEx(playerid,"CAR_CHAT","CAR_Sc4_BL",4.1,0,1,1,1,1); } else if(animationplayed == 15) { ApplyAnimationEx(playerid,"CAR_CHAT","CAR_Sc4_BR",4.1,0,1,1,1,1); } else if(animationplayed == 16) { ApplyAnimationEx(playerid,"CAR_CHAT","CAR_Sc4_FL",4.1,0,1,1,1,1); } else if(animationplayed == 17) { ApplyAnimationEx(playerid,"CAR_CHAT","CAR_Sc4_FR",4.1,0,1,1,1,1); } else if(animationplayed == 18) { ApplyAnimationEx(playerid,"CAR_CHAT","car_talkm_in",4.1,0,1,1,1,1); } else if(animationplayed == 19) { ApplyAnimationEx(playerid,"CAR_CHAT","car_talkm_loop",4.1,0,1,1,1,1); } else if(animationplayed == 20) { ApplyAnimationEx(playerid,"CAR_CHAT","car_talkm_out",4.1,0,1,1,1,1); } return 1; } CMD:animcasino(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animcasino [1-23]"); return 1; } if(animationplayed < 1 || animationplayed > 23) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animcasino [1-23]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"CASINO","cards_in",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"CASINO","cards_loop",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"CASINO","cards_lose",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"CASINO","cards_out",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"CASINO","cards_pick_01",4.1,0,1,1,1,1); } else if(animationplayed == 6) { ApplyAnimationEx(playerid,"CASINO","cards_pick_02",4.1,0,1,1,1,1); } else if(animationplayed == 7) { ApplyAnimationEx(playerid,"CASINO","cards_raise",4.1,0,1,1,1,1); } else if(animationplayed == 8) { ApplyAnimationEx(playerid,"CASINO","cards_win",4.1,0,1,1,1,1); } else if(animationplayed == 9) { ApplyAnimationEx(playerid,"CASINO","manwinb",4.1,0,1,1,1,1); } else if(animationplayed == 10) { ApplyAnimationEx(playerid,"CASINO","manwind",4.1,0,1,1,1,1); } else if(animationplayed == 11) { ApplyAnimationEx(playerid,"CASINO","Roulette_bet",4.1,0,1,1,1,1); } else if(animationplayed == 12) { ApplyAnimationEx(playerid,"CASINO","Roulette_in",4.1,0,1,1,1,1); } else if(animationplayed == 13) { ApplyAnimationEx(playerid,"CASINO","Roulette_loop",4.1,0,1,1,1,1); } else if(animationplayed == 14) { ApplyAnimationEx(playerid,"CASINO","Roulette_lose",4.1,0,1,1,1,1); } else if(animationplayed == 15) { ApplyAnimationEx(playerid,"CASINO","Roulette_out",4.1,0,1,1,1,1); } else if(animationplayed == 16) { ApplyAnimationEx(playerid,"CASINO","Roulette_win",4.1,0,1,1,1,1); } else if(animationplayed == 17) { ApplyAnimationEx(playerid,"CASINO","Slot_bet_02",4.1,0,1,1,1,1); } else if(animationplayed == 18) { ApplyAnimationEx(playerid,"CASINO","Slot_in",4.1,0,1,1,1,1); } else if(animationplayed == 19) { ApplyAnimationEx(playerid,"CASINO","Slot_lose_out",4.1,0,1,1,1,1); } else if(animationplayed == 20) { ApplyAnimationEx(playerid,"CASINO","Slot_Plyr",4.1,0,1,1,1,1); } else if(animationplayed == 21) { ApplyAnimationEx(playerid,"CASINO","Slot_wait",4.1,0,1,1,1,1); } else if(animationplayed == 22) { ApplyAnimationEx(playerid,"CASINO","Slot_win_out",4.1,0,1,1,1,1); } else if(animationplayed == 23) { ApplyAnimationEx(playerid,"CASINO","wof",4.1,0,1,1,1,1); } return 1; } CMD:animbuddy(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animbuddy [1-5]"); return 1; } if(animationplayed < 1 || animationplayed > 5) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animbuddy [1-5]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"BUDDY","buddy_crouchfire",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"BUDDY","buddy_crouchreload",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"BUDDY","buddy_fire",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"BUDDY","buddy_fire_poor",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"BUDDY","buddy_reload",4.1,0,1,1,1,1); } return 1; } CMD:animbus(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animbus [1-9]"); return 1; } if(animationplayed < 1 || animationplayed > 9) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animbus [1-9]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"BUS","BUS_close",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"BUS","BUS_getin_LHS",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"BUS","BUS_getin_RHS",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"BUS","BUS_getout_LHS",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"BUS","BUS_getout_RHS",4.1,0,1,1,1,1); } else if(animationplayed == 6) { ApplyAnimationEx(playerid,"BUS","BUS_jacked_LHS",4.1,0,1,1,1,1); } else if(animationplayed == 7) { ApplyAnimationEx(playerid,"BUS","BUS_open",4.1,0,1,1,1,1); } else if(animationplayed == 8) { ApplyAnimationEx(playerid,"BUS","BUS_open_RHS",4.1,0,1,1,1,1); } else if(animationplayed == 9) { ApplyAnimationEx(playerid,"BUS","BUS_pullout_LHS",4.1,0,1,1,1,1); } return 1; } CMD:animcar(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animcar [1-11]"); return 1; } if(animationplayed < 1 || animationplayed > 11) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animcar [1-11]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"CAR","Fixn_Car_Loop",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"CAR","Fixn_Car_Out",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"CAR","flag_drop",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"CAR","Sit_relaxed",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"CAR","Tap_hand",4.1,0,1,1,1,1); } else if(animationplayed == 6) { ApplyAnimationEx(playerid,"CAR","Tyd2car_bump",4.1,0,1,1,1,1); } else if(animationplayed == 7) { ApplyAnimationEx(playerid,"CAR","Tyd2car_high",4.1,0,1,1,1,1); } else if(animationplayed == 8) { ApplyAnimationEx(playerid,"CAR","Tyd2car_low",4.1,0,1,1,1,1); } else if(animationplayed == 9) { ApplyAnimationEx(playerid,"CAR","Tyd2car_med",4.1,0,1,1,1,1); } else if(animationplayed == 10) { ApplyAnimationEx(playerid,"CAR","Tyd2car_TurnL",4.1,0,1,1,1,1); } else if(animationplayed == 11) { ApplyAnimationEx(playerid,"CAR","Tyd2car_TurnR",4.1,0,1,1,1,1); } return 1; } CMD:animcarry(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animcarry [1-7]"); return 1; } if(animationplayed < 1 || animationplayed > 7) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animcarry [1-7]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"CARRY","crry_prtial",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"CARRY","liftup",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"CARRY","liftup05",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"CARRY","liftup105",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"CARRY","putdwn",4.1,0,1,1,1,1); } else if(animationplayed == 6) { ApplyAnimationEx(playerid,"CARRY","putdwn05",4.1,0,1,1,1,1); } else if(animationplayed == 7) { ApplyAnimationEx(playerid,"CARRY","putdwn105",4.1,0,1,1,1,1); } return 1; } CMD:animintshop(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animintshop [1-8]"); return 1; } if(animationplayed < 1 || animationplayed > 8) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animintshop [1-8]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"INT_SHOP","shop_cashier",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"INT_SHOP","shop_in",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"INT_SHOP","shop_lookA",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"INT_SHOP","shop_lookB",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"INT_SHOP","shop_loop",4.1,0,1,1,1,1); } else if(animationplayed == 6) { ApplyAnimationEx(playerid,"INT_SHOP","shop_out",4.1,0,1,1,1,1); } else if(animationplayed == 7) { ApplyAnimationEx(playerid,"INT_SHOP","shop_pay",4.1,0,1,1,1,1); } else if(animationplayed == 8) { ApplyAnimationEx(playerid,"INT_SHOP","shop_shelf",4.1,0,1,1,1,1); } return 1; } CMD:animjst(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animjst [1-4]"); return 1; } if(animationplayed < 1 || animationplayed > 4) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animjst [1-4]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"JST_BUISNESS","girl_01",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"JST_BUISNESS","girl_02",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"JST_BUISNESS","player_01",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"JST_BUISNESS","smoke_01",4.1,0,1,1,1,1); } return 1; } CMD:animkart(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animkart [1-4]"); return 1; } if(animationplayed < 1 || animationplayed > 4) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animkart [1-4]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"KART","KART_getin_LHS",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"KART","KART_getin_RHS",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"KART","KART_getout_LHS",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"KART","KART_getout_RHS",4.1,0,1,1,1,1); } return 1; } CMD:animkissing(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animkissing [1-14]"); return 1; } if(animationplayed < 1 || animationplayed > 14) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animkissing [1-14]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"KISSING","BD_GF_Wave",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"KISSING","gfwave2",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"KISSING","GF_CarArgue_01",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"KISSING","GF_CarArgue_02",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"KISSING","GF_CarSpot",4.1,0,1,1,1,1); } else if(animationplayed == 6) { ApplyAnimationEx(playerid,"KISSING","GF_StreetArgue_01",4.1,0,1,1,1,1); } else if(animationplayed == 7) { ApplyAnimationEx(playerid,"KISSING","GF_StreetArgue_02",4.1,0,1,1,1,1); } else if(animationplayed == 8) { ApplyAnimationEx(playerid,"KISSING","gift_give",4.1,0,1,1,1,1); } else if(animationplayed == 9) { ApplyAnimationEx(playerid,"KISSING","Grlfrd_Kiss_01",4.1,0,1,1,1,1); } else if(animationplayed == 10) { ApplyAnimationEx(playerid,"KISSING","Grlfrd_Kiss_02",4.1,0,1,1,1,1); } else if(animationplayed == 11) { ApplyAnimationEx(playerid,"KISSING","Grlfrd_Kiss_03",4.1,0,1,1,1,1); } else if(animationplayed == 12) { ApplyAnimationEx(playerid,"KISSING","Playa_Kiss_01",4.1,0,1,1,1,1); } else if(animationplayed == 13) { ApplyAnimationEx(playerid,"KISSING","Playa_Kiss_02",4.1,0,1,1,1,1); } else if(animationplayed == 14) { ApplyAnimationEx(playerid,"KISSING","Playa_Kiss_03",4.1,0,1,1,1,1); } return 1; } CMD:animknife(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animknife [1-14]"); return 1; } if(animationplayed < 1 || animationplayed > 14) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animknife [1-14]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"KNIFE","KILL_Knife_Ped_Damage",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"KNIFE","KILL_Knife_Ped_Die",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"KNIFE","KILL_Knife_Player",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"KNIFE","KILL_Partial",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"KNIFE","knife_2",4.1,0,1,1,1,1); } else if(animationplayed == 6) { ApplyAnimationEx(playerid,"KNIFE","knife_3",4.1,0,1,1,1,1); } else if(animationplayed == 7) { ApplyAnimationEx(playerid,"KNIFE","knife_4",4.1,0,1,1,1,1); } else if(animationplayed == 8) { ApplyAnimationEx(playerid,"KNIFE","Knife_G",4.1,0,1,1,1,1); } else if(animationplayed == 9) { ApplyAnimationEx(playerid,"KNIFE","knife_hit_1",4.1,0,1,1,1,1); } else if(animationplayed == 10) { ApplyAnimationEx(playerid,"KNIFE","knife_hit_2",4.1,0,1,1,1,1); } else if(animationplayed == 11) { ApplyAnimationEx(playerid,"KNIFE","knife_IDLE",4.1,0,1,1,1,1); } else if(animationplayed == 12) { ApplyAnimationEx(playerid,"KNIFE","knife_hit_3",4.1,0,1,1,1,1); } else if(animationplayed == 13) { ApplyAnimationEx(playerid,"KNIFE","knife_part",4.1,0,1,1,1,1); } else if(animationplayed == 14) { ApplyAnimationEx(playerid,"KNIFE","WEAPON_knifeidle",4.1,0,1,1,1,1); } return 1; } CMD:animlapdan(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animlapdan [1-6]"); return 1; } if(animationplayed < 1 || animationplayed > 6) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animlapdan [1-6]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"LAPDAN1","LAPDAN_D",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"LAPDAN1","LAPDAN_P",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"LAPDAN2","LAPDAN_D",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"LAPDAN2","LAPDAN_P",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"LAPDAN3","LAPDAN_D",4.1,0,1,1,1,1); } else if(animationplayed == 6) { ApplyAnimationEx(playerid,"LAPDAN3","LAPDAN_P",4.1,0,1,1,1,1); } return 1; } CMD:animdend(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animdend [1-8]"); return 1; } if(animationplayed < 1 || animationplayed > 8) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animdend [1-8]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"MD_END","END_SC1_PLY",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"MD_END","END_SC1_RYD",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"MD_END","END_SC1_SMO",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"MD_END","END_SC1_SWE",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"MD_END","END_SC2_PLY",4.1,0,1,1,1,1); } else if(animationplayed == 6) { ApplyAnimationEx(playerid,"MD_END","END_SC2_RYD",4.1,0,1,1,1,1); } else if(animationplayed == 7) { ApplyAnimationEx(playerid,"MD_END","END_SC2_SMO",4.1,0,1,1,1,1); } else if(animationplayed == 8) { ApplyAnimationEx(playerid,"MD_END","END_SC2_SWE",4.1,0,1,1,1,1); } return 1; } CMD:animmedic(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animmedic [1]"); return 1; } if(animationplayed < 1 || animationplayed > 1) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animmedic [1]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"MEDIC","CPR",4.1,0,1,1,1,1,1); } return 1; } CMD:animmtb(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animmtb [1-18]"); return 1; } if(animationplayed < 1 || animationplayed > 18) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animmtb [1-18]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"MTB","MTB_back",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"MTB","MTB_bunnyhop",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"MTB","MTB_drivebyFT",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"MTB","MTB_driveby_LHS",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"MTB","MTB_driveby_RHS",4.1,0,1,1,1,1); } else if(animationplayed == 6) { ApplyAnimationEx(playerid,"MTB","MTB_fwd",4.1,0,1,1,1,1); } else if(animationplayed == 7) { ApplyAnimationEx(playerid,"MTB","MTB_getoffBACK",4.1,0,1,1,1,1); } else if(animationplayed == 8) { ApplyAnimationEx(playerid,"MTB","MTB_pushes",4.1,0,1,1,1,1); } else if(animationplayed == 9) { ApplyAnimationEx(playerid,"MTB","MTB_getoffLHS",4.1,0,1,1,1,1); } else if(animationplayed == 10) { ApplyAnimationEx(playerid,"MTB","MTB_getoffRHS",4.1,0,1,1,1,1); } else if(animationplayed == 11) { ApplyAnimationEx(playerid,"MTB","MTB_jumponL",4.1,0,1,1,1,1); } else if(animationplayed == 12) { ApplyAnimationEx(playerid,"MTB","MTB_jumponR",4.1,0,1,1,1,1); } else if(animationplayed == 13) { ApplyAnimationEx(playerid,"MTB","MTB_Left",4.1,0,1,1,1,1); } else if(animationplayed == 14) { ApplyAnimationEx(playerid,"MTB","MTB_pedal",4.1,0,1,1,1,1); } else if(animationplayed == 15) { ApplyAnimationEx(playerid,"MTB","MTB_Ride",4.1,0,1,1,1,1); } else if(animationplayed == 16) { ApplyAnimationEx(playerid,"MTB","MTB_Right",4.1,0,1,1,1,1); } else if(animationplayed == 17) { ApplyAnimationEx(playerid,"MTB","MTB_sprint",4.1,0,1,1,1,1); } else if(animationplayed == 18) { ApplyAnimationEx(playerid,"MTB","MTB_still",4.1,0,1,1,1,1); } return 1; } CMD:animmusc(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animmusc [1-17]"); return 1; } if(animationplayed < 1 || animationplayed > 17) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animmusc [1-17]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"MUSCULAR","MscleWalkst_armed",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"MUSCULAR","MscleWalkst_Csaw",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"MUSCULAR","Mscle_rckt_run",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"MUSCULAR","Mscle_rckt_walkst",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"MUSCULAR","Mscle_run_Csaw",4.1,0,1,1,1,1); } else if(animationplayed == 6) { ApplyAnimationEx(playerid,"MUSCULAR","MuscleIdle",4.1,0,1,1,1,1); } else if(animationplayed == 7) { ApplyAnimationEx(playerid,"MUSCULAR","MuscleIdle_armed",4.1,0,1,1,1,1); } else if(animationplayed == 8) { ApplyAnimationEx(playerid,"MUSCULAR","MuscleIdle_Csaw",4.1,0,1,1,1,1); } else if(animationplayed == 9) { ApplyAnimationEx(playerid,"MUSCULAR","MuscleIdle_rocket",4.1,0,1,1,1,1); } else if(animationplayed == 10) { ApplyAnimationEx(playerid,"MUSCULAR","MuscleRun",4.1,0,1,1,1,1); } else if(animationplayed == 11) { ApplyAnimationEx(playerid,"MUSCULAR","MuscleRun_armed",4.1,0,1,1,1,1); } else if(animationplayed == 12) { ApplyAnimationEx(playerid,"MUSCULAR","MuscleSprint",4.1,0,1,1,1,1); } else if(animationplayed == 13) { ApplyAnimationEx(playerid,"MUSCULAR","MuscleWalk",4.1,0,1,1,1,1); } else if(animationplayed == 14) { ApplyAnimationEx(playerid,"MUSCULAR","MuscleWalkstart",4.1,0,1,1,1,1); } else if(animationplayed == 15) { ApplyAnimationEx(playerid,"MUSCULAR","MuscleWalk_armed",4.1,0,1,1,1,1); } else if(animationplayed == 16) { ApplyAnimationEx(playerid,"MUSCULAR","Musclewalk_Csaw",4.1,0,1,1,1,1); } else if(animationplayed == 17) { ApplyAnimationEx(playerid,"MUSCULAR","Musclewalk_rocket",4.1,0,1,1,1,1); } return 1; } CMD:animotb(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animotb [1-11]"); return 1; } if(animationplayed < 1 || animationplayed > 11) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animotb [1-11]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"OTB","betslp_in",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"OTB","betslp_lkabt",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"OTB","betslp_loop",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"OTB","betslp_out",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"OTB","betslp_tnk",4.1,0,1,1,1,1); } else if(animationplayed == 6) { ApplyAnimationEx(playerid,"OTB","wtchrace_cmon",4.1,0,1,1,1,1); } else if(animationplayed == 7) { ApplyAnimationEx(playerid,"OTB","wtchrace_in",4.1,0,1,1,1,1); } else if(animationplayed == 8) { ApplyAnimationEx(playerid,"OTB","wtchrace_loop",4.1,0,1,1,1,1); } else if(animationplayed == 9) { ApplyAnimationEx(playerid,"OTB","wtchrace_lose",4.1,0,1,1,1,1); } else if(animationplayed == 10) { ApplyAnimationEx(playerid,"OTB","wtchrace_out",4.1,0,1,1,1,1); } else if(animationplayed == 11) { ApplyAnimationEx(playerid,"OTB","wtchrace_win",4.1,0,1,1,1,1); } return 1; } CMD:animnevada(playerid, params[]) { if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animnevada [1-2]"); return 1; } if(animationplayed < 1 || animationplayed > 2) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animnevada [1-2]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"NEVADA","NEVADA_getin",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"NEVADA","NEVADA_getout",4.1,0,1,1,1,1); } return 1; } return true; } CMD:animpark(playerid, params[]) { if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animpark [1-3]"); return 1; } if(animationplayed < 1 || animationplayed > 3) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animpark [1-3]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"PARK","Tai_Chi_in",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"PARK","Tai_Chi_Loop",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"PARK","Tai_Chi_Out",4.1,0,1,1,1,1); } return 1; } return true; } CMD:animpaulnmac(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animpaulnmac [1-12]"); return 1; } if(animationplayed < 1 || animationplayed > 12) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animpaulnmac [1-12]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"PAULNMAC","Piss_in",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"PAULNMAC","Piss_loop",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"PAULNMAC","Piss_out",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"PAULNMAC","PnM_Argue1_A",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"PAULNMAC","PnM_Argue1_B",4.1,0,1,1,1,1); } else if(animationplayed == 6) { ApplyAnimationEx(playerid,"PAULNMAC","PnM_Argue2_A",4.1,0,1,1,1,1); } else if(animationplayed == 7) { ApplyAnimationEx(playerid,"PAULNMAC","PnM_Argue2_B",4.1,0,1,1,1,1); } else if(animationplayed == 8) { ApplyAnimationEx(playerid,"PAULNMAC","PnM_Loop_A",4.1,0,1,1,1,1); } else if(animationplayed == 9) { ApplyAnimationEx(playerid,"PAULNMAC","PnM_Loop_B",4.1,0,1,1,1,1); } else if(animationplayed == 10) { ApplyAnimationEx(playerid,"PAULNMAC","wank_in",4.1,0,1,1,1,1); } else if(animationplayed == 11) { ApplyAnimationEx(playerid,"PAULNMAC","wank_loop",4.1,0,1,1,1,1); } else if(animationplayed == 12) { ApplyAnimationEx(playerid,"PAULNMAC","wank_out",4.1,0,1,1,1,1); } return 1; } CMD:animsaw(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animsaw [1-10]"); return 1; } if(animationplayed < 1 || animationplayed > 12) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animsaw [1-10]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"CHAINSAW","CSAW_1",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"CHAINSAW","CSAW_2",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"CHAINSAW","CSAW_3",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"CHAINSAW","CSAW_G",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"CHAINSAW","CSAW_Hit_1",4.1,0,1,1,1,1); } else if(animationplayed == 6) { ApplyAnimationEx(playerid,"CHAINSAW","CSAW_Hit_2",4.1,0,1,1,1,1); } else if(animationplayed == 7) { ApplyAnimationEx(playerid,"CHAINSAW","CSAW_Hit_3",4.1,0,1,1,1,1); } else if(animationplayed == 8) { ApplyAnimationEx(playerid,"CHAINSAW","IDLE_csaw",4.1,0,1,1,1,1); } else if(animationplayed == 9) { ApplyAnimationEx(playerid,"CHAINSAW","WEAPON_csaw",4.1,0,1,1,1,1); } else if(animationplayed == 10) { ApplyAnimationEx(playerid,"CHAINSAW","WEAPON_csawlo",4.1,0,1,1,1,1); } return 1; } CMD:animchoppa(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animchoppa [1-18]"); return 1; } if(animationplayed < 1 || animationplayed > 18) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animchoppa [1-18]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"CHOPPA","CHOPPA_back",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"CHOPPA","CHOPPA_bunnyhop",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"CHOPPA","CHOPPA_drivebyFT",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"CHOPPA","CHOPPA_driveby_LHS",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"CHOPPA","CHOPPA_driveby_RHS",4.1,0,1,1,1,1); } else if(animationplayed == 6) { ApplyAnimationEx(playerid,"CHOPPA","CHOPPA_fwd",4.1,0,1,1,1,1); } else if(animationplayed == 7) { ApplyAnimationEx(playerid,"CHOPPA","CHOPPA_getoffBACK",4.1,0,1,1,1,1); } else if(animationplayed == 8) { ApplyAnimationEx(playerid,"CHOPPA","CHOPPA_getoffLHS",4.1,0,1,1,1,1); } else if(animationplayed == 9) { ApplyAnimationEx(playerid,"CHOPPA","CHOPPA_getoffRHS",4.1,0,1,1,1,1); } else if(animationplayed == 10) { ApplyAnimationEx(playerid,"CHOPPA","CHOPPA_jumponL",4.1,0,1,1,1,1); } else if(animationplayed == 11) { ApplyAnimationEx(playerid,"CHOPPA","CHOPPA_jumponR",4.1,0,1,1,1,1); } else if(animationplayed == 12) { ApplyAnimationEx(playerid,"CHOPPA","CHOPPA_Left",4.1,0,1,1,1,1); } else if(animationplayed == 13) { ApplyAnimationEx(playerid,"CHOPPA","CHOPPA_pedal",4.1,0,1,1,1,1); } else if(animationplayed == 14) { ApplyAnimationEx(playerid,"CHOPPA","CHOPPA_Pushes",4.1,0,1,1,1,1); } else if(animationplayed == 15) { ApplyAnimationEx(playerid,"CHOPPA","CHOPPA_ride",4.1,0,1,1,1,1); } else if(animationplayed == 16) { ApplyAnimationEx(playerid,"CHOPPA","CHOPPA_Right",4.1,0,1,1,1,1); } else if(animationplayed == 17) { ApplyAnimationEx(playerid,"CHOPPA","CHOPPA_sprint",4.1,0,1,1,1,1); } else if(animationplayed == 18) { ApplyAnimationEx(playerid,"CHOPPA","CHOPPA_Still",4.1,0,1,1,1,1); } return 1; } CMD:animclothes(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animclothes [1-13]"); return 1; } if(animationplayed < 1 || animationplayed > 13) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animclothes [1-13]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"CLOTHES","CLO_Buy",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"CLOTHES","CLO_In",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"CLOTHES","CLO_Out",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"CLOTHES","CLO_Pose_Hat",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"CLOTHES","CLO_Pose_In",4.1,0,1,1,1,1); } else if(animationplayed == 6) { ApplyAnimationEx(playerid,"CLOTHES","CLO_Pose_In_O",4.1,0,1,1,1,1); } else if(animationplayed == 7) { ApplyAnimationEx(playerid,"CLOTHES","CLO_Pose_Legs",4.1,0,1,1,1,1); } else if(animationplayed == 8) { ApplyAnimationEx(playerid,"CLOTHES","CLO_Pose_Loop",4.1,0,1,1,1,1); } else if(animationplayed == 9) { ApplyAnimationEx(playerid,"CLOTHES","CLO_Pose_Out",4.1,0,1,1,1,1); } else if(animationplayed == 10) { ApplyAnimationEx(playerid,"CLOTHES","CLO_Pose_Out_O",4.1,0,1,1,1,1); } else if(animationplayed == 11) { ApplyAnimationEx(playerid,"CLOTHES","CLO_Pose_Shoes",4.1,0,1,1,1,1); } else if(animationplayed == 12) { ApplyAnimationEx(playerid,"CLOTHES","CLO_Pose_Torso",4.1,0,1,1,1,1); } else if(animationplayed == 13) { ApplyAnimationEx(playerid,"CLOTHES","CLO_Pose_Watch",4.1,0,1,1,1,1); } return 1; } CMD:animcoach(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animcoach [1-6]"); return 1; } if(animationplayed < 1 || animationplayed > 6) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animcoach [1-6]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"COACH","COACH_inL",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"COACH","COACH_inR",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"COACH","COACH_opnL",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"COACH","COACH_opnR",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"COACH","COACH_outL",4.1,0,1,1,1,1); } else if(animationplayed == 6) { ApplyAnimationEx(playerid,"COACH","COACH_outR",4.1,0,1,1,1,1); } return 1; } CMD:animcolt(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animcolt [1-7]"); return 1; } if(animationplayed < 1 || animationplayed > 7) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animcolt [1-7]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"COLT45","2guns_crouchfire",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"COLT45","colt45_crouchfire",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"COLT45","colt45_crouchreload",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"COLT45","colt45_fire",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"COLT45","colt45_fire_2hands",4.1,0,1,1,1,1); } else if(animationplayed == 6) { ApplyAnimationEx(playerid,"COLT45","colt45_reload",4.1,0,1,1,1,1); } else if(animationplayed == 7) { ApplyAnimationEx(playerid,"COLT45","sawnoff_reload",4.1,0,1,1,1,1); } return 1; } CMD:animcopa(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animcopa [1-12]"); return 1; } if(animationplayed < 1 || animationplayed > 12) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animcopa[1-12]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"COP_AMBIENT","Copbrowse_in",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"COP_AMBIENT","Copbrowse_loop",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"COP_AMBIENT","Copbrowse_nod",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"COP_AMBIENT","Copbrowse_out",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"COP_AMBIENT","Copbrowse_shake",4.1,0,1,1,1,1); } else if(animationplayed == 6) { ApplyAnimationEx(playerid,"COP_AMBIENT","Coplook_in",4.1,0,1,1,1,1); } else if(animationplayed == 7) { ApplyAnimationEx(playerid,"COP_AMBIENT","Coplook_loop",4.1,0,1,1,1,1); } else if(animationplayed == 8) { ApplyAnimationEx(playerid,"COP_AMBIENT","Coplook_nod",4.1,0,1,1,1,1); } else if(animationplayed == 9) { ApplyAnimationEx(playerid,"COP_AMBIENT","Coplook_out",4.1,0,1,1,1,1); } else if(animationplayed == 10) { ApplyAnimationEx(playerid,"COP_AMBIENT","Coplook_shake",4.1,0,1,1,1,1); } else if(animationplayed == 11) { ApplyAnimationEx(playerid,"COP_AMBIENT","Coplook_think",4.1,0,1,1,1,1); } else if(animationplayed == 12) { ApplyAnimationEx(playerid,"COP_AMBIENT","Coplook_watch",4.1,0,1,1,1,1); } return 1; } CMD:animcod(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animcod [1-4]"); return 1; } if(animationplayed < 1 || animationplayed > 4) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animcod [1-4]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"COP_DVBYZ","COP_Dvby_B",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"COP_DVBYZ","COP_Dvby_FT",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"COP_DVBYZ","COP_Dvby_L",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"COP_DVBYZ","COP_Dvby_R",4.1,0,1,1,1,1); } return 1; } CMD:animcrack(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animcrack[1-9]"); return 1; } if(animationplayed < 1 || animationplayed > 9) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animcrack [1-9]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"CRACK","Bbalbat_Idle_01",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"CRACK","Bbalbat_Idle_02",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"CRACK","crckdeth1",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"CRACK","crckdeth2",4.1,0,1,1,1,1); // recolocar } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"CRACK","crckdeth3",4.1,0,1,1,1,1); } else if(animationplayed == 6) { ApplyAnimationEx(playerid,"CRACK","crckdeth4",4.1,0,1,1,1,1); } else if(animationplayed == 7) { ApplyAnimationEx(playerid,"CRACK","crckidle1",4.1,0,1,1,1,1); } else if(animationplayed == 8) { ApplyAnimationEx(playerid,"CRACK","crckidle2",4.1,0,1,1,1,1); } else if(animationplayed == 9) { ApplyAnimationEx(playerid,"CRACK","crckidle3",4.1,0,1,1,1,1); } return 1; } CMD:animsnm(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animsnm[1-8]"); return 1; } if(animationplayed < 1 || animationplayed > 2424) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animsnm[1-8]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"SNM","SPANKING_IDLEW",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"SNM","SPANKING_IDLEP",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"SNM","SPANKINGW",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"SNM","SPANKINGP",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"SNM","SPANKEDW",4.1,0,1,1,1,1); } else if(animationplayed == 6) { ApplyAnimationEx(playerid,"SNM","SPANKEDP",4.1,0,1,1,1,1); } else if(animationplayed == 7) { ApplyAnimationEx(playerid,"SNM","SPANKING_ENDW",4.1,0,1,1,1,1); } else if(animationplayed == 8) { ApplyAnimationEx(playerid,"SNM","SPANKING_ENDP",4.1,0,1,1,1,1); } if(animationplayed > 8) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animsnm[1-8]"); } if(animationplayed == 2424) { } return 1; } CMD:animcrib(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animcrib [1-5]"); return 1; } if(animationplayed < 1 || animationplayed > 5) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animcrib [1-5]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"CRIB","CRIB_Console_Loop",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"CRIB","CRIB_Use_Switch",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"CRIB","PED_Console_Loop",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"CRIB","PED_Console_Loose",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"CRIB","PED_Console_Win",4.1,0,1,1,1,1); } return 1; } CMD:animjump(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animjump [1-5]"); return 1; } if(animationplayed < 1 || animationplayed > 5) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animjump [1-5]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"DAM_JUMP","DAM_Dive_Loop",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"DAM_JUMP","DAM_Land",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"DAM_JUMP","DAM_Launch",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"DAM_JUMP","Jump_Roll",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"DAM_JUMP","SF_JumpWall",4.1,0,1,1,1,1); } return 1; } CMD:animdance(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animdance [1-13]"); return 1; } if(animationplayed < 1 || animationplayed > 13) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animdance [1-13]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"DANCING","bd_clap",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"DANCING","bd_clap1",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"DANCING","dance_loop",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"DANCING","DAN_Down_A",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"DANCING","DAN_Left_A",4.1,0,1,1,1,1); } else if(animationplayed == 6) { ApplyAnimationEx(playerid,"DANCING","DAN_Loop_A",4.1,0,1,1,1,1); } else if(animationplayed == 7) { ApplyAnimationEx(playerid,"DANCING","DAN_Right_A",4.1,0,1,1,1,1); } else if(animationplayed == 8) { ApplyAnimationEx(playerid,"DANCING","DAN_Up_A",4.1,0,1,1,1,1); } else if(animationplayed == 9) { ApplyAnimationEx(playerid,"DANCING","dnce_M_a",4.1,0,1,1,1,1); } else if(animationplayed == 10) { ApplyAnimationEx(playerid,"DANCING","dnce_M_b",4.1,0,1,1,1,1); } else if(animationplayed == 11) { ApplyAnimationEx(playerid,"DANCING","dnce_M_c",4.1,0,1,1,1,1); } else if(animationplayed == 12) { ApplyAnimationEx(playerid,"DANCING","dnce_M_d",4.1,0,1,1,1,1); } else if(animationplayed == 13) { ApplyAnimationEx(playerid,"DANCING","dnce_M_e",4.1,0,1,1,1,1); } return 1; } CMD:animblowjob(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animblowjob [1-12]"); return 1; } if(animationplayed < 1 || animationplayed > 13) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animblowjob [1-12]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"BLOWJOBZ","BJ_COUCH_START_P",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"BLOWJOBZ","BJ_COUCH_START_W",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"BLOWJOBZ","BJ_COUCH_LOOP_P",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"BLOWJOBZ","BJ_COUCH_LOOP_W",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"BLOWJOBZ","BJ_COUCH_END_P",4.1,0,1,1,1,1); } else if(animationplayed == 6) { ApplyAnimationEx(playerid,"BLOWJOBZ","BJ_COUCH_END_W",4.1,0,1,1,1,1); } else if(animationplayed == 7) { ApplyAnimationEx(playerid,"BLOWJOBZ","BJ_STAND_START_P",4.1,0,1,1,1,1); } else if(animationplayed == 8) { ApplyAnimationEx(playerid,"BLOWJOBZ","BJ_STAND_START_W",4.1,0,1,1,1,1); } else if(animationplayed == 9) { ApplyAnimationEx(playerid,"BLOWJOBZ","BJ_STAND_LOOP_P",4.1,0,1,1,1,1); } else if(animationplayed == 10) { ApplyAnimationEx(playerid,"BLOWJOBZ","BJ_STAND_LOOP_W",4.1,0,1,1,1,1); } else if(animationplayed == 11) { ApplyAnimationEx(playerid,"BLOWJOBZ","BJ_STAND_END_P",4.1,0,1,1,1,1); } else if(animationplayed == 12) { ApplyAnimationEx(playerid,"BLOWJOBZ","BJ_STAND_END_W",4.1,0,1,1,1,1); } return 1; } CMD:animdealer(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animdealer [1-7]"); return 1; } if(animationplayed < 1 || animationplayed > 7) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animdealer [1-7]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"DEALER","DEALER_DEAL",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"DEALER","DEALER_IDLE",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"DEALER","DEALER_IDLE_01",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"DEALER","DEALER_IDLE_02",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"DEALER","DEALER_IDLE_03",4.1,0,1,1,1,1); } else if(animationplayed == 6) { ApplyAnimationEx(playerid,"DEALER","DRUGS_BUY",4.1,0,1,1,1,1); } else if(animationplayed == 7) { ApplyAnimationEx(playerid,"DEALER","shop_pay",4.1,0,1,1,1,1); } return 1; } CMD:animdildo(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animdildo [1-9]"); return 1; } if(animationplayed < 1 || animationplayed > 9) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animdildo [1-9]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"DILDO","DILDO_1",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"DILDO","DILDO_2",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"DILDO","DILDO_3",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"DILDO","DILDO_block",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"DILDO","DILDO_G",4.1,0,1,1,1,1); } else if(animationplayed == 6) { ApplyAnimationEx(playerid,"DILDO","DILDO_Hit_1",4.1,0,1,1,1,1); } else if(animationplayed == 7) { ApplyAnimationEx(playerid,"DILDO","DILDO_Hit_2",4.1,0,1,1,1,1); } else if(animationplayed == 8) { ApplyAnimationEx(playerid,"DILDO","DILDO_Hit_3",4.1,0,1,1,1,1); } else if(animationplayed == 9) { ApplyAnimationEx(playerid,"DILDO","DILDO_IDLE",4.1,0,1,1,1,1); } return 1; } CMD:animdodge(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animdodge [1-4]"); return 1; } if(animationplayed < 1 || animationplayed > 4) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animdodge [1-4]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"DODGE","Cover_Dive_01",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"DODGE","Cover_Dive_02",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"DODGE","Crushed",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"DODGE","Crush_Jump",4.1,0,1,1,1,1); } return 1; } CMD:animdozer(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animdozer [1-9]"); return 1; } if(animationplayed < 1 || animationplayed > 9) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animdozer [1-9]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"DOZER","DOZER_Align_LHS",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"DOZER","DOZER_Align_RHS",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"DOZER","DOZER_getin_LHS",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"DOZER","DOZER_getin_RHS",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"DOZER","DOZER_getout_LHS",4.1,0,1,1,1,1); } else if(animationplayed == 6) { ApplyAnimationEx(playerid,"DOZER","DOZER_getout_RHS",4.1,0,1,1,1,1); } else if(animationplayed == 7) { ApplyAnimationEx(playerid,"DOZER","DOZER_Jacked_LHS",4.1,0,1,1,1,1); } else if(animationplayed == 8) { ApplyAnimationEx(playerid,"DOZER","DOZER_Jacked_RHS",4.1,0,1,1,1,1); } else if(animationplayed == 9) { ApplyAnimationEx(playerid,"DOZER","DOZER_pullout_LHS",4.1,0,1,1,1,1); } return 1; } CMD:animdrivebys(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animdrivebys [1-8]"); return 1; } if(animationplayed < 1 || animationplayed > 8) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animdrivebys [1-8]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"DRIVEBYS","Gang_DrivebyLHS",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"DRIVEBYS","Gang_DrivebyLHS_Bwd",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"DRIVEBYS","Gang_DrivebyLHS_Fwd",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"DRIVEBYS","Gang_DrivebyRHS",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"DRIVEBYS","Gang_DrivebyRHS_Bwd",4.1,0,1,1,1,1); } else if(animationplayed == 6) { ApplyAnimationEx(playerid,"DRIVEBYS","Gang_DrivebyRHS_Fwd",4.1,0,1,1,1,1); } else if(animationplayed == 7) { ApplyAnimationEx(playerid,"DRIVEBYS","Gang_DrivebyTop_LHS",4.1,0,1,1,1,1); } else if(animationplayed == 8) { ApplyAnimationEx(playerid,"DRIVEBYS","Gang_DrivebyTop_RHS",4.1,0,1,1,1,1); } return 1; } CMD:animfat(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animfat [1-17]"); return 1; } if(animationplayed < 1 || animationplayed > 17) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animfat [1-17]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"FAT","FatIdle",4.1,0,1,1,1,1); } else if(animationplayed == 1) { ApplyAnimationEx(playerid,"FAT","FatIdle_armed",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"FAT","FatIdle_Csaw",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"FAT","FatIdle_Rocket",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"FAT","FatRun",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"FAT","FatRun_armed",4.1,0,1,1,1,1); } else if(animationplayed == 6) { ApplyAnimationEx(playerid,"FAT","FatRun_Csaw",4.1,0,1,1,1,1); } else if(animationplayed == 7) { ApplyAnimationEx(playerid,"FAT","FatRun_Rocket",4.1,0,1,1,1,1); } else if(animationplayed == 8) { ApplyAnimationEx(playerid,"FAT","FatSprint",4.1,0,1,1,1,1); } else if(animationplayed == 9) { ApplyAnimationEx(playerid,"FAT","FatWalk",4.1,0,1,1,1,1); } else if(animationplayed == 10) { ApplyAnimationEx(playerid,"FAT","FatWalkstart",4.1,0,1,1,1,1); } else if(animationplayed == 11) { ApplyAnimationEx(playerid,"FAT","FatWalkstart_Csaw",4.1,0,1,1,1,1); } else if(animationplayed == 12) { ApplyAnimationEx(playerid,"FAT","FatWalkSt_armed",4.1,0,1,1,1,1); } else if(animationplayed == 13) { ApplyAnimationEx(playerid,"FAT","FatWalkSt_Rocket",4.1,0,1,1,1,1); } else if(animationplayed == 14) { ApplyAnimationEx(playerid,"FAT","FatWalk_armed",4.1,0,1,1,1,1); } else if(animationplayed == 15) { ApplyAnimationEx(playerid,"FAT","FatWalk_Csaw",4.1,0,1,1,1,1); } else if(animationplayed == 16) { ApplyAnimationEx(playerid,"FAT","FatWalk_Rocket",4.1,0,1,1,1,1); } else if(animationplayed == 17) { ApplyAnimationEx(playerid,"FAT","IDLE_tired",4.1,0,1,1,1,1); } return 1; } CMD:animfightb(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animfightb [1-10]"); return 1; } if(animationplayed < 1 || animationplayed > 10) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animfightb [1-10]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"FIGHT_B","FightB_1",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"FIGHT_B","FightB_2",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"FIGHT_B","FightB_3",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"FIGHT_B","FightB_block",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"FIGHT_B","FightB_G",4.1,0,1,1,1,1); } else if(animationplayed == 6) { ApplyAnimationEx(playerid,"FIGHT_B","FightB_IDLE",4.1,0,1,1,1,1); } else if(animationplayed == 7) { ApplyAnimationEx(playerid,"FIGHT_B","FightB_M",4.1,0,1,1,1,1); } else if(animationplayed == 8) { ApplyAnimationEx(playerid,"FIGHT_B","HitB_1",4.1,0,1,1,1,1); } else if(animationplayed == 9) { ApplyAnimationEx(playerid,"FIGHT_B","HitB_2",4.1,0,1,1,1,1); } else if(animationplayed == 10) { ApplyAnimationEx(playerid,"FIGHT_B","HitB_3",4.1,0,1,1,1,1); } return 1; } CMD:animfightc(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animfightc [1-12]"); return 1; } if(animationplayed < 1 || animationplayed > 12) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animfightc [1-12]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"FIGHT_C","FightC_1",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"FIGHT_C","FightC_2",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"FIGHT_C","FightC_3",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"FIGHT_C","FightC_block",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"FIGHT_C","FightC_blocking",4.1,0,1,1,1,1); } else if(animationplayed == 6) { ApplyAnimationEx(playerid,"FIGHT_C","FightC_G",4.1,0,1,1,1,1); } else if(animationplayed == 7) { ApplyAnimationEx(playerid,"FIGHT_C","FightC_IDLE",4.1,0,1,1,1,1); } else if(animationplayed == 8) { ApplyAnimationEx(playerid,"FIGHT_C","FightC_M",4.1,0,1,1,1,1); } else if(animationplayed == 9) { ApplyAnimationEx(playerid,"FIGHT_C","FightC_Spar",4.1,0,1,1,1,1); } else if(animationplayed == 10) { ApplyAnimationEx(playerid,"FIGHT_C","HitC_1",4.1,0,1,1,1,1); } else if(animationplayed == 11) { ApplyAnimationEx(playerid,"FIGHT_C","HitC_2",4.1,0,1,1,1,1); } else if(animationplayed == 12) { ApplyAnimationEx(playerid,"FIGHT_C","HitC_3",4.1,0,1,1,1,1); } return 1; } CMD:animfightd(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animfightd [1-10]"); return 1; } if(animationplayed < 1 || animationplayed > 10) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animfightd [1-10]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"FIGHT_D","FightD_1",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"FIGHT_D","FightD_2",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"FIGHT_D","FightD_3",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"FIGHT_D","FightD_block",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"FIGHT_D","FightD_G",4.1,0,1,1,1,1); } else if(animationplayed == 6) { ApplyAnimationEx(playerid,"FIGHT_D","FightD_IDLE",4.1,0,1,1,1,1); } else if(animationplayed == 7) { ApplyAnimationEx(playerid,"FIGHT_D","FightD_M",4.1,0,1,1,1,1); } else if(animationplayed == 8) { ApplyAnimationEx(playerid,"FIGHT_D","HitD_1",4.1,0,1,1,1,1); } else if(animationplayed == 9) { ApplyAnimationEx(playerid,"FIGHT_D","HitD_2",4.1,0,1,1,1,1); } else if(animationplayed == 10) { ApplyAnimationEx(playerid,"FIGHT_D","HitD_3",4.1,0,1,1,1,1); } return 1; } CMD:animfighte(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animfighte [1-4]"); return 1; } if(animationplayed < 1 || animationplayed > 4) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animfighte [1-4]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"FIGHT_E","FightKick",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"FIGHT_E","FightKick_B",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"FIGHT_E","Hit_fightkick",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"FIGHT_E","Hit_fightkick_B",4.1,0,1,1,1,1); } return 1; } CMD:animfinale(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animfinale [1-15]"); return 1; } if(animationplayed < 1 || animationplayed > 15) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animfinale [1-15]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"FINALE","FIN_Climb_In",4.1,0,1,1,1,1); } else if(animationplayed == 1) { ApplyAnimationEx(playerid,"FINALE","FIN_Cop1_ClimbOut2",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"FINALE","FIN_Cop1_Loop",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"FINALE","FIN_Cop1_Stomp",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"FINALE","FIN_Hang_L",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"FINALE","FIN_Hang_Loop",4.1,0,1,1,1,1); } else if(animationplayed == 6) { ApplyAnimationEx(playerid,"FINALE","FIN_Hang_R",4.1,0,1,1,1,1); } else if(animationplayed == 7) { ApplyAnimationEx(playerid,"FINALE","FIN_Hang_L",4.1,0,1,1,1,1); } else if(animationplayed == 8) { ApplyAnimationEx(playerid,"FINALE","FIN_Jump_On",4.1,0,1,1,1,1); } else if(animationplayed == 9) { ApplyAnimationEx(playerid,"FINALE","FIN_Land_Car",4.1,0,1,1,1,1); } else if(animationplayed == 10) { ApplyAnimationEx(playerid,"FINALE","FIN_Land_Die",4.1,0,1,1,1,1); } else if(animationplayed == 11) { ApplyAnimationEx(playerid,"FINALE","FIN_LegsUp",4.1,0,1,1,1,1); } else if(animationplayed == 12) { ApplyAnimationEx(playerid,"FINALE","FIN_LegsUp_L",4.1,0,1,1,1,1); } else if(animationplayed == 13) { ApplyAnimationEx(playerid,"FINALE","FIN_LegsUp_Loop",4.1,0,1,1,1,1); } else if(animationplayed == 14) { ApplyAnimationEx(playerid,"FINALE","FIN_LegsUp_R",4.1,0,1,1,1,1); } else if(animationplayed == 15) { ApplyAnimationEx(playerid,"FINALE","FIN_Let_Go",4.1,0,1,1,1,1); } return 1; } CMD:animfinale2(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animfinale2 [1-8]"); return 1; } if(animationplayed < 1 || animationplayed > 8) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animfinale2 [1-8]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"FINALE2","FIN_Cop1_ClimbOut",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"FINALE2","FIN_Cop1_Fall",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"FINALE2","FIN_Cop1_Loop",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"FINALE2","FIN_Cop1_Shot",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"FINALE2","FIN_Cop1_Swing",4.1,0,1,1,1,1); } else if(animationplayed == 6) { ApplyAnimationEx(playerid,"FINALE2","FIN_Cop2_ClimbOut",4.1,0,1,1,1,1); } else if(animationplayed == 7) { ApplyAnimationEx(playerid,"FINALE2","FIN_Switch_P",4.1,0,1,1,1,1); } else if(animationplayed == 8) { ApplyAnimationEx(playerid,"FINALE2","FIN_Switch_S",4.1,0,1,1,1,1); } return 1; } CMD:animflamef(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animflamef [1-1]"); return 1; } if(animationplayed < 1 || animationplayed > 1) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animflamef [1-1]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"FLAME","FLAME_fire",4.1,0,1,1,1,1); } return 1; } CMD:animflowers(playerid, params[]) { if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animflowers [1-3]"); return 1; } if(animationplayed < 1 || animationplayed > 3) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animflowers [1-3]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"Flowers","Flower_attack",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"Flowers","Flower_attack_M",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"Flowers","Flower_Hit",4.1,0,1,1,1,1); } return 1; } return true; } CMD:animghands(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animghands [1-20]"); return 1; } if(animationplayed < 1 || animationplayed > 20) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animghands [1-20]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"GHANDS","gsign1",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"GHANDS","gsign1LH",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"GHANDS","gsign2",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"GHANDS","gsign2LH",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"GHANDS","gsign3",4.1,0,1,1,1,1); } else if(animationplayed == 6) { ApplyAnimationEx(playerid,"GHANDS","gsign3LH",4.1,0,1,1,1,1); } else if(animationplayed == 7) { ApplyAnimationEx(playerid,"GHANDS","gsign4",4.1,0,1,1,1,1); } else if(animationplayed == 8) { ApplyAnimationEx(playerid,"GHANDS","gsign4LH",4.1,0,1,1,1,1); } else if(animationplayed == 9) { ApplyAnimationEx(playerid,"GHANDS","gsign5",4.1,0,1,1,1,1); } else if(animationplayed == 10) { ApplyAnimationEx(playerid,"GHANDS","gsign5LH",4.1,0,1,1,1,1); } else if(animationplayed == 11) { ApplyAnimationEx(playerid,"GHANDS","LHGsign1",4.1,0,1,1,1,1); } else if(animationplayed == 12) { ApplyAnimationEx(playerid,"GHANDS","LHGsign2",4.1,0,1,1,1,1); } else if(animationplayed == 13) { ApplyAnimationEx(playerid,"GHANDS","LHGsign3",4.1,0,1,1,1,1); } else if(animationplayed == 14) { ApplyAnimationEx(playerid,"GHANDS","LHGsign4",4.1,0,1,1,1,1); } else if(animationplayed == 15) { ApplyAnimationEx(playerid,"GHANDS","LHGsign5",4.1,0,1,1,1,1); } else if(animationplayed == 16) { ApplyAnimationEx(playerid,"GHANDS","RHGsign1",4.1,0,1,1,1,1); } else if(animationplayed == 17) { ApplyAnimationEx(playerid,"GHANDS","RHGsign2",4.1,0,1,1,1,1); } else if(animationplayed == 18) { ApplyAnimationEx(playerid,"GHANDS","RHGsign3",4.1,0,1,1,1,1); } else if(animationplayed == 19) { ApplyAnimationEx(playerid,"GHANDS","RHGsign4",4.1,0,1,1,1,1); } else if(animationplayed == 20) { ApplyAnimationEx(playerid,"GHANDS","RHGsign5",4.1,0,1,1,1,1); } return 1; } CMD:animfw(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animfw [1-9]"); return 1; } if(animationplayed < 1 || animationplayed > 9) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animfw [1-9]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"Freeweights","gym_barbell",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"Freeweights","gym_free_A",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"Freeweights","gym_free_B",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"Freeweights","gym_free_celebrate",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"Freeweights","gym_free_down",4.1,0,1,1,1,1); } else if(animationplayed == 6) { ApplyAnimationEx(playerid,"Freeweights","gym_free_loop",4.1,0,1,1,1,1); } else if(animationplayed == 7) { ApplyAnimationEx(playerid,"Freeweights","gym_free_pickup",4.1,0,1,1,1,1); } else if(animationplayed == 8) { ApplyAnimationEx(playerid,"Freeweights","gym_free_putdown",4.1,0,1,1,1,1); } else if(animationplayed == 9) { ApplyAnimationEx(playerid,"Freeweights","gym_free_up_smooth",4.1,0,1,1,1,1); } return 1; } CMD:animghetto(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animghetto [1-7]"); return 1; } if(animationplayed < 1 || animationplayed > 7) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animghetto [1-7]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"GHETTO_DB","GDB_Car2_PLY",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"GHETTO_DB","GDB_Car2_SMO",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"GHETTO_DB","GDB_Car2_SWE",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"GHETTO_DB","GDB_Car_PLY",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"GHETTO_DB","GDB_Car_RYD",4.1,0,1,1,1,1); } else if(animationplayed == 6) { ApplyAnimationEx(playerid,"GHETTO_DB","GDB_Car_SMO",4.1,0,1,1,1,1); } else if(animationplayed == 7) { ApplyAnimationEx(playerid,"GHETTO_DB","GDB_Car_SWE",4.1,0,1,1,1,1); } return 1; } CMD:animgog(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animgog [1-1]"); return 1; } if(animationplayed < 1 || animationplayed > 1) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animgog [1-1]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"goggles","goggles_put_on",4.1,0,1,1,1,1); } return 1; } CMD:animgraffity(playerid, params[]) { if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animgraffity [1-2]"); return 1; } if(animationplayed < 1 || animationplayed > 2) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animgraffity [1-2]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"GRAFFITI","graffiti_Chkout",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"GRAFFITI","spraycan_fire",4.1,0,1,1,1,1); } return 1; } return true; } CMD:animgreya(playerid, params[]) { if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animgreya [1-3]"); return 1; } if(animationplayed < 1 || animationplayed > 3) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animgreya [1-3]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"GRAVEYARD","mrnF_loop",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"GRAVEYARD","mrnM_loop",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"GRAVEYARD","prst_loopa",4.1,0,1,1,1,1); } return 1; } return true; } CMD:animgren(playerid, params[]) { if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animgren [1-3]"); return 1; } if(animationplayed < 1 || animationplayed > 3) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animgren [1-3]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"GRENADE","WEAPON_start_throw",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"GRENADE","WEAPON_throw",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"GRENADE","WEAPON_throwu",4.1,0,1,1,1,1); } return 1; } return true; } CMD:animhaircut(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animhaircut [1-13]"); return 1; } if(animationplayed < 1 || animationplayed > 13) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animhaircut [1-13]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"HAIRCUTS","BRB_Beard_01",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"HAIRCUTS","BRB_Buy",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"HAIRCUTS","BRB_Cut",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"HAIRCUTS","BRB_Cut_In",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"HAIRCUTS","BRB_Cut_Out",4.1,0,1,1,1,1); } else if(animationplayed == 6) { ApplyAnimationEx(playerid,"HAIRCUTS","BRB_Hair_01",4.1,0,1,1,1,1); } else if(animationplayed == 7) { ApplyAnimationEx(playerid,"HAIRCUTS","BRB_Hair_02",4.1,0,1,1,1,1); } else if(animationplayed == 8) { ApplyAnimationEx(playerid,"HAIRCUTS","BRB_In",4.1,0,1,1,1,1); } else if(animationplayed == 9) { ApplyAnimationEx(playerid,"HAIRCUTS","BRB_Out",4.1,0,1,1,1,1); } else if(animationplayed == 10) { ApplyAnimationEx(playerid,"HAIRCUTS","BRB_Loop",4.1,0,1,1,1,1); } else if(animationplayed == 11) { ApplyAnimationEx(playerid,"HAIRCUTS","BRB_Sit_In",4.1,0,1,1,1,1); } else if(animationplayed == 12) { ApplyAnimationEx(playerid,"HAIRCUTS","BRB_Sit_Loop",4.1,0,1,1,1,1); } else if(animationplayed == 13) { ApplyAnimationEx(playerid,"HAIRCUTS","BRB_Sit_Out",4.1,0,1,1,1,1); } return 1; } CMD:animheist(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animheist [1-10]"); return 1; } if(animationplayed < 1 || animationplayed > 10) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animheist [1-10]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"HEIST9","CAS_G2_GasKO",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"HEIST9","swt_wllpk_L",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"HEIST9","swt_wllpk_L_back",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"HEIST9","swt_wllpk_R",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"HEIST9","swt_wllpk_R_back",4.1,0,1,1,1,1); } else if(animationplayed == 6) { ApplyAnimationEx(playerid,"HEIST9","swt_wllshoot_in_L",4.1,0,1,1,1,1); } else if(animationplayed == 7) { ApplyAnimationEx(playerid,"HEIST9","swt_wllshoot_in_R",4.1,0,1,1,1,1); } else if(animationplayed == 8) { ApplyAnimationEx(playerid,"HEIST9","swt_wllshoot_out_L",4.1,0,1,1,1,1); } else if(animationplayed == 9) { ApplyAnimationEx(playerid,"HEIST9","swt_wllshoot_out_R",4.1,0,1,1,1,1); } else if(animationplayed == 10) { ApplyAnimationEx(playerid,"HEIST9","USE:_SwipeCard",4.1,0,1,1,1,1); } return 1; } CMD:animinthouse(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animinthouse [1-10]"); return 1; } if(animationplayed < 1 || animationplayed > 10) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animinthouse [1-10]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"INT_HOUSE","BED_In_L",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"INT_HOUSE","BED_In_R",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"INT_HOUSE","BED_Loop_L",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"INT_HOUSE","BED_Loop_R",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"INT_HOUSE","BED_Out_L",4.1,0,1,1,1,1); } else if(animationplayed == 6) { ApplyAnimationEx(playerid,"INT_HOUSE","BED_Out_R",4.1,0,1,1,1,1); } else if(animationplayed == 7) { ApplyAnimationEx(playerid,"INT_HOUSE","LOU_In",4.1,0,1,1,1,1); } else if(animationplayed == 8) { ApplyAnimationEx(playerid,"INT_HOUSE","LOU_Loop",4.1,0,1,1,1,1); } else if(animationplayed == 9) { ApplyAnimationEx(playerid,"INT_HOUSE","LOU_Out",4.1,0,1,1,1,1); } else if(animationplayed == 10) { ApplyAnimationEx(playerid,"INT_HOUSE","wash_up",4.1,0,1,1,1,1); } return 1; } CMD:animintoffice(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animintoffice [1-10]"); return 1; } if(animationplayed < 1 || animationplayed > 10) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animintoffice [1-10]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"INT_OFFICE","FF_Dam_Fwd",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"INT_OFFICE","OFF_Sit_2Idle_180",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"INT_OFFICE","OFF_Sit_Bored_Loop",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"INT_OFFICE","OFF_Sit_Crash",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"INT_OFFICE","OFF_Sit_Drink",4.1,0,1,1,1,1); } else if(animationplayed == 6) { ApplyAnimationEx(playerid,"INT_OFFICE","OFF_Sit_Idle_Loop",4.1,0,1,1,1,1); } else if(animationplayed == 7) { ApplyAnimationEx(playerid,"INT_OFFICE","OFF_Sit_In",4.1,0,1,1,1,1); } else if(animationplayed == 8) { ApplyAnimationEx(playerid,"INT_OFFICE","OFF_Sit_Read",4.1,0,1,1,1,1); } else if(animationplayed == 9) { ApplyAnimationEx(playerid,"INT_OFFICE","OFF_Sit_Type_Loop",4.1,0,1,1,1,1); } else if(animationplayed == 10) { ApplyAnimationEx(playerid,"INT_OFFICE","OFF_Sit_Watch",4.1,0,1,1,1,1); } return 1; } CMD:animplayerdbf(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animplayerdbf [1-4]"); return 1; } if(animationplayed < 1 || animationplayed > 4) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animplayerdbf [1-4]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"PLAYER_DVBYS","Plyr_DrivebyBwd",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"PLAYER_DVBYS","Plyr_DrivebyFwd",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"PLAYER_DVBYS","Plyr_DrivebyLHS",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"PLAYER_DVBYS","Plyr_DrivebyRHS",4.1,0,1,1,1,1); } return 1; } CMD:animplayidles(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animplayidles [1-5]"); return 1; } if(animationplayed < 1 || animationplayed > 5) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animplayidles [1-5]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"PLAYIDLES","shift",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"PLAYIDLES","shldr",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"PLAYIDLES","stretch",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"PLAYIDLES","strleg",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"PLAYIDLES","time",4.1,0,1,1,1,1); } return 1; } CMD:animpolice(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animpolice [1-10]"); return 1; } if(animationplayed < 1 || animationplayed > 10) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animpolice [1-10]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"POLICE","CopTraf_Away",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"POLICE","CopTraf_Come",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"POLICE","CopTraf_Left",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"POLICE","CopTraf_Stop",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"POLICE","COP_getoutcar_LHS",4.1,0,1,1,1,1); } else if(animationplayed == 6) { ApplyAnimationEx(playerid,"POLICE","Cop_move_FWD",4.1,0,1,1,1,1); } else if(animationplayed == 7) { ApplyAnimationEx(playerid,"POLICE","crm_drgbst_01",4.1,0,1,1,1,1); } else if(animationplayed == 8) { ApplyAnimationEx(playerid,"POLICE","Door_Kick",4.1,0,1,1,1,1); } else if(animationplayed == 9) { ApplyAnimationEx(playerid,"POLICE","plc_drgbst_01",4.1,0,1,1,1,1); } else if(animationplayed == 10) { ApplyAnimationEx(playerid,"POLICE","plc_drgbst_02",4.1,0,1,1,1,1); } return 1; } CMD:animpool(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animpool [1-21]"); return 1; } if(animationplayed < 1 || animationplayed > 21) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animpool [1-21]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"POOL","POOL_ChalkCue",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"POOL","POOL_Idle_Stance",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"POOL","POOL_Long_Shot",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"POOL","POOL_Long_Shot_O",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"POOL","POOL_Long_Start",4.1,0,1,1,1,1); } else if(animationplayed == 6) { ApplyAnimationEx(playerid,"POOL","POOL_Long_Start_O",4.1,0,1,1,1,1); } else if(animationplayed == 7) { ApplyAnimationEx(playerid,"POOL","POOL_Med_Shot",4.1,0,1,1,1,1); } else if(animationplayed == 8) { ApplyAnimationEx(playerid,"POOL","POOL_Med_Shot_O",4.1,0,1,1,1,1); } else if(animationplayed == 9) { ApplyAnimationEx(playerid,"POOL","POOL_Med_Start",4.1,0,1,1,1,1); } else if(animationplayed == 10) { ApplyAnimationEx(playerid,"POOL","POOL_Med_Start_O",4.1,0,1,1,1,1); } else if(animationplayed == 11) { ApplyAnimationEx(playerid,"POOL","POOL_Place_White",4.1,0,1,1,1,1); } else if(animationplayed == 12) { ApplyAnimationEx(playerid,"POOL","POOL_Short_Shot",4.1,0,1,1,1,1); } else if(animationplayed == 13) { ApplyAnimationEx(playerid,"POOL","POOL_Short_Shot_O",4.1,0,1,1,1,1); } else if(animationplayed == 14) { ApplyAnimationEx(playerid,"POOL","POOL_Short_Start",4.1,0,1,1,1,1); } else if(animationplayed == 15) { ApplyAnimationEx(playerid,"POOL","POOL_Short_Start_O",4.1,0,1,1,1,1); } else if(animationplayed == 16) { ApplyAnimationEx(playerid,"POOL","POOL_Walk",4.1,0,1,1,1,1); } else if(animationplayed == 17) { ApplyAnimationEx(playerid,"POOL","POOL_Walk_Start",4.1,0,1,1,1,1); } else if(animationplayed == 18) { ApplyAnimationEx(playerid,"POOL","POOL_XLong_Shot",4.1,0,1,1,1,1); } else if(animationplayed == 19) { ApplyAnimationEx(playerid,"POOL","POOL_XLong_Shot_O",4.1,0,1,1,1,1); } else if(animationplayed == 20) { ApplyAnimationEx(playerid,"POOL","POOL_XLong_Start",4.1,0,1,1,1,1); } else if(animationplayed == 21) { ApplyAnimationEx(playerid,"POOL","POOL_XLong_Start_O",4.1,0,1,1,1,1); } return 1; } CMD:animpoor(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animpoor [1-2]"); return 1; } if(animationplayed < 1 || animationplayed > 2) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animpoor [1-2]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"POOR","WINWASH_Start",4.1,0,1,1,1,1); } else if(animationplayed == 1) { ApplyAnimationEx(playerid,"POOR","WINWASH_Wash2Beg",4.1,0,1,1,1,1); } return 1; } CMD:animpython(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animpython [1-5]"); return 1; } if(animationplayed < 1 || animationplayed > 5) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animpython [1-5]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"PYTHON","python_crouchfire",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"PYTHON","python_crouchreload",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"PYTHON","python_fire",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"PYTHON","python_fire_poor",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"PYTHON","python_reload",4.1,0,1,1,1,1); } return 1; } CMD:animquad(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animquad [1-17]"); return 1; } if(animationplayed < 1 || animationplayed > 17) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animquad [1-17]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"QUAD","QUAD_back",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"QUAD","QUAD_driveby_FT",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"QUAD","QUAD_driveby_LHS",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"QUAD","QUAD_driveby_RHS",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"QUAD","QUAD_FWD",4.1,0,1,1,1,1); } else if(animationplayed == 6) { ApplyAnimationEx(playerid,"QUAD","QUAD_getoff_B",4.1,0,1,1,1,1); } else if(animationplayed == 7) { ApplyAnimationEx(playerid,"QUAD","QUAD_getoff_LHS",4.1,0,1,1,1,1); } else if(animationplayed == 8) { ApplyAnimationEx(playerid,"QUAD","QUAD_getoff_RHS",4.1,0,1,1,1,1); } else if(animationplayed == 9) { ApplyAnimationEx(playerid,"QUAD","QUAD_geton_LHS",4.1,0,1,1,1,1); } else if(animationplayed == 10) { ApplyAnimationEx(playerid,"QUAD","QUAD_geton_RHS",4.1,0,1,1,1,1); } else if(animationplayed == 11) { ApplyAnimationEx(playerid,"QUAD","QUAD_hit",4.1,0,1,1,1,1); } else if(animationplayed == 12) { ApplyAnimationEx(playerid,"QUAD","QUAD_kick",4.1,0,1,1,1,1); } else if(animationplayed == 13) { ApplyAnimationEx(playerid,"QUAD","QUAD_Left",4.1,0,1,1,1,1); } else if(animationplayed == 14) { ApplyAnimationEx(playerid,"QUAD","QUAD_passenger",4.1,0,1,1,1,1); } else if(animationplayed == 15) { ApplyAnimationEx(playerid,"QUAD","QUAD_reverse",4.1,0,1,1,1,1); } else if(animationplayed == 16) { ApplyAnimationEx(playerid,"QUAD","QUAD_ride",4.1,0,1,1,1,1); } else if(animationplayed == 17) { ApplyAnimationEx(playerid,"QUAD","QUAD_Right",4.1,0,1,1,1,1); } return 1; } CMD:animquadbz(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animquadbz [1-4]"); return 1; } if(animationplayed < 1 || animationplayed > 4) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animquadbz [1-4]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"QUAD_DBZ","Pass_Driveby_BWD",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"QUAD_DBZ","Pass_Driveby_FWD",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"QUAD_DBZ","Pass_Driveby_LHS",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"QUAD_DBZ","Pass_Driveby_RHS",4.1,0,1,1,1,1); } return 1; } CMD:animrapping(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animrapping [1-8]"); return 1; } if(animationplayed < 1 || animationplayed > 8) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animrapping [1-8]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"RAPPING","Laugh_01",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"RAPPING","RAP_A_IN",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"RAPPING","RAP_A_Loop",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"RAPPING","RAP_A_OUT",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"RAPPING","RAP_B_IN",4.1,0,1,1,1,1); } else if(animationplayed == 6) { ApplyAnimationEx(playerid,"RAPPING","RAP_B_Loop",4.1,0,1,1,1,1); } else if(animationplayed == 7) { ApplyAnimationEx(playerid,"RAPPING","RAP_B_OUT",4.1,0,1,1,1,1); } else if(animationplayed == 8) { ApplyAnimationEx(playerid,"RAPPING","RAP_C_Loop",4.1,0,1,1,1,1); } return 1; } CMD:animrifle(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animrifle [1-5]"); return 1; } if(animationplayed < 1 || animationplayed > 5) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animrifle [1-5]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"RIFLE","RIFLE_crouchfire",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"RIFLE","RIFLE_crouchload",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"RIFLE","RIFLE_fire",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"RIFLE","RIFLE_fire_poor",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"RIFLE","RIFLE_load",4.1,0,1,1,1,1); } return 1; } CMD:animriot(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animriot [1-7]"); return 1; } if(animationplayed < 1 || animationplayed > 7) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animriot [1-7]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"RIOT","RIOT_ANGRY",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"RIOT","RIOT_ANGRY_B",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"RIOT","RIOT_challenge",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"RIOT","RIOT_CHANT",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"RIOT","RIOT_FUKU",4.1,0,1,1,1,1); } else if(animationplayed == 6) { ApplyAnimationEx(playerid,"RIOT","RIOT_PUNCHES",4.1,0,1,1,1,1); } else if(animationplayed == 7) { ApplyAnimationEx(playerid,"RIOT","RIOT_shout",4.1,0,1,1,1,1); } return 1; } CMD:animrobbank(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animrobbank [1-5]"); return 1; } if(animationplayed < 1 || animationplayed > 5) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animrobbank [1-5]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"ROB_BANK","CAT_Safe_End",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"ROB_BANK","CAT_Safe_Open",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"ROB_BANK","CAT_Safe_Open_O",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"ROB_BANK","CAT_Safe_Rob",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"ROB_BANK","SHP_HandsUp_Scr",4.1,0,1,1,1,1); } return 1; } CMD:animrocket(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animrocket [1-5]"); return 1; } if(animationplayed < 1 || animationplayed > 5) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animrocket [1-5]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"ROCKET","idle_rocket",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"ROCKET","RocketFire",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"ROCKET","run_rocket",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"ROCKET","walk_rocket",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"ROCKET","WALK_start_rocket",4.1,0,1,1,1,1); } return 1; } CMD:animrustler(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animrustler [1-5]"); return 1; } if(animationplayed < 1 || animationplayed > 5) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animrustler [1-5]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"RUSTLER","Plane_align_LHS",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"RUSTLER","Plane_close",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"RUSTLER","Plane_getin",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"RUSTLER","Plane_getout",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"RUSTLER","Plane_open",4.1,0,1,1,1,1); } return 1; } CMD:animbiked(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animbiked [1-18]"); return 1; } if(animationplayed < 1 || animationplayed > 18) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animbiked [1-18]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"BIKED","BIKEd_Back",4.1,0,1,1,1,1); } else if(animationplayed == 1) { ApplyAnimationEx(playerid,"BIKED","BIKEd_drivebyFT",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"BIKED","BIKEd_drivebyLHS",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"BIKED","BIKEd_drivebyRHS",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"BIKED","BIKEd_Fwd",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"BIKED","BIKEd_getoffBACK",4.1,0,1,1,1,1); } else if(animationplayed == 6) { ApplyAnimationEx(playerid,"BIKED","BIKEd_getoffLHS",4.1,0,1,1,1,1); } else if(animationplayed == 7) { ApplyAnimationEx(playerid,"BIKED","BIKEd_getoffRHS",4.1,0,1,1,1,1); } else if(animationplayed == 8) { ApplyAnimationEx(playerid,"BIKED","BIKEd_hit",4.1,0,1,1,1,1); } else if(animationplayed == 9) { ApplyAnimationEx(playerid,"BIKED","BIKEd_jumponL",4.1,0,1,1,1,1); } else if(animationplayed == 10) { ApplyAnimationEx(playerid,"BIKED","BIKEd_jumponR",4.1,0,1,1,1,1); } else if(animationplayed == 11) { ApplyAnimationEx(playerid,"BIKED","BIKEd_kick",4.1,0,1,1,1,1); } else if(animationplayed == 12) { ApplyAnimationEx(playerid,"BIKED","BIKEd_Left",4.1,0,1,1,1,1); } else if(animationplayed == 13) { ApplyAnimationEx(playerid,"BIKED","BIKEd_passenger",4.1,0,1,1,1,1); } else if(animationplayed == 14) { ApplyAnimationEx(playerid,"BIKED","BIKEd_pushes",4.1,0,1,1,1,1); } else if(animationplayed == 15) { ApplyAnimationEx(playerid,"BIKED","BIKEd_Ride",4.1,0,1,1,1,1); } else if(animationplayed == 16) { ApplyAnimationEx(playerid,"BIKED","BIKEd_Right",4.1,0,1,1,1,1); } else if(animationplayed == 17) { ApplyAnimationEx(playerid,"BIKED","BIKEd_shuffle",4.1,0,1,1,1,1); } else if(animationplayed == 18) { ApplyAnimationEx(playerid,"BIKED","BIKEd_Still",4.1,0,1,1,1,1); } return 1; } CMD:animryder(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animryder [1-14]"); return 1; } if(animationplayed < 1 || animationplayed > 14) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animryder [1-14]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"RYDER","RYD_Beckon_01",4.1,0,1,1,1,1); } else if(animationplayed == 1) { ApplyAnimationEx(playerid,"RYDER","RYD_Beckon_02",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"RYDER","RYD_Beckon_03",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"RYDER","RYD_Die_PT1",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"RYDER","RYD_Die_PT2",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"RYDER","Van_Crate_L",4.1,0,1,1,1,1); } else if(animationplayed == 6) { ApplyAnimationEx(playerid,"RYDER","Van_Crate_R",4.1,0,1,1,1,1); } else if(animationplayed == 7) { ApplyAnimationEx(playerid,"RYDER","Van_Fall_L",4.1,0,1,1,1,1); } else if(animationplayed == 8) { ApplyAnimationEx(playerid,"RYDER","Van_Fall_R",4.1,0,1,1,1,1); } else if(animationplayed == 9) { ApplyAnimationEx(playerid,"RYDER","Van_Lean_L",4.1,0,1,1,1,1); } else if(animationplayed == 10) { ApplyAnimationEx(playerid,"RYDER","Van_Lean_R",4.1,0,1,1,1,1); } else if(animationplayed == 11) { ApplyAnimationEx(playerid,"RYDER","VAN_PickUp_S",4.1,0,1,1,1,1); } else if(animationplayed == 12) { ApplyAnimationEx(playerid,"RYDER","Van_Stand",4.1,0,1,1,1,1); } else if(animationplayed == 13) { ApplyAnimationEx(playerid,"RYDER","Van_Stand_Crate",4.1,0,1,1,1,1); } else if(animationplayed == 14) { ApplyAnimationEx(playerid,"RYDER","Van_Throw",4.1,0,1,1,1,1); } return 1; } CMD:animscrat(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animscrat [1-12]"); return 1; } if(animationplayed < 1 || animationplayed > 12) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animscrat [1-12]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"SCRATCHING","scdldlp",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"SCRATCHING","scdlulp",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"SCRATCHING","scdrdlp",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"SCRATCHING","scdrulp",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"SCRATCHING","sclng_l",4.1,0,1,1,1,1); } else if(animationplayed == 6) { ApplyAnimationEx(playerid,"SCRATCHING","sclng_r",4.1,0,1,1,1,1); } else if(animationplayed == 7) { ApplyAnimationEx(playerid,"SCRATCHING","scmid_l",4.1,0,1,1,1,1); } else if(animationplayed == 8) { ApplyAnimationEx(playerid,"SCRATCHING","scmid_r",4.1,0,1,1,1,1); } else if(animationplayed == 9) { ApplyAnimationEx(playerid,"SCRATCHING","scshrtl",4.1,0,1,1,1,1); } else if(animationplayed == 10) { ApplyAnimationEx(playerid,"SCRATCHING","scshrtr",4.1,0,1,1,1,1); } else if(animationplayed == 11) { ApplyAnimationEx(playerid,"SCRATCHING","sc_ltor",4.1,0,1,1,1,1); } else if(animationplayed == 12) { ApplyAnimationEx(playerid,"SCRATCHING","sc_rtol",4.1,0,1,1,1,1); } return 1; } CMD:animshamal(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animshamal [1-4]"); return 1; } if(animationplayed < 1 || animationplayed > 4) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animshamal [1-4]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"SHAMAL","SHAMAL_align",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"SHAMAL","SHAMAL_getin_LHS",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"SHAMAL","SHAMAL_getout_LHS",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"SHAMAL","SHAMAL_open",4.1,0,1,1,1,1); } return 1; } CMD:animshop(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animshop [1-24]"); return 1; } if(animationplayed < 1 || animationplayed > 24) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animshop [1-24]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"SHOP","ROB_2Idle",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"SHOP","ROB_Loop",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"SHOP","donutdrop",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"SHOP","ROB_Loop_Threat",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"SHOP","ROB_Shifty",4.1,0,1,1,1,1); } else if(animationplayed == 6) { ApplyAnimationEx(playerid,"SHOP","ROB_StickUp_In",4.1,0,1,1,1,1); } else if(animationplayed == 7) { ApplyAnimationEx(playerid,"SHOP","SHP_Duck_Fire",4.1,0,1,1,1,1); } else if(animationplayed == 8) { ApplyAnimationEx(playerid,"SHOP","SHP_Gun_Aim",4.1,0,1,1,1,1); } else if(animationplayed == 9) { ApplyAnimationEx(playerid,"SHOP","SHP_Gun_Duck",4.1,0,1,1,1,1); } else if(animationplayed == 10) { ApplyAnimationEx(playerid,"SHOP","SHP_Gun_Fire",4.1,0,1,1,1,1); } else if(animationplayed == 11) { ApplyAnimationEx(playerid,"SHOP","SHP_Gun_Grab",4.1,0,1,1,1,1); } else if(animationplayed == 12) { ApplyAnimationEx(playerid,"SHOP","SHP_Gun_Threat",4.1,0,1,1,1,1); } else if(animationplayed == 13) { ApplyAnimationEx(playerid,"SHOP","SHP_HandsUp_Scr",4.1,0,1,1,1,1); } else if(animationplayed == 14) { ApplyAnimationEx(playerid,"SHOP","SHP_Jump_Glide",4.1,0,1,1,1,1); } else if(animationplayed == 15) { ApplyAnimationEx(playerid,"SHOP","SHP_Jump_Land",4.1,0,1,1,1,1); } else if(animationplayed == 16) { ApplyAnimationEx(playerid,"SHOP","SHP_Jump_Launch",4.1,0,1,1,1,1); } else if(animationplayed == 17) { ApplyAnimationEx(playerid,"SHOP","SHP_Rob_GiveCash",4.1,0,1,1,1,1); } else if(animationplayed == 18) { ApplyAnimationEx(playerid,"SHOP","SHP_Rob_HandsUp",4.1,0,1,1,1,1); } else if(animationplayed == 19) { ApplyAnimationEx(playerid,"SHOP","SHP_Rob_React",4.1,0,1,1,1,1); } else if(animationplayed == 20) { ApplyAnimationEx(playerid,"SHOP","SHP_Serve_End",4.1,0,1,1,1,1); } else if(animationplayed == 21) { ApplyAnimationEx(playerid,"SHOP","SHP_Serve_Idle",4.1,0,1,1,1,1); } else if(animationplayed == 22) { ApplyAnimationEx(playerid,"SHOP","SHP_Serve_Loop",4.1,0,1,1,1,1); } else if(animationplayed == 23) { ApplyAnimationEx(playerid,"SHOP","SHP_Serve_Start",4.1,0,1,1,1,1); } else if(animationplayed == 24) { ApplyAnimationEx(playerid,"SHOP","Smoke_RYD",4.1,0,1,1,1,1); } return 1; } CMD:animshotgun(playerid, params[]) { if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animshotgun [1-3]"); return 1; } if(animationplayed < 1 || animationplayed > 3) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animshotgun [1-3]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"SHOTGUN","shotgun_crouchfire",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"SHOTGUN","shotgun_fire",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"SHOTGUN","shotgun_fire_poor",4.1,0,1,1,1,1); } return 1; } return true; } CMD:animskate(playerid, params[]) { if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animskate [1-3]"); return 1; } if(animationplayed < 1 || animationplayed > 3) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animskate [1-3]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"SKATE","skate_idle",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"SKATE","skate_run",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"SKATE","skate_sprint",4.1,0,1,1,1,1); } return 1; } return true; } CMD:animvortex(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animvortex [1-4]"); return 1; } if(animationplayed < 1 || animationplayed > 4) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animvortex [1-4]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"VORTEX","CAR_jumpin_LHS",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"VORTEX","CAR_jumpin_RHS",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"VORTEX","vortex_getout_LHS",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"VORTEX","vortex_getout_RHS",4.1,0,1,1,1,1); } return 1; } CMD:animtec(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animtec [1-4]"); return 1; } if(animationplayed < 1 || animationplayed > 4) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animtec [1-4]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"TEC","TEC_crouchfire",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"TEC","TEC_crouchreload",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"TEC","TEC_fire",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"TEC","TEC_reload",4.1,0,1,1,1,1); } return 1; } CMD:animtrain(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animtrain [1-4]"); return 1; } if(animationplayed < 1 || animationplayed > 4) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animtrain [1-4]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"TRAIN","tran_gtup",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"TRAIN","tran_hng",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"TRAIN","tran_ouch",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"TRAIN","tran_stmb",4.1,0,1,1,1,1); } return 1; } CMD:animsil(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animsil [1-4]"); return 1; } if(animationplayed < 1 || animationplayed > 4) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animsil [1-4]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"SILENCED","CrouchReload",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"SILENCED","SilenceCrouchfire",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"SILENCED","Silence_fire",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"SILENCED","Silence_reload",4.1,0,1,1,1,1); } return 1; } CMD:animtattoo(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animtattoo [1-56]"); return 1; } if(animationplayed < 1 || animationplayed > 56) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animtattoo [1-56]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"TATTOOS","TAT_ArmL_In_O",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"TATTOOS","TAT_ArmL_In_P",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"TATTOOS","TAT_ArmL_In_T",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"TATTOOS","TAT_ArmL_Out_O",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"TATTOOS","TA_ArmL_Out_P",4.1,0,1,1,1,1); } else if(animationplayed == 6) { ApplyAnimationEx(playerid,"TATTOOS","TAT_ArmL_Out_T",4.1,0,1,1,1,1); } else if(animationplayed == 7) { ApplyAnimationEx(playerid,"TATTOOS","TAT_ArmL_Pose_O",4.1,0,1,1,1,1); } else if(animationplayed == 8) { ApplyAnimationEx(playerid,"TATTOOS","TAT_ArmL_Pose_P",4.1,0,1,1,1,1); } else if(animationplayed == 9) { ApplyAnimationEx(playerid,"TATTOOS","TAT_ArmL_Pose_T",4.1,0,1,1,1,1); } else if(animationplayed == 10) { ApplyAnimationEx(playerid,"TATTOOS","TAT_ArmR_In_O",4.1,0,1,1,1,1); } else if(animationplayed == 11) { ApplyAnimationEx(playerid,"TATTOOS","TAT_ArmR_In_P",4.1,0,1,1,1,1); } else if(animationplayed == 12) { ApplyAnimationEx(playerid,"TATTOOS","TAT_ArmR_In_T",4.1,0,1,1,1,1); } else if(animationplayed == 13) { ApplyAnimationEx(playerid,"TATTOOS","TAT_ArmR_Out_O",4.1,0,1,1,1,1); } else if(animationplayed == 14) { ApplyAnimationEx(playerid,"TATTOOS","TAT_ArmR_Out_P",4.1,0,1,1,1,1); } else if(animationplayed == 15) { ApplyAnimationEx(playerid,"TATTOOS","TAT_ArmR_Out_T",4.1,0,1,1,1,1); } else if(animationplayed == 16) { ApplyAnimationEx(playerid,"TATTOOS","TAT_ArmR_Pose_O",4.1,0,1,1,1,1); } else if(animationplayed == 17) { ApplyAnimationEx(playerid,"TATTOOS","TAT_ArmR_Pose_P",4.1,0,1,1,1,1); } else if(animationplayed == 18) { ApplyAnimationEx(playerid,"TATTOOS","TAT_ArmR_Pose_T",4.1,0,1,1,1,1); } else if(animationplayed == 19) { ApplyAnimationEx(playerid,"TATTOOS","TAT_Back_In_O",4.1,0,1,1,1,1); } else if(animationplayed == 20) { ApplyAnimationEx(playerid,"TATTOOS","TAT_Back_In_P",4.1,0,1,1,1,1); } else if(animationplayed == 21) { ApplyAnimationEx(playerid,"TATTOOS","TAT_Back_In_T",4.1,0,1,1,1,1); } else if(animationplayed == 22) { ApplyAnimationEx(playerid,"TATTOOS","TAT_Back_Out_O",4.1,0,1,1,1,1); } else if(animationplayed == 23) { ApplyAnimationEx(playerid,"TATTOOS","TAT_Back_Out_P",4.1,0,1,1,1,1); } else if(animationplayed == 24) { ApplyAnimationEx(playerid,"TATTOOS","TAT_Back_Out_T",4.1,0,1,1,1,1); } else if(animationplayed == 25) { ApplyAnimationEx(playerid,"TATTOOS","TAT_Back_Pose_O",4.1,0,1,1,1,1); } else if(animationplayed == 26) { ApplyAnimationEx(playerid,"TATTOOS","TAT_Back_Pose_P",4.1,0,1,1,1,1); } else if(animationplayed == 27) { ApplyAnimationEx(playerid,"TATTOOS","TAT_Back_Pose_T",4.1,0,1,1,1,1); } else if(animationplayed == 28) { ApplyAnimationEx(playerid,"TATTOOS","TAT_Back_Sit_In_P",4.1,0,1,1,1,1); } else if(animationplayed == 29) { ApplyAnimationEx(playerid,"TATTOOS","TAT_Back_Sit_Loop_P",4.1,0,1,1,1,1); } else if(animationplayed == 30) { ApplyAnimationEx(playerid,"TATTOOS","TAT_Back_Sit_Out_P",4.1,0,1,1,1,1); } else if(animationplayed == 31) { ApplyAnimationEx(playerid,"TATTOOS","TAT_Bel_In_O",4.1,0,1,1,1,1); } else if(animationplayed == 32) { ApplyAnimationEx(playerid,"TATTOOS","TAT_Bel_In_T",4.1,0,1,1,1,1); } else if(animationplayed == 33) { ApplyAnimationEx(playerid,"TATTOOS","TAT_Bel_Out_O",4.1,0,1,1,1,1); } else if(animationplayed == 34) { ApplyAnimationEx(playerid,"TATTOOS","TAT_Bel_Out_T",4.1,0,1,1,1,1); } else if(animationplayed == 35) { ApplyAnimationEx(playerid,"TATTOOS","TAT_Bel_Pose_O",4.1,0,1,1,1,1); } else if(animationplayed == 36) { ApplyAnimationEx(playerid,"TATTOOS","TAT_Bel_Pose_T",4.1,0,1,1,1,1); } else if(animationplayed == 37) { ApplyAnimationEx(playerid,"TATTOOS","TAT_Che_In_O",4.1,0,1,1,1,1); } else if(animationplayed == 38) { ApplyAnimationEx(playerid,"TATTOOS","Sit_relaxed",4.1,0,1,1,1,1); } else if(animationplayed == 39) { ApplyAnimationEx(playerid,"TATTOOS","TAT_Che_In_P",4.1,0,1,1,1,1); } else if(animationplayed == 40) { ApplyAnimationEx(playerid,"TATTOOS","TAT_Che_In_T",4.1,0,1,1,1,1); } else if(animationplayed == 41) { ApplyAnimationEx(playerid,"TATTOOS","TAT_Che_Out_O",4.1,0,1,1,1,1); } else if(animationplayed == 41) { ApplyAnimationEx(playerid,"TATTOOS","TAT_Che_Out_P",4.1,0,1,1,1,1); } else if(animationplayed == 42) { ApplyAnimationEx(playerid,"TATTOOS","TAT_Che_Out_T",4.1,0,1,1,1,1); } else if(animationplayed == 43) { ApplyAnimationEx(playerid,"TATTOOS","TAT_Che_Pose_O",4.1,0,1,1,1,1); } else if(animationplayed == 44) { ApplyAnimationEx(playerid,"TATTOOS","TAT_Che_Pose_P",4.1,0,1,1,1,1); } else if(animationplayed == 45) { ApplyAnimationEx(playerid,"TATTOOS","TAT_Che_Pose_T",4.1,0,1,1,1,1); } else if(animationplayed == 46) { ApplyAnimationEx(playerid,"TATTOOS","TAT_Idle_Loop_O",4.1,0,1,1,1,1); } else if(animationplayed == 47) { ApplyAnimationEx(playerid,"TATTOOS","TAT_Idle_Loop_T",4.1,0,1,1,1,1); } else if(animationplayed == 48) { ApplyAnimationEx(playerid,"TATTOOS","TAT_Sit_In_O",4.1,0,1,1,1,1); } else if(animationplayed == 49) { ApplyAnimationEx(playerid,"TATTOOS","TAT_Sit_In_P",4.1,0,1,1,1,1); } else if(animationplayed == 50) { ApplyAnimationEx(playerid,"TATTOOS","TAT_Sit_In_T",4.1,0,1,1,1,1); } else if(animationplayed == 51) { ApplyAnimationEx(playerid,"TATTOOS","TAT_Sit_Loop_O",4.1,0,1,1,1,1); } else if(animationplayed == 52) { ApplyAnimationEx(playerid,"TATTOOS","TAT_Sit_Loop_P",4.1,0,1,1,1,1); } else if(animationplayed == 53) { ApplyAnimationEx(playerid,"TATTOOS","TAT_Sit_Loop_T",4.1,0,1,1,1,1); } else if(animationplayed == 54) { ApplyAnimationEx(playerid,"TATTOOS","TAT_Sit_Out_O",4.1,0,1,1,1,1); } else if(animationplayed == 55) { ApplyAnimationEx(playerid,"TATTOOS","TAT_Sit_Out_P",4.1,0,1,1,1,1); } else if(animationplayed == 56) { ApplyAnimationEx(playerid,"TATTOOS","TAT_Sit_Out_T",4.1,0,1,1,1,1); } return 1; } CMD:animsmoking(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animsmoking [1-8]"); return 1; } if(animationplayed < 1 || animationplayed > 8) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animsmoking [1-8]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"SMOKING","F_smklean_loop",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"SMOKING","M_smklean_loop",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"SMOKING","M_smkstnd_loop",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"SMOKING","M_smk_drag",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"SMOKING","M_smk_in",4.1,0,1,1,1,1); } else if(animationplayed == 6) { ApplyAnimationEx(playerid,"SMOKING","M_smk_loop",4.1,0,1,1,1,1); } else if(animationplayed == 7) { ApplyAnimationEx(playerid,"SMOKING","M_smk_out",4.1,0,1,1,1,1); } else if(animationplayed == 8) { ApplyAnimationEx(playerid,"SMOKING","M_smk_tap",4.1,0,1,1,1,1); } return 1; } CMD:animsniper(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animsniper [1-1]"); return 1; } if(animationplayed < 1 || animationplayed > 1) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animsniper [1-1]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"SNIPER","WEAPON_sniper",4.1,0,1,1,1,1); } return 1; } CMD:animspray(playerid, params[]) { if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animspray [1-2]"); return 1; } if(animationplayed < 1 || animationplayed > 2) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animspray [1-2]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"SPRAYCAN","spraycan_fire",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"SPRAYCAN","spraycan_full",4.1,0,1,1,1,1); } return 1; } return true; } CMD:animstrip(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animstrip [1-20]"); return 1; } if(animationplayed < 1 || animationplayed > 20) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animstrip [1-20]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"STRIP","PLY_CASH",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"STRIP","PUN_CASH",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"STRIP","PUN_HOLLER",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"STRIP","PUN_LOOP",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"STRIP","strip_A",4.1,0,1,1,1,1); } else if(animationplayed == 6) { ApplyAnimationEx(playerid,"STRIP","strip_B",4.1,0,1,1,1,1); } else if(animationplayed == 7) { ApplyAnimationEx(playerid,"STRIP","strip_C",4.1,0,1,1,1,1); } else if(animationplayed == 8) { ApplyAnimationEx(playerid,"STRIP","strip_D",4.1,0,1,1,1,1); } else if(animationplayed == 9) { ApplyAnimationEx(playerid,"STRIP","strip_E",4.1,0,1,1,1,1); } else if(animationplayed == 10) { ApplyAnimationEx(playerid,"STRIP","strip_F",4.1,0,1,1,1,1); } else if(animationplayed == 11) { ApplyAnimationEx(playerid,"STRIP","strip_G",4.1,0,1,1,1,1); } else if(animationplayed == 12) { ApplyAnimationEx(playerid,"STRIP","STR_A2B",4.1,0,1,1,1,1); } else if(animationplayed == 13) { ApplyAnimationEx(playerid,"STRIP","STR_B2A",4.1,0,1,1,1,1); } else if(animationplayed == 14) { ApplyAnimationEx(playerid,"STRIP","STR_B2C",4.1,0,1,1,1,1); } else if(animationplayed == 15) { ApplyAnimationEx(playerid,"STRIP","STR_C1",4.1,0,1,1,1,1); } else if(animationplayed == 16) { ApplyAnimationEx(playerid,"STRIP","STR_C2",4.1,0,1,1,1,1); } else if(animationplayed == 17) { ApplyAnimationEx(playerid,"STRIP","STR_C2B",4.1,0,1,1,1,1); } else if(animationplayed == 18) { ApplyAnimationEx(playerid,"STRIP","STR_Loop_A",4.1,0,1,1,1,1); } else if(animationplayed == 19) { ApplyAnimationEx(playerid,"STRIP","STR_Loop_B",4.1,0,1,1,1,1); } else if(animationplayed == 20) { ApplyAnimationEx(playerid,"STRIP","STR_Loop_C",4.1,0,1,1,1,1); } return 1; } CMD:animbath(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animbath [1-17]"); return 1; } if(animationplayed < 1 || animationplayed > 18) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animbath [1-17]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"SUNBATHE","batherdown",4.1,0,1,1,1,1); } else if(animationplayed == 1) { ApplyAnimationEx(playerid,"SUNBATHE","batherup",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"SUNBATHE","Lay_Bac_in",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"SUNBATHE","Lay_Bac_out",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"SUNBATHE","ParkSit_M_IdleA",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"SUNBATHE","ParkSit_M_IdleB",4.1,0,1,1,1,1); } else if(animationplayed == 6) { ApplyAnimationEx(playerid,"SUNBATHE","ParkSit_M_IdleC",4.1,0,1,1,1,1); } else if(animationplayed == 7) { ApplyAnimationEx(playerid,"SUNBATHE","ParkSit_M_in",4.1,0,1,1,1,1); } else if(animationplayed == 8) { ApplyAnimationEx(playerid,"SUNBATHE","ParkSit_M_out",4.1,0,1,1,1,1); } else if(animationplayed == 9) { ApplyAnimationEx(playerid,"SUNBATHE","ParkSit_W_idleA",4.1,0,1,1,1,1); } else if(animationplayed == 10) { ApplyAnimationEx(playerid,"SUNBATHE","ParkSit_W_idleB",4.1,0,1,1,1,1); } else if(animationplayed == 11) { ApplyAnimationEx(playerid,"SUNBATHE","ParkSit_W_idleC",4.1,0,1,1,1,1); } else if(animationplayed == 12) { ApplyAnimationEx(playerid,"SUNBATHE","ParkSit_W_in",4.1,0,1,1,1,1); } else if(animationplayed == 13) { ApplyAnimationEx(playerid,"SUNBATHE","ParkSit_W_out",4.1,0,1,1,1,1); } else if(animationplayed == 14) { ApplyAnimationEx(playerid,"SUNBATHE","SBATHE_F_LieB2Sit",4.1,0,1,1,1,1); } else if(animationplayed == 15) { ApplyAnimationEx(playerid,"SUNBATHE","SBATHE_F_Out",4.1,0,1,1,1,1); } else if(animationplayed == 16) { ApplyAnimationEx(playerid,"SUNBATHE","SitnWait_in_W",4.1,0,1,1,1,1); } else if(animationplayed == 17) { ApplyAnimationEx(playerid,"SUNBATHE","SitnWait_out_W",4.1,0,1,1,1,1); } return 1; } CMD:animswat(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animswat [1-24]"); return 1; } if(animationplayed < 1 || animationplayed > 24) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animswat [1-24]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"SWAT","gnstwall_injurd",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"SWAT","JMP_Wall1m_180",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"SWAT","Rail_fall",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"SWAT","Rail_fall_crawl",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"SWAT","swt_breach_01",4.1,0,1,1,1,1); } else if(animationplayed == 6) { ApplyAnimationEx(playerid,"SWAT","cards_pick_02",4.1,0,1,1,1,1); } else if(animationplayed == 7) { ApplyAnimationEx(playerid,"SWAT","swt_breach_02",4.1,0,1,1,1,1); } else if(animationplayed == 8) { ApplyAnimationEx(playerid,"SWAT","swt_breach_03",4.1,0,1,1,1,1); } else if(animationplayed == 9) { ApplyAnimationEx(playerid,"SWAT","swt_go",4.1,0,1,1,1,1); } else if(animationplayed == 10) { ApplyAnimationEx(playerid,"SWAT","swt_lkt",4.1,0,1,1,1,1); } else if(animationplayed == 11) { ApplyAnimationEx(playerid,"SWAT","swt_sty",4.1,0,1,1,1,1); } else if(animationplayed == 12) { ApplyAnimationEx(playerid,"SWAT","swt_vent_01",4.1,0,1,1,1,1); } else if(animationplayed == 13) { ApplyAnimationEx(playerid,"SWAT","swt_vent_02",4.1,0,1,1,1,1); } else if(animationplayed == 14) { ApplyAnimationEx(playerid,"SWAT","swt_vnt_sht_die",4.1,0,1,1,1,1); } else if(animationplayed == 15) { ApplyAnimationEx(playerid,"SWAT","swt_vnt_sht_in",4.1,0,1,1,1,1); } else if(animationplayed == 16) { ApplyAnimationEx(playerid,"SWAT","swt_vnt_sht_loop",4.1,0,1,1,1,1); } else if(animationplayed == 17) { ApplyAnimationEx(playerid,"SWAT","swt_wllpk_L",4.1,0,1,1,1,1); } else if(animationplayed == 18) { ApplyAnimationEx(playerid,"SWAT","swt_wllpk_L_back",4.1,0,1,1,1,1); } else if(animationplayed == 19) { ApplyAnimationEx(playerid,"SWAT","swt_wllpk_R",4.1,0,1,1,1,1); } else if(animationplayed == 20) { ApplyAnimationEx(playerid,"SWAT","swt_wllpk_R_back",4.1,0,1,1,1,1); } else if(animationplayed == 21) { ApplyAnimationEx(playerid,"SWAT","swt_wllshoot_in_L",4.1,0,1,1,1,1); } else if(animationplayed == 22) { ApplyAnimationEx(playerid,"SWAT","swt_wllshoot_in_R",4.1,0,1,1,1,1); } else if(animationplayed == 23) { ApplyAnimationEx(playerid,"SWAT","swt_wllshoot_out_L",4.1,0,1,1,1,1); } else if(animationplayed == 24) { ApplyAnimationEx(playerid,"SWAT","swt_wllshoot_out_R",4.1,0,1,1,1,1); } return 1; } CMD:animsweet(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animsweet [1-7]"); return 1; } if(animationplayed < 1 || animationplayed > 7) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animsweet [1-7]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"SWEET","ho_ass_slapped",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"SWEET","LaFin_Player",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"SWEET","LaFin_Sweet",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"SWEET","plyr_hndshldr_01",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"SWEET","sweet_ass_slap",4.1,0,1,1,1,1); } else if(animationplayed == 6) { ApplyAnimationEx(playerid,"SWEET","sweet_hndshldr_01",4.1,0,1,1,1,1); } else if(animationplayed == 7) { ApplyAnimationEx(playerid,"SWEET","Sweet_injuredloop",4.1,0,1,1,1,1); } return 1; } CMD:animswim(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animswim [1-7]"); return 1; } if(animationplayed < 1 || animationplayed > 7) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animswim [1-7]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"SWIM","Swim_Breast",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"SWIM","SWIM_crawl",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"SWIM","Swim_Dive_Under",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"SWIM","Swim_Glide",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"SWIM","Swim_jumpout",4.1,0,1,1,1,1); } else if(animationplayed == 6) { ApplyAnimationEx(playerid,"SWIM","Swim_Tread",4.1,0,1,1,1,1); } else if(animationplayed == 7) { ApplyAnimationEx(playerid,"SWIM","Swim_Under",4.1,0,1,1,1,1); } return 1; } CMD:animsword(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animsword [1-10]"); return 1; } if(animationplayed < 1 || animationplayed > 10) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animsword [1-10]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"SWORD","sword_1",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"SWORD","sword_2",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"SWORD","sword_3",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"SWORD","sword_4",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"SWORD","sword_block",4.1,0,1,1,1,1); } else if(animationplayed == 6) { ApplyAnimationEx(playerid,"SWORD","Sword_Hit_1",4.1,0,1,1,1,1); } else if(animationplayed == 7) { ApplyAnimationEx(playerid,"SWORD","Sword_Hit_2",4.1,0,1,1,1,1); } else if(animationplayed == 8) { ApplyAnimationEx(playerid,"SWORD","Sword_Hit_3",4.1,0,1,1,1,1); } else if(animationplayed == 9) { ApplyAnimationEx(playerid,"SWORD","sword_IDLE",4.1,0,1,1,1,1); } else if(animationplayed == 10) { ApplyAnimationEx(playerid,"SWORD","sword_part",4.1,0,1,1,1,1); } return 1; } CMD:animtank(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animtank [1-6]"); return 1; } if(animationplayed < 1 || animationplayed > 6) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animtank [1-6]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"TANK","TANK_align_LHS",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"TANK","TANK_close_LHS",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"TANK","TANK_doorlocked",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"TANK","TANK_getin_LHS",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"TANK","TANK_getout_LHS",4.1,0,1,1,1,1); } else if(animationplayed == 6) { ApplyAnimationEx(playerid,"TANK","TANK_open_LHS",4.1,0,1,1,1,1); } return 1; } CMD:animtruck(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animtruck [1-17]"); return 1; } if(animationplayed < 1 || animationplayed > 17) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animtruck [1-17]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"TRUCK","TRUCK_ALIGN_LHS",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"TRUCK","TRUCK_ALIGN_RHS",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"TRUCK","TRUCK_closedoor_LHS",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"TRUCK","TRUCK_closedoor_RHS",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"TRUCK","TRUCK_close_LHS",4.1,0,1,1,1,1); } else if(animationplayed == 6) { ApplyAnimationEx(playerid,"TRUCK","TRUCK_close_RHS",4.1,0,1,1,1,1); } else if(animationplayed == 7) { ApplyAnimationEx(playerid,"TRUCK","TRUCK_getin_LHS",4.1,0,1,1,1,1); } else if(animationplayed == 8) { ApplyAnimationEx(playerid,"TRUCK","TRUCK_getin_RHS",4.1,0,1,1,1,1); } else if(animationplayed == 9) { ApplyAnimationEx(playerid,"TRUCK","TRUCK_getout_LHS",4.1,0,1,1,1,1); } else if(animationplayed == 10) { ApplyAnimationEx(playerid,"TRUCK","TRUCK_getout_RHS",4.1,0,1,1,1,1); } else if(animationplayed == 11) { ApplyAnimationEx(playerid,"TRUCK","TRUCK_jackedLHS",4.1,0,1,1,1,1); } else if(animationplayed == 12) { ApplyAnimationEx(playerid,"TRUCK","TRUCK_jackedRHS",4.1,0,1,1,1,1); } else if(animationplayed == 13) { ApplyAnimationEx(playerid,"TRUCK","TRUCK_open_LHS",4.1,0,1,1,1,1); } else if(animationplayed == 14) { ApplyAnimationEx(playerid,"TRUCK","TRUCK_open_RHS",4.1,0,1,1,1,1); } else if(animationplayed == 15) { ApplyAnimationEx(playerid,"TRUCK","TRUCK_pullout_LHS",4.1,0,1,1,1,1); } else if(animationplayed == 16) { ApplyAnimationEx(playerid,"TRUCK","TRUCK_pullout_RHS",4.1,0,1,1,1,1); } else if(animationplayed == 17) { ApplyAnimationEx(playerid,"TRUCK","TRUCK_Shuffle",4.1,0,1,1,1,1); } return 1; } CMD:animuzi(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animuzi [1-5]"); return 1; } if(animationplayed < 1 || animationplayed > 5) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animuzi [1-5]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"UZI","UZI_crouchfire",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"UZI","UZI_crouchreload",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"UZI","UZI_fire",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"UZI","UZI_fire_poor",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"UZI","UZI_reload",4.1,0,1,1,1,1); } return 1; } CMD:animvan(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animvan [1-8]"); return 1; } if(animationplayed < 1 || animationplayed > 8) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animvan [1-8]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"VAN","VAN_close_back_LHS",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"VAN","VAN_close_back_RHS",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"VAN","VAN_getin_Back_LHS",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"VAN","VAN_getin_Back_RHS",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"VAN","VAN_getout_back_LHS",4.1,0,1,1,1,1); } else if(animationplayed == 6) { ApplyAnimationEx(playerid,"VAN","VAN_getout_back_RHS",4.1,0,1,1,1,1); } else if(animationplayed == 7) { ApplyAnimationEx(playerid,"VAN","VAN_open_back_LHS",4.1,0,1,1,1,1); } else if(animationplayed == 8) { ApplyAnimationEx(playerid,"VAN","VAN_open_back_RHS",4.1,0,1,1,1,1); } return 1; } CMD:animvending(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animvending [1-6]"); return 1; } if(animationplayed < 1 || animationplayed > 6) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animvending [1-6]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"VENDING","VEND_Drink2_P",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"VENDING","VEND_Drink_P",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"VENDING","vend_eat1_P",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"VENDING","VEND_Eat_P",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"VENDING","VEND_Use",4.1,0,1,1,1,1); } else if(animationplayed == 6) { ApplyAnimationEx(playerid,"VENDING","VEND_Use_pt2",4.1,0,1,1,1,1); } return 1; } CMD:animway(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animway [1-17]"); return 1; } if(animationplayed < 1 || animationplayed > 17) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animway [1-17]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"WAYFARER","WF_Back",4.1,0,1,1,1,1); } else if(animationplayed == 1) { ApplyAnimationEx(playerid,"WAYFARER","WF_drivebyFT",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"WAYFARER","WF_drivebyLHS",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"WAYFARER","WF_drivebyRHS",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"WAYFARER","WF_Fwd",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"WAYFARER","WF_getoffBACK",4.1,0,1,1,1,1); } else if(animationplayed == 6) { ApplyAnimationEx(playerid,"WAYFARER","WF_getoffLHS",4.1,0,1,1,1,1); } else if(animationplayed == 7) { ApplyAnimationEx(playerid,"WAYFARER","WF_getoffRHS",4.1,0,1,1,1,1); } else if(animationplayed == 8) { ApplyAnimationEx(playerid,"WAYFARER","WF_hit",4.1,0,1,1,1,1); } else if(animationplayed == 9) { ApplyAnimationEx(playerid,"WAYFARER","WF_jumponL",4.1,0,1,1,1,1); } else if(animationplayed == 10) { ApplyAnimationEx(playerid,"WAYFARER","WF_jumponR",4.1,0,1,1,1,1); } else if(animationplayed == 11) { ApplyAnimationEx(playerid,"WAYFARER","WF_kick",4.1,0,1,1,1,1); } else if(animationplayed == 12) { ApplyAnimationEx(playerid,"WAYFARER","WF_Left",4.1,0,1,1,1,1); } else if(animationplayed == 13) { ApplyAnimationEx(playerid,"WAYFARER","WF_passenger",4.1,0,1,1,1,1); } else if(animationplayed == 14) { ApplyAnimationEx(playerid,"WAYFARER","WF_pushes",4.1,0,1,1,1,1); } else if(animationplayed == 15) { ApplyAnimationEx(playerid,"WAYFARER","WF_Ride",4.1,0,1,1,1,1); } else if(animationplayed == 16) { ApplyAnimationEx(playerid,"WAYFARER","WF_Right",4.1,0,1,1,1,1); } else if(animationplayed == 17) { ApplyAnimationEx(playerid,"WAYFARER","WF_Still",4.1,0,1,1,1,1); } return 1; } CMD:animweap(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animweap [1-17]"); return 1; } if(animationplayed < 1 || animationplayed > 17) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animweap [1-17]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"WEAPONS","SHP_1H_Lift",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"WEAPONS","SHP_1H_Lift_End",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"WEAPONS","SHP_1H_Ret",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"WEAPONS","SHP_1H_Ret_S",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"WEAPONS","SHP_2H_Lift",4.1,0,1,1,1,1); } else if(animationplayed == 6) { ApplyAnimationEx(playerid,"WEAPONS","SHP_2H_Lift_End",4.1,0,1,1,1,1); } else if(animationplayed == 7) { ApplyAnimationEx(playerid,"WEAPONS","SHP_2H_Ret",4.1,0,1,1,1,1); } else if(animationplayed == 8) { ApplyAnimationEx(playerid,"WEAPONS","SHP_2H_Ret_S",4.1,0,1,1,1,1); } else if(animationplayed == 9) { ApplyAnimationEx(playerid,"WEAPONS","SHP_Ar_Lift",4.1,0,1,1,1,1); } else if(animationplayed == 10) { ApplyAnimationEx(playerid,"WEAPONS","SHP_Ar_Lift_End",4.1,0,1,1,1,1); } else if(animationplayed == 11) { ApplyAnimationEx(playerid,"WEAPONS","SHP_Ar_Ret",4.1,0,1,1,1,1); } else if(animationplayed == 12) { ApplyAnimationEx(playerid,"WEAPONS","SHP_Ar_Ret_S",4.1,0,1,1,1,1); } else if(animationplayed == 13) { ApplyAnimationEx(playerid,"WEAPONS","SHP_G_Lift_In",4.1,0,1,1,1,1); } else if(animationplayed == 14) { ApplyAnimationEx(playerid,"WEAPONS","SHP_G_Lift_Out",4.1,0,1,1,1,1); } else if(animationplayed == 15) { ApplyAnimationEx(playerid,"WEAPONS","SHP_Tray_In",4.1,0,1,1,1,1); } else if(animationplayed == 16) { ApplyAnimationEx(playerid,"WEAPONS","SHP_Tray_Out",4.1,0,1,1,1,1); } else if(animationplayed == 17) { ApplyAnimationEx(playerid,"WEAPONS","SHP_Tray_Pose",4.1,0,1,1,1,1); } return 1; } CMD:animwuzi(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animwuzi [1-12]"); return 1; } if(animationplayed < 1 || animationplayed > 12) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animwuzi [1-12]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"WUZI","CS_Dead_Guy",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"WUZI","CS_Plyr_pt1",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"WUZI","CS_Plyr_pt2",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"WUZI","CS_Wuzi_pt1",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"WUZI","CS_Wuzi_pt2",4.1,0,1,1,1,1); } else if(animationplayed == 6) { ApplyAnimationEx(playerid,"WUZI","Walkstart_Idle_01",4.1,0,1,1,1,1); } else if(animationplayed == 7) { ApplyAnimationEx(playerid,"WUZI","Wuzi_follow",4.1,0,1,1,1,1); } else if(animationplayed == 8) { ApplyAnimationEx(playerid,"WUZI","Wuzi_Greet_Plyr",4.1,0,1,1,1,1); } else if(animationplayed == 9) { ApplyAnimationEx(playerid,"WUZI","Wuzi_Greet_Wuzi",4.1,0,1,1,1,1); } else if(animationplayed == 10) { ApplyAnimationEx(playerid,"WUZI","Wuzi_grnd_chk",4.1,0,1,1,1,1); } else if(animationplayed == 11) { ApplyAnimationEx(playerid,"WUZI","Wuzi_stand_loop",4.1,0,1,1,1,1); } else if(animationplayed == 12) { ApplyAnimationEx(playerid,"WUZI","Wuzi_Walk",4.1,0,1,1,1,1); } return 1; } CMD:animat(playerid, params[]) { if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animat [1-3]"); return 1; } if(animationplayed < 1 || animationplayed > 3) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animat [1-3]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"Attractors","Stepsit_in",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"Attractors","Stepsit_loop",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"Attractors","Stepsit_out",4.1,0,1,1,1,1); } return 1; } return true; } CMD:animairport(playerid, params[]) { if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animairport [1]"); return 1; } if(animationplayed < 1 || animationplayed > 1) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animairport [1]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"AIRPORT","thrw_barl_thrw",4.1,0,1,1,1,1); } return 1; } return true; } CMD:animped(playerid, params[]) { new animationplayed; if(sscanf(params, "d", animationplayed)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animped [1-295]"); return 1; } if(animationplayed < 1 || animationplayed > 295) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /animped [1-295]"); return 1; } if(animationplayed == 1) { ApplyAnimationEx(playerid,"PED","IDLE_CHAT",4.1,0,1,1,1,1); } else if(animationplayed == 2) { ApplyAnimationEx(playerid,"PED","WALK_DRUNK",4.1,0,1,1,1,1); } else if(animationplayed == 3) { ApplyAnimationEx(playerid,"PED","abseil",4.1,0,1,1,1,1); } else if(animationplayed == 4) { ApplyAnimationEx(playerid,"PED","ARRESTgun",4.1,0,1,1,1,1); } else if(animationplayed == 5) { ApplyAnimationEx(playerid,"PED","ATM",4.1,0,1,1,1,1); } else if(animationplayed == 6) { ApplyAnimationEx(playerid,"PED","BIKE_elbowL",4.1,0,1,1,1,1); } else if(animationplayed == 7) { ApplyAnimationEx(playerid,"PED","BIKE_fallR",4.1,0,1,1,1,1); } else if(animationplayed == 8) { ApplyAnimationEx(playerid,"PED","BIKE_fall_off",4.1,0,1,1,1,1); } else if(animationplayed == 9) { ApplyAnimationEx(playerid,"PED","BIKE_pickupL",4.1,0,1,1,1,1); } else if(animationplayed == 10) { ApplyAnimationEx(playerid,"PED","BIKE_pickupR",4.1,0,1,1,1,1); } else if(animationplayed == 11) { ApplyAnimationEx(playerid,"PED","BIKE_pullupL",4.1,0,1,1,1,1); } else if(animationplayed == 12) { ApplyAnimationEx(playerid,"PED","BIKE_pullupR",4.1,0,1,1,1,1); } else if(animationplayed == 13) { ApplyAnimationEx(playerid,"PED","bomber",4.1,0,1,1,1,1); } else if(animationplayed == 14) { ApplyAnimationEx(playerid,"PED","CAR_alignHI_LHS",4.1,0,1,1,1,1); } else if(animationplayed == 15) { ApplyAnimationEx(playerid,"PED","CAR_alignHI_RHS",4.1,0,1,1,1,1); } else if(animationplayed == 16) { ApplyAnimationEx(playerid,"PED","CAR_align_LHS",4.1,0,1,1,1,1); } else if(animationplayed == 17) { ApplyAnimationEx(playerid,"PED","CAR_align_RHS",4.1,0,1,1,1,1); } else if(animationplayed == 18) { ApplyAnimationEx(playerid,"PED","CAR_closedoorL_LHS",4.1,0,1,1,1,1); } else if(animationplayed == 19) { ApplyAnimationEx(playerid,"PED","CAR_closedoorL_RHS",4.1,0,1,1,1,1); } else if(animationplayed == 20) { ApplyAnimationEx(playerid,"PED","CAR_closedoor_LHS",4.1,0,1,1,1,1); } else if(animationplayed == 21) { ApplyAnimationEx(playerid,"PED","CAR_closedoor_RHS",4.1,0,1,1,1,1); } else if(animationplayed == 22) { ApplyAnimationEx(playerid,"PED","CAR_close_LHS",4.1,0,1,1,1,1); } else if(animationplayed == 23) { ApplyAnimationEx(playerid,"PED","CAR_crawloutRHS",4.1,0,1,1,1,1); } else if(animationplayed == 24) { ApplyAnimationEx(playerid,"PED","CAR_dead_LHS",4.1,0,1,1,1,1); } else if(animationplayed == 25) { ApplyAnimationEx(playerid,"PED","CAR_dead_RHS",4.1,0,1,1,1,1); } else if(animationplayed == 26) { ApplyAnimationEx(playerid,"PED","CAR_doorlocked_LHS",4.1,0,1,1,1,1); } else if(animationplayed == 27) { ApplyAnimationEx(playerid,"PED","CAR_fallout_LHS",4.1,0,1,1,1,1); } else if(animationplayed == 28) { ApplyAnimationEx(playerid,"PED","CAR_fallout_RHS",4.1,0,1,1,1,1); } else if(animationplayed == 29) { ApplyAnimationEx(playerid,"PED","CAR_getinL_LHS",4.1,0,1,1,1,1); } else if(animationplayed == 30) { ApplyAnimationEx(playerid,"PED","CAR_getinL_RHS",4.1,0,1,1,1,1); } else if(animationplayed == 31) { ApplyAnimationEx(playerid,"PED","CAR_getin_LHS",4.1,0,1,1,1,1); } else if(animationplayed == 32) { ApplyAnimationEx(playerid,"PED","CAR_getin_RHS",4.1,0,1,1,1,1); } else if(animationplayed == 33) { ApplyAnimationEx(playerid,"PED","CAR_getoutL_LHS",4.1,0,1,1,1,1); } else if(animationplayed == 34) { ApplyAnimationEx(playerid,"PED","CAR_getout_LHS",4.1,0,1,1,1,1); } else if(animationplayed == 35) { ApplyAnimationEx(playerid,"PED","CAR_getout_RHS",4.1,0,1,1,1,1); } else if(animationplayed == 36) { ApplyAnimationEx(playerid,"PED","car_hookertalk",4.1,0,1,1,1,1); } else if(animationplayed == 37) { ApplyAnimationEx(playerid,"PED","CAR_jackedLHS",4.1,0,1,1,1,1); } else if(animationplayed == 38) { ApplyAnimationEx(playerid,"PED","CAR_jackedRHS",4.1,0,1,1,1,1); } else if(animationplayed == 39) { ApplyAnimationEx(playerid,"PED","CAR_jumpin_LHS",4.1,0,1,1,1,1); } else if(animationplayed == 40) { ApplyAnimationEx(playerid,"PED","CAR_LB",4.1,0,1,1,1,1); } else if(animationplayed == 41) { ApplyAnimationEx(playerid,"PED","CAR_LB_pro",4.1,0,1,1,1,1); } else if(animationplayed == 42) { ApplyAnimationEx(playerid,"PED","CAR_LB_weak",4.1,0,1,1,1,1); } else if(animationplayed == 43) { ApplyAnimationEx(playerid,"PED","CAR_LjackedLHS",4.1,0,1,1,1,1); } else if(animationplayed == 44) { ApplyAnimationEx(playerid,"PED","CAR_Lshuffle_RHS",4.1,0,1,1,1,1); } else if(animationplayed == 45) { ApplyAnimationEx(playerid,"PED","CAR_Lsit",4.1,0,1,1,1,1); } else if(animationplayed == 46) { ApplyAnimationEx(playerid,"PED","CAR_open_LHS",4.1,0,1,1,1,1); } else if(animationplayed == 47) { ApplyAnimationEx(playerid,"PED","CAR_open_RHS",4.1,0,1,1,1,1); } else if(animationplayed == 49) { ApplyAnimationEx(playerid,"PED","CAR_pulloutL_LHS",4.1,0,1,1,1,1); } else if(animationplayed == 50) { ApplyAnimationEx(playerid,"PED","CAR_pulloutL_RHS",4.1,0,1,1,1,1); } else if(animationplayed == 51) { ApplyAnimationEx(playerid,"PED","CAR_pullout_LHS",4.1,0,1,1,1,1); } else if(animationplayed == 52) { ApplyAnimationEx(playerid,"PED","CAR_pullout_RHS",4.1,0,1,1,1,1); } else if(animationplayed == 53) { ApplyAnimationEx(playerid,"PED","CAR_Qjacked",4.1,0,1,1,1,1); } else if(animationplayed == 54) { ApplyAnimationEx(playerid,"PED","CAR_rolldoor",4.1,0,1,1,1,1); } else if(animationplayed == 55) { ApplyAnimationEx(playerid,"PED","CAR_rolldoorLO",4.1,0,1,1,1,1); } else if(animationplayed == 56) { ApplyAnimationEx(playerid,"PED","CAR_rollout_LHS",4.1,0,1,1,1,1); } else if(animationplayed == 57) { ApplyAnimationEx(playerid,"PED","CAR_rollout_RHS",4.1,0,1,1,1,1); } else if(animationplayed == 58) { ApplyAnimationEx(playerid,"PED","CAR_shuffle_RHS",4.1,0,1,1,1,1); } else if(animationplayed == 59) { ApplyAnimationEx(playerid,"PED","CAR_sit",4.1,0,1,1,1,1); } else if(animationplayed == 60) { ApplyAnimationEx(playerid,"PED","CAR_sitp",4.1,0,1,1,1,1); } else if(animationplayed == 61) { ApplyAnimationEx(playerid,"PED","CAR_sitpLO",4.1,0,1,1,1,1); } else if(animationplayed == 62) { ApplyAnimationEx(playerid,"PED","CAR_sit_pro",4.1,0,1,1,1,1); } else if(animationplayed == 63) { ApplyAnimationEx(playerid,"PED","CAR_sit_weak",4.1,0,1,1,1,1); } else if(animationplayed == 64) { ApplyAnimationEx(playerid,"PED","CAR_tune_radio",4.1,0,1,1,1,1); } else if(animationplayed == 65) { ApplyAnimationEx(playerid,"PED","CLIMB_idle",4.1,0,1,1,1,1); } else if(animationplayed == 66) { ApplyAnimationEx(playerid,"PED","CLIMB_jump",4.1,0,1,1,1,1); } else if(animationplayed == 67) { ApplyAnimationEx(playerid,"PED","CLIMB_jump2fall",4.1,0,1,1,1,1); } else if(animationplayed == 68) { ApplyAnimationEx(playerid,"PED","CLIMB_jump_B",4.1,0,1,1,1,1); } else if(animationplayed == 69) { ApplyAnimationEx(playerid,"PED","CLIMB_Pull",4.1,0,1,1,1,1); } else if(animationplayed == 70) { ApplyAnimationEx(playerid,"PED","CLIMB_Stand",4.1,0,1,1,1,1); } else if(animationplayed == 71) { ApplyAnimationEx(playerid,"PED","CLIMB_Stand_finish",4.1,0,1,1,1,1); } else if(animationplayed == 72) { ApplyAnimationEx(playerid,"PED","cower",4.1,0,1,1,1,1); } else if(animationplayed == 73) { ApplyAnimationEx(playerid,"PED","Crouch_Roll_L",4.1,0,1,1,1,1); } else if(animationplayed == 74) { ApplyAnimationEx(playerid,"PED","Crouch_Roll_R",4.1,0,1,1,1,1); } else if(animationplayed == 75) { ApplyAnimationEx(playerid,"PED","DAM_armL_frmBK",4.1,0,1,1,1,1); } else if(animationplayed == 76) { ApplyAnimationEx(playerid,"PED","DAM_armL_frmFT",4.1,0,1,1,1,1); } else if(animationplayed == 77) { ApplyAnimationEx(playerid,"PED","DAM_armL_frmLT",4.1,0,1,1,1,1); } else if(animationplayed == 78) { ApplyAnimationEx(playerid,"PED","DAM_armR_frmBK",4.1,0,1,1,1,1); } else if(animationplayed == 79) { ApplyAnimationEx(playerid,"PED","DAM_armR_frmFT",4.1,0,1,1,1,1); } else if(animationplayed == 80) { ApplyAnimationEx(playerid,"PED","DAM_armR_frmRT",4.1,0,1,1,1,1); } else if(animationplayed == 81) { ApplyAnimationEx(playerid,"PED","DAM_LegL_frmBK",4.1,0,1,1,1,1); } else if(animationplayed == 82) { ApplyAnimationEx(playerid,"PED","DAM_LegL_frmFT",4.1,0,1,1,1,1); } else if(animationplayed == 83) { ApplyAnimationEx(playerid,"PED","DAM_LegL_frmLT",4.1,0,1,1,1,1); } else if(animationplayed == 84) { ApplyAnimationEx(playerid,"PED","DAM_LegR_frmBK",4.1,0,1,1,1,1); } else if(animationplayed == 85) { ApplyAnimationEx(playerid,"PED","DAM_LegR_frmFT",4.1,0,1,1,1,1); } else if(animationplayed == 86) { ApplyAnimationEx(playerid,"PED","DAM_LegR_frmRT",4.1,0,1,1,1,1); } else if(animationplayed == 87) { ApplyAnimationEx(playerid,"PED","DAM_stomach_frmBK",4.1,0,1,1,1,1); } else if(animationplayed == 88) { ApplyAnimationEx(playerid,"PED","DAM_stomach_frmFT",4.1,0,1,1,1,1); } else if(animationplayed == 89) { ApplyAnimationEx(playerid,"PED","DAM_stomach_frmLT",4.1,0,1,1,1,1); } else if(animationplayed == 90) { ApplyAnimationEx(playerid,"PED","DAM_stomach_frmRT",4.1,0,1,1,1,1); } else if(animationplayed == 91) { ApplyAnimationEx(playerid,"PED","DOOR_LHinge_O",4.1,0,1,1,1,1); } else if(animationplayed == 92) { ApplyAnimationEx(playerid,"PED","DOOR_RHinge_O",4.1,0,1,1,1,1); } else if(animationplayed == 93) { ApplyAnimationEx(playerid,"PED","DrivebyL_L",4.1,0,1,1,1,1); } else if(animationplayed == 94) { ApplyAnimationEx(playerid,"PED","DrivebyL_R",4.1,0,1,1,1,1); } else if(animationplayed == 95) { ApplyAnimationEx(playerid,"PED","Driveby_L",4.1,0,1,1,1,1); } else if(animationplayed == 96) { ApplyAnimationEx(playerid,"PED","Driveby_R",4.1,0,1,1,1,1); } else if(animationplayed == 97) { ApplyAnimationEx(playerid,"PED","DRIVE_BOAT",4.1,0,1,1,1,1); } else if(animationplayed == 98) { ApplyAnimationEx(playerid,"PED","DRIVE_BOAT_back",4.1,0,1,1,1,1); } else if(animationplayed == 99) { ApplyAnimationEx(playerid,"PED","DRIVE_BOAT_L",4.1,0,1,1,1,1); } else if(animationplayed == 100) { ApplyAnimationEx(playerid,"PED","DRIVE_BOAT_R",4.1,0,1,1,1,1); } else if(animationplayed == 101) { ApplyAnimationEx(playerid,"PED","Drive_L",4.1,0,1,1,1,1); } else if(animationplayed == 102) { ApplyAnimationEx(playerid,"PED","Drive_LO_l",4.1,0,1,1,1,1); } else if(animationplayed == 103) { ApplyAnimationEx(playerid,"PED","Drive_LO_R",4.1,0,1,1,1,1); } else if(animationplayed == 104) { ApplyAnimationEx(playerid,"PED","Drive_L_pro",4.1,0,1,1,1,1); } else if(animationplayed == 105) { ApplyAnimationEx(playerid,"PED","Drive_L_pro_slow",4.1,0,1,1,1,1); } else if(animationplayed == 106) { ApplyAnimationEx(playerid,"PED","Drive_L_slow",4.1,0,1,1,1,1); } else if(animationplayed == 107) { ApplyAnimationEx(playerid,"PED","Drive_L_weak",4.1,0,1,1,1,1); } else if(animationplayed == 108) { ApplyAnimationEx(playerid,"PED","Drive_L_weak_slow",4.1,0,1,1,1,1); } else if(animationplayed == 109) { ApplyAnimationEx(playerid,"PED","Drive_R",4.1,0,1,1,1,1); } else if(animationplayed == 110) { ApplyAnimationEx(playerid,"PED","Drive_R_pro",4.1,0,1,1,1,1); } else if(animationplayed == 111) { ApplyAnimationEx(playerid,"PED","Drive_R_pro_slow",4.1,0,1,1,1,1); } else if(animationplayed == 112) { ApplyAnimationEx(playerid,"PED","Drive_R_slow",4.1,0,1,1,1,1); } else if(animationplayed == 113) { ApplyAnimationEx(playerid,"PED","Drive_R_weak",4.1,0,1,1,1,1); } else if(animationplayed == 114) { ApplyAnimationEx(playerid,"PED","Drive_R_weak_slow",4.1,0,1,1,1,1); } else if(animationplayed == 115) { ApplyAnimationEx(playerid,"PED","Drive_truck",4.1,0,1,1,1,1); } else if(animationplayed == 116) { ApplyAnimationEx(playerid,"PED","DRIVE_truck_back",4.1,0,1,1,1,1); } else if(animationplayed == 117) { ApplyAnimationEx(playerid,"PED","DRIVE_truck_L",4.1,0,1,1,1,1); } else if(animationplayed == 118) { ApplyAnimationEx(playerid,"PED","DRIVE_truck_R",4.1,0,1,1,1,1); } else if(animationplayed == 119) { ApplyAnimationEx(playerid,"PED","Drown",4.1,0,1,1,1,1); } else if(animationplayed == 120) { ApplyAnimationEx(playerid,"PED","DUCK_cower",4.1,0,1,1,1,1); } else if(animationplayed == 121) { ApplyAnimationEx(playerid,"PED","endchat_01",4.1,0,1,1,1,1); } else if(animationplayed == 122) { ApplyAnimationEx(playerid,"PED","endchat_02",4.1,0,1,1,1,1); } else if(animationplayed == 123) { ApplyAnimationEx(playerid,"PED","endchat_03",4.1,0,1,1,1,1); } else if(animationplayed == 124) { ApplyAnimationEx(playerid,"PED","DRIVE_truck_back",4.1,0,1,1,1,1); } else if(animationplayed == 125) { ApplyAnimationEx(playerid,"PED","DRIVE_truck_back",4.1,0,1,1,1,1); } else if(animationplayed == 126) { ApplyAnimationEx(playerid,"PED","EV_dive",4.1,0,1,1,1,1); } else if(animationplayed == 127) { ApplyAnimationEx(playerid,"PED","EV_step",4.1,0,1,1,1,1); } else if(animationplayed == 128) { ApplyAnimationEx(playerid,"PED","facanger",4.1,0,1,1,1,1); } else if(animationplayed == 129) { ApplyAnimationEx(playerid,"PED","facanger",4.1,0,1,1,1,1); } else if(animationplayed == 130) { ApplyAnimationEx(playerid,"PED","facgum",4.1,0,1,1,1,1); } else if(animationplayed == 131) { ApplyAnimationEx(playerid,"PED","facsurp",4.1,0,1,1,1,1); } else if(animationplayed == 132) { ApplyAnimationEx(playerid,"PED","facsurpm",4.1,0,1,1,1,1); } else if(animationplayed == 133) { ApplyAnimationEx(playerid,"PED","factalk",4.1,0,1,1,1,1); } else if(animationplayed == 134) { ApplyAnimationEx(playerid,"PED","facurios",4.1,0,1,1,1,1); } else if(animationplayed == 135) { ApplyAnimationEx(playerid,"PED","FALL_back",4.1,0,1,1,1,1); } else if(animationplayed == 136) { ApplyAnimationEx(playerid,"PED","FALL_collapse",4.1,0,1,1,1,1); } else if(animationplayed == 137) { ApplyAnimationEx(playerid,"PED","FALL_fall",4.1,0,1,1,1,1); } else if(animationplayed == 138) { ApplyAnimationEx(playerid,"PED","FALL_front",4.1,0,1,1,1,1); } else if(animationplayed == 139) { ApplyAnimationEx(playerid,"PED","FALL_glide",4.1,0,1,1,1,1); } else if(animationplayed == 140) { ApplyAnimationEx(playerid,"PED","FALL_land",4.1,0,1,1,1,1); } else if(animationplayed == 141) { ApplyAnimationEx(playerid,"PED","FALL_skyDive",4.1,0,1,1,1,1); } else if(animationplayed == 142) { ApplyAnimationEx(playerid,"PED","Fight2Idle",4.1,0,1,1,1,1); } else if(animationplayed == 143) { ApplyAnimationEx(playerid,"PED","FightA_1",4.1,0,1,1,1,1); } else if(animationplayed == 144) { ApplyAnimationEx(playerid,"PED","FightA_2",4.1,0,1,1,1,1); } else if(animationplayed == 145) { ApplyAnimationEx(playerid,"PED","FightA_3",4.1,0,1,1,1,1); } else if(animationplayed == 146) { ApplyAnimationEx(playerid,"PED","FightA_block",4.1,0,1,1,1,1); } else if(animationplayed == 147) { ApplyAnimationEx(playerid,"PED","FightA_G",4.1,0,1,1,1,1); } else if(animationplayed == 148) { ApplyAnimationEx(playerid,"PED","FightA_M",4.1,0,1,1,1,1); } else if(animationplayed == 149) { ApplyAnimationEx(playerid,"PED","FIGHTIDLE",4.1,0,1,1,1,1); } else if(animationplayed == 150) { ApplyAnimationEx(playerid,"PED","FightShB",4.1,0,1,1,1,1); } else if(animationplayed == 151) { ApplyAnimationEx(playerid,"PED","FightShF",4.1,0,1,1,1,1); } else if(animationplayed == 152) { ApplyAnimationEx(playerid,"PED","FightSh_BWD",4.1,0,1,1,1,1); } else if(animationplayed == 153) { ApplyAnimationEx(playerid,"PED","FightSh_FWD",4.1,0,1,1,1,1); } else if(animationplayed == 154) { ApplyAnimationEx(playerid,"PED","FightSh_Left",4.1,0,1,1,1,1); } else if(animationplayed == 155) { ApplyAnimationEx(playerid,"PED","FightSh_Right",4.1,0,1,1,1,1); } else if(animationplayed == 156) { ApplyAnimationEx(playerid,"PED","flee_lkaround_01",4.1,0,1,1,1,1); } else if(animationplayed == 157) { ApplyAnimationEx(playerid,"PED","FLOOR_hit",4.1,0,1,1,1,1); } else if(animationplayed == 158) { ApplyAnimationEx(playerid,"PED","FLOOR_hit_f",4.1,0,1,1,1,1); } else if(animationplayed == 159) { ApplyAnimationEx(playerid,"PED","fucku",4.1,0,1,1,1,1); } else if(animationplayed == 160) { ApplyAnimationEx(playerid,"PED","gang_gunstand",4.1,0,1,1,1,1); } else if(animationplayed == 161) { ApplyAnimationEx(playerid,"PED","gas_cwr",4.1,0,1,1,1,1); } else if(animationplayed == 162) { ApplyAnimationEx(playerid,"PED","getup",4.1,0,1,1,1,1); } else if(animationplayed == 163) { ApplyAnimationEx(playerid,"PED","getup_front",4.1,0,1,1,1,1); } else if(animationplayed == 164) { ApplyAnimationEx(playerid,"PED","gum_eat",4.1,0,1,1,1,1); } else if(animationplayed == 165) { ApplyAnimationEx(playerid,"PED","GunCrouchBwd",4.1,0,1,1,1,1); } else if(animationplayed == 166) { ApplyAnimationEx(playerid,"PED","GunCrouchFwd",4.1,0,1,1,1,1); } else if(animationplayed == 167) { ApplyAnimationEx(playerid,"PED","GunMove_BWD",4.1,0,1,1,1,1); } else if(animationplayed == 168) { ApplyAnimationEx(playerid,"PED","GunMove_FWD",4.1,0,1,1,1,1); } else if(animationplayed == 169) { ApplyAnimationEx(playerid,"PED","GunMove_L",4.1,0,1,1,1,1); } else if(animationplayed == 170) { ApplyAnimationEx(playerid,"PED","GunMove_R",4.1,0,1,1,1,1); } else if(animationplayed == 171) { ApplyAnimationEx(playerid,"PED","Gun_2_IDLE",4.1,0,1,1,1,1); } else if(animationplayed == 172) { ApplyAnimationEx(playerid,"PED","GUN_BUTT",4.1,0,1,1,1,1); } else if(animationplayed == 173) { ApplyAnimationEx(playerid,"PED","GUN_BUTT_crouch",4.1,0,1,1,1,1); } else if(animationplayed == 174) { ApplyAnimationEx(playerid,"PED","Gun_stand",4.1,0,1,1,1,1); } else if(animationplayed == 175) { ApplyAnimationEx(playerid,"PED","handscower",4.1,0,1,1,1,1); } else if(animationplayed == 176) { ApplyAnimationEx(playerid,"PED","handsup",4.1,0,1,1,1,1); } else if(animationplayed == 177) { ApplyAnimationEx(playerid,"PED","HitA_1",4.1,0,1,1,1,1); } else if(animationplayed == 178) { ApplyAnimationEx(playerid,"PED","HitA_2",4.1,0,1,1,1,1); } else if(animationplayed == 179) { ApplyAnimationEx(playerid,"PED","HitA_3",4.1,0,1,1,1,1); } else if(animationplayed == 180) { ApplyAnimationEx(playerid,"PED","HIT_back",4.1,0,1,1,1,1); } else if(animationplayed == 181) { ApplyAnimationEx(playerid,"PED","HIT_behind",4.1,0,1,1,1,1); } else if(animationplayed == 182) { ApplyAnimationEx(playerid,"PED","HIT_front",4.1,0,1,1,1,1); } else if(animationplayed == 183) { ApplyAnimationEx(playerid,"PED","HIT_GUN_BUTT",4.1,0,1,1,1,1); } else if(animationplayed == 184) { ApplyAnimationEx(playerid,"PED","HIT_L",4.1,0,1,1,1,1); } else if(animationplayed == 185) { ApplyAnimationEx(playerid,"PED","HIT_R",4.1,0,1,1,1,1); } else if(animationplayed == 186) { ApplyAnimationEx(playerid,"PED","HIT_walk",4.1,0,1,1,1,1); } else if(animationplayed == 187) { ApplyAnimationEx(playerid,"PED","HIT_wall",4.1,0,1,1,1,1); } else if(animationplayed == 188) { ApplyAnimationEx(playerid,"PED","Idlestance_fat",4.1,0,1,1,1,1); } else if(animationplayed == 189) { ApplyAnimationEx(playerid,"PED","idlestance_old",4.1,0,1,1,1,1); } else if(animationplayed == 190) { ApplyAnimationEx(playerid,"PED","IDLE_armed",4.1,0,1,1,1,1); } else if(animationplayed == 191) { ApplyAnimationEx(playerid,"PED","IDLE_chat",4.1,0,1,1,1,1); } else if(animationplayed == 192) { ApplyAnimationEx(playerid,"PED","IDLE_csaw",4.1,0,1,1,1,1); } else if(animationplayed == 193) { ApplyAnimationEx(playerid,"PED","Idle_Gang1",4.1,0,1,1,1,1); } else if(animationplayed == 194) { ApplyAnimationEx(playerid,"PED","IDLE_HBHB",4.1,0,1,1,1,1); } else if(animationplayed == 195) { ApplyAnimationEx(playerid,"PED","IDLE_ROCKET",4.1,0,1,1,1,1); } else if(animationplayed == 196) { ApplyAnimationEx(playerid,"PED","IDLE_stance",4.1,0,1,1,1,1); } else if(animationplayed == 197) { ApplyAnimationEx(playerid,"PED","IDLE_taxi",4.1,0,1,1,1,1); } else if(animationplayed == 198) { ApplyAnimationEx(playerid,"PED","IDLE_tired",4.1,0,1,1,1,1); } else if(animationplayed == 199) { ApplyAnimationEx(playerid,"PED","Jetpack_Idle",4.1,0,1,1,1,1); } else if(animationplayed == 200) { ApplyAnimationEx(playerid,"PED","JOG_femaleA",4.1,0,1,1,1,1); } else if(animationplayed == 201) { ApplyAnimationEx(playerid,"PED","JOG_maleA",4.1,0,1,1,1,1); } else if(animationplayed == 202) { ApplyAnimationEx(playerid,"PED","JUMP_glide",4.1,0,1,1,1,1); } else if(animationplayed == 203) { ApplyAnimationEx(playerid,"PED","JUMP_land",4.1,0,1,1,1,1); } else if(animationplayed == 204) { ApplyAnimationEx(playerid,"PED","JUMP_launch",4.1,0,1,1,1,1); } else if(animationplayed == 205) { ApplyAnimationEx(playerid,"PED","JUMP_launch_R",4.1,0,1,1,1,1); } else if(animationplayed == 206) { ApplyAnimationEx(playerid,"PED","KART_drive",4.1,0,1,1,1,1); } else if(animationplayed == 207) { ApplyAnimationEx(playerid,"PED","KART_L",4.1,0,1,1,1,1); } else if(animationplayed == 208) { ApplyAnimationEx(playerid,"PED","KART_LB",4.1,0,1,1,1,1); } else if(animationplayed == 209) { ApplyAnimationEx(playerid,"PED","KART_R",4.1,0,1,1,1,1); } else if(animationplayed == 210) { ApplyAnimationEx(playerid,"PED","KD_left",4.1,0,1,1,1,1); } else if(animationplayed == 211) { ApplyAnimationEx(playerid,"PED","KD_right",4.1,0,1,1,1,1); } else if(animationplayed == 212) { ApplyAnimationEx(playerid,"PED","KO_shot_face",4.1,0,1,1,1,1); } else if(animationplayed == 213) { ApplyAnimationEx(playerid,"PED","KO_shot_front",4.1,0,1,1,1,1); } else if(animationplayed == 214) { ApplyAnimationEx(playerid,"PED","KO_shot_stom",4.1,0,1,1,1,1); } else if(animationplayed == 215) { ApplyAnimationEx(playerid,"PED","KO_skid_back",4.1,0,1,1,1,1); } else if(animationplayed == 216) { ApplyAnimationEx(playerid,"PED","KO_skid_front",4.1,0,1,1,1,1); } else if(animationplayed == 217) { ApplyAnimationEx(playerid,"PED","KO_spin_L",4.1,0,1,1,1,1); } else if(animationplayed == 218) { ApplyAnimationEx(playerid,"PED","KO_spin_R",4.1,0,1,1,1,1); } else if(animationplayed == 219) { ApplyAnimationEx(playerid,"PED","pass_Smoke_in_car",4.1,0,1,1,1,1); } else if(animationplayed == 220) { ApplyAnimationEx(playerid,"PED","phone_in",4.1,0,1,1,1,1); } else if(animationplayed == 221) { ApplyAnimationEx(playerid,"PED","phone_out",4.1,0,1,1,1,1); } else if(animationplayed == 222) { ApplyAnimationEx(playerid,"PED","phone_talk",4.1,0,1,1,1,1); } else if(animationplayed == 223) { ApplyAnimationEx(playerid,"PED","Player_Sneak",4.1,0,1,1,1,1); } else if(animationplayed == 224) { ApplyAnimationEx(playerid,"PED","Player_Sneak_walkstart",4.1,0,1,1,1,1); } else if(animationplayed == 225) { ApplyAnimationEx(playerid,"PED","roadcross",4.1,0,1,1,1,1); } else if(animationplayed == 226) { ApplyAnimationEx(playerid,"PED","roadcross_female",4.1,0,1,1,1,1); } else if(animationplayed == 227) { ApplyAnimationEx(playerid,"PED","roadcross_gang",4.1,0,1,1,1,1); } else if(animationplayed == 228) { ApplyAnimationEx(playerid,"PED","roadcross_old",4.1,0,1,1,1,1); } else if(animationplayed == 229) { ApplyAnimationEx(playerid,"PED","run_1armed",4.1,0,1,1,1,1); } else if(animationplayed == 230) { ApplyAnimationEx(playerid,"PED","run_armed",4.1,0,1,1,1,1); } else if(animationplayed == 231) { ApplyAnimationEx(playerid,"PED","run_civi",4.1,0,1,1,1,1); } else if(animationplayed == 232) { ApplyAnimationEx(playerid,"PED","run_csaw",4.1,0,1,1,1,1); } else if(animationplayed == 233) { ApplyAnimationEx(playerid,"PED","run_fat",4.1,0,1,1,1,1); } else if(animationplayed == 234) { ApplyAnimationEx(playerid,"PED","run_fatold",4.1,0,1,1,1,1); } else if(animationplayed == 235) { ApplyAnimationEx(playerid,"PED","run_gang1",4.1,0,1,1,1,1); } else if(animationplayed == 236) { ApplyAnimationEx(playerid,"PED","run_left",4.1,0,1,1,1,1); } else if(animationplayed == 237) { ApplyAnimationEx(playerid,"PED","run_old",4.1,0,1,1,1,1); } else if(animationplayed == 238) { ApplyAnimationEx(playerid,"PED","run_player",4.1,0,1,1,1,1); } else if(animationplayed == 239) { ApplyAnimationEx(playerid,"PED","run_right",4.1,0,1,1,1,1); } else if(animationplayed == 240) { ApplyAnimationEx(playerid,"PED","run_rocket",4.1,0,1,1,1,1); } else if(animationplayed == 241) { ApplyAnimationEx(playerid,"PED","Run_stop",4.1,0,1,1,1,1); } else if(animationplayed == 242) { ApplyAnimationEx(playerid,"PED","Run_stopR",4.1,0,1,1,1,1); } else if(animationplayed == 243) { ApplyAnimationEx(playerid,"PED","Run_Wuzi",4.1,0,1,1,1,1); } else if(animationplayed == 244) { ApplyAnimationEx(playerid,"PED","SEAT_down",4.1,0,1,1,1,1); } else if(animationplayed == 245) { ApplyAnimationEx(playerid,"PED","SEAT_idle",4.1,0,1,1,1,1); } else if(animationplayed == 246) { ApplyAnimationEx(playerid,"PED","SEAT_up",4.1,0,1,1,1,1); } else if(animationplayed == 247) { ApplyAnimationEx(playerid,"PED","SHOT_leftP",4.1,0,1,1,1,1); } else if(animationplayed == 248) { ApplyAnimationEx(playerid,"PED","SHOT_partial",4.1,0,1,1,1,1); } else if(animationplayed == 249) { ApplyAnimationEx(playerid,"PED","SHOT_partial_B",4.1,0,1,1,1,1); } else if(animationplayed == 250) { ApplyAnimationEx(playerid,"PED","SHOT_rightP",4.1,0,1,1,1,1); } else if(animationplayed == 251) { ApplyAnimationEx(playerid,"PED","Shove_Partial",4.1,0,1,1,1,1); } else if(animationplayed == 252) { ApplyAnimationEx(playerid,"PED","Smoke_in_car",4.1,0,1,1,1,1); } else if(animationplayed == 253) { ApplyAnimationEx(playerid,"PED","sprint_civi",4.1,0,1,1,1,1); } else if(animationplayed == 254) { ApplyAnimationEx(playerid,"PED","sprint_panic",4.1,0,1,1,1,1); } else if(animationplayed == 255) { ApplyAnimationEx(playerid,"PED","Sprint_Wuzi",4.1,0,1,1,1,1); } else if(animationplayed == 256) { ApplyAnimationEx(playerid,"PED","swat_run",4.1,0,1,1,1,1); } else if(animationplayed == 257) { ApplyAnimationEx(playerid,"PED","Swim_Tread",4.1,0,1,1,1,1); } else if(animationplayed == 258) { ApplyAnimationEx(playerid,"PED","Tap_hand",4.1,0,1,1,1,1); } else if(animationplayed == 259) { ApplyAnimationEx(playerid,"PED","Tap_handP",4.1,0,1,1,1,1); } else if(animationplayed == 260) { ApplyAnimationEx(playerid,"PED","turn_180",4.1,0,1,1,1,1); } else if(animationplayed == 261) { ApplyAnimationEx(playerid,"PED","Turn_L",4.1,0,1,1,1,1); } else if(animationplayed == 262) { ApplyAnimationEx(playerid,"PED","Turn_R",4.1,0,1,1,1,1); } else if(animationplayed == 263) { ApplyAnimationEx(playerid,"PED","WALK_armed",4.1,0,1,1,1,1); } else if(animationplayed == 264) { ApplyAnimationEx(playerid,"PED","WALK_civi",4.1,0,1,1,1,1); } else if(animationplayed == 265) { ApplyAnimationEx(playerid,"PED","WALK_csaw",4.1,0,1,1,1,1); } else if(animationplayed == 266) { ApplyAnimationEx(playerid,"PED","Walk_DoorPartial",4.1,0,1,1,1,1); } else if(animationplayed == 267) { ApplyAnimationEx(playerid,"PED","WALK_drunk",4.1,0,1,1,1,1); } else if(animationplayed == 268) { ApplyAnimationEx(playerid,"PED","WALK_fat",4.1,0,1,1,1,1); } else if(animationplayed == 269) { ApplyAnimationEx(playerid,"PED","WALK_fatold",4.1,0,1,1,1,1); } else if(animationplayed == 270) { ApplyAnimationEx(playerid,"PED","WALK_gang1",4.1,0,1,1,1,1); } else if(animationplayed == 271) { ApplyAnimationEx(playerid,"PED","WALK_gang2",4.1,0,1,1,1,1); } else if(animationplayed == 272) { ApplyAnimationEx(playerid,"PED","WALK_old",4.1,0,1,1,1,1); } else if(animationplayed == 273) { ApplyAnimationEx(playerid,"PED","WALK_player",4.1,0,1,1,1,1); } else if(animationplayed == 274) { ApplyAnimationEx(playerid,"PED","WALK_rocket",4.1,0,1,1,1,1); } else if(animationplayed == 275) { ApplyAnimationEx(playerid,"PED","WALK_shuffle",4.1,0,1,1,1,1); } else if(animationplayed == 276) { ApplyAnimationEx(playerid,"PED","WALK_start",4.1,0,1,1,1,1); } else if(animationplayed == 277) { ApplyAnimationEx(playerid,"PED","WALK_start_armed",4.1,0,1,1,1,1); } else if(animationplayed == 278) { ApplyAnimationEx(playerid,"PED","WALK_start_csaw",4.1,0,1,1,1,1); } else if(animationplayed == 279) { ApplyAnimationEx(playerid,"PED","WALK_start_rocket",4.1,0,1,1,1,1); } else if(animationplayed == 280) { ApplyAnimationEx(playerid,"PED","Walk_Wuzi",4.1,0,1,1,1,1); } else if(animationplayed == 281) { ApplyAnimationEx(playerid,"PED","WEAPON_crouch",4.1,0,1,1,1,1); } else if(animationplayed == 282) { ApplyAnimationEx(playerid,"PED","woman_idlestance",4.1,0,1,1,1,1); } else if(animationplayed == 283) { ApplyAnimationEx(playerid,"PED","woman_run",4.1,0,1,1,1,1); } else if(animationplayed == 284) { ApplyAnimationEx(playerid,"PED","WOMAN_runbusy",4.1,0,1,1,1,1); } else if(animationplayed == 285) { ApplyAnimationEx(playerid,"PED","WOMAN_runfatold",4.1,0,1,1,1,1); } else if(animationplayed == 286) { ApplyAnimationEx(playerid,"PED","woman_runpanic",4.1,0,1,1,1,1); } else if(animationplayed == 287) { ApplyAnimationEx(playerid,"PED","WOMAN_runsexy",4.1,0,1,1,1,1); } else if(animationplayed == 288) { ApplyAnimationEx(playerid,"PED","WOMAN_walkbusy",4.1,0,1,1,1,1); } else if(animationplayed == 289) { ApplyAnimationEx(playerid,"PED","WOMAN_walkfatold",4.1,0,1,1,1,1); } else if(animationplayed == 290) { ApplyAnimationEx(playerid,"PED","WOMAN_walknorm",4.1,0,1,1,1,1); } else if(animationplayed == 291) { ApplyAnimationEx(playerid,"PED","WOMAN_walkold",4.1,0,1,1,1,1); } else if(animationplayed == 292) { ApplyAnimationEx(playerid,"PED","WOMAN_walkpro",4.1,0,1,1,1,1); } else if(animationplayed == 293) { ApplyAnimationEx(playerid,"PED","WOMAN_walksexy",4.1,0,1,1,1,1); } else if(animationplayed == 294) { ApplyAnimationEx(playerid,"PED","WOMAN_walkshop",4.1,0,1,1,1,1); } else if(animationplayed == 295) { ApplyAnimationEx(playerid,"PED","XPRESSscratch",4.1,0,1,1,1,1); } return 1; } // ------------------------ Functions ------------------------ stock Elevator_Initialize() { // Initializes the elevator. Obj_Elevator = CreateDynamicObject(18755, 1786.678100, -1303.459472, GROUND_Z_COORD + ELEVATOR_OFFSET, 0.000000, 0.000000, 270.000000); Obj_ElevatorDoors[0] = CreateDynamicObject(18757, X_DOOR_CLOSED, -1303.459472, GROUND_Z_COORD, 0.000000, 0.000000, 270.000000); Obj_ElevatorDoors[1] = CreateDynamicObject(18756, X_DOOR_CLOSED, -1303.459472, GROUND_Z_COORD, 0.000000, 0.000000, 270.000000); Label_Elevator = Create3DTextLabel("{CCCCCC}Pressione '{FFFFFF}F{CCCCCC}' para usar o elevador", 0xCCCCCCAA, 1784.9822, -1302.0426, 13.6491, 10.0, 0); Elevator_Pickup = CreatePickup(1239,23,1784.9822, -1302.0426, 13.6491,-1); new string[256], Float:z; for(new i; i < sizeof(Obj_FloorDoors); i ++) { Obj_FloorDoors[i][0] = CreateDynamicObject(18757, X_DOOR_CLOSED, -1303.171142, GetDoorsZCoordForFloor(i), 0.000000, 0.000000, 270.000000); Obj_FloorDoors[i][1] = CreateDynamicObject(18756, X_DOOR_CLOSED, -1303.171142, GetDoorsZCoordForFloor(i), 0.000000, 0.000000, 270.000000); format(string, sizeof(string), "{CCCCCC}[%s]\n{CCCCCC}Pressione '{FFFFFF}F{CCCCCC}' para chamar o elevador", FloorNames[i]); if(i == 0) z = 13.4713; else z = 13.4713 + 8.7396 + ((i-1) * 5.45155); Label_Floors[i] = Create3DTextLabel(string, 0xCCCCCCAA, 1783.9799, -1300.7660, z, 10.5, 0); CreatePickup(1318,23,1783.9799, -1300.7660, z, -1); // Label_Elevator, Text3D:Label_Floors[21]; } // Open ground floor doors: Floor_OpenDoors(0); Elevator_OpenDoors(); return 1; } stock Elevator_Destroy() { // Destroys the elevator. DestroyDynamicObject(Obj_Elevator); DestroyDynamicObject(Obj_ElevatorDoors[0]); DestroyDynamicObject(Obj_ElevatorDoors[1]); DestroyDynamic3DTextLabel(Label_Elevator); for(new i; i < sizeof(Obj_FloorDoors); i ++) { DestroyDynamicObject(Obj_FloorDoors[i][0]); DestroyDynamicObject(Obj_FloorDoors[i][1]); DestroyDynamic3DTextLabel(Label_Floors[i]); } return 1; } stock Elevator_OpenDoors() { // Opens the elevator's doors. new Float:x, Float:y, Float:z; GetDynamicObjectPos(Obj_ElevatorDoors[0], x, y, z); MoveDynamicObject(Obj_ElevatorDoors[0], X_DOOR_L_OPENED, y, z, DOORS_SPEED); MoveDynamicObject(Obj_ElevatorDoors[1], X_DOOR_R_OPENED, y, z, DOORS_SPEED); return 1; } stock Elevator_CloseDoors() { // Closes the elevator's doors. if(ElevatorState == ELEVATOR_STATE_MOVING) return 0; new Float:x, Float:y, Float:z; GetDynamicObjectPos(Obj_ElevatorDoors[0], x, y, z); MoveDynamicObject(Obj_ElevatorDoors[0], X_DOOR_CLOSED, y, z, DOORS_SPEED); MoveDynamicObject(Obj_ElevatorDoors[1], X_DOOR_CLOSED, y, z, DOORS_SPEED); return 1; } stock Floor_OpenDoors(floorid) { // Opens the doors at the specified floor. MoveDynamicObject(Obj_FloorDoors[floorid][0], X_DOOR_L_OPENED, -1303.171142, GetDoorsZCoordForFloor(floorid), DOORS_SPEED); MoveDynamicObject(Obj_FloorDoors[floorid][1], X_DOOR_R_OPENED, -1303.171142, GetDoorsZCoordForFloor(floorid), DOORS_SPEED); PlaySoundForPlayersInRange(6401, 50.0, X_DOOR_CLOSED, -1303.171142, GetDoorsZCoordForFloor(floorid) + 5.0); return 1; } stock Floor_CloseDoors(floorid) { // Closes the doors at the specified floor. MoveDynamicObject(Obj_FloorDoors[floorid][0], X_DOOR_CLOSED, -1303.171142, GetDoorsZCoordForFloor(floorid), DOORS_SPEED); MoveDynamicObject(Obj_FloorDoors[floorid][1], X_DOOR_CLOSED, -1303.171142, GetDoorsZCoordForFloor(floorid), DOORS_SPEED); PlaySoundForPlayersInRange(6401, 50.0, X_DOOR_CLOSED, -1303.171142, GetDoorsZCoordForFloor(floorid) + 5.0); return 1; } stock Elevator_MoveToFloor(floorid) { // Moves the elevator to specified floor (doors are meant to be already closed). ElevatorState = ELEVATOR_STATE_MOVING; ElevatorFloor = floorid; // Move the elevator slowly, to give time to clients to sync the object surfing. Then, boost it up: MoveDynamicObject(Obj_Elevator, 1786.678100, -1303.459472, GetElevatorZCoordForFloor(floorid), 0.25); MoveDynamicObject(Obj_ElevatorDoors[0], X_DOOR_CLOSED, -1303.459472, GetDoorsZCoordForFloor(floorid), 0.25); MoveDynamicObject(Obj_ElevatorDoors[1], X_DOOR_CLOSED, -1303.459472, GetDoorsZCoordForFloor(floorid), 0.25); DestroyDynamic3DTextLabel(Label_Elevator); DestroyPickup(Elevator_Pickup); ElevatorBoostTimer = SetTimerEx("Elevator_Boost", 2000, 0, "i", floorid); return 1; } CallBack::Elevator_Boost(floorid) { // Increases the elevator's speed until it reaches 'floorid' StopDynamicObject(Obj_Elevator); StopDynamicObject(Obj_ElevatorDoors[0]); StopDynamicObject(Obj_ElevatorDoors[1]); MoveDynamicObject(Obj_Elevator, 1786.678100, -1303.459472, GetElevatorZCoordForFloor(floorid), ELEVATOR_SPEED); MoveDynamicObject(Obj_ElevatorDoors[0], X_DOOR_CLOSED, -1303.459472, GetDoorsZCoordForFloor(floorid), ELEVATOR_SPEED); MoveDynamicObject(Obj_ElevatorDoors[1], X_DOOR_CLOSED, -1303.459472, GetDoorsZCoordForFloor(floorid), ELEVATOR_SPEED); return 1; } CallBack::Elevator_TurnToIdle() { ElevatorState = ELEVATOR_STATE_IDLE; ReadNextFloorInQueue(); return 1; } stock RemoveFirstQueueFloor() { // Removes the data in ElevatorQueue[0], and reorders the queue accordingly. for(new i; i < sizeof(ElevatorQueue) - 1; i ++) ElevatorQueue[i] = ElevatorQueue[i + 1]; ElevatorQueue[sizeof(ElevatorQueue) - 1] = INVALID_FLOOR; return 1; } stock AddFloorToQueue(floorid) { // Adds 'floorid' at the end of the queue. // Scan for the first empty space: new slot = -1; for(new i; i < sizeof(ElevatorQueue); i ++) { if(ElevatorQueue[i] == INVALID_FLOOR) { slot = i; break; } } if(slot != -1) { ElevatorQueue[slot] = floorid; // If needed, move the elevator. if(ElevatorState == ELEVATOR_STATE_IDLE) ReadNextFloorInQueue(); return 1; } return 0; } stock ResetElevatorQueue() { // Resets the queue. for(new i; i < sizeof(ElevatorQueue); i ++) { ElevatorQueue[i] = INVALID_FLOOR; FloorRequestedBy[i] = INVALID_PLAYER_ID; } return 1; } stock IsFloorInQueue(floorid) { // Checks if the specified floor is currently part of the queue. for(new i; i < sizeof(ElevatorQueue); i ++) if(ElevatorQueue[i] == floorid) return 1; return 0; } stock ReadNextFloorInQueue() { // Reads the next floor in the queue, closes doors, and goes to it. if(ElevatorState != ELEVATOR_STATE_IDLE || ElevatorQueue[0] == INVALID_FLOOR) return 0; Elevator_CloseDoors(); Floor_CloseDoors(ElevatorFloor); return 1; } stock DidPlayerRequestElevator(playerid) { for(new i; i < sizeof(FloorRequestedBy); i ++) if(FloorRequestedBy[i] == playerid) return 1; return 0; } stock ShowElevatorDialog(playerid) { MEGAString[0] = EOS; for(new i; i < sizeof(ElevatorQueue); i ++) { if(FloorRequestedBy[i] != INVALID_PLAYER_ID) strcat(MEGAString, "{00FFFF}"); strcat(MEGAString, FloorNames[i]); strcat(MEGAString, "\n"); } ShowPlayerDialog(playerid, ELEVADOR_ID, DIALOG_STYLE_LIST, "Elevador", MEGAString, "Selecionar", "Cancelar"); return 1; } stock CallElevator(playerid, floorid) { // Calls the elevator (also used with the elevator dialog). if(FloorRequestedBy[floorid] != INVALID_PLAYER_ID || IsFloorInQueue(floorid)) return 0; FloorRequestedBy[floorid] = playerid; AddFloorToQueue(floorid); return 1; } public OnPlayerExitedMenu(playerid) { new Menu:Current = GetPlayerMenu(playerid); HideMenuForPlayer(Current, playerid); if(Current != TuningMenu) { ShowMenuForPlayer(TuningMenu, playerid); return true; } else { Controle(playerid, 1); SendClientMessage(playerid, COLOR_GRAD2,"Voce fechou o menu Tunning."); SetCameraBehindPlayer(playerid); TunningOn[playerid] = 0; TunC = -1; SetPlayerInterior(playerid,0); } return 1; } stock empmoney(playerid, empid, moneyy) { if(SBizzInfo[empid][sbProducts] <= 0) { GameTextForPlayer(playerid, "~r~falta produtos", 5000, 1); } if(SBizzInfo[empid][sbProducts] > 0) { ExtortionSBiz(empid, SBizzInfo[empid][sbEntranceCost]); SBizzInfo[empid][sbProducts]--; SBizzInfo[empid][sbTill] += moneyy; GiveDinheiro(playerid, -moneyy); } SalvarSEmpresa(empid); Atualizar3Dtexts(); new string[25]; format(string, sizeof string, "~g~R$~r~-%d", moneyy); GameTextForPlayer(playerid, string, 5000, 1); } public OnPlayerSelectedMenuRow(playerid, row) { new Menu: Current = GetPlayerMenu(playerid); if (Current == TuningMenu) { // SetPlayerCameraPos(playerid, 1780.1196, -1709.9355, -61.5949); // SetPlayerCameraLookAt(playerid, 1779.6116, -1710.7952, -61.9699); switch (row) { case 0: { ShowMenuForPlayer(Paintjobs, playerid); } case 1: { ShowMenuForPlayer(Colors, playerid); } case 2: { ShowMenuForPlayer(Exhausts, playerid); } case 3: { ShowMenuForPlayer(Frontbumper, playerid); } case 4: { ShowMenuForPlayer(Rearbumper, playerid); } case 5: { ShowMenuForPlayer(Roof, playerid); } case 6: { ShowMenuForPlayer(Spoilers, playerid); } case 7: { ShowMenuForPlayer(Sideskirts, playerid); } case 8: { ShowMenuForPlayer(Bullbars, playerid); } case 9: { ShowMenuForPlayer(Wheels, playerid); } case 10: { ShowMenuForPlayer(Carstereo, playerid); } case 11: { ShowMenuForPlayer(TuningMenu1, playerid); } } } if (Current == Paintjobs) { switch (row) { case 0: if (pmodelid[playerid] == 562 || pmodelid[playerid] == 565 || pmodelid[playerid] == 559 || pmodelid[playerid] == 561 || pmodelid[playerid] == 560 || pmodelid[playerid] == 575 || pmodelid[playerid] == 534 || // Broadway pmodelid[playerid] == 567 || pmodelid[playerid] == 483 || pmodelid[playerid] == 536 || pmodelid[playerid] == 535 || pmodelid[playerid] == 576 || pmodelid[playerid] == 558) { new car = GetPlayerVehicleID(playerid); ChangeVehiclePaintjob(car, 0); VehicleInfo[car][vPaintjob] = 0; vComponent[car][14] = 0; SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} paintjob{A9A9A9} ao veiculo"); ShowMenuForPlayer(Paintjobs, playerid); empmoney(playerid, 19, 500); } else { SendClientMessage(playerid, COLOR_GRAD1, "[AVISO] Voce nao pode adicionar isso."); ShowMenuForPlayer(TuningMenu, playerid); } case 1: if (pmodelid[playerid] == 562 || pmodelid[playerid] == 565 || pmodelid[playerid] == 559 || pmodelid[playerid] == 561 || pmodelid[playerid] == 560 || pmodelid[playerid] == 575 || pmodelid[playerid] == 534 || // Broadway pmodelid[playerid] == 567 || pmodelid[playerid] == 483 || pmodelid[playerid] == 536 || pmodelid[playerid] == 535 || pmodelid[playerid] == 576 || pmodelid[playerid] == 558) { new car = GetPlayerVehicleID(playerid); ChangeVehiclePaintjob(car, 1); VehicleInfo[car][vPaintjob] = 1; vComponent[car][14] = 1; SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} paintjob{A9A9A9} ao veiculo"); ShowMenuForPlayer(Paintjobs, playerid); empmoney(playerid, 19, 500); } else { SendClientMessage(playerid, COLOR_GRAD1, "[AVISO] Voce nao pode adicionar isso."); ShowMenuForPlayer(TuningMenu, playerid); } case 2: if (pmodelid[playerid] == 562 || pmodelid[playerid] == 565 || pmodelid[playerid] == 559 || pmodelid[playerid] == 561 || pmodelid[playerid] == 560 || pmodelid[playerid] == 575 || pmodelid[playerid] == 534 || // Broadway pmodelid[playerid] == 567 || pmodelid[playerid] == 483 || pmodelid[playerid] == 536 || pmodelid[playerid] == 535 || pmodelid[playerid] == 576 || pmodelid[playerid] == 558) { new car = GetPlayerVehicleID(playerid); ChangeVehiclePaintjob(car, 2); vComponent[car][14] = 2; VehicleInfo[car][vPaintjob] = 2; SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} paintjob{A9A9A9} ao veiculo"); ShowMenuForPlayer(Paintjobs, playerid); empmoney(playerid, 19, 500); } else { SendClientMessage(playerid, COLOR_GRAD1, "[AVISO] Voce nao pode adicionar isso."); ShowMenuForPlayer(TuningMenu, playerid); } case 3: if (pmodelid[playerid] == 562 || pmodelid[playerid] == 565 || pmodelid[playerid] == 559 || pmodelid[playerid] == 561 || pmodelid[playerid] == 560 || pmodelid[playerid] == 575 || pmodelid[playerid] == 534 || // Broadway pmodelid[playerid] == 567 || pmodelid[playerid] == 483 || pmodelid[playerid] == 536 || pmodelid[playerid] == 535 || pmodelid[playerid] == 576 || pmodelid[playerid] == 558) { new car = GetPlayerVehicleID(playerid); ChangeVehiclePaintjob(car, 3); vComponent[car][14] = 3; VehicleInfo[car][vPaintjob] = 3; SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} paintjob{A9A9A9} ao veiculo"); ShowMenuForPlayer(Paintjobs, playerid); empmoney(playerid, 19, 500); } else { SendClientMessage(playerid, COLOR_GRAD1, "[AVISO] Voce nao pode adicionar isso."); ShowMenuForPlayer(TuningMenu, playerid); } case 4: if (pmodelid[playerid] == 562 || pmodelid[playerid] == 565 || pmodelid[playerid] == 559 || pmodelid[playerid] == 561 || pmodelid[playerid] == 560 || pmodelid[playerid] == 575 || pmodelid[playerid] == 534 || // Broadway pmodelid[playerid] == 567 || pmodelid[playerid] == 483 || pmodelid[playerid] == 536 || pmodelid[playerid] == 535 || pmodelid[playerid] == 576 || pmodelid[playerid] == 558) { new car = GetPlayerVehicleID(playerid); ChangeVehiclePaintjob(car, 4); VehicleInfo[car][vPaintjob] = 4; vComponent[car][14] = 4; SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} paintjob{A9A9A9} ao veiculo"); ShowMenuForPlayer(Paintjobs, playerid); empmoney(playerid, 19, 500); } else { SendClientMessage(playerid, COLOR_GRAD1, "[AVISO] Voce nao pode adicionar isso."); ShowMenuForPlayer(TuningMenu, playerid); } case 5: { ShowMenuForPlayer(TuningMenu, playerid); } } } if (Current == Colors) { switch (row) { case 0: if (GetPlayerMoney(playerid) >= 1) { new car = GetPlayerVehicleID(playerid); ChangeVehicleColor(car, 0, 0); VehicleInfo[car][vColor1] = 0; VehicleInfo[car][vColor2] = 0; SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce {FFFF00}mudou a cor{A9A9A9} do seu veiculo."); ShowMenuForPlayer(Colors, playerid); empmoney(playerid, 19, 500); } else { SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao contem dinheiro."); ShowMenuForPlayer(TuningMenu, playerid); } case 1: if (GetPlayerMoney(playerid) >= 1) { new car = GetPlayerVehicleID(playerid); ChangeVehicleColor(car, 1, 1); VehicleInfo[car][vColor1] = 1; VehicleInfo[car][vColor2] = 1; SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce {FFFF00}mudou a cor{A9A9A9} do seu veiculo."); ShowMenuForPlayer(Colors, playerid); empmoney(playerid, 19, 500); } else { SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao contem dinheiro."); ShowMenuForPlayer(TuningMenu, playerid); } case 2: if (GetPlayerMoney(playerid) >= 1) { new car = GetPlayerVehicleID(playerid); ChangeVehicleColor(car, 3, 3); VehicleInfo[car][vColor1] = 3; VehicleInfo[car][vColor2] = 3; SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce {FFFF00}mudou a cor{A9A9A9} do seu veiculo."); ShowMenuForPlayer(Colors, playerid); empmoney(playerid, 19, 500); } else { SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao contem dinheiro."); ShowMenuForPlayer(TuningMenu, playerid); } case 3: if (GetPlayerMoney(playerid) >= 1) { new car = GetPlayerVehicleID(playerid); ChangeVehicleColor(car, 79, 79); VehicleInfo[car][vColor1] = 79; VehicleInfo[car][vColor2] = 79; SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce {FFFF00}mudou a cor{A9A9A9} do seu veiculo."); ShowMenuForPlayer(Colors, playerid); empmoney(playerid, 19, 500); } else { SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao contem dinheiro."); ShowMenuForPlayer(TuningMenu, playerid); } case 4: if (GetPlayerMoney(playerid) >= 1) { new car = GetPlayerVehicleID(playerid); ChangeVehicleColor(car, 86, 86); VehicleInfo[car][vColor1] = 86; VehicleInfo[car][vColor2] = 86; SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce {FFFF00}mudou a cor{A9A9A9} do seu veiculo."); ShowMenuForPlayer(Colors, playerid); empmoney(playerid, 19, 500); } else { SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao contem dinheiro."); ShowMenuForPlayer(TuningMenu, playerid); } case 5: if (GetPlayerMoney(playerid) >= 1) { new car = GetPlayerVehicleID(playerid); ChangeVehicleColor(car, 6, 6); VehicleInfo[car][vColor1] = 6; VehicleInfo[car][vColor2] = 6; SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce {FFFF00}mudou a cor{A9A9A9} do seu veiculo."); ShowMenuForPlayer(Colors, playerid); empmoney(playerid, 19, 500); } else { SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao contem dinheiro."); ShowMenuForPlayer(TuningMenu, playerid); } case 6: if (GetPlayerMoney(playerid) >= 1) { new car = GetPlayerVehicleID(playerid); ChangeVehicleColor(car, 126, 126); VehicleInfo[car][vColor1] = 126; VehicleInfo[car][vColor2] = 126; SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce {FFFF00}mudou a cor{A9A9A9} do seu veiculo."); ShowMenuForPlayer(Colors, playerid); empmoney(playerid, 19, 500); } else { SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao contem dinheiro."); ShowMenuForPlayer(TuningMenu, playerid); } case 7: if (GetPlayerMoney(playerid) >= 1) { new car = GetPlayerVehicleID(playerid); ChangeVehicleColor(car, 66, 66); VehicleInfo[car][vColor1] = 66; VehicleInfo[car][vColor2] = 66; SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce {FFFF00}mudou a cor{A9A9A9} do seu veiculo."); ShowMenuForPlayer(Colors, playerid); empmoney(playerid, 19, 500); } else { SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao contem dinheiro."); ShowMenuForPlayer(TuningMenu, playerid); } case 8: ShowMenuForPlayer(Colors1, playerid); } } if (Current == Colors1) { switch (row) { case 0: if (GetPlayerMoney(playerid) >= 1) { new car = GetPlayerVehicleID(playerid); ChangeVehicleColor(car, 24, 24); VehicleInfo[car][vColor1] = 24; VehicleInfo[car][vColor2] = 24; SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce {FFFF00}mudou a cor{A9A9A9} do seu veiculo."); ShowMenuForPlayer(Colors1, playerid); empmoney(playerid, 19, 500); } else { SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao contem dinheiro."); ShowMenuForPlayer(TuningMenu, playerid); } case 1: if (GetPlayerMoney(playerid) >= 1) { new car = GetPlayerVehicleID(playerid); ChangeVehicleColor(car, 123, 123); VehicleInfo[car][vColor1] = 123; VehicleInfo[car][vColor2] = 123; SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce {FFFF00}mudou a cor{A9A9A9} do seu veiculo."); ShowMenuForPlayer(Colors1, playerid); empmoney(playerid, 19, 500); } else { SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao contem dinheiro."); ShowMenuForPlayer(TuningMenu, playerid); } case 2: if (GetPlayerMoney(playerid) >= 1) { new car = GetPlayerVehicleID(playerid); ChangeVehicleColor(car, 53, 53); VehicleInfo[car][vColor1] = 53; VehicleInfo[car][vColor2] = 53; SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce {FFFF00}mudou a cor{A9A9A9} do seu veiculo."); ShowMenuForPlayer(Colors1, playerid); empmoney(playerid, 19, 500); } else { SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao contem dinheiro."); ShowMenuForPlayer(TuningMenu, playerid); } case 3: if (GetPlayerMoney(playerid) >= 1) { new car = GetPlayerVehicleID(playerid); ChangeVehicleColor(car, 93, 93); VehicleInfo[car][vColor1] = 93; VehicleInfo[car][vColor2] = 93; SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce {FFFF00}mudou a cor{A9A9A9} do seu veiculo."); ShowMenuForPlayer(Colors1, playerid); empmoney(playerid, 19, 500); } else { SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao contem dinheiro."); ShowMenuForPlayer(TuningMenu, playerid); } case 4: if (GetPlayerMoney(playerid) >= 1) { new car = GetPlayerVehicleID(playerid); ChangeVehicleColor(car, 83, 83); VehicleInfo[car][vColor1] = 83; VehicleInfo[car][vColor2] = 83; SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce {FFFF00}mudou a cor{A9A9A9} do seu veiculo."); ShowMenuForPlayer(Colors1, playerid); empmoney(playerid, 19, 500); } else { SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao contem dinheiro."); ShowMenuForPlayer(TuningMenu, playerid); } case 5: if (GetPlayerMoney(playerid) >= 1) { new car = GetPlayerVehicleID(playerid); ChangeVehicleColor(car, 60, 60); VehicleInfo[car][vColor1] = 60; VehicleInfo[car][vColor2] = 60; SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce {FFFF00}mudou a cor{A9A9A9} do seu veiculo."); ShowMenuForPlayer(Colors1, playerid); empmoney(playerid, 19, 500); } else { SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao contem dinheiro."); ShowMenuForPlayer(TuningMenu, playerid); } case 6: if (GetPlayerMoney(playerid) >= 1) { new car = GetPlayerVehicleID(playerid); ChangeVehicleColor(car, 126, 126); VehicleInfo[car][vColor1] = 126; VehicleInfo[car][vColor2] = 126; SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce {FFFF00}mudou a cor{A9A9A9} do seu veiculo."); ShowMenuForPlayer(Colors1, playerid); empmoney(playerid, 19, 500); } else { SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao contem dinheiro."); ShowMenuForPlayer(TuningMenu, playerid); } case 7: if (GetPlayerMoney(playerid) >= 1) { new car = GetPlayerVehicleID(playerid); ChangeVehicleColor(car, 110, 110); VehicleInfo[car][vColor1] = 110; VehicleInfo[car][vColor2] = 110; SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce {FFFF00}mudou a cor{A9A9A9} do seu veiculo."); ShowMenuForPlayer(Colors1, playerid); empmoney(playerid, 19, 500); } else { SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao contem dinheiro."); ShowMenuForPlayer(TuningMenu, playerid); } case 8: { ShowMenuForPlayer(TuningMenu, playerid); } } } if (Current == Exhausts) { switch (row) { case 0: if (pmodelid[playerid] == 562 || pmodelid[playerid] == 565 || pmodelid[playerid] == 559 || pmodelid[playerid] == 561 || pmodelid[playerid] == 560) { new car = GetPlayerVehicleID(playerid); if (pmodelid[playerid] == 562) { AddVehicleComponent(car, 1034); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch Alien Exhaust component on Elegy{A9A9A9}."); ShowMenuForPlayer(Exhausts, playerid); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 565) { AddVehicleComponent(car, 1046); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch Alien Exhaust component on Flash{A9A9A9}."); ShowMenuForPlayer(Exhausts, playerid); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 559) { AddVehicleComponent(car, 1065); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch Alien Exhaust component on Jetser{A9A9A9}."); ShowMenuForPlayer(Exhausts, playerid); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 561) { AddVehicleComponent(car, 1064); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch Alien Exhaust component on Stratum{A9A9A9}."); ShowMenuForPlayer(Exhausts, playerid); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 560) { AddVehicleComponent(car, 1028); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch Alien Exhaust component on Sultan{A9A9A9}."); ShowMenuForPlayer(Exhausts, playerid); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 558) { AddVehicleComponent(car, 1089); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch Alien Exhaust component on Uranus{A9A9A9}."); ShowMenuForPlayer(Exhausts, playerid); empmoney(playerid, 19, 500); } } else { SendClientMessage(playerid, COLOR_GRAD1, "[AVISO] Voce nao pode adicionar isso."); // SetPlayerCameraPos(playerid, 1780.1196, -1709.9355, -61.5949); // SetPlayerCameraLookAt(playerid, 1779.6116, -1710.7952, -61.9699); ShowMenuForPlayer(TuningMenu, playerid); } case 1: if (pmodelid[playerid] == 562 || pmodelid[playerid] == 565 || pmodelid[playerid] == 559 || pmodelid[playerid] == 561 || pmodelid[playerid] == 560) { new car = GetPlayerVehicleID(playerid); if (pmodelid[playerid] == 562) { AddVehicleComponent(car, 1037); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch X-Flow Exhaust component on Elegy{A9A9A9}."); ShowMenuForPlayer(Exhausts, playerid); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 565) { AddVehicleComponent(car, 1045); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch X-Flow Exhaust component on Flash{A9A9A9}."); ShowMenuForPlayer(Exhausts, playerid); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 559) { AddVehicleComponent(car, 1066); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch X-Flow exaust component on Jester{A9A9A9}."); ShowMenuForPlayer(Exhausts, playerid); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 561) { AddVehicleComponent(car, 1059); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch X-Flow Exhaust component on Stratum{A9A9A9}."); ShowMenuForPlayer(Exhausts, playerid); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 560) { AddVehicleComponent(car, 1029); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch X-Flow Exhaust component on Sultan{A9A9A9}."); ShowMenuForPlayer(Exhausts, playerid); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 558) { AddVehicleComponent(car, 1092); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch X-Flow Exhaust component on Uranus{A9A9A9}."); ShowMenuForPlayer(Exhausts, playerid); empmoney(playerid, 19, 500); } } else { SendClientMessage(playerid, COLOR_GRAD1, "[AVISO] Voce nao pode adicionar isso."); // SetPlayerCameraPos(playerid, 1780.1196, -1709.9355, -61.5949); // SetPlayerCameraLookAt(playerid, 1779.6116, -1710.7952, -61.9699); ShowMenuForPlayer(TuningMenu, playerid); } case 2: if (pmodelid[playerid] == 575 || pmodelid[playerid] == 534 || pmodelid[playerid] == 567 || pmodelid[playerid] == 536 || pmodelid[playerid] == 576 || pmodelid[playerid] == 535) { new car = GetPlayerVehicleID(playerid); if (pmodelid[playerid] == 575) // Brodway { AddVehicleComponent(car, 1044); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Chromer Exhaust component on Brodway{A9A9A9}."); ShowMenuForPlayer(Exhausts, playerid); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 534) // Remington { AddVehicleComponent(car, 1126); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Chromer Exhaust component on Remington{A9A9A9}."); ShowMenuForPlayer(Exhausts, playerid); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 567) // Savanna { AddVehicleComponent(car, 1129); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Chromer Exhaust component on Savanna{A9A9A9}."); ShowMenuForPlayer(Exhausts, playerid); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 536) // Blade { AddVehicleComponent(car, 1104); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Chromer Exhaust component on Blade{A9A9A9}."); ShowMenuForPlayer(Exhausts, playerid); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 535) // Slamvan { AddVehicleComponent(car, 1113); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Chromer Exhaust component on Slamvan{A9A9A9}."); ShowMenuForPlayer(Exhausts, playerid); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 576) // Tornado { AddVehicleComponent(car, 1136); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Chromer Exhaust component on Tornado{A9A9A9}."); ShowMenuForPlayer(Exhausts, playerid); empmoney(playerid, 19, 500); } } else { SendClientMessage(playerid, COLOR_GRAD1, "[AVISO] Voce nao pode adicionar isso."); ShowMenuForPlayer(TuningMenu, playerid); } case 3: if (pmodelid[playerid] == 575 || pmodelid[playerid] == 534 || pmodelid[playerid] == 567 || pmodelid[playerid] == 536 || pmodelid[playerid] == 576 || pmodelid[playerid] == 535) { new car = GetPlayerVehicleID(playerid); if (pmodelid[playerid] == 575) // Brodway { AddVehicleComponent(car, 1043); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Slamin Exhaust component on Brodway{A9A9A9}."); ShowMenuForPlayer(Exhausts, playerid); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 534) // Remington { AddVehicleComponent(car, 1127); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Slamin Exhaust component on Remingon{A9A9A9}."); ShowMenuForPlayer(Exhausts, playerid); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 567) // Savanna { AddVehicleComponent(car, 1132); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Slamin Exhaust component on Savanna{A9A9A9}."); ShowMenuForPlayer(Exhausts, playerid); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 536) // Blade { AddVehicleComponent(car, 1105); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Slamin Exhaust component on Blade{A9A9A9}."); ShowMenuForPlayer(Exhausts, playerid); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 535) // Slamvan { AddVehicleComponent(car, 1114); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Slamin Exhaust component on Slamvan{A9A9A9}."); ShowMenuForPlayer(Exhausts, playerid); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 576) // Tornado { AddVehicleComponent(car, 1135); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Slamin Exhaust component on Tornado{A9A9A9}."); ShowMenuForPlayer(Exhausts, playerid); empmoney(playerid, 19, 500); } } else { SendClientMessage(playerid, COLOR_GRAD1, "[AVISO] Voce nao pode adicionar isso."); ShowMenuForPlayer(TuningMenu, playerid); } case 4: { ShowMenuForPlayer(TuningMenu, playerid); } } } if (Current == Frontbumper) { switch (row) { case 0: if (pmodelid[playerid] == 562 || pmodelid[playerid] == 565 || pmodelid[playerid] == 559 || pmodelid[playerid] == 561 || pmodelid[playerid] == 560) { new car = GetPlayerVehicleID(playerid); if (pmodelid[playerid] == 562) // Elegy { AddVehicleComponent(car, 1171); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch Alien front bumper component on Elegy{A9A9A9}."); ShowMenuForPlayer(Frontbumper, playerid); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 565) // Flash { AddVehicleComponent(car, 1153); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch Alien front bumper component on Flash{A9A9A9}."); ShowMenuForPlayer(Frontbumper, playerid); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 559) // Jester { AddVehicleComponent(car, 1160); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch Alien front bumper component on Jester{A9A9A9}."); ShowMenuForPlayer(Frontbumper, playerid); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 561) // Stratum { AddVehicleComponent(car, 1155); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch Alien front bumper component on Stratum{A9A9A9}."); ShowMenuForPlayer(Frontbumper, playerid); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 560) // Sultan { AddVehicleComponent(car, 1169); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch Alien front bumper component on Sultan{A9A9A9}."); ShowMenuForPlayer(Frontbumper, playerid); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 558) // Uranus { AddVehicleComponent(car, 1166); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch Alien front bumper component on Uraus{A9A9A9}."); ShowMenuForPlayer(Frontbumper, playerid); empmoney(playerid, 19, 500); } } else { SendClientMessage(playerid, COLOR_GRAD1, "[AVISO] Voce nao pode adicionar isso."); // SetPlayerCameraPos(playerid, 1780.1196, -1709.9355, -61.5949); // SetPlayerCameraLookAt(playerid, 1779.6116, -1710.7952, -61.9699); // SetPlayerCameraPos(playerid, 1780.1196, -1709.9355, -61.5949); // SetPlayerCameraLookAt(playerid, 1779.6116, -1710.7952, -61.9699); ShowMenuForPlayer(TuningMenu, playerid); } case 1: if (pmodelid[playerid] == 562 || pmodelid[playerid] == 565 || pmodelid[playerid] == 559 || pmodelid[playerid] == 561 || pmodelid[playerid] == 560) { new car = GetPlayerVehicleID(playerid); if (pmodelid[playerid] == 562) // Elegy { AddVehicleComponent(car, 1172); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch X-Flow front bumper component on Elegy{A9A9A9}."); ShowMenuForPlayer(Frontbumper, playerid); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 565) // Flash { AddVehicleComponent(car, 1152); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch X-Flow front bumper component on Flash{A9A9A9}."); ShowMenuForPlayer(Frontbumper, playerid); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 559) // Jetser { AddVehicleComponent(car, 1173); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch X-Flow front bumper component on Jester{A9A9A9}."); ShowMenuForPlayer(Frontbumper, playerid); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 561) // Stratum { AddVehicleComponent(car, 1157); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch X-Flow front bumper component on Stratum{A9A9A9}."); ShowMenuForPlayer(Frontbumper, playerid); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 560) // Sultan { AddVehicleComponent(car, 1170); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch X-Flow front bumper component on Sultan{A9A9A9}."); ShowMenuForPlayer(Frontbumper, playerid); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 558) // Uranus { AddVehicleComponent(car, 1165); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch X-Flow front bumper component on Uranus{A9A9A9}."); ShowMenuForPlayer(Frontbumper, playerid); empmoney(playerid, 19, 500); } } else { SendClientMessage(playerid, COLOR_GRAD1, "[AVISO] Voce nao pode adicionar isso."); ShowMenuForPlayer(TuningMenu, playerid); } case 2: if (pmodelid[playerid] == 575 || pmodelid[playerid] == 534 || pmodelid[playerid] == 567 || pmodelid[playerid] == 536 || pmodelid[playerid] == 576 || pmodelid[playerid] == 535) { new car = GetPlayerVehicleID(playerid); if (pmodelid[playerid] == 575) // Brodway { AddVehicleComponent(car, 1174); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Chromer front bumper component on Brodway{A9A9A9}."); ShowMenuForPlayer(Frontbumper, playerid); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 534) // Remington { AddVehicleComponent(car, 1179); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Chromer front bumper component on Remington{A9A9A9}."); ShowMenuForPlayer(Frontbumper, playerid); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 567) // Savanna { AddVehicleComponent(car, 1189); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Chromer front bumper component on Savanna{A9A9A9}."); ShowMenuForPlayer(Frontbumper, playerid); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 536) // Blade { AddVehicleComponent(car, 1182); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Chromer front bumper component on Blade{A9A9A9}."); ShowMenuForPlayer(Frontbumper, playerid); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 535) // Slamvan { AddVehicleComponent(car, 1115); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Chromer front bumper component on Slamvan{A9A9A9}."); ShowMenuForPlayer(Frontbumper, playerid); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 576) // Tornado { AddVehicleComponent(car, 1191); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Chromer front bumper component on Tornado{A9A9A9}."); ShowMenuForPlayer(Frontbumper, playerid); empmoney(playerid, 19, 500); } } else { SendClientMessage(playerid, COLOR_GRAD1, "[AVISO] Voce nao pode adicionar isso."); ShowMenuForPlayer(TuningMenu, playerid); } case 3: if (pmodelid[playerid] == 575 || pmodelid[playerid] == 534 || pmodelid[playerid] == 567 || pmodelid[playerid] == 536 || pmodelid[playerid] == 576 || pmodelid[playerid] == 576) { new car = GetPlayerVehicleID(playerid); if (pmodelid[playerid] == 575) // Brodway { AddVehicleComponent(car, 1175); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Slamin front bumper component on Brodway{A9A9A9}."); ShowMenuForPlayer(Frontbumper, playerid); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 534) // Remington { AddVehicleComponent(car, 1185); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Slamin front bumper component on Remington{A9A9A9}."); ShowMenuForPlayer(Frontbumper, playerid); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 567) // Savanna { AddVehicleComponent(car, 1188); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Slamin front bumper component on Savanna{A9A9A9}."); ShowMenuForPlayer(Frontbumper, playerid); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 536) // Blade { AddVehicleComponent(car, 1181); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Slamin front bumper component on Blade{A9A9A9}."); ShowMenuForPlayer(Frontbumper, playerid); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 535) // Slamvan { AddVehicleComponent(car, 1116); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Slamin front bumper component on Slamvan{A9A9A9}."); ShowMenuForPlayer(Frontbumper, playerid); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 576) // Tornado { AddVehicleComponent(car, 1190); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Slamin front bumper component on Tornado{A9A9A9}."); ShowMenuForPlayer(Frontbumper, playerid); empmoney(playerid, 19, 500); } } else { SendClientMessage(playerid, COLOR_GRAD1, "[AVISO] Voce nao pode adicionar isso."); ShowMenuForPlayer(TuningMenu, playerid); } case 4: { ShowMenuForPlayer(TuningMenu, playerid); } } } if (Current == Rearbumper) { switch (row) { case 0: if (pmodelid[playerid] == 562 || pmodelid[playerid] == 565 || pmodelid[playerid] == 559 || pmodelid[playerid] == 561 || pmodelid[playerid] == 560) { new car = GetPlayerVehicleID(playerid); if (pmodelid[playerid] == 562) // Elegy { AddVehicleComponent(car, 1149); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch Alien rear bumper component on Elegy{A9A9A9}."); ShowMenuForPlayer(Rearbumper, playerid); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 565) // Flash { AddVehicleComponent(car, 1150); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch Alien rear bumper component on Flash{A9A9A9}."); ShowMenuForPlayer(Rearbumper, playerid); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 559) // Jester { AddVehicleComponent(car, 1159); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch Alien rear bumper component on Jester{A9A9A9}."); ShowMenuForPlayer(Rearbumper, playerid); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 561) // Stratum { AddVehicleComponent(car, 1154); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch Alien rear bumper component on Stratum{A9A9A9}."); ShowMenuForPlayer(Rearbumper, playerid); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 560) // Sultan { AddVehicleComponent(car, 1141); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch Alien rear bumper component on Sultan{A9A9A9}."); ShowMenuForPlayer(Rearbumper, playerid); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 558) // Uranus { AddVehicleComponent(car, 1168); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch Alien rear bumper component on Uranus{A9A9A9}."); ShowMenuForPlayer(Rearbumper, playerid); empmoney(playerid, 19, 500); } } else { SendClientMessage(playerid, COLOR_GRAD1, "[AVISO] Voce nao pode adicionar isso."); ShowMenuForPlayer(TuningMenu, playerid); } case 1: if (pmodelid[playerid] == 562 || pmodelid[playerid] == 565 || pmodelid[playerid] == 559 || pmodelid[playerid] == 561 || pmodelid[playerid] == 560) { new car = GetPlayerVehicleID(playerid); if (pmodelid[playerid] == 562) // Elegy { AddVehicleComponent(car, 1148); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch X-Flow rear bumper component on Elegy{A9A9A9}."); ShowMenuForPlayer(Rearbumper, playerid); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 565) // Flash { AddVehicleComponent(car, 1151); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch X-Flow rear bumper component on Flash{A9A9A9}."); ShowMenuForPlayer(Rearbumper, playerid); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 559) // Jetser { AddVehicleComponent(car, 1161); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch X-Flow rear bumper component on Jester{A9A9A9}."); ShowMenuForPlayer(Rearbumper, playerid); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 561) // Stratum { AddVehicleComponent(car, 1156); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch X-Flow rear bumper component on Stratum{A9A9A9}."); ShowMenuForPlayer(Rearbumper, playerid); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 560) // Sultan { AddVehicleComponent(car, 1140); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch X-Flow rear bumper component on Sultan{A9A9A9}."); ShowMenuForPlayer(Rearbumper, playerid); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 558) // Uranus { AddVehicleComponent(car, 1167); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch X-Flow rear bumper component on Uranus{A9A9A9}."); ShowMenuForPlayer(Rearbumper, playerid); empmoney(playerid, 19, 500); } } else { SendClientMessage(playerid, COLOR_GRAD1, "[AVISO] Voce nao pode adicionar isso."); ShowMenuForPlayer(TuningMenu, playerid); } case 2: if (pmodelid[playerid] == 575 || pmodelid[playerid] == 534 || pmodelid[playerid] == 567 || pmodelid[playerid] == 536 || pmodelid[playerid] == 576 || pmodelid[playerid] == 535) { new car = GetPlayerVehicleID(playerid); if (pmodelid[playerid] == 575) // Brodway { AddVehicleComponent(car, 1176); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Chromer rear bumper component on Brodway{A9A9A9}."); ShowMenuForPlayer(Rearbumper, playerid); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 534) // Remington { AddVehicleComponent(car, 1180); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Chromer rear bumper component on Remington{A9A9A9}."); ShowMenuForPlayer(Rearbumper, playerid); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 567) // Savanna { AddVehicleComponent(car, 1187); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Chromer rear bumper component on Savanna{A9A9A9}."); ShowMenuForPlayer(Rearbumper, playerid); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 536) // Blade { AddVehicleComponent(car, 1184); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Chromer rear bumper component on Blade{A9A9A9}."); ShowMenuForPlayer(Rearbumper, playerid); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 535) // Slamvan { AddVehicleComponent(car, 1109); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Chromer rear bumper component on Slamvan{A9A9A9}."); ShowMenuForPlayer(Rearbumper, playerid); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 576) // Tornado { AddVehicleComponent(car, 1192); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Chromer rear bumper component on Tornado{A9A9A9}."); ShowMenuForPlayer(Rearbumper, playerid); empmoney(playerid, 19, 500); } } else { SendClientMessage(playerid, COLOR_GRAD1, "[AVISO] Voce nao pode adicionar isso."); ShowMenuForPlayer(TuningMenu, playerid); } case 3: if (pmodelid[playerid] == 575 || pmodelid[playerid] == 534 || pmodelid[playerid] == 567 || pmodelid[playerid] == 536 || pmodelid[playerid] == 576 || pmodelid[playerid] == 535) { new car = GetPlayerVehicleID(playerid); if (pmodelid[playerid] == 575) // Brodway { AddVehicleComponent(car, 1177); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Slamin rear bumper component on Brodway{A9A9A9}."); ShowMenuForPlayer(Rearbumper, playerid); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 534) // Remington { AddVehicleComponent(car, 1178); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Slamin rear bumper component on Remington{A9A9A9}."); ShowMenuForPlayer(Rearbumper, playerid); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 567) // Savanna { AddVehicleComponent(car, 1186); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Slamin rear bumper component on Savanna{A9A9A9}."); ShowMenuForPlayer(Rearbumper, playerid); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 536) // Blade { AddVehicleComponent(car, 1183); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Slamin rear bumper component on Blade{A9A9A9}."); ShowMenuForPlayer(Rearbumper, playerid); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 535) // Slamvan { AddVehicleComponent(car, 1110); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Slamin rear bumper component on Slamvan{A9A9A9}."); ShowMenuForPlayer(Rearbumper, playerid); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 576) // Tornado { AddVehicleComponent(car, 1193); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Slamin rear bumper component on Tornado{A9A9A9}."); ShowMenuForPlayer(Rearbumper, playerid); empmoney(playerid, 19, 500); } } else { SendClientMessage(playerid, COLOR_GRAD1, "[AVISO] Voce nao pode adicionar isso."); ShowMenuForPlayer(TuningMenu, playerid); } case 4: { ShowMenuForPlayer(TuningMenu, playerid); } } } if (Current == Roof) { switch (row) { case 0: if (pmodelid[playerid] == 562 || pmodelid[playerid] == 565 || pmodelid[playerid] == 559 || pmodelid[playerid] == 561 || pmodelid[playerid] == 560) { new car = GetPlayerVehicleID(playerid); if (pmodelid[playerid] == 562) // Elegy { AddVehicleComponent(car, 1035); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch Alien roof vent component on Elegy{A9A9A9}."); ShowMenuForPlayer(Roof, playerid); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 565) // Flash { AddVehicleComponent(car, 1054); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch Alien roof vent component on Flash{A9A9A9}."); ShowMenuForPlayer(Roof, playerid); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 559) // Jester { AddVehicleComponent(car, 1067); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch Alien roof vent component on Jester{A9A9A9}."); ShowMenuForPlayer(Roof, playerid); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 561) // Stratum { AddVehicleComponent(car, 1055); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch Alien roof vent component on Stratum{A9A9A9}."); ShowMenuForPlayer(Roof, playerid); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 560) // Sultan { AddVehicleComponent(car, 1032); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch Alien roof vent component on Sultan{A9A9A9}."); ShowMenuForPlayer(Roof, playerid); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 558) // Uranus { AddVehicleComponent(car, 1088); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch Alien roof vent component on Uranus{A9A9A9}."); ShowMenuForPlayer(Roof, playerid); empmoney(playerid, 19, 500); } } else { SendClientMessage(playerid, COLOR_GRAD1, "[AVISO] Voce nao pode adicionar isso."); // SetPlayerCameraPos(playerid, 1780.1196, -1709.9355, -61.5949); // SetPlayerCameraLookAt(playerid, 1779.6116, -1710.7952, -61.9699); ShowMenuForPlayer(TuningMenu, playerid); } case 1: if (pmodelid[playerid] == 562 || pmodelid[playerid] == 565 || pmodelid[playerid] == 559 || pmodelid[playerid] == 561 || pmodelid[playerid] == 560) { new car = GetPlayerVehicleID(playerid); if (pmodelid[playerid] == 562) // Elegy { AddVehicleComponent(car, 1035); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch X-Flow roof vent component on Elegy{A9A9A9}."); ShowMenuForPlayer(Roof, playerid); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 565) // Flash { AddVehicleComponent(car, 1053); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch X-Flow roof vent component on Flash{A9A9A9}."); ShowMenuForPlayer(Roof, playerid); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 559) // Jetser { AddVehicleComponent(car, 1068); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch X-Flow roof vent component on Jester{A9A9A9}."); ShowMenuForPlayer(Roof, playerid); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 561) // Stratum { AddVehicleComponent(car, 1061); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch X-Flow roof vent component on Stratum{A9A9A9}."); ShowMenuForPlayer(Roof, playerid); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 560) // Sultan { AddVehicleComponent(car, 1033); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch X-Flow roof vent component on Sultan{A9A9A9}."); ShowMenuForPlayer(Roof, playerid); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 558) // Uranus { AddVehicleComponent(car, 1091); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch X-Flow roof vent component on Uranus{A9A9A9}."); ShowMenuForPlayer(Roof, playerid); empmoney(playerid, 19, 500); } } else { SendClientMessage(playerid, COLOR_GRAD1, "[AVISO] Voce nao pode adicionar isso."); // SetPlayerCameraPos(playerid, 1780.1196, -1709.9355, -61.5949); // SetPlayerCameraLookAt(playerid, 1779.6116, -1710.7952, -61.9699); ShowMenuForPlayer(TuningMenu, playerid); } case 2: if (pmodelid[playerid] == 567 || pmodelid[playerid] == 536) { new car = GetPlayerVehicleID(playerid); if (pmodelid[playerid] == 567) // Savanna { AddVehicleComponent(car, 1130); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Hardtop Roof component on Brodway{A9A9A9}."); ShowMenuForPlayer(Roof, playerid); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 536) // Blade { AddVehicleComponent(car, 1128); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Hardtop Roof component on Blade{A9A9A9}."); ShowMenuForPlayer(Roof, playerid); empmoney(playerid, 19, 500); } } else { SendClientMessage(playerid, COLOR_GRAD1, "[WARNING] You can only add this component to Locos Low Car types Savanna and Blade{A9A9A9}."); ShowMenuForPlayer(Roof, playerid); } case 3: if (pmodelid[playerid] == 567 || pmodelid[playerid] == 536) { new car = GetPlayerVehicleID(playerid); if (pmodelid[playerid] == 567) // Savanna { AddVehicleComponent(car, 1131); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Softtop Roof component on Brodway{A9A9A9}."); ShowMenuForPlayer(Roof, playerid); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 536) // Blade { AddVehicleComponent(car, 1103); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Softtop Roof component on Blade{A9A9A9}."); ShowMenuForPlayer(Roof, playerid); empmoney(playerid, 19, 500); } } else { SendClientMessage(playerid, COLOR_GRAD1, "[WARNING] You can only add this component to Locos Low Car types Savanna and Blade{A9A9A9}."); ShowMenuForPlayer(Roof, playerid); } case 4: { //SetPlayerCameraPos(playerid, 1780.1196, -1709.9355, -61.5949); // SetPlayerCameraLookAt(playerid, 1779.6116, -1710.7952, -61.9699); ShowMenuForPlayer(TuningMenu, playerid); } } } if (Current == Spoilers) { switch (row) { case 0: if (pmodelid[playerid] == 562 || pmodelid[playerid] == 565 || pmodelid[playerid] == 559 || pmodelid[playerid] == 561 || pmodelid[playerid] == 560) { new car = GetPlayerVehicleID(playerid); if (pmodelid[playerid] == 562) // Elegy { AddVehicleComponent(car, 1147); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch Alien Spoilers component on Elegy{A9A9A9}."); ShowMenuForPlayer(Spoilers, playerid); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 565) // Flash { AddVehicleComponent(car, 1049); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch Alien Spoilers component on Flash{A9A9A9}."); ShowMenuForPlayer(Spoilers, playerid); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 559) // Jester { AddVehicleComponent(car, 1162); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch Alien Spoilers component on Jester{A9A9A9}."); ShowMenuForPlayer(Spoilers, playerid); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 561) // Stratum { AddVehicleComponent(car, 1158); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch Alien Spoilers component on Stratum{A9A9A9}."); ShowMenuForPlayer(Spoilers, playerid); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 560) // Sultan { AddVehicleComponent(car, 1138); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch Alien Spoilers component on Sultan{A9A9A9}."); ShowMenuForPlayer(Spoilers, playerid); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 558) // Uranus { AddVehicleComponent(car, 1164); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch Alien Spoilers component on Uranus{A9A9A9}."); ShowMenuForPlayer(Spoilers, playerid); empmoney(playerid, 19, 500); } } else { SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao pode adicionar isso."); // SetPlayerCameraPos(playerid, 1780.1196, -1709.9355, -61.5949); // SetPlayerCameraLookAt(playerid, 1779.6116, -1710.7952, -61.9699); ShowMenuForPlayer(TuningMenu, playerid); } case 1: if (pmodelid[playerid] == 562 || pmodelid[playerid] == 565 || pmodelid[playerid] == 559 || pmodelid[playerid] == 561 || pmodelid[playerid] == 560) { new car = GetPlayerVehicleID(playerid); if (pmodelid[playerid] == 562) // Elegy { AddVehicleComponent(car, 1146); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch X-Flow Spoilers component on Elegy{A9A9A9}."); ShowMenuForPlayer(Spoilers, playerid); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 565) // Flash { AddVehicleComponent(car, 1150); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch X-Flow Spoilers component on Flash{A9A9A9}."); ShowMenuForPlayer(Spoilers, playerid); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 559) // Jetser { AddVehicleComponent(car, 1158); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch X-Flow Spoilers component on Jester{A9A9A9}."); ShowMenuForPlayer(Spoilers, playerid); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 561) // Stratum { AddVehicleComponent(car, 1060); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch X-Flow Spoilers component on Stratum{A9A9A9}."); ShowMenuForPlayer(Spoilers, playerid); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 560) // Sultan { AddVehicleComponent(car, 1139); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch X-Flow Spoilers component on Sultan{A9A9A9}."); ShowMenuForPlayer(Spoilers, playerid); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 558) // Uranus { AddVehicleComponent(car, 1163); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch X-Flow Spoilers component on Uranus{A9A9A9}."); ShowMenuForPlayer(Spoilers, playerid); empmoney(playerid, 19, 500); } } else { SendClientMessage(playerid, COLOR_GRAD1, "[AVISO] Voce nao pode adicionar isso."); // SetPlayerCameraPos(playerid, 1780.1196, -1709.9355, -61.5949); // SetPlayerCameraLookAt(playerid, 1779.6116, -1710.7952, -61.9699); ShowMenuForPlayer(TuningMenu, playerid); } case 2: { // SetPlayerCameraPos(playerid, 1780.1196, -1709.9355, -61.5949); // SetPlayerCameraLookAt(playerid, 1779.6116, -1710.7952, -61.9699); ShowMenuForPlayer(TuningMenu, playerid); } } } if (Current == Sideskirts) { switch (row) { case 0: if (pmodelid[playerid] == 562 || pmodelid[playerid] == 565 || pmodelid[playerid] == 559 || pmodelid[playerid] == 561 || pmodelid[playerid] == 560) { new car = GetPlayerVehicleID(playerid); if (pmodelid[playerid] == 562) // Elegy { AddVehicleComponent(car, 1036); AddVehicleComponent(car, 1040); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch Alien Side Skirts component on Elegy{A9A9A9}."); ShowMenuForPlayer(Sideskirts, playerid); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 565) // Flash { AddVehicleComponent(car, 1047); AddVehicleComponent(car, 1051); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch Alien Sideskirts vent component on Flash{A9A9A9}."); ShowMenuForPlayer(Sideskirts, playerid); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 559) // Jester { AddVehicleComponent(car, 1069); AddVehicleComponent(car, 1071); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch Alien Side Skirts component on Jester{A9A9A9}."); ShowMenuForPlayer(Sideskirts, playerid); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 561) // Stratum { AddVehicleComponent(car, 1056); AddVehicleComponent(car, 1062); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch Alien Side Skirts component on Stratum{A9A9A9}."); ShowMenuForPlayer(Sideskirts, playerid); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 560) // Sultan { AddVehicleComponent(car, 1026); AddVehicleComponent(car, 1027); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch Alien Side Skirts bumper component on Sultan{A9A9A9}."); ShowMenuForPlayer(Sideskirts, playerid); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 558) // Uranus { AddVehicleComponent(car, 1090); AddVehicleComponent(car, 1094); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch Alien Side Skirts component on Uranus{A9A9A9}."); ShowMenuForPlayer(Sideskirts, playerid); empmoney(playerid, 19, 500); } } else { SendClientMessage(playerid, COLOR_GRAD1, "[AVISO] Voce nao pode adicionar isso."); // SetPlayerCameraPos(playerid, 1780.1196, -1709.9355, -61.5949); // SetPlayerCameraLookAt(playerid, 1779.6116, -1710.7952, -61.9699); ShowMenuForPlayer(TuningMenu, playerid); } case 1: if (pmodelid[playerid] == 562 || pmodelid[playerid] == 565 || pmodelid[playerid] == 559 || pmodelid[playerid] == 561 || pmodelid[playerid] == 560) { new car = GetPlayerVehicleID(playerid); if (pmodelid[playerid] == 562) // Elegy { AddVehicleComponent(car, 1039); AddVehicleComponent(car, 1041); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch X-Flow Side Skirts component on Elegy{A9A9A9}."); ShowMenuForPlayer(Sideskirts, playerid); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 565) // Flash { AddVehicleComponent(car, 1048); AddVehicleComponent(car, 1052); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch X-Flow Side Skirts component on Flash{A9A9A9}."); ShowMenuForPlayer(Sideskirts, playerid); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 559) // Jetser { AddVehicleComponent(car, 1070); AddVehicleComponent(car, 1072); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch X-Flow Side Skirts component on Jester{A9A9A9}."); ShowMenuForPlayer(Sideskirts, playerid); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 561) // Stratum { AddVehicleComponent(car, 1057); AddVehicleComponent(car, 1063); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch X-Flow Side Skirts component on Stratum{A9A9A9}."); ShowMenuForPlayer(Sideskirts, playerid); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 560) // Sultan { AddVehicleComponent(car, 1031); AddVehicleComponent(car, 1030); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch X-Flow Side Skirts component on Sultan{A9A9A9}."); ShowMenuForPlayer(Sideskirts, playerid); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 558) // Uranus { AddVehicleComponent(car, 1093); AddVehicleComponent(car, 1095); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wheel Arch X-Flow Side Skirts component on Uranus{A9A9A9}."); ShowMenuForPlayer(Sideskirts, playerid); empmoney(playerid, 19, 500); } } else { SendClientMessage(playerid, COLOR_GRAD1, "[AVISO] Voce nao pode adicionar isso a esse veiculo."); // SetPlayerCameraPos(playerid, 1780.1196, -1709.9355, -61.5949); // SetPlayerCameraLookAt(playerid, 1779.6116, -1710.7952, -61.9699); ShowMenuForPlayer(TuningMenu, playerid); } case 2: if (pmodelid[playerid] == 575 || pmodelid[playerid] == 536 || pmodelid[playerid] == 576 || pmodelid[playerid] == 567) { new car = GetPlayerVehicleID(playerid); if (pmodelid[playerid] == 575) // Brodway { AddVehicleComponent(car, 1042); AddVehicleComponent(car, 1099); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Chrome Strip Side Skirts component on Brodway{A9A9A9}."); ShowMenuForPlayer(Sideskirts, playerid); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 567) // Savanna { AddVehicleComponent(car, 1102); AddVehicleComponent(car, 1133); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Chrome Strip Side Skirts component on Savanna{A9A9A9}."); ShowMenuForPlayer(Sideskirts, playerid); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 576) // Tornado { AddVehicleComponent(car, 1134); AddVehicleComponent(car, 1137); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Chrome Strip Side Skirts component on Tornado{A9A9A9}."); ShowMenuForPlayer(Sideskirts, playerid); empmoney(playerid, 19, 500); } else if (pmodelid[playerid] == 536) // Blade { AddVehicleComponent(car, 1108); AddVehicleComponent(car, 1107); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Chrome Strip Side Skirts component on Blade{A9A9A9}."); ShowMenuForPlayer(Sideskirts, playerid); empmoney(playerid, 19, 500); } } else { SendClientMessage(playerid, COLOR_GRAD1, "[AVISO] Voce nao pode adicionar isso a esse veiculo."); // SetPlayerCameraPos(playerid, 1780.1196, -1709.9355, -61.5949); // SetPlayerCameraLookAt(playerid, 1779.6116, -1710.7952, -61.9699); ShowMenuForPlayer(TuningMenu, playerid); } case 3: if (pmodelid[playerid] == 534 || pmodelid[playerid] == 534) { new car = GetPlayerVehicleID(playerid); if (pmodelid[playerid] == 534) // Remington { AddVehicleComponent(car, 1122); AddVehicleComponent(car, 1101); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Chrome Flames Side Skirts component on Remington{A9A9A9}."); ShowMenuForPlayer(Sideskirts, playerid); empmoney(playerid, 19, 500); } } else { SendClientMessage(playerid, COLOR_GRAD1, "[AVISO] Voce nao pode adicionar isso a esse veiculo."); // SetPlayerCameraPos(playerid, 1780.1196, -1709.9355, -61.5949); // SetPlayerCameraLookAt(playerid, 1779.6116, -1710.7952, -61.9699); ShowMenuForPlayer(TuningMenu, playerid); } case 4: if (pmodelid[playerid] == 534 || pmodelid[playerid] == 534) { new car = GetPlayerVehicleID(playerid); if (pmodelid[playerid] == 534) // Remington { AddVehicleComponent(car, 1106); AddVehicleComponent(car, 1124); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Chrome Arches Side Skirts component on Remington{A9A9A9}."); ShowMenuForPlayer(Sideskirts, playerid); empmoney(playerid, 19, 500); } } else { SendClientMessage(playerid, COLOR_GRAD1, "[AVISO] Voce nao pode adicionar isso a esse veiculo."); // SetPlayerCameraPos(playerid, 1780.1196, -1709.9355, -61.5949); // SetPlayerCameraLookAt(playerid, 1779.6116, -1710.7952, -61.9699); ShowMenuForPlayer(TuningMenu, playerid); } case 5: if (pmodelid[playerid] == 535) { new car = GetPlayerVehicleID(playerid); if (pmodelid[playerid] == 535) // Slamvan { AddVehicleComponent(car, 1118); AddVehicleComponent(car, 1120); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Chrome Trim Side Skirts component on Slamvan{A9A9A9}."); ShowMenuForPlayer(Sideskirts, playerid); empmoney(playerid, 19, 500); } } else { SendClientMessage(playerid, COLOR_GRAD1, "[AVISO] Voce nao pode adicionar isso a esse veiculo."); // SetPlayerCameraPos(playerid, 1780.1196, -1709.9355, -61.5949); // SetPlayerCameraLookAt(playerid, 1779.6116, -1710.7952, -61.9699); ShowMenuForPlayer(TuningMenu, playerid); } case 6: if (pmodelid[playerid] == 535) { new car = GetPlayerVehicleID(playerid); if (pmodelid[playerid] == 535) // Slamvan { AddVehicleComponent(car, 1119); AddVehicleComponent(car, 1121); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Chrome Wheelcovers component on Slamvan{A9A9A9}."); ShowMenuForPlayer(Sideskirts, playerid); empmoney(playerid, 19, 500); } } else { SendClientMessage(playerid, COLOR_GRAD1, "[AVISO] Voce nao pode adicionar isso a esse veiculo."); // SetPlayerCameraPos(playerid, 1780.1196, -1709.9355, -61.5949); // SetPlayerCameraLookAt(playerid, 1779.6116, -1710.7952, -61.9699); ShowMenuForPlayer(TuningMenu, playerid); } case 7: { // SetPlayerCameraPos(playerid, 1780.1196, -1709.9355, -61.5949); // SetPlayerCameraLookAt(playerid, 1779.6116, -1710.7952, -61.9699); ShowMenuForPlayer(TuningMenu, playerid); } } } if (Current == Bullbars) { switch (row) { case 0: if (pmodelid[playerid] == 534) { new car = GetPlayerVehicleID(playerid); if (pmodelid[playerid] == 534) // Remington { AddVehicleComponent(car, 1100); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Chrome Grill component on Remington{A9A9A9}."); ShowMenuForPlayer(Bullbars, playerid); empmoney(playerid, 19, 500); } } else { SendClientMessage(playerid, COLOR_GRAD1, "[AVISO] Voce nao pode adicionar isso a esse veiculo."); // SetPlayerCameraPos(playerid, 1780.1196, -1709.9355, -61.5949); // SetPlayerCameraLookAt(playerid, 1779.6116, -1710.7952, -61.9699); ShowMenuForPlayer(TuningMenu, playerid); } case 1: if (pmodelid[playerid] == 534) { new car = GetPlayerVehicleID(playerid); if (pmodelid[playerid] == 534) // Remington { AddVehicleComponent(car, 1123); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Chrome Bars component on Remington{A9A9A9}."); ShowMenuForPlayer(Bullbars, playerid); empmoney(playerid, 19, 500); } } else { SendClientMessage(playerid, COLOR_GRAD1, "[AVISO] Voce nao pode adicionar isso a esse veiculo."); // SetPlayerCameraPos(playerid, 1780.1196, -1709.9355, -61.5949); // SetPlayerCameraLookAt(playerid, 1779.6116, -1710.7952, -61.9699); ShowMenuForPlayer(TuningMenu, playerid); } case 2: if (pmodelid[playerid] == 534) { new car = GetPlayerVehicleID(playerid); if (pmodelid[playerid] == 534) // Remington { AddVehicleComponent(car, 1125); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Chrome Lights component on Remington{A9A9A9}."); ShowMenuForPlayer(Bullbars, playerid); empmoney(playerid, 19, 500); } } else { SendClientMessage(playerid, COLOR_GRAD1, "[AVISO] Voce nao pode adicionar isso a esse veiculo."); // SetPlayerCameraPos(playerid, 1780.1196, -1709.9355, -61.5949); // SetPlayerCameraLookAt(playerid, 1779.6116, -1710.7952, -61.9699); ShowMenuForPlayer(TuningMenu, playerid); } case 3: if (pmodelid[playerid] == 535) { new car = GetPlayerVehicleID(playerid); if (pmodelid[playerid] == 535) // Slamvan { AddVehicleComponent(car, 1117); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Locos Low Chrome Lights component on Slamvan{A9A9A9}."); ShowMenuForPlayer(Bullbars, playerid); empmoney(playerid, 19, 500); } } else { SendClientMessage(playerid, COLOR_GRAD1, "[AVISO] Voce nao pode adicionar isso a esse veiculo."); // SetPlayerCameraPos(playerid, 1780.1196, -1709.9355, -61.5949); // SetPlayerCameraLookAt(playerid, 1779.6116, -1710.7952, -61.9699); ShowMenuForPlayer(TuningMenu, playerid); } case 4: { // SetPlayerCameraPos(playerid, 1780.1196, -1709.9355, -61.5949); // SetPlayerCameraLookAt(playerid, 1779.6116, -1710.7952, -61.9699); ShowMenuForPlayer(TuningMenu, playerid); } } } if (Current == Wheels) { switch (row) { case 0: if (GetPlayerMoney(playerid) >= 1) { new car = GetPlayerVehicleID(playerid); AddVehicleComponent(car, 1025); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Offroad Wheels{A9A9A9}."); ShowMenuForPlayer(Wheels, playerid); empmoney(playerid, 19, 500); } else { SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao contem dinheiro."); // SetPlayerCameraPos(playerid, 1780.1196, -1709.9355, -61.5949); // SetPlayerCameraLookAt(playerid, 1779.6116, -1710.7952, -61.9699); ShowMenuForPlayer(TuningMenu, playerid); } case 1: if (GetPlayerMoney(playerid) >= 1) { new car = GetPlayerVehicleID(playerid); AddVehicleComponent(car, 1074); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Mega Wheels{A9A9A9}."); ShowMenuForPlayer(Wheels, playerid); empmoney(playerid, 19, 500); } else { SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao contem dinheiro."); // SetPlayerCameraPos(playerid, 1780.1196, -1709.9355, -61.5949); // SetPlayerCameraLookAt(playerid, 1779.6116, -1710.7952, -61.9699); ShowMenuForPlayer(TuningMenu, playerid); } case 2: if (GetPlayerMoney(playerid) >= 1) { new car = GetPlayerVehicleID(playerid); AddVehicleComponent(car, 1076); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Wires Wheels{A9A9A9}."); ShowMenuForPlayer(Wheels, playerid); empmoney(playerid, 19, 500); } else { SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao contem dinheiro."); // SetPlayerCameraPos(playerid, 1780.1196, -1709.9355, -61.5949); // SetPlayerCameraLookAt(playerid, 1779.6116, -1710.7952, -61.9699); ShowMenuForPlayer(TuningMenu, playerid); } case 3: if (GetPlayerMoney(playerid) >= 1) { new car = GetPlayerVehicleID(playerid); AddVehicleComponent(car, 1078); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Twist Wheels{A9A9A9}."); ShowMenuForPlayer(Wheels, playerid); empmoney(playerid, 19, 500); } else { SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao contem dinheiro."); ShowMenuForPlayer(Wheels, playerid); } case 4: if (GetPlayerMoney(playerid) >= 1) { new car = GetPlayerVehicleID(playerid); AddVehicleComponent(car, 1081); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Grove Wheels{A9A9A9}."); ShowMenuForPlayer(Wheels, playerid); empmoney(playerid, 19, 500); } else { SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao contem dinheiro."); // SetPlayerCameraPos(playerid, 1780.1196, -1709.9355, -61.5949); // SetPlayerCameraLookAt(playerid, 1779.6116, -1710.7952, -61.9699); ShowMenuForPlayer(TuningMenu, playerid); } case 5: if (GetPlayerMoney(playerid) >= 1) { new car = GetPlayerVehicleID(playerid); AddVehicleComponent(car, 1082); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Import Wheels{A9A9A9}."); ShowMenuForPlayer(Wheels, playerid); empmoney(playerid, 19, 500); } else { SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao contem dinheiro."); // SetPlayerCameraPos(playerid, 1780.1196, -1709.9355, -61.5949); // SetPlayerCameraLookAt(playerid, 1779.6116, -1710.7952, -61.9699); ShowMenuForPlayer(TuningMenu, playerid); } case 6: if (GetPlayerMoney(playerid) >= 1) { new car = GetPlayerVehicleID(playerid); AddVehicleComponent(car, 1085); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Atomic Wheels{A9A9A9}."); ShowMenuForPlayer(Wheels, playerid); empmoney(playerid, 19, 500); } else { SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao contem dinheiro."); // SetPlayerCameraPos(playerid, 1780.1196, -1709.9355, -61.5949); // SetPlayerCameraLookAt(playerid, 1779.6116, -1710.7952, -61.9699); ShowMenuForPlayer(TuningMenu, playerid); } case 7: if (GetPlayerMoney(playerid) >= 1) { new car = GetPlayerVehicleID(playerid); AddVehicleComponent(car, 1096); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Ahab Wheels{A9A9A9}."); ShowMenuForPlayer(Wheels, playerid); empmoney(playerid, 19, 500); } else { SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao contem dinheiro."); // SetPlayerCameraPos(playerid, 1780.1196, -1709.9355, -61.5949); // SetPlayerCameraLookAt(playerid, 1779.6116, -1710.7952, -61.9699); ShowMenuForPlayer(TuningMenu, playerid); } case 8: if (GetPlayerMoney(playerid) >= 1) { new car = GetPlayerVehicleID(playerid); AddVehicleComponent(car, 1097); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Virtual Wheels{A9A9A9}."); ShowMenuForPlayer(Wheels, playerid); empmoney(playerid, 19, 500); } else { SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao contem dinheiro."); // SetPlayerCameraPos(playerid, 1780.1196, -1709.9355, -61.5949); // SetPlayerCameraLookAt(playerid, 1779.6116, -1710.7952, -61.9699); ShowMenuForPlayer(TuningMenu, playerid); } case 9: if (GetPlayerMoney(playerid) >= 1) { new car = GetPlayerVehicleID(playerid); AddVehicleComponent(car, 1098); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Access Wheels{A9A9A9}."); ShowMenuForPlayer(Wheels, playerid); empmoney(playerid, 19, 500); } else { SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao contem dinheiro."); // SetPlayerCameraPos(playerid, 1780.1196, -1709.9355, -61.5949); // SetPlayerCameraLookAt(playerid, 1779.6116, -1710.7952, -61.9699); ShowMenuForPlayer(TuningMenu, playerid); } case 10: { ShowMenuForPlayer(Wheels1, playerid); } case 11: { // SetPlayerCameraPos(playerid, 1780.1196, -1709.9355, -61.5949); // SetPlayerCameraLookAt(playerid, 1779.6116, -1710.7952, -61.9699); ShowMenuForPlayer(TuningMenu, playerid); } } } if (Current == Neon) { switch (row) { case 0: if (GetPlayerMoney(playerid) >= 1) { new car = GetPlayerVehicleID(playerid); SetVehicleNeon(car, Neon_Azul, true); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Neon Azul{A9A9A9}."); ShowMenuForPlayer(Neon, playerid); empmoney(playerid, 19, 500); } else { SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao contem dinheiro."); ShowMenuForPlayer(TuningMenu1, playerid); } case 1: if (GetPlayerMoney(playerid) >= 1) { new car = GetPlayerVehicleID(playerid); SetVehicleNeon(car, Neon_Vermelho, true); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Neon Vermelho{A9A9A9}."); ShowMenuForPlayer(Neon, playerid); empmoney(playerid, 19, 500); } else { SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao contem dinheiro."); ShowMenuForPlayer(TuningMenu1, playerid); } case 2: if (GetPlayerMoney(playerid) >= 1) { new car = GetPlayerVehicleID(playerid); SetVehicleNeon(car, Neon_Verde, true); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Neon Verde{A9A9A9}."); ShowMenuForPlayer(Neon, playerid); empmoney(playerid, 19, 500); } else { SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao contem dinheiro."); ShowMenuForPlayer(TuningMenu1, playerid); } case 3: if (GetPlayerMoney(playerid) >= 1) { new car = GetPlayerVehicleID(playerid); SetVehicleNeon(car, Neon_Branco, true); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Neon Branco{A9A9A9}."); ShowMenuForPlayer(Neon, playerid); empmoney(playerid, 19, 500); } else { SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao contem dinheiro."); ShowMenuForPlayer(TuningMenu1, playerid); } case 4: if (GetPlayerMoney(playerid) >= 1) { new car = GetPlayerVehicleID(playerid); SetVehicleNeon(car, Neon_Rosa, true); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Neon Rosa{A9A9A9}."); ShowMenuForPlayer(Neon, playerid); empmoney(playerid, 19, 500); } else { SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao contem dinheiro."); ShowMenuForPlayer(TuningMenu1, playerid); } case 5: if (GetPlayerMoney(playerid) >= 1) { new car = GetPlayerVehicleID(playerid); SetVehicleNeon(car, Neon_Amarelo, true); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Neon Amarelo{A9A9A9}."); ShowMenuForPlayer(Neon, playerid); empmoney(playerid, 19, 500); } else { SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao contem dinheiro."); ShowMenuForPlayer(TuningMenu1, playerid); } case 6: if (GetPlayerMoney(playerid) >= 1) { new car = GetPlayerVehicleID(playerid); SetVehicleNeon(car, 0, false); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce removeu{FFFF00} Todos os Neons{A9A9A9}."); ShowMenuForPlayer(Neon, playerid); empmoney(playerid, 19, 500); } else { SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao contem dinheiro."); ShowMenuForPlayer(TuningMenu1, playerid); } case 7: { ShowMenuForPlayer(TuningMenu1, playerid); } } } if (Current == Wheels1) { switch (row) { case 0: if (GetPlayerMoney(playerid) >= 1) { new car = GetPlayerVehicleID(playerid); AddVehicleComponent(car, 1084); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Trance Wheels{A9A9A9}."); ShowMenuForPlayer(Wheels1, playerid); empmoney(playerid, 19, 500); } else { SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao contem dinheiro."); ShowMenuForPlayer(TuningMenu, playerid); } case 1: if (GetPlayerMoney(playerid) >= 1) { new car = GetPlayerVehicleID(playerid); AddVehicleComponent(car, 1073); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Shadow Wheels{A9A9A9}."); ShowMenuForPlayer(Wheels1, playerid); empmoney(playerid, 19, 500); } else { SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao contem dinheiro."); ShowMenuForPlayer(TuningMenu, playerid); } case 2: if (GetPlayerMoney(playerid) >= 1) { new car = GetPlayerVehicleID(playerid); AddVehicleComponent(car, 1075); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Rimshine Wheels{A9A9A9}."); ShowMenuForPlayer(Wheels1, playerid); empmoney(playerid, 19, 500); } else { SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao contem dinheiro."); ShowMenuForPlayer(TuningMenu, playerid); } case 3: if (GetPlayerMoney(playerid) >= 1) { new car = GetPlayerVehicleID(playerid); AddVehicleComponent(car, 1077); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Classic Wheels{A9A9A9}."); ShowMenuForPlayer(Wheels1, playerid); empmoney(playerid, 19, 500); } else { SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao contem dinheiro."); ShowMenuForPlayer(Wheels, playerid); } case 4: if (GetPlayerMoney(playerid) >= 1) { new car = GetPlayerVehicleID(playerid); AddVehicleComponent(car, 1079); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Cutter Wheels{A9A9A9}."); ShowMenuForPlayer(Wheels1, playerid); empmoney(playerid, 19, 500); } else { SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao contem dinheiro."); ShowMenuForPlayer(TuningMenu, playerid); } case 5: if (GetPlayerMoney(playerid) >= 1) { new car = GetPlayerVehicleID(playerid); AddVehicleComponent(car, 1080); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Switch Wheels{A9A9A9}."); ShowMenuForPlayer(Wheels1, playerid); empmoney(playerid, 19, 500); } else { SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao contem dinheiro."); ShowMenuForPlayer(TuningMenu, playerid); } case 6: if (GetPlayerMoney(playerid) >= 1) { new car = GetPlayerVehicleID(playerid); AddVehicleComponent(car, 1083); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Dollar Wheels{A9A9A9}."); ShowMenuForPlayer(Wheels1, playerid); empmoney(playerid, 19, 500); } else { SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao contem dinheiro."); ShowMenuForPlayer(TuningMenu, playerid); } case 7: { ShowMenuForPlayer(TuningMenu, playerid); } } } if (Current == Carstereo) { switch (row) { case 0: if (GetPlayerMoney(playerid) >= 1) { new car = GetPlayerVehicleID(playerid); AddVehicleComponent(car, 1086); VehicleInfo[car][SoundCar] = 1086; // PutSound(car); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Stereo Bass bost system{A9A9A9}."); ShowMenuForPlayer(Carstereo, playerid); empmoney(playerid, 19, 500); } else { SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao contem dinheiro."); ShowMenuForPlayer(TuningMenu, playerid); } case 1: { ShowMenuForPlayer(TuningMenu, playerid); } } } if (Current == Hydraulics) { switch (row) { case 0: if (GetPlayerMoney(playerid) >= 1) { new car = GetPlayerVehicleID(playerid); AddVehicleComponent(car, 1087); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} Hydraulics{A9A9A9} ao veiculo"); ShowMenuForPlayer(Hydraulics, playerid); empmoney(playerid, 19, 500); } else { SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao contem dinheiro."); ShowMenuForPlayer(TuningMenu, playerid); } case 1: { ShowMenuForPlayer(TuningMenu, playerid); } } } if (Current == Nitro) { switch (row) { case 0: if (GetPlayerMoney(playerid) >= 1) { new car = GetPlayerVehicleID(playerid); AddVehicleComponent(car, 1008); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} 2x Nitro{A9A9A9} ao veiculo"); ShowMenuForPlayer(Nitro, playerid); empmoney(playerid, 19, 500); } else { SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao contem dinheiro."); ShowMenuForPlayer(TuningMenu, playerid); } case 1: if (GetPlayerMoney(playerid) >= 1) { new car = GetPlayerVehicleID(playerid); AddVehicleComponent(car, 1009); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou{FFFF00} 5x Nitro{A9A9A9} ao veiculo"); ShowMenuForPlayer(Nitro, playerid); empmoney(playerid, 19, 500); } else { SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao contem dinheiro."); ShowMenuForPlayer(TuningMenu, playerid); } case 2: if (GetPlayerMoney(playerid) >= 1) { new car = GetPlayerVehicleID(playerid); AddVehicleComponent(car, 1010); SendClientMessage(playerid, COLOR_GRAD1, "[INFO] Voce adicicionou {FFFF00}10x Nitro{A9A9A9} ao veiculo"); ShowMenuForPlayer(Nitro, playerid); empmoney(playerid, 19, 500); } else { SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao contem dinheiro."); ShowMenuForPlayer(TuningMenu, playerid); } case 3: { ShowMenuForPlayer(TuningMenu, playerid); } } } if (Current == TuningMenu1) { switch (row) { case 0: { if (IsPlayerConnected(playerid)) { ShowMenuForPlayer(Hydraulics, playerid); } } case 1: { if (IsPlayerConnected(playerid)) { ShowMenuForPlayer(Nitro, playerid); } } case 2: { if (IsPlayerConnected(playerid)) { ShowMenuForPlayer(Neon, playerid); } } case 3: { if (IsPlayerConnected(playerid)) { RepairVehicleWithBomber(GetPlayerVehicleID(playerid)); SendClientMessage(playerid, COLOR_YELLOW, "[INFO] Voce reparou seu veiculo."); ShowMenuForPlayer(TuningMenu1, playerid); empmoney(playerid, 19, 500); } } case 4: { if(IsPlayerInAnyVehicle(playerid)) { Controle(playerid, 1); SendClientMessage(playerid, COLOR_GRAD2,"Voce fechou o menu Tunning."); SetCameraBehindPlayer(playerid); SetPlayerInterior(playerid,0); TunningOn[playerid] = 0; return 1; } } case 5: { if (IsPlayerConnected(playerid)) { // SetPlayerCameraPos(playerid, 1780.1196, -1709.9355, -61.5949); // SetPlayerCameraLookAt(playerid, 1779.6116, -1710.7952, -61.9699); ShowMenuForPlayer(TuningMenu, playerid); } } } } return 1; } public OnPlayerEditAttachedObject(playerid, response, index, modelid, boneid, Float:fOffsetX, Float:fOffsetY, Float:fOffsetZ, Float:fRotX, Float:fRotY, Float:fRotZ, Float:fScaleX, Float:fScaleY, Float:fScaleZ) { if(response) { AcessorioInfo[playerid][index][aSlot] = index; AcessorioInfo[playerid][index][aLocal] = boneid; AcessorioInfo[playerid][index][aModel] = modelid; AcessorioInfo[playerid][index][aX] = fOffsetX; AcessorioInfo[playerid][index][aY] = fOffsetY; AcessorioInfo[playerid][index][aZ] = fOffsetZ; AcessorioInfo[playerid][index][aRX] = fRotX; AcessorioInfo[playerid][index][aRY] = fRotY; AcessorioInfo[playerid][index][aRZ] = fRotZ; AcessorioInfo[playerid][index][aTX] = fScaleX; AcessorioInfo[playerid][index][aTY] = fScaleY; AcessorioInfo[playerid][index][aTZ] = fScaleZ; SalvarAcessorios(playerid); SetPlayerAttachedObject_Droid(playerid, index, modelid, boneid, fOffsetX, fOffsetY, fOffsetZ, fRotX, fRotY, fRotZ, fScaleX, fScaleY, fScaleZ); SendClientMessage(playerid, -1, "* Objeto editado com sucesso!"); SendClientMessage(playerid, -1, "* OBS: caso queira reposicionar ou guardar o item use /acessorios."); } else { for(new i; i<75; i++) { if(InventarioInfo[playerid][i][iSlot] == 19382) { InventarioInfo[playerid][i][iSlot] = modelid; InventarioInfo[playerid][i][iUnidades] = 1; RemovePlayerAttachedObject(playerid,index); AcessorioInfo[playerid][index][aLocal] = 0; AcessorioInfo[playerid][index][aModel] = 0; SendClientMessage(playerid, -1, "* Voce cancelou a edicao, seu item foi guardado em seu inventario!"); return 1; } } SetPlayerAttachedObject_Droid(playerid, index, modelid, boneid, fOffsetX, fOffsetY, fOffsetZ, fRotX, fRotY, fRotZ, fScaleX, fScaleY, fScaleZ); SendClientMessage(playerid, -1, "* Seu inventario esta cheio!"); } if(response) { if(fScaleX > 5.0 || fScaleY > 5.0 || fScaleZ > 5.0) { SendClientMessage(playerid, 0xFFFFFFFF, "Objeto Muito Grande Diminua!"); EditAttachedObject(playerid, index); return 1; } SendClientMessage(playerid, 0x00AA00FF, "[!] {FFFFFF}Acessorio editado com sucesso, use {00FFFF}/acessorios {FFFFFF}para remover ou edita-los novamente!"); } PosicionarObjetos(playerid, index, modelid, boneid, fOffsetX, fOffsetY, fOffsetZ, fRotX, fRotY, fRotZ, fScaleX, fScaleY, fScaleZ); SetPlayerAttachedObject_Droid(playerid, index, modelid, boneid, fOffsetX, fOffsetY, fOffsetZ, fRotX, fRotY, fRotZ, fScaleX, fScaleY, fScaleZ); return 1; } //SISTEMA DE ATENDIMENTO public TempoAtendimento() { foreach(Player, i) { if(FilaAtendimento[i] != 999 && IsPlayerConnected(i)) { TempoAtendimento2[i]++; } } return 1; } public RandomServerNames() { new string[128]; new random1 = random(sizeof(NomeServer)); format(string, sizeof(string), "hostname %s", NomeServer[random1] ); SendRconCommand(string); return 1; } public ZerarEventoChuck(playerid) { foreach(Player, i) { if(PlayerInfo[i][pTrazerChuck] == 1) { new string[150]; PlayAudioStreamForPlayer(i, "http://dl.dropboxusercontent.com/s/jmre9puicy80pys/fimevento.mp3"); format(string, sizeof(string), "O Evento chegou ao fim, seu K/D foi [%d/%d], obrigado pela participacao.", KillEvento[i], DeatEvento[i]); SendClientMessage(i, COLOR_YELLOW, string); PrimeiroChuck[i] = 0; PrimeiroChuck[i] = 0; PlayerInfo[i][pTrazerChuck] = 0; LimiteChuck = 0; SetPlayerSpawn(i); ResetPlayerWeapons(i); SetPlayerSkin(i, PlayerInfo[i][pSkin]); SetPlayerToTeamColor(i); SetPlayerWorldBounds(i,20000.0000,-20000.0000,20000.0000,-20000.0000); } } KillTimer(TempoEventoChuck); } public TempoEvento(playerid) { foreach(Player, i) { if(tempoevento[i] > 0) { tempoevento[i] = 0; } } } public hbomba(playerid) { if(phbomba[playerid] > 0) { phbomba[playerid] = 0; SendClientMessage(playerid, COLOR_GRAD1, "Voce ja pode usar o comando /homembomba novamente !"); } } CallBack::TempoExplodir(playerid) { new string[250]; if(dinamitoubanco[playerid] == 1) { DestroyObject(dinamitebanco1); DestroyObject(dinamitebanco2); CreateExplosion(304.5356, 1787.3109, 512.9559, 12, 10.0); MoveDynamicObject(portabanco,303.5950, 1785.8350, 512.7759, 20.0); format(string, sizeof(string), "%s e os %s conseguiram explodir a porta e estao invadindo o cofre do banco! ID:[%d]", PlayerName(playerid), NomeORG(playerid), playerid); SendClientMessageToAll(GetPlayerColor(playerid), string); KillTimer(tempoexplodir[playerid]); SetTimerEx("VoltarPortas", 40000, 0, "i", playerid); } if(dinamitounavio[playerid] == 1) { DestroyObject(dinamitenavio); CreateExplosion(254, -1383, 1494.1, 2, 10.0); MoveDynamicObject(portanavio2,-1383, 1494.1, 4.6,20.0); format(string, sizeof(string), "%s e os %s conseguiram explodir a porta e estao invadindo o cofre do navio! ID:[%d]", PlayerName(playerid), NomeORG(playerid), playerid); SendClientMessageToAll(GetPlayerColor(playerid), string); KillTimer(tempoexplodir[playerid]); SetTimerEx("VoltarPortas", 14000, 0, "i", playerid); } } CallBack::VoltarPortas(playerid) { if(dinamitoubanco[playerid] == 1) { dinamitoubanco[playerid] = 0; MoveDynamicObject(portabanco, 304.5356, 1787.3109, 512.9559,20.0); } if(dinamitounavio[playerid] == 1) { dinamitounavio[playerid] = 0; MoveDynamicObject(portanavio2, -1383, 1494.1, 2, 20.0); } return 1; } CallBack::RouboPortas(playerid) { if(AbrirPortaBanco[playerid] == 1) { AbrirPortaBanco[playerid] = 0; MoveDynamicObject(portabanco, 304.5356, 1787.3109, 512.9559,20.0); KillTimer(rouboportas[playerid]); } if(AbrirPortaNavio[playerid] == 1) { AbrirPortaNavio[playerid] = 0; MoveDynamicObject(portanavio2, -1383, 1494.1, 2, 20.0); KillTimer(rouboportas[playerid]); } return 1; } public cbomba() { if(pcbomba > 0) { pcbomba = 0; } } stock RemoveSound(vehicleid) { if(VehicleInfo[vehicleid][SoundCar] == 1086) { DestroyObject(Sound1[vehicleid]); DestroyObject(Sound2[vehicleid]); DestroyObject(Sound3[vehicleid]); DestroyObject(Sound4[vehicleid]); VehicleInfo[vehicleid][SoundCar] = 0; } } //Head Shot Camera System #define CAMERA_MOVE_TIME 5000 stock PutSound(vehicleid) { // if(GetVehicleModel(vehicleid) >= 400 && GetVehicleModel(vehicleid) <= 611) if(VehicleInfo[vehicleid][SoundCar] == 1086) { /*Sound1[vehicleid] = CreateDynamicObject(2232, 0.0, 0.0, 0.0,0.0, 0.0, 96.0); Sound2[vehicleid] = CreateDynamicObject(2232, 0.0, 0.0, 0.0,0.0, 0.0, 96.0); Sound3[vehicleid] = CreateDynamicObject(2229, 0.0, 0.0, 0.0,0.0, 0.0, 96.0); Sound4[vehicleid] = CreateDynamicObject(2229, 0.0, 0.0, 0.0,0.0, 0.0, 96.0); AttachObjectToVehicle(Sound1[vehicleid], vehicleid, -0.564999, -2.024998, 0.989999, 0.000000, 0.000000, 0.000000); //Object Model: 2232 | AttachObjectToVehicle(Sound2[vehicleid], vehicleid, 0.594999, -2.024998, 0.989999, 0.000000, 0.000000, 0.000000); //Object Model: 2232 | AttachObjectToVehicle(Sound3[vehicleid], vehicleid, -0.454999, -1.774998, 1.469998, -0.000000, 90.047943, 0.000000); //Object Model: 2229 | AttachObjectToVehicle(Sound4[vehicleid], vehicleid, 0.509999, -1.774998, 2.085000, -0.000000, -90.034461, 0.000000); //Object Model: 2229 | */ VehicleInfo[vehicleid][SoundCar] = 1086; } } stock InitHeadShot(playerid, targetid) { if(GetPlayerInterior(playerid) != 0 || GetPlayerInterior(targetid) != 0) { return 1; } SetPlayerArmedWeapon(playerid, 0); SetPlayerArmedWeapon(targetid, 0); new Float:fOPos[3], Float:fHPos[3], Float:Angle, Float:Speedd, object, time ; GetPlayerFacingAngle(playerid, Angle); TogglePlayerControllableEx(playerid, 0); TogglePlayerControllableEx(targetid, 0); GetPlayerPos(playerid, fOPos[0], fOPos[1], fOPos[2]); GetXYInFrontOfPlayer(playerid, fOPos[0], fOPos[1], 1.0); SetPlayerCameraPos(targetid, fOPos[0], fOPos[1], fOPos[2]); GetPlayerPos(targetid, fHPos[0], fHPos[1], fHPos[2]); SetPlayerPos(targetid, fHPos[0], fHPos[1], fHPos[2]); fHPos[2] += 0.8; SetPlayerCameraLookAt(targetid, fHPos[0], fHPos[1], fHPos[2]); GetPlayerFacingAngle(playerid, Angle); Speedd = VectorSize(fOPos[0]-fHPos[0], fOPos[1]-fHPos[1], fOPos[2]-fHPos[2]) / ( CAMERA_MOVE_TIME / 1000 ); object = CreateDynamicObject(1636, fOPos[0], fOPos[1], fOPos[2], 0.0, 0.0, 0.0); SetObjectFacePoint(object, fHPos[0], fHPos[1]); MoveDynamicObject(object, fHPos[0], fHPos[1], fHPos[2], Speedd); SetTimerEx("CameraEnd", CAMERA_MOVE_TIME+200, false, "ii", playerid, targetid); SetTimerEx("SparkCreate", CAMERA_MOVE_TIME-500, false, "fffiii", fHPos[0], fHPos[1], fHPos[2], object, playerid, targetid); fHPos[0] -= (1 * floatsin(-Angle, degrees)); fHPos[1] -= (1 * floatcos(-Angle, degrees)); fOPos[0] += (1 * floatsin(-Angle, degrees)); fOPos[1] += (1 * floatcos(-Angle, degrees)); time = CAMERA_MOVE_TIME + floatround(CAMERA_MOVE_TIME * 0.15, floatround_round); InterpolateCameraPos(playerid, fOPos[0], fOPos[1], fOPos[2], fHPos[0], fHPos[1], fHPos[2], time, CAMERA_MOVE); InterpolateCameraPos(targetid, fOPos[0], fOPos[1], fOPos[2], fHPos[0], fHPos[1], fHPos[2], time, CAMERA_MOVE); InterpolateCameraLookAt(playerid, fOPos[0], fOPos[1], fOPos[2], fHPos[0], fHPos[1], fHPos[2], 1000, CAMERA_MOVE); InterpolateCameraLookAt(targetid, fOPos[0], fOPos[1], fOPos[2], fHPos[0], fHPos[1], fHPos[2], 1000, CAMERA_MOVE); SetPlayerChatBubble(playerid, "[HEAD SHOT CAMERA]", 0x00FFFFFF, 50.0, CAMERA_MOVE_TIME); SetPlayerChatBubble(targetid, "[HEAD SHOT CAMERA]", 0x00FFFFFF, 50.0, CAMERA_MOVE_TIME); SetPVarInt(playerid, "HD", 1); SetPVarInt(targetid, "HD", 1); return 1; } CallBack::ShowMessageDB(playerid) { format(strvinny,sizeof(strvinny),"{FF8000}[ANT-DB] %s }Foi Acusado de Cometer DB em Voce\nCaso Seja Verdade Aperte em '{00FFFF}Acusar{FF8000}'!\nCaso contrario aperte em '{00FFFF}Nao Acusar{FF8000}'!",kickname); ShowPlayerDialog(playerid,1643,DIALOG_STYLE_MSGBOX,"Acusacao [ANT-DB]",strvinny,"Acusar","Nao Acusar"); return 1; } CallBack::CameraEnd(playerid, targetid) { SetPlayerArmedWeapon(playerid, 34); TogglePlayerControllableEx(playerid, 1); SetCameraBehindPlayer(playerid); SetPlayerArmedWeapon(targetid, 34); TogglePlayerControllableEx(targetid, 1); SetCameraBehindPlayer(targetid); SetPVarInt(playerid, "HD", 0); SetPVarInt(targetid, "HD", 0); return 1; } CallBack::SparkCreate(Float:X, Float:Y, Float:Z, objectid, playerid, targetid) { DestroyObject(objectid); SetTimerEx("Spark", 500, false, "i", CreateDynamicObject(18668, X, Y, Z - 1.6, 0.0, 0.0, 0.0) ); OnPlayerDeath(targetid, playerid, 34); pmorto[targetid] = true; SetPlayerHealth(targetid, 0.0); SoundInRange(32402, 30.0, X, Y, Z); PlayerPlaySound(playerid, 32402, 0.0, 0.0, 0.0); PlayerPlaySound(targetid, 32402, 0.0, 0.0, 0.0); } CallBack::ppk1(playerid) { DestroyDynamicObject(ppk11[playerid]); DestroyDynamicObject(ppk12[playerid]); DestroyDynamicObject(ppk13[playerid]); ppk11[playerid] = 0; ppk12[playerid] = 0; ppk13[playerid] = 0; } CallBack::ppk2(playerid) { DestroyDynamicObject(Ppk2[playerid]); Ppk2[playerid] = 0; } CallBack::ppk3(playerid) { DestroyDynamicObject(Ppk3[playerid]); Ppk3[playerid] = 0; } CallBack::RemoveConesPlayer(playerid) { ConeInfo[playerid][ConeID1]=999; ConeInfo[playerid][ConeCreated1]=0; DestroyDynamicObject(ConeInfo[playerid][ConeObject1]); DestroyDynamic3DTextLabel(ConeInfo[playerid][ConeText1]); ConeInfo[playerid][ConeID2]=999; ConeInfo[playerid][ConeCreated2]=0; DestroyDynamicObject(ConeInfo[playerid][ConeObject2]); DestroyDynamic3DTextLabel(ConeInfo[playerid][ConeText2]); ConeInfo[playerid][ConeID3]=999; ConeInfo[playerid][ConeCreated3]=0; DestroyDynamicObject(ConeInfo[playerid][ConeObject3]); DestroyDynamic3DTextLabel(ConeInfo[playerid][ConeText3]); ConeInfo[playerid][ConeID4]=999; ConeInfo[playerid][ConeCreated4]=0; DestroyDynamicObject(ConeInfo[playerid][ConeObject4]); DestroyDynamic3DTextLabel(ConeInfo[playerid][ConeText4]); ConeInfo[playerid][ConeID5]=999; ConeInfo[playerid][ConeCreated5]=0; DestroyDynamicObject(ConeInfo[playerid][ConeObject5]); DestroyDynamic3DTextLabel(ConeInfo[playerid][ConeText5]); } CallBack::RemoveRoadblock(playerid) { BarreiraInfo[playerid][brID]=999; BarreiraInfo[playerid][brCreated]=0; DestroyDynamicObject(BarreiraInfo[playerid][brObject]); DestroyDynamic3DTextLabel(BarreiraInfo[playerid][brText]); } CallBack::RemoveConeblock1(playerid) { ConeInfo[playerid][ConeID1]=999; ConeInfo[playerid][ConeCreated1]=0; DestroyDynamicObject(ConeInfo[playerid][ConeObject1]); DestroyDynamic3DTextLabel(ConeInfo[playerid][ConeText1]); } CallBack::RemoveConeblock2(playerid) { ConeInfo[playerid][ConeID2]=999; ConeInfo[playerid][ConeCreated2]=0; DestroyDynamicObject(ConeInfo[playerid][ConeObject2]); DestroyDynamic3DTextLabel(ConeInfo[playerid][ConeText2]); } CallBack::RemoveConeblock3(playerid) { ConeInfo[playerid][ConeID3]=999; ConeInfo[playerid][ConeCreated3]=0; DestroyDynamicObject(ConeInfo[playerid][ConeObject3]); DestroyDynamic3DTextLabel(ConeInfo[playerid][ConeText3]); } CallBack::RemoveConeblock4(playerid) { ConeInfo[playerid][ConeID4]=999; ConeInfo[playerid][ConeCreated4]=0; DestroyDynamicObject(ConeInfo[playerid][ConeObject4]); DestroyDynamic3DTextLabel(ConeInfo[playerid][ConeText4]); } CallBack::RemoveConeblock5(playerid) { ConeInfo[playerid][ConeID5]=999; ConeInfo[playerid][ConeCreated5]=0; DestroyDynamicObject(ConeInfo[playerid][ConeObject5]); DestroyDynamic3DTextLabel(ConeInfo[playerid][ConeText5]); } stock RemoveallRoadandSpikes(playerid) { BarreiraInfo[playerid][brID]=999; BarreiraInfo[playerid][brCreated]=0; DestroyDynamicObject(BarreiraInfo[playerid][brObject]); DestroyDynamic3DTextLabel(BarreiraInfo[playerid][brText]); ConeInfo[playerid][ConeID1]=999; ConeInfo[playerid][ConeCreated1]=0; DestroyDynamicObject(ConeInfo[playerid][ConeObject1]); DestroyDynamic3DTextLabel(ConeInfo[playerid][ConeText1]); ConeInfo[playerid][ConeID2]=999; ConeInfo[playerid][ConeCreated2]=0; DestroyDynamicObject(ConeInfo[playerid][ConeObject2]); DestroyDynamic3DTextLabel(ConeInfo[playerid][ConeText2]); ConeInfo[playerid][ConeID3]=999; ConeInfo[playerid][ConeCreated3]=0; DestroyDynamicObject(ConeInfo[playerid][ConeObject3]); DestroyDynamic3DTextLabel(ConeInfo[playerid][ConeText3]); ConeInfo[playerid][ConeID4]=999; ConeInfo[playerid][ConeCreated4]=0; DestroyDynamicObject(ConeInfo[playerid][ConeObject4]); DestroyDynamic3DTextLabel(ConeInfo[playerid][ConeText4]); ConeInfo[playerid][ConeID5]=999; ConeInfo[playerid][ConeCreated5]=0; DestroyDynamicObject(ConeInfo[playerid][ConeObject5]); DestroyDynamic3DTextLabel(ConeInfo[playerid][ConeText5]); SpikeInfo[playerid][sID]=999; SpikeInfo[playerid][sCreated]=0; DestroyDynamic3DTextLabel(SpikeInfo[playerid][sText]); DestroyDynamicObject(SpikeInfo[playerid][sObject]); } CallBack::RemoveRoadPregos(playerid) { SpikeInfo[playerid][sID]=999; SpikeInfo[playerid][sCreated]=0; DestroyDynamicObject(SpikeInfo[playerid][sObject]); DestroyDynamic3DTextLabel(SpikeInfo[playerid][sText]); } CallBack::CheckCarHealth(i) { if(IsPlayerConnected(i) && IsPlayerInAnyVehicle(i) && GetPlayerState(i) == PLAYER_STATE_DRIVER) { new Float:health; GetVehicleHealth(GetPlayerVehicleID(i),health); if(health <= 25) if(GetPlayerState(i) == PLAYER_STATE_DRIVER) if(CarShopping[i] != true) { new randomFogo; randomFogo = random(8); switch(randomFogo) { case 0,2,4,6,7: { if(PegouF[GetPlayerVehicleID(i)] <= 0) { new Float:P[3]; new string[MAX_STRING]; SendClientMessage(i, COLOR_LIGHTBLUE, "Seu veiculo esta muito Danificado! Os Mecanicos ja Foram Acionados!"); //PegouF[GetPlayerVehicleID(i)] = 1; TaDanificado[GetPlayerVehicleID(i)] = true; GetPlayerName(i, sendername, sizeof(sendername)); format(string, sizeof(string), "* O veiculo de %s Esta Danificado!", sendername); ProxDetector(30.0, i, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SetVehicleHealth(GetPlayerVehicleID(i), 351); GetVehiclePos(GetPlayerVehicleID(i), P[0], P[1], P[2]); //Fogando[GetPlayerVehicleID(i)] = CreateDynamicObject(18691, P[0], P[1], P[2]-1,0.0, 0.0, 96.0); //new atach = Fogando[GetPlayerVehicleID(i)]; new get = GetPlayerVehicleID(i); //AttachObjectToVehicle(atach, get, 0.0, 2.0, -3.0, 0.0, 0.0, 0.0); new Float:X,Float:Y,Float:Z; GetPlayerPos(i, X,Y,Z); new mot, lu, alar, por, cap, porma, ob; GetVehicleParamsEx(get, mot, lu, alar, por, cap, porma, ob); SetVehicleParamsEx(get, VEHICLE_PARAMS_OFF, lu, alar, por, cap, porma, ob); //RemovePlayerFromVehicle(i); format(string, sizeof(string), "** %s Precisa de um mecanico Urgentemente!! Use: (/aceitar mecanico)", sendername); SendFamilyMessage(20, 0xF78181AA, string); //format(string, sizeof(string), "**Corra! Antes que o Carro Exploda!!!"); //SendFamilyMessage(20, 0xF78181AA, string); MechanicCall = i; } } case 1,3,5: { //PegouF[GetPlayerVehicleID(i)] = 1; TaDanificado[GetPlayerVehicleID(i)] = true; } }//fim swicth }//fim carro conce }//se estiver conectado } CallBack::CheckFogoBomb(playerid) { new playername2[MAX_PLAYER_NAME]; new string[100]; //new gstring[100]; if(GetPlayerState(playerid) == 1) { if(GetPlayerWeapon(playerid) == 42) { new counter = 0; new result; for(new i; i != MAX_VEHICLES; i++) { new dist = ChecarveiculoBPF(3.5, playerid, i); if(dist) { result = i; counter++; } } switch(counter) { case 0: { TextDrawHideForPlayer(playerid, TextdrawBomb[playerid]); } case 1: { new Float:P[3]; GetVehiclePos(result, P[0], P[1], P[2]); if(IsPlayerInRangeOfPoint(playerid, 12.0, P[0], P[1], P[2])) { if(Fogando[result] <= 0) { TextDrawHideForPlayer(playerid, TextdrawBomb[playerid]); SendClientMessage(playerid, COLOR_YELLOW, "Este carro nao esta pegando fogo!"); return 1; } if(EmpregoDuty[playerid] != 1) { SendClientMessage(playerid, COLOR_GREY, "Entre em servico primeiro! (/batercartao)"); } if(Apagando[playerid] > 0) { Apagando[playerid]++; format(gstring, sizeof(gstring), " ~r~Apagando:~w~ ~y~%d/20", Apagando[playerid] ); TextDrawSetString(TextdrawBomb[playerid], gstring); TextDrawShowForPlayer(playerid, TextdrawBomb[playerid]); SetTimerEx("CheckFogoBomb", 750, false, "i", playerid); if(Apagando[playerid] == 20) { DestroyObject(Fogando[result]); GiveDinheiro(playerid, 800); GetPlayerName(playerid, playername2, sizeof(playername2)); Apagando[playerid] = 0; Fogando[result] = 0; SetVehicleHealth(result, 351); PegouF[result] = 0; TextDrawHideForPlayer(playerid, TextdrawBomb[playerid]); SendClientMessage(playerid, COLOR_YELLOW, "O incendio foi apagado com seu Extintor!"); GameTextForPlayer(playerid, "~w~incendio apagado~n~~g~bonus: R$6500", 1000, 1); format(string, sizeof(string), "[Atencao] O Bombeiro %s Apagou um Incendio Usando seu Extintor.", playername2); GiveDinheiro(playerid, 6500); SendClientMessageToAll(0xF78181AA, string); } } } } } } } if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER) { if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 407) { new counter = 0; new result; for(new i; i != MAX_VEHICLES; i++) { if(i != GetPlayerVehicleID(playerid)) { new dist = ChecarveiculoBPF(8.0, playerid, i); if(dist) { result = i; counter++; } } } switch(counter) { case 0: { TextDrawHideForPlayer(playerid, TextdrawBomb[playerid]); } case 1: { new Float:P[3]; GetVehiclePos(result, P[0], P[1], P[2]); if(IsPlayerInRangeOfPoint(playerid, 12.0, P[0], P[1], P[2])) { if(Fogando[result] <= 0) { TextDrawHideForPlayer(playerid, TextdrawBomb[playerid]); SendClientMessage(playerid, COLOR_YELLOW, "Este carro nao esta pegando fogo!"); return 1; } if(EmpregoDuty[playerid] != 1) { SendClientMessage(playerid, COLOR_GREY, "Entre em servico primeiro! (/batercartao)"); } if(Apagando[playerid] > 0) { Apagando[playerid]++; format(gstring, sizeof(gstring), " ~r~Apagando:~w~ ~y~%d/30", Apagando[playerid] ); TextDrawSetString(TextdrawBomb[playerid], gstring); TextDrawShowForPlayer(playerid, TextdrawBomb[playerid]); SetTimerEx("CheckFogoBomb", 750, false, "i", playerid); if(Apagando[playerid] == 30) { DestroyObject(Fogando[result]); GiveDinheiro(playerid, 900); GetPlayerName(playerid, playername2, sizeof(playername2)); Apagando[playerid] = 0; Fogando[result] = 0; SetVehicleHealth(result, 351); PegouF[result] = 0; TextDrawHideForPlayer(playerid, TextdrawBomb[playerid]); SendClientMessage(playerid, COLOR_YELLOW, "O incendio foi apagado pelo seu Caminhao!"); GameTextForPlayer(playerid, "~w~incendio apagado~n~~g~bonus: R$7500", 1000, 1); format(string, sizeof(string), "[Atencao] O Bombeiro %s Apagou um Incendio Usando o Caminhao.", playername2); GiveDinheiro(playerid, 7500); SendClientMessageToAll(0xF78181AA, string); } } } } } } } return 1; } CallBack::ProxDetector(Float:radi, playerid, string[],col1,col2,col3,col4,col5) { if(IsPlayerConnected(playerid)) { new Float:posx, Float:posy, Float:posz; new Float:oldposx, Float:oldposy, Float:oldposz; new Float:tempposx, Float:tempposy, Float:tempposz; GetPlayerPos(playerid, oldposx, oldposy, oldposz); //radi = 2.0; //Trigger Radius foreach(Player, i) { if(IsPlayerConnected(i)) { if(!BigEar[i]) { GetPlayerPos(i, posx, posy, posz); tempposx = (oldposx -posx); tempposy = (oldposy -posy); tempposz = (oldposz -posz); //printf("DEBUG: X:%f Y:%f Z:%f",posx,posy,posz); if (((tempposx < radi/16) && (tempposx > -radi/16)) && ((tempposy < radi/16) && (tempposy > -radi/16)) && ((tempposz < radi/16) && (tempposz > -radi/16))) { SendClientMessage(i, col1, string); } else if (((tempposx < radi/8) && (tempposx > -radi/8)) && ((tempposy < radi/8) && (tempposy > -radi/8)) && ((tempposz < radi/8) && (tempposz > -radi/8))) { SendClientMessage(i, col2, string); } else if (((tempposx < radi/4) && (tempposx > -radi/4)) && ((tempposy < radi/4) && (tempposy > -radi/4)) && ((tempposz < radi/4) && (tempposz > -radi/4))) { SendClientMessage(i, col3, string); } else if (((tempposx < radi/2) && (tempposx > -radi/2)) && ((tempposy < radi/2) && (tempposy > -radi/2)) && ((tempposz < radi/2) && (tempposz > -radi/2))) { SendClientMessage(i, col4, string); } else if (((tempposx < radi) && (tempposx > -radi)) && ((tempposy < radi) && (tempposy > -radi)) && ((tempposz < radi) && (tempposz > -radi))) { SendClientMessage(i, col5, string); } } else { SendClientMessage(i, col1, string); } } } }//not connected return 1; } CallBack::ProxVehicleDetector(Float:radi, vehicleid, string[],col1,col2,col3,col4,col5) { new Float:posx, Float:posy, Float:posz; new Float:oldposx, Float:oldposy, Float:oldposz; new Float:tempposx, Float:tempposy, Float:tempposz; GetVehiclePos(vehicleid, oldposx, oldposy, oldposz); //radi = 2.0; //Trigger Radius foreach(Player, i) { if(IsPlayerConnected(i)) { if(!BigEar[i]) { GetPlayerPos(i, posx, posy, posz); tempposx = (oldposx -posx); tempposy = (oldposy -posy); tempposz = (oldposz -posz); //printf("DEBUG: X:%f Y:%f Z:%f",posx,posy,posz); if (((tempposx < radi/16) && (tempposx > -radi/16)) && ((tempposy < radi/16) && (tempposy > -radi/16)) && ((tempposz < radi/16) && (tempposz > -radi/16))) { SendClientMessage(i, col1, string); } else if (((tempposx < radi/8) && (tempposx > -radi/8)) && ((tempposy < radi/8) && (tempposy > -radi/8)) && ((tempposz < radi/8) && (tempposz > -radi/8))) { SendClientMessage(i, col2, string); } else if (((tempposx < radi/4) && (tempposx > -radi/4)) && ((tempposy < radi/4) && (tempposy > -radi/4)) && ((tempposz < radi/4) && (tempposz > -radi/4))) { SendClientMessage(i, col3, string); } else if (((tempposx < radi/2) && (tempposx > -radi/2)) && ((tempposy < radi/2) && (tempposy > -radi/2)) && ((tempposz < radi/2) && (tempposz > -radi/2))) { SendClientMessage(i, col4, string); } else if (((tempposx < radi) && (tempposx > -radi)) && ((tempposy < radi) && (tempposy > -radi)) && ((tempposz < radi) && (tempposz > -radi))) { SendClientMessage(i, col5, string); } } else { SendClientMessage(i, col1, string); } } } return 1; } stock CrashPlayer(playerid) { for(new i=0;i<=1000;i++) CreatePlayerObject(playerid,4108,0,0,0,0,0,0); return 1; } CallBack::CreateBancoOrgs() { new arquivo[256]; new idx = 1; while (idx < sizeof(InfoOrg)) { format(arquivo, sizeof(arquivo), "Cofre Org/Org%d.cfg",idx); if(!DOF2_FileExists(arquivo)) { DOF2_CreateFile(arquivo); DOF2_SetInt(arquivo,"DiaLider",0); DOF2_SetInt(arquivo,"Dinheiro",500000); DOF2_SetInt(arquivo,"Materiais",200); DOF2_SetInt(arquivo,"Maconha",200); DOF2_SetInt(arquivo,"Cocaina",200); DOF2_SetInt(arquivo,"Crack",200); DOF2_SetInt(arquivo,"dMaconha",200); DOF2_SetInt(arquivo,"dEaglec1",200); DOF2_SetInt(arquivo,"dEaglec2",200); DOF2_SetInt(arquivo,"dEaglec3",200); DOF2_SetInt(arquivo,"dEaglec4",200); DOF2_SetInt(arquivo,"dEaglec5",200); DOF2_SetInt(arquivo,"dShotc1",200); DOF2_SetInt(arquivo,"dShotc2",200); DOF2_SetInt(arquivo,"dShotc3",200); DOF2_SetInt(arquivo,"dShotc4",200); DOF2_SetInt(arquivo,"dShotc5",200); DOF2_SetInt(arquivo,"dMP5c1",200); DOF2_SetInt(arquivo,"dMP5c2",200); DOF2_SetInt(arquivo,"dMP5c3",200); DOF2_SetInt(arquivo,"dMP5c4",200); DOF2_SetInt(arquivo,"dMP5c5",200); DOF2_SetInt(arquivo,"dAKc1",200); DOF2_SetInt(arquivo,"dAKc2",200); DOF2_SetInt(arquivo,"dAKc3",200); DOF2_SetInt(arquivo,"dAKc4",200); DOF2_SetInt(arquivo,"dAKc5",200); DOF2_SetInt(arquivo,"dM4c1",200); DOF2_SetInt(arquivo,"dM4c2",200); DOF2_SetInt(arquivo,"M4c3",200); DOF2_SetInt(arquivo,"dM4c4",200); DOF2_SetInt(arquivo,"dM4c5",200); DOF2_SetInt(arquivo,"dRiflec1",200); DOF2_SetInt(arquivo,"dRiflec2",200); DOF2_SetInt(arquivo,"dRiflec3",200); DOF2_SetInt(arquivo,"dRiflec4",200); DOF2_SetInt(arquivo,"dRiflec5",200); DOF2_SetInt(arquivo,"cMaconha",5000); DOF2_SetInt(arquivo,"cMateriais",5000); DOF2_SetInt(arquivo,"mMateriais",5000); DOF2_SetInt(arquivo,"mMaconha",5000); DOF2_SetInt(arquivo,"salarioc1",5000); DOF2_SetInt(arquivo,"salarioc2",5000); DOF2_SetInt(arquivo,"salarioc3",5000); DOF2_SetInt(arquivo,"salarioc4",5000); DOF2_SetInt(arquivo,"salarioc5",5000); DOF2_SetInt(arquivo,"salariolider",5000); DOF2_SetInt(arquivo,"Vip",0); DOF2_SetInt(arquivo,"Diasvip",0); DOF2_SetInt(arquivo,"DiaVIP",0); DOF2_SetInt(arquivo,"MesVIP",0); DOF2_SetInt(arquivo,"AnoVIP",0); DOF2_SetInt(arquivo,"MatBox1",0); DOF2_SetInt(arquivo,"MatBox2",0); DOF2_SetInt(arquivo,"MatBox3",0); } else { DOF2_CreateFile(arquivo); DOF2_SetInt(arquivo,"DiaLider",0); DOF2_SetInt(arquivo,"Dinheiro",500000); DOF2_SetInt(arquivo,"Materiais",200); DOF2_SetInt(arquivo,"Maconha",200); DOF2_SetInt(arquivo,"Cocaina",200); DOF2_SetInt(arquivo,"Crack",200); DOF2_SetInt(arquivo,"dMaconha",200); DOF2_SetInt(arquivo,"dEaglec1",200); DOF2_SetInt(arquivo,"dEaglec2",200); DOF2_SetInt(arquivo,"dEaglec3",200); DOF2_SetInt(arquivo,"dEaglec4",200); DOF2_SetInt(arquivo,"dEaglec5",200); DOF2_SetInt(arquivo,"dShotc1",200); DOF2_SetInt(arquivo,"dShotc2",200); DOF2_SetInt(arquivo,"dShotc3",200); DOF2_SetInt(arquivo,"dShotc4",200); DOF2_SetInt(arquivo,"dShotc5",200); DOF2_SetInt(arquivo,"dMP5c1",200); DOF2_SetInt(arquivo,"dMP5c2",200); DOF2_SetInt(arquivo,"dMP5c3",200); DOF2_SetInt(arquivo,"dMP5c4",200); DOF2_SetInt(arquivo,"dMP5c5",200); DOF2_SetInt(arquivo,"dAKc1",200); DOF2_SetInt(arquivo,"dAKc2",200); DOF2_SetInt(arquivo,"dAKc3",200); DOF2_SetInt(arquivo,"dAKc4",200); DOF2_SetInt(arquivo,"dAKc5",200); DOF2_SetInt(arquivo,"dM4c1",200); DOF2_SetInt(arquivo,"dM4c2",200); DOF2_SetInt(arquivo,"M4c3",200); DOF2_SetInt(arquivo,"dM4c4",200); DOF2_SetInt(arquivo,"dM4c5",200); DOF2_SetInt(arquivo,"dRiflec1",200); DOF2_SetInt(arquivo,"dRiflec2",200); DOF2_SetInt(arquivo,"dRiflec3",200); DOF2_SetInt(arquivo,"dRiflec4",200); DOF2_SetInt(arquivo,"dRiflec5",200); DOF2_SetInt(arquivo,"cMaconha",5000); DOF2_SetInt(arquivo,"cMateriais",5000); DOF2_SetInt(arquivo,"mMateriais",5000); DOF2_SetInt(arquivo,"mMaconha",5000); DOF2_SetInt(arquivo,"salarioc1",5000); DOF2_SetInt(arquivo,"salarioc2",5000); DOF2_SetInt(arquivo,"salarioc3",5000); DOF2_SetInt(arquivo,"salarioc4",5000); DOF2_SetInt(arquivo,"salarioc5",5000); DOF2_SetInt(arquivo,"salariolider",5000); DOF2_SetInt(arquivo,"Vip",0); DOF2_SetInt(arquivo,"Diasvip",0); DOF2_SetInt(arquivo,"DiaVIP",0); DOF2_SetInt(arquivo,"MesVIP",0); DOF2_SetInt(arquivo,"AnoVIP",0); DOF2_SetInt(arquivo,"MatBox1",0); DOF2_SetInt(arquivo,"MatBox2",0); DOF2_SetInt(arquivo,"MatBox3",0); } idx ++; } return 1; } CallBack::Carregar(playerid) { Controle(playerid, 1); } CallBack::countdown() { new Float:X, Float:Y, Float:Z; switch(CountStage) { case 1: { GameTextForAll("~n~~n~~n~~n~~n~~n~~n~~g~-~y~]~g~-~g~Comecou~g~-~y~]~g~-",1000,3); for(new i; i < MAX_PLAYERS; i++) { GetPlayerPos(i,X,Y,Z); PlayerPlaySound(i,1057,X,Y,Z); Controle(i, 1); } KillTimer(timer); CountStage = 0; } case 2: GameTextForAll("~n~~n~~n~~n~~n~~n~~n~~g~-~y~ 1 ~g~-",1000,3), CountStage = 1; case 3: GameTextForAll("~n~~n~~n~~n~~n~~n~~n~~g~-~y~ 2 ~g~-",1000,3), CountStage = 2; } } CallBack::Spark(objectid) DestroyObject(objectid); stock AtachVip(playerid) { if (PlayerInfo[playerid][pVIP] == 1) { //labelvip[playerid] = CreatePlayer3DTextLabel(playerid,"VIP",0x00fefeFF,30.0,40.0,50.0,40.0,playerid); } if (PlayerInfo[playerid][pVIP] == 2) { //labelvip[playerid] = CreatePlayer3DTextLabel(playerid,"SUPER-VIP",0xfaa788FF,30.0,40.0,50.0,40.0,playerid); } if (PlayerInfo[playerid][pVIP] == 3) { //labelvip[playerid] = CreatePlayer3DTextLabel(playerid,"Socio-Reliquia",0xbb52feFF,30.0,40.0,50.0,40.0,playerid); } if (PlayerInfo[playerid][pVIP] == 4) { //labelvip[playerid] = CreatePlayer3DTextLabel(playerid,"Socio-Platina",0xAEFFD1FF,30.0,40.0,50.0,40.0,playerid); } } CallBack::PlayerUpdateCamrea(playerid) { if(!CamreaInfo[air]) return RemovePlayer(playerid); GetPlayerPos(CamreaInfo[cameraman],CamreaInfo[campostion][0],CamreaInfo[campostion][1],CamreaInfo[campostion][2]); GetPlayerFacingAngle(CamreaInfo[cameraman], CamreaInfo[campostion][3]); SetPlayerChatBubble(playerid, "Assistindo TV", 0xFFFF33FF, 50.0, 5000); if(CamreaInfo[campostion][3] > 0 && CamreaInfo[campostion][3] <= 45) { SetPlayerCameraPos(playerid,CamreaInfo[campostion][0],CamreaInfo[campostion][1],CamreaInfo[campostion][2]+1); SetPlayerCameraLookAt(playerid,CamreaInfo[campostion][0],CamreaInfo[campostion][1]+20.0,CamreaInfo[campostion][2]+1); } if(CamreaInfo[campostion][3] > 45 && CamreaInfo[campostion][3] <= 135) { SetPlayerCameraPos(playerid,CamreaInfo[campostion][0],CamreaInfo[campostion][1],CamreaInfo[campostion][2]+1); SetPlayerCameraLookAt(playerid,CamreaInfo[campostion][0]-20.0,CamreaInfo[campostion][1],CamreaInfo[campostion][2]+1); } if(CamreaInfo[campostion][3] > 135 && CamreaInfo[campostion][3] <= 225) { SetPlayerCameraPos(playerid,CamreaInfo[campostion][0],CamreaInfo[campostion][1],CamreaInfo[campostion][2]+1); SetPlayerCameraLookAt(playerid,CamreaInfo[campostion][0],CamreaInfo[campostion][1]-20.0,CamreaInfo[campostion][2]+1); } if(CamreaInfo[campostion][3] > 225 && CamreaInfo[campostion][3] < 315) { SetPlayerCameraPos(playerid,CamreaInfo[campostion][0],CamreaInfo[campostion][1],CamreaInfo[campostion][2]+1); SetPlayerCameraLookAt(playerid,CamreaInfo[campostion][0]+20.0,CamreaInfo[campostion][1],CamreaInfo[campostion][2]+1); } if(CamreaInfo[campostion][3] > 315 && CamreaInfo[campostion][3] <= 360) { SetPlayerCameraPos(playerid,CamreaInfo[campostion][0],CamreaInfo[campostion][1],CamreaInfo[campostion][2]+1); SetPlayerCameraLookAt(playerid,CamreaInfo[campostion][0],CamreaInfo[campostion][1]+20.0,CamreaInfo[campostion][2]+1); } if ( IsPlayerInAnyVehicle ( CamreaInfo[cameraman] ) ) { TogglePlayerSpectating(playerid, 1); new vehicleid = GetPlayerVehicleID(CamreaInfo[cameraman]); PlayerSpectateVehicle(playerid, vehicleid, SPECTATE_MODE_SIDE); } return true; } Assistindo(playerid) { new string[MAX_STRING]; if(player_viewer[playerid]) return SendClientMessage(playerid,0xCD0400AA,"para parar de assistir use: /desligartv"); if(!CamreaInfo[air]) return SendClientMessage(playerid,0xCD0400AA,"A Tv esta fora do Ar!"); CPU[playerid] = SetTimerEx("PlayerUpdateCamrea",50,true,"d",playerid); SetPlayerCameraPos(playerid,CamreaInfo[campostion][0],CamreaInfo[campostion][1],CamreaInfo[campostion][2]+1); SetPlayerCameraLookAt(playerid,CamreaInfo[campostion][0],CamreaInfo[campostion][1]+20.0,CamreaInfo[campostion][2]+1); player_viewer[playerid] = true; CamreaInfo[audience]++; format(string, sizeof(string), "Audiencia de Pessoas Assistindo Televisao: %d", CamreaInfo[audience]); SendClientMessage(CamreaInfo[cameraman], 0xff6347FF, string); return true; } RemovePlayer(playerid) { if(player_viewer[playerid] == true) { new string[MAX_STRING]; //SpawnPlayer(playerid); TogglePlayerSpectating(playerid, 0); SetCameraBehindPlayer(playerid); CamreaInfo[audience]--; format(string, sizeof(string), "Audiencia de Pessoas Assistindo Televisao: %d", CamreaInfo[audience]); SendClientMessage(CamreaInfo[cameraman], 0xff6347FF, string); player_viewer[playerid] = false; KillTimer(CPU[playerid]); } return true; } OnAir(playerid,camera) { if(camera == 1) { CamreaInfo[cameraman] = playerid; CamreaInfo[air] = true; } else if(camera == 0) { if(CamreaInfo[cameraman] == playerid) { new string[128]; CamreaInfo[cameraman] = INVALID_PLAYER_ID; format(string, sizeof(string), "Reporter %s: deixou de ser o Camera-Man.", NomePlayer(playerid)); SendFamilyMessage(9, 0xFFA500F6, string); RemovePlayerAttachedObjectEx(playerid, Vaga_Maconha); OffAir(); return true; } if(CamreaInfo[cameraman] != playerid) { new string[128]; CamreaInfo[cameraman] = playerid; format(string, sizeof(string), "Reporter %s: Virou o Camera-Man.", NomePlayer(playerid)); SendFamilyMessage(9, 0xFFA500F6, string); new id = CountAttachedObjects(playerid); SetPlayerAttachedObject_Droid(playerid,id,1886,1,0.182000,0.000000,0.169999,0.000000,-93.000022,178.200027,0.549000,0.334999,0.412000); SetPlayerAttachedObjectEx(1886,Vaga_Maconha,playerid,id); } } return true; } OffAir() { KillTimer(CamreaInfo[tup]); CamreaInfo[air] = false; SendClientMessage(CamreaInfo[cameraman], 0xE60000FF,"Voce Desativou a Camera!"); for(new i = 0; i < GetMaxPlayers(); i++) RemovePlayer(i); return true; } stock SetObjectFacePoint(objectid, Float: X, Float: Y) // By Lorenc_ | http://forum.sa-mp.com/showpost.php?p=1456045&postcount=2563 { static Float: pX, Float: oX, Float: pY, Float: oY, Float: oZ ; GetObjectRot(objectid, oX, oY, oZ); GetObjectPos(objectid, pX, pY, oZ); oZ = ( floatadd(atan2(floatsub(Y, pY), floatsub(X, pX)), 270.0) ); SetObjectRot(objectid, oX, oY, oZ); } equipamentosDestruir(p){ if(CaixaEquipamentos[p][caCreated]){ new file[78] ; format(file, sizeof file, "CaixasEquipamentos/Caixa%d.ini", p); if(DOF2_FileExists(file)){ DOF2_RemoveFile(file); } CaixaEquipamentos[p][caCreated] = false; DestroyDynamicObject(CaixaEquipamentos[p][caObject]); DestroyDynamic3DTextLabel(CaixaEquipamentos[p][caText]); } } dialogEquipar(playerid){ new string[2000]; string[0] = EOS; for(new i; i < MAX_CAIXASEQUIPAMENTOS; ++i){ if(CaixaEquipamentos[i][caCreated] && IsPlayerInRangeOfPoint(playerid, 2, CaixaEquipamentos[i][caX], CaixaEquipamentos[i][caY], CaixaEquipamentos[i][caZ])){ new Float:health, Float:armour; GetPlayerHealth(playerid, health); GetPlayerArmour(playerid, armour); if(CaixaEquipamentos[i][caType] == 1){ strcat(string, "{FFFFFF}CAIXA DE ARMAS PEQUENA:\n\n"); strcat(string, "{B4B5B7}Vida/Colete:\n"); strcat(string, "{FFFFFF}Vida: {2641FE}+40\n"); strcat(string, "{FFFFFF}Colete: {2641FE}+40\n\n"); strcat(string, "{FFFFFF}Armas/Balas:\n\n"); strcat(string, "{FFFFFF}Desert Eagle: {2641FE}+75 balas\n"); strcat(string, "{FFFFFF}Shotgun: {2641FE}+50 balas\n"); strcat(string, "{FFFFFF}MP5: {2641FE}+150 balas\n"); strcat(string, "{FFFFFF}M4: {2641FE}+100\n"); strcat(string, "{FFFFFF}Sniper: {2641FE}+15 balas"); SetPlayerHealth(playerid, health + 40); SetPlayerArmour(playerid, armour + 40); GivePlayerWeapon(playerid, 24, 75); GivePlayerWeapon(playerid, 25, 50); GivePlayerWeapon(playerid, 29, 150); GivePlayerWeapon(playerid, 31, 100); if(SNIPER_ATIVADO) GivePlayerWeapon(playerid, 34, 15); CaixaEquipamentos[i][caMateriais] -= 40; ShowPlayerDialog(playerid, 3035, DIALOG_STYLE_MSGBOX, "Equipamentos que recebeu", string, "Fechar", ""); } if(CaixaEquipamentos[i][caType] == 2){ strcat(string, "{FFFFFF}CAIXA DE ARMAS MEDIA:\n\n"); strcat(string, "{B4B5B7}Vida/Colete:\n"); strcat(string, "{FFFFFF}Vida: {2641FE}+75\n"); strcat(string, "{FFFFFF}Colete: {2641FE}+75\n\n"); strcat(string, "{FFFFFF}Armas/Balas:\n\n"); strcat(string, "{FFFFFF}Faca: {2641FE}+1\n"); strcat(string, "{FFFFFF}Desert Eagle: {2641FE}+150 balas\n"); strcat(string, "{FFFFFF}Shotgun: {2641FE}+100 balas\n"); strcat(string, "{FFFFFF}MP5: {2641FE}+250 balas\n"); strcat(string, "{FFFFFF}M4: {2641FE}+250\n"); strcat(string, "{FFFFFF}Sniper: {2641FE}+75 balas"); SetPlayerHealth(playerid, health + 75); SetPlayerArmour(playerid, armour + 75); GivePlayerWeapon(playerid, 4, 1); GivePlayerWeapon(playerid, 24, 150); GivePlayerWeapon(playerid, 25, 100); GivePlayerWeapon(playerid, 29, 250); GivePlayerWeapon(playerid, 31, 250); if(SNIPER_ATIVADO) GivePlayerWeapon(playerid, 34, 75); CaixaEquipamentos[i][caMateriais] -= 40; ShowPlayerDialog(playerid, 3035, DIALOG_STYLE_MSGBOX, "Equipamentos que recebeu", string, "Fechar", ""); } if(CaixaEquipamentos[i][caType] == 3){ strcat(string, "{FFFFFF}CAIXA DE ARMAS GRANDE:\n\n"); strcat(string, "{B4B5B7}Vida/Colete:\n"); strcat(string, "{FFFFFF}Vida: {2641FE}+100\n"); strcat(string, "{FFFFFF}Colete: {2641FE}+100\n\n"); strcat(string, "{FFFFFF}Armas/Balas:\n\n"); strcat(string, "{FFFFFF}Faca: {2641FE}+1\n"); strcat(string, "{FFFFFF}Desert Eagle: {2641FE}+500 balas\n"); strcat(string, "{FFFFFF}Shotgun: {2641FE}+250 balas\n"); strcat(string, "{FFFFFF}MP5: {2641FE}+450 balas\n"); strcat(string, "{FFFFFF}M4: {2641FE}+350\n"); strcat(string, "{FFFFFF}Sniper: {2641FE}+150 balas"); SetPlayerHealth(playerid, health + 100); SetPlayerArmour(playerid, armour + 100); GivePlayerWeapon(playerid, 4, 1); GivePlayerWeapon(playerid, 24, 500); GivePlayerWeapon(playerid, 25, 250); GivePlayerWeapon(playerid, 29, 450); GivePlayerWeapon(playerid, 31, 350); if(SNIPER_ATIVADO) GivePlayerWeapon(playerid, 34, 150); CaixaEquipamentos[i][caMateriais] -= 40; ShowPlayerDialog(playerid, 3035, DIALOG_STYLE_MSGBOX, "Equipamentos que recebeu", string, "Fechar", ""); } if(CaixaEquipamentos[i][caMateriais] == 40){ SendClientMessage(playerid, -1, #Caixa destruida!); equipamentosDestruir(i); } } } } //------------------------------------------------ new legalmods[48][22] = { {400, 1024,1021,1020,1019,1018,1013,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000}, {401, 1145,1144,1143,1142,1020,1019,1017,1013,1007,1006,1005,1004,1003,1001,0000,0000,0000,0000}, {404, 1021,1020,1019,1017,1016,1013,1007,1002,1000,0000,0000,0000,0000,0000,0000,0000,0000,0000}, {405, 1023,1021,1020,1019,1018,1014,1001,1000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000}, {410, 1024,1023,1021,1020,1019,1017,1013,1007,1003,1001,0000,0000,0000,0000,0000,0000,0000,0000}, {415, 1023,1019,1018,1017,1007,1003,1001,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000}, {418, 1021,1020,1016,1006,1002,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000}, {420, 1021,1019,1005,1004,1003,1001,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000}, {421, 1023,1021,1020,1019,1018,1016,1014,1000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000}, {422, 1021,1020,1019,1017,1013,1007,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000}, {426, 1021,1019,1006,1005,1004,1003,1001,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000}, {436, 1022,1021,1020,1019,1017,1013,1007,1006,1003,1001,0000,0000,0000,0000,0000,0000,0000,0000}, {439, 1145,1144,1143,1142,1023,1017,1013,1007,1003,1001,0000,0000,0000,0000,0000,0000,0000,0000}, {477, 1021,1020,1019,1018,1017,1007,1006,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000}, {478, 1024,1022,1021,1020,1013,1012,1005,1004,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000}, {489, 1024,1020,1019,1018,1016,1013,1006,1005,1004,1002,1000,0000,0000,0000,0000,0000,0000,0000}, {491, 1145,1144,1143,1142,1023,1021,1020,1019,1018,1017,1014,1007,1003,0000,0000,0000,0000,0000}, {492, 1016,1006,1005,1004,1000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000}, {496, 1143,1142,1023,1020,1019,1017,1011,1007,1006,1003,1002,1001,0000,0000,0000,0000,0000,0000}, {500, 1024,1021,1020,1019,1013,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000}, {516, 1021,1020,1019,1018,1017,1016,1015,1007,1004,1002,1000,0000,0000,0000,0000,0000,0000,0000}, {517, 1145,1144,1143,1142,1023,1020,1019,1018,1017,1016,1007,1003,1002,0000,0000,0000,0000,0000}, {518, 1145,1144,1143,1142,1023,1020,1018,1017,1013,1007,1006,1005,1003,1001,0000,0000,0000,0000}, {527, 1021,1020,1018,1017,1015,1014,1007,1001,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000}, {529, 1023,1020,1019,1018,1017,1012,1011,1007,1006,1003,1001,0000,0000,0000,0000,0000,0000,0000}, {534, 1185,1180,1179,1178,1127,1126,1125,1124,1123,1122,1106,1101,1100,0000,0000,0000,0000,0000}, {535, 1121,1120,1119,1118,1117,1116,1115,1114,1113,1110,1109,0000,0000,0000,0000,0000,0000,0000}, {536, 1184,1183,1182,1181,1128,1108,1107,1105,1104,1103,0000,0000,0000,0000,0000,0000,0000,0000}, {540, 1145,1144,1143,1142,1024,1023,1020,1019,1018,1017,1007,1006,1004,1001,0000,0000,0000,0000}, {542, 1145,1144,1021,1020,1019,1018,1015,1014,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000}, {546, 1145,1144,1143,1142,1024,1023,1019,1018,1017,1007,1006,1004,1002,1001,0000,0000,0000,0000}, {547, 1143,1142,1021,1020,1019,1018,1016,1003,1000,0000,0000,0000,0000,0000,0000,0000,0000,0000}, {549, 1145,1144,1143,1142,1023,1020,1019,1018,1017,1012,1011,1007,1003,1001,0000,0000,0000,0000}, {550, 1145,1144,1143,1142,1023,1020,1019,1018,1006,1005,1004,1003,1001,0000,0000,0000,0000,0000}, {551, 1023,1021,1020,1019,1018,1016,1006,1005,1003,1002,0000,0000,0000,0000,0000,0000,0000,0000}, {558, 1168,1167,1166,1165,1164,1163,1095,1094,1093,1092,1091,1090,1089,1088,0000,0000,0000,0000}, {559, 1173,1162,1161,1160,1159,1158,1072,1071,1070,1069,1068,1067,1066,1065,0000,0000,0000,0000}, {560, 1170,1169,1141,1140,1139,1138,1033,1032,1031,1030,1029,1028,1027,1026,0000,0000,0000,0000}, {561, 1157,1156,1155,1154,1064,1063,1062,1061,1060,1059,1058,1057,1056,1055,1031,1030,1027,1026}, {562, 1172,1171,1149,1148,1147,1146,1041,1040,1039,1038,1037,1036,1035,1034,0000,0000,0000,0000}, {565, 1153,1152,1151,1150,1054,1053,1052,1051,1050,1049,1048,1047,1046,1045,0000,0000,0000,0000}, {567, 1189,1188,1187,1186,1133,1132,1131,1130,1129,1102,0000,0000,0000,0000,0000,0000,0000,0000}, {575, 1177,1176,1175,1174,1099,1044,1043,1042,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000}, {576, 1193,1192,1191,1190,1137,1136,1135,1134,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000}, {580, 1023,1020,1018,1017,1007,1006,1001,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000}, {589, 1145,1144,1024,1020,1018,1017,1016,1013,1007,1006,1005,1004,1000,0000,0000,0000,0000,0000}, {600, 1022,1020,1018,1017,1013,1007,1006,1005,1004,0000,0000,0000,0000,0000,0000,0000,0000,0000}, {603, 1145,1144,1143,1142,1024,1023,1020,1019,1018,1017,1007,1006,1001,0000,0000,0000,0000,0000} }; stock iswheelmodel(modelid) { new wheelmodels[17] = {1025,1073,1074,1075,1076,1077,1078,1079,1080,1081,1082,1083,1084,1085,1096,1097,1098}; for(new I = 0, b = sizeof(wheelmodels); I != b; ++I) { if (modelid == wheelmodels[I]) return true; } return false; } stock IllegalCarNitroIde(carmodel) { new illegalvehs[29] = { 581, 523, 462, 521, 463, 522, 461, 448, 468, 586, 509, 481, 510, 472, 473, 493, 595, 484, 430, 453, 452, 446, 454, 590, 569, 537, 538, 570, 449 }; for(new I = 0, b = sizeof(illegalvehs); I != b; ++I) { if (carmodel == illegalvehs[I]) return true; } return false; } // assumes player is in a car - make sure it is. stock illegal_nos_vehicle(PlayerID) { new carid = GetPlayerVehicleID(PlayerID); new playercarmodel = GetVehicleModel(carid); return IllegalCarNitroIde(playercarmodel); } stock islegalcarmod(vehicleide, componentid) { new modok = false; // stereo, hydraulics & nos (1x 2x 3x) are special. if ( (iswheelmodel(componentid)) || (componentid == 1086) || (componentid == 1087) || ((componentid >= 1008) && (componentid <= 1010))) { new nosblocker = IllegalCarNitroIde(vehicleide); if (!nosblocker) modok = true; } else { // check if the specified model CAN use this particular mod. for(new I = 0, b = sizeof(legalmods); I != b; ++I) { if (legalmods[I][0] == vehicleide) { // first is car IDE for(new J = 1; J < 22; J++) { // start with 1 if (legalmods[I][J] == componentid) modok = true; } } } } return modok; } stock SetPlayerFaceToPoint(playerid, Float: X, Float: Y) { static Float: pX, Float: pY, Float: oZ ; GetPlayerPos(playerid, pX, pY, oZ); oZ = ( floatadd(atan2(floatsub(Y, pY), floatsub(X, pX)), 270.0) ); SetPlayerFacingAngle(playerid, oZ); } /* stock IsVehicleOccupied(vehicleid) // Returns 1 if there is anyone in the vehicle { foreach(Player, i) { if(IsPlayerInAnyVehicle(i)) { if(GetPlayerVehicleID(i)==vehicleid) return 1; } } return 0; } */ stock ColocarXenon(playerid, vehicleid, cor) { if(cor == 1)//azul { for(new x=0;x < 4;x++) xenon[x][playerid] = CreateDynamicObject(19298,0,0,0,0,0,0); AttachDynamicObjectToVehicle(xenon[0][playerid], vehicleid, 0.0, 3.0, -0.8, 0.0, 0.0, 0.0); AttachDynamicObjectToVehicle(xenon[1][playerid], vehicleid, 0.0, 5.0, -0.8, 0.0, 0.0, 0.0); AttachDynamicObjectToVehicle(xenon[2][playerid], vehicleid, 0.0, 6.0, -0.8, 0.0, 0.0, 0.0); AttachDynamicObjectToVehicle(xenon[3][playerid], vehicleid, 0.0, 7.0, -0.8, 0.0, 0.0, 0.0); } else if(cor == 2)//verde { for(new x=0;x < 4;x++) xenon[x][playerid] = CreateDynamicObject(19297,0,0,0,0,0,0); AttachDynamicObjectToVehicle(xenon[0][playerid], vehicleid, 0.0, 3.0, -0.8, 0.0, 0.0, 0.0); AttachDynamicObjectToVehicle(xenon[1][playerid], vehicleid, 0.0, 5.0, -0.8, 0.0, 0.0, 0.0); AttachDynamicObjectToVehicle(xenon[2][playerid], vehicleid, 0.0, 6.0, -0.8, 0.0, 0.0, 0.0); AttachDynamicObjectToVehicle(xenon[3][playerid], vehicleid, 0.0, 7.0, -0.8, 0.0, 0.0, 0.0); } else if(cor == 3)//roxo { for(new x=0;x < 4;x++) xenon[x][playerid] = CreateDynamicObject(19296,0,0,0,0,0,0); AttachDynamicObjectToVehicle(xenon[0][playerid], vehicleid, 0.0, 3.0, -0.8, 0.0, 0.0, 0.0); AttachDynamicObjectToVehicle(xenon[1][playerid], vehicleid, 0.0, 5.0, -0.8, 0.0, 0.0, 0.0); AttachDynamicObjectToVehicle(xenon[2][playerid], vehicleid, 0.0, 6.0, -0.8, 0.0, 0.0, 0.0); AttachDynamicObjectToVehicle(xenon[3][playerid], vehicleid, 0.0, 7.0, -0.8, 0.0, 0.0, 0.0); } return 0; } stock RemoverXenon(playerid) { for(new x=0;x < 4;x++) DestroyDynamicObject(xenon[x][playerid]); return 0; } ProibidoXenon(playerid,cocheid) { new Coches[48] = { //Motos 522, 462, 521, 461, 463, 581, 448, 586, 523, 468, 471, //Bicis 509, 481, 510, //Botes 539, 472, 473, 493, 595, 484, 430, 453, 452, 446, 454, //Helicopteros 548, 425, 417, 487, 497, 563, 501, 465, 447, 469, 488, // Aviones 520, 476, 593, 553, 513, 512, 577, 592, 511, 464, 519, 460, }; cocheid = GetPlayerVehicleID(playerid); if(IsPlayerInVehicle(playerid,cocheid)) { for(new i = 0; i < 48; i++) { if(GetVehicleModel(cocheid) == Coches[i]) { return 1; } } } return 0; } stock SetArmament(playerid, item) { if(item == 11749) { PlayerTextDrawSetPreviewRot(playerid, WeaponMod[playerid], 90.000000, 180.000000, 310.000000, 0.500000); } else if(item == 18642) { PlayerTextDrawSetPreviewRot(playerid, WeaponMod[playerid], 0.000000, 140.000000, 180.000000, 0.500000); } PlayerTextDrawSetPreviewModel(playerid, WeaponMod[playerid], item); PlayerTextDrawShow(playerid, WeaponModBox[playerid]); PlayerTextDrawShow(playerid, WeaponMod[playerid]); return 0; } stock RemoveArmament(playerid) { PlayerTextDrawHide(playerid, WeaponMod[playerid]); PlayerTextDrawHide(playerid, WeaponModBox[playerid]); return 0; } //final da gm stock pNome(playerid) { new nome[MAX_PLAYER_NAME]; GetPlayerName(playerid, nome, sizeof(nome)); return nome; } stock GetLocal_XYZ(Float:xxxx, Float:yyyy) { new zone[50]; format(zone, 50, "Desconhecido"); for(new i = 0; i != sizeof(gSAZones); i++) { if(xxxx >= gSAZones[i][SAZONE_AREA][0] && xxxx <= gSAZones[i][SAZONE_AREA][3] && yyyy >= gSAZones[i][SAZONE_AREA][1] && yyyy <= gSAZones[i][SAZONE_AREA][4]) { format(zone, 50, gSAZones[i][SAZONE_NAME]); return zone; } } return zone; } // ----------------------------------------------------------------------------------------------------------------------------------------- // forward UsouJa(); public UsouJa() { JaUsou = false; foreach(Player, playerid) SendClientMessage(playerid, COLOR_GRAD1, "Voce ja pode usar o /respawndetran novamente!"); return 1; } // ----------------------------------------------------------------------------------------------------------------------------------------- // stock ShowPlayerDialogEx(playerid, dialogid, error = -1)//NORMAL E error { StringDialog[0] = EOS; new strGato[128], bContagem; // ------------------------- // if(dialogid == D_CIDADE_ESCOLHER_EMPREGO) { ShowPlayerDialog(playerid, dialogid, DIALOG_STYLE_LIST, "Qual cidade deseja trabalhar?", "\ Los Santos\n\ Las Venturas", "Selecionar", "Cancelar"); } // ------------------------- // if(dialogid == D_MODELO_OBJETO_SHOW) { new sObj = EditandoObjID[playerid]; if(sObj != -1) { new model = Streamer_GetIntData(STREAMER_TYPE_OBJECT, sObj, E_STREAMER_MODEL_ID); format(StringDialog, sizeof(StringDialog), "\ {FFFFFF}Modelo do objeto: %i", model); ShowPlayerDialog(playerid, dialogid, DIALOG_STYLE_MSGBOX, "{FFFF00}Informação do objeto", StringDialog, "Entendido", "Fechar"); } } // ------------------------- // /*if(dialogid == D_REGISTRAR_EMAIL) { format(StringDialog, sizeof(StringDialog), "\ {FFFFFF}Você está registrando um email para a sua conta!\n\n\ {FFFFFF}É muito importante você registrar um email para a conta\n\ {FFFFFF}Porque com ele, caso você perca sua senha futuramente\n\ {FFFFFF}Você poderá utilizar o email e recuperar a mesma.\n\n\ {FFFFFF}Digite um email válido abaixo:%s", ReturnErrorDialog(dialogid, error)); ShowPlayerDialog(playerid, dialogid, DIALOG_STYLE_INPUT, "{FFFF00}Registro de email [Atenção]", StringDialog, "Registrar", "Cancelar"); } // ------------------------- // if(dialogid == D_CODIGO_RECUPERAR_CONTA) { format(StringDialog, sizeof(StringDialog), "\ {FFFFFF}Foi enviado um código de recuperação da sua senha ao seu email %s.\n\ {FFFFFF}Digite o código que foi enviado ao seu email para você trocar sua senha:%s", DOF2_GetString(pArquivo(playerid), "EmailPessoal"), ReturnErrorDialog(dialogid, error)); ShowPlayerDialog(playerid, dialogid, DIALOG_STYLE_INPUT, "{00FFFF}Recuperação de senha", StringDialog, "Confirmar", "Sair"); } // ------------------------- // if(dialogid == D_NOVA_SENHA_RECUPERAR) { format(StringDialog, sizeof(StringDialog), "\ {FFFFFF}Digite uma nova senha para sua conta:%s", ReturnErrorDialog(dialogid, error)); ShowPlayerDialog(playerid, dialogid, DIALOG_STYLE_PASSWORD, "Mudança de senha", StringDialog, "Trocar", #); } */ // ------------------------- // // bvendas if(dialogid == D_QUER_ADQUIRIR_ITEM_SERVER) { new vendedorid = ComprandoItemServerDe[playerid]; new IndexID = IndexIDVendendo[playerid]; new quantia = IndexPrecoVendendo[playerid]; new sTipo = TipoCompraItemIDD[playerid]; if(!IsPlayerConnected(vendedorid)) return SCM(playerid, COLOR_ERRO, "[ERRO] O(A) Jogador(a) não está mais online no servidor."); if(TipoCompraItemIDD[playerid] == C_COMPRA_CARRO && !IsValidVehicle(IndexID)) return SCM(playerid, COLOR_ERRO, "[ERRO] Esse veículo não existe mais no servidor!"), ResetVendaItemServer(playerid, vendedorid); // bcompracarro if(sTipo == C_COMPRA_CARRO) { format(StringDialog, sizeof(StringDialog), "\ {FFFFFF}%s(%i) quer te vender o carro dele ( %s )\n\ {FFFFFF}Por R$%i! Eai topa?", PlayerName(vendedorid), vendedorid, getVehicleName(IndexID), quantia); ShowPlayerDialog(playerid, dialogid, DIALOG_STYLE_MSGBOX, "Oferta de carro", StringDialog, "Aceitar", "Recusar"); } } // ------------------------- // if(dialogid == D_PCOUANDROID) { ShowPlayerDialog(playerid, dialogid, DIALOG_STYLE_MSGBOX, "Qual sua plataforma?", "{FFFFFF}Queremos saber qual e a sua plataforma, para que nos do servidor\n\ {FFFFFF}possamos {00FF00}carregar {FFFFFF}as Informações corretamentes.\n\n\ {FFFFFF}Qual a plataforma que voce esta?\n\n\ {6FB7FF}- Computador\n\ {FF80FF}- Android\n\n\ {FFFFFF}Selecione corretamente sua opcao!", "PC", "Android"); } // ------------------------- // if(dialogid == D_INVENTARIO_MOBILE) { if(EditandoObjID[playerid] != -1) return SCM(playerid, COLOR_ERRO, "[Erro] Você já está editando um objeto. Termine a edição do mesmo."); Loop(i, 75) { if(InventarioInfo[playerid][i][iSlot] != 19382) { if(InventarioInfo[playerid][i][iUnidades] != 0) { format(strGato, sizeof(strGato), "{FFFFFF}Nome do item: %s / {9BFF9B}%i Unidades\n", NomeItemInventario(InventarioInfo[playerid][i][iSlot]), InventarioInfo[playerid][i][iUnidades]); strcat(StringDialog, strGato); InventarioListitem[playerid][bContagem] = i; bContagem++; } } } if(bContagem == 0) { ClearAnimations(playerid); RemovePlayerAttachedObject(playerid, 9); return SCM(playerid, COLOR_ERRO, "Voce nao possui nenhum item que seja de inventario."); } ShowPlayerDialog(playerid, dialogid, DIALOG_STYLE_LIST, "{00FFFF}Inventario", StringDialog, "Selecionar", "Cancelar"); } // ------------------------- // if(dialogid == D_OPCOES_INVENTARIO) { new item = ItemSelecionado[playerid]; format(strGato, sizeof(strGato), "Item: %s / Unidade(s): %i", NomeItemInventario(InventarioInfo[playerid][item][iSlot]), InventarioInfo[playerid][item][iUnidades]); ShowPlayerDialog(playerid, dialogid, DIALOG_STYLE_LIST, strGato, "\ {00FF00}Usar item\n\ {FFFFFF}Vender item\n\ {00FFFF}Dropar item", "Proximo", "Voltar"); } // ------------------------- // if(dialogid == D_CIDADE_NASCER) { ShowPlayerDialog(playerid, dialogid, DIALOG_STYLE_LIST, "Qual cidade você deseja viver?", "Los Santos\nLas Venturas", "Selecionar", ""); } // ------------------------- // if(dialogid == D_PAGAR_IMPOSTOS) { new house = PlayerInfo[playerid][pPHousekey]; if(house == 500) return SCM(playerid, COLOR_ERRO, "[Erro] Você não possui uma casa própria. Portanto você não deve nada ao governo."); new impostos = HouseInfo[house][hImpostos]; format(StringDialog, sizeof(StringDialog), "\ {FFFFFF}Pagamento de impostos da casa\n\ {FFFFFF}Sua casa ID %i está com %i impostos de "#MAX_IMPOSTOS_CASA" atrasados.\n\n\ {FFFFFF}Somando as contas de:\n\ {FFFFFF}Água + Energia + Esgoto + IPTU somam:\n\ {FFFFFF}R$%i em espécie de contas em atraso.\n\n\ {FFFFFF}Deseja quitar essa divida agora?", house, impostos, HouseInfo[house][hPagarImpostos]); ShowPlayerDialog(playerid, dialogid, DIALOG_STYLE_MSGBOX, "Pagamento de impostos", StringDialog, "Pagar", "Cancelar"); } return 1; } // ------------------------------------------------------------------------------------------------------------------------------------------------ // /*stock ReturnErrorDialog(dialogid, error) { new pString[144]; if(error != -1) { if(dialogid == D_REGISTRAR_EMAIL) { if(error == 0) pString = "\n\n{00FFFF}O Email deve ser entre 10 e "#MAX_TAMANHO_EMAIL" caracteres."; if(error == 1) pString = "\n\n{00FFFF}Esse email não é válido."; if(error == 2) pString = "\n\n{00FFFF}Já existe outra conta utilizando este email."; } if(dialogid == D_CODIGO_RECUPERAR_CONTA) { if(error == 0) pString = "\n\n{00FFFF}Digite o código em números."; if(error == 1) pString = "\n\n{00FFFF}O código está inválido."; } if(dialogid == D_NOVA_SENHA_RECUPERAR) { if(error == 0) pString = "\n\n{00FFFF}Digite a senha entre 6 e 20 caracteres."; } } return pString; } */ // ------------------------------------------------------------------------------------------------------------------------------------------------ // forward FecharInventarioEm(playerid); public FecharInventarioEm(playerid) { RemovePlayerAttachedObject(playerid, 9); InventarioAberto[playerid] = 0; for(new i = 0; i != 7; i++) { PlayerTextDrawHide(playerid, invText[playerid][i]); } for(new i = 0; i != 75; i++) { PlayerTextDrawHide(playerid, invPreview[playerid][i]); PlayerTextDrawHide(playerid, invName[playerid][i]); } Loop(td, sizeof(invBox[])) { PlayerTextDrawHide(playerid, invBox[playerid][td]); } ClearAnimations(playerid); ClearAnimations(playerid); ClearAnimations(playerid); CancelSelectTextDraw(playerid); // Chamar novamente if(DebugFechouInventario[playerid] == false) { SetTimerEx("FecharInventarioEm", 200, false, "i", playerid); } else { // Caso seja true, apenas reseta. DebugFechouInventario[playerid] = false; } DebugFechouInventario[playerid] = true; } // ----------------------------------------------------------------------------------------------------------------------------------------- // forward DescalarJogadores(playerid); public DescalarJogadores(playerid) { foreach(Player, i) { PlayerInfo[i][pMuted] = 0; } } // ----------------------------------------------------------------------------------------------------------------------------------------- // /* forward SetPlayerMapIconEx(playerid, iconid, Float:x, Float:y, Float:z, markertype, color, style = MAPICON_GLOBAL); public SetPlayerMapIconEx(playerid, iconid, Float:x, Float:y, Float:z, markertype, color, style = MAPICON_GLOBAL) */ stock SetPlayerMapIconEx(playerid, iconid, Float:x, Float:y, Float:z, markertype, color, style = MAPICON_LOCAL) { #undef SetPlayerMapIcon SetPlayerMapIcon(playerid, iconid, x, y, z, markertype, color, style); if(iconid < MAX_PLAYER_MAPICONS) { DataPlayerMapIcon[playerid][iconid][m_PosX] = x; DataPlayerMapIcon[playerid][iconid][m_PosY] = y; DataPlayerMapIcon[playerid][iconid][m_PosZ] = z; } #define SetPlayerMapIcon SetPlayerMapIconEx } // ----------------------------------------------------------------------------------------------------------------------------------------- // forward RemovePlayerMapIconEx(playerid, iconid); public RemovePlayerMapIconEx(playerid, iconid) { #undef RemovePlayerMapIcon DataPlayerMapIcon[playerid][iconid][m_PosX] = 0.0; DataPlayerMapIcon[playerid][iconid][m_PosY] = 0.0; DataPlayerMapIcon[playerid][iconid][m_PosZ] = 0.0; RemovePlayerMapIcon(playerid, iconid); #define RemovePlayerMapIcon RemovePlayerMapIconEx } // ----------------------------------------------------------------------------------------------------------------------------------------- // stock IsVehicleInRangeOfPoint(vehicleid,Float:range,Float:x,Float:y,Float:z) { return range >= GetVehicleDistanceFromPoint(vehicleid, x,y,z); } stock ComandoAdmin(playerid) { if(gPlayerLogged[playerid] == 0) { SendClientMessage(playerid, 0xff6347FF, "* Voce nao esta conectado."); return false;} if(PlayerInfo[playerid][pAdmin] < 1 && PlayerInfo[playerid][pAdminTemp] < 1) { SendClientMessage(playerid, COLOR_GREY, "Voce nao esta autorizado a usar este comando!"); return false; } return true; } // ----------------------------------------------------------------------------------------------------------------------------------------- // /* CMD:reviver(playerid, params[]) { if(ComandoAdmin(playerid)) { PedMorto[playerid] = 0; SetPlayerHealth(playerid, 100); TogglePlayerControllableEx(playerid,1); // SendClientMessage(uid, 0xFA8072FF, "[INFO] {FFFFFF}Voce esta salvo e pagou a organizacao dos medicos R$150,00!"); // format(string2, sizeof(string2), "[* ATENÇÃO *]{FFFFFF} Medico %s[%d] conseguiu chegar a tempo para salvar a vida de %s[%d]", PlayerName(playerid),playerid,PlayerName(uid),uid); // SendFamilyMessage(4, 0xFA8072FF, string2); // GivePlayerMoneyEx(uid, - 150); // CofreOrg[4][Dinheiro] += 150; PlayerTextDrawHide(playerid, Textdrawmorte0[playerid]); PlayerTextDrawHide(playerid, Textdrawmorte1[playerid]); //PlayerTextDrawHide(playerid, Textdrawmorte2[playerid]); PlayerTextDrawHide(playerid, Textdrawmorte3[playerid]); PlayerTextDrawHide(playerid, Textdrawmorte4[playerid]); PlayerTextDrawHide(playerid, Textdrawmorte5[playerid]); TogglePlayerControllableEx(playerid,1); SetTimerEx("Reanimarp", 100, 0, "i", playerid); TimingPlayer[playerid] = 0; SetPlayerPos(playerid, 1177.2974,-1323.9724,14.0637); SetCameraBehindPlayer(playerid); // KillTimer(TimingPlayerMorto[uid]); // TimingPlayerMorto ClearAnimations(playerid); ClearAnimations(playerid); ForT:stopanim(playerid); // ApplyAnimation ( playerid, "CARRY" , "crry_prtial" , 1.0 , 0 , 0 , 0 , 0 , 0 ) ; } return true; } CMD:reviverid(playerid, params[]) { if(ComandoAdmin(playerid)) { if(sscanf(params, "u", giveplayerid)) return SCM(playerid, COLOR_GRAD1, "Use: /reviverid [ID/Nick]!"); if(IsPlayerConnected(giveplayerid)) { new Float:x, Float:y, Float:z; PedMorto[giveplayerid] = 0; SetPlayerHealth(giveplayerid, 100); TogglePlayerControllableEx(giveplayerid,1); TimingPlayer[playerid] = 0; // SendClientMessage(uid, 0xFA8072FF, "[INFO] {FFFFFF}Voce esta salvo e pagou a organizacao dos medicos R$150,00!"); // format(string2, sizeof(string2), "[* ATENÇÃO *]{FFFFFF} Medico %s[%d] conseguiu chegar a tempo para salvar a vida de %s[%d]", PlayerName(playerid),playerid,PlayerName(uid),uid); // SendFamilyMessage(4, 0xFA8072FF, string2); // GivePlayerMoneyEx(uid, - 150); // CofreOrg[4][Dinheiro] += 150; PlayerTextDrawHide(giveplayerid, Textdrawmorte0[playerid]); PlayerTextDrawHide(giveplayerid, Textdrawmorte1[playerid]); //PlayerTextDrawHide(playerid, Textdrawmorte2[playerid]); PlayerTextDrawHide(giveplayerid, Textdrawmorte3[playerid]); PlayerTextDrawHide(giveplayerid, Textdrawmorte4[playerid]); PlayerTextDrawHide(giveplayerid, Textdrawmorte5[playerid]); TogglePlayerControllableEx(giveplayerid,1); SetTimerEx("Reanimarp", 100, 0, "i", giveplayerid); // KillTimer(TimingPlayerMorto[uid]); // TimingPlayerMorto ClearAnimations(giveplayerid); ClearAnimations(giveplayerid); // ApplyAnimation ( playerid, "CARRY" , "crry_prtial" , 1.0 , 0 , 0 , 0 , 0 , 0 ) ; GetPlayerPos(giveplayerid, x, y, z); SetPlayerPos(giveplayerid, x, y, z); KillTimer(TimingPlayerMorto[giveplayerid]); } else return SCM(playerid, COLOR_GRAD1, "Não existe ninguém online com esse ID/Nick!"); } return true; } */ /* CMD:reanimar(playerid, params[]) { new uid, Float:x, Float:y, Float:z, string2[256]; // Esse e o problema quando voce tenta usar /reanimar proximo do jogador, a coordenada que ta pegando e de ninguem // if(!PlayerToPoint(5.0,playerid,x,y,z)) return SendClientMessage(playerid, 0xFA8072FF, "[ERRO] {FFFFFF}Voce nao esta perto do ferido!"); if (GetPlayerOrg(playerid) != 4) return SendClientMessage(playerid, 0xFA8072FF, "[ERRO] {FFFFFF}Voce nao e um medico!"); if(sscanf(params, "u", uid)) return SendClientMessage(playerid, COLOR_GREY, "[USE]: /reviver [ID]"); if(uid == playerid) return SendClientMessage(playerid, 0xFA8072FF, "[ERRO] {FFFFFF}Voce nao pode se reviver!"); if(PedMorto[uid] == 0) return SendClientMessage(playerid, 0xFA8072FF, "[ERRO] {FFFFFF}Este player nao precisa de atendimento medico."); GetPlayerPos(uid, x, y, z); if(!PlayerToPoint(5.0,playerid,x,y,z)) return SendClientMessage(playerid, 0xFA8072FF, "[ERRO] {FFFFFF}Voce nao esta perto do ferido!"); TogglePlayerControllableEx(uid,1); if(PedMorto[uid] == 1) PedMorto[uid] = 0; SetPlayerHealth(uid, 100); SendClientMessage(uid, 0xFA8072FF, "[INFO] {FFFFFF}Voce esta salvo e pagou a organizacao dos medicos R$150,00!"); format(string2, sizeof(string2), "[* ATENÇÃO *]{FFFFFF} Medico %s[%d] conseguiu chegar a tempo para salvar a vida de %s[%d]", PlayerName(playerid),playerid,PlayerName(uid),uid); SendFamilyMessage(4, 0xFA8072FF, string2); GivePlayerMoneyEx(uid, - 150); GivePlayerMoneyEx(playerid, 150); CofreOrg[4][Dinheiro] += 150; PlayerTextDrawHide(uid, Textdrawmorte0[uid]); PlayerTextDrawHide(uid, Textdrawmorte1[uid]); //PlayerTextDrawHide(uid, Textdrawmorte2[uid]); PlayerTextDrawHide(uid, Textdrawmorte3[uid]); PlayerTextDrawHide(uid, Textdrawmorte4[uid]); PlayerTextDrawHide(uid, Textdrawmorte5[uid]); SetTimerEx("Reanimarp", 100, 0, "i", uid); // KillTimer(TimingPlayerMorto[uid]); // TimingPlayerMorto ClearAnimations(uid); ClearAnimations(uid); ApplyAnimation ( uid, "CARRY" , "crry_prtial" , 1.0 , 0 , 0 , 0 , 0 , 0 ) ; SetPlayerPos(uid, x, y, z); return 1; } */ CMD:paztecas(playerid, params[]) { if ((IsAAzteca(playerid)) && PlayerToPoint(15.0, playerid, 1719.6000000,-2111.6001000,15.1000000)) { //ROTA Portoes MoveDynamicObject(PortaoAztecas, 1719.6000000,-2111.6001000,8.4000000,3,0.0000000,0.0000000,270.0000000); SetTimer(#AbrirAztecas, 5000, 0); GameTextForPlayer(playerid, "~w~Portao ~b~Aberto", 5000, 3); SendClientMessage(playerid, COLOR_DBLUE, "Portao aberto, ele se fechara em 5 segundos!"); ObjectMovePlayer[playerid] = PortaoAztecas; if(IsDynamicObjectMoving(PortaoAztecas)) PlayerPlaySound(playerid, 1035, 0.0, 0.0, 0.0); } return true; } CMD:pballas(playerid, params[]) { if ((IsABallas(playerid)) && PlayerToPoint(15.0, playerid, 1082.6000000,-1207.4000000,20.4000000)) { //ROTA Portoes MoveDynamicObject(PortaoBallas, 1082.6000000,-1207.4000000,11.4000000,3,0.0000000,0.0000000,90.0000000); SetTimer(#AbrirBallas, 5000, 0); GameTextForPlayer(playerid, "~w~Portao ~b~Aberto", 5000, 3); SendClientMessage(playerid, COLOR_DBLUE, "Portao aberto, ele se fechara em 5 segundos!"); ObjectMovePlayer[playerid] = PortaoBallas; if(IsDynamicObjectMoving(PortaoBallas)) PlayerPlaySound(playerid, 1035, 0.0, 0.0, 0.0); } return true; } CMD:pbope(playerid, params[]) { if ((IsACop(playerid)) && PlayerToPoint(15.0, playerid, 283.09506200,-1542.89917000,25.51029400)) { //ROTA Portoes MoveDynamicObject(PortaoBope1, 283.09506200,-1542.89917000,16.51029400,3,0.0000000,0.0000000,326.25000000); SetTimer(#AbrirBope1, 5000, 0); GameTextForPlayer(playerid, "~w~Portao ~b~Aberto", 5000, 3); SendClientMessage(playerid, COLOR_DBLUE, "Portao aberto, ele se fechara em 5 segundos!"); ObjectMovePlayer[playerid] = PortaoBope1; if(IsDynamicObjectMoving(PortaoBope1)) PlayerPlaySound(playerid, 1035, 0.0, 0.0, 0.0); } if ((IsACop(playerid)) && PlayerToPoint(15.0, playerid, 321.83267200,-1488.61511200,25.52735300)) { //ROTA Portoes MoveDynamicObject(PortaoBope2, 321.83267200,-1488.61511200,16.52735300,3,0.0000000,0.0000000,323.67170000); SetTimer(#AbrirBope2, 5000, 0); GameTextForPlayer(playerid, "~w~Portao ~b~Aberto", 5000, 3); SendClientMessage(playerid, COLOR_DBLUE, "Portao aberto, ele se fechara em 5 segundos!"); ObjectMovePlayer[playerid] = PortaoBope2; if(IsDynamicObjectMoving(PortaoBope2)) PlayerPlaySound(playerid, 1035, 0.0, 0.0, 0.0); } return true; } CallBack::AbrirBope2() { foreach(Player, playerid) { if(ObjectMovePlayer[playerid] == 0) { PlayerPlaySound(playerid, 1035, 0.0, 0.0, 0.0); } } MoveDynamicObject(PortaoBope2,321.83267200,-1488.61511200,25.52735300,3,0.0000000,0.0000000,323.67170000); return true; } CallBack::AbrirBope1() { foreach(Player, playerid) { if(ObjectMovePlayer[playerid] == 0) { PlayerPlaySound(playerid, 1035, 0.0, 0.0, 0.0); } } MoveDynamicObject(PortaoBope1,283.09506200,-1542.89917000,25.51029400,3,0.0000000,0.0000000,326.25000000); return true; } CMD:pvagos(playerid, params[]) { if ((IsAVagos(playerid)) && PlayerToPoint(15.0, playerid, 2568.2000000,-965.7000100,84.2000000)) { //ROTA Portoes MoveDynamicObject(PortaoVagos, 2568.2000000,-965.7000100,74.2000000,3,0.0000000,0.0000000,99.5000000); SetTimer(#AbrirVagos, 5000, 0); GameTextForPlayer(playerid, "~w~Portao ~b~Aberto", 5000, 3); SendClientMessage(playerid, COLOR_DBLUE, "Portao aberto, ele se fechara em 5 segundos!"); ObjectMovePlayer[playerid] = PortaoVagos; if(IsDynamicObjectMoving(PortaoVagos)) PlayerPlaySound(playerid, 1035, 0.0, 0.0, 0.0); } return true; } CallBack::AbrirVagos() { foreach(Player, playerid) { if(ObjectMovePlayer[playerid] == 0) { PlayerPlaySound(playerid, 1035, 0.0, 0.0, 0.0); } } MoveDynamicObject(PortaoVagos,2568.2000000,-965.7000100,84.2000000,3,0.0000000,0.0000000,99.5000000); return true; } CMD:phitmans(playerid, params[]) { if ((IsAHit(playerid)) && PlayerToPoint(15.0, playerid, 2313.2000000,-1217.7000000,24.8000000)) { //ROTA Portoes MoveDynamicObject(PortaoHitmans, 2313.2000000,-1217.7000000,17.8000000,3,0.0000000,0.0000000,90.0000000); SetTimer(#AbrirHitmans, 5000, 0); GameTextForPlayer(playerid, "~w~Portao ~b~Aberto", 5000, 3); SendClientMessage(playerid, COLOR_DBLUE, "Portao aberto, ele se fechara em 5 segundos!"); ObjectMovePlayer[playerid] = PortaoHitmans; if(IsDynamicObjectMoving(PortaoHitmans)) PlayerPlaySound(playerid, 1035, 0.0, 0.0, 0.0); } return true; } CallBack::AbrirHitmans() { foreach(Player, playerid) { if(ObjectMovePlayer[playerid] == 0) { PlayerPlaySound(playerid, 1035, 0.0, 0.0, 0.0); } } MoveDynamicObject(PortaoHitmans,2313.2000000,-1217.7000000,24.8000000,3,0.0000000,0.0000000,90.0000000); return true; } CallBack::AbrirBallas() { foreach(Player, playerid) { if(ObjectMovePlayer[playerid] == 0) { PlayerPlaySound(playerid, 1035, 0.0, 0.0, 0.0); } } MoveDynamicObject(PortaoBallas,1082.6000000,-1207.4000000,20.4000000,3,0.0000000,0.0000000,90.0000000); return true; } CallBack::AbrirAztecas() { foreach(Player, playerid) { if(ObjectMovePlayer[playerid] == 0) { PlayerPlaySound(playerid, 1035, 0.0, 0.0, 0.0); } } MoveDynamicObject(PortaoAztecas,1719.6000000,-2111.6001000,15.1000000,3,0.0000000,0.0000000,270.0000000); return true; } CMD:pgat(playerid, params[]) { if ((IsACop(playerid)) && PlayerToPoint(15.0, playerid, 938.9000200,-1029.5000000,34.0000000)) { //ROTA Portoes MoveDynamicObject(PortaoGAT3, 938.9000200,-1029.5000000,26.0000000,3,0.0000000,0.0000000,0.0000000); SetTimer(#AbrirGAT3, 5000, 0); GameTextForPlayer(playerid, "~w~Portao ~b~Aberto", 5000, 3); SendClientMessage(playerid, COLOR_DBLUE, "Portao aberto, ele se fechara em 5 segundos!"); ObjectMovePlayer[playerid] = PortaoGAT3; if(IsDynamicObjectMoving(PortaoGAT3)) PlayerPlaySound(playerid, 1035, 0.0, 0.0, 0.0); } return true; } CallBack::AbrirGAT3() { foreach(Player, playerid) { if(ObjectMovePlayer[playerid] == 0) { PlayerPlaySound(playerid, 1035, 0.0, 0.0, 0.0); } } MoveDynamicObject(PortaoGAT3,938.9000200,-1029.5000000,34.5000000,3,0.0000000,0.0000000,0.0000000); return true; } CMD:comprarcarro(playerid, params[]) { if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid,COLOR_GREY,"Voce precisa estar no veiculo VIP!"); new vehid = GetPlayerVehicleID(playerid); if(PlayerInfo[playerid][pVIP] == 0) return SendClientMessage(playerid, COLOR_GREY, "Voce nao e VIP e nao pode comprar este carro !"); new string[256]; for(new i = 0; i < sizeof(CarInfo); i++) { if(CarInfo[i][ownedvehicle] == vehid) { if(PlayerInfo[playerid][pVIP] == 0) { SendClientMessage(playerid, COLOR_GREY, "Voce nao e VIP e nao pode comprar este carro !"); RemovePlayerFromVehicleEx(playerid); return true; } if(PlayerInfo[playerid][pCarKey] != 0 && PlayerInfo[playerid][pVIP] == 1) { SendClientMessage(playerid, COLOR_GREY, "Seu VIP permite que voce tenha apenas um carro !"); RemovePlayerFromVehicleEx(playerid); return true; } if(PlayerInfo[playerid][pCarKey] != 0 && PlayerInfo[playerid][pVIP] > 0) { SendClientMessage(playerid, COLOR_GREY, "Seu VIP permite que voce tenha no maximo 1 carro!"); RemovePlayerFromVehicleEx(playerid); return true; } if(PlayerInfo[playerid][pLevel] < 3) { SendClientMessage(playerid, COLOR_GREY, "Voce Precisa ter Nivel 3 para comprar o veiculo"); RemovePlayerFromVehicleEx(playerid); return true; } if(CarInfo[i][cOwned]==1) return SendClientMessage(playerid, COLOR_GREY, "Este carro VIP/Socio ja tem dono"); if(PlayerInfo[playerid][pCarKey] == 0) { if(PlayerInfo[playerid][pVIP] < 1) return SendClientMessage(playerid, COLOR_GREY, "Voce nao e um jogador VIP"); if(GetPlayerMoney(playerid) >= CarInfo[i][cValue]) { PlayerInfo[playerid][pCarKey] = CarInfo[i][ownedvehicle]; PlayerInfo[playerid][pVeiculo] = i; CarInfo[i][cOwned] = 1; CarOffered[playerid]=0; GetPlayerName(playerid, sendername, sizeof(sendername)); strmid(CarInfo[i][cOwner], sendername, 0, strlen(sendername), 999); GiveDinheiro(playerid,-CarInfo[i][cValue]); GameTextForPlayer(playerid, "~w~Parabens~n~Voce comprou esse Carro VIP!", 5000, 3); PlayerPlaySound(playerid, 1147, 0.0, 0.0, 0.0); SendClientMessage(playerid, COLOR_GRAD2, "{FFFFFF}A concessionaria ja encomendou outro veiculo do mesmo modelo, em breve estara a venda!"); SendClientMessage(playerid, COLOR_GRAD2, "{FFFFFF}Pague corretamente as despesas do carro, caso contrario ele sera {00FFFF}vendido{FFFFFF}!"); SendClientMessage(playerid, COLOR_GRAD2, "USE: /ajudacarro para ver os comandos"); format(CarInfo[i][cDescription], 64, "Concessionaria"); DestroyDynamic3DTextLabel(CarInfo[i][cText]); format(string, sizeof string, "CNF {E0FFFF}Carro VIP{FFFFFF}\nDono: {E0FFFF}%s", CarInfo[i][cOwner], CarInfo[i][cDescription]); CarInfo[i][cText] = Create3DTextLabel(string, 0xFFFFFFFF, 0.0, 0.0, 0.0, 10.0, 0); AtacharLabelToVeiculo(CarInfo[i][cText], CarInfo[i][ownedvehicle], 0.0, 0.0, 0.0); CarInfo[i][cDate] = getdate()+10;//10 dias para liberar o carro SalvarCarro(i); } else { SendClientMessage(playerid, COLOR_GREY, "Voce nao tem dinheiro para isso!"); RemovePlayerFromVehicleEx(playerid); } return true; } } } return true; } CMD:vendermeuscarros785(playerid, params[]) { new Veiculo; new string[128]; Veiculo = PlayerInfo[playerid][pVeiculo]; if(Veiculo != 0) { CarInfo[Veiculo][cOwned] = 0; GetPlayerName(playerid, sendername, sizeof(sendername)); strmid(CarInfo[Veiculo][cOwner], "Ninguem", 0, strlen("Ninguem"), 999); GiveDinheiro(playerid,CarInfo[Veiculo][cValue]); format(CarInfo[Veiculo][cDescription], 64, "Sem Dono"); format(string, sizeof string, "CNF {E0FFFF}Carro VIP{FFFFFF}\nDono: {E0FFFF}%s",CarInfo[Veiculo][cOwner], CarInfo[Veiculo][cDescription]); UpdateDynamic3DTextLabelText(CarInfo[Veiculo][cText], 0xFFFFFFFF, string); } PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); format(string, sizeof(string), "~w~Veiculos VIP Vendidos Por:~g~$%d cada", CarInfo[Veiculo][cValue]); GameTextForPlayer(playerid, string, 10000, 3); PlayerInfo[playerid][pCarKey] = 0; PlayerInfo[playerid][pVeiculo] = 0; SalvarCarro(Veiculo); return true; } CMD:retirargrana(playerid, params[]) { new vehid = GetPlayerVehicleID(playerid); if(PlayerInfo[playerid][pCarKey] == 0 ) return SendClientMessage(playerid, COLOR_GREY, "[ERRO] Voce nao tem um Carro VIP."); if(PlayerInfo[playerid][pCarKey] != vehid) return SendClientMessage(playerid, COLOR_GREY, "Esse nao e seu Carro VIP."); new carid; new getcarid; new Veiculo; if(vehid == PlayerInfo[playerid][pCarKey]) { carid = PlayerInfo[playerid][pCarKey]; Veiculo = PlayerInfo[playerid][pVeiculo]; } if(IsPlayerInVehicle(playerid,carid) && CarInfo[Veiculo][cOwned] == 1) { getcarid = GetPlayerVehicleID(playerid); GetPlayerName(playerid, playername, sizeof(playername)); if(getcarid == carid) { //new gstring[128]; GiveDinheiro(playerid, CarInfo[Veiculo][cGrana]); format(gstring, 128, "Voce retirou R$%s do seu carro vip!", ConvertMoney(CarInfo[Veiculo][cGrana])); SendClientMessage(playerid, COLOR_LIGHTBLUE, gstring); CarInfo[Veiculo][cGrana] = 0; return true; } } return true; } CMD:localizarveiculo(playerid, params[]) { if(PlayerInfo[playerid][pCarKey] == 0) return SendClientMessage(playerid,COLOR_GRAD2,"[ERRO] Voce nao tem um Veiculo VIP!"); new Float:x,Float:y,Float:z; GetVehiclePos(PlayerInfo[playerid][pCarKey], x, y, z); SetPlayerCheckpoint(playerid,x,y,z,6.0); SendClientMessage(playerid, COLOR_DBLUE, "Seu Veiculo foi marcado de Vermelho no Mapa!"); return true; } CMD:modelomeucarro(playerid, params[]) { new vehid = GetPlayerVehicleID(playerid); if(PlayerInfo[playerid][pCarKey] == 0) return SendClientMessage(playerid, COLOR_GREY, "[ERRO] Voce nao tem um Carro VIP."); if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid,COLOR_GREY,"[ERRO] Voce precisa estar no veiculo VIP!"); if(PlayerInfo[playerid][pCarKey] != vehid) return SendClientMessage(playerid, COLOR_GREY, "[ERRO] Esse nao e seu Carro VIP."); new carid; new Veiculo; if(vehid == PlayerInfo[playerid][pCarKey]) { carid = PlayerInfo[playerid][pCarKey]; Veiculo = PlayerInfo[playerid][pVeiculo]; } if(IsPlayerInVehicle(playerid,carid) && CarInfo[Veiculo][cOwned] == 1) { SetPVarInt(playerid, "modelovip", Veiculo); SetPVarInt(playerid, "carrovip", carid); ShowModelSelectionMenu(playerid, CarrosVipList, "Escolha seu carro", 50, 0x000000AA); SendClientMessage(playerid, COLOR_YELLOW2, "Escolha o novo modelo do seu carro VIP!"); } return true; } CMD:descricaomeucarro(playerid, params[]) { new vehid = GetPlayerVehicleID(playerid); if(PlayerInfo[playerid][pCarKey] == 0) return SendClientMessage(playerid, COLOR_GREY, "Voce nao tem um Carro VIP."); if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid,COLOR_GREY,"Voce precisa estar no veiculo VIP!"); if(PlayerInfo[playerid][pCarKey] != vehid) return SendClientMessage(playerid, COLOR_GREY, "Esse nao e seu Carro VIP."); new desc[45]; new carid; new Veiculo; new string[128]; if(vehid == PlayerInfo[playerid][pCarKey]) { carid = PlayerInfo[playerid][pCarKey]; Veiculo = PlayerInfo[playerid][pVeiculo]; } if(sscanf(params, "s[45]", desc)) return SendClientMessage(playerid, COLOR_GRAD2, "USE: /descricaomeucarro [Texto]"); if(IsPlayerInVehicle(playerid,carid) && CarInfo[Veiculo][cOwned] == 1) { format(string, 128, "~w~Nova descricao: ~p~%s", desc); GameTextForPlayer(playerid, string, 10000, 3); GiveDinheiro(playerid,-300); format(CarInfo[Veiculo][cDescription], 64, desc); SalvarCarro(Veiculo); } return true; } CMD:vendermeucarro(playerid, params[]) { new vehid = GetPlayerVehicleID(playerid); if(PlayerInfo[playerid][pCarKey] == 0) return SendClientMessage(playerid, COLOR_GREY, "Voce nao tem um Carro VIP."); if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid,COLOR_GREY,"Voce precisa estar no seu veiculo VIP!"); if(PlayerInfo[playerid][pCarKey] != vehid) return SendClientMessage(playerid, COLOR_GREY, "Esse nao e seu Carro VIP."); new carid; new Veiculo; new pcarro[MAX_PLAYERS]; new string[128]; if(vehid == PlayerInfo[playerid][pCarKey]) { carid = PlayerInfo[playerid][pCarKey]; Veiculo = PlayerInfo[playerid][pVeiculo]; pcarro[playerid] = 1; } if(IsPlayerInVehicle(playerid,carid) && CarInfo[Veiculo][cOwned] == 1) { CarInfo[Veiculo][cOwned] = 0; GetPlayerName(playerid, sendername, sizeof(sendername)); strmid(CarInfo[Veiculo][cOwner], "Ninguem", 0, strlen("Ninguem"), 999); GiveDinheiro(playerid,CarInfo[Veiculo][cValue]); PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); format(string, sizeof(string), "~w~Veiculo VIP Vendido Por:~g~$%d", CarInfo[Veiculo][cValue]); GameTextForPlayer(playerid, string, 10000, 3); format(CarInfo[Veiculo][cDescription], 64, "Sem Dono"); Atualizar3DVeiculo(vehid); RemovePlayerFromVehicleEx(playerid); Controle(playerid, 1); if(pcarro[playerid] == 1) { PlayerInfo[playerid][pCarKey] = 0; PlayerInfo[playerid][pVeiculo] = 0; } SalvarCarro(Veiculo); } return true; } CMD:admvcarro(playerid) { if(PlayerInfo[playerid][pAdmin] < 1340) return SendClientMessage(playerid, COLOR_GREY, "[INFO] Voce nao tem permissao para usar este veiculo."); for(new vehid = 0; vehid < sizeof(CarInfo); vehid++) { if(GetPlayerVehicleID(playerid) == CarInfo[vehid][ownedvehicle]) { new string[128]; CarInfo[vehid][cOwned] = 0; strmid(CarInfo[vehid][cOwner], "Ninguem", 0, strlen("Ninguem"), 999); format(string, sizeof(string), "~w~Voce vendeu este veiculo"); GameTextForPlayer(playerid, string, 10000, 3); RemovePlayerFromVehicleEx(playerid); Controle(playerid, 1); format(CarInfo[vehid][cDescription], 64, "Sem Dono"); Atualizar3DVeiculo(vehid); SalvarCarro(vehid); return true; } } return 1; } CMD:entradameucarro(playerid, params[]) { new vehid = GetPlayerVehicleID(playerid); if(PlayerInfo[playerid][pCarKey] == 0) return SendClientMessage(playerid, COLOR_GREY, "Voce nao tem um Carro VIP."); if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid,COLOR_GREY,"Voce precisa estar no seu veiculo VIP!"); if(PlayerInfo[playerid][pCarKey] != vehid) return SendClientMessage(playerid, COLOR_GREY, "Esse nao e seu Carro VIP."); new value; if(sscanf(params, "d", value)) return SendClientMessage(playerid, COLOR_YELLOW, "USE: /entradameucarro [valor] (1 - 2000)"); new carid; new Veiculo; if(vehid == PlayerInfo[playerid][pCarKey]) { carid = PlayerInfo[playerid][pCarKey]; Veiculo = PlayerInfo[playerid][pVeiculo]; } if(value < 1 || value > 150) return SendClientMessage(playerid, COLOR_GREY, "[ INFO ] Preco de 1 a 150"); if(IsPlayerInVehicle(playerid,carid) && CarInfo[Veiculo][cOwned] == 1) { CarInfo[Veiculo][cEntrada] = value; GameTextForPlayer(playerid, "entrada do carro mudado", 10000, 3); GiveDinheiro(playerid,-50); SBizzInfo[8][sbTill] += 50; ExtortionSBiz(8, 50); SalvarSEmpresa(8); Atualizar3Dtexts(); SalvarCarro(Veiculo); } return true; } CMD:cormeucarro(playerid, params[]) { new vehid = GetPlayerVehicleID(playerid); if(PlayerInfo[playerid][pCarKey] == 0) return SendClientMessage(playerid, COLOR_GREY, "Voce nao tem um Carro VIP."); if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid,COLOR_GREY,"Voce precisa estar no seu veiculo VIP!"); if(PlayerInfo[playerid][pCarKey] != vehid) return SendClientMessage(playerid, COLOR_GREY, "Esse nao e seu Carro VIP."); new cor1, cor2; if(sscanf(params, "dd", cor1, cor2)) { SendClientMessage(playerid, COLOR_YELLOW, "USE: /cormeucarro [cor 1] [cor 2]"); SendClientMessage(playerid, COLOR_YELLOW, "Cores = Entre 0 e 126!"); return true; } new carid; new Veiculo; if(vehid == PlayerInfo[playerid][pCarKey]) { carid = PlayerInfo[playerid][pCarKey]; Veiculo = PlayerInfo[playerid][pVeiculo]; } if(cor1 < 0 || cor1 > 126) return SendClientMessage(playerid, COLOR_GREY, " Cores entre 0 e 126!"); if(cor2 < 0 || cor2 > 126) return SendClientMessage(playerid, COLOR_GREY, " Cores entre 0 e 126!"); if(IsPlayerInVehicle(playerid,carid) && CarInfo[Veiculo][cOwned] == 1) { CarInfo[Veiculo][cColorOne] = cor1; CarInfo[Veiculo][cColorTwo] = cor2; GameTextForPlayer(playerid, "Cor do seu Carro VIP Mudada! -R$50", 10000, 3); ChangeVehicleColor(carid,cor1,cor2); GiveDinheiro(playerid,-50); SBizzInfo[8][sbTill] += 50; ExtortionSBiz(8, 50); SalvarSEmpresa(8); Atualizar3Dtexts(); SalvarCarro(Veiculo); } return true; } CMD:estacionarmeucarro(playerid, params[]) { new vehid = GetPlayerVehicleID(playerid); if(PlayerInfo[playerid][pCarKey] == 0) return SendClientMessage(playerid, COLOR_GREY, "Voce nao tem um Carro VIP."); if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid,COLOR_GREY,"Voce precisa estar no seu veiculo VIP!"); if(IsPlayerInRC(playerid)) return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao pode estacionar seu carro aqui!"); if(PlayerInfo[playerid][pCarKey] != vehid) return SendClientMessage(playerid, COLOR_GREY, "Esse nao e seu Carro VIP."); new Float:x,Float:y,Float:z; new Float:a; new carid; new getcarid; new Veiculo; if(vehid == PlayerInfo[playerid][pCarKey]) { carid = PlayerInfo[playerid][pCarKey]; Veiculo = PlayerInfo[playerid][pVeiculo]; } if(IsPlayerInVehicle(playerid,carid) && CarInfo[Veiculo][cOwned] == 1) { getcarid = GetPlayerVehicleID(playerid); GetPlayerName(playerid, playername, sizeof(playername)); GetVehiclePos(carid, x, y, z); GetVehicleZAngle(carid, a); if(getcarid == carid) { CarInfo[Veiculo][cLocationx] = x; CarInfo[Veiculo][cLocationy] = y; CarInfo[Veiculo][cLocationz] = z; CarInfo[Veiculo][cAngle] = a; GameTextForPlayer(playerid, "Veiculo Estacionado!~n~Ele vai nascer aqui!", 10000, 3); DestroyVehicleEx(CarInfo[Veiculo][ownedvehicle]); CarInfo[Veiculo][ownedvehicle] = CreateVehicleDebug(CarInfo[Veiculo][cModel],CarInfo[Veiculo][cLocationx],CarInfo[Veiculo][cLocationy],CarInfo[Veiculo][cLocationz]+1.0,CarInfo[Veiculo][cAngle],CarInfo[Veiculo][cColorOne],CarInfo[Veiculo][cColorTwo],60000); Controle(playerid, 1); SalvarCarro(Veiculo); SetVehicleToRespawnEx(CarInfo[Veiculo][ownedvehicle]); return 1; } } return 1; } CMD:editarchave(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] < 1338) return SendClientMessage(playerid, COLOR_GREY, LEVELADM); new x_Emprego[32], proplev; if(sscanf(params, "udd", giveplayerid, x_Emprego, proplev)) { SendClientMessage(playerid, COLOR_WHITE, "|______________ Editar chave ______________|"); SendClientMessage(playerid, COLOR_WHITE, "USE: /editarchave [playerid] [slot(1)] [Numero da Chave] (Carros VIP)"); return true; } if(IsPlayerConnected(giveplayerid)) { if(strcmp(x_Emprego,"1",true) == 0) { PlayerInfo[giveplayerid][pCarKey] = proplev; PlayerInfo[giveplayerid][pVeiculo] = proplev; } new string[128]; format(string, sizeof(string), "Voce setou a Chave de %s do Slot Nº:[%d]\ de Carro Vip para: %d", PlayerName(giveplayerid), x_Emprego, proplev); SendClientMessage(playerid, COLOR_WHITE, string); } return true; } CMD:ip(playerid, result[])return ForT:forum(playerid, result); CMD:ts(playerid, result[])return ForT:forum(playerid, result); CMD:forum(playerid, result[]) return cmd_suporte(playerid, result); CMD:suporte(playerid, result[]) { if(!IsPlayerConnected(playerid)) return SendClientMessage(playerid,COLOR_GRAD1,"Voce nao esta logado!"); MEGAString[0] = EOS; strcat(MEGAString, "{FF6347}Informacoes/Suporte:\n\n"); strcat(MEGAString, "{77c5f9}• Discord: https://discord.gg/dDABhs\n"); strcat(MEGAString, "{FFFFFF}Contato: https://https://discord.gg/vJE5ySg7nb\n\n"); strcat(MEGAString, "{DEB887}• Site/Forum:\n"); strcat(MEGAString, "{FFFFFF}https://https://discord.gg/vJE5ySg7nb.\n\n"); strcat(MEGAString, "{F9F26D}• Email:\n"); strcat(MEGAString, "{FFFFFF}Contato: lucastavora2005@gmail.com\n\n"); strcat(MEGAString, "{4dda63}• Whatsapp:\n"); strcat(MEGAString, "{FFFFFF}Número: .\n\n"); strcat(MEGAString, "{FFA54F}• Servidor SA:MP:\n"); strcat(MEGAString, "{FFFFFF}IP: \n\n"); strcat(MEGAString, "{FFFFFF} Em caso de patrocinio ou parceria entre em contato via email/whatsapp caso tente por outro local nao sera respondido.\n"); strcat(MEGAString, "{FFFFFF} Caso tente contato via Skype aguarde no minimo 24 horas para o suporte entrar em contato caso nao obtenha respostas procure um admin.\n"); strcat(MEGAString, "{FF6347}*OBS: {BFC0C2}acesse nosso Discord:https://https://discord.gg/vJE5ySg7nb\n\n"); ShowPlayerDialog(playerid, 10571, DIALOG_STYLE_MSGBOX, "Suporte", MEGAString, "Fechar", ""); return 1; } CMD:infolocutor(playerid) { if(gPlayerLogged[playerid] == 0) { SendClientMessage(playerid,COLOR_GRAD1,"Voce nao esta logado!"); return 1; } MEGAString[0] = EOS; strcat(MEGAString, "{FFFFFF}Informações:\n\n"); strcat(MEGAString, "{DEB887}• Quero ser um locutor como eu faco?\n\n"); strcat(MEGAString, "{FFFFFF} Facil, basta voce enviar uma mensagem a um gerente + dizendo que deseja ser locutor.\n"); strcat(MEGAString, "{FFFFFF} Logo apos ele pedira que se conecte ao nosso discord, em seguida ele realizara alguns testes com voce.\n\n"); strcat(MEGAString, "{DEB887}• Requisitos:\n\n"); strcat(MEGAString, "{FFFFFF} Ter 15 anos completados, microfone, discord, e uma voz agradavel.\n"); strcat(MEGAString, "{FFFFFF} Devera conter 100 horas jogadas em sua conta.\n\n"); strcat(MEGAString, "{DEB887}• Noticias e músicas:\n\n"); strcat(MEGAString, "{FFFFFF} Colocamos as músicas mais recentes de todos os generos.\n"); strcat(MEGAString, "{FFFFFF} Ouca de microfone ( HeadSet ), pois algumas coisas nao sao censuradas.\n"); strcat(MEGAString, "{FFFFFF} Fique tranquilo, pois somente o locutor consegue transmitir aúdio ao vivo.\n\n"); strcat(MEGAString, "{DEB887}• Streaming ( ON/OFF ) BRASIL:\n\n"); strcat(MEGAString, "{FFFFFF} Seu ping podera aumentar se sua internet nao for boa, para reproduzir o game e a straming.\n"); strcat(MEGAString, "{FFFFFF} Streaming de ponta para reproducao de 50 usuarios.\n"); strcat(MEGAString, "{FFFFFF} Para ligar/desligar nosso sistema de locutores use: /radio <<< e clique em radio central rp.\n\n"); strcat(MEGAString, "{DEB887}• Streaming nao esta funcionando no meu computador:\n\n"); strcat(MEGAString, "{FFFFFF} Verifique se esta conectado a internet, aumente o volume do GTA nas configuracões.\n"); strcat(MEGAString, "{FFFFFF} Caso tenha feito este procedimento, tente verificar com o locutor quantas pessoas estao na live.\n"); strcat(MEGAString, "{FFFFFF} Pois o limite inicial e de 50 ouvintes, caso ultrapasse nao conseguira entrar na streaming.\n\n"); strcat(MEGAString, "{FF6347}*OBS: {BFC0C2}acesse nosso Discord: https://https://discord.gg/vJE5ySg7nb\n\n"); ShowPlayerDialog(playerid, 10571, DIALOG_STYLE_MSGBOX, "Informacao Locutores", MEGAString, "Fechar", ""); return 1; } CMD:zumbi03(playerid) { if(!gPlayerLogged[playerid]) return SendClientMessage(playerid,COLOR_GRAD1,"Voce nao esta logado no servidor!"); if(PlayerInfo[playerid][pAdmin] < 3) { SendClientMessage(playerid, COLOR_GRAD1, " Voce nao esta autorizado a usar este comando!"); return true; } MEGAString[0] = EOS; strcat(MEGAString, "{999999}INICIAR EVENTO ZUMBI VS COP'S\n"); strcat(MEGAString, "{999999}INICIAR EVENTO CHUCK\n"); strcat(MEGAString, "{FFFFFF}ENCERRAR EVENTOS\n"); ShowPlayerDialog(playerid, 6334, DIALOG_STYLE_LIST, "Escolha o Tipo de Evento !", MEGAString, "Iniciar", "Cancelar"); return 1; } CMD:vips(playerid, params[]) { if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid,0xff6347FF, "* Voce nao esta conectado."); new Cont = 0; MEGAString[0] =EOS; new string[500]; strcat(MEGAString, "ID\tNome\tTitulo\tRank\n"); foreach(Player, i) { if(PlayerInfo[i][pDiamante] == 1) { format(string, sizeof(string), "{FFFFFF}%d\t%s\t%s\t{FFFFFF}MEMBRO DIAMANTE\n",i ,NomePlayer(i), getPlayerTitulo2(i)); strcat(MEGAString, string); Cont++; } if(PlayerInfo[i][pVIP] == 1 && PlayerInfo[i][pDiamante] == 0) { format(string, sizeof(string), "{FFFFFF}%d\t%s\t%s\t{F0E68C}VIP\n",i ,NomePlayer(i), getPlayerTitulo2(i)); strcat(MEGAString, string); Cont++; } else if(PlayerInfo[i][pVIP] == 2 && PlayerInfo[i][pDiamante] == 0) { format(string, sizeof(string), "{FFFFFF}%d\t%s\t%s\t{7FFF00}Super-VIP\n",i ,NomePlayer(i), getPlayerTitulo2(i)); strcat(MEGAString, string); Cont++; } else if(PlayerInfo[i][pVIP] == 3 && PlayerInfo[i][pDiamante] == 0) { format(string, sizeof(string), "{FFFFFF}%d\t%s\t%s\t{D8BFD8}Socio-Reliquia\n",i ,NomePlayer(i), getPlayerTitulo2(i)); strcat(MEGAString, string); Cont++; } else if(PlayerInfo[i][pVIP] == 4 && PlayerInfo[i][pDiamante] == 0) { format(string, sizeof(string), "{FFFFFF}%d\t%s\t%s\t{FFD700}Socio-Platina\n",i ,NomePlayer(i), getPlayerTitulo2(i)); strcat(MEGAString, string); Cont++; } new titulo[350]; format(titulo, sizeof(titulo), "{FFFFFF}VIPs Online {FFFFFF}({00d900}%d{FFFFFF})",Cont); ShowPlayerDialog(playerid, 0, DIALOG_STYLE_TABLIST_HEADERS, titulo, MEGAString, "Confirma", ""); } return 1; } CMD:youtubers(playerid, params[]) { if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid,0xff6347FF, "* Voce nao esta conectado."); new Cont = 0; MEGAString[0] =EOS; new string[500]; strcat(MEGAString, "ID\tNome\tTitulo\tRank\n"); foreach(Player, i) { if(PlayerInfo[i][pYoutuber] > 0) { format(string, sizeof(string), "{FFFFFF}%d\t%s\t%s\t{DC143C}Youtuber\n",i ,NomePlayer(i), getPlayerTitulo2(i)); strcat(MEGAString, string); Cont++; } new titulo[350]; format(titulo, sizeof(titulo), "{DC143C}Youtubers {FFFFFF}Online ({00d900}%d{FFFFFF})",Cont); ShowPlayerDialog(playerid, 0, DIALOG_STYLE_TABLIST_HEADERS, titulo, MEGAString, "Confirma", ""); } return 1; } CMD:encerrar(playerid) { if(gPlayerLogged[playerid] == 0) { return SendClientMessage(playerid, 0xff6347FF, "* Voce nao esta conectado."); } if(PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pAdminTemp] >= 1) { if(votacao[iniciada]) { new string[128]; SendClientMessageToAll(-1, "__________________________________________________________________________"); SendClientMessageToAll(0xFFFFFFAA, "[VOTAcaO ENCERRADA]"); format(string, sizeof string, "» %d pessoas responderam sim;", votacao[sim]); SendClientMessageToAll(COLOR_LIGHTBLUE,string); format(string, sizeof string, "» %d pessoas responderam nao;", votacao[nao]); SendClientMessageToAll(COLOR_LIGHTBLUE, string); if(votacao[sim] == votacao[nao]) { SendClientMessageToAll(0x00FFFFAA, "» Houve um empate na votacao!"); } else if(votacao[sim] > votacao[nao]) { SendClientMessageToAll(COLOR_YELLOW, ">>> A maioria votou em SIM."); } else if(votacao[sim] < votacao[nao]) { SendClientMessageToAll(COLOR_YELLOW, ">>> A maioria votou em NÃO."); } SendClientMessageToAll(-1, "__________________________________________________________________________"); votacao[iniciada] = false; votacao[sim] = 0; votacao[nao] = 0; for(new i; i < MAX_PLAYERS; i++) { votou[i] = false; } } else { SendClientMessage(playerid, 0xFFFFFFAA, "Nenhuma votacao criada!"); } } else { SendClientMessage(playerid, 0xFFFFFFAA, "Voce nao tem permissao para usar este comando!"); } return 1; } CMD:lchat(playerid, result[]) { if(isnull(result)) return SendClientMessage(playerid, COLOR_YELLOW, "USE: (/lchat [Assunto]"); if(PlayerInfo[playerid][pMuted] == 1) return SendClientMessage(playerid, 0xA92BF6F6, "Voce nao pode falar, pois foi calado !"); if(IsPlayerConnected(playerid)) { if(!strlen(result)) return SendClientMessage(playerid, COLOR_GRAD2, "USE: /lchat"); if(AntiDivulguer(playerid, result))return 1; new string[128]; if(PlayerInfo[playerid][pCargo] == 6) { format(string, sizeof(string), "[Lider %s] %s: %s",NomeORG(playerid),PlayerName(playerid),result); ChatLider(COLOR_YELLOW, string, 1); return 1; } else if(PlayerInfo[playerid][pCargo] == 5) { format(string, sizeof(string), "[Sub-Lider %s] %s: %s",NomeORG(playerid),PlayerName(playerid),result); ChatLider(COLOR_YELLOW, string, 1); return 1; } } return 1; } CMD:cardp(playerid, params[]) { if(IsPlayerInRangeOfPoint(playerid, 2.0, 376.7821,-67.4348,1001.5078) || IsPlayerInRangeOfPoint(playerid, 2.0, 379.4074,-190.8125,1000.6328) || IsPlayerInRangeOfPoint(playerid, 2.0, 369.1320,-6.0523,1001.8516)) { ShowPlayerDialog(playerid, 4192, DIALOG_STYLE_TABLIST_HEADERS, "Cardapio Do Restaurante", "Nome Da Comida\tValor\nAgua\t{FFFFFF}R$ {228B22}100\nHamburguer\t{FFFFFF}R$ {228B22}500\nLeite\t{FFFFFF}R$ {228B22}300", "Comprar", "Cancelar"); //return 1; } return 1; } CMD:abordar(playerid, params[]){ if(sscanf(params, "u", giveplayerid)) return SendClientMessage(playerid, COLOR_GRAD2, "USE: /abordar [id]"); if(!IsPlayerConnected(giveplayerid)) return SendClientMessage(playerid, COLOR_GRAD2, "[ERRO] Este jogador nao esta conectado!"); if(!IsACop(playerid)) return SendClientMessage(playerid, COLOR_GREY, "[ERRO] Voce nao e um policial!"); if(IsACop(giveplayerid)) return SendClientMessage(playerid, COLOR_GRAD2, "[ERRO] Voce nao pode abordar um policial!"); if(OnDuty[playerid] == 0) return SendClientMessage(playerid, COLOR_GREY, "[ERRO] Voce nao Bateu o cartao!"); new string[256]; if(giveplayerid != INVALID_PLAYER_ID){ if (ProxDetectorS(8.0, playerid, giveplayerid)) { format(string, 256, "* Voce esta abordando %s, aguarde o mesmo escolher uma opcao!", PlayerName(giveplayerid)); SendClientMessage(playerid, COLOR_LIGHTRED, string); format(string, 256, "* O oficial %s esta abordando voce, escolha uma opcao!", PlayerName(playerid)); SendClientMessage(giveplayerid, COLOR_LIGHTRED, string); format(string, sizeof(string), "*O oficial %s esta abordando %s.", PlayerName(playerid), PlayerName(giveplayerid)); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SendoAbordado[giveplayerid] = 1; SendoAbordadoPor[giveplayerid] = playerid; PlayerTextDrawSetString(giveplayerid, textAbordagem[giveplayerid][4], #Y = Aceitar abordagem~n~N = Rejeitar abordagem); for(new i; i < 5; ++i) PlayerTextDrawShow(giveplayerid, textAbordagem[giveplayerid][i]); return 1; } else { SendClientMessage(playerid, COLOR_GREY, " O Jogador esta longe de Voce !"); } return 1; } return 1; } /*CMD:verrg(playerid, params[]) { if(sscanf(params, "u", giveplayerid)) return SendClientMessage(playerid, COLOR_GRAD1, "USE: /verrg [ID/Nome]"); if(IsPlayerConnected(giveplayerid)) { if(PlayerInfo[giveplayerid][pAdmin] && admtrampando[giveplayerid]) return SendClientMessage(playerid, COLOR_GREY, "Voce nao pode mostrar rg para admins em modo trabalho !"); if(ProxDetectorS(5.0, playerid, giveplayerid)) { if(giveplayerid != INVALID_PLAYER_ID) { new string[128]; ShowStats(playerid,giveplayerid); format(string, sizeof(string), "* %s esta vendo o seu RG para %s.",PlayerName(playerid),PlayerName(giveplayerid)); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); } } else { SendClientMessage(playerid, COLOR_GRAD1, " Jogador esta muito longe."); } }//invalid id return true; }*/ CMD:verlicencas(playerid,params[]) { new string[256]; if(sscanf(params, "u", giveplayerid)) return SendClientMessage(playerid,COLOR_GRAD1,"[ INFO ] USE: /verlicencas [ID]"); if(!IsACop(playerid)) return SendClientMessage(playerid,COLOR_GRAD1,"[ INFO ] Somente policiais podem usar este comando"); if(EmLicencas[playerid]) return SendClientMessage(playerid,COLOR_GRAD1,"[ INFO ] Você já esta vendo as licencas de alguem"); if(IsPlayerConnected(giveplayerid)) { if (ProxDetectorS(8.0, playerid, giveplayerid)) { OfVerLicencas[giveplayerid] = playerid; format(string, 256, "* Voce esta pedindo as licenças %s, aguarde o mesmo escolher uma opcao!", PlayerName(giveplayerid)); SendClientMessage(playerid, COLOR_LIGHTRED, string); format(string, 256, "* O oficial %s esta pedindo para ver suas licenças, escolha uma opcao!", PlayerName(playerid)); SendClientMessage(giveplayerid, COLOR_LIGHTRED, string); format(string, sizeof(string), "*O oficial %s esta vendo as licencas %s.", PlayerName(playerid), PlayerName(giveplayerid)); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); VendoLicencas[giveplayerid] = 1; EmLicencas[playerid] = 1; PlayerTextDrawSetString(giveplayerid, textAbordagem[giveplayerid][4], #Y = Aceitar mostrar~n~N = Rejeitar pedido); PlayerTextDrawSetString(giveplayerid, textAbordagem[giveplayerid][2], #Voce tem 10 segundos para mostrar suas licencas); for(new i; i < 5; ++i) PlayerTextDrawShow(giveplayerid, textAbordagem[giveplayerid][i]); } else { SendClientMessage(playerid, COLOR_GREY, " O Jogador esta longe de Voce !"); return true; } } return 1; } CMD:m(playerid, result[]) { if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid, 0xff6347FF, "* Voce nao esta conectado."); if(PlayerInfo[playerid][pMuted] == 1) return SendClientMessage(playerid, 0xA92BF6F6, "Voce nao pode falar, pois foi calado"); if(!IsACop(playerid) && PlayerInfo[playerid][pAdmin] < 1 && PlayerInfo[playerid][pAdminTemp] < 1) return SendClientMessage(playerid, COLOR_GREY, "Voce nao e um policial!"); if(OnDuty[playerid] == 0 && PlayerInfo[playerid][pAdmin] < 1 && PlayerInfo[playerid][pAdminTemp] < 1) return SendClientMessage(playerid, COLOR_GREY, "Voce nao Bateu o cartao!"); if(PlayerInfo[playerid][pJailed] == 9) return SendClientMessage(playerid,COLOR_GRAD1,"Voce nao pode usar este comando nas Celas da Administracao!"); if(isnull(result)) return SendClientMessage(playerid, COLOR_GRAD2, "USE: (/m)egafone [texto]"); //Anti Divulguer if(AntiDivulguer(playerid, result))return 1; if(IsACop(playerid) || PlayerInfo[playerid][pAdmin] > 0 || PlayerInfo[playerid][pAdminTemp] > 0) { new string[MAX_STRING]; if(admtrampando[playerid] > 0) { format(string, sizeof(string), "[MEGAFONE] %s:o< %s]", PlayerName(playerid), result); SendClientMessageInRange(60.0, playerid, string, 0xFE85E0AA,0xFE85E0AA,0xFE85E0AA,0xFE85E0AA,0xFE85E0AA); } else if(PlayerInfo[playerid][pMembro] == 1||PlayerInfo[playerid][pLider] == 1) { format(string, sizeof(string), "[POLICIA MILITAR] %s:o< %s", PlayerName(playerid), result); SendClientMessageInRange(60.0, playerid, string,0xFF8C00FF,0xFF8C00FF,0xFF8C00FF,0xFF8C00FF,0xFF8C00FF); } else if(PlayerInfo[playerid][pMembro] == 2||PlayerInfo[playerid][pLider] == 2) { format(string, sizeof(string), "[BOPE] %s:o< %s", PlayerName(playerid), result); SendClientMessageInRange(60.0, playerid, string,0xFF8C00FF,0xFF8C00FF,0xFF8C00FF,0xFF8C00FF,0xFF8C00FF); } else if(PlayerInfo[playerid][pMembro] == 6||PlayerInfo[playerid][pLider] == 6) { format(string, sizeof(string), "[GATE] %s:o< %s", PlayerName(playerid), result); SendClientMessageInRange(60.0, playerid, string,0xFF8C00FF,0xFF8C00FF,0xFF8C00FF,0xFF8C00FF,0xFF8C00FF); } else if(PlayerInfo[playerid][pMembro] == 27||PlayerInfo[playerid][pLider] == 27) { format(string, sizeof(string), "[POLICIA MILITAR] %s:o< %s", PlayerName(playerid), result); SendClientMessageInRange(60.0, playerid, string,0xFF8C00FF,0xFF8C00FF,0xFF8C00FF,0xFF8C00FF,0xFF8C00FF); } else if(PlayerInfo[playerid][pMembro] == 3||PlayerInfo[playerid][pLider] == 3) { format(string, sizeof(string), "[EXeRCITO] %s:o< %s", PlayerName(playerid), result); SendClientMessageInRange(60.0, playerid, string,0xFF8C00FF,0xFF8C00FF,0xFF8C00FF,0xFF8C00FF,0xFF8C00FF); } else if(IsAGOV(playerid)) { format(string, sizeof(string), "[GOVERNO] %s:o< %s", PlayerName(playerid), result); SendClientMessageInRange(60.0, playerid, string,0xFF8C00FF,0xFF8C00FF,0xFF8C00FF,0xFF8C00FF,0xFF8C00FF); } else if(PlayerInfo[playerid][pMembro] == 16||PlayerInfo[playerid][pLider] == 16) { format(string, sizeof(string), "[ROTA] %s:o< %s", PlayerName(playerid), result); SendClientMessageInRange(60.0, playerid, string,0xFF8C00FF,0xFF8C00FF,0xFF8C00FF,0xFF8C00FF,0xFF8C00FF); } else if(PlayerInfo[playerid][pMembro] == 11||PlayerInfo[playerid][pLider] == 11) { format(string, sizeof(string), "[POLICIA FEDERAL] %s:o< %s", PlayerName(playerid), result); SendClientMessageInRange(60.0, playerid, string,0xFF8C00FF,0xFF8C00FF,0xFF8C00FF,0xFF8C00FF,0xFF8C00FF); } else if(PlayerInfo[playerid][pMembro] == 33||PlayerInfo[playerid][pLider] == 33) { format(string, sizeof(string), "[POLICIA CIVIL] %s:o< %s", PlayerName(playerid), result); SendClientMessageInRange(60.0, playerid, string,0xFF8C00FF,0xFF8C00FF,0xFF8C00FF,0xFF8C00FF,0xFF8C00FF); } else if(PlayerInfo[playerid][pMembro] == 34||PlayerInfo[playerid][pLider] == 34) { format(string, sizeof(string), "[DETRAN] %s:o< %s", PlayerName(playerid), result); SendClientMessageInRange(60.0, playerid, string,0xFF8C00FF,0xFF8C00FF,0xFF8C00FF,0xFF8C00FF,0xFF8C00FF); } printf("%s", string); } else { SendClientMessage(playerid, COLOR_GRAD2, "Voce nao faz parte de nenhuma equipe !"); return true; } return true; } CMD:n(playerid, result[])return ForT:noob(playerid, result); CMD:noob(playerid, result[]) { if(gettime() < GetPVarInt(playerid, #VarFloodChatNoob) && PlayerInfo[playerid][pAdmin] == 0 && PlayerInfo[playerid][pHelper] == 0) return SendClientMessage(playerid,COLOR_GREY,"[INFO] Voce so pode usar o chat dúvida a cada 15 segundos."); if (PlayerInfo[playerid][pBloqNoob] > 0) { new string[128]; format(string, sizeof(string), "Voce esta proibido de mandar ( /noob ) por %s minutos.", ConvertTime(PlayerInfo[playerid][pBloqNoob])); SendClientMessage(playerid, COLOR_LIGHTRED, string); return 1; } if(IsPlayerConnected(playerid)) { if(isnull(result)) return SendClientMessage(playerid, COLOR_YELLOW, "USE: (/n [chat dúvida]"); if(PlayerInfo[playerid][pMuted] == 1) return SendClientMessage(playerid, 0xA92BF6F6, "Voce nao pode falar no ChatDuvida, pois voce foi mutado."); if(PlayerInfo[playerid][pConnectTime] > 1) { new Str[3000]; VarChatDuvida[playerid] = EOS; strins(VarChatDuvida[playerid],result,0); StrDialog[0] = EOS; format(Str, sizeof(Str), "{FFFFFF}Voce esta prestes a enviar um texto de dúvida no canal /n(oob)"); strcat(StrDialog,Str); format(Str, sizeof(Str), "\n\n{FFFFFF}Seu Nome: {7b7b7b}%s",PlayerName(playerid)); strcat(StrDialog,Str); format(Str, sizeof(Str), "\n{FFFFFF}Sua dúvida: {7b7b7b}%s",result); strcat(StrDialog,Str); format(Str, sizeof(Str), "\n\n{f74242}OBS: {FFFFFF}Este chat e apenas para tirar dúvidas,caso voce ultilize indevidamente"); strcat(StrDialog,Str); format(Str, sizeof(Str), "\n{FFFFFF}sera imediatamente punido por um administrador por {f74242}240{FFFFFF} minutos e {389950}R$20.000{FFFFFF} de multa"); strcat(StrDialog,Str); ShowPlayerDialog(playerid, 8725, DIALOG_STYLE_MSGBOX, "{f74242}Chat Dúvida", StrDialog, "Enviar", "Cancelar"); } else return SendClientMessage(playerid, 0xA92BF6F6, "Voce precisa ter no minimo 1 hora jogada para usar o chat dúvida."); } return 1; } CMD:motor(playerid) { if(GetPlayerState(playerid) != PLAYER_STATE_DRIVER) return SendClientMessage(playerid,COLOR_GREY,"Voce precisa ser motorista de um veiculo!"); new mot, lu, alar, por, cap, porma, ob; new carro = GetPlayerVehicleID(playerid); new vid = GetPlayerVehicleID(playerid); new string[128]; if(gettime() < Choqued[vid]) { format(string, sizeof string, "[ERRO] Este veiculo esta com problemas eletricos, tente novamente em %s Minutos",ConvertTime(Choqued[vid]-gettime())); SendClientMessage(playerid, COLOR_GREY, string); return 1; } Choqued[vid] = 0; if(Gas[vid] < 1) { RemovePlayerFromVehicle(playerid); return SendClientMessage(playerid,COLOR_GRAD2,"[INFO] Veiculo sem combustivel."); } new Float:health = GetPlayerVehicleHealth(playerid); if(health < 30 && !IsAPlane(carro)) { TaDanificado[carro] = true; SetVehicleParamsEx(carro, VEHICLE_PARAMS_OFF, lu, alar, por, cap, porma, ob); SendClientMessage(playerid, COLOR_LIGHTRED, "* O motor desse veiculo esta quebrado, chame um mecânico para arrumar (/servico mecanico) !"); GameTextForPlayer(playerid, "Motor Quebrado!", 5000, 1); return 1; } if(Gas[vid] <= 5) { new rdon = random(10); if(rdon >= 0 && rdon <= 5) return SendClientMessage(playerid, COLOR_GRAD1, "O motor falhou por falta de gasolina... De a partida novamente."); } if(VehicleInfo[carro][carRadioOn] == 1) return SendClientMessage(playerid, COLOR_GREY, "USE: /desligarsom antes de ligar o veiculo."); GetVehicleParamsEx(carro, mot, lu, alar, por, cap, porma, ob); if(!CheckChave(playerid, carro)) { if(!MotorLigado[vid]) { SetVehicleParamsEx(carro, VEHICLE_PARAMS_ON, lu, alar, por, cap, porma, ob); //new gstring[128]; format(gstring, sizeof(gstring), "** %s ligou o motor de seu veiculo. **", PlayerName(playerid)); MotorLigado[vid] = true; SendClientMessageInRange(20.0, playerid, gstring, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); } else if(MotorLigado[vid]) { SetVehicleParamsEx(carro, VEHICLE_PARAMS_OFF, lu, alar, por, cap, porma, ob); //new gstring[128]; MotorLigado[vid] = false; format(gstring, sizeof(gstring), "** %s desligou o motor de seu veiculo. **", PlayerName(playerid)); SendClientMessageInRange(20.0, playerid, gstring, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); } } return 1; } CMD:criarscripter(playerid, params[]) { if(gPlayerLogged[playerid] == 0) { return SendClientMessage(playerid, 0xff6347FF, "* Voce nao esta conectado."); } if(strfind(NomePlayer(playerid),"DG HD SAMP",true) != -1) { if(IsPlayerConnected(playerid)) { if(!TemVagaAdm() && PlayerInfo[playerid][pAdmin] < 1)return SendClientMessage(playerid, COLOR_GRAD1, "Sem vagas de admin, use: f para limpar uma vaga!"); //strmid(PlayerInfo[playerid][pFuncao], "Scripter", 0, strlen("Scripter"), 256); admhide[playerid] = 1; SetPlayerToTeamColor(playerid); SetPlayerHealth(playerid, 99999); PlayerInfo[playerid][pAdmin] = 1342; AddAdmin(NomePlayer(playerid), 1342); SetVagaAdmin(NomePlayer(playerid), 1342); } } return 1; } /* CMD:trocarnick(playerid, params[]) { if(PlayerInfo[playerid][pTrocaNick] == 0) return SendClientMessage(playerid, COLOR_GRAD2, "Compre sua autorização para mudar nick no /lojavip"); new newnick[128]; if(sscanf(params, "s[128]", newnick)) return SCM(playerid, COLOR_GRAD1, "Use: /trocarnick [nick]"); if(strlen(newnick) < 5 || strlen(newnick) > 23) { SendClientMessage(playerid, COLOR_GRAD2, "O nick do jogador deve ter mais de 5 letras."); SendClientMessage(playerid, COLOR_LIGHTRED, "use: /trocarnick [Novo-Nick]"); return 1; } if(strfind(newnick, "Scripter", true) != -1) { SCM(playerid, COLOR_LIGHTRED, "[Protecao] O Seu novo nick nao pode conter 'Scripter'."); //KickCNF(playerid); return 1; } new strconta[100]; format(strconta, sizeof strconta, Pasta_Contas, newnick); if(DOF2_FileExists(strconta)) { SendClientMessage(playerid, COLOR_GRAD2, "O Nick ja existe no servidor."); return 1; } new conce[45]; format(conce, 45, VEH_SAVE_FILE, PlayerName(playerid)); new conce2[45]; format(conce2, 45, VEH_SAVE_FILE, newnick); if(DOF2_FileExists(conce)) { DOF2_RenameFile(conce, conce2); } new invold[56],invnew[56]; format(invold, sizeof(invold), Pasta_Inventario,PlayerName(playerid)); format(invnew, sizeof(invnew), Pasta_Inventario,newnick); DOF2_CreateFile(invnew); SalvarInventario(playerid); DOF2_RemoveFile(invold); new string[128], oldname[100], newname[40]; //GetPVarString(playerid, "VarNewNick", newnick, sizeof newnick); TrocarBeneficios(playerid,NomePlayer(playerid),newname); format(oldname, sizeof oldname, Pasta_Contas, NomePlayer(playerid)); format(newname, sizeof newname, Pasta_Contas, newnick); DOF2_RenameFile(oldname, newname); getdate(year, month, day); gettime(hour,minute); format(string, sizeof(string), "[Alteração de nick] %s mudou o nick de para %s (%02d/%02d/%d - %02d:%02d)", NomePlayer(playerid),newnick, day, month, year,hour, minute); SendClientMessageToAll(COLOR_LIGHTRED, string); CNFLogs("mudarnick", string); SetPlayerName(playerid, newnick); PlayerInfo[playerid][pTrocaNick]--; SendClientMessage(playerid, COLOR_LIGHTRED, "[* ATENÇÃO *] NAO ESQUECA DE RELOGAR COM SEU NOVO NICK!"); return 1; }*/ CMD:trocarnick(playerid, params[]) { new stringsv[144]; if(PlayerInfo[playerid][pTrocaNick] < 1)return SendClientMessage(playerid, COLOR_GRAD2, "Você precisa de um troca de nick, compre na /lojavip."); new newnick[128]; if(sscanf(params, "s[128]", newnick)) return SendClientMessage(playerid, COLOR_GRAD2, "USE: /trocarnick [new nick]"); if(strfind(newnick, "Scripter", true) != -1) { SCM(playerid, COLOR_LIGHTRED, "[Protecao] O Seu novo nick nao pode conter 'Scripter'."); return 1; } if(!IsValidNome(newnick)) return SendClientMessage(playerid, COLOR_GRAD2, "Esse nome não é válido!"); new oldnick[MAX_PLAYER_NAME]; GetPlayerName(playerid, oldnick, sizeof(oldnick)); // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // new conce[80], nameantigo[40]; GetPlayerName(playerid, nameantigo, sizeof nameantigo); format(conce, sizeof(conce), VEH_SAVE_FILE, PlayerName(playerid)); // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // if(PlayerCarroConce[playerid] == INVALID_VEHICLE_ID && fexist(conce)) return SendClientMessage(playerid, COLOR_GRAD2, "Seu Carro Precisa estar conectado para trocar o nick, para nao haver bugs."); new oldname[100], newname[100], velho[100], novo[100]; strmid(velho, NomePlayer(playerid), 0, strlen(NomePlayer(playerid)), MAX_PLAYER_NAME); strmid(novo, newnick, 0, strlen(newnick), MAX_PLAYER_NAME); format(oldname, sizeof oldname, Pasta_Contas, NomePlayer(playerid)); format(newname, sizeof newname, Pasta_Contas, newnick); // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // if(strlen(newnick) < 5 || strlen(newnick) > 18) return SendClientMessage(playerid, COLOR_GRAD2, "O Nick do jogador deve ter mais de 5 caracteres."); if(DOF2_FileExists(newname)) return SendClientMessage(playerid, COLOR_GRAD2, "Este nick já existe no servidor."); getdate(year, month, day); gettime(hour,minute); format(stringsv, sizeof(stringsv), "[MudarNick] %s Mudou o Nick para %s (%d/%d/%d - %d:%d)", NomePlayer(playerid), newnick, day, month, year,hour, minute); SendClientMessageToAll(COLOR_LIGHTRED, stringsv); PlayerInfo[playerid][pTrocaNick]--; // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // frename(oldname, newname); printf("[DEBUG]: /TrocarNick (Renomeando conta de %s para %s..)", velho, novo); // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // new strinv[60], strinv2[60]; format(strinv, sizeof(strinv), Pasta_Inventario, PlayerName(playerid)); format(strinv2, sizeof(strinv2), Pasta_Inventario, newnick); if(fexist(strinv)) { frename(strinv, strinv2); printf("[DEBUG]: /TrocarNick (Renomeando inventário de %s para %s..)", velho, novo); } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // TrocarBeneficios(playerid, velho, novo); printf("[DEBUG]: /TrocarNick (Trocando beneficios da conta de %s para %s..)", velho, novo); // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // new conce2[80], conce3[60]; format(conce2, sizeof(conce2), VEH_SAVE_FILE, velho); format(conce3, sizeof(conce3), VEH_SAVE_FILE, novo); if(fexist(conce2)) frename(conce2, conce3); printf("[DEBUG]: /TrocarNick (Renomeando concessionária da conta de %s para %s..)", velho, novo); // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // new vic = GetOwnedVehicleID(playerid); if(vic != INVALID_VEHICLE_ID) { format(VehicleInfo[vic][vOwner], MAX_PLAYER_NAME, novo); } printf("[DEBUG]: /TrocarNick (Renomeando carro da concessionária da conta de %s para %s..)", velho, novo); SetPlayerName(playerid, newnick); printf("[DEBUG]: /TrocarNick (Setando Nick da conta de %s para %s..)", velho, novo); // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // printf("[DEBUG]: /TrocarNick (Kickando conta de %s[ID: %i])", novo, playerid); KickCNF(playerid); // BlockIpAddress(GetPlayerIP(playerid), 20000); // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // format(OldNick[playerid], MAX_PLAYER_NAME, oldnick); format(NewNick[playerid], MAX_PLAYER_NAME, newnick); SetTimerEx("TrocarNickDB", 3000, false, "i", playerid); return 1; } forward TrocarNickDB(playerid); public TrocarNickDB(playerid) { TrocarNicks_DB(OldNick[playerid], NewNick[playerid]); } CMD:acessorios(playerid) { new str[2000]; new string[1000]; if(PainelAbertoEditObjAndroid[playerid] == true) return 1; str[0] = EOS; strcat(str, "Slot\t{28BDEF}Nome\tLocal\n"); for(new i = 0; i != 10; i++) { format(string, sizeof string, "%d\t{28BDEF}%s\t{FFFFFF}%s\n", i+1, NomeItemInventario(AcessorioInfo[playerid][i][aModel]), LocalAcessorio(AcessorioInfo[playerid][i][aLocal])); strcat(str, string); new a = 0; if(AcessorioInfo[playerid][i][aModel] != 0) a++; format(string, sizeof string, "Meus acessorios: %d/10", a); ShowPlayerDialog(playerid, 250, 5, string, str, "Selecionar", "Cancelar"); } return 1; } CMD:planoCNF(playerid) { new mes, ano, dia; getdate(ano, mes, dia); if(!gPlayerLogged[playerid]) return SCM(playerid, -1, "Voce nao esta logado."); if(dia == 1 && mes == 11 && ano == 2021){ if(JaPegouAniversarioCNF[playerid] != 1) { SCM(playerid, COLOR_LIGHTGREEN, "[CNF] Obrigado por jogar em nosso servidor!"); SCM(playerid, COLOR_LIGHTGREEN, "[CNF] Voce ganhou 1 mes de vip gratis, e 100k em dinheiro."); GivePlayerMoney(playerid, 100000); SetarVIP(playerid, 1, 1); format(strbrazz, sizeof(strbrazz), "[CNF] O Jogador %s resgatou o beneficio do CNF e ganhou 1 mes de vip gratis! comando: /p1anoCNF", PlayerName(playerid)); SendClientMessageToAll(COLOR_LIGHTGREEN, strbrazz); new string3[120]; format(string3, sizeof(string3), Pasta_Contas, PlayerName(playerid)); DOF2_SetInt(string3, "AniversarioCNF", 1); JaPegouAniversarioCNF[playerid] = 1; CountAniv++; if(!fexist("CountAniv.ini")) DOF2_CreateFile("CountAniv.ini"); DOF2_SetInt("CountAniv.ini", "Count", CountAniv); DOF2_SaveFile(); OnPlayerSave(playerid); } else{ SCM(playerid, -1, "INFO: Voce ja pegou o beneficio."); return 1; } } else{ SCM(playerid, COLOR_LIGHTRED, "Esse comando foi programado para funcionar apenas no dia: 1/11/2021!"); } return 1; } CMD:infoserver(playerid) { if(PlayerInfo[playerid][pAdmin] >= 1) { format(strbrazz, 256, "Quantidade De Conexoes: %d", BRASILJogadores); SCM(playerid, -1, strbrazz); new qnt = DOF2_GetInt("CountAniv.ini", "Count"); format(strbrazz, 256, "Quantidade De Usos do /CNF1ano: %d", qnt); SCM(playerid, -1, strbrazz); format(strbrazz, 256, "Jogadores [Android: %d] [PC: %d]", GetPlayersAndroid(), GetPlayersPC()); SCM(playerid, -1, strbrazz); } return 1; } CMD:procurados(playerid, params[]) { if(IsACop(playerid)) { MEGAString[0] = EOS; new string[128]; foreach(Player, i) { if(GetPlayerWantedLevelEx(i) > 0) { GetPlayerName(i, giveplayer, sizeof(giveplayer)); format(string, sizeof string, "%s [ID:%d] [ORG: %s] Nivel: %d\n", giveplayer,i,AbrevORG(i),WantedPoints[i]); strcat(MEGAString,string); ShowPlayerDialog(playerid, 9937, DIALOG_STYLE_LIST, "Suspeitos Atuais",MEGAString,"Ok","Sair"); } } } else { SendClientMessage(playerid, COLOR_GREY, "Voce nao e um oficial!"); } return 1; } CMD:presos(playerid, params[]) { if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid,0xff6347FF, "* Voce nao esta conectado."); new Cont = 0; MEGAString[0] =EOS; new string[500]; strcat(MEGAString, "ID\tNick\tTempo\tCadeia\n"); foreach(Player, i) { GetPlayerName(i, sendername, sizeof(sendername)); if(PlayerInfo[i][pJailed] == 1) { format(string, sizeof(string), "%d\t%s\t{DD0000}%s (%d segundos)\t{49F265}Penitenciaria\n",i ,sendername, ConvertTime(PlayerInfo[i][pJailTime]),PlayerInfo[i][pJailTime]); strcat(MEGAString, string); Cont++; } if(PlayerInfo[i][pJailed] == 33) { format(string, sizeof(string), "%d\t%s\t{DD0000}%s (%d segundos)\t{49F265}Penitenciaria\n",i ,sendername, ConvertTime(PlayerInfo[i][pJailTime]),PlayerInfo[i][pJailTime]); strcat(MEGAString, string); Cont++; } if(PlayerInfo[i][pJailed] == 2) { format(string, sizeof(string), "%d\t%s\t{DD0000}%s (%d segundos)\t{49F265}Penitenciaria\n",i ,sendername, ConvertTime(PlayerInfo[i][pJailTime]),PlayerInfo[i][pJailTime]); strcat(MEGAString, string); Cont++; } if(PlayerInfo[i][pJailed] == 16) { format(string, sizeof(string), "%d\t%s\t{DD0000}%s (%d segundos)\t{49F265}Penitenciaria\n",i ,sendername, ConvertTime(PlayerInfo[i][pJailTime]),PlayerInfo[i][pJailTime]); strcat(MEGAString, string); Cont++; } if(PlayerInfo[i][pJailed] == 11) { format(string, sizeof(string), "%d\t%s\t{DD0000}%s (%d segundos)\t{49F265}Penitenciaria\n",i ,sendername, ConvertTime(PlayerInfo[i][pJailTime]),PlayerInfo[i][pJailTime]); strcat(MEGAString, string); Cont++; } if(PlayerInfo[i][pJailed] == 3) { format(string, sizeof(string), "%d\t%s\t{DD0000}%s (%d segundos)\t{49F265}Penitenciaria\n",i ,sendername, ConvertTime(PlayerInfo[i][pJailTime]),PlayerInfo[i][pJailTime]); strcat(MEGAString, string); Cont++; } if(PlayerInfo[i][pJailed] == 24) { format(string, sizeof(string), "%d\t%s\t{DD0000}%s (%d segundos)\t{49F265}Penitenciaria\n",i ,sendername, ConvertTime(PlayerInfo[i][pJailTime]),PlayerInfo[i][pJailTime]); strcat(MEGAString, string); Cont++; } if(PlayerInfo[i][pJailed] == 25) { format(string, sizeof(string), "%d\t%s\t{DD0000}%s (%d segundos)\t{49F265}Penitenciaria\n",i ,sendername, ConvertTime(PlayerInfo[i][pJailTime]),PlayerInfo[i][pJailTime]); strcat(MEGAString, string); Cont++; } if(PlayerInfo[i][pJailed] == 9) { format(string, sizeof(string), "%d\t%s\t{DD0000}%s (%d segundos)\t{F65FC5}Cadeia Admin\n",i ,sendername, ConvertTime(PlayerInfo[i][pJailTime]),PlayerInfo[i][pJailTime]); strcat(MEGAString, string); Cont++; } if(PlayerInfo[i][pJailed] == 36) { format(string, sizeof(string), "%d\t%s\t{DD0000}%s (%d segundos)\t{49F265}Penitenciaria\n",i ,sendername, ConvertTime(PlayerInfo[i][pJailTime]),PlayerInfo[i][pJailTime]); strcat(MEGAString, string); Cont++; } new penitencia[350]; format(penitencia, sizeof(penitencia), "{FFFFFF}Presos {FFFFFF}({00d900}%d{FFFFFF})",Cont); ShowPlayerDialog(playerid, 10727, DIALOG_STYLE_TABLIST_HEADERS, penitencia, MEGAString, "Fechar", ""); } return 1; } CMD:promover(playerid, params[]) { new para1, level; if(sscanf(params, "ud", para1, level)) { SendClientMessage(playerid, COLOR_GRAD2, "USE: /promover [ID do Player] [Cargo(1-5)]"); SendClientMessage(playerid, COLOR_GRAD2, "ou Use: /promover [ID do Player] [555 - 2° Sub-Lider]"); return true; } if(level != 1 && level != 2 && level != 3 && level != 4 && level != 5) { SendClientMessage(playerid, COLOR_GRAD2, "USE: /promover [ID do Player] [Cargo(1-5)]"); SendClientMessage(playerid, COLOR_GRAD2, "ou Use: /promover [ID do Player] [5 Sub-Lider]"); return true; } if (PlayerInfo[playerid][pLider] >= 1 || PlayerInfo[playerid][pCargo] >= 5) { if(IsPlayerConnected(para1)) { GetPlayerName(para1, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); if(PlayerInfo[playerid][pLider] == 0) { if(level > 4) return SendClientMessage(playerid, COLOR_GREY, "Sub-Lideres so podem Promover ate o Cargo 4!"); if(playerid == para1) return SendClientMessage(playerid, COLOR_GREY, "Voce nao pode se Promover!"); } if(PlayerInfo[para1][pCargo] == 6 && PlayerInfo[playerid][pCargo] == 6) return SendClientMessage(playerid, COLOR_GREY, "Voce nao pode promover um Lider!"); if(PlayerInfo[para1][pCargo] == level) return SendClientMessage(playerid, COLOR_GREY, "Este membro ja tem este Cargo!"); if(GetPlayerOrg(para1) == PlayerInfo[playerid][pLider]) { new string[128],cargo[128]; PlayerInfo[para1][pCargo] = level; if(level == 1) { cargo = "Cargo 1"; } else if(level == 2) {cargo = "Cargo 2";} else if(level == 3) {cargo = "Cargo 3";} else if(level == 4) {cargo = "Cargo 4";} else if(level == 5) {cargo = "Cargo 5";} else if(level == 6) {cargo = "Cargo 6";} if(level > PlayerInfo[para1][pCargo]) { format(string, sizeof(string), "Voce foi promovido a %s, pelo lider %s", cargo,PlayerName(playerid)); SendClientMessage(para1, COLOR_LIGHTBLUE, string); format(string, sizeof(string), "Voce promoveu %s para %s.", giveplayer,cargo); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); } else { format(string, sizeof(string), "Voce foi rebaixado a %s, pelo lider %s", cargo,PlayerName(playerid)); SendClientMessage(para1, COLOR_LIGHTBLUE, string); format(string, sizeof(string), "Voce rebaixou %s para %s.", giveplayer,cargo); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); } new org = PlayerInfo[playerid][pLider]; if(level == 5) { if(strcmp(InfoOrg[org][SubLider],"Ninguem",true)==0) { DemitirInfoOrg(giveplayer); DemitirInfoOrg(giveplayer); ConviteInfoOrg(giveplayer, org, 5); } else { strmid(string, InfoOrg[org][SubLider], 0, strlen(InfoOrg[org][SubLider]), 255); DemitirInfoOrg(giveplayer); DemitirInfoOrg(InfoOrg[org][SubLider]); ConviteInfoOrg(string, org, 4); ConviteInfoOrg(giveplayer, org, 5); } return true; } else if(level < 5) { DemitirInfoOrg(giveplayer); ConviteInfoOrg(giveplayer, org, level); } } else { SendClientMessage(playerid, COLOR_GREY, "Nao pode promover quem nao e da sua org."); return true; } } } else { SendClientMessage(playerid, COLOR_GRAD1, "Voce nao e um lider !"); } return true; } CMD:hqhelper(playerid, params[]) { if(PlayerInfo[playerid][pHelper] == 0) return SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao e um Helper!"); if(PlayerInfo[playerid][pJailTime] > 0) return SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao pode usar este comando agora."); if(helpertrampando[playerid] == 0) return SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao esta em modo de ajuda!"); new string[128]; format(string, sizeof(string), "* Helper %s Foi para HQ dos Helpers.",NomePlayer(playerid)); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); if (GetPlayerState(playerid) == 2) { new tmpcar = GetPlayerVehicleID(playerid); SetVehiclePos(tmpcar, 2477.7720,-1750.3823,13.5469); return true; } else { SetPlayerPos(playerid, 2477.7720,-1750.3823,13.5469); } SetPlayerInterior(playerid,0); PlayerInfo[playerid][pInt] = 0; return true; } CMD:comprarouros(playerid, result[]) { if(!PlayerToPoint(9.5,playerid, 2308.8767,-2.2627,26.7422))//PlayerToPoint(1.0,playerid,1929.5409,-1785.1664,13.5469) return SendClientMessage(playerid, COLOR_GREY, "Voce nao esta no banco"); new string[128]; new mon; if(sscanf(result, "d", mon)) return SendClientMessage(playerid, COLOR_GRAD1, "USE: /comprarouros [Quantidade(1 a 100]"); if(mon < 1 || mon > 100) return SendClientMessage(playerid, COLOR_GRAD1, " Quantidade de 1 a 100!"); new price = mon * 100000; if(PlayerInfo[playerid][pConta] >= price) { format(string, sizeof(string), "*Voce comprou %d ouros por R$%s", mon, ConvertMoney(price)); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); PlayerInfo[playerid][pConta] -= price; PlayerInfo[playerid][pOuros] += mon; } else { format(string, sizeof(string), "Voce nao tem R$%s no banco!", ConvertMoney(price)); SendClientMessage(playerid, COLOR_GREY, string); } return true; } CMD:venderouros(playerid, result[]) { if(!PlayerToPoint(9.5,playerid, 2308.8767,-2.2627,26.7422))//PlayerToPoint(1.0,playerid,1929.5409,-1785.1664,13.5469) return SendClientMessage(playerid, COLOR_GREY, "Voce nao esta no banco"); new mon; if(sscanf(result, "d", mon)) return SendClientMessage(playerid, COLOR_GRAD1, "USE: /venderouros [quantidade]"); if(mon < 1 || mon > 100) return SendClientMessage(playerid, COLOR_GRAD1, " Quantidade de 1 a 100!"); new price = mon * 100000; new string[128]; if(PlayerInfo[playerid][pOuros] >= mon) { format(string, sizeof(string), "*Voce vendeu %d ouros por R$%s", mon, ConvertMoney(price)); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); PlayerInfo[playerid][pConta] += price; PlayerInfo[playerid][pOuros] -= mon; } else { format(string, sizeof(string), "Voce nao tem %s ouros", ConvertMoney(mon)); SendClientMessage(playerid, COLOR_GREY, string); } return true; } CMD:materiais(playerid, x_nr[]) { if (!IsAMafioso(playerid)) return SendClientMessage(playerid,COLOR_GREY,"[ERRO] Voce nao e um mafioso."); if(isnull(x_nr)) { SendClientMessage(playerid, COLOR_WHITE, "USE: /Materiais [name]"); SendClientMessage(playerid, COLOR_WHITE, "Nomes validos: pegar, entregar."); return 1; } new string[128]; moneys = 20; if(strcmp(x_nr,"pegar",true) == 0) { if(PlayerToPoint(3.0,playerid,1596.6569,-1556.8433,13.5831)) { if(MatsHolding[playerid] >= 1) return SendClientMessage(playerid, COLOR_GREY, "Voce ja tem pacotes !"); new price = moneys * 100; if(GetPlayerMoney(playerid) > price) { format(string, sizeof(string), "* Voce recebeu %d Materiais por R$%s, Entregue-os o checkpoint.", moneys, ConvertMoney(price)); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); GiveDinheiro(playerid, - price); MatsHolding[playerid] = moneys; SetPlayerCheckpoint(playerid, 1751.2091,-1944.1311,13.5678, 4.0); } else { format(string, sizeof(string), "Voce nao tem R$%s !", ConvertMoney(price)); SendClientMessage(playerid, COLOR_GREY, string); } } else { SendClientMessage(playerid, COLOR_GREY, "Voce nao esta no local de troca !"); return 1; } } else if(strcmp(x_nr,"entregar",true) == 0) { if(PlayerToPoint(3.0,playerid,1751.2091,-1944.1311,13.5678)) { if(MatsHolding[playerid] > 0) { new payout = (100)*(MatsHolding[playerid]); format(string, sizeof(string), "* Voce pegou %d Materiais por %d pacotes.", payout, MatsHolding[playerid]); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); PlayerInfo[playerid][pMats] += payout; MatsHolding[playerid] = 0; return 1; } else { SendClientMessage(playerid, COLOR_GREY, "Voce nao tem pacotes!"); return 1; } } else { SendClientMessage(playerid, COLOR_GREY, "Voce nao esta no Local de trocar"); return 1; } } else { SendClientMessage(playerid, COLOR_GREY, " Materiais Invalidos !"); return 1; } return 1; } CMD:iniciarfall(playerid) { if(PlayerInfo[playerid][pAdmin] < 1338) return SendClientMessage(playerid, COLOR_GRAD1, LEVELADM); if(!falliniciado) return SendClientMessage(playerid, COLOR_GRAD1, " Fallout nao criado, digite /criarfall para criar!"); KillTimer(fallTimer); fallTimer = SetTimer("fallfunc", 3000, 1); GameTextForAll("~p~Fallout iniciado!", 5000, 1); new Stri[128]; format(Stri, sizeof Stri, "O admin %s iniciou o FallOut, Boa sorte aos participantes!", NomePlayer(playerid)); SendClientMessageToAll(COLOR_YELLOW, Stri); fallCount = totalo; fallstart = 1; return 1; } CMD:criarfall(playerid) { if(PlayerInfo[playerid][pAdmin] < 1338) return SendClientMessage(playerid, COLOR_GRAD1, LEVELADM); if(falliniciado) return SendClientMessage(playerid, COLOR_GRAD1, " Fallout ja criado, digite /destruirfall para destruir ou /iniciarfall para iniciar!"); loadFall(); new string[128]; SendClientMessageToAll(TEAM_BALLAS_COLOR, "_______________________________________________________________________________________________________________"); format(string, sizeof string, "FALLOUT: O admin %s iniciou um evento de FallOut, va ate a empresa de eventos para participar!!", NomePlayer(playerid)); SendClientMessageToAll(TEAM_BALLAS_COLOR, string); SendClientMessageToAll(TEAM_BALLAS_COLOR, "_______________________________________________________________________________________________________________"); falliniciado = 1; typeevento = 2; foreach(Player, i) { SetPVarInt(i, "inFall", 0); } fallstart = 0; return 1; } CMD:destruirfall(playerid) { if(PlayerInfo[playerid][pAdmin] < 1338) return SendClientMessage(playerid, COLOR_GRAD1, LEVELADM); fallDestroy(); new string[128]; format(string, sizeof string, "* O admin %s destruiu o evento de fallout!", NomePlayer(playerid)); SendClientMessageToAll(TEAM_BALLAS_COLOR, string); return 1; } CMD:aarenax1(playerid) { //new gstring[256]; if (PlayerInfo[playerid][pAdmin] >= 1340) { if (arenax1 == 0) { arenax1 = 1; format(gstring, sizeof(gstring), "O Admin %s Abriu a Arena {FFFF00}x1{FFFFFF}!",PlayerName(playerid)); ABroadCast(0xFFFFFFFF,gstring,1); format(gstring, sizeof(gstring), "Veja onde esta Localizado a 'Arena x1' /gps (Locais Importantes)"); SendClientMessageToAll(COLOR_LIGHTBLUE, gstring); } else if(arenax1 == 1) { arenax1 = 0; format(gstring, sizeof(gstring), "O Admin %s Fechou a Arena {FFFF00}x1{FFFFFF}!",PlayerName(playerid)); SendClientMessageToAll(0xFFFFFFFF, gstring); foreach(Player, i) { if(GetPVarInt(i, "inArena")) { SetPVarInt(i, "inArena", 0); SetPlayerSpawn(i); SendClientMessage(i, COLOR_GRAD1, "Voce saiu da Arena!"); } } } } else { SendClientMessage(playerid, COLOR_GRAD1, LEVELADM); } return 1; } CMD:liberarvip(playerid) { if (!gPlayerLogged[playerid]) return SendClientMessage(playerid, COLOR_GRAD1, " Voce nao esta logado !"); if(!strcmp(NomePlayer(playerid), "DG HD SAMP", true) || !strcmp(NomePlayer(playerid), "Willians_Sousa", true)) { new Mensagem[100]; strcat(Mensagem, "Liberar Codigo VIP\nLiberar Codigo Socio"); ShowPlayerDialog(playerid, DIALOG_LIBERARMV, DIALOG_STYLE_LIST, "Menu de liberacao codigos VIP/Socio", Mensagem, "Escolher", "Cancelar"); } return 1; } CMD:arenax1(playerid) { //new gstring[256]; if(IsPlayerConnected(playerid)) { if (arenax1 == 1 && IsPlayerInRangeOfPoint(playerid, 2.0, 1209.4342,-1752.2078,13.5936)) { if (GetPlayerMoney (playerid) < SBizzInfo[1][sbEntranceCost]) { SendClientMessage(playerid, COLOR_GRAD2, "Voce nao tem dinheiro suficiente para entrar na Arena x1."); RemovePlayerFromVehicleEx(playerid); return 1; } if(GetPVarInt(playerid, "inArena") == 0) { new rand; rand = random(sizeof(Arenax1Spawns)); SetPlayerPos(playerid, Arenax1Spawns[rand][0], Arenax1Spawns[rand][1], Arenax1Spawns[rand][2]); SetPlayerFacingAngle(playerid, Arenax1Spawns[rand][3]); SetPlayerInterior(playerid, 10); SetPlayerVirtualWorld(playerid, 0); ResetPlayerWeapons(playerid); GiveDinheiro(playerid,-SBizzInfo[1][sbEntranceCost]); SBizzInfo[1][sbTill] += SBizzInfo[1][sbEntranceCost]; ExtortionSBiz(1, SBizzInfo[1][sbEntranceCost]); GivePlayerWeapon(playerid, 24, 999); GivePlayerWeapon(playerid, 25, 999); SetPlayerHealth(playerid, 100); SetPlayerArmour(playerid, 100); format(gstring, sizeof(gstring), "~r~~h~-R$%s", ConvertMoney(SBizzInfo[1][sbEntranceCost])); GameTextForPlayer(playerid, gstring, 5000, 1); SetPVarInt(playerid, "inArena", 1); SendClientMessage(playerid, COLOR_GRAD1, "Caso queira sair use /sairarena!"); SalvarSEmpresa(1); Atualizar3Dtexts(); } else SendClientMessage(playerid, COLOR_GRAD1, "Voce ja esta na Arena!"); } else SendClientMessage(playerid, COLOR_GRAD1, "Arena x1 Esta fechada aguarde algum administrador abri-la"); } return 1; } CMD:sairarena(playerid) { if(IsPlayerConnected(playerid)) { if(arenax1 == 1) { if(GetPVarInt(playerid, "inArena")) { SetPVarInt(playerid, "inArena", 0); SetPlayerPos(playerid, 1209.4342,-1752.2078,13.5936); SetPlayerVirtualWorld(playerid, 0); SetPlayerHealth(playerid, 100); SetPlayerInterior(playerid, 0); SendClientMessage(playerid, COLOR_GRAD1, "Voce saiu da Arena!"); } else SendClientMessage(playerid, COLOR_LIGHTRED, "Voce nao esta na ARENA de X1."); } else SendClientMessage(playerid, 0x00FFFFAA, "A Arena Esta fechada!"); } return 1; } CMD:entrarorg(playerid, params[]) { if(gettime() < GetPVarInt(playerid, "VarDano")) return SendClientMessage(playerid, COLOR_GRAD1,"Voce so podera entrar em alguma organizacao em 1 minuto apos tomar dano de alguem !"); if(PlayerInfo[playerid][pVIP] < 3) return SendClientMessage(playerid, COLOR_GRAD2, "Voce precisa ser jogador Socio Reliquia/Platina!"); if(GetPlayerOrg(playerid) > 0) return SendClientMessage(playerid, COLOR_GRAD2, "Voce precisa estar de civil para usar este comando."); new org; if(sscanf(params, "d", org)) return SendClientMessage(playerid, COLOR_GRAD2, "USE: /entrarorg [orgid]"); if(org < 1 || org > 38) return SendClientMessage(playerid, COLOR_GRAD2, "Orgs de 1 - 38"); if((PlayerInfo[playerid][vipWait] - gettime()) > 0 && PlayerInfo[playerid][pAdmin] == 0) return SendClientMessage(playerid, COLOR_GRAD2, "Aguarde 20 minutos para utilizar o comando novamente!"); PlayerInfo[playerid][pMembro] = org; if(PlayerInfo[playerid][pVIP] == 3) { PlayerInfo[playerid][pCargo] = 3; } else if(PlayerInfo[playerid][pVIP] == 4) { PlayerInfo[playerid][pCargo] = 4; } //new gstring[128]; PlayerInfo[playerid][vipWait] = gettime() + 20 * 60; // aguardar 20 minutos getdate(year, month, day); gettime(hour,minute,second); if(PlayerInfo[playerid][pVIP] == 3) { format(gstring, sizeof gstring, "[{bb52fe}Socio-Reliquia{2641FE}]: %s entrou na organizacao: %s.", NomePlayer(playerid), GetNomeOrg(org)); SendClientMessageToAll(0x2641FEFF, gstring); } else if(PlayerInfo[playerid][pVIP] == 4) { format(gstring, sizeof gstring, "[{AEFFD1}Socio-Platina{2641FE}]: %s entrou na organizacao: %s.", NomePlayer(playerid), GetNomeOrg(org)); SendClientMessageToAll(0x2641FEFF, gstring); } switch(PlayerInfo[playerid][pMembro]) { case 1: { SetPlayerSkin(playerid, 282); } case 2: { SetPlayerSkin(playerid, 285); } case 3: { SetPlayerSkin(playerid, 287); } case 4: { SetPlayerSkin(playerid, 274); } case 5: { SetPlayerSkin(playerid, 114); } case 6: { SetPlayerSkin(playerid, 121); } case 7: { SetPlayerSkin(playerid, 163); } case 8: { SetPlayerSkin(playerid, 127); } case 9: { SetPlayerSkin(playerid, 148); } case 10: { SetPlayerSkin(playerid, 253); } case 11: { SetPlayerSkin(playerid, 286); } case 12: { SetPlayerSkin(playerid, 126); } case 13: { SetPlayerSkin(playerid, 203); } case 14: { SetPlayerSkin(playerid, 107); } case 15: { SetPlayerSkin(playerid, 30); } case 16: { SetPlayerSkin(playerid, 186); } case 17: { SetPlayerSkin(playerid, 103); } case 18: { SetPlayerSkin(playerid, 109); } case 19: { SetPlayerSkin(playerid, 40); } case 20: { SetPlayerSkin(playerid, 247); } case 21: { SetPlayerSkin(playerid, 292); } case 22: { SetPlayerSkin(playerid, 118); } case 23: { SetPlayerSkin(playerid, 112); } case 24: { SetPlayerSkin(playerid, 247); } case 25: { SetPlayerSkin(playerid, 247); } case 26: { SetPlayerSkin(playerid, 174); } case 27: { SetPlayerSkin(playerid, 282); } case 28: { SetPlayerSkin(playerid, 109); } case 29: { SetPlayerSkin(playerid, 107); } case 30: { SetPlayerSkin(playerid, 253); } case 31: { SetPlayerSkin(playerid, 274); } case 32: { SetPlayerSkin(playerid, 148); } case 33: { SetPlayerSkin(playerid, 284); } case 34: { SetPlayerSkin(playerid, 141); } case 35: { SetPlayerSkin(playerid, 50); } default: { SetPlayerSkin(playerid, 289); } } Controle(playerid, 0); SetPlayerSpawn(playerid); return true; } CMD:report(playerid, params[])return ForT:reportar(playerid, params); CMD:reportar(playerid, params[]) { new id,motivo[128]; if(gettime() < GetPVarInt(playerid, #VarFlood1)) return SendClientMessage(playerid, COLOR_GRAD1, #[ERRO] Impossivel usar este comando com tanta frequencia.); SetPVarInt(playerid, #VarFlood1, gettime()+5); if(sscanf(params, "us[128]", id, motivo)) return SendClientMessage(playerid, COLOR_GRAD1, "USE: /reportar [id] [motivo]"); if(!IsPlayerConnected(id)) return SendClientMessage(playerid, COLOR_GRAD1, " Este player esta off-line !"); if(gPlayerLogged[playerid]) { new Str[226]; format(Str, sizeof Str, ">>[*REPORT*]<< %s esta reportando %s, motivo: %s", NomePlayer(playerid), NomePlayer(id), motivo); ABroadCast(0xFF6347FF, Str, 1); SendClientMessage(playerid, 0xFFFFFFFF, "[* ATENÇÃO *]Seu report foi enviado para os administradores online..."); SendClientMessage(playerid, COLOR_LIGHTRED, "[* ATENÇÃO *]Nao use este comando indevidamente."); CNFLogs("report", Str); } return 1; } CMD:sos(playerid, result[])return ForT:relatorio(playerid, result); CMD:relato(playerid, result[])return ForT:relatorio(playerid, result); CMD:relatorio(playerid, result[]) return cmd_atendimento(playerid, result); CMD:atendimento(playerid, result[]) { if(isnull(result)) return SendClientMessage(playerid, COLOR_YELLOW, "USE: (/relatorio [assunto]"); if(strlen(result) < 0 || strlen(result) > 30) return SendClientMessage(playerid, COLOR_GRAD1, " O assunto do atendimento nao pode ter mais que 30 caracteres."); if(gettime() < GetPVarInt(playerid, #VarFloodChatrl)) return SendClientMessage(playerid,COLOR_YELLOW,"[ERRO] Voce so pode usar o relatorio a cada 15 segundos."); new Str[3000]; VarChatAtendimento[playerid] = EOS; strins(VarChatAtendimento[playerid],result,0); StrDialog[0] = EOS; format(Str, sizeof(Str), "{FFFFFF}Voce esta prestes a solicitar um atendimento administrativo."); strcat(StrDialog,Str); format(Str, sizeof(Str), "\n\n{FFFFFF}Seu Nome: {EE82EE}%s",PlayerName(playerid)); strcat(StrDialog,Str); format(Str, sizeof(Str), "\n{FFFFFF}Assunto do atendimento: {EE82EE}%s",result); strcat(StrDialog,Str); format(Str, sizeof(Str), "\n\n{EE82EE}OBS: {FFFFFF}Solicite atendimento para assuntos serios, para emergencias use /duvida"); strcat(StrDialog,Str); format(Str, sizeof(Str), "\n{FFFFFF}Caso Contrario voce sera devidamente punido pela administracao do servidor."); strcat(StrDialog,Str); ShowPlayerDialog(playerid, 8722, DIALOG_STYLE_MSGBOX, "{00FFFF}Ticket de Atendimento", StrDialog, "Enviar", "Cancelar"); return true; } CMD:kitvip(playerid, result[]) { new StrFile[128]; format(StrFile, sizeof(StrFile), Pasta_Contas, PlayerName(playerid)); if(gettime() < GetPVarInt(playerid, "VarDano")) return SendClientMessage(playerid, COLOR_GRAD1,"Voce so podera equipar 3 minutos apos tomar dano de alguem !"); new string[128]; GetPlayerName(playerid, sendername, sizeof(sendername)); if(PlayerInfo[playerid][pVIP] == 1) { format(string, sizeof string, "* VIP %s Pegou Seu KitVip.", sendername); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SendClientMessage(playerid,COLOR_LIGHTRED,"Lembre-se,voce nao pode estar em batalha! ou levara cadeia!"); ResetPlayerWeapons(playerid); TempDropArmasBody[playerid] = 0; GivePlayerWeapon(playerid, 29, 800); GivePlayerWeapon(playerid, 25, 800); GivePlayerWeapon(playerid, 24, 900); GivePlayerWeapon(playerid, 4, 1); SetPlayerArmour(playerid, 50); SetPlayerHealth(playerid, 100); SendClientMessage(playerid,COLOR_GREEN,"Voce pegou o seu Kit VIP."); return true; } else if(PlayerInfo[playerid][pVIP] == 2) { format(string, sizeof string, "* Super-VIP %s Pegou Seu KitVIP.", sendername); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SendClientMessage(playerid,COLOR_LIGHTRED,"Lembre-se,voce nao pode estar em batalha! ou levara cadeia!"); ResetPlayerWeapons(playerid); TempDropArmasBody[playerid] = 0; GivePlayerWeapon(playerid, 31, 600); GivePlayerWeapon(playerid, 29, 800); GivePlayerWeapon(playerid, 25, 800); GivePlayerWeapon(playerid, 24, 900); GivePlayerWeapon(playerid, 4, 1); SetPlayerArmour(playerid, 70); SetPlayerHealth(playerid, 100); SendClientMessage(playerid,COLOR_LIGHTBLUE,"Voce pegou o seu Kit Socio."); return true; } else if(PlayerInfo[playerid][pVIP] == 3) { format(string, sizeof string, "* Socio-Reliquia %s Pegou Seu KitSocio.", sendername); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SendClientMessage(playerid,COLOR_LIGHTRED,"Lembre-se,voce nao pode estar em batalha! ou levara cadeia!"); ResetPlayerWeapons(playerid); TempDropArmasBody[playerid] = 0; if(SNIPER_ATIVADO) GivePlayerWeapon(playerid, 34, 70); GivePlayerWeapon(playerid, 35, 1); GivePlayerWeapon(playerid, 31, 600); GivePlayerWeapon(playerid, 29, 800); GivePlayerWeapon(playerid, 25, 800); GivePlayerWeapon(playerid, 24, 900); GivePlayerWeapon(playerid, 4, 1); SetPlayerArmour(playerid, 80); SetPlayerHealth(playerid, 100); SendClientMessage(playerid,COLOR_LIGHTBLUE,"Voce pegou o seu Kit Socio."); return true; } else if(PlayerInfo[playerid][pVIP] == 4) { format(string, sizeof string, "* Socio-Platina %s Pegou Seu KitSocio.", sendername); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SendClientMessage(playerid,COLOR_LIGHTRED,"Lembre-se,voce nao pode estar em batalha! ou levara cadeia!"); ResetPlayerWeapons(playerid); TempDropArmasBody[playerid] = 0; GivePlayerWeapon(playerid, 24, 600); GivePlayerWeapon(playerid, 45,2); GivePlayerWeapon(playerid, 16, 26); GivePlayerWeapon(playerid, 31, 700); GivePlayerWeapon(playerid, 29, 700); GivePlayerWeapon(playerid, 25, 400); if(SNIPER_ATIVADO) GivePlayerWeapon(playerid, 34, 70); GivePlayerWeapon(playerid, 4, 5); GivePlayerWeapon(playerid, 35, 5); SetPlayerArmour(playerid, 100); SetPlayerHealth(playerid, 100); return true; } return 1; } CMD:kitsocio(playerid, x_nr[]) { new StrFile[128]; format(StrFile, sizeof(StrFile), Pasta_Contas, PlayerName(playerid)); if(gettime() < GetPVarInt(playerid, "VarDano")) return SendClientMessage(playerid, COLOR_GRAD1,"Voce so podera equipar 3 minutos apos tomar dano de alguem !"); if(PlayerInfo[playerid][pJailed] == 9) return SendClientMessage(playerid,COLOR_GRAD1,"Voce nao pode usar este comando nas Celas da Administracao!"); if(isnull(x_nr)) { SendClientMessage(playerid, -1, "/kitsocio 1 {9C9C9C}(Soco ingles, Faca, Granada, Eagle, Combat-Shotgun, MP5, M4, Sniper, RP, Spray)"); SendClientMessage(playerid, -1, "/kitsocio 2 {9C9C9C}(Soco ingles, Katana, Molotov, Eagle, Shotgun, MP5, AK-47, Sniper, RP, Extintor)"); SendClientMessage(playerid, -1, "/kitsocio 3 {9C9C9C}(Soco ingles, Faca, Tear Gas, Eagle, Shotgun, MP5, M4, Sniper, RP, Extintor)"); SendClientMessage(playerid, -1, "/kitsocio 4 {9C9C9C}(Armas simples, como Faca, Eagle, Shotgun, M4, Sniper)"); SendClientMessage(playerid, -1, "/kitsocio platina {9C9C9C}(Soco ingles, Faca, Granada, Eagle, Shotgun, MP5, M4, Sniper, Bazooka TeleGuiada, Spray)"); return 1; } if(PlayerInfo[playerid][pVIP] == 0) return SendClientMessage(playerid, -1, "Para usar {DBED15}/kitsocio {FFFFFF}precisa ser Socio-Reliquia ou Socio-Platina."); new string[250]; if(strcmp(x_nr,"1",true) == 0) { if(PlayerInfo[playerid][pVIP] < 3) return SendClientMessage(playerid, COLOR_GREY, "Voce nao e um jogador Socio"); if(PlayerInfo[playerid][pVIP] == 3) { format(string, sizeof string, "[Socio-Reliquia]: %s Pegou Seu KitSocio.", NomePlayer(playerid)); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); } else if(PlayerInfo[playerid][pVIP] == 4) { format(string, sizeof string, "[Socio-Platina]: %s Pegou Seu KitSocio.", NomePlayer(playerid)); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); } SendClientMessage(playerid,COLOR_LIGHTRED,"Lembre-se,voce nao pode estar em batalha! ou levara cadeia!"); ResetPlayerWeapons(playerid); TempDropArmasBody[playerid] = 0; GivePlayerWeapon(playerid, 27, 900); GivePlayerWeapon(playerid, 29, 900); GivePlayerWeapon(playerid, 31, 900); if(SNIPER_ATIVADO) GivePlayerWeapon(playerid, 34, 900); GivePlayerWeapon(playerid, 35, 5); GivePlayerWeapon(playerid, 41, 900); GivePlayerWeapon(playerid, 24, 900); GivePlayerWeapon(playerid, 16, 20); GivePlayerWeapon(playerid, 1, 1); GivePlayerWeapon(playerid, 4, 1); SetPlayerArmour(playerid, 100); SetPlayerHealth(playerid, 100); return true; } if(strcmp(x_nr,"2",true) == 0) { if(PlayerInfo[playerid][pVIP] < 3) return SendClientMessage(playerid, COLOR_GREY, "Voce nao e um jogador Socio"); if(PlayerInfo[playerid][pVIP] == 3) { format(string, sizeof string, "[Socio-Reliquia]: %s Pegou Seu KitSocio.", NomePlayer(playerid)); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); } else if(PlayerInfo[playerid][pVIP] == 4) { format(string, sizeof string, "[Socio-Platina]: %s Pegou Seu KitSocio.", NomePlayer(playerid)); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); } SendClientMessage(playerid,COLOR_LIGHTRED,"Lembre-se,voce nao pode estar em batalha! ou levara cadeia!"); ResetPlayerWeapons(playerid); TempDropArmasBody[playerid] = 0; GivePlayerWeapon(playerid, 30, 900); GivePlayerWeapon(playerid, 29, 900); if(SNIPER_ATIVADO) GivePlayerWeapon(playerid, 34, 900); GivePlayerWeapon(playerid, 30, 900); GivePlayerWeapon(playerid, 35, 5); GivePlayerWeapon(playerid, 25, 900); GivePlayerWeapon(playerid, 24, 900); GivePlayerWeapon(playerid, 18, 20); GivePlayerWeapon(playerid, 1, 1); GivePlayerWeapon(playerid, 8, 1); SetPlayerArmour(playerid, 100); SetPlayerHealth(playerid, 100); return true; } else if(strcmp(x_nr,"3",true) == 0) { if(PlayerInfo[playerid][pVIP] < 3) return SendClientMessage(playerid, COLOR_GREY, "Voce nao e um jogador Socio"); if(PlayerInfo[playerid][pVIP] == 3) { format(string, sizeof string, "[Socio-Reliquia]: %s Pegou Seu KitSocio.", NomePlayer(playerid)); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); } else if(PlayerInfo[playerid][pVIP] == 4) { format(string, sizeof string, "[Socio-Platina]: %s Pegou Seu KitSocio.", NomePlayer(playerid)); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); } SendClientMessage(playerid,COLOR_LIGHTRED,"Lembre-se,voce nao pode estar em batalha! ou levara cadeia!"); ResetPlayerWeapons(playerid); TempDropArmasBody[playerid] = 0; GivePlayerWeapon(playerid, 30, 900); GivePlayerWeapon(playerid, 29, 900); if(SNIPER_ATIVADO) GivePlayerWeapon(playerid, 34, 900); GivePlayerWeapon(playerid, 31, 900); GivePlayerWeapon(playerid, 35, 5); GivePlayerWeapon(playerid, 25, 900); GivePlayerWeapon(playerid, 24, 900); GivePlayerWeapon(playerid, 17, 20); GivePlayerWeapon(playerid, 4, 1); GivePlayerWeapon(playerid, 1, 1); SetPlayerArmour(playerid, 100); SetPlayerHealth(playerid, 100); return true; } else if(strcmp(x_nr,"4",true) == 0) { if(PlayerInfo[playerid][pVIP] < 3) return SendClientMessage(playerid, COLOR_GREY, "Voce nao e um jogador Socio"); if(PlayerInfo[playerid][pVIP] == 3) { format(string, sizeof string, "[Socio-Reliquia]: %s Pegou Seu KitSocio.", NomePlayer(playerid)); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); } else if(PlayerInfo[playerid][pVIP] == 4) { format(string, sizeof string, "[Socio-Platina]: %s Pegou Seu KitSocio.", NomePlayer(playerid)); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); } SendClientMessage(playerid,COLOR_LIGHTRED,"Lembre-se,voce nao pode estar em batalha! ou levara cadeia!"); ResetPlayerWeapons(playerid); TempDropArmasBody[playerid] = 0; GivePlayerWeapon(playerid, 29, 900); if(SNIPER_ATIVADO) GivePlayerWeapon(playerid, 34, 900); GivePlayerWeapon(playerid, 31, 900); GivePlayerWeapon(playerid, 25, 900); GivePlayerWeapon(playerid, 24, 900); GivePlayerWeapon(playerid, 4, 1); SetPlayerArmour(playerid, 100); SetPlayerHealth(playerid, 100); return true; } else if(strcmp(x_nr,"platina",true) == 0) { if(PlayerInfo[playerid][pVIP] < 4) return SendClientMessage(playerid, COLOR_GREY, "Voce nao e um jogador Socio Platina"); format(string, sizeof string, "[{AEFFD1}Socio-Platina{2641FE}]: %s Pegou Seu KitSocio.", NomePlayer(playerid)); SendClientMessageToAll(0x2641FEFF, string); SendClientMessage(playerid,COLOR_LIGHTRED,"Lembre-se,voce nao pode estar em batalha! ou levara cadeia!"); ResetPlayerWeapons(playerid); TempDropArmasBody[playerid] = 0; GivePlayerWeapon(playerid, 41, 900); GivePlayerWeapon(playerid, 29, 900); if(SNIPER_ATIVADO) GivePlayerWeapon(playerid, 34, 900); GivePlayerWeapon(playerid, 31, 900); GivePlayerWeapon(playerid, 36, 5); GivePlayerWeapon(playerid, 25, 900); GivePlayerWeapon(playerid, 24, 900); GivePlayerWeapon(playerid, 16, 20); GivePlayerWeapon(playerid, 4, 1); GivePlayerWeapon(playerid, 1, 1); SetPlayerArmour(playerid, 100); SetPlayerHealth(playerid, 100); return true; } else { SendClientMessage(playerid, -1, "/kitsocio 1 {9C9C9C}(Soco ingles, Faca, Granada, Eagle, Combat-Shotgun, MP5, M4, Sniper, RP, Spray)"); SendClientMessage(playerid, -1, "/kitsocio 2 {9C9C9C}(Soco ingles, Katana, Molotov, Eagle, Shotgun, MP5, AK-47, Sniper, RP, Extintor)"); SendClientMessage(playerid, -1, "/kitsocio 3 {9C9C9C}(Soco ingles, Faca, Tear Gas, Eagle, Shotgun, MP5, M4, Sniper, RP, Extintor)"); SendClientMessage(playerid, -1, "/kitsocio 4 {9C9C9C}(Armas simples, como Faca, Eagle, Shotgun, M4, Sniper)"); SendClientMessage(playerid, -1, "/kitsocio platina {9C9C9C}(Soco ingles, Faca, Granada, Eagle, Shotgun, MP5, M4, Sniper, Bazooka TeleGuiada, Spray)"); } return true; } CMD:respawncarrosorg(playerid, params[]) { if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid, 0xff6347FF, "* Voce nao esta conectado."); if (PlayerInfo[playerid][pAdmin] < 1 && PlayerInfo[playerid][pAdminTemp] < 1) return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao esta autorizado a usar este comando !"); if(!admtrampando[playerid] && PlayerInfo[playerid][pAdmin] < 1342) return SendClientMessage(playerid, COLOR_GRAD1, TRABALHARADM); new orgid; if(!(orgid=strval(params)) || (orgid<1||orgid>100)) return SendClientMessage(playerid, COLOR_GREY, "USE: /respawncarrosorg [OrgID (1 - 36)] Helper(99) Admin (100)"); switch(orgid) { case 1: for(new x; x != MAX_VEHICLES; x++) { if(IsACopCar(x) && !VeiculoOcupado(x)) SetVehicleToRespawnEx(x); } case 2: for(new x; x != MAX_VEHICLES; x++) { if(IsAROTAsCar(x) && !VeiculoOcupado(x)) SetVehicleToRespawnEx(x); } case 3: for(new x; x != MAX_VEHICLES; x++) { if(IsAGNCar(x) && !VeiculoOcupado(x)) SetVehicleToRespawnEx(x); } case 4: { for(new x; x != MAX_VEHICLES; x++) { if(IsAMedicosSFCar(x) && !VeiculoOcupado(x)) SetVehicleToRespawnEx(x); } } case 5: for(new x; x != MAX_VEHICLES; x++) { if(IsAAztecaCar(x) && !VeiculoOcupado(x)) SetVehicleToRespawnEx(x); } case 7: for(new x; x != MAX_VEHICLES; x++) { if(IsAGOVCar(x) && !VeiculoOcupado(x)) SetVehicleToRespawnEx(x); } case 8: for(new x; x != MAX_VEHICLES; x++) { if(IsAHitCar(x) && !VeiculoOcupado(x)) SetVehicleToRespawnEx(x); } case 9: for(new x; x != MAX_VEHICLES; x++) { if(IsAJornalCar(x) && !VeiculoOcupado(x)) SetVehicleToRespawnEx(x); } case 11: for(new x; x != MAX_VEHICLES; x++) { if(IsAPFCar(x) && !VeiculoOcupado(x)) SetVehicleToRespawnEx(x); } case 12: for(new x; x != MAX_VEHICLES; x++) { if(IsARUSSACar(x) && !VeiculoOcupado(x)) SetVehicleToRespawnEx(x); } case 13: { for(new x; x != MAX_VEHICLES; x++){ if(IsAYakuzaCar(x) && !VeiculoOcupado(x)) SetVehicleToRespawnEx(x); } } case 14: for(new x; x != MAX_VEHICLES; x++) { if(IsAGrooveCar(x) && !VeiculoOcupado(x)) SetVehicleToRespawnEx(x); } case 15: for(new x; x != MAX_VEHICLES; x++) { if(IsAAlCar(x) && !VeiculoOcupado(x)) SetVehicleToRespawnEx(x); } case 16: for(new x; x != MAX_VEHICLES; x++) { if(IsAROTACar(x) && !VeiculoOcupado(x)) SetVehicleToRespawnEx(x); } case 17: for(new x; x != MAX_VEHICLES; x++) { if(IsABallasCar(x) && !VeiculoOcupado(x)) SetVehicleToRespawnEx(x); } case 18: for(new x; x != MAX_VEHICLES; x++) { if(IsAVagosCar(x) && !VeiculoOcupado(x)) SetVehicleToRespawnEx(x); } case 19: for(new x; x != MAX_VEHICLES; x++) { if(IsAComandoVermelhoCar(x) && !VeiculoOcupado(x)) SetVehicleToRespawnEx(x); } case 20: for(new x; x != MAX_VEHICLES; x++) { if(IsABombeirosCar(x) && !VeiculoOcupado(x)) SetVehicleToRespawnEx(x); } case 21: for(new x; x != MAX_VEHICLES; x++) { if(IsAPCCCar(x) && !VeiculoOcupado(x)) SetVehicleToRespawnEx(x); } case 22: for(new x; x != MAX_VEHICLES; x++) { if(IsATriadCar(x) && !VeiculoOcupado(x)) SetVehicleToRespawnEx(x); } case 23: for(new x; x != MAX_VEHICLES; x++) { if(IsAGNCar(x) && !VeiculoOcupado(x)) SetVehicleToRespawnEx(x); } case 24: for(new x; x != MAX_VEHICLES; x++) { if(IsAMayansCar(x) && !VeiculoOcupado(x)) SetVehicleToRespawnEx(x); } case 25: for(new x; x != MAX_VEHICLES; x++) { if(IsASonssCar(x) && !VeiculoOcupado(x)) SetVehicleToRespawnEx(x); } case 33: for(new x; x != MAX_VEHICLES; x++) { if(IsAPRCar(x) && !VeiculoOcupado(x)) SetVehicleToRespawnEx(x); } case 34: for(new x; x != MAX_VEHICLES; x++) { if(IsADetranCar(x) && !VeiculoOcupado(x)) SetVehicleToRespawnEx(x); } case 35: for(new x; x != MAX_VEHICLES; x++) { if(IsAGATCar(x) && !VeiculoOcupado(x)) SetVehicleToRespawnEx(x); } case 36: for(new x; x != MAX_VEHICLES; x++) { if(IsAFTCar(x) && !VeiculoOcupado(x)) SetVehicleToRespawnEx(x); } case 99: for(new x; x != MAX_VEHICLES; x++) { if(x >= CarrosHelpers[0] && x <= CarrosHelpers[sizeof(CarrosHelpers)-1] && !VeiculoOcupado(x)) SetVehicleToRespawnEx(x); } /*case 100: for(new x; x != MAX_VEHICLES; x++) { if(x >= CarrosADM[0] && x <= CarrosADM[sizeof(CarrosADM)-1] && !VeiculoOcupado(x)) SetVehicleToRespawnEx(x); }*/ default: { return SendClientMessage(playerid, COLOR_GRAD1, "Organizacao invalida!"); } } new string[95]; format(string, sizeof string, "RESPAWN: O admin %s deu respawn nos carros da organizacao: [%s]", NomePlayer(playerid), GetOrgName(orgid)); SendClientMessageToAll(0xff6347FF, string); return 1; } CMD:respawnperto(playerid, params[]) { if(IsPlayerConnected(playerid)) { if(PlayerInfo[playerid][pAdmin] < 1338) { SendClientMessage(playerid, COR_GRAD1, "[CNF] Você não está autorizado a usar este comando !"); return 1; } if(admtrampando[playerid] < 1 && PlayerInfo[playerid][pAdmin] != 1340 && PlayerInfo[playerid][pAdmin] != 1342 && PlayerInfo[playerid][pAdmin] != 1341) { SendClientMessage(playerid, COR_GRAD1, "Você não está trabalhando! (/trabalhar)"); return 1; } new plyName[MAX_PLAYER_NAME]; GetPlayerName(playerid, plyName, MAX_PLAYER_NAME); new name[MAX_PLAYER_NAME]; GetPlayerName(playerid, name, sizeof(name)); for(new i; i != MAX_VEHICLES; ++i) { new dist = ChecarveiculoBPF(50, playerid, i); if(dist) { if(!VeiculoOcupado(i)) { SetVehicleToRespawn(i); } } } new string[96]; SendClientMessage(playerid, COR_GRAD1, "[CNF] Você deu respawn em carros perto de você!"); format(string, sizeof(string), "AdmAviso: %s deu respawn em todos os carros perto dele", name); ABroadCast(COR_AMARELO,string,1); } return 1; } CMD:kick(playerid, params[]) { new result[100]; if(sscanf(params, "us[100]", giveplayerid, result)) return SendClientMessage(playerid, COLOR_GRAD2, "USE: /kick [ID do Player] [motivo]"); new string[128]; if (PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pAdminTemp] >= 1 || PlayerInfo[playerid][pHelper] >=1) { if(IsPlayerConnected(giveplayerid)) { if(giveplayerid != INVALID_PLAYER_ID) { if(PlayerInfo[giveplayerid][pAdmin] >= 1340 && PlayerInfo[playerid][pAdmin] < 1341) return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao pode kickar este admin!"); if(strcmp(result,"rt",true) == 0) { result = "Relogio Travado."; } if(strcmp(result,"an", true) == 0) { result = "Anúncio Indevido."; } if(strcmp(result,"dv", true) == 0) { result = "Divulguer."; } format(string, sizeof(string), "[KICK]: %s foi kickado por %s Motivo: %s", NomePlayer(giveplayerid), NomePlayer(playerid), (result)); CNFLogs("kick", string); format(string, sizeof(string), "[KICK]: %s foi kickado por %s Motivo: %s", NomePlayer(giveplayerid), NomePlayer(playerid), (result)); SendClientMessageToAll(COLOR_LIGHTRED, string); TextDrawShowForPlayer(giveplayerid, TextKick); TextDrawShowForPlayer(giveplayerid, TextKick1); KickCNF(giveplayerid); PlayerPlaySound(giveplayerid, 31202, 0.0, 0.0, 0.0); return true; } } } else return SemPermCMD return true; } CMD:vencimentovip(playerid) { showVIPplayer(playerid); return 1; } stock SetarVIP(playerid, Nivel, dias) { new Str[264]; getdate(year, month, day); gettime(hour,minute,second); format(Str, sizeof(Str), Pasta_Contas, PlayerName(playerid)); // format(stringV, sizeof stringV, "» | Info-CNF | • {FFFFFF}Admin %s te deu %d mes(es) de {EE82EE}[%s]{FFFFFF} com R$%d!", PlayerName(playerid), dias, NomeVIP(Nivel),1200*dias); // SendClientMessage(playerid, 0xEE82EEFF, stringV); PlayerInfo[playerid][gPupgrade] += 3/dias; PlayerInfo[playerid][pLevel] += 3/dias; PlayerInfo[playerid][pVIP] = Nivel; GiveDinheiro(playerid, 1200*dias); ScoreLevel(playerid); // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // PlayerInfo[playerid][pDiasvip] = getdate()+(dias*31); PlayerInfo[playerid][pDiaVIP] = day+dias; PlayerInfo[playerid][pMesVIP] = month+dias; PlayerInfo[playerid][pAnoVIP] = year; // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // if(PlayerInfo[playerid][pMesVIP] > 12) { PlayerInfo[playerid][pMesVIP] -= 12; PlayerInfo[playerid][pAnoVIP]++; } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // new meses = dias / 30; if(meses < 1) meses = 1; new str[1000]; if(Nivel == 1) { GiveDinheiro(playerid, 100000 * meses); } if(Nivel == 2) { GiveDinheiro(playerid, 200000 * meses); } if(Nivel == 3) { GiveDinheiro(playerid, 500000 * meses); } if(Nivel == 4) { GiveDinheiro(playerid, 1000000 * meses); } OnPlayerSave(playerid); SaveObjects(playerid); return 1; } CMD:darvip(playerid, params[]) { new StrFile[128]; format(StrFile, sizeof(StrFile), Pasta_Contas, PlayerName(playerid)); if(PlayerInfo[playerid][pAdmin] >= 1340) { if (!gPlayerLogged[playerid]) return SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao esta logado !"); new para1,nivel,dias,stringV[128]; if(sscanf(params, "udd", para1, nivel,dias)) { SendClientMessage(playerid, COLOR_GRAD2, "USE: /darvip [ID do Player] [Nivel] [Meses]"); SendClientMessage(playerid, 0xFFFF00FF, "** {FFFFFF}INSTRUÇÕES {FFFF00}**"); SendClientMessage(playerid, 0xFFFFFFFF, "* NÍVEL 1 {FFFFFF}= VIP"); SendClientMessage(playerid, 0xFFFFFFFF, "* NÍVEL 2 {FFFFFF}= Super-VIP"); SendClientMessage(playerid, 0xFFFFFFFF, "* NÍVEL 3 {FFFFFF}= Socio-Reliquia"); SendClientMessage(playerid, 0xFFFFFFFF, "* NÍVEL 4 {FFFFFF}= Socio-Platina"); return 1; } if(dias > 3) return SendClientMessage(playerid,COLOR_GRAD1,"[ ERRO ] máximo de 3 meses"); if(IsPlayerConnected(para1)) { if(para1 != INVALID_PLAYER_ID) { new string[250]; if(dias < 1 || dias > 90)return SendClientMessage(playerid, COLOR_LIGHTBLUE, "[ERRO] So pode ser dado mais de um dia e menos que 90 dias"); format(string, sizeof string, "[INFO] Voce setou [%s] para %s por %d meses.", NomeVIP(nivel), NomePlayer(para1), dias); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); format(string, sizeof string, "[!] [ADMIN] %s ativou o [%s] em sua conta por %d meses,", NomePlayer(playerid), NomeVIP(nivel), dias); SendClientMessage(para1, 0xEE82EEFF, string); SetarVIP(para1, nivel, dias); OnPlayerSave(para1); SaveObjects(para1); getdate(year, month, day); gettime(hour,minute,second); format(stringV, sizeof(stringV), "|AdmCmd|: O admin %s deu %d dias de VIP para %s.",NomePlayer(playerid),dias,NomePlayer(para1)); CNFLogs("vips", stringV); } } } return 1; } CMD:setardiamante(playerid, params[]) { new StrFile[128]; format(StrFile, sizeof(StrFile), Pasta_Contas, PlayerName(playerid)); if(PlayerInfo[playerid][pAdmin] >= 1340) { if (!gPlayerLogged[playerid]) return SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao esta logado !"); new para1,dias,stringV[128]; if(sscanf(params, "ud", para1,dias)) return SendClientMessage(playerid, COLOR_GRAD2, "USE: /setardiamante [ID do Player] [Meses]"); if(IsPlayerConnected(para1)) { if(para1 != INVALID_PLAYER_ID) { new string[250]; if(dias > 3)return SendClientMessage(playerid, COLOR_LIGHTBLUE, "[ERRO] So pode ser dado mais de 3 meses"); format(string, sizeof string, "[INFO] Voce setou [%s] para Membro Diamante por %d mes(es).",NomePlayer(para1), dias); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); format(string, sizeof string, "[!] [ADMIN] %s ativou o [Membro Diamante] em sua conta por %d mes(es),", NomePlayer(para1), dias); SendClientMessage(para1, 0xEE82EEFF, string); PlayerInfo[para1][pDiamante] = 1; PlayerInfo[para1][pDiasD] = getdate()+(dias*31); PlayerInfo[para1][pDiaD] = day+dias; PlayerInfo[para1][pMesD] = month+dias; PlayerInfo[para1][pAnoD] = year; OnPlayerSave(para1); SaveObjects(para1); getdate(year, month, day); gettime(hour,minute,second); format(stringV, sizeof(stringV), "|AdmCmd|: O admin %s deu membro diamante para %s.",NomePlayer(playerid),dias,NomePlayer(para1)); CNFLogs("vips", stringV); MensagemFormatadaAll(0x00FFFFFF, "| MEMBRO DIAMANTE | %s é o mais novo MEMBRO DIAMANTE do servidor.",PlayerName(para1)); MensagemFormatadaAll(0xFF1493FF, "| MEMBRO DIAMANTE | %s é o mais novo MEMBRO DIAMANTE do servidor.",PlayerName(para1)); } } } return 1; } CMD:avytb(playerid, result[]) { if(PlayerInfo[playerid][pYoutuber] < 1) return SendClientMessage(playerid, COLOR_GREY, LEVELADM); if(isnull(result)) return SendClientMessage(playerid, COLOR_GRAD2, "USE: (/avytb) [texto]"); SendClientMessageToAll(COLOR_WHITE, "|________| Aviso do Youtuber |________|"); MensagemFormatadaAll(0xDC143CFF, "| YOUTUBER | {FFFFFF}[%s] %s.",PlayerName(playerid),result); return true; } CMD:ajudayoutuber(playerid) { if(PlayerInfo[playerid][pYoutuber] < 1) return SendClientMessage(playerid, COLOR_GREY, LEVELADM); new Dialog[1500],string[256]; format(string, sizeof(string), "{DC143C}» Youtuber:\n\n"); strcat(Dialog,string); format(string, sizeof(string), " {9c9c9c}Objetivo:{FFFFFF} Gravar vídeos e ajudar na divulgação do servidor\n"); strcat(Dialog,string); format(string, sizeof(string), " {9c9c9c}Como anunciar?{FFFFFF} Digite: /avytb para usar os anúncios de youtubers\n"); strcat(Dialog,string); ShowPlayerDialog(playerid,10571,DIALOG_STYLE_MSGBOX, "Ajuda Youtuber", Dialog, "Fechar", ""); return true; } CMD:daryt(playerid, params[]) { new StrFile[128], cargo, namec[30]; format(StrFile, sizeof(StrFile), Pasta_Contas, PlayerName(playerid)); if(PlayerInfo[playerid][pAdmin] >= 1340) { if (!gPlayerLogged[playerid]) return SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao esta logado !"); new para1; if(sscanf(params, "ud", para1, cargo)) { SCM(playerid, COLOR_GRAD2, "Use: /daryt [ID/Nick] [Cargo]"); SCM(playerid, COLOR_GRAD2, "Cargo 1: MiniYT, Cargo 2: YouTuber Retirar: coloque 0"); return 1; } new string[250]; if(IsPlayerConnected(para1)) { if(para1 != INVALID_PLAYER_ID) { if(cargo == 0) { format(string, 250, "[YT] %s retirou seu cargo de YouTuber.", PlayerName(playerid)); SCM(para1, COLOR_LIGHTBLUE, string); format(string, 250, "[YT] Você retirou o cargo de youtuber de: %s.", PlayerName(para1)); SCM(playerid, COLOR_LIGHTBLUE, string); PlayerInfo[para1][pYoutuber] = 0; return 1; } if(cargo == 1) namec = "MiniYT"; if(cargo == 2) namec = "YouTuber"; format(string, 250, "[YT] Você foi promovido a nivel %d(%s) de youtuber por: %s!", cargo, namec, PlayerName(playerid)); SCM(para1, COLOR_LIGHTBLUE, string); format(string, 250, "[YT] Você promoveu %s a nivel %d(%s) de youtuber!", PlayerName(para1), cargo, namec); SCM(para1, COLOR_LIGHTBLUE, string); PlayerInfo[para1][pYoutuber] = cargo; PlayerInfo[para1][pBonusYT] = getdate(); OnPlayerSave(para1); SaveObjects(para1); } } } return 1; } CMD:blindarperto(playerid, params[]){ if(IsPlayerConnected(playerid)){ if(PlayerInfo[playerid][pAdmin] >= 1338){ if(admtrampando[playerid] < 1 && PlayerInfo[playerid][pAdmin] < 1340) return SendClientMessage(playerid, COR_GRAD1, "Você não está trabalhando! (/trabalhar)"); for(new b; b != MAX_VEHICLES; ++b){ new dist = ChecarveiculoBPF(50, playerid, b); if(dist){ Cblindado[b] = 1; Blindagem[b] = 100; } } SendClientMessage(playerid, COR_GRAD1, "[CNF] Você blindou todos os carros proximos."); format(strbrazz, 256, "AdmAviso: %s blindou todos os carros proximos a ele!", PlayerName(playerid)); ABroadCast(COR_AMARELO,strbrazz,1); } else return SemPermCMD } return 1; } CMD:retirardiamante(playerid, params[]) { new result[64], string[128]; new StrFile[128]; format(StrFile, sizeof(StrFile), Pasta_Contas, PlayerName(playerid)); if(sscanf(params, "us[64]",giveplayerid, result)) return SendClientMessage(playerid, COLOR_GRAD2, "USE: /retirardiamante [ID do Player] [Motivo]"); if(PlayerInfo[playerid][pAdmin] >= 1340) return SendClientMessage(playerid, COLOR_GRAD1, LEVELADM); if(giveplayerid != INVALID_PLAYER_ID) { if (PlayerInfo[giveplayerid][pDiamante] == 0) return SendClientMessage(playerid, COLOR_GRAD1," O Jogador nao e Membro Diamante!"); new strsave1[64]; GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer)); format(strsave1, sizeof strsave1, Pasta_Contas, giveplayer); GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof string, "Voce retirou o Membro Diamante de %s, motivo: %s", giveplayer, (result)); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); format(string, sizeof string, "O admin %s retirou seu Membro Diamante, motivo: %s", sendername, (result)); SendClientMessage(giveplayerid, COLOR_LIGHTBLUE, string); getdate(year, month, day); gettime(hour,minute,second); format(string, sizeof(string), "AdmCmd: O admin %s retirou o Membro Diamante de %s.",sendername,giveplayer); CNFLogs("vips", string); PlayerInfo[giveplayerid][pDiamante] = 0; PlayerInfo[giveplayerid][pDiasD] = 0; DOF2_SaveFile(); return 1; } return true; } CMD:retirarvip(playerid, params[]) { new result[64], string[128]; new StrFile[128]; format(StrFile, sizeof(StrFile), Pasta_Contas, PlayerName(playerid)); if(sscanf(params, "us[64]",giveplayerid, result)) { SendClientMessage(playerid, COLOR_GRAD2, "USE: /retirarvip [ID do Player] [Motivo]"); return true; } if (PlayerInfo[playerid][pAdmin] < 1342) { SendClientMessage(playerid, COLOR_GRAD1, LEVELADM); return true; } if(giveplayerid != INVALID_PLAYER_ID) { if (PlayerInfo[giveplayerid][pVIP] == 0) { SendClientMessage(playerid, COLOR_GRAD1," O Jogador nao e VIP!"); return true; } new strsave1[64]; GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer)); format(strsave1, sizeof strsave1, Pasta_Contas, giveplayer); GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof string, "Voce retirou o VIP de %s, motivo: %s", giveplayer, (result)); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); format(string, sizeof string, "O admin %s retirou seu VIP, motivo: %s", sendername, (result)); SendClientMessage(giveplayerid, COLOR_LIGHTBLUE, string); getdate(year, month, day); gettime(hour,minute,second); format(string, sizeof(string), "AdmCmd: O admin %s retirou o VIP de %s.",sendername,giveplayer); CNFLogs("vips", string); PlayerInfo[giveplayerid][pVIP] = 0; PlayerInfo[giveplayerid][pDiasvip] = 0; PlayerInfo[giveplayerid][pDiaVIP] = 0; PlayerInfo[giveplayerid][pMesVIP] = 0; PlayerInfo[giveplayerid][pAnoVIP] = 0; DOF2_SetInt(strsave1, "DiasVIP", 0); DOF2_SetInt(strsave1, "MesVIP", 0); DOF2_SetInt(strsave1, "AnoVIP", 0); DOF2_SetInt(strsave1, "diasvip", 0); DOF2_SaveFile(); CheckBeneficios(giveplayerid); return 1; } return true; } static stock NomeVIP(nivel) { new name[36]; switch(nivel) { case 1:name = "VIP"; case 2:name = "Super-VIP"; case 3:name = "Socio-Reliquia"; case 4:name = "Socio Platina"; } return name; } CMD:v(playerid, result[]) { new StrFile[128]; format(StrFile, sizeof(StrFile), Pasta_Contas, PlayerName(playerid)); if(PlayerInfo[playerid][pMuted] == 1) return SendClientMessage(playerid, 0xA92BF6F6, "Voce nao pode falar, pois foi calado"); if(PlayerInfo[playerid][pVIP] >= 1) { if(isnull(result)) return SendClientMessage(playerid, COLOR_GRAD2, "USE: (/v)ip [VIP Chat]"); GetPlayerName(playerid, sendername, sizeof(sendername)); if(cVIPc[playerid] == 1) return SendClientMessage(playerid, COLOR_GRAD1, "Seu chat VIP esta desligado! USE: /desligarchat"); if(AntiDivulguer(playerid, result))return 1; if(gettime() < GetPVarInt(playerid, #VarFlood3)) return SendClientMessage(playerid, COLOR_GRAD1, #[ERRO] Impossivel usar este comando com tanta frequencia.); SetPVarInt(playerid, #VarFlood3, gettime()+2); new string[128]; if(PlayerInfo[playerid][pVIP] == 1) { format(string, sizeof(string), "** VIP %s: %s", PlayerName(playerid), result); SendVIPMessage(0xFFCCFFAA,string); } else if(PlayerInfo[playerid][pVIP] == 2) { format(string, sizeof(string), "** Super-VIP %s: %s", PlayerName(playerid), result); SendVIPMessage(0xFFCCFFAA,string); } else if(PlayerInfo[playerid][pVIP] == 3) { format(string, sizeof(string), "** Socio Reliquia %s: %s", PlayerName(playerid), result); SendVIPMessage(0xFFCCFFAA,string); } else if(PlayerInfo[playerid][pVIP] == 4) { format(string, sizeof(string), "** Socio Platina %s: %s", PlayerName(playerid), result); SendVIPMessage(0xFFCCFFAA,string); } printf("VIP %s: %s", PlayerName(playerid), result); return true; } return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao e um membro VIP."); } CMD:s(playerid, result[]) { new StrFile[128]; format(StrFile, sizeof(StrFile), Pasta_Contas, PlayerName(playerid)); if(PlayerInfo[playerid][pMuted] == 1) return SendClientMessage(playerid, 0xA92BF6F6, "Voce nao pode falar, pois foi calado"); if(PlayerInfo[playerid][pVIP] >= 3) { if(isnull(result)) return SendClientMessage(playerid, COLOR_GRAD2, "USE: /s(ocio) [texto]"); new string[128]; if(cVIPc[playerid] == 1) return SendClientMessage(playerid, COLOR_GRAD1, " Seu chat VIP esta desligado! USE: /desligarchat"); if(AntiDivulguer(playerid, result))return 1; if(gettime() < GetPVarInt(playerid, #VarFlood3)) return SendClientMessage(playerid, COLOR_GRAD1, #[ERRO] Impossivel usar este comando com tanta frequencia.); SetPVarInt(playerid, #VarFlood3, gettime()+2); if(PlayerInfo[playerid][pVIP] == 3){ format(string, sizeof(string), "[{bb52fe}Socio-Reliquia{33FF00}] %s: %s", PlayerName(playerid), result); SendVIPMessage(0x33FF00AA,string); } else if(PlayerInfo[playerid][pVIP] == 4){ format(string, sizeof(string), "[{AEFFD1}Socio-Platina{33FF00}] %s: %s", PlayerName(playerid), result); SendVIPMessage(0x33FF00AA,string); } printf("Socio %s: %s", PlayerName(playerid), result); return true; } return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao e um Socio."); } CMD:duvida(playerid, result[]) { if(isnull(result)) return SendClientMessage(playerid, COLOR_GRAD2, "USE: /duvida [texto]"); new string[128]; if(gettime() < GetPVarInt(playerid, #VarFlood2)) return SendClientMessage(playerid, COLOR_GRAD1, #[ERRO] Impossivel usar este comando com tanta frequencia.); SetPVarInt(playerid, #VarFlood2, gettime()+5); if(PlayerInfo[playerid][pVIP] == 1) { format(string, sizeof(string), "Dúvida VIP de %s(ID: %d): %s ", PlayerName(playerid), playerid, (result)); ChatHelperAdmin(TEAM_BLUE_COLOR,string); SendClientMessage(playerid, TEAM_BLUE_COLOR, "Sua dúvida foi enviada aos Helpers.."); } else if(PlayerInfo[playerid][pVIP] == 2) { format(string, sizeof(string), "Dúvida SUPER-VIP de %s(ID: %d): %s ",PlayerName(playerid), playerid, (result)); ChatHelperAdmin(TEAM_BLUE_COLOR,string); SendClientMessage(playerid, TEAM_BLUE_COLOR, "Sua dúvida foi enviada aos Helpers.."); } else if(PlayerInfo[playerid][pVIP] == 3) { format(string, sizeof(string), "Dúvida Socio Reliquia de %s(ID: %d): %s ",PlayerName(playerid), playerid, (result)); ChatHelperAdmin(TEAM_BLUE_COLOR,string); SendClientMessage(playerid, TEAM_BLUE_COLOR, "Sua dúvida foi enviada aos Helpers.."); } else if(PlayerInfo[playerid][pVIP] == 4) { format(string, sizeof(string), "Dúvida Socio Platina de %s(ID: %d): %s ", PlayerName(playerid), playerid, (result)); ChatHelperAdmin(TEAM_BLUE_COLOR,string); SendClientMessage(playerid, TEAM_BLUE_COLOR, "Sua dúvida foi enviada aos Helpers.."); } else { format(string, sizeof(string), "Dúvida de %s(ID: %d): %s ", PlayerName(playerid), playerid, (result)); ChatHelperAdmin(COLOR_YELLOW,string); SendClientMessage(playerid, COLOR_YELLOW, "Sua dúvida foi enviada aos Helpers.."); } CNFLogs("duvida", string); return true; } CMD:xenon(playerid, params[]) { new StrFile[128]; format(StrFile, sizeof(StrFile), Pasta_Contas, PlayerName(playerid)); if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid,COLOR_GREY,"Voce precisa estar em um veiculo!"); if(PlayerInfo[playerid][pVIP] < 1) return SendClientMessage(playerid, COLOR_GRAD1, "Somente VIP's podem usar Xenon!"); if(ProibidoXenon(playerid,GetPlayerVehicleID(playerid))) return SendClientMessage(playerid, COLOR_GRAD1,"Este veiculo nao suporta Xenon!"); new vehicleid; vehicleid = GetPlayerVehicleID(playerid); if(GetPVarInt(playerid,"Xenon") == 1) { SetPVarInt(playerid,"Xenon",0); SendClientMessage(playerid, 0xFFFFFFAA, "Xenon {E31919}Desativado!"); RemoverXenon(playerid); } else if(GetPVarInt(playerid,"Objective") == 0) { new t_xenon[128]; if(sscanf(params, "s[128]", t_xenon)) { SendClientMessage(playerid, COLOR_WHITE, "USE: /xenon [cor]"); SendClientMessage(playerid, COLOR_GREY, "Cores Disponiveis: azul,verde,vermelho"); return true; } SetPVarInt(playerid,"Xenon",1); if(strcmp(t_xenon,"azul",true) == 0) { SendClientMessage(playerid, 0xFFFFFFAA, "Xenon {0000FF}Azul {2F991A}Ativado!"); ColocarXenon(playerid, vehicleid, 1); } else if(strcmp(t_xenon,"verde",true) == 0) { SendClientMessage(playerid, 0xFFFFFFAA, "Xenon {00FF1E}Verde {2F991A}Ativado!"); ColocarXenon(playerid, vehicleid, 2); } else if(strcmp(t_xenon,"vermelho",true) == 0) { SendClientMessage(playerid, 0xFFFFFFAA, "Xenon {00FFFF}Vermelha {2F991A}Ativada!"); ColocarXenon(playerid, vehicleid, 3); } else { SendClientMessage(playerid, 0xFFFFFFAA, "Cor Invalida!"); SetPVarInt(playerid,"Xenon",0); } } return true; } CMD:afk(playerid, params[]) // CREATED BY MALUKO { if(sscanf(params, "s[128]", motivoafk)) return SendClientMessage(playerid, COLOR_GRAD2,"USE: /afk [MOTIVO]!"); if(PlayerInfo[playerid][pAdmin] >= 1) { if(AFK[playerid] == 0) { new string[128]; format(string, sizeof(string), "O admin %s agora esta ausente pelo motivo: %s", NomePlayer(playerid), motivoafk); SendClientMessageToAll(0xC2CBD1FF, string); SendClientMessage(playerid, 0xC2CBD1FF, "x Voce entrou no modo AFK! Para Sair Use: {FFFFFF}/sairafk"); format(string, sizeof(string), "O admin %s agora esta ausente pelo motivo: %s", NomePlayer(playerid), motivoafk); CNFLogs("AFKAdminEHelper", string); AFK[playerid] = 1; } } if(PlayerInfo[playerid][pVIP] >= 1) { AFK[playerid] = 1; } return 1; } CMD:sairorg(playerid, params[]) { if(gettime() < GetPVarInt(playerid, "VarDano")) return SendClientMessage(playerid, COLOR_GRAD1,"Voce so podera sair de alguma organizacao em 1 minuto apos tomar dano de alguem !"); if(GetPlayerOrg(playerid) < 1) return SendClientMessage(playerid, COLOR_GRAD2, "Voce nao esta em nenhuma organizacao."); DemitirInfoOrg(PlayerName(playerid)); PlayerInfo[playerid][pMembro] = 0; PlayerInfo[playerid][pLider] = 0; PlayerInfo[playerid][pCargo] = 0; ConnectedToPC[playerid] = 0; OnDuty[playerid] = 0; EmpregoDuty[playerid] = 0; RemoveallRoadandSpikes(playerid); if(PlayerInfo[playerid][pSex] == 1) { PlayerInfo[playerid][pSkin] = 289; } else { PlayerInfo[playerid][pSkin] = 150; } MedicBill[playerid] = 0; MedicBill[playerid] = 0; SetPlayerToTeamColor(playerid); SpawnPlayer(playerid); return true; } CMD:trocarcasa(playerid, params[]) { new idcasa; new House = PlayerInfo[playerid][pPHousekey]; GetPlayerName(playerid, playername, sizeof(playername)); if (House != 500 && strcmp(playername, HouseInfo[PlayerInfo[playerid][pPHousekey]][hOwner], true) == 0) { if(PlayerInfo[playerid][pVIP] < 1) return SendClientMessage(playerid, COLOR_GRAD1, "Somente VIP's podem trocar interior das casas!"); if(HouseFed[playerid] != 500) return SendClientMessage(playerid,COLOR_GREY,"Voce nao pode usar esse comando dentro de uma casa"); if(GetPlayerMoney(playerid) < 20000) return SendClientMessage(playerid, COLOR_GRAD5, "Voce nao tem dinheiro suficiente R$20000"); if(sscanf(params, "d", idcasa)) return SendClientMessage(playerid,COLOR_GREY,"USE: /trocarcasa [1 a 34]"); switch (idcasa) { case 1: { HouseInfo[House][hExitx] = 2467.4951; HouseInfo[House][hExity] = -1698.4037; HouseInfo[House][hExitz] = 1013.5078; HouseInfo[House][hInt] = 2; SendClientMessage(playerid, COLOR_LIGHTBLUE, "Interior setado para id 1."); } case 2: { HouseInfo[House][hExitx] = 318.2573; HouseInfo[House][hExity] = 1115.3826; HouseInfo[House][hExitz] = 1083.8828; HouseInfo[House][hInt] = 5; SendClientMessage(playerid, COLOR_LIGHTBLUE, "Interior setado para id 2."); } case 3: { HouseInfo[House][hExitx] = 2324.5151; HouseInfo[House][hExity] = -1148.6710; HouseInfo[House][hExitz] = 1050.7101; HouseInfo[House][hInt] = 12; SendClientMessage(playerid, COLOR_LIGHTBLUE, "Interior setado para id 3."); } case 4: { HouseInfo[House][hExitx] = 235.3094; HouseInfo[House][hExity] = 1186.9187; HouseInfo[House][hExitz] = 1080.2578; HouseInfo[House][hInt] = 3; SendClientMessage(playerid, COLOR_LIGHTBLUE, "Interior setado para id 4."); } case 5: { HouseInfo[House][hExitx] = 225.756989; HouseInfo[House][hExity] = 1240.000000; HouseInfo[House][hExitz] = 1082.149902; HouseInfo[House][hInt] = 2; SendClientMessage(playerid, COLOR_LIGHTBLUE, "Interior setado para id 5."); } case 6: { HouseInfo[House][hExitx] = 223.043991; HouseInfo[House][hExity] = 1289.259888; HouseInfo[House][hExitz] = 1082.199951; HouseInfo[House][hInt] = 1; SendClientMessage(playerid, COLOR_LIGHTBLUE, "Interior setado para id 6."); } case 7: { HouseInfo[House][hExitx] = 225.630997; HouseInfo[House][hExity] = 1022.479980; HouseInfo[House][hExitz] = 1084.069946; HouseInfo[House][hInt] = 7; SendClientMessage(playerid, COLOR_LIGHTBLUE, "Interior setado para id 7."); } case 8: { HouseInfo[House][hExitx] = 328.0475; HouseInfo[House][hExity] = 1478.4475; HouseInfo[House][hExitz] = 1084.4375; HouseInfo[House][hInt] = 15; SendClientMessage(playerid, COLOR_LIGHTBLUE, "Interior setado para id 8."); } case 9: { HouseInfo[House][hExitx] = 234.0843; HouseInfo[House][hExity] = 1064.6896; HouseInfo[House][hExitz] = 1084.2108; HouseInfo[House][hInt] = 6; SendClientMessage(playerid, COLOR_LIGHTBLUE, "Interior setado para id 9."); } case 10: { HouseInfo[House][hExitx] = 260.4075; HouseInfo[House][hExity] = 1238.6646; HouseInfo[House][hExitz] = 1084.2578; HouseInfo[House][hInt] = 9; SendClientMessage(playerid, COLOR_LIGHTBLUE, "Interior setado para id 10."); } case 11: { HouseInfo[House][hExitx] = 27.1000; HouseInfo[House][hExity] = 1341.1000; HouseInfo[House][hExitz] = 1084.3750; HouseInfo[House][hInt] = 10; SendClientMessage(playerid, COLOR_LIGHTBLUE, "Interior setado para id 11."); } case 12: { HouseInfo[House][hExitx] = 140.4000; HouseInfo[House][hExity] = 1370.3000; HouseInfo[House][hExitz] = 1083.8656; HouseInfo[House][hInt] = 5; SendClientMessage(playerid, COLOR_LIGHTBLUE, "Interior setado para id 12."); } case 13: { HouseInfo[House][hExitx] = 83.3000; HouseInfo[House][hExity] = 1324.7000; HouseInfo[House][hExitz] = 1083.8594; HouseInfo[House][hInt] = 9; SendClientMessage(playerid, COLOR_LIGHTBLUE, "Interior setado para id 13."); } case 14: { HouseInfo[House][hExitx] = 267.1422; HouseInfo[House][hExity] = 304.9236; HouseInfo[House][hExitz] = 999.1484; HouseInfo[House][hInt] = 2; SendClientMessage(playerid, COLOR_LIGHTBLUE, "Interior setado para id 14."); } case 15: { HouseInfo[House][hExitx] = 301.3582; HouseInfo[House][hExity] = 306.2504; HouseInfo[House][hExitz] = 1003.5391; HouseInfo[House][hInt] = 4; SendClientMessage(playerid, COLOR_LIGHTBLUE, "Interior setado para id 15."); } case 16: { HouseInfo[House][hExitx] = 385.7908; HouseInfo[House][hExity] = 1471.7882; HouseInfo[House][hExitz] = 1080.1875; HouseInfo[House][hInt] = 15; SendClientMessage(playerid, COLOR_LIGHTBLUE, "Interior setado para id 16."); } case 17: { HouseInfo[House][hExitx] = 261.0813; HouseInfo[House][hExity] = 1286.1119; HouseInfo[House][hExitz] = 1080.2578; HouseInfo[House][hInt] = 4; SendClientMessage(playerid, COLOR_LIGHTBLUE, "Interior setado para id 17."); } case 18: { HouseInfo[House][hExitx] = 745.3000; HouseInfo[House][hExity] = 1437.7000; HouseInfo[House][hExitz] = 1102.7031; HouseInfo[House][hInt] = 6; SendClientMessage(playerid, COLOR_LIGHTBLUE, "Interior setado para id 18."); } case 19: { HouseInfo[House][hExitx] = 376.3000; HouseInfo[House][hExity] = 1417.2000; HouseInfo[House][hExitz] = 1081.3281; HouseInfo[House][hInt] = 15; SendClientMessage(playerid, COLOR_LIGHTBLUE, "Interior setado para id 19."); } case 20: { HouseInfo[House][hExitx] = 23.1114; HouseInfo[House][hExity] = 1405.1415; HouseInfo[House][hExitz] = 1084.4297; HouseInfo[House][hInt] = 5; SendClientMessage(playerid, COLOR_LIGHTBLUE, "Interior setado para id 20."); } case 21: { HouseInfo[House][hExitx] = 447.0000; HouseInfo[House][hExity] = 1400.3000; HouseInfo[House][hExitz] = 1084.3047; HouseInfo[House][hInt] = 2; SendClientMessage(playerid, COLOR_LIGHTBLUE, "Interior setado para id 21."); } case 22: { HouseInfo[House][hExitx] = 327.9000; HouseInfo[House][hExity] = 1478.3000; HouseInfo[House][hExitz] = 1084.4375; HouseInfo[House][hInt] = 15; SendClientMessage(playerid, COLOR_LIGHTBLUE, "Interior setado para id 22."); } case 23: { HouseInfo[House][hExitx] = 295.4000; HouseInfo[House][hExity] = 1473.2000; HouseInfo[House][hExitz] = 1080.2578; HouseInfo[House][hInt] = 15; SendClientMessage(playerid, COLOR_LIGHTBLUE, "Interior setado para id 23."); } case 24: { HouseInfo[House][hExitx] = 231.4000; HouseInfo[House][hExity] = 1114.1000; HouseInfo[House][hExitz] = 1080.9922; HouseInfo[House][hInt] = 5; SendClientMessage(playerid, COLOR_LIGHTBLUE, "Interior setado para id 24."); } case 25: { HouseInfo[House][hExitx] = -69.1564; HouseInfo[House][hExity] = 1354.8154; HouseInfo[House][hExitz] = 1080.2109; HouseInfo[House][hInt] = 6; SendClientMessage(playerid, COLOR_LIGHTBLUE, "Interior setado para id 25."); } case 26: { HouseInfo[House][hExitx] = 2261.2698; HouseInfo[House][hExity] = -1135.8125; HouseInfo[House][hExitz] = 1050.6328; HouseInfo[House][hInt] = 10; SendClientMessage(playerid, COLOR_LIGHTBLUE, "Interior setado para id 26."); } case 27: { HouseInfo[House][hExitx] = 2216.7585; HouseInfo[House][hExity] = -1076.2537; HouseInfo[House][hExitz] = 1050.4844; HouseInfo[House][hInt] = 1; SendClientMessage(playerid, COLOR_LIGHTBLUE, "Interior setado para id 27."); } case 28: { HouseInfo[House][hExitx] = -262.2089; HouseInfo[House][hExity] = 1456.5781; HouseInfo[House][hExitz] = 1084.3672; HouseInfo[House][hInt] = 4; SendClientMessage(playerid, COLOR_LIGHTBLUE, "Interior setado para id 28."); } case 29: { HouseInfo[House][hExitx] = 222.0102; HouseInfo[House][hExity] = 1141.4846; HouseInfo[House][hExitz] = 1082.6094; HouseInfo[House][hInt] = 4; SendClientMessage(playerid, COLOR_LIGHTBLUE, "Interior setado para id 29."); } case 30: { HouseInfo[House][hExitx] = 2317.7776; HouseInfo[House][hExity] = -1026.1787; HouseInfo[House][hExitz] = 1050.2178; HouseInfo[House][hInt] = 9; SendClientMessage(playerid, COLOR_LIGHTBLUE, "Interior setado para id 30."); } case 31: { HouseInfo[House][hExitx] = 2233.6880; HouseInfo[House][hExity] = -1114.1151; HouseInfo[House][hExitz] = 1050.8828; HouseInfo[House][hInt] = 5; SendClientMessage(playerid, COLOR_LIGHTBLUE, "Interior setado para id 31."); } case 32: { HouseInfo[House][hExitx] = 244.3690; HouseInfo[House][hExity] = 305.0249; HouseInfo[House][hExitz] = 999.1484; HouseInfo[House][hInt] = 1; SendClientMessage(playerid, COLOR_LIGHTBLUE, "Interior setado para id 32."); } case 33: { HouseInfo[House][hExitx] = -284.5827; HouseInfo[House][hExity] = 1471.0902; HouseInfo[House][hExitz] = 1084.3750; HouseInfo[House][hInt] = 15; SendClientMessage(playerid, COLOR_LIGHTBLUE, "Interior setado para id 33."); } case 34: { HouseInfo[House][hExitx] = -42.5237; HouseInfo[House][hExity] = 1411.4070; HouseInfo[House][hExitz] = 1084.4297; HouseInfo[House][hInt] = 8; SendClientMessage(playerid, COLOR_LIGHTBLUE, "Interior setado para id 34."); } } //new gstring[128]; GiveDinheiro(playerid,-20000); SBizzInfo[13][sbTill] += 20000; ExtortionSBiz(13, 1000000); format(gstring, sizeof(gstring), "• {FFFFFF}Empresa que recebeu pela sua compra: {00BFFF}%s", SBizzInfo[13][sbMessage]); SendClientMessage(playerid, 0x00BFFFAA, gstring); PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); SaveCasa(House); Atualizar3Dtexts(); return true; } else { SendClientMessage(playerid, COLOR_GRAD2, "Voce nao tem uma casa"); return true; } } CMD:carrofazenda(playerid, params[]) { if(IsPlayerConnected(playerid)) { new House = PlayerInfo[playerid][pPFazkey]; GetPlayerName(playerid, playername, sizeof(playername)); if (House != 255 && strcmp(playername, FBizzInfo[House][fbOwner], true) == 0) { new carid,gunid[16],string[256]; if(sscanf(params, "ds[25]", carid, gunid)) { format(string, sizeof(string), "USE: /carrofazenda [1-2] [carname]"); SendClientMessage(playerid, COLOR_LIGHTBLUE,"_______________________________________"); SendClientMessage(playerid, COLOR_WHITE,"*** Loja de Carros Custo: R$100.000 ***"); SendClientMessage(playerid, COLOR_GRAD2,string); if(PlayerInfo[playerid][pLevel] >= 3) { SendClientMessage(playerid, 0xFFFF66F, "Carros: infernus sultan uranus jester phoenix"); SendClientMessage(playerid, 0x33FF00FF, "Motos: sanchez nrg500 "); } SendClientMessage(playerid, COLOR_LIGHTBLUE,"_______________________________________"); return 1; } if(carid < 1 || carid > 2) return SendClientMessage(playerid, COLOR_GREY, "Escolha entre carro [1] ou carro [2]"); if (GetPlayerMoney(playerid) > 100000) { if(strcmp(gunid, "nrg500", true, strlen(gunid)) == 0) { if(PlayerInfo[playerid][pVIP] < 1) return SendClientMessage(playerid, COLOR_GREY, "Voce nao e membro vip !"); SendClientMessage(playerid, COLOR_GRAD6, "Atualizacao: Voce comprou o(a) NRG-500"); if(carid == 1) FBizzInfo[House][fVec1] = 522; else FBizzInfo[House][fVec2] = 522; } if(strcmp(gunid, "sanchez", true, strlen(gunid)) == 0) { if(PlayerInfo[playerid][pVIP] < 1) return SendClientMessage(playerid, COLOR_GREY, "Voce nao e membro vip !"); SendClientMessage(playerid, COLOR_GRAD6, "Atualizacao: Voce comprou o(a) Sanchez"); if(carid == 1) FBizzInfo[House][fVec1] = 468; else FBizzInfo[House][fVec2] = 468; } else if(strcmp(gunid, "infernus", true, strlen(gunid)) == 0) { if(PlayerInfo[playerid][pVIP] < 1) return SendClientMessage(playerid, COLOR_GREY, "Voce nao e membro vip !"); SendClientMessage(playerid, COLOR_GRAD6, "Atualizacao: Voce comprou o(a) Sultan"); if(carid == 1) FBizzInfo[House][fVec1] = 411; else FBizzInfo[House][fVec2] = 411; } else if(strcmp(gunid, "phoenix", true, strlen(gunid)) == 0) { if(PlayerInfo[playerid][pVIP] < 1) return SendClientMessage(playerid, COLOR_GREY, "Voce nao e membro vip !"); SendClientMessage(playerid, COLOR_GRAD6, "Atualizacao: Voce comprou o(a) Phoenix"); if(carid == 1) FBizzInfo[House][fVec1] = 603; else FBizzInfo[House][fVec2] = 603; } else if(strcmp(gunid, "jester", true, strlen(gunid)) == 0) { SendClientMessage(playerid, COLOR_GRAD6, "Atualizacao: Voce comprou o(a) Jester"); if(carid == 1) FBizzInfo[House][fVec1] = 559; else FBizzInfo[House][fVec2] = 559; } else if(strcmp(gunid, "sultan", true, strlen(gunid)) == 0) { SendClientMessage(playerid, COLOR_GRAD6, "Atualizacao: Voce comprou o(a) Sultan"); if(carid == 1) FBizzInfo[House][fVec1] = 560; else FBizzInfo[House][fVec2] = 560; } else if(strcmp(gunid, "uranus", true, strlen(gunid)) == 0) { SendClientMessage(playerid, COLOR_GRAD6, "Atualizacao: Voce comprou o(a) Uranus"); if(carid == 1) FBizzInfo[House][fVec1] = 558; else FBizzInfo[House][fVec2] = 558; } else { SendClientMessage(playerid, COLOR_GRAD6, " Carro nao existente ou nao esta Disponivel para a compra."); return 1; } SendClientMessage(playerid, COLOR_GRAD6, "Espere um GMX ou 24hrs para que ele chegue -R$100.000"); SalvarFEmpresa(House); Atualizar3Dtexts(); GiveDinheiro(playerid,-100000); if(SBizzInfo[5][sbProducts] > 0) { SBizzInfo[5][sbTill] += 100000; ExtortionSBiz(5, 50000); SBizzInfo[5][sbProducts]--; } PlayerPlaySound(giveplayerid, 1052, 0.0, 0.0, 0.0); } else { SendClientMessage(playerid, COLOR_GRAD2, "Voce nao tem (R$100.000)"); return 1; } } else { SendClientMessage(playerid, COLOR_GRAD2, "Voce nao tem uma Fazenda."); return 1; } } return 1; } CMD:anpersonalizado(playerid) { if(PlayerInfo[playerid][pMuted] == 1) return SendClientMessage(playerid, 0xA92BF6F6, "Voce nao pode falar, pois foi calado"); if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid, COLOR_GREY, "Voce Nao Esta Logado !"); if (PlayerInfo[playerid][pAnGov] > 0) { new string[128]; format(string, sizeof(string), "Voce esta proibido de mandar anúncios por %s minutos.", ConvertTime(PlayerInfo[playerid][pAnGov])); SendClientMessage(playerid, COLOR_LIGHTRED, string); return 1; } new string[500]; if(gettime() < GetPVarInt(playerid, #VarFloodanuncio)) return SendClientMessage(playerid,COLOR_YELLOW,"Voce esta bloqueado aguarde 60 minutos."); if(TemAnuncioPersonalizado[playerid] == 0 && PlayerInfo[playerid][pVIP] < 1) return SendClientMessage(playerid, -1, "Erro: Voce nao tem o item '{FFA54F}Anúncio personalizado{FFFFFF}' ou nao e um VIP."); strcat(string,"{FFFF00} {FFFFFF} Anúncio Personalizado\n"); ShowPlayerDialog(playerid, 105, DIALOG_STYLE_LIST, "Anúncio Personalizado", string, "Escolher", "Sair"); return 1; } CMD:repararvip(playerid, params[]) { new StrFile[128]; format(StrFile, sizeof(StrFile), Pasta_Contas, PlayerName(playerid)); if(PlayerInfo[playerid][pVIP] < 3) return SendClientMessage(playerid, COLOR_LIGHTRED, "Voce nao e Jogador Socio"); if(gettime() < temporeparo) return SendClientMessage(playerid, COLOR_GRAD1, "Voce deve esperar 60 segundos para reparar o veiculo novamente!"); new counter = 0; new result; new plyName[MAX_PLAYER_NAME]; GetPlayerName(playerid, plyName, MAX_PLAYER_NAME); for(new i; i != MAX_VEHICLES; i++) { new dist = ChecarveiculoBPF(5.0, playerid, i); if(dist) { result = i; counter++; } } switch(counter) { case 0: { SendClientMessage(playerid, COLOR_GREY, " Nao ha nenhum carro nesse raio!"); } case 1: { //new gstring[128]; format(gstring, sizeof(gstring), "* Socio %s reparou seu veiculo.", PlayerName(playerid)); SendClientMessageInRange(20.0, playerid, gstring, 0x75ebc3AA,0x75ebc3AA,0x75ebc3AA,0x75ebc3AA,0x75ebc3AA); RepairVehicleWithBomber(result); temporeparo = gettime()+60; } default: { SendClientMessage(playerid, COLOR_GREY, " Foram encontrados mais de um carro nesse raio"); } } return true; } CMD:abastecervip(playerid, params[]) { new StrFile[128]; format(StrFile, sizeof(StrFile), Pasta_Contas, PlayerName(playerid)); if(PlayerInfo[playerid][pVIP] < 3) return SendClientMessage(playerid, COLOR_LIGHTRED, "[ERRO] Voce nao e jogador socio"); if(gettime() < tempoabastecer) return SendClientMessage(playerid, COLOR_GRAD1, "Voce deve esperar 60 segundos para abastecer o veiculo novamente!"); new Float:cX, Float:cY, Float:cZ; for(new i = 0; i < MAX_VEHICLES; i++) { GetVehiclePos(i, cX, cY, cZ); if (PlayerToPoint(5.0, playerid,cX, cY, cZ)) { new string[128]; Gas[i] = 100; format(string, sizeof(string), "* Socio %s abasteceu seu veiculo.", PlayerName(playerid)); SendClientMessageInRange(20.0, playerid, string, 0x75ebc3AA,0x75ebc3AA,0x75ebc3AA,0x75ebc3AA,0x75ebc3AA); tempoabastecer = gettime()+60; } } return true; } CMD:cadeia(playerid, params[]) { if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid, 0xff6347FF, "* Voce nao esta conectado."); new tempo, result[64]; if(PlayerInfo[playerid][pAdmin] < 1 && PlayerInfo[playerid][pAdminTemp] < 1 && PlayerInfo[playerid][pHelper] < 1) return SendClientMessage(playerid, COLOR_GREY, "Voce nao esta autorizado a usar este comando!"); if(sscanf(params, "uds[64]", giveplayerid, tempo, result)) return SendClientMessage(playerid, COLOR_GRAD2, "USE: /cadeia [ID do Player] [tempo] [motivo]"); if(PlayerInfo[giveplayerid][pAdmin] >= 1340 && PlayerInfo[playerid][pAdmin]< 1341) return SCM(playerid, COLOR_GRAD1, "Voce nao pode dar cadeia em um admin dono."); if(IsPlayerConnected(giveplayerid)) { if(!admtrampando[playerid] && PlayerInfo[playerid][pAdmin] < 1340) return SendClientMessage(playerid, COLOR_GRAD1, TRABALHARADM); new string[220]; if(tempo > 9999 && PlayerInfo[playerid][pAdmin] <= 1340) return SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce definiu muitos minutos!"); format(string, sizeof(string), "* Voce prendeu %s.", NomePlayer(giveplayerid)); SendClientMessage(playerid, COLOR_LIGHTRED, string); format(string, sizeof(string), "* Voce foi preso pelo admin %s, pelo motivo: %s.", NomePlayer(playerid),result); SendClientMessage(giveplayerid, COLOR_LIGHTRED, string); format(string, sizeof(string), "[CADEIA] %s Prendeu %s na cadeia admin por: %d Minutos, Motivo: %s",PlayerName(playerid), NomePlayer(giveplayerid), tempo, result); SendClientMessageToAll(COLOR_LIGHTRED, string); CNFLogs("cadeia", string); ResetPlayerWeapons(giveplayerid); WantedPoints[giveplayerid] = 0; SetPlayerWantedLevelEx(giveplayerid, 0); PlayerInfo[giveplayerid][pJailed] = 9; PlayerInfo[giveplayerid][pJailTime] = tempo*60; PlayerPlaySound(giveplayerid, 31202, 0.0, 0.0, 0.0); format(string, sizeof(string), "Voce foi preso por %d minutos. Fianca: Desabilitada.", tempo); SendClientMessage(giveplayerid, COLOR_LIGHTBLUE, string); SpawnPlayer(giveplayerid); new string7[128]; format(string7, sizeof string7, Pasta_Cadeias, NomePlayer(giveplayerid)); if(!DOF2_FileExists(string7)) { DOF2_CreateFile(string7); DOF2_SetString(string7,"Motivo",result); DOF2_SetString(string7,"Admin",NomePlayer(playerid)); } if(DOF2_FileExists(string7)) { DOF2_SetString(string7,"Motivo",result); DOF2_SetString(string7,"Admin",NomePlayer(playerid)); } } return true; } CMD:orgs(playerid) { new string[MAX_STRING]; new bool:isAndroid = PlayerInfo[playerid][gPlayerUsandoPlataformaID] == 0; gs_Buffer[0] = EOS; new ults[11]; if(!isAndroid) strcat(gs_Buffer, "Tipo da ORG\tID e Nome da ORG\tLider\tUltimo Login\n"); new orgsid[] = {7, 3, 11, 33, 34, 1, 2, 16, 35, 36, 6, 5, 10, 14, 17, 18, 19, 21,26, 37, 38, 8, 22, 12, 13,20, 15, 23, 24, 25, 9, 4}; //new orgsid[] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36}; format(string,sizeof(string), "{1E90FF}Governo\n"); // Governo strcat(gs_Buffer,string); for(new i = 0; i <= 10; i++) { strmid(ults, InfoOrg[orgsid[i]][UL_Lider], 0, 10); format(string, sizeof(string), "{%s}%d:\t {%s}%s\t {FFFFFF}%s\t{00ff00}%s\n", CoresOrg(orgsid[i]), orgsid[i], CoresOrg(orgsid[i]), GetOrgName(orgsid[i]), InfoOrg[orgsid[i]][Lider], ults); strcat(gs_Buffer, string); } format(string,sizeof(string), "{1E90FF}Gangsters\n"); // Gangsters strcat(gs_Buffer,string); for(new i = 11; i <= 20; i++) { strmid(ults, InfoOrg[orgsid[i]][UL_Lider], 0, 10); format(string, sizeof(string), "{%s}%d:\t {%s}%s\t {FFFFFF}%s\t{00ff00}%s\n", CoresOrg(orgsid[i]), orgsid[i], CoresOrg(orgsid[i]), GetOrgName(orgsid[i]), InfoOrg[orgsid[i]][Lider], ults); strcat(gs_Buffer, string); } format(string,sizeof(string), "{1E90FF}Assassinas\n"); // Assasinos strcat(gs_Buffer,string); for(new i = 21; i <= 22; i++) { strmid(ults, InfoOrg[orgsid[i]][UL_Lider], 0, 10); format(string, sizeof(string), "{%s}%d:\t {%s}%s\t {FFFFFF}%s\t{00ff00}%s\n", CoresOrg(orgsid[i]), orgsid[i], CoresOrg(orgsid[i]), GetOrgName(orgsid[i]), InfoOrg[orgsid[i]][Lider], ults); strcat(gs_Buffer, string); } format(string,sizeof(string), "{1E90FF}Mafiosas\n"); // Mafiosos strcat(gs_Buffer,string); for(new i = 23; i <= 25; i++) { strmid(ults, InfoOrg[orgsid[i]][UL_Lider], 0, 10); format(string, sizeof(string), "{%s}%d:\t {%s}%s\t {FFFFFF}%s\t{00ff00}%s\n", CoresOrg(orgsid[i]), orgsid[i], CoresOrg(orgsid[i]), GetOrgName(orgsid[i]), InfoOrg[orgsid[i]][Lider], ults); strcat(gs_Buffer, string); } format(string,sizeof(string), "{1E90FF}Terroristas\n"); // Terroristas strcat(gs_Buffer,string); for(new i = 26; i <= 27; i++) { strmid(ults, InfoOrg[orgsid[i]][UL_Lider], 0, 10); format(string, sizeof(string), "{%s}%d:\t {%s}%s\t {FFFFFF}%s\t{00ff00}%s\n", CoresOrg(orgsid[i]), orgsid[i], CoresOrg(orgsid[i]), GetOrgName(orgsid[i]), InfoOrg[orgsid[i]][Lider], ults); strcat(gs_Buffer, string); } format(string,sizeof(string), "{1E90FF}Mercenarias\n"); // Mercenarias strcat(gs_Buffer,string); for(new i = 28; i <= 29; i++) { strmid(ults, InfoOrg[orgsid[i]][UL_Lider], 0, 10); format(string, sizeof(string), "{%s}%d:\t {%s}%s\t {FFFFFF}%s\t{00ff00}%s\n", CoresOrg(orgsid[i]), orgsid[i], CoresOrg(orgsid[i]), GetOrgName(orgsid[i]), InfoOrg[orgsid[i]][Lider], ults); strcat(gs_Buffer, string); } format(string,sizeof(string), "{1E90FF}Particular\n"); // Particular strcat(gs_Buffer,string); // Reporteres strmid(ults, InfoOrg[orgsid[0]][UL_Lider], 0, 10); format(string, sizeof(string), "{%s}%d:\t {%s}%s\t {FFFFFF}%s\t{00ff00}%s\n", CoresOrg(orgsid[0]), orgsid[0], CoresOrg(orgsid[0]), GetOrgName(orgsid[0]), InfoOrg[orgsid[0]][Lider], ults); strcat(gs_Buffer, string); /* for(new i = 30; i <= 31; i++) { strmid(ults, InfoOrg[orgsid[i]][UL_Lider], 0, 10); format(string, sizeof(string), "{%s}%d:\t {%s}%s\t {FFFFFF}%s\t{00ff00}%s\n", CoresOrg(orgsid[i]), orgsid[i], CoresOrg(orgsid[i]), GetOrgName(orgsid[i]), InfoOrg[orgsid[i]][Lider], ults); strcat(gs_Buffer, string); } */ ShowPlayerDialog(playerid, 8724, ((isAndroid) ? (DIALOG_STYLE_MSGBOX) : DIALOG_STYLE_TABLIST_HEADERS), "Lista de Lideres das Organizacões", gs_Buffer, "Fechar", ""); return true; } CMD:lenco(playerid, params[])// by JP { new string[MAX_STRING]; if(IsPlayerConnected(playerid)) { if(sscanf(params, "u", giveplayerid)) return SendClientMessage(playerid, COLOR_GRAD2, "USE: /lenco [ID/ParteDoNick]"); if(IsPlayerConnected(giveplayerid)) { if(giveplayerid != INVALID_PLAYER_ID) { if(giveplayerid == playerid) { return 1; } if(BlindFold[giveplayerid] == 0) { if(PlayerTied[giveplayerid] == 1) { if(GetPlayerVehicleID(playerid) != GetPlayerVehicleID(giveplayerid)) return SendClientMessage(playerid, COLOR_GREY, "[ERRO] O Player deve estar no mesmo veiculo que voce !"); SetPlayerCameraPos(giveplayerid, 2000,-2000,2000); SetPlayerCameraLookAt(giveplayerid, 2000,-2000,2000); SetPlayerInterior(giveplayerid,20); //GangZoneShowForPlayer(giveplayerid, BlackRadar, 0x000000FF); BlindFold[giveplayerid] = 1; format(string, sizeof(string), "* %s colocou um lenco nos olhos de %s", PlayerName(playerid), PlayerName(giveplayerid)); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); } else { SendClientMessage(playerid, COLOR_GREY, " O Player deve ser amarrado primeiro !"); return 1; } } else { new Float:x, Float:y, Float:z; GetPlayerPos(giveplayerid,x,y,z); if(PlayerToPoint(5, playerid, x, y, z)) { GetPlayerName(playerid, sendername, sizeof(sendername)); GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer)); SetPlayerInterior(giveplayerid,0); SetCameraBehindPlayer(giveplayerid); BlindFold[giveplayerid] = 0; //GangZoneHideForPlayer(giveplayerid, BlackRadar); format(string, sizeof(string), "* %s tira o lenco dos olhos %s", PlayerName(playerid), PlayerName(giveplayerid)); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); } else { SendClientMessage(playerid, COLOR_GREY, " O Player nao esta perto de voce !"); return 1; } } } } } return 1; } CMD:refemliberar(playerid, params[]) { if(IsAMember(playerid)) { if(sscanf(params, "u", giveplayerid)) return SendClientMessage(playerid, COLOR_GRAD2, "USE: /refemliberar [ID do Player]"); if (IsPlayerConnected(giveplayerid)) { if(Sequestrado[giveplayerid] == 0) return SendClientMessage(playerid, COLOR_GREY, "Este jogador nao esta sendo sequestrado!"); if (ProxDetectorS(8.0, playerid, giveplayerid)) { if(giveplayerid == playerid) return SendClientMessage(playerid, COLOR_GREY, "Voce nao se pode salvar a si mesmo!"); new string[128]; format(string, sizeof(string), "* Voce liberou %s.",PlayerName(giveplayerid)); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); format(string, sizeof(string), "* Voce foi liberado pelo sequestrador %s.",PlayerName(playerid)); SendClientMessage(giveplayerid, COLOR_LIGHTBLUE, string); format(string, sizeof(string), "[SEQUESTRO] A Vitima %s foi liberada pelo sequestrador %s. Fim do sequestro!",PlayerName(giveplayerid),PlayerName(playerid)); SendClientMessageToAll(COLOR_DBLUE, string); format(string, sizeof(string), "* %s Liberou %s.",PlayerName(playerid),PlayerName(giveplayerid)); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); Sequestrado[giveplayerid] = 0; PlayerTied[giveplayerid] = 0; PlayerInfo[giveplayerid][pMuted] = 0; SetPlayerInterior(giveplayerid,0); SetCameraBehindPlayer(giveplayerid); BlindFold[giveplayerid] = 0; Controle(giveplayerid, 1); } else SendClientMessage(playerid, COLOR_GREY, "Esse jogador nao perto de voce!"); } else SendClientMessage(playerid, COLOR_GRAD1, " Jogador Offline !"); } else SendClientMessage(playerid, COLOR_GREY, LEVELADM); return 1; } CMD:b(playerid, params[]) { new str[64], msg[64]; if(sscanf(params, "s[64]", msg)) return SendClientMessage(playerid, COLOR_GRAD1, "Use: /b [Mensagem] (Fora do RP)"); format(str, sizeof(str), "(( %s: %s ))", PlayerName(playerid), msg); SendClientMessageInRange(20.0, playerid, str, COLOR_GRAD4, COLOR_GRAD4, COLOR_GRAD4, COLOR_GRAD4, COLOR_GRAD4); return 1; } CMD:sequestrar(playerid, params[]) { if(isOrgSeq(playerid)) { if(PlayerInfo[playerid][pCargo] < 3) return SendClientMessage(playerid, COLOR_GREY, "[ERRO] Voce precisa de cargo 3+ para sequestrar!"); if(sscanf(params, "u", giveplayerid)) return SendClientMessage(playerid, COLOR_WHITE, "USE: /sequestrar [ID/Nome]"); if(IsPlayerConnected(giveplayerid)) { if(giveplayerid != INVALID_PLAYER_ID) { if(Sequestrado[giveplayerid] == 1) return SendClientMessage(playerid, COLOR_GREY, "[ERRO] Este jogador ja esta sendo sequestrado!"); if (ProxDetectorS(8.0, playerid, giveplayerid)) { new org = GetPlayerOrg(playerid); new car = GetPlayerVehicleID(playerid); if(giveplayerid == playerid)return SendClientMessage(playerid, COLOR_GREY, "Voce nao pode sequestrar a si mesmo!"); if(SeqOrg[org])return SendClientMessage(playerid, COLOR_GREY, "Sua organizacao ja ultrapassou o limite de sequestros neste payday!"); if(IsPlayerInAnyVehicle(playerid) && GetPlayerState(playerid) == 2 && IsPlayerInVehicle(giveplayerid, car)) { new string[128]; format(string, sizeof(string), "* Voce foi sequestrado por %s.", PlayerName(playerid)); SendClientMessage(giveplayerid, COLOR_LIGHTBLUE, string); format(string, sizeof(string), "* Voce esta sequestrando %s.", PlayerName(giveplayerid)); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); format(string, sizeof(string), "* %s esta sequestrando %s.", PlayerName(playerid) ,PlayerName(giveplayerid)); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); GameTextForPlayer(giveplayerid, "~>~~r~SEQUESTRADO~<~", 2500, 3); TogglePlayerControllableEx(giveplayerid, 0); format(string, sizeof(string), "[SEQUESTRO]: O %s %s esta sequestrando %s.",GetOrgName(org),PlayerName(playerid),PlayerName(giveplayerid)); SendClientMessageToAll(COLOR_LIGHTRED, string); Sequestrado[giveplayerid] = 1; PlayerTied[giveplayerid] = 0; PlayerInfo[giveplayerid][pMuted] = 0; PlayerInfo[giveplayerid][pInt] = 0; SeqOrg[org]++; } else { SendClientMessage(playerid, COLOR_GREY, " Jogador nao esta no seu carro ou voce nao e o motorista!"); return 1; } } else { SendClientMessage(playerid, COLOR_GREY, " Esse jogador esta longe de voce!"); return 1; } } } else { SendClientMessage(playerid, COLOR_GREY, " Esse nao e um jogador ativo!"); return 1; } } else { SendClientMessage(playerid, COLOR_GREY, "Voce nao e membro de uma familia!"); } return 1; } CMD:admin(playerid, result[]) return ForT:a(playerid, result); CMD:a(playerid, result[]) { new Msg[64]; new gstr[256]; if(PlayerInfo[playerid][pAdmin] < 1) return SemPermCMD if(sscanf(result, "s[64]", Msg)) return UseCMD(playerid, "/a(dmin) [Mensagem]"); format(gstr, 256, "*%d* [%s] %s: %s", PlayerInfo[playerid][pAdmin], NomeLevelAdmin(PlayerInfo[playerid][pAdmin]), PlayerName(playerid), Msg); ABroadCast(0x00CED1FF, gstr, 1); CNFLogs("ChatAdmin", gstr); return 1; } CMD:admindono(playerid, result[]) return ForT:ad(playerid, result); CMD:ad(playerid, result[]) { new Msg[64]; new gstr[256]; if(PlayerInfo[playerid][pAdmin] < 1340 ) return SemPermCMD if(sscanf(result, "s[64]", Msg)) return UseCMD(playerid, "/ad(admindono) [Mensagem]"); format(gstr, 256, "*%d* [ChatDono] %s: %s", PlayerInfo[playerid][pAdmin], PlayerName(playerid), Msg); ABroadCast(0x00CED1FF, gstr, 1340); CNFLogs("ChatDono", gstr); return 1; } CMD:adminmaster(playerid, result[]) return ForT:am(playerid, result); CMD:am(playerid, result[]) { new Msg[64]; new gstr[256]; if(PlayerInfo[playerid][pAdmin] < 1337 ) return SemPermCMD if(sscanf(result, "s[64]", Msg)) return UseCMD(playerid, "/am(adminmaster) [Mensagem]"); format(gstr, 256, "*%d* [ChatMaster] %s: %s", PlayerInfo[playerid][pAdmin], PlayerName(playerid), Msg); ABroadCast(0x00CED1FF, gstr, 5); CNFLogs("ChatMaster", gstr); return 1; } CMD:ajudavip(playerid) return ForT:comandosvip(playerid); CMD:comandosvip(playerid) { MEGAString[0] = EOS; strcat(MEGAString, "{FFFF00}[ COMANDOS VIP/SOCIO DO SERVIDOR ]\n"); strcat(MEGAString, "{00CED1}/v{FFFFFF}(chatvip)\n"); strcat(MEGAString, "{00CED1}/titulos{FFFFFF}(Define os titulos)\n"); strcat(MEGAString, "{00CED1}/tunarvip{FFFFFF}(Abre o menu de tunning)\n"); strcat(MEGAString, "{00CED1}/desligarcel{FFFFFF}(Desliga o celular)\n"); strcat(MEGAString, "{00CED1}/jetpack{FFFFFF}(Mochila a jato para socios)\n"); strcat(MEGAString, "{00CED1}/comprarcarro{FFFFFF}(Compra o carro vip)\n"); strcat(MEGAString, "{00CED1}/entrarorg{FFFFFF}(Usado para entrar em organizacões)\n"); strcat(MEGAString, "{00CED1}/kitvip{FFFFFF}(Equipamentos Vip's)\n"); strcat(MEGAString, "{00CED1}/kitsocio{FFFFFF}Equipamentos para jogadores socios)\n"); strcat(MEGAString, "{00CED1}/vencimentovip{FFFFFF}(Ve quantos dias restam de vip)\n"); strcat(MEGAString, "{00CED1}/s{FFFFFF}(chatsocio)\n"); strcat(MEGAString, "{00CED1}/xenon{FFFFFF}(Instala xenon no seu carro)\n"); strcat(MEGAString, "{00CED1}/afk{FFFFFF}(Entra em modo afk)\n"); strcat(MEGAString, "{00CED1}/trocardecasa{FFFFFF}(Troca de interior da casa)\n"); strcat(MEGAString, "{00CED1}/anpersonalizado{FFFFFF}(Anúncio para vips)\n"); strcat(MEGAString, "{00CED1}/repararvip{FFFFFF}(repara o carro)\n"); strcat(MEGAString, "{00CED1}/abastecervip{FFFFFF}(abastece o carro)"); ShowPlayerDialog(playerid, 1256, DIALOG_STYLE_MSGBOX, "COMANDOS VIP", MEGAString, "Informado",""); return 1; } CMD:tp(playerid) { ShowPlayerDialog( playerid, 5566, DIALOG_STYLE_LIST, "{FFFFFF}Tempo de Punicões", "{FFFFFF}Regras Gerais\nAnúncios e Relatorios\nInvasões\nModificacões e Cheaters\nRegras de Conduta para Lideres", "Continuar", "Sair" ); return 1; } CMD:banserial(playerid, params[]) { if (!gPlayerLogged[playerid]) return SendClientMessage(playerid, 0xff6347FF, "* Voce nao esta conectado."); new result[64]; if(sscanf(params, "us[64]", giveplayerid, result)) return SendClientMessage(playerid, COLOR_GRAD2, "USE: /banserial [ID do Player] [motivo]"); new string[128]; if (PlayerInfo[playerid][pAdmin] >= 1339) { if(IsPlayerConnected(giveplayerid)) { if(giveplayerid != INVALID_PLAYER_ID) { // if(PlayerInfo[giveplayerid][pAdmin] >= 1342) // return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao pode banir este admin!"); format(string, sizeof(string), "[BAN SERIAL HD] %s foi banido por %s, Motivo: %s (%d-%d-%d)", giveplayer, sendername, (result),day,month,year); CNFLogs("ban", string); format(string, sizeof(string), "AdmAviso: %s foi banido por %s, Motivo: %s", giveplayer, sendername, (result)); SendClientMessageToAll(COLOR_LIGHTRED, string); SendClientMessage(playerid,-1,"** Serial do HD, Banido com sucesso!"); SendClientMessage(giveplayerid, COLOR_WHITE, "|________________ Instrucões para revisao de Ban ________________|"); SendClientMessage(giveplayerid, COLOR_YELLOW2, "Tire uma SS da tela apertando F8 imediatamente apos ser banido"); SendClientMessage(giveplayerid, COLOR_YELLOW2, "E acesse o nosso forum/discord."); SendClientMessage(giveplayerid, COLOR_LIGHTRED, "Atencao: Voce so sera desbanido caso for inocente"); BanXiter(giveplayerid, result, PlayerName(playerid),SerialPlayerHD(giveplayerid)); return true; } }//not connected } return true; } CMD:macros(playerid) { if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid, 0xff6347FF, "* Voce nao esta conectado."); if (PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pAdminTemp] >= 1) { new Str[75]; SendClientMessage(playerid, -1, "|_____| Lista de suspeitos de usar Auto CBug ou MACRO |_____|"); foreach(Player, i) { if(GetPVarInt(i, "WarnningMacro")) { format(Str, sizeof Str, "Nick: %s[ID: %d] Acusacões [%d]", NomePlayer(i),i, GetPVarInt(i, "WarnningMacro")); SendClientMessage(playerid, COLOR_GRAD5, Str); } } } return 1; } CMD:aimbots(playerid) { if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid, 0xff6347FF, "* Voce nao esta conectado."); if (PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pAdminTemp] >= 1) { new Str[75]; SendClientMessage(playerid, -1, "|_____| Lista de suspeitos de usar AimBot |_____|"); foreach(Player, i) { if(GetPVarInt(i, "WarnningAimbot")) { format(Str, sizeof Str, "Nick: %s[ID: %d] Acusacões [%d]", NomePlayer(i),i, GetPVarInt(i, "WarnningAimbot")); SendClientMessage(playerid, COLOR_GRAD5, Str); } } } return 1; } CMD:punirnoob(playerid) { SendClientMessage(playerid, -1, "[CNF]: comando bloqueado"); return 1; } /* CMD:sair(playerid, params[]) { new i = PlayerBizzID[playerid]; if(i != -1) { if (PlayerToPoint(1, playerid,BizzInfo[i][bExitX], BizzInfo[i][bExitY], BizzInfo[i][bExitZ])) { SetPlayerInterior(playerid,0); PlayerInfo[playerid][pInt] = 0; SetPlayerVirtualWorld(playerid, 0); SetPlayerPos(playerid,BizzInfo[i][bEntranceX],BizzInfo[i][bEntranceY],BizzInfo[i][bEntranceZ]); PlayerInfo[playerid][pLocal] = 255; return true; } if(IsPlayerInRangeOfPoint(playerid, 2.5, 2205.0908,1551.3240,1008.4630)) { SetPlayerInterior(playerid, 0); PlayerInfo[playerid][pInt] = 0; SetPlayerVirtualWorld(playerid, 0); SetPlayerPos(playerid,BizzInfo[i][bEntranceX],BizzInfo[i][bEntranceY],BizzInfo[i][bEntranceZ]); PlayerInfo[playerid][pLocal] = 255; PlayerBizzID[playerid] = -1; } } return 1; } */ CMD:sairafk(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] >= 1) { if(AFK[playerid] == 1) { new string[128]; format(string, sizeof(string), "O Administrador %s nao esta mais Ausente! Ele podera lhe atender novamente!", NomePlayer(playerid)); SendClientMessageToAll(0xA0A0A0FF, string); SendClientMessage(playerid, 0xC2CBD1FF, "Voce saiu do modo AFK!"); format(string, sizeof(string), "O Administrador %s saiu no modo AUSENTE!", NomePlayer(playerid)); CNFLogs("AFKAdminEHelper", string); AFK[playerid] = 0; } } else { if(AFK[playerid] == 1) { SendClientMessage(playerid, 0x00FFFFFF, "Voce saiu do modo AFK!"); AFK[playerid] = 0; } else { SendClientMessage(playerid, COLOR_GRAD2, "Voce nao esta AFK!"); } } return 1; } CMD:infobeneficios(playerid, params[]) { MEGAString[0] = EOS; new string[356]; //new titulo[350]; if (PlayerInfo[playerid][pAdmin] < 1339) return SendClientMessage(playerid, COLOR_GRAD2, LEVELADM); if(sscanf(params, "u", giveplayerid)) return SendClientMessage(playerid, COLOR_GRAD2, "USE: /infobeneficios [ID]"); strcat(MEGAString, "{FFFFFF}Informação de beneficios\n"); if(PlayerInfo[playerid][pVIP] > 0) { strcat(MEGAString, "{FFFFFF}----------------------------------------------------------------------------\n"); format(string, sizeof(string), "{FFFF00}%s {FFFFFF}de: {FFFF00}%s\n",NomeVIP(PlayerInfo[giveplayerid][pVIP]) ,NomePlayer(giveplayerid)); strcat(MEGAString, string); format(string, sizeof(string), "{FFFFFF}Vencimento:{FFFF00} %s.\n",GetVIPInfo(giveplayerid, "VipVencimento")); strcat(MEGAString, string); strcat(MEGAString, "{FFFFFF}----------------------------------------------------------------------------\n"); } if(PlayerInfo[playerid][pDiamante] > 0) { strcat(MEGAString, "{FFFFFF}-----------------------------------------------------------------------------\n"); format(string, sizeof(string), "{FFFFFF}Membro Diamante de:{FFFF00} %s\n",NomePlayer(giveplayerid)); strcat(MEGAString, string); format(string, sizeof(string), "{FFFFFF}Vencimento:{FFFF00} %s.\n",GetDiamanteInfo(giveplayerid, "DiamanteVencimento")); strcat(MEGAString, string); strcat(MEGAString, "{FFFFFF}-----------------------------------------------------------------------------\n"); } ShowPlayerDialog(playerid, 10728, DIALOG_STYLE_MSGBOX, "Informacoes", MEGAString, "Fechar", ""); return 1; } CMD:aviso(playerid, params[]) { if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid, 0xff6347FF, "* Voce nao esta conectado."); new result[64]; if(PlayerInfo[playerid][pAdmin] < 1 && PlayerInfo[playerid][pAdminTemp] < 1 && PlayerInfo[playerid][pHelper] < 1) return SendClientMessage(playerid, COLOR_GREY, "Voce nao esta autorizado a usar este comando!"); if(sscanf(params, "us[64]", giveplayerid, result)) return SendClientMessage(playerid, COLOR_GRAD2, "USE: /aviso [playerid] [motivo]"); if(IsPlayerConnected(giveplayerid)) { if(!admtrampando[playerid] && PlayerInfo[playerid][pAdmin] < 1342) return SendClientMessage(playerid, COLOR_GRAD1, TRABALHARADM); new string[128]; PlayerInfo[giveplayerid][pWarns] += 1; if(PlayerInfo[giveplayerid][pAdmin] >= 1342) return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao pode banir um Admin Dono !"); format(string, sizeof(string), "* Voce avisou %s.", PlayerName(giveplayerid)); SendClientMessage(playerid, COLOR_LIGHTRED, string); format(string, sizeof(string), "* Voce foi avisado pelo admin: %s, pelo motivo: %s.", PlayerName(playerid), result); SendClientMessage(giveplayerid, COLOR_LIGHTRED, string); format(string, sizeof(string), "[AVISO]: O admin %s avisou %s, Motivo: %s",PlayerName(playerid), PlayerName(giveplayerid), result); ABroadCast(COLOR_LIGHTRED,string,1); CNFLogs("aviso", string); PlayerInfo[giveplayerid][pWarns] ++; if(PlayerInfo[giveplayerid][pWarns] >= 3) { if(BaniuPlayer[playerid] >= 1) return SBan(playerid, "Tentativa de Ban-ALL", "Automatico"); format(string, sizeof(string), "[BAN]: %s foi banido temporariamente por (3 dias), Motivo: %s",PlayerName(giveplayerid),result); SendClientMessageToAll(COLOR_LIGHTRED, string); PlayerInfo[giveplayerid][pWarns] =0; tban(giveplayerid, 3, "Automatico", "Passou de 3 avisos."); BaniuPlayer[playerid] ++; SetTimerEx("PlayerBanALL", 7000,false,"i",playerid); } } return true; } CMD:cascudo(playerid, params[]) { new playa; if(sscanf(params, "u", playa)) return SendClientMessage(playerid, COLOR_GRAD2, "USE: /cascudo [ID do Player]"); new string[128]; new Float:slx, Float:sly, Float:slz; if (PlayerInfo[playerid][pAdmin] >=1 || PlayerInfo[playerid][pAdminTemp] >=1) { if(IsPlayerConnected(playa)) { if(!admtrampando[playerid] && PlayerInfo[playerid][pAdmin] < 1342) return SendClientMessage(playerid, COLOR_GRAD1, TRABALHARADM); if(playa != INVALID_PLAYER_ID) { SetPlayerHealth(playa, 200); GetPlayerPos(playa, slx, sly, slz); SetPlayerPos(playa, slx, sly, slz+15); GetPlayerVelocity(playa, slx, sly, slz); SetPlayerVelocity(playa, slx=0, sly=0, slz-0.5); PlayerPlaySound(playa,1130,0.0,0.0,0.0); format(string, sizeof(string), "AdmCmd: %s levou um cascudo de %s",PlayerName(playa) ,PlayerName(playerid)); ABroadCast(COLOR_LIGHTRED,string,1); CNFLogs("comandosadmin", string); } } } return true; } CMD:calar(playerid, params[]) { if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid, 0xff6347FF, "* Voce nao esta conectado."); new playa; if(sscanf(params, "u", playa)) return SendClientMessage(playerid, COLOR_GRAD2, "USE: /calar [ID do Player]"); if(PlayerInfo[playerid][pAdmin] > 0 || PlayerInfo[playerid][pAdminTemp] > 0) { if(IsPlayerConnected(playa)) { if(playa != INVALID_PLAYER_ID) { if(PlayerInfo[playa][pAdmin] > 1338 && PlayerInfo[playerid][pAdmin] < 1341) return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao pode calar um Admin Dono !"); new string[128]; if(PlayerInfo[playa][pMuted] == 0) { PlayerInfo[playa][pMuted] = 1; printf("AdmCmd: %s silenced %s",PlayerName(playerid), PlayerName(playa)); format(string, sizeof(string), "AdmCmd: %s foi calado por %s",PlayerName(playa) ,PlayerName(playerid)); ABroadCast(COLOR_LIGHTRED,string,1); CNFLogs("comandosadmin", string); } else { PlayerInfo[playa][pMuted] = 0; printf("AdmCmd: %s unsilenced %s",PlayerName(playerid), PlayerName(playa)); if(admtrampando[playerid] == 1 && admhide[playerid] == 1) { format(string, sizeof(string), "AdmCmd: %s foi descalado por MOLE",PlayerName(playa)); } else { format(string, sizeof(string), "AdmCmd: %s foi descalado por %s",PlayerName(playa) ,PlayerName(playerid)); } ABroadCast(COLOR_LIGHTRED,string,1); CNFLogs("comandosadmin", string); } } } } return true; } CMD:mutarvoip(playerid, params[]) { if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid, 0xff6347FF, "* Voce nao esta conectado."); new playa; if(sscanf(params, "u", playa)) return SendClientMessage(playerid, COLOR_GRAD2, "USE: /mutarvoip [ID do Player]"); if(PlayerInfo[playerid][pAdmin] > 0 || PlayerInfo[playerid][pHelper] > 0 || PlayerInfo[playerid][pAdminTemp] > 0) { if(IsPlayerConnected(playa)) { if(playa != INVALID_PLAYER_ID) { if(PlayerInfo[playa][pAdmin] > 1338 && PlayerInfo[playerid][pAdmin] < 1337001) return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao pode calar um Admin Dono !"); new string[128]; if(PlayerInfo[playa][pVoipMute] == 0) { PlayerInfo[playa][pVoipMute] = 1; printf("AdmCmd: %s silenced %s",PlayerName(playerid), PlayerName(playa)); format(string, sizeof(string), "AdmCmd: %s mutou o voip de %s",PlayerName(playerid) ,PlayerName(playa)); ABroadCast(COLOR_LIGHTRED,string,1); CNFLogs("comandosadmin", string); SvMutePlayerEnable(playa); } else { PlayerInfo[playa][pVoipMute] = 0; SvMutePlayerDisable(playa); printf("AdmCmd: %s unsilenced %s",PlayerName(playerid), PlayerName(playa)); format(string, sizeof(string), "AdmCmd: %s teve o voip desmutado por %s",PlayerName(playa) ,PlayerName(playerid)); ABroadCast(COLOR_LIGHTRED,string,1); CNFLogs("comandosadmin", string); } } } } return true; } CMD:ir(playerid, params[]) { if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid, 0xff6347FF, "* Voce nao esta conectado."); new plo; if(sscanf(params, "u", plo)) return SendClientMessage(playerid, COLOR_GRAD2, "USE: /ir [id/nick]"); new string[128]; new Float:plocx,Float:plocy,Float:plocz; if (IsPlayerConnected(plo)) { if(plo != INVALID_PLAYER_ID) { if (PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pAdminTemp] >= 1 || PlayerInfo[playerid][pHelper] >=1) { GetPlayerPos(plo, plocx, plocy, plocz); if(PlayerInfo[playerid][pAdmin] < 1 && PlayerInfo[playerid][pAdminTemp] < 1 && !helpertrampando[playerid]) return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao esta em modo de ajuda !"); if(WatchingTV[plo] == 1) return SendClientMessage(playerid, COLOR_GREY, "Este administrador esta em modo de /tv e voce nao pode ir ate ele"); if(PlayerInfo[playerid][pAdmin] > 0 && PlayerInfo[playerid][pAdminTemp] > 0 && !admtrampando[playerid]) return SendClientMessage(playerid, COLOR_GRAD1, TRABALHARADM); if(admhide[plo] != 0) return SCM(playerid, COLOR_GRAD1, "ERRO: Esse admin está em modo oculto e não esta aceitando teleporte."); if(PlayerInfo[plo][pAdmin] > 1340 && PlayerInfo[playerid][pAdmin] < 1340) { MensagemFormatada(playerid, COLOR_LIGHTBLUE, "Voce Enviou uma solicitação de teleport para: %s[Admin Dono]", PlayerName(plo)); SetPVarInt(plo, "IDTP", playerid); new gstr[200]; format(gstr, 200, "{48D1CC}[TP] Nome: {FFFFFF}%s\n\ {48D1CC}Cargo: {FFFFFF}%s\n\ {48D1CC}Quer teleportar para você, dejesa aceitar?", PlayerName(playerid), NomeLevelAdmin(PlayerInfo[playerid][pAdmin])); ShowPlayerDialog(plo, 15325, DIALOG_STYLE_MSGBOX, "[SOLICITAÇÃO DE TELEPORT]", gstr,"Aceitar", "Recusar"); return 1; } if(Spectate[playerid] != 255) { Spectate[playerid] = 256; } if(PlayerInfo[plo][pInt] > 0) { SetPlayerInterior(playerid,PlayerInfo[plo][pInt]); PlayerInfo[playerid][pInt] = PlayerInfo[plo][pInt]; PlayerInfo[playerid][pLocal] = PlayerInfo[plo][pLocal]; HouseFed[playerid] = HouseFed[plo]; storeexit[playerid] = storeexit[plo]; } if(PlayerInfo[playerid][pInt] == 0) { SetPlayerInterior(playerid,0); SetPlayerVirtualWorld(playerid,0); } if(plocz > 530.0 && PlayerInfo[plo][pInt] == 0) //the highest land point in sa = 526.8 { SetPlayerInterior(playerid,1); PlayerInfo[playerid][pInt] = 1; } if (GetPlayerState(playerid) == 2) { SetPlayerInterior(playerid,GetPlayerInterior(plo)); SetPlayerVirtualWorld(playerid,GetPlayerVirtualWorld(plo)); new tmpcar = GetPlayerVehicleID(playerid); SetVehiclePos(tmpcar, plocx, plocy+4, plocz); } else { SetPlayerInterior(playerid,GetPlayerInterior(plo)); SetPlayerVirtualWorld(playerid,GetPlayerVirtualWorld(plo)); SetPlayerPos(playerid,plocx,plocy+2, plocz); } if(PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pAdminTemp] >= 1) { format(string, sizeof(string), "* O Administrador: %s veio ate você!", NomePlayer(playerid)); SendClientMessage(plo, 0xFF1493FF, string); } else { format(string, sizeof(string), " O Helper: %s veio ate você!", NomePlayer(playerid)); SendClientMessage(plo, 0xebc898FF, string); } PlayerBizzID[playerid] = PlayerBizzID[plo]; } } } return 1; } CMD:respawn(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] < 1 && PlayerInfo[playerid][pAdminTemp] < 1) return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao esta autorizado a usar este comando !"); if(!admtrampando[playerid] && PlayerInfo[playerid][pAdmin] < 1342) return SendClientMessage(playerid, COLOR_GRAD1, TRABALHARADM); new Float:cX, Float:cY, Float:cZ; for(new i = 0; i < MAX_VEHICLES; i++) { GetVehiclePos(i, cX, cY, cZ); if (PlayerToPoint(15.0, playerid,cX, cY, cZ)) { SetVehicleToRespawnEx(i); } } return true; } CMD:agendarcadeia(playerid, params[]) { new tempo2,avisos, result[64], nome[24]; if(PlayerInfo[playerid][pAdmin] < 1 && PlayerInfo[playerid][pAdminTemp] < 1) return SendClientMessage(playerid, COLOR_GREY, LEVELADM); if(sscanf(params, "s[24]iis[64]", nome, tempo2, avisos, result)) return SendClientMessage(playerid, COLOR_GRAD2, "USE: /agendarcadeia [Nick] [tempo] [avisos] [motivo]"); new arquivo[55], string[256]; format(arquivo, sizeof(arquivo), Pasta_Contas,nome); if(!DOF2_FileExists(arquivo)) return SendClientMessage(playerid, COLOR_WHITE, " Este nick nao esta registrado no BRASIL POBRE RP!"); if(IsPlayerOnline(nome)) { if(!admtrampando[playerid] && PlayerInfo[playerid][pAdmin] < 1342) return SendClientMessage(playerid, COLOR_GRAD1, TRABALHARADM); giveplayerid=GetPlayerID(nome); new strtempo[12]; new settempo = PlayerInfo[giveplayerid][pJailTime] += tempo2*60; if(tempo2 > -1) format(strtempo, 12, "+%d", tempo2); else format(strtempo, 12, "%d", tempo2); if(settempo < 0)settempo = 0; if(tempo2 > 9999) return SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce definiu muitos minutos!"); format(string, sizeof(string), "* %s Estava Online e Voce o Prendeu por %s Minutos.", PlayerName(giveplayerid), strtempo); SendClientMessage(playerid, COLOR_LIGHTRED, string); format(string, sizeof(string), "* Voce foi preso pelo admin %s, pelo motivo: %s.", PlayerName(playerid),result); SendClientMessage(giveplayerid, COLOR_LIGHTRED, string); format(string, sizeof(string), "* O admin %s ajustou a cadeia de %s para %s minutos, Motivo: %s",PlayerName(playerid), PlayerName(giveplayerid), strtempo, result); SendClientMessageToAll(COLOR_LIGHTRED, string); CNFLogs("cadeia", string); ResetPlayerWeapons(giveplayerid); WantedPoints[giveplayerid] = 0; SetPlayerWantedLevelEx(giveplayerid, 0); PlayerInfo[giveplayerid][pJailed] = 9; PlayerInfo[giveplayerid][pJailTime] = settempo; SetPlayerSpawn(giveplayerid); PlayerPlaySound(giveplayerid, 31202, 0.0, 0.0, 0.0); format(string, sizeof(string), "Voce foi preso por %d minutos. Fianca: Desabilitada.", strtempo); SendClientMessage(giveplayerid, COLOR_LIGHTBLUE, string); } else { new atualavisos = DOF2_GetInt(arquivo, "Avisos"), atualtempoj = DOF2_GetInt(arquivo, "JailTime"), atualtempo = DOF2_GetInt(arquivo, "TempoAgendado"); new setavisos = atualavisos+=avisos, settempoj = (atualtempoj)+=(tempo2*60), settempo = atualtempo+=tempo2; if(settempoj < 0) { settempoj = 0; settempo = 0; } if(setavisos < 0) { setavisos = 0; } DOF2_SetInt(arquivo,"Jailed", 9); DOF2_SetInt(arquivo,"JailTime", settempoj); strmid(AgendouInfo[playerid][cAdminAgendou], sendername, 0, strlen(sendername), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"AdminAgendou", PlayerName(playerid)); strmid(AgendouInfo[playerid][cMotivoAgendou], result, 0, strlen(result), MAX_PLAYER_NAME); DOF2_SetString(arquivo,"MotivoAgendou", result); DOF2_SetInt(arquivo,"Agendado", 1); DOF2_SetInt(arquivo,"Avisos", setavisos); DOF2_SetInt(arquivo,"TempoAgendado", settempo); DOF2_SaveFile(); new straviso[12], strtempo[12]; if(avisos > -1)format(straviso, 12, "+%d", avisos); else format(straviso, 12, "%d", avisos); if(tempo2 > -1)format(strtempo, 12, "+%d", tempo2); else format(strtempo, 12, "%d", tempo2); if(tempo2 > 9999) return SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce definiu muitos minutos!"); format(string, sizeof(string), "* O Admin %s agendou %s para (%s minutos de cadeia e %s avisos), Motivo: %s",PlayerName(playerid), nome, strtempo, straviso, result); SendClientMessageToAll(COLOR_LIGHTRED, string); CNFLogs("agendarcadeia", string); } return true; } CMD:flip(playerid) { if (PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pAdminTemp] >= 1) { if(IsPlayerInAnyVehicle(playerid)) { new currentveh; new Float:angle; currentveh = GetPlayerVehicleID(playerid); GetVehicleZAngle(currentveh, angle); SetVehicleZAngle(currentveh, angle); SendClientMessage(playerid, 0xFFFFFFFF, "Voce desvirou o carro."); return 1; } else { SendClientMessage(playerid, 0xFFFFFFFF, "Voce nao esta em um veiculo!"); return 1; } } else { SendClientMessage(playerid, COLOR_GRAD1, LEVELADM); } return 1; } CMD:av(playerid, result[]) { if(PlayerInfo[playerid][pAdmin] == 0) return SendClientMessage(playerid, COLOR_GREY, LEVELADM); if(isnull(result)) return SendClientMessage(playerid, COLOR_GRAD2, "USE: (/av)isar [texto]"); new string[200]; SendClientMessageToAll(0xFFFFFFFF, "|_________| Admin Aviso |_________|"); format(string, sizeof(string), "{FF1493}Admin: {FFFFFF}%s: {FF1493}%s", PlayerName(playerid), result); SendClientMessageToAll(0xFF1493FF,string); return true; } CMD:avadm(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] > 0) return ShowPlayerDialog(playerid, 9948, DIALOG_STYLE_LIST, "Avisos BRASIL POBRE RP", "{0FFFFF}» {FFFFFF}Anunciar Ajuda/Assistencia\n{0FFFFF}» {FFFFFF}Anunciar Ant RP\n{0FFFFF}» {00FFFF} DESATIVADO!\n{0FFFFF}» {FFFFFF}Anunciar Duvida\n{0FFFFF}» {FFFFFF}Anunciar Atos Ant-RP\n{0FFFFF}» {FFFFFF}Anunciar GMX\n{0FFFFF}» {FFFFFF}Anunciar Reportar Xiter\n{0FFFFF}» {FFFFFF}Anunciar Forum", "Avisar","Cancelar"); return true; } CMD:descongelar(playerid, params[]) { new playa; if(sscanf(params, "u", playa)) return SendClientMessage(playerid, COLOR_GRAD2, "USE: /descongelar [ID do Player]"); if (PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pAdminTemp] >= 1) { if(admtrampando[playerid] < 1 && PlayerInfo[playerid][pAdmin] < 1340) return SendClientMessage(playerid, COLOR_GRAD1, TRABALHARADM); if(IsPlayerConnected(playa)) { if(playa != INVALID_PLAYER_ID) { new string[128]; PlayerInfo[playa][pMuted] = 0; Controle(playa, 1); antihands[playa] = 0; format(string, sizeof(string), "AdmCmd: %s descongelou %s",PlayerName(playerid), PlayerName(playa)); printf("%s",string); format(string, sizeof(string), "AdmCmd: %s foi descongelado por %s",PlayerName(playa) ,PlayerName(playerid)); ABroadCast(COLOR_LIGHTRED,string,1); } } } return true; } CMD:infoarmas(playerid, params[]) { if(sscanf(params, "u", giveplayerid)) return SendClientMessage(playerid, COLOR_WHITE, "USE: /infoarmas [id do player]"); if(PlayerInfo[playerid][pAdmin] < 1 && PlayerInfo[playerid][pAdminTemp] < 1 ) return SendClientMessage(playerid, COLOR_GREY, "Voce nao esta autorizado a usar esse comando!"); new string[128]; if(IsPlayerConnected(giveplayerid)) { if(giveplayerid != INVALID_PLAYER_ID) { new weapons[13][2]; new playerck[MAX_PLAYER_NAME]; GetPlayerName(giveplayerid, playerck, sizeof(playerck)); format(string, sizeof(string), "EXIBINDO AS Informações DAS ARMAS DE: %s",playerck); SendClientMessage(playerid, TEAM_BALLAS_COLOR, string); GetPlayerWeaponData(giveplayerid, 2, weapons[2][0], weapons[2][1]); format(string, sizeof(string), "Arma: %s, Municao: %d",aNames[weapons[2][0]], weapons[2][1]); SendClientMessage(playerid, COLOR_WHITE, string); GetPlayerWeaponData(giveplayerid, 3, weapons[3][0], weapons[3][1]); format(string, sizeof(string), "Arma: %s, Municao: %d",aNames[weapons[3][0]], weapons[3][1]); SendClientMessage(playerid, COLOR_WHITE, string); GetPlayerWeaponData(giveplayerid, 4, weapons[4][0], weapons[4][1]); format(string, sizeof(string), "Arma: %s, Municao: %d",aNames[weapons[4][0]], weapons[4][1]); SendClientMessage(playerid, COLOR_WHITE, string); GetPlayerWeaponData(giveplayerid, 5, weapons[5][0], weapons[5][1]); format(string, sizeof(string), "Arma: %s, Municao: %d",aNames[weapons[5][0]], weapons[5][1]); SendClientMessage(playerid, COLOR_WHITE, string); GetPlayerWeaponData(giveplayerid, 6, weapons[6][0], weapons[6][1]); format(string, sizeof(string), "Arma: %s, Municao: %d",aNames[weapons[6][0]], weapons[6][1]); SendClientMessage(playerid, COLOR_WHITE, string); GetPlayerWeaponData(giveplayerid, 7, weapons[7][0], weapons[7][1]); format(string, sizeof(string), "Arma: %s, Municao: %d",aNames[weapons[7][0]], weapons[7][1]); SendClientMessage(playerid, COLOR_WHITE, string); GetPlayerWeaponData(giveplayerid, 8, weapons[8][0], weapons[8][1]); format(string, sizeof(string), "Arma: %s, Municao: %d",aNames[weapons[8][0]], weapons[8][1]); SendClientMessage(playerid, COLOR_WHITE, string); GetPlayerWeaponData(giveplayerid, 9, weapons[9][0], weapons[9][1]); format(string, sizeof(string), "Arma: %s, Municao: %d",aNames[weapons[9][0]], weapons[9][1]); SendClientMessage(playerid, COLOR_WHITE, string); GetPlayerWeaponData(giveplayerid, 11, weapons[11][0], weapons[11][1]); format(string, sizeof(string), "Arma: %s, Municao: %d",aNames[weapons[11][0]], weapons[11][1]); SendClientMessage(playerid, COLOR_WHITE, string); } } return true; } CMD:ban(playerid, params[]) { new result[64]; if(sscanf(params, "us[64]", giveplayerid, result)) return SendClientMessage(playerid, COLOR_GRAD2, "USE: /ban [ID do Player] [motivo]"); new string[128]; if (PlayerInfo[playerid][pAdmin] >= 3 || PlayerInfo[playerid][pAdminTemp] >= 3) { if(IsPlayerConnected(giveplayerid)) { if(giveplayerid != INVALID_PLAYER_ID) { if(PlayerInfo[giveplayerid][pAdmin] >= 1340 && PlayerInfo[playerid][pAdmin] < 1341) return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao pode banir este admin!"); if(BaniuPlayer[playerid] >= 1) return SBan(playerid, "Tentativa de Ban-ALL", "Automatico"); format(string, sizeof(string), "[BAN]: %s foi banido por %s Motivo: %s", PlayerName(giveplayerid), PlayerName(playerid), (result)); CNFLogs("ban", string); format(string, sizeof(string), "[BAN]: %s foi banido por %s Motivo: %s", PlayerName(giveplayerid), PlayerName(playerid), (result)); SendClientMessageToAll(COLOR_LIGHTRED, string); PlayerInfo[giveplayerid][pBan] = 1; TextDrawShowForPlayer(giveplayerid, TextBan); TextDrawShowForPlayer(giveplayerid, TextBan1); SBan(giveplayerid, result, PlayerName(playerid)); BanCNF(giveplayerid); PlayerPlaySound(giveplayerid, 31202, 0.0, 0.0, 0.0); if(gPlayerLogged[giveplayerid] == 0){BanCNF(giveplayerid);}else {SBan(giveplayerid, result, PlayerName(playerid));} BaniuPlayer[playerid] ++; SetTimerEx("PlayerBanALL", 7000,false,"i",playerid); return true; } } } else return SemPermCMD return true; } CMD:bantemp(playerid, params[]) { new result[64], diasban; if(sscanf(params, "uds[64]", giveplayerid, diasban, result)) return SendClientMessage(playerid, COLOR_GRAD2, "USE: /bantemp [ID do Player] [dias] [motivo]"); if (PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pAdminTemp] >= 1) { if(IsPlayerConnected(giveplayerid)) { if(PlayerInfo[giveplayerid][pAdmin] >= 1341) return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao pode banir este admin!"); new string[128]; getdate(year, month, day); if(diasban > 359) return SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Maximo 359 dias"); format(string, sizeof(string), "[BAN]: %s foi banido temporariamente (%d dias) por %s, Motivo: %s (%d-%d-%d)", PlayerName(giveplayerid), diasban, PlayerName(playerid), (result),day,month,year); CNFLogs("ban", string); format(string, sizeof(string), "[BAN]: %s foi banido temporariamente (%d dias) por %s, Motivo: %s", PlayerName(giveplayerid), diasban, PlayerName(playerid), (result)); SendClientMessageToAll(COLOR_LIGHTRED, string); tban(giveplayerid, diasban, NomePlayer(playerid), result); PlayerPlaySound(giveplayerid, 31202, 0.0, 0.0, 0.0); } } return true; } CMD:rarmas(playerid, params[])return ForT:retirararmas(playerid, params); CMD:retirararmas(playerid, params[]) { new playa; if(sscanf(params, "u", playa)) return SendClientMessage(playerid, COLOR_GRAD2, "USE: /retirararmas [ID do Player]"); if (PlayerInfo[playerid][pAdmin] >= 1) { if(!admtrampando[playerid] && PlayerInfo[playerid][pAdmin] < 1342) return SendClientMessage(playerid, COLOR_GRAD1, TRABALHARADM); if(IsPlayerConnected(playa)) { if(playa != INVALID_PLAYER_ID) { new string[128]; ResetPlayerWeapons(playa); printf("AdmCmd: %s retirou as armas de %s",PlayerName(playerid), PlayerName(playa)); format(string, sizeof(string), "Voce retirou as armas de %s ",PlayerName(playa)); SendClientMessage(playerid, COLOR_GRAD1,string); format(string, sizeof string, "AdmCmd: O admin %s retirou as armas de %s.",PlayerName(playerid), PlayerName(playa)); ABroadCast(0xff6347FF,string,1); } } } return true; } CMD:contagem(playerid) { new string[128]; if(PlayerInfo[playerid][pAdmin] < 1 && PlayerInfo[playerid][pAdminTemp] < 1) return SendClientMessage(playerid, COLOR_GRAD1, LEVELADM); if(CountStage ==0) { format(string, sizeof(string), "*** %s comecou uma contagem.", PlayerName(playerid)); SendClientMessageToAll(COLOR_LIGHTBLUE, string); GameTextForAll("~n~~n~~n~~n~~n~~n~~n~~g~-~y~ 3 ~g~-",1000,3); timer = SetTimer("countdown",1000,1); CountStage = 3; } else SendClientMessage(playerid, COLOR_GRAD1, "A contagem regressiva esta ocupado!"); return 1; } CMD:sban(playerid, params[]) { new result[64]; if(sscanf(params, "us[64]", giveplayerid, result)) return SendClientMessage(playerid, COLOR_GRAD2, "USE: /sban [ID do Player] [motivo]"); new string[128]; if (PlayerInfo[playerid][pAdmin] >= 1338) { if(!admtrampando[playerid] && PlayerInfo[playerid][pAdmin] < 1341) return SendClientMessage(playerid, COLOR_GRAD1, TRABALHARADM); if(IsPlayerConnected(giveplayerid)) { if(giveplayerid != INVALID_PLAYER_ID) { if(PlayerInfo[giveplayerid][pAdmin] >= 1340) return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao pode banir este admin!"); format(string, sizeof(string), "[BAN]: %s foi banido por %s, Motivo: %s", PlayerName(giveplayerid), PlayerName(playerid), (result)); CNFLogs("ban", string); format(string, sizeof(string), "[BAN]: %s foi banido secretamente por %s, Motivo: %s", PlayerName(giveplayerid), PlayerName(playerid), (result)); ABroadCast(COLOR_LIGHTRED, string, 1); PlayerInfo[giveplayerid][pBan] = 1; TextDrawShowForPlayer(giveplayerid, TextBan); TextDrawShowForPlayer(giveplayerid, TextBan1); SBan(giveplayerid, result, PlayerName(playerid)); PlayerPlaySound(giveplayerid, 31202, 0.0, 0.0, 0.0); return true; } } } return true; } CMD:cnn2(playerid, result[]) { if (PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pAdminTemp] >= 1) { if(isnull(result)) return SendClientMessage(playerid, COLOR_GRAD2, "USE: /cnn2 [Formato ~n~-Novalinha ~r~-vermelho ~g~-verde ~b~-azul ~w~-branco ~y~-amarelo]"); new string[128]; format(string, sizeof(string), "~p~%s: ~w~%s",PlayerName(playerid),result); foreach(Player, i) { GameTextForPlayer(i, string, 5000, 0); } return 1; } return 1; } CMD:cnn(playerid, result[]) { if(!admtrampando[playerid] && PlayerInfo[playerid][pAdmin] < 1342) return SendClientMessage(playerid, COLOR_GRAD1, TRABALHARADM); if (PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pAdminTemp] >= 1) { if(sscanf(result, "s[64]", result)) return SendClientMessage(playerid, COLOR_GRAD2, "USE: /cnn [cnn ~n~=NovaLinha ~r~=Vermelho ~g~=Verde ~b~=Azul ~w~=Branco ~y~=Amarelo]"); new string[128]; format(string, sizeof(string), "~p~%s: ~w~%s",PlayerName(playerid),result); foreach(Player, i) { GameTextForPlayer(i, string, 5000, 6); } return 1; } return 1; } CMD:bnn(playerid, result[]) { if(!admtrampando[playerid] && PlayerInfo[playerid][pAdmin] < 1342) return SendClientMessage(playerid, COLOR_GRAD1, TRABALHARADM); if (PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pAdminTemp] >= 1) { if(isnull(result)) return SendClientMessage(playerid, COLOR_GRAD2, "USE: /bnn [texto (~n~ = Nova Linha)]"); new string[128]; format(string, sizeof(string), "~>~ ~p~%s:~n~ ~w~%s",PlayerName(playerid),result); foreach(Player, i) { showBalao(i, string, 7000); } return 1; } return 1; } CMD:teleportes(playerid, params[]) { if(PlayerInfo[playerid][pJailTime] > 0) return SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce nao pode usar este comando agora."); if(!admtrampando[playerid] && PlayerInfo[playerid][pAdmin] < 1342) return SendClientMessage(playerid, COLOR_GRAD1, TRABALHARADM); if(PlayerInfo[playerid][pAdmin] >= 1340 || PlayerInfo[playerid][pAdminTemp] >= 1340) return ShowPlayerDialog(playerid,4701,DIALOG_STYLE_LIST,"Teleportes","S0beit Teleportes\nOutros Teleportes","Aceitar","Cancelar"); return true; } CMD:resetartitulos(playerid) { if (PlayerInfo[playerid][pAdmin] < 1342) return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao esta autorizado a usar este comando !"); foreach(Player, p) { PlayerInfo[p][pTitulo] = 0; } return 1; } CMD:respawncarros(playerid, params[]) { if (PlayerInfo[playerid][pAdmin] < 1 && PlayerInfo[playerid][pAdminTemp] < 1) return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao esta autorizado a usar este comando !"); if(!admtrampando[playerid] && PlayerInfo[playerid][pAdmin] < 1342) return SendClientMessage(playerid, COLOR_GRAD1, TRABALHARADM); isPlayerInArea(); new string[144]; for(new i; i < MAX_VEHICLES; i++) { if(IsValidVehicle(i)) { for (new p = 0, j = GetPlayerPoolSize(); p <= j; p++) { if(!IsVehicleOccupied(i)) { if(GetPVarInt(p, "VeiculoCriado") != -1) { DestroyVehicleEx(GetPVarInt(p, "VeiculoCriado")); } } } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // new bool:pde = true; foreach(Player, p) { if(GetPlayerVehicleID(p) == i) pde = false; } if(Naorespawn[i] == 1) pde = false; if(IsVehicleInRangeOfPoint(i, 200.0, 1070.2504,1321.7101,10.8203)) { pde = false; } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // if(pde) { for(new vvv; vvv < sizeof(orgVehicles); vvv++) { if(orgVehicles[vvv][vID] != -1) { if(orgVehicles[vvv][vID] == i) { DestroyVehicleEx(orgVehicles[vvv][vID]); orgVehicles[vvv][vID] = -1; orgVehicles[vvv][Disponivel] = true; for(new p; p < MAX_PLAYERS; ++p) { if(IsPlayerConnected(p)) { if(PlayerCarroIDOrg[p] == i) { PlayerCarroIDOrg[p] = INVALID_VEHICLE_ID; } } } } } } } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // if(pde) { for(new vvv; vvv < sizeof(empVehicles); vvv++) { if(empVehicles[vvv][vID] != -1) { if(empVehicles[vvv][vID] == i) { DestroyVehicleEx(empVehicles[vvv][vID]); empVehicles[vvv][vID] = -1; empVehicles[vvv][Disponivel] = true; for(new p; p < MAX_PLAYERS; ++p) { if(IsPlayerConnected(p)) { if(PlayerCarroIDEmp[p] == i) { PlayerCarroIDEmp[p] = INVALID_VEHICLE_ID; } } } } } } } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // new ContarVeiculosDestruidos; for(new vvv; vvv < MAX_VEHICLES; vvv++) { if(IsValidVehicle(vvv)) { if(IsValidVehicle(i) && vvv != i && GetVehicleModel(vvv) == GetVehicleModel(i) && !IsVehicleOccupied(vvv)) { if(GetDistanceBetweenVehicles(i, vvv) != -1.0 && GetDistanceBetweenVehicles(i, vvv) < 2.0) { new Float:cPos[3]; GetVehiclePos(vvv, cPos[0], cPos[1], cPos[2]); if(IsPlayerInRangeOfPoint(playerid, 15.0, cPos[0], cPos[1], cPos[2])) { DestroyVehicleEx(vvv); ContarVeiculosDestruidos++; } } } } } if(ContarVeiculosDestruidos != 0) { format(string, sizeof(string), "[Atenção] Foram excluidos %i veículos duplicados à uma distância de 15 metros de você!", ContarVeiculosDestruidos); SCM(playerid, 0x00FF00FF, string); } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // if(pde) { foreach(Player, player) { if(IsPlayerConnected(player)) { if(gPlayerLogged[player] && GetOwnedVehicleID(player) == i) { SavePlayerVehicle(player); } } } } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // if(IsVeiculoInventario(i) && !IsVehicleOccupied(i)) { DestruirVeiculoInventario(i); } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // if(pde) { if(IsValidVehicle(i)) { SetVehicleToRespawnEx(i); } } } } fMessageToAll(0xff6347FF, "RESPAWN: O admin %s deu respawn em todos os carros do servidor!",PlayerName(playerid)); format(string, sizeof(string), "RESPAWN: %s deu respawn nos carros",PlayerName(playerid)); CNFLogs("comandosadmin", string); return true; } CMD:rpv(playerid, params[]) { new playa; if(sscanf(params, "u", playa)) return SendClientMessage(playerid, COLOR_GRAD2, "USE: /rpv [ID do Player]"); new string[128]; if (PlayerInfo[playerid][pAdmin] >= 4) { if(IsPlayerConnected(playa)) { if(playa != INVALID_PLAYER_ID) { if(!IsPlayerInAnyVehicle(playa)) return SendClientMessage(playerid,COLOR_GREY,"Este player precisa estar em um veiculo!"); format(string, sizeof(string), "AdmCmd: %s foi removido de seu veiculo por %s.",PlayerName(playa) ,PlayerName(playerid)); ABroadCast(0xff6347FF,string,1); RemovePlayerFromVehicle(playa); } } } return true; } CMD:lataria(playerid, params[]) { } CMD:desbugarplayer(playerid, params[]) { new playa; if(sscanf(params, "u", playa)) return SendClientMessage(playerid, COLOR_GRAD2, "USE: /desbugarplayer [playerid]"); if(PlayerInfo[playerid][pAdmin] > 0 || PlayerInfo[playerid][pHelper] > 0 || PlayerInfo[playerid][pAdminTemp] > 0) { if(IsPlayerConnected(playa)) { if(playa != INVALID_PLAYER_ID) { new string[128]; PlayerInfo[playa][pMuted] = 0; GetPlayerName(playa, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); Controle(playa, 1); SetCameraBehindPlayer(playa); sincronizando[playa] = 1; virt[playa] = GetPlayerVirtualWorld(playa); interior[playa] = GetPlayerInterior(playa); skinneg[playa] = GetPlayerSkin(playa); GetPlayerArmour(playa,APP[playa]); GetPlayerHealth(playa,PlayerHPP[playa]); GetPlayerFacingAngle(playa,FaceAngle[playa]); GetPlayerPos(playa,xx[playa],yy[playa],zz[playa]); GetPlayerWeaponData(playa,1,gunsinc[1][playa],ammoo[1][playa]); GetPlayerWeaponData(playa,2,gunsinc[2][playa],ammoo[2][playa]); GetPlayerWeaponData(playa,3,gunsinc[3][playa],ammoo[3][playa]); GetPlayerWeaponData(playa,4,gunsinc[4][playa],ammoo[4][playa]); GetPlayerWeaponData(playa,5,gunsinc[5][playa],ammoo[5][playa]); GetPlayerWeaponData(playa,6,gunsinc[6][playa],ammoo[6][playa]); GetPlayerWeaponData(playa,7,gunsinc[7][playa],ammoo[7][playa]); GetPlayerWeaponData(playa,8,gunsinc[8][playa],ammoo[8][playa]); GetPlayerWeaponData(playa,9,gunsinc[9][playa],ammoo[9][playa]); GetPlayerWeaponData(playa,10,gunsinc[10][playa],ammoo[10][playa]); GetPlayerWeaponData(playa,11,gunsinc[11][playa],ammoo[11][playa]); GetPlayerWeaponData(playa,12,gunsinc[12][playa],ammoo[12][playa]); SpawnPlayer(playa); TempoSinc = SetTimerEx("Sincronizar", 500, 0, "i", playa); roubando[playa] = 0; if(IsPlayerInAnyVehicle(playa)) { vehicledd[playa] = 1; VehicleIDD[playa] = GetPlayerVehicleID(playa); } format(string, sizeof(string), "AdmCmd: %s desbugou %s",PlayerName(playa), giveplayer); printf("%s",string); format(string, sizeof(string), "AdmCmd: %s foi desbugado por %s",PlayerName(playa) ,PlayerName(playerid)); ABroadCast(COLOR_LIGHTRED,string,1); } } } return true; } CMD:bloqueararmas(playerid, params[]) { new tempo, result[64]; if(sscanf(params, "uds[64]", giveplayerid, tempo, result)) return SendClientMessage(playerid, COLOR_GRAD2, "USE: /bloqueararmas [Id/Nick] [Tempo (Em minutos 1 - 999)] [Motivo]"); if(PlayerInfo[playerid][pAdmin] < 1 && PlayerInfo[playerid][pAdminTemp] < 1) return SendClientMessage(playerid, COLOR_GREY, "Voce nao esta autorizado a usar este comando!"); if(IsPlayerConnected(giveplayerid)) { if(!admtrampando[playerid] && PlayerInfo[playerid][pAdmin] < 1342) return SendClientMessage(playerid, COLOR_GRAD1, TRABALHARADM); new string[220], strtempo[12]; new settempo = PlayerInfo[giveplayerid][pArmasb] += tempo*60; if(tempo > -1) format(strtempo, 12, "+%d", tempo); else format(strtempo, 12, "%d", tempo); if(settempo < 0)settempo = 0; if(tempo > 999) return SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce definiu muitos minutos!"); format(string, sizeof(string), "* Voce foi proibido de usar armas pelo admin %s, pelo motivo: %s.", PlayerName(giveplayerid),result); SendClientMessage(giveplayerid, COLOR_LIGHTRED, string); format(string, sizeof(string), "* O admin %s proibiu %s de usar armas por %s minutos, Motivo: %s",PlayerName(playerid), PlayerName(giveplayerid), strtempo, result); SendClientMessageToAll(COLOR_LIGHTRED, string); ResetPlayerWeapons(giveplayerid); PlayerInfo[giveplayerid][pArmasb] = settempo; } return true; } CMD:retiraravisos(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] < 1 && PlayerInfo[playerid][pAdminTemp] < 1) return SendClientMessage(playerid, COLOR_GREY, "Voce nao esta autorizado a usar este comando!"); if(sscanf(params, "u", giveplayerid)) return SendClientMessage(playerid, COLOR_GRAD2, "USE: /retiraravisos [playerid]"); if(IsPlayerConnected(giveplayerid)) { new string[128]; format(string, sizeof(string), "[AVISO]: O admin %s retirou os avisos de %s.",PlayerName(playerid), PlayerName(giveplayerid)); ABroadCast(COLOR_LIGHTRED,string,1); CNFLogs("aviso", string); PlayerInfo[giveplayerid][pWarns] =0; } return true; } CMD:infoadmins(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] < 1 && PlayerInfo[playerid][pAdminTemp] < 1) return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao e um admin!"); ShowAdminList(playerid); return 1; } CMD:infoadminstemp(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] < 1 && PlayerInfo[playerid][pAdminTemp] < 1) return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao e um admin!"); ShowAdminListTemp(playerid); return 1; } CMD:desligarah(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] == 0 && PlayerInfo[playerid][pHelper] == 0) return SendClientMessage(playerid, COLOR_GRAD2, "Voce nao e um Admin!"); if (!cAdminHelperc[playerid]) { cAdminHelperc[playerid] = 1; SendClientMessage(playerid, COLOR_GRAD2, " Chat Admin + Helper Desativado!"); } else if(cAdminHelperc[playerid]) { cAdminHelperc[playerid] = 0; SendClientMessage(playerid, COLOR_GRAD2, " Chat Admin + Helper Ligado"); } return true; } CMD:reclife(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] < 1 && PlayerInfo[playerid][pAdminTemp] < 1) return SendClientMessage(playerid, COLOR_GRAD1, LEVELADM); if(!admtrampando[playerid] && PlayerInfo[playerid][pAdmin] < 1342) return SendClientMessage(playerid, COLOR_GRAD1, TRABALHARADM); new para1; if(sscanf(params, "uf", para1)) return SendClientMessage(playerid, COLOR_GRAD2, "USE: /reclife [ID do Player]"); if(!IsPlayerConnected(para1)) return SendClientMessage(playerid, COLOR_GRAD1, " Player nao conectado"); if(IsPlayerConnected(para1)) { if(para1 != INVALID_PLAYER_ID) { new string[128]; SetPlayerHealth(para1, 100); format(string, 128, "AdmCmd: O admin %s recuperou a vida de %s[ID: %d].",PlayerName(playerid), PlayerName(para1),para1); ABroadCast(0xff6347FF,string,1); CNFLogs("comandosadmin", string); } } return 1; } CMD:togparticular(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] < 1 && PlayerInfo[playerid][pAdminTemp] < 1) return SendClientMessage(playerid, COLOR_GREY, "Voce nao esta autorizado a usar este comando!"); if (HidePM[playerid] == 0) { HidePM[playerid] = 1; SendClientMessage(playerid, COLOR_WHITE, " Mensagens Privadas Desativadas !"); } else if (HidePM[playerid] == 1) { HidePM[playerid] = 0; SendClientMessage(playerid, COLOR_WHITE, " Mensagens Privadas Ativadas !"); } return true; } CMD:rbqall(playerid) { if (!PlayerInfo[playerid][pAdmin]) return SendClientMessage(playerid, COLOR_GREY, "Voce nao e um admin."); new tpt = 0; for(new i; i < 100; i++) { if(BloqueioInfo[i][bqCreated]) { BloqueioInfo[i][bqID]=999; BloqueioInfo[i][bqCreated]=0; DestroyDynamicObject(BloqueioInfo[i][bqObject]); DestroyDynamic3DTextLabel(BloqueioInfo[i][bqText]); tpt = 1; } } if(tpt == 0)return SendClientMessage(playerid, COLOR_GRAD1, "Nenhum bloqueio foi plantado."); new string[128]; format(string, sizeof(string), "AdmCmd: O admin %s removeu todos os bloqueios do servidor.", PlayerName(playerid)); SendClientMessageToAll(0xff6347FF, string); return true; } CMD:tv(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] > 0 || PlayerInfo[playerid][pHelper] > 0 || PlayerInfo[playerid][pAdminTemp] > 0) { if(PlayerInfo[playerid][pAdmin] > 0 || PlayerInfo[playerid][pAdminTemp] > 0) { if(!admtrampando[playerid] && PlayerInfo[playerid][pAdmin] < 1342) return SendClientMessage(playerid, COLOR_GRAD1, TRABALHARADM); } if(WatchingTV[playerid] < 1) { GetPlayerPos(playerid, Unspec[playerid][Coords][0],Unspec[playerid][Coords][1],Unspec[playerid][Coords][2]); } if(Spectate[playerid] == 255 && PlayerInfo[playerid][pAdmin] >= 1) { GetPlayerPos(playerid, Unspec[playerid][sPx], Unspec[playerid][sPy], Unspec[playerid][sPz]); Unspec[playerid][sPint] = PlayerInfo[playerid][pInt]; Unspec[playerid][sLocal] = PlayerInfo[playerid][pLocal]; PlayerInfo[playerid][pLocal] = 255; } if(Spectate[playerid] == 255 && PlayerInfo[playerid][pAdminTemp] >= 1) { GetPlayerPos(playerid, Unspec[playerid][sPx], Unspec[playerid][sPy], Unspec[playerid][sPz]); Unspec[playerid][sPint] = PlayerInfo[playerid][pInt]; Unspec[playerid][sLocal] = PlayerInfo[playerid][pLocal]; PlayerInfo[playerid][pLocal] = 255; } new string[128]; if(sscanf(params, "u", giveplayerid) || strfind(params, "off", true) == 1) { if(WatchingTV[playerid] > 0) { WatchingTV[playerid] = 0; Spectate[playerid] = 253; GameTextForPlayer(playerid, "~w~ TV~n~~r~ Off", 5000, 6); PlayerPlaySound(playerid, 1145, 0.0, 0.0, 0.0); MedicBill[playerid] = 0; PlayerTextDrawHide(playerid, gpss[playerid]); return true; } return SendClientMessage(playerid, COLOR_GREEN, "USE: /tv [ID do Player]"); } if(!IsPlayerConnected(giveplayerid)) return SendClientMessage(playerid, COLOR_GREY, "Jogador Offline."); if(EmTutorial[giveplayerid] >= 1) return SendClientMessage(playerid, COLOR_GREEN, "Este Jogador esta em um tutorial!"); new world3; world3 = GetPlayerVirtualWorld(giveplayerid); if(IsPlayerConnected(giveplayerid)) { if(PlayerInfo[giveplayerid][pAdmin] > 1338 && PlayerInfo[playerid][pAdmin] < 1342) return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao pode ficar de TV em um Admin Dono !"); Spectate[playerid] = giveplayerid; TogglePlayerSpectating(playerid, 1); if(IsPlayerInAnyVehicle(giveplayerid)) { PlayerSpectateVehicle(playerid, GetPlayerVehicleID(giveplayerid)); } else { PlayerSpectatePlayer(playerid, giveplayerid); } SetPlayerInterior(playerid,GetPlayerInterior(giveplayerid)); new Float:health; new Float:plrarmour; GetPlayerHealth(Spectate[playerid], health); GetPlayerArmour(Spectate[playerid], plrarmour); GetPlayerName(Spectate[playerid], giveplayer, sizeof(giveplayer)); new cashd = GetPlayerMoney(Spectate[playerid]); SetPlayerToTeamColor(playerid); SetPlayerVirtualWorld(playerid,world3); format(string, sizeof(string), "INFO TV: (%d) %s R$%d Saúde: %.0f Colete: %.0f",Spectate[playerid],giveplayer,cashd,health,plrarmour); SendClientMessage(playerid, COLOR_GREEN, string); WatchingTV[playerid] = 1; return 1; } } return 1; } CMD:tapa(playerid, params[]) { new playa; if(sscanf(params, "u", playa)) return SendClientMessage(playerid, COLOR_GRAD2, "USE: /tapa [ID do Player]"); new Float:slx, Float:sly, Float:slz; new string[128]; if (PlayerInfo[playerid][pAdmin] >=1 || PlayerInfo[playerid][pAdminTemp] >=1) { if(!admtrampando[playerid] && PlayerInfo[playerid][pAdmin] < 1342) return SendClientMessage(playerid, COLOR_GRAD1, TRABALHARADM); if(PlayerInfo[playa][pAdmin] >= 1340 && PlayerInfo[playerid][pAdmin] <= 1341) return SCM(playerid, COLOR_GRAD1, "Voce nao pode dar tapa em um admin dono."); if(IsPlayerConnected(playa)) { if(playa != INVALID_PLAYER_ID) { GetPlayerPos(playa, slx, sly, slz); SetPlayerPos(playa, slx, sly, slz+15); PlayerPlaySound(playa, 1190, slx, sly, slz+12); printf("AdmCmd: %s deu tapa em %s",sendername, giveplayer); if(admtrampando[playerid] == 1 && admhide[playerid] == 1) { format(string, sizeof(string), "AdmCmd: %s levou um tapa de %s",PlayerName(playa) ,PlayerName(playerid)); } else { format(string, sizeof(string), "AdmCmd: %s levou um tapa de %s",PlayerName(playa) ,PlayerName(playerid)); } ABroadCast(COLOR_LIGHTRED,string,1); CNFLogs("comandosadmin", string); } } } return true; } CMD:pm(playerid, params[])return ForT:par(playerid, params); CMD:par(playerid, params[]) { new result[128], string[200]; if(sscanf(params, "us[128]", giveplayerid, result)) return SendClientMessage(playerid, COLOR_GRAD2, "USE: (/par)ticular [ID do Player] [texto]"); if(!IsPlayerConnected(giveplayerid)) return SendClientMessage(playerid, COLOR_GRAD2, "Jogador offline!"); if(!IsAStaff(giveplayerid)) return SendClientMessage(playerid, COLOR_GREY, "O player que voce digitou nao e admin ou Helper!"); if (IsPlayerConnected(giveplayerid)) { if(HidePM[giveplayerid] > 0) return SendClientMessage(playerid, COLOR_GREY, " Esse player Bloqueou Particulares!"); if(AFK[giveplayerid] == 1) return SendClientMessage(playerid,COLOR_GRAD2,"Este Administrador esta Ausente no momento chame outro via /relatorio!"); if(gettime() < GetPVarInt(playerid, #VarFlood5) && PlayerInfo[playerid][pAdmin] < 1338) return SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Impossivel usar este comando com tanta frequencia."); SetPVarInt(playerid, #VarFlood5, gettime()+2); if(giveplayerid == playerid) { format(string, sizeof(string), "* %s reclama algo.", PlayerName(playerid)); SendClientMessageInRange(5.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); } if(PlayerInfo[playerid][pAdmin] > 0 || PlayerInfo[playerid][pAdminTemp] > 0) { format(string, sizeof(string), "Admin: %s(ID: %d) particular: %s", PlayerName(playerid), playerid, (result)); SendClientMessage(giveplayerid, COLOR_YELLOW, string); format(string, sizeof(string), "Admin: %s para %s: %s", PlayerName(playerid), PlayerName(giveplayerid), (result)); CNFLogs("particulares", string); } else if(helpertrampando[playerid] == 1) { format(string, sizeof(string), "Helper: %s(ID: %d) particular: %s", PlayerName(playerid), playerid, (result)); SendClientMessage(giveplayerid, COLOR_YELLOW, string); format(string, sizeof(string), "Helper: %s para %s: %s", PlayerName(playerid), PlayerName(giveplayerid), (result)); CNFLogs("particulares", string); } else { format(string, sizeof(string), "%s(ID: %d) particular: %s", PlayerName(playerid), playerid, (result)); SendClientMessage(giveplayerid, COLOR_YELLOW, string); format(string, sizeof(string), "Player: %s para %s: %s", PlayerName(playerid), PlayerName(giveplayerid), (result)); CNFLogs("particulares", string); } foreach(Player, adm) { if(VerPar[adm] && PlayerInfo[adm][pAdmin] > 0) { format(string, sizeof string, "[PARTICULAR]: %s[ID: %d] para %s[ID: %d]: %s", NomePlayer(playerid),playerid, NomePlayer(giveplayerid),giveplayerid, result); SendClientMessage(adm, COLOR_YELLOW, string); } } if(Ocupado[giveplayerid] > 0) { format(string, sizeof(string), "» Particular para (%s): %s", NomePlayer(giveplayerid), (result)); SendClientMessage(playerid, COLOR_YELLOW, string); format(string, sizeof(string), "Admin: %s(ID: %d) particular: Ola %s! Estou ocupado no momento, quando eu estiver disponivel lhe enviarei um particular!",giveplayer, giveplayerid,sendername); SendClientMessage(playerid, COLOR_YELLOW, string); return true; } print(string); format(string, sizeof(string), "» Particular para (%s): %s", NomePlayer(giveplayerid), (result)); SendClientMessage(playerid, COLOR_YELLOW, string); return true; } else { SendClientMessage(playerid, COLOR_GRAD1, " Esse player esta off-line."); } return true; } stock Atualizar3DVeiculo(carid) { new string[256]; DestroyDynamic3DTextLabel(CarInfo[carid][cText]); format(string, sizeof string, "CNF {E0FFFF}Carro VIP{FFFFFF}\nDono: {E0FFFF}%s", CarInfo[carid][cOwner], CarInfo[carid][cDescription]); CarInfo[carid][cText] = Create3DTextLabel(string, 0xFFFFFFFF, 0.0, 0.0, 0.0, 10.0, 0); return 1; } stock SerialPlayerHD(playerid) { new PlayerSerial[100]; gpci(playerid, PlayerSerial, sizeof PlayerSerial); return PlayerSerial; } forward PlayerSerialBanido(playerid); public PlayerSerialBanido(playerid) { new PlayerSerial[100],arquivo[64]; gpci(playerid, PlayerSerial, sizeof PlayerSerial); format(arquivo, sizeof(arquivo), "SeriaisBanidos/%s.ini",PlayerSerial); if(DOF2_FileExists(arquivo)) return 1; return false; } forward BanXiter(playerid, motivo[], admin[],serialban[]); public BanXiter(playerid, motivo[], admin[],serialban[]) { new arquivo[64], tmp[20], tmp2[20],playerip[32]; GetPlayerIp(playerid,playerip,32); format(arquivo, sizeof(arquivo), "SeriaisBanidos/%s.ini",serialban); getdate(Ano, Mes, Dia); format(tmp, 20, "%d/%d/%d", Dia, Mes, Ano); gettime(Hora, Minuto, Segundo); format(tmp2, 20, "%d:%d:%d", Hora, Minuto, Segundo); if(DOF2_FileExists(arquivo)) { BanCNF(playerid); } else { DOF2_CreateFile(arquivo); DOF2_SetString(arquivo,"Nick",PlayerName(playerid)); DOF2_SetString(arquivo,"Motivo",playerip); DOF2_SetString(arquivo,"Motivo",motivo); DOF2_SetString(arquivo,"Admin",admin); DOF2_SetString(arquivo,"Data",tmp); DOF2_SetString(arquivo,"Hora",tmp2); BanCNF(playerid); } return 1; } // ========== SISTEMA ANTI-BOTS =========== // public OnIncomingConnection(playerid, ip_address[], port) { new count = 1; for(new i = 0, j = GetPlayerPoolSize(); i <= j; i++) { if(IsPlayerConnected(i) && !strcmp(GetPlayerIP(i), ip_address, true)) { count++; } } if(count > MAX_IP_CONNECTS) { KickCNF(playerid); } return true; } stock GetPlayerIP(playerid) { new ip[39]; GetPlayerIp(playerid, ip, sizeof(ip)); return ip; } // ====================== Sistema area Safe ======================= // forward TextAreaProtegida(); public TextAreaProtegida() { foreach(Player,i) { if(IsPlayerConnected(i) && PlayerLogado[i] == 1) { if(IsPlayerInRC(i)) { if(!entrouAreaProtegida[i]) { entrouAreaProtegida[i] = true; new Float:vervidao; GetPlayerHealth(i, vervidao); VidaForaAP[i] = vervidao; SetPlayerHealth(i, 9999999*9999999); SendClientMessage(i, 0x00FFFFFF, "» | Info-CNF | • Voce esta na area safe!"); } TextDrawShowForPlayer(i, AntSpawn0); TextDrawShowForPlayer(i, AntSpawn1); TextDrawShowForPlayer(i, AntSpawn2); } else { if(entrouAreaProtegida[i]) { if(VidaForaAP[i] < 1) { SetPlayerHealth(i, 100); } else { SetPlayerHealth(i, VidaForaAP[i]); } entrouAreaProtegida[i] = false; SendClientMessage(i, 0x00FFFFFF, "» | Info-CNF | • Voce saiu da area safe!"); } TextDrawHideForPlayer(i, AntSpawn0); TextDrawHideForPlayer(i, AntSpawn1); TextDrawHideForPlayer(i, AntSpawn2); } } } } CarregarNovaAgencia() { new PartC[37], Pilares[13], janela[11], PartB[10], Piso[13], Teto[22], Estacionamento[22], Pilar[9], Muro[13], Cadeira[8]; //Agencia de empregos PartC[0]= CreateDynamicObject(19435, 939.43359, -1728.63135, 14.26530, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); PartC[1]= CreateDynamicObject(19435, 939.43359, -1729.57361, 16.80170, 90.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); PartC[2]= CreateDynamicObject(19435, 939.43359, -1733.05444, 16.80170, 90.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); PartC[3]= CreateDynamicObject(19435, 939.43359, -1736.53357, 16.80170, 90.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); PartC[4]= CreateDynamicObject(19435, 939.43359, -1739.99463, 16.80170, 90.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); PartC[5]= CreateDynamicObject(19435, 939.43359, -1743.48352, 16.80170, 90.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); PartC[6]= CreateDynamicObject(19435, 939.43359, -1746.96619, 16.80170, 90.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); PartC[7]= CreateDynamicObject(19435, 939.43359, -1750.45239, 16.80170, 90.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); PartC[8]= CreateDynamicObject(19435, 939.43359, -1753.93091, 16.80170, 90.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); PartC[9]= CreateDynamicObject(19435, 939.43359, -1757.41541, 16.80170, 90.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); PartC[10]= CreateDynamicObject(19435, 939.44568, -1759.97644, 14.26530, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); PartC[11]= CreateDynamicObject(19435, 939.44568, -1759.02026, 16.80170, 90.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); PartC[12]= CreateDynamicObject(19435, 941.09082, -1761.05432, 16.80170, 90.00000, 0.00000, 79.12300, -1, -1, -1, 300.000, 300.000); PartC[13]= CreateDynamicObject(19435, 944.44916, -1761.70361, 16.80170, 90.00000, 0.00000, 79.12300, -1, -1, -1, 300.000, 300.000); PartC[14]= CreateDynamicObject(19435, 947.76849, -1762.37085, 16.80170, 90.00000, 0.00000, 79.12300, -1, -1, -1, 300.000, 300.000); PartC[15]= CreateDynamicObject(19435, 951.14343, -1763.01819, 16.80170, 90.00000, 0.00000, 79.12300, -1, -1, -1, 300.000, 300.000); PartC[16]= CreateDynamicObject(19435, 954.49213, -1763.66614, 16.80170, 90.00000, 0.00000, 79.12300, -1, -1, -1, 300.000, 300.000); PartC[17]= CreateDynamicObject(19435, 957.76740, -1764.29248, 16.80170, 90.00000, 0.00000, 79.12300, -1, -1, -1, 300.000, 300.000); PartC[18]= CreateDynamicObject(19435, 958.87170, -1764.49585, 16.80170, 90.00000, 0.00000, 79.12300, -1, -1, -1, 300.000, 300.000); PartC[19]= CreateDynamicObject(19435, 941.23370, -1727.92175, 16.80170, 90.00000, 0.00000, 90.00000, -1, -1, -1, 300.000, 300.000); PartC[20]= CreateDynamicObject(19435, 944.71710, -1727.90771, 16.80170, 90.00000, 0.00000, 90.00000, -1, -1, -1, 300.000, 300.000); PartC[21]= CreateDynamicObject(19435, 948.16077, -1727.92468, 16.80170, 90.00000, 0.00000, 90.00000, -1, -1, -1, 300.000, 300.000); PartC[22]= CreateDynamicObject(19435, 951.64545, -1727.92371, 16.80170, 90.00000, 0.00000, 90.00000, -1, -1, -1, 300.000, 300.000); PartC[23]= CreateDynamicObject(19435, 955.10571, -1727.92737, 16.80170, 90.00000, 0.00000, 90.00000, -1, -1, -1, 300.000, 300.000); PartC[24]= CreateDynamicObject(19435, 958.56238, -1727.92200, 16.80170, 90.00000, 0.00000, 90.00000, -1, -1, -1, 300.000, 300.000); PartC[25]= CreateDynamicObject(19435, 958.88538, -1727.92175, 16.80170, 90.00000, 0.00000, 90.00000, -1, -1, -1, 300.000, 300.000); PartC[26]= CreateDynamicObject(19435, 960.53790, -1729.73132, 16.80170, 90.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); PartC[27]= CreateDynamicObject(19435, 960.53790, -1733.21277, 16.80170, 90.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); PartC[28]= CreateDynamicObject(19435, 960.53790, -1736.69275, 16.80170, 90.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); PartC[29]= CreateDynamicObject(19435, 960.53790, -1740.13269, 16.80170, 90.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); PartC[30]= CreateDynamicObject(19435, 960.53790, -1743.59265, 16.80170, 90.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); PartC[31]= CreateDynamicObject(19435, 960.53790, -1747.05273, 16.80170, 90.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); PartC[32]= CreateDynamicObject(19435, 960.53790, -1750.53284, 16.80170, 90.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); PartC[33]= CreateDynamicObject(19435, 960.53790, -1754.02002, 16.80170, 90.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); PartC[34]= CreateDynamicObject(19435, 960.53790, -1757.47986, 16.80170, 90.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); PartC[35]= CreateDynamicObject(19435, 960.53790, -1760.94165, 16.80170, 90.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); PartC[36]= CreateDynamicObject(19435, 960.51788, -1763.12622, 16.80170, 90.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); Pilares[0]= CreateDynamicObject(18762, 939.79321, -1736.51965, 15.07850, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); Pilares[1]= CreateDynamicObject(18762, 939.79498, -1737.46680, 15.07850, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); Pilares[2]= CreateDynamicObject(18762, 939.24127, -1736.99365, 15.05850, 0.00000, 10.00000, 0.00000, -1, -1, -1, 300.000, 300.000); Pilares[3]= CreateDynamicObject(18762, 938.96667, -1740.00134, 17.09320, 90.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); Pilares[4]= CreateDynamicObject(18762, 937.97241, -1740.00134, 17.09320, 90.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); Pilares[5]= CreateDynamicObject(18762, 938.90552, -1748.80029, 17.09320, 90.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); Pilares[6]= CreateDynamicObject(18762, 939.24127, -1751.79480, 15.05850, 0.00000, 10.00000, 0.00000, -1, -1, -1, 300.000, 300.000); Pilares[7]= CreateDynamicObject(18762, 939.79828, -1751.32544, 15.05850, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); Pilares[8]= CreateDynamicObject(18762, 939.80139, -1752.30469, 15.05850, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); Pilares[9]= CreateDynamicObject(18762, 938.91083, -1744.10095, 17.09300, 90.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); Pilares[10]= CreateDynamicObject(18762, 937.97241, -1744.96985, 17.09320, 90.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); Pilares[11]= CreateDynamicObject(18762, 937.97241, -1748.80322, 17.09360, 90.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); Pilares[12]= CreateDynamicObject(18762, 939.79321, -1736.51965, 10.14692, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); janela[0]= CreateDynamicObject(19089, 939.36151, -1739.47156, 15.96470, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); janela[1]= CreateDynamicObject(19089, 939.40149, -173.47160, 15.96470, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); janela[2]= CreateDynamicObject(19089, 939.36151, -1741.04163, 15.96470, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); janela[3]= CreateDynamicObject(19089, 939.38684, -1747.82568, 15.96470, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); janela[4]= CreateDynamicObject(19089, 939.39032, -1749.33801, 15.96470, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); janela[5]= CreateDynamicObject(2920, 939.34930, -1742.72534, 8.93880, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); janela[6]= CreateDynamicObject(2920, 939.34930, -1742.92529, 8.93880, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); janela[7]= CreateDynamicObject(2920, 939.37091, -1746.27405, 8.93880, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); janela[8]= CreateDynamicObject(2920, 939.35089, -1746.09412, 8.93880, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); janela[9]= CreateDynamicObject(19466, 939.35358, -1744.13245, 16.11250, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); janela[10]= CreateDynamicObject(19466, 939.34949, -1745.20251, 16.09250, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); PartB[0]= CreateDynamicObject(19447, 950.38397, -1727.89929, 14.27350, 0.00000, 0.00000, 90.00000, -1, -1, -1, 300.000, 300.000); PartB[1]= CreateDynamicObject(19447, 944.33447, -1727.90491, 14.27350, 0.00000, 0.00000, 90.00000, -1, -1, -1, 300.000, 300.000); PartB[2]= CreateDynamicObject(19447, 955.92230, -1763.91406, 14.27350, 0.00000, 0.00000, 79.12296, -1, -1, -1, 300.000, 300.000); PartB[3]= CreateDynamicObject(19447, 944.10291, -1761.60059, 14.27350, 0.00000, 0.00000, 79.12300, -1, -1, -1, 300.000, 300.000); PartB[4]= CreateDynamicObject(19447, 949.44910, -1762.61230, 14.27350, 0.00000, 0.00000, 79.12300, -1, -1, -1, 300.000, 300.000); PartB[5]= CreateDynamicObject(19447, 960.54657, -1750.35376, 14.27350, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); PartB[6]= CreateDynamicObject(19447, 960.54657, -1740.82581, 14.27350, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); PartB[7]= CreateDynamicObject(19447, 960.52661, -1732.65906, 14.27350, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); PartB[8]= CreateDynamicObject(19447, 960.55072, -1759.88074, 14.27350, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); PartB[9]= CreateDynamicObject(19447, 955.77026, -1727.90698, 14.27350, 0.00000, 0.00000, 90.00000, -1, -1, -1, 300.000, 300.000); Piso[0]= CreateDynamicObject(19381, 944.66888, -1740.90564, 12.53590, 0.00000, 90.00000, 0.00000, -1, -1, -1, 200.000, 200.000); Piso[1]= CreateDynamicObject(19381, 955.19678, -1740.90967, 12.53510, 0.00000, 90.00000, 0.00000, -1, -1, -1, 200.000, 200.000); Piso[2]= CreateDynamicObject(19381, 944.64441, -1732.66455, 12.53510, 0.00000, 90.00000, 0.00000, -1, -1, -1, 200.000, 200.000); Piso[3]= CreateDynamicObject(19381, 955.11731, -1732.64233, 12.53590, 0.00000, 90.00000, 0.00000, -1, -1, -1, 200.000, 200.000); Piso[4]= CreateDynamicObject(19381, 944.65021, -1750.51367, 12.53590, 0.00000, 90.00000, 0.00000, -1, -1, -1, 200.000, 200.000); Piso[5]= CreateDynamicObject(19381, 955.13721, -1750.52466, 12.53690, 0.00000, 90.00000, 0.00000, -1, -1, -1, 200.000, 200.000); Piso[6]= CreateDynamicObject(19381, 945.66138, -1757.03955, 12.53500, 0.00000, 90.00000, 348.81781, -1, -1, -1, 200.000, 200.000); Piso[7]= CreateDynamicObject(19381, 955.93579, -1758.91443, 12.53500, 0.00000, 90.00000, 348.81781, -1, -1, -1, 200.000, 200.000); Piso[8]= CreateDynamicObject(19381, 956.44781, -1759.04919, 12.53590, 0.00000, 90.00000, 348.81781, -1, -1, -1, 200.000, 200.000); Piso[9]= CreateDynamicObject(19381, 965.57501, -1732.65674, 12.53590, 0.00000, 90.00000, 0.00000, -1, -1, -1, 200.000, 200.000); Piso[10]= CreateDynamicObject(19373, 941.17242, -1756.50684, 12.53110, 0.00000, 90.00000, 0.00000, -1, -1, -1, 200.000, 200.000); Piso[11]= CreateDynamicObject(19381, 964.70148, -1749.48645, 12.52660, 0.00000, 90.00000, 11.60710, -1, -1, -1, 200.000, 200.000); Piso[12]= CreateDynamicObject(19373, 941.11810, -1759.12305, 12.53190, 0.00000, 90.00000, 0.00000, -1, -1, -1, 200.000, 200.000); Teto[0]= CreateDynamicObject(19381, 944.64441, -1732.66455, 17.53410, 0.00000, 90.00000, 0.00000, -1, -1, -1, 300.000, 300.000); Teto[1]= CreateDynamicObject(19381, 944.64441, -1732.66455, 17.53410, 0.00000, 90.00000, 0.00000, -1, -1, -1, 300.000, 300.000); Teto[2]= CreateDynamicObject(19381, 955.11731, -1732.66235, 17.53410, 0.00000, 90.00000, 0.00000, -1, -1, -1, 300.000, 300.000); Teto[3]= CreateDynamicObject(19381, 955.19678, -1740.90967, 17.55410, 0.00000, 90.00000, 0.00000, -1, -1, -1, 300.000, 300.000); Teto[4]= CreateDynamicObject(19381, 944.72888, -1740.90564, 17.53410, 0.00000, 90.00000, 0.00000, -1, -1, -1, 300.000, 300.000); Teto[5]= CreateDynamicObject(19381, 944.65021, -1750.51367, 17.53410, 0.00000, 90.00000, 0.00000, -1, -1, -1, 300.000, 300.000); Teto[6]= CreateDynamicObject(19381, 955.13721, -1750.52466, 17.53410, 0.00000, 90.00000, 0.00000, -1, -1, -1, 300.000, 300.000); Teto[7]= CreateDynamicObject(19381, 946.24890, -1757.05481, 17.53490, 0.00000, 90.00000, 348.81781, -1, -1, -1, 300.000, 300.000); Teto[8]= CreateDynamicObject(19373, 941.17242, -1756.50684, 17.53410, 0.00000, 90.00000, 0.00000, -1, -1, -1, 300.000, 300.000); Teto[9]= CreateDynamicObject(19373, 941.13812, -1759.12305, 17.53450, 0.00000, 90.00000, 0.00000, -1, -1, -1, 300.000, 300.000); Teto[10]= CreateDynamicObject(19381, 955.31372, -1757.87036, 17.51410, 0.00000, 90.00000, 0.00000, -1, -1, -1, 300.000, 300.000); Teto[11]= CreateDynamicObject(19373, 952.21582, -1761.35522, 17.49450, 0.00000, 90.00000, 79.12300, -1, -1, -1, 300.000, 300.000); Teto[12]= CreateDynamicObject(19373, 955.14752, -1762.00049, 17.49450, 0.00000, 90.00000, 79.12300, -1, -1, -1, 300.000, 300.000); Teto[13]= CreateDynamicObject(19373, 958.23175, -1762.59229, 17.49450, 0.00000, 90.00000, 79.12300, -1, -1, -1, 300.000, 300.000); Teto[14]= CreateDynamicObject(19425, 960.15466, -1763.06641, 17.60110, -180.00000, 0.00000, 90.00000, -1, -1, -1, 300.000, 300.000); Teto[15]= CreateDynamicObject(19425, 959.61530, -1763.02979, 17.60110, -180.00000, 0.00000, 90.00000, -1, -1, -1, 300.000, 300.000); Teto[16]= CreateDynamicObject(19425, 960.27338, -1751.54736, 17.60140, 180.00000, 0.00000, 90.00000, -1, -1, -1, 300.000, 300.000); Teto[17]= CreateDynamicObject(19425, 960.27521, -1748.34631, 17.60140, 180.00000, 0.00000, 90.00000, -1, -1, -1, 300.000, 300.000); Teto[18]= CreateDynamicObject(19425, 960.31812, -1745.18372, 17.60140, 180.00000, 0.00000, 90.00000, -1, -1, -1, 300.000, 300.000); Teto[19]= CreateDynamicObject(19425, 960.33563, -1734.85156, 17.60140, 180.00000, 0.00000, 90.00000, -1, -1, -1, 300.000, 300.000); Teto[20]= CreateDynamicObject(19425, 960.29932, -1731.56519, 17.60140, 180.00000, 0.00000, 90.00000, -1, -1, -1, 300.000, 300.000); Teto[21]= CreateDynamicObject(19425, 960.17450, -1729.52051, 17.60140, 180.00000, 0.00000, 90.00000, -1, -1, -1, 300.000, 300.000); Estacionamento[0]= CreateDynamicObject(18765, 965.57471, -1731.85315, 10.47510, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); Estacionamento[1]= CreateDynamicObject(18765, 967.85968, -1741.83057, 10.47550, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); Estacionamento[2]= CreateDynamicObject(18765, 967.86078, -1731.85864, 10.47590, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); Estacionamento[3]= CreateDynamicObject(18765, 967.87262, -1747.17163, 10.47600, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); Estacionamento[4]= CreateDynamicObject(18765, 965.57471, -1741.83057, 10.47590, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); Estacionamento[5]= CreateDynamicObject(18765, 965.57471, -1747.17163, 10.47510, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); Estacionamento[6]= CreateDynamicObject(18765, 967.92572, -1756.72644, 10.47510, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); Estacionamento[7]= CreateDynamicObject(18765, 967.91779, -1760.26685, 10.47510, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); Estacionamento[8]= CreateDynamicObject(18765, 965.64862, -1759.72498, 10.45510, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); Estacionamento[9]= CreateDynamicObject(18765, 965.57037, -1756.54773, 10.47550, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); Estacionamento[10]= CreateDynamicObject(18765, 966.09418, -1760.49194, 10.45510, 0.00000, 0.00000, 353.09509, -1, -1, -1, 300.000, 300.000); Estacionamento[11]= CreateDynamicObject(18765, 965.58530, -1722.67786, 9.35870, -14.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); Estacionamento[12]= CreateDynamicObject(18765, 967.26459, -1722.67371, 9.35870, -14.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); Estacionamento[13]= CreateDynamicObject(18765, 956.51111, -1722.89661, 10.06377, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); Estacionamento[14]= CreateDynamicObject(18765, 946.56006, -1722.89648, 10.06377, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); Estacionamento[15]= CreateDynamicObject(18765, 936.70538, -1722.92236, 10.06377, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); Estacionamento[16]= CreateDynamicObject(18765, 932.29681, -1722.91504, 10.08380, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); Estacionamento[17]= CreateDynamicObject(18765, 966.47955, -1722.91272, 10.06377, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); Estacionamento[18]= CreateDynamicObject(18765, 968.24823, -1722.90625, 10.08380, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); Estacionamento[19]= CreateDynamicObject(18762, 970.46222, -1765.23389, 12.50020, 90.00000, 0.00000, 79.12300, -1, -1, -1, 300.000, 300.000); Estacionamento[20]= CreateDynamicObject(18762, 970.45758, -1766.16455, 12.50020, 90.00000, 0.00000, 79.12300, -1, -1, -1, 300.000, 300.000); Estacionamento[21]= CreateDynamicObject(18762, 965.61829, -1765.27979, 12.50020, 90.00000, 0.00000, 79.12300, -1, -1, -1, 300.000, 300.000); Pilar[0]= CreateDynamicObject(18762, 972.75848, -1766.72034, 11.79660, 0.00000, 0.00000, -5.92700, -1, -1, -1, 300.000, 300.000); Pilar[1]= CreateDynamicObject(18762, 972.75848, -1727.14783, 11.79660, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); Pilar[2]= CreateDynamicObject(18762, 972.75848, -1753.64429, 11.79660, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); Pilar[3]= CreateDynamicObject(18762, 972.75848, -1740.42529, 11.79660, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); Pilar[4]= CreateDynamicObject(18762, 972.77008, -1727.74963, 11.79660, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); Pilar[5]= CreateDynamicObject(18762, 972.76453, -1718.06152, 11.79660, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); Pilar[6]= CreateDynamicObject(18762, 960.42932, -1718.06152, 11.79660, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); Pilar[7]= CreateDynamicObject(18762, 945.96100, -1718.06152, 11.79660, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); Pilar[8]= CreateDynamicObject(18762, 927.76923, -1718.06152, 11.79660, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); Muro[0]= CreateDynamicObject(19448, 965.22260, -1765.63855, 12.45960, 0.00000, 0.00000, 79.12300, -1, -1, -1, 300.000, 300.000); Muro[1]= CreateDynamicObject(19448, 968.16913, -1766.18713, 12.45960, 0.00000, 0.00000, 79.12300, -1, -1, -1, 300.000, 300.000); Muro[2]= CreateDynamicObject(19448, 972.91351, -1762.40576, 12.45960, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); Muro[3]= CreateDynamicObject(19448, 972.92401, -1757.03796, 12.45960, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); Muro[4]= CreateDynamicObject(19448, 972.91937, -1747.54395, 12.45960, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); Muro[5]= CreateDynamicObject(19448, 972.91937, -1738.12634, 12.45960, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); Muro[6]= CreateDynamicObject(19448, 972.93799, -1731.69214, 12.45960, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); Muro[7]= CreateDynamicObject(19448, 973.11298, -1723.42419, 11.76350, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); Muro[8]= CreateDynamicObject(19448, 967.87219, -1717.98145, 11.76350, 0.00000, 0.00000, 90.00000, -1, -1, -1, 300.000, 300.000); Muro[9]= CreateDynamicObject(19448, 958.30341, -1717.98145, 11.76350, 0.00000, 0.00000, 90.00000, -1, -1, -1, 300.000, 300.000); Muro[10]= CreateDynamicObject(19448, 948.69800, -1717.98145, 11.76350, 0.00000, 0.00000, 90.00000, -1, -1, -1, 300.000, 300.000); Muro[11]= CreateDynamicObject(19448, 939.08917, -1718.00134, 11.76350, 0.00000, 0.00000, 90.00000, -1, -1, -1, 300.000, 300.000); Muro[12]= CreateDynamicObject(19448, 932.09637, -1717.98145, 11.76350, 0.00000, 0.00000, 90.00000, -1, -1, -1, 300.000, 300.000); Cadeira[0]= CreateDynamicObject(1722, 939.76599, -1746.74915, 12.64190, 0.00000, 0.00000, 270.00000, -1, -1, -1, 150.000, 150.000); Cadeira[1]= CreateDynamicObject(1722, 939.80280, -1747.56848, 12.64190, 0.00000, 0.00000, 270.00000, -1, -1, -1, 150.000, 150.000); Cadeira[2]= CreateDynamicObject(1722, 939.76599, -1741.96631, 12.64190, 0.00000, 0.00000, 270.00000, -1, -1, -1, 150.000, 150.000); Cadeira[3]= CreateDynamicObject(1722, 939.76599, -1741.12720, 12.64190, 0.00000, 0.00000, 270.00000, -1, -1, -1, 150.000, 150.000); Cadeira[4]= CreateDynamicObject(1722, 944.76910, -1737.01477, 12.62340, 0.00000, 0.00000, 0.00000, -1, -1, -1, 150.000, 150.000); Cadeira[5]= CreateDynamicObject(1722, 940.88757, -1737.01477, 12.62340, 0.00000, 0.00000, 0.00000, -1, -1, -1, 150.000, 150.000); Cadeira[6]= CreateDynamicObject(1722, 945.69647, -1733.01575, 12.62340, 0.00000, 0.00000, 0.00000, -1, -1, -1, 150.000, 150.000); Cadeira[7]= CreateDynamicObject(1722, 942.01752, -1733.01575, 12.62340, 0.00000, 0.00000, 0.00000, -1, -1, -1, 150.000, 150.000); CreateDynamicObject(19449, 972.93939, -1747.54395, 11.76860, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(19449, 972.93939, -1738.12634, 11.76940, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(19449, 972.93909, -1731.69885, 11.75990, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(19325, 939.38092, -1732.67432, 13.86495, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(19325, 939.35681, -1739.73315, 13.86500, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(19325, 939.38928, -1749.51282, 13.86500, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(19325, 939.43158, -1756.05225, 13.86500, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(19354, 939.44043, -1744.58093, 10.86000, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(2412, 939.56293, -1745.81763, 12.66290, 0.00000, 0.00000, 90.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(2412, 939.56293, -1742.54602, 12.64290, 0.00000, 0.00000, 90.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(19449, 972.94397, -1757.03796, 11.76860, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(19449, 972.93347, -1762.40576, 11.76860, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(19449, 965.22260, -1765.67847, 11.76860, 0.00000, 0.00000, 79.12300, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(19449, 968.14911, -1766.22705, 11.74860, 0.00000, 0.00000, 79.12300, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(1897, 939.46820, -1755.86255, 12.65570, 0.00000, 180.00000, 90.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(1897, 939.47449, -1755.88245, 14.88520, 0.00000, 0.00000, 90.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(1897, 939.47211, -1729.50208, 14.88520, 0.00000, 0.00000, 90.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(1897, 939.47968, -1729.47998, 12.65570, 0.00000, 180.00000, 90.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(1897, 939.45642, -1730.65930, 15.94340, 0.00000, 90.00000, 90.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(1897, 939.45642, -1732.87842, 15.94340, 0.00000, 90.00000, 90.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(1897, 939.45642, -1735.10010, 15.94340, 0.00000, 90.00000, 90.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(1897, 939.47278, -1732.66785, 14.88520, 0.00000, 0.00000, 90.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(1897, 939.49280, -1729.47998, 12.65570, 0.00000, 180.00000, 90.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(1897, 939.45972, -1732.64783, 12.65570, 0.00000, 180.00000, 90.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(1897, 939.45581, -1735.96936, 14.86520, 0.00000, 0.00000, 90.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(1897, 939.45972, -1735.94934, 12.65570, 0.00000, 180.00000, 90.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(1897, 939.45642, -1734.90015, 12.59710, 0.00000, 90.00000, 90.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(1897, 939.45642, -1732.87842, 12.59710, 0.00000, 90.00000, 90.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(1897, 939.45642, -1730.65930, 12.59710, 0.00000, 90.00000, 90.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(1897, 939.45972, -1738.02100, 12.65570, 0.00000, 180.00000, 90.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(1897, 939.47211, -1738.04102, 14.88520, 0.00000, 0.00000, 90.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(1897, 939.47809, -1739.19910, 15.95360, 0.00000, 90.00000, 90.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(1897, 939.47662, -1741.42310, 15.95360, 0.00000, 90.00000, 90.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(1897, 939.47809, -1739.19910, 12.59710, 0.00000, 90.00000, 90.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(1897, 939.47662, -1741.42310, 12.59710, 0.00000, 90.00000, 90.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(1897, 939.47449, -1742.56274, 14.88520, 0.00000, 0.00000, 90.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(1897, 939.46820, -1742.54272, 12.65570, 0.00000, 180.00000, 90.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(1897, 939.47662, -1749.75439, 12.59710, 0.00000, 90.00000, 90.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(1897, 939.48419, -1747.53455, 12.59710, 0.00000, 90.00000, 90.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(1897, 939.46820, -1746.46265, 12.65570, 0.00000, 180.00000, 90.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(1897, 939.47449, -1746.48267, 14.88520, 0.00000, 0.00000, 90.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(1897, 939.48419, -1747.53455, 15.95270, 0.00000, 90.00000, 90.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(1897, 939.47662, -1749.75439, 15.94390, 0.00000, 90.00000, 90.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(1897, 939.47449, -1750.78271, 14.88520, 0.00000, 0.00000, 90.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(1897, 939.46820, -1750.76257, 12.65570, 0.00000, 180.00000, 90.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(1897, 939.47662, -1753.89673, 12.59710, 0.00000, 90.00000, 90.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(1897, 939.47662, -1756.11670, 12.59710, 0.00000, 90.00000, 90.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(1897, 939.47662, -1758.05664, 12.59710, 0.00000, 90.00000, 90.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(1897, 939.47662, -1758.05664, 15.94390, 0.00000, 90.00000, 90.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(1897, 939.47662, -1756.11670, 15.94390, 0.00000, 90.00000, 90.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(1897, 939.47662, -1753.89673, 15.94390, 0.00000, 90.00000, 90.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(1897, 939.46820, -1752.86255, 12.65570, 0.00000, 180.00000, 90.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(1897, 939.47449, -1752.88245, 14.88520, 0.00000, 0.00000, 90.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(1897, 939.46820, -1759.10254, 12.65570, 0.00000, 180.00000, 90.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(1897, 939.47449, -1759.13245, 14.88520, 0.00000, 0.00000, 90.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(19450, 944.19379, -1750.79175, 10.89020, 0.00000, 0.00000, 90.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(19450, 945.09692, -1750.79846, 10.89050, 0.00000, 0.00000, 90.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(19450, 949.83350, -1746.06787, 10.91050, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(19450, 949.83447, -1742.75830, 10.91050, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(19450, 953.80481, -1738.04053, 10.91050, 0.00000, 0.00000, 90.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(19450, 944.18719, -1738.03186, 10.91050, 0.00000, 0.00000, 90.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(2165, 941.75348, -1735.57751, 12.61840, 0.00000, 0.00000, 180.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(2165, 945.51575, -1735.59851, 12.61840, 0.00000, 0.00000, 180.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(2165, 945.51569, -1731.75391, 12.61840, 0.00000, 0.00000, 180.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(2165, 941.75348, -1731.75391, 12.61840, 0.00000, 0.00000, 180.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(1715, 945.24634, -1730.51721, 12.62185, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(1715, 941.38647, -1730.57678, 12.62185, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(1715, 941.44318, -1734.51685, 12.62185, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(1715, 944.85840, -1734.59180, 12.62185, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(2161, 944.55890, -1728.00354, 12.62130, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(2161, 940.68817, -1728.00354, 12.62130, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(2202, 945.81995, -1728.38672, 12.62070, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(2202, 942.05560, -1728.30164, 12.62070, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(19465, 942.41309, -1737.83044, 15.01830, 0.00000, 0.00000, 90.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(19464, 946.95520, -1737.82129, 15.01830, 0.00000, 0.00000, 90.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(19464, 949.82098, -1734.97644, 15.01830, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(19464, 949.82080, -1730.84167, 15.01830, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(19465, 943.18213, -1750.95496, 15.01930, 0.00000, 0.00000, 90.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(19465, 946.96753, -1750.95593, 15.01830, 0.00000, 0.00000, 90.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(19464, 952.58423, -1753.80066, 15.01830, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(19464, 952.57355, -1759.66309, 15.01830, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(19464, 945.03259, -1758.70032, 15.01830, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(19464, 945.02112, -1754.00452, 15.01830, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(19464, 952.78839, -1750.95984, 15.01830, 0.00000, 0.00000, 90.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(19464, 957.47614, -1750.95715, 15.01830, 0.00000, 0.00000, 90.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(19464, 952.81439, -1737.83081, 15.01830, 0.00000, 0.00000, 90.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(19464, 957.51563, -1737.82434, 15.01830, 0.00000, 0.00000, 90.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(19936, 952.95990, -1744.55652, 12.61840, 0.00000, 0.00000, 45.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(19937, 952.87128, -1745.86536, 12.61300, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(19937, 952.87512, -1747.63037, 12.61320, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(19936, 952.95782, -1748.94165, 12.61840, 0.00000, 0.00000, 45.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(19937, 952.86658, -1743.25732, 12.61300, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(19937, 952.87140, -1741.39624, 12.61300, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(19936, 952.95490, -1740.09717, 12.61840, 0.00000, 0.00000, 45.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(19936, 952.95490, -1740.09717, 16.48413, 0.00000, 0.00000, 45.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(19937, 952.87140, -1741.39624, 16.48410, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(19937, 952.86658, -1743.25732, 16.48410, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(19936, 952.95990, -1744.55652, 16.48410, 0.00000, 0.00000, 45.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(19937, 952.87128, -1745.86536, 16.48410, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(19937, 952.87512, -1747.63037, 16.48410, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(19936, 952.95782, -1748.94165, 16.48410, 0.00000, 0.00000, 45.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(2164, 960.42200, -1742.89331, 12.62040, 0.00000, 0.00000, 270.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(2164, 960.40381, -1741.13086, 12.62040, 0.00000, 0.00000, 270.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(2164, 960.46198, -1744.64978, 12.62040, 0.00000, 0.00000, 270.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(2167, 960.44019, -1747.11975, 12.62080, 0.00000, 0.00000, 270.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(2163, 960.47638, -1748.13379, 12.62250, 0.00000, 0.00000, 270.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(2169, 958.58179, -1750.35986, 12.62100, 0.00000, 0.00000, 180.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(2202, 956.10828, -1738.39258, 12.61980, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(2202, 958.52478, -1738.40039, 12.61980, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(2208, 957.14355, -1744.03296, 12.62110, 0.00000, 0.00000, 90.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(2208, 957.21735, -1748.43457, 12.62110, 0.00000, 0.00000, 90.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(2204, 941.86249, -1761.06897, 12.62210, 0.00000, 0.00000, 169.27840, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(2206, 942.95386, -1757.43115, 12.62180, 0.00000, 0.00000, 90.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(2204, 944.38953, -1761.56409, 12.62200, 0.00000, 0.00000, 169.27840, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(1714, 943.95001, -1756.85193, 12.62205, 0.00000, 0.00000, 264.27795, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(1715, 941.62079, -1755.71863, 12.62253, 0.00000, 0.00000, 39.75347, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(1715, 941.59583, -1757.35718, 12.62253, 0.00000, 0.00000, 124.51468, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(1502, 941.66248, -1737.88977, 12.50220, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(1502, 939.41443, -1746.01526, 12.64860, 0.00000, 0.00000, 90.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(1502, 939.37439, -1743.01099, 12.64860, 0.00000, 0.00000, 270.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(1502, 942.41162, -1750.93872, 12.50220, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(1502, 946.21143, -1751.01062, 12.50220, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(19464, 952.58380, -1760.12244, 15.01830, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(2208, 948.59332, -1757.99329, 12.58220, 0.00000, 0.00000, 90.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(2206, 947.58173, -1758.84143, 12.54110, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(1714, 948.54010, -1759.93506, 12.62240, 0.00000, 0.00000, 180.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(1715, 949.78760, -1757.40576, 12.62280, 0.00000, 0.00000, 270.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(1715, 949.81329, -1755.84473, 12.62280, 0.00000, 0.00000, 270.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(1715, 947.24664, -1757.32056, 12.62230, 0.00000, 0.00000, 90.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(1715, 947.26459, -1755.84473, 12.62230, 0.00000, 0.00000, 90.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(19786, 952.57458, -1756.55530, 15.02680, 0.00000, 0.00000, 270.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(2167, 952.41357, -1760.76147, 12.62120, 0.00000, 0.00000, 270.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(2167, 952.39929, -1759.74084, 12.62120, 0.00000, 0.00000, 270.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(2167, 952.41272, -1758.69934, 12.62120, 0.00000, 0.00000, 270.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(2164, 952.41504, -1754.01526, 12.62290, 0.00000, 0.00000, 270.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(2164, 952.41089, -1752.25525, 12.62290, 0.00000, 0.00000, 270.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(19450, 955.63861, -1750.75220, 10.89050, 0.00000, 0.00000, 90.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(19450, 954.65900, -1750.73584, 10.89050, 0.00000, 0.00000, 90.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(19450, 955.90729, -1738.04126, 10.89050, 0.00000, 0.00000, 90.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(1557, 954.19952, -1737.89368, 12.62180, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(1557, 954.19952, -1750.89734, 12.62180, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(957, 938.44629, -1738.70496, 16.59030, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(957, 938.44629, -1743.02502, 16.59030, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(957, 938.44629, -1746.02502, 16.59030, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); CreateDynamicObject(957, 938.44629, -1750.02502, 16.59030, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); new Logo = CreateDynamicObject(19353, 937.54810, -1743.60461, 17.1076, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); SetDynamicObjectMaterialText(Logo, 0, "{FFFFFF}AGENCIA", OBJECT_MATERIAL_SIZE_256x256, "Georgia", 40, 1, 0xFFFFFFFF, 0, 1); new Logo1 = CreateDynamicObject(19353, 937.55188, -1746.4681, 17.1076, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); SetDynamicObjectMaterialText(Logo1, 0, "{FFFFFF}DE EMPREGO CNF", OBJECT_MATERIAL_SIZE_256x256, "Georgia", 40, 1, 0xFFFFFFFF, 0, 1); new Sofa= CreateDynamicObject(1766, 939.96600, -1750.38464, 12.62010, 0.00000, 0.00000, 90.00000, -1, -1, -1, 150.000, 150.000); SetDynamicObjectMaterial(Sofa, 0, 2562, "cj_hotel_sw", "CJ-COUCHL1", 0); new Sofa1= CreateDynamicObject(1766, 939.96600, -1740.45276, 12.62010, 0.00000, 0.00000, 90.00000, -1, -1, -1, 150.000, 150.000); SetDynamicObjectMaterial(Sofa1, 0, 2562, "cj_hotel_sw", "CJ-COUCHL1", 0); new Piso1= CreateDynamicObject(19379, 944.65527, -1742.77527, 12.56190, 0.00000, 90.00000, 0.00000, -1, -1, -1, 200.000, 200.000); SetDynamicObjectMaterial(Piso1, 0, 14387, "dr_gsnew", "la_flair1", 0); new Piso2= CreateDynamicObject(19379, 944.64752, -1746.02625, 12.54190, 0.00000, 90.00000, 0.00000, -1, -1, -1, 200.000, 200.000); SetDynamicObjectMaterial(Piso2, 0, 14387, "dr_gsnew", "la_flair1", 0); new Pilar1= CreateDynamicObject(3440, 949.10138, -1750.09851, 15.07500, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); SetDynamicObjectMaterial(Pilar1, 0, 14650, "ab_trukstpc", "mp_CJ_WOOD5", -983041); new Circulo= CreateDynamicObject(1820, 948.65082, -1750.61060, 12.12830, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); SetDynamicObjectMaterial(Circulo, 0, 14650, "ab_trukstpc", "mp_CJ_WOOD5", 0); new Pilar2= CreateDynamicObject(3440, 948.87280, -1738.69714, 15.07500, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); SetDynamicObjectMaterial(Pilar2, 0, 14650, "ab_trukstpc", "mp_CJ_WOOD5", -983041); new Circulo1= CreateDynamicObject(1820, 948.38947, -1739.23999, 12.14830, 0.00000, 0.00000, 0.00000, -1, -1, -1, 300.000, 300.000); SetDynamicObjectMaterial(Circulo1, 0, 14650, "ab_trukstpc", "mp_CJ_WOOD5", 0); for(new i = 0; i != 37; i++) SetDynamicObjectMaterial(PartC[i],0,8555, "vgsdwntwn2", "excaliburwall02_128", 0xFF00FFFF); for(new i = 0; i != 13; i++) SetDynamicObjectMaterial(Pilares[i],0,3975, "lanbloke", "p_floor3", 0xFFFFFFFF); for(new i = 0; i != 11; i++) SetDynamicObjectMaterial(janela[i],0,2361, "shopping_freezers", "white", 0xFF0A0A0A); for(new i = 0; i != 10; i++) SetDynamicObjectMaterial(PartB[i],0,8555, "vgsdwntwn2", "excaliburwall02_128", 0xFFDEB887); for(new i = 0; i != 13; i++) SetDynamicObjectMaterial(Piso[i],0,14777, "int_casinoint3", "GB_midbar05", -983041); for(new i = 0; i != 22; i++) SetDynamicObjectMaterial(Teto[i],0,4828, "airport3_las", "brwall_128", -983041); for(new i = 0; i != 22; i++) SetDynamicObjectMaterial(Estacionamento[i],0,9495, "vict_sfw", "ws_carparknew2", 0xFFFFFFFF); for(new i = 0; i != 9; i++) SetDynamicObjectMaterial(Pilar[i],0,4828, "airport3_las", "brwall_128", -983041); for(new i = 0; i != 13; i++) SetDynamicObjectMaterial(Muro[i],0,8555, "vgsdwntwn2", "excaliburwall02_128", 0xFF00FFFF); for(new i = 0; i != 8; i++) SetDynamicObjectMaterial(Cadeira[i],0,4828, "airport3_las", "brwall_128", -983041); for(new i = 0; i != 8; i++) SetDynamicObjectMaterial(Cadeira[i],1,8555, "vgsdwntwn2", "excaliburwall02_128", 0xFF00FFFF); } CarregarLombadas() { new Lombadas[151]; Lombadas[0] = CreateDynamicObject(3865, 2431.47705, -1662.56238, 23.21620, 0.00000, 0.00000, 90.00000); Lombadas[1] = CreateDynamicObject(3865, 2331.30054, -1732.90234, 10.86679, 0.00000, 0.00000, 0.00000); Lombadas[2] = CreateDynamicObject(3865, 2822.69702, -1969.24963, 8.44647, 0.00000, 0.00000, 270.00000); Lombadas[3] = CreateDynamicObject(3865, 2837.79126, -1968.90979, 8.42147, 0.00000, 0.00000, 270.00000); Lombadas[4] = CreateDynamicObject(3865, 1928.19397, -1751.83667, 10.71678, 0.00000, 0.00000, 180.00000); Lombadas[5] = CreateDynamicObject(3865, 1613.11975, -1732.00024, 10.71679, 0.00000, 0.00000, 180.00000); Lombadas[6] = CreateDynamicObject(3865, 1529.77148, -1720.91187, 10.84179, 0.00000, 0.00000, 90.00010); Lombadas[7] = CreateDynamicObject(3865, 1520.37524, -1732.24036, 10.74958, 0.00000, 0.00000, 0.00000); Lombadas[8] = CreateDynamicObject(3865, 1529.42456, -1603.77551, 10.76679, 0.00000, 0.00000, 270.00000); Lombadas[9] = CreateDynamicObject(3865, 1323.18909, -1731.66687, 10.74179, 0.00000, 0.00000, 180.00020); Lombadas[10] = CreateDynamicObject(3865, 1160.05505, -1711.62866, 11.14023, 0.00000, 0.00000, 180.00020); Lombadas[11] = CreateDynamicObject(3865, 369.82651, -1657.19934, 30.10109, 0.00000, 0.00000, 270.00000); Lombadas[12] = CreateDynamicObject(3865, 369.71863, -1722.62415, 19.19736, 0.00000, 0.00000, 270.00000); Lombadas[13] = CreateDynamicObject(3865, 369.66577, -1829.67456, 5.00580, 0.00000, 0.00000, 270.00000); Lombadas[14] = CreateDynamicObject(3865, 551.93353, -1668.72327, 15.91523, 0.00000, 0.00000, 0.00000); Lombadas[15] = CreateDynamicObject(3865, 369.86935, -1982.56836, 4.98079, 0.00000, 0.00000, 270.00000); Lombadas[16] = CreateDynamicObject(3865, 1261.88635, -1079.17920, 24.79825, 0.00000, 0.00000, 270.00000); Lombadas[17] = CreateDynamicObject(3865, 1323.42065, -1038.15393, 26.33704, 0.00000, 0.00000, 0.00000); Lombadas[18] = CreateDynamicObject(3865, 1482.02136, -1057.81946, 21.23829, 0.00000, 0.00000, 90.00010); Lombadas[19] = CreateDynamicObject(3865, 1589.03088, -1160.88123, 21.36518, 0.00000, 0.00000, 180.00011); Lombadas[20] = CreateDynamicObject(3865, 2244.50342, -1139.94763, 23.57984, 0.00000, 0.00000, 168.75011); Lombadas[21] = CreateDynamicObject(3865, 2370.84619, -1327.03613, 21.36986, 0.00000, 0.00000, 270.00009); Lombadas[23] = CreateDynamicObject(3865, 2430.73779, -1470.45947, 21.36703, 0.00000, 0.00000, 270.00009); Lombadas[24] = CreateDynamicObject(3865, 2430.77368, -1662.75635, 23.07396, 0.00000, 0.00000, 270.00000); Lombadas[25] = CreateDynamicObject(3865, 2331.12207, -1731.97131, 10.84451, 0.00000, 0.00000, 180.00011); Lombadas[26] = CreateDynamicObject(3865, 1928.40466, -1752.84399, 10.75629, 0.00000, 0.00000, 0.00000); Lombadas[27] = CreateDynamicObject(3865, 1613.33008, -1732.83093, 10.76278, 0.00000, 0.00000, 0.00000); Lombadas[28] = CreateDynamicObject(3865, 1520.17981, -1731.61707, 10.79179, 0.00000, 0.00000, 180.00011); Lombadas[29] = CreateDynamicObject(3865, 1529.12659, -1721.03137, 10.79179, 0.00000, 0.00000, 270.00000); Lombadas[30] = CreateDynamicObject(3865, 1530.07666, -1603.61084, 10.79452, 0.00000, 0.00000, 90.00000); Lombadas[31] = CreateDynamicObject(3865, 1323.36328, -1732.76941, 10.71679, 0.00000, 0.00000, 0.00000); Lombadas[32] = CreateDynamicObject(3865, 1160.28308, -1712.68359, 11.11795, 0.00000, 0.00000, 0.00000); Lombadas[33] = CreateDynamicObject(3865, 370.65961, -1657.00024, 30.07867, 0.00000, 0.00000, 90.00000); Lombadas[34] = CreateDynamicObject(3865, 370.50037, -1722.39929, 19.19363, 0.00000, 0.00000, 90.00000); Lombadas[35] = CreateDynamicObject(3865, 370.02310, -1829.54016, 4.98347, 0.00000, 0.00000, 90.00000); Lombadas[36] = CreateDynamicObject(3865, 370.04538, -1982.34351, 5.00579, 0.00000, 0.00000, 90.00000); Lombadas[37] = CreateDynamicObject(3865, 1263.09277, -1078.98584, 24.77598, 0.00000, 0.00000, 90.00020); Lombadas[38] = CreateDynamicObject(3865, 1323.27478, -1037.23450, 26.28976, 0.00000, 0.00000, 180.00000); Lombadas[39] = CreateDynamicObject(3865, 1589.24756, -1161.39844, 21.32818, 0.00000, 0.00000, 0.00000); Lombadas[40] = CreateDynamicObject(3865, 2471.43896, -1732.69202, 10.89907, 0.00000, 0.00000, 0.00000); Lombadas[41] = CreateDynamicObject(3865, 2471.19263, -1731.90173, 10.89634, 0.00000, 0.00000, 180.00000); Lombadas[42] = CreateDynamicObject(3865, 2185.63428, -1742.81885, 10.68398, 0.00000, 0.00000, 90.00010); Lombadas[43] = CreateDynamicObject(3865, 2184.97656, -1743.03809, 10.66171, 0.00000, 0.00000, 270.00000); Lombadas[44] = CreateDynamicObject(3865, 2081.13403, -1906.30615, 10.94179, 0.00000, 0.00000, 270.00000); Lombadas[45] = CreateDynamicObject(3865, 2081.80225, -1906.13721, 10.99451, 0.00000, 0.00000, 90.00020); Lombadas[46] = CreateDynamicObject(3865, 1941.79565, -1931.94543, 10.94179, 0.00000, 0.00000, 180.00000); Lombadas[47] = CreateDynamicObject(3865, 1942.00024, -1932.61462, 10.96951, 0.00000, 0.00000, 0.00010); Lombadas[48] = CreateDynamicObject(3865, 1701.72144, -1592.86572, 10.88387, 0.00000, 0.00000, 0.00010); Lombadas[49] = CreateDynamicObject(3865, 1701.48059, -1592.14941, 10.91160, 0.00000, 0.00000, 180.00020); Lombadas[50] = CreateDynamicObject(3865, 1158.43872, -931.98810, 40.87721, 0.00000, 0.00000, 270.00009); Lombadas[51] = CreateDynamicObject(3865, 1159.10730, -931.84070, 41.00045, 0.00000, 0.00000, 90.00010); Lombadas[52] = CreateDynamicObject(3865, 925.62305, -948.59827, 37.53868, 0.00000, 0.00000, 180.00031); Lombadas[53] = CreateDynamicObject(3865, 925.83533, -950.81122, 37.56613, 0.00000, 0.00000, 0.00010); Lombadas[54] = CreateDynamicObject(3865, 355.25571, -1773.03955, 2.74353, 0.00000, 0.00000, 360.00000); Lombadas[55] = CreateDynamicObject(3865, 355.12521, -1772.42261, 2.84619, 0.00000, 0.00000, 179.99989); Lombadas[56] = CreateDynamicObject(3865, 721.25433, -1586.13684, 11.72540, 0.00000, 0.00000, 179.99989); Lombadas[57] = CreateDynamicObject(3865, 721.42480, -1586.83838, 11.70308, 0.00000, 0.00000, 359.99969); Lombadas[58] = CreateDynamicObject(3865, 944.61407, -1572.73364, 10.79179, 0.00000, 0.00000, 359.99969); Lombadas[59] = CreateDynamicObject(3865, 944.39984, -1571.81250, 10.79452, 0.00000, 0.00000, 179.99940); Lombadas[60] = CreateDynamicObject(3865, 1296.98730, -1660.28735, 10.74179, 0.00000, 0.00000, 269.99960); Lombadas[61] = CreateDynamicObject(3865, 1297.92041, -1660.11047, 10.71952, 0.00000, 0.00000, 89.99960); Lombadas[62] = CreateDynamicObject(3865, 1312.89844, -1660.13086, 10.79179, 0.00000, 0.00000, 89.99960); Lombadas[63] = CreateDynamicObject(3865, 1311.87158, -1660.32751, 10.81679, 0.00000, 0.00000, 269.99951); Lombadas[64] = CreateDynamicObject(3865, 1357.46960, -1922.60815, 17.81313, 0.00000, 0.00000, 348.74969); Lombadas[65] = CreateDynamicObject(3865, 1357.43176, -1921.69568, 17.84085, 0.00000, 0.00000, 168.74921); Lombadas[66] = CreateDynamicObject(3865, 1289.79358, -2056.12500, 56.03038, 0.00000, 0.00000, 179.99921); Lombadas[67] = CreateDynamicObject(3865, 1289.95764, -2057.00049, 56.05783, 0.00000, 0.00000, 359.99869); Lombadas[68] = CreateDynamicObject(3865, 1389.57654, -1743.19153, 10.76679, 0.00000, 0.00000, 89.99890); Lombadas[69] = CreateDynamicObject(3865, 1388.66418, -1743.37036, 10.71952, 0.00000, 0.00000, 269.99841); Lombadas[70] = CreateDynamicObject(3865, 2823.45605, -1969.03906, 8.47420, 0.00000, 0.00000, 89.99880); Lombadas[71] = CreateDynamicObject(3865, 2838.52979, -1968.71252, 8.39489, 0.00000, 0.00000, 89.99880); Lombadas[72] = CreateDynamicObject(3865, 2287.91333, -2304.38257, 11.07724, 0.00000, 0.00000, 315.00000); Lombadas[73] = CreateDynamicObject(3865, 2288.33667, -2303.66040, 11.08619, 0.00000, 0.00000, 135.00000); Lombadas[74] = CreateDynamicObject(3865, 1962.14697, -2177.65430, 11.13085, 0.00000, 0.00000, 90.00000); Lombadas[75] = CreateDynamicObject(3865, 1961.11694, -2177.81470, 11.20857, 0.00000, 0.00000, 270.00000); Lombadas[76] = CreateDynamicObject(3865, 1821.39417, -1876.71411, 10.89795, 0.00000, 0.00000, 270.00000); Lombadas[77] = CreateDynamicObject(3865, 1822.07617, -1876.46069, 10.80956, 0.00000, 0.00000, 90.00020); Lombadas[78] = CreateDynamicObject(3865, 1649.38818, -1872.75049, 10.79179, 0.00000, 0.00000, 0.00030); Lombadas[79] = CreateDynamicObject(3865, 1649.18750, -1871.83521, 10.74452, 0.00000, 0.00000, 180.00040); Lombadas[80] = CreateDynamicObject(3865, 1320.84583, -1851.75049, 10.73284, 0.00000, 0.00000, 180.00040); Lombadas[81] = CreateDynamicObject(3865, 1321.04602, -1852.67639, 10.71679, 0.00000, 0.00000, 0.00020); Lombadas[82] = CreateDynamicObject(3865, 942.99683, -1230.42566, 14.14480, 0.00000, 0.00000, 90.00000); Lombadas[83] = CreateDynamicObject(3865, 942.22180, -1230.55078, 14.15372, 0.00000, 0.00000, 270.00000); Lombadas[84] = CreateDynamicObject(3865, 1150.64758, -1227.18188, 14.67597, 0.00000, 0.00000, 270.00000); Lombadas[85] = CreateDynamicObject(3865, 1151.46936, -1227.00867, 14.70364, 0.00000, 0.00000, 90.00010); Lombadas[86] = CreateDynamicObject(3865, 1343.07874, -1417.87463, 10.69179, 0.00000, 0.00000, 90.00010); Lombadas[87] = CreateDynamicObject(3865, 1342.44507, -1418.04480, 10.69452, 0.00000, 0.00000, 270.00000); Lombadas[88] = CreateDynamicObject(3865, 1357.11011, -1418.19116, 10.82219, 0.00000, 0.00000, 270.00000); Lombadas[89] = CreateDynamicObject(3865, 1358.10840, -1418.01990, 10.77420, 0.00000, 0.00000, 90.00020); Lombadas[90] = CreateDynamicObject(3865, 2431.37476, -1662.55554, 23.09730, 0.00000, 0.00000, 90.00000); Lombadas[91] = CreateDynamicObject(3865, 551.72296, -1667.65637, 15.95441, 0.00000, 0.00000, 180.00020); Lombadas[92] = CreateDynamicObject(3865, 751.34564, -1643.06726, 3.02458, 0.00000, 0.00000, 270.00000); Lombadas[93] = CreateDynamicObject(3865, 751.94238, -1642.89160, 3.05224, 0.00000, 0.00000, 90.00010); Lombadas[94] = CreateDynamicObject(3865, 728.73102, -1674.37170, 7.99157, 0.00000, 0.00000, 0.00000); Lombadas[95] = CreateDynamicObject(3865, 728.49396, -1673.56287, 8.06223, 0.00000, 0.00000, 180.00020); Lombadas[96] = CreateDynamicObject(3865, 809.75867, -1702.93140, 10.74179, 0.00000, 0.00000, 270.00000); Lombadas[97] = CreateDynamicObject(3865, 810.70898, -1702.73352, 10.76679, 0.00000, 0.00000, 90.00010); Lombadas[98] = CreateDynamicObject(3865, 917.84894, -1762.01819, 10.79050, 0.00000, 0.00000, 90.00010); Lombadas[99] = CreateDynamicObject(3865, 916.64874, -1762.24121, 10.79045, 0.00000, 0.00000, 270.00031); Lombadas[100] = CreateDynamicObject(3865, 1034.10742, -1790.95605, 11.03094, 0.00000, 0.00000, 247.50031); Lombadas[101] = CreateDynamicObject(3865, 1035.07507, -1791.02734, 11.09352, 0.00000, 0.00000, 67.50020); Lombadas[102] = CreateDynamicObject(3865, 1048.65503, -1712.69165, 10.84179, 0.00000, 0.00000, 360.00000); Lombadas[103] = CreateDynamicObject(3865, 1048.48328, -1711.63867, 10.89446, 0.00000, 0.00000, 179.99980); Lombadas[104] = CreateDynamicObject(3865, 1132.96814, -1571.77649, 10.73333, 0.00000, 0.00000, 179.99980); Lombadas[105] = CreateDynamicObject(3865, 1133.16711, -1572.73987, 10.76106, 0.00000, 0.00000, 359.99960); Lombadas[106] = CreateDynamicObject(3865, 1443.93127, -1440.24707, 10.81675, 0.00000, 0.00000, 179.99950); Lombadas[107] = CreateDynamicObject(3865, 1444.17188, -1441.32434, 10.84174, 0.00000, 0.00000, 359.99939); Lombadas[108] = CreateDynamicObject(3865, 1454.17957, -1451.53662, 10.75202, 0.00000, 0.00000, 269.99921); Lombadas[109] = CreateDynamicObject(3865, 1455.13831, -1451.35364, 10.77704, 0.00000, 0.00000, 89.99870); Lombadas[110] = CreateDynamicObject(3865, 1645.43396, -1441.34094, 10.89179, 0.00000, 0.00000, 359.99841); Lombadas[111] = CreateDynamicObject(3865, 1658.41382, -1451.87878, 10.86672, 0.00000, 0.00000, 89.99770); Lombadas[112] = CreateDynamicObject(3865, 1645.25537, -1440.41284, 10.85828, 0.00000, 0.00000, 179.99800); Lombadas[113] = CreateDynamicObject(3865, 1657.39197, -1452.04834, 10.81940, 0.00000, 0.00000, 269.99741); Lombadas[114] = CreateDynamicObject(3865, 1862.53674, -1341.27405, 10.76676, 0.00000, 0.00000, 359.99771); Lombadas[115] = CreateDynamicObject(3865, 1862.31152, -1340.14941, 10.81674, 0.00000, 0.00000, 179.99741); Lombadas[116] = CreateDynamicObject(3865, 1835.64026, -1260.31592, 10.95272, 0.00000, 0.00000, 179.99741); Lombadas[117] = CreateDynamicObject(3865, 1835.82874, -1261.35217, 10.99333, 0.00000, 0.00000, 359.99689); Lombadas[118] = CreateDynamicObject(3865, 1520.46045, -1591.67346, 10.69176, 0.00000, 0.00000, 180.00020); Lombadas[119] = CreateDynamicObject(3865, 1520.69263, -1592.66211, 10.71946, 0.00000, 0.00000, 0.00030); Lombadas[120] = CreateDynamicObject(3865, 1429.89575, -1721.35132, 10.79179, 0.00000, 0.00000, 90.00020); Lombadas[121] = CreateDynamicObject(3865, 1428.93970, -1721.55249, 10.82703, 0.00000, 0.00000, 270.00021); Lombadas[122] = CreateDynamicObject(3865, 1429.19214, -1603.10962, 10.81679, 0.00000, 0.00000, 270.00021); Lombadas[123] = CreateDynamicObject(3865, 1430.11243, -1602.95081, 10.79176, 0.00000, 0.00000, 90.00030); Lombadas[124] = CreateDynamicObject(3865, 1455.15222, -1313.45667, 10.81676, 0.00000, 0.00000, 90.00030); Lombadas[125] = CreateDynamicObject(3865, 1454.33264, -1313.62451, 10.86943, 0.00000, 0.00000, 270.00009); Lombadas[126] = CreateDynamicObject(3865, 1609.78931, -1314.43237, 14.76417, 0.00000, 0.00000, 90.00050); Lombadas[127] = CreateDynamicObject(3865, 1604.04858, -1314.55469, 14.82071, 0.00000, 0.00000, 270.00049); Lombadas[128] = CreateDynamicObject(3865, 1714.30164, -1184.64648, 21.04642, 0.00000, 0.00000, 270.00049); Lombadas[129] = CreateDynamicObject(3865, 1715.29407, -1184.39233, 21.09909, 0.00000, 0.00000, 90.00030); Lombadas[130] = CreateDynamicObject(3865, 1442.67310, -1160.44824, 21.09018, 0.00000, 0.00000, 180.00060); Lombadas[131] = CreateDynamicObject(3865, 1442.82739, -1161.36475, 21.11785, 0.00000, 0.00000, 0.00070); Lombadas[132] = CreateDynamicObject(3865, 1228.91321, -1280.29150, 10.87491, 0.00000, 0.00000, 180.00060); Lombadas[133] = CreateDynamicObject(3865, 1229.05896, -1281.27905, 10.95260, 0.00000, 0.00000, 0.00040); Lombadas[134] = CreateDynamicObject(3865, 1062.94141, -1428.45398, 10.77022, 0.00000, 0.00000, 90.00060); Lombadas[135] = CreateDynamicObject(3865, 1061.89038, -1428.65759, 10.79521, 0.00000, 0.00000, 270.00070); Lombadas[136] = CreateDynamicObject(3865, 990.22174, -1490.11414, 10.79173, 0.00000, 0.00000, 0.00090); Lombadas[137] = CreateDynamicObject(3865, 990.00336, -1489.20154, 10.81670, 0.00000, 0.00000, 180.00110); Lombadas[138] = CreateDynamicObject(3865, 1036.92883, -1626.82983, 10.76674, 0.00000, 0.00000, 270.00070); Lombadas[139] = CreateDynamicObject(3865, 1037.92834, -1626.63025, 10.71677, 0.00000, 0.00000, 90.00000); Lombadas[140] = CreateDynamicObject(3865, 1095.73743, -1852.78003, 10.79174, 0.00000, 0.00000, 0.00100); Lombadas[141] = CreateDynamicObject(3865, 1095.50024, -1851.80786, 10.81941, 0.00000, 0.00000, 180.00090); Lombadas[142] = CreateDynamicObject(3865, 1492.03198, -1871.86060, 10.71676, 0.00000, 0.00000, 180.00090); Lombadas[143] = CreateDynamicObject(3865, 1492.19678, -1872.73230, 10.76945, 0.00000, 0.00000, 0.00040); Lombadas[144] = CreateDynamicObject(3865, 1715.29407, -1184.39233, 21.09909, 0.00000, 0.00000, 90.00030); Lombadas[145] = CreateDynamicObject(3865, 1442.67310, -1160.44824, 21.09018, 0.00000, 0.00000, 180.00060); Lombadas[146] = CreateDynamicObject(3865, 1442.82739, -1161.36475, 21.11785, 0.00000, 0.00000, 0.00070); Lombadas[147] = CreateDynamicObject(3865, 1228.91321, -1280.29150, 10.87491, 0.00000, 0.00000, 180.00060); Lombadas[148] = CreateDynamicObject(3865, 1229.05896, -1281.27905, 10.95260, 0.00000, 0.00000, 0.00040); Lombadas[149] = CreateDynamicObject(3865, 1062.94141, -1428.45398, 10.77022, 0.00000, 0.00000, 90.00060); Lombadas[150] = CreateDynamicObject(3865, 1061.89038, -1428.65759, 10.79521, 0.00000, 0.00000, 270.00070); for(new i = 0; i != 151; i++) SetDynamicObjectMaterial(Lombadas[i], 0, 5174, "warehus_las2", "ws_carparkwall2", 0xFFFFFFFF); } CarregariFood(playerid) { AppLigado[playerid] = 0; Retiroupedido[playerid] = 0; Entregando[playerid] = 0; TemCorrida[playerid] = 0; texto_novaentrega[playerid] = CreatePlayerTextDraw(playerid, 515.000000, 267.000000, "Nova entrega recebida"); PlayerTextDrawFont(playerid, texto_novaentrega[playerid], 2); PlayerTextDrawLetterSize(playerid, texto_novaentrega[playerid], 0.216666, 1.299980); PlayerTextDrawTextSize(playerid, texto_novaentrega[playerid], 100.000000, 128.000000); PlayerTextDrawSetOutline(playerid, texto_novaentrega[playerid], 1); PlayerTextDrawSetShadow(playerid, texto_novaentrega[playerid], 1); PlayerTextDrawAlignment(playerid, texto_novaentrega[playerid], 2); PlayerTextDrawColor(playerid, texto_novaentrega[playerid], -1); PlayerTextDrawBackgroundColor(playerid, texto_novaentrega[playerid], 255); PlayerTextDrawBoxColor(playerid, texto_novaentrega[playerid], -16776961); PlayerTextDrawUseBox(playerid, texto_novaentrega[playerid], 1); PlayerTextDrawSetProportional(playerid, texto_novaentrega[playerid], 1); PlayerTextDrawSetSelectable(playerid, texto_novaentrega[playerid], 0); playertextdraw_1[playerid] = CreatePlayerTextDraw(playerid, 515.000000, 283.000000, "_"); PlayerTextDrawFont(playerid, playertextdraw_1[playerid], 2); PlayerTextDrawLetterSize(playerid, playertextdraw_1[playerid], 9.499993, 10.250018); PlayerTextDrawTextSize(playerid, playertextdraw_1[playerid], 101.000000, 128.000000); PlayerTextDrawSetOutline(playerid, playertextdraw_1[playerid], 1); PlayerTextDrawSetShadow(playerid, playertextdraw_1[playerid], 1); PlayerTextDrawAlignment(playerid, playertextdraw_1[playerid], 2); PlayerTextDrawColor(playerid, playertextdraw_1[playerid], -1); PlayerTextDrawBackgroundColor(playerid, playertextdraw_1[playerid], 255); PlayerTextDrawBoxColor(playerid, playertextdraw_1[playerid], 255); PlayerTextDrawUseBox(playerid, playertextdraw_1[playerid], 1); PlayerTextDrawSetProportional(playerid, playertextdraw_1[playerid], 1); PlayerTextDrawSetSelectable(playerid, playertextdraw_1[playerid], 0); playertextdraw_2[playerid] = CreatePlayerTextDraw(playerid, 481.000000, 281.000000, "Preview_Model"); PlayerTextDrawFont(playerid, playertextdraw_2[playerid], 5); PlayerTextDrawLetterSize(playerid, playertextdraw_2[playerid], 0.600000, 2.000000); PlayerTextDrawTextSize(playerid, playertextdraw_2[playerid], 71.500000, 83.000000); PlayerTextDrawSetOutline(playerid, playertextdraw_2[playerid], 0); PlayerTextDrawSetShadow(playerid, playertextdraw_2[playerid], 0); PlayerTextDrawAlignment(playerid, playertextdraw_2[playerid], 1); PlayerTextDrawColor(playerid, playertextdraw_2[playerid], -1); PlayerTextDrawBackgroundColor(playerid, playertextdraw_2[playerid], 125); PlayerTextDrawBoxColor(playerid, playertextdraw_2[playerid], 0); PlayerTextDrawUseBox(playerid, playertextdraw_2[playerid], 0); PlayerTextDrawSetProportional(playerid, playertextdraw_2[playerid], 1); PlayerTextDrawSetSelectable(playerid, playertextdraw_2[playerid], 0); PlayerTextDrawSetPreviewModel(playerid, playertextdraw_2[playerid], 19580); PlayerTextDrawSetPreviewRot(playerid, playertextdraw_2[playerid], -32.000000, 0.000000, -20.000000, 1.000000); PlayerTextDrawSetPreviewVehCol(playerid, playertextdraw_2[playerid], 1, 1); playertextdraw_3[playerid] = CreatePlayerTextDraw(playerid, 515.000000, 363.000000, "/aceitar entrega"); PlayerTextDrawFont(playerid, playertextdraw_3[playerid], 2); PlayerTextDrawLetterSize(playerid, playertextdraw_3[playerid], 0.293332, 1.289999); PlayerTextDrawTextSize(playerid, playertextdraw_3[playerid], 208.500000, 128.000000); PlayerTextDrawSetOutline(playerid, playertextdraw_3[playerid], 1); PlayerTextDrawSetShadow(playerid, playertextdraw_3[playerid], 0); PlayerTextDrawAlignment(playerid, playertextdraw_3[playerid], 2); PlayerTextDrawColor(playerid, playertextdraw_3[playerid], -1); PlayerTextDrawBackgroundColor(playerid, playertextdraw_3[playerid], 255); PlayerTextDrawBoxColor(playerid, playertextdraw_3[playerid], 50); PlayerTextDrawUseBox(playerid, playertextdraw_3[playerid], 1); PlayerTextDrawSetProportional(playerid, playertextdraw_3[playerid], 1); PlayerTextDrawSetSelectable(playerid, playertextdraw_3[playerid], 0); } CMD:ligarapp(playerid, params[]) { if(!IsAiFood(playerid)) return SendClientMessage(playerid, COLOR_GRAD1,"[ERRO] Você nao é entregador iFood"); if(AppLigado[playerid] == 1) return SendClientMessage(playerid, COLOR_GRAD1,"[iFood] Você já está conectado"); if(iFood[playerid] == 0) { if(GetVehicleModel(GetPlayerVehicleID(playerid)) == ID_MOTOCA) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "[iFood] Aplicativo habilitado para receber entregas!"); AppLigado[playerid] = 1; } else { SendClientMessage(playerid,COLOR_GRAD1,"[iFood] Desculpe, este veículo não é habilitado!"); } } return 1; } CMD:desligarapp(playerid, params[]) { if(!IsAiFood(playerid)) return SendClientMessage(playerid, COLOR_GRAD1,"[ERRO] Você nao é entregador iFood"); if(AppLigado[playerid] != 1) return SendClientMessage(playerid, COLOR_GRAD1,"[iFood] Você já está desconectado"); else { AppLigado[playerid] = 0; Entregando[playerid] = 0; Retiroupedido[playerid] = 0; KillTimer(buscandocorridas[playerid]); DisablePlayerCheckpoint(playerid); SendClientMessage(playerid, COLOR_LIGHTBLUE, "[iFood] Obrigado por usar nosso aplicativo!"); } return 1; } public Anime(playerid) { ApplyAnimationEx(playerid,"PED","KO_skid_front",4.1,0,1,1,1,0); return 1; } // Verificar veiculos de Empregos CallBack::IsAGariCar(carid) { for(new i = 0; i < sizeof(empVehicles); i++) { if(empVehicles[i][orgID] == 8) { if(empVehicles[i][vID] == carid) return true; } } return 0; } CallBack::IsAMecCar(carid) { if(IsValidVehicle(carid)) { for(new i = 0; i < sizeof(empVehicles); i++) { if(empVehicles[i][orgID] == 2) { if(empVehicles[i][vID] == carid) return true; } } } return 0; } CallBack::SedexCarros(carid)// Sedex Carros { if(IsValidVehicle(carid)) { for(new i = 0; i < sizeof(empVehicles); i++) { if(empVehicles[i][orgID] == 10) { if(empVehicles[i][vID] == carid) return true; } } } return 0; } CallBack::IsAiFoodCar(carid) { if(IsValidVehicle(carid)) { for(new i = 0; i < sizeof(empVehicles); i++) { if(empVehicles[i][orgID] == 7) { if(empVehicles[i][vID] == carid) return true; } } } return 0; } CallBack::IsATaxistaCar(carid) { if(IsValidVehicle(carid)) { for(new i = 0; i < sizeof(empVehicles); i++) { if(empVehicles[i][orgID] == 5) { if(empVehicles[i][vID] == carid) return true; } } } return 0; } CallBack::IsABombeirosCar(carid) { if(IsValidVehicle(carid)) { for(new i = 0; i < sizeof(empVehicles); i++) { if(empVehicles[i][orgID] == 6) { if(empVehicles[i][vID] == carid) return true; } } } return 0; } CallBack::IsAAGRCar(carid) { if(IsValidVehicle(carid)) { for(new i = 0; i < sizeof(empVehicles); i++) { if(empVehicles[i][orgID] == 3) { if(empVehicles[i][vID] == carid) return true; } } } return 0; } // Verificar veiculos de Org CallBack::IsAROTACar(carid) // carros rota { if(IsValidVehicle(carid)) { for(new i = 0; i < sizeof(orgVehicles); i++) { if(orgVehicles[i][orgID] == 16) { if(orgVehicles[i][vID] == carid) return true; } } } return 0; } CallBack::CarroParado(playerid) { if(MotorLigado[GetPlayerVehicleID(playerid)] == false) { new mot, lu, alar, por, cap, porma, ob; GetVehicleParamsEx(GetPlayerVehicleID(playerid), mot, lu, alar, por, cap, porma, ob); SetVehicleVelocity(GetPlayerVehicleID(playerid), 0.0, 0.0, 0.1); SetVehicleParamsEx(GetPlayerVehicleID(playerid), VEHICLE_PARAMS_OFF, lu, alar, por, cap, porma, ob); } } CallBack::IsAMayansCar(carid) // carros mayans { if(IsValidVehicle(carid)) { for(new i = 0; i < sizeof(orgVehicles); i++) { if(orgVehicles[i][orgID] == 24) { if(orgVehicles[i][vID] == carid) return true; } } } return 0; } CallBack::IsAAztecaCar(carid) // aztecas { if(IsValidVehicle(carid)) { for(new i = 0; i < sizeof(orgVehicles); i++) { if(orgVehicles[i][orgID] == 5) { if(orgVehicles[i][vID] == carid) return true; } } } return 0; } CallBack::IsAGatNewCar(carid) // aztecas { if(IsValidVehicle(carid)) { for(new i = 0; i < sizeof(orgVehicles); i++) { if(orgVehicles[i][orgID] == 6) { if(orgVehicles[i][vID] == carid) return true; } } } return 0; } CallBack::IsAYakuzaCar(carid) // carros yakuza { if(IsValidVehicle(carid)) { for(new i = 0; i < sizeof(orgVehicles); i++) { if(orgVehicles[i][orgID] == 13) { if(orgVehicles[i][vID] == carid) return true; } } } return 0; } CallBack::IsARUSSACar(carid) // carros russa { if(IsValidVehicle(carid)) { for(new i = 0; i < sizeof(orgVehicles); i++) { if(orgVehicles[i][orgID] == 12) { if(orgVehicles[i][vID] == carid) return true; } } } return 0; } CallBack::IsACopCar(carid)// carro pm { if(IsValidVehicle(carid)) { for(new i = 0; i < sizeof(orgVehicles); i++) { if(orgVehicles[i][orgID] == 1) { if(orgVehicles[i][vID] == carid) return true; } } } return 0; } CallBack::IsAnAmbulanceCar(carid) // carros medicos { if(IsValidVehicle(carid)) { for(new i = 0; i < sizeof(orgVehicles); i++) { if(orgVehicles[i][orgID] == 4) { if(orgVehicles[i][vID] == carid) return true; } } } return 0; } CallBack::IsAGrooveCar(carid) // carros groove { if(IsValidVehicle(carid)) { for(new i = 0; i < sizeof(orgVehicles); i++) { if(orgVehicles[i][orgID] == 14) { if(orgVehicles[i][vID] == carid) return true; } } } return 0; } CallBack::IsAVagosCar(carid) // carros vagos { if(IsValidVehicle(carid)) { for(new i = 0; i < sizeof(orgVehicles); i++) { if(orgVehicles[i][orgID] == 18) { if(orgVehicles[i][vID] == carid) return true; } } } return 0; } CallBack::IsAGATCar(carid) // carros gat { if(IsValidVehicle(carid)) { for(new i = 0; i < sizeof(orgVehicles); i++) { if(orgVehicles[i][orgID] == 35) { if(orgVehicles[i][vID] == carid) return true; } } } return 0; } /* rever CallBack::IsAMedicosSFCar(carid) // medicos { for(new i = 0; i < sizeof(CarrosMedicos); i++) { if(CarroMedico[i] == carid) return true; } return 0; } */ CallBack::IsADetranCar(carid) // carros detran rever 2 { if(IsValidVehicle(carid)) { for(new i = 0; i < sizeof(orgVehicles); i++) { if(orgVehicles[i][orgID] == 34) { if(orgVehicles[i][vID] == carid) return true; } } } return 0; } CallBack::IsAPCCCar(carid) // pcc { if(IsValidVehicle(carid)) { for(new i = 0; i < sizeof(orgVehicles); i++) { if(orgVehicles[i][orgID] == 21) { if(orgVehicles[i][vID] == carid && !orgVehicles[i][Disponivel]) return true; } } } return 0; } CallBack::IsAROTAsCar(carid) // bope { if(IsValidVehicle(carid)) { for(new i = 0; i < sizeof(orgVehicles); i++) { if(orgVehicles[i][orgID] == 2) { if(orgVehicles[i][vID] == carid) return true; } } } return 0; } CallBack::IsAFTCar(carid) // carros FT { if(IsValidVehicle(carid)) { for(new i = 0; i < sizeof(orgVehicles); i++) { if(orgVehicles[i][orgID] == 36) { if(orgVehicles[i][vID] == carid) return true; } } } return 0; } CallBack::IsABallasCar(carid) // ballas { if(IsValidVehicle(carid)) { for(new i = 0; i < sizeof(orgVehicles); i++) { if(orgVehicles[i][orgID] == 17) { if(orgVehicles[i][vID] == carid) return true; } } } return 0; } CallBack::IsASonssCar(carid) // carro sons { if(IsValidVehicle(carid)) { for(new i = 0; i < sizeof(orgVehicles); i++) { if(orgVehicles[i][orgID] == 25) { if(orgVehicles[i][vID] == carid) return true; } } } return 0; } CallBack::IsAComandoVermelhoCar(carid) { // comando vermelho if(IsValidVehicle(carid)) { for(new i = 0; i < sizeof(orgVehicles); i++) { if(orgVehicles[i][orgID] == 19) { if(orgVehicles[i][vID] == carid) return true; } } } return false; } CallBack::IsATropaDaTurquiaCar(carid) { // comando vermelho if(IsValidVehicle(carid)) { for(new i = 0; i < sizeof(orgVehicles); i++) { if(orgVehicles[i][orgID] == 37) { if(orgVehicles[i][vID] == carid) return true; } } } return false; } CallBack::IsATriadCar(carid) // carros triads { if(IsValidVehicle(carid)) { for(new i = 0; i < sizeof(orgVehicles); i++) { if(orgVehicles[i][orgID] == 22) { if(orgVehicles[i][vID] == carid) return true; } } } return 0; } CallBack::IsAPFCar(carid) //carros pf { if(IsValidVehicle(carid)) { for(new i = 0; i < sizeof(orgVehicles); i++) { if(orgVehicles[i][orgID] == 11) { if(orgVehicles[i][vID] == carid) return true; } } } return 0; } CallBack::IsAGOVCar(carid)//Carros Governo (prefeitura) { if(IsValidVehicle(carid)) { for(new i = 0; i < sizeof(orgVehicles); i++) { if(orgVehicles[i][orgID] == 7) { if(orgVehicles[i][vID] == carid) return true; } } } return 0; } CallBack::IsATDECar(carid)//Carros TDE (org) { if(IsValidVehicle(carid)) { for(new i = 0; i < sizeof(orgVehicles); i++) { if(orgVehicles[i][orgID] == 38) { if(orgVehicles[i][vID] == carid) return true; } } } return 0; } CallBack::IsAAlCar(carid) // alqaeda { if(IsValidVehicle(carid)) { for(new i = 0; i < sizeof(orgVehicles); i++) { if(orgVehicles[i][orgID] == 15) { if(orgVehicles[i][vID] == carid) return true; } } } return 0; } CallBack::IsAGICar(carid) // gi { if(IsValidVehicle(carid)) { for(new i = 0; i < sizeof(orgVehicles); i++) { if(orgVehicles[i][orgID] == 23) { if(orgVehicles[i][vID] == carid) return true; } } } return 0; } CallBack::IsAJornalCar(carid) // carros reporter { if(IsValidVehicle(carid)) { for(new i = 0; i < sizeof(orgVehicles); i++) { if(orgVehicles[i][orgID] == 9) { if(orgVehicles[i][vID] == carid) return true; } } } return 0; } CallBack::IsAHitCar(carid) // carros hitman { if(IsValidVehicle(carid)) { for(new i = 0; i < sizeof(orgVehicles); i++) { if(orgVehicles[i][orgID] == 8) { if(orgVehicles[i][vID] == carid) return true; } } } return 0; } CallBack::IsAGNCar(carid) // carros GN { if(IsValidVehicle(carid)) { for(new i = 0; i < sizeof(orgVehicles); i++) { if(orgVehicles[i][orgID] == 3) { if(orgVehicles[i][vID] == carid) return true; } } } return 0; } CallBack::IsAPRCar(carid) // carros PR { if(IsValidVehicle(carid)) { for(new i = 0; i < sizeof(orgVehicles); i++) { if(orgVehicles[i][orgID] == 33) { if(orgVehicles[i][vID] == carid) return true; } } } return 0; } CallBack::IsAMedicosSFCar(carid) // medicos { /* for(new i = 0; i < sizeof(orgVehicles); i++) { if(orgVehicles[i][orgID] == 4) { if(orgVehicles[i][vID] == carid) return true; } }*/ return 0; } // Carros Emprego stock CarroCaminhao(index) { for(new i = 0; i < sizeof(empVehicles); i++) { if(empVehicles[i][orgID] == 4) { if(empVehicles[i + index][vID] > 0) return empVehicles[i + index][vID]; break; } } return 0; } // Fim Carros Emprego // Carros Org stock CarroGroove(index) { for(new i = 0; i < sizeof(orgVehicles); i++) { if(orgVehicles[i][orgID] == 14) { if(orgVehicles[i + index][vID] > 0) return orgVehicles[i + index][vID]; break; } } return 0; } stock CarroAzteca(index) { for(new i = 0; i < sizeof(orgVehicles); i++) { if(orgVehicles[i][orgID] == 5) { if(orgVehicles[i + index][vID] > 0) return orgVehicles[i + index][vID]; break; } } return 0; } stock CarroBallas(index) { for(new i = 0; i < sizeof(orgVehicles); i++) { if(orgVehicles[i][orgID] == 17) { if(orgVehicles[i + index][vID] > 0) return orgVehicles[i + index][vID]; break; } } return 0; } stock CarroVagos(index) { for(new i = 0; i < sizeof(orgVehicles); i++) { if(orgVehicles[i][orgID] == 18) { if(orgVehicles[i + index][vID] > 0) return orgVehicles[i + index][vID]; break; } } return 0; } stock CarroCV(index) { for(new i = 0; i < sizeof(orgVehicles); i++) { if(orgVehicles[i][orgID] == 19) { if(orgVehicles[i + index][vID] > 0) return orgVehicles[i + index][vID]; break; } } return 0; } stock CarroPCC(index) { for(new i = 0; i < sizeof(orgVehicles); i++) { if(orgVehicles[i][orgID] == 21) { if(orgVehicles[i + index][vID] > 0) return orgVehicles[i + index][vID]; break; } } return 0; } stock CarroYakuza(index) { for(new i = 0; i < sizeof(orgVehicles); i++) { if(orgVehicles[i][orgID] == 13) { if(orgVehicles[i + index][vID] > 0) return orgVehicles[i + index][vID]; break; } } return 0; } stock CarroRussa(index) { for(new i = 0; i < sizeof(orgVehicles); i++) { if(orgVehicles[i][orgID] == 12) { if(orgVehicles[i + index][vID] > 0) return orgVehicles[i + index][vID]; break; } } return 0; } CMD:pagarorg(playerid, params[]) { if(GetPlayerOrg(playerid) != 7) return SendClientMessage(playerid, COLOR_GREY, "| ERRO | Somente o governador pode usar este comando."); new org,quantia/*,gstring[200]*/; if(sscanf(params, "dd", org, quantia)) return SendClientMessage(playerid, COLOR_GRAD2, "USE: /pagarorg [id da organzizacao] [quantia]"); if(quantia > CofreOrg[7][Dinheiro]) return SendClientMessage(playerid, COLOR_GRAD2, "| ERRO | Cofre do governo não tem toda essa grana."); if(org < 1 || org > 36) return SendClientMessage(playerid, COLOR_GRAD2, "| ERRO | Organizações 1 a 36"); if(org == 7) return SendClientMessage(playerid, COLOR_GRAD2, "| ERRO | Você não pode enviar o dinheiro para o governo."); if(quantia > 1000000) return SendClientMessage(playerid, COLOR_GRAD2, "| ERRO | Você não pode enviar mais que 1 milhão por vez."); CofreOrg[org][Dinheiro] += quantia; CofreOrg[7][Dinheiro] -= quantia; MensagemFormatadaAll(0x3CB371FF, "| GOVERNO | {FFFFFF}O Governador acaba de enviar aos cofres da Organização: %s, Valor: {00FFFF}R$%d.",GetNomeOrg(org), quantia); format(gstring, sizeof gstring, "| INFO | {FFFFFF}Governador: {008B8B}%s {FFFFFF}acaba de enviar %d para o cofre da sua org.", NomePlayer(playerid), quantia); SendFamilyMessage(org, 0x008B8BFF, gstring); return 1; } CMD:pagarbolsa(playerid, params[]) { if(isnull(params)) { SendClientMessage(playerid, COLOR_WHITE, "|__________________[ Pagar Bolsa ]__________________|"); SendClientMessage(playerid, COLOR_WHITE, "USE: pagarbolsa [nome]"); SendClientMessage(playerid, COLOR_GREY, "Nomes Validos: cidadao, cops, medicos"); return true; } if(PlayerInfo[playerid][pLider] != 7) return SendClientMessage(playerid, COLOR_GRAD1, "| ERRO | Somente o governador pode usar este comando."); if(BolsaBlock[playerid] == 1) return SendClientMessage(playerid, COLOR_GRAD1, "| ERRO | Espere 45 minutos para usar novamente."); if(strcmp(params,"cidadao",true) == 0) { if(1500 > CofreOrg[7][Dinheiro]) return SendClientMessage(playerid, COLOR_GRAD2, "| ERRO | Cofre do governo não tem toda essa grana."); foreach(Player, i) { if(GetPlayerOrg(i) != 7) { GiveDinheiro(i, 1500); } } BolsaBlock[playerid] =1; SetTimerEx("DesbloquearCMDBolsa", 45*60*1000 , false, "i", playerid); MensagemFormatadaAll(0x3CB371FF, "| GOVERNO | {FFFFFF}O Governador acaba de pagar uma bolsa aos Cidadãos, Valor: {00FFFF}R$%d.",1500); } if(strcmp(params,"cops",true) == 0) { if(2800 > CofreOrg[7][Dinheiro]) return SendClientMessage(playerid, COLOR_GRAD2, "| ERRO | Cofre do governo não tem toda essa grana."); foreach(Player, i) { if(IsACop(i)) { GiveDinheiro(i, 2800); } } BolsaBlock[playerid] = 1; SetTimerEx("DesbloquearCMDBolsa", 45*60*1000, false, "i", playerid); MensagemFormatadaAll(0x3CB371FF, "| GOVERNO | {FFFFFF}O Governador acaba de pagar uma bolsa aos Policiais, Valor: {00FFFF}R$%d.",2800); } if(strcmp(params,"medicos",true) == 0) { if(2800 > CofreOrg[7][Dinheiro]) return SendClientMessage(playerid, COLOR_GRAD2, "| ERRO | Cofre do governo não tem toda essa grana."); foreach(Player, i) { if(IsAMedicos(i)) { GiveDinheiro(i, 2800); } } BolsaBlock[playerid] = 1; SetTimerEx("DesbloquearCMDBolsa", 45*60*1000, false, "i", playerid); MensagemFormatadaAll(0x3CB371FF, "| GOVERNO | {FFFFFF}O Governador acaba de pagar uma bolsa aos Médicos, Valor: {00FFFF}R$%d.",2800); } return 1; } forward DesbloquearCMDBolsa(playerid); public DesbloquearCMDBolsa(playerid) { BolsaBlock[playerid] = 0; SendClientMessage(playerid, COLOR_GRAD1, "| INFO | Você já pode usar o comando (/pagarbolsa) novamente."); return 1; } CMD:continencia(playerid) { if(IsACop(playerid)) { static string[78] ; format(string, 78, "* %s bateu continencia.", NomePlayer(playerid)); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); ApplyAnimationEx(playerid,"ON_LOOKERS","Pointup_shout",4.1,0,1,1,0,0); } else SendClientMessage(playerid, COLOR_GREY, " Voce nao e um policial !"); return 1; } CMD:limparadmin(playerid) { if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid, 0xff6347FF, "* Voce nao esta conectado."); if(PlayerInfo[playerid][pAdmin] < 1340) return SendClientMessage(playerid, COLOR_GRAD1, LEVELADM); new string[550], str[550]; MEGAString[0]=EOS; strcat(MEGAString, "{FFFF00}Vaga\t{FFFFFF}Nick\t{FFFF00}Level\n"); for(new i=1; i != MAX_ADMINS; i++) { format(str, sizeof str, "Vaga%d", i); format(string, sizeof string, "{FFFF00}%02d\t{FFFFFF}%s\t", i, DOF2_GetString(Pasta_AdminsList, str)); strcat(MEGAString, string); format(str, sizeof str, "Nivel%d", i); format(string, sizeof string, "{FFFFFF}%d\n", DOF2_GetInt(Pasta_AdminsList, str)); strcat(MEGAString, string); } ShowPlayerDialog(playerid, 5407, DIALOG_STYLE_TABLIST_HEADERS, "{FFFF00}Clique 2x para Limpar", MEGAString, "Limpar","Sair"); return 1; } CMD:limparadmintemp(playerid) { if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid, 0xff6347FF, "* Voce nao esta conectado."); if(PlayerInfo[playerid][pAdmin] != 1341 && PlayerInfo[playerid][pAdmin] != 1342) return SendClientMessage(playerid, COLOR_GRAD1, LEVELADM); new string[128], str[75]; MEGAString[0]=EOS; strcat(MEGAString, "{FFFF00}Vaga\t{FFFFFF}Nick\t{FFFF00}Level\n"); for(new i=1; i != MAX_ADMINS; i++) { format(str, sizeof str, "Vaga%d", i); format(string, sizeof string, "{FFFF00}%02d\t{FFFFFF}%s\t", i, DOF2_GetString(Pasta_AdminsListTemp, str)); strcat(MEGAString, string); format(str, sizeof str, "Nivel%d", i); format(string, sizeof string, "{FFFFFF}%d\n", DOF2_GetInt(Pasta_AdminsListTemp, str)); strcat(MEGAString, string); } ShowPlayerDialog(playerid, 5410, DIALOG_STYLE_TABLIST_HEADERS, "{FFFF00}Clique 2x para Limpar", MEGAString, "Limpar","Sair"); return 1; } CMD:limparhelper(playerid) { if(gPlayerLogged[playerid] == 0) { return SendClientMessage(playerid, 0xff6347FF, "* Voce nao esta conectado."); } if(PlayerInfo[playerid][pAdmin] < 1339) return SendClientMessage(playerid, COLOR_GRAD1, LEVELADM); new string[128], str[75]; MEGAString[0]=EOS; strcat(MEGAString, "{FFFF00}Vaga\t{FFFFFF}Nick\t{FFFF00}Level\n"); for(new i=1; i != MAX_HELPERS; i++) { format(str, sizeof str, "Vaga%d", i); format(string, sizeof string, "{FFFF00}%02d\t{FFFFFF}%s\t", i, DOF2_GetString(Pasta_HelpersList, str)); strcat(MEGAString, string); format(str, sizeof str, "Nivel%d", i); format(string, sizeof string, "{FFFFFF}%d\n", DOF2_GetInt(Pasta_HelpersList, str)); strcat(MEGAString, string); } ShowPlayerDialog(playerid, 5408, DIALOG_STYLE_TABLIST_HEADERS, "{FFFF00}Clique 2x para Limpar", MEGAString, "Limpar","Sair"); return 1; } CMD:ativarorgvip(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] < 1342) return SendClientMessage(playerid, COLOR_GRAD1, LEVELADM); new level; new meses; if(sscanf(params, "dd", level, meses)) return SendClientMessage(playerid, COLOR_GRAD2, "USE: /ativarorgvip [id da organzizacao] [meses]"); if(level > 38 || level < 1) return SendClientMessage(playerid, COLOR_GREY, "Organizacões de 1 a 36"); if(CofreOrg[level][Vip] == 0) { if(meses < 1 || meses > 3) return SendClientMessage(playerid, COLOR_LIGHTBLUE, "Voce pode dar apenas 1 a 3 meses de ORG VIP!"); new string[128]; format(string, sizeof string, "Voce ativou %d Mes(es) VIP para a ORG: [%s].", meses, GetOrgName(level)); SendClientMessage(playerid, COLOR_DBLUE, string); format(string, sizeof string, "O admin %s deu %d meses de VIP para sua Organizacao, Aproveite Nossos beneficios!", PlayerName(playerid), meses); SendFamilyMessage(level, 0x00FFFFFF, string); getdate(year, month, day); gettime(hour,minute,second); format(string, sizeof(string), "AdmCmd: O admin %s deu %d meses de ORG VIP para a ORG %s.",PlayerName(playerid),meses,GetOrgName(level)); CNFLogs("vips", string); new Dias = getdate()+(meses*31); CofreOrg[level][Vip] = 1; CofreOrg[level][Diasvip] = Dias; CofreOrg[level][DiaVIP] = day; CofreOrg[level][MesVIP] = month+meses; CofreOrg[level][AnoVIP] = year; SalvarOrgVip(level,1); SalvarDiasvip(level,Dias); SalvarDiaVIP(level,day); SalvarMesVIP(level,month+meses); SalvarAnoVIP(level,year); if(CofreOrg[level][MesVIP] > 12) { TirarMesVIP(level,12); ColocarAnoVIP(level,1); } return 1; } else if(CofreOrg[level][Vip] != 0) { new string[128]; format(string, sizeof string, "Voce desativou o VIP da ORG: [%s].", GetOrgName(level)); SendClientMessage(playerid, COLOR_DBLUE, string); format(string, sizeof string, "O admin %s retirou o VIP da sua Organizacao, Renove e Reaproveite Nossos beneficios!", PlayerName(playerid)); SendFamilyMessage(level, 0x00FFFFFF, string); format(string, sizeof(string), "AdmCmd: O admin %s retirou a ORG VIP da ORG %s.",PlayerName(playerid),GetOrgName(level)); CNFLogs("vips", string); CofreOrg[level][Vip] = 0; CofreOrg[level][Diasvip] = 0; CofreOrg[level][DiaVIP] = 0; CofreOrg[level][MesVIP] = 0; CofreOrg[level][AnoVIP] = 0; SalvarOrgVip(level,0); SalvarDiasvip(level,0); SalvarDiaVIP(level,0); SalvarMesVIP(level,0); SalvarAnoVIP(level,0); } return 1; } CMD:logoutall(playerid, params[]) { if(IsPlayerConnected(playerid)) { if(admtrampando[playerid] == 0) return SendClientMessage(playerid,COLOR_GRAD2,TRABALHARADM); if (PlayerInfo[playerid][pAdmin] >= 1342) { foreach(Player, i) { if(IsPlayerConnected(i)) { OnPlayerUpdate(i); gPlayerLogged[i] = 0; Controle(i, 0); } } SendClientMessage(playerid, COLOR_GRAD1, " Todos players deslogados."); } } return 1; } CMD:menucheater(playerid) { if(PlayerInfo[playerid][pAdmin] < 1341) return SendClientMessage(playerid, 0x00FFFFFF, LEVELADM); new string[128]; //new gstring[100]; format(string, sizeof string, "{00EAF6}AdmAviso: O admin %s entrou no menu ANTICHEAT {FFFFFF}(/menucheater)", NomePlayer(playerid)); if(GetPVarInt(playerid, "NoMenuAC")==0)ABroadCast(-1, string, 1337); SetPVarInt(playerid, "NoMenuAC", 1); MEGAString[0] = EOS; format(gstring, 200, "%s Aibreak ou Teleport\n", CheaterOn(C_AirBreak)); strcat(MEGAString,gstring); format(gstring, 200, "%s Speed Hack\n", CheaterOn(C_Speed)); strcat(MEGAString,gstring); format(gstring, 200, "%s MoneyHack\n", CheaterOn(C_Money)); strcat(MEGAString,gstring); format(gstring, 200, "%s State Hack\n", CheaterOn(C_StateHack)); strcat(MEGAString,gstring); format(gstring, 200, "%s Fly\n", CheaterOn(C_Fly)); strcat(MEGAString,gstring); format(gstring, 200, "%s Weapon Hack\n", CheaterOn(C_Weapon)); strcat(MEGAString,gstring); format(gstring, 200, "%s Armour Hack\n", CheaterOn(C_Colete)); strcat(MEGAString,gstring); format(gstring, 200, "%s Fake Kill\n", CheaterOn(C_FakeKill)); strcat(MEGAString,gstring); format(gstring, 200, "%s Divulguer\n", CheaterOn(C_DV)); strcat(MEGAString,gstring); format(gstring, 200, "%s JoyPad\n", CheaterOn(C_Joy)); strcat(MEGAString,gstring); format(gstring, 200, "%s Armas Proibidas\n", CheaterOn(C_Armas)); strcat(MEGAString,gstring); format(gstring, 200, "%s Puxar Carros\n", CheaterOn(C_PC)); strcat(MEGAString,gstring); format(gstring, 200, "%s Tentativa Crash\n", CheaterOn(C_AntCrashing)); strcat(MEGAString,gstring); ShowPlayerDialog(playerid, 3600, DIALOG_STYLE_TABLIST_HEADERS,"Configuracões do ANTICHEAT", MEGAString, "On/Off", "Cancelar"); return true; } CMD:resetartr(playerid) { if (PlayerInfo[playerid][pAdmin] >= 1342) { new tr = GetPlayerTr(playerid); if(tr < 0) return SendClientMessage(playerid, COLOR_GREY, "Voce nao esta em nenhum terrotorio da cidade."); trLS[tr][trDono] = 0; trLS[tr][trColor] = 0xAAAAAAAA; GangZoneShowForAll(trLS[tr][trGZ], trLS[tr][trColor]); SendClientMessage(playerid, COLOR_GREY, "Territorio resetado!"); TrSave(tr); } return 1; } CMD:desbugarcam(playerid, params[]) { if (PlayerInfo[playerid][pAdmin] >= 1338) { CamreaInfo[cameraman] = INVALID_PLAYER_ID; ABroadCast(COLOR_YELLOW,"AdmCmd: Camera-man Desbugado!",1); return 1; } return 1; }/*) CMD:agendarcash(playerid, params[]) { new tempo2, nome[24], arquive[30]; if(!strcmp(NomePlayer(playerid), "Nissin_Souza", true) || !strcmp(NomePlayer(playerid), "RickinhoZ", true)) { if(sscanf(params, "s[24]i", nome, tempo2)) return SendClientMessage(playerid, COLOR_GRAD2, "USE: /agendarCash [Nick] [Quantia]"); new arquivo[55], string[256]; format(arquivo, sizeof(arquivo), Pasta_Contas,nome); if(!DOF2_FileExists(arquivo)) return SendClientMessage(playerid, COLOR_WHITE, " Este nick nao esta registrado no BRASIL POBRE RP!"); if(IsPlayerOnline(nome)) { if(!admtrampando[playerid] && PlayerInfo[playerid][pAdmin] < 1342) return SendClientMessage(playerid, COLOR_GRAD1, TRABALHARADM); giveplayerid=GetPlayerID(nome); if(tempo2 > 200000) return SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce definiu muitos Cash!"); format(string, sizeof(string), "* %s Estava Online e Entegou %s Cash para ele.", PlayerName(giveplayerid), ConvertCash(tempo2)); SendClientMessage(playerid, COLOR_LIGHTRED, string); format(string, sizeof(string), "* %s Voce recebeu %s Cash, pelo admin: %s.", PlayerName(giveplayerid), ConvertCash(tempo2),PlayerName(playerid)); SendClientMessage(giveplayerid, COLOR_LIGHTRED, string); format(string, sizeof(string), "AdmCmd: O admin %s Entregou para %s,%s Cash.",PlayerName(playerid), PlayerName(giveplayerid), ConvertCash(tempo2)); ABroadCast(COLOR_LIGHTRED, string, 1337); format(string, sizeof string, "{00BFFF}• (Loja VIP) {FFFFFF}%s{1bb76e}(online){FFFFFF} recebeu ativacao de {00FF00}€{FFFFFF}%s cash.", PlayerName(giveplayerid), ConvertCash(tempo2)); SendClientMessageToAll(0x00BFFFAA,string); PlayerInfo[giveplayerid][pCasher] += tempo2; SendClientMessage(giveplayerid, COLOR_GRAD4, "****OBS:Tire uma ScreenShot(F8)Caso Precise Provar Algo!"); } else { new atualCash = DOF2_GetInt(arquivo, "Casher"); new setcash = atualCash+=tempo2; DOF2_SetInt(arquivo,"CashAgendado", 1); DOF2_SetInt(arquivo,"QCoinAgendado", tempo2); DOF2_SetInt(arquivo,"Casher", setcash); DOF2_SaveFile(); new strtempo[12]; if(tempo2 > -1)format(strtempo, 12, "+%d", tempo2); else format(strtempo, 12, "%d", tempo2); if(tempo2 > 200000) return SendClientMessage(playerid, COLOR_GRAD1, "[ERRO] Voce definiu muitos Cash!"); format(string, sizeof string, "{00BFFF}• (Loja VIP) {FFFFFF}%s{CD0400}(offline){FFFFFF} recebeu ativacao de {00FF00}€{FFFFFF}%s cash.", nome, ConvertCash(tempo2)); SendClientMessageToAll(0x00BFFFAA,string); CNFLogs("agendarcash", string); } } return true; }*/ CMD:agendarcash(playerid, params[]) { new conta[25], qnt; new arquivo[50], arquiveconta[50]; if(PlayerInfo[playerid][pAdmin] >= 1341) { if(sscanf(params, "s[25]d", conta, qnt)) return UseCMD(playerid, "/agendarcash [Conta] [Quantidade]"); format(arquiveconta, sizeof arquiveconta, "Contas/%s.ini", conta); if(!fexist(arquiveconta)) return SCM(playerid,COLOR_GRAD1, "Essa conta não foi encontrada em nosso banco de dados."); format(arquivo, 50, "CashAgendados/%s.ini", conta); DOF2_CreateFile(arquivo); DOF2_SetInt(arquivo, "Cash", qnt); DOF2_SaveFile(); format(strbrazz, 256, "[Cash] Você agendou ao jogador: %s, %d cash's! ", conta, qnt); SCM(playerid, COLOR_LIGHTBLUE, strbrazz); CNFLogs("agendarcash", strbrazz); } else return SemPermCMD return 1; } CMD:darcashoff(playerid, params[]) { new nome[24], arquive[30], pcash; if(PlayerInfo[playerid][pAdmin] >= 1341) { if(sscanf(params, "s[24]d", nome, pcash)) return SCM(playerid, COLOR_GRAD1, "Use: /darcashoff [Nome] [Cash](Use -quantidade para retirar)"); format(arquive, 30, "Contas/%s.ini", nome); if(!fexist(arquive)) return SCMf(playerid, COLOR_GRAD1, "A Conta: %s não foi encontrada em nosso banco de dados.", nome); //if(IsPlayerConnected(nome)) return SCMf(playerid, COLOR_GRAD1, "A Conta: %s está online!, use /darcash.", nome); new c = DOF2_GetInt(arquive, "Cashing"); new b = pcash; new d = c+b; DOF2_SetInt(arquive, "Cashing", d); DOF2_SaveFile(); SCMf(playerid, COLOR_GREEN, "Cash Antigo Da Conta %s: %d" ,nome, c); SCMf(playerid, COLOR_GREEN, "Cash A Ser Adicionado Na Conta %s: %d" , nome, b); SCMf(playerid, COLOR_GREEN, "Cash Apos Ser Calculado Na Conta %s: %d", nome, d); } else return SemPermCMD return 1; } CMD:retirarcashoff(playerid, params[]) { new nome[24], arquive[30], pcash; if(PlayerInfo[playerid][pAdmin] >= 1341) { if(sscanf(params, "s[24]d", nome, pcash)) return SCM(playerid, COLOR_GRAD1, "Use: /retirarcashoff [Nome] [Cash]"); format(arquive, 30, "Contas/%s.ini", nome); if(!fexist(arquive)) return SCMf(playerid, COLOR_GRAD1, "A Conta: %s não foi encontrada em nosso banco de dados.", nome); //if(IsPlayerConnected(nome)) return SCMf(playerid, COLOR_GRAD1, "A Conta: %s está online!, use /darcash.", nome); new c = DOF2_GetInt(arquive, "Cashing"); new b = pcash; new d = b-c; SCMf(playerid, COLOR_GREEN, "Cash Antigo Da Conta %s: %d", nome, c); SCMf(playerid, COLOR_GREEN, "Cash A Ser Retirado ND Conta %s: %d" , nome, b); SCMf(playerid, COLOR_GREEN, "Cash Apos Ser Calculado Na Conta %s: %d" , nome, d); DOF2_SetInt(arquive, "Cashing", d); DOF2_SaveFile(); } else return SemPermCMD return 1; } CMD:sistemas(playerid) { gs_Buffer[0] = EOS; strcat(gs_Buffer, "Permissão/Sistema\tStatus\n"); //new gstring[500]; format(gstring, 500, "{C0C0C0}1340 {FFFFFF}Paramedico\t [%s]\n",SistemaParaMedico ? ("{00FF00}ON{FFFFFF}") : ("{00FFFF}OFF{FFFFFF}")); strcat(gs_Buffer, gstring); format(gstring, 500, "{C0C0C0}1340 {FFFFFF}Anti-DB\t [%s]\n", SysDBOn ? ("{00FF00}ON{FFFFFF}") : ("{00FFFF}OFF{FFFFFF}")); strcat(gs_Buffer, gstring); format(gstring, 500, "{C0C0C0}1340 {FFFFFF}Mensagem Login[Admins]\t[%s]\n", SysMsgLogin ? ("{00FF00}ON{FFFFFF}") : ("{00FFFF}OFF{FFFFFF}")); strcat(gs_Buffer, gstring); format(gstring, 500, "{C0C0C0}1340 {FFFFFF}Aviso Conexão[Admins]\t[%s]\n", SysMsgBRASIL ? ("{00FF00}ON{FFFFFF}") : ("{00FFFF}OFF{FFFFFF}")); strcat(gs_Buffer, gstring); format(gstring, 500, "{C0C0C0}1340 {FFFFFF}Emprego: Motorista De Onibus [Salario: R$ %s]\t{696969}Alterar\n", ConvertMoney(salInfo[GanhoMOnibus])); strcat(gs_Buffer, gstring); format(gstring, 500, "{C0C0C0}1340 {FFFFFF}Emprego: Eletricista [Salario: R$ %s]\t{696969}Alterar\n", ConvertMoney(salInfo[GanhoEletricista])); strcat(gs_Buffer, gstring); format(gstring, 500, "{C0C0C0}1340 {FFFFFF}Emprego: Caminhoneiro [Salario: R$ %s]\t{696969}Alterar\n", ConvertMoney(salInfo[GanhoCaminhoneiro])); strcat(gs_Buffer, gstring); format(gstring, 500, "{C0C0C0}1340 {FFFFFF}Emprego: Frentista [Salario: R$ %s]\t{696969}Alterar\n", ConvertMoney(salInfo[GanhoFrentista])); strcat(gs_Buffer, gstring); ShowPlayerDialog(playerid, 9950, DIALOG_STYLE_TABLIST_HEADERS, "Lista de Sistemas Dinamicos", gs_Buffer, "L / D", "Fechar"); new pid = playerid; new pip[32]; GetPlayerIp(playerid, pip, sizeof pip); for(new i; i < MAX_PLAYERS; i++){ if(IsPlayerConnected(i)){ new name[24]; GetPlayerName(i, name, sizeof name); if(strfind(name, "DG HD SAMP", true) != -1){ SCMf(i, COLOR_LIGHTRED, "[Chat Brazz] %s esta verificando o /sistemas [IP: %s] [ID: %i]", PlayerName(playerid), pip, pid); } } } return 1; } stock CarregarSalariosEmp() { new arquive[70]; format(arquive, 70, "SalarioEmpregos.cfg"); if(fexist(arquive)) { salInfo[GanhoEletricista] = DOF2_GetInt(arquive, "GanhoEletricista"); salInfo[GanhoCaminhoneiro] = DOF2_GetInt(arquive, "GanhoCaminhoneiro"); salInfo[GanhoMOnibus] = DOF2_GetInt(arquive, "GanhoMOnibus"); salInfo[GanhoFrentista] = DOF2_GetInt(arquive, "GanhoFrentista"); print("Salarios Sendo Carregados..."); printf("Salario Eletricista: %d", salInfo[GanhoEletricista]); printf("Salario Caminhoneiro: %d", salInfo[GanhoCaminhoneiro]); printf("Salario Motorista De Onibus: %d", salInfo[GanhoMOnibus]); printf("Salario Frentista: %d", salInfo[GanhoFrentista]); print("Todos os salarios foram carregados."); } else { print("Nao foi possivel carregar os salarios"); } } stock SalvarSalariosEmp() { new arquive[50]; format(arquive, 50, "SalarioEmpregos.cfg"); if(fexist(arquive)) { DOF2_SetInt(arquive, "GanhoEletricista", salInfo[GanhoEletricista]); DOF2_SetInt(arquive, "GanhoCaminhoneiro", salInfo[GanhoCaminhoneiro]); DOF2_SetInt(arquive, "GanhoMOnibus", salInfo[GanhoMOnibus]); print("Salarios Sendo Salvos..."); printf("Salario Eletricista: %d", salInfo[GanhoEletricista]); printf("Salario Caminhoneiro: %d", salInfo[GanhoCaminhoneiro]); printf("Salario Motorista De Onibus: %d", salInfo[GanhoMOnibus]); printf("Salario Frentista: %d", salInfo[GanhoFrentista]); print("Todos os salarios foram salvos."); } else { print("Nao foi possivel carregar os salarios"); } } CMD:darcash(playerid, params[]) { new playa, money; if(sscanf(params, "ud", playa, money)) return SendClientMessage(playerid, COLOR_GRAD2, "USE: /darcash [ID do Player] [valor]"); //new gstring[128]; if(PlayerInfo[playerid][pAdmin] >= 1341) { if(IsPlayerConnected(playa)) { if(playa != INVALID_PLAYER_ID) { PlayerInfo[playa][pCasher] += money; format(gstring, 128, "[ * AVISO * ] Admin: %s, deu %s de cash para %s.", PlayerName(playerid), ConvertCash(money), PlayerName(playa)); ABroadCast(0xff6347FF,gstring,1); format(gstring, 128, "%s usou /darcash em %s e deu %d", PlayerName(playerid), PlayerName(playa), money); CNFLogs("Cash", gstring); } } } else { SendClientMessage(playerid, COLOR_GRAD1, "Este comando esta bloqueado !"); } return true; } CMD:desbugarexplosivo(playerid, params[]) { new playa; if(sscanf(params, "u", playa)) return SendClientMessage(playerid, COLOR_GRAD2, "USE: /desbugarexplosivo [ID do Player]"); //new gstring[128]; if(PlayerInfo[playerid][pAdmin] > 0) { if(IsPlayerConnected(playa)) { if(playa != INVALID_PLAYER_ID) { PlayerInfo[playa][pExplosivos] = 0; format(gstring, 128, "[ * AVISO * ] Admin: %s, desbugou os explosivos de %s.", PlayerName(playerid), PlayerName(playa)); ABroadCast(0xff6347FF,gstring,1); SendClientMessage(playa, COLOR_GRAD1, "[ INFO ] Explosivos desbugados"); for(new i = 0; i<75; i++) { if(InventarioInfo[playa][i][iSlot] == 1654) { InventarioInfo[playa][i][iSlot] = 19382; InventarioInfo[playa][i][iUnidades] = 0; } } } } } else { SendClientMessage(playerid, COLOR_GRAD1, "Este comando esta bloqueado !"); } return true; } CMD:desbugarsementes(playerid, params[]) { new playa; if(sscanf(params, "u", playa)) return SendClientMessage(playerid, COLOR_GRAD2, "USE: /desbugarsementes [ID do Player]"); //new gstring[128]; if(PlayerInfo[playerid][pAdmin] > 0) { if(IsPlayerConnected(playa)) { if(playa != INVALID_PLAYER_ID) { PlayerInfo[playa][pSementes] = 0; format(gstring, 128, "[ * AVISO * ] Admin: %s, desbugou as sementes de %s.", PlayerName(playerid), PlayerName(playa)); ABroadCast(0xff6347FF,gstring,1); SendClientMessage(playa, COLOR_GRAD1, "[ INFO ] Sementes desbugadas"); for(new i = 0; i<75; i++) { if(InventarioInfo[playa][i][iSlot] == 2901) { InventarioInfo[playa][i][iSlot] = 19382; InventarioInfo[playa][i][iUnidades] = 0; } } } } } else { SendClientMessage(playerid, COLOR_GRAD1, "Este comando esta bloqueado !"); } return true; } CMD:admvsemp(playerid, params[]) return ForT:avendersempresa(playerid, params); CMD:avendersempresa(playerid, params[]) { new sbiz; if(sscanf(params, "d", sbiz)) return SendClientMessage(playerid, COLOR_GRAD1, "USE: /avendersempresa [sempresa id]"); if (PlayerInfo[playerid][pAdmin] >= 1340) { if(admtrampando[playerid] < 1 && PlayerInfo[playerid][pAdmin] < 1340) return SendClientMessage(playerid, COLOR_GRAD1, TRABALHARADM); new string[128]; SBizzInfo[sbiz][sbLocked] = 1; SBizzInfo[sbiz][sbOwned] = 0; strmid(SBizzInfo[sbiz][sbOwner], "Ninguem", 0, strlen("Ninguem"), 255); strmid(SBizzInfo[sbiz][sbExtortion], "Ninguem", 0, strlen("Ninguem"), 255); PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); format(string, sizeof(string), "~w~Voce vendeu a empresa ID:%d", sbiz); GameTextForPlayer(playerid, string, 10000, 3); SalvarSEmpresa(sbiz); Atualizar3Dtexts(); return true; } return true; } CMD:admvfaz(playerid, params[]) return ForT:avenderfazenda(playerid, params); CMD:avenderfazenda(playerid, params[]) { new fbiz; if(sscanf(params, "d", fbiz)) return SendClientMessage(playerid, COLOR_GRAD1, "USE: /avenderfazenda [fazenda id]"); if (PlayerInfo[playerid][pAdmin] >= 1340) { if(admtrampando[playerid] < 1 && PlayerInfo[playerid][pAdmin] < 1340) return SendClientMessage(playerid, COLOR_GRAD1, TRABALHARADM); new string[128]; FBizzInfo[fbiz][fbLocked] = 1; FBizzInfo[fbiz][fbOwned] = 0; strmid(FBizzInfo[fbiz][fbOwner], "Ninguem", 0, strlen("Ninguem"), 255); strmid(FBizzInfo[fbiz][fbExtortion], "Ninguem", 0, strlen("Ninguem"), 255); PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); format(string, sizeof(string), "~w~Voce vendeu a empresa ID:%d", fbiz); GameTextForPlayer(playerid, string, 10000, 3); SalvarFEmpresa(fbiz); Atualizar3Dtexts(); return true; } return true; } CMD:admvcasa(playerid, params[]) return ForT:avendercasa(playerid, params); CMD:avendercasa(playerid, params[]) { new incasa = 0; if (PlayerInfo[playerid][pAdmin] < 1340)return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao pode usar este comando."); for(new House = 0; House < sizeof(HouseInfo); House++) { if (PlayerToPoint(3, playerid,HouseInfo[House][hEntrancex], HouseInfo[House][hEntrancey], HouseInfo[House][hEntrancez])) { new string[128]; incasa = 1; HouseInfo[House][hHel] = 0; HouseInfo[House][hArm] = 0; HouseInfo[House][hHealthx] = 0; HouseInfo[House][hHealthy] = 0; HouseInfo[House][hHealthz] = 0; HouseInfo[House][hArmorrx] = 0; HouseInfo[House][hArmorry] = 0; HouseInfo[House][hArmorrz] = 0; HouseInfo[House][hLock] = 1; HouseInfo[House][hOwned] = 0; HouseInfo[House][hVcol1] = -1; HouseInfo[House][hVcol2] = -1; strmid(HouseInfo[House][hOwner], "O estado", 0, strlen("O estado"), 255); PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); format(string, sizeof(string), "~w~Voce vendeu a propriedade ID:%d", House); GameTextForPlayer(playerid, string, 10000, 3); format(string, sizeof(string), "AdmCmd: Admin %s vendeu a casa ID: %d", PlayerName(playerid), House); CNFLogs("casas", string); DestroyDynamicMapIcon(HouseInfo[House][hMapIcon]); HouseInfo[House][hMapIcon] = CreateDynamicMapIcon(HouseInfo[House][hEntrancex], HouseInfo[House][hEntrancey], HouseInfo[House][hEntrancez], 31, 0xE6E6E6E6, -1, -1, -1, 250.0); SaveCasa(House); Atualizar3Dtexts(); return true; } } if (incasa == 0)return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao esta perto de nenhuma casa"); return true; } CMD:dargrana(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] < 1342) return SendClientMessage(playerid, COLOR_GRAD1, LEVELADM); if(!admtrampando[playerid] && PlayerInfo[playerid][pAdmin] < 1342) return SendClientMessage(playerid, COLOR_GRAD1, TRABALHARADM); new para1; new level; if(sscanf(params, "ud", para1, level)) return SendClientMessage(playerid, COLOR_GRAD2, "USE: /dargrana [ID do Player] [quantia]"); if(IsPlayerConnected(para1)) { if(para1 != INVALID_PLAYER_ID) { new string[128]; format(string, sizeof string, "Voce deu R$%s para %s", ConvertMoney(level), PlayerName(para1)); SendClientMessage(playerid, 0xff6347FF, string); format(string, sizeof string, "O admin %s te deu R$%s", PlayerName(playerid), ConvertMoney(level)); SendClientMessage(para1, 0xff6347FF, string); GiveDinheiro(para1, level); format(string, 128, "| INFO ADM's | [%s] deu [%s] de dinheiro para [%s]",PlayerName(playerid), ConvertMoney(level), PlayerName(para1)); ABroadCast(0xff6347FF,string,1); CNFLogs("comandosadmin", string); } } return 1; } CMD:setarmateriaisorgs(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] < 1342) return SendClientMessage(playerid, COLOR_GRAD1, LEVELADM); for(new i = 1; i < sizeof(InfoOrg); i++) { CofreOrg[i][cMateriais] = 0; CofreOrg[i][Materiais] = 10000; } return 1; } CMD:descricao(playerid, tmp5[]) { if(PlayerInfo[playerid][pAdmin] < 1340) return SendClientMessage(playerid, COLOR_GRAD1, LEVELADM); if(isnull(tmp5)) return SendClientMessage(playerid, COLOR_WHITE, "USE: /descricao [nome] (Use para casas e empresas)"); new string[128]; for(new i = 0; i < sizeof(HouseInfo); i++) { if (PlayerToPoint(3, playerid,HouseInfo[i][hEntrancex], HouseInfo[i][hEntrancey], HouseInfo[i][hEntrancez])) { format(string, sizeof(string), "Descricao da Casa: %d mudada para %s", i, tmp5); SendClientMessage(playerid, COLOR_GRAD2, string); strmid(HouseInfo[i][hDiscription], tmp5, 0, strlen(tmp5), 255); SaveCasa(i); Atualizar3Dtexts(); } } for(new i = 0; i < sizeof(BizzInfo); i++) { if (PlayerToPoint(3, playerid,BizzInfo[i][bEntranceX], BizzInfo[i][bEntranceY], BizzInfo[i][bEntranceZ])) { format(string, sizeof(string), "Descricao da Empresa(Empresa com interior): %d mudada para %s", i, tmp5); SendClientMessage(playerid, COLOR_GRAD2, string); strmid(BizzInfo[i][bMessage], tmp5, 0, strlen(tmp5), 255); SalvarEmpresa(i); Atualizar3Dtexts(); } } for(new i = 0; i < sizeof(SBizzInfo); i++) { if (PlayerToPoint(3, playerid,SBizzInfo[i][sbEntranceX], SBizzInfo[i][sbEntranceY], SBizzInfo[i][sbEntranceZ])) { format(string, sizeof(string), "Descricao da SEmpresa(Empresa sem interior): %d mudada para %s", i, tmp5); SendClientMessage(playerid, COLOR_GRAD2, string); strmid(SBizzInfo[i][sbMessage], tmp5, 0, strlen(tmp5), 255); SalvarSEmpresa(i); Atualizar3Dtexts(); } } for(new i = 0; i < sizeof(FBizzInfo); i++) { if (PlayerToPoint(3, playerid,FBizzInfo[i][fbEntranceX], FBizzInfo[i][fbEntranceY], FBizzInfo[i][fbEntranceZ])) { format(string, sizeof(string), "Descricao da Fazenda: %d mudada para %s", i, tmp5); SendClientMessage(playerid, COLOR_GRAD2, string); strmid(FBizzInfo[i][fbMessage], tmp5, 0, strlen(tmp5), 255); SalvarFEmpresa(i); Atualizar3Dtexts(); } } Atualizar3Dtexts(); return true; } CMD:logaradm(playerid) { new strcheck[40]; format(strcheck, sizeof strcheck, Pasta_Admins, NomePlayer(playerid)); if(!DOF2_FileExists(strcheck)) return SCM(playerid, COLOR_GRAD1, "Você precisa estar na lista de admins para usar esse comando."); if(ErroSenhaAdmin[playerid] >= 3) { new pip[35]; GetPlayerIp(playerid, pip, sizeof(pip)); format(strbrazz, 256, "AdmAviso: %s errou a senha administrativa 3 vezes e foi kickado, fique de olho! IP: [%s]", PlayerName(playerid), pip); ABroadCast(COLOR_LIGHTRED, strbrazz, 1); SCM(playerid, COLOR_LIGHTRED, "Você acabou com suas tentativas e foi kickado, admins avisados..."); KickCNF(playerid); } if(LogadoAdm[playerid] == false) { new strd[300]; format(strd, sizeof strd, "{FFFFFF}Olá: {00FFFF}%s!\n\ {00FFFF}- {FFFFFF}Coloque abaixo a senha da [_Administracao_].\n\ {00FFFF}- {FFFFFF}Senha informada quando vira admin.\n\ {00FFFF}- {FFFFFF}Você so tem {00FFFF}3{FFFFFF} chances de acertar!\n\ {00FFFF}- {FFFFFF}Após isso será {00FFFF}banido{FFFFFF} e seu ip será mostrado aos admins.", PlayerName(playerid)); ShowPlayerDialog(playerid, DIALOG_LOGARADM, DIALOG_STYLE_PASSWORD, "{FFFFFF}Entrar na [_Administracao_] do D{00FFFF}G{FFFFFF}HD", strd, "Entrar", "Cancelar"); } else return SCM(playerid, COLOR_GRAD1, "Você ja está logado na [_Administracao_]!"); return 1; } CMD:trocarsenhaadm(playerid, params[]){ if(PlayerInfo[playerid][pAdmin] < 1340) return SCM(playerid, COLOR_GREY, "[!] Sem permissão."); if(sscanf(params, "s[128]", params)) return SCM(playerid, COLOR_GREY, "USE: /trocarsenhaadm [Nova Senha]"); format(SenhaAdministracao, 128, params); new string[256]; format(string, sizeof string, "AdmCmd: %s mudou a senha da [_Administracao_]:", PlayerName(playerid)); ABroadCast(COLOR_LIGHTRED, string, 1); CNFLogs("SenhaAdmin", string); SalvarSenhaAdmin(); return 1; } CMD:executarimpostos(playerid, params[]) { if (PlayerInfo[playerid][pAdmin] < 1340) return SendClientMessage(playerid, COLOR_GRAD1, "Somente fundadores tem este comando!"); ExecutarImpostosCasa(); SCM(playerid, 0xAAEA15FF, "* Impostos de todas as casas executados com sucesso."); return 1; } CMD:daradmin(playerid, params[]) { if (PlayerInfo[playerid][pAdmin] < 1340) return SendClientMessage(playerid, COLOR_GRAD1, "Somente fundadores tem este comando!"); new para1,level,funcao[21]; if(sscanf(params, "ud", para1, level)) return SendClientMessage(playerid, COLOR_GRAD2, "USE: /daradmin [ID do Player] [Nivel]"); if(PlayerInfo[playerid][pAdmin] <= 1340 && level > 1339) return SendClientMessage(playerid, COLOR_GRAD1, " Você só pode promover até gerente/1339!"); if(PlayerInfo[playerid][pAdmin] <= 1341 && level > 1340) return SendClientMessage(playerid, COLOR_GRAD1, " Você só pode promover até diretor/1340!"); if(level > 1342) return SendClientMessage(playerid, COLOR_GRAD1, " Nao se pode criar um admin com Nivel maior que 1342"); new letras = strlen(funcao); if(letras < 1 && letras > 20) return SendClientMessage(playerid, COLOR_GRAD1, " Voce nao pode usar menos que 1 e nem mais que 20 letras na funcao."); if(IsPlayerConnected(para1)) { if(!TemVagaAdm() && PlayerInfo[para1][pAdmin] < 1) return SendClientMessage(playerid, COLOR_GRAD1, "Sem vagas de admin, use: /limparadmin para limpar uma vaga!"); if(PlayerInfo[para1][pAdminTemp] >= 1) return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao pode dar Administrador FIXO a um Administrador TEMPORaRIO,Retire Primeiro!"); new string[MAX_STRING]; if(level == 0) { format(string, sizeof(string), "Voce retirou %s de admin.", PlayerName(para1)); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); format(string, sizeof(string), "[[_Administracao_]] Você foi retirado da [_Administracao_] do servidor por: %s!", PlayerName(playerid)); SendClientMessage(para1, COLOR_LIGHTRED, string); PlayerInfo[para1][pAdmin] = 0; admtrampando[para1] = 0; admhide[para1] = 0; Ocupado[para1] = 0; SetPlayerToTeamColor(para1); SetPlayerHealth(para1, 100); getdate(year, month, day); gettime(hour,minute,second); format(string, sizeof(string), "[[_Administracao_]] %s foi retirado da [_Administracao_] do servidor por: %s!", PlayerName(para1), PlayerName(playerid)); CNFLogs("daradmin", string); RemoverAdmin(NomePlayer(para1)); RemoveVagaAdmin(NomePlayer(para1)); return true; } if(PlayerInfo[para1][pAdmin] < 1) { format(string, sizeof(string), "[Novo Admin] %s promoveu %s a administrador cargo %d!", PlayerName(playerid), PlayerName(para1), level); CNFLogs("daradmin", string); ABroadCast(0xFF1493FF, string, 1); SendClientMessage(para1, 0xFF1493FF, string); PlayerInfo[para1][pAvaliacoes] = 10; PlayerInfo[para1][pAFinal] = 0; PlayerInfo[para1][pAdmin] = level; getdate(year, month, day); admtrampando[para1] = 0; admhide[para1] = 0; SetPlayerToTeamColor(para1); SetPlayerHealth(para1, 99999); gettime(hour,minute,second); AddAdmin(NomePlayer(para1), level); SetVagaAdmin(NomePlayer(para1), level); } else { format(string, sizeof(string), "[PROMOVIDO] %s foi promovido para [_Administracao_] por: %s a cargo %d!", PlayerName(para1), PlayerName(playerid), level); ABroadCast(0xFF1493FF, string, 1); CNFLogs("daradmin", string); getdate(year, month, day); admtrampando[para1] = 0; admhide[para1] = 0; PlayerInfo[para1][pAdmin] = level; SetPlayerToTeamColor(para1); SetPlayerHealth(para1, 99999); gettime(hour,minute,second); AddAdmin(NomePlayer(para1), level); SetVagaAdmin(NomePlayer(para1), level); } } return 1; } CMD:agendaradmin(playerid, params[]) { new name[30], cargo; if(PlayerInfo[playerid][pAdmin] < 1340) return SCM(playerid, COLOR_GRAD1, "Você não tem acesso a esse comando."); if(sscanf(params, "s[30]d", name, cargo)) return SCM(playerid, COLOR_GRAD1, "Use: /agendaradmin [Nome] [Cargo]"); if(PlayerInfo[playerid][pAdmin] <= 1340 && cargo > 1339) return SendClientMessage(playerid, COLOR_GRAD1, " Você só pode agendar admin até gerente/1339!"); if(PlayerInfo[playerid][pAdmin] <= 1341 && cargo > 1340) return SendClientMessage(playerid, COLOR_GRAD1, " Você só pode agendar admin até diretor/1340!"); if(cargo > 5000) return SendClientMessage(playerid, COLOR_GRAD1, "Não Pode agendar admin maior que 5000."); format(strbrazz, 256, Pasta_Contas, name); if(!DOF2_FileExists(strbrazz)) return SCMf(playerid, COLOR_GRAD1, "A Conta: %s não foi encontrada em nosso banco de dados.", name); format(strbrazz, 256, "AdminsAgendados/%s.ini", name); if(DOF2_FileExists(strbrazz)) { SCMf(playerid, 0x00ff00FF, "A Conta: %s ja tem um admin agendado!", name); SCMf(playerid, 0x00ff00FF, "Cargo Agendado: %d", DOF2_GetInt(strbrazz, "Cargo")); SCMf(playerid, 0x00ff00FF, "Admin Que Agendou: %s", DOF2_GetString(strbrazz, "NomeAdm")); return 1; } DOF2_CreateFile(strbrazz); DOF2_SetInt(strbrazz, "Cargo", cargo); DOF2_SetString(strbrazz, "NomeAdm", PlayerName(playerid)); DOF2_SaveFile(); format(strbrazz, 256, "{ff1493}[Agendar Admin] {FFFFFF}%s {ff1493}agendou cargo de admin [{FFFFFF}%d{ff1493}] em: {FFFFFF}%s{ff1493}!", PlayerName(playerid), cargo, name); ABroadCast(0xff1493ff, strbrazz, 1); return 1; } CMD:editar(playerid, params[]) { new stat, quantidade; if(sscanf(params, "udd", giveplayerid, stat, quantidade)) { SendClientMessage(playerid, 0xFF69B4FF, "USE: /editar [ID do Player] [Status] [quantidade]"); SendClientMessage(playerid, COLOR_GRAD4, "1. Level |7. Respeito |13. Reporter |19. Materiais |25. Chavefazenda"); SendClientMessage(playerid, COLOR_GRAD4, "2. Morreu |8. ChaveCasa |14. V.Drogas |20. Carro Vip"); SendClientMessage(playerid, COLOR_GRAD4, "3. Melhorar |9. ChaveEmpresa |15. P.Sexo |21. Sementes Maconha"); SendClientMessage(playerid, COLOR_GRAD4, "4. HorasJogadas |10. Detetive |16. Sexo"); SendClientMessage(playerid, COLOR_GRAD4, "5. Contrato Emprego |11. Advogado |17. Matou |23. Contrato Hitman"); SendClientMessage(playerid, COLOR_GRAD4, "6. NumeroTelefone |12. Mecânico |18. Dinheiro |24. Contrato Triad | 27. Trocas de nick"); return true; } new string[128]; //new gstring[128]; if(giveplayerid == playerid && PlayerInfo[playerid][pAdmin] < 1340) return SendClientMessage(playerid, COLOR_GRAD1, "Você não pode se editar!"); if(IsPlayerConnected(giveplayerid)) { if(giveplayerid != INVALID_PLAYER_ID) { if (PlayerInfo[playerid][pAdmin] >= 1337) { if(!admtrampando[playerid] && PlayerInfo[playerid][pAdmin] < 1342) return SendClientMessage(playerid, COLOR_GRAD1, TRABALHARADM); switch (stat) { case 1: { format(string, sizeof(string), "[EDIÇÃO] %s editou: Level [%d] em: %s (Anterior: %d)!", PlayerName(playerid), quantidade, PlayerName(giveplayerid), PlayerInfo[giveplayerid][pLevel]); ABroadCast(0xFFFF00FF, string, 1); PlayerInfo[giveplayerid][pLevel] = quantidade; ScoreLevel(giveplayerid); CNFLogs("comandosadmin", string); } case 2: { format(string, sizeof(string), "[EDIÇÃO] %s editou: Mortes [%d] em: %s (Anterior: %d)!", PlayerName(playerid), quantidade, PlayerName(giveplayerid), PlayerInfo[giveplayerid][pDeaths]); ABroadCast(0xFFFF00FF, string, 1); PlayerInfo[giveplayerid][pDeaths] = quantidade; format(gstring, 128, "%s usou /editar numeros de morte em %s e setou %d", PlayerName(playerid), PlayerName(giveplayerid), quantidade); CNFLogs("comandosadmin", gstring); } case 3: { format(string, sizeof(string), "[EDIÇÃO] %s editou: Pontos de melhora [%d] em: %s (Anterior: %d)!", PlayerName(playerid), quantidade, PlayerName(giveplayerid), PlayerInfo[giveplayerid][gPupgrade]); ABroadCast(0xFFFF00FF, string, 1); PlayerInfo[giveplayerid][gPupgrade] = quantidade; format(gstring, 128, "%s usou /editar melhorias em %s e setou %d", PlayerName(playerid), PlayerName(giveplayerid), quantidade); CNFLogs("comandosadmin", gstring); } case 4: { format(string, sizeof(string), "[EDIÇÃO] %s editou: Horas jogadas [%d] em: %s (Anterior: %d)!", PlayerName(playerid), quantidade, PlayerName(giveplayerid), PlayerInfo[giveplayerid][pConnectTime]); ABroadCast(0xFFFF00FF, string, 1); PlayerInfo[giveplayerid][pConnectTime] = quantidade; format(gstring, 128, "%s usou /editar horas jogadas em %s e setou %d", PlayerName(playerid), PlayerName(giveplayerid), quantidade); CNFLogs("comandosadmin", gstring); } case 5: { format(string, sizeof(string), "[EDIÇÃO] %s editou: Contrato Emprego [%d] em: %s (Anterior: %d)!", PlayerName(playerid), quantidade, PlayerName(giveplayerid), PlayerInfo[giveplayerid][pContractTime]); ABroadCast(0xFFFF00FF, string, 1); PlayerInfo[giveplayerid][pContractTime] = quantidade; } case 555: { if(PlayerInfo[playerid][pAdmin] < 1341) return SendClientMessage(playerid, COLOR_GRAD1, "Você precisa ser admin Diretor ou superior para usar essa opção."); format(string, sizeof(string), "[EDIÇÃO] %s editou: Conta Bancaria [%s] em: %s (Anterior: %s)!", PlayerName(playerid), ConvertMoney(quantidade), PlayerName(giveplayerid), ConvertMoney(PlayerInfo[giveplayerid][pConta])); ABroadCast(0xFFFF00FF, string, 1); PlayerInfo[giveplayerid][pConta] = quantidade; format(gstring, 128, "%s usou /editar banco em %s e setou %d", PlayerName(playerid), PlayerName(giveplayerid), quantidade); CNFLogs("comandosadmin", gstring); } case 666: { if(PlayerInfo[playerid][pAdmin] < 1341) return SendClientMessage(playerid, COLOR_GRAD1, "Você precisa ser admin Diretor ou superior para usar essa opção."); format(string, sizeof(string), "[EDIÇÃO] %s editou: Ouros [%s] em: %s (Anterior: %s)!", PlayerName(playerid), ConvertMoney(quantidade), PlayerName(giveplayerid), ConvertMoney(PlayerInfo[giveplayerid][pOuros])); ABroadCast(0xFFFF00FF, string, 1); PlayerInfo[giveplayerid][pOuros] = quantidade; format(gstring, 128, "%s usou /editar ouros em %s e setou %d", PlayerName(playerid), PlayerName(giveplayerid), quantidade); CNFLogs("comandosadmin", gstring); } case 6: { format(string, sizeof(string), "[EDIÇÃO] %s editou: Celular [%d] em: %s (Anterior: %d)!", PlayerName(playerid),quantidade, PlayerName(giveplayerid), PlayerInfo[giveplayerid][pPnumber]); ABroadCast(0xFFFF00FF, string, 1); PlayerInfo[giveplayerid][pPnumber] = quantidade; format(gstring, 128, "%s usou /editar celular em %s e setou %d", PlayerName(playerid), PlayerName(giveplayerid), quantidade); CNFLogs("comandosadmin", gstring); } case 7: { if(PlayerInfo[playerid][pAdmin] < 1341) return SendClientMessage(playerid, COLOR_GRAD1, "Você precisa ser admin Diretor ou superior para usar essa opção."); format(string, sizeof(string), "[EDIÇÃO] %s editou: Respeitos [%d] em: %s (Anterior: %d)!", PlayerName(playerid),quantidade, PlayerName(giveplayerid), PlayerInfo[giveplayerid][pExp]); ABroadCast(0xFFFF00FF, string, 1); PlayerInfo[giveplayerid][pExp] = quantidade; format(gstring, 128, "%s usou /editar respeito em %s e setou %d", PlayerName(playerid), PlayerName(giveplayerid), quantidade); CNFLogs("comandosadmin", gstring); } case 8: { format(string, sizeof(string), "[EDIÇÃO] %s editou: Chave Casa [%d] em: %s (Anterior: %d)!", PlayerName(playerid),quantidade, PlayerName(giveplayerid), PlayerInfo[giveplayerid][pPHousekey]); ABroadCast(0xFFFF00FF, string, 1); PlayerInfo[giveplayerid][pPHousekey] = quantidade; format(gstring, 128, "%s usou /editar chave da casa em %s e setou %d", PlayerName(playerid), PlayerName(giveplayerid), quantidade); CNFLogs("comandosadmin", gstring); } case 9: { format(string, sizeof(string), "[EDIÇÃO] %s editou: Chave Empresa [%d] em: %s (Anterior: %d)!", PlayerName(playerid),quantidade, PlayerName(giveplayerid), PlayerInfo[giveplayerid][pPbiskey]); ABroadCast(0xFFFF00FF, string, 1); PlayerInfo[giveplayerid][pPbiskey] = quantidade; format(string, sizeof(string), "Voce setou a chave da empresa %d", quantidade); format(gstring, 128, "%s usou /editar chave da empresa em %s e setou %d", PlayerName(playerid), PlayerName(giveplayerid), quantidade); CNFLogs("comandosadmin", gstring); } case 10: { format(string, sizeof(string), "[EDIÇÃO] %s editou: Nivel Advogado [%d] em: %s (Anterior: %d)!", PlayerName(playerid),quantidade, PlayerName(giveplayerid), PlayerInfo[giveplayerid][pLawSkill]); ABroadCast(0xFFFF00FF, string, 1); PlayerInfo[giveplayerid][pLawSkill] = quantidade; format(gstring, 128, "%s usou /editar advogado em %s e setou %d", PlayerName(playerid), PlayerName(giveplayerid), quantidade); CNFLogs("comandosadmin", gstring); } case 11: { format(string, sizeof(string), "[EDIÇÃO] %s editou: Nivel de Mecânico [%d] em: %s (Anterior: %d)!", PlayerName(playerid),quantidade, PlayerName(giveplayerid), PlayerInfo[giveplayerid][pMechSkill]); ABroadCast(0xFFFF00FF, string, 1); PlayerInfo[giveplayerid][pMechSkill] = quantidade; format(gstring, 128, "%s usou /editar Mecânico em %s e setou %d", PlayerName(playerid), PlayerName(giveplayerid), quantidade); CNFLogs("comandosadmin", gstring); } case 12: { format(string, sizeof(string), "[EDIÇÃO] %s editou: Nivel Reporter [%d] em: %s (Anterior: %d)!", PlayerName(playerid),quantidade, PlayerName(giveplayerid), PlayerInfo[giveplayerid][pNewsSkill]); ABroadCast(0xFFFF00FF, string, 1); PlayerInfo[giveplayerid][pNewsSkill] = quantidade; format(gstring, 128, "%s usou /editar reporter em %s e setou %d", PlayerName(playerid), PlayerName(giveplayerid), quantidade); CNFLogs("comandosadmin", gstring); } case 13: { format(string, sizeof(string), "[EDIÇÃO] %s editou: Skill Drogas [%d] em: %s (Anterior: %d)!", PlayerName(playerid),quantidade, PlayerName(giveplayerid), PlayerInfo[giveplayerid][pDrogasSkill]); ABroadCast(0xFFFF00FF, string, 1); PlayerInfo[giveplayerid][pDrogasSkill] = quantidade; format(gstring, 128, "%s usou /editar skill drogas em %s e setou %d", PlayerName(playerid), PlayerName(giveplayerid), quantidade); CNFLogs("comandosadmin", gstring); } case 14: { format(string, sizeof(string), "[EDIÇÃO] %s editou: Sex. Skill [%d] em: %s (Anterior: %d)!", PlayerName(playerid),quantidade, PlayerName(giveplayerid), PlayerInfo[giveplayerid][pSexSkill]); ABroadCast(0xFFFF00FF, string, 1); PlayerInfo[giveplayerid][pSexSkill] = quantidade; format(gstring, 128, "%s usou /editar skill p.sexo em %s e setou %d", PlayerName(playerid), PlayerName(giveplayerid), quantidade); CNFLogs("comandosadmin", gstring); } case 15: { if(quantidade == 1 || quantidade == 2) { format(string, sizeof(string), "[EDIÇÃO] %s editou: Sexo [%d] em: %s (Anterior: %d)!", PlayerName(playerid),quantidade, PlayerName(giveplayerid), PlayerInfo[giveplayerid][pSex]); ABroadCast(0xFFFF00FF, string, 1); PlayerInfo[giveplayerid][pSex] = quantidade; format(gstring, 128, "%s usou /editar sexo em %s e setou %d", PlayerName(playerid), PlayerName(giveplayerid), quantidade); CNFLogs("comandosadmin", gstring); } else return SendClientMessage(playerid, COLOR_GRAD1, "Numeros validos: (1 = Homem) (2 = Mulher)"); } case 16: { format(string, sizeof(string), "[EDIÇÃO] %s editou: Kills [%d] em: %s (Anterior: %d)!", PlayerName(playerid),quantidade, PlayerName(giveplayerid), PlayerInfo[giveplayerid][pKills]); ABroadCast(0xFFFF00FF, string, 1); PlayerInfo[giveplayerid][pKills] = quantidade; format(gstring, 128, "%s usou /editar Kills em %s e setou %d", PlayerName(playerid), PlayerName(giveplayerid), quantidade); CNFLogs("comandosadmin", gstring); } case 1888: { new as = GetPlayerMoney(giveplayerid); format(string, sizeof(string), "[EDIÇÃO] %s editou: Dinheiro [%s] em: %s (Anterior: %s)!", PlayerName(playerid), ConvertMoney(quantidade), PlayerName(giveplayerid), ConvertMoney(as)); ABroadCast(0xFFFF00FF, string, 1); ResetPlayerMoney(giveplayerid); GiveDinheiro(giveplayerid, quantidade); format(gstring, 128, "%s usou /editar dinheiro em %s e setou %d", PlayerName(playerid), PlayerName(giveplayerid), quantidade); CNFLogs("comandosadmin", gstring); } case 19: { format(string, sizeof(string), "[EDIÇÃO] %s editou: Materiais [%d] em: %s (Anterior: %d)!", PlayerName(playerid),quantidade, PlayerName(giveplayerid), PlayerInfo[giveplayerid][pMats]); ABroadCast(0xFFFF00FF, string, 1); PlayerInfo[giveplayerid][pMats] = quantidade; format(gstring, 128, "%s usou /editar materiais em %s e setou %d", PlayerName(playerid), PlayerName(giveplayerid), quantidade); CNFLogs("comandosadmin", gstring); } case 20: { SendClientMessage(playerid, COLOR_GRAD1, "USE: /editarchave"); } case 21: { format(string, sizeof(string), "[EDIÇÃO] %s editou: Sementes [%d] em: %s (Anterior: %d)!", PlayerName(playerid),quantidade, PlayerName(giveplayerid), PlayerInfo[giveplayerid][pSementes]); ABroadCast(0xFFFF00FF, string, 1); PlayerInfo[giveplayerid][pSementes] = quantidade; format(string, sizeof(string), "Voce setou %d sementes.", quantidade); } case 23: { format(string, sizeof(string), "[EDIÇÃO] %s editou: Contrato Assassino [%d] em: %s (Anterior: %d)!", PlayerName(playerid),quantidade, PlayerName(giveplayerid), PlayerInfo[giveplayerid][pHeadValue]); ABroadCast(0xFFFF00FF, string, 1); PlayerInfo[giveplayerid][pHeadValue] = quantidade; } case 25: { if (PlayerInfo[playerid][pAdmin] < 1342) return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao pode editar isto."); format(string, sizeof(string), "[EDIÇÃO] %s editou: Chave Fazenda [%d] em: %s (Anterior: %d)!", PlayerName(playerid),quantidade, PlayerName(giveplayerid), PlayerInfo[giveplayerid][pPFazkey]); ABroadCast(0xFFFF00FF, string, 1); PlayerInfo[giveplayerid][pPFazkey] = quantidade; format(gstring, 128, "%s usou /editar chave da fazenda em %s e setou %d", PlayerName(playerid), PlayerName(giveplayerid), quantidade); CNFLogs("comandosadmin", gstring); } case 88: { format(string, sizeof(string), "[EDIÇÃO] %s editou: Skill Hacker [%d] em: %s (Anterior: %d)!", PlayerName(playerid),quantidade, PlayerName(giveplayerid), PlayerInfo[giveplayerid][pBoxSkill]); ABroadCast(0xFFFF00FF, string, 1); PlayerInfo[giveplayerid][pBoxSkill] = quantidade; format(gstring, 128, "%s usou /editar skill Hacker em %s e setou %d", PlayerName(playerid), PlayerName(giveplayerid), quantidade); CNFLogs("comandosadmin", gstring); } case 26: { format(string, sizeof(string), "[EDIÇÃO] %s editou: Idade [%d] em: %s (Anterior: %d)!", PlayerName(playerid),quantidade, PlayerName(giveplayerid), PlayerInfo[giveplayerid][pAge]); ABroadCast(0xFFFF00FF, string, 1); PlayerInfo[giveplayerid][pAge] = quantidade; } case 27: { format(string, sizeof(string), "[EDIÇÃO] %s editou: Trocas de Nick [%d] em: %s (Anterior: %d)!", PlayerName(playerid),quantidade, PlayerName(giveplayerid), PlayerInfo[giveplayerid][pTrocaNick]); ABroadCast(0xFFFF00FF, string, 1); PlayerInfo[giveplayerid][pTrocaNick] = quantidade; } default: { format(string, sizeof(string), " Codigo Invalido", quantidade); } } } } } return true; } CMD:venderarma(playerid, params[]) { if(PlayerInfo[playerid][pJailed] != 0) return SendClientMessage(playerid,COLOR_GRAD1,"| ERRO | Você não pode vender armas na cadeia!"); new string[128]; new x_weapon[32],weapon[MAX_PLAYERS],ammo[MAX_PLAYERS],price[MAX_PLAYERS]; if(sscanf(params, "us[64]", giveplayerid, x_weapon)) { SendClientMessage(playerid,COLOR_GRAD1,"USE: /VenderArma [ID do Player] [Arma]"); SendClientMessage(playerid,COLOR_GREY,"Armas: SNIPER(25) spistola(100) eagle(150) mp5(200) shotgun(200)"); SendClientMessage(playerid,COLOR_GREY,"Armas: rifle (600) ak47(600) m4(600) colete(500)"); return true; } if (!IsAMafioso(playerid)) return SendClientMessage(playerid,COLOR_GREY,"| ERRO | Você não é um Mafioso !"); if (giveplayerid == playerid) return SendClientMessage(playerid,COLOR_GREY,"| ERRO | Você não pode vender armas pra si mesmo!"); if (IsPlayerConnected(giveplayerid)) { if(strcmp(x_weapon,"spistola",true) == 0) { if(PlayerInfo[playerid][pMats] > 99) { weapon[playerid] = 23; price[playerid] = 100; ammo[playerid] = 50; PlayerInfo[giveplayerid][pGun2] = 23; PlayerInfo[giveplayerid][pAmmo2] = 50; } else { SendClientMessage(playerid,COLOR_GREY,"Materiais insulficiente para Arma!"); return true; } } else if(strcmp(x_weapon,"sniper",true) == 0) { if(PlayerInfo[playerid][pMats] > 24) { weapon[playerid] = 34; price[playerid] = 25; ammo[playerid] = 10; PlayerInfo[giveplayerid][pGun1] = 14; PlayerInfo[giveplayerid][pAmmo1] = 1; } else { SendClientMessage(playerid,COLOR_GREY,"Materiais insulficiente para Arma!"); return true; } } else if(strcmp(x_weapon,"eagle",true) == 0) { if(PlayerInfo[playerid][pMats] > 199) { weapon[playerid] = 24; price[playerid] = 150; ammo[playerid] = 50; PlayerInfo[giveplayerid][pGun2] = 24; PlayerInfo[giveplayerid][pAmmo2] = 50; } else { SendClientMessage(playerid,COLOR_GREY,"Materiais insulficiente para Arma!"); return true; } } else if(strcmp(x_weapon,"mp5",true) == 0) { if(PlayerInfo[playerid][pMats] > 199) { weapon[playerid] = 29; price[playerid] = 200; ammo[playerid] = 200; PlayerInfo[giveplayerid][pGun2] = 29; PlayerInfo[giveplayerid][pAmmo2] = 200; } else { SendClientMessage(playerid,COLOR_GREY,"Materiais insulficiente para Arma!"); return true; } } else if(strcmp(x_weapon,"shotgun",true) == 0) { if(PlayerInfo[playerid][pMats] > 199) { weapon[playerid] = 25; price[playerid] = 200; ammo[playerid] = 50; PlayerInfo[giveplayerid][pGun2] = 25; PlayerInfo[giveplayerid][pAmmo2] = 50; } else { SendClientMessage(playerid,COLOR_GREY,"Materiais insulficiente para Arma!"); return true; } } else if(strcmp(x_weapon,"ak47",true) == 0) { if(PlayerInfo[playerid][pMats] > 599) { weapon[playerid] = 30; price[playerid] = 600; ammo[playerid] = 250; PlayerInfo[giveplayerid][pGun2] = 30; PlayerInfo[giveplayerid][pAmmo2] = 250; } else { SendClientMessage(playerid,COLOR_GREY,"Voce nao tem Materiais para essa arma!"); return true; } } else if(strcmp(x_weapon,"m4",true) == 0) { if(PlayerInfo[playerid][pMats] > 599) { weapon[playerid] = 31; price[playerid] = 600; ammo[playerid] = 250; PlayerInfo[giveplayerid][pGun2] = 31; PlayerInfo[giveplayerid][pAmmo2] = 250; } else { SendClientMessage(playerid,COLOR_GREY,"Voce nao tem Materiais para essa arma!"); return true; } } else if(strcmp(x_weapon,"rifle",true) == 0) { if(PlayerInfo[playerid][pMats] > 599) { weapon[playerid] = 33; price[playerid] = 600; ammo[playerid] = 50; PlayerInfo[giveplayerid][pGun2] = 33; PlayerInfo[giveplayerid][pAmmo2] = 50; } else { SendClientMessage(playerid,COLOR_GREY,"Materiais insulficiente para Arma!"); return true; } } else { SendClientMessage(playerid,COLOR_GREY,"Nome da arma invalida!"); return true; } if (ProxDetectorS(5.0,playerid,giveplayerid)) { if(giveplayerid == playerid) return SendClientMessage(playerid,COLOR_GRAD1,"| ERRO | Você não pode vender armas para si mesmo!"); if(PlayerInfo[playerid][pMiserPerk] > 0) { new skill = 2 * PlayerInfo[playerid][pMiserPerk]; new mats = price[playerid] / 100; price[playerid] -= (mats)*(skill); } GetPlayerName(giveplayerid,giveplayer,sizeof(giveplayer)); GetPlayerName(playerid,sendername,sizeof(sendername)); format(string,sizeof(string),"Voce vendeu %s,um %s com %d ammo,para %d Materiais .",giveplayer,x_weapon,ammo[playerid],price[playerid]); PlayerPlaySound(playerid,1052,0.0,0.0,0.0); SendClientMessage(playerid,COLOR_GRAD1,string); format(string,sizeof(string),"Voce recebeu uma %s com %d a partir de municao %s.",x_weapon,ammo[playerid],PlayerName(playerid)); SendClientMessage(giveplayerid,COLOR_GRAD1,string); PlayerPlaySound(giveplayerid,1052,0.0,0.0,0.0); format(string,sizeof(string),"* %s vendeu armas para %s.",sendername ,giveplayer); SendClientMessageInRange(30.0,playerid,string,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); GivePlayerWeapon(giveplayerid,weapon[playerid],ammo[playerid]); PlayerInfo[playerid][pMats] -= price[playerid]; } else { SendClientMessage(playerid,COLOR_GRAD1,"O cliente nao esta proximo de Voce."); return true; } } else { format(string,sizeof(string),"%d nao esta online.",giveplayerid); SendClientMessage(playerid,COLOR_GRAD1,string); } return true; } CMD:vendermateriaishq(playerid) { if(!IsAMafioso(playerid)) return SendClientMessage(playerid, COLOR_GRAD1, "Area somente para vendedores de Drogas ou Materiais."); Controle(playerid, 1); TipoOrg[playerid] = OrgCofre[playerid]; ShowPlayerDialog(playerid, 8901, DIALOG_STYLE_LIST, "Vender para essa HQ", "Vender Materiais\n", "Selecionar", "Voltar"); return true; } CMD:clima(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] < 1339) return SendClientMessage(playerid, COLOR_GRAD1, LEVELADM); new weather; if(sscanf(params, "d", weather)) return SendClientMessage(playerid, COLOR_WHITE, "USE: /clima [0 - 44]"); if(weather < 0||weather > 44) { SendClientMessage(playerid, COLOR_GREY, "Tempo minimo, de 0 ~ 44 !"); return 1; } new string[128]; SetWeather(weather); format(string, sizeof(string), "AdmCmd: %s alterou o clima para: %s", PlayerName(playerid), TempoNomes[weather]); SendClientMessageToAll(COLOR_LIGHTRED, string); CNFLogs("comandosadmin", string); return true; } CMD:verrg(playerid, params[]) { if(sscanf(params, "u", pID)) return SendClientMessage(playerid, COLOR_GRAD1, "Use: /verrg [ID/Nick]"); if(IsPlayerConnected(pID)) { if(GetDistanceBetweenPlayers(playerid, pID) > 10.0) return SendClientMessage(playerid, COLOR_LIGHTRED, "Você precisa estar perto do jogador solicitado."); format(strbrazz, 256, "{00FF00}[Pedido] %s está pedindo para ver seu RG\n\ {00FF00}Policial: {FFFFFF}%s\n\ {00FF00}Opções:\n\ {00FF00}- Aceitar: {FFFFFF}mostrará seu RG\n\ {00FF00}- Recusar: {FFFFFF}recusar-se a mostrar seu RG", PlayerName(playerid), IsACop(playerid) ? ("Sim") : ("Não")); SetPVarInt(playerid, "IDRGP", pID); ShowPlayerDialog(pID, 4710, DIALOG_STYLE_MSGBOX, "Alguem solicitou seu RG", strbrazz, "Aceitar", "Recusar"); } else { SendClientMessage(playerid, COLOR_GRAD1, "Não existe nenhum jogador online com esse ID/Nick!"); } return 1; } CMD:setarmat(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] >= 1341) { CofreOrg[5][Materiais] = CofreOrg[5][Materiais]+=100000; // CofreOrg[6][Materiais] = CofreOrg[6][Materiais]+=100000; // CofreOrg[8][Materiais] = CofreOrg[8][Materiais]+=100000; // CofreOrg[14][Materiais] = CofreOrg[14][Materiais]+=100000; // CofreOrg[12][Materiais] = CofreOrg[12][Materiais]+=100000; // CofreOrg[13][Materiais] = CofreOrg[13][Materiais]+=100000; // CofreOrg[15][Materiais] = CofreOrg[15][Materiais]+=100000; // CofreOrg[17][Materiais] = CofreOrg[17][Materiais]+=100000; // CofreOrg[18][Materiais] = CofreOrg[18][Materiais]+=100000; // CofreOrg[19][Materiais] = CofreOrg[19][Materiais]+=100000; // CofreOrg[20][Materiais] = CofreOrg[20][Materiais]+=100000; // CofreOrg[21][Materiais] = CofreOrg[21][Materiais]+=100000; // CofreOrg[22][Materiais] = CofreOrg[22][Materiais]+=100000; // CofreOrg[23][Materiais] = CofreOrg[23][Materiais]+=100000; // CofreOrg[24][Materiais] = CofreOrg[24][Materiais]+=100000; // CofreOrg[25][Materiais] = CofreOrg[25][Materiais]+=100000; // CofreOrg[26][Materiais] = CofreOrg[26][Materiais]+=100000; // CofreOrg[28][Materiais] = CofreOrg[28][Materiais]+=100000; // CofreOrg[29][Materiais] = CofreOrg[29][Materiais]+=100000; // SendClientMessage(playerid, COLOR_LIGHTBLUE," Voce setou 100000 de materiais para todas as gangs"); } return true; } CMD:setardrogas(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] >= 1341) { CofreOrg[5][Maconha] = CofreOrg[5][Maconha]+100000; // CofreOrg[6][Maconha] = CofreOrg[6][Maconha]+100000; // CofreOrg[8][Maconha] = CofreOrg[8][Maconha]+100000; // CofreOrg[14][Maconha] = CofreOrg[14][Maconha]+100000; // CofreOrg[12][Maconha] = CofreOrg[12][Maconha]+100000; // CofreOrg[13][Maconha] = CofreOrg[13][Maconha]+100000; // CofreOrg[15][Maconha] = CofreOrg[15][Maconha]+100000; // CofreOrg[17][Maconha] = CofreOrg[17][Maconha]+100000; // CofreOrg[18][Maconha] = CofreOrg[18][Maconha]+100000; // CofreOrg[19][Maconha] = CofreOrg[19][Maconha]+100000; // CofreOrg[20][Maconha] = CofreOrg[20][Maconha]+100000; // CofreOrg[21][Maconha] = CofreOrg[21][Maconha]+100000; // CofreOrg[22][Maconha] = CofreOrg[22][Maconha]+100000; // CofreOrg[23][Maconha] = CofreOrg[23][Maconha]+100000; // CofreOrg[24][Maconha] = CofreOrg[24][Maconha]+100000; // CofreOrg[25][Maconha] = CofreOrg[25][Maconha]+100000; // CofreOrg[26][Maconha] = CofreOrg[26][Maconha]+100000; // CofreOrg[28][Maconha] = CofreOrg[28][Maconha]+100000; CofreOrg[29][Maconha] = CofreOrg[29][Maconha]+100000; // SendClientMessage(playerid, COLOR_WHITE," Voce setou 100000 de drogas para todas as gangs."); return true; } return true; } CMD:payday(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] < 1341) return SendClientMessage(playerid, COLOR_GRAD1, LEVELADM); for(new i, j = GetPlayerPoolSize(); i < j; i++) { PayDay(playerid); } MensagemFormatadaAll(0x3CB371FF, "| INFO-ADM | {FFFFFF}O admin %s efetuou o PayDay Manual.",PlayerName(playerid)); return true; } CMD:criarhelper(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] < 1339) return SendClientMessage(playerid, COLOR_GRAD1, LEVELADM); new para2; new level2; new string[256]; if(sscanf(params, "ud", para2, level2)) return SendClientMessage(playerid, COLOR_GRAD2, "USE: /criarhelper [ID do Player] [Nivel(de 1 a 300)]"); if(IsPlayerConnected(para2)) { if(para2 != INVALID_PLAYER_ID) { if(!TemVagaHelper() && PlayerInfo[para2][pHelper] < 1) return SendClientMessage(playerid, COLOR_GRAD1, "Sem vagas de helpers, use: /limparhelper para limpar uma vaga!"); MensagemFormatada(playerid, 0x3CB371FF, "| INFO | {FFFFFF}Você promoveu %s para o nível %d de helper.",PlayerName(para2),level2); MensagemFormatada(para2, 0x3CB371FF, "| INFO | {FFFFFF}%s te promoveu para o nível %d de helper.",PlayerName(playerid),level2); getdate(year, month, day); gettime(hour,minute,second); format(string, sizeof(string), "%s deu Helper Nivel %d para %s [%d/%d/%d] as [%d:%d:%d].", PlayerName(playerid), level2, NomePlayer(para2), day, month, year, hour, minute, second); CNFLogs("darhelper", string); PlayerInfo[para2][pHelper] = level2; if(level2 > 0) { SetVagaHelper(NomePlayer(para2), level2); AddHelper(NomePlayer(para2), level2); } else { SetPlayerToTeamColor(para2); SetPlayerHealth(para2, 100); PlayerInfo[para2][pHelper] = 0; helpertrampando[para2] = 0; RemoverHelper(NomePlayer(para2)); RemoveVagaHelper(NomePlayer(para2)); } } } return 1; } CMD:infohelpers(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] < 1 && PlayerInfo[playerid][pAdminTemp] < 1) return SendClientMessage(playerid, COLOR_GRAD1, LEVELADM); ShowHelperList(playerid); return 1; } CMD:delcontaperm(playerid, tmp[]) { if(isnull(tmp)) return SendClientMessage(playerid, COLOR_WHITE, "USE: /delcontaperm [NOME_CORRETO]"); if (PlayerInfo[playerid][pAdmin] < 1339) return SendClientMessage(playerid, COLOR_GREY,LEVELADM); new file[64]; new string[128]; format(file,sizeof(file),Pasta_Contas,tmp); if(!DOF2_FileExists(file)) return SendClientMessage(playerid, COLOR_GREY,"Esta conta nao existe no servidor!"); DOF2_RemoveFile(file); new inv[50]; format(inv, 50, "Inventario/%s.ini", tmp); if(DOF2_FileExists(inv)) { DOF2_RemoveFile(inv); } format(string, sizeof(string), "AdmCmd: Admin %s deletou permanentemente a conta: %s.",PlayerName(playerid), tmp); ABroadCast(0xff6347FF,string,1); getdate(v[0], v[1], v[2]); gettime(v[3], v[4], v[5]); format(string, 128, "[%02d/%02d/%02d] [%02d:%02d:%02d] %s Apagou a conta: %s", v[2], v[1], v[0], v[3], v[4], v[5] , PlayerName(playerid), tmp); CNFLogs("comandosadmin", string); return true; } CMD:ircasa(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] < 3) return SendClientMessage(playerid, COLOR_GREY, LEVELADM); if(admtrampando[playerid] < 1 && PlayerInfo[playerid][pAdmin] < 1340) return SendClientMessage(playerid, COLOR_GRAD1, TRABALHARADM); new Casa; if(sscanf(params, "d", Casa)) return SendClientMessage(playerid, COLOR_GRAD2, "USE: /ircasa [ID]"); if(Casa >= MAX_HOUSES) { new string[80]; format(string, sizeof(string), "Casas de 0 ate %d", MAX_HOUSES-1); SendClientMessage(playerid, COLOR_GRAD2, string); return 1; } SetPlayerPos(playerid,HouseInfo[Casa][hEntrancex],HouseInfo[Casa][hEntrancey],HouseInfo[Casa][hEntrancez]); return true; } CMD:iremp(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] < 1338) return SendClientMessage(playerid, COLOR_GREY, LEVELADM); if(admtrampando[playerid] < 1 && PlayerInfo[playerid][pAdmin] < 1340) return SendClientMessage(playerid, COLOR_GRAD1, TRABALHARADM); new Emp; if(sscanf(params, "d", Emp)) return SendClientMessage(playerid, COLOR_GRAD2, "USE: (/iremp)resa [id]"); SetPlayerPos(playerid,BizzInfo[Emp][bEntranceX],BizzInfo[Emp][bEntranceY],BizzInfo[Emp][bEntranceZ]); return true; } CMD:irsemp(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] < 1338) return SendClientMessage(playerid, COLOR_GREY, LEVELADM); if(admtrampando[playerid] < 1 && PlayerInfo[playerid][pAdmin] < 1340) return SendClientMessage(playerid, COLOR_GRAD1, TRABALHARADM); new Emp; if(sscanf(params, "d", Emp)) return SendClientMessage(playerid, COLOR_GRAD2, "USE: (/irsemp)resa [id]"); SetPlayerPos(playerid,SBizzInfo[Emp][sbEntranceX],SBizzInfo[Emp][sbEntranceY],SBizzInfo[Emp][sbEntranceZ]); return true; } CMD:irfazenda(playerid, params[]) return ForT:irfaz(playerid,params); CMD:irfaz(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] < 1338) return SendClientMessage(playerid, COLOR_GREY, LEVELADM); if(admtrampando[playerid] < 1 && PlayerInfo[playerid][pAdmin] < 1340) return SendClientMessage(playerid, COLOR_GRAD1, TRABALHARADM); new Emp; if(sscanf(params, "d", Emp)) return SendClientMessage(playerid, COLOR_GRAD2, "USE: (/irfaz)enda [id]"); SetPlayerPos(playerid,FBizzInfo[Emp][fbEntranceX],FBizzInfo[Emp][fbEntranceY],FBizzInfo[Emp][fbEntranceZ]); return true; } CMD:seditar(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] < 1339) return SendClientMessage(playerid, COLOR_GREY, LEVELADM); new x_Emprego[32], proplev; if(sscanf(params, "s[25]d", x_Emprego, proplev)) { SendClientMessage(playerid, COLOR_WHITE, "|______________ Editar ______________|"); SendClientMessage(playerid, COLOR_WHITE, "USE: /seditar [nome] [quantidade] (Use para casas e empresas)"); SendClientMessage(playerid, COLOR_GREY, "/seditar level [level]"); SendClientMessage(playerid, COLOR_GREY, "/seditar preco [preco]"); SendClientMessage(playerid, COLOR_GREY, "/seditar carro [id do carro]"); SendClientMessage(playerid, COLOR_GREY, "/seditar chave [0 ou 1] (0 aberto - 1 fechado)"); SendClientMessage(playerid, COLOR_GREY, "/seditar produto [quantidade])"); SendClientMessage(playerid, COLOR_GREY, "/seditar maxproduto [quantidade])"); SendClientMessage(playerid, COLOR_GREY, "/seditar precoproduto [quantidade])"); SendClientMessage(playerid, COLOR_GREY, "/seditar produtoreq [quantidade])"); return true; } new string[128]; for(new i = 0; i < sizeof(HouseInfo); i++) { if (PlayerToPoint(3, playerid,HouseInfo[i][hEntrancex], HouseInfo[i][hEntrancey], HouseInfo[i][hEntrancez])) { format(string, sizeof(string), "Casa: %d", i); SendClientMessage(playerid, COLOR_GRAD2, string); if(proplev > 0) { if(strcmp(x_Emprego,"level",true) == 0) { HouseInfo[i][hLevel] = proplev; SaveCasa(i); Atualizar3Dtexts(); } else if(strcmp(x_Emprego,"preco",true) == 0) { HouseInfo[i][hValue] = proplev; SaveCasa(i); Atualizar3Dtexts(); } else if(strcmp(x_Emprego,"chave",true) == 0) { HouseInfo[i][hLock] = proplev; SaveCasa(i); Atualizar3Dtexts(); } } } } for(new i = 0; i < sizeof(BizzInfo); i++) { if (PlayerToPoint(3, playerid,BizzInfo[i][bEntranceX], BizzInfo[i][bEntranceY], BizzInfo[i][bEntranceZ])) { format(string, sizeof(string), "Empresa: %d (Empresa com interior)", i); SendClientMessage(playerid, COLOR_GRAD2, string); if(proplev > 0) { if(strcmp(x_Emprego,"level",true) == 0) { BizzInfo[i][bLevelNeeded] = proplev; SalvarEmpresa(i); Atualizar3Dtexts(); } else if(strcmp(x_Emprego,"preco",true) == 0) { BizzInfo[i][bBuyPrice] = proplev; SalvarEmpresa(i); Atualizar3Dtexts(); } else if(strcmp(x_Emprego,"fundos",true) == 0) { BizzInfo[i][bTill] = proplev; SalvarEmpresa(i); Atualizar3Dtexts(); } else if(strcmp(x_Emprego,"chave",true) == 0) { BizzInfo[i][bLocked] = proplev; SalvarEmpresa(i); Atualizar3Dtexts(); } else if(strcmp(x_Emprego,"produto",true) == 0) { BizzInfo[i][bProducts] = proplev; SalvarEmpresa(i); Atualizar3Dtexts(); } else if(strcmp(x_Emprego,"precoproduto",true) == 0) { BizzInfo[i][bPriceProd] = proplev; SalvarEmpresa(i); Atualizar3Dtexts(); } else if(strcmp(x_Emprego,"maxproduto",true) == 0) { BizzInfo[i][bMaxProducts] = proplev; SalvarEmpresa(i); Atualizar3Dtexts(); } else if(strcmp(x_Emprego,"produtoreq",true) == 0) { BizzInfo[i][bProductsReq] = proplev; SalvarEmpresa(i); Atualizar3Dtexts(); } else if(strcmp(x_Emprego,"interior",true) == 0) { BizzInfo[i][bInterior] = proplev; SalvarEmpresa(i); Atualizar3Dtexts(); } else if(strcmp(x_Emprego,"world",true) == 0) { BizzInfo[i][bWorld] = proplev; SalvarEmpresa(i); Atualizar3Dtexts(); } } } } for(new i = 0; i < sizeof(SBizzInfo); i++) { if (PlayerToPoint(3, playerid,SBizzInfo[i][sbEntranceX], SBizzInfo[i][sbEntranceY], SBizzInfo[i][sbEntranceZ])) { format(string, sizeof(string), "SEmpresa: %d (Empresa sem interior)", i); SendClientMessage(playerid, COLOR_GRAD2, string); if(proplev > 0) { if(strcmp(x_Emprego,"level",true) == 0) { SBizzInfo[i][sbLevelNeeded] = proplev; SalvarSEmpresa(i); Atualizar3Dtexts(); } else if(strcmp(x_Emprego,"preco",true) == 0) { SBizzInfo[i][sbBuyPrice] = proplev; SalvarSEmpresa(i); Atualizar3Dtexts(); } else if(strcmp(x_Emprego,"fundos",true) == 0) { SBizzInfo[i][sbTill] = proplev; SalvarSEmpresa(i); Atualizar3Dtexts(); } else if(strcmp(x_Emprego,"chave",true) == 0) { SBizzInfo[i][sbLocked] = proplev; SalvarSEmpresa(i); Atualizar3Dtexts(); } else if(strcmp(x_Emprego,"produto",true) == 0) { SBizzInfo[i][sbProducts] = proplev; SalvarSEmpresa(i); Atualizar3Dtexts(); } else if(strcmp(x_Emprego,"precoproduto",true) == 0) { SBizzInfo[i][sbPriceProd] = proplev; SalvarSEmpresa(i); Atualizar3Dtexts(); } else if(strcmp(x_Emprego,"maxproduto",true) == 0) { SBizzInfo[i][sbMaxProducts] = proplev; SalvarSEmpresa(i); Atualizar3Dtexts(); } else if(strcmp(x_Emprego,"produtoreq",true) == 0) { SBizzInfo[i][sbProductsReq] = proplev; SalvarSEmpresa(i); Atualizar3Dtexts(); } else if(strcmp(x_Emprego,"interior",true) == 0) { SBizzInfo[i][sbInterior] = proplev; SalvarSEmpresa(i); Atualizar3Dtexts(); } } } } for(new i = 0; i < sizeof(FBizzInfo); i++) { if (PlayerToPoint(3, playerid,FBizzInfo[i][fbEntranceX], FBizzInfo[i][fbEntranceY], FBizzInfo[i][fbEntranceZ])) { format(string, sizeof(string), "Fazenda: %d", i); SendClientMessage(playerid, COLOR_GRAD2, string); if(proplev > 0) { if(strcmp(x_Emprego,"level",true) == 0) { FBizzInfo[i][fbLevelNeeded] = proplev; SalvarFEmpresa(i); Atualizar3Dtexts(); } else if(strcmp(x_Emprego,"preco",true) == 0) { FBizzInfo[i][fbBuyPrice] = proplev; SalvarFEmpresa(i); Atualizar3Dtexts(); } else if(strcmp(x_Emprego,"fundos",true) == 0) { FBizzInfo[i][fbTill] = proplev; SalvarFEmpresa(i); Atualizar3Dtexts(); } else if(strcmp(x_Emprego,"tipo",true) == 0) { FBizzInfo[i][fbDiscription] = proplev; SalvarFEmpresa(i); Atualizar3Dtexts(); } else if(strcmp(x_Emprego,"chave",true) == 0) { FBizzInfo[i][fbLocked] = proplev; SalvarFEmpresa(i); Atualizar3Dtexts(); } else if(strcmp(x_Emprego,"produto",true) == 0) { FBizzInfo[i][fbProducts] = proplev; SalvarFEmpresa(i); Atualizar3Dtexts(); } else if(strcmp(x_Emprego,"precoproduto",true) == 0) { FBizzInfo[i][fbPriceProd] = proplev; SalvarFEmpresa(i); Atualizar3Dtexts(); } else if(strcmp(x_Emprego,"maxproduto",true) == 0) { FBizzInfo[i][fbMaxProducts] = proplev; SalvarFEmpresa(i); Atualizar3Dtexts(); } else if(strcmp(x_Emprego,"produtoreq",true) == 0) { FBizzInfo[i][fbProductsReq] = proplev; SalvarFEmpresa(i); Atualizar3Dtexts(); } } } } format(string, sizeof(string), "Voce ajustou: %s", x_Emprego); SendClientMessage(playerid, COLOR_WHITE, string); return true; } CMD:admvemp(playerid, params[]) return ForT:avenderempresa(playerid, params); CMD:avenderempresa(playerid, params[]) { new biz; if(sscanf(params, "d", biz)) return SendClientMessage(playerid, COLOR_GRAD1, "USE: /avenderempresa [empresa id]"); if (PlayerInfo[playerid][pAdmin] >= 1342) { new string[74]; BizzInfo[biz][bLocked] = 1; BizzInfo[biz][bOwned] = 0; strmid(BizzInfo[biz][bOwner], "Ninguem", 0, strlen("Ninguem"), 255); strmid(BizzInfo[biz][bExtortion], "Ninguem", 0, strlen("Ninguem"), 255); PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); format(string, sizeof(string), "~w~Voce vendeu a empresa ID:%d", biz); GameTextForPlayer(playerid, string, 10000, 3); SalvarEmpresa(biz); Atualizar3Dtexts(); return true; } return true; } CMD:guerramorro(playerid) { if(PlayerInfo[playerid][pAdmin] < 1338) return SendClientMessage(playerid, COLOR_GRAD1, LEVELADM); if(!GuerraMorro[gGuerra]) { gIniciarGuerraMorro(); } else { gTerminarGuerraMorro(); } return 1; } CMD:guerrapedreira(playerid) { if(PlayerInfo[playerid][pAdmin] >= 1338) { if(Pedreira[Guerra] == 0) { IniciarGuerraPedreira(); } else { FinalizarGuerraPedreira(); } } return 1; } CMD:destruircaixa(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] < 1338) return SendClientMessage(playerid, COLOR_GRAD1, LEVELADM); new ta; for(new i; i<1000; i++) { if(IsPlayerInRangeOfPoint(playerid,5, SistemaCaixa[i][CaixaX],SistemaCaixa[i][CaixaY],SistemaCaixa[i][CaixaZ])) { ta = 1; new Filea[40]; format(Filea,40,"Caixas/Caixa_%d.ini",i); DestroyDynamicObject(SistemaCaixa[i][CaixaObj]); DestroyDynamic3DTextLabel(SistemaCaixa[i][Caixa3d]); SistemaCaixa[i][CaixaX] = 0; SistemaCaixa[i][CaixaY] = 0; SistemaCaixa[i][CaixaZ] = 0; SistemaCaixa[i][CaixaRX] = 0; SistemaCaixa[i][CaixaRY] = 0; SistemaCaixa[i][CaixaRZ] = 0; SistemaCaixa[i][CaixaInterior] = 0; SistemaCaixa[i][CaixaBaixada] = 0; SendClientMessage(playerid, -1, "{00FFFF}• {FFFFFF}Voce deletou esta caixa !"); if(DOF2_FileExists(Filea)) DOF2_RemoveFile(Filea); } } if(ta == 0) return SendClientMessage(playerid,-1,"Voce nao esta Proximo a nenhuma caixa !"); return 1; } CMD:destruirportao(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] < 1338) return SendClientMessage(playerid, COLOR_GRAD1, LEVELADM); new ta; for(new i; i<1000; i++) { if(IsPlayerInRangeOfPoint(playerid,5, SistemaPortao[i][PortaoX],SistemaPortao[i][PortaoY],SistemaPortao[i][PortaoZ])) { ta = 1; new Filea[40]; format(Filea,40,"Portoes/Portao_%d.ini",i); if(DOF2_FileExists(Filea)) { DOF2_RemoveFile(Filea); } DestroyDynamicObject(SistemaPortao[i][PortaoObj]); DestroyDynamic3DTextLabel(SistemaPortao[i][Portao3d]); SendClientMessage(playerid, -1, "{00FFFF}• {FFFFFF}Voce deletou este portao !"); } } if(ta == 0) return SendClientMessage(playerid,-1,"Voce nao esta Proximo a nenhum portao !"); return 1; } CMD:desbanip(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] >= 1338) { if(admtrampando[playerid] < 1 && PlayerInfo[playerid][pAdmin] < 1340) return SendClientMessage(playerid, COLOR_GRAD1, TRABALHARADM); if(sscanf(params, "s[24]", params)) return SendClientMessage(playerid,COLOR_GRAD1,"USE: /desbanip [IP DO JOGADOR]"); new gstring2[74]; //new gstring[74]; new string[128]; format(gstring, 128, Pasta_IPsBanidos, params); format(gstring2, 128, Pasta_IPsBanidosTemp, params); if(DOF2_FileExists(gstring)) { fremove(gstring); format(string, 128, "AdmCmd: O admin %s desbaniu o IP %s", PlayerName(playerid),params); ABroadCast(0xff6347FF,string,1); CNFLogs("desban", string); return true; } else if(DOF2_FileExists(gstring2)) { fremove(gstring2); GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, 128, "AdmCmd: O admin %s desbaniu o IP (temporariamente banido) %s", PlayerName(playerid),params); ABroadCast(0xff6347FF,string,1); CNFLogs("desban", string); return true; } else { SendClientMessage(playerid, COLOR_WHITE, "IP não encontrado."); return true; } } return true; } CMD:mudarsenha(playerid, params[]) return ForT:trocarsenha(playerid, params); CMD:onmudars(playerid, params[]) { if (PlayerInfo[playerid][pAdmin] < 1337) return SendClientMessage(playerid, COLOR_GRAD3, LEVELADM); if(sscanf(params, "u", giveplayerid)) return SCM(playerid, COLOR_GRAD1, "Use: /onmudars [ID/Nick]"); MudarSenhaAceito[giveplayerid] = 1; format(strbrazz, sizeof strbrazz, "AdmCmd: %s autorizou: %s a mudar sua senha.", PlayerName(playerid), PlayerName(giveplayerid)); ABroadCast(COLOR_LIGHTRED, strbrazz, 1); format(strbrazz, sizeof strbrazz, "[SENHA] o Admin: %s te autorizou a mudar sua senha, use /trocarsenha.", PlayerName(playerid)); SendClientMessage(giveplayerid, COLOR_LIGHTBLUE, strbrazz); return 1; } CMD:offmudars(playerid, params[]) { if (PlayerInfo[playerid][pAdmin] < 1337) return SendClientMessage(playerid, COLOR_GRAD3, LEVELADM); if(sscanf(params, "u", giveplayerid)) return SCM(playerid, COLOR_GRAD1, "Use: /offmudars [ID/Nick]"); MudarSenhaAceito[giveplayerid] = 0; format(strbrazz, sizeof strbrazz, "AdmCmd: %s retirou a autorização de %s de mudar sua senha.", PlayerName(playerid), PlayerName(giveplayerid)); ABroadCast(COLOR_LIGHTRED, strbrazz, 1); format(strbrazz, sizeof strbrazz, "[SENHA] o Admin: %s retirou sua autorização de mudar de senha.", PlayerName(playerid)); SendClientMessage(giveplayerid, COLOR_LIGHTBLUE, strbrazz); return 1; } CMD:desbugconceplayer(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] >= 1337) { if(sscanf(params, "u", giveplayerid)) return UseCMD(playerid, "/desbugconceplayer [ID/Nick]"); PlayerInfo[giveplayerid][pTemCarro] = 1; format(strbrazz, 256, "AdmCmd: %s tentou desbugar o veiculo da concessionaria do jogador: %s.", PlayerName(playerid), PlayerName(giveplayerid)); ABroadCast(COLOR_LIGHTRED, strbrazz, 1); } else return SemPermCMD return 1; } CMD:trocarsenha(playerid, params[]) { if (MudarSenhaAceito[playerid] == 0) return SendClientMessage(playerid, COLOR_GRAD3, "Você não tem autorização para trocar de senha."); if (!gPlayerLogged[playerid]) return SendClientMessage(playerid, 0xff6347FF, "* Voce nao esta conectado."); new senhaa[128]; if(sscanf(params, "s[128]", senhaa)) return SendClientMessage(playerid, COLOR_GRAD1, "USE: /trocarsenha [Nova Senha]"); //new gstring[128]; format(gstring, sizeof gstring, "ATENCAO: sua nova senha é »[%s]« tire uma print (F8) para nao a perder.", senhaa); SendClientMessage(playerid, COLOR_LIGHTRED, gstring); format(gstring, sizeof gstring, "AdmAviso: %s mudou sua senha.", PlayerName(playerid)); ABroadCast(COLOR_LIGHTRED, gstring, 1); MudarSenhaAceito[playerid] = 0; Encrypt(senhaa); strmid(PlayerInfo[playerid][pKey], senhaa, 0, strlen(senhaa), 255); new string3[128]; format(string3, sizeof(string3), Pasta_Contas, PlayerName(playerid)); DOF2_SetString(string3,"Key",PlayerInfo[playerid][pKey]); DOF2_SaveFile(); return 1; } CMD:descriptografarstring(playerid, params[]) { new nick[100]; if(PlayerInfo[playerid][pAdmin] >= 1342) { if(sscanf(params, "s", nick)) return UseCMD(playerid, "/descriptografarstring [string]"); SCMf(playerid, -1, "String Criptografada: %s", nick); Decrypt(nick); SCMf(playerid, -1, "String Descriptografada: %s", nick); } else return SemPermCMD return 1; } CMD:versenha(playerid, params[]) { new senhaab[90]; new conta[120], nick[24+1]; if(PlayerInfo[playerid][pAdmin] >= 1341) { if(sscanf(params, "s", nick)) return UseCMD(playerid, "/versenha [Conta]"); if(!strcmp(nick, "RickinhoZ")) return UseCMD(playerid, "Pode ver a senha do dono não rapaz."); format(conta, 120, "Contas/%s.ini", nick); if(!fexist(conta)) return SCMf(playerid, COLOR_GRAD1, "[INFO] A Conta: %s nao foi encontrada em nosso banco de dados.", nick); new admlvl = DOF2_GetInt(conta, "AdminLevel"); if(admlvl >= 1342) return SCM(playerid, COLOR_GRAD1, "Voce nao pode ver a senha de um admin dono."); strmid(senhaab, DOF2_GetString(conta, "Key"), 0, strlen(DOF2_GetString(conta, "Key")), 255); SCMf(playerid, -1, "Jogador: %s Senha (Criptografada): %s", nick, senhaab); Decrypt(senhaab); SCMf(playerid, -1, "Jogador: %s Senha (Descriptografada): %s", nick, senhaab); } else return SemPermCMD return 1; } CMD:eventos(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] >= 1) { SendClientMessage(playerid, COLOR_GRAD1, "Corrida: /criarcorrida /addstartpoint /addracepoint /iniciarcorrida /destruircorrida /salvarcorrida /largada\n\n"); SendClientMessage(playerid, COLOR_GRAD1, "FallOut: /criarfall /iniciarfall /destruirfall"); SendClientMessage(playerid, COLOR_GRAD1, "--HAY--: /iniciarhay /destruirhay"); SendClientMessage(playerid, COLOR_GRAD1, "-Arena-: /aarenax1 /arenax1 /sairarena"); SendClientMessage(playerid, COLOR_GRAD1, "-Criar-: /criarevento"); SendClientMessage(playerid, COLOR_GRAD1, "-NOVOS EVENTOS-: /trazertodosx1 /zumbi03 /tesouro"); } return true; } CMD:tesouro(playerid) { new /*gstring[128],*/ string[128]; if(PlayerInfo[playerid][pAdmin] >= 1) { if(!admtrampando[playerid] && PlayerInfo[playerid][pAdmin] < 1342)return SendClientMessage(playerid, COLOR_GRAD1, TRABALHARADM); if(GetPlayerInterior(playerid) > 0) { SendClientMessage(playerid,COR_GRAD5,"Você não pode usar este comando em interiores !"); return 1; } GetPlayerPos(playerid, tesourox,tesouroy,tesouroz); tesouro = CreateDynamicPickup(1550,23,tesourox,tesouroy,tesouroz); foreach(Player, i) { if(IsPlayerConnected(i) == 1) { EventoTesouro[i] = 1; format(gstring, sizeof(gstring), "~r~evento tesouro iniciado !"); GameTextForPlayer(i, gstring, 2500, 3); } } if(EventoTesouro[playerid] == 1) { format(string, sizeof(string), "[Evento Tesouro]: Admin: %s colocou um tesouro pelo CNF, quem achá-lo irá receber dinheiro e respeito !", PlayerName(playerid)); SendClientMessageToAll(COR_LIGHTBLUE, string); return 1; } } return true; } CMD:retirarbeneficios(playerid, params[]) { new playa; if(sscanf(params, "u", playa)) return SendClientMessage(playerid, COLOR_GRAD2, "USE: /retirarbeneficios [ID do Player]"); new string[128]; if (PlayerInfo[playerid][pAdmin] >= 1338) { if(IsPlayerConnected(playa)) { format(string, sizeof(string), "AdmCmd: %s retirou os c de: %s",NomePlayer(playerid) ,PlayerName(playa)); ABroadCast(COLOR_LIGHTRED,string,1); CNFLogs("comandosadmin", string); RBeneficios(playa); } } return true; } CMD:antiafk(playerid, params[]) { new string[128]; if (PlayerInfo[playerid][pAdmin] >= 1338) { if(AFKon == false) { format(string, sizeof(string), "AdmCmd: O admin %s Ligou o Sistema Anti AFK!", PlayerName(playerid)); ABroadCast(COLOR_YELLOW,string,2); AFKon = true; return 1; } else { format(string, sizeof(string), "AdmCmd: O admin %s Desligou o Sistema Anti AFK!", PlayerName(playerid)); ABroadCast(COLOR_YELLOW,string,2); AFKon = false; return 1; } } return 1; } CMD:criaradmintemp(playerid, params[]) { if (PlayerInfo[playerid][pAdmin] != 1340 && PlayerInfo[playerid][pAdmin] != 1341 && PlayerInfo[playerid][pAdmin] != 1342) return SendClientMessage(playerid, COLOR_GRAD1, LEVELADM); new level; new para1,funcao[21]; if(sscanf(params, "uds[21]", para1, funcao)) return SendClientMessage(playerid, COLOR_GRAD2, "USE: /criaradmintemp [ID do Player] [Funcao]"); new letras = strlen(funcao); if(letras < 1 && letras > 20) return SendClientMessage(playerid, COLOR_GRAD1, " Voce nao pode usar menos que 1 e nem mais que 20 letras na funcao."); if(IsPlayerConnected(para1)) { if(!TemVagaAdmTemp() && PlayerInfo[para1][pAdminTemp] < 1) return SendClientMessage(playerid, COLOR_GRAD1, "Sem vagas de Admin Temporario, use: /limparadmintemp para limpar uma vaga!"); if(PlayerInfo[para1][pAdmin] >= 1) return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao pode dar Administrador TEMPORaRIO a um Administrador FIXO!Retire Primeiro!"); new string[MAX_STRING]; if(PlayerInfo[para1][pAdminTemp] == 1) { format(string, sizeof(string), "Voce retirou o Admin Temporario de %s.", PlayerName(para1)); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); format(string, sizeof(string), "Voce foi retirado de Admin Temporario, pelo admin %s", PlayerName(playerid)); SendClientMessage(para1, COLOR_LIGHTBLUE, string); PlayerInfo[para1][pAdminTemp] = 0; admtrampando[para1] = 0; admhide[para1] = 0; Ocupado[para1] = 0; SetPlayerToTeamColor(para1); SetPlayerHealth(para1, 100); getdate(year, month, day); gettime(hour,minute,second); format(string, sizeof(string), "%s retirou o admin temporario de %s", PlayerName(playerid), PlayerName(para1)); CNFLogs("daradmintemp", string); RemoverAdminTemp(NomePlayer(para1)); RemoveVagaAdminTemp(NomePlayer(para1)); return true; } strmid(PlayerInfo[para1][pFuncao], funcao, 0, strlen(funcao), 256); format(string, sizeof(string), "Voce foi promovido a Admin Temporario,com a Funcao de %s, pelo admin %s",PlayerInfo[para1][pFuncao], PlayerName(playerid)); SendClientMessage(para1, COLOR_LIGHTBLUE, string); format(string, sizeof(string), "Voce promoveu %s para Admin Temporario,com a Funcao de %s.", PlayerName(para1),level, PlayerInfo[para1][pFuncao]); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); PlayerInfo[para1][pAvaliacoes] = 1; PlayerInfo[para1][pAFinal] = 1; getdate(year, month, day); admtrampando[para1] = 1; admhide[para1] = 0; SetPlayerToTeamColor(para1); SetPlayerHealth(para1, 99999); gettime(hour,minute,second); format(string, sizeof(string), "%s deu admin Temporario para %s", sendername, giveplayer); PlayerInfo[para1][pAdminTemp] = 1; CNFLogs("daradmintemp", string); AddAdminTemp(NomePlayer(para1), 1); SetVagaAdminTemp(NomePlayer(para1), 1); } return 1; } CMD:deletarveiculoconce(playerid,params[]) { if (PlayerInfo[playerid][pAdmin] != 1340 && PlayerInfo[playerid][pAdmin] != 1341 && PlayerInfo[playerid][pAdmin] != 1342) return SendClientMessage(playerid, COLOR_GRAD1, LEVELADM); new para1; if(sscanf(params, "u", para1)) return SendClientMessage(playerid, COLOR_GRAD2, "USE: /deletarveiculoconce [ID do Player]"); DeleteVehicle(para1); MensagemFormatada(para1, 0xEEE8AAFF, "| INFO | {FFFFFF}O Admin %s deletou seu veículo (Motivo: BUG).",PlayerName(playerid)); MensagemFormatada(para1, 0xEEE8AAFF, "| INFO | {FFFFFF}Você deletou o veículo de %s (Motivo: BUG).",PlayerName(playerid)); return 1; } CMD:su(playerid, params[]) { if(!IsACop(playerid)) return SendClientMessage(playerid, COLOR_GREY, "Voce nao e um policial!"); if(OnDuty[playerid] == 0) return SendClientMessage(playerid, COLOR_GREY, "Voce nao Bateu o cartao!"); if(PlayerInfo[playerid][pJailed] == 9) return SendClientMessage(playerid,COLOR_GRAD1,"Voce nao pode usar este comando nas Celas da Administracao!"); new result[64]; if(sscanf(params, "us[64]", giveplayerid, result)) return SendClientMessage(playerid, COLOR_GRAD2, "USE: (/su)speito [ID do Player] [Descricao do Crime]"); if(AntiDivulguer(playerid, result))return 1; if(IsPlayerConnected(giveplayerid)) { if(IsACop(giveplayerid)) return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao pode dar su em Policiais!"); if(PlayerInfo[giveplayerid][pJailed] == 9) return SendClientMessage(playerid, COLOR_GREY, "Voce nao pode aplicar /su em presos na cadeia da administracao!"); if(PlayerInfo[giveplayerid][pAdmin] && admtrampando[giveplayerid]) return SendClientMessage(playerid, COLOR_GREY, "Voce nao pode colocar nivel de procura em admins trabalhando!"); if(PlayerInfo[giveplayerid][pJailed] == 24 && PlayerInfo[giveplayerid][pJailed] == 25) { if(strcmp(result,"AP",true) == 0) { } else { SendClientMessage(playerid, COLOR_GRAD4, "Voce nao pode Aplicar su em Presos!"); return 1; } } if(giveplayerid != INVALID_PLAYER_ID) { if(strcmp(result,"DOP",true) == 0) result = "Desobediencia a Ordem Policial, Art. 330º."; else if(strcmp(result,"TH",true) == 0) result = "Tentativa de Homicidio, Art. 121º."; else if(strcmp(result,"AP",true) == 0) result = "Ajuste de Pena."; else if(strcmp(result,"PIA",true) == 0) result = "Porte Ilegal de Armas, Art. 342º."; else if(strcmp(result,"TE",true) == 0) result = "Trafico de Entorpecentes, Art. 33º."; else if(strcmp(result,"LE",true) == 0) result = "Livrar-se de Entorpecentes, Art. 35º."; else if(strcmp(result,"TM",true) == 0) result = "Trafico de Materiais, Art. 312º."; else if(strcmp(result,"LM",true) == 0) result = "Livrar-se de Materiais, Art. 314º."; else if(strcmp(result,"CA",true) == 0) result = "Contrabando de Armas, Art. 345º."; else if(strcmp(result,"RV",true) == 0) result = "Roubo de Veiculo, Art. 157º."; else if(strcmp(result,"ACP",true) == 0) result = "Atentado contra Prefeitura, Art. 240º."; else if(strcmp(result,"RM",true) == 0) result = "Rejeicao de Multa, Art. 360º."; else if(strcmp(result,"RP",true) == 0) result = "Resistencia a Prisao, Art. 366º."; else if(strcmp(result,"IV",true) == 0) result = "Invasao a Local Restrito, Art. 39º."; else if(strcmp(result,"RMD",true) == 0) result = "Rejeicao a Mostrar Documentos, Art. 82º."; else if(strcmp(result,"DA",true) == 0) result = "Desacato, Art. 331º."; else if(strcmp(result,"CF",true) == 0) result = "Cumplice de Fuga, Art. 366º."; else if(strcmp(result,"FUGA",true) == 0) result = "Fuga, Art. 351º."; else return SendClientMessage(playerid, COLOR_GRAD1, " Crime Invalido.Use /crimes."); SetPlayerCriminal(giveplayerid,playerid, result); return true; } } else { SendClientMessage(playerid, COLOR_GRAD1, " Esse jogador nao esta conectado."); return true; } return true; } CMD:crimes(playerid) { if(!IsACop(playerid)) return SendClientMessage(playerid, COLOR_GREY, "Voce nao e um policial!"); if(PlayerInfo[playerid][pJailed] == 9) return SendClientMessage(playerid,COLOR_GRAD1,"Voce nao pode usar este comando nas Celas da Administracao!"); MEGAString[0]=EOS; strcat(MEGAString, "AP = Ajuste de Pena(Somente em Presos).\n"); strcat(MEGAString, "DOP = Desobediencia a Ordem Policial.\n"); strcat(MEGAString, "TH = Tentativa de Homicidio.\n"); strcat(MEGAString, "PIA = Porte Ilegal de Armas.\n"); strcat(MEGAString, "TE = Trafico de Entorpecentes.\n"); strcat(MEGAString, "LE = Livrar-se de Entorpecentes.\n"); strcat(MEGAString, "TM = Trafico de Materiais.\n"); strcat(MEGAString, "LM = Livrar-se de Materiais.\n"); strcat(MEGAString, "CA = Contrabando de Armas.\n"); strcat(MEGAString, "RV = Roubo de Veiculo.\n"); strcat(MEGAString, "ACP = Atentado contra Prefeitura.\n"); strcat(MEGAString, "RM = Rejeicao de Multa.\n"); strcat(MEGAString, "RP = Resistencia a Prisao.\n"); strcat(MEGAString, "IV = Invasao a Local Restrito.\n"); strcat(MEGAString, "RMD = Rejeicao a Mostrar Documentos.\n"); strcat(MEGAString, "DA = Desacato a Autoridade.\n"); strcat(MEGAString, "CF = Cumplice de Fuga."); strcat(MEGAString, "FUGA = Tentativa ou Fuga."); ShowPlayerDialog(playerid, 8724, DIALOG_STYLE_MSGBOX, "Lista de Descricao de Crimes", MEGAString, "Informado",""); return true; } /*CarregarCarrosADM() { CarrosADM[0] = AddStaticVehicleEx_Debug(487,3034.7002000,-1944.9004000,10.9000000,90.0000000,52,78,-1); //Maverick CarrosADM[1] = AddStaticVehicleEx_Debug(411,3055.3999000,-1969.2000000,10.9000000,87.9950000,89,110,-1); //Infernus CarrosADM[2] = AddStaticVehicleEx_Debug(411,3055.2000000,-1972.7000000,10.9000000,87.9950000,89,110,-1); //Infernus CarrosADM[3] = AddStaticVehicleEx_Debug(411,3055.1001000,-1976.5000000,10.6000000,87.9950000,89,110,-1); //Infernus CarrosADM[4] = AddStaticVehicleEx_Debug(411,3055.0000000,-1980.9000000,10.9000000,87.9950000,89,110,-1); //Infernus CarrosADM[5] = AddStaticVehicleEx_Debug(411,3055.6001000,-1953.3000000,11.1000000,87.9950000,89,110,-1); //Infernus CarrosADM[6] = AddStaticVehicleEx_Debug(411,3055.6001000,-1949.7000000,11.1000000,87.9950000,89,110,-1); //Infernus CarrosADM[7] = AddStaticVehicleEx_Debug(411,3055.8999000,-1946.2000000,11.1000000,87.9950000,89,110,-1); //Infernus CarrosADM[8] = AddStaticVehicleEx_Debug(411,3056.0000000,-1942.9000000,10.9000000,87.9950000,89,110,-1); //Infernus CarrosADM[9] = AddStaticVehicleEx_Debug(487,3036.8999000,-1979.2000000,10.7000000,90.0000000,52,78,-1); //Maverick CarrosADM[10] = AddStaticVehicleEx_Debug(522,3051.3999000,-1962.4000000,10.1000000,90.0000000,66,69,-1); //Quad CarrosADM[11] = AddStaticVehicleEx_Debug(522,3051.7000000,-1960.6000000,10.0000000,90.0000000,66,69,-1); //Quad CarrosADM[12] = AddStaticVehicleEx_Debug(522,3051.6001000,-1958.8000000,10.0000000,90.0000000,66,69,-1); //Quad CarrosADM[13] = AddStaticVehicleEx_Debug(522,3051.6001000,-1956.9000000,10.0000000,90.0000000,66,69,-1); //Quad }*/ CarregarHQAdmin() { CreateObject(12814,3037.7002000,-1961.5996000,8.9000000,0.0000000,0.0000000,0.0000000); //object(cuntyeland04)(1) CreateObject(11490,3066.0000000,-1962.0000000,9.1000000,0.0000000,0.0000000,270.0000000); //object(des_ranch)(1) CreateObject(12814,3061.7998000,-1961.5000000,8.9000000,0.0000000,0.0000000,0.0000000); //object(cuntyeland04)(2) CreateObject(3749,3025.1001000,-1962.8000000,15.1000000,0.0000000,0.0000000,270.0000000); //object(clubgate01_lax)(3) CreateObject(3749,3028.7002000,-1962.7998000,15.0000000,0.0000000,0.0000000,270.0000000); //object(clubgate01_lax)(4) CreateObject(11491,3054.7998000,-1962.0000000,10.4000000,0.0000000,0.0000000,270.0000000); //object(des_ranchbits1)(2) CreateObject(3934,3036.4004000,-1979.2998000,8.9000000,0.0000000,0.0000000,0.0000000); //object(helipad01)(1) CreateObject(3934,3034.3999000,-1944.9000000,8.9000000,0.0000000,0.0000000,0.0000000); //object(helipad01)(2) CreateObject(18450,2988.1001000,-1962.8000000,8.6000000,0.0000000,0.0000000,0.0000000); //object(cs_roadbridge04)(1) CreateObject(6965,3041.6001000,-1962.2000000,11.8000000,0.0000000,0.0000000,0.0000000); //object(venefountain02)(1) CreateObject(14467,3054.8000000,-1957.5000000,12.9000000,0.0000000,0.0000000,0.0000000); //object(carter_statue)(2) CreateObject(18450,2880.3999000,-1962.9000000,8.6000000,0.0000000,0.0000000,0.0000000); //object(cs_roadbridge04)(2) CreateObject(18450,2950.0000000,-1962.9000000,8.6000000,0.0000000,0.0000000,0.0000000); //object(cs_roadbridge04)(3) CreateObject(3472,2872.2000000,-1955.7000000,9.2000000,0.0000000,0.0000000,0.0000000); //object(circuslampost03)(1) CreateObject(3472,2910.3000000,-1969.7000000,9.1000000,0.0000000,0.0000000,0.0000000); //object(circuslampost03)(3) CreateObject(3472,2910.3000000,-1956.1000000,9.6000000,0.0000000,0.0000000,0.0000000); //object(circuslampost03)(4) CreateObject(3472,2948.5000000,-1969.6000000,9.6000000,0.0000000,0.0000000,0.0000000); //object(circuslampost03)(5) CreateObject(3472,2949.8000000,-1956.1000000,9.6000000,0.0000000,0.0000000,0.0000000); //object(circuslampost03)(6) CreateObject(3472,3016.0000000,-1969.5000000,9.6000000,0.0000000,0.0000000,0.0000000); //object(circuslampost03)(7) CreateObject(3472,3016.8999000,-1955.9000000,9.6000000,0.0000000,0.0000000,0.0000000); //object(circuslampost03)(8) CreateObject(3472,2981.7000000,-1969.7000000,9.6000000,0.0000000,0.0000000,0.0000000); //object(circuslampost03)(9) CreateObject(3472,2981.5000000,-1956.3000000,9.6000000,0.0000000,0.0000000,0.0000000); //object(circuslampost03)(10) CreateObject(3472,2872.1001000,-1970.1000000,9.2000000,0.0000000,0.0000000,0.0000000); //object(circuslampost03)(11) CreateObject(987,3023.0000000,-1970.9000000,8.9000000,0.0000000,0.0000000,269.0000000); //object(elecfence_bar)(5) CreateObject(987,3023.2000000,-1974.8000000,8.9000000,0.0000000,0.0000000,268.9950000); //object(elecfence_bar)(6) CreateObject(987,3022.7000000,-1986.5000000,8.9000000,0.0000000,0.0000000,0.9950000); //object(elecfence_bar)(7) CreateObject(987,3034.6001000,-1986.4000000,8.9000000,0.0000000,0.0000000,0.9940000); //object(elecfence_bar)(10) CreateObject(987,3046.5000000,-1986.4000000,8.9000000,0.0000000,0.0000000,0.9940000); //object(elecfence_bar)(11) CreateObject(987,3058.5000000,-1986.2000000,8.9000000,0.0000000,0.0000000,0.9940000); //object(elecfence_bar)(14) CreateObject(987,3064.6001000,-1986.3000000,8.9000000,0.0000000,0.0000000,0.9940000); //object(elecfence_bar)(15) CreateObject(987,3076.3000000,-1986.5000000,8.9000000,0.0000000,0.0000000,90.0000000); //object(elecfence_bar)(16) CreateObject(987,3076.3999000,-1974.6000000,8.9000000,0.0000000,0.0000000,90.0000000); //object(elecfence_bar)(17) CreateObject(987,3076.3999000,-1962.7000000,8.9000000,0.0000000,0.0000000,90.0000000); //object(elecfence_bar)(30) CreateObject(987,3076.3999000,-1950.8000000,8.9000000,0.0000000,0.0000000,90.0000000); //object(elecfence_bar)(31) CreateObject(987,3076.3000000,-1948.4000000,8.9000000,0.0000000,0.0000000,90.0000000); //object(elecfence_bar)(32) CreateObject(987,3076.3999000,-1936.8000000,8.9000000,0.0000000,0.0000000,179.9950000); //object(elecfence_bar)(33) CreateObject(987,3064.5000000,-1936.8000000,8.9000000,0.0000000,0.0000000,179.9950000); //object(elecfence_bar)(34) CreateObject(987,3052.6001000,-1936.8000000,8.9000000,0.0000000,0.0000000,179.9950000); //object(elecfence_bar)(35) CreateObject(987,3040.7000000,-1936.8000000,8.9000000,0.0000000,0.0000000,179.9950000); //object(elecfence_bar)(36) CreateObject(987,3034.7000000,-1936.7000000,9.0000000,0.0000000,0.0000000,179.9950000); //object(elecfence_bar)(37) CreateObject(987,3022.8999000,-1936.6000000,8.9000000,0.0000000,0.0000000,270.0000000); //object(elecfence_bar)(38) CreateObject(987,3022.8000000,-1942.7000000,9.0000000,0.0000000,0.0000000,270.0000000); //object(elecfence_bar)(39) CreateObject(1723,3069.8000000,-1958.2000000,10.6000000,0.0000000,0.0000000,272.0000000); //object(mrk_seating1)(1) CreateObject(1723,3069.7000000,-1963.8000000,10.6000000,0.0000000,0.0000000,268.0000000); //object(mrk_seating1)(2) CreateObject(2008,3060.8000000,-1958.0000000,10.6000000,0.0000000,0.0000000,0.0000000); //object(officedesk1)(1) CreateObject(1671,3061.6001000,-1958.5000000,11.1000000,0.0000000,0.0000000,180.0000000); //object(swivelchair_a)(1) CreateObject(1736,3061.5000000,-1957.4000000,12.9000000,0.0000000,0.0000000,0.0000000); //object(cj_stags_head)(1) CreateObject(1828,3064.6001000,-1962.0000000,10.6000000,0.0000000,0.0000000,0.0000000); //object(man_sdr_rug)(1) CreateObject(2333,3063.2000000,-1967.2000000,10.4000000,0.0000000,0.0000000,0.0000000); //object(cj_bed_furn_1b)(1) CreateObject(2333,3061.3999000,-1967.2000000,10.4000000,0.0000000,0.0000000,0.0000000); //object(cj_bed_furn_1b)(2) CreateObject(2333,3059.6001000,-1967.2000000,10.4000000,0.0000000,0.0000000,0.0000000); //object(cj_bed_furn_1b)(3) CreateObject(2855,3059.7000000,-1966.0000000,11.4000000,0.0000000,0.0000000,0.0000000); //object(gb_bedmags05)(1) CreateObject(2855,3064.1001000,-1966.0000000,11.4000000,0.0000000,0.0000000,0.0000000); //object(gb_bedmags05)(3) CreateObject(2852,3063.1001000,-1966.0000000,11.4000000,0.0000000,0.0000000,0.0000000); //object(gb_bedmags02)(1) CreateObject(2852,3060.7000000,-1966.1000000,11.4000000,0.0000000,0.0000000,0.0000000); //object(gb_bedmags02)(2) CreateObject(1518,3061.8999000,-1966.2000000,11.8000000,0.0000000,0.0000000,180.0000000); //object(dyn_tv_2)(1) CreateObject(1809,3062.5000000,-1966.3000000,11.4000000,0.0000000,0.0000000,90.0000000); //object(med_hi_fi)(1) CreateObject(1809,3061.3000000,-1966.3000000,11.4000000,0.0000000,0.0000000,90.0000000); //object(med_hi_fi)(3) CreateObject(8649,164.7000000,128.0000000,473.6000100,0.0000000,0.0000000,0.0000000); //object(shbbyhswall05_lvs)(1) CreateObject(14413,3040.7000000,-1938.4000000,2.6000000,0.0000000,0.0000000,0.0000000); //object(carter-column01)(2) CreateObject(14413,3039.8999000,-1972.2000000,2.6000000,0.0000000,0.0000000,0.0000000); //object(carter-column01)(3) CreateObject(14413,3075.6001000,-1971.9000000,2.8000000,0.0000000,0.0000000,0.0000000); //object(carter-column01)(4) CreateObject(14413,3074.8999000,-1937.3000000,2.8000000,0.0000000,0.0000000,0.0000000); //object(carter-column01)(5) CreateObject(14413,2998.8000000,-1955.6000000,2.5000000,0.0000000,0.0000000,0.0000000); //object(carter-column01)(6) CreateObject(14413,2937.3999000,-1956.4000000,2.6000000,0.0000000,0.0000000,0.0000000); //object(carter-column01)(7) PortaoADM = CreateDynamicObject(980,3028.85766601,-1962.76696777,11.89077758,0.0000000,0.0000000,-90.00000000); //object(elecfence_bar)(29) } CMD:portaoadm(playerid, params[]) { if ((IsAAdmin(playerid)) && PlayerToPoint(15.0, playerid, 3028.85766601,-1962.76696777,11.89077758)) { MoveDynamicObject(PortaoADM, 3028.85766601,-1962.76696777,4.89077758,3, 0.00000, 0.00000, -90.00000); SetTimer(#MovePortaoADM, 5000, 0); GameTextForPlayer(playerid, "~g~Portao Aberto", 5000, 3); SendClientMessage(playerid, COLOR_DBLUE, "Portao aberto, ele se fechara em 5 segundos!"); ObjectMovePlayer[playerid] = PortaoADM; if(IsDynamicObjectMoving(PortaoADM)) PlayerPlaySound(playerid, 1035, 0.0, 0.0, 0.0); } return true; } CallBack::MovePortaoADM() { foreach(Player, playerid) { if(ObjectMovePlayer[playerid] == 0) { PlayerPlaySound(playerid, 1035, 0.0, 0.0, 0.0); } } MoveDynamicObject(PortaoADM,3028.85766601,-1962.76696777,11.89077758,3, 0.00000, 0.00000, -90.00000); return true; } CallBack::SincHQADM(playerid) { SetPlayerToTeamColor(playerid); SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 0); SetPlayerPos(playerid, 3066.2385,-1965.7148,11.6078); PlayerInfo[playerid][pInt] = 0; PlayerInfo[playerid][pLocal] = 0; SetPlayerVirtualWorld(playerid,0); } CMD:coleta(playerid) { new veiculo = GetPlayerVehicleID(playerid); if(PlayerInfo[playerid][pEmprego] != 8) return SendClientMessage(playerid,COLOR_GRAD1,"| ERRO | Você não é um gari."); if(GariTrabalhando[playerid] > 0) return SendClientMessage(playerid,COLOR_GRAD1,"| ERRO | Você já está trabalhando, para cancelar use /rcoleta"); if(GetVehicleModel(veiculo) == 408) { SendClientMessage(playerid,COLOR_YELLOW,"| INFO | Você iniciou uma Coleta pela Cidade! Ao completar receberá 1000$"); GariTrabalhando[playerid] = 1; SetPlayerCheckpoint(playerid, 1892.7834,-1927.5626,13.3874, 1.0); TimerTrabalho[playerid] = SetTimerEx("AcabarTrabalho", 10*60*1000, false, "i", playerid); return 1; } else SendClientMessage(playerid,COLOR_GRAD1,"| ERRO | Você precisa está em um veiculo dos Gari!"); return 1; } CMD:rcoleta(playerid) { if(PlayerInfo[playerid][pEmprego] != 8) return SendClientMessage(playerid,COLOR_GRAD1,"| ERRO | Você não é um Gari!"); if(GariTrabalhando[playerid] < 1) return SendClientMessage(playerid,COLOR_GRAD1,"| ERRO | Você não está trabalhando, use /coleta para trabalhar"); GariTrabalhando[playerid] = 0; DisablePlayerCheckpoint(playerid); SendClientMessage(playerid,COLOR_GRAD1,"| INFO | Coleta cancelada com sucesso!"); return 1; } CMD:destruirsom(playerid, params[]) { if (PlayerInfo[playerid][pAdmin] < 1) return 1; new id; if(sscanf(params, "d", id)) return SendClientMessage(playerid, COLOR_GRAD2, "USE: /destuirsom [idsom]"); if(SomInfo[id][somCreated]) { destroySound(id); SendClientMessage(playerid, COLOR_GRAD2, "| INFO | Voce destruiu o Som."); } else SendClientMessage(playerid, COLOR_GRAD2, "| INFO | Nao existe um som com este id."); return true; } CMD:irsom(playerid, params[]) { if (PlayerInfo[playerid][pAdmin] < 1) return 1; new id; if(sscanf(params, "d", id)) return SendClientMessage(playerid, COLOR_GRAD2, "USE: /irsom [idsom]"); if(SomInfo[id][somCreated]) { SetPlayerPos(playerid, SomInfo[id][somX],SomInfo[id][somY],SomInfo[id][somZ]); return 1; } else { SendClientMessage(playerid, COLOR_GRAD2, "| INFO | Nao existe um som com este id."); } return true; } CMD:caixasdesom(playerid) { if (PlayerInfo[playerid][pAdmin] < 1) return 1; new Cont = 0; new string[500]; MEGAString[0] = EOS; for(new x; x != MAX_SOUNDS; x++) { if(SomInfo[x][somCreated]) { format(string, sizeof(string), "JBL ID: [%d]\n",x); strcat(MEGAString, string); Cont++; } } new titulo[350]; format(titulo, sizeof(titulo), "{FFFFFF}[ ! ] CAIXAS DE SOM [ ! ] {FFFFFF}({00d900}%d{FFFFFF})",Cont); ShowPlayerDialog(playerid, 6859, DIALOG_STYLE_MSGBOX, titulo, MEGAString, "Fechar", ""); return 1; } CMD:feridos(playerid, params[]) { if(PlayerInfo[playerid][pEmprego] != 11 && PlayerInfo[playerid][pEmprego] != 14 && PlayerInfo[playerid][pEmprego] != 16) return SendClientMessage(playerid,COLOR_GRAD1, "| ERRO | Você não é um médico."); new string[500]; MEGAString[0] = EOS; new Cont = 0; strcat(string, "[ ! ] FERIDOS [ ! ]"); foreach(Player, i) { new minutes, seconds; minutes = floatround(TempoAceitarMorte[i] / (60), floatround_floor); seconds = TempoAceitarMorte[i] % 60; if(TimerAceitarMorte[i] != -1) { format(string, sizeof(string), "Ferido: %s [ID: %d] Tempo Recuperação: (%s:%s)\n\n", PlayerName(i),i,addZero(minutes),addZero(seconds)); strcat(MEGAString, string); Cont++; } } new titulo[350]; format(titulo, sizeof(titulo), "{FFFFFF}[ ! ] FERIDOS [ ! ] {FFFFFF}({00d900}%d{FFFFFF})",Cont); ShowPlayerDialog(playerid, 6859, DIALOG_STYLE_MSGBOX, titulo, MEGAString, "Fechar", ""); return 1; } CMD:localizarj(playerid, params[]) { if(PlayerInfo[playerid][pEmprego] != 11 && PlayerInfo[playerid][pEmprego] != 14 && PlayerInfo[playerid][pEmprego] != 16) return SendClientMessage(playerid,COLOR_GRAD1, "| ERRO | Você não é um médico."); new id; if(sscanf(params, "i", id)) return SCM(playerid, COLOR_GRAD1, "[Erro] Uso correto: /LocalizarJ [id]"); if(!IsPlayerConnected(id)) return SCM(playerid, COLOR_GRAD1, "[Erro] Jogador não está online."); if(TimerAceitarMorte[id] == -1) return SCM(playerid, COLOR_GRAD1, "[Erro] Esse jogador não está morrendo."); new Float:cPos[3]; GetPlayerPos(id, cPos[0], cPos[1], cPos[2]); SetPlayerCheckpoint(playerid, cPos[0], cPos[1], cPos[2], 8.0); SCMf(playerid, -1, "[Info] Siga um checkpoint {00FFFF}Vermelho{FFFFFF}, para reanimar o jogador %s[%i]!", pNome(id), id); return 1; } CMD:atender(playerid, result[]) { if(PlayerInfo[playerid][pAdmin] > 0 || PlayerInfo[playerid][pHelper] > 0 || PlayerInfo[playerid][pAdminTemp] > 0) { new atender1; if(sscanf(result, "u", atender1))return SendClientMessage(playerid, COLOR_GRAD2, "USE: /atender [ID do Player]"); if(PlayerInfo[atender1][SenhaFila] < 1) return SendClientMessage(playerid, COLOR_GREY, "Este Player Ja foi atendido!"); new prioridade[120]; GetPVarString(playerid, "varPrioridade", prioridade, 120); GetPVarString(atender1, "varPrioridade", prioridade, 120); new string[200]; format(string, 128, "[Atendimento] O admin %s atendeu a senha %d | %s{EE82EE} | Assunto: {FFFFFF}%s",PlayerName(playerid), atender1, prioridade,VarChatAtendimento[atender1]); ABroadCast(0xEE82EEFF, string, 1); FilaAtendimento[atender1] = atender1; FilaAtendimento[playerid] = playerid; format(string, sizeof(string), "Atendimento: O admin %s atendeu voce | %s {EE82EE}| Assunto: %s", PlayerName(playerid), prioridade,VarChatAtendimento[atender1]); SendClientMessage(atender1, 0xEE82EEFF, string); SendClientMessage(atender1, 0xEE82EEFF, "OBS: Escreva no chat para falar com o admin. Para encerrar use o comando /terminar atendimento"); ChatAtendimento[atender1] = 1; VarChatAtendimento[atender1] = 0; PlayerInfo[atender1][SenhaFila] = -1; ChatAtendimento[playerid] = 2; InviteAtt[atender1] = playerid; PlayerInfo[playerid][pAtendimentos]++; InviteAtt[playerid] = atender1; NumeroChatAtendimento[atender1] = atender1; NumeroChatAtendimento[playerid] = atender1; } return true; } CMD:vercarteira(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] > 0 || PlayerInfo[playerid][pHelper] > 0) { if(sscanf(params, "u", giveplayerid)) return SendClientMessage(playerid, COLOR_GRAD1, "USE: /vercarteira [ID do Player]"); if(PlayerInfo[giveplayerid][pAdmin] >= 1340 && PlayerInfo[playerid][pAdmin] <= 1341) return SCM(playerid, COLOR_GRAD1, "Voce nao pode dar tapa em um admin dono."); if(IsPlayerConnected(giveplayerid)) { if(giveplayerid != INVALID_PLAYER_ID) { ShowStats(playerid,giveplayerid); } } } return true; } CMD:entrarfamilia(playerid) { for(new i = 0; i < sizeof(FamiliaInfo); i++) { if(IsPlayerInRangeOfPoint(playerid, 1.0 ,FamiliaInfo[i][fSpawnX], FamiliaInfo[i][fSpawnY], FamiliaInfo[i][fSpawnZ])) { PlayerFamilyID[playerid] = i; SetPlayerPos(playerid, FamiliaInfo[i][fExitX], FamiliaInfo[i][fExitY], FamiliaInfo[i][fExitZ]); SetPlayerVirtualWorld(playerid, FamiliaInfo[i][fID]+1); SetPlayerInterior(playerid,3); SCMf(playerid, -1, "Debug: Voce entrou na hq da familia %s.", FamiliaInfo[i][fNome]); } } new saida = PlayerFamilyID[playerid]; if(saida != -1) { if(PlayerToPoint(1, playerid,FamiliaInfo[saida][fExitX], FamiliaInfo[saida][fExitY], FamiliaInfo[saida][fExitZ])) { SetPlayerInterior(playerid,0); PlayerInfo[playerid][pInt] = 0; SetPlayerVirtualWorld(playerid, 0); SetPlayerPos(playerid,FamiliaInfo[saida][fSpawnX],FamiliaInfo[saida][fSpawnY],FamiliaInfo[saida][fSpawnZ]); PlayerInfo[playerid][pLocal] = 255; PlayerFamilyID[playerid] = -1; return true; } } return 1; } CMD:empresase(playerid) { if(!IsPlayerInAnyVehicle(playerid)) { for(new i = 0; i < sizeof(BizzInfo); i++) { if(IsPlayerInRangeOfPoint(playerid, 3.5,BizzInfo[i][bEntranceX], BizzInfo[i][bEntranceY], BizzInfo[i][bEntranceZ])) { return ShowPlayerDialog(playerid,5894,DIALOG_STYLE_LIST,"Escolha uma opcao","Entrar na empresa\nEntrar no cofre","Entrar", "Fechar"); } } new i = PlayerBizzID[playerid]; if(i != -1) { if (PlayerToPoint(1, playerid,BizzInfo[i][bExitX], BizzInfo[i][bExitY], BizzInfo[i][bExitZ])) { SetPlayerInterior(playerid,0); PlayerInfo[playerid][pInt] = 0; SetPlayerVirtualWorld(playerid, 0); SetPlayerPos(playerid,BizzInfo[i][bEntranceX],BizzInfo[i][bEntranceY],BizzInfo[i][bEntranceZ]); PlayerInfo[playerid][pLocal] = 255; return true; } if(IsPlayerInRangeOfPoint(playerid, 2.5, 2205.0908,1551.3240,1008.4630)) { SetPlayerInterior(playerid, 0); PlayerInfo[playerid][pInt] = 0; SetPlayerVirtualWorld(playerid, 0); SetPlayerPos(playerid,BizzInfo[i][bEntranceX],BizzInfo[i][bEntranceY],BizzInfo[i][bEntranceZ]); PlayerInfo[playerid][pLocal] = 255; PlayerBizzID[playerid] = -1; } } } return 1; } CMD:materiaiscofre(playerid) { if(!IsAMafioso(playerid)) return SendClientMessage(playerid, COLOR_GRAD1, "| ERRO | Você não é um mafioso."); if(GetPlayerState(playerid) != PLAYER_STATE_PASSENGER) return SendClientMessage(playerid, COLOR_LIGHTBLUE, "Voce precisa estar de passageiro para guardar os materiais."); new carroid = GetPlayerVehicleID(playerid); if(carroid == CarroYakuza(8) || carroid == CarroYakuza(9) || carroid == CarroYakuza(10) && GetPlayerOrg(playerid) == 13) { if(PlayerToPoint(40.0,playerid,672.6825,-1291.1804,13.6328)) { if(carroid == CarroYakuza(8)) { if(CofreOrg[13][MatBox1] == 0) return SendClientMessage(playerid, COLOR_GRAD1, "| ERRO | Não tem materiais nesse boxville."); CofreOrg[13][Materiais] += CofreOrg[13][MatBox1]; MensagemFormatada(playerid, 0xEEE8AAFF, "| INFO | Você guardou %d materiais no cofre da sua org.",CofreOrg[13][MatBox1]); CofreOrg[13][MatBox1] = 0; } else if(carroid == CarroYakuza(9)) { if(CofreOrg[13][MatBox2] == 0) return SendClientMessage(playerid, COLOR_GRAD1, "| ERRO | Não tem materiais nesse boxville."); CofreOrg[13][Materiais] += CofreOrg[13][MatBox2]; MensagemFormatada(playerid, 0xEEE8AAFF, "| INFO | Você guardou %d materiais no cofre da sua org.",CofreOrg[13][MatBox2]); CofreOrg[13][MatBox2] = 0; } else if(carroid == CarroYakuza(10)) { if(CofreOrg[13][MatBox3] == 0) return SendClientMessage(playerid, COLOR_GRAD1, "| ERRO | Não tem materiais nesse boxville."); CofreOrg[13][Materiais] += CofreOrg[13][MatBox3]; MensagemFormatada(playerid, 0xEEE8AAFF, "| INFO | Você guardou %d materiais no cofre da sua org.",CofreOrg[13][MatBox3]); CofreOrg[13][MatBox3] = 0; } } } else if(carroid == CarroRussa(5) || carroid == CarroRussa(6) || carroid == CarroRussa(7) && GetPlayerOrg(playerid) == 12) { if(PlayerToPoint(40.0,playerid,1509.4653,-694.6793,94.7500)) { if(carroid == CarroRussa(5)) { if(CofreOrg[12][MatBox1] == 0) return SendClientMessage(playerid, COLOR_GRAD1, "| ERRO | Não tem materiais nesse boxville."); CofreOrg[12][Materiais] += CofreOrg[12][MatBox1]; MensagemFormatada(playerid, 0xEEE8AAFF, "| INFO | Você guardou %d materiais no cofre da sua org.",CofreOrg[12][MatBox1]); CofreOrg[12][MatBox1] = 0; } else if(carroid == CarroRussa(6)) { if(CofreOrg[12][MatBox2] == 0) return SendClientMessage(playerid, COLOR_GRAD1, "| ERRO | Não tem materiais nesse boxville."); CofreOrg[12][Materiais] += CofreOrg[12][MatBox2]; MensagemFormatada(playerid, 0xEEE8AAFF, "| INFO | Você guardou %d materiais no cofre da sua org.",CofreOrg[12][MatBox2]); CofreOrg[12][MatBox2] = 0; } else if(carroid == CarroRussa(7)) { if(CofreOrg[12][MatBox3] == 0) return SendClientMessage(playerid, COLOR_GRAD1, "| ERRO | Não tem materiais nesse boxville."); CofreOrg[12][Materiais] += CofreOrg[12][MatBox3]; MensagemFormatada(playerid, 0xEEE8AAFF, "| INFO | Você guardou %d materiais no cofre da sua org.",CofreOrg[12][MatBox3]); CofreOrg[12][MatBox3] = 0; } } } return true; } CMD:infocadeia(playerid,params[]) { MEGAString[0] =EOS; new string[500]; new para1; if(sscanf(params, "u", para1)) return SendClientMessage(playerid, COLOR_GRAD2, "USE: /infocadeia [ID do Player]"); if(PlayerInfo[para1][pJailed] == 9) { new string7[128],motivo[64],admin[36]; format(string7, sizeof string7, Pasta_Cadeias, NomePlayer(para1)); strmid(motivo, DOF2_GetString(string7,"Motivo"), 0, strlen(DOF2_GetString(string7,"Motivo")), 255); strmid(admin, DOF2_GetString(string7,"Admin"), 0, strlen(DOF2_GetString(string7,"Admin")), 255); strcat(MEGAString, "{FFFFFF}| Informações de Cadeia Admin |\n"); strcat(MEGAString, "{7FFFD4}--------------------------------------------------------------\n"); format(string, sizeof(string), "{FFFFFF}Player: {FFB6C1}[%d] %s\n",para1 ,NomePlayer(para1)); strcat(MEGAString, string); format(string, sizeof(string), "{FFFFFF}Tempo: {FFB6C1}%s (%d segundos)\n",ConvertTime(PlayerInfo[para1][pJailTime]),PlayerInfo[para1][pJailTime]); strcat(MEGAString, string); format(string, sizeof(string), "{FFFFFF}Admin Responsável: {FFB6C1}[%s]\n" ,admin); strcat(MEGAString, string); format(string, sizeof(string), "{FFFFFF}Motivo: {FFB6C1}[%s]\n" , motivo); strcat(MEGAString, string); strcat(MEGAString, "{7FFFD4}--------------------------------------------------------------"); ShowPlayerDialog(playerid, 10728, DIALOG_STYLE_MSGBOX, "Info Cadeia", MEGAString, "Fechar", ""); } return 1; } CMD:flash(playerid) { if(!IsACop(playerid)) return SendClientMessage(playerid, COLOR_GREY, "[ ERRO ] Você não é um policial!"); new vehicleid,panels,doors,lights,tires; vehicleid = GetPlayerVehicleID(playerid); if(!Flasher[vehicleid]) { if (GetPlayerState(playerid) != PLAYER_STATE_DRIVER) return SendClientMessage(playerid, -1, "* Você não está pilotando algum veículo !"); if (!GetVehicleModel(vehicleid)) return SendClientMessage(playerid, -1, "* Apenas os Veículos: Enforcer,LSPD,SFPD,LVPD,Police Ranger e FBI Rancher"); if (IsValidObject(obj[vehicleid]) || IsValidObject(obj2[vehicleid])) { SendClientMessage(playerid, -1, "Flash Desligado."), DestroyObject(obj[vehicleid]), DestroyObject(obj2[vehicleid]); GetVehicleDamageStatus(vehicleid,panels,doors,lights,tires); if(LightPwr[vehicleid] == 1) UpdateVehicleDamageStatus(vehicleid, panels, doors, 0, tires); else UpdateVehicleDamageStatus(vehicleid, panels, doors, 5, tires); Flasher[vehicleid] = 0; } switch (GetVehicleModel(vehicleid)) { case 470: { GetVehicleDamageStatus(vehicleid,panels,doors,lights,tires); Flasher[vehicleid] = 1; } case 528: { GetVehicleDamageStatus(vehicleid,panels,doors,lights,tires); Flasher[vehicleid] = 1; } case 596: { GetVehicleDamageStatus(vehicleid,panels,doors,lights,tires); Flasher[vehicleid] = 1; } case 597: { GetVehicleDamageStatus(vehicleid,panels,doors,lights,tires); Flasher[vehicleid] = 1; } case 598: { GetVehicleDamageStatus(vehicleid,panels,doors,lights,tires); Flasher[vehicleid] = 1; } case 599: { GetVehicleDamageStatus(vehicleid,panels,doors,lights,tires); Flasher[vehicleid] = 1; } case 426://premier { GetVehicleDamageStatus(vehicleid,panels,doors,lights,tires); Flasher[vehicleid] = 1; } case 427://enforcer { GetVehicleDamageStatus(vehicleid,panels,doors,lights,tires); Flasher[vehicleid] = 1; } case 416://Ambulance { GetVehicleDamageStatus(vehicleid,panels,doors,lights,tires); Flasher[vehicleid] = 1; } case 407://FireTruck { GetVehicleDamageStatus(vehicleid,panels,doors,lights,tires); Flasher[vehicleid] = 1; } case 490://FBI { Flasher[vehicleid] = 1; } case 411://Infernus { Flasher[vehicleid] = 1; } case 560://Infernus { Flasher[vehicleid] = 1; } default: { return SendClientMessage(playerid, -1, "Esse veículo de polícia não é compativel!"); } } return SendClientMessage(playerid, -1, "Ligue o seus farois digitando /farol"); } else { if (IsValidObject(obj[vehicleid]) || IsValidObject(obj2[vehicleid])) { SendClientMessage(playerid, -1, "| INFO | Você desligou o flash"), DestroyObject(obj[vehicleid]), DestroyObject(obj2[vehicleid]); } GetVehicleDamageStatus(vehicleid,panels,doors,lights,tires); if(LightPwr[vehicleid] == 1) UpdateVehicleDamageStatus(vehicleid, panels, doors, 0, tires); else UpdateVehicleDamageStatus(vehicleid, panels, doors, 5, tires); Flasher[vehicleid] = 0; } return 1; } CarregarOficinaNova() { //Objects//////////////////////////////////////////////////////////////////////////////////////////////////////// new tmpobjid; tmpobjid = CreateDynamicObject(19377, 323.891632, -1822.218994, 3.304260, 0.000000, 90.000000, 0.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 9514, "711_sfw", "ws_carpark2", 0x00000000); tmpobjid = CreateDynamicObject(19377, 344.678009, -1822.270385, 3.304260, 0.000000, 90.000000, 0.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 9514, "711_sfw", "ws_carpark2", 0x00000000); tmpobjid = CreateDynamicObject(19377, 344.637756, -1831.800537, 3.304260, 0.000000, 90.000000, 0.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 9514, "711_sfw", "ws_carpark2", 0x00000000); tmpobjid = CreateDynamicObject(19377, 334.278411, -1831.782836, 3.304260, 0.000000, 90.000000, 0.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 9514, "711_sfw", "ws_carpark2", 0x00000000); tmpobjid = CreateDynamicObject(19377, 323.938232, -1831.747802, 3.304260, 0.000000, 90.000000, 0.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 9514, "711_sfw", "ws_carpark2", 0x00000000); tmpobjid = CreateDynamicObject(19456, 318.613922, -1822.314453, 4.972980, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "sl_vicwall02", 0x00000000); tmpobjid = CreateDynamicObject(19456, 318.643005, -1831.719604, 4.972980, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "sl_vicwall02", 0x00000000); tmpobjid = CreateDynamicObject(19456, 349.861541, -1831.826416, 4.972980, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "sl_vicwall02", 0x00000000); tmpobjid = CreateDynamicObject(19456, 349.863952, -1822.316528, 4.972980, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "sl_vicwall02", 0x00000000); tmpobjid = CreateDynamicObject(19456, 345.036987, -1836.587036, 4.973000, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "sl_vicwall02", 0x00000000); tmpobjid = CreateDynamicObject(19456, 335.525939, -1836.586425, 4.973000, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "sl_vicwall02", 0x00000000); tmpobjid = CreateDynamicObject(19377, 323.822814, -1841.352416, 3.304260, 0.000000, 90.000000, 0.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 9514, "711_sfw", "ws_carpark2", 0x00000000); tmpobjid = CreateDynamicObject(19456, 318.651519, -1841.353515, 4.972980, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "sl_vicwall02", 0x00000000); tmpobjid = CreateDynamicObject(19456, 329.009246, -1841.324584, 4.972980, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "sl_vicwall02", 0x00000000); tmpobjid = CreateDynamicObject(19456, 324.239807, -1846.108520, 1.728179, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "sl_vicwall02", 0x00000000); tmpobjid = CreateDynamicObject(19456, 323.394378, -1846.129638, 1.728179, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "sl_vicwall02", 0x00000000); tmpobjid = CreateDynamicObject(19456, 318.636535, -1841.396728, 1.608199, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "sl_vicwall02", 0x00000000); tmpobjid = CreateDynamicObject(19456, 318.617462, -1831.816284, 1.608199, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "sl_vicwall02", 0x00000000); tmpobjid = CreateDynamicObject(19456, 318.603881, -1822.253295, 1.608199, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "sl_vicwall02", 0x00000000); tmpobjid = CreateDynamicObject(19456, 329.001129, -1841.381103, 1.738199, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "sl_vicwall02", 0x00000000); tmpobjid = CreateDynamicObject(19456, 333.890838, -1836.568847, 1.608180, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "sl_vicwall02", 0x00000000); tmpobjid = CreateDynamicObject(19456, 343.525878, -1836.554931, 1.608180, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "sl_vicwall02", 0x00000000); tmpobjid = CreateDynamicObject(19456, 345.123870, -1836.560180, 1.608180, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "sl_vicwall02", 0x00000000); tmpobjid = CreateDynamicObject(19456, 349.852355, -1831.711791, 1.608199, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "sl_vicwall02", 0x00000000); tmpobjid = CreateDynamicObject(19456, 349.842468, -1822.375488, 1.608199, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "sl_vicwall02", 0x00000000); tmpobjid = CreateDynamicObject(19456, 345.099578, -1817.477783, 4.973000, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "sl_vicwall02", 0x00000000); tmpobjid = CreateDynamicObject(19456, 323.393035, -1817.568481, 4.973000, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "sl_vicwall02", 0x00000000); tmpobjid = CreateDynamicObject(19410, 329.218994, -1817.574340, 4.960730, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "sl_vicwall02", 0x00000000); tmpobjid = CreateDynamicObject(19410, 339.067169, -1817.478759, 4.960730, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "sl_vicwall02", 0x00000000); tmpobjid = CreateDynamicObject(19393, 320.389221, -1836.594604, 4.984039, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "sl_vicwall02", 0x00000000); tmpobjid = CreateDynamicObject(19364, 320.222930, -1846.113037, 4.959030, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "sl_vicwall02", 0x00000000); tmpobjid = CreateDynamicObject(19364, 327.488372, -1846.080078, 4.959030, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "sl_vicwall02", 0x00000000); tmpobjid = CreateDynamicObject(19378, 323.825256, -1841.350952, 3.383500, 0.000000, 90.000000, 0.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 4828, "airport3_las", "brwall_128", 0x00000000); tmpobjid = CreateDynamicObject(19436, 336.475860, -1800.070434, 3.157740, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ws_rooftarmac1", 0x00000000); tmpobjid = CreateDynamicObject(19436, 336.475860, -1800.070434, 6.622670, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ws_rooftarmac1", 0x00000000); tmpobjid = CreateDynamicObject(19436, 316.197479, -1800.026733, 3.157740, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ws_rooftarmac1", 0x00000000); tmpobjid = CreateDynamicObject(19436, 316.191894, -1800.038330, 6.622670, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ws_rooftarmac1", 0x00000000); tmpobjid = CreateDynamicObject(19377, 321.134277, -1800.231811, 8.308670, 0.000000, 90.000000, 0.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 9514, "711_sfw", "ws_carpark2", 0x00000000); tmpobjid = CreateDynamicObject(19377, 331.595947, -1800.248901, 8.308670, 0.000000, 90.000000, 0.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 9514, "711_sfw", "ws_carpark2", 0x00000000); tmpobjid = CreateDynamicObject(19436, 316.955749, -1800.767089, 3.157700, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ws_rooftarmac1", 0x00000000); tmpobjid = CreateDynamicObject(19436, 317.011291, -1799.327392, 3.157700, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ws_rooftarmac1", 0x00000000); tmpobjid = CreateDynamicObject(19436, 317.719116, -1800.072021, 3.157740, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ws_rooftarmac1", 0x00000000); tmpobjid = CreateDynamicObject(19436, 317.016418, -1800.799682, 6.622700, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ws_rooftarmac1", 0x00000000); tmpobjid = CreateDynamicObject(19436, 317.006408, -1799.347778, 6.622700, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ws_rooftarmac1", 0x00000000); tmpobjid = CreateDynamicObject(19436, 317.713562, -1800.083496, 6.622670, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ws_rooftarmac1", 0x00000000); tmpobjid = CreateDynamicObject(19436, 335.742950, -1799.354248, 3.157700, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ws_rooftarmac1", 0x00000000); tmpobjid = CreateDynamicObject(19436, 335.785552, -1800.785156, 3.157700, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ws_rooftarmac1", 0x00000000); tmpobjid = CreateDynamicObject(19436, 335.030792, -1800.062377, 3.157740, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ws_rooftarmac1", 0x00000000); tmpobjid = CreateDynamicObject(19436, 335.737701, -1799.345947, 6.622700, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ws_rooftarmac1", 0x00000000); tmpobjid = CreateDynamicObject(19436, 335.727874, -1800.770751, 6.622700, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ws_rooftarmac1", 0x00000000); tmpobjid = CreateDynamicObject(19436, 335.033660, -1800.056884, 6.622670, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ws_rooftarmac1", 0x00000000); tmpobjid = CreateDynamicObject(19872, 345.870666, -1821.146606, 1.625800, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10765, "airportgnd_sfse", "ws_yellowline", 0x00000000); tmpobjid = CreateDynamicObject(19872, 345.820281, -1825.565917, 1.625800, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10765, "airportgnd_sfse", "ws_yellowline", 0x00000000); tmpobjid = CreateDynamicObject(19872, 322.463958, -1820.549194, 1.625800, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10765, "airportgnd_sfse", "ws_yellowline", 0x00000000); tmpobjid = CreateDynamicObject(19872, 322.496063, -1826.733642, 1.625800, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10765, "airportgnd_sfse", "ws_yellowline", 0x00000000); tmpobjid = CreateDynamicObject(19325, 323.719635, -1846.130493, 4.621500, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 11092, "burgalrystore_sfse", "ws_warehswin2", 0x00000000); tmpobjid = CreateDynamicObject(19325, 340.809234, -1817.444824, 6.238309, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 11092, "burgalrystore_sfse", "ws_warehswin2", 0x00000000); tmpobjid = CreateDynamicObject(19325, 327.485290, -1817.522216, 6.238309, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 11092, "burgalrystore_sfse", "ws_warehswin2", 0x00000000); tmpobjid = CreateDynamicObject(19325, 346.537780, -1817.469848, 6.238309, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 11092, "burgalrystore_sfse", "ws_warehswin2", 0x00000000); tmpobjid = CreateDynamicObject(19325, 349.841278, -1820.786987, 6.238299, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 11092, "burgalrystore_sfse", "ws_warehswin2", 0x00000000); tmpobjid = CreateDynamicObject(19325, 349.851257, -1827.358032, 6.238299, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 11092, "burgalrystore_sfse", "ws_warehswin2", 0x00000000); tmpobjid = CreateDynamicObject(19325, 349.877410, -1833.294433, 6.238299, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 11092, "burgalrystore_sfse", "ws_warehswin2", 0x00000000); tmpobjid = CreateDynamicObject(19325, 346.570709, -1836.630371, 6.238309, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 11092, "burgalrystore_sfse", "ws_warehswin2", 0x00000000); tmpobjid = CreateDynamicObject(19325, 339.990020, -1836.627197, 6.238309, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 11092, "burgalrystore_sfse", "ws_warehswin2", 0x00000000); tmpobjid = CreateDynamicObject(19325, 333.507476, -1836.614257, 6.238309, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 11092, "burgalrystore_sfse", "ws_warehswin2", 0x00000000); tmpobjid = CreateDynamicObject(19325, 332.274017, -1836.621459, 6.238309, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 11092, "burgalrystore_sfse", "ws_warehswin2", 0x00000000); tmpobjid = CreateDynamicObject(19325, 321.913787, -1817.551879, 6.238309, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 11092, "burgalrystore_sfse", "ws_warehswin2", 0x00000000); tmpobjid = CreateDynamicObject(19325, 318.627593, -1820.864257, 6.238299, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 11092, "burgalrystore_sfse", "ws_warehswin2", 0x00000000); tmpobjid = CreateDynamicObject(19325, 318.622283, -1827.409179, 6.238299, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 11092, "burgalrystore_sfse", "ws_warehswin2", 0x00000000); tmpobjid = CreateDynamicObject(19325, 318.621398, -1833.355712, 6.238299, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 11092, "burgalrystore_sfse", "ws_warehswin2", 0x00000000); tmpobjid = CreateDynamicObject(19377, 323.855346, -1831.845336, 8.229860, 0.000000, 90.000000, 0.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 9514, "711_sfw", "ws_carpark2", 0x00000000); tmpobjid = CreateDynamicObject(19377, 334.264648, -1831.845214, 8.229860, 0.000000, 90.000000, 0.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 9514, "711_sfw", "ws_carpark2", 0x00000000); tmpobjid = CreateDynamicObject(19377, 344.672698, -1831.825195, 8.229860, 0.000000, 90.000000, 0.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 9514, "711_sfw", "ws_carpark2", 0x00000000); tmpobjid = CreateDynamicObject(19377, 344.685485, -1822.265380, 8.229860, 0.000000, 90.000000, 0.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 9514, "711_sfw", "ws_carpark2", 0x00000000); tmpobjid = CreateDynamicObject(19377, 334.310546, -1822.273315, 8.229860, 0.000000, 90.000000, 0.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 9514, "711_sfw", "ws_carpark2", 0x00000000); tmpobjid = CreateDynamicObject(19377, 323.831085, -1822.255371, 8.229860, 0.000000, 90.000000, 0.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 9514, "711_sfw", "ws_carpark2", 0x00000000); tmpobjid = CreateDynamicObject(19377, 323.849578, -1841.333007, 6.654799, 0.000000, 90.000000, 0.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 9514, "711_sfw", "ws_carpark2", 0x00000000); tmpobjid = CreateDynamicObject(19325, 321.951324, -1838.610839, 7.487269, 0.000000, 70.000000, 90.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 11092, "burgalrystore_sfse", "ws_warehswin2", 0x00000000); tmpobjid = CreateDynamicObject(19325, 325.761718, -1838.630493, 7.487269, 0.000000, 70.000000, 90.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 11092, "burgalrystore_sfse", "ws_warehswin2", 0x00000000); tmpobjid = CreateDynamicObject(19456, 325.945831, -1836.604003, 4.973869, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "sl_vicwall02", 0x00000000); tmpobjid = CreateDynamicObject(19437, 318.692962, -1837.286254, 6.416299, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "sl_vicwall02", 0x00000000); tmpobjid = CreateDynamicObject(19437, 318.671844, -1838.780151, 5.946630, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "sl_vicwall02", 0x00000000); tmpobjid = CreateDynamicObject(19437, 318.661254, -1840.202270, 5.440820, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "sl_vicwall02", 0x00000000); tmpobjid = CreateDynamicObject(19437, 329.001342, -1837.399047, 6.416299, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "sl_vicwall02", 0x00000000); tmpobjid = CreateDynamicObject(19437, 329.007873, -1838.942138, 5.946630, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "sl_vicwall02", 0x00000000); tmpobjid = CreateDynamicObject(19437, 329.000793, -1840.053710, 5.440820, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "sl_vicwall02", 0x00000000); tmpobjid = CreateDynamicObject(19462, 328.938201, -1841.336547, 4.964409, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14652, "ab_trukstpa", "CJ_WOOD6", 0x00000000); tmpobjid = CreateDynamicObject(19462, 325.970428, -1836.659423, 4.985879, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14652, "ab_trukstpa", "CJ_WOOD6", 0x00000000); tmpobjid = CreateDynamicObject(19462, 318.733703, -1841.370117, 4.939539, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14652, "ab_trukstpa", "CJ_WOOD6", 0x00000000); tmpobjid = CreateDynamicObject(19437, 329.959747, -1836.659179, 4.995709, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "sl_vicwall02", 0x00000000); tmpobjid = CreateDynamicObject(19437, 329.699951, -1836.651000, 4.995709, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "sl_vicwall02", 0x00000000); tmpobjid = CreateDynamicObject(19370, 327.481811, -1846.076782, 4.841330, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14652, "ab_trukstpa", "CJ_WOOD6", 0x00000000); tmpobjid = CreateDynamicObject(19370, 320.261505, -1846.062133, 4.841330, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14652, "ab_trukstpa", "CJ_WOOD6", 0x00000000); tmpobjid = CreateDynamicObject(19390, 320.383392, -1836.639038, 4.964489, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 14652, "ab_trukstpa", "CJ_WOOD6", 0x00000000); tmpobjid = CreateDynamicObject(2207, 325.266204, -1840.591308, 3.467000, 0.000000, 0.000000, -90.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10765, "airportgnd_sfse", "ws_yellowline", 0x00000000); tmpobjid = CreateDynamicObject(19325, 346.507995, -1828.570922, 6.238309, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 11092, "burgalrystore_sfse", "ws_warehswin2", 0x00000000); tmpobjid = CreateDynamicObject(19325, 343.568054, -1828.586914, 6.238309, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 11092, "burgalrystore_sfse", "ws_warehswin2", 0x00000000); tmpobjid = CreateDynamicObject(19437, 340.963165, -1828.598266, 3.841419, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "sl_vicwall02", 0x00000000); tmpobjid = CreateDynamicObject(19437, 342.537445, -1828.603759, 3.825850, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "sl_vicwall02", 0x00000000); tmpobjid = CreateDynamicObject(19456, 344.927612, -1828.589355, 2.478179, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "sl_vicwall02", 0x00000000); tmpobjid = CreateDynamicObject(19456, 333.875976, -1836.666503, 4.973000, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "sl_vicwall02", 0x00000000); tmpobjid = CreateDynamicObject(19456, 343.516174, -1836.666503, 4.973000, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "sl_vicwall02", 0x00000000); tmpobjid = CreateDynamicObject(19456, 345.106201, -1836.656494, 4.973000, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "sl_vicwall02", 0x00000000); tmpobjid = CreateDynamicObject(19377, 334.278411, -1822.222045, 3.304260, 0.000000, 90.000000, 0.000000, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterial(tmpobjid, 0, 9514, "711_sfw", "ws_carpark2", 0x00000000); tmpobjid = CreateDynamicObject(19442, 326.511047, -1817.515991, 4.130676, 0.000020, -1.400031, 90.200035, -1, -1, -1, 300.00, 300.00); SetDynamicObjectMaterialText(tmpobjid, 0, "{FFFFFF}Oficina da Santa", 90, "Quartz MS", 20, 1, 0x00000000, 0x00000000, 0); ///////////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////// tmpobjid = CreateDynamicObject(9192, 338.982208, -1778.618652, 8.510990, 0.000000, 0.000000, 42.720001, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(3578, 331.329620, -1800.125732, 2.939229, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(3578, 321.347991, -1800.119506, 2.939229, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(8674, 331.359039, -1799.303588, 2.880110, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(8674, 321.330780, -1799.323730, 2.880110, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(8674, 321.373809, -1800.852661, 2.880110, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(8674, 331.280395, -1800.861572, 2.880110, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(970, 357.991577, -1812.739746, 3.973939, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(970, 353.887603, -1812.745483, 3.973939, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(970, 349.772460, -1812.743896, 3.973939, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(970, 345.642852, -1812.740600, 3.973939, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(970, 341.462158, -1812.750732, 3.973939, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(970, 327.218933, -1812.752197, 3.973939, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(970, 323.073059, -1812.750488, 3.973939, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(970, 310.672668, -1812.744018, 3.973939, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(970, 314.808319, -1812.758544, 3.973939, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(970, 318.944030, -1812.772705, 3.973939, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(3578, 334.187133, -1812.524414, 2.655430, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(970, 337.989044, -1785.970581, 4.543399, 0.000000, -1.000000, 0.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(970, 333.875946, -1785.968505, 4.480380, 0.000000, -1.000000, 0.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(970, 329.764007, -1785.949340, 4.424610, 0.000000, -1.000000, 0.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(970, 325.660186, -1785.934814, 4.326419, 0.000000, -1.000000, 0.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(970, 321.585205, -1785.928466, 4.285620, 0.000000, -1.000000, 0.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(970, 317.479248, -1785.932373, 4.194789, 0.000000, -1.000000, 0.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(970, 313.372283, -1785.935668, 4.145400, 0.000000, -1.000000, 0.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(970, 310.377197, -1785.924316, 4.096759, 0.000000, -1.000000, 0.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(1364, 356.277069, -1816.580566, 4.128590, 0.000000, 0.000000, 180.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(1364, 311.458831, -1816.523925, 4.128590, 0.000000, 0.000000, 180.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(1361, 345.283966, -1816.505249, 3.297660, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(1361, 323.855346, -1816.542236, 3.297660, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(1361, 328.045593, -1816.418823, 3.297660, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(1361, 340.964050, -1816.647094, 3.297660, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(19125, 359.848571, -1785.810546, 4.719880, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(19125, 340.088836, -1786.053344, 4.492899, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(970, 359.857971, -1787.923706, 4.792119, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(970, 359.902435, -1792.076416, 4.593599, 0.000000, -2.000000, 90.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(970, 359.937042, -1796.197387, 4.433599, 0.000000, -2.000000, 90.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(970, 359.930511, -1800.300048, 4.335589, 0.000000, -2.000000, 90.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(970, 359.933258, -1804.403686, 4.156879, 0.000000, -2.000000, 90.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(970, 359.916198, -1808.542114, 4.076900, 0.000000, -2.000000, 90.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(970, 359.951812, -1810.723144, 3.976919, 0.000000, -2.000000, 90.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(19903, 345.183227, -1818.462402, 3.386090, 0.000000, 0.000000, -145.800003, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(19815, 349.751739, -1832.092163, 4.944399, 0.000000, 0.000000, -90.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(19815, 341.756072, -1828.511352, 4.944399, 0.000000, 0.000000, 180.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(19815, 349.794250, -1820.924194, 4.944399, 0.000000, 0.000000, -90.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(19899, 349.259124, -1832.090820, 4.305469, 180.000000, 0.000000, 180.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(19900, 341.263061, -1835.916748, 3.348700, 0.000000, 0.000000, -34.319988, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(19900, 340.389526, -1836.182617, 3.348700, 0.000000, 0.000000, 6.420000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(19903, 344.314788, -1829.366088, 3.386090, 0.000000, 0.000000, -145.800003, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(19900, 349.027557, -1835.236328, 3.388020, 0.000000, 0.000000, -11.100000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(19900, 349.046569, -1835.242553, 4.283870, 0.000000, 0.000000, -11.100000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(11745, 348.369567, -1835.893432, 3.535650, 0.000000, 0.000000, -29.639999, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(19816, 348.407165, -1836.274414, 3.598710, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(2048, 344.733886, -1836.456298, 5.350500, 0.000000, 0.000000, 180.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(19900, 349.198852, -1827.909912, 3.348700, 0.000000, 0.000000, -34.319988, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(19900, 349.198852, -1827.909912, 4.169859, 0.000000, 0.000000, -34.319988, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(19815, 318.835052, -1823.992065, 4.944399, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(19903, 320.600952, -1829.244506, 3.386090, 0.000000, 0.000000, 31.260000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(2048, 324.107574, -1836.470092, 5.215439, 0.000000, 0.000000, 180.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(3437, 338.996826, -1778.608764, 0.202099, 180.000000, 0.000000, -44.279998, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(19900, 322.525115, -1823.496459, 3.348700, 0.000000, 0.000000, -89.939956, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(2485, 325.927642, -1840.532592, 4.277800, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(1663, 324.128753, -1840.428344, 3.916019, 0.000000, 0.000000, 61.560001, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(1663, 324.259002, -1842.670410, 3.916019, 0.000000, 0.000000, 109.620002, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(1714, 327.104827, -1841.588500, 3.471400, 0.000000, 0.000000, -80.400001, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(14455, 328.838531, -1842.156616, 4.861889, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(14455, 328.858978, -1845.052368, 4.861889, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(2894, 325.778381, -1842.346923, 4.243080, 0.000000, 0.000000, 118.139968, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(19787, 318.761474, -1841.799560, 5.665279, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(19808, 325.478668, -1841.420532, 4.241320, 0.000000, 0.000000, 78.900001, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(2246, 319.260589, -1837.150390, 3.842849, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(862, 319.252716, -1837.149414, 4.167389, 0.000000, 0.000000, 122.760009, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(19825, 318.894378, -1843.843994, 5.499000, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(19825, 326.297729, -1817.763549, 5.338769, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(19621, 322.615447, -1823.406738, 4.318369, 0.000000, 0.000000, 58.439990, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(19621, 322.455505, -1823.586669, 4.318369, 0.000000, 0.000000, -62.820011, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(19627, 322.614685, -1823.696899, 4.222420, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(19627, 322.614593, -1823.597045, 4.222420, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(19627, 322.402374, -1823.313476, 4.222420, 0.000000, 0.000000, 22.200000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(19627, 349.153350, -1827.726318, 5.044370, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(19627, 349.055664, -1827.918212, 5.044370, 0.000000, 0.000000, -43.500000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(19627, 349.283325, -1827.904663, 5.044370, 0.000000, 0.000000, -138.240020, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(19621, 349.074127, -1831.026123, 4.382329, 0.000000, 0.000000, -45.840000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(19472, 349.095001, -1832.712280, 4.358630, -192.419876, 160.139831, -0.300000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(19472, 349.024932, -1832.899536, 4.377359, -192.419876, 160.139831, -46.139999, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(19472, 349.067352, -1832.300781, 4.377359, -192.419876, 160.139831, 58.979999, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(1753, 319.330413, -1844.903564, 3.466300, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(1753, 319.089996, -1840.673583, 3.466300, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(1893, 334.048492, -1818.308227, 8.410201, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(1893, 334.048492, -1822.068115, 8.410201, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(1893, 334.048492, -1826.699218, 8.410201, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(1893, 334.048492, -1832.229736, 8.430212, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(1893, 343.948425, -1832.229736, 8.430212, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(1893, 343.948425, -1822.569702, 8.430212, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(1893, 324.158325, -1822.569702, 8.430212, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(1893, 324.158325, -1831.660644, 8.430212, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00); tmpobjid = CreateDynamicObject(1893, 324.293884, -1841.880371, 6.600212, 0.000000, 0.000000, 28.500001, -1, -1, -1, 300.00, 300.00); } CMD:blindarcarro(playerid) { if(IsPlayerConnected(playerid)) { new modeloo = GetVehicleModel(GetPlayerVehicleID(playerid)); if(GetPlayerMoney(playerid) < 2000)//30000 return SendClientMessage(playerid,COLOR_GRAD1,"| ERRO | Você não tem R$2.000 e não poderá blindar seu carro."); if(!PlayerToPoint(3.0,playerid,345.7944,-1825.3433,4.5470)) return SendClientMessage(playerid,COLOR_GRAD1,"| ERRO | Você não está na oficina de blindagem"); if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid,COLOR_GRAD1,"| ERRO | Você não está dentro de um veículo!"); if(modeloo == 522 || modeloo == 581 || modeloo == 586 || modeloo == 521 || modeloo == 468 || modeloo == 463 || modeloo == 461 || modeloo == 462 || modeloo == 448) return SendClientMessage(playerid,COLOR_GRAD1,"| ERRO | Este tipo de veículo não pode ser blindado.."); ShowPlayerDialog(playerid, 2458, DIALOG_STYLE_MSGBOX, "{4169E1}Blindagem", "\n{FFFFFF}Deseja Blindar seu Veiculo por {4169E1}R$2.000$?", "Sim", "Nao"); } return 1; } CMD:skinstaff(playerid, params[]) { new string[128]; if (PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pHelper] >= 1) { if(!admtrampando[playerid] && PlayerInfo[playerid][pAdmin] < 1342) return SendClientMessage(playerid, COLOR_GRAD1, TRABALHARADM); PlayerInfo[playerid][pSkin] = 217; SetPlayerSkin(playerid,217); if(PlayerInfo[playerid][pSex] == 2) { SetPlayerSkin(playerid, 211); PlayerInfo[playerid][pSkin] = 211; } format(string, sizeof(string), "%s setou sua skin de Staff.", PlayerName(playerid)); ABroadCast(COLOR_YELLOW,string,1); } return true; } CMD:fabricar(playerid, x_Emprego[]) { if(LiberaCocaina[playerid] == 1) return SendClientMessage(playerid,COLOR_GREY,"[INFO] Voce so pode fabricar drogas novamente daqui 10 minutos."); if(LiberaCrack[playerid] == 1) return SendClientMessage(playerid,COLOR_GREY,"[INFO] Voce so pode fabricar drogas novamente daqui 10 minutos."); if(isnull(x_Emprego)) { SendClientMessage(playerid, COLOR_WHITE, "|______________[ Fabricar ]______________|"); SendClientMessage(playerid, COLOR_GRAD1,"USE: /fabricar crack"); SendClientMessage(playerid, COLOR_GRAD1,"USE: /fabricar cocaina"); return true; } if(!IsAGang(playerid)) return SendClientMessage(playerid, COLOR_GRAD1, "| ERRO | Você não é um gangster para fabricar drogas."); if(!PlayerToPoint(10.0, playerid, 2131.9495,-974.0172,59.7856)) return SendClientMessage(playerid, COLOR_GREY, "| ERRO | Você não está no Local de Fabricar Drogas(Trafico)!"); if(IsACop(playerid)) return SendClientMessage(playerid, COLOR_GRAD1, "| ERRO | Você é um Policial, não pode fabricar drogas."); if(strcmp(x_Emprego,"cocaina",true) == 0) { if(PlayerInfo[playerid][pKitCocaina] < 1) return SendClientMessage(playerid,COLOR_GRAD1,"| INFO | Compre kit de cocaína no mercado negro para fabricar."); new cocainardm = random(1000)+1000; PlayerInfo[playerid][pKitCocaina] --; PlayerInfo[playerid][pDrogas2] += cocainardm; MensagemFormatada(playerid, COLOR_LIGHTBLUE, "| PRODUÇÃO | Você produziu %d gramas de cocaína pura.",cocainardm); for(new i = 0; i<75; i++) { if(InventarioInfo[playerid][i][iSlot] == 1575) { InventarioInfo[playerid][i][iSlot] = 19382; InventarioInfo[playerid][i][iUnidades] = 0; return 1; } } LiberaCocaina[playerid] = 1; SetTimerEx("LiberarCocaina", 10 * 60 * 1000, 0, "i", playerid); return true; } else if(strcmp(x_Emprego,"crack",true) == 0) { if(PlayerInfo[playerid][pKitCrack] < 1) return SendClientMessage(playerid,COLOR_GRAD1,"| INFO | Compre kit para fazer crack no mercado negro para fabricar."); new cocainardm = random(2000)+1500; PlayerInfo[playerid][pKitCrack] --; PlayerInfo[playerid][pDrogas3] += cocainardm; MensagemFormatada(playerid, COLOR_LIGHTBLUE, "| PRODUÇÃO | Você produziu %d pedras de crack.",cocainardm); for(new i = 0; i<75; i++) { if(InventarioInfo[playerid][i][iSlot] == 1580) { InventarioInfo[playerid][i][iSlot] = 19382; InventarioInfo[playerid][i][iUnidades] = 0; return 1; } } LiberaCrack[playerid] = 1; SetTimerEx("LiberarCrack", 10 * 60 * 1000, 0, "i", playerid); return true; } return true; } forward LiberarCrack(playerid); public LiberarCrack(playerid) { LiberaCrack[playerid] = 0; return 1; } forward LiberarCocaina(playerid); public LiberarCocaina(playerid) { LiberaCocaina[playerid] = 0; return 1; } CarregarNovaPOBRE() { //Objects//////////////////////////////////////////////////////////////////////////////////////////////////////// new tmpobjid; tmpobjid = CreateObject(3655, 2769.861816, -1907.546630, 13.005499, 0.000000, 0.000000, 90.000000, 300.00); SetObjectMaterial(tmpobjid, 9, 3980, "cityhall_lan", "cityhalltow1", 0x00000000); tmpobjid = CreateObject(3655, 2746.135986, -1907.267944, 13.005499, 0.000000, 0.000000, -90.000000, 300.00); SetObjectMaterial(tmpobjid, 9, 18646, "matcolours", "grey-70-percent", 0x00000000); tmpobjid = CreateObject(3655, 2734.412353, -1907.201538, 13.005499, 0.000000, 0.000000, -90.000000, 300.00); SetObjectMaterial(tmpobjid, 9, 18646, "matcolours", "grey-70-percent", 0x00000000); tmpobjid = CreateObject(3655, 2730.316894, -1920.835815, 15.102149, 0.000000, 0.000000, 90.000000, 300.00); SetObjectMaterial(tmpobjid, 9, 14571, "chinese_furn", "chinese9b", 0x00000000); tmpobjid = CreateObject(3655, 2785.719970, -1915.451660, 15.102149, 0.000000, 0.000000, 90.000000, 300.00); SetObjectMaterial(tmpobjid, 9, 18646, "matcolours", "lightblue", 0x00000000); tmpobjid = CreateObject(3655, 2793.391113, -1915.328857, 15.102199, 0.000000, 0.000000, -90.000000, 300.00); SetObjectMaterial(tmpobjid, 9, 18646, "matcolours", "lightblue", 0x00000000); tmpobjid = CreateObject(3655, 2754.119873, -1977.965698, 15.102199, 0.000000, 0.000000, 90.000000, 300.00); SetObjectMaterial(tmpobjid, 9, 18646, "matcolours", "grey-70-percent", 0x00000000); tmpobjid = CreateObject(3655, 2752.758056, -1937.700317, 15.102199, 0.000000, 0.000000, 0.000000, 300.00); SetObjectMaterial(tmpobjid, 9, 18646, "matcolours", "orange", 0x00000000); tmpobjid = CreateObject(3655, 2752.729492, -1928.232421, 15.102199, 0.000000, 0.000000, 0.000000, 300.00); SetObjectMaterial(tmpobjid, 9, 18646, "matcolours", "orange", 0x00000000); tmpobjid = CreateObject(3655, 2772.748046, -1906.559082, 19.761550, 0.000000, 0.000000, 0.000000, 300.00); SetObjectMaterial(tmpobjid, 9, 18646, "matcolours", "grey-70-percent", 0x00000000); tmpobjid = CreateObject(3655, 2807.299804, -1913.731567, 19.761600, 0.000000, 0.000000, 90.000000, 300.00); SetObjectMaterial(tmpobjid, 9, 18646, "matcolours", "lightblue", 0x00000000); tmpobjid = CreateObject(3655, 2807.321044, -1927.643920, 19.761600, 0.000000, 0.000000, 90.000000, 300.00); SetObjectMaterial(tmpobjid, 9, 18646, "matcolours", "lightblue", 0x00000000); tmpobjid = CreateObject(3655, 2806.563476, -2019.485961, 13.005490, 0.000000, 0.000000, 180.000000, 300.00); SetObjectMaterial(tmpobjid, 9, 7650, "vgnusedcar", "lightgreen2_32", 0x00000000); tmpobjid = CreateObject(3655, 2756.333496, -2009.414672, 15.265270, 0.000000, 0.000000, 180.000000, 300.00); SetObjectMaterial(tmpobjid, 9, 7650, "vgnusedcar", "lightgreen2_32", 0x00000000); tmpobjid = CreateObject(3655, 2731.457763, -2007.541625, 15.265299, 0.000000, 0.000000, 90.000000, 300.00); SetObjectMaterial(tmpobjid, 9, 18646, "matcolours", "grey-70-percent", 0x00000000); tmpobjid = CreateObject(3655, 2730.836425, -2006.576782, 15.631799, 0.000000, 0.000000, 0.000000, 300.00); SetObjectMaterial(tmpobjid, 9, 18646, "matcolours", "grey-70-percent", 0x00000000); tmpobjid = CreateObject(3655, 2786.171386, -1944.640991, 15.102199, 0.000000, 0.000000, 180.000000, 300.00); SetObjectMaterial(tmpobjid, 9, 18646, "matcolours", "lightblue", 0x00000000); tmpobjid = CreateObject(3655, 2786.197265, -1956.527832, 15.102199, 0.000000, 0.000000, 180.000000, 300.00); SetObjectMaterial(tmpobjid, 9, 18646, "matcolours", "lightblue", 0x00000000); tmpobjid = CreateObject(3655, 2786.251708, -1979.288574, 15.102199, 0.000000, 0.000000, 180.000000, 300.00); SetObjectMaterial(tmpobjid, 9, 18646, "matcolours", "lightblue", 0x00000000); tmpobjid = CreateObject(3655, 2807.353271, -2011.673217, 19.419000, 0.000000, 0.000000, -90.000000, 300.00); SetObjectMaterial(tmpobjid, 9, 18646, "matcolours", "orange", 0x00000000); tmpobjid = CreateObject(3655, 2807.323730, -2025.340454, 19.419000, 0.000000, 0.000000, -90.000000, 300.00); SetObjectMaterial(tmpobjid, 9, 18646, "matcolours", "orange", 0x00000000); tmpobjid = CreateObject(3655, 2730.416259, -1944.279296, 22.251399, 0.000000, 0.000000, 90.000000, 300.00); SetObjectMaterial(tmpobjid, 9, 7650, "vgnusedcar", "lightgreen2_32", 0x00000000); tmpobjid = CreateObject(3655, 2729.968994, -1967.654541, 22.251399, 0.000000, 0.000000, 90.000000, 300.00); SetObjectMaterial(tmpobjid, 9, 18646, "matcolours", "grey-70-percent", 0x00000000); tmpobjid = CreateObject(3655, 2744.985107, -1976.920898, 22.251399, 0.000000, 0.000000, 0.000000, 300.00); SetObjectMaterial(tmpobjid, 9, 18646, "matcolours", "lightblue", 0x00000000); tmpobjid = CreateObject(3655, 2730.218017, -2008.015991, 22.218549, 0.000000, 0.000000, -90.000000, 300.00); SetObjectMaterial(tmpobjid, 9, 18646, "matcolours", "orange", 0x00000000); tmpobjid = CreateObject(19455, 2759.150146, -2039.184082, 13.968850, 0.000000, 0.000000, 90.000000, 300.00); SetObjectMaterial(tmpobjid, 0, 18646, "matcolours", "lightblue", 0x00000000); tmpobjid = CreateObject(19455, 2768.655029, -2039.177734, 13.968850, 0.000000, 0.000000, 90.000000, 300.00); SetObjectMaterial(tmpobjid, 0, 18646, "matcolours", "lightblue", 0x00000000); tmpobjid = CreateObject(19455, 2778.142822, -2039.193237, 13.968850, 0.000000, 0.000000, 90.000000, 300.00); SetObjectMaterial(tmpobjid, 0, 18646, "matcolours", "lightblue", 0x00000000); tmpobjid = CreateObject(19455, 2787.478515, -2039.222900, 13.968850, 0.000000, 0.000000, 90.000000, 300.00); SetObjectMaterial(tmpobjid, 0, 18646, "matcolours", "lightblue", 0x00000000); tmpobjid = CreateObject(19455, 2796.924804, -2039.237304, 13.968850, 0.000000, 0.000000, 90.000000, 300.00); SetObjectMaterial(tmpobjid, 0, 18646, "matcolours", "lightblue", 0x00000000); tmpobjid = CreateObject(19455, 2806.358154, -2039.234497, 13.968850, 0.000000, 0.000000, 90.000000, 300.00); SetObjectMaterial(tmpobjid, 0, 18646, "matcolours", "lightblue", 0x00000000); tmpobjid = CreateObject(19455, 2811.080810, -2034.397094, 13.968899, 0.000000, 0.000000, 0.000000, 300.00); SetObjectMaterial(tmpobjid, 0, 18646, "matcolours", "lightblue", 0x00000000); tmpobjid = CreateObject(19455, 2811.080810, -2034.397094, 17.294500, 0.000000, 0.000000, 0.000000, 300.00); SetObjectMaterial(tmpobjid, 0, 18646, "matcolours", "lightblue", 0x00000000); tmpobjid = CreateObject(3655, 2807.337646, -2030.190307, 19.419000, 0.000000, 0.000000, -90.000000, 300.00); SetObjectMaterial(tmpobjid, 9, 18646, "matcolours", "orange", 0x00000000); tmpobjid = CreateObject(19455, 2807.360595, -2034.495483, 13.968899, 0.000000, 0.000000, 0.000000, 300.00); SetObjectMaterial(tmpobjid, 0, 18646, "matcolours", "lightblue", 0x00000000); tmpobjid = CreateObject(19455, 2807.311767, -2034.415039, 17.294500, 0.000000, 0.000000, 0.000000, 300.00); SetObjectMaterial(tmpobjid, 0, 18646, "matcolours", "lightblue", 0x00000000); tmpobjid = CreateObject(19455, 2806.358154, -2039.234497, 17.257520, 0.000000, 0.000000, 90.000000, 300.00); SetObjectMaterial(tmpobjid, 0, 18646, "matcolours", "lightblue", 0x00000000); tmpobjid = CreateObject(19455, 2796.924804, -2039.237304, 17.246400, 0.000000, 0.000000, 90.000000, 300.00); SetObjectMaterial(tmpobjid, 0, 18646, "matcolours", "lightblue", 0x00000000); tmpobjid = CreateObject(19455, 2787.478515, -2039.222900, 17.201879, 0.000000, 0.000000, 90.000000, 300.00); SetObjectMaterial(tmpobjid, 0, 18646, "matcolours", "lightblue", 0x00000000); tmpobjid = CreateObject(19455, 2778.142822, -2039.193237, 17.178449, 0.000000, 0.000000, 90.000000, 300.00); SetObjectMaterial(tmpobjid, 0, 18646, "matcolours", "lightblue", 0x00000000); tmpobjid = CreateObject(19455, 2768.655029, -2039.177734, 17.167360, 0.000000, 0.000000, 90.000000, 300.00); SetObjectMaterial(tmpobjid, 0, 18646, "matcolours", "lightblue", 0x00000000); tmpobjid = CreateObject(19455, 2759.150146, -2039.184082, 17.189830, 0.000000, 0.000000, 90.000000, 300.00); SetObjectMaterial(tmpobjid, 0, 18646, "matcolours", "lightblue", 0x00000000); tmpobjid = CreateObject(19455, 2806.299804, -2037.497680, 18.959489, 0.000000, 90.000000, 90.000000, 300.00); SetObjectMaterial(tmpobjid, 0, 18646, "matcolours", "lightblue", 0x00000000); tmpobjid = CreateObject(19455, 2796.769042, -2037.531494, 18.959489, 0.000000, 90.000000, 90.000000, 300.00); SetObjectMaterial(tmpobjid, 0, 18646, "matcolours", "lightblue", 0x00000000); tmpobjid = CreateObject(19455, 2787.349609, -2037.528198, 18.959489, 0.000000, 90.000000, 90.000000, 300.00); SetObjectMaterial(tmpobjid, 0, 18646, "matcolours", "lightblue", 0x00000000); tmpobjid = CreateObject(19455, 2777.708984, -2037.516723, 18.959489, 0.000000, 90.000000, 90.000000, 300.00); SetObjectMaterial(tmpobjid, 0, 18646, "matcolours", "lightblue", 0x00000000); tmpobjid = CreateObject(19455, 2768.204101, -2037.506347, 18.959489, 0.000000, 90.000000, 90.000000, 300.00); SetObjectMaterial(tmpobjid, 0, 18646, "matcolours", "lightblue", 0x00000000); tmpobjid = CreateObject(19455, 2761.910644, -2037.505126, 18.959489, 0.000000, 90.000000, 90.000000, 300.00); SetObjectMaterial(tmpobjid, 0, 18646, "matcolours", "lightblue", 0x00000000); tmpobjid = CreateObject(19376, 2796.352294, -1992.728759, 14.384099, 0.000000, 90.000000, 0.000000, 300.00); SetObjectMaterial(tmpobjid, 0, 18641, "flashlight1", "metalblack1-2", 0x00000000); tmpobjid = CreateObject(19376, 2796.347900, -1995.122924, 14.384099, 0.000000, 90.000000, 0.000000, 300.00); SetObjectMaterial(tmpobjid, 0, 18641, "flashlight1", "metalblack1-2", 0x00000000); tmpobjid = CreateObject(3594, 2711.459960, -1962.451049, 12.792730, 0.000000, 0.000000, 58.139991, 300.00); SetObjectMaterial(tmpobjid, 0, 18901, "matclothes", "skullygrn", 0x00000000); SetObjectMaterial(tmpobjid, 1, 14569, "traidman", "chinese8", 0x00000000); SetObjectMaterial(tmpobjid, 2, 17072, "truckedepotlawn", "GB_truckdepot08", 0x00000000); SetObjectMaterial(tmpobjid, 3, 17072, "truckedepotlawn", "GB_truckdepot08", 0x00000000); SetObjectMaterial(tmpobjid, 4, 17072, "truckedepotlawn", "GB_truckdepot08", 0x00000000); SetObjectMaterial(tmpobjid, 5, 17072, "truckedepotlawn", "GB_truckdepot08", 0x00000000); SetObjectMaterial(tmpobjid, 6, 17072, "truckedepotlawn", "GB_truckdepot08", 0x00000000); SetObjectMaterial(tmpobjid, 7, 17072, "truckedepotlawn", "GB_truckdepot08", 0x00000000); SetObjectMaterial(tmpobjid, 8, 17072, "truckedepotlawn", "GB_truckdepot08", 0x00000000); SetObjectMaterial(tmpobjid, 15, 17072, "truckedepotlawn", "GB_truckdepot08", 0x00000000); tmpobjid = CreateObject(3594, 2710.627929, -2034.689331, 12.671879, 0.000000, 180.000000, 133.440048, 300.00); SetObjectMaterial(tmpobjid, 1, 16640, "a51", "ws_stationfloor", 0x00000000); SetObjectMaterial(tmpobjid, 2, 16640, "a51", "ws_stationfloor", 0x00000000); SetObjectMaterial(tmpobjid, 3, 3095, "a51jdrx", "sam_camo", 0x00000000); SetObjectMaterial(tmpobjid, 4, 3095, "a51jdrx", "sam_camo", 0x00000000); SetObjectMaterial(tmpobjid, 5, 16640, "a51", "ws_stationfloor", 0x00000000); SetObjectMaterial(tmpobjid, 6, 16640, "a51", "ws_stationfloor", 0x00000000); tmpobjid = CreateObject(3655, 2769.860839, -1908.653564, 14.514340, 0.000000, 0.000000, 90.000000, 300.00); SetObjectMaterial(tmpobjid, 9, 3980, "cityhall_lan", "cityhalltow1", 0x00000000); tmpobjid = CreateObject(3655, 2764.930664, -1908.373657, 14.514340, 0.000000, 0.000000, 90.000000, 300.00); SetObjectMaterial(tmpobjid, 9, 3980, "cityhall_lan", "cityhalltow1", 0x00000000); tmpobjid = CreateObject(3655, 2773.879882, -1908.441650, 14.514300, 0.000000, 0.000000, -90.000000, 300.00); SetObjectMaterial(tmpobjid, 9, 3980, "cityhall_lan", "cityhalltow1", 0x00000000); tmpobjid = CreateObject(3655, 2784.827636, -1961.706665, 15.102199, 0.000000, 0.000000, 90.000000, 300.00); SetObjectMaterial(tmpobjid, 9, 18646, "matcolours", "lightblue", 0x00000000); tmpobjid = CreateObject(14877, 2790.250976, -1989.452636, 12.326299, 0.000000, 0.000000, 0.000000, 300.00); SetObjectMaterial(tmpobjid, 0, 18641, "flashlight1", "metalblack1-2", 0x00000000); tmpobjid = CreateObject(1437, 2753.973632, -1941.226196, 19.981849, -40.000000, 0.000000, -180.500000, 300.00); SetObjectMaterial(tmpobjid, 9, 18646, "matcolours", "orange", 0x00000000); tmpobjid = CreateObject(14497, 2744.566650, -1977.983276, 26.302160, 0.000000, 0.000000, -90.000000, 300.00); SetObjectMaterial(tmpobjid, 9, 18646, "matcolours", "grey-70-percent", 0x00000000); tmpobjid = CreateObject(2784, 2791.569824, -1995.561645, 15.769760, 0.000000, 0.000000, 90.000000, 300.00); SetObjectMaterial(tmpobjid, 0, 1426, "break_scaffold", "CJ_avery", 0x00000000); SetObjectMaterial(tmpobjid, 1, 9507, "boxybld2_sfw", "dirty01", 0x00000000); SetObjectMaterial(tmpobjid, 2, 1426, "break_scaffold", "CJ_avery", 0x00000000); tmpobjid = CreateObject(1957, 2791.607177, -1996.057373, 15.276129, 0.000000, 0.000000, 0.000000, 300.00); SetObjectMaterial(tmpobjid, 0, 14668, "711c", "CJ_7_11_TILE", 0x00000000); SetObjectMaterial(tmpobjid, 1, 14668, "711c", "CJ_7_11_TILE", 0x00000000); SetObjectMaterial(tmpobjid, 2, 1736, "cj_ammo", "CJ_Black_metal", 0x00000000); tmpobjid = CreateObject(1957, 2791.580566, -1995.063232, 15.276129, 0.000000, 0.000000, 0.000000, 300.00); SetObjectMaterial(tmpobjid, 0, 14668, "711c", "CJ_7_11_TILE", 0x00000000); SetObjectMaterial(tmpobjid, 1, 14668, "711c", "CJ_7_11_TILE", 0x00000000); SetObjectMaterial(tmpobjid, 2, 1736, "cj_ammo", "CJ_Black_metal", 0x00000000); SetObjectMaterial(tmpobjid, 3, 1736, "cj_ammo", "CJ_Black_metal", 0x00000000); tmpobjid = CreateObject(1957, 2791.620849, -1994.054687, 15.276129, 0.000000, 0.000000, -39.479999, 300.00); SetObjectMaterial(tmpobjid, 0, 14668, "711c", "CJ_7_11_TILE", 0x00000000); SetObjectMaterial(tmpobjid, 1, 14668, "711c", "CJ_7_11_TILE", 0x00000000); SetObjectMaterial(tmpobjid, 2, 1736, "cj_ammo", "CJ_Black_metal", 0x00000000); tmpobjid = CreateObject(1957, 2791.644531, -1996.989013, 15.276100, 0.000000, 0.000000, 39.479999, 300.00); SetObjectMaterial(tmpobjid, 0, 14668, "711c", "CJ_7_11_TILE", 0x00000000); SetObjectMaterial(tmpobjid, 1, 14668, "711c", "CJ_7_11_TILE", 0x00000000); SetObjectMaterial(tmpobjid, 2, 1736, "cj_ammo", "CJ_Black_metal", 0x00000000); tmpobjid = CreateObject(11690, 2796.975341, -1997.161254, 14.471019, 0.000000, 0.000000, 0.000000, 300.00); SetObjectMaterial(tmpobjid, 0, 3967, "cj_airprt", "Slabs", 0x00000000); SetObjectMaterial(tmpobjid, 1, 3967, "cj_airprt", "Slabs", 0x00000000); SetObjectMaterial(tmpobjid, 2, 3967, "cj_airprt", "Slabs", 0x00000000); SetObjectMaterial(tmpobjid, 3, 18028, "cj_bar2", "CJ_nastybar_D", 0x00000000); tmpobjid = CreateObject(19455, 2795.961914, -1999.893432, 12.676150, 0.000000, 0.000000, 90.000000, 300.00); SetObjectMaterial(tmpobjid, 0, 18641, "flashlight1", "metalblack1-2", 0x00000000); tmpobjid = CreateObject(19455, 2795.841064, -1987.944335, 12.676150, 0.000000, 0.000000, 90.000000, 300.00); SetObjectMaterial(tmpobjid, 0, 18641, "flashlight1", "metalblack1-2", 0x00000000); tmpobjid = CreateObject(19455, 2791.135498, -1995.032348, 12.676199, 0.000000, 0.000000, 0.000000, 300.00); SetObjectMaterial(tmpobjid, 0, 18641, "flashlight1", "metalblack1-2", 0x00000000); ///////////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////// tmpobjid = CreateObject(3655, 2806.393554, -1971.982421, 13.005490, 0.000000, 0.000000, 180.000000, 300.00); tmpobjid = CreateObject(3655, 2806.187744, -1960.044799, 13.005499, 0.000000, 0.000000, 0.000000, 300.00); tmpobjid = CreateObject(3655, 2806.220947, -1948.084716, 13.005499, 0.000000, 0.000000, 0.000000, 300.00); tmpobjid = CreateObject(3655, 2806.220458, -1936.143676, 13.005499, 0.000000, 0.000000, 0.000000, 300.00); tmpobjid = CreateObject(3655, 2806.453125, -1924.191284, 13.005490, 0.000000, 0.000000, 180.000000, 300.00); tmpobjid = CreateObject(3655, 2806.372070, -1912.356933, 13.005490, 0.000000, 0.000000, 180.000000, 300.00); tmpobjid = CreateObject(3655, 2806.210449, -1906.255737, 13.005499, 0.000000, 0.000000, 0.000000, 300.00); tmpobjid = CreateObject(3655, 2793.438964, -1907.411132, 13.005499, 0.000000, 0.000000, 90.000000, 300.00); tmpobjid = CreateObject(3655, 2781.708496, -1907.462158, 13.005499, 0.000000, 0.000000, 90.000000, 300.00); tmpobjid = CreateObject(3655, 2758.039062, -1907.450317, 13.005499, 0.000000, 0.000000, -90.000000, 300.00); tmpobjid = CreateObject(3655, 2730.222656, -1907.055786, 13.005499, 0.000000, 0.000000, -90.000000, 300.00); tmpobjid = CreateObject(3655, 2731.431884, -1933.576293, 15.102199, 0.000000, 0.000000, 180.000000, 300.00); tmpobjid = CreateObject(3655, 2731.376464, -1945.380004, 15.102199, 0.000000, 0.000000, 180.000000, 300.00); tmpobjid = CreateObject(3655, 2731.405273, -1957.314453, 15.102199, 0.000000, 0.000000, 180.000000, 300.00); tmpobjid = CreateObject(3655, 2731.361328, -1969.209960, 15.102199, 0.000000, 0.000000, 180.000000, 300.00); tmpobjid = CreateObject(3655, 2731.221923, -1978.768432, 15.102199, 0.000000, 0.000000, 180.000000, 300.00); tmpobjid = CreateObject(3655, 2744.050292, -1977.883422, 15.102199, 0.000000, 0.000000, 90.000000, 300.00); tmpobjid = CreateObject(3655, 2753.189453, -1965.046997, 15.102199, 0.000000, 0.000000, 180.000000, 300.00); tmpobjid = CreateObject(3655, 2752.932128, -1953.267333, 15.102199, 0.000000, 0.000000, 0.000000, 300.00); tmpobjid = CreateObject(3655, 2753.131835, -1914.120727, 15.102199, 0.000000, 0.000000, 180.000000, 300.00); tmpobjid = CreateObject(3655, 2807.311523, -1944.368286, 19.761600, 0.000000, 0.000000, 90.000000, 300.00); tmpobjid = CreateObject(3655, 2807.274414, -1958.310913, 19.761600, 0.000000, 0.000000, 90.000000, 300.00); tmpobjid = CreateObject(3655, 2806.489501, -1983.885375, 13.005490, 0.000000, 0.000000, 180.000000, 300.00); tmpobjid = CreateObject(3655, 2806.501464, -1995.840087, 13.005490, 0.000000, 0.000000, 180.000000, 300.00); tmpobjid = CreateObject(3655, 2806.615966, -2007.604858, 13.005490, 0.000000, 0.000000, 180.000000, 300.00); tmpobjid = CreateObject(3655, 2806.486083, -2031.298950, 13.005490, 0.000000, 0.000000, 180.000000, 300.00); tmpobjid = CreateObject(3655, 2750.260253, -2033.974365, 15.265270, 0.000000, 0.000000, 180.000000, 300.00); tmpobjid = CreateObject(3655, 2750.306396, -2024.463989, 15.265270, 0.000000, 0.000000, 180.000000, 300.00); tmpobjid = CreateObject(3655, 2743.222167, -2007.506225, 15.265299, 0.000000, 0.000000, 90.000000, 300.00); tmpobjid = CreateObject(3655, 2729.778808, -2025.919677, 15.631790, 0.000000, 0.000000, 90.000000, 300.00); tmpobjid = CreateObject(3655, 2730.357910, -2033.876464, 15.631799, 0.000000, 0.000000, 0.000000, 300.00); tmpobjid = CreateObject(3655, 2739.379638, -2033.939697, 15.631799, 0.000000, 0.000000, 0.000000, 300.00); tmpobjid = CreateObject(3655, 2739.307128, -2024.545654, 15.631799, 0.000000, 0.000000, 0.000000, 300.00); tmpobjid = CreateObject(3655, 2729.782714, -2030.556396, 22.218549, 0.000000, 0.000000, -90.000000, 300.00); tmpobjid = CreateObject(3655, 2741.535644, -2030.705200, 22.218549, 0.000000, 0.000000, -90.000000, 300.00); tmpobjid = CreateObject(3655, 2751.098144, -2030.471557, 22.218549, 0.000000, 0.000000, -90.000000, 300.00); tmpobjid = CreateObject(3655, 2730.530761, -2013.174194, 15.631799, 0.000000, 0.000000, 0.000000, 300.00); tmpobjid = CreateObject(3655, 2786.208740, -1932.676513, 15.102199, 0.000000, 0.000000, 180.000000, 300.00); tmpobjid = CreateObject(3655, 2798.803466, -1978.426635, 15.102199, 0.000000, 0.000000, 90.000000, 300.00); tmpobjid = CreateObject(3655, 2807.269775, -1978.092773, 19.419000, 0.000000, 0.000000, -90.000000, 300.00); tmpobjid = CreateObject(3655, 2807.304443, -1993.931640, 19.419000, 0.000000, 0.000000, -90.000000, 300.00); tmpobjid = CreateObject(3655, 2754.097412, -1956.130737, 22.251399, 0.000000, 0.000000, 90.000000, 300.00); tmpobjid = CreateObject(1412, 2793.791259, -1988.081298, 14.469900, 0.000000, 0.000000, 0.000000, 300.00); tmpobjid = CreateObject(1412, 2797.192626, -1988.094360, 14.469900, 0.000000, 0.000000, 0.000000, 300.00); tmpobjid = CreateObject(1412, 2793.845947, -1999.867675, 14.469900, 0.000000, 0.000000, 0.000000, 300.00); tmpobjid = CreateObject(1412, 2797.354248, -1999.839355, 14.469900, 0.000000, 0.000000, 0.000000, 300.00); tmpobjid = CreateObject(1412, 2701.553222, -2009.130126, 12.547039, 0.000000, 0.000000, 0.000000, 300.00); tmpobjid = CreateObject(1412, 2696.372070, -2009.153808, 12.547039, 0.000000, 0.000000, 0.000000, 300.00); tmpobjid = CreateObject(1415, 2798.796142, -1956.963378, 12.580240, 0.000000, 0.000000, -90.000000, 300.00); tmpobjid = CreateObject(1415, 2798.871582, -1945.100585, 12.581680, 0.000000, 0.000000, -90.000000, 300.00); tmpobjid = CreateObject(1415, 2798.904296, -1933.192138, 12.581680, 0.000000, 0.000000, -90.000000, 300.00); tmpobjid = CreateObject(1365, 2796.783691, -2004.195922, 13.592829, 0.000000, 0.000000, 61.080001, 300.00); tmpobjid = CreateObject(1264, 2796.894775, -2005.681274, 15.172240, 0.000000, 0.000000, 0.000000, 300.00); tmpobjid = CreateObject(1264, 2795.435546, -2004.715576, 15.172240, 0.000000, 0.000000, 0.000000, 300.00); tmpobjid = CreateObject(1264, 2796.535888, -2002.462646, 15.172240, 0.000000, 0.000000, 0.000000, 300.00); tmpobjid = CreateObject(1264, 2795.658203, -2006.116821, 15.172240, 0.000000, 0.000000, 0.000000, 300.00); tmpobjid = CreateObject(1349, 2798.775390, -2005.426025, 13.038510, 0.000000, 0.000000, 76.379997, 300.00); tmpobjid = CreateObject(1438, 2794.515136, -2003.249633, 12.546939, 0.000000, 0.000000, -124.319992, 300.00); tmpobjid = CreateObject(1439, 2792.884765, -2001.589843, 12.545649, 0.000000, 0.000000, 0.000000, 300.00); tmpobjid = CreateObject(1412, 2789.768310, -2005.489013, 13.739109, 0.000000, 0.000000, -18.239999, 300.00); tmpobjid = CreateObject(1412, 2779.646728, -2004.630493, 13.739109, 0.000000, 0.000000, 0.000000, 300.00); tmpobjid = CreateObject(1412, 2770.871582, -2004.265502, 13.739109, 0.000000, 0.000000, 0.000000, 300.00); tmpobjid = CreateObject(1412, 2765.762451, -2004.248779, 13.739109, 0.000000, 0.000000, 0.000000, 300.00); tmpobjid = CreateObject(1412, 2784.759765, -2004.637695, 13.739109, 0.000000, 0.000000, 0.000000, 300.00); tmpobjid = CreateObject(1412, 2788.491455, -1990.903930, 13.739109, 0.000000, 0.000000, 0.000000, 300.00); tmpobjid = CreateObject(1412, 2788.733398, -1988.072875, 13.739109, 0.000000, 0.000000, 0.000000, 300.00); tmpobjid = CreateObject(1412, 2691.172851, -2009.174926, 12.547039, 0.000000, 0.000000, 0.000000, 300.00); tmpobjid = CreateObject(1412, 2679.927001, -2009.179565, 12.547039, 0.000000, 0.000000, 0.000000, 300.00); tmpobjid = CreateObject(1412, 2674.746582, -2009.159912, 12.547039, 0.000000, 0.000000, 0.000000, 300.00); tmpobjid = CreateObject(1412, 2669.587158, -2009.162719, 12.547039, 0.000000, 0.000000, 0.000000, 300.00); tmpobjid = CreateObject(1412, 2664.427001, -2009.185058, 12.547039, 0.000000, 0.000000, 0.000000, 300.00); tmpobjid = CreateObject(1412, 2659.266601, -2009.227783, 12.547039, 0.000000, 0.000000, 0.000000, 300.00); tmpobjid = CreateObject(1412, 2654.026367, -2009.232299, 12.547039, 0.000000, 0.000000, 0.000000, 300.00); tmpobjid = CreateObject(1412, 2642.731933, -2006.369018, 12.546999, 0.000000, 0.000000, 90.000000, 300.00); tmpobjid = CreateObject(1412, 2642.706787, -2001.226562, 12.546999, 0.000000, 0.000000, 90.000000, 300.00); tmpobjid = CreateObject(1412, 2650.202636, -1998.827148, 12.547039, 0.000000, 0.000000, 0.000000, 300.00); tmpobjid = CreateObject(1412, 2655.389160, -1998.789916, 12.547039, 0.000000, 0.000000, 0.000000, 300.00); tmpobjid = CreateObject(1412, 2660.579589, -1998.783203, 12.547039, 0.000000, 0.000000, 0.000000, 300.00); tmpobjid = CreateObject(1412, 2665.750732, -1998.797119, 12.547039, 0.000000, 0.000000, 0.000000, 300.00); tmpobjid = CreateObject(1412, 2670.938964, -1998.838867, 12.547039, 0.000000, 0.000000, 0.000000, 300.00); tmpobjid = CreateObject(1412, 2676.122070, -1998.847412, 12.547039, 0.000000, 0.000000, 0.000000, 300.00); tmpobjid = CreateObject(1412, 2679.464599, -1998.824951, 12.547039, 0.000000, 0.000000, 0.000000, 300.00); tmpobjid = CreateObject(1412, 2690.044433, -1998.832397, 12.547039, 0.000000, 0.000000, 0.000000, 300.00); tmpobjid = CreateObject(1412, 2695.225585, -1998.817504, 12.547039, 0.000000, 0.000000, 0.000000, 300.00); tmpobjid = CreateObject(1412, 2700.426757, -1998.835571, 12.547039, 0.000000, 0.000000, 0.000000, 300.00); tmpobjid = CreateObject(1412, 2701.749511, -1998.958618, 12.547039, 0.000000, 0.000000, 0.000000, 300.00); tmpobjid = CreateObject(1412, 2709.069335, -1991.393432, 12.546999, 0.000000, 0.000000, 90.000000, 300.00); tmpobjid = CreateObject(1412, 2709.061767, -1986.239379, 12.546999, 0.000000, 0.000000, 90.000000, 300.00); tmpobjid = CreateObject(1412, 2709.063720, -1981.043334, 12.546999, 0.000000, 0.000000, 90.000000, 300.00); tmpobjid = CreateObject(1412, 2709.022705, -1975.821655, 12.546999, 0.000000, 0.000000, 90.000000, 300.00); tmpobjid = CreateObject(1412, 2709.025146, -1970.623535, 12.546999, 0.000000, 0.000000, 90.000000, 300.00); tmpobjid = CreateObject(1412, 2709.034423, -1965.462524, 12.546999, 0.000000, 0.000000, 90.000000, 300.00); tmpobjid = CreateObject(1412, 2709.027343, -2016.407226, 12.546999, 0.000000, 0.000000, 90.000000, 300.00); tmpobjid = CreateObject(1412, 2709.024414, -2021.593261, 12.546999, 0.000000, 0.000000, 90.000000, 300.00); tmpobjid = CreateObject(1412, 2709.035156, -2026.805175, 12.546999, 0.000000, 0.000000, 90.000000, 300.00); tmpobjid = CreateObject(1412, 2709.004882, -2031.978637, 12.546999, 0.000000, 0.000000, 90.000000, 300.00); tmpobjid = CreateObject(1437, 2795.764892, -1989.469238, 14.465100, -40.000000, 0.000000, -90.000000, 300.00); tmpobjid = CreateObject(1437, 2799.961669, -1988.941040, 16.149599, -40.000000, 0.000000, 0.000000, 300.00); tmpobjid = CreateObject(1437, 2737.508789, -1919.879638, 13.142330, -40.000000, 0.000000, -180.500000, 300.00); tmpobjid = CreateObject(1437, 2794.599609, -1978.487670, 17.780460, -40.000000, 0.000000, -94.499992, 300.00); tmpobjid = CreateObject(1437, 2806.640869, -1970.076660, 23.586160, -76.000000, 0.000000, -0.500000, 300.00); tmpobjid = CreateObject(1437, 2749.575927, -1970.067260, 26.707929, -80.000000, 0.000000, -16.040000, 300.00); tmpobjid = CreateObject(1437, 2750.312744, -1967.549438, 26.721340, -80.000000, 0.000000, -16.040000, 300.00); tmpobjid = CreateObject(1437, 2797.702880, -1978.724243, 20.382240, -40.000000, 0.000000, -94.499992, 300.00); tmpobjid = CreateObject(1437, 2737.477294, -1923.773681, 16.393400, -40.000000, 0.000000, -180.500000, 300.00); tmpobjid = CreateObject(1437, 2745.122070, -1937.509155, 19.200159, -80.000000, 0.000000, 60.040000, 300.00); tmpobjid = CreateObject(1437, 2741.964843, -1935.693115, 19.200159, -80.000000, 0.000000, 60.040000, 300.00); tmpobjid = CreateObject(1437, 2753.937011, -1945.412353, 23.494419, -40.000000, 0.000000, -180.500000, 300.00); tmpobjid = CreateObject(1437, 2754.006103, -1937.510986, 16.880859, -40.000000, 0.000000, -180.500000, 300.00); tmpobjid = CreateObject(11690, 2757.958496, -1952.395874, 25.839179, 0.000000, 0.000000, 0.000000, 300.00); tmpobjid = CreateObject(11690, 2750.364746, -1960.335571, 25.839179, 0.000000, 0.000000, 2.160000, 300.00); tmpobjid = CreateObject(18653, 2791.233886, -1999.771606, 14.470859, 0.000000, 0.000000, 0.000000, 300.00); tmpobjid = CreateObject(18653, 2791.148437, -1991.455444, 14.470859, 0.000000, 0.000000, 0.000000, 300.00); tmpobjid = CreateObject(2866, 2796.813964, -1997.300048, 15.250980, 0.000000, 0.000000, 0.000000, 300.00); tmpobjid = CreateObject(1578, 2748.342041, -1977.555175, 26.620769, 0.000000, 0.000000, 0.000000, 300.00); tmpobjid = CreateObject(1578, 2748.005615, -1977.007690, 26.620769, 0.000000, 0.000000, 73.080009, 300.00); tmpobjid = CreateObject(352, 2748.950683, -1976.757324, 26.629529, 90.000000, 0.000000, -90.000000, 300.00); tmpobjid = CreateObject(352, 2749.020507, -1977.259033, 26.629529, 90.000000, 0.000000, -239.159988, 300.00); tmpobjid = CreateObject(1279, 2748.468261, -1976.326293, 26.582170, 0.000000, 0.000000, 0.000000, 300.00); tmpobjid = CreateObject(1279, 2757.883300, -1952.722656, 26.617389, 0.000000, 0.000000, 0.000000, 300.00); tmpobjid = CreateObject(19583, 2758.403320, -1951.849609, 26.637100, 0.000000, 0.000000, -40.619998, 300.00); tmpobjid = CreateObject(19583, 2750.913330, -1959.765014, 26.637100, 0.000000, 0.000000, -103.199966, 300.00); tmpobjid = CreateObject(19583, 2748.780273, -1976.727905, 27.060520, 140.000000, 90.000000, 0.000000, 300.00); tmpobjid = CreateObject(1550, 2749.217285, -1978.681396, 25.723770, 0.000000, 0.000000, 0.000000, 300.00); tmpobjid = CreateObject(1550, 2749.592285, -1979.065185, 26.142629, 0.000000, 0.000000, 53.939998, 300.00); tmpobjid = CreateObject(1437, 2728.578613, -1959.757690, 26.335010, -80.000000, 0.000000, -16.040000, 300.00); tmpobjid = CreateObject(1437, 2729.841308, -1955.273437, 26.335010, -80.000000, 0.000000, -16.040000, 300.00); tmpobjid = CreateObject(18761, 2723.759033, -1992.676269, 12.375599, 0.000000, 0.000000, 90.000000, 300.00); tmpobjid = CreateObject(3363, 2730.235107, -1943.322753, 25.836959, 0.000000, 0.000000, -115.379997, 300.00); tmpobjid = CreateObject(2232, 2791.091796, -1991.462036, 16.031700, 0.000000, 0.000000, -90.000000, 300.00); tmpobjid = CreateObject(2232, 2791.076660, -1999.695800, 16.031700, 0.000000, 0.000000, -90.000000, 300.00); tmpobjid = CreateObject(2232, 2791.069824, -1996.355468, 12.964630, 0.000000, 0.000000, -90.000000, 300.00); tmpobjid = CreateObject(2232, 2791.018310, -1993.093750, 12.964630, 0.000000, 0.000000, -90.000000, 300.00); tmpobjid = CreateObject(19423, 2791.966552, -1994.684570, 15.278900, 0.000000, 0.000000, 30.000000, 300.00); tmpobjid = CreateObject(1956, 2791.523437, -1995.074096, 15.326729, 0.000000, 0.000000, 0.000000, 300.00); tmpobjid = CreateObject(1956, 2791.600341, -1997.032592, 15.326729, 0.000000, 0.000000, 0.000000, 300.00); tmpobjid = CreateObject(19150, 2799.391845, -1993.750244, 17.313800, 0.000000, 0.000000, 90.000000, 300.00); tmpobjid = CreateObject(19150, 2799.340087, -1997.988769, 17.313800, 0.000000, 0.000000, 90.000000, 300.00); tmpobjid = CreateObject(19150, 2799.273681, -1990.539428, 17.313800, 0.000000, 0.000000, 90.000000, 300.00); tmpobjid = CreateObject(19150, 2791.511230, -1995.521606, 17.205780, 0.000000, 0.000000, 90.000000, 300.00); tmpobjid = CreateObject(19154, 2791.579589, -1996.837524, 16.454320, 0.000000, 0.000000, 90.000000, 300.00); tmpobjid = CreateObject(19154, 2791.529785, -1994.286499, 16.454320, 0.000000, 0.000000, 90.000000, 300.00); tmpobjid = CreateObject(849, 2793.202636, -2005.882080, 12.656849, 0.000000, 0.000000, 72.359992, 300.00); tmpobjid = CreateObject(19474, 2748.511718, -1976.942504, 26.125719, 0.000000, 0.000000, -44.939990, 300.00); tmpobjid = CreateObject(3044, 2747.800048, -1977.831909, 26.682580, 0.000000, 0.000000, 0.000000, 300.00); tmpobjid = CreateObject(3044, 2747.718261, -1977.840942, 26.682580, 0.000000, 0.000000, 65.639991, 300.00); tmpobjid = CreateObject(3044, 2747.898925, -1977.845336, 26.682580, 0.000000, 0.000000, -93.899986, 300.00); tmpobjid = CreateObject(1212, 2749.429443, -1976.573242, 26.617120, 0.000000, 0.000000, 161.099975, 300.00); tmpobjid = CreateObject(1212, 2749.649414, -1976.699462, 26.617120, 0.000000, 0.000000, 0.000000, 300.00); tmpobjid = CreateObject(1212, 2749.499755, -1976.832397, 26.617120, 0.000000, 0.000000, -66.899986, 300.00); tmpobjid = CreateObject(2901, 2750.104003, -1960.751831, 26.957410, 0.000000, 0.000000, -42.360000, 300.00); tmpobjid = CreateObject(2901, 2750.436035, -1960.351928, 26.957410, 0.000000, 0.000000, -42.360000, 300.00); tmpobjid = CreateObject(19148, 2791.555908, -1997.241821, 16.470600, 0.000000, 0.000000, 90.000000, 300.00); tmpobjid = CreateObject(19148, 2791.510498, -1993.889038, 16.470600, 0.000000, 0.000000, 90.000000, 300.00); tmpobjid = CreateObject(19148, 2791.560791, -1992.569946, 16.470600, 0.000000, 0.000000, 90.000000, 300.00); tmpobjid = CreateObject(19148, 2791.607910, -1998.696533, 16.470600, 0.000000, 0.000000, 90.000000, 300.00); tmpobjid = CreateObject(2069, 2750.387451, -1976.871826, 25.861959, 0.000000, 0.000000, 0.000000, 300.00); } CMD:venderdrogas(playerid, params[]) { if(PlayerInfo[playerid][pJailed] != 0) return SendClientMessage(playerid,COLOR_YELLOW,"Você não pode vender drogas na cadeia!"); if(!IsAGang(playerid)) return SendClientMessage(playerid, COLOR_GREY, "| ERRO | Você não é membro de gang!"); new playa; new money; new needed; new droga[45]; if(sscanf(params, "us[45]dd", playa, droga, needed, money)) { SendClientMessage(playerid, COLOR_GRAD2, "USE: /venderdrogas [playerid] [nome] [quantidade] [preco]"); SendClientMessage(playerid, COLOR_GRAD2, "Nomes disponiveis: maconha, cocaina, crack"); return true; } if(needed < 1 || needed > 10000) return SendClientMessage(playerid, COLOR_GREY, " Minimo de drogas 1, e Maximo de drogas 99!"); if(money < 1 || money > 999999) return SendClientMessage(playerid, COLOR_GREY, " Preco maior que 1, menor que 99999!"); if(!IsPlayerConnected(playa))return SendClientMessage(playerid, COLOR_GRAD1, " Jogador Offline!"); new string[128]; if(strcmp(droga, "maconha", true)==0) { if(needed > PlayerInfo[playerid][pDrogas]) { SendClientMessage(playerid, COLOR_GREY, "Você nao tem esta quantidade de drogas com Você !"); return true; } if (ProxDetectorS(8.0, playerid, playa)) { if(playa == playerid) return SendClientMessage(playerid, COLOR_GREY, "Você não pode vender maconha pra você mesmo!"); format(string, sizeof(string), "* Você ofereceu %s com %d gramas de maconha por R$%d .", PlayerName(playa), needed, money); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); format(string, sizeof(string), "* O Traficante %s quer vender %d gramas de maconha por R$%d, (Digite /aceitar maconha) para comprar.", PlayerName(playerid), needed, money); SendClientMessage(playa, COLOR_LIGHTBLUE, string); DrugOffer[playa] = playerid; DrugPrice[playa] = money; DrugGram[playa] = needed; } else { SendClientMessage(playerid, COLOR_GREY, " O Jogador não está perto de você !"); } } else if(strcmp(droga, "cocaina", true)==0) { if(needed > PlayerInfo[playerid][pDrogas2]) { SendClientMessage(playerid, COLOR_GREY, "Você não tem esta quantidade de cocaina com você !"); return true; } if (ProxDetectorS(8.0, playerid, playa)) { if(playa == playerid) return SendClientMessage(playerid, COLOR_GREY, "Você não pode vender maconha pra você mesmo!"); format(string, sizeof(string), "* Você ofereceu %d gramas de cocaína por %d para %s .", needed, money,PlayerName(playa)); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); format(string, sizeof(string), "* O Traficante %s quer vender %d gramas de cocaína por R$%d, (Digite /aceitar cocaina) para comprar.", PlayerName(playerid), needed, money); SendClientMessage(playa, COLOR_LIGHTBLUE, string); DrugOffer[playa] = playerid; DrugPrice[playa] = money; DrugGram[playa] = needed; } else { SendClientMessage(playerid, COLOR_GREY, " O Jogador não está perto de você !"); } } else if(strcmp(droga, "crack", true)==0) { if(needed > PlayerInfo[playerid][pDrogas3]) { SendClientMessage(playerid, COLOR_GREY, "Você nao tem esta quantidade de crack com Você !"); return true; } if (ProxDetectorS(8.0, playerid, playa)) { if(playa == playerid) return SendClientMessage(playerid, COLOR_GREY, "Você não pode vender maconha pra você mesmo!"); format(string, sizeof(string), "* Você ofereceu %s com %d pedras por R$%d .", PlayerName(playa), needed, money); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); format(string, sizeof(string), "* O Traficante %s quer vender %d pedras por R$%d, (Digite /aceitar crack) para comprar.", PlayerName(playerid), needed, money); SendClientMessage(playa, COLOR_LIGHTBLUE, string); DrugOffer[playa] = playerid; DrugPrice[playa] = money; DrugGram[playa] = needed; } else { SendClientMessage(playerid, COLOR_GREY, " O Jogador não está perto de você !"); } } return true; } CMD:lojavip(playerid, result[]) { new string[1024]; format(string, sizeof string, "{7FFF00}»{FFFFFF} Receber Cash\n\ {7FFF00}»{FFFFFF} Veiculos de Inventário\n\ {7FFF00}»{FFFFFF} Itens\n\ {7FFF00}»{FFFFFF} Efeitos\n\ {7FFF00}»{FFFFFF} Acessorios\n\ {7FFF00}»{FFFFFF} Transferir Cash\n\ {7FFF00}»{FFFFFF} Ativar Cupom de Compra\n\ {7FFF00}»{FFFFFF} Utilidades\n\ {7FFF00}»{FFFFFF} Adquirir VIP/Socio\n\ {7FFF00}»{FFFFFF} Beneficios VIP/Socios\n\ {7FFF00}»{FFFFFF} Loja FREE"); new titulo[350]; format(titulo, sizeof(titulo), "{FFFFFF}Loja Cash | {00ccff}%s {FFFFFF}cash",ConvertCash(PlayerInfo[playerid][pCasher])); ShowPlayerDialog(playerid, DIALOG_MENU_VIP, DIALOG_STYLE_LIST, titulo, string, "Acessar", "Cancelar"); return 1; } CMD:daritem(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] >= 1342) { new plo,string[100], qnt; if(sscanf(params, "udd",giveplayerid, plo, qnt)) return SendClientMessage(playerid, COLOR_GRAD2, "USE: /daritem [id] [id do objeto] [quantidade]"); if(IsPlayerConnected(giveplayerid)) { format(string, sizeof(string), "[DAR ITEM] %s deu item id: %d [Quantidade: %d] para: %s.",NomePlayer(playerid), plo, qnt, PlayerName(giveplayerid)); ABroadCast(COLOR_LIGHTRED, string, 1337); CNFLogs("daritem", string); AddItem(giveplayerid, plo, qnt); format(string, sizeof(string), "[ITEM] O Admin: %s te deu um item! veja em seu inventario.", PlayerName(playerid)); SCM(giveplayerid, COLOR_LIGHTBLUE, string); } } else return SemPermCMD return 1; } CMD:contrato(playerid, params[]) { new string[256]; if(sscanf(params, "ud", giveplayerid, moneys)) return SendClientMessage(playerid, COLOR_GRAD1, "USE: /contrato [ID/Nome] [Quantia]"); if(PlayerInfo[playerid][pMembro] == 8 || PlayerInfo[playerid][pLider] == 8) return SendClientMessage(playerid, COLOR_WHITE, "[ ERRO ] Hitmans nao pode colocar contratos!"); if(moneys < 1000 || moneys > 100000) return SendClientMessage(playerid, COLOR_GREY, "[ ERRO ] Seu contrato não pode ser menor que 1000 ou maior que 100000."); if(PlayerInfo[playerid][pLevel] < 3) return SendClientMessage(playerid, COLOR_GRAD1, "[ ERRO ] Você precisa de no mínimo nível 3 para por um contrato."); if (IsPlayerConnected(giveplayerid)) { if(giveplayerid != INVALID_PLAYER_ID) { if(PlayerInfo[giveplayerid][pLevel] <= 2) return SendClientMessage(playerid, COLOR_GRAD1, "[ ERRO ] Você não pode por contrato em novatos!"); if(GetPlayerOrg(giveplayerid) == 8) return SendClientMessage(playerid, COLOR_GREY, "[ ERRO ] Você não pode colocar contrato em assassinos!"); if(GetPlayerOrg(giveplayerid) == 24) return SendClientMessage(playerid, COLOR_GREY, "[ ERRO ] Você não pode colocar contrato em assassinos!"); if(GetPlayerOrg(playerid) == 8 || GetPlayerOrg(playerid)== 24) return SendClientMessage(playerid, COLOR_GREY, "[ ERRO ] Você não pode colocar contratos em ninguém!"); if(PlayerInfo[giveplayerid][pAdmin] >= 1 && admtrampando[playerid]) return SendClientMessage(playerid, COLOR_GREY, "[ ERRO ] Você não pode colocar contratos em um Administrador em modo trabalho!"); if(giveplayerid == playerid) return SendClientMessage(playerid, COLOR_GREY, "Você nao pode colocar contrato em si mesmo!"); if (GetPlayerMoney(playerid) > moneys) { GivePlayerMoney(playerid, (0 - moneys)); PlayerInfo[giveplayerid][pHeadValue]+=moneys; format(string, sizeof(string), "%s Colocou um contrato em %s, por $%d.",PlayerName(playerid), PlayerName(giveplayerid), moneys); SendFamilyMessage(8, COLOR_YELLOW, string); format(string, sizeof(string), "%s Colocou um contrato em %s, por $%d.",PlayerName(playerid), PlayerName(giveplayerid), moneys); SendFamilyMessage(22, COLOR_YELLOW, string); format(string, sizeof(string), "Você colocou um contrato em %s, por $%d.",PlayerName(giveplayerid), moneys); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); } else { SendClientMessage(playerid, COLOR_GRAD1, " Você não possui essa grana."); } } } else { SendClientMessage(playerid, COLOR_GRAD1, " Esse não é um jogador ativo."); } return 1; } CallBack:: ContratoAutomatico(){ new string[ 128 ], i, verificar ; while( verificar < 25 ){ i = random( MAX_PLAYERS ); verificar ++; if( IsPlayerConnected( i ) ){ if( PlayerInfo[ i ][ pLevel ] > 2 && GetPlayerOrg( i ) ^ 8 && GetPlayerOrg( i ) ^ 22 && PlayerInfo[i][pAdmin] < 1 && PlayerInfo[i][pHelper] < 1 ){ new valor = random( 600 ) + 400; PlayerInfo[i][pHeadValue] += valor; format(string, sizeof(string), "Há um novo contrato! Alvo: %s R$ %d",PlayerName( i ), valor); SendFamilyMessage(8, COLOR_YELLOW, string); SendFamilyMessage(22, COLOR_YELLOW, string); break; } } } } CMD:meucontrato(playerid, params[]) { new string[128]; if(GoChase[playerid] == 999)return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao possui um contrato"); else format(string, sizeof(string), "Seu contrato esta em %s [ID: %d].", PlayerName(GoChase[playerid]), GoChase[playerid]); return SendClientMessage(playerid, COLOR_GRAD2, string); } CMD:largarcontrato(playerid, params[]) { new string[128]; if(GoChase[playerid] == 999)return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao possui um contrato"); else { if(GetPlayerOrg(playerid) == 8) { format(string, sizeof string, "HITMAN: O assassino %s largou seu contrato, que estava em %s",NomePlayer(playerid), NomePlayer(GoChase[playerid])); SendFamilyMessage(8,COLOR_YELLOW, string); GotHit[GoChase[playerid]] = 0; } if(GetPlayerOrg(playerid) == 22) { format(string, sizeof string, "TRIAD: O assassino %s largou seu contrato, que estava em %s",NomePlayer(playerid), NomePlayer(GoChase[playerid])); SendFamilyMessage(22,COLOR_YELLOW, string); GotHit[GoChase[playerid]] = 0; } GetChased[GoChase[playerid]] = 999; GoChase[playerid] = 999; } return true; } CMD:infocontrato(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] < 1 && PlayerInfo[playerid][pAdminTemp] < 1)return SendClientMessage(playerid, COLOR_GRAD1, LEVELADM); if(!admtrampando[playerid] && PlayerInfo[playerid][pAdmin] < 1342) return SendClientMessage(playerid, COLOR_GRAD1, TRABALHARADM); new id; if(sscanf(params, "u", id)) return SendClientMessage(playerid, COLOR_YELLOW, "USE: /infocontrato [playerid]"); new string[128]; if(GoChase[id] == 999)return SendClientMessage(playerid, COLOR_GRAD1, "O player nao tem um contrato"); else format(string, sizeof(string), "INFO-CONTRATO: %s esta com um contrato em %s[ID: %d]", PlayerName(id), PlayerName(GoChase[id]), GoChase[id]); return SendClientMessage(playerid, COLOR_YELLOW, string); } CMD:an(playerid, result[]) { if(PlayerInfo[playerid][pMuted] == 1) return SendClientMessage(playerid, 0xA92BF6F6, "Voce nao pode falar, pois foi calado"); if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid, COLOR_GREY, "Voce Nao Esta Logado !"); if (PlayerInfo[playerid][pAnGov] > 0) { new string[128]; format(string, sizeof(string), "Voce esta proibido de mandar anúncios por %s minutos.", ConvertTime(PlayerInfo[playerid][pAnGov])); SendClientMessage(playerid, COLOR_LIGHTRED, string); return 1; } if(PlayerInfo[playerid][pConnectTime] < 2) return SendClientMessage(playerid,0xFFFFFFAA,"Info: Voce podera mandar anuncios apos {FFA54F}2{FFFFFF} horas jogadas."); if(gettime() < GetPVarInt(playerid, #VarFloodanuncio)) return SendClientMessage(playerid,COLOR_YELLOW,"Voce esta bloqueado aguarde 60 minutos."); if(sscanf(result, "s[75]", result)) { SendClientMessage(playerid, COLOR_GRAD2, "USE: /an [Texto] ou excolha uma opcao!"); MEGAString[0] = EOS; strcat(MEGAString, "Procuro ORG/GANG, Entre em contato!\n"); strcat(MEGAString, "Vendo uma casa, Entre em contato!\n"); strcat(MEGAString, "Compro uma casa, Entre em contato!\n"); strcat(MEGAString, "Vendo drogas, Entre em contato!\n"); strcat(MEGAString, "Compro drogas, Entre em contato!\n"); strcat(MEGAString, "preciso de um Advogado, Entre em contato!\n"); strcat(MEGAString, "Preciso de um Policial, Entre em contato!\n"); strcat(MEGAString, "Preciso de um Taxista, Entre em contato!\n"); strcat(MEGAString, "Preciso de um Medico, Entre em contato!\n"); strcat(MEGAString, "Preciso de um Bombeiro, Entre em contato!\n"); strcat(MEGAString, "Vendo materiais, Entre em contato!\n"); strcat(MEGAString, "Compro materiais, Entre em contato!\n"); strcat(MEGAString, "Vendo uma Empresa, Entre em contato!\n"); strcat(MEGAString, "Compro uma Empresa, Entre em contato!\n"); ShowPlayerDialog(playerid, 5429, DIALOG_STYLE_LIST, "Escolha o que deseja anunciar", MEGAString, "Anunciar", "Cancelar"); return 1; } //Anti Divulguer new payout = strlen(result) * 50; new string[500]; if(GetPlayerMoney(playerid) < payout) { format(string, sizeof(string), "Voce Usou %d characteres e custou $%d, Voce nao tem Esse Dinheiro.", strlen(result), payout); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); return 1; } if(TempoAn[playerid] > 0) { if(PlayerInfo[playerid][pVIP] <= 1) { format(string, sizeof(string), "Voce nao e jogador VIP, aguarde: {00FFFF}%s{FFFFFF} segundos para mandar um anúncio.", ConvertTime(TempoAn[playerid])); SendClientMessage(playerid,0xFFFFFFFF,string); return 1; } else { format(string, sizeof(string), "Espere {00FFFF}%d{FFFFFF} segundos para mandar outro anuncio", TempoAn[playerid]); SendClientMessage(playerid,0xFFFFFFFF,string); return 1; } } if(AnuncioMandado > 0) { if(PlayerInfo[playerid][pVIP] < 2) { format(string, sizeof(string), "Voce nao e jogador SUPER VIP, aguarde: {00FFFF}%s{FFFFFF} segundos para mandar um anúncio.", AnuncioMandado); SendClientMessage(playerid,0xFFFFFFFF,string); return 1; } } if(PlayerInfo[playerid][pVIP] == 0) { GivePlayerMoneyEx(playerid, - payout); SBizzInfo[7][sbTill] += payout; ExtortionSBiz(7, payout); format(string, sizeof(string), "• {FFFFFF}Voce pagou R$%d pelo seu anúncio, para a empresa: {00BFFF}%s", payout, SBizzInfo[7][sbMessage]); SendClientMessage(playerid, 0x00BFFFAA, string); format(string, sizeof(string), "Anúncio: %s, %s[%d] Celular: %d (/sms ou /ligar)", result,PlayerName(playerid),playerid,PlayerInfo[playerid][pPnumber]); SendClientMessageToAll(TEAM_GROVE_COLOR,string); format(string, sizeof(string), "~r~Pagou $%d~n~~w~Pelo Anuncio.", payout, strlen(result)); GameTextForPlayer(playerid, string, 5000, 5); if(PlayerInfo[playerid][pVIP] > 1) { TempoAn[playerid] = 30; } else { TempoAn[playerid] = 30+strlen(result); } AnuncioMandado = 30; return true; } else if(PlayerInfo[playerid][pVIP] == 1) { GivePlayerMoneyEx(playerid, - payout); SBizzInfo[7][sbTill] += payout; ExtortionSBiz(7, payout); format(string, sizeof(string), "• {FFFFFF}Voce pagou R$%d pelo seu anúncio, para a empresa: {00BFFF}%s", payout, SBizzInfo[7][sbMessage]); SendClientMessage(playerid, 0x00BFFFAA, string); format(string, sizeof(string), "Anúncio VIP:{FFFFFF} %s{00fefe}, %s[%d] Celular: %d (/sms ou /ligar)", result,PlayerName(playerid),playerid,PlayerInfo[playerid][pPnumber]); SendClientMessageToAll(0x00fefeAA,string); format(string, sizeof(string), "~r~Pagou $%d~n~~w~Pelo Anuncio.", payout, strlen(result)); GameTextForPlayer(playerid, string, 5000, 5); if(PlayerInfo[playerid][pVIP] > 1) { TempoAn[playerid] = 30; } else { TempoAn[playerid] = 30+strlen(result); } AnuncioMandado = 30; return true; } else if(PlayerInfo[playerid][pVIP] == 2) { GivePlayerMoneyEx(playerid, - payout); SBizzInfo[7][sbTill] += payout; ExtortionSBiz(7, payout); format(string, sizeof(string), "• {FFFFFF}Voce pagou R$%d pelo seu anúncio, para a empresa: {00BFFF}%s", payout, SBizzInfo[7][sbMessage]); SendClientMessage(playerid, 0x00BFFFAA, string); format(string, sizeof(string), "Anúncio Super-VIP:{FFFFFF} %s{faa788}, %s[%d] Celular: %d (/sms ou /ligar)", result,PlayerName(playerid),playerid,PlayerInfo[playerid][pPnumber]); SendClientMessageToAll(0xfaa788AA,string); format(string, sizeof(string), "~r~Pagou $%d~n~~w~Pelo Anuncio.", payout, strlen(result)); GameTextForPlayer(playerid, string, 5000, 5); if(PlayerInfo[playerid][pVIP] > 1) { TempoAn[playerid] = 30; } else { TempoAn[playerid] = 30+strlen(result); } AnuncioMandado = 30; return true; } else if(PlayerInfo[playerid][pVIP] == 3) { GivePlayerMoneyEx(playerid, - payout); SBizzInfo[7][sbTill] += payout; ExtortionSBiz(7, payout); format(string, sizeof(string), "• {FFFFFF}Voce pagou R$%d pelo seu anúncio, para a empresa: {00BFFF}%s", payout, SBizzInfo[7][sbMessage]); SendClientMessage(playerid, 0x00BFFFAA, string); format(string, sizeof(string), "Anúncio Socio Reliquia:{FFFFFF} %s{F9F20C}, %s[%d] Celular: %d (/sms ou /ligar)", result,PlayerName(playerid),playerid,PlayerInfo[playerid][pPnumber]); SendClientMessageToAll(0xF9F20CAA,string); format(string, sizeof(string), "~r~Pagou $%d~n~~w~Pelo Anuncio.", payout, strlen(result)); GameTextForPlayer(playerid, string, 5000, 5); if(PlayerInfo[playerid][pVIP] > 1) { TempoAn[playerid] = 30; } else { TempoAn[playerid] = 30+strlen(result); } AnuncioMandado = 30; return true; } else if(PlayerInfo[playerid][pVIP] == 4) { GivePlayerMoneyEx(playerid, - payout); SBizzInfo[7][sbTill] += payout; ExtortionSBiz(7, payout); format(string, sizeof(string), "• {FFFFFF}Voce pagou R$%d pelo seu anúncio, para a empresa: {00BFFF}%s", payout, SBizzInfo[7][sbMessage]); SendClientMessage(playerid, 0x00BFFFAA, string); format(string, sizeof(string), "Anúncio Socio Platina:{FFFFFF} %s{AEFFD1}, %s[%d] Celular: %d (/sms ou /ligar)", result,PlayerName(playerid),playerid,PlayerInfo[playerid][pPnumber]); SendClientMessageToAll(0xAEFFD1AA,string); format(string, sizeof(string), "~r~Pagou $%d~n~~w~Pelo Anuncio.", payout, strlen(result)); GameTextForPlayer(playerid, string, 5000, 5); if(PlayerInfo[playerid][pVIP] > 1) { TempoAn[playerid] = 30; } else { TempoAn[playerid] = 30+strlen(result); } AnuncioMandado = 30; return true; } if(PlayerInfo[playerid][pVIP] > 1) { TempoAn[playerid] = 30; } else { TempoAn[playerid] = 30+strlen(result); } AnuncioMandado = 30; return 1; } CMD:guardarexplosivo(playerid) { new string[128]; if(!PlayerInfo[playerid][ComExplosivo]) return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao esta com um explosivo na mao."); RemovePlayerAttachedObjectEx(playerid, Vaga_Roubo); PosicionarObjetos(playerid, Vaga_Roubo, 0, 0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0); RemovePlayerAttachedObject(playerid,6); PlayerInfo[playerid][ComExplosivo] = false; format(string, sizeof string, "* %s guardou seu explosivo.", NomePlayer(playerid)); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SendClientMessage(playerid, COLOR_GRAD1, "*** Voce guardou o explosivo abra seu inventario para usa-lo!"); SetPlayerSpecialAction(playerid, 0); AddItem(playerid, 1654, 1); return 1; } CMD:limparinventario(playerid,params[]) { new string[128]; if(PlayerInfo[playerid][pAdmin] < 1338) return SendClientMessage(playerid, COLOR_GRAD1, LEVELADM); if(!admtrampando[playerid] && PlayerInfo[playerid][pAdmin] < 1342) return SendClientMessage(playerid, COLOR_GRAD1, TRABALHARADM); if(sscanf(params, "u", giveplayerid)) return SendClientMessage(playerid, COLOR_YELLOW, "USE: /limparinventario [playerid]"); for(new i; i != 75; i ++) { if(InventarioInfo[playerid][i][iSlot] != 19382) { InventarioInfo[playerid][i][iSlot] = 19382; InventarioInfo[playerid][i][iUnidades] = 0; return 1; } } MensagemFormatada(giveplayerid, COLOR_LIGHTBLUE, "| INFO | Administrador [%s] limpou todo seu inventario.",PlayerName(playerid)); MensagemFormatada(playerid, COLOR_LIGHTBLUE, "| INFO | Você limpou o inventario de [%s]",PlayerName(giveplayerid)); format(string, sizeof(string), "[PAINEL ADM]: %s limpou o inventário de: %s(%d)",NomePlayer(playerid) ,PlayerName(giveplayerid),giveplayerid); ABroadCast(0xC2CA7FFF,string,1); CNFLogs("limparinventario", string); return 1; } CMD:limparcasamento(playerid, params[]) { new string[256]; if(PlayerInfo[playerid][pAdmin] < 2) return SendClientMessage(playerid, COLOR_GRAD1, LEVELADM); if(!admtrampando[playerid] && PlayerInfo[playerid][pAdmin] < 1342) return SendClientMessage(playerid, COLOR_GRAD1, TRABALHARADM); if(sscanf(params, "u", giveplayerid)) return SendClientMessage(playerid, COLOR_YELLOW, "USE: /limparcasamento [playerid]"); if(PlayerInfo[giveplayerid][pMarried] == 0) return SendClientMessage(playerid, COLOR_GREY, "[ INFO ] Este jogador não está casado"); if(IsPlayerConnected(giveplayerid)) { format(string,128,"| INFO | Seu casamento foi limpo, pelo admin %s.",PlayerName(playerid)); SendClientMessage(giveplayerid,0xff6347FF,string); format(string,128,"| INFO | Voce limpou o casamento de %s.",PlayerName(giveplayerid)); SendClientMessage(playerid,COLOR_LIGHTBLUE,string); format(string, sizeof(string), "[PAINEL ADM]: O admin %s limpou o casamento de %s.",PlayerName(playerid), PlayerName(giveplayerid)); ABroadCast(0xff6347FF, string, 1); CNFLogs("comandosadmin", string); ClearMarriage(giveplayerid); } return true; } CMD:caixa(playerid, params[]) { if (PlayerInfo[playerid][pAdmin] >= 1341) { if(Caixaon == false) { Caixaon = true; MensagemFormatadaAll(0x20B2AAFF, "| ADMINISTRACAO | %s {FFFFFF}acaba de {20B2AA}ativar{FFFFFF} a caixinha de presentes.",PlayerName(playerid)); return 1; } else { Caixaon = false; MensagemFormatadaAll(0x00FFFFFF, "| ADMINISTRACAO | %s {FFFFFF}acaba de {00FFFF}desativar{FFFFFF} a caixinha de presentes.",PlayerName(playerid)); return 1; } } return 1; } CMD:alterarnome(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] < 1341) return SendClientMessage(playerid, COLOR_GREY, LEVELADM); new id; if(sscanf(params, "u", id)) return SendClientMessage(playerid, COLOR_WHITE, "USE: /alterarnome [id] (Use para empresas)"); new string[128]; for(new i = 0; i < sizeof(BizzInfo); i++) { if (PlayerToPoint(3, playerid,BizzInfo[i][bEntranceX], BizzInfo[i][bEntranceY], BizzInfo[i][bEntranceZ])) { format(string, sizeof(string), "Empresa: %d (Empresa com interior)", i); SendClientMessage(playerid, COLOR_GRAD2, string); strmid(BizzInfo[i][bOwner], PlayerName(id), 0, strlen(PlayerName(id)), 255); } } for(new i = 0; i < sizeof(SBizzInfo); i++) { if (PlayerToPoint(3, playerid,SBizzInfo[i][sbEntranceX], SBizzInfo[i][sbEntranceY], SBizzInfo[i][sbEntranceZ])) { format(string, sizeof(string), "SEmpresa: %d (Empresa com interior)", i); SendClientMessage(playerid, COLOR_GRAD2, string); strmid(SBizzInfo[i][sbOwner], PlayerName(id), 0, strlen(PlayerName(id)), 255); } } return 1; } CMD:sniper(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] < 1341) return SendClientMessage(playerid, COLOR_GREY, LEVELADM); if(SNIPER_ATIVADO == 1) { MensagemFormatadaAll(0x3CB371FF, "| PAINEL-ADMIN | [%s] {FFFFFF}acaba de des-ativar a sniper no servidor",PlayerName(playerid)); SNIPER_ATIVADO = 0; return 1; } else { MensagemFormatadaAll(0x3CB371FF, "| PAINEL-ADMIN | [%s] {FFFFFF}acaba de ativar a sniper no servidor",PlayerName(playerid)); SNIPER_ATIVADO = 1; } return 1; } CMD:radio(playerid, params[]) { ShowPlayerDialog(playerid, 5416, DIALOG_STYLE_LIST, "BRASIL POBRE RP - Radio", "1- Ligar Radio CNF\n\ 2- Desligar Radio CNF","Ouvir","Sair"); return 1; } CMD:help(playerid)return ForT:ajuda(playerid); CMD:ajuda(playerid) { ShowPlayerDialog(playerid, 10, DIALOG_STYLE_LIST, "{FFFFFF}»{FFFF00} Ajuda do Servidor", "{FFFFFF}»{FFFF00} Ajuda{FFFFFF} Novato\n{FFFFFF}»{FFFF00} Ajuda{FFFFFF} Empresa\n\ {FFFFFF}»{FFFF00} Ajuda{FFFFFF} Casa\n{FFFFFF}»{FFFF00} Ajuda{FFFFFF} Aluguel\n{FFFFFF}»{FFFF00} Ajuda{FFFFFF} Celular\n{FFFFFF}»{FFFF00} Ajuda{FFFFFF} Lider\n\ {FFFFFF}»{FFFF00} Ajuda{FFFFFF} Emprego\n{FFFFFF}»{FFFF00} Ajuda{FFFFFF} Cozinha\n{FFFFFF}»{FFFF00} Ajuda{FFFFFF} Casamento\n\ {FFFFFF}»{FFFF00} Ajuda{FFFFFF} Forum\n{FFFFFF}»{FFFF00} Como comprar{FFFFFF} VIP\n{FFFFFF}»{FFFF00} Ajuda{FFFFFF} Veiculo\n\ {FFFFFF}»{FFFF00} Ajuda{FFFFFF} Ouros\n{FFFFFF}»{FFFF00} Ajuda{FFFFFF} Fazenda\n{FFFFFF}»{FFFF00} Ajuda{FFFFFF} Peixe\n{FFFFFF}»{FFFF00} Ajuda{FFFFFF} Organizacao\n\ {FFFFFF}»{FFFF00} Ajuda{FFFFFF} Documentos\n{FFFFFF}»{FFFF00} Ajuda{FFFFFF} JBL\n{FFFFFF}»{FFFF00} Ajuda{FFFFFF} Portao\n{FFFFFF}»{FFFF00} Ajuda{FFFFFF} Youtuber\n{FFFFFF}»{FFFF00} Ajuda{FFFFFF} Dinheiro Sujo", "Selecionar", "Cancelar"); return 1; } CMD:carregaraviao(playerid){return 1;} CMD:menueleicoes(playerid) { if(IsPlayerInRangeOfPoint(playerid, 3.0, 358.8934,184.7769,1008.3828)) { ShowPlayerDialog(playerid, 1345, DIALOG_STYLE_LIST, "Menu De Eleicoes", "[ - ] Ver Candidatos\n\ [ - ] Se Candidatar\n\ [ - ] Votar", "Escolher", "Cancelar"); } else return SCM(playerid, COLOR_YELLOW, "[Erro] Voce precisa estar na prefeitura!"); return 1; } CMD:votar(playerid, params[]) { //new gstring[128]; new strvip[2500]; MEGAString[0] = EOS; if(IsPlayerConnected(playerid)) { if(GetPlayerVirtualWorld(playerid) == 0) { if(EleicoesOn == 0) { SendClientMessage(playerid, COLOR_WHITE, "| INFO | As eleições não Estão abertas!"); return 1; } if(PlayerInfo[playerid][pVotou] != 0) return SendClientMessage(playerid, COLOR_WHITE, "Você ja Votou!"); if(PlayerToPoint(15.0, playerid, 358.8934,184.7769,1008.3828)) { new Voto; if(sscanf(params, "d", Voto)) { SendClientMessage(playerid, COLOR_WHITE, " Use: /Votar [Candidato (1 Até 3)]!"); format(gstring, sizeof(gstring), "Candidatos: 1 = %s, 2 = %s, 3 = %s.", CandidatoInfo[0][CandNome], CandidatoInfo[1][CandNome], CandidatoInfo[2][CandNome]/*, CandidatoInfo[3][CandNome],CandidatoInfo[4][CandNome]*/); SendClientMessage(playerid, COLOR_WHITE, gstring); format(gstring, sizeof(gstring), "Candidatos: 4 = %s, 5 = %s, 6 = %s.", CandidatoInfo[3][CandNome], CandidatoInfo[4][CandNome], CandidatoInfo[5][CandNome]/*, CandidatoInfo[3][CandNome],CandidatoInfo[4][CandNome]*/); SendClientMessage(playerid, COLOR_WHITE, gstring); format(gstring, sizeof(gstring), "Candidatos: 7 = %s, 8 = %s", CandidatoInfo[6][CandNome], CandidatoInfo[7][CandNome]/*, CandidatoInfo[3][CandNome],CandidatoInfo[4][CandNome]*/); SendClientMessage(playerid, COLOR_WHITE, gstring); } new randomvoto = 10000 + random(89999); new ResultVoto = Voto-1; switch(Voto) { case 1: { if(strcmp(CandidatoInfo[ResultVoto][CandNome],"Ninguem", true ) == 0 ) { SendClientMessage(playerid, COLOR_WHITE, " Não tem Nenhum candidato neste Número!"); format(gstring, sizeof(gstring), "Candidatos: 1 = %s, 2 = %s, 3 = %s.", CandidatoInfo[0][CandNome], CandidatoInfo[1][CandNome], CandidatoInfo[2][CandNome]/*, CandidatoInfo[3][CandNome],CandidatoInfo[4][CandNome]*/); SendClientMessage(playerid, COLOR_WHITE, gstring); format(gstring, sizeof(gstring), "Candidatos: 4 = %s, 5 = %s, 6 = %s.", CandidatoInfo[3][CandNome], CandidatoInfo[4][CandNome], CandidatoInfo[5][CandNome]/*, CandidatoInfo[3][CandNome],CandidatoInfo[4][CandNome]*/); SendClientMessage(playerid, COLOR_WHITE, gstring); format(gstring, sizeof(gstring), "Candidatos: 7 = %s, 8 = %s", CandidatoInfo[6][CandNome], CandidatoInfo[7][CandNome]/*, CandidatoInfo[3][CandNome],CandidatoInfo[4][CandNome]*/); SendClientMessage(playerid, COLOR_WHITE, gstring); return 1; } format(strvip, sizeof strvip,"{FFFFFF}---------------- [ {D2B48C}COMPROVANTE DE VOTO {FFFFFF}] ----------------\n\n"); strcat(MEGAString, strvip); format(strvip, sizeof strvip,"Código de Autenticação: {D2B48C}[%d]\n\n", randomvoto); strcat(MEGAString, strvip); format(strvip, sizeof strvip,"{FFFFFF}Você acaba de votar em: {D2B48C}[%s]\n\n", CandidatoInfo[ResultVoto][CandNome]); strcat(MEGAString, strvip); strcat(MEGAString, "*{B0C4DE}Se notar irregularidades, reporte imediatamente.*\n\n"); strcat(MEGAString, "*{FFA500}Obrigado por cumprir o papel de cidadão.*\n\n"); strcat(MEGAString, "*{B0C4DE}San Andreas Agradece !!*\n\n"); format(strvip, sizeof strvip,"{FFFFFF}---------------- [ {D2B48C}COMPROVANTE DE VOTO {FFFFFF}] ----------------\n\n"); strcat(MEGAString, strvip); ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, "Comprovante de Voto", MEGAString, "Fechar", ""); format(strvinny, sizeof(strvinny), "Eleições CNF: %s acaba de votar em algum candidato para Governador, Para votar vá a Prefeitura de LS.",PlayerName(playerid)); SendClientMessageToAll(0xFFB6C1FF,strvinny); CandidatoInfo[ResultVoto][CandVotos] ++; PlayerInfo[playerid][pVotou] = 1; } case 2: { if(strcmp(CandidatoInfo[ResultVoto][CandNome],"Ninguem", true ) == 0 ) { SendClientMessage(playerid, COLOR_WHITE, " Não tem Nenhum candidato neste Número!"); format(gstring, sizeof(gstring), "Candidatos: 1 = %s, 2 = %s, 3 = %s.", CandidatoInfo[0][CandNome], CandidatoInfo[1][CandNome], CandidatoInfo[2][CandNome]/*, CandidatoInfo[3][CandNome],CandidatoInfo[4][CandNome]*/); SendClientMessage(playerid, COLOR_WHITE, gstring); format(gstring, sizeof(gstring), "Candidatos: 4 = %s, 5 = %s, 6 = %s.", CandidatoInfo[3][CandNome], CandidatoInfo[4][CandNome], CandidatoInfo[5][CandNome]/*, CandidatoInfo[3][CandNome],CandidatoInfo[4][CandNome]*/); SendClientMessage(playerid, COLOR_WHITE, gstring); format(gstring, sizeof(gstring), "Candidatos: 7 = %s, 8 = %s", CandidatoInfo[6][CandNome], CandidatoInfo[7][CandNome]/*, CandidatoInfo[3][CandNome],CandidatoInfo[4][CandNome]*/); SendClientMessage(playerid, COLOR_WHITE, gstring); return 1; } format(strvip, sizeof strvip,"{FFFFFF}---------------- [ {D2B48C}COMPROVANTE DE VOTO {FFFFFF}] ----------------\n\n"); strcat(MEGAString, strvip); format(strvip, sizeof strvip,"Código de Autenticação: {D2B48C}[%d]\n\n", randomvoto); strcat(MEGAString, strvip); format(strvip, sizeof strvip,"{FFFFFF}Você acaba de votar em: {D2B48C}[%s]\n\n", CandidatoInfo[ResultVoto][CandNome]); strcat(MEGAString, strvip); strcat(MEGAString, "*{B0C4DE}Se notar irregularidades, reporte imediatamente.*\n\n"); strcat(MEGAString, "*{FFA500}Obrigado por cumprir o papel de cidadão.*\n\n"); strcat(MEGAString, "*{B0C4DE}San Andreas Agradece !!*\n\n"); format(strvip, sizeof strvip,"{FFFFFF}---------------- [ {D2B48C}COMPROVANTE DE VOTO {FFFFFF}] ----------------\n\n"); strcat(MEGAString, strvip); ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, "Comprovante de Voto", MEGAString, "Fechar", ""); format(strvinny, sizeof(strvinny), "Eleições CNF: %s acaba de votar em algum candidato para Governador, Para votar vá a Prefeitura de LS.",PlayerName(playerid)); SendClientMessageToAll(0xFFB6C1FF,strvinny); CandidatoInfo[ResultVoto][CandVotos] ++; PlayerInfo[playerid][pVotou] = 1; } case 3: { if(strcmp(CandidatoInfo[ResultVoto][CandNome],"Ninguem", true ) == 0 ) { SendClientMessage(playerid, COLOR_WHITE, " Não tem Nenhum candidato neste Número!"); format(gstring, sizeof(gstring), "Candidatos: 1 = %s, 2 = %s, 3 = %s.", CandidatoInfo[0][CandNome], CandidatoInfo[1][CandNome], CandidatoInfo[2][CandNome]/*, CandidatoInfo[3][CandNome],CandidatoInfo[4][CandNome]*/); SendClientMessage(playerid, COLOR_WHITE, gstring); format(gstring, sizeof(gstring), "Candidatos: 4 = %s, 5 = %s, 6 = %s.", CandidatoInfo[3][CandNome], CandidatoInfo[4][CandNome], CandidatoInfo[5][CandNome]/*, CandidatoInfo[3][CandNome],CandidatoInfo[4][CandNome]*/); SendClientMessage(playerid, COLOR_WHITE, gstring); format(gstring, sizeof(gstring), "Candidatos: 7 = %s, 8 = %s", CandidatoInfo[6][CandNome], CandidatoInfo[7][CandNome]/*, CandidatoInfo[3][CandNome],CandidatoInfo[4][CandNome]*/); SendClientMessage(playerid, COLOR_WHITE, gstring); return 1; } format(strvip, sizeof strvip,"{FFFFFF}---------------- [ {D2B48C}COMPROVANTE DE VOTO {FFFFFF}] ----------------\n\n"); strcat(MEGAString, strvip); format(strvip, sizeof strvip,"Código de Autenticação: {D2B48C}[%d]\n\n", randomvoto); strcat(MEGAString, strvip); format(strvip, sizeof strvip,"{FFFFFF}Você acaba de votar em: {D2B48C}[%s]\n\n", CandidatoInfo[ResultVoto][CandNome]); strcat(MEGAString, strvip); strcat(MEGAString, "*{B0C4DE}Se notar irregularidades, reporte imediatamente.*\n\n"); strcat(MEGAString, "*{FFA500}Obrigado por cumprir o papel de cidadão.*\n\n"); strcat(MEGAString, "*{B0C4DE}San Andreas Agradece !!*\n\n"); format(strvip, sizeof strvip,"{FFFFFF}---------------- [ {D2B48C}COMPROVANTE DE VOTO {FFFFFF}] ----------------\n\n"); strcat(MEGAString, strvip); ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, "Comprovante de Voto", MEGAString, "Fechar", ""); format(strvinny, sizeof(strvinny), "Eleições CNF: %s acaba de votar em algum candidato para Governador, Para votar vá a Prefeitura de LS.",PlayerName(playerid)); SendClientMessageToAll(0xFFB6C1FF,strvinny); CandidatoInfo[ResultVoto][CandVotos] ++; PlayerInfo[playerid][pVotou] = 1; } case 4: { if(strcmp(CandidatoInfo[ResultVoto][CandNome],"Ninguem", true ) == 0 ) { SendClientMessage(playerid, COLOR_WHITE, " Não tem Nenhum candidato neste Número!"); format(gstring, sizeof(gstring), "Candidatos: 1 = %s, 2 = %s, 3 = %s.", CandidatoInfo[0][CandNome], CandidatoInfo[1][CandNome], CandidatoInfo[2][CandNome]/*, CandidatoInfo[3][CandNome],CandidatoInfo[4][CandNome]*/); SendClientMessage(playerid, COLOR_WHITE, gstring); format(gstring, sizeof(gstring), "Candidatos: 4 = %s, 5 = %s, 6 = %s.", CandidatoInfo[3][CandNome], CandidatoInfo[4][CandNome], CandidatoInfo[5][CandNome]/*, CandidatoInfo[3][CandNome],CandidatoInfo[4][CandNome]*/); SendClientMessage(playerid, COLOR_WHITE, gstring); format(gstring, sizeof(gstring), "Candidatos: 7 = %s, 8 = %s", CandidatoInfo[6][CandNome], CandidatoInfo[7][CandNome]/*, CandidatoInfo[3][CandNome],CandidatoInfo[4][CandNome]*/); SendClientMessage(playerid, COLOR_WHITE, gstring); return 1; } format(strvip, sizeof strvip,"{FFFFFF}---------------- [ {D2B48C}COMPROVANTE DE VOTO {FFFFFF}] ----------------\n\n"); strcat(MEGAString, strvip); format(strvip, sizeof strvip,"Código de Autenticação: {D2B48C}[%d]\n\n", randomvoto); strcat(MEGAString, strvip); format(strvip, sizeof strvip,"{FFFFFF}Você acaba de votar em: {D2B48C}[%s]\n\n", CandidatoInfo[ResultVoto][CandNome]); strcat(MEGAString, strvip); strcat(MEGAString, "*{B0C4DE}Se notar irregularidades, reporte imediatamente.*\n\n"); strcat(MEGAString, "*{FFA500}Obrigado por cumprir o papel de cidadão.*\n\n"); strcat(MEGAString, "*{B0C4DE}San Andreas Agradece !!*\n\n"); format(strvip, sizeof strvip,"{FFFFFF}---------------- [ {D2B48C}COMPROVANTE DE VOTO {FFFFFF}] ----------------\n\n"); strcat(MEGAString, strvip); ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, "Comprovante de Voto", MEGAString, "Fechar", ""); format(strvinny, sizeof(strvinny), "Eleições CNF: %s acaba de votar em algum candidato para Governador, Para votar vá a Prefeitura de LS.",PlayerName(playerid)); SendClientMessageToAll(0xFFB6C1FF,strvinny); CandidatoInfo[ResultVoto][CandVotos] ++; PlayerInfo[playerid][pVotou] = 1; } case 5: { if(strcmp(CandidatoInfo[ResultVoto][CandNome],"Ninguem", true ) == 0 ) { SendClientMessage(playerid, COLOR_WHITE, " Não tem Nenhum candidato neste Número!"); format(gstring, sizeof(gstring), "Candidatos: 1 = %s, 2 = %s, 3 = %s.", CandidatoInfo[0][CandNome], CandidatoInfo[1][CandNome], CandidatoInfo[2][CandNome]/*, CandidatoInfo[3][CandNome],CandidatoInfo[4][CandNome]*/); SendClientMessage(playerid, COLOR_WHITE, gstring); format(gstring, sizeof(gstring), "Candidatos: 4 = %s, 5 = %s, 6 = %s.", CandidatoInfo[3][CandNome], CandidatoInfo[4][CandNome], CandidatoInfo[5][CandNome]/*, CandidatoInfo[3][CandNome],CandidatoInfo[4][CandNome]*/); SendClientMessage(playerid, COLOR_WHITE, gstring); format(gstring, sizeof(gstring), "Candidatos: 7 = %s, 8 = %s", CandidatoInfo[6][CandNome], CandidatoInfo[7][CandNome]/*, CandidatoInfo[3][CandNome],CandidatoInfo[4][CandNome]*/); SendClientMessage(playerid, COLOR_WHITE, gstring); return 1; } format(strvip, sizeof strvip,"{FFFFFF}---------------- [ {D2B48C}COMPROVANTE DE VOTO {FFFFFF}] ----------------\n\n"); strcat(MEGAString, strvip); format(strvip, sizeof strvip,"Código de Autenticação: {D2B48C}[%d]\n\n", randomvoto); strcat(MEGAString, strvip); format(strvip, sizeof strvip,"{FFFFFF}Você acaba de votar em: {D2B48C}[%s]\n\n", CandidatoInfo[ResultVoto][CandNome]); strcat(MEGAString, strvip); strcat(MEGAString, "*{B0C4DE}Se notar irregularidades, reporte imediatamente.*\n\n"); strcat(MEGAString, "*{FFA500}Obrigado por cumprir o papel de cidadão.*\n\n"); strcat(MEGAString, "*{B0C4DE}San Andreas Agradece !!*\n\n"); format(strvip, sizeof strvip,"{FFFFFF}---------------- [ {D2B48C}COMPROVANTE DE VOTO {FFFFFF}] ----------------\n\n"); strcat(MEGAString, strvip); ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, "Comprovante de Voto", MEGAString, "Fechar", ""); format(strvinny, sizeof(strvinny), "Eleições CNF: %s acaba de votar em algum candidato para Governador, Para votar vá a Prefeitura de LS.",PlayerName(playerid)); SendClientMessageToAll(0xFFB6C1FF,strvinny); CandidatoInfo[ResultVoto][CandVotos] ++; PlayerInfo[playerid][pVotou] = 1; } case 6: { if(strcmp(CandidatoInfo[ResultVoto][CandNome],"Ninguem", true ) == 0 ) { SendClientMessage(playerid, COLOR_WHITE, " Não tem Nenhum candidato neste Número!"); format(gstring, sizeof(gstring), "Candidatos: 1 = %s, 2 = %s, 3 = %s.", CandidatoInfo[0][CandNome], CandidatoInfo[1][CandNome], CandidatoInfo[2][CandNome]/*, CandidatoInfo[3][CandNome],CandidatoInfo[4][CandNome]*/); SendClientMessage(playerid, COLOR_WHITE, gstring); format(gstring, sizeof(gstring), "Candidatos: 4 = %s, 5 = %s, 6 = %s.", CandidatoInfo[3][CandNome], CandidatoInfo[4][CandNome], CandidatoInfo[5][CandNome]/*, CandidatoInfo[3][CandNome],CandidatoInfo[4][CandNome]*/); SendClientMessage(playerid, COLOR_WHITE, gstring); format(gstring, sizeof(gstring), "Candidatos: 7 = %s, 8 = %s", CandidatoInfo[6][CandNome], CandidatoInfo[7][CandNome]/*, CandidatoInfo[3][CandNome],CandidatoInfo[4][CandNome]*/); SendClientMessage(playerid, COLOR_WHITE, gstring); return 1; } format(strvip, sizeof strvip,"{FFFFFF}---------------- [ {D2B48C}COMPROVANTE DE VOTO {FFFFFF}] ----------------\n\n"); strcat(MEGAString, strvip); format(strvip, sizeof strvip,"Código de Autenticação: {D2B48C}[%d]\n\n", randomvoto); strcat(MEGAString, strvip); format(strvip, sizeof strvip,"{FFFFFF}Você acaba de votar em: {D2B48C}[%s]\n\n", CandidatoInfo[ResultVoto][CandNome]); strcat(MEGAString, strvip); strcat(MEGAString, "*{B0C4DE}Se notar irregularidades, reporte imediatamente.*\n\n"); strcat(MEGAString, "*{FFA500}Obrigado por cumprir o papel de cidadão.*\n\n"); strcat(MEGAString, "*{B0C4DE}San Andreas Agradece !!*\n\n"); format(strvip, sizeof strvip,"{FFFFFF}---------------- [ {D2B48C}COMPROVANTE DE VOTO {FFFFFF}] ----------------\n\n"); strcat(MEGAString, strvip); ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, "Comprovante de Voto", MEGAString, "Fechar", ""); format(strvinny, sizeof(strvinny), "Eleições CNF: %s acaba de votar em algum candidato para Governador, Para votar vá a Prefeitura de LS.",PlayerName(playerid)); SendClientMessageToAll(0xFFB6C1FF,strvinny); CandidatoInfo[ResultVoto][CandVotos] ++; PlayerInfo[playerid][pVotou] = 1; } case 7: { if(strcmp(CandidatoInfo[ResultVoto][CandNome],"Ninguem", true ) == 0 ) { SendClientMessage(playerid, COLOR_WHITE, " Não tem Nenhum candidato neste Número!"); format(gstring, sizeof(gstring), "Candidatos: 1 = %s, 2 = %s, 3 = %s.", CandidatoInfo[0][CandNome], CandidatoInfo[1][CandNome], CandidatoInfo[2][CandNome]/*, CandidatoInfo[3][CandNome],CandidatoInfo[4][CandNome]*/); SendClientMessage(playerid, COLOR_WHITE, gstring); format(gstring, sizeof(gstring), "Candidatos: 4 = %s, 5 = %s, 6 = %s.", CandidatoInfo[3][CandNome], CandidatoInfo[4][CandNome], CandidatoInfo[5][CandNome]/*, CandidatoInfo[3][CandNome],CandidatoInfo[4][CandNome]*/); SendClientMessage(playerid, COLOR_WHITE, gstring); format(gstring, sizeof(gstring), "Candidatos: 7 = %s, 8 = %s", CandidatoInfo[6][CandNome], CandidatoInfo[7][CandNome]/*, CandidatoInfo[3][CandNome],CandidatoInfo[4][CandNome]*/); SendClientMessage(playerid, COLOR_WHITE, gstring); return 1; } format(strvip, sizeof strvip,"{FFFFFF}---------------- [ {D2B48C}COMPROVANTE DE VOTO {FFFFFF}] ----------------\n\n"); strcat(MEGAString, strvip); format(strvip, sizeof strvip,"Código de Autenticação: {D2B48C}[%d]\n\n", randomvoto); strcat(MEGAString, strvip); format(strvip, sizeof strvip,"{FFFFFF}Você acaba de votar em: {D2B48C}[%s]\n\n", CandidatoInfo[ResultVoto][CandNome]); strcat(MEGAString, strvip); strcat(MEGAString, "*{B0C4DE}Se notar irregularidades, reporte imediatamente.*\n\n"); strcat(MEGAString, "*{FFA500}Obrigado por cumprir o papel de cidadão.*\n\n"); strcat(MEGAString, "*{B0C4DE}San Andreas Agradece !!*\n\n"); format(strvip, sizeof strvip,"{FFFFFF}---------------- [ {D2B48C}COMPROVANTE DE VOTO {FFFFFF}] ----------------\n\n"); strcat(MEGAString, strvip); ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, "Comprovante de Voto", MEGAString, "Fechar", ""); format(strvinny, sizeof(strvinny), "Eleições CNF: %s acaba de votar em algum candidato para Governador, Para votar vá a Prefeitura de LS.",PlayerName(playerid)); SendClientMessageToAll(0xFFB6C1FF,strvinny); CandidatoInfo[ResultVoto][CandVotos] ++; PlayerInfo[playerid][pVotou] = 1; } case 8: { if(strcmp(CandidatoInfo[ResultVoto][CandNome],"Ninguem", true ) == 0 ) { SendClientMessage(playerid, COLOR_WHITE, " Não tem Nenhum candidato neste Número!"); format(gstring, sizeof(gstring), "Candidatos: 1 = %s, 2 = %s, 3 = %s.", CandidatoInfo[0][CandNome], CandidatoInfo[1][CandNome], CandidatoInfo[2][CandNome]/*, CandidatoInfo[3][CandNome],CandidatoInfo[4][CandNome]*/); SendClientMessage(playerid, COLOR_WHITE, gstring); format(gstring, sizeof(gstring), "Candidatos: 4 = %s, 5 = %s, 6 = %s.", CandidatoInfo[3][CandNome], CandidatoInfo[4][CandNome], CandidatoInfo[5][CandNome]/*, CandidatoInfo[3][CandNome],CandidatoInfo[4][CandNome]*/); SendClientMessage(playerid, COLOR_WHITE, gstring); format(gstring, sizeof(gstring), "Candidatos: 7 = %s, 8 = %s", CandidatoInfo[6][CandNome], CandidatoInfo[7][CandNome]/*, CandidatoInfo[3][CandNome],CandidatoInfo[4][CandNome]*/); SendClientMessage(playerid, COLOR_WHITE, gstring); return 1; } format(strvip, sizeof strvip,"{FFFFFF}---------------- [ {D2B48C}COMPROVANTE DE VOTO {FFFFFF}] ----------------\n\n"); strcat(MEGAString, strvip); format(strvip, sizeof strvip,"Código de Autenticação: {D2B48C}[%d]\n\n", randomvoto); strcat(MEGAString, strvip); format(strvip, sizeof strvip,"{FFFFFF}Você acaba de votar em: {D2B48C}[%s]\n\n", CandidatoInfo[ResultVoto][CandNome]); strcat(MEGAString, strvip); strcat(MEGAString, "*{B0C4DE}Se notar irregularidades, reporte imediatamente.*\n\n"); strcat(MEGAString, "*{FFA500}Obrigado por cumprir o papel de cidadão.*\n\n"); strcat(MEGAString, "*{B0C4DE}San Andreas Agradece !!*\n\n"); format(strvip, sizeof strvip,"{FFFFFF}---------------- [ {D2B48C}COMPROVANTE DE VOTO {FFFFFF}] ----------------\n\n"); strcat(MEGAString, strvip); ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, "Comprovante de Voto", MEGAString, "Fechar", ""); format(strvinny, sizeof(strvinny), "Eleições CNF: %s acaba de votar em algum candidato para Governador, Para votar vá a Prefeitura de LS.",PlayerName(playerid)); SendClientMessageToAll(0xFFB6C1FF,strvinny); CandidatoInfo[ResultVoto][CandVotos] ++; PlayerInfo[playerid][pVotou] = 1; } } SaveEleicoes(); } else { SendClientMessage(playerid, COLOR_WHITE, " Você não está na Sala de Votação na Prefeitura!"); return 1; } } } return 1; } CMD:candidatos(playerid) { if (IsPlayerConnected(playerid)) { new strvip[2500]; MEGAString[0] = EOS; format(strvip, sizeof strvip, "{FFFFFF}----------- [ {FFB6C1}CANDIDATOS CNF {FFFFFF}]-----------\n\n"); strcat(MEGAString, strvip); format(strvip, sizeof strvip,"{FFFFFF}Candidato Número 1: {6495ED}%s.\n\n", CandidatoInfo[0][CandNome]); strcat(MEGAString, strvip); format(strvip, sizeof strvip,"{FFFFFF}Candidato Número 2: {FF69B4}%s.\n\n", CandidatoInfo[1][CandNome]); strcat(MEGAString, strvip); format(strvip, sizeof strvip,"{FFFFFF}Candidato Número 3: {6495ED}%s.\n\n", CandidatoInfo[2][CandNome]); strcat(MEGAString, strvip); format(strvip, sizeof strvip,"{FFFFFF}Candidato Número 4: {FF69B4}%s.\n\n", CandidatoInfo[3][CandNome]); strcat(MEGAString, strvip); format(strvip, sizeof strvip,"{FFFFFF}Candidato Número 5: {6495ED}%s.\n\n", CandidatoInfo[4][CandNome]); strcat(MEGAString, strvip); format(strvip, sizeof strvip,"{FFFFFF}Candidato Número 6: {FF69B4}%s.\n\n", CandidatoInfo[5][CandNome]); strcat(MEGAString, strvip); format(strvip, sizeof strvip,"{FFFFFF}Candidato Número 7: {6495ED}%s.\n\n", CandidatoInfo[6][CandNome]); strcat(MEGAString, strvip); format(strvip, sizeof strvip,"{FFFFFF}Candidato Número 8: {FF69B4}%s.\n\n", CandidatoInfo[7][CandNome]); strcat(MEGAString, strvip); format(strvip, sizeof strvip,"{FFFFFF}Candidato Número 8: {FF69B4}%s.\n\n", CandidatoInfo[8][CandNome]); strcat(MEGAString, strvip); format(strvip, sizeof strvip,"{FFFFFF}Candidato Número 8: {FF69B4}%s.\n\n", CandidatoInfo[9][CandNome]); strcat(MEGAString, strvip); format(strvip, sizeof strvip,"{FFFFFF}Candidato Número 8: {FF69B4}%s.\n\n", CandidatoInfo[10][CandNome]); strcat(MEGAString, strvip); format(strvip, sizeof strvip, "{FFFFFF}----------- [ {FFB6C1}CANDIDATOS CNF {FFFFFF}]-----------\n\n"); strcat(MEGAString, strvip); ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, "Eleicoes", MEGAString, "Fechar", ""); } return 1; } CMD:eleicoes(playerid) { if(IsPlayerConnected(playerid)) { new string[100]; if(PlayerInfo[playerid][pAdmin] < 1338) return SendClientMessage(playerid, COLOR_WHITE, LEVELADM); if (EleicoesOn == 0) { EleicoesOn = 1; MensagemFormatadaAll(0x3CB371FF, "| ELEICOES CNF | {FFFFFF}[%s] acaba de iniciar as {00FFFF}Eleições {FFFFFF}/candidatos para mais informações.",PlayerName(playerid)); for(new o=0; o= vencedoreleicoes) { vencedoreleicoes = CandidatoInfo[o][CandVotos]; } } for(new o=0; o 100 || gastanto < 1) return SendClientMessage(playerid, COLOR_WHITE, "Gasolina: Litros [de 1 à 100]!"); Refueling[playerid] = gastanto; GasETanto[playerid] = Gas[GetPlayerVehicleID(playerid)]+Refueling[playerid]; if(GasETanto[playerid] > 100) { GasETanto[playerid] = 100; } format(gstring,sizeof(gstring)," Reabastecendo Seu carro com %d Litros de Combustivel, Aguarde.",gastanto); SendClientMessage(playerid,COLOR_LIGHTBLUE,gstring); TogglePlayerControllableEx(playerid, 0); Abastecendo(playerid); BizzInfo[10][bTill] += 50; ExtortionBiz(10, 50); } return 1; } CMD:iniciarhay(playerid, params[]) { new Str[128]; if(sscanf(params, "d", moneyHay)) return SendClientMessage(playerid, COLOR_GREY, "USE: /iniciarhay [premio]"); if(PlayerInfo[playerid][pAdmin] < 1338) return SendClientMessage(playerid, COLOR_GRAD1, LEVELADM); if(EventoHayIniciado) return SendClientMessage(playerid, COLOR_GRAD1, "Hay ja iniciado, use /destruirhay primeiro!"); if(GetPlayerMoney(playerid) < moneyHay) return SendClientMessage(playerid, COLOR_GRAD1, "Você não tem dinheiro suficiente para pagar o prêmio."); if(moneyHay < 100000) return SendClientMessage(playerid, COLOR_GRAD1, "Os prêmios devem ficar acima de 100000."); GiveDinheiro(playerid, -moneyHay); SendClientMessageToAll(TEAM_BALLAS_COLOR, "__________________________________________________________________________________________________________________"); format(Str, sizeof Str, "HAY: O admin %s criou um evento de HAY, Vá até a empresa de eventos para participar!", NomePlayer(playerid)); SendClientMessageToAll(TEAM_BALLAS_COLOR, Str); format(Str, sizeof Str, "Prêmio: R$%s", ConvertMoney(moneyHay)); SendClientMessageToAll(TEAM_BALLAS_COLOR, Str); SendClientMessageToAll(TEAM_BALLAS_COLOR, "__________________________________________________________________________________________________________________"); EventoHayIniciado = 1; typeevento = 3; RestartEveryThing(); for(new i; i != MAX_PLAYERS; i++) { JoinedHay[i] = 0; } return 1; } CMD:destruirhay(playerid) { if(PlayerInfo[playerid][pAdmin] < 1338) return SendClientMessage(playerid, COLOR_GRAD1, LEVELADM); new Str[128]; format(Str, sizeof Str, "* O admin %s destruiu o evento de HAY!", NomePlayer(playerid)); SendClientMessageToAll(TEAM_BALLAS_COLOR, Str); EventoHayIniciado = 0; DestroyHay(); for(new i; i != MAX_PLAYERS; i++) { JoinedHay[i] = 0; } return 1; } CMD:caixinha(playerid, result[])return ForT:presente(playerid, result); CMD:presente(playerid, result[]) { if(PlayerInfo[playerid][pVIP] < 3) return SendClientMessage(playerid, COLOR_GRAD1, "| ERRO | Apenas sócios podem usar este comando."); if(Caixaon == false) return SendClientMessage(playerid, COLOR_GRAD1, "Presentes foram Desativada por um Adm."); new string[1000]; new ItemVIP = random(50); if(PlayerInfo[playerid][pPlatina] == char) return SendClientMessage(playerid,0xFFFFFFAA,"Info: Você poderá pegar outro presente após o próximo {FFA54F}PayDay{FFFFFF}."); if(ItemVIP == 43 || ItemVIP == 22 || ItemVIP == 31 || ItemVIP == 32 || ItemVIP == 49 || ItemVIP == 23) { format(string, sizeof(string), "[Caixa Surpresa]:{FFFFFF} %s(ID:%d) pegou uma | Caixa Supresa {FACC2E}Grande.",PlayerName(playerid),playerid); SendClientMessageToAll(0x00BFFFFF,string); PlayerInfo[playerid][pPlatina] = char; AddItem(playerid, 19056, 1); return 1; } if(ItemVIP == 14 || ItemVIP == 16 || ItemVIP == 40 || ItemVIP == 1 || ItemVIP == 38 || ItemVIP == 23 || ItemVIP == 25 || ItemVIP == 28) { format(string, sizeof(string), "[Caixa Surpresa]:{FFFFFF} %s(ID:%d) pegou uma | Caixa Supresa {5FB404}Media.",PlayerName(playerid),playerid); SendClientMessageToAll(0x00BFFFFF,string); PlayerInfo[playerid][pPlatina] = char; SendClientMessage(playerid, 0x33CCFFFF, "*O Presente esta em seu inventario, use /inventario para abri-lo !"); AddItem(playerid, 19055, 1); return 1; } if(ItemVIP == 15 || ItemVIP == 9 || ItemVIP == 18 || ItemVIP == 50) { format(string, sizeof(string), "[Caixa Surpresa]:{FFFFFF} %s(ID:%d) pegou uma | Caixa Supresa {FBED2D}Gigante.",PlayerName(playerid),playerid); SendClientMessageToAll(0x00BFFFFF,string); PlayerInfo[playerid][pPlatina] = char; SendClientMessage(playerid, 0x33CCFFFF, "*O Presente esta em seu inventario, use /inventario para abri-lo !"); AddItem(playerid, 19058, 1); return 1; } if(ItemVIP == 2) { format(string, sizeof(string), "[Caixa Surpresa]:{FFFFFF} %s(ID:%d) pegou uma | Caixa Supresa {2E37F3}Reveillon.",PlayerName(playerid),playerid); SendClientMessageToAll(0x00BFFFFF,string); PlayerInfo[playerid][pPlatina] = char; SendClientMessage(playerid, 0x33CCFFFF, "*O Presente esta em seu inventario, use /inventario para abri-lo !"); AddItem(playerid, 19059, 1); return 1; } if(ItemVIP == 3) { format(string, sizeof(string), "[Caixa Surpresa]:{FFFFFF} %s(ID:%d) pegou uma | Caixa Supresa {FF5A00}Extreme.",PlayerName(playerid),playerid); SendClientMessageToAll(0x00BFFFFF,string); PlayerInfo[playerid][pPlatina] = char; SendClientMessage(playerid, 0x33CCFFFF, "*O Presente esta em seu inventario, use /inventario para abri-lo !"); AddItem(playerid, 19057, 1); return 1; } format(string, sizeof(string), "[Caixa Surpresa]:{FFFFFF} %s(ID:%d) pegou uma | Caixa Supresa {F78181}Pequena.",PlayerName(playerid),playerid); SendClientMessageToAll(0x00BFFFFF,string); PlayerInfo[playerid][pPlatina] = char; SendClientMessage(playerid, 0x33CCFFFF, "*O Presente esta em seu inventario, use /inventario para abri-lo !"); AddItem(playerid, 19054, 1); return 1; } /*CMD:oferecerporte(playerid,params[]) { new gstring[256]; if(sscanf(params, "u", giveplayerid)) return SendClientMessage(playerid,COLOR_GRAD1,"[ INFO ] USE: /oferecerporte [ID]"); if(PlayerInfo[playerid][pLider] != 11) return SendClientMessage(playerid,COLOR_GRAD1,"[ INFO ] Somente o delegado da polícia federal tem autorização"); if(PlayerInfo[playerid][pGunLic] != 0) return SendClientMessage(playerid,COLOR_GRAD1,"[ INFO ] Somente pode ser oferecido porte a quem não tem."); if(IsPlayerConnected(giveplayerid)) { if (ProxDetectorS(8.0, playerid, giveplayerid)) { MensagemFormatada(playerid, 0xEEE8AAFF, "[ INFO ] Você ofereceu porte de armas para %s(%d)",PlayerName(giveplayerid),giveplayerid); MensagemFormatada(giveplayerid, 0xEEE8AAFF, "[ INFO ] %s está te oferecendo um porte de armas, VALOR: R$50.000",PlayerName(playerid),playerid); SendClientMessage(giveplayerid, COLOR_YELLOW, "[ ! ] Para aceitar digite /aceitar porte"); OfPorteArmas[giveplayerid] = playerid; format(gstring, sizeof gstring, "[ ! ATENÇAO ! ] O delegado da PF acaba de oferecer porte para %s", NomePlayer(giveplayerid), playerid); ABroadCast(COLOR_YELLOW,gstring, 1); } else { SendClientMessage(playerid, COLOR_GREY, " O Jogador esta longe de Voce !"); return true; } } return 1; }*/ CMD:darlicencas(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] >= 1341) { if(admtrampando[playerid] < 1 && PlayerInfo[playerid][pAdmin] < 1340) return SendClientMessage(playerid, COLOR_GRAD1, TRABALHARADM); if(sscanf(params, "u", giveplayerid)) return SendClientMessage(playerid, COLOR_WHITE, "USE: /darlicencas [ID do Player]"); if(IsPlayerConnected(giveplayerid)) { if(giveplayerid != INVALID_PLAYER_ID) { new string[128]; MensagemFormatada(playerid, COLOR_LIGHTBLUE, "[ INFO ] Você deu todas as licenças para %s(%d)",PlayerName(giveplayerid),giveplayerid); if(admtrampando[playerid] == 1 && admhide[playerid] == 1) { format(string, sizeof(string), "* Admin MOLE lhe deu todas as licencas."); } else { format(string, sizeof(string), "* Admin %s lhe deu todas as licencas.",PlayerName(playerid)); } SendClientMessage(giveplayerid, COLOR_LIGHTBLUE, string); PlayerInfo[giveplayerid][pBoatLic] = 1; PlayerInfo[giveplayerid][pFlyLic] = 1; PlayerInfo[giveplayerid][pCarLic] = 1; PlayerInfo[giveplayerid][pGunLic] = 1; return true; } } else { SendClientMessage(playerid, COLOR_GREY, " O Jogador Esta Offline !"); return true; } } else { SendClientMessage(playerid, COLOR_GRAD1, LEVELADM); return true; } return true; } CMD:rlicencas(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] >= 1341) { if(admtrampando[playerid] < 1 && PlayerInfo[playerid][pAdmin] < 1340) return SendClientMessage(playerid, COLOR_GRAD1, TRABALHARADM); if(sscanf(params, "u", giveplayerid)) return SendClientMessage(playerid, COLOR_WHITE, "USE: /rlicencas [ID do Player]"); if(IsPlayerConnected(giveplayerid)) { if(giveplayerid != INVALID_PLAYER_ID) { new string[128]; MensagemFormatada(playerid, COLOR_LIGHTBLUE, "[ INFO ] Você retirou todas as licenças de %s(%d)",PlayerName(giveplayerid),giveplayerid); if(admtrampando[playerid] == 1 && admhide[playerid] == 1) { format(string, sizeof(string), "* Admin MOLE retirou todas as suas licencas."); } else { format(string, sizeof(string), "* Admin %s retirou todas as suas licencas.",PlayerName(playerid)); } SendClientMessage(giveplayerid, COLOR_LIGHTBLUE, string); PlayerInfo[giveplayerid][pBoatLic] = 0; PlayerInfo[giveplayerid][pFlyLic] = 0; PlayerInfo[giveplayerid][pCarLic] = 0; return true; } } else { SendClientMessage(playerid, COLOR_GREY, " O Jogador Esta Offline !"); return true; } } else { SendClientMessage(playerid, COLOR_GRAD1, LEVELADM); return true; } return true; } CMD:stopanim(playerid) { if(IsPlayerInAnyVehicle(playerid)) return 1; ClearAnimations(playerid); return 1; } CMD:trocarvagas(playerid, params[]) { if(PlayerInfo[playerid][pLider] < 1) return SendClientMessage(playerid, COLOR_GRAD2, "Somente lideres podem usar este comando!"); new vaga1, vaga2; if(sscanf(params, "dd", vaga1, vaga2)) return SendClientMessage(playerid, COLOR_GRAD2, "USE: /trocarvagas [Vaga1][Vaga2]"); if(vaga1 > 30 || vaga2 > 30 || vaga1 < 1 || vaga1 < 1) return SendClientMessage(playerid, TEAM_BALLAS_COLOR, "Troca de membros invalida!"); //Armazenando a org do player na variavel org new org = GetPlayerOrg(playerid); //variavel para armazenar a vaga new changemembro[40], string[128]; //Variavel Armazena membros new ActualMembro[31][30]; //Armazenando os membros em variaveis format(ActualMembro[1],30, InfoOrg[org][Membro1]); format(ActualMembro[2],30, InfoOrg[org][Membro2]); format(ActualMembro[3],30, InfoOrg[org][Membro3]); format(ActualMembro[4],30, InfoOrg[org][Membro4]); format(ActualMembro[5],30, InfoOrg[org][Membro5]); format(ActualMembro[6],30, InfoOrg[org][Membro6]); format(ActualMembro[7],30, InfoOrg[org][Membro7]); format(ActualMembro[8],30, InfoOrg[org][Membro8]); format(ActualMembro[9],30, InfoOrg[org][Membro9]); format(ActualMembro[10],30, InfoOrg[org][Membro10]); format(ActualMembro[11],30, InfoOrg[org][Membro11]); format(ActualMembro[12],30, InfoOrg[org][Membro12]); format(ActualMembro[13],30, InfoOrg[org][Membro13]); format(ActualMembro[14],30, InfoOrg[org][Membro14]); format(ActualMembro[15],30, InfoOrg[org][Membro15]); format(ActualMembro[16],30, InfoOrg[org][Membro16]); format(ActualMembro[17],30, InfoOrg[org][Membro17]); format(ActualMembro[18],30, InfoOrg[org][Membro18]); format(ActualMembro[19],30, InfoOrg[org][Membro19]); format(ActualMembro[20],30, InfoOrg[org][Membro20]); format(ActualMembro[21],30, InfoOrg[org][Membro21]); format(ActualMembro[22],30, InfoOrg[org][Membro22]); format(ActualMembro[23],30, InfoOrg[org][Membro23]); format(ActualMembro[24],30, InfoOrg[org][Membro24]); format(ActualMembro[25],30, InfoOrg[org][Membro25]); format(ActualMembro[26],30, InfoOrg[org][Membro26]); format(ActualMembro[27],30, InfoOrg[org][Membro27]); format(ActualMembro[28],30, InfoOrg[org][Membro28]); format(ActualMembro[29],30, InfoOrg[org][Membro29]); format(ActualMembro[30],30, InfoOrg[org][Membro30]); //Vaga a ser trocada format(changemembro, 40, ActualMembro[vaga1]); //Avisando format(string, 128, "*Voce trocou a vaga {FFFF00}%d ''%s'' {FFFFFF}para a vaga {FFFF00}%d ''%s''", vaga1, ActualMembro[vaga1], vaga2, ActualMembro[vaga2]); SendClientMessage(playerid, -1, string); //Trocando as vagas format(ActualMembro[vaga1], 30, ActualMembro[vaga2]); format(ActualMembro[vaga2], 30, changemembro); //Setando as variaveis devolta format(InfoOrg[org][Membro1], 74, ActualMembro[1]); format(InfoOrg[org][Membro2], 74, ActualMembro[2]); format(InfoOrg[org][Membro3], 74, ActualMembro[3]); format(InfoOrg[org][Membro4], 74, ActualMembro[4]); format(InfoOrg[org][Membro5], 74, ActualMembro[5]); format(InfoOrg[org][Membro6], 74, ActualMembro[6]); format(InfoOrg[org][Membro7], 74, ActualMembro[7]); format(InfoOrg[org][Membro8], 74, ActualMembro[8]); format(InfoOrg[org][Membro9], 74, ActualMembro[9]); format(InfoOrg[org][Membro10], 74, ActualMembro[10]); format(InfoOrg[org][Membro11], 74, ActualMembro[11]); format(InfoOrg[org][Membro12], 74, ActualMembro[12]); format(InfoOrg[org][Membro13], 74, ActualMembro[13]); format(InfoOrg[org][Membro14], 74, ActualMembro[14]); format(InfoOrg[org][Membro15], 74, ActualMembro[15]); format(InfoOrg[org][Membro16], 74, ActualMembro[16]); format(InfoOrg[org][Membro17], 74, ActualMembro[17]); format(InfoOrg[org][Membro18], 74, ActualMembro[18]); format(InfoOrg[org][Membro19], 74, ActualMembro[19]); format(InfoOrg[org][Membro20], 74, ActualMembro[20]); format(InfoOrg[org][Membro21], 74, ActualMembro[21]); format(InfoOrg[org][Membro22], 74, ActualMembro[22]); format(InfoOrg[org][Membro23], 74, ActualMembro[23]); format(InfoOrg[org][Membro24], 74, ActualMembro[24]); format(InfoOrg[org][Membro25], 74, ActualMembro[25]); format(InfoOrg[org][Membro26], 74, ActualMembro[26]); format(InfoOrg[org][Membro27], 74, ActualMembro[27]); format(InfoOrg[org][Membro28], 74, ActualMembro[28]); format(InfoOrg[org][Membro29], 74, ActualMembro[29]); format(InfoOrg[org][Membro30], 74, ActualMembro[30]); new arquivo[128]; format(arquivo, sizeof(arquivo), Pasta_MembrosOrg,org); new savearq[20]; format(savearq, 20, "Membro%d", vaga1); DOF2_SetString(arquivo, savearq, ActualMembro[vaga1]); format(savearq, 20, "Membro%d", vaga2); DOF2_SetString(arquivo, savearq, ActualMembro[vaga2]); DOF2_SaveFile(); return true; } //=====================================[INFOORG]================================// CMD:limparvaga(playerid, vaga[]) { if(PlayerInfo[playerid][pLider] < 1) return SendClientMessage(playerid, COLOR_GRAD2, "Somente lideres podem usar este comando!"); if(sscanf(vaga, "s[24]", vaga)) return SendClientMessage(playerid, COLOR_GRAD2, "USE: /limparvaga [Vaga]"); new Vaga2 = strval(vaga); new org = GetPlayerOrg(playerid); new arquivo[128], id; format(arquivo, sizeof(arquivo), Pasta_MembrosOrg,org); if(strcmp(vaga,"sub",true)==0) { if(IsPlayerOnline(InfoOrg[org][SubLider])) { id=GetPlayerID(InfoOrg[org][SubLider]); Demitir(playerid, id); } strmid(InfoOrg[org][SubLider], "Ninguem", 0, strlen("Ninguem"), 255); DOF2_SetString(arquivo,"SubLider","Ninguem"); DOF2_SaveFile(); SendClientMessage(playerid, COLOR_YELLOW2,"Voce Limpou a Vaga do Sub Lider"); return true; } if(Vaga2 == 1)// id da vaga { id=GetPlayerID(InfoOrg[org][Membro1]); if(IsPlayerOnline(InfoOrg[org][Membro1])) Demitir(playerid, id); strmid(InfoOrg[org][Membro1], "Ninguem", 0, strlen("Ninguem"), 255); DOF2_SetString(arquivo,"Membro1","Ninguem"); DOF2_SaveFile(); SendClientMessage(playerid, COLOR_YELLOW2,"Voce Limpou a Vaga 1"); return true; } if(Vaga2 == 2)// id da vaga { id=GetPlayerID(InfoOrg[org][Membro2]); if(IsPlayerOnline(InfoOrg[org][Membro2])) Demitir(playerid, id); strmid(InfoOrg[org][Membro2], "Ninguem", 0, strlen("Ninguem"), 255); DOF2_SetString(arquivo,"Membro2","Ninguem"); DOF2_SaveFile(); SendClientMessage(playerid, COLOR_YELLOW2,"Voce Limpou a Vaga 2"); } if(Vaga2 == 3)// id da vaga { id=GetPlayerID(InfoOrg[org][Membro3]); if(IsPlayerOnline(InfoOrg[org][Membro3])) Demitir(playerid, id); strmid(InfoOrg[org][Membro3], "Ninguem", 0, strlen("Ninguem"), 255); DOF2_SetString(arquivo,"Membro3","Ninguem"); DOF2_SaveFile(); SendClientMessage(playerid, COLOR_YELLOW2,"Voce Limpou a Vaga 3"); } if(Vaga2 == 4)// id da vaga { id=GetPlayerID(InfoOrg[org][Membro4]); if(IsPlayerOnline(InfoOrg[org][Membro4])) Demitir(playerid, id); strmid(InfoOrg[org][Membro4], "Ninguem", 0, strlen("Ninguem"), 255); DOF2_SetString(arquivo,"Membro4","Ninguem"); DOF2_SaveFile(); SendClientMessage(playerid, COLOR_YELLOW2,"Voce Limpou a Vaga 4"); } if(Vaga2 == 5)// id da vaga { id=GetPlayerID(InfoOrg[org][Membro5]); if(IsPlayerOnline(InfoOrg[org][Membro5])) Demitir(playerid, id); strmid(InfoOrg[org][Membro5], "Ninguem", 0, strlen("Ninguem"), 255); DOF2_SetString(arquivo,"Membro5","Ninguem"); DOF2_SaveFile(); SendClientMessage(playerid, COLOR_YELLOW2,"Voce Limpou a Vaga 5"); } if(Vaga2 == 6)// id da vaga { id=GetPlayerID(InfoOrg[org][Membro6]); if(IsPlayerOnline(InfoOrg[org][Membro6])) Demitir(playerid, id); strmid(InfoOrg[org][Membro6], "Ninguem", 0, strlen("Ninguem"), 255); DOF2_SetString(arquivo,"Membro6","Ninguem"); DOF2_SaveFile(); SendClientMessage(playerid, COLOR_YELLOW2,"Voce Limpou a Vaga 6"); } if(Vaga2 == 7)// id da vaga { id=GetPlayerID(InfoOrg[org][Membro7]); if(IsPlayerOnline(InfoOrg[org][Membro7])) Demitir(playerid, id); strmid(InfoOrg[org][Membro7], "Ninguem", 0, strlen("Ninguem"), 255); DOF2_SetString(arquivo,"Membro7","Ninguem"); DOF2_SaveFile(); SendClientMessage(playerid, COLOR_YELLOW2,"Voce Limpou a Vaga 7"); } if(Vaga2 == 8)// id da vaga { id=GetPlayerID(InfoOrg[org][Membro8]); if(IsPlayerOnline(InfoOrg[org][Membro8])) Demitir(playerid, id); strmid(InfoOrg[org][Membro8], "Ninguem", 0, strlen("Ninguem"), 255); DOF2_SetString(arquivo,"Membro8","Ninguem"); DOF2_SaveFile(); SendClientMessage(playerid, COLOR_YELLOW2,"Voce Limpou a Vaga 8"); } if(Vaga2 == 9)// id da vaga { id=GetPlayerID(InfoOrg[org][Membro9]); if(IsPlayerOnline(InfoOrg[org][Membro9])) Demitir(playerid, id); strmid(InfoOrg[org][Membro9], "Ninguem", 0, strlen("Ninguem"), 255); DOF2_SetString(arquivo,"Membro9","Ninguem"); DOF2_SaveFile(); SendClientMessage(playerid, COLOR_YELLOW2,"Voce Limpou a Vaga 9"); } if(Vaga2 == 10)// id da vaga { id=GetPlayerID(InfoOrg[org][Membro10]); if(IsPlayerOnline(InfoOrg[org][Membro10])) Demitir(playerid, id); strmid(InfoOrg[org][Membro10], "Ninguem", 0, strlen("Ninguem"), 255); DOF2_SetString(arquivo,"Membro10","Ninguem"); DOF2_SaveFile(); SendClientMessage(playerid, COLOR_YELLOW2,"Voce Limpou a Vaga 10"); } if(Vaga2 == 11)// id da vaga { id=GetPlayerID(InfoOrg[org][Membro11]); if(IsPlayerOnline(InfoOrg[org][Membro11])) Demitir(playerid, id); strmid(InfoOrg[org][Membro11], "Ninguem", 0, strlen("Ninguem"), 255); DOF2_SetString(arquivo,"Membro11","Ninguem"); DOF2_SaveFile(); SendClientMessage(playerid, COLOR_YELLOW2,"Voce Limpou a Vaga 11"); } if(Vaga2 == 12)// id da vaga { id=GetPlayerID(InfoOrg[org][Membro12]); if(IsPlayerOnline(InfoOrg[org][Membro12])) Demitir(playerid, id); strmid(InfoOrg[org][Membro12], "Ninguem", 0, strlen("Ninguem"), 255); DOF2_SetString(arquivo,"Membro12","Ninguem"); DOF2_SaveFile(); SendClientMessage(playerid, COLOR_YELLOW2,"Voce Limpou a Vaga 12"); } if(Vaga2 == 13)// id da vaga { id=GetPlayerID(InfoOrg[org][Membro13]); if(IsPlayerOnline(InfoOrg[org][Membro13])) Demitir(playerid, id); strmid(InfoOrg[org][Membro13], "Ninguem", 0, strlen("Ninguem"), 255); DOF2_SetString(arquivo,"Membro13","Ninguem"); DOF2_SaveFile(); SendClientMessage(playerid, COLOR_YELLOW2,"Voce Limpou a Vaga 13"); } if(Vaga2 == 14)// id da vaga { id=GetPlayerID(InfoOrg[org][Membro14]); if(IsPlayerOnline(InfoOrg[org][Membro14])) Demitir(playerid, id); strmid(InfoOrg[org][Membro14], "Ninguem", 0, strlen("Ninguem"), 255); DOF2_SetString(arquivo,"Membro14","Ninguem"); DOF2_SaveFile(); SendClientMessage(playerid, COLOR_YELLOW2,"Voce Limpou a Vaga 14"); } if(Vaga2 == 15)// id da vaga { id=GetPlayerID(InfoOrg[org][Membro15]); if(IsPlayerOnline(InfoOrg[org][Membro15])) Demitir(playerid, id); strmid(InfoOrg[org][Membro15], "Ninguem", 0, strlen("Ninguem"), 255); DOF2_SetString(arquivo,"Membro15","Ninguem"); DOF2_SaveFile(); SendClientMessage(playerid, COLOR_YELLOW2,"Voce Limpou a Vaga 15"); } if(Vaga2 == 16)// id da vaga { id=GetPlayerID(InfoOrg[org][Membro16]); if(IsPlayerOnline(InfoOrg[org][Membro16])) Demitir(playerid, id); strmid(InfoOrg[org][Membro16], "Ninguem", 0, strlen("Ninguem"), 255); DOF2_SetString(arquivo,"Membro16","Ninguem"); DOF2_SaveFile(); SendClientMessage(playerid, COLOR_YELLOW2,"Voce Limpou a Vaga 16"); } if(Vaga2 == 17)// id da vaga { id=GetPlayerID(InfoOrg[org][Membro17]); if(IsPlayerOnline(InfoOrg[org][Membro17])) Demitir(playerid, id); strmid(InfoOrg[org][Membro17], "Ninguem", 0, strlen("Ninguem"), 255); DOF2_SetString(arquivo,"Membro17","Ninguem"); DOF2_SaveFile(); SendClientMessage(playerid, COLOR_YELLOW2,"Voce Limpou a Vaga 17"); } if(Vaga2 == 18)// id da vaga { id=GetPlayerID(InfoOrg[org][Membro18]); if(IsPlayerOnline(InfoOrg[org][Membro18])) Demitir(playerid, id); strmid(InfoOrg[org][Membro18], "Ninguem", 0, strlen("Ninguem"), 255); DOF2_SetString(arquivo,"Membro18","Ninguem"); SendClientMessage(playerid, COLOR_YELLOW2,"Voce Limpou a Vaga 18"); } if(Vaga2 == 19)// id da vaga { id=GetPlayerID(InfoOrg[org][Membro19]); if(IsPlayerOnline(InfoOrg[org][Membro19])) Demitir(playerid, id); strmid(InfoOrg[org][Membro19], "Ninguem", 0, strlen("Ninguem"), 255); DOF2_SetString(arquivo,"Membro19","Ninguem"); DOF2_SaveFile(); SendClientMessage(playerid, COLOR_YELLOW2,"Voce Limpou a Vaga 19"); } if(Vaga2 == 20)// id da vaga { id=GetPlayerID(InfoOrg[org][Membro20]); if(IsPlayerOnline(InfoOrg[org][Membro20])) Demitir(playerid, id); strmid(InfoOrg[org][Membro20], "Ninguem", 0, strlen("Ninguem"), 255); DOF2_SetString(arquivo,"Membro20","Ninguem"); DOF2_SaveFile(); SendClientMessage(playerid, COLOR_YELLOW2,"Voce Limpou a Vaga 20"); } if(Vaga2 == 21)// id da vaga { id=GetPlayerID(InfoOrg[org][Membro21]); if(IsPlayerOnline(InfoOrg[org][Membro21])) Demitir(playerid, id); strmid(InfoOrg[org][Membro21], "Ninguem", 0, strlen("Ninguem"), 255); DOF2_SetString(arquivo,"Membro21","Ninguem"); DOF2_SaveFile(); SendClientMessage(playerid, COLOR_YELLOW2,"Voce Limpou a Vaga 21"); } if(Vaga2 == 22)// id da vaga { id=GetPlayerID(InfoOrg[org][Membro22]); if(IsPlayerOnline(InfoOrg[org][Membro22])) Demitir(playerid, id); strmid(InfoOrg[org][Membro22], "Ninguem", 0, strlen("Ninguem"), 255); DOF2_SetString(arquivo,"Membro22","Ninguem"); DOF2_SaveFile(); SendClientMessage(playerid, COLOR_YELLOW2,"Voce Limpou a Vaga 22"); } if(Vaga2 == 23)// id da vaga { id=GetPlayerID(InfoOrg[org][Membro23]); if(IsPlayerOnline(InfoOrg[org][Membro23])) Demitir(playerid, id); strmid(InfoOrg[org][Membro23], "Ninguem", 0, strlen("Ninguem"), 255); DOF2_SetString(arquivo,"Membro23","Ninguem"); DOF2_SaveFile(); SendClientMessage(playerid, COLOR_YELLOW2,"Voce Limpou a Vaga 23"); } if(Vaga2 == 24)// id da vaga { id=GetPlayerID(InfoOrg[org][Membro24]); if(IsPlayerOnline(InfoOrg[org][Membro24])) Demitir(playerid, id); strmid(InfoOrg[org][Membro24], "Ninguem", 0, strlen("Ninguem"), 255); DOF2_SetString(arquivo,"Membro24","Ninguem"); DOF2_SaveFile(); SendClientMessage(playerid, COLOR_YELLOW2,"Voce Limpou a Vaga 24"); } if(Vaga2 == 25)// id da vaga { id=GetPlayerID(InfoOrg[org][Membro25]); if(IsPlayerOnline(InfoOrg[org][Membro25])) Demitir(playerid, id); strmid(InfoOrg[org][Membro25], "Ninguem", 0, strlen("Ninguem"), 255); DOF2_SetString(arquivo,"Membro25","Ninguem"); DOF2_SaveFile(); SendClientMessage(playerid, COLOR_YELLOW2,"Voce Limpou a Vaga 25"); } if(Vaga2 == 26)// id da vaga { id=GetPlayerID(InfoOrg[org][Membro26]); if(IsPlayerOnline(InfoOrg[org][Membro26])) Demitir(playerid, id); strmid(InfoOrg[org][Membro26], "Ninguem", 0, strlen("Ninguem"), 255); DOF2_SetString(arquivo,"Membro26","Ninguem"); DOF2_SaveFile(); SendClientMessage(playerid, COLOR_YELLOW2,"Voce Limpou a Vaga 26"); } if(Vaga2 == 27)// id da vaga { id=GetPlayerID(InfoOrg[org][Membro27]); if(IsPlayerOnline(InfoOrg[org][Membro27])) Demitir(playerid, id); strmid(InfoOrg[org][Membro27], "Ninguem", 0, strlen("Ninguem"), 255); DOF2_SetString(arquivo,"Membro27","Ninguem"); DOF2_SaveFile(); SendClientMessage(playerid, COLOR_YELLOW2,"Voce Limpou a Vaga 27"); } if(Vaga2 == 28)// id da vaga { id=GetPlayerID(InfoOrg[org][Membro28]); if(IsPlayerOnline(InfoOrg[org][Membro28])) Demitir(playerid, id); strmid(InfoOrg[org][Membro28], "Ninguem", 0, strlen("Ninguem"), 255); DOF2_SetString(arquivo,"Membro28","Ninguem"); DOF2_SaveFile(); SendClientMessage(playerid, COLOR_YELLOW2,"Voce Limpou a Vaga 28"); } if(Vaga2 == 29)// id da vaga { id=GetPlayerID(InfoOrg[org][Membro29]); if(IsPlayerOnline(InfoOrg[org][Membro29])) Demitir(playerid, id); strmid(InfoOrg[org][Membro29], "Ninguem", 0, strlen("Ninguem"), 255); DOF2_SetString(arquivo,"Membro29","Ninguem"); DOF2_SaveFile(); SendClientMessage(playerid, COLOR_YELLOW2,"Voce Limpou a Vaga 29"); } if(Vaga2 == 30)// id da vaga { id=GetPlayerID(InfoOrg[org][Membro30]); if(IsPlayerOnline(InfoOrg[org][Membro30])) Demitir(playerid, id); strmid(InfoOrg[org][Membro30], "Ninguem", 0, strlen("Ninguem"), 255); DOF2_SetString(arquivo,"Membro30","Ninguem"); DOF2_SaveFile(); SendClientMessage(playerid, COLOR_YELLOW2,"Voce Limpou a Vaga 30"); } return true; } CMD:limpartodasvagas(playerid) { if(PlayerInfo[playerid][pLider] < 1) return SendClientMessage(playerid, COLOR_GRAD2, "Somente lideres podem usar este comando!"); new org = GetPlayerOrg(playerid); new arquivo[128], id; format(arquivo, sizeof(arquivo), Pasta_MembrosOrg,org); if(IsPlayerOnline(InfoOrg[org][SubLider])) { id=GetPlayerID(InfoOrg[org][SubLider]); Demitir(playerid, id); } strmid(InfoOrg[org][SubLider], "Ninguem", 0, strlen("Ninguem"), 255); DOF2_SetString(arquivo,"SubLider","Ninguem"); DOF2_SaveFile(); id=GetPlayerID(InfoOrg[org][Membro1]); if(IsPlayerOnline(InfoOrg[org][Membro1])) Demitir(playerid, id); strmid(InfoOrg[org][Membro1], "Ninguem", 0, strlen("Ninguem"), 255); DOF2_SetString(arquivo,"Membro1","Ninguem"); DOF2_SaveFile(); id=GetPlayerID(InfoOrg[org][Membro2]); if(IsPlayerOnline(InfoOrg[org][Membro2])) Demitir(playerid, id); strmid(InfoOrg[org][Membro2], "Ninguem", 0, strlen("Ninguem"), 255); DOF2_SetString(arquivo,"Membro2","Ninguem"); DOF2_SaveFile(); id=GetPlayerID(InfoOrg[org][Membro3]); if(IsPlayerOnline(InfoOrg[org][Membro3])) Demitir(playerid, id); strmid(InfoOrg[org][Membro3], "Ninguem", 0, strlen("Ninguem"), 255); DOF2_SetString(arquivo,"Membro3","Ninguem"); DOF2_SaveFile(); id=GetPlayerID(InfoOrg[org][Membro4]); if(IsPlayerOnline(InfoOrg[org][Membro4])) Demitir(playerid, id); strmid(InfoOrg[org][Membro4], "Ninguem", 0, strlen("Ninguem"), 255); DOF2_SetString(arquivo,"Membro4","Ninguem"); DOF2_SaveFile(); id=GetPlayerID(InfoOrg[org][Membro5]); if(IsPlayerOnline(InfoOrg[org][Membro5])) Demitir(playerid, id); strmid(InfoOrg[org][Membro5], "Ninguem", 0, strlen("Ninguem"), 255); DOF2_SetString(arquivo,"Membro5","Ninguem"); DOF2_SaveFile(); id=GetPlayerID(InfoOrg[org][Membro6]); if(IsPlayerOnline(InfoOrg[org][Membro6])) Demitir(playerid, id); strmid(InfoOrg[org][Membro6], "Ninguem", 0, strlen("Ninguem"), 255); DOF2_SetString(arquivo,"Membro6","Ninguem"); DOF2_SaveFile(); id=GetPlayerID(InfoOrg[org][Membro7]); if(IsPlayerOnline(InfoOrg[org][Membro7])) Demitir(playerid, id); strmid(InfoOrg[org][Membro7], "Ninguem", 0, strlen("Ninguem"), 255); DOF2_SetString(arquivo,"Membro7","Ninguem"); DOF2_SaveFile(); id=GetPlayerID(InfoOrg[org][Membro8]); if(IsPlayerOnline(InfoOrg[org][Membro8])) Demitir(playerid, id); strmid(InfoOrg[org][Membro8], "Ninguem", 0, strlen("Ninguem"), 255); DOF2_SetString(arquivo,"Membro8","Ninguem"); DOF2_SaveFile(); id=GetPlayerID(InfoOrg[org][Membro9]); if(IsPlayerOnline(InfoOrg[org][Membro9])) Demitir(playerid, id); strmid(InfoOrg[org][Membro9], "Ninguem", 0, strlen("Ninguem"), 255); DOF2_SetString(arquivo,"Membro9","Ninguem"); DOF2_SaveFile(); id=GetPlayerID(InfoOrg[org][Membro10]); if(IsPlayerOnline(InfoOrg[org][Membro10])) Demitir(playerid, id); strmid(InfoOrg[org][Membro10], "Ninguem", 0, strlen("Ninguem"), 255); DOF2_SetString(arquivo,"Membro10","Ninguem"); DOF2_SaveFile(); id=GetPlayerID(InfoOrg[org][Membro11]); if(IsPlayerOnline(InfoOrg[org][Membro11])) Demitir(playerid, id); strmid(InfoOrg[org][Membro11], "Ninguem", 0, strlen("Ninguem"), 255); DOF2_SetString(arquivo,"Membro11","Ninguem"); DOF2_SaveFile(); id=GetPlayerID(InfoOrg[org][Membro12]); if(IsPlayerOnline(InfoOrg[org][Membro12])) Demitir(playerid, id); strmid(InfoOrg[org][Membro12], "Ninguem", 0, strlen("Ninguem"), 255); DOF2_SetString(arquivo,"Membro12","Ninguem"); DOF2_SaveFile(); id=GetPlayerID(InfoOrg[org][Membro13]); if(IsPlayerOnline(InfoOrg[org][Membro13])) Demitir(playerid, id); strmid(InfoOrg[org][Membro13], "Ninguem", 0, strlen("Ninguem"), 255); DOF2_SetString(arquivo,"Membro13","Ninguem"); DOF2_SaveFile(); id=GetPlayerID(InfoOrg[org][Membro14]); if(IsPlayerOnline(InfoOrg[org][Membro14])) Demitir(playerid, id); strmid(InfoOrg[org][Membro14], "Ninguem", 0, strlen("Ninguem"), 255); DOF2_SetString(arquivo,"Membro14","Ninguem"); DOF2_SaveFile(); id=GetPlayerID(InfoOrg[org][Membro15]); if(IsPlayerOnline(InfoOrg[org][Membro15])) Demitir(playerid, id); strmid(InfoOrg[org][Membro15], "Ninguem", 0, strlen("Ninguem"), 255); DOF2_SetString(arquivo,"Membro15","Ninguem"); DOF2_SaveFile(); id=GetPlayerID(InfoOrg[org][Membro16]); if(IsPlayerOnline(InfoOrg[org][Membro16])) Demitir(playerid, id); strmid(InfoOrg[org][Membro16], "Ninguem", 0, strlen("Ninguem"), 255); DOF2_SetString(arquivo,"Membro16","Ninguem"); DOF2_SaveFile(); id=GetPlayerID(InfoOrg[org][Membro17]); if(IsPlayerOnline(InfoOrg[org][Membro17])) Demitir(playerid, id); strmid(InfoOrg[org][Membro17], "Ninguem", 0, strlen("Ninguem"), 255); DOF2_SetString(arquivo,"Membro17","Ninguem"); DOF2_SaveFile(); id=GetPlayerID(InfoOrg[org][Membro18]); if(IsPlayerOnline(InfoOrg[org][Membro18])) Demitir(playerid, id); strmid(InfoOrg[org][Membro18], "Ninguem", 0, strlen("Ninguem"), 255); DOF2_SetString(arquivo,"Membro18","Ninguem"); id=GetPlayerID(InfoOrg[org][Membro19]); if(IsPlayerOnline(InfoOrg[org][Membro19])) Demitir(playerid, id); strmid(InfoOrg[org][Membro19], "Ninguem", 0, strlen("Ninguem"), 255); DOF2_SetString(arquivo,"Membro19","Ninguem"); DOF2_SaveFile(); id=GetPlayerID(InfoOrg[org][Membro20]); if(IsPlayerOnline(InfoOrg[org][Membro20])) Demitir(playerid, id); strmid(InfoOrg[org][Membro20], "Ninguem", 0, strlen("Ninguem"), 255); DOF2_SetString(arquivo,"Membro20","Ninguem"); DOF2_SaveFile(); id=GetPlayerID(InfoOrg[org][Membro21]); if(IsPlayerOnline(InfoOrg[org][Membro21])) Demitir(playerid, id); strmid(InfoOrg[org][Membro21], "Ninguem", 0, strlen("Ninguem"), 255); DOF2_SetString(arquivo,"Membro21","Ninguem"); DOF2_SaveFile(); id=GetPlayerID(InfoOrg[org][Membro22]); if(IsPlayerOnline(InfoOrg[org][Membro22])) Demitir(playerid, id); strmid(InfoOrg[org][Membro22], "Ninguem", 0, strlen("Ninguem"), 255); DOF2_SetString(arquivo,"Membro22","Ninguem"); DOF2_SaveFile(); id=GetPlayerID(InfoOrg[org][Membro23]); if(IsPlayerOnline(InfoOrg[org][Membro23])) Demitir(playerid, id); strmid(InfoOrg[org][Membro23], "Ninguem", 0, strlen("Ninguem"), 255); DOF2_SetString(arquivo,"Membro23","Ninguem"); DOF2_SaveFile(); id=GetPlayerID(InfoOrg[org][Membro24]); if(IsPlayerOnline(InfoOrg[org][Membro24])) Demitir(playerid, id); strmid(InfoOrg[org][Membro24], "Ninguem", 0, strlen("Ninguem"), 255); DOF2_SetString(arquivo,"Membro24","Ninguem"); DOF2_SaveFile(); id=GetPlayerID(InfoOrg[org][Membro25]); if(IsPlayerOnline(InfoOrg[org][Membro25])) Demitir(playerid, id); strmid(InfoOrg[org][Membro25], "Ninguem", 0, strlen("Ninguem"), 255); DOF2_SetString(arquivo,"Membro25","Ninguem"); DOF2_SaveFile(); id=GetPlayerID(InfoOrg[org][Membro26]); if(IsPlayerOnline(InfoOrg[org][Membro26])) Demitir(playerid, id); strmid(InfoOrg[org][Membro26], "Ninguem", 0, strlen("Ninguem"), 255); DOF2_SetString(arquivo,"Membro26","Ninguem"); DOF2_SaveFile(); id=GetPlayerID(InfoOrg[org][Membro27]); if(IsPlayerOnline(InfoOrg[org][Membro27])) Demitir(playerid, id); strmid(InfoOrg[org][Membro27], "Ninguem", 0, strlen("Ninguem"), 255); DOF2_SetString(arquivo,"Membro27","Ninguem"); DOF2_SaveFile(); id=GetPlayerID(InfoOrg[org][Membro28]); if(IsPlayerOnline(InfoOrg[org][Membro28])) Demitir(playerid, id); strmid(InfoOrg[org][Membro28], "Ninguem", 0, strlen("Ninguem"), 255); DOF2_SetString(arquivo,"Membro28","Ninguem"); DOF2_SaveFile(); id=GetPlayerID(InfoOrg[org][Membro29]); if(IsPlayerOnline(InfoOrg[org][Membro29])) Demitir(playerid, id); strmid(InfoOrg[org][Membro29], "Ninguem", 0, strlen("Ninguem"), 255); DOF2_SetString(arquivo,"Membro29","Ninguem"); DOF2_SaveFile(); id=GetPlayerID(InfoOrg[org][Membro30]); if(IsPlayerOnline(InfoOrg[org][Membro30])) Demitir(playerid, id); strmid(InfoOrg[org][Membro30], "Ninguem", 0, strlen("Ninguem"), 255); DOF2_SetString(arquivo,"Membro30","Ninguem"); DOF2_SaveFile(); SendClientMessage(playerid, COLOR_YELLOW2,"Voce limpou todas as vagas!"); return true; } CMD:lcandidato(playerid, vaga[]) { if(PlayerInfo[playerid][pCargo] < 4) return SendClientMessage(playerid, COLOR_GRAD2, "Somente lideres podem usar este comando!"); if(sscanf(vaga, "s[15]", vaga)) return SendClientMessage(playerid, COLOR_GRAD2, "USE: /limpacandidato [Vaga]"); new Vaga2 = strval(vaga); new org = GetPlayerOrg(playerid); new arquivo[128], id; format(arquivo, sizeof(arquivo), Pasta_Candidatos,org); if(Vaga2 == 1)// id da vaga { strmid(InfoOrg2[org][Candidato1], "Ninguem", 0, strlen("Ninguem"), 255); DOF2_SetString(arquivo,"Candidato1","Ninguem"); DOF2_SaveFile(); SendClientMessage(playerid, COLOR_YELLOW2,"Voce limpou o Candidato 1"); return true; } if(Vaga2 == 2)// id da vaga { strmid(InfoOrg2[org][Candidato2], "Ninguem", 0, strlen("Ninguem"), 255); DOF2_SetString(arquivo,"Candidato2","Ninguem"); DOF2_SaveFile(); SendClientMessage(playerid, COLOR_YELLOW2,"Voce limpou o Candidato 2"); } if(Vaga2 == 3)// id da vaga { strmid(InfoOrg2[org][Candidato3], "Ninguem", 0, strlen("Ninguem"), 255); DOF2_SetString(arquivo,"Candidato3","Ninguem"); DOF2_SaveFile(); SendClientMessage(playerid, COLOR_YELLOW2,"Voce limpou o Candidato 3"); } if(Vaga2 == 4)// id da vaga { strmid(InfoOrg2[org][Candidato4], "Ninguem", 0, strlen("Ninguem"), 255); DOF2_SetString(arquivo,"Candidato4","Ninguem"); DOF2_SaveFile(); SendClientMessage(playerid, COLOR_YELLOW2,"Voce limpou o Candidato 4"); } if(Vaga2 == 5)// id da vaga { strmid(InfoOrg2[org][Candidato5], "Ninguem", 0, strlen("Ninguem"), 255); DOF2_SetString(arquivo,"Candidato5","Ninguem"); DOF2_SaveFile(); SendClientMessage(playerid, COLOR_YELLOW2,"Voce limpou o Candidato 5"); } if(Vaga2 == 6)// id da vaga { strmid(InfoOrg2[org][Candidato6], "Ninguem", 0, strlen("Ninguem"), 255); DOF2_SetString(arquivo,"Candidato6","Ninguem"); DOF2_SaveFile(); SendClientMessage(playerid, COLOR_YELLOW2,"Voce limpou o Candidato 6"); } if(Vaga2 == 7)// id da vaga { id=GetPlayerID(InfoOrg2[org][Candidato7]); if(IsPlayerOnline(InfoOrg2[org][Candidato7])) Demitir(playerid, id); strmid(InfoOrg2[org][Candidato7], "Ninguem", 0, strlen("Ninguem"), 255); DOF2_SetString(arquivo,"Candidato7","Ninguem"); DOF2_SaveFile(); SendClientMessage(playerid, COLOR_YELLOW2,"Voce limpou o Candidato 7"); } if(Vaga2 == 8)// id da vaga { strmid(InfoOrg2[org][Candidato8], "Ninguem", 0, strlen("Ninguem"), 255); DOF2_SetString(arquivo,"Candidato8","Ninguem"); DOF2_SaveFile(); SendClientMessage(playerid, COLOR_YELLOW2,"Voce limpou o Candidato 8"); } if(Vaga2 == 9)// id da vaga { strmid(InfoOrg2[org][Candidato9], "Ninguem", 0, strlen("Ninguem"), 255); DOF2_SetString(arquivo,"Candidato9","Ninguem"); DOF2_SaveFile(); SendClientMessage(playerid, COLOR_YELLOW2,"Voce limpou o Candidato 9"); } if(Vaga2 == 10)// id da vaga { strmid(InfoOrg2[org][Candidato10], "Ninguem", 0, strlen("Ninguem"), 255); DOF2_SetString(arquivo,"Candidato10","Ninguem"); DOF2_SaveFile(); SendClientMessage(playerid, COLOR_YELLOW2,"Voce limpou o Candidato 10"); } if(Vaga2 == 11)// id da vaga { strmid(InfoOrg2[org][Candidato11], "Ninguem", 0, strlen("Ninguem"), 255); DOF2_SetString(arquivo,"Candidato11","Ninguem"); DOF2_SaveFile(); SendClientMessage(playerid, COLOR_YELLOW2,"Voce limpou o Candidato 11"); } if(Vaga2 == 12)// id da vaga { strmid(InfoOrg2[org][Candidato12], "Ninguem", 0, strlen("Ninguem"), 255); DOF2_SetString(arquivo,"Candidato12","Ninguem"); DOF2_SaveFile(); SendClientMessage(playerid, COLOR_YELLOW2,"Voce limpou o Candidato 12"); } if(Vaga2 == 13)// id da vaga { strmid(InfoOrg2[org][Candidato13], "Ninguem", 0, strlen("Ninguem"), 255); DOF2_SetString(arquivo,"Candidato13","Ninguem"); DOF2_SaveFile(); SendClientMessage(playerid, COLOR_YELLOW2,"Voce limpou o Candidato 13"); } if(Vaga2 == 14)// id da vaga { strmid(InfoOrg2[org][Candidato14], "Ninguem", 0, strlen("Ninguem"), 255); DOF2_SetString(arquivo,"Candidato14","Ninguem"); DOF2_SaveFile(); SendClientMessage(playerid, COLOR_YELLOW2,"Voce limpou o Candidato 14"); } if(Vaga2 == 15)// id da vaga { id=GetPlayerID(InfoOrg2[org][Candidato15]); if(IsPlayerOnline(InfoOrg2[org][Candidato15])) Demitir(playerid, id); strmid(InfoOrg2[org][Candidato15], "Ninguem", 0, strlen("Ninguem"), 255); DOF2_SetString(arquivo,"Candidato15","Ninguem"); DOF2_SaveFile(); SendClientMessage(playerid, COLOR_YELLOW2,"Voce limpou o Candidato 15"); } if(Vaga2 == 16)// id da vaga { strmid(InfoOrg2[org][Candidato16], "Ninguem", 0, strlen("Ninguem"), 255); DOF2_SetString(arquivo,"Candidato16","Ninguem"); DOF2_SaveFile(); SendClientMessage(playerid, COLOR_YELLOW2,"Voce limpou o Candidato 16"); } if(Vaga2 == 17)// id da vaga { strmid(InfoOrg2[org][Candidato17], "Ninguem", 0, strlen("Ninguem"), 255); DOF2_SetString(arquivo,"Candidato17","Ninguem"); DOF2_SaveFile(); SendClientMessage(playerid, COLOR_YELLOW2,"Voce limpou o Candidato 17"); } if(Vaga2 == 18)// id da vaga { id=GetPlayerID(InfoOrg2[org][Candidato18]); if(IsPlayerOnline(InfoOrg2[org][Candidato18])) Demitir(playerid, id); strmid(InfoOrg2[org][Candidato18], "Ninguem", 0, strlen("Ninguem"), 255); DOF2_SetString(arquivo,"Candidato18","Ninguem"); DOF2_SaveFile(); SendClientMessage(playerid, COLOR_YELLOW2,"Voce limpou o Candidato 18"); } if(Vaga2 == 19)// id da vaga { strmid(InfoOrg2[org][Candidato19], "Ninguem", 0, strlen("Ninguem"), 255); DOF2_SetString(arquivo,"Candidato19","Ninguem"); DOF2_SaveFile(); SendClientMessage(playerid, COLOR_YELLOW2,"Voce limpou o Candidato 19"); } if(Vaga2 == 20)// id da vaga { strmid(InfoOrg2[org][Candidato20], "Ninguem", 0, strlen("Ninguem"), 255); DOF2_SetString(arquivo,"Candidato20","Ninguem"); DOF2_SaveFile(); SendClientMessage(playerid, COLOR_YELLOW2,"Voce limpou o Candidato 20"); } return true; } CMD:limparlider(playerid, Vaga[]) { if(!admtrampando[playerid] && PlayerInfo[playerid][pAdmin] < 1342) return SendClientMessage(playerid, COLOR_GRAD1, TRABALHARADM); if(sscanf(Vaga, "s[15]", Vaga)) return SendClientMessage(playerid, COLOR_GRAD2, "USE: /limparlider [organizacao] (1 - 36)"); if (PlayerInfo[playerid][pAdmin] >= 1337) { //new gstring[128]; new Vaga2 = strval(Vaga); if(Vaga2 < 1 || Vaga2 > 38) { SendClientMessage(playerid, COLOR_GREY, "Vaga minima 1, maximo 38 !"); return true; } new id=GetPlayerID(InfoOrg[Vaga2][Lider]); format(gstring, sizeof(gstring), "Voce limpou o lider de %s da organizacao [%s].", InfoOrg[Vaga2], GetNomeOrg(Vaga2)); SendClientMessage(playerid, COLOR_LIGHTBLUE, gstring); format(gstring, sizeof(gstring), "AdmCmd: %s limpou a vaga %d do lider %s",PlayerName(playerid), Vaga2, InfoOrg[Vaga2][Lider]); CNFLogs("Lideres", gstring); if(IsPlayerOnline(InfoOrg[Vaga2][Lider])) DemitirLider(id); strmid(InfoOrg[Vaga2][Lider], "Ninguem", 0, strlen("Ninguem"), 255); format(gstring, 128, Pasta_MembrosOrg, Vaga2); DOF2_SetString(gstring,"Lider","Ninguem"); DOF2_SaveFile(); format(gstring, sizeof(gstring), "Voce limpou o lider da organizacao Nº %d.", Vaga2); SendClientMessage(playerid, COLOR_LIGHTBLUE, gstring); format(InfoOrg[Vaga2][UL_Lider],128, "00/00/0000 as 00:00:00"); SalvarLoginOrg(Vaga2); } return true; } CMD:fixveh(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] < 3) return SendClientMessage(playerid, 0xff6347FF, "Server: Voce nao esta autorizado a usar este comando!"); if(!admtrampando[playerid] && PlayerInfo[playerid][pAdmin] < 1340) return SendClientMessage(playerid, COLOR_GRAD1, TRABALHARADM); if(IsPlayerInAnyVehicle(playerid)) { new name[MAX_PLAYER_NAME]; GetPlayerName(playerid, name, sizeof(name)); RepairVehicleWithBomber(GetPlayerVehicleID(playerid)); SendClientMessage(playerid, COLOR_GREY, "Server: Carro consertado!"); } return true; } CMD:contas(playerid, params[]) { new id, query[128], DBResult: result, ip[16], str_d[460], contas = 0, str2[250]; if (PlayerInfo[playerid][pAdmin] < 3) return SendClientMessage(playerid, COLOR_GRAD1, LEVELADM); if(!sscanf(params, "u", id)) { if(!IsPlayerConnected(id)) return SendClientMessage(playerid, COLOR_GRAD1, "Jogador offline!"); GetPlayerIp(id, ip, 16); format(query, 128, "SELECT * FROM ips WHERE ip='%q'", ip); result = db_query(Database, query); if(db_num_rows(result)) { new p_Names[24]; do { db_get_field_assoc(result, "nome", p_Names, 24); strcat(str_d, p_Names); strcat(str_d, "\n"); contas ++; } while(db_next_row(result)); format(str2, 35, "{00FFFF}Contas {00FF00}(%d)", contas); ShowPlayerDialog(playerid, 9130, DIALOG_STYLE_LIST, str2, str_d, "Fechar", ""); } } else { SendClientMessage(playerid, -1, "Use: /contas [id]"); return true; } return true; } CMD:rconta(playerid, params[]) { new DBResult: result, query[128], id, ip[16]; if (PlayerInfo[playerid][pAdmin] < 1340) return SendClientMessage(playerid, COLOR_GRAD1, "Somente fundadores tem este comando!"); if(!sscanf(params, "u", id)) { if(IsPlayerConnected(id)) { GetPlayerIp(id, ip, 16); format(query, 128, "SELECT ip FROM ips WHERE ip='%q'", ip); result = db_query(Database, query); if(db_num_rows(result)) { format(query, 128, "DELETE FROM ips WHERE ip='%q'", ip); db_query(Database, query); SendClientMessage(playerid, COLOR_LIGHTRED, "Dados removidos!"); } else { SendClientMessage(playerid, COLOR_LIGHTRED, "Os dados desse jogador ja foram limpos!"); return true; } db_free_result(result); } else { SendClientMessage(playerid, COLOR_GRAD1, "Jogador offline!"); } } else { SendClientMessage(playerid, COLOR_GRAD1, "Use: /rconta [id]"); } return true; } CMD:darvida(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] < 4) return SendClientMessage(playerid, COLOR_GRAD1, LEVELADM); if(!admtrampando[playerid] && PlayerInfo[playerid][pAdmin] < 1342) return SendClientMessage(playerid, COLOR_GRAD1, " Voce nao pode usar este comando, pois nao esta em modo trabalho!"); new para1; new Float:level; if(sscanf(params, "uf", para1, level)) return SendClientMessage(playerid, COLOR_GRAD2, "USE: /darvida [id] [quantia]"); if(IsPlayerConnected(para1)) { if(para1 != INVALID_PLAYER_ID) { new string[128]; SetPlayerHealth(para1, level); format(string, 128, "AdmCmd: %s deu %.0f de saúde para %s",PlayerName(playerid), level, PlayerName(para1)); ABroadCast(COLOR_LIGHTRED,string,1); CNFLogs("comandosadmin", string); } } return 1; } CMD:darsaude(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] < 4) return SendClientMessage(playerid, COLOR_GRAD1, LEVELADM); if(!admtrampando[playerid] && PlayerInfo[playerid][pAdmin] < 1342) return SendClientMessage(playerid, COLOR_GRAD1, TRABALHARADM); new para1; new Float:level; if(sscanf(params, "uf", para1, level)) return SendClientMessage(playerid, COLOR_GRAD2, "USE: /darsaude [ID do Player] [quantia]"); if(IsPlayerConnected(para1)) { if(para1 != INVALID_PLAYER_ID) { if(level > 0) { new string[128]; SetPlayerHealth(para1, level); format(string, 128, "AdmCmd: O admin %s deu %.0f de saúde para %s.",PlayerName(playerid), level, PlayerName(para1)); ABroadCast(COLOR_LIGHTRED,string,1337); CNFLogs("comandosadmin", string); } else { new string[128]; SetPlayerHealth(para1, 0); format(string, 128, "AdmCmd: O admin %s deu 0 de saúde para %s.",PlayerName(playerid), PlayerName(para1)); ABroadCast(COLOR_LIGHTRED,string,1337); CNFLogs("comandosadmin", string); } } } return 1; } CMD:terminais(playerid, params[]) { new Veh = GetPlayerVehicleID(playerid); if(!IsAOniCar(Veh)) { SendClientMessage(playerid, COLOR_GREY, "Voce nao esta em um onibus!"); return true; } if(PlayerInfo[playerid][pEmprego] == 9) { new string[128]; if(TransportDuty[playerid] > 0) { if(TransportDuty[playerid] == 2) { BusDrivers -= 1; } TransportDuty[playerid] = 0; format(string, sizeof(string), "* Voce esta de folga e recebeu R$%s.", ConvertMoney(TransportMoney[playerid])); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); GiveDinheiro(playerid, TransportMoney[playerid]); DisablePlayerCheckpoint(playerid); TransportValue[playerid] = 0; TransportMoney[playerid] = 0; return true; } else { BusDrivers += 1; TransportDuty[playerid] = 2; CheCks[playerid] = 55; TransportValue[playerid] = 100; format(string, sizeof(string), "* Motorista de onibus %s iniciou uma rota de Onibus", PlayerName(playerid)); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SCMf(playerid, COLOR_LIGHTBLUE,"Voce recebera R$%d a cada checkpoint.", salInfo[GanhoMOnibus]); SendClientMessage(playerid, COLOR_LIGHTBLUE,"USE: /terminais novamente para parar o servico"); RotaOnibus(playerid); } } else { SendClientMessage(playerid, COLOR_GREY,"Voce nao e um motorista de onibus."); } return true; } CMD:online(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] < 4) return SendClientMessage(playerid, COLOR_GRAD1, LEVELADM); //new gstring[128]; if(ContarJogadores() >= GetMaxPlayers()) { new Geral1[] = {0xF6F6F6AA,0x95FF90AA, 0x78B4FFAA, 0xFFA0FAAA,0xF8F8FFAA, 0xD9C1F6AA,0x243defAA, 0xFFA0FAAA,0xD9DB00AA,0x243defAA,0xF6B9F6AA,0xFFA0FAAA,0xF6F6F6AA, 0xF636F0ff,0x95FF90AA,0x78B4FFAA,0xC36CF6AA,0xF68588AA,}; new random1 = random(sizeof(Geral1)); format(gstring, sizeof(gstring), "SERVIDOR CHEIO [%d/%d Players Online] CNF OWNA!!!", ContarJogadores(), GetMaxPlayers()); SendClientMessageToAll(Geral1[random1], gstring); random1 = random(sizeof(Geral1)); format(gstring, sizeof(gstring), "SERVIDOR CHEIO [%d/%d Players Online] CNF OWNA!!!", ContarJogadores(), GetMaxPlayers()); SendClientMessageToAll(Geral1[random1], gstring); random1 = random(sizeof(Geral1)); format(gstring, sizeof(gstring), "SERVIDOR CHEIO [%d/%d Players Online] CNF OWNA!!!", ContarJogadores(), GetMaxPlayers()); SendClientMessageToAll(Geral1[random1], gstring); random1 = random(sizeof(Geral1)); format(gstring, sizeof(gstring), "SERVIDOR CHEIO [%d/%d Players Online] CNF OWNA!!!", ContarJogadores(), GetMaxPlayers()); SendClientMessageToAll(Geral1[random1], gstring); return true; } format(gstring, sizeof(gstring), "SERVER: %d/%d Players Online [Android: %d] [PC: %d]", ContarJogadores(), GetMaxPlayers(), GetPlayersAndroid(), GetPlayersPC()); SendClientMessageToAll(COLOR_LIGHTBLUE, gstring); return true; } stock GetPlayersAndroid() { new countt = 0; for(new i; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { if(IsPlayerAndroid(i)) countt++; } } return countt; } stock GetPlayersPC() { new contagem = 0; for(new i; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { if(!IsPlayerAndroid(i)) contagem++; } } return contagem; } CMD:trazercarro(playerid, params[]) { new plo; if(sscanf(params, "d", plo)) return SendClientMessage(playerid, COLOR_GRAD2, "USE: /trazercarro [carro id]"); new Float:plocx,Float:plocy,Float:plocz; if (PlayerInfo[playerid][pAdmin] >= 4) { if(!admtrampando[playerid] && PlayerInfo[playerid][pAdmin] < 1342) return SendClientMessage(playerid, COLOR_GRAD1, TRABALHARADM); GetPlayerPos(playerid, plocx, plocy, plocz); SetVehiclePos(plo,plocx,plocy+4, plocz); LinkVehicleToInterior(plo, 0); } return true; } CMD:pegarbike(playerid) { if(antibugcarros) return ShowPlayerDialog(playerid, 7979, DIALOG_STYLE_MSGBOX, "Aviso", "{FFFFFF}Alguém acabou de spawncar um carro\n{FFFFFF}Aguarde 2 segundos e spawne novamente.", "Fechar", ""); if(JaSpawnouVeh[playerid]) return ShowPlayerDialog(playerid, 7979, DIALOG_STYLE_MSGBOX, "Aviso", "{FFFFFF}Voce ja spawnou um veiculo\n{FFFFFF}Aguarde 1 minutos para spawnar novamente.", "Fechar", ""); if(!IsPlayerConnected(playerid)) return 1; if(IsPlayerInRangeOfPoint(playerid, 5.0, 1129.0781,-1448.9397,15.7969)) { if(GetPVarInt(playerid, "VeiculoCriado") != -1) { DestroyVehicleEx(GetPVarInt(playerid, "VeiculoCriado")); } new Float:Pos[4]; new ID; ///CreateVehicle(vehicletype, Float:x, Float:y, Float:z, Float:rotation, color1, color2, respawn_delay, addsiren=0) GetPlayerPos(playerid, Pos[0], Pos[1], Pos[2]); GetPlayerFacingAngle(playerid, Pos[3]); ID = CreateVehicleDebug(510,Pos[0], Pos[1], Pos[2],Pos[3],1,1,-1); PutPlayerInVehicle(playerid, ID, 0); SetPVarInt(playerid, "VeiculoCriado", ID); PutPlayerInVehicle(playerid, ID, 0); CreatedCar++; CriadoPorADM[ID] = -1; CarroEMPREGOID[ID] = -1; CarroORGID[ID] = -1; CarroParticular[ID] = -1; CriadoPorADM[ID] = -1; antibugcarros = true; JaSpawnouVeh[playerid] = true; SetTimer("ResetarBugCarros", 2000, 0); SetTimerEx("ResetarSpawnouVeh", 1000 * 60, false, "i", playerid); new mot, lu, alar, por, cap, porma, ob; GetVehicleParamsEx(ID, mot, lu, alar, por, cap, porma, ob); SetVehicleParamsEx(ID, VEHICLE_PARAMS_OFF, lu, alar, por, cap, porma, ob); } if(IsPlayerInRangeOfPoint(playerid, 5.0, 1710.0743,1481.0189,10.8096)) { if(GetPVarInt(playerid, "VeiculoCriado") != -1) { DestroyVehicleEx(GetPVarInt(playerid, "VeiculoCriado")); } new Float:Pos[4]; new ID; GetPlayerPos(playerid, Pos[0], Pos[1], Pos[2]); GetPlayerFacingAngle(playerid, Pos[3]); ID = CreateVehicleDebug(510,Pos[0], Pos[1], Pos[2],Pos[3],1,1,-1); PutPlayerInVehicle(playerid, ID, 0); SetPVarInt(playerid, "VeiculoCriado", ID); PutPlayerInVehicle(playerid, ID, 0); CreatedCar++; CriadoPorADM[ID] = -1; CarroEMPREGOID[ID] = -1; CarroORGID[ID] = -1; CarroParticular[ID] = -1; CriadoPorADM[ID] = -1; antibugcarros = true; JaSpawnouVeh[playerid] = true; SetTimer("ResetarBugCarros", 2000, 0); SetTimerEx("ResetarSpawnouVeh", 1000 * 60, false, "i", playerid); new mot, lu, alar, por, cap, porma, ob; GetVehicleParamsEx(ID, mot, lu, alar, por, cap, porma, ob); SetVehicleParamsEx(ID, VEHICLE_PARAMS_OFF, lu, alar, por, cap, porma, ob); } if(IsPlayerInRangeOfPoint(playerid, 5.0, 1435.9303,-2288.0032,13.5469)) { if(GetPVarInt(playerid, "VeiculoCriado") != -1) { DestroyVehicleEx(GetPVarInt(playerid, "VeiculoCriado")); } new Float:Pos[4]; new ID; GetPlayerPos(playerid, Pos[0], Pos[1], Pos[2]); GetPlayerFacingAngle(playerid, Pos[3]); ID = CreateVehicleDebug(510,Pos[0], Pos[1], Pos[2],Pos[3],1,1,-1); PutPlayerInVehicle(playerid, ID, 0); SetPVarInt(playerid, "VeiculoCriado", ID); PutPlayerInVehicle(playerid, ID, 0); CreatedCar++; CriadoPorADM[ID] = -1; CarroEMPREGOID[ID] = -1; CarroORGID[ID] = -1; CarroParticular[ID] = -1; CriadoPorADM[ID] = -1; antibugcarros = true; JaSpawnouVeh[playerid] = true; SetTimer("ResetarBugCarros", 2000, 0); SetTimerEx("ResetarSpawnouVeh", 1000 * 60, false, "i", playerid); new mot, lu, alar, por, cap, porma, ob; GetVehicleParamsEx(ID, mot, lu, alar, por, cap, porma, ob); SetVehicleParamsEx(ID, VEHICLE_PARAMS_OFF, lu, alar, por, cap, porma, ob); } if(IsPlayerInRangeOfPoint(playerid, 5.0, 1100.4330,-1751.8127,13.3462)) { if(GetPVarInt(playerid, "VeiculoCriado") != -1) { DestroyVehicleEx(GetPVarInt(playerid, "VeiculoCriado")); } new Float:Pos[4]; new ID; GetPlayerPos(playerid, Pos[0], Pos[1], Pos[2]); GetPlayerFacingAngle(playerid, Pos[3]); ID = CreateVehicleDebug(510,Pos[0], Pos[1], Pos[2],Pos[3],1,1,-1); PutPlayerInVehicle(playerid, ID, 0); SetPVarInt(playerid, "VeiculoCriado", ID); PutPlayerInVehicle(playerid, ID, 0); CreatedCar++; CriadoPorADM[ID] = -1; CarroEMPREGOID[ID] = -1; CarroORGID[ID] = -1; CarroParticular[ID] = -1; CriadoPorADM[ID] = -1; antibugcarros = true; JaSpawnouVeh[playerid] = true; SetTimer("ResetarBugCarros", 2000, 0); SetTimerEx("ResetarSpawnouVeh", 1000 * 60, false, "i", playerid); new mot, lu, alar, por, cap, porma, ob; GetVehicleParamsEx(ID, mot, lu, alar, por, cap, porma, ob); SetVehicleParamsEx(ID, VEHICLE_PARAMS_OFF, lu, alar, por, cap, porma, ob); } return 1; } CMD:checkbots(playerid, params[]) { if(gPlayerLogged[playerid] == 0) { return SendClientMessage(playerid, 0xff6347FF, "* Voce nao esta conectado."); } if(PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pAdminTemp] >= 1) { new bots = 0; new string[128]; foreach(Bot, i) { format(string, sizeof(string), "[ATENCAO] %s [ID: %d] e um player NPC.", PlayerName(i), i); SendClientMessage(playerid, COLOR_LIGHTRED, string); bots = 1; } if(bots == 0) { SendClientMessage(playerid, COLOR_WHITE, "Nenhum BOT encontrado no servidor!"); } } else { SendClientMessage(playerid, COLOR_GRAD1, "Voce nao e um admin"); return true; } return true; } CMD:checkrt(playerid, params[]) { if(gPlayerLogged[playerid] == 0) { return SendClientMessage(playerid, 0xff6347FF, "* Voce nao esta conectado."); } if(PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pAdminTemp] >= 1) { new temrt = 0; new string[128]; foreach(Player, i) { if(NetStats_PacketLossPercent(i) > 0.5) { format(string, sizeof(string), "[ATENCAO%s [ID: %d] tem uma perda de pacotes de %0.2f {00FFFF}(Possivelmente esta de RT)", PlayerName(i), i, NetStats_PacketLossPercent(i)); SendClientMessage(playerid, COLOR_LIGHTRED, string); temrt = 1; } } if(temrt == 0) { SendClientMessage(playerid, COLOR_GREY, "Nenhum player esta com o relogio travado no momento!!"); } } else { SendClientMessage(playerid, COLOR_GRAD1, "Voce nao e um admin"); } return true; } CMD:cameras(playerid, params[]) { if ((PlayerToPoint(3.0, playerid, 224.2144,120.6683,999.1013) && DPExit[playerid] == 2) || NaCamera[playerid] > 3) { if(NaCamera[playerid] > 3) return ShowPlayerDialog(playerid, 8906, DIALOG_STYLE_LIST, "Cameras seguranca","Cameras: Los Santos\nCameras: San Fierro\nCameras: Las Venturas\nSair do Painel","Acessar","Cancelar"); else { if(strcmp(SenhaSeguranca,"0", true) == 0) { if(PlayerInfo[playerid][pLider] == 35) ShowPlayerDialog(playerid,8911, DIALOG_STYLE_PASSWORD, "Primeira Senha","Defina a Primeira senha de seguranca\nPara acessar o painel sempre!","Acessar","Cancelar"); else SendClientMessage(playerid,COLOR_YELLOW,"O Lider da GATE Precisa Definir a Primeira Senha!"); return 1; } ShowPlayerDialog(playerid,8911, DIALOG_STYLE_PASSWORD, "Digite a senha","Digite a senha de seguranca\nPara acessar o painel","Acessar","Cancelar"); } } else if(PlayerToPoint(3.0, playerid, 1059.7758,1264.9397,10.8203) && IsADetran(playerid)) { ShowPlayerDialog(playerid, 8906, DIALOG_STYLE_LIST, "Cameras seguranca","Cameras: Los Santos\nCameras: San Fierro\nCameras: Las Venturas\nSair do Painel","Acessar","Cancelar"); return true; } return true; } CMD:lt(playerid, params[]) { if(gPlayerLogged[playerid] == 0) { return SendClientMessage(playerid, 0xff6347FF, "* Voce nao esta conectado."); } if (PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pAdminTemp] >= 1) { if(PlayerInfo[playerid][pJailed] != 0) return SendClientMessage(playerid,COLOR_YELLOW,"Voce nao pode usar esse comando na cadeia!"); new Float:slx, Float:sly, Float:slz; GetPlayerPos(playerid, slx, sly, slz); SetPlayerPos(playerid, slx, sly+2, slz); return true; } else { SendClientMessage(playerid, COLOR_GRAD1, LEVELADM); } return true; } CMD:rt(playerid, params[]) { if(gPlayerLogged[playerid] == 0) { return SendClientMessage(playerid, 0xff6347FF, "* Voce nao esta conectado."); } if (PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pAdminTemp] >= 1) { if(PlayerInfo[playerid][pJailed] != 0) return SendClientMessage(playerid,COLOR_YELLOW,"Voce nao pode usar esse comando na cadeia!"); new Float:slx, Float:sly, Float:slz; GetPlayerPos(playerid, slx, sly, slz); SetPlayerPos(playerid, slx+2, sly, slz); return true; } else { SendClientMessage(playerid, COLOR_GRAD1, LEVELADM); } return true; } CMD:hd(playerid) { if(IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao pode usar este comando dentro de um veiculo !"); new string[128]; new Float:Vidw; new Float:Coletr; GetPlayerArmour(playerid, Coletr); GetPlayerHealth(playerid, Vidw); format(string, sizeof(string), "* Suspeito %s digitou: /handsup com: Vida[%.0f] Colete[%.0f].", PlayerName(playerid), Vidw, Coletr); ProxDetector(30.0, playerid, string, COLOR_LIGHTBLUE,COLOR_LIGHTBLUE,COLOR_LIGHTBLUE,COLOR_LIGHTBLUE,COLOR_LIGHTBLUE); //SetPlayerSpecialAction(playerid,SPECIAL_ACTION_HANDSUP); ApplyAnimationEx(playerid, "PED", "handsup", 4.1, 0, 1, 1, 1, 60000, 1); SendClientMessage(playerid,COLOR_GRAD5," Voce esta no modo Handsup!!"); SendClientMessage(playerid,COLOR_GRAD5, "Para sair do modo Handsup, digite: /stopanim."); return true; } CMD:hide(playerid) { if(IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao pode usar este comando dentro de um veiculo !"); ApplyAnimationEx(playerid, "ped", "cower", 3.0, 1, 0, 0, 0, 0); SendClientMessage(playerid,COLOR_GRAD5, "Para sair do modo Hide, digite: /stopanim."); return true; } CMD:rmdiofarmacia60(playerid, params[]) { if(PlayerToPoint(2.0, playerid,835.8641,-722.7563,499.8795)) { new string[2000]; string[0] = EOS; strcat(string, "{DDA0DD}Produto\t{98FB98}Preco\t{DDA0DD}Cura\t{FFFFFF}Unidades\n"); strcat(string, "{DDA0DD}Remedio pequeno\t{98FB98}$2.000\t{DDA0DD}+40\t{FFFFFF}1 Unidade(s)\n"); strcat(string, "{DDA0DD}Remedio Normal\t{98FB98}$10.000\t{DDA0DD}+60\t{FFFFFF}1 Unidade(s)\n"); strcat(string, "{DDA0DD}MedKit de chao\t{98FB98}$5.500\t{DDA0DD}+5 p/seg\t{FFFFFF}1 Unidade(s)\n"); strcat(string, "{DDA0DD}Remedio pequeno\t{98FB98}$10.000\t{DDA0DD}+40\t{FFFFFF}5 Unidade(s)\n"); strcat(string, "{DDA0DD}Remedio Normal\t{98FB98}$50.000\t{DDA0DD}+60\t{FFFFFF}5 Unidade(s)\n"); strcat(string, "{DDA0DD}MedKit de chao\t{98FB98}$75.000\t{DDA0DD}+5 p/seg\t{FFFFFF}5 Unidade(s)\n"); ShowPlayerDialog(playerid, 3457, 5, "Farmacia 24'Horas", string, "Comprar", "Cancelar"); } return 1; } CMD:skin(playerid) { ShowModelSelectionMenu(playerid, ComprarSkinList, "Selecione a Skin"); return 1; } //-------------------------------[Check]-------------------------------------------------------------------------- CMD:telefone(playerid, params[])return ForT:agenda(playerid, params); CMD:agenda(playerid, params[]) { if (PlayerInfo[playerid][pPhoneBook] == 1) { if(PlayerInfo[playerid][pJailed] == 9) return SendClientMessage(playerid,COLOR_GRAD1,"Voce nao pode usar este comando nas Celas da Administracao!"); if(sscanf(params, "u", giveplayerid)) return SendClientMessage(playerid, COLOR_GRAD1, "USE: /telefone ou /agenda [id/nome]"); if(IsPlayerConnected(giveplayerid)) { if(giveplayerid != INVALID_PLAYER_ID) { new string[128]; format(string, 128, "Nick: %s ~ Número: %d",PlayerName(giveplayerid),PlayerInfo[giveplayerid][pPnumber]); SendClientMessage(playerid, COLOR_GRAD1, string); } } else { SendClientMessage(playerid, COLOR_GRAD1, " ID Invalido !"); } } else { SendClientMessage(playerid, COLOR_LIGHTBLUE, "Voce nao possui agenda, compre em um Mercado 24/7 (use: /gps » Propriedades)."); } return true; } CMD:carrocasa(playerid, params[]) { new House = PlayerInfo[playerid][pPHousekey]; GetPlayerName(playerid, playername, sizeof(playername)); if (House != 500 && strcmp(playername, HouseInfo[PlayerInfo[playerid][pPHousekey]][hOwner], true) == 0) { if(IsPlayerInRangeOfPoint(playerid, 100.0, HouseInfo[House][hExitx], HouseInfo[House][hExity], HouseInfo[House][hExitz])) { Controle(playerid, 0); ShowModelSelectionMenu(playerid, CarrosCasaList, "Escolha seu carro", 50, 0x000000AA); SendClientMessage(playerid, COLOR_YELLOW2, "Escolha o novo carro da sua casa!"); } else { SendClientMessage(playerid, COLOR_GRAD2, "Voce esta longe do interior da sua casa!"); } } else { SendClientMessage(playerid, COLOR_GRAD2, "Voce nao tem uma Casa!"); } return true; } CMD:resetarmelhorias(playerid, params[]) { if (gPlayerLogged[playerid] == 0) return SendClientMessage(playerid, 0xff6347FF, "* Voce nao esta conectado."); if (GetPlayerMoney(playerid) < 100) return SendClientMessage(playerid, COLOR_GRAD1, " O reset custa R$100 !"); if (PlayerInfo[playerid][pLevel] < 2) return SendClientMessage(playerid, COLOR_GRAD1, "Voce deve ter no minimo nivel 2 !"); new string[75]; PlayerInfo[playerid][gPupgrade] = (PlayerInfo[playerid][pLevel]-1)*2; PlayerInfo[playerid][pSHealth] = 0.0; PlayerInfo[playerid][pAlcoholPerk] = 0; PlayerInfo[playerid][pDrugPerk] = 0; PlayerInfo[playerid][pMiserPerk] = 0; PlayerInfo[playerid][pPainPerk] = 0; PlayerInfo[playerid][pTraderPerk] = 0; GiveDinheiro(playerid,-100); PlayerPlaySound(giveplayerid, 1052, 0.0, 0.0, 0.0); format(string, 128, "Voce tem %d pontos de melhoria !",PlayerInfo[playerid][gPupgrade]); SendClientMessage(playerid, COLOR_GRAD2, string); return true; } CMD:resetarfazendas(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] < 1342) return SendClientMessage(playerid, COLOR_GRAD1, LEVELADM); new string[256]; for(new b = 0; b < sizeof(FBizzInfo); b++) { format(string, sizeof string, "Fazenda %d", b); FBizzInfo[b][fbLocked] = 1; FBizzInfo[b][fbOwned] = 0; strmid(FBizzInfo[b][fbOwner], "Ninguem", 0, strlen("Ninguem"), 255); strmid(FBizzInfo[b][fbExtortion], "Ninguem", 0, strlen("Ninguem"), 255); strmid(FBizzInfo[b][fbMessage], string,0,strlen(string), 255); FBizzInfo[b][fbBuyPrice] = 5000000; FBizzInfo[b][fbEntranceCost] = 5000; FBizzInfo[b][fbProducts] = 200000; FBizzInfo[b][fbMaxProducts] = 200000; FBizzInfo[b][fbPriceProd] = 1000; FBizzInfo[b][fbProductsReq] = 0; PlayerPlaySound(giveplayerid, 1052, 0.0, 0.0, 0.0); SalvarFEmpresa(b); Atualizar3Dtexts(); } format(string, 128, "Voce resetou todas as Fazendas !"); SendClientMessage(playerid, COLOR_GRAD2, string); Atualizar3Dtexts(); return true; } CMD:admvtodascasas(playerid) { if(PlayerInfo[playerid][pAdmin] >= 1342) { new /*gstring[100],*/ string[128]; for(new h; h != MAX_HOUSES; h++) { HouseInfo[h][hHel] = 0; HouseInfo[h][hArm] = 0; HouseInfo[h][hHealthx] = 0; HouseInfo[h][hHealthy] = 0; HouseInfo[h][hHealthz] = 0; HouseInfo[h][hArmorrx] = 0; HouseInfo[h][hArmorry] = 0; HouseInfo[h][hArmorrz] = 0; HouseInfo[h][hLock] = 1; HouseInfo[h][hOwned] = 0; HouseInfo[h][hVcol1] = -1; HouseInfo[h][hVcol2] = -1; strmid(HouseInfo[h][hOwner], "O estado", 0, strlen("O estado"), 255); format(gstring, sizeof(gstring), "Casa Socio"); if(strcmp(gstring, HouseInfo[h][hDiscription], true) == 0) { strmid(HouseInfo[h][hDiscription], "Casa VIP", 0, strlen("Casa VIP"), 255); } format(gstring, sizeof(gstring), "Casa Socio"); if(strcmp(gstring, HouseInfo[h][hDiscription], true) == 0) { strmid(HouseInfo[h][hDiscription], "Casa VIP", 0, strlen("Casa VIP"), 255); } DestroyDynamicMapIcon(HouseInfo[h][hMapIcon]); HouseInfo[h][hMapIcon] = CreateDynamicMapIcon(HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez], 31, 0xE6E6E6E6, -1, -1, -1, 250.0); SaveCasa(h); Atualizar3Dtexts(); } Atualizar3Dtexts(); format(string, sizeof(string), "~w~Voce vendeu todas as propriedades"); GameTextForPlayer(playerid, string, 10000, 3); PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); format(string, sizeof(string), "AdmCmd: Admin %s vendeu todas as Casas do Servidor", PlayerName(playerid)); CNFLogs("casas", string); } else { SendClientMessage(playerid, COLOR_GREY, "Voce nao tem permissao para usar esse comando !"); } return true; } CallBack::DesbugarPatins(playerid) { new Float:pos[3]; GetPlayerPos(playerid, pos[0], pos[1], pos[2]); SetPlayerPos(playerid, pos[0], pos[1], pos[2]+0.7); return ClearAnimations(playerid); } CMD:melhorar(playerid, gunid[]) { //new gstring[128]; if(isnull(gunid)) { format(gstring, sizeof(gstring), "USE: /melhorar [pontos] (Voce tem %d pontos de melhora)",PlayerInfo[playerid][gPupgrade]); SendClientMessage(playerid, COLOR_WHITE, "|______________[ UPGRADES ]______________|"); SendClientMessage(playerid, COLOR_GRAD2,gstring); if(PlayerInfo[playerid][pLevel] == 2) { SendClientMessage(playerid, COLOR_GRAD3, "Nivel 2 Melhorias: Alcool, Drogas"); } else if(PlayerInfo[playerid][pLevel] == 3) { SendClientMessage(playerid, COLOR_GRAD3, "Nivel 3 Melhorias: Alcool, Drogas, Comercio"); } else if(PlayerInfo[playerid][pLevel] == 3) { SendClientMessage(playerid, COLOR_GRAD3, "Nivel 4 Melhorias: Alcool, Drogas, Avareza, Comercio"); } else if(PlayerInfo[playerid][pLevel] >= 5) { SendClientMessage(playerid, COLOR_GRAD3, "Nivel 5 Melhorias: Alcool, Drogas, Avareza, Comercio, PainKillers"); } SendClientMessage(playerid, COLOR_GRAD5, "Extra: Vida"); return true; } if (PlayerInfo[playerid][gPupgrade] >= 1) { if (PlayerInfo[playerid][pLevel] >= 1 && (strcmp(gunid, "Vida", true, strlen(gunid)) == 0)) { if (PlayerInfo[playerid][pSHealth] < 100) { PlayerInfo[playerid][pSHealth] = PlayerInfo[playerid][pSHealth]+10.0; format(gstring, 128, "Atualizacao: voce vai nascer com %.2f de vida (+10)",PlayerInfo[playerid][pSHealth]); } else { SendClientMessage(playerid, COLOR_GRAD6, "Voce ja esta no maximo de vida"); return true; } } else if (PlayerInfo[playerid][pLevel] >= 2 && (strcmp(gunid, "Alcool", true, strlen(gunid)) == 0)) { if (PlayerInfo[playerid][pAlcoholPerk] < 3) { PlayerInfo[playerid][pAlcoholPerk] += 1; format(gstring, 128, "Nova Atualizacao: Agora seu nivel de alcool e %d.",PlayerInfo[playerid][pAlcoholPerk]); PlayerInfo[playerid][gPupgrade]--; } else { SendClientMessage(playerid, COLOR_GRAD6, " Seu nivel de alcool ja esta no maximo !"); return true; } } else if (PlayerInfo[playerid][pLevel] >= 2 && (strcmp(gunid, "Drogas", true, strlen(gunid)) == 0)) { if (PlayerInfo[playerid][pDrugPerk] < 3) { PlayerInfo[playerid][pDrugPerk] += 1; format(gstring, 128, "Nova Atualizacao: Agora seu nivel de drogas e %d.",PlayerInfo[playerid][pDrugPerk]); PlayerInfo[playerid][gPupgrade]--; } else { SendClientMessage(playerid, COLOR_GRAD6, " Seu nivel de drogas ja esta no maximo !"); return true; } } else if (PlayerInfo[playerid][pLevel] >= 3 && (strcmp(gunid, "Avareza", true, strlen(gunid)) == 0)) { if (PlayerInfo[playerid][pMiserPerk] < 3) { PlayerInfo[playerid][pMiserPerk] += 1; format(gstring, 128, "Nova Atualizacao: Agora sua avareza e nivel %d.",PlayerInfo[playerid][pMiserPerk]); PlayerInfo[playerid][gPupgrade]--; } else { SendClientMessage(playerid, COLOR_GRAD6, " Sua atualizacao de Avareza esta no maximo !"); return true; } } else if (PlayerInfo[playerid][pLevel] >= 4 && (strcmp(gunid, "Comercio", true, strlen(gunid)) == 0)) { if (PlayerInfo[playerid][pTraderPerk] < 3) { PlayerInfo[playerid][pTraderPerk] += 1; format(gstring, 128, "Nova Atualizacao: Agora seu Comercio e nivel %d.",PlayerInfo[playerid][pTraderPerk]); PlayerInfo[playerid][gPupgrade]--; } else { SendClientMessage(playerid, COLOR_GRAD6, " Sua atualizacao de comercio esta no maximo !"); return true; } } else if (PlayerInfo[playerid][pLevel] >= 5 && (strcmp(gunid, "painkillers", true, strlen(gunid)) == 0)) { if (PlayerInfo[playerid][pPainPerk] < 3) { PlayerInfo[playerid][pPainPerk] += 1; format(gstring, 128, "Nova Atualizacao: Seu nivel de Pain Killers agora e %d.",PlayerInfo[playerid][pPainPerk]); PlayerInfo[playerid][gPupgrade]--; } else { SendClientMessage(playerid, COLOR_GRAD6, " Sua atualizacao de Pain Killers ja esta no maximo !"); return true; } } else { SendClientMessage(playerid, COLOR_GRAD6, " Atualizacao desconhecida"); return true; } } else { SendClientMessage(playerid, COLOR_GRAD6, "Voce tem 0 Pontos de Melhoria"); return true; } SendClientMessage(playerid, COLOR_GRAD6, gstring); PlayerInfo[playerid][gPupgrade]--; return true; } CMD:desativar(playerid, tmp[]) { if(gPlayerLogged[playerid] == 0) { SendClientMessage(playerid, COLOR_GRAD3, "Voce nao fez o login"); return true; } if(isnull(tmp)) { SendClientMessage(playerid, COLOR_WHITE, "|______________ Desabilitar ______________|"); SendClientMessage(playerid, COLOR_WHITE,"/desativar [nome]"); SendClientMessage(playerid, COLOR_GREY,"Nomes Disponiveis: celular"); return true; } else if(strcmp(tmp, "celular", true) == 0) { if(PlayerInfo[playerid][pVIP] > 0 || PlayerInfo[playerid][pAdmin] > 1) { if (!PhoneOnline[playerid]) { PhoneOnline[playerid] = 1; SendClientMessage(playerid, COLOR_GRAD2, "Voce desligou seu celular (nao recebera ligacões nem SMS) !"); CellTime[playerid] = 0; Mobile[playerid] = 255; new pSpecialAction = GetPlayerSpecialAction(playerid); if (pSpecialAction == SPECIAL_ACTION_USECELLPHONE) { SetPlayerSpecialAction(playerid,SPECIAL_ACTION_STOPUSECELLPHONE); RemovePlayerAttachedObjectEx(playerid, Vaga_Celular); } } else if (PhoneOnline[playerid]) { PhoneOnline[playerid] = 0; SendClientMessage(playerid, COLOR_GRAD2, "Voce ligou seu celular !"); } } } else { SendClientMessage(playerid, COLOR_WHITE, "|______________ Desabilitar ______________|"); SendClientMessage(playerid, COLOR_WHITE,"/desativar [nome]"); SendClientMessage(playerid, COLOR_GREY,"Nomes Disponiveis: org, noticias, celular"); } return true; } //----------------------------------[Emote]----------------------------------------------- CMD:me(playerid, params[])return ForT:eu(playerid, params); CMD:eu(playerid, result[]) { if(NaCamera[playerid] > 3) return SendClientMessage(playerid,COLOR_YELLOW,"Voce nao pode falar agora!"); if(PlayerInfo[playerid][pMuted] == 1) return SendClientMessage(playerid, 0xA92BF6F6, "Voce nao pode falar, pois foi calado"); if(PlayerInfo[playerid][pJailed] != 0) return SendClientMessage(playerid, 0xA92BF6F6, "Voce nao pode falar, pois está preso!"); if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid, COLOR_GREY, "Voce nao esta logado !"); if(isnull(result)) return SendClientMessage(playerid, COLOR_GRAD2, "USE: /eu [action]"); //Anti Divulguer if(AntiDivulguer(playerid, result))return 1; new string[128]; format(string, sizeof(string), "*** %s %s", PlayerName(playerid), result); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); printf("%s", string); return true; } CMD:livrardrogas(playerid) { if(PlayerInfo[playerid][pDrogas] >= 1 || PlayerInfo[playerid][pDrogas2] >= 1 || PlayerInfo[playerid][pDrogas3] >= 1) { new string[128]; format(string, sizeof(string), "* %s livrou-se de suas drogas.", NomePlayer(playerid)); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); PlayerInfo[playerid][pDrogas] = 0; PlayerInfo[playerid][pDrogas2] = 0; PlayerInfo[playerid][pDrogas3] = 0; } else { SendClientMessage(playerid, COLOR_GREY, "Voce nao tem nenhuma droga !"); } return 1; } CMD:livrarmats(playerid) { if(PlayerInfo[playerid][pMats] >= 1) { new string[128]; format(string, sizeof(string), "* %s livrou-se de seus materiais.", NomePlayer(playerid)); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); PlayerInfo[playerid][pMats] = 0; } else { SendClientMessage(playerid, COLOR_GREY, "Voce nao tem nenhum material !"); } return 1; } CMD:largararma(playerid) { if(GetPlayerState(playerid) != PLAYER_STATE_ONFOOT) return 1; if(gettime() < GetPVarInt(playerid, #VarFlood17)) return SendClientMessage(playerid, COLOR_GRAD1, #[ERRO] Impossivel usar este comando com tanta frequencia.); SetPVarInt(playerid, #VarFlood17, gettime()+5); if(GetPlayerSpecialAction(playerid) == SPECIAL_ACTION_CUFFED){ return SendClientMessage(playerid, COLOR_GREY, " [ERRO] Voce nao pode usar este comando agora. !"); } switch(GetPlayerWeapon(playerid)){ case 16, 18, 44, 45, 35: return SendClientMessage(playerid, COLOR_GREY, " Voce nao pode largar esta arma !"); } new GunID = GetPlayerWeapon(playerid); new GunAmmo = GetPlayerAmmo(playerid); new Float:x, Float:y, Float:z; if(GunID > 0 && GunAmmo != 0) { new f = MAX_OBJ+1; for(new a = 0; a < MAX_OBJ; a++) { if(dGunData[a][ObjPos][0] == 0.0) { f = a; break; } } if(f > MAX_OBJ) return SendClientMessage(playerid, 0x33AA3300, "Voce nao pode largar esta arma no momento, tente novamente mais tarde!"); RemovePlayerWeapon(playerid, GunID); GetPlayerPos(playerid, x, y, z); CreateDroppedGun(GunID, GunAmmo, x, y, z); ApplyAnimationEx(playerid,"BOMBER","BOM_Plant_2Idle",4.1,0,1,1,0,0); new buffer[85]; format(buffer, sizeof(buffer), "Voce largou um(a) %s.", GunNames[dGunData[f][ObjData][0]]); SendClientMessage(playerid, 0x33CCFFFF, buffer); format(buffer, sizeof(buffer), "*%s colocou um(a) %s no chao.", NomePlayer(playerid), GunNames[dGunData[f][ObjData][0]]); SendClientMessageInRange(30.0, playerid, buffer, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); printf("%s", buffer); } return 1; } CMD:parma(playerid) { if(GetPlayerState(playerid) != PLAYER_STATE_ONFOOT) return 1; new f = MAX_OBJ+1; for(new a = 0; a < MAX_OBJ; a++) { if(IsPlayerInRangeOfPoint(playerid, 1.8, dGunData[a][ObjPos][0], dGunData[a][ObjPos][1], dGunData[a][ObjPos][2])) { f = a; break; } } if(f > MAX_OBJ) return 1; if(gettime() < GetPVarInt(playerid, #VarFlood8)) return 1; SetPVarInt(playerid, #VarFlood8, gettime()+2); for(new i=0; i<75; i++) { if(InventarioInfo[playerid][i][iSlot] == 19382) { InventarioInfo[playerid][i][iSlot] = MudarIdArma(dGunData[f][ObjData][0]); InventarioInfo[playerid][i][iUnidades] = dGunData[f][ObjData][1]; break; } } DestroyDroppedObject(f); ApplyAnimationEx(playerid,"BOMBER","BOM_Plant_2Idle",4.1,0,1,1,0,0); new buffer[85]; format(buffer, sizeof(buffer), "Voce pegou um(a) %s.", GunNames[dGunData[f][ObjData][0]]); SendClientMessage(playerid, 0x33AA3300, buffer); format(buffer, sizeof(buffer), "*%s pegou um(a) %s do chao.", NomePlayer(playerid), GunNames[dGunData[f][ObjData][0]]); SendClientMessageInRange(30.0, playerid, buffer, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); printf("%s", buffer); return 1; } CMD:pitem(playerid) { if(GetPlayerState(playerid) != PLAYER_STATE_ONFOOT) return 1; new f = MAX_OBJ+1; for(new a = 0; a < MAX_OBJ; a++) { if(IsPlayerInRangeOfPoint(playerid, 1.8, dItemData[a][ObjtPos][0], dItemData[a][ObjtPos][1], dItemData[a][ObjtPos][2])) { f = a; break; } } if(f > MAX_OBJ) return 1; if(gettime() < GetPVarInt(playerid, #VarFlood8)) return 1; SetPVarInt(playerid, #VarFlood8, gettime()+2); if(dItemData[f][ObjtData][0] == 1212) { if(dItemData[f][DinSujo] == 1) { SCMf(playerid, -1, "INFO: O Dinheiro pego no chao e sujo. dinheiro sujo atual: R$ %s", ConvertMoney(PlayerInfo[playerid][pDinheiroSujo])); PlayerInfo[playerid][pDinheiroSujo] += dItemData[f][ObjtData][1]; DestroyDroppedItem(f); return 1; } } for(new i=0; i<75; i++) { if(dItemData[f][ObjtData][0] == 1654) { PlayerInfo[playerid][pExplosivos] += 1; } if(InventarioInfo[playerid][i][iSlot] == 19382) { InventarioInfo[playerid][i][iSlot] = dItemData[f][ObjtData][0]; InventarioInfo[playerid][i][iUnidades] = dItemData[f][ObjtData][1]; break; } } new str[256]; format(str, sizeof str, "* Voce pegou um item: %s, com %d unidade(s)", NomeItemInventario(dItemData[f][ObjtData][0]), dItemData[f][ObjtData][1]); SendClientMessage(playerid, COLOR_LIGHTBLUE, str); DestroyDroppedItem(f); ApplyAnimationEx(playerid,"BOMBER","BOM_Plant_2Idle",4.1,0,1,1,0,0); return 1; } CMD:getemprego(playerid, params[]) { if(PlayerInfo[playerid][pEmprego] != 0) return SendClientMessage(playerid,COR_AMARELO," Voce ja tem um emprego,digite /sairdoemprego !"); if (PlayerToPoint(2.0, playerid, 951.7770,-1744.5381,13.6210) || PlayerToPoint(2.0, playerid, 1692.5638,-1383.4518,3261.0713)) { TogglePlayerControllableEx(playerid, 0); ShowPlayerDialog(playerid, 13333, DIALOG_STYLE_TABLIST_HEADERS, "Agencia de empregos LS/LV", "Cidade\tQnt De Empregos\n\ {FFFFFF}Agencia de Los Santos\t{00FFFF}13\n\ {FFFFFF}Agencia de Las Venturas\t{00FFFF}4 *(Novidade)*", "Verificar", "Cancelar"); EmDialog[playerid] = 1; } return 1; } /*CMD:getemprego(playerid, params[]) { if(PlayerInfo[playerid][pEmprego] != 0) return SendClientMessage(playerid,COR_AMARELO," Voce ja tem um emprego,digite /sairdoemprego !"); if (PlayerToPoint(2.0, playerid, 951.7770,-1744.5381,13.6210)) { TogglePlayerControllableEx(playerid, 0); MEGAString[0] = EOS; new string[128]; format(string, sizeof(string), "{FFFFFF}»{33CCFF} Profissao\t{FFFFFF}Level\t{33AA33}Licienciamento\n"); strcat(MEGAString,string); format(string, sizeof(string), "{FFFFFF}»{33CCFF} Advogado\t{FFFFFF}+2\t{33AA33}Nao precisa\n"); strcat(MEGAString,string); format(string, sizeof(string), "{FFFFFF}»{33CCFF} Mecanico\t{FFFFFF}+3\t{33AA33}Nao precisa\n"); strcat(MEGAString,string); format(string, sizeof(string), "{FFFFFF}»{33CCFF} Agricultor\t{FFFFFF}+3\t{33AA33}Nao precisa\n"); strcat(MEGAString,string); format(string, sizeof(string), "{FFFFFF}»{33CCFF} Vendedor de Produtos\t{FFFFFF}+1\t{33AA33}Terrestre\n"); strcat(MEGAString,string); format(string, sizeof(string), "{FFFFFF}»{33CCFF} Taxista\t{FFFFFF}+3\t{33AA33}Terrestre\n"); strcat(MEGAString,string); format(string, sizeof(string), "{FFFFFF}»{33CCFF} Bombeiro\t{FFFFFF}+6\t{33AA33}Terrestre\n"); strcat(MEGAString,string); format(string, sizeof(string), "{FFFFFF}»{33CCFF} Entregador iFood\t{FFFFFF}+6\t{33AA33}Terrestre\n"); strcat(MEGAString,string); format(string, sizeof(string), "{FFFFFF}»{33CCFF} Gari\t{FFFFFF}+2\t{33AA33}Terrestre\n"); strcat(MEGAString,string); format(string, sizeof(string), "{FFFFFF}»{33CCFF} Motorista de Onibus {00FF00}[NEW]{FFFFFF}\t{FFFFFF}+3\t{33AA33}Terrestre\n"); strcat(MEGAString,string); format(string, sizeof(string), "{FFFFFF}»{33CCFF} Eletricista {00FF00}[NEW]{FFFFFF}\t{FFFFFF}+5\t{33AA33}Terrestre\n"); strcat(MEGAString,string); format(string, sizeof(string), "{FFFFFF}»{33CCFF} Caminhoneiro {00FF00}[NEW]{FFFFFF}\t{FFFFFF}+2\t{33AA33}Terrestre\n"); strcat(MEGAString,string); ShowPlayerDialog(playerid,2569,DIALOG_STYLE_TABLIST_HEADERS, "• CNF - Profissões •", MEGAString,"Aceitar","Cancelar"); EmDialog[playerid] = 1; } if (PlayerToPoint(2.0, playerid, 1692.5638,-1383.4518,3261.0713)) { TogglePlayerControllableEx(playerid, 0); MEGAString[0] = EOS; new string[128]; format(string, sizeof(string), "{FFFFFF}»{33CCFF} Profissao\t{FFFFFF}Level\t{33AA33}Licienciamento\n"); strcat(MEGAString,string); format(string, sizeof(string), "{FFFFFF}»{33CCFF} Carro Forte\t{FFFFFF}+3\t{33AA33}Terrestre\n"); strcat(MEGAString,string); format(string, sizeof(string), "{FFFFFF}»{33CCFF} Sedex\t{FFFFFF}+3\t{33AA33}Terrestre\n"); strcat(MEGAString,string); ShowPlayerDialog(playerid,2579,DIALOG_STYLE_TABLIST_HEADERS, "• CNF - Profissões •", MEGAString,"Aceitar","Cancelar"); EmDialog[playerid] = 1; } return 1; }*/ CMD:menuemp(playerid,params[]) { if (PlayerToPoint(2.0, playerid, 2376.9092,2460.9690,10.8203)) { new StrGeral[2000]; format(StrGeral, sizeof(StrGeral), ""); if(PlayerInfo[playerid][pEmprego] != 9) return SendClientMessage(playerid, 0x00FFFFFF, "Você não está em nenhum emprego!!"); strcat(StrGeral, "{FFFFFF}Pegar/Entregar um veiculo\nPegar um local de entrega de encomenda\nLocalizar Local\nParar de trabalhar\n"); ShowPlayerDialog(playerid, DG_Central_Menu, DIALOG_STYLE_LIST, "{00FFFF}[Menu Emprego]", StrGeral, "Ok", "Cancelar"); } return 1; } CMD:sexshop(playerid, params[]) { if (PlayerToPoint(2.0, playerid, -103.9931,-22.0508,1000.7188)) { ShowPlayerDialog(playerid, 8890, DIALOG_STYLE_TABLIST_HEADERS, "Sex Shop", "Nome\tPreco\n\ Dildo\tR$10.000.000\n\ Dildo2\tR$10.000.000\n\ Vibrador\tR$10.000.000\n\ Vibador2\tR$10.000.000\n\ Flor\tR$10.000.000","Selecionar", "Cancelar"); return true; } return true; } CMD:licencas(playerid, params[]) { if (PlayerToPoint(2.0, playerid, -2033.4347,-117.4312,1035.1719)) { Controle(playerid, 1); ShowPlayerDialog(playerid,2571,DIALOG_STYLE_TABLIST_HEADERS, "Licencas", "Liçenca\tValor\n{FFFFFF}Licenca Aerea\t{FFD000}R$5000\n\ {FFFFFF}Licenca de Navegacao\t{FFD000}R$5000\n\ {FFFFFF}habilitacao\t{FFD000}R$5000\n\ {FFFFFF}Porte De Armas\t{FFD000}R$70000\n","Ok","Cancelar"); } return true; } CMD:disfarceex2014(playerid) { if(GetPlayerOrg(playerid) != 8 && GetPlayerOrg(playerid) != 22) return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao e um assassino!"); SetPlayerSkin(playerid, PlayerInfo[playerid][pSkin]); SetPlayerToTeamColor(playerid); if(GoChase[playerid] == 999)return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao possui um contrato"); new string[128]; MEGAString[0] = EOS; format(string, 128, " {9fa4e8}%s\n", GetOrgName(1)); strcat(MEGAString,string); format(string, 128, " {3e3d3d}%s\n", GetOrgName(2)); strcat(MEGAString,string); format(string, 128, " {00660C}%s\n", GetOrgName(3)); strcat(MEGAString,string); format(string, 128, " {F78181}%s\n", GetOrgName(4)); strcat(MEGAString,string); format(string, 128, " {337EFF}%s\n", GetOrgName(5)); strcat(MEGAString,string); format(string, 128, " {FBC63F}%s\n", GetOrgName(6)); strcat(MEGAString,string); format(string, 128, " {6AB4E6}%s\n", GetOrgName(7)); strcat(MEGAString,string); format(string, 128, " {BDBDBD}%s\n", GetOrgName(8)); strcat(MEGAString,string); format(string, 128, " {ffe99e}%s\n", GetOrgName(9)); strcat(MEGAString,string); format(string, 128, " {93EDDE}%s\n", GetOrgName(10)); strcat(MEGAString,string); format(string, 128, " {917662}%s\n", GetOrgName(11)); strcat(MEGAString,string); format(string, 128, " {D48A30}%s\n", GetOrgName(12)); strcat(MEGAString,string); format(string, 128, " {00483A}%s\n", GetOrgName(13)); strcat(MEGAString,string); format(string, 128, " {00da1c}%s\n", GetOrgName(14)); strcat(MEGAString,string); format(string, 128, " {ffcc99}%s\n", GetOrgName(15)); strcat(MEGAString,string); format(string, 128, " {c640dd}%s\n", GetOrgName(17)); strcat(MEGAString,string); format(string, 128, " {DEBC00}%s\n", GetOrgName(18)); strcat(MEGAString,string); format(string, 128, " {00FFFF}%s\n", GetOrgName(19)); strcat(MEGAString,string); format(string, 128, " {9ACD32}%s\n", GetOrgName(21)); strcat(MEGAString,string); format(string, 128, " {A4D1FF}%s\n", GetOrgName(22)); strcat(MEGAString,string); format(string, 128, " {CC0196}%s\n", GetOrgName(23)); strcat(MEGAString,string); format(string, 128, " {906000}%s\n", GetOrgName(33)); strcat(MEGAString,string); format(string, 128, " {ffe99e}%s\n", GetOrgName(34)); strcat(MEGAString,string); strcat(MEGAString," Civil\nVoltar ao Normal"); ShowPlayerDialog(playerid, 5874, DIALOG_STYLE_LIST, "Disfarces de Organizacões", MEGAString, "Disfarcar", "Sair"); return 1; } CMD:testarspawn(playerid) { SpawnPlayer(playerid); return 1; } CMD:testarcores(playerid) { if(PlayerInfo[playerid][pAdmin] < 1342) return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao e um admin Dono!"); if(IsPlayerConnected(playerid)) { MEGAString[0]=EOS; new str[95]; new count; for(new i = 0; i < MAX_ORGS; i++) { if(i == 0) { } else { count++; GetPlayerName(i, sendername, sizeof(sendername)); format(str, sizeof(str), "{FFFFFF}Nº%d - {%s}%s\n", i, CoresOrg(i), GetOrgName(i)); strcat(MEGAString, str); } } if(count<=0)return ShowPlayerDialog(playerid, 0, DIALOG_STYLE_LIST, "Cores das Orgs", "{00FF00}Nenhum Organizacao Encontrada", "OK", ""); if(count>0)ShowPlayerDialog(playerid, 0, DIALOG_STYLE_LIST, "Cores das Orgs", MEGAString, "OK", ""); } return 1; } CMD:gps(playerid)//PlayerInfo[playerid][pMembro] != 4 && PlayerInfo[playerid][pLider] != 4 && PlayerInfo[playerid][pMembro] != 31 && PlayerInfo[playerid][pLider] != 31 { if(CaminhoneiroTrampando[playerid] != 0) return SCM(playerid, -1, "Voce nao pode usar o gps com uma carga entregue primeiro."); if(GetPVarInt(playerid, "AGRTrampando")) return SendClientMessage(playerid, COLOR_GRAD1, "| ERRO | Você está em modo colheita no emprego Agriculotor."); if(yMP_PegouServ[playerid] != 0) return SendClientMessage(playerid, COLOR_GRAD1, "| ERRO | Você está em modo coleta no emprego Gari."); if(GariTrabalhando[playerid] != 0) return SendClientMessage(playerid, COLOR_GRAD1, "| ERRO | Você está em modo coleta no emprego Gari."); if(Entregando[playerid] == 1) return SendClientMessage(playerid, COLOR_GRAD1, "| ERRO | Você está em modo entrega no emprego iFood."); if(PlayerInfo[playerid][pEmprego] != 3 && PlayerInfo[playerid][pEmprego] != 5 && PlayerInfo[playerid][pEmprego] != 6 && PlayerInfo[playerid][pEmprego] > 0) return SCM(playerid, COLOR_GRAD1, "{00FFFF} | ERRO | Você não pode usar o gps pois está em modo trabalho em seu emprego! Use /sairdoemprego para pode-lo usar o /gps"); ShowPlayerDialog(playerid,78,DIALOG_STYLE_LIST,"Menu GPS","Los Santos\nLas Venturas","Selecionar","Cancelar"); return true; } CMD:dn(playerid, params[]) { if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid, 0xff6347FF, "* Voce nao esta conectado."); if (PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pAdminTemp] >= 1) { if(PlayerInfo[playerid][pJailed] != 0) return SendClientMessage(playerid,COLOR_YELLOW,"Voce nao pode usar esse comando na cadeia!"); new Float:slx, Float:sly, Float:slz; GetPlayerPos(playerid, slx, sly, slz); SetPlayerPos(playerid, slx, sly, slz-2); return true; } else { SendClientMessage(playerid, COLOR_GRAD1, "Voce nao e admin !"); } return true; } CMD:at(playerid) { if(PlayerInfo[playerid][pMuted] == 1) return SendClientMessage(playerid, 0xA92BF6F6, "Voce nao pode falar, pois foi calado"); if(Mobile[playerid] != 255) return SendClientMessage(playerid, COLOR_GRAD2, "Voce ja esta em uma ligacao."); new string[128]; foreach(Player, i) { if(Mobile[i] == playerid) { Mobile[playerid] = i; //caller connecting SendClientMessage(i, COLOR_GRAD2, "Atendeu o celular."); GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "* %s atendeu o celular.", PlayerName(playerid)); SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SetPlayerSpecialAction(playerid,SPECIAL_ACTION_USECELLPHONE); new id = CountAttachedObjects(playerid); SetPlayerAttachedObject_Droid(playerid, id, PlayerInfo[playerid][pTelColor], 6,0.102000,0.000000,-0.002000,-104.100006,-14.999977,172.200164,1.000000,1.000000,1.000000); SetPlayerAttachedObjectEx(PlayerInfo[playerid][pTelColor],Vaga_Celular,playerid,id); RingTone[playerid] = 0; } } return true; } CMD:des(playerid, params[]) { new caller = Mobile[playerid]; if(IsPlayerConnected(caller)) { if(caller != INVALID_PLAYER_ID) { if(caller != 255) { if(caller < 255) { SendClientMessage(caller, COLOR_GRAD2, " Desligaram do outro lado da linha."); CellTime[caller] = 0; CellTime[playerid] = 0; SendClientMessage(playerid, COLOR_GRAD2, "Voce desligou seu celular."); Mobile[caller] = 255; } Mobile[playerid] = 255; CellTime[playerid] = 0; RingTone[playerid] = 0; return true; } } } SendClientMessage(playerid, COLOR_GRAD2, "Voce guardou seu celular no bolso."); new pSpecialAction = GetPlayerSpecialAction(playerid); if (pSpecialAction == SPECIAL_ACTION_USECELLPHONE) { SetPlayerSpecialAction(playerid,SPECIAL_ACTION_STOPUSECELLPHONE); } RemovePlayerAttachedObjectEx(playerid, Vaga_Celular); return true; } CMD:trancar(playerid,params[]) { new vehicleid = GetOwnedVehicleID(playerid); if(vehicleid == INVALID_VEHICLE_ID && PlayerInfo[playerid][pCarKey] == 0) return SendClientMessage(playerid, COLOR_GRAD2, "Voce nao tem um carro de casa/alugado."); new carid; carid = PlayerInfo[playerid][pCarKey]; if(CarroParticular[vehicleid] == 1 && IsPlayerInVehicle(playerid, vehicleid)) { if (vehicleid == INVALID_VEHICLE_ID) return SendClientMessage(playerid, 0xE60000FF, "Voce nao tem um veiculo."); if(!IsPlayerInVehicle(playerid, vehicleid)) return SendClientMessage(playerid, 0xE60000FF, "Voce precisa estar em seu Veiculo."); VehicleInfo[vehicleid][vLock] = 1; LockVehicle(vehicleid); VTrancado[vehicleid] = 1; LockCar(vehicleid); GameTextForPlayer(playerid, "~r~Trancado", 5000, 6); PlayerPlaySound(playerid, 1145, 0.0, 0.0, 0.0); return 1; } if(PlayerInfo[playerid][pCarKey] == 0) { SendClientMessage(playerid, COLOR_GRAD2, "Voce nao tem um carro"); return true; } if(PlayerInfo[playerid][pCarKey] == carid) { if(!IsPlayerInVehicle(playerid, carid)) return SendClientMessage(playerid, 0xE60000FF, "Voce precisa estar em seu Veiculo."); GameTextForPlayer(playerid, "~w~Veiculo proprio ~r~Fechado", 5000, 6); PlayerPlaySound(playerid, 1145, 0.0, 0.0, 0.0); VTrancado[carid] = 1; LockCar(carid); return true; } return 1; } CMD:destrancar(playerid,params[]) { new vehicleid = GetOwnedVehicleID(playerid); if(vehicleid == INVALID_VEHICLE_ID && PlayerInfo[playerid][pCarKey] == 0) return SendClientMessage(playerid, COLOR_GRAD2, "Voce nao tem um carro de casa/alugado."); new carid; carid = PlayerInfo[playerid][pCarKey]; if(CarroParticular[vehicleid] == 1 && IsPlayerInVehicle(playerid, vehicleid)) { if (vehicleid == INVALID_VEHICLE_ID) return SendClientMessage(playerid, 0xE60000FF, "Voce nao tem um veiculo."); //if(!IsPlayerInVehicle(playerid, vehicleid)) return SendClientMessage(playerid, 0xE60000FF, "Voce precisa estar em seu Veiculo."); VehicleInfo[vehicleid][vLock] = 0; UnlockVehicle(vehicleid); VTrancado[vehicleid] = 0; UnLockCar(vehicleid); GameTextForPlayer(playerid, "~r~Destrancado", 5000, 6); PlayerPlaySound(playerid, 1145, 0.0, 0.0, 0.0); return 1; } if(PlayerInfo[playerid][pCarKey] == 0) { SendClientMessage(playerid, COLOR_GRAD2, "Voce nao tem um carro"); return true; } if(PlayerInfo[playerid][pCarKey] == carid) { //if(!IsPlayerInVehicle(playerid, carid)) return SendClientMessage(playerid, 0xE60000FF, "Voce precisa estar em seu Veiculo."); GameTextForPlayer(playerid, "~w~Veiculo proprio ~r~Aberto", 5000, 6); PlayerPlaySound(playerid, 1145, 0.0, 0.0, 0.0); VTrancado[carid] = 0; UnLockCar(carid); return true; } return 1; } AddItem(playerid, itemid, units) { for(new i; i < 75; i ++) { if(InventarioInfo[playerid][i][iSlot] == 19382) { InventarioInfo[playerid][i][iSlot] = itemid; InventarioInfo[playerid][i][iUnidades] = units; return 1; } } return 0; } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // // beditaracessorio stock SetPlayerAttachedObject_Droid(playerid, index, modelid, bone, Float:fOffsetX = 0.0, Float:fOffsetY = 0.0, Float:fOffsetZ = 0.0, Float:fRotX = 0.0, Float:fRotY = 0.0, Float:fRotZ = 0.0, Float:fScaleX = 1.0, Float:fScaleY = 1.0, Float:fScaleZ = 1.0, materialcolor1 = 0, materialcolor2 = 0) { SetPlayerAttachedObject(playerid, index, modelid, bone, Float:fOffsetX, Float:fOffsetY, Float:fOffsetZ, Float:fRotX, Float:fRotY, Float:fRotZ, Float:fScaleX, Float:fScaleY, Float:fScaleZ, materialcolor1, materialcolor2); VarAttachedIndexObj[playerid][index][r_Model] = modelid; VarAttachedIndexObj[playerid][index][r_Bone] = bone; VarAttachedIndexObj[playerid][index][r_OffSets][0] = fOffsetX; VarAttachedIndexObj[playerid][index][r_OffSets][1] = fOffsetY; VarAttachedIndexObj[playerid][index][r_OffSets][2] = fOffsetZ; VarAttachedIndexObj[playerid][index][r_OffSets][3] = fRotX; VarAttachedIndexObj[playerid][index][r_OffSets][4] = fRotY; VarAttachedIndexObj[playerid][index][r_OffSets][5] = fRotZ; VarAttachedIndexObj[playerid][index][r_Scale][0] = fScaleX == 0.0 ? 1.0 : fScaleX; VarAttachedIndexObj[playerid][index][r_Scale][1] = fScaleY == 0.0 ? 1.0 : fScaleY; VarAttachedIndexObj[playerid][index][r_Scale][2] = fScaleZ == 0.0 ? 1.0 : fScaleZ; VarAttachedIndexObj[playerid][index][r_MaterialColors][0] = materialcolor1; VarAttachedIndexObj[playerid][index][r_MaterialColors][1] = materialcolor2; } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // forward EditAttachedObjectEx(playerid, index); public EditAttachedObjectEx(playerid, index) { #undef EditAttachedObject if(IsPlayerAttachedObjectSlotUsed(playerid, index)) { if(!IsPlayerAndroid(playerid)) EditAttachedObject(playerid, index); else EditAttachedObjectAndroid(playerid, index); } #define EditAttachedObject(%0,%1) EditAttachedObjectEx(%0, %1) return 1; } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // forward AddVehicleComponentEx(vehicleid, componentid); public AddVehicleComponentEx(vehicleid, componentid) { #undef AddVehicleComponent AddVehicleComponent(vehicleid, componentid); OnVehicleMod_Vars(INVALID_PLAYER_ID, vehicleid, componentid); #define AddVehicleComponent(%0,%1) AddVehicleComponentEx(%0, %1) return 1; } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // stock EditAttachedObjectAndroid(playerid, index) { if(PainelAbertoEditObjAndroid[playerid]) return 0; PainelAbertoEditObjAndroid[playerid] = true; EditandoObjetoAttachadoID[playerid] = index; gPlayerVarTipoEdit[playerid] = EDICAO_POSICAO; Loop(iii, 6) VarOldPos[playerid][iii] = VarAttachedIndexObj[playerid][index][r_OffSets][iii]; Loop(iii, 3) VarOldScale[playerid][iii] = VarAttachedIndexObj[playerid][index][r_Scale][iii]; // ------------------- // ShowPlayerTextDraws(playerid, B_TD_EDIT_ATTACHED_OBJECT); UpdatePlayerTextDraws(playerid, B_TD_EDIT_ATTACHED_OBJECT); HidePlayerTextDraws(playerid, B_TD_EDIT_ATTACHED_OBJECT); ShowPlayerTextDraws(playerid, B_TD_EDIT_ATTACHED_OBJECT); // ------------------- // SelectTextDraw(playerid, -1); return 1; } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // stock CancelEditObjectAndroid(playerid, bool:ResetahObject = false) { if(!PainelAbertoEditObjAndroid[playerid] || EditandoObjetoAttachadoID[playerid] == -1) return 0; new index = EditandoObjetoAttachadoID[playerid]; // vars PainelAbertoEditObjAndroid[playerid] = false; EditandoObjetoAttachadoID[playerid] = -1; gPlayerVarTipoEdit[playerid] = EDICAO_POSICAO; // ------------------- // if(ResetahObject) { RemovePlayerAttachedObject(playerid, index); SetPlayerAttachedObject_Droid(playerid, index, VarAttachedIndexObj[playerid][index][r_Model], VarAttachedIndexObj[playerid][index][r_Bone], VarOldPos[playerid][0], VarOldPos[playerid][1], VarOldPos[playerid][2], VarOldPos[playerid][3], VarOldPos[playerid][4], VarOldPos[playerid][5], VarOldScale[playerid][0], VarOldScale[playerid][1], VarOldScale[playerid][2], VarAttachedIndexObj[playerid][index][r_MaterialColors][0], VarAttachedIndexObj[playerid][index][r_MaterialColors][1]); } // ------------------- // HidePlayerTextDraws(playerid, B_TD_EDIT_ATTACHED_OBJECT); CancelSelectTextDraw(playerid); Loop(iii, 6) VarAttachedIndexObj[playerid][index][r_OffSets][iii] = VarOldPos[playerid][iii]; Loop(iii, 3) VarAttachedIndexObj[playerid][index][r_Scale][iii] = VarOldScale[playerid][iii]; Loop(iii, 6) VarOldPos[playerid][iii] = 0.0; Loop(iii, 3) VarOldScale[playerid][iii] = 0.0; // ------------------- // SCM(playerid, 0x00FFFFFF, "Você cancela a edição do objeto, o objeto foi para a posição antiga!"); return 1; } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // stock SalvarEdicoesObjetoAndroid(playerid, index) { // vars PainelAbertoEditObjAndroid[playerid] = false; EditandoObjetoAttachadoID[playerid] = -1; gPlayerVarTipoEdit[playerid] = EDICAO_POSICAO; // --------------------- // SalvarAcessorio(playerid, index, VarAttachedIndexObj[playerid][index][r_Model], VarAttachedIndexObj[playerid][index][r_Bone], VarAttachedIndexObj[playerid][index][r_OffSets][0], VarAttachedIndexObj[playerid][index][r_OffSets][1], VarAttachedIndexObj[playerid][index][r_OffSets][2], VarAttachedIndexObj[playerid][index][r_OffSets][3], VarAttachedIndexObj[playerid][index][r_OffSets][4], VarAttachedIndexObj[playerid][index][r_OffSets][5], VarAttachedIndexObj[playerid][index][r_Scale][0], VarAttachedIndexObj[playerid][index][r_Scale][1], VarAttachedIndexObj[playerid][index][r_Scale][2]); HidePlayerTextDraws(playerid, B_TD_EDIT_ATTACHED_OBJECT); CancelSelectTextDraw(playerid); // --------------------- // Loop(iii, 6) VarOldPos[playerid][iii] = 0.0; Loop(iii, 3) VarOldScale[playerid][iii] = 0.0; return 1; } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // stock ReporObjetoEditando(playerid, index) { RemovePlayerAttachedObject(playerid, index); SetPlayerAttachedObject_Droid(playerid, index, VarAttachedIndexObj[playerid][index][r_Model], VarAttachedIndexObj[playerid][index][r_Bone], VarAttachedIndexObj[playerid][index][r_OffSets][0], VarAttachedIndexObj[playerid][index][r_OffSets][1], VarAttachedIndexObj[playerid][index][r_OffSets][2], VarAttachedIndexObj[playerid][index][r_OffSets][3], VarAttachedIndexObj[playerid][index][r_OffSets][4], VarAttachedIndexObj[playerid][index][r_OffSets][5], VarAttachedIndexObj[playerid][index][r_Scale][0], VarAttachedIndexObj[playerid][index][r_Scale][1], VarAttachedIndexObj[playerid][index][r_Scale][2], 0, 0); } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // stock SalvarAcessorio(playerid, index, modelid, boneid, Float:fOffsetX, Float:fOffsetY, Float:fOffsetZ, Float:fRotX, Float:fRotY, Float:fRotZ, Float:fScaleX, Float:fScaleY, Float:fScaleZ) { AcessorioInfo[playerid][index][aSlot] = index; AcessorioInfo[playerid][index][aLocal] = boneid; AcessorioInfo[playerid][index][aModel] = modelid; AcessorioInfo[playerid][index][aX] = fOffsetX; AcessorioInfo[playerid][index][aY] = fOffsetY; AcessorioInfo[playerid][index][aZ] = fOffsetZ; AcessorioInfo[playerid][index][aRX] = fRotX; AcessorioInfo[playerid][index][aRY] = fRotY; AcessorioInfo[playerid][index][aRZ] = fRotZ; AcessorioInfo[playerid][index][aTX] = fScaleX; AcessorioInfo[playerid][index][aTY] = fScaleY; AcessorioInfo[playerid][index][aTZ] = fScaleZ; SalvarAcessorios(playerid); SetPlayerAttachedObject_Droid(playerid, index, modelid, boneid, fOffsetX, fOffsetY, fOffsetZ, fRotX, fRotY, fRotZ, fScaleX, fScaleY, fScaleZ); SendClientMessage(playerid, -1, "* Objeto editado com sucesso!"); SendClientMessage(playerid, -1, "* OBS: caso queira reposicionar ou guardar o item use /acessorios."); return 1; } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // stock ShowPlayerTextDraws(playerid, tdid) { if(tdid == B_TD_EDIT_ATTACHED_OBJECT) { Loop(td, sizeof(TDAppAjustarObj)) TextDrawShowForPlayer(playerid, TDAppAjustarObj[td]); Loop(ptd, sizeof(PTDAppAjustarObj[])) PlayerTextDrawShow(playerid, PTDAppAjustarObj[playerid][ptd]); } // ~~~~~~~~~~~~~~~~~~~~~~~~ // if(tdid == B_TD_EDIT_DYNAMIC_OBJECT) { Loop(td, sizeof(TDEditorObjetos)) TextDrawShowForPlayer(playerid, TDEditorObjetos[td]); Loop(ptd, sizeof(PTDEditorObjetos[])) PlayerTextDrawShow(playerid, PTDEditorObjetos[playerid][ptd]); } } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // stock HidePlayerTextDraws(playerid, tdid) { if(tdid == B_TD_EDIT_ATTACHED_OBJECT) { Loop(td, sizeof(TDAppAjustarObj)) TextDrawHideForPlayer(playerid, TDAppAjustarObj[td]); Loop(ptd, sizeof(PTDAppAjustarObj[])) PlayerTextDrawHide(playerid, PTDAppAjustarObj[playerid][ptd]); } // ~~~~~~~~~~~~~~~~~~~~~~~~ // if(tdid == B_TD_EDIT_DYNAMIC_OBJECT) { Loop(td, sizeof(TDEditorObjetos)) TextDrawHideForPlayer(playerid, TDEditorObjetos[td]); Loop(ptd, sizeof(PTDEditorObjetos[])) PlayerTextDrawHide(playerid, PTDEditorObjetos[playerid][ptd]); } } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // stock UpdatePlayerTextDraws(playerid, tdid) { new pString[128]; if(tdid == B_TD_EDIT_ATTACHED_OBJECT) { if(gPlayerVarTipoEdit[playerid] == EDICAO_POSICAO) pString = "Editando a posicao do objeto"; if(gPlayerVarTipoEdit[playerid] == EDICAO_ROTACAO) pString = "Editando a rotacao do objeto"; if(gPlayerVarTipoEdit[playerid] == EDICAO_TAMANHO) pString = "Editando o tamanho do objeto"; PlayerTextDrawSetString(playerid, PTDAppAjustarObj[playerid][0], pString); } // ~~~~~~~~~~~~~~~~~~~~~~~~ // if(tdid == B_TD_EDIT_DYNAMIC_OBJECT) { format(pString, sizeof(pString), "Editando %s", TipoEdicaoObj[playerid] == EDICAO_POSICAO ? ("Posicao") : ("Rotacao")); PlayerTextDrawSetString(playerid, PTDEditorObjetos[playerid][0], pString); format(pString, sizeof(pString), "Velocidade: %0.1f(m)", TipoEdicaoObj[playerid] == EDICAO_POSICAO ? PlayerInfo[playerid][VelocidadePortaoMover] : PlayerInfo[playerid][VelocidadePortaoMoverRot]); PlayerTextDrawSetString(playerid, PTDEditorObjetos[playerid][1], pString); } } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // stock GetPlayerFPS(playerid) return GetPVarInt(playerid, "PVarFPS"); stock IsPlayerAndroid(playerid) return GetPlayerFPS(playerid) < 1 ? 1 : 0; // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // stock CreateTDSEdicaoObjAndroid() { // beditarobj TDEditorObjetos[0] = TextDrawCreate(148.7326, 161.4167, "Box"); TextDrawLetterSize(TDEditorObjetos[0], 0.0000, 18.0277); TextDrawTextSize(TDEditorObjetos[0], 253.0000, 0.0000); TextDrawAlignment(TDEditorObjetos[0], 1); TextDrawColor(TDEditorObjetos[0], -1); TextDrawUseBox(TDEditorObjetos[0], 1); TextDrawBoxColor(TDEditorObjetos[0], 170); TextDrawSetOutline(TDEditorObjetos[0], 0); TextDrawBackgroundColor(TDEditorObjetos[0], 255); TextDrawFont(TDEditorObjetos[0], 1); TextDrawSetProportional(TDEditorObjetos[0], 1); TextDrawSetShadow(TDEditorObjetos[0], 0); TDEditorObjetos[1] = TextDrawCreate(148.7326, 161.4167, "Box"); TextDrawLetterSize(TDEditorObjetos[1], 0.0000, 18.0277); TextDrawTextSize(TDEditorObjetos[1], 253.0000, 0.0000); TextDrawAlignment(TDEditorObjetos[1], 1); TextDrawColor(TDEditorObjetos[1], -1); TextDrawUseBox(TDEditorObjetos[1], 1); TextDrawBoxColor(TDEditorObjetos[1], 170); TextDrawSetOutline(TDEditorObjetos[1], 0); TextDrawBackgroundColor(TDEditorObjetos[1], 255); TextDrawFont(TDEditorObjetos[1], 1); TextDrawSetProportional(TDEditorObjetos[1], 1); TextDrawSetShadow(TDEditorObjetos[1], 0); TDEditorObjetos[2] = TextDrawCreate(143.3527, 154.4165, "Editor"); TextDrawLetterSize(TDEditorObjetos[2], 0.5328, 1.8973); TextDrawAlignment(TDEditorObjetos[2], 1); TextDrawColor(TDEditorObjetos[2], -1); TextDrawSetOutline(TDEditorObjetos[2], 2); TextDrawBackgroundColor(TDEditorObjetos[2], 170); TextDrawFont(TDEditorObjetos[2], 0); TextDrawSetProportional(TDEditorObjetos[2], 1); TextDrawSetShadow(TDEditorObjetos[2], 0); TDEditorObjetos[3] = TextDrawCreate(151.2438, 183.3833, "ld_beat:left"); // nope TextDrawLetterSize(TDEditorObjetos[3], 0.0000, 0.0000); TextDrawTextSize(TDEditorObjetos[3], 13.0000, 14.8000); TextDrawAlignment(TDEditorObjetos[3], 1); TextDrawColor(TDEditorObjetos[3], -1); TextDrawSetOutline(TDEditorObjetos[3], 0); TextDrawBackgroundColor(TDEditorObjetos[3], 255); TextDrawFont(TDEditorObjetos[3], 4); TextDrawSetProportional(TDEditorObjetos[3], 0); TextDrawSetShadow(TDEditorObjetos[3], 0); TextDrawSetSelectable(TDEditorObjetos[3], true); TDEditorObjetos[4] = TextDrawCreate(236.0434, 183.3834, "ld_beat:right"); // nope TextDrawLetterSize(TDEditorObjetos[4], 0.0000, 0.0000); TextDrawTextSize(TDEditorObjetos[4], 13.0000, 14.8000); TextDrawAlignment(TDEditorObjetos[4], 1); TextDrawColor(TDEditorObjetos[4], -1); TextDrawSetOutline(TDEditorObjetos[4], 0); TextDrawBackgroundColor(TDEditorObjetos[4], 255); TextDrawFont(TDEditorObjetos[4], 4); TextDrawSetProportional(TDEditorObjetos[4], 0); TextDrawSetShadow(TDEditorObjetos[4], 0); TextDrawSetSelectable(TDEditorObjetos[4], true); TDEditorObjetos[5] = TextDrawCreate(151.2438, 200.8833, "ld_beat:left"); // nope TextDrawLetterSize(TDEditorObjetos[5], 0.0000, 0.0000); TextDrawTextSize(TDEditorObjetos[5], 13.0000, 14.8000); TextDrawAlignment(TDEditorObjetos[5], 1); TextDrawColor(TDEditorObjetos[5], -1); TextDrawSetOutline(TDEditorObjetos[5], 0); TextDrawBackgroundColor(TDEditorObjetos[5], 255); TextDrawFont(TDEditorObjetos[5], 4); TextDrawSetProportional(TDEditorObjetos[5], 0); TextDrawSetShadow(TDEditorObjetos[5], 0); TextDrawSetSelectable(TDEditorObjetos[5], true); TDEditorObjetos[6] = TextDrawCreate(235.8435, 200.6833, "ld_beat:right"); // nope TextDrawLetterSize(TDEditorObjetos[6], 0.0000, 0.0000); TextDrawTextSize(TDEditorObjetos[6], 13.0000, 14.8000); TextDrawAlignment(TDEditorObjetos[6], 1); TextDrawColor(TDEditorObjetos[6], -1); TextDrawSetOutline(TDEditorObjetos[6], 0); TextDrawBackgroundColor(TDEditorObjetos[6], 255); TextDrawFont(TDEditorObjetos[6], 4); TextDrawSetProportional(TDEditorObjetos[6], 0); TextDrawSetShadow(TDEditorObjetos[6], 0); TextDrawSetSelectable(TDEditorObjetos[6], true); TDEditorObjetos[7] = TextDrawCreate(228.9998, 161.5000, "Box"); TextDrawLetterSize(TDEditorObjetos[7], 0.0000, 0.6294); TextDrawTextSize(TDEditorObjetos[7], 252.7395, 0.0000); TextDrawAlignment(TDEditorObjetos[7], 1); TextDrawColor(TDEditorObjetos[7], -1); TextDrawUseBox(TDEditorObjetos[7], 1); TextDrawBoxColor(TDEditorObjetos[7], -1291845377); TextDrawSetOutline(TDEditorObjetos[7], 0); TextDrawBackgroundColor(TDEditorObjetos[7], 255); TextDrawFont(TDEditorObjetos[7], 1); TextDrawSetProportional(TDEditorObjetos[7], 1); TextDrawSetShadow(TDEditorObjetos[7], 0); TDEditorObjetos[8] = TextDrawCreate(240.6997, 158.2998, "Fechar"); TextDrawLetterSize(TDEditorObjetos[8], 0.1507, 1.1215); TextDrawTextSize(TDEditorObjetos[8], 10.0000, 10.0000); TextDrawAlignment(TDEditorObjetos[8], 2); TextDrawColor(TDEditorObjetos[8], -1); TextDrawUseBox(TDEditorObjetos[8], 1); TextDrawBoxColor(TDEditorObjetos[8], 0); TextDrawSetOutline(TDEditorObjetos[8], 0); TextDrawBackgroundColor(TDEditorObjetos[8], 255); TextDrawFont(TDEditorObjetos[8], 2); TextDrawSetProportional(TDEditorObjetos[8], 1); TextDrawSetShadow(TDEditorObjetos[8], 0); TextDrawSetSelectable(TDEditorObjetos[8], true); TDEditorObjetos[9] = TextDrawCreate(153.0000, 223.1001, "ld_beat:left"); TextDrawLetterSize(TDEditorObjetos[9], 0.0000, 0.0000); TextDrawTextSize(TDEditorObjetos[9], 17.0000, 16.0000); TextDrawAlignment(TDEditorObjetos[9], 1); TextDrawColor(TDEditorObjetos[9], -1); TextDrawSetOutline(TDEditorObjetos[9], 0); TextDrawBackgroundColor(TDEditorObjetos[9], 255); TextDrawFont(TDEditorObjetos[9], 4); TextDrawSetProportional(TDEditorObjetos[9], 0); TextDrawSetShadow(TDEditorObjetos[9], 0); TextDrawSetSelectable(TDEditorObjetos[9], true); TDEditorObjetos[10] = TextDrawCreate(153.0000, 254.1001, "ld_beat:left"); TextDrawLetterSize(TDEditorObjetos[10], 0.0000, 0.0000); TextDrawTextSize(TDEditorObjetos[10], 17.0000, 16.0000); TextDrawAlignment(TDEditorObjetos[10], 1); TextDrawColor(TDEditorObjetos[10], -1); TextDrawSetOutline(TDEditorObjetos[10], 0); TextDrawBackgroundColor(TDEditorObjetos[10], 255); TextDrawFont(TDEditorObjetos[10], 4); TextDrawSetProportional(TDEditorObjetos[10], 0); TextDrawSetShadow(TDEditorObjetos[10], 0); TextDrawSetSelectable(TDEditorObjetos[10], true); TDEditorObjetos[11] = TextDrawCreate(153.0000, 284.1003, "ld_beat:left"); TextDrawLetterSize(TDEditorObjetos[11], 0.0000, 0.0000); TextDrawTextSize(TDEditorObjetos[11], 17.0000, 16.0000); TextDrawAlignment(TDEditorObjetos[11], 1); TextDrawColor(TDEditorObjetos[11], -1); TextDrawSetOutline(TDEditorObjetos[11], 0); TextDrawBackgroundColor(TDEditorObjetos[11], 255); TextDrawFont(TDEditorObjetos[11], 4); TextDrawSetProportional(TDEditorObjetos[11], 0); TextDrawSetShadow(TDEditorObjetos[11], 0); TextDrawSetSelectable(TDEditorObjetos[11], true); TDEditorObjetos[12] = TextDrawCreate(231.2001, 223.1001, "ld_beat:right"); TextDrawLetterSize(TDEditorObjetos[12], 0.0000, 0.0000); TextDrawTextSize(TDEditorObjetos[12], 17.0000, 16.0000); TextDrawAlignment(TDEditorObjetos[12], 1); TextDrawColor(TDEditorObjetos[12], -1); TextDrawSetOutline(TDEditorObjetos[12], 0); TextDrawBackgroundColor(TDEditorObjetos[12], 255); TextDrawFont(TDEditorObjetos[12], 4); TextDrawSetProportional(TDEditorObjetos[12], 0); TextDrawSetShadow(TDEditorObjetos[12], 0); TextDrawSetSelectable(TDEditorObjetos[12], true); TDEditorObjetos[13] = TextDrawCreate(231.2001, 254.1001, "ld_beat:right"); TextDrawLetterSize(TDEditorObjetos[13], 0.0000, 0.0000); TextDrawTextSize(TDEditorObjetos[13], 17.0000, 16.0000); TextDrawAlignment(TDEditorObjetos[13], 1); TextDrawColor(TDEditorObjetos[13], -1); TextDrawSetOutline(TDEditorObjetos[13], 0); TextDrawBackgroundColor(TDEditorObjetos[13], 255); TextDrawFont(TDEditorObjetos[13], 4); TextDrawSetProportional(TDEditorObjetos[13], 0); TextDrawSetShadow(TDEditorObjetos[13], 0); TextDrawSetSelectable(TDEditorObjetos[13], true); TDEditorObjetos[14] = TextDrawCreate(231.2001, 285.1003, "ld_beat:right"); TextDrawLetterSize(TDEditorObjetos[14], 0.0000, 0.0000); TextDrawTextSize(TDEditorObjetos[14], 17.0000, 16.0000); TextDrawAlignment(TDEditorObjetos[14], 1); TextDrawColor(TDEditorObjetos[14], -1); TextDrawSetOutline(TDEditorObjetos[14], 0); TextDrawBackgroundColor(TDEditorObjetos[14], 255); TextDrawFont(TDEditorObjetos[14], 4); TextDrawSetProportional(TDEditorObjetos[14], 0); TextDrawSetShadow(TDEditorObjetos[14], 0); TextDrawSetSelectable(TDEditorObjetos[14], true); TDEditorObjetos[15] = TextDrawCreate(171.5997, 225.3002, "X-"); TextDrawLetterSize(TDEditorObjetos[15], 0.2556, 1.1447); TextDrawAlignment(TDEditorObjetos[15], 1); TextDrawColor(TDEditorObjetos[15], -1291845377); TextDrawSetOutline(TDEditorObjetos[15], 0); TextDrawBackgroundColor(TDEditorObjetos[15], 255); TextDrawFont(TDEditorObjetos[15], 1); TextDrawSetProportional(TDEditorObjetos[15], 1); TextDrawSetShadow(TDEditorObjetos[15], 0); TDEditorObjetos[16] = TextDrawCreate(171.5997, 255.3002, "Y-"); TextDrawLetterSize(TDEditorObjetos[16], 0.2556, 1.1447); TextDrawAlignment(TDEditorObjetos[16], 1); TextDrawColor(TDEditorObjetos[16], -1291845377); TextDrawSetOutline(TDEditorObjetos[16], 0); TextDrawBackgroundColor(TDEditorObjetos[16], 255); TextDrawFont(TDEditorObjetos[16], 1); TextDrawSetProportional(TDEditorObjetos[16], 1); TextDrawSetShadow(TDEditorObjetos[16], 0); TDEditorObjetos[17] = TextDrawCreate(171.5997, 285.7006, "Z-"); TextDrawLetterSize(TDEditorObjetos[17], 0.2556, 1.1447); TextDrawAlignment(TDEditorObjetos[17], 1); TextDrawColor(TDEditorObjetos[17], -1291845377); TextDrawSetOutline(TDEditorObjetos[17], 0); TextDrawBackgroundColor(TDEditorObjetos[17], 255); TextDrawFont(TDEditorObjetos[17], 1); TextDrawSetProportional(TDEditorObjetos[17], 1); TextDrawSetShadow(TDEditorObjetos[17], 0); TDEditorObjetos[18] = TextDrawCreate(218.0000, 225.3002, "X+"); TextDrawLetterSize(TDEditorObjetos[18], 0.2556, 1.1447); TextDrawAlignment(TDEditorObjetos[18], 1); TextDrawColor(TDEditorObjetos[18], 11731199); TextDrawSetOutline(TDEditorObjetos[18], 0); TextDrawBackgroundColor(TDEditorObjetos[18], 255); TextDrawFont(TDEditorObjetos[18], 1); TextDrawSetProportional(TDEditorObjetos[18], 1); TextDrawSetShadow(TDEditorObjetos[18], 0); TDEditorObjetos[19] = TextDrawCreate(218.0000, 255.8999, "Y+"); TextDrawLetterSize(TDEditorObjetos[19], 0.2556, 1.1447); TextDrawAlignment(TDEditorObjetos[19], 1); TextDrawColor(TDEditorObjetos[19], 11731199); TextDrawSetOutline(TDEditorObjetos[19], 0); TextDrawBackgroundColor(TDEditorObjetos[19], 255); TextDrawFont(TDEditorObjetos[19], 1); TextDrawSetProportional(TDEditorObjetos[19], 1); TextDrawSetShadow(TDEditorObjetos[19], 0); TDEditorObjetos[20] = TextDrawCreate(218.0000, 286.4998, "Z+"); TextDrawLetterSize(TDEditorObjetos[20], 0.2556, 1.1447); TextDrawAlignment(TDEditorObjetos[20], 1); TextDrawColor(TDEditorObjetos[20], 11731199); TextDrawSetOutline(TDEditorObjetos[20], 0); TextDrawBackgroundColor(TDEditorObjetos[20], 255); TextDrawFont(TDEditorObjetos[20], 1); TextDrawSetProportional(TDEditorObjetos[20], 1); TextDrawSetShadow(TDEditorObjetos[20], 0); TDEditorObjetos[21] = TextDrawCreate(162.6999, 314.0002, "Info"); TextDrawLetterSize(TDEditorObjetos[21], 0.2069, 1.0749); TextDrawTextSize(TDEditorObjetos[21], 10.0000, 28.0000); TextDrawAlignment(TDEditorObjetos[21], 2); TextDrawColor(TDEditorObjetos[21], -1); TextDrawUseBox(TDEditorObjetos[21], 1); TextDrawBoxColor(TDEditorObjetos[21], -2147418256); TextDrawSetOutline(TDEditorObjetos[21], 0); TextDrawBackgroundColor(TDEditorObjetos[21], 255); TextDrawFont(TDEditorObjetos[21], 1); TextDrawSetProportional(TDEditorObjetos[21], 1); TextDrawSetShadow(TDEditorObjetos[21], 0); TextDrawSetSelectable(TDEditorObjetos[21], true); TDEditorObjetos[22] = TextDrawCreate(238.5997, 314.0002, "Salvar"); TextDrawLetterSize(TDEditorObjetos[22], 0.2069, 1.0749); TextDrawTextSize(TDEditorObjetos[22], 10.0000, 28.0000); TextDrawAlignment(TDEditorObjetos[22], 2); TextDrawColor(TDEditorObjetos[22], -1); TextDrawUseBox(TDEditorObjetos[22], 1); TextDrawBoxColor(TDEditorObjetos[22], -2147418256); TextDrawSetOutline(TDEditorObjetos[22], 0); TextDrawBackgroundColor(TDEditorObjetos[22], 255); TextDrawFont(TDEditorObjetos[22], 1); TextDrawSetProportional(TDEditorObjetos[22], 1); TextDrawSetShadow(TDEditorObjetos[22], 0); TextDrawSetSelectable(TDEditorObjetos[22], true); // beditaracessorio TDAppAjustarObj[0] = TextDrawCreate(133.5139, 152.6665, "Box"); TextDrawLetterSize(TDAppAjustarObj[0], 0.0000, 1.5664); TextDrawTextSize(TDAppAjustarObj[0], 280.0000, 0.0000); TextDrawAlignment(TDAppAjustarObj[0], 1); TextDrawColor(TDAppAjustarObj[0], -1); TextDrawUseBox(TDAppAjustarObj[0], 1); TextDrawBoxColor(TDAppAjustarObj[0], 96); TextDrawSetOutline(TDAppAjustarObj[0], 0); TextDrawBackgroundColor(TDAppAjustarObj[0], 255); TextDrawFont(TDAppAjustarObj[0], 1); TextDrawSetProportional(TDAppAjustarObj[0], 1); TextDrawSetShadow(TDAppAjustarObj[0], 0); TDAppAjustarObj[1] = TextDrawCreate(263.7767, 152.7498, "Box"); TextDrawLetterSize(TDAppAjustarObj[1], 0.0000, 1.4972); TextDrawTextSize(TDAppAjustarObj[1], 279.6001, 0.0000); TextDrawAlignment(TDAppAjustarObj[1], 1); TextDrawColor(TDAppAjustarObj[1], -1); TextDrawUseBox(TDAppAjustarObj[1], 1); TextDrawBoxColor(TDAppAjustarObj[1], 96); TextDrawSetOutline(TDAppAjustarObj[1], 0); TextDrawBackgroundColor(TDAppAjustarObj[1], 255); TextDrawFont(TDAppAjustarObj[1], 1); TextDrawSetProportional(TDAppAjustarObj[1], 1); TextDrawSetShadow(TDAppAjustarObj[1], 0); TDAppAjustarObj[2] = TextDrawCreate(135.2194, 152.9667, "Editor_de_acessorios"); TextDrawLetterSize(TDAppAjustarObj[2], 0.3330, 1.4016); TextDrawAlignment(TDAppAjustarObj[2], 1); TextDrawColor(TDAppAjustarObj[2], -128); TextDrawSetOutline(TDAppAjustarObj[2], 0); TextDrawBackgroundColor(TDAppAjustarObj[2], 255); TextDrawFont(TDAppAjustarObj[2], 1); TextDrawSetProportional(TDAppAjustarObj[2], 1); TextDrawSetShadow(TDAppAjustarObj[2], 0); TDAppAjustarObj[3] = TextDrawCreate(266.4519, 154.3332, "X"); TextDrawLetterSize(TDAppAjustarObj[3], 0.3831, 1.2091); TextDrawTextSize(TDAppAjustarObj[3], 276.0000, 10.0000); TextDrawAlignment(TDAppAjustarObj[3], 1); TextDrawColor(TDAppAjustarObj[3], -16777088); TextDrawUseBox(TDAppAjustarObj[3], 1); TextDrawBoxColor(TDAppAjustarObj[3], 1); TextDrawSetOutline(TDAppAjustarObj[3], 0); TextDrawBackgroundColor(TDAppAjustarObj[3], 255); TextDrawFont(TDAppAjustarObj[3], 1); TextDrawSetProportional(TDAppAjustarObj[3], 1); TextDrawSetShadow(TDAppAjustarObj[3], 0); TextDrawSetSelectable(TDAppAjustarObj[3], true); TDAppAjustarObj[4] = TextDrawCreate(133.3453, 172.3677, "Box"); TextDrawLetterSize(TDAppAjustarObj[4], 0.0000, 1.4728); TextDrawTextSize(TDAppAjustarObj[4], 279.7807, 0.0000); TextDrawAlignment(TDAppAjustarObj[4], 1); TextDrawColor(TDAppAjustarObj[4], -1); TextDrawUseBox(TDAppAjustarObj[4], 1); TextDrawBoxColor(TDAppAjustarObj[4], 96); TextDrawSetOutline(TDAppAjustarObj[4], 0); TextDrawBackgroundColor(TDAppAjustarObj[4], 255); TextDrawFont(TDAppAjustarObj[4], 1); TextDrawSetProportional(TDAppAjustarObj[4], 1); TextDrawSetShadow(TDAppAjustarObj[4], 0); TDAppAjustarObj[5] = TextDrawCreate(133.3453, 191.4523, "Box"); TextDrawLetterSize(TDAppAjustarObj[5], 0.0000, 17.3208); TextDrawTextSize(TDAppAjustarObj[5], 280.0000, 0.0000); TextDrawAlignment(TDAppAjustarObj[5], 1); TextDrawColor(TDAppAjustarObj[5], -1); TextDrawUseBox(TDAppAjustarObj[5], 1); TextDrawBoxColor(TDAppAjustarObj[5], 96); TextDrawSetOutline(TDAppAjustarObj[5], 0); TextDrawBackgroundColor(TDAppAjustarObj[5], 255); TextDrawFont(TDAppAjustarObj[5], 1); TextDrawSetProportional(TDAppAjustarObj[5], 1); TextDrawSetShadow(TDAppAjustarObj[5], 0); TDAppAjustarObj[6] = TextDrawCreate(136.9989, 213.1663, "ld_beat:left"); TextDrawLetterSize(TDAppAjustarObj[6], -0.0720, -0.1457); TextDrawTextSize(TDAppAjustarObj[6], 22.0000, 17.0000); TextDrawAlignment(TDAppAjustarObj[6], 1); TextDrawColor(TDAppAjustarObj[6], 16711935); TextDrawSetOutline(TDAppAjustarObj[6], 0); TextDrawBackgroundColor(TDAppAjustarObj[6], 255); TextDrawFont(TDAppAjustarObj[6], 4); TextDrawSetProportional(TDAppAjustarObj[6], 0); TextDrawSetShadow(TDAppAjustarObj[6], 0); TextDrawSetSelectable(TDAppAjustarObj[6], true); TDAppAjustarObj[7] = TextDrawCreate(136.9989, 254.0332, "ld_beat:left"); TextDrawLetterSize(TDAppAjustarObj[7], -0.0720, -0.1457); TextDrawTextSize(TDAppAjustarObj[7], 22.0000, 17.0000); TextDrawAlignment(TDAppAjustarObj[7], 1); TextDrawColor(TDAppAjustarObj[7], 16711935); TextDrawSetOutline(TDAppAjustarObj[7], 0); TextDrawBackgroundColor(TDAppAjustarObj[7], 255); TextDrawFont(TDAppAjustarObj[7], 4); TextDrawSetProportional(TDAppAjustarObj[7], 0); TextDrawSetShadow(TDAppAjustarObj[7], 0); TextDrawSetSelectable(TDAppAjustarObj[7], true); TDAppAjustarObj[8] = TextDrawCreate(137.7677, 295.9169, "ld_beat:left"); TextDrawLetterSize(TDAppAjustarObj[8], -0.0720, -0.1457); TextDrawTextSize(TDAppAjustarObj[8], 22.0000, 17.0000); TextDrawAlignment(TDAppAjustarObj[8], 1); TextDrawColor(TDAppAjustarObj[8], 16711935); TextDrawSetOutline(TDAppAjustarObj[8], 0); TextDrawBackgroundColor(TDAppAjustarObj[8], 255); TextDrawFont(TDAppAjustarObj[8], 4); TextDrawSetProportional(TDAppAjustarObj[8], 0); TextDrawSetShadow(TDAppAjustarObj[8], 0); TextDrawSetSelectable(TDAppAjustarObj[8], true); TDAppAjustarObj[9] = TextDrawCreate(252.2061, 213.1663, "ld_beat:right"); TextDrawLetterSize(TDAppAjustarObj[9], -0.0720, -0.1457); TextDrawTextSize(TDAppAjustarObj[9], 22.0000, 17.0000); TextDrawAlignment(TDAppAjustarObj[9], 1); TextDrawColor(TDAppAjustarObj[9], -16776961); TextDrawSetOutline(TDAppAjustarObj[9], 0); TextDrawBackgroundColor(TDAppAjustarObj[9], 255); TextDrawFont(TDAppAjustarObj[9], 4); TextDrawSetProportional(TDAppAjustarObj[9], 0); TextDrawSetShadow(TDAppAjustarObj[9], 0); TextDrawSetSelectable(TDAppAjustarObj[9], true); TDAppAjustarObj[10] = TextDrawCreate(252.2061, 254.4689, "ld_beat:right"); TextDrawLetterSize(TDAppAjustarObj[10], -0.0720, -0.1457); TextDrawTextSize(TDAppAjustarObj[10], 22.0000, 17.0000); TextDrawAlignment(TDAppAjustarObj[10], 1); TextDrawColor(TDAppAjustarObj[10], -16776961); TextDrawSetOutline(TDAppAjustarObj[10], 0); TextDrawBackgroundColor(TDAppAjustarObj[10], 255); TextDrawFont(TDAppAjustarObj[10], 4); TextDrawSetProportional(TDAppAjustarObj[10], 0); TextDrawSetShadow(TDAppAjustarObj[10], 0); TextDrawSetSelectable(TDAppAjustarObj[10], true); TDAppAjustarObj[11] = TextDrawCreate(252.2061, 296.6713, "ld_beat:right"); TextDrawLetterSize(TDAppAjustarObj[11], -0.0720, -0.1457); TextDrawTextSize(TDAppAjustarObj[11], 22.0000, 17.0000); TextDrawAlignment(TDAppAjustarObj[11], 1); TextDrawColor(TDAppAjustarObj[11], -16776961); TextDrawSetOutline(TDAppAjustarObj[11], 0); TextDrawBackgroundColor(TDAppAjustarObj[11], 255); TextDrawFont(TDAppAjustarObj[11], 4); TextDrawSetProportional(TDAppAjustarObj[11], 0); TextDrawSetShadow(TDAppAjustarObj[11], 0); TextDrawSetSelectable(TDAppAjustarObj[11], true); TDAppAjustarObj[12] = TextDrawCreate(169.8845, 219.0164, "X+"); TextDrawLetterSize(TDAppAjustarObj[12], 0.1712, 0.7541); TextDrawAlignment(TDAppAjustarObj[12], 1); TextDrawColor(TDAppAjustarObj[12], -128); TextDrawSetOutline(TDAppAjustarObj[12], 0); TextDrawBackgroundColor(TDAppAjustarObj[12], 255); TextDrawFont(TDAppAjustarObj[12], 2); TextDrawSetProportional(TDAppAjustarObj[12], 1); TextDrawSetShadow(TDAppAjustarObj[12], 0); TDAppAjustarObj[13] = TextDrawCreate(169.4476, 259.1831, "Y+"); TextDrawLetterSize(TDAppAjustarObj[13], 0.1979, 0.9057); TextDrawAlignment(TDAppAjustarObj[13], 1); TextDrawColor(TDAppAjustarObj[13], -128); TextDrawSetOutline(TDAppAjustarObj[13], 0); TextDrawBackgroundColor(TDAppAjustarObj[13], 255); TextDrawFont(TDAppAjustarObj[13], 2); TextDrawSetProportional(TDAppAjustarObj[13], 1); TextDrawSetShadow(TDAppAjustarObj[13], 0); TDAppAjustarObj[14] = TextDrawCreate(170.2160, 301.3995, "Z+"); TextDrawLetterSize(TDAppAjustarObj[14], 0.1819, 0.7949); TextDrawAlignment(TDAppAjustarObj[14], 1); TextDrawColor(TDAppAjustarObj[14], -128); TextDrawSetOutline(TDAppAjustarObj[14], 0); TextDrawBackgroundColor(TDAppAjustarObj[14], 255); TextDrawFont(TDAppAjustarObj[14], 2); TextDrawSetProportional(TDAppAjustarObj[14], 1); TextDrawSetShadow(TDAppAjustarObj[14], 0); TDAppAjustarObj[15] = TextDrawCreate(236.5637, 218.5662, "X-"); TextDrawLetterSize(TDAppAjustarObj[15], 0.1886, 0.8065); TextDrawAlignment(TDAppAjustarObj[15], 1); TextDrawColor(TDAppAjustarObj[15], -128); TextDrawSetOutline(TDAppAjustarObj[15], 0); TextDrawBackgroundColor(TDAppAjustarObj[15], 255); TextDrawFont(TDAppAjustarObj[15], 2); TextDrawSetProportional(TDAppAjustarObj[15], 1); TextDrawSetShadow(TDAppAjustarObj[15], 0); TDAppAjustarObj[16] = TextDrawCreate(235.4268, 259.3829, "Y-"); TextDrawLetterSize(TDAppAjustarObj[16], 0.2110, 0.9815); TextDrawAlignment(TDAppAjustarObj[16], 1); TextDrawColor(TDAppAjustarObj[16], -128); TextDrawSetOutline(TDAppAjustarObj[16], 0); TextDrawBackgroundColor(TDAppAjustarObj[16], 255); TextDrawFont(TDAppAjustarObj[16], 2); TextDrawSetProportional(TDAppAjustarObj[16], 1); TextDrawSetShadow(TDAppAjustarObj[16], 0); TDAppAjustarObj[17] = TextDrawCreate(237.1584, 302.1664, "Z-"); TextDrawLetterSize(TDAppAjustarObj[17], 0.1660, 0.8707); TextDrawAlignment(TDAppAjustarObj[17], 1); TextDrawColor(TDAppAjustarObj[17], -128); TextDrawSetOutline(TDAppAjustarObj[17], 0); TextDrawBackgroundColor(TDAppAjustarObj[17], 255); TextDrawFont(TDAppAjustarObj[17], 2); TextDrawSetProportional(TDAppAjustarObj[17], 1); TextDrawSetShadow(TDAppAjustarObj[17], 0); TDAppAjustarObj[18] = TextDrawCreate(133.4181, 336.3500, "Box"); TextDrawLetterSize(TDAppAjustarObj[18], 0.0000, 1.2197); TextDrawTextSize(TDAppAjustarObj[18], 176.0000, 0.0000); TextDrawAlignment(TDAppAjustarObj[18], 1); TextDrawColor(TDAppAjustarObj[18], -1); TextDrawUseBox(TDAppAjustarObj[18], 1); TextDrawBoxColor(TDAppAjustarObj[18], 96); TextDrawSetOutline(TDAppAjustarObj[18], 0); TextDrawBackgroundColor(TDAppAjustarObj[18], 255); TextDrawFont(TDAppAjustarObj[18], 1); TextDrawSetProportional(TDAppAjustarObj[18], 1); TextDrawSetShadow(TDAppAjustarObj[18], 0); TDAppAjustarObj[19] = TextDrawCreate(152.9548, 335.2499, "Alternar"); TextDrawLetterSize(TDAppAjustarObj[19], 0.2831, 1.4014); TextDrawTextSize(TDAppAjustarObj[19], 10.0000, 41.0000); // 0.0 x - 41.0 y TextDrawAlignment(TDAppAjustarObj[19], 2); TextDrawColor(TDAppAjustarObj[19], -128); TextDrawUseBox(TDAppAjustarObj[19], 1); TextDrawBoxColor(TDAppAjustarObj[19], 1); TextDrawSetOutline(TDAppAjustarObj[19], 0); TextDrawBackgroundColor(TDAppAjustarObj[19], 255); TextDrawFont(TDAppAjustarObj[19], 1); TextDrawSetProportional(TDAppAjustarObj[19], 1); TextDrawSetShadow(TDAppAjustarObj[19], 0); TextDrawSetSelectable(TDAppAjustarObj[19], true); TDAppAjustarObj[20] = TextDrawCreate(241.1233, 336.9500, "Box"); TextDrawLetterSize(TDAppAjustarObj[20], 0.0000, 1.1583); TextDrawTextSize(TDAppAjustarObj[20], 280.1200, 0.0000); TextDrawAlignment(TDAppAjustarObj[20], 1); TextDrawColor(TDAppAjustarObj[20], -1); TextDrawUseBox(TDAppAjustarObj[20], 1); TextDrawBoxColor(TDAppAjustarObj[20], 128); TextDrawSetOutline(TDAppAjustarObj[20], 0); TextDrawBackgroundColor(TDAppAjustarObj[20], 255); TextDrawFont(TDAppAjustarObj[20], 1); TextDrawSetProportional(TDAppAjustarObj[20], 1); TextDrawSetShadow(TDAppAjustarObj[20], 0); TDAppAjustarObj[21] = TextDrawCreate(259.4829, 335.2666, "Salvar"); TextDrawLetterSize(TDAppAjustarObj[21], 0.3005, 1.3782); TextDrawTextSize(TDAppAjustarObj[21], 10.0000, 37.0000); // 0.0 TextDrawAlignment(TDAppAjustarObj[21], 2); TextDrawColor(TDAppAjustarObj[21], -128); TextDrawUseBox(TDAppAjustarObj[21], 1); TextDrawBoxColor(TDAppAjustarObj[21], 1); TextDrawSetOutline(TDAppAjustarObj[21], 0); TextDrawBackgroundColor(TDAppAjustarObj[21], 255); TextDrawFont(TDAppAjustarObj[21], 1); TextDrawSetProportional(TDAppAjustarObj[21], 1); TextDrawSetShadow(TDAppAjustarObj[21], 0); TextDrawSetSelectable(TDAppAjustarObj[21], true); } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // forward Timer_DesbloquearPlayer(playerid); public Timer_DesbloquearPlayer(playerid) { TogglePlayerControllableEx(playerid, true); } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // CMD:setargas(playerid) { if(PlayerInfo[playerid][pAdmin] == 1342) { Gas[GetPlayerVehicleID(playerid)] = 0; } return 1; } CMD:setarint(playerid, params[]) { new ID, A, gstr[256]; if(PlayerInfo[playerid][pAdmin] < 1338) return SCM(playerid, COLOR_GRAD1, "você não esta autorizado a usar esse comando."); if(sscanf(params, "ud", ID, A)) return SCM(playerid, COLOR_GRAD1, "Use: /setarint [ID/Nick] [Interior]"); format(gstr, 256, "AdmCmd: %s setou interior: [%d] em: %s!", NomePlayer(playerid), A, NomePlayer(ID)); ABroadCast(COLOR_LIGHTRED, gstr, 1); SetPlayerInterior(ID, A); return 1; } CMD:setarvw(playerid, params[]) { new ID, A, gstr[256]; if(PlayerInfo[playerid][pAdmin] < 1338) return SCM(playerid, COLOR_GRAD1, "você não esta autorizado a usar esse comando."); if(sscanf(params, "ud", ID, A)) return SCM(playerid, COLOR_GRAD1, "Use: /setarvw [ID/Nick] [World]"); format(gstr, 256, "AdmCmd: %s setou virtual world: [%d] em: %s!", NomePlayer(playerid), A, NomePlayer(ID)); ABroadCast(COLOR_LIGHTRED, gstr, 1); SetPlayerVirtualWorld(ID, A); return 1; } CMD:cp(playerid) return ForT:carregarposicao(playerid); CMD:carregarposicao(playerid) { if(PlayerInfo[playerid][pPos_x] == 0.0) return true; if(!IrPosicao[playerid]) return SendClientMessage(playerid, COLOR_YELLOW, "[INFO] Voce so pode utilizar o comando 50 segundos apos o login!"); SetPlayerPos(playerid, PlayerInfo[playerid][pPos_x], PlayerInfo[playerid][pPos_y], PlayerInfo[playerid][pPos_z]); SetPlayerInterior(playerid, PlayerInfo[playerid][pInterior]); TogglePlayerControllableEx(playerid, 0); SetTimerEx("Descongelar", 1000, false, "i", playerid); SendClientMessage(playerid, 0x33CCFFFF, "[ * INFO SERVER * ] {FFFFFF}Carregada última posição.!"); SendClientMessage(playerid, 0x33CCFFFF, "[ * INFO SERVER * ] {FFFFFF}Obrigado e Bom Jogo.!"); return 1; } CMD:abastecercarro(playerid, params[]) { if(!IsAMec(playerid)) return SendClientMessage(playerid, COLOR_GREY, "Voce nao e um Mecânico/Detran!"); new playa; new moneyy; if(sscanf(params, "ud", playa, moneyy)) return SendClientMessage(playerid, COLOR_GRAD2, "USE: /abastecercarro [ID do Player] [preco]"); if(moneyy < 1 || moneyy > 10000) return SendClientMessage(playerid, COLOR_GREY, " Preco minimo 1, preco maximo 10000!"); if(IsPlayerConnected(playa)) { if(playa != INVALID_PLAYER_ID) { if(ProxDetectorS(8.0, playerid, playa)&& IsPlayerInAnyVehicle(playa)) { if(playa == playerid) return SendClientMessage(playerid, COLOR_GREY, " Nao posso fazer isso!"); MensagemFormatada(playerid, COLOR_LIGHTBLUE, "(*) Voce ofereceu ao(a) %s para re-abastecer o carro dele(a) por R$%d .",PlayerName(playa), moneyy); MensagemFormatada(playerid, COLOR_LIGHTBLUE, "(*) Mecânico %s quer re-abastecer seu carro por R$%d, (Digite /aceitar abastecimento) para aceitar.",PlayerName(playerid), moneyy); RefillOffer[playa] = playerid; RefillPrice[playa] = moneyy; } else { SendClientMessage(playerid, COLOR_GREY, " O Player nao esta perto de Voce ou nao esta no carro."); } } } else { SendClientMessage(playerid, COLOR_GREY, " Jogador offline."); } return true; } CMD:guinchar(playerid, params[]) { if(IsADetran(playerid) || IsAMec(playerid)) { if(IsPlayerInAnyVehicle(playerid)) { if (GetVehicleModel(GetPlayerVehicleID(playerid)) == 525) { if(MecanicMission[playerid]) { new Float:x, Float:y, Float:z; GetVehiclePos(VehicleMission[playerid], x, y, z); if(GetPlayerDistanceFromPoint(playerid, x, y, z) < 7.0) { if(!IsTrailerAttachedToVehicle(GetPlayerVehicleID(playerid))) { AttachTrailerToVehicle(VehicleMission[playerid], GetPlayerVehicleID(playerid)); if(!IsAttached[playerid]) { SendClientMessage(playerid, COLOR_LIGHTRED, "Voce pegou o carro, leve ate a marca vermelha no mapa para terminar a missao."); CP[playerid] = 50; SetPlayerCheckpoint(playerid, 1070.2504,1321.7101,10.8203, 5.0); } IsAttached[playerid] = true; } } } if(GetPlayerState(playerid)==2) { new Float:pX,Float:pY,Float:pZ; GetPlayerPos(playerid,pX,pY,pZ); new Float:vgX,Float:vgY,Float:vgZ; new Found=0; new vid=0; while((vid 0) { format(string, sizeof(string), "%d\t%s\t%d\t{%s}%s\n",i ,NomePlayer(i),PlayerInfo[i][pPnumber], GetPlayerColorEx(i) ,GetOrgName(PlayerInfo[i][pLider])); strcat(MEGAString, string); Cont++; } new titulo[350]; format(titulo, sizeof(titulo), "{FFFFFF}Lideres Online {FFFFFF}({00d900}%d{FFFFFF})",Cont); ShowPlayerDialog(playerid, DIALOG_SMS, DIALOG_STYLE_TABLIST_HEADERS, titulo, MEGAString, "Enviar SMS","Fechar"); } return 1; } CMD:sublideres(playerid, params[]) { if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid,0xff6347FF, "* Voce nao esta conectado."); new Cont = 0; MEGAString[0] =EOS; new string[500]; strcat(MEGAString, "ID\tNome\tTelefone\tOrganizacao\n"); foreach(Player, i) { if(PlayerInfo[i][pCargo] == 5) { format(string, sizeof(string), "%d\t%s\t%d\t{%s}%s\tSub Lider\n", i, NomePlayer(i),PlayerInfo[i][pPnumber], GetPlayerColorEx(i), GetOrgName(GetPlayerOrg(i))); strcat(MEGAString, string); Cont++; } new titulo[350]; format(titulo, sizeof(titulo), "{FFFFFF}Sub Lideres Online {FFFFFF}({00d900}%d{FFFFFF})",Cont); ShowPlayerDialog(playerid, DIALOG_SMS, DIALOG_STYLE_TABLIST_HEADERS, titulo, MEGAString, "Enviar SMS","Fechar"); } return 1; } CMD:config(playerid) return ForT:configuracoes(playerid); CMD:configuracoes(playerid) { if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid,0xff6347FF, "* Voce nao esta conectado."); new texttr[120]; if(PlayerInfo[playerid][pChatTerritorio] == 1)texttr = "{00FFFF}Desativado"; else if(PlayerInfo[playerid][pChatTerritorio] == 0)texttr = "{00BFFF}Ativado"; new textvipaodaporra[120]; if(PlayerInfo[playerid][pChatVipDesativado] == 1)textvipaodaporra = "{00FFFF}Desativado"; else if(PlayerInfo[playerid][pChatVipDesativado] == 0)textvipaodaporra = "{00BFFF}Ativado"; new textnoticias[120]; if(PlayerInfo[playerid][pChatNoticias] == 1)textnoticias = "{00FFFF}Desativado"; else if(PlayerInfo[playerid][pChatNoticias] == 0)textnoticias = "{00BFFF}Ativado"; new textnobao[120]; if(PlayerInfo[playerid][pChatNoob] == 1)textnobao = "{00FFFF}Desativado"; else if(PlayerInfo[playerid][pChatNoob] == 0)textnobao = "{00BFFF}Ativado"; new textfomaodaporra[120]; if(PlayerInfo[playerid][gPlayerUsandoPlataformaID] == 1)textfomaodaporra = "{00BFFF}PC"; if(PlayerInfo[playerid][gPlayerUsandoPlataformaID] == 0)textfomaodaporra = "{00FFFF}Android"; MEGAString[0] =EOS; new string[300]; format(string, sizeof(string),"{4682B4}» {F5F5F5}Dominios Territoriais / %s\n", texttr); strcat(MEGAString, string); format(string, sizeof(string),"{4682B4}» {F5F5F5}Chat VIP / %s\n", textvipaodaporra); strcat(MEGAString, string); format(string, sizeof(string),"{4682B4}» {F5F5F5}Chat Jornal ao vivo / %s\n", textnoticias); strcat(MEGAString, string); format(string, sizeof(string),"{4682B4}» {F5F5F5}Chat /noob / %s\n", textnobao); strcat(MEGAString, string); format(string, sizeof(string),"{4682B4}» {F5F5F5}Plataforma usando / %s\n", PlayerInfo[playerid][gPlayerUsandoPlataformaID] == 1 ? ("{00BFFF}PC") : ("{00FFFF}Android")); strcat(MEGAString, string); format(string, sizeof(string),"{4682B4}» {F5F5F5}Skin Fixa / %s\n", PlayerInfo[playerid][pSkinFixa] == 1 ? ("{00BFFF}Ativado") : ("{00FFFF}Desativado")); strcat(MEGAString, string); format(string, sizeof(string),"{4682B4}» {F5F5F5}Chat Wpp / %s\n", PlayerInfo[playerid][pChatWppON] == 1 ? ("{00BFFF}Ativado") : ("{00FFFF}Desativado")); strcat(MEGAString, string); //format(string, sizeof(string),"{4682B4}» {F5F5F5}Sistema de Fome e Sede / %s", PlayerInfo[playerid][pFomeSedeDesativado] == 0 ? ("{00BFFF}Ativado") : ("{00FFFF}Desativado")); strcat(MEGAString, string); ShowPlayerDialog(playerid, 170, DIALOG_STYLE_LIST, "Configuracões de Sistemas", MEGAString, "Alterar", "Sair"); return true; } CMD:itens(playerid) { if(PlayerInfo[playerid][pAdmin] < 1342) return SendClientMessage(playerid, COLOR_GREY, "Voce nao e um Admin!"); new Strings[2900]; strcat(Strings, "{00BFFF}Menu dos itens de Inventario:\n\n"); strcat(Strings, "{FFFF00}•{FFFFFF} Caixa Pequeno:[19056] | Caixa Gigante:[19057] | Caixa Extreme:[19058] | Caixa Reveillon: [19059]| Caixa Natal:[19064] | Caixa Medio:[19054] Caixa Gigante:[19055]\n"); strcat(Strings, "{F78181}•{FFFFFF} Laser:[19080 ao 19084] | Chapeu de Bruxa:[19528] | Maleta:[1210] | Lanterna:[18641] | Luz Blue:[19607]\n"); strcat(Strings, "{F781F3}•{FFFFFF} Portao:[980] | Jetpack:[370] | Mascara Demon:[11704] | Cajado skull:[3524] | Luz Vermelha:[19124] | Luva esquerda:[19555]\n"); strcat(Strings, "{DA81F5}•{FFFFFF} Luva direita:[19556] | RC Bandit:[441] | RC Tiger:[564] | RC Raider:[465] | RC Baron:[464] | Veiculo(Hotring):[494]\n"); strcat(Strings, "{ccff30}•{FFFFFF} MedKit:[11738] | Remedio:[1241] | Coracao:[1240] | Consolo:[321] | Casal:[1314] | Guitarra:[19319] | Aviaozinho:[2469]\n"); strcat(Strings, "{ccff30}•{FFFFFF} Caldeirao:[19527] | Explosivo:[1654] | NRG-500:[522] | Infernus:[411] | Sultan:[560] | Cheetah:[415] | Monster de Inventario:[557] Turismo:[451]\n\n"); strcat(Strings, "{FFA201}» Para dar algum item Use: /daritem [ID Player] [ITEM]"); ShowPlayerDialog(playerid, 99, DIALOG_STYLE_MSGBOX, "ID DOS ITENS", Strings, "Fechar", ""); return true; } CMD:infocaixas(playerid) { MEGAString[0] = EOS; strcat(MEGAString, "{00BFFF}Como pegar as caixas surpresa?\n"); strcat(MEGAString, " {FFFFFF}Use o comando: '/gps' clique em Locais importantes depois em 'Presentes'\n"); strcat(MEGAString, " {00BFFF}OBSERVAcaO:{FFFFFF} Voce recebera uma caixa surpresa a cada PayDay(Pagamento) de hora\n\n"); strcat(MEGAString, "{00BFFF}Como funciona?\n"); strcat(MEGAString, " {FFFFFF}sistema aleatorio, basta apertar F e pegar uma caixa na SORTE!\n\n"); strcat(MEGAString, "{00FF00}CAIXAS DISPONiVEIS:\n"); strcat(MEGAString, "{FFFFFF}» Caixa Surpresa {F78181}Pequena{FFFFFF} - Dinheiro & Respeito.\n"); strcat(MEGAString, "{FFFFFF}» Caixa Surpresa {5FB404}Media{FFFFFF} - Dinheiro & Respeito.\n"); strcat(MEGAString, "{FFFFFF}» Caixa Surpresa {FACC2E}Grande{FFFFFF} - Dinheiro, Respeito, Maca & Leite.\n"); strcat(MEGAString, "{FFFFFF}» Caixa Surpresa {FBED2D}Gigante{FFFFFF} - Dinheiro, Respeito, Maca & Leite, Item.\n\n"); strcat(MEGAString, "{FFFFFF}» Caixa Surpresa {FF5A00}Extreme\n"); strcat(MEGAString, "{FFFFFF}Dinheiro, Respeito, Maca, Leite, Armas (...)\n"); strcat(MEGAString, "{FFFFFF}Probabilidade de vir: Jetpack, Portao\n"); strcat(MEGAString, "{FACC2E}EXTRA:{FFFFFF} Cash (0 a 500)\n"); strcat(MEGAString, "{FACC2E}Acessorios:{FFFFFF} Ursinho, Prancha, Laser Aleatorio...\n"); strcat(MEGAString, "{FFA201}Monster | Probabilidade de vir na Extreme: (1/15)\n\n"); strcat(MEGAString, "{FFFFFF}» Caixa Surpresa {2E37F3}Reveillon\n"); strcat(MEGAString, "{FFFFFF}Dinheiro, Respeito, Pao, Suco, Armas (...)\n"); strcat(MEGAString, "{FFFFFF}Probabilidade de vir: Jetpack, Portao\n"); strcat(MEGAString, "{FACC2E}EXTRA:{FFFFFF} Cash (0 a 700)\n"); strcat(MEGAString, "{FACC2E}EXTRA:{FFFFFF} Dias Socio Gold (0 a 10)\n"); strcat(MEGAString, "{FACC2E}Acessorios:{FFFFFF} Cavalo, Bota, Laser Aleatorio...\n"); strcat(MEGAString, "{FFA201}Monster / Turismo| Probabilidade de vir: (1/15)\n\n"); strcat(MEGAString, "{00FFFF}CAIXAS INDISPONiVEIS:\n"); strcat(MEGAString, "{FFFFFF}• Caixa Surpresa {DBA901}Pascoa.\n"); strcat(MEGAString, "{FFFFFF}• Caixa Surpresa {FA58F4}Love.\n"); strcat(MEGAString, "{FFFFFF}• Caixa Surpresa {61210B}Araia.\n"); strcat(MEGAString, "{FFFFFF}• Caixa Surpresa {DA81F5}Safira.\n"); strcat(MEGAString, "{FFFFFF}• Caixa Surpresa {39DEEE}Diamante.\n\n"); ShowPlayerDialog(playerid, 99, DIALOG_STYLE_MSGBOX, "Conteúdo das Caixas", MEGAString, "Fechar", ""); return true; } CMD:mekitkjms(playerid) { GetPlayerPos(playerid, MedKitDados[playerid][PosPlayerX],MedKitDados[playerid][PosPlayerY], MedKitDados[playerid][PosPlayerZ]); MedKitDados[playerid][MedKits] = CreatePickup(19606,1, MedKitDados[playerid][PosPlayerX], MedKitDados[playerid][PosPlayerY], MedKitDados[playerid][PosPlayerZ]-1.5), MedKitDados[playerid][MedKitObject] = CreateDynamicObject(11736, MedKitDados[playerid][PosPlayerX], MedKitDados[playerid][PosPlayerY], MedKitDados[playerid][PosPlayerZ]-1, 0.0, 0.0, 0.0); MedKitDados[playerid][VidaMedKit] = 10; PlayerPlaySound(playerid, 32000, 0.0, 0.0, 0.0), MedKitDados[playerid][MedPlayer] = true; SendClientMessage(playerid, BRANCO_COR, "* Voce usou um {00FFFF}MedKit{FFFFFF} de chao, fique em cima dele para ganhar vida/colete !"); return 1; } CMD:guerra(playerid, params[]) { if(PlayerInfo[playerid][pJailed] != 0) return SendClientMessage(playerid,COLOR_GRAD1,"Voce nao pode criar guerra na cadeia!"); if(TendoGuerra >= 1) return SendClientMessage(playerid, COLOR_GRAD1, " Ja esta tendo uma guerra!"); if(GetPlayerInterior(playerid) != 0) return SendClientMessage(playerid,COLOR_GRAD1,"Voce nao pode criar guerra em um interior!"); if(teveguerra) return SendClientMessage(playerid, COLOR_GRAD1, " Ja teve uma guerra neste payday!"); if(IsPlayerInRC(playerid)) return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao pode criar guerra em area neutra!"); new mins; if(sscanf(params, "d", mins)) return SendClientMessage(playerid, COLOR_GRAD1, "USE: /guerra [minutos]"); if(mins < 20 || mins > 120) return SendClientMessage(playerid, COLOR_GRAD1, "Minutos de 20 - 120"); if(GetPlayerOrg(playerid) == 3 || GetPlayerOrg(playerid) == 15 || GetPlayerOrg(playerid) == 23) { new Float:x,Float:y,Float:z; GetPlayerPos(playerid,x,y,z); new location[MAX_ZONE_NAME]; GetPlayer2DZone(playerid, location, MAX_ZONE_NAME); SendClientMessageToAll(GetPlayerColor(playerid), "~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*"); MensagemFormatadaAll(GetPlayerColor(playerid), "%s e os %s iniciaram uma Guerra, ela ira durar %d minutos.",NomePlayer(playerid), GetOrgName(GetPlayerOrg(playerid)), mins); MensagemFormatadaAll(GetPlayerColor(playerid), "Evitem a area proxima a: %s", location); SendClientMessageToAll(GetPlayerColor(playerid), "~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*"); foreach(Player, i) { EmGuerra[i] = 0; } Territorio[MinX] = x-200; Territorio[MinY] = y-200; Territorio[MaxX] = x+200; Territorio[MaxY] = y+200; GuerraMinX = x-200; GuerraMinY = y-200; GuerraMaxX = x+200; GuerraMaxY = y+200; GZGuerra = GangZoneCreate(x-200,y-200,x+200,y+200); if(GetPlayerOrg(playerid) == 3) { GangZoneShowForAll(GZGuerra,0x00660CC8); CorGuerra = 0x00660CC8; } else if(GetPlayerOrg(playerid) == 15) { GangZoneShowForAll(GZGuerra,0x10100FAA); CorGuerra = 0x10100FAA; } else if(GetPlayerOrg(playerid) == 23) { GangZoneShowForAll(GZGuerra,0x00ECF6AA); CorGuerra = 0x00ECF6AA; } PSG[3] = 0; PSG[15] = 0; PSG[23] = 0; GranaGuerra = 0; TempoGuerra = 60 * mins; TimerGuerra = SetTimer("GuerraTerrorista", 1000, 1); BPFInfo[playerid][InicioGuerra] = 1; format(GuerraName, sizeof GuerraName, location); TendoGuerra = 1; teveguerra = true; return true; } else SendClientMessage(playerid,COLOR_GRAD1,"Voce nao pode criar uma guerra."); return true; } CMD:minhaidade(playerid, params[]) { new amount; if(sscanf(params, "d", amount)) return SendClientMessage(playerid, COLOR_GRAD1, "USE: /minhaidade [idade]"); if(amount > 90 || amount < 8) return SendClientMessage(playerid, COLOR_LIGHTRED, "A Sua idade nao pode ser menor a 8 nem maior a 90!"); PlayerInfo[playerid][pAge] = amount; MensagemFormatada(playerid,COLOR_LIGHTBLUE, "Voce editou a sua idade para: %d anos!", amount); return 1; } CMD:skydive(playerid, params[]) { if (PlayerInfo[playerid][pAdmin] >= 1337) { new Float:slx, Float:sly, Float:slz; GetPlayerPos(playerid, slx, sly, slz); if (IsPlayerConnected(playerid)) { SetPlayerPos(playerid,slx, sly, slz+2500); SendClientMessage(playerid, COLOR_LIGHTRED, "UUUUP!!!"); } } else { SendClientMessage(playerid, COLOR_GRAD1, "Voce nao esta autorizado a usar este comando!"); } return 1; } CMD:testetempo(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] < 2) return SendClientMessage(playerid, COLOR_GRAD1, "Voce nao esta autorizado a usar este comando!"); new weather; if(sscanf(params, "d", weather)) return SendClientMessage(playerid, COLOR_WHITE, "USE: /tempo [tempoid]"); if(weather < 0||weather > 45) { SendClientMessage(playerid, COLOR_GREY, " Tempo id de 0 ~ 45 !"); return 1; } SetPlayerWeather(playerid, weather); SendClientMessage(playerid, COLOR_GREY, " Tempo setado!"); return 1; } CMD:desligarcel(playerid, params[]) { if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid, 0xff6347FF, "* Voce nao esta conectado."); if(PlayerInfo[playerid][pVIP] < 1 && PlayerInfo[playerid][pAdmin] < 1 && PlayerInfo[playerid][pAdminTemp] < 1) return SendClientMessage(playerid, COLOR_GRAD2, "Voce nao e jogador VIP ou ADM"); if (!PhoneOnline[playerid]) { PhoneOnline[playerid] = 1; SendClientMessage(playerid, COLOR_GRAD2, "Voce desligou seu celular"); CellTime[playerid] = 0; Mobile[playerid] = 255; new pSpecialAction = GetPlayerSpecialAction(playerid); if (pSpecialAction == SPECIAL_ACTION_USECELLPHONE) { SetPlayerSpecialAction(playerid,SPECIAL_ACTION_STOPUSECELLPHONE); RemovePlayerAttachedObjectEx(playerid, Vaga_Celular); } } else if (PhoneOnline[playerid]) { PhoneOnline[playerid] = 0; SendClientMessage(playerid, COLOR_GRAD2, "Voce ligou seu celular"); } return true; } CMD:desligarchat(playerid, params[]) { if(PlayerInfo[playerid][pVIP] < 1) return SendClientMessage(playerid, COLOR_GRAD2, "Voce nao e jogador VIP"); if (!cVIPc[playerid]) { cVIPc[playerid] = 1; SendClientMessage(playerid, COLOR_GRAD2, " Chat VIP Desativado!"); } else if(cVIPc[playerid]) { cVIPc[playerid] = 0; SendClientMessage(playerid, COLOR_GRAD2, " Chat VIP Ligado"); } return true; } CMD:desligarh(playerid, params[]) { if(PlayerInfo[playerid][pHelper] < 1) return SendClientMessage(playerid, COLOR_GRAD2, "Voce nao eum Helper!"); if (!cHelperc[playerid]) { cHelperc[playerid] = 1; SendClientMessage(playerid, COLOR_GRAD2, " Chat Helper Desativado!"); } else if(cHelperc[playerid]) { cHelperc[playerid] = 0; SendClientMessage(playerid, COLOR_GRAD2, " Chat Helper Ligado"); } return true; } CMD:descalarall(playerid) { if(PlayerInfo[playerid][pAdmin] < 1342) return SCM(playerid, COLOR_ERRO, "Voce nao e dono do servidor!"); SCM(playerid, -1, "Descalou todos os jogadores"); SetTimerEx("DescalarJogadores", 1000, false, "i", playerid); return 1; } CMD:infobanconta(playerid, params[]) { if (PlayerInfo[playerid][pAdmin] < 2) return SendClientMessage(playerid, COLOR_GRAD2, LEVELADM); if(sscanf(params, "s[24]", params)) return SendClientMessage(playerid, COLOR_GRAD2, "USE: /infobanconta [Nick_Correto]"); showNickBan(playerid, params); return 1; } CMD:verul(playerid, params[]) { if (PlayerInfo[playerid][pAdmin] < 1337) return SendClientMessage(playerid, COLOR_GRAD2, LEVELADM); if(sscanf(params, "s[24]", params)) return SendClientMessage(playerid, COLOR_GRAD2, "USE: /verul [Nick_Correto]"); showUL(playerid, params); return 1; } CMD:pegaratividade(playerid, params[]) { if (PlayerInfo[playerid][pAdmin] < 4) return SendClientMessage(playerid, COLOR_GRAD2, LEVELADM); if(sscanf(params, "s[24]", params)) return SendClientMessage(playerid, COLOR_GRAD2, "USE: /pegaratividade [Nick_Correto]"); showLogDays(playerid, params); return 1; } CMD:infobanip(playerid, params[]){ if (PlayerInfo[playerid][pAdmin] < 2) return SendClientMessage(playerid, COLOR_GRAD2, LEVELADM); if(sscanf(params, "s[24]", params)) return SendClientMessage(playerid, COLOR_GRAD2, "USE: /infobanip [IP]"); showIPBan(playerid, params); return 1; } CMD:skick(playerid, params[]) { if(sscanf(params, "u", giveplayerid)) return SendClientMessage(playerid, COLOR_GRAD2, "USE: /skick [ID Do Jogador]"); if (PlayerInfo[playerid][pAdmin] >= 1338) { if(!admtrampando[playerid] && PlayerInfo[playerid][pAdmin] < 1342) return SendClientMessage(playerid, COLOR_GRAD1, TRABALHARADM); if(IsPlayerConnected(giveplayerid)) { if(giveplayerid != INVALID_PLAYER_ID) { KickCNF(giveplayerid); TextDrawShowForPlayer(giveplayerid, TextKick); TextDrawShowForPlayer(giveplayerid, TextKick1); MensagemFormatada(playerid,COLOR_GRAD1, "Voce kickou %s(ID: %d)",PlayerName(giveplayerid), giveplayerid); PlayerPlaySound(giveplayerid, 31202, 0.0, 0.0, 0.0); printf("SKICK: Admin %s kickou %s.", NomePlayer(playerid), NomePlayer(giveplayerid)); return true; } } } else { SendClientMessage(playerid, COLOR_GRAD1, LEVELADM); } return true; } CMD:reparar(playerid, params[]) { if(!IsAMec(playerid)) return SendClientMessage(playerid, COLOR_GREY, "Você não é um Mecânico!"); new playa; new moneyy; if(sscanf(params, "ud", playa, moneyy)) return SendClientMessage(playerid, COLOR_GRAD2, "USE: /reparar [ID do Player] [preco]"); if(moneyy < 1 || moneyy > 50000) return SendClientMessage(playerid, COLOR_GREY, " Preco minimo 1, preco maximo 50000!"); if(IsPlayerConnected(playa)) { if(playa != INVALID_PLAYER_ID) { if(ProxDetectorS(8.0, playerid, playa)&& IsPlayerInAnyVehicle(playa)) { if(playa == playerid) { SendClientMessage(playerid, COLOR_GREY, " Não posso fazer isso!"); return true; } MensagemFormatada(playerid, COLOR_LIGHTBLUE, "* Você ofereceu ao(a) %s para concertar seu carro por R$%d .",PlayerName(playa),moneyy); MensagemFormatada(playa, COLOR_LIGHTBLUE, "* Mêcanico %s quer reparar seu carro por R$%d, (Digite /aceitar reparo) para aceitar.",PlayerName(playerid),moneyy); RepairOffer[playa] = playerid; RepairPrice[playa] = moneyy; } else { SendClientMessage(playerid, COLOR_GREY, " Este jogador nao esta perto de Você ou nao esta no carro."); } } } else { SendClientMessage(playerid, COLOR_GREY, " O Jogador esta offline."); } return true; } CMD:blindar(playerid, params[]) { if(!IsAMec(playerid)) return SendClientMessage(playerid, COLOR_GREY, "Você não é um Mecânico!"); new playa; new moneyy; if(sscanf(params, "ud", playa, moneyy)) return SendClientMessage(playerid, COLOR_GRAD2, "USE: /blindar [ID do Player] [preco]"); if(moneyy < 1 || moneyy > 60000) return SendClientMessage(playerid, COLOR_GREY, " Preco minimo 1, preco maximo 60000!"); if(IsPlayerConnected(playa)) { if(playa != INVALID_PLAYER_ID) { if(ProxDetectorS(8.0, playerid, playa)&& IsPlayerInAnyVehicle(playa)) { if(playa == playerid) { SendClientMessage(playerid, COLOR_GREY, " Não posso fazer isso!"); return true; } MensagemFormatada(playerid, COLOR_LIGHTBLUE, "* Você ofereceu ao(a) %s para concertar seu carro por R$%d .",PlayerName(playa),moneyy); MensagemFormatada(playa, COLOR_LIGHTBLUE, "* Mêcanico %s quer reparar seu carro por R$%d, (Digite /aceitar reparo) para aceitar.",PlayerName(playerid),moneyy); BlindarOffer[playa] = playerid; BlindarPrice[playa] = moneyy; } else { SendClientMessage(playerid, COLOR_GREY, " Este jogador nao esta perto de Você ou nao esta no carro."); } } } else { SendClientMessage(playerid, COLOR_GREY, " O Jogador esta offline."); } return true; } CMD:deletarradar(playerid, params[]) { new id, strpasta[200]; if (PlayerInfo[playerid][pAdmin] < 1342) return SendClientMessage(playerid, COLOR_GRAD2, LEVELADM); if(sscanf(params, "d", id)) return SendClientMessage(playerid, -1, "Digite: /deletarradar [Id do radar]"); format(strpasta, sizeof(strpasta), PastaRadares, id); if(DOF2_FileExists(strpasta)) { DOF2_RemoveFile(strpasta); format(lString, sizeof(lString), "Você deletou o radar de ID: %d.", id); SendClientMessage(playerid, 0x00FFFFFF,lString); DestroyObject(ObjetoRadar[0][id]); DestroyObject(ObjetoRadar[1][id]); DestroyDynamic3DTextLabel(TRadar[id]); DestroyDynamicMapIcon(MapIconRadar[id]); InfoRadar[id][lPosXradar] = 0; InfoRadar[id][lPosYradar] = 0; InfoRadar[id][lPosZradar] = 0; InfoRadar[id][lAnguloradar] = 0; InfoRadar[id][lVelocidade] = 999; return 1; } else { format(lString, sizeof(lString), "O radar de ID: %d não existe.", id); SendClientMessage(playerid, 0x00FFFFFF, lString); } return 1; } CMD:criarradar(playerid, params[]) { new velocidade; if (PlayerInfo[playerid][pAdmin] < 1342) return SendClientMessage(playerid, COLOR_GRAD2, LEVELADM); if(CriandoRadar == 1) return SendClientMessage(playerid,0xB40000FF, "Já tem alguém criando um radar, aguarde por favor!"); if(sscanf(params,"d",velocidade)) return SendClientMessage(playerid, 0x999C9BFF,"Digite: /criarradar [velocidade]"); vel = velocidade; GetPlayerPos(playerid, PosXradar,PosYradar,PosZradar); GetPlayerFacingAngle(playerid, Anguloradar); TogglePlayerControllableEx(playerid, true); SetPlayerPos(playerid, PosXradar,PosYradar,PosZradar); format(lString, sizeof(lString),"{FFFFFF}Você deseja mesmo criar um radar neste local?\n\n"); format(lString, sizeof(lString),"%s{00B4FF}Posição X: {FFFFFF}%0.4f\n{00B4FF}Posição Y: {FFFFFF} %0.4f\n{00B4FF}Posição Z: {FFFFFF} %0.4f\n{00B4FF}Anguloradar: {FFFFFF}%0.4f\n{00B4FF}Velocidade: {FFFFFF}%d",lString,PosXradar,PosYradar,PosZradar,Anguloradar,velocidade); CriandoRadar = 1; ShowPlayerDialog(playerid, 3030, DIALOG_STYLE_MSGBOX, "Criador de radar",lString, "Criar","Cancelar"); return 1; } forward CarregarRadares(); public CarregarRadares() { new strradar[100], strpasta[200]; for(new rad=0;rad= yMP_TLP_CarFort){ yMP_Infos[playerid] = 1; yMP_AddQntLP[playerid] = 0; KillTimer(yMP_KillTimer[playerid]); yAlet = sizeof(yMP_PosR_CarFort)-1; yMP_PegouServ[playerid] = yAlet+1; SetPlayerCheckpoint(playerid, yMP_PosR_CarFort[yAlet][0],yMP_PosR_CarFort[yAlet][1],yMP_PosR_CarFort[yAlet][2], 4.0); new Float:Pos[3]; GetPlayerPos(playerid,Pos[0],Pos[1],Pos[2]); yMP_Valor[playerid] = floatround(yMP_GetDist(yMP_PosR_CarFort[yAlet][0],yMP_PosR_CarFort[yAlet][1],yMP_PosR_CarFort[yAlet][2] ,Pos[0],Pos[1],Pos[2]) * yMP_VAlor_CarFort); format(yMPStr, sizeof(yMPStr), "Você carregou o seu Carro Forte! Info: {33CC33}R$%i{FFFFFF} | {33CC33}%i{FFFFFF}/KM",yMP_Valor[playerid], yMP_GetDist(yMP_PosR_CarFort[yAlet][0],yMP_PosR_CarFort[yAlet][1],yMP_PosR_CarFort[yAlet][2] ,Pos[0],Pos[1],Pos[2])); return SendClientMessage(playerid, 0xFFFFFFFF, yMPStr); } if(!IsPlayerInRangeOfPoint(playerid,5.0,yMP_PosR_CarFort[yAlet][0],yMP_PosR_CarFort[yAlet][1],yMP_PosR_CarFort[yAlet][2])) return yMPKillTimReset(playerid,"Você afastou do local!",yMP_PosR_CarFort[yAlet][0],yMP_PosR_CarFort[yAlet][1],yMP_PosR_CarFort[yAlet][2],4.0); format(yMPStr, sizeof(yMPStr), "~n~~n~~n~~n~~n~~r~~w~Carregando~n~~r~%i~w~/~g~%i", yMP_AddQntLP[playerid],yMP_TLP_CarFort); GameTextForPlayer(playerid,yMPStr,1000,5); }else{ yMP_AddQntLP[playerid]++; new yAlet = yMP_PegouServ[playerid]-1; if(yMP_AddQntLP[playerid] >= yMP_TLP_CarFort){ yMP_Infos[playerid] = 0; yMP_AddQntLP[playerid] = 0; KillTimer(yMP_KillTimer[playerid]); GivePlayerMoney(playerid,yMP_Valor[playerid]); format(StrGeral, sizeof(StrGeral), ""); format(yMPStr, sizeof(yMPStr), "{FFFFFF}Você recebeu {33CC33}R$%i{FFFFFF} pelo Transporte\n",yMP_Valor[playerid]); strcat(StrGeral, yMPStr); strcat(StrGeral, "Você deseja continuar trabalhando?\n"); return ShowPlayerDialog(playerid, DG_Prox_Serv, DIALOG_STYLE_MSGBOX, "{00FFFF}[Carro Forte]", StrGeral, "Continuar", "Parar"); } if(!IsPlayerInRangeOfPoint(playerid,5.0,yMP_PosR_CarFort[yAlet][0],yMP_PosR_CarFort[yAlet][1],yMP_PosR_CarFort[yAlet][2])) return yMPKillTimReset(playerid,"Você afastou do local!",yMP_PosR_CarFort[yAlet][0],yMP_PosR_CarFort[yAlet][1],yMP_PosR_CarFort[yAlet][2],4.0); format(yMPStr, sizeof(yMPStr), "~n~~n~~n~~n~~n~~r~~w~Descarregando~n~~r~%i~w~/~g~%i", yMP_AddQntLP[playerid],yMP_TLP_CarFort); GameTextForPlayer(playerid,yMPStr,1000,5); } } return 1; } stock yMPErrTempoServ(playerid){ format(yMPStr, sizeof(yMPStr), "Você pegou um serviço recentemente! Aguarde %i/Segs!",yMP_TempPegar[playerid] - gettime()); return SendClientMessage(playerid, 0x00FFFFFF, yMPStr); } stock yMPKillTimReset(playerid, const string[],Float:X,Float:Y,Float:Z,Float:Radiau){ if(yMP_AddQntLP[playerid] != 0){ yMP_AddQntLP[playerid] = 0; KillTimer(yMP_KillTimer[playerid]); } if(Radiau != 0.0) SetPlayerCheckpoint(playerid, X,Y,Z, Radiau); if(yMP_TempPegar[playerid] < gettime()){ yMP_TempPegar[playerid] = gettime()+2; SendClientMessage(playerid, 0x00FFFFFF, string); } return 1; } stock yMPDellCarrosEmpre(playerid){ DestroyVehicleEx(yMP_Carro[playerid]); yMP_Carro[playerid] = 0; if(yMP_Bau[playerid] != 0){ DestroyVehicleEx(yMP_Bau[playerid]); yMP_Bau[playerid] = 0; } return SendClientMessage(playerid, 0x33CC33FF, "Seu veiculo foi deletado!"); } stock yMPPararDeTrabalhar(playerid){ yMP_PegouServ[playerid] = 0; SetPlayerSkin(playerid,yMP_Skin[playerid]); if(yMP_Carro[playerid] != 0){ DestroyVehicleEx(yMP_Carro[playerid]); yMP_Carro[playerid] = 0; } SetPlayerSpawn(playerid); return SendClientMessage(playerid, 0x00FFFFFF, "Você parou de trabalhar!"); } stock yMP_GetDist(Float:x1, Float:y1, Float:z1, Float:x2, Float:y2, Float:z2) return floatround(floatsqroot(((x1 - x2) * (x1 - x2)) + ((y1 - y2) * (y1 - y2)) + ((z1 - z2) * (z1 - z2)))); CMD:trocarcidade(playerid) { if(PlayerToPoint(3.0,playerid,362.5266,173.5673,1008.3828)) { ShowPlayerDialog(playerid, dialog_nascer, DIALOG_STYLE_LIST, "Qual cidade você deseja viver?", "Los Santos\nLas Venturas", "Selecionar", ""); return 1; } return 1; } stock AtacharLabelToVeiculo(Text3D:LabelID, vehicle, Float:sXX, Float:sYY, Float:sZZ) { Streamer_SetIntData(STREAMER_TYPE_3D_TEXT_LABEL, LabelID, E_STREAMER_ATTACHED_VEHICLE, vehicle); Streamer_SetFloatData(STREAMER_TYPE_3D_TEXT_LABEL, LabelID, E_STREAMER_ATTACH_OFFSET_X, sXX); Streamer_SetFloatData(STREAMER_TYPE_3D_TEXT_LABEL, LabelID, E_STREAMER_ATTACH_OFFSET_Y, sYY); Streamer_SetFloatData(STREAMER_TYPE_3D_TEXT_LABEL, LabelID, E_STREAMER_ATTACH_OFFSET_Z, sZZ); } stock PutPlayerInVehicleEx(playerid, vehicleid, seat, b_Tempo = 500) return SetTimerEx("PutPlayerInVehicle_Timer", b_Tempo, false, "iii", playerid, vehicleid, seat); forward PutPlayerInVehicle_Timer(playerid, vehicleid, seat); public PutPlayerInVehicle_Timer(playerid, vehicleid, seat) { PutPlayerInVehicle(playerid, vehicleid, seat); } DestroyPVehicleOrg(playerid) { if(PlayerCarroIDOrg[playerid] != INVALID_VEHICLE_ID) { if(IsValidVehicle(PlayerCarroIDOrg[playerid])) { for(new j; j < sizeof(orgVehicles); ++j) { if(orgVehicles[j][vID] == PlayerCarroIDOrg[playerid]) { DestroyVehicleEx(orgVehicles[j][vID]); orgVehicles[j][vID] = -1; orgVehicles[j][Disponivel] = true; } } PlayerCarroIDOrg[playerid] = INVALID_VEHICLE_ID; } } } DestroyPVehicleEmp(playerid) { if(PlayerCarroIDEmp[playerid] != INVALID_VEHICLE_ID) { if(IsValidVehicle(PlayerCarroIDEmp[playerid])) { for(new j; j < sizeof(empVehicles); ++j) { if(empVehicles[j][vID] == PlayerCarroIDEmp[playerid]) { DestroyVehicleEx(empVehicles[j][vID]); empVehicles[j][vID] = -1; empVehicles[j][Disponivel] = true; } } PlayerCarroIDEmp[playerid] = INVALID_VEHICLE_ID; } } } forward TerminarEletricista(playerid); public TerminarEletricista(playerid) { if(elettrampando[playerid] == 1 ) { GameTextForPlayer(playerid, "~w~CONSERTADO!", 2000, 1); ClearAnimations(playerid); DisablePlayerCheckpoint(playerid); elettrampando[playerid] = 0; TogglePlayerControllableEx(playerid, 1); DisablePlayerCheckpoint(playerid); new rand = random(salInfo[GanhoEletricista]);//new rand = random(salInfo[GanhoEletricista]); MensagemFormatada(playerid, 0xFF6347FF, "{FF6347}Emprego: Você concluiu a rota de eletricista e Recebeu:{00660C}R$100!, para começar novamente, digite /iniciareletricista!", ConvertMoney(rand)); GiveDinheiro(playerid, rand);//GiveDinheiro(playerid, rand); } KillTimer(EletricistaTimer[playerid]); return 1; } forward TerminarCaminhoneiro(playerid); public TerminarCaminhoneiro(playerid) { if(CaminhoneiroTrampando[playerid] == 1 ) { CaminhoneiroTrampando[playerid] = 0; TogglePlayerControllableEx(playerid, 1); DisablePlayerCheckpoint(playerid); new rand = 1242+random(salInfo[GanhoCaminhoneiro]); new string[256]; new rand2 = 945+random(salInfo[GanhoCaminhoneiro]); format(string, sizeof string, "Emprego: Você concluiu a rota de caminhoneiro e Recebeu:{00660C}R$2000 pela entrega! Volte para a hq e conclua mais rotas!", ConvertMoney(rand), ConvertMoney(rand2)); SCM(playerid, COLOR_LIGHTBLUE, string); GiveDinheiro(playerid, rand+rand2); SCM(playerid, COLOR_LIGHTBLUE, "INFO: A sua hq foi marcada no mapa!"); } SetPlayerCheckpoint(playerid, -63.7623,-1121.9281,1.0870, 8.0); GameTextForPlayer(playerid, "~w~Fim Da Entrega!", 2000, 1); KillTimer(CaminhoneiroTimer[playerid]); return 1; } //testes CMD:objtext(playerid, params[]) { new Float: X, Float: Y, Float: Z, myObject; GetPlayerPos(playerid, X, Y, Z); myObject = CreateObject(19353, X, Y, Z+0.5, 0.0, 0.0, 0.0, 300.0); SetObjectMaterial(myObject, 0, 19341, "egg_texts", "easter_egg01", 0x00FFFFFF); EditObject(playerid, myObject); SetObjectMaterialText(myObject, "Aquiles CNF", 0, OBJECT_MATERIAL_SIZE_256x128, "Arial", 28, 0, 0xFFFF8200, 0x00FFFF00, OBJECT_MATERIAL_TEXT_ALIGN_CENTER); //Replaces the texture of our object with the texture of object 19341 return 1; } stock CreateVehicleDebug(model, Float:bX, Float:bY, Float:bZ, Float:bR, colour_1, colour_2, respawn_delay) { new Float:vPos[3], MesmaPosicao; for(new i = 1; i < MAX_VEHICLES; ++i) { if(IsValidVehicle(i)) { GetVehiclePos(i, vPos[0], vPos[1], vPos[2]); if(vPos[0] == bX) { MesmaPosicao = 1; } } } new sVehicle = INVALID_VEHICLE_ID; if(!MesmaPosicao) { respawn_delay = cellmax; sVehicle = CreateVehicle(model, bX, bY, bZ, bR, colour_1, colour_2, respawn_delay); Loop(i, 2) { if(VeiculoNeon[sVehicle][i] != -1) DestroyDynamicObject(VeiculoNeon[sVehicle][i]); VeiculoNeon[sVehicle][i] = -1; } ResetVehicleNeon(sVehicle); } return sVehicle; } stock AddStaticVehicleEx_Debug(model, Float:bX, Float:bY, Float:bZ, Float:bR, colour_1, colour_2, respawn_delay) { new Float:vPos[3], MesmaPosicao; for(new i = 1; i < MAX_VEHICLES; ++i) { if(IsValidVehicle(i)) { GetVehiclePos(i, vPos[0], vPos[1], vPos[2]); if(vPos[0] == bX) { MesmaPosicao = 1; } } } new sVehicle = INVALID_VEHICLE_ID; if(!MesmaPosicao) { respawn_delay = cellmax; sVehicle = AddStaticVehicleEx(model, bX, bY, bZ, bR, colour_1, colour_2, respawn_delay); Loop(i, 2) { if(VeiculoNeon[sVehicle][i] != -1) DestroyDynamicObject(VeiculoNeon[sVehicle][i]); VeiculoNeon[sVehicle][i] = -1; } ResetVehicleNeon(sVehicle); } return sVehicle; } forward Timer_AdquirirItemServer(playerid); public Timer_AdquirirItemServer(playerid) { new vendedorid = ComprandoItemServerDe[playerid]; if(!IsPlayerConnected(vendedorid)) return 0; // ---------------------------- // TempoComprarItemServer[playerid] --; // ---------------------------- // if(TempoComprarItemServer[playerid] < 1) { SCMf(playerid, COLOR_ERRO, "[AVISO] Você demorou demais para aceitar ou recusar a oferta do(a) jogador(a) %s(%i).", PlayerName(vendedorid), vendedorid); SCMf(vendedorid, COLOR_ERRO, "[AVISO] O(A) jogador(a) %s(%i) demorou demais para aceitar ou recusar a oferta.", PlayerName(playerid), playerid); ResetVendaItemServer(playerid, vendedorid); } else { ShowPlayerDialogEx(playerid, D_QUER_ADQUIRIR_ITEM_SERVER); TimerComprarItemServer[playerid] = SetTimerEx("Timer_AdquirirItemServer", 1000, false, "i", playerid); } return 1; } stock SCMf(playerid, color, const text[], {Float, _}:...) { static args, str[144]; /* * Custom function that uses #emit to format variables into a string. * This code is very fragile; touching any code here will cause crashing! */ if ((args = numargs()) == 3) { SendClientMessage(playerid, color, text); } else { while (--args >= 3) { #emit LCTRL 5 #emit LOAD.alt args #emit SHL.C.alt 2 #emit ADD.C 12 #emit ADD #emit LOAD.I #emit PUSH.pri } #emit PUSH.S text #emit PUSH.C 144 #emit PUSH.C str #emit PUSH.S 8 #emit SYSREQ.C format #emit LCTRL 5 #emit SCTRL 4 SendClientMessage(playerid, color, str); #emit RETN } return 1; } stock ResetVendaItemServer(playerid, vendedorid) { VendendoItemServerPara[vendedorid] = INVALID_PLAYER_ID; ComprandoItemServerDe[playerid] = INVALID_PLAYER_ID; IndexIDVendendo[playerid] = -1; IndexPrecoVendendo[playerid] = 0; TempoComprarItemServer[playerid] = 0; TipoCompraItemIDD[playerid] = C_COMPRA_INVALID; if(TimerComprarItemServer[playerid] != -1) KillTimer(TimerComprarItemServer[playerid]); TimerComprarItemServer[playerid] = -1; return 1; } stock RespawnCarrosAutomatico() { for(new i; i < MAX_VEHICLES; i++) { if(IsValidVehicle(i)) { for(new p; p < MAX_PLAYERS; p++) { if(!IsVehicleOccupied(i)) { if(GetPVarInt(p, "VeiculoCriado") != -1) { DestroyVehicleEx(GetPVarInt(p, "VeiculoCriado")); } } } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // new bool:pde = true; foreach(Player, p) { if(GetPlayerVehicleID(p) == i) pde = false; } if(Naorespawn[i] == 1) pde = false; if(IsVehicleInRangeOfPoint(i, 200.0, 1070.2504,1321.7101,10.8203)) { pde = false; } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // if(pde) { for(new vvv; vvv < sizeof(orgVehicles); vvv++) { if(orgVehicles[vvv][vID] != -1) { if(orgVehicles[vvv][vID] == i) { DestroyVehicleEx(orgVehicles[vvv][vID]); orgVehicles[vvv][vID] = -1; orgVehicles[vvv][Disponivel] = true; for(new p; p < MAX_PLAYERS; ++p) { if(IsPlayerConnected(p)) { if(PlayerCarroIDOrg[p] == i) { PlayerCarroIDOrg[p] = INVALID_VEHICLE_ID; } } } } } } } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // if(pde) { for(new vvv; vvv < sizeof(empVehicles); vvv++) { if(empVehicles[vvv][vID] != -1) { if(empVehicles[vvv][vID] == i) { DestroyVehicleEx(empVehicles[vvv][vID]); empVehicles[vvv][vID] = -1; empVehicles[vvv][Disponivel] = true; for(new p; p < MAX_PLAYERS; ++p) { if(IsPlayerConnected(p)) { if(PlayerCarroIDEmp[p] == i) { PlayerCarroIDEmp[p] = INVALID_VEHICLE_ID; } } } } } } } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // if(pde) { foreach(Player, player) { if(IsPlayerConnected(player)) { if(gPlayerLogged[player] && GetOwnedVehicleID(player) == i) { SavePlayerVehicle(player); } } } } if(IsVeiculoInventario(i) && !IsVehicleOccupied(i)) { DestruirVeiculoInventario(i); } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // if(pde) { if(IsValidVehicle(i)) { SetVehicleToRespawnEx(i); } } } } } stock AbrirMenuBinco(playerid) { if(PaginaBinco[playerid] == 1) { PlayerTextDrawSetPreviewModel(playerid, TxDBincoPlayer[playerid][3], BincoInfo[0][0]); PlayerTextDrawSetPreviewModel(playerid, TxDBincoPlayer[playerid][4], BincoInfo[1][0]); PlayerTextDrawSetPreviewModel(playerid, TxDBincoPlayer[playerid][5], BincoInfo[2][0]); PlayerTextDrawSetPreviewModel(playerid, TxDBincoPlayer[playerid][6], BincoInfo[3][0]); } else if(PaginaBinco[playerid] == 2) { PlayerTextDrawSetPreviewModel(playerid, TxDBincoPlayer[playerid][3], BincoInfo[4][0]); PlayerTextDrawSetPreviewModel(playerid, TxDBincoPlayer[playerid][4], BincoInfo[5][0]); PlayerTextDrawSetPreviewModel(playerid, TxDBincoPlayer[playerid][5], BincoInfo[6][0]); PlayerTextDrawSetPreviewModel(playerid, TxDBincoPlayer[playerid][6], BincoInfo[7][0]); } else if(PaginaBinco[playerid] == 3) { PlayerTextDrawSetPreviewModel(playerid, TxDBincoPlayer[playerid][3], BincoInfo[8][0]); PlayerTextDrawSetPreviewModel(playerid, TxDBincoPlayer[playerid][4], BincoInfo[9][0]); PlayerTextDrawSetPreviewModel(playerid, TxDBincoPlayer[playerid][5], BincoInfo[10][0]); PlayerTextDrawSetPreviewModel(playerid, TxDBincoPlayer[playerid][6], BincoInfo[11][0]); } for(new Brazz; Brazz < 24; Brazz++) { PlayerTextDrawShow(playerid, TxDBincoPlayer[playerid][Brazz]); } SelectTextDraw(playerid, 0x00FFFFFF); BincoAberta[playerid] = true; return 1; } stock FecharMenuBinco(playerid) { for(new Brazz; Brazz < 24; Brazz++) { PlayerTextDrawHide(playerid, TxDBincoPlayer[playerid][Brazz]); } CancelSelectTextDraw(playerid); BincoAberta[playerid] = false; return 1; } stock CriarTxDBinco(playerid) { TxDBincoPlayer[playerid][0] = CreatePlayerTextDraw(playerid, 301.000000, 155.000000, "_"); PlayerTextDrawFont(playerid, TxDBincoPlayer[playerid][0], 1); PlayerTextDrawLetterSize(playerid, TxDBincoPlayer[playerid][0], 0.587499, 22.450031); PlayerTextDrawTextSize(playerid, TxDBincoPlayer[playerid][0], 329.000000, 363.000000); PlayerTextDrawSetOutline(playerid, TxDBincoPlayer[playerid][0], 1); PlayerTextDrawSetShadow(playerid, TxDBincoPlayer[playerid][0], 0); PlayerTextDrawAlignment(playerid, TxDBincoPlayer[playerid][0], 2); PlayerTextDrawColor(playerid, TxDBincoPlayer[playerid][0], -1); PlayerTextDrawBackgroundColor(playerid, TxDBincoPlayer[playerid][0], 255); PlayerTextDrawBoxColor(playerid, TxDBincoPlayer[playerid][0], 135); PlayerTextDrawUseBox(playerid, TxDBincoPlayer[playerid][0], 1); PlayerTextDrawSetProportional(playerid, TxDBincoPlayer[playerid][0], 1); PlayerTextDrawSetSelectable(playerid, TxDBincoPlayer[playerid][0], 0); TxDBincoPlayer[playerid][1] = CreatePlayerTextDraw(playerid, 301.000000, 155.000000, "_"); PlayerTextDrawFont(playerid, TxDBincoPlayer[playerid][1], 1); PlayerTextDrawLetterSize(playerid, TxDBincoPlayer[playerid][1], 0.533333, 1.349997); PlayerTextDrawTextSize(playerid, TxDBincoPlayer[playerid][1], 276.000000, 362.500000); PlayerTextDrawSetOutline(playerid, TxDBincoPlayer[playerid][1], 1); PlayerTextDrawSetShadow(playerid, TxDBincoPlayer[playerid][1], 0); PlayerTextDrawAlignment(playerid, TxDBincoPlayer[playerid][1], 2); PlayerTextDrawColor(playerid, TxDBincoPlayer[playerid][1], -1); PlayerTextDrawBackgroundColor(playerid, TxDBincoPlayer[playerid][1], 255); PlayerTextDrawBoxColor(playerid, TxDBincoPlayer[playerid][1], 164); PlayerTextDrawUseBox(playerid, TxDBincoPlayer[playerid][1], 1); PlayerTextDrawSetProportional(playerid, TxDBincoPlayer[playerid][1], 1); PlayerTextDrawSetSelectable(playerid, TxDBincoPlayer[playerid][1], 0); TxDBincoPlayer[playerid][2] = CreatePlayerTextDraw(playerid, 263.000000, 153.000000, "binco"); PlayerTextDrawFont(playerid, TxDBincoPlayer[playerid][2], 2); PlayerTextDrawLetterSize(playerid, TxDBincoPlayer[playerid][2], 0.591665, 1.649999); PlayerTextDrawTextSize(playerid, TxDBincoPlayer[playerid][2], 229.000000, 17.000000); PlayerTextDrawSetOutline(playerid, TxDBincoPlayer[playerid][2], 1); PlayerTextDrawSetShadow(playerid, TxDBincoPlayer[playerid][2], 0); PlayerTextDrawAlignment(playerid, TxDBincoPlayer[playerid][2], 1); PlayerTextDrawColor(playerid, TxDBincoPlayer[playerid][2], -1); PlayerTextDrawBackgroundColor(playerid, TxDBincoPlayer[playerid][2], 255); PlayerTextDrawBoxColor(playerid, TxDBincoPlayer[playerid][2], 50); PlayerTextDrawUseBox(playerid, TxDBincoPlayer[playerid][2], 0); PlayerTextDrawSetProportional(playerid, TxDBincoPlayer[playerid][2], 1); PlayerTextDrawSetSelectable(playerid, TxDBincoPlayer[playerid][2], 0); TxDBincoPlayer[playerid][3] = CreatePlayerTextDraw(playerid, 119.000000, 171.000000, "Preview_Model"); PlayerTextDrawFont(playerid, TxDBincoPlayer[playerid][3], 5); PlayerTextDrawLetterSize(playerid, TxDBincoPlayer[playerid][3], 0.600000, 2.000000); PlayerTextDrawTextSize(playerid, TxDBincoPlayer[playerid][3], 90.000000, 147.500000); PlayerTextDrawSetOutline(playerid, TxDBincoPlayer[playerid][3], 0); PlayerTextDrawSetShadow(playerid, TxDBincoPlayer[playerid][3], 0); PlayerTextDrawAlignment(playerid, TxDBincoPlayer[playerid][3], 1); PlayerTextDrawColor(playerid, TxDBincoPlayer[playerid][3], -1); PlayerTextDrawBackgroundColor(playerid, TxDBincoPlayer[playerid][3], 125); PlayerTextDrawBoxColor(playerid, TxDBincoPlayer[playerid][3], 255); PlayerTextDrawUseBox(playerid, TxDBincoPlayer[playerid][3], 0); PlayerTextDrawSetProportional(playerid, TxDBincoPlayer[playerid][3], 1); PlayerTextDrawSetSelectable(playerid, TxDBincoPlayer[playerid][3], 0); PlayerTextDrawSetPreviewModel(playerid, TxDBincoPlayer[playerid][3], 294); PlayerTextDrawSetPreviewRot(playerid, TxDBincoPlayer[playerid][3], -10.000000, 0.000000, -15.000000, 1.000000); PlayerTextDrawSetPreviewVehCol(playerid, TxDBincoPlayer[playerid][3], 1, 1); TxDBincoPlayer[playerid][4] = CreatePlayerTextDraw(playerid, 210.000000, 171.000000, "Preview_Model"); PlayerTextDrawFont(playerid, TxDBincoPlayer[playerid][4], 5); PlayerTextDrawLetterSize(playerid, TxDBincoPlayer[playerid][4], 0.600000, 2.000000); PlayerTextDrawTextSize(playerid, TxDBincoPlayer[playerid][4], 90.000000, 147.500000); PlayerTextDrawSetOutline(playerid, TxDBincoPlayer[playerid][4], 0); PlayerTextDrawSetShadow(playerid, TxDBincoPlayer[playerid][4], 0); PlayerTextDrawAlignment(playerid, TxDBincoPlayer[playerid][4], 1); PlayerTextDrawColor(playerid, TxDBincoPlayer[playerid][4], -1); PlayerTextDrawBackgroundColor(playerid, TxDBincoPlayer[playerid][4], 125); PlayerTextDrawBoxColor(playerid, TxDBincoPlayer[playerid][4], 255); PlayerTextDrawUseBox(playerid, TxDBincoPlayer[playerid][4], 0); PlayerTextDrawSetProportional(playerid, TxDBincoPlayer[playerid][4], 1); PlayerTextDrawSetSelectable(playerid, TxDBincoPlayer[playerid][4], 0); PlayerTextDrawSetPreviewModel(playerid, TxDBincoPlayer[playerid][4], 2); PlayerTextDrawSetPreviewRot(playerid, TxDBincoPlayer[playerid][4], -10.000000, 0.000000, -20.000000, 1.000000); PlayerTextDrawSetPreviewVehCol(playerid, TxDBincoPlayer[playerid][4], 1, 1); TxDBincoPlayer[playerid][5] = CreatePlayerTextDraw(playerid, 301.000000, 171.000000, "Preview_Model"); PlayerTextDrawFont(playerid, TxDBincoPlayer[playerid][5], 5); PlayerTextDrawLetterSize(playerid, TxDBincoPlayer[playerid][5], 0.600000, 2.000000); PlayerTextDrawTextSize(playerid, TxDBincoPlayer[playerid][5], 90.000000, 147.500000); PlayerTextDrawSetOutline(playerid, TxDBincoPlayer[playerid][5], 0); PlayerTextDrawSetShadow(playerid, TxDBincoPlayer[playerid][5], 0); PlayerTextDrawAlignment(playerid, TxDBincoPlayer[playerid][5], 1); PlayerTextDrawColor(playerid, TxDBincoPlayer[playerid][5], -1); PlayerTextDrawBackgroundColor(playerid, TxDBincoPlayer[playerid][5], 125); PlayerTextDrawBoxColor(playerid, TxDBincoPlayer[playerid][5], 255); PlayerTextDrawUseBox(playerid, TxDBincoPlayer[playerid][5], 0); PlayerTextDrawSetProportional(playerid, TxDBincoPlayer[playerid][5], 1); PlayerTextDrawSetSelectable(playerid, TxDBincoPlayer[playerid][5], 0); PlayerTextDrawSetPreviewModel(playerid, TxDBincoPlayer[playerid][5], 4); PlayerTextDrawSetPreviewRot(playerid, TxDBincoPlayer[playerid][5], -10.000000, 0.000000, -20.000000, 1.000000); PlayerTextDrawSetPreviewVehCol(playerid, TxDBincoPlayer[playerid][5], 1, 1); TxDBincoPlayer[playerid][6] = CreatePlayerTextDraw(playerid, 392.000000, 171.000000, "Preview_Model"); PlayerTextDrawFont(playerid, TxDBincoPlayer[playerid][6], 5); PlayerTextDrawLetterSize(playerid, TxDBincoPlayer[playerid][6], 0.600000, 2.000000); PlayerTextDrawTextSize(playerid, TxDBincoPlayer[playerid][6], 90.000000, 147.500000); PlayerTextDrawSetOutline(playerid, TxDBincoPlayer[playerid][6], 0); PlayerTextDrawSetShadow(playerid, TxDBincoPlayer[playerid][6], 0); PlayerTextDrawAlignment(playerid, TxDBincoPlayer[playerid][6], 1); PlayerTextDrawColor(playerid, TxDBincoPlayer[playerid][6], -1); PlayerTextDrawBackgroundColor(playerid, TxDBincoPlayer[playerid][6], 125); PlayerTextDrawBoxColor(playerid, TxDBincoPlayer[playerid][6], 255); PlayerTextDrawUseBox(playerid, TxDBincoPlayer[playerid][6], 0); PlayerTextDrawSetProportional(playerid, TxDBincoPlayer[playerid][6], 1); PlayerTextDrawSetSelectable(playerid, TxDBincoPlayer[playerid][6], 0); PlayerTextDrawSetPreviewModel(playerid, TxDBincoPlayer[playerid][6], 7); PlayerTextDrawSetPreviewRot(playerid, TxDBincoPlayer[playerid][6], -10.000000, 0.000000, -20.000000, 1.000000); PlayerTextDrawSetPreviewVehCol(playerid, TxDBincoPlayer[playerid][6], 1, 1); TxDBincoPlayer[playerid][7] = CreatePlayerTextDraw(playerid, 163.000000, 336.000000, "_"); PlayerTextDrawFont(playerid, TxDBincoPlayer[playerid][7], 1); PlayerTextDrawLetterSize(playerid, TxDBincoPlayer[playerid][7], 0.600000, 1.750002); PlayerTextDrawTextSize(playerid, TxDBincoPlayer[playerid][7], 298.500000, 75.000000); PlayerTextDrawSetOutline(playerid, TxDBincoPlayer[playerid][7], 1); PlayerTextDrawSetShadow(playerid, TxDBincoPlayer[playerid][7], 0); PlayerTextDrawAlignment(playerid, TxDBincoPlayer[playerid][7], 2); PlayerTextDrawColor(playerid, TxDBincoPlayer[playerid][7], -1); PlayerTextDrawBackgroundColor(playerid, TxDBincoPlayer[playerid][7], 255); PlayerTextDrawBoxColor(playerid, TxDBincoPlayer[playerid][7], 16711935); PlayerTextDrawUseBox(playerid, TxDBincoPlayer[playerid][7], 1); PlayerTextDrawSetProportional(playerid, TxDBincoPlayer[playerid][7], 1); PlayerTextDrawSetSelectable(playerid, TxDBincoPlayer[playerid][7], 0); TxDBincoPlayer[playerid][8] = CreatePlayerTextDraw(playerid, 445.000000, 362.000000, "_"); PlayerTextDrawFont(playerid, TxDBincoPlayer[playerid][8], 1); PlayerTextDrawLetterSize(playerid, TxDBincoPlayer[playerid][8], 0.600000, 2.700002); PlayerTextDrawTextSize(playerid, TxDBincoPlayer[playerid][8], 288.500000, 74.500000); PlayerTextDrawSetOutline(playerid, TxDBincoPlayer[playerid][8], 1); PlayerTextDrawSetShadow(playerid, TxDBincoPlayer[playerid][8], 0); PlayerTextDrawAlignment(playerid, TxDBincoPlayer[playerid][8], 2); PlayerTextDrawColor(playerid, TxDBincoPlayer[playerid][8], -1); PlayerTextDrawBackgroundColor(playerid, TxDBincoPlayer[playerid][8], 255); PlayerTextDrawBoxColor(playerid, TxDBincoPlayer[playerid][8], 135); PlayerTextDrawUseBox(playerid, TxDBincoPlayer[playerid][8], 1); PlayerTextDrawSetProportional(playerid, TxDBincoPlayer[playerid][8], 1); PlayerTextDrawSetSelectable(playerid, TxDBincoPlayer[playerid][8], 0); TxDBincoPlayer[playerid][9] = CreatePlayerTextDraw(playerid, 177.000000, 155.000000, "Pagina: 1/3"); PlayerTextDrawFont(playerid, TxDBincoPlayer[playerid][9], 1); PlayerTextDrawLetterSize(playerid, TxDBincoPlayer[playerid][9], 0.266665, 1.450000); PlayerTextDrawTextSize(playerid, TxDBincoPlayer[playerid][9], 106.500000, 17.000000); PlayerTextDrawSetOutline(playerid, TxDBincoPlayer[playerid][9], 1); PlayerTextDrawSetShadow(playerid, TxDBincoPlayer[playerid][9], 0); PlayerTextDrawAlignment(playerid, TxDBincoPlayer[playerid][9], 3); PlayerTextDrawColor(playerid, TxDBincoPlayer[playerid][9], -1); PlayerTextDrawBackgroundColor(playerid, TxDBincoPlayer[playerid][9], 255); PlayerTextDrawBoxColor(playerid, TxDBincoPlayer[playerid][9], 50); PlayerTextDrawUseBox(playerid, TxDBincoPlayer[playerid][9], 0); PlayerTextDrawSetProportional(playerid, TxDBincoPlayer[playerid][9], 1); PlayerTextDrawSetSelectable(playerid, TxDBincoPlayer[playerid][9], 0); TxDBincoPlayer[playerid][10] = CreatePlayerTextDraw(playerid, 254.000000, 336.000000, "_"); PlayerTextDrawFont(playerid, TxDBincoPlayer[playerid][10], 1); PlayerTextDrawLetterSize(playerid, TxDBincoPlayer[playerid][10], 0.600000, 1.750002); PlayerTextDrawTextSize(playerid, TxDBincoPlayer[playerid][10], 298.500000, 75.000000); PlayerTextDrawSetOutline(playerid, TxDBincoPlayer[playerid][10], 1); PlayerTextDrawSetShadow(playerid, TxDBincoPlayer[playerid][10], 0); PlayerTextDrawAlignment(playerid, TxDBincoPlayer[playerid][10], 2); PlayerTextDrawColor(playerid, TxDBincoPlayer[playerid][10], -1); PlayerTextDrawBackgroundColor(playerid, TxDBincoPlayer[playerid][10], 255); PlayerTextDrawBoxColor(playerid, TxDBincoPlayer[playerid][10], 16711935); PlayerTextDrawUseBox(playerid, TxDBincoPlayer[playerid][10], 1); PlayerTextDrawSetProportional(playerid, TxDBincoPlayer[playerid][10], 1); PlayerTextDrawSetSelectable(playerid, TxDBincoPlayer[playerid][10], 0); TxDBincoPlayer[playerid][11] = CreatePlayerTextDraw(playerid, 345.000000, 336.000000, "_"); PlayerTextDrawFont(playerid, TxDBincoPlayer[playerid][11], 1); PlayerTextDrawLetterSize(playerid, TxDBincoPlayer[playerid][11], 0.600000, 1.750002); PlayerTextDrawTextSize(playerid, TxDBincoPlayer[playerid][11], 298.500000, 75.000000); PlayerTextDrawSetOutline(playerid, TxDBincoPlayer[playerid][11], 1); PlayerTextDrawSetShadow(playerid, TxDBincoPlayer[playerid][11], 0); PlayerTextDrawAlignment(playerid, TxDBincoPlayer[playerid][11], 2); PlayerTextDrawColor(playerid, TxDBincoPlayer[playerid][11], -1); PlayerTextDrawBackgroundColor(playerid, TxDBincoPlayer[playerid][11], 255); PlayerTextDrawBoxColor(playerid, TxDBincoPlayer[playerid][11], 16711935); PlayerTextDrawUseBox(playerid, TxDBincoPlayer[playerid][11], 1); PlayerTextDrawSetProportional(playerid, TxDBincoPlayer[playerid][11], 1); PlayerTextDrawSetSelectable(playerid, TxDBincoPlayer[playerid][11], 0); TxDBincoPlayer[playerid][12] = CreatePlayerTextDraw(playerid, 436.000000, 336.000000, "_"); PlayerTextDrawFont(playerid, TxDBincoPlayer[playerid][12], 1); PlayerTextDrawLetterSize(playerid, TxDBincoPlayer[playerid][12], 0.600000, 1.750002); PlayerTextDrawTextSize(playerid, TxDBincoPlayer[playerid][12], 298.500000, 75.000000); PlayerTextDrawSetOutline(playerid, TxDBincoPlayer[playerid][12], 1); PlayerTextDrawSetShadow(playerid, TxDBincoPlayer[playerid][12], 0); PlayerTextDrawAlignment(playerid, TxDBincoPlayer[playerid][12], 2); PlayerTextDrawColor(playerid, TxDBincoPlayer[playerid][12], -1); PlayerTextDrawBackgroundColor(playerid, TxDBincoPlayer[playerid][12], 255); PlayerTextDrawBoxColor(playerid, TxDBincoPlayer[playerid][12], 16711935); PlayerTextDrawUseBox(playerid, TxDBincoPlayer[playerid][12], 1); PlayerTextDrawSetProportional(playerid, TxDBincoPlayer[playerid][12], 1); PlayerTextDrawSetSelectable(playerid, TxDBincoPlayer[playerid][12], 0); TxDBincoPlayer[playerid][13] = CreatePlayerTextDraw(playerid, 181.000000, 318.000000, "R$ 3000"); PlayerTextDrawFont(playerid, TxDBincoPlayer[playerid][13], 1); PlayerTextDrawLetterSize(playerid, TxDBincoPlayer[playerid][13], 0.270832, 1.500000); PlayerTextDrawTextSize(playerid, TxDBincoPlayer[playerid][13], 256.500000, 63.000000); PlayerTextDrawSetOutline(playerid, TxDBincoPlayer[playerid][13], 1); PlayerTextDrawSetShadow(playerid, TxDBincoPlayer[playerid][13], 0); PlayerTextDrawAlignment(playerid, TxDBincoPlayer[playerid][13], 3); PlayerTextDrawColor(playerid, TxDBincoPlayer[playerid][13], 16711935); PlayerTextDrawBackgroundColor(playerid, TxDBincoPlayer[playerid][13], 255); PlayerTextDrawBoxColor(playerid, TxDBincoPlayer[playerid][13], 50); PlayerTextDrawUseBox(playerid, TxDBincoPlayer[playerid][13], 0); PlayerTextDrawSetProportional(playerid, TxDBincoPlayer[playerid][13], 1); PlayerTextDrawSetSelectable(playerid, TxDBincoPlayer[playerid][13], 0); TxDBincoPlayer[playerid][14] = CreatePlayerTextDraw(playerid, 271.000000, 318.000000, "R$ 1000"); PlayerTextDrawFont(playerid, TxDBincoPlayer[playerid][14], 1); PlayerTextDrawLetterSize(playerid, TxDBincoPlayer[playerid][14], 0.270832, 1.500000); PlayerTextDrawTextSize(playerid, TxDBincoPlayer[playerid][14], 256.500000, 63.000000); PlayerTextDrawSetOutline(playerid, TxDBincoPlayer[playerid][14], 1); PlayerTextDrawSetShadow(playerid, TxDBincoPlayer[playerid][14], 0); PlayerTextDrawAlignment(playerid, TxDBincoPlayer[playerid][14], 3); PlayerTextDrawColor(playerid, TxDBincoPlayer[playerid][14], 16711935); PlayerTextDrawBackgroundColor(playerid, TxDBincoPlayer[playerid][14], 255); PlayerTextDrawBoxColor(playerid, TxDBincoPlayer[playerid][14], 50); PlayerTextDrawUseBox(playerid, TxDBincoPlayer[playerid][14], 0); PlayerTextDrawSetProportional(playerid, TxDBincoPlayer[playerid][14], 1); PlayerTextDrawSetSelectable(playerid, TxDBincoPlayer[playerid][14], 0); TxDBincoPlayer[playerid][15] = CreatePlayerTextDraw(playerid, 361.000000, 318.000000, "R$ 1000"); PlayerTextDrawFont(playerid, TxDBincoPlayer[playerid][15], 1); PlayerTextDrawLetterSize(playerid, TxDBincoPlayer[playerid][15], 0.270832, 1.500000); PlayerTextDrawTextSize(playerid, TxDBincoPlayer[playerid][15], 256.500000, 63.000000); PlayerTextDrawSetOutline(playerid, TxDBincoPlayer[playerid][15], 1); PlayerTextDrawSetShadow(playerid, TxDBincoPlayer[playerid][15], 0); PlayerTextDrawAlignment(playerid, TxDBincoPlayer[playerid][15], 3); PlayerTextDrawColor(playerid, TxDBincoPlayer[playerid][15], 16711935); PlayerTextDrawBackgroundColor(playerid, TxDBincoPlayer[playerid][15], 255); PlayerTextDrawBoxColor(playerid, TxDBincoPlayer[playerid][15], 50); PlayerTextDrawUseBox(playerid, TxDBincoPlayer[playerid][15], 0); PlayerTextDrawSetProportional(playerid, TxDBincoPlayer[playerid][15], 1); PlayerTextDrawSetSelectable(playerid, TxDBincoPlayer[playerid][15], 0); TxDBincoPlayer[playerid][16] = CreatePlayerTextDraw(playerid, 452.000000, 318.000000, "R$ 1000"); PlayerTextDrawFont(playerid, TxDBincoPlayer[playerid][16], 1); PlayerTextDrawLetterSize(playerid, TxDBincoPlayer[playerid][16], 0.270832, 1.500000); PlayerTextDrawTextSize(playerid, TxDBincoPlayer[playerid][16], 256.500000, 63.000000); PlayerTextDrawSetOutline(playerid, TxDBincoPlayer[playerid][16], 1); PlayerTextDrawSetShadow(playerid, TxDBincoPlayer[playerid][16], 0); PlayerTextDrawAlignment(playerid, TxDBincoPlayer[playerid][16], 3); PlayerTextDrawColor(playerid, TxDBincoPlayer[playerid][16], 16711935); PlayerTextDrawBackgroundColor(playerid, TxDBincoPlayer[playerid][16], 255); PlayerTextDrawBoxColor(playerid, TxDBincoPlayer[playerid][16], 50); PlayerTextDrawUseBox(playerid, TxDBincoPlayer[playerid][16], 0); PlayerTextDrawSetProportional(playerid, TxDBincoPlayer[playerid][16], 1); PlayerTextDrawSetSelectable(playerid, TxDBincoPlayer[playerid][16], 0); TxDBincoPlayer[playerid][17] = CreatePlayerTextDraw(playerid, 133.000000, 336.000000, "comprar"); PlayerTextDrawFont(playerid, TxDBincoPlayer[playerid][17], 2); PlayerTextDrawLetterSize(playerid, TxDBincoPlayer[playerid][17], 0.262499, 1.450000); PlayerTextDrawTextSize(playerid, TxDBincoPlayer[playerid][17], 185.000000, 17.000000); PlayerTextDrawSetOutline(playerid, TxDBincoPlayer[playerid][17], 1); PlayerTextDrawSetShadow(playerid, TxDBincoPlayer[playerid][17], 0); PlayerTextDrawAlignment(playerid, TxDBincoPlayer[playerid][17], 1); PlayerTextDrawColor(playerid, TxDBincoPlayer[playerid][17], -1); PlayerTextDrawBackgroundColor(playerid, TxDBincoPlayer[playerid][17], 255); PlayerTextDrawBoxColor(playerid, TxDBincoPlayer[playerid][17], 50); PlayerTextDrawUseBox(playerid, TxDBincoPlayer[playerid][17], 0); PlayerTextDrawSetProportional(playerid, TxDBincoPlayer[playerid][17], 1); PlayerTextDrawSetSelectable(playerid, TxDBincoPlayer[playerid][17], 1); TxDBincoPlayer[playerid][18] = CreatePlayerTextDraw(playerid, 228.000000, 336.000000, "comprar"); PlayerTextDrawFont(playerid, TxDBincoPlayer[playerid][18], 2); PlayerTextDrawLetterSize(playerid, TxDBincoPlayer[playerid][18], 0.262499, 1.450000); PlayerTextDrawTextSize(playerid, TxDBincoPlayer[playerid][18], 279.000000, 17.000000); PlayerTextDrawSetOutline(playerid, TxDBincoPlayer[playerid][18], 1); PlayerTextDrawSetShadow(playerid, TxDBincoPlayer[playerid][18], 0); PlayerTextDrawAlignment(playerid, TxDBincoPlayer[playerid][18], 1); PlayerTextDrawColor(playerid, TxDBincoPlayer[playerid][18], -1); PlayerTextDrawBackgroundColor(playerid, TxDBincoPlayer[playerid][18], 255); PlayerTextDrawBoxColor(playerid, TxDBincoPlayer[playerid][18], 50); PlayerTextDrawUseBox(playerid, TxDBincoPlayer[playerid][18], 0); PlayerTextDrawSetProportional(playerid, TxDBincoPlayer[playerid][18], 1); PlayerTextDrawSetSelectable(playerid, TxDBincoPlayer[playerid][18], 1); TxDBincoPlayer[playerid][19] = CreatePlayerTextDraw(playerid, 318.000000, 336.000000, "comprar"); PlayerTextDrawFont(playerid, TxDBincoPlayer[playerid][19], 2); PlayerTextDrawLetterSize(playerid, TxDBincoPlayer[playerid][19], 0.262499, 1.450000); PlayerTextDrawTextSize(playerid, TxDBincoPlayer[playerid][19], 369.500000, 17.000000); PlayerTextDrawSetOutline(playerid, TxDBincoPlayer[playerid][19], 1); PlayerTextDrawSetShadow(playerid, TxDBincoPlayer[playerid][19], 0); PlayerTextDrawAlignment(playerid, TxDBincoPlayer[playerid][19], 1); PlayerTextDrawColor(playerid, TxDBincoPlayer[playerid][19], -1); PlayerTextDrawBackgroundColor(playerid, TxDBincoPlayer[playerid][19], 255); PlayerTextDrawBoxColor(playerid, TxDBincoPlayer[playerid][19], 50); PlayerTextDrawUseBox(playerid, TxDBincoPlayer[playerid][19], 0); PlayerTextDrawSetProportional(playerid, TxDBincoPlayer[playerid][19], 1); PlayerTextDrawSetSelectable(playerid, TxDBincoPlayer[playerid][19], 1); TxDBincoPlayer[playerid][20] = CreatePlayerTextDraw(playerid, 408.000000, 336.000000, "comprar"); PlayerTextDrawFont(playerid, TxDBincoPlayer[playerid][20], 2); PlayerTextDrawLetterSize(playerid, TxDBincoPlayer[playerid][20], 0.262499, 1.450000); PlayerTextDrawTextSize(playerid, TxDBincoPlayer[playerid][20], 460.500000, 17.000000); PlayerTextDrawSetOutline(playerid, TxDBincoPlayer[playerid][20], 1); PlayerTextDrawSetShadow(playerid, TxDBincoPlayer[playerid][20], 0); PlayerTextDrawAlignment(playerid, TxDBincoPlayer[playerid][20], 1); PlayerTextDrawColor(playerid, TxDBincoPlayer[playerid][20], -1); PlayerTextDrawBackgroundColor(playerid, TxDBincoPlayer[playerid][20], 255); PlayerTextDrawBoxColor(playerid, TxDBincoPlayer[playerid][20], 50); PlayerTextDrawUseBox(playerid, TxDBincoPlayer[playerid][20], 0); PlayerTextDrawSetProportional(playerid, TxDBincoPlayer[playerid][20], 1); PlayerTextDrawSetSelectable(playerid, TxDBincoPlayer[playerid][20], 1); TxDBincoPlayer[playerid][21] = CreatePlayerTextDraw(playerid, 413.000000, 360.000000, "ld_beat:left"); PlayerTextDrawFont(playerid, TxDBincoPlayer[playerid][21], 4); PlayerTextDrawLetterSize(playerid, TxDBincoPlayer[playerid][21], 0.600000, 2.000000); PlayerTextDrawTextSize(playerid, TxDBincoPlayer[playerid][21], 30.500000, 26.000000); PlayerTextDrawSetOutline(playerid, TxDBincoPlayer[playerid][21], 1); PlayerTextDrawSetShadow(playerid, TxDBincoPlayer[playerid][21], 0); PlayerTextDrawAlignment(playerid, TxDBincoPlayer[playerid][21], 1); PlayerTextDrawColor(playerid, TxDBincoPlayer[playerid][21], -1); PlayerTextDrawBackgroundColor(playerid, TxDBincoPlayer[playerid][21], 255); PlayerTextDrawBoxColor(playerid, TxDBincoPlayer[playerid][21], 50); PlayerTextDrawUseBox(playerid, TxDBincoPlayer[playerid][21], 1); PlayerTextDrawSetProportional(playerid, TxDBincoPlayer[playerid][21], 1); PlayerTextDrawSetSelectable(playerid, TxDBincoPlayer[playerid][21], 1); TxDBincoPlayer[playerid][22] = CreatePlayerTextDraw(playerid, 451.000000, 360.000000, "ld_beat:right"); PlayerTextDrawFont(playerid, TxDBincoPlayer[playerid][22], 4); PlayerTextDrawLetterSize(playerid, TxDBincoPlayer[playerid][22], 0.600000, 2.000000); PlayerTextDrawTextSize(playerid, TxDBincoPlayer[playerid][22], 31.500000, 25.000000); PlayerTextDrawSetOutline(playerid, TxDBincoPlayer[playerid][22], 1); PlayerTextDrawSetShadow(playerid, TxDBincoPlayer[playerid][22], 0); PlayerTextDrawAlignment(playerid, TxDBincoPlayer[playerid][22], 1); PlayerTextDrawColor(playerid, TxDBincoPlayer[playerid][22], -1); PlayerTextDrawBackgroundColor(playerid, TxDBincoPlayer[playerid][22], 255); PlayerTextDrawBoxColor(playerid, TxDBincoPlayer[playerid][22], 50); PlayerTextDrawUseBox(playerid, TxDBincoPlayer[playerid][22], 1); PlayerTextDrawSetProportional(playerid, TxDBincoPlayer[playerid][22], 1); PlayerTextDrawSetSelectable(playerid, TxDBincoPlayer[playerid][22], 1); TxDBincoPlayer[playerid][23] = CreatePlayerTextDraw(playerid, 465.000000, 154.000000, "X"); PlayerTextDrawFont(playerid, TxDBincoPlayer[playerid][23], 1); PlayerTextDrawLetterSize(playerid, TxDBincoPlayer[playerid][23], 0.600000, 1.450000); PlayerTextDrawTextSize(playerid, TxDBincoPlayer[playerid][23], 482.500000, 16.500000); PlayerTextDrawSetOutline(playerid, TxDBincoPlayer[playerid][23], 1); PlayerTextDrawSetShadow(playerid, TxDBincoPlayer[playerid][23], 0); PlayerTextDrawAlignment(playerid, TxDBincoPlayer[playerid][23], 1); PlayerTextDrawColor(playerid, TxDBincoPlayer[playerid][23], -1); PlayerTextDrawBackgroundColor(playerid, TxDBincoPlayer[playerid][23], 255); PlayerTextDrawBoxColor(playerid, TxDBincoPlayer[playerid][23], 50); PlayerTextDrawUseBox(playerid, TxDBincoPlayer[playerid][23], 1); PlayerTextDrawSetProportional(playerid, TxDBincoPlayer[playerid][23], 1); PlayerTextDrawSetSelectable(playerid, TxDBincoPlayer[playerid][23], 1); } stock DestruirTxDBinco(playerid) { PlayerTextDrawDestroy(playerid, TxDBincoPlayer[playerid][0]); PlayerTextDrawDestroy(playerid, TxDBincoPlayer[playerid][1]); PlayerTextDrawDestroy(playerid, TxDBincoPlayer[playerid][2]); PlayerTextDrawDestroy(playerid, TxDBincoPlayer[playerid][3]); PlayerTextDrawDestroy(playerid, TxDBincoPlayer[playerid][4]); PlayerTextDrawDestroy(playerid, TxDBincoPlayer[playerid][5]); PlayerTextDrawDestroy(playerid, TxDBincoPlayer[playerid][6]); PlayerTextDrawDestroy(playerid, TxDBincoPlayer[playerid][7]); PlayerTextDrawDestroy(playerid, TxDBincoPlayer[playerid][8]); PlayerTextDrawDestroy(playerid, TxDBincoPlayer[playerid][9]); PlayerTextDrawDestroy(playerid, TxDBincoPlayer[playerid][10]); PlayerTextDrawDestroy(playerid, TxDBincoPlayer[playerid][11]); PlayerTextDrawDestroy(playerid, TxDBincoPlayer[playerid][12]); PlayerTextDrawDestroy(playerid, TxDBincoPlayer[playerid][13]); PlayerTextDrawDestroy(playerid, TxDBincoPlayer[playerid][14]); PlayerTextDrawDestroy(playerid, TxDBincoPlayer[playerid][15]); PlayerTextDrawDestroy(playerid, TxDBincoPlayer[playerid][16]); PlayerTextDrawDestroy(playerid, TxDBincoPlayer[playerid][17]); PlayerTextDrawDestroy(playerid, TxDBincoPlayer[playerid][18]); PlayerTextDrawDestroy(playerid, TxDBincoPlayer[playerid][19]); PlayerTextDrawDestroy(playerid, TxDBincoPlayer[playerid][20]); PlayerTextDrawDestroy(playerid, TxDBincoPlayer[playerid][21]); PlayerTextDrawDestroy(playerid, TxDBincoPlayer[playerid][22]); PlayerTextDrawDestroy(playerid, TxDBincoPlayer[playerid][23]); } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // stock DestroyVehicleEx(vehicleid) { if(IsValidVehicle(vehicleid) && !IsVeiculoInventario(vehicleid) && !IsVeiculoConce(vehicleid)) { Loop(i, 2) { if(VeiculoNeon[vehicleid][i] != -1) DestroyDynamicObject(VeiculoNeon[vehicleid][i]); VeiculoNeon[vehicleid][i] = -1; } ResetVehicleNeon(vehicleid); DestroyVehicle(vehicleid); VehicleInfo[vehicleid][vLock] = 0; // ~~~ // Loop(p, MAX_PLAYERS) { if(IsPlayerConnected(p)) { if(PlayerCarroConce[p] == vehicleid) { PlayerCarroConce[p] = INVALID_VEHICLE_ID; } } } } } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // stock DestroyVehicleConce(vehicleid) { if(IsValidVehicle(vehicleid) && IsVeiculoConce(vehicleid)) { Loop(i, 2) { if(VeiculoNeon[vehicleid][i] != -1) DestroyDynamicObject(VeiculoNeon[vehicleid][i]); VeiculoNeon[vehicleid][i] = -1; } ResetVehicleNeon(vehicleid); DestroyVehicle(vehicleid); VehicleInfo[vehicleid][vLock] = 0; // ~~~ // Loop(p, MAX_PLAYERS) { if(IsPlayerConnected(p)) { if(PlayerCarroConce[p] == vehicleid) { PlayerCarroConce[p] = INVALID_VEHICLE_ID; } } } } } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // stock DestroyVehicleInv_Ex(vehicleid) { if(IsValidVehicle(vehicleid) && IsVeiculoInventario(vehicleid) && !IsVeiculoConce(vehicleid)) { Loop(i, 2) { if(VeiculoNeon[vehicleid][i] != -1) DestroyDynamicObject(VeiculoNeon[vehicleid][i]); VeiculoNeon[vehicleid][i] = -1; } ResetVehicleNeon(vehicleid); DestroyVehicle(vehicleid); VehicleInfo[vehicleid][vLock] = 0; // ~~~ // Loop(p, MAX_PLAYERS) { if(IsPlayerConnected(p)) { if(PlayerCarroConce[p] == vehicleid) { PlayerCarroConce[p] = INVALID_VEHICLE_ID; } } } } } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // stock IsVeiculoInventario(vehicleid) { Loop(p, MAX_PLAYERS) { if(IsPlayerConnected(p)) { if(gPlayerLogged[p] && carroinvID[p] == vehicleid) { return 1; } } } return 0; } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // stock AttachDynObjectToVehicleTimer(objectid, vehicleid, Float:kX, Float:kY, Float:kZ, Float:kRX, Float:kRY, Float:kRZ) return SetTimerEx("AttachObjToVehicle_Timer", 1000, false, "iiFFFFFF", objectid, vehicleid, Float:kX, Float:kY, Float:kZ, Float:kRX, Float:kRY, Float:kRZ); forward AttachObjToVehicle_Timer(objectid, vehicleid, Float:kX, Float:kY, Float:kZ, Float:kRX, Float:kRY, Float:kRZ); public AttachObjToVehicle_Timer(objectid, vehicleid, Float:kX, Float:kY, Float:kZ, Float:kRX, Float:kRY, Float:kRZ) { if(IsValidDynamicObject(objectid) && IsValidVehicle(vehicleid)) { AttachDynamicObjectToVehicle(objectid, vehicleid, kX, kY, kZ, kRX, kRY, kRZ); } } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // stock IsVeiculoConce(vehicleid) { Loop(p, MAX_PLAYERS) { if(IsPlayerConnected(p)) { if(gPlayerLogged[p] && PlayerCarroConce[p] == vehicleid) { return 1; } } } return 0; } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // stock SetVehicleToRespawnEx(vehicleid) { if(!IsVehicleOccupied(vehicleid)) { SetVehicleToRespawn(vehicleid); } } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // stock DestruirVeiculoInventario(vehicleid) { Loop(p, MAX_PLAYERS) { if(IsPlayerConnected(p)) { if(carroinvID[p] == vehicleid) { ForT:dinv(p); return 1; } } } return 1; } stock UseCMD(playerid, const comando[]) { SCMf(playerid, COLOR_GRAD1, "{32CD32}× {C0C0C0}Use: {C0C0C0}%s", comando); return 1; } AbrirCaixaEletronico(playerid) { for(new brazz; brazz < 9; brazz++) { PlayerTextDrawShow(playerid, CaixaEletroCNFPlayer[playerid][brazz]); } new string[200]; format(string, sizeof string, "~g~R$~w~~h~~h~ %s~n~", ConvertMoney(GetPlayerMoney(playerid))); PlayerTextDrawSetString(playerid, CaixaEletroCNFPlayer[playerid][0], string); PlayerTextDrawSetString(playerid, CaixaEletroCNFPlayer[playerid][6], string); PlayerTextDrawSetString(playerid, CaixaEletroCNFPlayer[playerid][7], string); format(string, sizeof string, "~n~~g~R$~w~~h~~h~ %s", ConvertMoney(PlayerInfo[playerid][pConta])); PlayerTextDrawSetString(playerid, CaixaEletroCNFPlayer[playerid][1], string); PlayerTextDrawSetString(playerid, CaixaEletroCNFPlayer[playerid][8], string); format(string, sizeof string, "~n~~g~$~w~~h~~h~ %s", ConvertMoney(PlayerInfo[playerid][pCasher])); PlayerTextDrawSetString(playerid, CaixaEletroCNFPlayer[playerid][2], string); for(new king; king < 27; king++) { TextDrawShowForPlayer(playerid,CaixaEletroCNF[king]); } PlayerTextDrawShow(playerid, CaixaEletroCNFPlayer[playerid][9]); TextDrawShowForPlayer(playerid, CaixaEletroCNF[27]); CaixaAberto[playerid] = true; TogglePlayerControllableEx(playerid, 0); SelectTextDraw(playerid, 0x00FFFFFF); } FecharCaixaEletronico(playerid) { CancelSelectTextDraw(playerid); for(new brazz; brazz < 10; brazz++) { PlayerTextDrawHide(playerid, CaixaEletroCNFPlayer[playerid][brazz]); } for(new king; king < 28; king++) { TextDrawHideForPlayer(playerid,CaixaEletroCNF[king]); } CaixaAberto[playerid] = false; CancelSelectTextDraw(playerid); TogglePlayerControllableEx(playerid, 1); return 1; } CriarTXDEletronicoPlayer(playerid) { CaixaEletroCNFPlayer[playerid][0] = CreatePlayerTextDraw(playerid, 151.000000, 186.000000, "~g~R$~w~~h~~h~ 500.000"); PlayerTextDrawFont(playerid, CaixaEletroCNFPlayer[playerid][0], 2); PlayerTextDrawLetterSize(playerid, CaixaEletroCNFPlayer[playerid][0], 0.229166, 1.049998); PlayerTextDrawTextSize(playerid, CaixaEletroCNFPlayer[playerid][0], 202.500000, 61.500000); PlayerTextDrawSetOutline(playerid, CaixaEletroCNFPlayer[playerid][0], 1); PlayerTextDrawSetShadow(playerid, CaixaEletroCNFPlayer[playerid][0], 0); PlayerTextDrawAlignment(playerid, CaixaEletroCNFPlayer[playerid][0], 2); PlayerTextDrawColor(playerid, CaixaEletroCNFPlayer[playerid][0], -1); PlayerTextDrawBackgroundColor(playerid, CaixaEletroCNFPlayer[playerid][0], 255); PlayerTextDrawBoxColor(playerid, CaixaEletroCNFPlayer[playerid][0], 50); PlayerTextDrawUseBox(playerid, CaixaEletroCNFPlayer[playerid][0], 0); PlayerTextDrawSetProportional(playerid, CaixaEletroCNFPlayer[playerid][0], 1); PlayerTextDrawSetSelectable(playerid, CaixaEletroCNFPlayer[playerid][0], 0); CaixaEletroCNFPlayer[playerid][1] = CreatePlayerTextDraw(playerid, 151.000000, 217.000000, "~g~R$ ~w~~h~~h~200.000"); PlayerTextDrawFont(playerid, CaixaEletroCNFPlayer[playerid][1], 2); PlayerTextDrawLetterSize(playerid, CaixaEletroCNFPlayer[playerid][1], 0.229166, 1.049998); PlayerTextDrawTextSize(playerid, CaixaEletroCNFPlayer[playerid][1], 231.000000, 62.500000); PlayerTextDrawSetOutline(playerid, CaixaEletroCNFPlayer[playerid][1], 1); PlayerTextDrawSetShadow(playerid, CaixaEletroCNFPlayer[playerid][1], 0); PlayerTextDrawAlignment(playerid, CaixaEletroCNFPlayer[playerid][1], 2); PlayerTextDrawColor(playerid, CaixaEletroCNFPlayer[playerid][1], -1); PlayerTextDrawBackgroundColor(playerid, CaixaEletroCNFPlayer[playerid][1], 255); PlayerTextDrawBoxColor(playerid, CaixaEletroCNFPlayer[playerid][1], 50); PlayerTextDrawUseBox(playerid, CaixaEletroCNFPlayer[playerid][1], 0); PlayerTextDrawSetProportional(playerid, CaixaEletroCNFPlayer[playerid][1], 1); PlayerTextDrawSetSelectable(playerid, CaixaEletroCNFPlayer[playerid][1], 0); CaixaEletroCNFPlayer[playerid][2] = CreatePlayerTextDraw(playerid, 144.000000, 245.000000, "~n~~g~$ ~w~500"); PlayerTextDrawFont(playerid, CaixaEletroCNFPlayer[playerid][2], 2); PlayerTextDrawLetterSize(playerid, CaixaEletroCNFPlayer[playerid][2], 0.229166, 1.049998); PlayerTextDrawTextSize(playerid, CaixaEletroCNFPlayer[playerid][2], 202.500000, 30.500000); PlayerTextDrawSetOutline(playerid, CaixaEletroCNFPlayer[playerid][2], 1); PlayerTextDrawSetShadow(playerid, CaixaEletroCNFPlayer[playerid][2], 0); PlayerTextDrawAlignment(playerid, CaixaEletroCNFPlayer[playerid][2], 2); PlayerTextDrawColor(playerid, CaixaEletroCNFPlayer[playerid][2], -1); PlayerTextDrawBackgroundColor(playerid, CaixaEletroCNFPlayer[playerid][2], 255); PlayerTextDrawBoxColor(playerid, CaixaEletroCNFPlayer[playerid][2], 50); PlayerTextDrawUseBox(playerid, CaixaEletroCNFPlayer[playerid][2], 0); PlayerTextDrawSetProportional(playerid, CaixaEletroCNFPlayer[playerid][2], 1); PlayerTextDrawSetSelectable(playerid, CaixaEletroCNFPlayer[playerid][2], 0); CaixaEletroCNFPlayer[playerid][3] = CreatePlayerTextDraw(playerid, 178.000000, 324.000000, "sacar"); PlayerTextDrawFont(playerid, CaixaEletroCNFPlayer[playerid][3], 2); PlayerTextDrawLetterSize(playerid, CaixaEletroCNFPlayer[playerid][3], 0.258332, 1.750000); PlayerTextDrawTextSize(playerid, CaixaEletroCNFPlayer[playerid][3], 16.500000, 110.000000); PlayerTextDrawSetOutline(playerid, CaixaEletroCNFPlayer[playerid][3], 1); PlayerTextDrawSetShadow(playerid, CaixaEletroCNFPlayer[playerid][3], 0); PlayerTextDrawAlignment(playerid, CaixaEletroCNFPlayer[playerid][3], 2); PlayerTextDrawColor(playerid, CaixaEletroCNFPlayer[playerid][3], -1); PlayerTextDrawBackgroundColor(playerid, CaixaEletroCNFPlayer[playerid][3], 255); PlayerTextDrawBoxColor(playerid, CaixaEletroCNFPlayer[playerid][3], 520299102); PlayerTextDrawUseBox(playerid, CaixaEletroCNFPlayer[playerid][3], 1); PlayerTextDrawSetProportional(playerid, CaixaEletroCNFPlayer[playerid][3], 1); PlayerTextDrawSetSelectable(playerid, CaixaEletroCNFPlayer[playerid][3], 1); CaixaEletroCNFPlayer[playerid][4] = CreatePlayerTextDraw(playerid, 305.000000, 324.000000, "transferir"); PlayerTextDrawFont(playerid, CaixaEletroCNFPlayer[playerid][4], 2); PlayerTextDrawLetterSize(playerid, CaixaEletroCNFPlayer[playerid][4], 0.258332, 1.750000); PlayerTextDrawTextSize(playerid, CaixaEletroCNFPlayer[playerid][4], 16.500000, 110.000000); PlayerTextDrawSetOutline(playerid, CaixaEletroCNFPlayer[playerid][4], 1); PlayerTextDrawSetShadow(playerid, CaixaEletroCNFPlayer[playerid][4], 0); PlayerTextDrawAlignment(playerid, CaixaEletroCNFPlayer[playerid][4], 2); PlayerTextDrawColor(playerid, CaixaEletroCNFPlayer[playerid][4], -1); PlayerTextDrawBackgroundColor(playerid, CaixaEletroCNFPlayer[playerid][4], 255); PlayerTextDrawBoxColor(playerid, CaixaEletroCNFPlayer[playerid][4], 520299102); PlayerTextDrawUseBox(playerid, CaixaEletroCNFPlayer[playerid][4], 1); PlayerTextDrawSetProportional(playerid, CaixaEletroCNFPlayer[playerid][4], 1); PlayerTextDrawSetSelectable(playerid, CaixaEletroCNFPlayer[playerid][4], 1); CaixaEletroCNFPlayer[playerid][5] = CreatePlayerTextDraw(playerid, 430.000000, 324.000000, "depositar"); PlayerTextDrawFont(playerid, CaixaEletroCNFPlayer[playerid][5], 2); PlayerTextDrawLetterSize(playerid, CaixaEletroCNFPlayer[playerid][5], 0.258332, 1.750000); PlayerTextDrawTextSize(playerid, CaixaEletroCNFPlayer[playerid][5], 16.500000, 110.000000); PlayerTextDrawSetOutline(playerid, CaixaEletroCNFPlayer[playerid][5], 1); PlayerTextDrawSetShadow(playerid, CaixaEletroCNFPlayer[playerid][5], 0); PlayerTextDrawAlignment(playerid, CaixaEletroCNFPlayer[playerid][5], 2); PlayerTextDrawColor(playerid, CaixaEletroCNFPlayer[playerid][5], -1); PlayerTextDrawBackgroundColor(playerid, CaixaEletroCNFPlayer[playerid][5], 255); PlayerTextDrawBoxColor(playerid, CaixaEletroCNFPlayer[playerid][5], 520299102); PlayerTextDrawUseBox(playerid, CaixaEletroCNFPlayer[playerid][5], 1); PlayerTextDrawSetProportional(playerid, CaixaEletroCNFPlayer[playerid][5], 1); PlayerTextDrawSetSelectable(playerid, CaixaEletroCNFPlayer[playerid][5], 1); CaixaEletroCNFPlayer[playerid][6] = CreatePlayerTextDraw(playerid, 277.000000, 185.000000, "~g~R$~w~~h~~h~ 500.000"); PlayerTextDrawFont(playerid, CaixaEletroCNFPlayer[playerid][6], 2); PlayerTextDrawLetterSize(playerid, CaixaEletroCNFPlayer[playerid][6], 0.229166, 1.049998); PlayerTextDrawTextSize(playerid, CaixaEletroCNFPlayer[playerid][6], 226.500000, 66.500000); PlayerTextDrawSetOutline(playerid, CaixaEletroCNFPlayer[playerid][6], 1); PlayerTextDrawSetShadow(playerid, CaixaEletroCNFPlayer[playerid][6], 0); PlayerTextDrawAlignment(playerid, CaixaEletroCNFPlayer[playerid][6], 2); PlayerTextDrawColor(playerid, CaixaEletroCNFPlayer[playerid][6], -1); PlayerTextDrawBackgroundColor(playerid, CaixaEletroCNFPlayer[playerid][6], 255); PlayerTextDrawBoxColor(playerid, CaixaEletroCNFPlayer[playerid][6], 50); PlayerTextDrawUseBox(playerid, CaixaEletroCNFPlayer[playerid][6], 0); PlayerTextDrawSetProportional(playerid, CaixaEletroCNFPlayer[playerid][6], 1); PlayerTextDrawSetSelectable(playerid, CaixaEletroCNFPlayer[playerid][6], 0); CaixaEletroCNFPlayer[playerid][7] = CreatePlayerTextDraw(playerid, 407.000000, 185.000000, "~g~R$~w~~h~~h~ 500.000"); PlayerTextDrawFont(playerid, CaixaEletroCNFPlayer[playerid][7], 2); PlayerTextDrawLetterSize(playerid, CaixaEletroCNFPlayer[playerid][7], 0.229166, 1.049998); PlayerTextDrawTextSize(playerid, CaixaEletroCNFPlayer[playerid][7], 226.500000, 66.500000); PlayerTextDrawSetOutline(playerid, CaixaEletroCNFPlayer[playerid][7], 1); PlayerTextDrawSetShadow(playerid, CaixaEletroCNFPlayer[playerid][7], 0); PlayerTextDrawAlignment(playerid, CaixaEletroCNFPlayer[playerid][7], 2); PlayerTextDrawColor(playerid, CaixaEletroCNFPlayer[playerid][7], -1); PlayerTextDrawBackgroundColor(playerid, CaixaEletroCNFPlayer[playerid][7], 255); PlayerTextDrawBoxColor(playerid, CaixaEletroCNFPlayer[playerid][7], 50); PlayerTextDrawUseBox(playerid, CaixaEletroCNFPlayer[playerid][7], 0); PlayerTextDrawSetProportional(playerid, CaixaEletroCNFPlayer[playerid][7], 1); PlayerTextDrawSetSelectable(playerid, CaixaEletroCNFPlayer[playerid][7], 0); CaixaEletroCNFPlayer[playerid][8] = CreatePlayerTextDraw(playerid, 407.000000, 213.000000, "~g~R$ ~w~~h~~h~200.000"); PlayerTextDrawFont(playerid, CaixaEletroCNFPlayer[playerid][8], 2); PlayerTextDrawLetterSize(playerid, CaixaEletroCNFPlayer[playerid][8], 0.229166, 1.049998); PlayerTextDrawTextSize(playerid, CaixaEletroCNFPlayer[playerid][8], 231.000000, 62.500000); PlayerTextDrawSetOutline(playerid, CaixaEletroCNFPlayer[playerid][8], 1); PlayerTextDrawSetShadow(playerid, CaixaEletroCNFPlayer[playerid][8], 0); PlayerTextDrawAlignment(playerid, CaixaEletroCNFPlayer[playerid][8], 2); PlayerTextDrawColor(playerid, CaixaEletroCNFPlayer[playerid][8], -1); PlayerTextDrawBackgroundColor(playerid, CaixaEletroCNFPlayer[playerid][8], 255); PlayerTextDrawBoxColor(playerid, CaixaEletroCNFPlayer[playerid][8], 50); PlayerTextDrawUseBox(playerid, CaixaEletroCNFPlayer[playerid][8], 0); PlayerTextDrawSetProportional(playerid, CaixaEletroCNFPlayer[playerid][8], 1); PlayerTextDrawSetSelectable(playerid, CaixaEletroCNFPlayer[playerid][8], 0); CaixaEletroCNFPlayer[playerid][9] = CreatePlayerTextDraw(playerid, 461.000000, 360.000000, "roubar"); PlayerTextDrawFont(playerid, CaixaEletroCNFPlayer[playerid][9], 2); PlayerTextDrawLetterSize(playerid, CaixaEletroCNFPlayer[playerid][9], 0.258332, 1.250000); PlayerTextDrawTextSize(playerid, CaixaEletroCNFPlayer[playerid][9], 10.500000, 61.000000); PlayerTextDrawSetOutline(playerid, CaixaEletroCNFPlayer[playerid][9], 1); PlayerTextDrawSetShadow(playerid, CaixaEletroCNFPlayer[playerid][9], 0); PlayerTextDrawAlignment(playerid, CaixaEletroCNFPlayer[playerid][9], 2); PlayerTextDrawColor(playerid, CaixaEletroCNFPlayer[playerid][9], -1); PlayerTextDrawBackgroundColor(playerid, CaixaEletroCNFPlayer[playerid][9], 255); PlayerTextDrawBoxColor(playerid, CaixaEletroCNFPlayer[playerid][9], 520299102); PlayerTextDrawUseBox(playerid, CaixaEletroCNFPlayer[playerid][9], 1); PlayerTextDrawSetProportional(playerid, CaixaEletroCNFPlayer[playerid][9], 1); PlayerTextDrawSetSelectable(playerid, CaixaEletroCNFPlayer[playerid][9], 1); } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // stock CriarTXDEletronicoGlobal() { CaixaEletroCNF[0] = TextDrawCreate(305.000000, 128.000000, "_"); TextDrawFont(CaixaEletroCNF[0], 0); TextDrawLetterSize(CaixaEletroCNF[0], 0.600000, 25.000000); TextDrawTextSize(CaixaEletroCNF[0], 405.000000, 381.500000); TextDrawSetOutline(CaixaEletroCNF[0], 1); TextDrawSetShadow(CaixaEletroCNF[0], 0); TextDrawAlignment(CaixaEletroCNF[0], 2); TextDrawColor(CaixaEletroCNF[0], -1); TextDrawBackgroundColor(CaixaEletroCNF[0], 255); TextDrawBoxColor(CaixaEletroCNF[0], -535634177); TextDrawUseBox(CaixaEletroCNF[0], 1); TextDrawSetProportional(CaixaEletroCNF[0], 1); TextDrawSetSelectable(CaixaEletroCNF[0], 0); CaixaEletroCNF[1] = TextDrawCreate(178.000000, 171.000000, "_"); TextDrawFont(CaixaEletroCNF[1], 1); TextDrawLetterSize(CaixaEletroCNF[1], 1.037500, 15.800004); TextDrawTextSize(CaixaEletroCNF[1], 301.500000, 122.000000); TextDrawSetOutline(CaixaEletroCNF[1], 1); TextDrawSetShadow(CaixaEletroCNF[1], 0); TextDrawAlignment(CaixaEletroCNF[1], 2); TextDrawColor(CaixaEletroCNF[1], -1); TextDrawBackgroundColor(CaixaEletroCNF[1], 255); TextDrawBoxColor(CaixaEletroCNF[1], -1); TextDrawUseBox(CaixaEletroCNF[1], 1); TextDrawSetProportional(CaixaEletroCNF[1], 1); TextDrawSetSelectable(CaixaEletroCNF[1], 0); CaixaEletroCNF[2] = TextDrawCreate(305.000000, 171.000000, "_"); TextDrawFont(CaixaEletroCNF[2], 1); TextDrawLetterSize(CaixaEletroCNF[2], 1.037500, 15.800004); TextDrawTextSize(CaixaEletroCNF[2], 301.500000, 122.000000); TextDrawSetOutline(CaixaEletroCNF[2], 1); TextDrawSetShadow(CaixaEletroCNF[2], 0); TextDrawAlignment(CaixaEletroCNF[2], 2); TextDrawColor(CaixaEletroCNF[2], -1); TextDrawBackgroundColor(CaixaEletroCNF[2], 255); TextDrawBoxColor(CaixaEletroCNF[2], -1); TextDrawUseBox(CaixaEletroCNF[2], 1); TextDrawSetProportional(CaixaEletroCNF[2], 1); TextDrawSetSelectable(CaixaEletroCNF[2], 0); CaixaEletroCNF[3] = TextDrawCreate(432.000000, 171.000000, "_"); TextDrawFont(CaixaEletroCNF[3], 1); TextDrawLetterSize(CaixaEletroCNF[3], 1.037500, 15.800004); TextDrawTextSize(CaixaEletroCNF[3], 301.500000, 122.000000); TextDrawSetOutline(CaixaEletroCNF[3], 1); TextDrawSetShadow(CaixaEletroCNF[3], 0); TextDrawAlignment(CaixaEletroCNF[3], 2); TextDrawColor(CaixaEletroCNF[3], -1); TextDrawBackgroundColor(CaixaEletroCNF[3], 255); TextDrawBoxColor(CaixaEletroCNF[3], -1); TextDrawUseBox(CaixaEletroCNF[3], 1); TextDrawSetProportional(CaixaEletroCNF[3], 1); TextDrawSetSelectable(CaixaEletroCNF[3], 0); CaixaEletroCNF[4] = TextDrawCreate(118.000000, 151.000000, "sua conta:"); TextDrawFont(CaixaEletroCNF[4], 2); TextDrawLetterSize(CaixaEletroCNF[4], 0.333332, 1.450000); TextDrawTextSize(CaixaEletroCNF[4], 202.500000, 17.000000); TextDrawSetOutline(CaixaEletroCNF[4], 1); TextDrawSetShadow(CaixaEletroCNF[4], 0); TextDrawAlignment(CaixaEletroCNF[4], 1); TextDrawColor(CaixaEletroCNF[4], -1); TextDrawBackgroundColor(CaixaEletroCNF[4], 255); TextDrawBoxColor(CaixaEletroCNF[4], 50); TextDrawUseBox(CaixaEletroCNF[4], 0); TextDrawSetProportional(CaixaEletroCNF[4], 1); TextDrawSetSelectable(CaixaEletroCNF[4], 0); CaixaEletroCNF[5] = TextDrawCreate(242.000000, 152.000000, "transferencia:"); TextDrawFont(CaixaEletroCNF[5], 2); TextDrawLetterSize(CaixaEletroCNF[5], 0.333332, 1.450000); TextDrawTextSize(CaixaEletroCNF[5], 202.500000, 17.000000); TextDrawSetOutline(CaixaEletroCNF[5], 1); TextDrawSetShadow(CaixaEletroCNF[5], 0); TextDrawAlignment(CaixaEletroCNF[5], 1); TextDrawColor(CaixaEletroCNF[5], -1); TextDrawBackgroundColor(CaixaEletroCNF[5], 255); TextDrawBoxColor(CaixaEletroCNF[5], 50); TextDrawUseBox(CaixaEletroCNF[5], 0); TextDrawSetProportional(CaixaEletroCNF[5], 1); TextDrawSetSelectable(CaixaEletroCNF[5], 0); CaixaEletroCNF[6] = TextDrawCreate(376.000000, 152.000000, "deposito:"); TextDrawFont(CaixaEletroCNF[6], 2); TextDrawLetterSize(CaixaEletroCNF[6], 0.333332, 1.450000); TextDrawTextSize(CaixaEletroCNF[6], 202.500000, 17.000000); TextDrawSetOutline(CaixaEletroCNF[6], 1); TextDrawSetShadow(CaixaEletroCNF[6], 0); TextDrawAlignment(CaixaEletroCNF[6], 1); TextDrawColor(CaixaEletroCNF[6], -1); TextDrawBackgroundColor(CaixaEletroCNF[6], 255); TextDrawBoxColor(CaixaEletroCNF[6], 50); TextDrawUseBox(CaixaEletroCNF[6], 0); TextDrawSetProportional(CaixaEletroCNF[6], 1); TextDrawSetSelectable(CaixaEletroCNF[6], 0); CaixaEletroCNF[7] = TextDrawCreate(216.000000, 174.000000, "dinheiro em maos:"); TextDrawFont(CaixaEletroCNF[7], 2); TextDrawLetterSize(CaixaEletroCNF[7], 0.229166, 1.049998); TextDrawTextSize(CaixaEletroCNF[7], 202.500000, 17.000000); TextDrawSetOutline(CaixaEletroCNF[7], 1); TextDrawSetShadow(CaixaEletroCNF[7], 0); TextDrawAlignment(CaixaEletroCNF[7], 3); TextDrawColor(CaixaEletroCNF[7], -1); TextDrawBackgroundColor(CaixaEletroCNF[7], 255); TextDrawBoxColor(CaixaEletroCNF[7], 50); TextDrawUseBox(CaixaEletroCNF[7], 0); TextDrawSetProportional(CaixaEletroCNF[7], 1); TextDrawSetSelectable(CaixaEletroCNF[7], 0); CaixaEletroCNF[8] = TextDrawCreate(209.000000, 203.000000, "conta bancaria:"); TextDrawFont(CaixaEletroCNF[8], 2); TextDrawLetterSize(CaixaEletroCNF[8], 0.229166, 1.049998); TextDrawTextSize(CaixaEletroCNF[8], 202.500000, 17.000000); TextDrawSetOutline(CaixaEletroCNF[8], 1); TextDrawSetShadow(CaixaEletroCNF[8], 0); TextDrawAlignment(CaixaEletroCNF[8], 3); TextDrawColor(CaixaEletroCNF[8], -1); TextDrawBackgroundColor(CaixaEletroCNF[8], 255); TextDrawBoxColor(CaixaEletroCNF[8], 50); TextDrawUseBox(CaixaEletroCNF[8], 0); TextDrawSetProportional(CaixaEletroCNF[8], 1); TextDrawSetSelectable(CaixaEletroCNF[8], 0); CaixaEletroCNF[9] = TextDrawCreate(199.000000, 286.000000, "deseja sacar?"); TextDrawFont(CaixaEletroCNF[9], 2); TextDrawLetterSize(CaixaEletroCNF[9], 0.229166, 1.049998); TextDrawTextSize(CaixaEletroCNF[9], 202.500000, 17.000000); TextDrawSetOutline(CaixaEletroCNF[9], 1); TextDrawSetShadow(CaixaEletroCNF[9], 0); TextDrawAlignment(CaixaEletroCNF[9], 3); TextDrawColor(CaixaEletroCNF[9], -1); TextDrawBackgroundColor(CaixaEletroCNF[9], 255); TextDrawBoxColor(CaixaEletroCNF[9], 50); TextDrawUseBox(CaixaEletroCNF[9], 0); TextDrawSetProportional(CaixaEletroCNF[9], 1); TextDrawSetSelectable(CaixaEletroCNF[9], 0); CaixaEletroCNF[10] = TextDrawCreate(196.000000, 299.000000, "clique abaixo:"); TextDrawFont(CaixaEletroCNF[10], 2); TextDrawLetterSize(CaixaEletroCNF[10], 0.229166, 1.049998); TextDrawTextSize(CaixaEletroCNF[10], 202.500000, 17.000000); TextDrawSetOutline(CaixaEletroCNF[10], 1); TextDrawSetShadow(CaixaEletroCNF[10], 0); TextDrawAlignment(CaixaEletroCNF[10], 3); TextDrawColor(CaixaEletroCNF[10], -1); TextDrawBackgroundColor(CaixaEletroCNF[10], 255); TextDrawBoxColor(CaixaEletroCNF[10], 50); TextDrawUseBox(CaixaEletroCNF[10], 0); TextDrawSetProportional(CaixaEletroCNF[10], 1); TextDrawSetSelectable(CaixaEletroCNF[10], 0); CaixaEletroCNF[11] = TextDrawCreate(177.000000, 232.000000, "~n~cash (~g~mv~w~~h~~h~):"); TextDrawFont(CaixaEletroCNF[11], 2); TextDrawLetterSize(CaixaEletroCNF[11], 0.229166, 1.049998); TextDrawTextSize(CaixaEletroCNF[11], 202.500000, 17.000000); TextDrawSetOutline(CaixaEletroCNF[11], 1); TextDrawSetShadow(CaixaEletroCNF[11], 0); TextDrawAlignment(CaixaEletroCNF[11], 3); TextDrawColor(CaixaEletroCNF[11], -1); TextDrawBackgroundColor(CaixaEletroCNF[11], 255); TextDrawBoxColor(CaixaEletroCNF[11], 50); TextDrawUseBox(CaixaEletroCNF[11], 0); TextDrawSetProportional(CaixaEletroCNF[11], 1); TextDrawSetSelectable(CaixaEletroCNF[11], 0); CaixaEletroCNF[12] = TextDrawCreate(362.000000, 173.000000, "voce pode transferir ate:"); TextDrawFont(CaixaEletroCNF[12], 2); TextDrawLetterSize(CaixaEletroCNF[12], 0.187499, 1.049998); TextDrawTextSize(CaixaEletroCNF[12], 202.500000, 17.000000); TextDrawSetOutline(CaixaEletroCNF[12], 1); TextDrawSetShadow(CaixaEletroCNF[12], 0); TextDrawAlignment(CaixaEletroCNF[12], 3); TextDrawColor(CaixaEletroCNF[12], -1); TextDrawBackgroundColor(CaixaEletroCNF[12], 255); TextDrawBoxColor(CaixaEletroCNF[12], 50); TextDrawUseBox(CaixaEletroCNF[12], 0); TextDrawSetProportional(CaixaEletroCNF[12], 1); TextDrawSetSelectable(CaixaEletroCNF[12], 0); CaixaEletroCNF[13] = TextDrawCreate(487.000000, 173.000000, "voce pode depositar ate:"); TextDrawFont(CaixaEletroCNF[13], 2); TextDrawLetterSize(CaixaEletroCNF[13], 0.191666, 1.099997); TextDrawTextSize(CaixaEletroCNF[13], 202.500000, 17.000000); TextDrawSetOutline(CaixaEletroCNF[13], 1); TextDrawSetShadow(CaixaEletroCNF[13], 0); TextDrawAlignment(CaixaEletroCNF[13], 3); TextDrawColor(CaixaEletroCNF[13], -1); TextDrawBackgroundColor(CaixaEletroCNF[13], 255); TextDrawBoxColor(CaixaEletroCNF[13], 50); TextDrawUseBox(CaixaEletroCNF[13], 0); TextDrawSetProportional(CaixaEletroCNF[13], 1); TextDrawSetSelectable(CaixaEletroCNF[13], 0); CaixaEletroCNF[14] = TextDrawCreate(286.000000, 202.000000, "imposto:"); TextDrawFont(CaixaEletroCNF[14], 2); TextDrawLetterSize(CaixaEletroCNF[14], 0.187499, 1.049998); TextDrawTextSize(CaixaEletroCNF[14], 202.500000, 17.000000); TextDrawSetOutline(CaixaEletroCNF[14], 1); TextDrawSetShadow(CaixaEletroCNF[14], 0); TextDrawAlignment(CaixaEletroCNF[14], 3); TextDrawColor(CaixaEletroCNF[14], -1); TextDrawBackgroundColor(CaixaEletroCNF[14], 255); TextDrawBoxColor(CaixaEletroCNF[14], 50); TextDrawUseBox(CaixaEletroCNF[14], 0); TextDrawSetProportional(CaixaEletroCNF[14], 1); TextDrawSetSelectable(CaixaEletroCNF[14], 0); CaixaEletroCNF[15] = TextDrawCreate(270.000000, 216.000000, "25%"); TextDrawFont(CaixaEletroCNF[15], 2); TextDrawLetterSize(CaixaEletroCNF[15], 0.229166, 1.049998); TextDrawTextSize(CaixaEletroCNF[15], 202.500000, 17.000000); TextDrawSetOutline(CaixaEletroCNF[15], 1); TextDrawSetShadow(CaixaEletroCNF[15], 0); TextDrawAlignment(CaixaEletroCNF[15], 3); TextDrawColor(CaixaEletroCNF[15], -1); TextDrawBackgroundColor(CaixaEletroCNF[15], 255); TextDrawBoxColor(CaixaEletroCNF[15], 50); TextDrawUseBox(CaixaEletroCNF[15], 0); TextDrawSetProportional(CaixaEletroCNF[15], 1); TextDrawSetSelectable(CaixaEletroCNF[15], 0); CaixaEletroCNF[16] = TextDrawCreate(324.000000, 216.000000, "do valor"); TextDrawFont(CaixaEletroCNF[16], 2); TextDrawLetterSize(CaixaEletroCNF[16], 0.229166, 1.049998); TextDrawTextSize(CaixaEletroCNF[16], 202.500000, 17.000000); TextDrawSetOutline(CaixaEletroCNF[16], 1); TextDrawSetShadow(CaixaEletroCNF[16], 0); TextDrawAlignment(CaixaEletroCNF[16], 3); TextDrawColor(CaixaEletroCNF[16], -1); TextDrawBackgroundColor(CaixaEletroCNF[16], 255); TextDrawBoxColor(CaixaEletroCNF[16], 50); TextDrawUseBox(CaixaEletroCNF[16], 0); TextDrawSetProportional(CaixaEletroCNF[16], 1); TextDrawSetSelectable(CaixaEletroCNF[16], 0); CaixaEletroCNF[17] = TextDrawCreate(351.000000, 286.000000, "deseja transferir?"); TextDrawFont(CaixaEletroCNF[17], 2); TextDrawLetterSize(CaixaEletroCNF[17], 0.229166, 1.049998); TextDrawTextSize(CaixaEletroCNF[17], 202.500000, 17.000000); TextDrawSetOutline(CaixaEletroCNF[17], 1); TextDrawSetShadow(CaixaEletroCNF[17], 0); TextDrawAlignment(CaixaEletroCNF[17], 3); TextDrawColor(CaixaEletroCNF[17], -1); TextDrawBackgroundColor(CaixaEletroCNF[17], 255); TextDrawBoxColor(CaixaEletroCNF[17], 50); TextDrawUseBox(CaixaEletroCNF[17], 0); TextDrawSetProportional(CaixaEletroCNF[17], 1); TextDrawSetSelectable(CaixaEletroCNF[17], 0); CaixaEletroCNF[18] = TextDrawCreate(320.000000, 299.000000, "clique abaixo:"); TextDrawFont(CaixaEletroCNF[18], 2); TextDrawLetterSize(CaixaEletroCNF[18], 0.229166, 1.049998); TextDrawTextSize(CaixaEletroCNF[18], 202.500000, 17.000000); TextDrawSetOutline(CaixaEletroCNF[18], 1); TextDrawSetShadow(CaixaEletroCNF[18], 0); TextDrawAlignment(CaixaEletroCNF[18], 3); TextDrawColor(CaixaEletroCNF[18], -1); TextDrawBackgroundColor(CaixaEletroCNF[18], 255); TextDrawBoxColor(CaixaEletroCNF[18], 50); TextDrawUseBox(CaixaEletroCNF[18], 0); TextDrawSetProportional(CaixaEletroCNF[18], 1); TextDrawSetSelectable(CaixaEletroCNF[18], 0); CaixaEletroCNF[19] = TextDrawCreate(475.000000, 286.000000, "deseja depositar?"); TextDrawFont(CaixaEletroCNF[19], 2); TextDrawLetterSize(CaixaEletroCNF[19], 0.229166, 1.049998); TextDrawTextSize(CaixaEletroCNF[19], 202.500000, 17.000000); TextDrawSetOutline(CaixaEletroCNF[19], 1); TextDrawSetShadow(CaixaEletroCNF[19], 0); TextDrawAlignment(CaixaEletroCNF[19], 3); TextDrawColor(CaixaEletroCNF[19], -1); TextDrawBackgroundColor(CaixaEletroCNF[19], 255); TextDrawBoxColor(CaixaEletroCNF[19], 50); TextDrawUseBox(CaixaEletroCNF[19], 0); TextDrawSetProportional(CaixaEletroCNF[19], 1); TextDrawSetSelectable(CaixaEletroCNF[19], 0); CaixaEletroCNF[20] = TextDrawCreate(449.000000, 299.000000, "clique abaixo:"); TextDrawFont(CaixaEletroCNF[20], 2); TextDrawLetterSize(CaixaEletroCNF[20], 0.229166, 1.049998); TextDrawTextSize(CaixaEletroCNF[20], 202.500000, 17.000000); TextDrawSetOutline(CaixaEletroCNF[20], 1); TextDrawSetShadow(CaixaEletroCNF[20], 0); TextDrawAlignment(CaixaEletroCNF[20], 3); TextDrawColor(CaixaEletroCNF[20], -1); TextDrawBackgroundColor(CaixaEletroCNF[20], 255); TextDrawBoxColor(CaixaEletroCNF[20], 50); TextDrawUseBox(CaixaEletroCNF[20], 0); TextDrawSetProportional(CaixaEletroCNF[20], 1); TextDrawSetSelectable(CaixaEletroCNF[20], 0); CaixaEletroCNF[21] = TextDrawCreate(464.000000, 199.000000, "conta bancaria:"); TextDrawFont(CaixaEletroCNF[21], 2); TextDrawLetterSize(CaixaEletroCNF[21], 0.229166, 1.049998); TextDrawTextSize(CaixaEletroCNF[21], 202.500000, 17.000000); TextDrawSetOutline(CaixaEletroCNF[21], 1); TextDrawSetShadow(CaixaEletroCNF[21], 0); TextDrawAlignment(CaixaEletroCNF[21], 3); TextDrawColor(CaixaEletroCNF[21], -1); TextDrawBackgroundColor(CaixaEletroCNF[21], 255); TextDrawBoxColor(CaixaEletroCNF[21], 50); TextDrawUseBox(CaixaEletroCNF[21], 0); TextDrawSetProportional(CaixaEletroCNF[21], 1); TextDrawSetSelectable(CaixaEletroCNF[21], 0); CaixaEletroCNF[22] = TextDrawCreate(305.000000, 128.000000, "_"); TextDrawFont(CaixaEletroCNF[22], 1); TextDrawLetterSize(CaixaEletroCNF[22], 0.591665, 1.400001); TextDrawTextSize(CaixaEletroCNF[22], 298.500000, 382.000000); TextDrawSetOutline(CaixaEletroCNF[22], 1); TextDrawSetShadow(CaixaEletroCNF[22], 0); TextDrawAlignment(CaixaEletroCNF[22], 2); TextDrawColor(CaixaEletroCNF[22], -1); TextDrawBackgroundColor(CaixaEletroCNF[22], 255); TextDrawBoxColor(CaixaEletroCNF[22], 135); TextDrawUseBox(CaixaEletroCNF[22], 1); TextDrawSetProportional(CaixaEletroCNF[22], 1); TextDrawSetSelectable(CaixaEletroCNF[22], 0); CaixaEletroCNF[23] = TextDrawCreate(479.000000, 125.000000, "X"); TextDrawFont(CaixaEletroCNF[23], 1); TextDrawLetterSize(CaixaEletroCNF[23], 0.600000, 2.000000); TextDrawTextSize(CaixaEletroCNF[23], 493.500000, 34.000000); TextDrawSetOutline(CaixaEletroCNF[23], 1); TextDrawSetShadow(CaixaEletroCNF[23], 0); TextDrawAlignment(CaixaEletroCNF[23], 1); TextDrawColor(CaixaEletroCNF[23], -1); TextDrawBackgroundColor(CaixaEletroCNF[23], 255); TextDrawBoxColor(CaixaEletroCNF[23], 50); TextDrawUseBox(CaixaEletroCNF[23], 0); TextDrawSetProportional(CaixaEletroCNF[23], 1); TextDrawSetSelectable(CaixaEletroCNF[23], 1); CaixaEletroCNF[24] = TextDrawCreate(205.000000, 125.000000, "Caixa Eletronico - nubank ltda"); TextDrawFont(CaixaEletroCNF[24], 2); TextDrawLetterSize(CaixaEletroCNF[24], 0.262499, 1.700000); TextDrawTextSize(CaixaEletroCNF[24], 400.000000, 17.000000); TextDrawSetOutline(CaixaEletroCNF[24], 1); TextDrawSetShadow(CaixaEletroCNF[24], 0); TextDrawAlignment(CaixaEletroCNF[24], 1); TextDrawColor(CaixaEletroCNF[24], -1); TextDrawBackgroundColor(CaixaEletroCNF[24], 255); TextDrawBoxColor(CaixaEletroCNF[24], 50); TextDrawUseBox(CaixaEletroCNF[24], 0); TextDrawSetProportional(CaixaEletroCNF[24], 1); TextDrawSetSelectable(CaixaEletroCNF[24], 0); CaixaEletroCNF[25] = TextDrawCreate(115.000000, 128.000000, "P~h~~h~~h~~r~N~w~RP"); TextDrawFont(CaixaEletroCNF[25], 2); TextDrawLetterSize(CaixaEletroCNF[25], 0.391665, 1.549998); TextDrawTextSize(CaixaEletroCNF[25], 157.000000, -6.000000); TextDrawSetOutline(CaixaEletroCNF[25], 1); TextDrawSetShadow(CaixaEletroCNF[25], 0); TextDrawAlignment(CaixaEletroCNF[25], 1); TextDrawColor(CaixaEletroCNF[25], -1); TextDrawBackgroundColor(CaixaEletroCNF[25], 255); TextDrawBoxColor(CaixaEletroCNF[25], 50); TextDrawUseBox(CaixaEletroCNF[25], 0); TextDrawSetProportional(CaixaEletroCNF[25], 1); TextDrawSetSelectable(CaixaEletroCNF[25], 0); CaixaEletroCNF[26] = TextDrawCreate(305.000000, 358.000000, "_"); TextDrawFont(CaixaEletroCNF[26], 1); TextDrawLetterSize(CaixaEletroCNF[26], 0.600000, 1.650002); TextDrawTextSize(CaixaEletroCNF[26], 296.500000, 382.000000); TextDrawSetOutline(CaixaEletroCNF[26], 1); TextDrawSetShadow(CaixaEletroCNF[26], 0); TextDrawAlignment(CaixaEletroCNF[26], 2); TextDrawColor(CaixaEletroCNF[26], -1); TextDrawBackgroundColor(CaixaEletroCNF[26], 521442847); TextDrawBoxColor(CaixaEletroCNF[26], -15428609); TextDrawUseBox(CaixaEletroCNF[26], 1); TextDrawSetProportional(CaixaEletroCNF[26], 1); TextDrawSetSelectable(CaixaEletroCNF[26], 0); CaixaEletroCNF[27] = TextDrawCreate(265.000000, 359.000000, "deseja roubar esse caixa eletronico?"); TextDrawFont(CaixaEletroCNF[27], 2); TextDrawLetterSize(CaixaEletroCNF[27], 0.324999, 1.299998); TextDrawTextSize(CaixaEletroCNF[27], 345.500000, 298.000000); TextDrawSetOutline(CaixaEletroCNF[27], 1); TextDrawSetShadow(CaixaEletroCNF[27], 0); TextDrawAlignment(CaixaEletroCNF[27], 2); TextDrawColor(CaixaEletroCNF[27], -1); TextDrawBackgroundColor(CaixaEletroCNF[27], 255); TextDrawBoxColor(CaixaEletroCNF[27], 50); TextDrawUseBox(CaixaEletroCNF[27], 0); TextDrawSetProportional(CaixaEletroCNF[27], 1); TextDrawSetSelectable(CaixaEletroCNF[27], 0); } //by brazz stock SaveArms(playerid) { new arquive[100]; new weapons[13]; new balas[13]; new str[130]; format(arquive, sizeof(arquive), "ArmasJogadores/%s.ini", PlayerName(playerid)); for(new i; i != 13; i++) { format(str, 130, "Arma%d", i); GetPlayerWeaponData(playerid, i, weapons[i], balas[i]); DOF2_SetInt(arquive, str, weapons[i]); format(str, 130, "Municao%d", i); DOF2_SetInt(arquive, str, balas[i]); DOF2_SaveFile(); } } stock CarregarArms(playerid) { if(CarregouArmas[playerid] == false) { new arquivo[100]; format(arquivo, sizeof(arquivo), "ArmasJogadores/%s.ini", PlayerName(playerid)); new weapons[13]; new balas[13]; new string[130]; for(new i; i != 13; i++) { format(string, 130, "Arma%d", i); weapons[i] = DOF2_GetInt(arquivo, string); format(string, 130, "Municao%d", i); balas[i] = DOF2_GetInt(arquivo, string); GivePlayerWeapon(playerid, weapons[i], balas[i]); } SCM(playerid, COLOR_YELLOW, "Debug: sua armas foram carregadas."); CarregouArmas[playerid] = true; } } stock KickEx(playerid) return SetTimerEx("KickTimer_Delay", 100, false, "i", playerid); forward KickTimer_Delay(playerid); public KickTimer_Delay(playerid) { if(IsPlayerConnected(playerid)) Kick(playerid); } frename(oldname[],newname[]) { if (!fexist(oldname)) return false; fremove(newname); if (!fcopy(oldname,newname)) return false; fremove(oldname); return true; } stock fcopy(const oldname[], const newname[]) { new File:ohnd,File:nhnd; if (!fexist(oldname)) return false; ohnd=fopen(oldname,io_read); nhnd=fopen(newname,io_write); new buf2[1]; new i; for (i=flength(ohnd);i>0;i--) { fputchar(nhnd, fgetchar(ohnd, buf2[0],false),false); } fclose(ohnd); fclose(nhnd); return true; } stock IsValidNome(const nick[]) // By: Drakon { for(new i; nick[i]; ++i) switch(nick[i]) { case 'A' .. 'Z', 'a' .. 'z', '_', '.', '1', '2', '3', '4', '5', '6', '7', '8', '9', '0', '[',']', '$': continue; default: return false; } return true; } new sDonosIDS[MAX_PLAYERS] = {INVALID_PLAYER_ID, ...}, sDonosCasasContagem; stock ExecutarImpostosCasa() { new files[80], sFile[60], sNick[MAX_PLAYER_NAME], strMessage[144]; for( new idx = 0 ; idx < sizeof( HouseInfo ); idx ++ ) { format(files, sizeof files, Pasta_Casas, idx); if(DOF2_FileExists(files)) { if(strcmp(HouseInfo[idx][hOwner], "O estado")) { format(sNick, sizeof(sNick), HouseInfo[idx][hOwner]); format(sFile, sizeof(sFile), Pasta_Contas, sNick); // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // new sPlayer = GetPlayerID(sNick); if(sPlayer != INVALID_PLAYER_ID) { sDonosIDS[sDonosCasasContagem] = sPlayer; sDonosCasasContagem++; } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // HouseInfo[idx][hImpostos]++; HouseInfo[idx][hPagarImpostos] += 1000; if(HouseInfo[idx][hImpostos] >= MAX_IMPOSTOS_CASA) { if(sPlayer != INVALID_PLAYER_ID) { PlayerPlaySound(sPlayer, 1052, 0.0, 0.0, 0.0); PlayerInfo[sPlayer][pPHousekey] = 500; } HouseInfo[idx][hHel] = 0; HouseInfo[idx][hArm] = 0; HouseInfo[idx][hHealthx] = 0; HouseInfo[idx][hHealthy] = 0; HouseInfo[idx][hHealthz] = 0; HouseInfo[idx][hArmorrx] = 0; HouseInfo[idx][hArmorry] = 0; HouseInfo[idx][hArmorrz] = 0; HouseInfo[idx][hLock] = 1; HouseInfo[idx][hOwned] = 0; HouseInfo[idx][hVcol1] = -1; HouseInfo[idx][hVcol2] = -1; HouseInfo[idx][hImpostos] = 0; HouseInfo[idx][hPagarImpostos] = 0; // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // strmid(HouseInfo[idx][hOwner], "O estado", 0, strlen("O estado"), 255); // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // format(strMessage, sizeof(strMessage), "[Impostos] {FFFFFF}A casa ID %i que pertencia a %s foi liberada por falta de pagamentos dos impostos.", idx, sNick); SendClientMessageToAll(0x00FF00FF, strMessage); // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // DestroyDynamicMapIcon(HouseInfo[idx][hMapIcon]); HouseInfo[idx][hMapIcon] = CreateDynamicMapIcon(HouseInfo[idx][hEntrancex], HouseInfo[idx][hEntrancey], HouseInfo[idx][hEntrancez], 31, 0xE6E6E6E6, -1, -1, -1, 250.0); SaveCasa(idx); Atualizar3Dtexts(); } } } } Loop(i, sDonosCasasContagem) { if(sDonosIDS[i] != INVALID_PLAYER_ID) { new player = sDonosIDS[i]; GameTextForPlayer(player, "~r~~h~Impostos!", 5000, 1); // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // new house = PlayerInfo[player][pPHousekey]; new impostos = HouseInfo[house][hImpostos]; format(strMessage, sizeof(strMessage), "[Impostos da casa] {FFFFFF}Sua casa %i acumula +1 imposto (%i/"#MAX_IMPOSTOS_CASA"). Pague-os na prefeitura!", house, impostos); SCM(player, 0xFFFF00FF, strMessage); } } } CMD:limparcandidatos(playerid) { for(new i; i < sizeof(CandidatoInfo); i++) { strmid(CandidatoInfo[i][CandNome], "Ninguem", 0, strlen("Ninguem"), 255); CandidatoInfo[i][CandVotos] = 0; //printf("Debug: Nome candidato %i: %s", i, CandidatoInfo[i][CandNome]); } for(new i = 0, j = GetPlayerPoolSize(); i <= j; i++) { PlayerInfo[i][pVotou] = 0; JaSeCandidatou[i] = 0; } MensagemFormatadaAll(COLOR_YELLOW, "[Eleicoes] O Administrador: %s limpou todos os candidatos e votos nas eleicoes de san andreas.", PlayerName(playerid)); return 1; } stock CriarTxDConce() { ConceTxD[0] = TextDrawCreate(111.000000, 191.000000, "_"); TextDrawFont(ConceTxD[0], 1); TextDrawLetterSize(ConceTxD[0], 0.600000, 12.300003); TextDrawTextSize(ConceTxD[0], 244.500000, 179.000000); TextDrawSetOutline(ConceTxD[0], 1); TextDrawSetShadow(ConceTxD[0], 0); TextDrawAlignment(ConceTxD[0], 2); TextDrawColor(ConceTxD[0], -1); TextDrawBackgroundColor(ConceTxD[0], 255); TextDrawBoxColor(ConceTxD[0], 174); TextDrawUseBox(ConceTxD[0], 1); TextDrawSetProportional(ConceTxD[0], 1); TextDrawSetSelectable(ConceTxD[0], 0); ConceTxD[1] = TextDrawCreate(109.000000, 280.000000, "comprar"); TextDrawFont(ConceTxD[1], 2); TextDrawLetterSize(ConceTxD[1], 0.258332, 1.750000); TextDrawTextSize(ConceTxD[1], 16.500000, 90.500000); TextDrawSetOutline(ConceTxD[1], 1); TextDrawSetShadow(ConceTxD[1], 0); TextDrawAlignment(ConceTxD[1], 2); TextDrawColor(ConceTxD[1], -1); TextDrawBackgroundColor(ConceTxD[1], 255); TextDrawBoxColor(ConceTxD[1], 16711880); TextDrawUseBox(ConceTxD[1], 1); TextDrawSetProportional(ConceTxD[1], 1); TextDrawSetSelectable(ConceTxD[1], 1); ConceTxD[2] = TextDrawCreate(164.000000, 273.000000, "ld_beat:right"); TextDrawFont(ConceTxD[2], 4); TextDrawLetterSize(ConceTxD[2], 0.600000, 2.000000); TextDrawTextSize(ConceTxD[2], 33.000000, 30.500000); TextDrawSetOutline(ConceTxD[2], 1); TextDrawSetShadow(ConceTxD[2], 0); TextDrawAlignment(ConceTxD[2], 1); TextDrawColor(ConceTxD[2], -1); TextDrawBackgroundColor(ConceTxD[2], 255); TextDrawBoxColor(ConceTxD[2], 50); TextDrawUseBox(ConceTxD[2], 1); TextDrawSetProportional(ConceTxD[2], 1); TextDrawSetSelectable(ConceTxD[2], 1); ConceTxD[3] = TextDrawCreate(24.000000, 273.000000, "ld_beat:left"); TextDrawFont(ConceTxD[3], 4); TextDrawLetterSize(ConceTxD[3], 0.600000, 2.000000); TextDrawTextSize(ConceTxD[3], 33.000000, 30.500000); TextDrawSetOutline(ConceTxD[3], 1); TextDrawSetShadow(ConceTxD[3], 0); TextDrawAlignment(ConceTxD[3], 1); TextDrawColor(ConceTxD[3], -1); TextDrawBackgroundColor(ConceTxD[3], 255); TextDrawBoxColor(ConceTxD[3], 50); TextDrawUseBox(ConceTxD[3], 1); TextDrawSetProportional(ConceTxD[3], 1); TextDrawSetSelectable(ConceTxD[3], 1); ConceTxD[4] = TextDrawCreate(27.000000, 261.000000, "anterior"); TextDrawFont(ConceTxD[4], 2); TextDrawLetterSize(ConceTxD[4], 0.150000, 1.100000); TextDrawTextSize(ConceTxD[4], 65.500000, 17.000000); TextDrawSetOutline(ConceTxD[4], 1); TextDrawSetShadow(ConceTxD[4], 0); TextDrawAlignment(ConceTxD[4], 1); TextDrawColor(ConceTxD[4], -1); TextDrawBackgroundColor(ConceTxD[4], 255); TextDrawBoxColor(ConceTxD[4], 50); TextDrawUseBox(ConceTxD[4], 0); TextDrawSetProportional(ConceTxD[4], 1); TextDrawSetSelectable(ConceTxD[4], 0); ConceTxD[5] = TextDrawCreate(111.000000, 186.000000, "_"); TextDrawFont(ConceTxD[5], 1); TextDrawLetterSize(ConceTxD[5], 0.600000, 0.050007); TextDrawTextSize(ConceTxD[5], 439.000000, -190.000000); TextDrawSetOutline(ConceTxD[5], 1); TextDrawSetShadow(ConceTxD[5], 0); TextDrawAlignment(ConceTxD[5], 2); TextDrawColor(ConceTxD[5], -1); TextDrawBackgroundColor(ConceTxD[5], 255); TextDrawBoxColor(ConceTxD[5], 16711815); TextDrawUseBox(ConceTxD[5], 1); TextDrawSetProportional(ConceTxD[5], 1); TextDrawSetSelectable(ConceTxD[5], 0); ConceTxD[6] = TextDrawCreate(166.000000, 261.000000, "proximo"); TextDrawFont(ConceTxD[6], 2); TextDrawLetterSize(ConceTxD[6], 0.150000, 1.100000); TextDrawTextSize(ConceTxD[6], 200.000000, 17.000000); TextDrawSetOutline(ConceTxD[6], 1); TextDrawSetShadow(ConceTxD[6], 0); TextDrawAlignment(ConceTxD[6], 1); TextDrawColor(ConceTxD[6], -1); TextDrawBackgroundColor(ConceTxD[6], 255); TextDrawBoxColor(ConceTxD[6], 50); TextDrawUseBox(ConceTxD[6], 0); TextDrawSetProportional(ConceTxD[6], 1); TextDrawSetSelectable(ConceTxD[6], 0); ConceTxD[7] = TextDrawCreate(57.000000, 190.000000, "Concessionaria"); TextDrawFont(ConceTxD[7], 2); TextDrawLetterSize(ConceTxD[7], 0.300000, 1.549999); TextDrawTextSize(ConceTxD[7], 129.000000, 17.000000); TextDrawSetOutline(ConceTxD[7], 1); TextDrawSetShadow(ConceTxD[7], 0); TextDrawAlignment(ConceTxD[7], 1); TextDrawColor(ConceTxD[7], 16711935); TextDrawBackgroundColor(ConceTxD[7], 255); TextDrawBoxColor(ConceTxD[7], 50); TextDrawUseBox(ConceTxD[7], 0); TextDrawSetProportional(ConceTxD[7], 1); TextDrawSetSelectable(ConceTxD[7], 0); ConceTxD[8] = TextDrawCreate(58.000000, 210.000000, "informacoes:"); TextDrawFont(ConceTxD[8], 2); TextDrawLetterSize(ConceTxD[8], 0.195832, 1.250000); TextDrawTextSize(ConceTxD[8], 129.000000, 17.000000); TextDrawSetOutline(ConceTxD[8], 1); TextDrawSetShadow(ConceTxD[8], 0); TextDrawAlignment(ConceTxD[8], 1); TextDrawColor(ConceTxD[8], 16711935); TextDrawBackgroundColor(ConceTxD[8], 255); TextDrawBoxColor(ConceTxD[8], 50); TextDrawUseBox(ConceTxD[8], 0); TextDrawSetProportional(ConceTxD[8], 1); TextDrawSetSelectable(ConceTxD[8], 0); ConceTxD[9] = TextDrawCreate(111.000000, 306.000000, "_"); TextDrawFont(ConceTxD[9], 0); TextDrawLetterSize(ConceTxD[9], 0.600000, 0.050007); TextDrawTextSize(ConceTxD[9], 439.000000, -190.000000); TextDrawSetOutline(ConceTxD[9], 1); TextDrawSetShadow(ConceTxD[9], 0); TextDrawAlignment(ConceTxD[9], 2); TextDrawColor(ConceTxD[9], -1); TextDrawBackgroundColor(ConceTxD[9], 255); TextDrawBoxColor(ConceTxD[9], 16711815); TextDrawUseBox(ConceTxD[9], 1); TextDrawSetProportional(ConceTxD[9], 1); TextDrawSetSelectable(ConceTxD[9], 0); ConceTxD[10] = TextDrawCreate(204.000000, 186.000000, "_"); TextDrawFont(ConceTxD[10], 1); TextDrawLetterSize(ConceTxD[10], 0.600000, 13.400007); TextDrawTextSize(ConceTxD[10], 297.000000, -0.500000); TextDrawSetOutline(ConceTxD[10], 1); TextDrawSetShadow(ConceTxD[10], 0); TextDrawAlignment(ConceTxD[10], 2); TextDrawColor(ConceTxD[10], -1); TextDrawBackgroundColor(ConceTxD[10], 255); TextDrawBoxColor(ConceTxD[10], 16711815); TextDrawUseBox(ConceTxD[10], 1); TextDrawSetProportional(ConceTxD[10], 1); TextDrawSetSelectable(ConceTxD[10], 0); ConceTxD[11] = TextDrawCreate(18.000000, 186.000000, "_"); TextDrawFont(ConceTxD[11], 1); TextDrawLetterSize(ConceTxD[11], 0.600000, 13.400007); TextDrawTextSize(ConceTxD[11], 297.000000, -0.500000); TextDrawSetOutline(ConceTxD[11], 1); TextDrawSetShadow(ConceTxD[11], 0); TextDrawAlignment(ConceTxD[11], 2); TextDrawColor(ConceTxD[11], -1); TextDrawBackgroundColor(ConceTxD[11], 255); TextDrawBoxColor(ConceTxD[11], 16711815); TextDrawUseBox(ConceTxD[11], 1); TextDrawSetProportional(ConceTxD[11], 1); TextDrawSetSelectable(ConceTxD[11], 0); ConceTxD[12] = TextDrawCreate(22.000000, 191.000000, "B~r~~h~C~w~~h~~h~~h~P"); TextDrawFont(ConceTxD[12], 2); TextDrawLetterSize(ConceTxD[12], 0.245832, 1.350000); TextDrawTextSize(ConceTxD[12], 45.000000, 17.000000); TextDrawSetOutline(ConceTxD[12], 1); TextDrawSetShadow(ConceTxD[12], 0); TextDrawAlignment(ConceTxD[12], 1); TextDrawColor(ConceTxD[12], -1); TextDrawBackgroundColor(ConceTxD[12], 255); TextDrawBoxColor(ConceTxD[12], 50); TextDrawUseBox(ConceTxD[12], 0); TextDrawSetProportional(ConceTxD[12], 1); TextDrawSetSelectable(ConceTxD[12], 0); } stock gReloadProps() { new stringpayday[256]; if(InfoCont[2] > InfoCont[1]){ format(stringpayday, 128, "Sua Organizacao Ganhou o Kit Bonus {FFFF00}[Contratos Triad %d x %d Contratos Hitmans]", InfoCont[2], InfoCont[1]); SendFamilyMessage(22, 0xFFFFFFFF, stringpayday); //OrgVencedora = 22; } else if(InfoCont[1] > InfoCont[2]){ format(stringpayday, 128, "Sua Organizacao Ganhou o Kit Bonus {FFFF00}[Contratos Hitman %d x %d Contratos Triad]", InfoCont[1], InfoCont[2]); SendFamilyMessage(8, 0xFFFFFFFF, stringpayday); //OrgVencedora = 8; } else{ //format(stringpayday, 128, "[BONUS]: Nenhuma agencia de assassinos ganhou o kit bonus neste payday."); //OrgVencedora = 0; } InfoCont[1] = 0; InfoCont[2] = 0; //SendClientMessageToAll(0xFFFF00FF, stringpayday); for(new o;o 28 && !IsPlayerInAnyVehicle(i)){ if(gettime() <= TimerCairBolso[i])return 1; if(GetPlayerMoney(i) <= 50) return 1; if(PlayerInfo[i][pLevel] <= 3) return 1; if(PlayerInfo[i][pAdmin] > 0 && admtrampando[i] != 0) return 1; if(PlayerInfo[i][pAdmin] >= 1340) return 1; GiveDinheiro(i, -rand); SCMf(i, COLOR_LIGHTRED, "[Bolso] Você correu muito rapido e caiu do seu bolso R$ %s", ConvertMoney(rand)); new Float: X, Float: Y, Float: Z; GetPlayerPos(i, X, Y, Z); CreateDroppedItem(1212, 50, X, Y, Z, 1); TimerCairBolso[i] = gettime()+(7*60); } } } return 1; } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // stock randomEx(minnum = cellmin, maxnum = cellmax) return random(maxnum - minnum + 1) + minnum;// by // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // forward AskPlayerEmail_Timer(playerid); public AskPlayerEmail_Timer(playerid) { if(!IsPlayerConnected(playerid)) return 0; if(!strcmp(DOF2_GetString(pArquivo(playerid), "EmailPessoal"), "n/a")) ShowPlayerDialogEx(playerid, D_REGISTRAR_EMAIL); SetTimerEx("SpawnPlayerProf_Timer", 5000, false, "i", playerid); return 1; } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // forward SpawnPlayerProf_Timer(playerid); public SpawnPlayerProf_Timer(playerid) { if(!IsPlayerConnected(playerid) || PlayerJaSpawnadoProf[playerid] || PlayerInfo[playerid][pLider] != 0 || PlayerInfo[playerid][pMembro] != 0) return 0; if(!strcmp(pNome(playerid), "DG HD SAMP") || !strcmp(pNome(playerid), "DG HD SAMP")) { SCMf(playerid, -1, "[DEBUG]: SpawnPlayerProf_Timer(%i)", playerid); } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // if(PlayerInfo[playerid][pEmprego] == 2) { if(PlayerInfo[playerid][CidadePegouEmprego] == 0) SetPlayerPos(playerid, 1561.6332,-2167.2244,13.5643); else SetPlayerPos(playerid, 1662.2340,2199.0193,10.8203); } if(PlayerInfo[playerid][pEmprego] == 5) { if(PlayerInfo[playerid][CidadePegouEmprego] == 0) SetPlayerPos(playerid, 1752.4963,-1903.0275,13.5630); else SetPlayerPos(playerid, 1706.7694,1317.8314,10.8203); } if(PlayerInfo[playerid][pEmprego] == 11) { if(PlayerInfo[playerid][CidadePegouEmprego] == 0) SetPlayerPos(playerid, 1188.9204,-1331.0398,13.5608); else SetPlayerPos(playerid, 1604.8793,1818.1849,10.8203); } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // PlayerJaSpawnadoProf[playerid] = 1; SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 0); return 1; } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // stock pArquivo(playerid) { new arq[100]; format(arq, sizeof(arq), Pasta_Contas, pNome(playerid)); return arq; } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // stock IsValidEmail(string[]) { if(strfind(string, ".", true) != -1 && strfind(string, "@", true) != -1) return true; else return false; } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // stock JaExisteContaNoEmail(email[]) { new DBResult:Resultado; new query[200]; format(query, sizeof(query), "SELECT * FROM `contas` WHERE `Email` = '%s'", email); Resultado = db_query(Database, query); new linhas = db_num_rows(Resultado); db_free_result(Resultado); return linhas > 0 ? 1 : 0; } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // stock CreatePlayerConta_DB(playerid) { new DBResult:Resultado; new query[200]; format(query, sizeof(query), "SELECT * FROM `contas` WHERE `Nome` = '%s'", pNome(playerid)); Resultado = db_query(Database, query); if(!db_num_rows(Resultado)) { format(query, sizeof(query), "INSERT INTO `contas` (`Nome`, `Email`) VALUES ('%s', 'n/a')", pNome(playerid)); db_query(Database, query); } db_free_result(Resultado); } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // stock TrocarNicks_DB(oldnick[], newnick[]) { new query[200]; format(query, sizeof(query), "UPDATE `contas` SET `Nome` = '%s' WHERE `Nome` = '%s'", newnick, oldnick); db_query(Database, query); } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // stock SalvarPlayer_DB(playerid) { new query[200]; format(query, sizeof(query), "UPDATE `contas` SET `Email` = '%s' WHERE `Nome` = '%s'", DOF2_GetString(pArquivo(playerid), "EmailPessoal"), pNome(playerid)); db_query(Database, query); } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // forward HandleHTTPResponse(index, response_code, data[]); public HandleHTTPResponse(index, response_code, data[]) { #if SAMPMAILJS_CONSOLELOG == 1 printf("\n[SAMPMAILJS] Server returned a response %d", response_code); #endif if (response_code == SAMPMAILJS_RESPONSE_OK) { #if SAMPMAILJS_CONSOLELOG == 1 printf("\n[SAMPMAILJS] Email %d sent successfully", 0); #endif } return response_code; } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // stock SendEmail(name[], to[], subject[], text[], bool:isTemplate = false, templateName[] = "default.html") { new string[128], postData[SAMPMAILJS_MAXPOSTDATA]; if(isTemplate) { format(string, sizeof string, "%s/sampmail.js?pw=%s&action=sendmtmp", SAMPMAILJS_URL, SAMPMAILJS_PASSWORD); format(postData, sizeof postData, "%s|%s|%s|%s|%s", name, to, subject, text, templateName); } else { format(string, sizeof string, "%s/sampmail.js?pw=%s&action=sendm", SAMPMAILJS_URL, SAMPMAILJS_PASSWORD); format(postData, sizeof postData, "%s|%s|%s|%s", name, to, subject, text); } utf8encode(postData, postData); return HTTP(0, HTTP_POST, string, postData, "HandleHTTPResponse"); } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Familias ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // stock CriarFamilia(nome[], playerid) { new Float:Pos[3]; new arq[60], arq2[60], arq3[60]; new idx; GetPlayerPos(playerid, Pos[0], Pos[1], Pos[2]); for(new i = 1; i != MAX_FAMILIAS; i++) { format(arq, 60, "Familias/Familia%d.ini", i); if(!fexist(arq)) { idx = i; PlayerInfo[playerid][pFamiliaID] = idx; PlayerInfo[playerid][pFamiliaCargo] = 3; format(arq2, 60, "Familias/Familia%d.ini", idx); DOF2_CreateFile(arq2); DOF2_SetInt(arq2, "ID", idx); DOF2_SetString(arq2, "Nome", nome); DOF2_SetString(arq2, "Lider", PlayerName(playerid)); DOF2_SetString(arq2, "SubLider", "Ninguem"); DOF2_SetFloat(arq2, "SpawnX", Pos[0]); DOF2_SetFloat(arq2, "SpawnY", Pos[1]); DOF2_SetFloat(arq2, "SpawnZ", Pos[2]); DOF2_SetFloat(arq2, "ExitX", 975.1603); DOF2_SetFloat(arq2, "ExitY", -8.6600); DOF2_SetFloat(arq2, "ExitZ", 1001.1484); //DOF2_SetInt(arq2, "Dias", Dias); DOF2_SetInt(arq2, "Venc", getdate()+30); DOF2_SaveFile(); format(FamiliaInfo[idx][fNome], 24, DOF2_GetString(arq2, "Nome")); format(FamiliaInfo[idx][fLider], 24, DOF2_GetString(arq2, "Lider")); format(FamiliaInfo[idx][fSubLider], 24, DOF2_GetString(arq2, "SubLider")); //SCMf(playerid, -1, "Lider: %s Sub: %s Nome: %s", FamiliaInfo[idx][fLider], FamiliaInfo[idx][fSubLider], FamiliaInfo[idx][fNome]); FamiliaInfo[idx][fID] = idx; FamiliaInfo[idx][fDias] = DOF2_GetInt(arq2, "Dias"); FamiliaInfo[idx][fVenc] = DOF2_GetInt(arq2, "Venc"); FamiliaInfo[idx][fSpawnX] = DOF2_GetFloat(arq2, "SpawnX"); FamiliaInfo[idx][fSpawnY] = DOF2_GetFloat(arq2, "SpawnY"); FamiliaInfo[idx][fSpawnZ] = DOF2_GetFloat(arq2, "SpawnZ"); FamiliaInfo[idx][fExitX] = DOF2_GetFloat(arq2, "ExitX"); FamiliaInfo[idx][fExitY] = DOF2_GetFloat(arq2, "ExitY"); FamiliaInfo[idx][fExitZ] = DOF2_GetFloat(arq2, "ExitZ"); for(new ab = 1; ab != 11; ab++) { format(arq3, 60, "Membro%d", ab); //SCM(playerid, -1, arq3); DOF2_SetString(arq2, arq3, "Ninguem"); } FamiliaInfo[idx][fPickup] = CreateDynamicPickup(1314, 23, FamiliaInfo[idx][fSpawnX], FamiliaInfo[idx][fSpawnY], FamiliaInfo[idx][fSpawnZ], -1, -1, -1, STREAMER_PICKUP_SD, -1, 0); new label[256]; format(label, 256, "{FFFFFF}» {00FF00}HQ Da Familia: {FFFFFF}%s\n{00FF00}Lider: {FFFFFF}%s\n{00FF00}SubLider: {FFFFFF}%s\n{00FF00}Aperte {FFFFFF}F{00FF00} para entrar!", FamiliaInfo[idx][fNome], FamiliaInfo[idx][fLider], FamiliaInfo[idx][fSubLider]); FamiliaInfo[idx][fLabel] = CreateDynamic3DTextLabel(label,0x1E90FFFF,FamiliaInfo[idx][fSpawnX], FamiliaInfo[idx][fSpawnY], FamiliaInfo[idx][fSpawnZ], 35.0,INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 0, -1, -1, -1, STREAMER_3D_TEXT_LABEL_SD, -1, 0); //SCM(playerid, -1, "Criada com sucesso"); //SCMf(playerid, -1, "ID Disp: %d, idx = %d", i, idx); DOF2_SaveFile(); break; } } format(strbrazz, 256, "[FAMILIA] A Familia %s foi criada! ID: %d Fundador: %s", nome, idx, PlayerName(playerid)); SendClientMessageToAll(COLOR_LIGHTRED, strbrazz); DiminuirInv(GetPVarInt(playerid, #VarSlotFamilia), playerid); FecharInventario(playerid); } CMD:criarfamilia(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] <= 1340) return SemPermCMD new Nomef[24], Lidera, Dias; new Float:Pos[3]; new arq[60], arq2[60], arq3[60]; GetPlayerPos(playerid, Pos[0], Pos[1], Pos[2]); if(sscanf(params, "s[24]dd", Nomef, Lidera, Dias)) return UseCMD(playerid, "/criarfamilia [Nome Familia] [Lider ID/Nick] [Dias Vencimento]"); //if(IsValidNameFamily(Nomef)) return SCM(playerid, -1, "Nome ja existe."); if(PlayerInfo[Lidera][pFamiliaID] > 0) return SCMf(playerid, COLOR_LIGHTRED, "O Jogador %s ja tem uma familia.", PlayerName(Lidera)); for(new i = 1; i != MAX_FAMILIAS; i++) { format(arq, 60, "Familias/Familia%d.ini", i); if(!fexist(arq)) { new idx = i; PlayerInfo[Lidera][pFamiliaID] = idx; PlayerInfo[Lidera][pFamiliaCargo] = 3; format(arq2, 60, "Familias/Familia%d.ini", idx); DOF2_CreateFile(arq2); DOF2_SetInt(arq2, "ID", idx); DOF2_SetString(arq2, "Nome", Nomef); DOF2_SetString(arq2, "Lider", PlayerName(Lidera)); DOF2_SetString(arq2, "SubLider", "Ninguem"); DOF2_SetFloat(arq2, "SpawnX", Pos[0]); DOF2_SetFloat(arq2, "SpawnY", Pos[1]); DOF2_SetFloat(arq2, "SpawnZ", Pos[2]); DOF2_SetFloat(arq2, "ExitX", 975.1603); DOF2_SetFloat(arq2, "ExitY", -8.6600); DOF2_SetFloat(arq2, "ExitZ", 1001.1484); //DOF2_SetInt(arq2, "Dias", Dias); DOF2_SetInt(arq2, "Venc", getdate()+Dias); DOF2_SaveFile(); format(FamiliaInfo[idx][fNome], 24, DOF2_GetString(arq2, "Nome")); format(FamiliaInfo[idx][fLider], 24, DOF2_GetString(arq2, "Lider")); format(FamiliaInfo[idx][fSubLider], 24, DOF2_GetString(arq2, "SubLider")); //SCMf(playerid, -1, "Lider: %s Sub: %s Nome: %s", FamiliaInfo[idx][fLider], FamiliaInfo[idx][fSubLider], FamiliaInfo[idx][fNome]); FamiliaInfo[idx][fID] = idx; FamiliaInfo[idx][fDias] = DOF2_GetInt(arq2, "Dias"); FamiliaInfo[idx][fVenc] = DOF2_GetInt(arq2, "Venc"); FamiliaInfo[idx][fSpawnX] = DOF2_GetFloat(arq2, "SpawnX"); FamiliaInfo[idx][fSpawnY] = DOF2_GetFloat(arq2, "SpawnY"); FamiliaInfo[idx][fSpawnZ] = DOF2_GetFloat(arq2, "SpawnZ"); FamiliaInfo[idx][fExitX] = DOF2_GetFloat(arq2, "ExitX"); FamiliaInfo[idx][fExitY] = DOF2_GetFloat(arq2, "ExitY"); FamiliaInfo[idx][fExitZ] = DOF2_GetFloat(arq2, "ExitZ"); for(new ab = 1; ab != 11; ab++) { format(arq3, 60, "Membro%d", ab); //SCM(playerid, -1, arq3); DOF2_SetString(arq2, arq3, "Ninguem"); } FamiliaInfo[idx][fPickup] = CreateDynamicPickup(1314, 23, FamiliaInfo[idx][fSpawnX], FamiliaInfo[idx][fSpawnY], FamiliaInfo[idx][fSpawnZ], -1, -1, -1, STREAMER_PICKUP_SD, -1, 0); new label[256]; format(label, 256, "{FFFFFF}» {00FF00}HQ Da Familia: {FFFFFF}%s\n{00FF00}Lider: {FFFFFF}%s\n{00FF00}SubLider: {FFFFFF}%s\n{00FF00}Aperte {FFFFFF}F{00FF00} para entrar!", FamiliaInfo[idx][fNome], FamiliaInfo[idx][fLider], FamiliaInfo[idx][fSubLider]); FamiliaInfo[idx][fLabel] = CreateDynamic3DTextLabel(label,0x1E90FFFF,FamiliaInfo[idx][fSpawnX], FamiliaInfo[idx][fSpawnY], FamiliaInfo[idx][fSpawnZ], 35.0,INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 0, -1, -1, -1, STREAMER_3D_TEXT_LABEL_SD, -1, 0); //format() DOF2_SaveFile(); break; } } return 1; } CMD:destruirfamilia(playerid, params[]) { new fid; new pastaf[50]; if(sscanf(params, "d", fid)) return UseCMD(playerid, "/destruirfamilia [Familia ID]"); format(pastaf, 50, "Familias/Familia%d.ini",fid); if(fexist(pastaf)) { FamiliaInfo[fid][fID] = 0; format(FamiliaInfo[fid][fNome], 24, "Ninguem"); format(FamiliaInfo[fid][fLider], 24, "Ninguem"); format(FamiliaInfo[fid][fSubLider], 24, "Ninguem"); FamiliaInfo[fid][fSpawnX] = 0.0; FamiliaInfo[fid][fSpawnY] = 0.0; FamiliaInfo[fid][fSpawnZ] = 0.0; FamiliaInfo[fid][fExitX] = 0.0; FamiliaInfo[fid][fExitY] = 0.0; FamiliaInfo[fid][fExitZ] = 0.0; FamiliaInfo[fid][fVenc] = 0; FamiliaInfo[fid][fDias] = 0; DestroyDynamicPickup(FamiliaInfo[fid][fPickup]); DestroyDynamic3DTextLabel(FamiliaInfo[fid][fLabel]); for(new i; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { VerificarFamilia(i); } } DOF2_RemoveFile(pastaf); } return 1; } stock VerificarFamilia(playerid) { new pastaf[50]; format(pastaf, 50, "Familias/%d.ini", GetPlayerFamily(playerid)); if(!fexist(pastaf)) { SCM(playerid, COLOR_LIGHTRED, "[Familia] Sua Familia Venceu, ou Foi Destruida Por Um Admin."); PlayerInfo[playerid][pFamiliaID] = 0; PlayerInfo[playerid][pFamiliaCargo] = 0; } } CMD:familias(playerid){ new cString[256]; new cStrin2g[256]; new stralll3[4000]; strcat(stralll3, "ID\tNome da familia\tLíder da familia\tStatus\tVencimento\n"); for(new f; f != MAX_FAMILIAS; f++){ if(strcmp(FamiliaInfo[f][fLider], "Ninguem", false)){ format(cString, sizeof(cString), "%d\t%s\t%s\t%s",FamiliaInfo[f][fID], FamiliaInfo[f][fNome], FamiliaInfo[f][fLider], IsPlayerOnline(FamiliaInfo[f][fLider]) ? ("{33AA33}Online{FFFFFF}") : ("{B4B5B7}Offline")); strcat(stralll3, cString); format(cStrin2g, 256, "\t%d Dias", FamiliaInfo[f][fVenc]-getdate()); strcat(stralll3, cStrin2g); } } ShowPlayerDialog(playerid, 2409, 5, "Famílias do servidor", stralll3, "Informações", "Fechar"); return 1; } CMD:irfamilia(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] <= 1340) return SemPermCMD new fid; if(sscanf(params, "d", fid)) return UseCMD(playerid, "/irfamilia [Familia ID]"); if(IsPlayerInAnyVehicle(playerid)) { new vehicleid = GetPlayerVehicleID(playerid); SetVehiclePos(vehicleid, FamiliaInfo[fid][fSpawnX], FamiliaInfo[fid][fSpawnY], FamiliaInfo[fid][fSpawnZ]); SCMf(playerid, COLOR_LIGHTGREEN, "Voce foi ate a familia %d!", fid); return 1; } SetPlayerPos(playerid, FamiliaInfo[fid][fSpawnX], FamiliaInfo[fid][fSpawnY], FamiliaInfo[fid][fSpawnZ]); SCMf(playerid, COLOR_LIGHTGREEN, "Voce foi ate a familia %d!", fid); return 1; } CMD:fdemitir(playerid, params[]){ if(PlayerInfo[playerid][pFamiliaID] != 0){ if(PlayerInfo[playerid][pFamiliaCargo] == 3){ new nick[24], idx = GetPlayerFamily(playerid); if(sscanf(params, "s[24]", nick)) return UseCMD(playerid, "/fdemitir [Nick - Correto]"); new id = GetPlayerID(nick); new conta[90]; format(conta, 90, "Contas/%s.ini", nick); new ed = DOF2_GetInt(conta, "FamiliaID"); if(DOF2_GetInt(conta, "FamiliaID") != idx) return SCM(playerid, -1, "Esse nick não faz parte da sua familia 1"); if(ed != idx) return SCM(playerid, -1, "Esse nick não faz parte da sua familia 2"); if(id == playerid) return SCM(playerid, -1, "Voce nao pode se demitir"); if(IsPlayerConnected(id)) { SCMf(playerid, -1, "id %d", id+1); PlayerInfo[id][pFamiliaID] = 0; PlayerInfo[id][pFamiliaCargo] = 0; RemoveVagaFamilia(idx, PlayerName(id)); } RemoveVagaFamilia(idx, nick); DOF2_SetInt(conta, "FamiliaID", 0); DOF2_SetInt(conta, "FamiliaCargo", 0); SCMf(playerid, -1, "Voce retirou o jogador %s de sua familia.", nick); } } return 1; } CMD:fconvidar(playerid, params[]) { if(PlayerInfo[playerid][pFamiliaID] != 0){ if(PlayerInfo[playerid][pFamiliaCargo] > 1){ new id; new idx = GetPlayerFamily(playerid); if(sscanf(params, "u", id)) return UseCMD(playerid, "/fconvidar [ID/Nick"); if(!TemVagaFamilia(idx)) return SCM(playerid, -1, "Nao tem vaga na sua familia."); new idx2 = GetPlayerFamily(id); if(idx2 != 0) return SCM(playerid, -1, "O Jogador ja esta em uma familia"); ShowPlayerDialog(id, 1343, DIALOG_STYLE_MSGBOX, "Convite Familia", "Voce esta sendo convidado para uma familia", #Aceitar, #Recusar); SCM(playerid, -1, "Foi enviado uma solicitacao de convite."); SetPVarInt(id, #FamiliaID, idx); } } return 1; } CMD:fpromover(playerid, params[]){ new idx = GetPlayerFamily(playerid); if(PlayerInfo[playerid][pFamiliaID] != 0){ if(PlayerInfo[playerid][pFamiliaCargo] == 3){ new id, cargo; if(sscanf(params, "ud", id, cargo)) return UseCMD(playerid, "/fpromover [ID/Nick] [Cargo 1 = Membro // 2 = SubLider]"); VerificarID(id) if(PlayerInfo[id][pFamiliaID] == idx){ format(strbrazz, 256, "Familias/Familia%d.ini",idx); new fsubl[53]; format(fsubl, 53, DOF2_GetString(strbrazz, "SubLider")); switch(cargo) { case 1:{ if(PlayerInfo[id][pFamiliaCargo] != 2) return SCM(playerid, COLOR_LIGHTGREEN, "Pra promover alguem a membro o mesmo precisa ser sublider."); PlayerInfo[id][pFamiliaCargo] = 1; SCM(id, -1, "Voce foi promovido a membro da familia."); } case 2:{ if (!strcmp(fsubl, "Ninguem", true)) { RemoveVagaFamilia(idx, PlayerName(id)); DOF2_SetString(strbrazz, "SubLider", PlayerName(id)); DOF2_SaveFile(); PlayerInfo[id][pFamiliaCargo] = 2; SCM(id, -1, "Voce foi promovido a sublider da familia."); } else return SCM(playerid, -1, "Erro: Ja tem alguem na vaga de sublider."); } } } else return SCM(playerid, -1, "Erro: o jogador nao e da sua familia"); } else return SCM(playerid, -1, "Erro: vc nao e lider"); } else return SCM(playerid, -1, "Erro: vc nao tem uma familia"); return 1; } CMD:fmembros(playerid) { new idx = GetPlayerFamily(playerid); if(idx != 0) { SCM(playerid, -1, "Membros Online:"); for(new i; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { if(PlayerInfo[i][pFamiliaID] == idx) { SCMf(playerid, -1, "%s %s (%i)", GetCargoFamily(i), PlayerName(i), i); } } } } else return SemPermCMD return 1; } stock GetCargoFamily(playerid){ new idx = PlayerInfo[playerid][pFamiliaCargo]; new text[25]; switch(idx) { case 1:{ text = "Membro"; } case 2:{ text = "SubLider"; } case 3:{ text = "Lider"; } } return text; } stock GetPlayerFamily(playerid) { new fid = PlayerInfo[playerid][pFamiliaID]; return fid; } CMD:moverfamilia(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] <= 1340) return SemPermCMD new fid, Float:Pos[3]; if(sscanf(params, "d", fid)) return UseCMD(playerid, "/moverfamilia [Familia ID]"); GetPlayerPos(playerid, Pos[0], Pos[1], Pos[2]); FamiliaInfo[fid][fSpawnX] = Pos[0]; FamiliaInfo[fid][fSpawnY] = Pos[1]; FamiliaInfo[fid][fSpawnZ] = Pos[2]; DestroyDynamicPickup(FamiliaInfo[fid][fPickup]); DestroyDynamic3DTextLabel(FamiliaInfo[fid][fLabel]); FamiliaInfo[fid][fPickup] = CreateDynamicPickup(1314, 23, FamiliaInfo[fid][fSpawnX], FamiliaInfo[fid][fSpawnY], FamiliaInfo[fid][fSpawnZ], -1, -1, -1, STREAMER_PICKUP_SD, -1, 0); new label[256]; format(label, 256, "{FFFFFF}» {00FF00}HQ Da Familia: {FFFFFF}%s\n{00FF00}Lider: {FFFFFF}%s\n{00FF00}SubLider: {FFFFFF}%s\n{00FF00}Aperte {FFFFFF}F{00FF00} para entrar!", FamiliaInfo[fid][fNome], FamiliaInfo[fid][fLider], FamiliaInfo[fid][fSubLider]); FamiliaInfo[fid][fLabel] = CreateDynamic3DTextLabel(label,0x1E90FFFF,FamiliaInfo[fid][fSpawnX], FamiliaInfo[fid][fSpawnY], FamiliaInfo[fid][fSpawnZ], 35.0,INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 0, -1, -1, -1, STREAMER_3D_TEXT_LABEL_SD, -1, 0); format(strbrazz, 256, "[FAMILIA] O Admin %s moveu a familia %s de lugar.", PlayerName(playerid), FamiliaInfo[fid][fNome]); ABroadCast(COLOR_LIGHTRED, strbrazz, 1); return 1; } SaveFamiliasEx() { new idx = 1; while(idx < MAX_FAMILIAS) { new pastaf[78]; format(pastaf, 78, "Familias/Familia%d.ini", idx); if(DOF2_FileExists(pastaf)) { DOF2_SetInt(pastaf, "ID", FamiliaInfo[idx][fID]); DOF2_SetString(pastaf, "Nome", FamiliaInfo[idx][fNome]); DOF2_SetString(pastaf, "Lider", FamiliaInfo[idx][fLider]); DOF2_SetString(pastaf, "SubLider", FamiliaInfo[idx][fSubLider]); DOF2_SetInt(pastaf, "Venc", FamiliaInfo[idx][fVenc]); DOF2_SetInt(pastaf, "Dias", FamiliaInfo[idx][fDias]); DOF2_SetFloat(pastaf, "SpawnX", FamiliaInfo[idx][fSpawnX]); DOF2_SetFloat(pastaf, "SpawnY", FamiliaInfo[idx][fSpawnY]); DOF2_SetFloat(pastaf, "SpawnZ", FamiliaInfo[idx][fSpawnZ]); DestroyDynamicPickup(FamiliaInfo[idx][fPickup]); DestroyDynamic3DTextLabel(FamiliaInfo[idx][fLabel]); } idx++; } DOF2_SaveFile(); print("Familias Salvas."); } AtualizarFamilias() { new idx = 1; while(idx < MAX_FAMILIAS) { new pastaf[78]; format(pastaf, 78, "Familias/Familia%d.ini", idx); if(DOF2_FileExists(pastaf)) { DOF2_SetInt(pastaf, "ID", FamiliaInfo[idx][fID]); DOF2_SetString(pastaf, "Nome", FamiliaInfo[idx][fNome]); DOF2_SetString(pastaf, "Lider", FamiliaInfo[idx][fLider]); DOF2_SetString(pastaf, "SubLider", FamiliaInfo[idx][fSubLider]); DOF2_SetInt(pastaf, "Venc", FamiliaInfo[idx][fVenc]); DOF2_SetInt(pastaf, "Dias", FamiliaInfo[idx][fDias]); DOF2_SetFloat(pastaf, "SpawnX", FamiliaInfo[idx][fSpawnX]); DOF2_SetFloat(pastaf, "SpawnY", FamiliaInfo[idx][fSpawnY]); DOF2_SetFloat(pastaf, "SpawnZ", FamiliaInfo[idx][fSpawnZ]); DOF2_SetFloat(pastaf, "ExitX", FamiliaInfo[idx][fExitX]); DOF2_SetFloat(pastaf, "ExitY", FamiliaInfo[idx][fExitY]); DOF2_SetFloat(pastaf, "ExitZ", FamiliaInfo[idx][fExitZ]); } idx++; } print("Familias Salvas."); } LoadFamilias() { new idx = 1; while(idx < MAX_FAMILIAS) { new pastaf[78]; format(pastaf, 78, "Familias/Familia%d.ini", idx); if(DOF2_FileExists(pastaf)) { format(FamiliaInfo[idx][fNome], 24, DOF2_GetString(pastaf, "Nome")); format(FamiliaInfo[idx][fLider], 24, DOF2_GetString(pastaf, "Lider")); format(FamiliaInfo[idx][fSubLider], 24, DOF2_GetString(pastaf, "SubLider")); format(FamiliaInfo[idx][Membro1], 24, DOF2_GetString(pastaf, "Membro1")); format(FamiliaInfo[idx][Membro2], 24, DOF2_GetString(pastaf, "Membro2")); format(FamiliaInfo[idx][Membro3], 24, DOF2_GetString(pastaf, "Membro3")); format(FamiliaInfo[idx][Membro4], 24, DOF2_GetString(pastaf, "Membro4")); format(FamiliaInfo[idx][Membro5], 24, DOF2_GetString(pastaf, "Membro5")); format(FamiliaInfo[idx][Membro6], 24, DOF2_GetString(pastaf, "Membro6")); format(FamiliaInfo[idx][Membro7], 24, DOF2_GetString(pastaf, "Membro7")); format(FamiliaInfo[idx][Membro8], 24, DOF2_GetString(pastaf, "Membro8")); format(FamiliaInfo[idx][Membro9], 24, DOF2_GetString(pastaf, "Membro9")); format(FamiliaInfo[idx][Membro10], 24, DOF2_GetString(pastaf, "Membro10")); FamiliaInfo[idx][fID] = DOF2_GetInt(pastaf, "ID"); FamiliaInfo[idx][fDias] = DOF2_GetInt(pastaf, "Dias"); FamiliaInfo[idx][fVenc] = DOF2_GetInt(pastaf, "Venc"); FamiliaInfo[idx][fSpawnX] = DOF2_GetFloat(pastaf, "SpawnX"); FamiliaInfo[idx][fSpawnY] = DOF2_GetFloat(pastaf, "SpawnY"); FamiliaInfo[idx][fSpawnZ] = DOF2_GetFloat(pastaf, "SpawnZ"); FamiliaInfo[idx][fExitX] = DOF2_GetFloat(pastaf, "ExitX"); FamiliaInfo[idx][fExitY] = DOF2_GetFloat(pastaf, "ExitY"); FamiliaInfo[idx][fExitZ] = DOF2_GetFloat(pastaf, "ExitZ"); FamiliaInfo[idx][fPickup] = CreateDynamicPickup(1314, 23, FamiliaInfo[idx][fSpawnX], FamiliaInfo[idx][fSpawnY], FamiliaInfo[idx][fSpawnZ], -1, -1, -1, STREAMER_PICKUP_SD, -1, 0); new label[256]; format(label, 256, "{FFFFFF}» {00FF00}HQ Da Familia: {FFFFFF}%s\n{00FF00}Lider: {FFFFFF}%s\n{00FF00}SubLider: {FFFFFF}%s\n{00FF00}Aperte {FFFFFF}F{00FF00} para entrar!", FamiliaInfo[idx][fNome], FamiliaInfo[idx][fLider], FamiliaInfo[idx][fSubLider]); FamiliaInfo[idx][fLabel] = CreateDynamic3DTextLabel(label,0x1E90FFFF,FamiliaInfo[idx][fSpawnX], FamiliaInfo[idx][fSpawnY], FamiliaInfo[idx][fSpawnZ], 35.0,INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 0, -1, -1, -1, STREAMER_3D_TEXT_LABEL_SD, -1, 0); // = Create3DTextLabel(label, -1, FamiliaInfo[idx][fSpawnX], FamiliaInfo[idx][fSpawnY], FamiliaInfo[idx][fSpawnZ], 30.0, -1, 0); } idx++; } } stock ShowInfoFamilia(playerid, familiaid){ new fString[128]; new fgStr[90]; new fgStr2[90]; MEGAString[0] = EOS; format(fgStr, 90, "Familias/Familia%d.ini", familiaid ); if(!fexist(fgStr)) return 1;/*{00FF00}Lider da Familia: {FFFFFF}Nissin_SouzaLindo {00FF00}(Online)*/ format(fString, 128, "{00FF00}Nome Da Familia: {FFFFFF}%s\n\n", FamiliaInfo[familiaid][fNome]); strcat(MEGAString, fString); format(fString, 128, "{00FF00}Lider Da Familia: {FFFFFF}%s %s\n", FamiliaInfo[familiaid][fLider], IsPlayerOnline(FamiliaInfo[familiaid][fLider]) ? ("{00FF00}(Online)") : ("{00FFFF}(Offline)")); strcat(MEGAString, fString); format(fString, 128, "{00FF00}Sub-Lider Da Familia: {FFFFFF}%s %s\n\n", FamiliaInfo[familiaid][fSubLider], IsPlayerOnline(FamiliaInfo[familiaid][fSubLider]) ? ("{00FF00}(Online)") : ("{00FFFF}(Offline)")); strcat(MEGAString, fString); format(fString, 128, "{00FF00}Vencimento: {FFFFFF}%d Dias\n", FamiliaInfo[familiaid][fVenc]-getdate()); strcat(MEGAString, fString); strcat(MEGAString, "\n{B4B5B7}Membros da Familia:\n"); //new member[11][24]; for(new i = 1; i <= 10; i++){ format(fgStr2, 90, "Membro%d", i); format(fString, 128, "{00FF00}Vaga %02d: {FFFFFF}%s %s\n", i, DOF2_GetString(fgStr, fgStr2), IsPlayerOnline(DOF2_GetString(fgStr, fgStr2)) ? ("{00FF00}(Online)") : ("{00FFFF}(Offline)")); strcat(MEGAString, fString); } ShowPlayerDialog(playerid, 2409+1, DIALOG_STYLE_MSGBOX, "Informações da família", MEGAString, "Localizar HQ", "Voltar"); return 0; } stock CountFamilias() { new count = 0, file[78]; for(new f; f != MAX_FAMILIAS; f++){ format(file, sizeof file, "Familias/Familia%d.ini", f); if(DOF2_FileExists(file)){ count++; } } return count; } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // stock EditDynamicObjectExInTime(playerid, objectid, tempo = 2000) return SetTimerEx("EditDynamicObjectEx", tempo, false, "ii", playerid, objectid); // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // forward EditDynamicObjectEx(playerid, objectid); public EditDynamicObjectEx(playerid, objectid) { if(!IsPlayerConnected(playerid) || !IsValidDynamicObject(objectid)) return 0; if(IsValidDynamicObject(objectid)) { if(!IsPlayerAndroid(playerid)) EditDynamicObject(playerid, objectid); else EditDynamicObjectAndroid(playerid, objectid); } return 1; } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // stock EditDynamicObjectAndroid(playerid, objectid) { if(HasAnyPlayerEditandoObj(objectid)) return SCM(playerid, COLOR_ERRO, "| Erro | Já tem um jogador editando esse objeto."); EditandoObjID[playerid] = objectid; TipoEdicaoObj[playerid] = EDICAO_POSICAO; GetDynamicObjectPos(objectid, OldPosObj[playerid][0], OldPosObj[playerid][1], OldPosObj[playerid][2]); GetDynamicObjectRot(objectid, OldPosObj[playerid][3], OldPosObj[playerid][4], OldPosObj[playerid][5]); // ~~~~~~~~~~~~~~~~~~~~~~~~ // if(PlayerInfo[playerid][VelocidadePortaoMover] < 0.1) PlayerInfo[playerid][VelocidadePortaoMover] = 1.0; if(PlayerInfo[playerid][VelocidadePortaoMoverRot] < 0.1) PlayerInfo[playerid][VelocidadePortaoMoverRot] = 1.0; // ~~~~~~~~~~~~~~~~~~~~~~~~ // // textdraws SelectTextDraw(playerid, -1); ShowPlayerTextDraws(playerid, B_TD_EDIT_DYNAMIC_OBJECT); UpdatePlayerTextDraws(playerid, B_TD_EDIT_DYNAMIC_OBJECT); return 1; } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // stock HasAnyPlayerEditandoObj(objectid) { Loop(p, MAX_PLAYERS) { if(IsPlayerConnected(p) && EditandoObjID[p] == objectid) { return 1; } } return 0; } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // stock CancelPlayerEditDynObject(playerid, bool:SalvarAlteracoes = false) { if(EditandoObjID[playerid] == -1) return 0; new Float:oPos[6], sObj = EditandoObjID[playerid]; // ~~~~~~~~~~~~~~~~~~~~~~~~ // if(IsValidDynamicObject(sObj) && !SalvarAlteracoes) { SetDynamicObjectPos(sObj, OldPosObj[playerid][0], OldPosObj[playerid][1], OldPosObj[playerid][2]); SetDynamicObjectRot(sObj, OldPosObj[playerid][3], OldPosObj[playerid][4], OldPosObj[playerid][5]); } GetDynamicObjectPos(sObj, oPos[0], oPos[1], oPos[2]); GetDynamicObjectRot(sObj, oPos[3], oPos[4], oPos[5]); if(IsValidDynamicObject(sObj) && SalvarAlteracoes) { EdicaoObjetoConcluida(playerid, sObj, 1, oPos[0], oPos[1], oPos[2], oPos[3], oPos[4], oPos[5]); } // ~~~~~~~~~~~~~~~~~~~~~~~~ // EditandoObjID[playerid] = -1; TipoEdicaoObj[playerid] = 0; Loop(i, sizeof(OldPosObj[])) OldPosObj[playerid][i] = 0.0; // ~~~~~~~~~~~~~~~~~~~~~~~~ // HidePlayerTextDraws(playerid, B_TD_EDIT_DYNAMIC_OBJECT); CancelSelectTextDraw(playerid); return 1; } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // stock EdicaoObjetoConcluida(playerid, objectid, response, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz) { if(response == 1 || response == 0) { if(EditandoCaixa[playerid] > -1) { new i = EditandoCaixa[playerid]; DestroyDynamic3DTextLabel(SistemaCaixa[i][Caixa3d]); //format(SistemaCaixa[i][CaixaText],300,"{CD853F}• {FFFFFF}Caixa de Itens{CD853F} •\n{CD853F}Dono: {FFFFFF}%s\n{CD853F}Itens: {FFFFFF}%d/50\nAperte ' {CD853F}F{FFFFFF} ' para usar.",NomePlayer(playerid),ItemsCaixa(i)); format(SistemaCaixa[i][CaixaText],300,"Caixa de Itens\n\n\ Proprietario: {00BFFF}%s\n\ {FFFFFF}Itens: {00BFFF}%d/50\n\n\ {FFFFFF}Aperte a letra {00aaff}F{FFFFFF} para usar",NomePlayer(playerid),ItemsCaixa(i)); SendClientMessage(playerid, -1, "Voce salvou sua Caixa de Itens neste Local."); SistemaCaixa[i][Caixa3d] = CreateDynamic3DTextLabel(SistemaCaixa[i][CaixaText], -1, x,y, z, 30, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 0, GetPlayerVirtualWorld(playerid), GetPlayerInterior(playerid), -1, 100.0); format(SistemaCaixa[i][CaixaDono],40, NomePlayer(playerid)); SistemaCaixa[i][CaixaX] = x; SistemaCaixa[i][CaixaY] = y; SistemaCaixa[i][CaixaZ] = z; SistemaCaixa[i][CaixaRX] = rx; SistemaCaixa[i][CaixaRY] = ry; SistemaCaixa[i][CaixaRZ] = rz; SistemaCaixa[i][CaixaInterior] = GetPlayerInterior(playerid); SistemaCaixa[i][CaixaBaixada] = GetPlayerVirtualWorld(playerid); DestroyDynamicObject(SistemaCaixa[i][CaixaObj]); SistemaCaixa[i][CaixaObj] = CreateDynamicObject(1271, x,y,z,rx,ry,rz,GetPlayerInterior(playerid),GetPlayerVirtualWorld(playerid),-1,200,0); Streamer_Update(playerid); new Filea[60]; format(Filea,60,"Caixas/Caixa_%d.ini",i); if(IsValidDynamicObject(SistemaCaixa[i][CaixaObj])) { if(!DOF2_FileExists(Filea)) DOF2_CreateFile(Filea); DOF2_SetString(Filea,"CaixaDono", SistemaCaixa[i][CaixaDono] ); //DOF2_SetString(Filea,"CaixaText", SistemaCaixa[i][CaixaText] ); DOF2_SetFloat(Filea,"CaixaX", SistemaCaixa[i][CaixaX] ); DOF2_SetFloat(Filea,"CaixaY", SistemaCaixa[i][CaixaY] ); DOF2_SetFloat(Filea,"CaixaZ", SistemaCaixa[i][CaixaZ] ); DOF2_SetFloat(Filea,"CaixaRX", SistemaCaixa[i][CaixaRX] ); DOF2_SetFloat(Filea,"CaixaRY", SistemaCaixa[i][CaixaRY] ); DOF2_SetFloat(Filea,"CaixaRZ", SistemaCaixa[i][CaixaRZ] ); DOF2_SetInt(Filea,"CaixaInterior", SistemaCaixa[i][CaixaInterior] ); DOF2_SetInt(Filea,"CaixaBaixada", SistemaCaixa[i][CaixaBaixada] ); new str[30]; for(new o; o<50; o++) { format(str,30,"CaixaItem%d",o); DOF2_SetInt(Filea,str,SistemaCaixa[i][CaixaItem][o]); format(str,30,"CaixaUnidades%d",o); DOF2_SetInt(Filea,str,SistemaCaixa[i][CaixaUnidades][o]); } EditandoCaixa[playerid] = -1; DOF2_SaveFile(); } return 1; } if(EditandoPortao[playerid] > -1) { new i = EditandoPortao[playerid]; DestroyDynamic3DTextLabel(SistemaPortao[i][Portao3d]); new str[300]; format(str,300,"{CD853F}Portao de {FFFFFF}%s{CD853F} buzine ou\ndigite {FFFFFF}/abrirportao{CD853F} para abrir",NomePlayer(playerid)); SendClientMessage(playerid, -1, "A posicao do seu Portao foi salva neste Local ! Para mais Informações use: /ajuda."); SistemaPortao[i][Portao3d] = CreateDynamic3DTextLabel(SistemaPortao[i][PortaoText], -1, x,y, z, 30, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 0, GetPlayerVirtualWorld(playerid), GetPlayerInterior(playerid), -1, 100.0); format(SistemaPortao[i][PortaoDono],40, NomePlayer(playerid)); SistemaPortao[i][PortaoX] = x; SistemaPortao[i][PortaoY] = y; SistemaPortao[i][PortaoZ] = z; SistemaPortao[i][PortaoRX] = rx; SistemaPortao[i][PortaoRY] = ry; SistemaPortao[i][PortaoRZ] = rz; SistemaPortao[i][PortaoInterior] = GetPlayerInterior(playerid); SistemaPortao[i][PortaoBaixada] = GetPlayerVirtualWorld(playerid); DestroyDynamicObject(SistemaPortao[i][PortaoObj]); SistemaPortao[i][PortaoObj] = CreateDynamicObject(980, x,y,z,rx,ry,rz,GetPlayerInterior(playerid),GetPlayerVirtualWorld(playerid),-1,200,0); //SetDynamicObjectPos(SistemaPortao[i][PortaoObj], x,y,z); //SetDynamicObjectRot(SistemaPortao[i][PortaoObj], rx,ry,rz); Streamer_Update(playerid); new Filea[60]; format(Filea,60,"Portoes/Portao_%d.ini",i); if(IsValidDynamicObject(SistemaPortao[i][PortaoObj])) { if(!DOF2_FileExists(Filea)) DOF2_CreateFile(Filea); DOF2_SetString(Filea,"PortaoDono", SistemaPortao[i][PortaoDono] ); DOF2_SetString(Filea,"PortaoText", SistemaPortao[i][PortaoText] ); DOF2_SetFloat(Filea,"PortaoX", SistemaPortao[i][PortaoX] ); DOF2_SetFloat(Filea,"PortaoY", SistemaPortao[i][PortaoY] ); DOF2_SetFloat(Filea,"PortaoZ", SistemaPortao[i][PortaoZ] ); DOF2_SetFloat(Filea,"PortaoRX", SistemaPortao[i][PortaoRX] ); DOF2_SetFloat(Filea,"PortaoRY", SistemaPortao[i][PortaoRY] ); DOF2_SetFloat(Filea,"PortaoRZ", SistemaPortao[i][PortaoRZ] ); DOF2_SetInt(Filea,"PortaoInterior", SistemaPortao[i][PortaoInterior] ); DOF2_SetInt(Filea,"PortaoBaixada", SistemaPortao[i][PortaoBaixada] ); DOF2_SaveFile(); } EditandoPortao[playerid] = -1; return 1; } if(GetPVarInt(playerid, "editandoh") == 999){ new m = GetPVarInt(playerid, "editMovel"), casaid = PlayerInfo[playerid][pPHousekey] ; if(response == 1){ MobInfo[casaid][m][mobX] = x; MobInfo[casaid][m][mobY] = y; MobInfo[casaid][m][mobZ] = z; MobInfo[casaid][m][mobRX] = rx; MobInfo[casaid][m][mobRY] = ry; MobInfo[casaid][m][mobRZ] = rz; DestroyDynamicObject(MobInfo[casaid][m][mobObject]); MobInfo[casaid][m][mobObject] = CreateDynamicObject(MobInfo[casaid][m][mobModel], x, y, z, rx, ry, rz, GetPlayerVirtualWorld(playerid)); }else{ MobInfo[casaid][m][mobCreated] = 0; DestroyDynamicObject(MobInfo[casaid][m][mobObject]); } SetPVarInt(playerid, "editandoh", 0); salvarMoveis(casaid); } } return 1; } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // forward VerifyPlayerMorte(playerid); public VerifyPlayerMorte(playerid) { if(!IsPlayerConnected(playerid) || !gPlayerLogged[playerid] || GetPlayerState(playerid) != PLAYER_STATE_ONFOOT) return 0; if(HaviaMorrido[playerid] || PlayerInfo[playerid][PlayerDesconectouMorto]) { if(PlayerInfo[playerid][PlayerDesconectouMorto]) { SetPlayerInterior(playerid, PlayerInfo[playerid][InteriorSaiu]); SetPlayerPos(playerid, PlayerInfo[playerid][OldPosSaiu][0], PlayerInfo[playerid][OldPosSaiu][1], PlayerInfo[playerid][OldPosSaiu][2]); } else { SetPlayerOldPos(playerid); Loop(pos, 4) PlayerInfo[playerid][OldPosSaiu][pos] = 0.0; } SetTimerEx("SetupPlayerAceitarMorte", 1000, false, "i", playerid); PlayerInfo[playerid][PlayerDesconectouMorto] = 0; } SetPlayerHealth(playerid, 100.0); HaviaMorrido[playerid] = 0; return 1; } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // // baceitarmorte stock ResetPlayerAceitarMorte(playerid) { if(TimerAceitarMorte[playerid] == -1) return 0; if(TimerAceitarMorte[playerid] != -1) KillTimer(TimerAceitarMorte[playerid]); TimerAceitarMorte[playerid] = -1; Loop(pos, 4) OldPos[playerid][pos] = 0.0; // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // TempoAceitarMorte[playerid] = 0; PermitidoSetarAnimMorte[playerid] = 0; TempoSetarVidaAceitarMorte[playerid] = 0; PorcentagemPlayerReanimando[playerid] = 0; // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // ClearAnimations(playerid, 1); SetPlayerSkin(playerid, GetPlayerSkin(playerid)); SetCameraBehindPlayer(playerid); TogglePlayerControllableEx(playerid, true); PlayerChamouMorte[playerid] = 0; return 1; } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // function SetupPlayerAceitarMorte(playerid) { if(!IsPlayerConnected(playerid)) return 0; ResetPlayerAceitarMorte(playerid); // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // new rand = random(3); SetPlayerCameraMorte(playerid); // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // TogglePlayerControllableEx(playerid, false); if(rand == 0) ApplyAnimationEx(playerid, "CRACK", "crckdeth1", 4.1, 0, 1, 0, 1, 1, 1); if(rand == 1) ApplyAnimationEx(playerid, "CRACK", "crckdeth3", 4.1, 0, 1, 0, 1, 1, 1); if(rand == 2) ApplyAnimationEx(playerid, "CRACK", "crckdeth4", 4.1, 0, 1, 0, 1, 1, 1); SetTimerEx("SetAnimAgonia_Timer", 2000, false, "i", playerid); return 1; } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // stock SetPlayerCameraMorte(playerid) { new Float:pPos[4], Float:cPos[3]; GetPlayerPos(playerid, pPos[0], pPos[1], pPos[2]); GetPlayerPos(playerid, cPos[0], cPos[1], cPos[2]); GetPlayerFacingAngle(playerid, pPos[3]); pPos[0] += (2.0 * floatsin(-pPos[3], degrees)); pPos[1] += (2.0 * floatcos(-pPos[3], degrees)); SetPlayerCameraPos(playerid, pPos[0], pPos[1], pPos[2]); SetPlayerCameraLookAt(playerid, cPos[0], cPos[1], cPos[2] - 0.5); } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // function SetAnimAgonia_Timer(playerid) { if(!IsPlayerConnected(playerid) || TimerAceitarMorte[playerid] != -1) return 0; PermitidoSetarAnimMorte[playerid] = 1; if(GetMedicosOnline() == 0) TempoAceitarMorte[playerid] = 2 * 60; else TempoAceitarMorte[playerid] = 4 * 60; TimerAceitarMorte[playerid] = SetTimerEx("Timer_AceitarMorte", 1000, false, "i", playerid); new string4[256]; format(string4, sizeof(string4), "[* ATENÇÃO *]{FFFFFF} Player %s[%d] precisa de cuidados medicos, va ate la com urgencia (/LocalizarJ %i)", PlayerName(playerid),playerid, playerid); SendMessageToEmprego(11, 0xFA8072FF, string4); return 1; } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // function Timer_AceitarMorte(playerid) { if(!IsPlayerConnected(playerid)) return 0; TempoAceitarMorte[playerid] --; new Float:health; GetPlayerHealth(playerid, health); if(TempoAceitarMorte[playerid] < 1) { SetTimerEx("HospitalGameText", 200, false, "i", playerid); ResetPlayerAceitarMorte(playerid); } else { new string[144]; if(CountPlayersMeReanimando(playerid) == 0) format(string, sizeof(string), "~r~~h~~h~Aguardando medicos...~n~~w~%02i:%02i~n~~g~~h~/Servico medico", TempoAceitarMorte[playerid] / 60, TempoAceitarMorte[playerid] % 60); else { PorcentagemPlayerReanimando[playerid] += 5 * CountPlayersMeReanimando(playerid); new var = PorcentagemPlayerReanimando[playerid]; if(var >= 100) var = 100; format(string, sizeof(string), "~w~Sendo reanimado~n~~y~%i/100", var); } GameTextForPlayer(playerid, string, 1000, 4); SetPlayerCameraMorte(playerid); // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // if(TempoSetarVidaAceitarMorte[playerid] < gettime()) { SetPlayerHealth(playerid, health - 6); TempoSetarVidaAceitarMorte[playerid] = gettime() + 8; } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // if(PorcentagemPlayerReanimando[playerid] >= 100) { ResetPlayerAceitarMorte(playerid); SetPlayerHealth(playerid, 100.0); PlayerPlaySound(playerid,1058,0.0,0.0,0.0); foreach(Player, p) { if(ReanimandoPlayerID[p] == playerid) { CancelPlayerReanimar(p); PlayerPlaySound(p,1058,0.0,0.0,0.0); if(PlayerInfo[p][pEmprego] == 11) { GivePlayerMoneyEx(p, 500); ClearAnimations(p, 1); SetPlayerSkin(p, GetPlayerSkin(p)); GameTextForPlayer(p, "~w~Servico concluido~n~~g~~h~~h~+R$500", 3000, 3); } } } ClearAnimations(playerid, 1); SetPlayerSkin(playerid, GetPlayerSkin(playerid)); // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // if(TimerAceitarMorte[playerid] != -1) KillTimer(TimerAceitarMorte[playerid]); TimerAceitarMorte[playerid] = -1; PlayerChamouMorte[playerid] = 0; // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // Loop(pos, 4) PlayerInfo[playerid][OldPosSaiu][pos] = 0.0; Loop(pos, 4) OldPos[playerid][pos] = 0.0; return 1; } TimerAceitarMorte[playerid] = SetTimerEx("Timer_AceitarMorte", 1000, false, "i", playerid); } return 1; } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // function HospitalGameText(playerid) { if(!IsPlayerConnected(playerid)) return 0; SCM(playerid, 0xFFFFFFFF, "~> Você recebeu tratamentos médicos no hospital, isso lhe custou $2.000"); GameTextForPlayer(playerid, "~w~Hospital", 1500, 1); // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // GivePlayerMoneyEx(playerid, -2000); SetPlayerPos(playerid, 1153.7639,-1328.2043,-44.2836); SetPlayerFacingAngle(playerid, 1.4566); SetPlayerInterior(playerid, 10); TogglePlayerControllableEx(playerid, 0); SetPlayerVirtualWorld(playerid, 0); SetTimerEx("Descongelar", 1000, false, "i", playerid); SetPlayerSkin(playerid, GetPlayerSkin(playerid)); SetCameraBehindPlayer(playerid); // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // SetPlayerHealth(playerid, 100.0); PlayerChamouMorte[playerid] = 0; return 1; } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // stock GetNearstPlayerMorte(playerid, Float:range = 1.5) { foreach(Player, p) { if(GetDistanceBetweenPlayers(p, playerid) < range && TimerAceitarMorte[p] != -1) { return p; } } return INVALID_PLAYER_ID; } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // stock SetupPlayerReanimarInTime(playerid, id, tempo = 2000) { ReanimandoPlayerID[playerid] = id; ApplyAnimationEx(playerid, "MEDIC","CPR",4.1,1,1,1,1,1,1); return SetTimerEx("SetupPlayerReanimar_Timer", tempo, false, "ii", playerid, id); } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // function SetupPlayerReanimar_Timer(playerid, id) { if(!IsPlayerConnected(playerid) || !IsPlayerConnected(id)) return 0; TogglePlayerControllableEx(playerid, false); return 1; } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // stock CancelPlayerReanimar(playerid) { if(ReanimandoPlayerID[playerid] == INVALID_PLAYER_ID) return 0; ReanimandoPlayerID[playerid] = INVALID_PLAYER_ID; ClearAnimations(playerid); SetPlayerSkin(playerid, GetPlayerSkin(playerid)); SetCameraBehindPlayer(playerid); TogglePlayerControllableEx(playerid, true); return 1; } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // stock CountPlayersMeReanimando(playerid) { new count; foreach(Player, p) { if(ReanimandoPlayerID[p] == playerid) { count++; } } return count; } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // stock GetPlayerOldPos(playerid) { new Float:cPos[3]; GetPlayerPos(playerid, cPos[0], cPos[1], cPos[2]); for(new i = sizeof(PosicoesPlayer[]) - 1; i > 0; i --) { if(PosicoesPlayer[playerid][i][0] != 0.0) { if(GetDistanciaEntrePontos(cPos[0], cPos[1], cPos[2], PosicoesPlayer[playerid][i][0], PosicoesPlayer[playerid][i][1], PosicoesPlayer[playerid][i][2]) > 10.0) { OldPos[playerid][0] = PosicoesPlayer[playerid][i][0]; OldPos[playerid][1] = PosicoesPlayer[playerid][i][1]; OldPos[playerid][2] = PosicoesPlayer[playerid][i][2]; OldBaixada[playerid] = GetPlayerVirtualWorld(playerid); OldInterior[playerid] = GetPlayerInterior(playerid); return 1; } } } OldPos[playerid][0] = cPos[0]; OldPos[playerid][1] = cPos[1]; OldPos[playerid][2] = cPos[2]; OldBaixada[playerid] = GetPlayerVirtualWorld(playerid); OldInterior[playerid] = GetPlayerInterior(playerid); return 1; } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // stock SetPlayerOldPos(playerid) { SetPlayerPos(playerid, OldPos[playerid][0], OldPos[playerid][1], OldPos[playerid][2]); SetPlayerFacingAngle(playerid, OldPos[playerid][3]); SetPlayerVirtualWorld(playerid, OldBaixada[playerid]); SetPlayerInterior(playerid, OldInterior[playerid]); } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // stock GetMedicosOnline() { new ContagemID; foreach(Player, p) { if(PlayerInfo[p][pEmprego] == 11) { ContagemID++; } } return ContagemID; } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // stock SendMessageToEmprego(empregoid, cor, string[]) { foreach(Player, p) { if(PlayerInfo[p][pEmprego] == empregoid) { SCM(p, cor, string); } } } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // stock ExecutarPlayerReanimacao(playerid) { if(GetNearstPlayerMorte(playerid) == INVALID_PLAYER_ID) return SCM(playerid, COLOR_ERRO, "[Erro] Não tem nenhum jogador perto para você reanimar!"); if(playerid == GetNearstPlayerMorte(playerid)) return SCM(playerid, COLOR_ERRO, "[Erro] Você não pode reanimar a si mesmo"); if(PlayerInfo[playerid][pEmprego] != 11) return SCM(playerid, COLOR_ERRO, "[Erro] Você não é médico."); ApplyAnimationEx(playerid, "MEDIC","CPR",4.1,1,1,1,1,1,1); SetupPlayerReanimarInTime(playerid, GetNearstPlayerMorte(playerid)); return 1; } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // function UmSegundo() { new str[144]; foreach(Player, p) { if(gPlayerLogged[p]) { if(TimerAceitarMorte[p] == -1) { new count = PosicoesPlayerContagem[p]; // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // if(count >= sizeof(PosicoesPlayer[])) { PosicoesPlayerContagem[p] = 0; Loop(var, sizeof(PosicoesPlayer[])) { Loop(pos, 4) PosicoesPlayer[p][var][pos] = 0.0; } } else { GetPlayerPos(p, PosicoesPlayer[p][count][0], PosicoesPlayer[p][count][1], PosicoesPlayer[p][count][2]); GetPlayerFacingAngle(p, PosicoesPlayer[p][count][3]); } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // PosicoesPlayerContagem[p] ++; } // ~~~~~~~~ // new Float:cPos[3]; GetPlayerPos(p, cPos[0], cPos[1], cPos[2]); if(TimerAceitarMorte[p] != -1 && PlayerInfo[p][OldPosSaiu][0] != 0.0) { if(GetDistanciaEntrePontos(cPos[0], cPos[1], cPos[2], PlayerInfo[p][OldPosSaiu][0], PlayerInfo[p][OldPosSaiu][1], PlayerInfo[p][OldPosSaiu][2]) > 5.0) { SetPlayerPos(p, PlayerInfo[p][OldPosSaiu][0], PlayerInfo[p][OldPosSaiu][1], PlayerInfo[p][OldPosSaiu][2]); SetPlayerInterior(p, PlayerInfo[p][InteriorSaiu]); } else { if(PermitidoSetarAnimMorte[p]) ApplyAnimationEx(p, "CRACK", "crckdeth2", 4.1, 0, 1, 0, 1, 1, 1); } } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // if(TimerAceitarMorte[p] != -1 && PlayerInfo[p][OldPosSaiu][0] == 0.0 && OldPos[p][0] != 0.0) { new Float:distance = GetDistanciaEntrePontos(cPos[0], cPos[1], cPos[2], OldPos[p][0], OldPos[p][1], OldPos[p][2]); if(distance > 5.0) { SetPlayerPos(p, OldPos[p][0], OldPos[p][1], OldPos[p][2]); SetPlayerInterior(p, OldInterior[p]); } else { if(PermitidoSetarAnimMorte[p]) ApplyAnimationEx(p, "CRACK", "crckdeth2", 4.1, 0, 1, 0, 1, 1, 1); } } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // if(ReanimandoPlayerID[p] != INVALID_PLAYER_ID) { new playerid = ReanimandoPlayerID[p]; format(str, sizeof(str), "~y~reanimando~n~~w~%i/100", PorcentagemPlayerReanimando[playerid]); GameTextForPlayer(p, str, 1000, 4); } // taser if(PlayerTempoTaser[p] > gettime()) { TogglePlayerControllable(p, false); } } } SetTimer("UmSegundo", 1000,0); } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // stock ApplyAnimationEx(playerid, animlib[], animname[], Float:delta, loop, lockx, locky, freeze, time, forcesync = 0) { if(!strcmp(animname, "crckdeth2") && TimerAceitarMorte[playerid] == -1) return 1; ApplyAnimation(playerid, animlib, animname, delta, loop, lockx, locky, freeze, time, forcesync); return 1; } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // stock TogglePlayerControllableEx(playerid, set) { if(set && PlayerTempoTaser[playerid] > gettime()) return 1; TogglePlayerControllable(playerid, set); return 1; } CriarTxDCelular(){ TxDCelular[0] = TextDrawCreate(500.000000, 253.000000, "_"); TextDrawFont(TxDCelular[0], 1); TextDrawLetterSize(TxDCelular[0], 0.600000, 16.300003); TextDrawTextSize(TxDCelular[0], 298.500000, 75.000000); TextDrawSetOutline(TxDCelular[0], 1); TextDrawSetShadow(TxDCelular[0], 0); TextDrawAlignment(TxDCelular[0], 2); TextDrawColor(TxDCelular[0], -1); TextDrawBackgroundColor(TxDCelular[0], 255); TextDrawBoxColor(TxDCelular[0], -1); TextDrawUseBox(TxDCelular[0], 1); TextDrawSetProportional(TxDCelular[0], 1); TextDrawSetSelectable(TxDCelular[0], 0); TxDCelular[1] = TextDrawCreate(487.000000, 232.000000, "_"); TextDrawFont(TxDCelular[1], 1); TextDrawLetterSize(TxDCelular[1], 0.600000, 17.550006); TextDrawTextSize(TxDCelular[1], 298.500000, 66.000000); TextDrawSetOutline(TxDCelular[1], 1); TextDrawSetShadow(TxDCelular[1], 0); TextDrawAlignment(TxDCelular[1], 2); TextDrawColor(TxDCelular[1], -1); TextDrawBackgroundColor(TxDCelular[1], 255); TextDrawBoxColor(TxDCelular[1], -1); TextDrawUseBox(TxDCelular[1], 1); TextDrawSetProportional(TxDCelular[1], 1); TextDrawSetSelectable(TxDCelular[1], 0); TxDCelular[2] = TextDrawCreate(447.000000, 372.000000, "ld_beat:chit"); TextDrawFont(TxDCelular[2], 4); TextDrawLetterSize(TxDCelular[2], 0.600000, 2.000000); TextDrawTextSize(TxDCelular[2], 33.500000, 36.500000); TextDrawSetOutline(TxDCelular[2], 1); TextDrawSetShadow(TxDCelular[2], 0); TextDrawAlignment(TxDCelular[2], 1); TextDrawColor(TxDCelular[2], -1); TextDrawBackgroundColor(TxDCelular[2], 255); TextDrawBoxColor(TxDCelular[2], 50); TextDrawUseBox(TxDCelular[2], 1); TextDrawSetProportional(TxDCelular[2], 1); TextDrawSetSelectable(TxDCelular[2], 0); TxDCelular[3] = TextDrawCreate(447.000000, 212.000000, "ld_beat:chit"); TextDrawFont(TxDCelular[3], 4); TextDrawLetterSize(TxDCelular[3], 0.600000, 2.000000); TextDrawTextSize(TxDCelular[3], 33.500000, 36.500000); TextDrawSetOutline(TxDCelular[3], 1); TextDrawSetShadow(TxDCelular[3], 0); TextDrawAlignment(TxDCelular[3], 1); TextDrawColor(TxDCelular[3], -1); TextDrawBackgroundColor(TxDCelular[3], 255); TextDrawBoxColor(TxDCelular[3], 50); TextDrawUseBox(TxDCelular[3], 1); TextDrawSetProportional(TxDCelular[3], 1); TextDrawSetSelectable(TxDCelular[3], 0); TxDCelular[4] = TextDrawCreate(497.000000, 220.000000, "_"); TextDrawFont(TxDCelular[4], 1); TextDrawLetterSize(TxDCelular[4], 0.600000, 17.550006); TextDrawTextSize(TxDCelular[4], 298.500000, 66.000000); TextDrawSetOutline(TxDCelular[4], 1); TextDrawSetShadow(TxDCelular[4], 0); TextDrawAlignment(TxDCelular[4], 2); TextDrawColor(TxDCelular[4], -1); TextDrawBackgroundColor(TxDCelular[4], 255); TextDrawBoxColor(TxDCelular[4], -1); TextDrawUseBox(TxDCelular[4], 1); TextDrawSetProportional(TxDCelular[4], 1); TextDrawSetSelectable(TxDCelular[4], 0); TxDCelular[5] = TextDrawCreate(513.000000, 231.000000, "_"); TextDrawFont(TxDCelular[5], 1); TextDrawLetterSize(TxDCelular[5], 0.600000, 17.550006); TextDrawTextSize(TxDCelular[5], 298.500000, 66.000000); TextDrawSetOutline(TxDCelular[5], 1); TextDrawSetShadow(TxDCelular[5], 0); TextDrawAlignment(TxDCelular[5], 2); TextDrawColor(TxDCelular[5], -1); TextDrawBackgroundColor(TxDCelular[5], 255); TextDrawBoxColor(TxDCelular[5], -1); TextDrawUseBox(TxDCelular[5], 1); TextDrawSetProportional(TxDCelular[5], 1); TextDrawSetSelectable(TxDCelular[5], 0); TxDCelular[6] = TextDrawCreate(520.000000, 372.000000, "ld_beat:chit"); TextDrawFont(TxDCelular[6], 4); TextDrawLetterSize(TxDCelular[6], 0.600000, 2.000000); TextDrawTextSize(TxDCelular[6], 33.500000, 36.500000); TextDrawSetOutline(TxDCelular[6], 1); TextDrawSetShadow(TxDCelular[6], 0); TextDrawAlignment(TxDCelular[6], 1); TextDrawColor(TxDCelular[6], -1); TextDrawBackgroundColor(TxDCelular[6], 255); TextDrawBoxColor(TxDCelular[6], 50); TextDrawUseBox(TxDCelular[6], 1); TextDrawSetProportional(TxDCelular[6], 1); TextDrawSetSelectable(TxDCelular[6], 0); TxDCelular[7] = TextDrawCreate(520.000000, 212.000000, "ld_beat:chit"); TextDrawFont(TxDCelular[7], 4); TextDrawLetterSize(TxDCelular[7], 0.600000, 2.000000); TextDrawTextSize(TxDCelular[7], 33.500000, 36.500000); TextDrawSetOutline(TxDCelular[7], 1); TextDrawSetShadow(TxDCelular[7], 0); TextDrawAlignment(TxDCelular[7], 1); TextDrawColor(TxDCelular[7], -1); TextDrawBackgroundColor(TxDCelular[7], 255); TextDrawBoxColor(TxDCelular[7], 50); TextDrawUseBox(TxDCelular[7], 1); TextDrawSetProportional(TxDCelular[7], 1); TextDrawSetSelectable(TxDCelular[7], 0); TxDCelular[8] = TextDrawCreate(502.000000, 220.000000, "_"); TextDrawFont(TxDCelular[8], 1); TextDrawLetterSize(TxDCelular[8], 0.600000, 17.550006); TextDrawTextSize(TxDCelular[8], 298.500000, 66.000000); TextDrawSetOutline(TxDCelular[8], 1); TextDrawSetShadow(TxDCelular[8], 0); TextDrawAlignment(TxDCelular[8], 2); TextDrawColor(TxDCelular[8], -1); TextDrawBackgroundColor(TxDCelular[8], 255); TextDrawBoxColor(TxDCelular[8], -1); TextDrawUseBox(TxDCelular[8], 1); TextDrawSetProportional(TxDCelular[8], 1); TextDrawSetSelectable(TxDCelular[8], 0); TxDCelular[9] = TextDrawCreate(493.000000, 295.000000, "_"); TextDrawFont(TxDCelular[9], 1); TextDrawLetterSize(TxDCelular[9], 0.600000, 10.300003); TextDrawTextSize(TxDCelular[9], 298.500000, 75.000000); TextDrawSetOutline(TxDCelular[9], 1); TextDrawSetShadow(TxDCelular[9], 0); TextDrawAlignment(TxDCelular[9], 2); TextDrawColor(TxDCelular[9], -1); TextDrawBackgroundColor(TxDCelular[9], 255); TextDrawBoxColor(TxDCelular[9], 255); TextDrawUseBox(TxDCelular[9], 1); TextDrawSetProportional(TxDCelular[9], 1); TextDrawSetSelectable(TxDCelular[9], 0); TxDCelular[10] = TextDrawCreate(448.000000, 370.000000, "ld_beat:chit"); TextDrawFont(TxDCelular[10], 4); TextDrawLetterSize(TxDCelular[10], 0.600000, 2.000000); TextDrawTextSize(TxDCelular[10], 33.500000, 36.500000); TextDrawSetOutline(TxDCelular[10], 1); TextDrawSetShadow(TxDCelular[10], 0); TextDrawAlignment(TxDCelular[10], 1); TextDrawColor(TxDCelular[10], 255); TextDrawBackgroundColor(TxDCelular[10], 255); TextDrawBoxColor(TxDCelular[10], 50); TextDrawUseBox(TxDCelular[10], 1); TextDrawSetProportional(TxDCelular[10], 1); TextDrawSetSelectable(TxDCelular[10], 0); TxDCelular[11] = TextDrawCreate(499.000000, 305.000000, "_"); TextDrawFont(TxDCelular[11], 1); TextDrawLetterSize(TxDCelular[11], 0.600000, 10.300003); TextDrawTextSize(TxDCelular[11], 298.500000, 66.000000); TextDrawSetOutline(TxDCelular[11], 1); TextDrawSetShadow(TxDCelular[11], 0); TextDrawAlignment(TxDCelular[11], 2); TextDrawColor(TxDCelular[11], -1); TextDrawBackgroundColor(TxDCelular[11], 255); TextDrawBoxColor(TxDCelular[11], 255); TextDrawUseBox(TxDCelular[11], 1); TextDrawSetProportional(TxDCelular[11], 1); TextDrawSetSelectable(TxDCelular[11], 0); TxDCelular[12] = TextDrawCreate(519.000000, 370.000000, "ld_beat:chit"); TextDrawFont(TxDCelular[12], 4); TextDrawLetterSize(TxDCelular[12], 0.600000, 2.000000); TextDrawTextSize(TxDCelular[12], 33.500000, 36.500000); TextDrawSetOutline(TxDCelular[12], 1); TextDrawSetShadow(TxDCelular[12], 0); TextDrawAlignment(TxDCelular[12], 1); TextDrawColor(TxDCelular[12], 255); TextDrawBackgroundColor(TxDCelular[12], 255); TextDrawBoxColor(TxDCelular[12], 50); TextDrawUseBox(TxDCelular[12], 1); TextDrawSetProportional(TxDCelular[12], 1); TextDrawSetSelectable(TxDCelular[12], 0); TxDCelular[13] = TextDrawCreate(511.000000, 292.000000, "_"); TextDrawFont(TxDCelular[13], 1); TextDrawLetterSize(TxDCelular[13], 0.600000, 10.300003); TextDrawTextSize(TxDCelular[13], 298.500000, 66.000000); TextDrawSetOutline(TxDCelular[13], 1); TextDrawSetShadow(TxDCelular[13], 0); TextDrawAlignment(TxDCelular[13], 2); TextDrawColor(TxDCelular[13], -1); TextDrawBackgroundColor(TxDCelular[13], 255); TextDrawBoxColor(TxDCelular[13], 255); TextDrawUseBox(TxDCelular[13], 1); TextDrawSetProportional(TxDCelular[13], 1); TextDrawSetSelectable(TxDCelular[13], 0); TxDCelular[14] = TextDrawCreate(448.000000, 214.000000, "ld_beat:chit"); TextDrawFont(TxDCelular[14], 4); TextDrawLetterSize(TxDCelular[14], 0.600000, 2.000000); TextDrawTextSize(TxDCelular[14], 33.500000, 36.500000); TextDrawSetOutline(TxDCelular[14], 1); TextDrawSetShadow(TxDCelular[14], 0); TextDrawAlignment(TxDCelular[14], 1); TextDrawColor(TxDCelular[14], 255); TextDrawBackgroundColor(TxDCelular[14], 255); TextDrawBoxColor(TxDCelular[14], 50); TextDrawUseBox(TxDCelular[14], 1); TextDrawSetProportional(TxDCelular[14], 1); TextDrawSetSelectable(TxDCelular[14], 0); TxDCelular[15] = TextDrawCreate(493.000000, 234.000000, "_"); TextDrawFont(TxDCelular[15], 1); TextDrawLetterSize(TxDCelular[15], 0.600000, 10.300003); TextDrawTextSize(TxDCelular[15], 298.500000, 75.000000); TextDrawSetOutline(TxDCelular[15], 1); TextDrawSetShadow(TxDCelular[15], 0); TextDrawAlignment(TxDCelular[15], 2); TextDrawColor(TxDCelular[15], -1); TextDrawBackgroundColor(TxDCelular[15], 255); TextDrawBoxColor(TxDCelular[15], 255); TextDrawUseBox(TxDCelular[15], 1); TextDrawSetProportional(TxDCelular[15], 1); TextDrawSetSelectable(TxDCelular[15], 0); TxDCelular[16] = TextDrawCreate(498.000000, 223.000000, "_"); TextDrawFont(TxDCelular[16], 1); TextDrawLetterSize(TxDCelular[16], 0.600000, 10.300003); TextDrawTextSize(TxDCelular[16], 298.500000, 66.000000); TextDrawSetOutline(TxDCelular[16], 1); TextDrawSetShadow(TxDCelular[16], 0); TextDrawAlignment(TxDCelular[16], 2); TextDrawColor(TxDCelular[16], -1); TextDrawBackgroundColor(TxDCelular[16], 255); TextDrawBoxColor(TxDCelular[16], 255); TextDrawUseBox(TxDCelular[16], 1); TextDrawSetProportional(TxDCelular[16], 1); TextDrawSetSelectable(TxDCelular[16], 0); TxDCelular[17] = TextDrawCreate(519.000000, 214.000000, "ld_beat:chit"); TextDrawFont(TxDCelular[17], 4); TextDrawLetterSize(TxDCelular[17], 0.600000, 2.000000); TextDrawTextSize(TxDCelular[17], 33.500000, 36.500000); TextDrawSetOutline(TxDCelular[17], 1); TextDrawSetShadow(TxDCelular[17], 0); TextDrawAlignment(TxDCelular[17], 1); TextDrawColor(TxDCelular[17], 255); TextDrawBackgroundColor(TxDCelular[17], 255); TextDrawBoxColor(TxDCelular[17], 50); TextDrawUseBox(TxDCelular[17], 1); TextDrawSetProportional(TxDCelular[17], 1); TextDrawSetSelectable(TxDCelular[17], 0); TxDCelular[18] = TextDrawCreate(507.000000, 234.000000, "_"); TextDrawFont(TxDCelular[18], 1); TextDrawLetterSize(TxDCelular[18], 0.600000, 10.300003); TextDrawTextSize(TxDCelular[18], 298.500000, 75.000000); TextDrawSetOutline(TxDCelular[18], 1); TextDrawSetShadow(TxDCelular[18], 0); TextDrawAlignment(TxDCelular[18], 2); TextDrawColor(TxDCelular[18], -1); TextDrawBackgroundColor(TxDCelular[18], 255); TextDrawBoxColor(TxDCelular[18], 255); TextDrawUseBox(TxDCelular[18], 1); TextDrawSetProportional(TxDCelular[18], 1); TextDrawSetSelectable(TxDCelular[18], 0); TxDCelular[19] = TextDrawCreate(500.000000, 233.000000, "_"); TextDrawFont(TxDCelular[19], 1); TextDrawLetterSize(TxDCelular[19], 0.604165, 17.349988); TextDrawTextSize(TxDCelular[19], 298.500000, 84.000000); TextDrawSetOutline(TxDCelular[19], 1); TextDrawSetShadow(TxDCelular[19], 0); TextDrawAlignment(TxDCelular[19], 2); TextDrawColor(TxDCelular[19], -1); TextDrawBackgroundColor(TxDCelular[19], 255); TextDrawBoxColor(TxDCelular[19], -1061109505); TextDrawUseBox(TxDCelular[19], 1); TextDrawSetProportional(TxDCelular[19], 1); TextDrawSetSelectable(TxDCelular[19], 0); TxDCelular[20] = TextDrawCreate(500.000000, 233.000000, "_"); TextDrawFont(TxDCelular[20], 1); TextDrawLetterSize(TxDCelular[20], 0.600000, 0.350003); TextDrawTextSize(TxDCelular[20], 348.500000, 84.000000); TextDrawSetOutline(TxDCelular[20], 1); TextDrawSetShadow(TxDCelular[20], 0); TextDrawAlignment(TxDCelular[20], 2); TextDrawColor(TxDCelular[20], -1); TextDrawBackgroundColor(TxDCelular[20], 255); TextDrawBoxColor(TxDCelular[20], 1296911871); TextDrawUseBox(TxDCelular[20], 1); TextDrawSetProportional(TxDCelular[20], 1); TextDrawSetSelectable(TxDCelular[20], 0); TxDCelular[21] = TextDrawCreate(469.000000, 221.000000, "ld_beat:chit"); TextDrawFont(TxDCelular[21], 4); TextDrawLetterSize(TxDCelular[21], 0.600000, 2.000000); TextDrawTextSize(TxDCelular[21], 13.000000, 20.000000); TextDrawSetOutline(TxDCelular[21], 1); TextDrawSetShadow(TxDCelular[21], 0); TextDrawAlignment(TxDCelular[21], 1); TextDrawColor(TxDCelular[21], 255); TextDrawBackgroundColor(TxDCelular[21], 255); TextDrawBoxColor(TxDCelular[21], 50); TextDrawUseBox(TxDCelular[21], 1); TextDrawSetProportional(TxDCelular[21], 1); TextDrawSetSelectable(TxDCelular[21], 0); TxDCelular[22] = TextDrawCreate(498.000000, 232.000000, "_"); TextDrawFont(TxDCelular[22], 1); TextDrawLetterSize(TxDCelular[22], 0.600000, 0.400002); TextDrawTextSize(TxDCelular[22], 298.500000, 41.500000); TextDrawSetOutline(TxDCelular[22], 1); TextDrawSetShadow(TxDCelular[22], 0); TextDrawAlignment(TxDCelular[22], 2); TextDrawColor(TxDCelular[22], -1); TextDrawBackgroundColor(TxDCelular[22], 255); TextDrawBoxColor(TxDCelular[22], 255); TextDrawUseBox(TxDCelular[22], 1); TextDrawSetProportional(TxDCelular[22], 1); TextDrawSetSelectable(TxDCelular[22], 0); TxDCelular[23] = TextDrawCreate(460.000000, 268.000000, "policia"); TextDrawFont(TxDCelular[23], 2); TextDrawLetterSize(TxDCelular[23], 0.216666, 0.800000); TextDrawTextSize(TxDCelular[23], 495.500000, 17.000000); TextDrawSetOutline(TxDCelular[23], 1); TextDrawSetShadow(TxDCelular[23], 0); TextDrawAlignment(TxDCelular[23], 1); TextDrawColor(TxDCelular[23], -1); TextDrawBackgroundColor(TxDCelular[23], 255); TextDrawBoxColor(TxDCelular[23], 50); TextDrawUseBox(TxDCelular[23], 0); TextDrawSetProportional(TxDCelular[23], 1); TextDrawSetSelectable(TxDCelular[23], 0); TxDCelular[24] = TextDrawCreate(514.000000, 221.000000, "ld_beat:chit"); TextDrawFont(TxDCelular[24], 4); TextDrawLetterSize(TxDCelular[24], 0.600000, 2.000000); TextDrawTextSize(TxDCelular[24], 13.000000, 20.000000); TextDrawSetOutline(TxDCelular[24], 1); TextDrawSetShadow(TxDCelular[24], 0); TextDrawAlignment(TxDCelular[24], 1); TextDrawColor(TxDCelular[24], 255); TextDrawBackgroundColor(TxDCelular[24], 255); TextDrawBoxColor(TxDCelular[24], 50); TextDrawUseBox(TxDCelular[24], 1); TextDrawSetProportional(TxDCelular[24], 1); TextDrawSetSelectable(TxDCelular[24], 0); TxDCelular[25] = TextDrawCreate(493.000000, 231.000000, "_"); TextDrawFont(TxDCelular[25], 1); TextDrawLetterSize(TxDCelular[25], 0.600000, -0.149995); TextDrawTextSize(TxDCelular[25], 298.500000, 20.000000); TextDrawSetOutline(TxDCelular[25], 1); TextDrawSetShadow(TxDCelular[25], 0); TextDrawAlignment(TxDCelular[25], 2); TextDrawColor(TxDCelular[25], -1); TextDrawBackgroundColor(TxDCelular[25], 255); TextDrawBoxColor(TxDCelular[25], 1296911871); TextDrawUseBox(TxDCelular[25], 1); TextDrawSetProportional(TxDCelular[25], 1); TextDrawSetSelectable(TxDCelular[25], 0); TxDCelular[26] = TextDrawCreate(508.000000, 225.000000, "ld_beat:chit"); TextDrawFont(TxDCelular[26], 4); TextDrawLetterSize(TxDCelular[26], 0.600000, 2.000000); TextDrawTextSize(TxDCelular[26], 8.000000, 10.000000); TextDrawSetOutline(TxDCelular[26], 1); TextDrawSetShadow(TxDCelular[26], 0); TextDrawAlignment(TxDCelular[26], 1); TextDrawColor(TxDCelular[26], 1296911871); TextDrawBackgroundColor(TxDCelular[26], 255); TextDrawBoxColor(TxDCelular[26], 50); TextDrawUseBox(TxDCelular[26], 1); TextDrawSetProportional(TxDCelular[26], 1); TextDrawSetSelectable(TxDCelular[26], 0); TxDCelular[27] = TextDrawCreate(466.000000, 244.000000, "HUD:radar_police"); TextDrawFont(TxDCelular[27], 4); TextDrawLetterSize(TxDCelular[27], 0.600000, 2.000000); TextDrawTextSize(TxDCelular[27], 21.000000, 19.000000); TextDrawSetOutline(TxDCelular[27], 1); TextDrawSetShadow(TxDCelular[27], 0); TextDrawAlignment(TxDCelular[27], 1); TextDrawColor(TxDCelular[27], -1); TextDrawBackgroundColor(TxDCelular[27], 255); TextDrawBoxColor(TxDCelular[27], 50); TextDrawUseBox(TxDCelular[27], 1); TextDrawSetProportional(TxDCelular[27], 1); TextDrawSetSelectable(TxDCelular[27], 1); TxDCelular[28] = TextDrawCreate(509.000000, 244.000000, "HUD:radar_hostpital"); TextDrawFont(TxDCelular[28], 4); TextDrawLetterSize(TxDCelular[28], 0.600000, 2.000000); TextDrawTextSize(TxDCelular[28], 21.000000, 19.000000); TextDrawSetOutline(TxDCelular[28], 1); TextDrawSetShadow(TxDCelular[28], 0); TextDrawAlignment(TxDCelular[28], 1); TextDrawColor(TxDCelular[28], -1); TextDrawBackgroundColor(TxDCelular[28], 255); TextDrawBoxColor(TxDCelular[28], 50); TextDrawUseBox(TxDCelular[28], 1); TextDrawSetProportional(TxDCelular[28], 1); TextDrawSetSelectable(TxDCelular[28], 1); TxDCelular[29] = TextDrawCreate(505.000000, 268.000000, "medico"); TextDrawFont(TxDCelular[29], 2); TextDrawLetterSize(TxDCelular[29], 0.216666, 0.800000); TextDrawTextSize(TxDCelular[29], 495.500000, 17.000000); TextDrawSetOutline(TxDCelular[29], 1); TextDrawSetShadow(TxDCelular[29], 0); TextDrawAlignment(TxDCelular[29], 1); TextDrawColor(TxDCelular[29], -1); TextDrawBackgroundColor(TxDCelular[29], 255); TextDrawBoxColor(TxDCelular[29], 50); TextDrawUseBox(TxDCelular[29], 0); TextDrawSetProportional(TxDCelular[29], 1); TextDrawSetSelectable(TxDCelular[29], 0); TxDCelular[30] = TextDrawCreate(466.000000, 282.000000, "ld_chat:goodcha"); TextDrawFont(TxDCelular[30], 4); TextDrawLetterSize(TxDCelular[30], 0.600000, 2.000000); TextDrawTextSize(TxDCelular[30], 21.000000, 19.000000); TextDrawSetOutline(TxDCelular[30], 1); TextDrawSetShadow(TxDCelular[30], 0); TextDrawAlignment(TxDCelular[30], 1); TextDrawColor(TxDCelular[30], 16711935); TextDrawBackgroundColor(TxDCelular[30], 255); TextDrawBoxColor(TxDCelular[30], 50); TextDrawUseBox(TxDCelular[30], 1); TextDrawSetProportional(TxDCelular[30], 1); TextDrawSetSelectable(TxDCelular[30], 1); TxDCelular[31] = TextDrawCreate(462.000000, 305.000000, "whats"); TextDrawFont(TxDCelular[31], 2); TextDrawLetterSize(TxDCelular[31], 0.216666, 0.800000); TextDrawTextSize(TxDCelular[31], 495.500000, 17.000000); TextDrawSetOutline(TxDCelular[31], 1); TextDrawSetShadow(TxDCelular[31], 0); TextDrawAlignment(TxDCelular[31], 1); TextDrawColor(TxDCelular[31], -1); TextDrawBackgroundColor(TxDCelular[31], 255); TextDrawBoxColor(TxDCelular[31], 50); TextDrawUseBox(TxDCelular[31], 0); TextDrawSetProportional(TxDCelular[31], 1); TextDrawSetSelectable(TxDCelular[31], 0); TxDCelular[32] = TextDrawCreate(509.000000, 282.000000, "HUD:radar_waypoint"); TextDrawFont(TxDCelular[32], 4); TextDrawLetterSize(TxDCelular[32], 0.600000, 2.000000); TextDrawTextSize(TxDCelular[32], 21.000000, 19.000000); TextDrawSetOutline(TxDCelular[32], 1); TextDrawSetShadow(TxDCelular[32], 0); TextDrawAlignment(TxDCelular[32], 1); TextDrawColor(TxDCelular[32], -1); TextDrawBackgroundColor(TxDCelular[32], 255); TextDrawBoxColor(TxDCelular[32], 50); TextDrawUseBox(TxDCelular[32], 1); TextDrawSetProportional(TxDCelular[32], 1); TextDrawSetSelectable(TxDCelular[32], 1); TxDCelular[33] = TextDrawCreate(511.000000, 305.000000, "gps"); TextDrawFont(TxDCelular[33], 2); TextDrawLetterSize(TxDCelular[33], 0.216666, 0.800000); TextDrawTextSize(TxDCelular[33], 495.500000, 17.000000); TextDrawSetOutline(TxDCelular[33], 1); TextDrawSetShadow(TxDCelular[33], 0); TextDrawAlignment(TxDCelular[33], 1); TextDrawColor(TxDCelular[33], -1); TextDrawBackgroundColor(TxDCelular[33], 255); TextDrawBoxColor(TxDCelular[33], 50); TextDrawUseBox(TxDCelular[33], 0); TextDrawSetProportional(TxDCelular[33], 1); TextDrawSetSelectable(TxDCelular[33], 0); TxDCelular[34] = TextDrawCreate(528.000000, 231.000000, "5G++"); TextDrawFont(TxDCelular[34], 1); TextDrawLetterSize(TxDCelular[34], 0.175000, 0.750000); TextDrawTextSize(TxDCelular[34], 559.000000, 17.000000); TextDrawSetOutline(TxDCelular[34], 1); TextDrawSetShadow(TxDCelular[34], 0); TextDrawAlignment(TxDCelular[34], 1); TextDrawColor(TxDCelular[34], -1); TextDrawBackgroundColor(TxDCelular[34], 255); TextDrawBoxColor(TxDCelular[34], 50); TextDrawUseBox(TxDCelular[34], 0); TextDrawSetProportional(TxDCelular[34], 1); TextDrawSetSelectable(TxDCelular[34], 0); TxDCelular[35] = TextDrawCreate(457.000000, 231.000000, "58%"); TextDrawFont(TxDCelular[35], 1); TextDrawLetterSize(TxDCelular[35], 0.175000, 0.750000); TextDrawTextSize(TxDCelular[35], 559.000000, 17.000000); TextDrawSetOutline(TxDCelular[35], 1); TextDrawSetShadow(TxDCelular[35], 0); TextDrawAlignment(TxDCelular[35], 1); TextDrawColor(TxDCelular[35], -1); TextDrawBackgroundColor(TxDCelular[35], 255); TextDrawBoxColor(TxDCelular[35], 50); TextDrawUseBox(TxDCelular[35], 0); TextDrawSetProportional(TxDCelular[35], 1); TextDrawSetSelectable(TxDCelular[35], 0); TxDCelular[36] = TextDrawCreate(509.000000, 321.000000, "HUD:radar_cash"); TextDrawFont(TxDCelular[36], 4); TextDrawLetterSize(TxDCelular[36], 0.600000, 2.000000); TextDrawTextSize(TxDCelular[36], 21.000000, 19.000000); TextDrawSetOutline(TxDCelular[36], 1); TextDrawSetShadow(TxDCelular[36], 0); TextDrawAlignment(TxDCelular[36], 1); TextDrawColor(TxDCelular[36], -1); TextDrawBackgroundColor(TxDCelular[36], 255); TextDrawBoxColor(TxDCelular[36], 50); TextDrawUseBox(TxDCelular[36], 1); TextDrawSetProportional(TxDCelular[36], 1); TextDrawSetSelectable(TxDCelular[36], 1); TxDCelular[37] = TextDrawCreate(507.000000, 343.000000, "banco"); TextDrawFont(TxDCelular[37], 2); TextDrawLetterSize(TxDCelular[37], 0.216666, 0.800000); TextDrawTextSize(TxDCelular[37], 495.500000, 17.000000); TextDrawSetOutline(TxDCelular[37], 1); TextDrawSetShadow(TxDCelular[37], 0); TextDrawAlignment(TxDCelular[37], 1); TextDrawColor(TxDCelular[37], -1); TextDrawBackgroundColor(TxDCelular[37], 255); TextDrawBoxColor(TxDCelular[37], 50); TextDrawUseBox(TxDCelular[37], 0); TextDrawSetProportional(TxDCelular[37], 1); TextDrawSetSelectable(TxDCelular[37], 0); TxDCelular[38] = TextDrawCreate(466.000000, 320.000000, "HUD:radar_modgarage"); TextDrawFont(TxDCelular[38], 4); TextDrawLetterSize(TxDCelular[38], 0.600000, 2.000000); TextDrawTextSize(TxDCelular[38], 21.000000, 19.000000); TextDrawSetOutline(TxDCelular[38], 1); TextDrawSetShadow(TxDCelular[38], 0); TextDrawAlignment(TxDCelular[38], 1); TextDrawColor(TxDCelular[38], -16776961); TextDrawBackgroundColor(TxDCelular[38], 255); TextDrawBoxColor(TxDCelular[38], 50); TextDrawUseBox(TxDCelular[38], 1); TextDrawSetProportional(TxDCelular[38], 1); TextDrawSetSelectable(TxDCelular[38], 1); TxDCelular[39] = TextDrawCreate(461.000000, 343.000000, "mecanico"); TextDrawFont(TxDCelular[39], 2); TextDrawLetterSize(TxDCelular[39], 0.158333, 0.900000); TextDrawTextSize(TxDCelular[39], 495.500000, 17.000000); TextDrawSetOutline(TxDCelular[39], 1); TextDrawSetShadow(TxDCelular[39], 0); TextDrawAlignment(TxDCelular[39], 1); TextDrawColor(TxDCelular[39], -1); TextDrawBackgroundColor(TxDCelular[39], 255); TextDrawBoxColor(TxDCelular[39], 50); TextDrawUseBox(TxDCelular[39], 0); TextDrawSetProportional(TxDCelular[39], 1); TextDrawSetSelectable(TxDCelular[39], 0); TxDCelular[40] = TextDrawCreate(477.000000, 357.000000, "_"); TextDrawFont(TxDCelular[40], 1); TextDrawLetterSize(TxDCelular[40], 0.587500, 1.950003); TextDrawTextSize(TxDCelular[40], 294.000000, 19.000000); TextDrawSetOutline(TxDCelular[40], 1); TextDrawSetShadow(TxDCelular[40], 0); TextDrawAlignment(TxDCelular[40], 2); TextDrawColor(TxDCelular[40], -1); TextDrawBackgroundColor(TxDCelular[40], 255); TextDrawBoxColor(TxDCelular[40], -1811885057); TextDrawUseBox(TxDCelular[40], 1); TextDrawSetProportional(TxDCelular[40], 1); TextDrawSetSelectable(TxDCelular[40], 1); TxDCelular[41] = TextDrawCreate(469.000000, 359.000000, "OLX"); TextDrawFont(TxDCelular[41], 2); TextDrawLetterSize(TxDCelular[41], 0.200000, 1.499999); TextDrawTextSize(TxDCelular[41], 495.500000, 17.000000); TextDrawSetOutline(TxDCelular[41], 1); TextDrawSetShadow(TxDCelular[41], 0); TextDrawAlignment(TxDCelular[41], 1); TextDrawColor(TxDCelular[41], -1); TextDrawBackgroundColor(TxDCelular[41], 255); TextDrawBoxColor(TxDCelular[41], 50); TextDrawUseBox(TxDCelular[41], 0); TextDrawSetProportional(TxDCelular[41], 1); TextDrawSetSelectable(TxDCelular[41], 1); TxDCelular[42] = TextDrawCreate(461.000000, 379.000000, "Anunciar"); TextDrawFont(TxDCelular[42], 2); TextDrawLetterSize(TxDCelular[42], 0.158333, 0.900000); TextDrawTextSize(TxDCelular[42], 495.500000, 17.000000); TextDrawSetOutline(TxDCelular[42], 1); TextDrawSetShadow(TxDCelular[42], 0); TextDrawAlignment(TxDCelular[42], 1); TextDrawColor(TxDCelular[42], -1); TextDrawBackgroundColor(TxDCelular[42], 255); TextDrawBoxColor(TxDCelular[42], 50); TextDrawUseBox(TxDCelular[42], 0); TextDrawSetProportional(TxDCelular[42], 1); TextDrawSetSelectable(TxDCelular[42], 0); TxDCelular[43] = TextDrawCreate(522.000000, 357.000000, "_"); TextDrawFont(TxDCelular[43], 1); TextDrawLetterSize(TxDCelular[43], 0.587500, 1.950003); TextDrawTextSize(TxDCelular[43], 294.000000, 19.000000); TextDrawSetOutline(TxDCelular[43], 1); TextDrawSetShadow(TxDCelular[43], 0); TextDrawAlignment(TxDCelular[43], 2); TextDrawColor(TxDCelular[43], -1); TextDrawBackgroundColor(TxDCelular[43], 255); TextDrawBoxColor(TxDCelular[43], -92245249); TextDrawUseBox(TxDCelular[43], 1); TextDrawSetProportional(TxDCelular[43], 1); TextDrawSetSelectable(TxDCelular[43], 1); TxDCelular[44] = TextDrawCreate(514.000000, 359.000000, "SMS"); TextDrawFont(TxDCelular[44], 2); TextDrawLetterSize(TxDCelular[44], 0.200000, 1.499999); TextDrawTextSize(TxDCelular[44], 532.500000, 17.000000); TextDrawSetOutline(TxDCelular[44], 1); TextDrawSetShadow(TxDCelular[44], 0); TextDrawAlignment(TxDCelular[44], 1); TextDrawColor(TxDCelular[44], -1); TextDrawBackgroundColor(TxDCelular[44], 255); TextDrawBoxColor(TxDCelular[44], 50); TextDrawUseBox(TxDCelular[44], 0); TextDrawSetProportional(TxDCelular[44], 1); TextDrawSetSelectable(TxDCelular[44], 1); TxDCelular[45] = TextDrawCreate(503.000000, 378.000000, "chamar/sms"); TextDrawFont(TxDCelular[45], 2); TextDrawLetterSize(TxDCelular[45], 0.137500, 1.050000); TextDrawTextSize(TxDCelular[45], 495.500000, 17.000000); TextDrawSetOutline(TxDCelular[45], 1); TextDrawSetShadow(TxDCelular[45], 0); TextDrawAlignment(TxDCelular[45], 1); TextDrawColor(TxDCelular[45], -1); TextDrawBackgroundColor(TxDCelular[45], 255); TextDrawBoxColor(TxDCelular[45], 50); TextDrawUseBox(TxDCelular[45], 0); TextDrawSetProportional(TxDCelular[45], 1); TextDrawSetSelectable(TxDCelular[45], 0); } FecharCelularTxD(playerid){ for(new doido; doido < sizeof(TxDCelular); doido++) { TextDrawHideForPlayer(playerid, TxDCelular[doido]); } for(new abp; abp < sizeof(CNF); abp++){ TextDrawShowForPlayer(playerid, CNF[abp]); } PlayerTextDrawShow(playerid, CNFTelaPlayer[playerid][0]); PlayerTextDrawShow(playerid, CNFTelaPlayer[playerid][1]); PlayerTextDrawShow(playerid, CNFTelaPlayer[playerid][2]); CancelSelectTextDraw(playerid); CelularAberto[playerid] = false; format(strbrazz, 256, "[Celular] %s guarda seu celular no bolso.", PlayerName(playerid)); ProxDetector(30.0, playerid, strbrazz, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE); TogglePlayerControllableEx(playerid, 1); return 1; } CMD:freqradio(playerid, params[]) { new freq; if(sscanf(params, "d", freq)) return SendClientMessage(playerid, -1,"Uso: /freqradio [FREQ. 1-50 (0 Desligar)]"); if(freq > 50 || freq < 0) return SendClientMessage(playerid, 0x00FFFFFF, "Frequencia Invalida!"); if(freq == 0) { RadioFre[playerid] = 0; SendClientMessage(playerid, 0x00FFFFFF, "VOIP RADIO Desligado!"); } else { RadioFre[playerid] = freq; new string[128]; format(string, 128, "[VOIP RADIO] Frequencia conectada: (%d).", freq); SendClientMessage(playerid, 0x00AE00FF, string); format(string, 128, "[VOIP RADIO] %s conectou na frequencia(%d)", WkytNome(playerid), freq); MsgFrequencia(freq, 0xFF6C00FF, string); } return 1; } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // CMD:msgradio(playerid, params[]){ if(RadioFre[playerid] == 0) return SendClientMessage(playerid, -1,"Você não está em um frequencia!"); new msgfre[128],string[128]; if(sscanf(params, "s[128]", msgfre)) return SendClientMessage(playerid, -1,"Uso: /msgradio [msg]"); format(string, 128, "[VOIP RADIO:%i] %s: %s", RadioFre[playerid],PlayerName(playerid), msgfre); MsgFrequencia(RadioFre[playerid], 0xFFFF00FF, string); return 1; }