Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public OnPlayerConnect(playerid)
- {
- WaitForBuf[playerid] = false;
- OldCar[playerid] = INVALID_VEHICLE_ID;
- PassengerSeat[playerid] = 0;
- DisablePlayerCheckpoint(playerid);
- KillTimer(timer[playerid]);
- Atendimentos[playerid] = 1;
- FilaAtendimento[playerid] = 999;
- TempoAtendimento2[playerid] = 0;
- if(IsPlayerNPC(playerid))
- {
- SpawnPlayer(playerid);
- return 1;
- }
- RemoveBuildingForPlayer(playerid, 1215, 1690.7969, -2246.5234, -3.1563, 0.25);
- //DEtran nova
- RemoveBuildingForPlayer(playerid, 1438, -88.1094, -1598.7188, 1.5000, 0.25);
- RemoveBuildingForPlayer(playerid, 1370, -86.5703, -1595.1406, 2.1563, 0.25);
- RemoveBuildingForPlayer(playerid, 3173, -93.0938, -1593.5234, 1.5547, 0.25);
- RemoveBuildingForPlayer(playerid, 1462, -93.6797, -1588.0781, 1.5078, 0.25);
- RemoveBuildingForPlayer(playerid, 3174, -75.1719, -1596.3047, 1.6797, 0.25);
- RemoveBuildingForPlayer(playerid, 1438, -79.2578, -1593.4688, 1.5000, 0.25);
- RemoveBuildingForPlayer(playerid, 1447, -74.8203, -1607.2578, 3.4609, 0.25);
- RemoveBuildingForPlayer(playerid, 1370, -72.4141, -1596.7734, 2.1563, 0.25);
- RemoveBuildingForPlayer(playerid, 1370, -74.1875, -1583.9922, 2.1563, 0.25);
- RemoveBuildingForPlayer(playerid, 3175, -101.8203, -1577.6875, 1.4063, 0.25);
- RemoveBuildingForPlayer(playerid, 1457, -91.0156, -1576.6250, 3.1953, 0.25);
- RemoveBuildingForPlayer(playerid, 1370, -100.8203, -1580.4219, 2.1563, 0.25);
- RemoveBuildingForPlayer(playerid, 1438, -93.2109, -1569.4844, 1.5000, 0.25);
- RemoveBuildingForPlayer(playerid, 3175, -77.9375, -1581.3125, 1.4063, 0.25);
- RemoveBuildingForPlayer(playerid, 1472, -75.5859, -1581.0703, 2.0234, 0.25);
- RemoveBuildingForPlayer(playerid, 727, -73.8203, -1569.1719, 1.3516, 0.25);
- RemoveBuildingForPlayer(playerid, 3173, -90.6406, -1562.9375, 1.5547, 0.25);
- RemoveBuildingForPlayer(playerid, 1438, -77.0625, -1542.6016, 1.6172, 0.25);
- RemoveBuildingForPlayer(playerid, 1412, -70.4141, -1604.3750, 3.4609, 0.25);
- RemoveBuildingForPlayer(playerid, 1447, -66.2891, -1601.2266, 3.2109, 0.25);
- RemoveBuildingForPlayer(playerid, 1457, -71.0000, -1574.0859, 3.1953, 0.25);
- RemoveBuildingForPlayer(playerid, 3175, -64.3828, -1572.2109, 1.4063, 0.25);
- RemoveBuildingForPlayer(playerid, 1438, -62.2734, -1569.2891, 1.5000, 0.25);
- RemoveBuildingForPlayer(playerid, 1370, -61.6641, -1573.4609, 2.1563, 0.25);
- RemoveBuildingForPlayer(playerid, 1413, -53.8125, -1585.8594, 3.0859, 0.25);
- RemoveBuildingForPlayer(playerid, 1438, -56.0625, -1575.6563, 1.5000, 0.25);
- RemoveBuildingForPlayer(playerid, 1447, -50.8281, -1581.7656, 3.1641, 0.25);
- RemoveBuildingForPlayer(playerid, 1412, -47.5547, -1577.6484, 3.1641, 0.25);
- RemoveBuildingForPlayer(playerid, 1412, -44.5625, -1573.3672, 3.1641, 0.25);
- RemoveBuildingForPlayer(playerid, 1370, -64.0000, -1550.2578, 2.1563, 0.25);
- RemoveBuildingForPlayer(playerid, 3175, -55.2813, -1557.4531, 1.4063, 0.25);
- RemoveBuildingForPlayer(playerid, 1370, -56.1563, -1560.4609, 2.1563, 0.25);
- RemoveBuildingForPlayer(playerid, 727, -49.3984, -1560.0078, 1.4609, 0.25);
- RemoveBuildingForPlayer(playerid, 3174, -44.2891, -1561.3125, 1.6797, 0.25);
- RemoveBuildingForPlayer(playerid, 1370, -43.7422, -1563.6875, 2.1563, 0.25);
- RemoveBuildingForPlayer(playerid, 3173, -67.2344, -1544.2188, 1.5547, 0.25);
- //=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-==( INICIO DO GET IP )=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-==//
- //IPlog(playerid);
- //=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-==( FIM DO GET IP )=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-===//
- TextDrawShowForPlayer(playerid, forum[playerid]);
- TextDrawShowForPlayer(playerid, TextDrawdeData[playerid]);
- TextDrawShowForPlayer(playerid, TextDrawdeHora[playerid]);
- if(strfind(PlayerName(playerid), "_", true) == -1 || strfind(PlayerName(playerid), "[", true) != -1 || strfind(PlayerName(playerid), "]", true) != -1 || strfind(PlayerName(playerid), "lixo", true) != -1 || strfind(PlayerName(playerid), "buceta", true) != -1 || strfind(PlayerName(playerid), "caralho", true) != -1 || strfind(PlayerName(playerid), "[", true) != -1 || strfind(PlayerName(playerid), "server", true) != -1
- || strfind(PlayerName(playerid), "servidor", true) != -1 || strfind(PlayerName(playerid), "crash", true) != -1 || strfind(PlayerName(playerid), "bpl", true) != -1 || strfind(PlayerName(playerid), "gamerx", true) != -1 || strfind(PlayerName(playerid), "[", true) != -1 || strfind(PlayerName(playerid), "189", true) != -1 || strfind(PlayerName(playerid), "201", true) != -1 || strfind(PlayerName(playerid), "200", true) != -1 || strfind(PlayerName(playerid), ".", true) != -1
- || strfind(PlayerName(playerid), "*", true) != -1 || strfind(PlayerName(playerid), "(", true) != -1 || strfind(PlayerName(playerid), ")", true) != -1 || strfind(PlayerName(playerid), "@", true) != -1 || strfind(PlayerName(playerid), "amx", true) != -1 || strfind(PlayerName(playerid), "prn", true) != -1 || strfind(PlayerName(playerid), "__", true) != -1)
- {
- SendClientMessage(playerid, COLOR_LIGHTBLUE, "Você Foi Kickado por usar algum nome incorreto!");
- SendClientMessage(playerid, COLOR_LIGHTBLUE, "Seu nome deve ser no formato Nome_Sobrenome Ex: AuTo_BooT");
- SendClientMessage(playerid, COLOR_LIGHTBLUE, "Troque-o e volte, Obrigado.");
- format(gstring,64,"Players/%s.ini",pNome(playerid));
- Kick(playerid);
- dini_Remove(gstring);
- return 1;
- }
- if(strcmp("AuTo_BooT",PlayerName(playerid),true )==0)
- {
- SendClientMessage(playerid,COLOR_AZULBB,"Não tente imitar AuTo_BooT ele não gosta disso!");
- SendClientMessage(playerid,COLOR_AZULBB,"AuTo_BooT te kickou!");
- Kick(playerid);
- }
- if(strcmp("Mr_JimmY",PlayerName(playerid),true)==0)
- {
- format(gstring, 128, "Herik patrao ta logando ;D (ID:%d) Fikisperto!!!",PlayerName(playerid),playerid);
- SendMessageToOthersAdmins(playerid, COR_LOKA, gstring);
- }
- if(strcmp("Mr_JimmY",PlayerName(playerid),true)==0)
- {
- format(gstring, 128, "JimmY patrao ta logando ;D (ID:%d) Fikisperto!!!",PlayerName(playerid),playerid);
- SendMessageToOthersAdmins(playerid, COR_LOKA, gstring);
- }
- if(strcmp("justin_biber",PlayerName(playerid),true)==0)
- {
- Kick(playerid);
- }
- if(strcmp("con",PlayerName(playerid),true)==0)
- {
- Ban(playerid);
- }
- for(new i; i<sizeof(NicksProibidos); i++)
- {
- if(strcmp(NicksProibidos[i],PlayerName(playerid),true )==0)
- {
- SendClientMessage(playerid,COLOR_AZULBB,"Você está usando um nome que é proibido na BPH!");
- SendClientMessage(playerid,COLOR_AZULBB,"Você foi banido!");
- getdate(Ano, Mes, Dia);
- SBan(playerid, "Pego Usando um nome que é proibido na BPH", "Automático");
- banidos++;
- }
- }
- //=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=====
- gActivePlayers[playerid]++;
- numplayers++;
- strmid(BanInfo[playerid][pMotivo], "Nenhum", 0, strlen("Nenhum"), 256);
- strmid(BanInfo[playerid][pAdmBan], "Nenhum", 0, strlen("Nenhum"), 256);
- strmid(BanInfo[playerid][pData], "0/0/0", 0, strlen("0/0/0"), 256);
- strmid(BanInfo[playerid][pHora], "0:0:0", 0, strlen("0:0:0"), 256);
- pban[playerid] = 0;
- Reduzido[playerid] = 0; // pedagio
- ReduzidoBot[playerid] = 0; //bot
- //////////[ESTREAMER DE OBJETOS]///////////////////
- for(new objectid; objectid<F_MAX_OBJECTS; objectid++)
- {
- ObjectInfo[objectid][ObjectCreated][playerid] = false;
- }
- OldX[playerid] = 999999999.99;
- OldY[playerid] = 999999999.99;
- OldZ[playerid] = 999999999.99;
- RefreshObjects[playerid] = false;
- /////////////////////////////////////////////////
- var1[playerid] = 0;
- EmDialog[playerid] = 0;
- gmsg[playerid] = 0;
- PlayerInfo[playerid][pGun1] = 0;
- votou[playerid] = true;
- TruckMission[playerid] = 0;
- PlayerInfo[playerid][pGun2] = 0;
- PlayerInfo[playerid][pGun3] = 0;
- PlayerInfo[playerid][pGun4] = 0;
- // emguerra[playerid] = 0;
- HaveTaser[playerid] = 0;
- RemovePlayerAttachedObject(playerid, 0);
- storeexit[playerid] = 0;
- away[playerid] = 0;
- pBancoDasOrgs[playerid] = 0;
- TutTime[playerid] = 0;
- InviteOffer[playerid] = 999;
- InviteJob[playerid] = 0;
- cdivulgar[playerid] = 0;
- PlayerInfo[playerid][pGps] = 0;
- PlayerInfo[playerid][GpsX] = 0;
- PlayerInfo[playerid][GpsY] = 0;
- PlayerInfo[playerid][GpsZ] = 0;
- PlayerInfo[playerid][GpsSize] = 0;
- PlayerInfo[playerid][pHelper] = 0;
- PlayerInfo[playerid][pCaixinha] = 0;
- PlayerInfo[playerid][pHelperTrabalhando] = 1;
- PlayerInfo[playerid][pGun5] = 0;
- mudandonick[playerid] = 0;
- gpTimes[playerid] = 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;
- gSpamCount[playerid][0] = 0;
- gSpamCount[playerid][1] = 0;
- PlayerInfo[playerid][pAmmo3] = 0;
- PlayerInfo[playerid][pAmmo4] = 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;
- pRoadgang[playerid] = 0;
- pRoadgang2[playerid] = 0;
- pRoadgang3[playerid] = 0;
- pRoadgang4[playerid] = 0;
- pRoadgang5[playerid] = 0;
- PlayerInfo[playerid][pRing] = 0;
- PlayerUpdateInfo[playerid][posxafk] = 0; PlayerUpdateInfo[playerid][posyafk] = 0; PlayerUpdateInfo[playerid][poszafk] = 0;
- PlayerUpdateInfo[playerid][angleafk] = 0; PlayerInactivity[playerid] = 0;
- SelectChar[playerid] = 0; PhoneOnline[playerid] = 0; OfAssalto[playerid] = 999; precoassalto[playerid] = 0;
- SelectCharID[playerid] = 0; SelectCharPlace[playerid] = 0; ChosenSkin[playerid] = 0; SemBombas[playerid] = 0;
- GettingEmprego[playerid] = 0; GuardOffer[playerid] = 999; GuardPrice[playerid] = 0;
- AdvOffer[playerid] = 999; AdvPrice[playerid] = 0;
- ApprovedAdvogado[playerid] = 0; CallAdvogado[playerid] = 0; WantAdvogado[playerid] = 0;
- KickPlayer[playerid] = 0; CurrentMoney[playerid] = 0; UsedFind[playerid] = 0;
- CP[playerid] = 0; Robbed[playerid] = 0; PlayerInfo[playerid][pSpawn] = 0;
- CarOffer[playerid] = 999; CarPrice[playerid] = 0; CarID[playerid] = 0; CarCalls[playerid] = 0;
- RobbedTime[playerid] = 0; MoneyMessage[playerid] = 0; Condom[playerid] = 0; MultaMessage[playerid] = 0;
- SexOffer[playerid] = 999; SexPrice[playerid] = 0; MendigoOffer[playerid] = 999; MendigoPrice[playerid] = 0;
- RepairOffer[playerid] = 999; RepairPrice[playerid] = 0; RepairCar[playerid] = 0;
- TalkingLive[playerid] = 255; LiveOffer[playerid] = 999;
- RefillOffer[playerid] = 999; RefillPrice[playerid] = 0; MapIconsShown[playerid] = 0;
- DrugOffer[playerid] = 999; PlayerCuffed[playerid] = 0; PlayerCuffedTime[playerid] = 0;
- DrugPrice[playerid] = 0; RegistrationStep[playerid] = 0;
- DrugGram[playerid] = 0; ConnectedToPC[playerid] = 0; OrderReady[playerid] = 0; ConnectedToNot[playerid] = 0; ConnectedToPCTRIAD[playerid] = 0;
- JailPrice[playerid] = 0; MedicTime[playerid] = 0; NeedMedicTime[playerid] = 0; MedicBill[playerid] = 0; GotHit[playerid] = 0; GotTri[playerid] = 0;
- WantedPoints[playerid] = 0; SetPlayerWantedLevel(playerid, 0); GoChase[playerid] = 999; GetChased[playerid] = 999; PlacedNews[playerid] = 0;
- OnDuty[playerid] = 0; TestFishes[playerid] = 0;
- BoxWaitTime[playerid] = 0; ChangePos2[playerid][1] = 0;
- SafeTime[playerid] = 60; TransportDuty[playerid] = 0; PlayerTied[playerid] = 0;
- BusCallTime[playerid] = 0; CopsrondaCallTime[playerid] = 0; TaxiCallTime[playerid] = 0; MedicCallTime[playerid] = 0; MechanicCallTime[playerid] = 0;
- BusrouteEast[playerid][0] = 0; BusrouteWest[playerid][0] = 0; BusShowLocation[playerid][0] = 0; BusShowLocationC[playerid] = 0;
- FindTimePoints[playerid] = 0; FindTime[playerid] = 0; EmpregoDuty[playerid] = 0;
- Mobile[playerid] = 255; Music[playerid] = 0; BoxOffer[playerid] = 999; PlayerBoxing[playerid] = 0;
- Spectate[playerid] = 255; PlayerDrunk[playerid] = 0; PlayerDrunkTime[playerid] = 0;
- Unspec[playerid][sLocal] = 255; FishCornt[playerid] = 0; ConsumingMoney[playerid] = 0;
- gLastCar[playerid] = 0;
- gNews[playerid] = 0; BigEar[playerid] = 0; gDice[playerid] = 0; gFam[playerid] = 0;
- gPlayerLogged[playerid] = 0; gPlayerLogTries[playerid] = 0; gPlayerConta[playerid] = 0;
- gPlayerSpawned[playerid] = 0; PlayerKarting[playerid] = 0; PlayerInKart[playerid] = 0;
- PlayerTazeTime[playerid] = 0; PlayerStoned[playerid] = 0;
- StartTime[playerid] = 0; TicketOffer[playerid] = 999; TicketMoney[playerid] = 0;
- MatsHolding[playerid] = 0;
- gPlayerMission[playerid] = 0; TaxiAccepted[playerid] = 999; BusAccepted[playerid] = 999; MedicAccepted[playerid] = 999; MechanicAccepted[playerid] = 999; CopsrondaAccepted[playerid] = 999;
- PlayerInfo[playerid][pCash] = 1000; NoFuel[playerid] = 0;
- HireCar[playerid] = 0; PlayersChannel[playerid] = 999;
- TransportValue[playerid] = 0; TransportMoney[playerid] = 0; TransportTime[playerid] = 0; TransportCost[playerid] = 0; TransportDriver[playerid] = 999;
- Locator[playerid] = 0;
- WatchingTV[playerid] = 0; PlayerPaintballing[playerid] = 0; PlayerPaintballKills[playerid] = 0;
- Fishes[playerid][pLastFish] = 0; Fishes[playerid][pFishID] = 0;
- ProposeOffer[playerid] = 999; MarryWitness[playerid] = 999; MarryWitnessOffer[playerid] = 999; MarriageCeremoney[playerid] = 0; ProposedTo[playerid] = 999; GotProposedBy[playerid] = 999; DivorceOffer[playerid] = 999;
- GivePlayerMoney(playerid,PlayerInfo[playerid][pCash]);
- MudarNickAceito[playerid] = 0;
- MudarSenhaAceito[playerid] = 0;
- InAFoodPlace[playerid] = 0;
- autorizacaofamilia[playerid] = 0;
- TrazerTodos[playerid] = 0;
- TrazerKart[playerid] = 0;
- TrazerRally[playerid] = 0;
- OnEquipado[playerid] = 0;
- OnMafiaEquipado[playerid] = 0;
- RodrigoInfo[playerid][PLojaA1] = 0;
- RodrigoInfo[playerid][PLojaA2] = 0;
- RodrigoInfo[playerid][PpLoja247] = 0;
- RodrigoInfo[playerid][PpLoja2472] = 0;
- PlayerInfo[playerid][pLevel] = 1;
- PlayerInfo[playerid][pLocVeh] = 0;
- PlayerInfo[playerid][pAdmin] = 0;
- PlayerInfo[playerid][pVIP] = 0;
- PlayerInfo[playerid][pTimeVIP] = 0;
- PlayerInfo[playerid][pDiaVIP] = 0;
- PlayerInfo[playerid][pMesVIP] = 0;
- PlayerInfo[playerid][pAnoVIP] = 0;
- PlayerInfo[playerid][pSocio] = 0;
- PlayerInfo[playerid][pDiaSocio] = 0;
- PlayerInfo[playerid][pMesSocio] = 0;
- PlayerInfo[playerid][pAnoSocio] = 0;
- PlayerInfo[playerid][pPoint] = 0;
- PlayerInfo[playerid][pVoto] = 0;
- PlayerInfo[playerid][gPupgrade] = 0;
- PlayerInfo[playerid][pConnectTime] = 0;
- PlayerInfo[playerid][pReg] = 0;
- PlayerInfo[playerid][pSex] = 0;
- PlayerInfo[playerid][pAge] = 16;
- PlayerInfo[playerid][pOrigem] = 1;
- PlayerInfo[playerid][pExp] = 0;
- PlayerInfo[playerid][pConta] = 0;
- PlayerInfo[playerid][pCrimes] = 0;
- PlayerInfo[playerid][pDeaths] = 0;
- PlayerInfo[playerid][pPhoneBook] = 0;
- PlayerInfo[playerid][pLottoNr] = 0;
- PlayerInfo[playerid][pFishes] = 0;
- PlayerInfo[playerid][pBiggestFish] = 0;
- PlayerInfo[playerid][pEmprego] = 0;
- PlayerInfo[playerid][pSalario] = 0;
- PlayerInfo[playerid][pHeadValue] = 0;
- PlayerInfo[playerid][pJailed] = 0;
- PlayerInfo[playerid][pJailTime] = 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][pSafeDrogas] = 0;
- PlayerInfo[playerid][pSafeDrogas2] = 0;
- PlayerInfo[playerid][pSafeDrogas3] = 0;
- PlayerInfo[playerid][pLider] = 0;
- PlayerInfo[playerid][pMembro] = 0;
- PlayerInfo[playerid][pCargo] = 0;
- PlayerInfo[playerid][pContractTime] = 0;
- PlayerInfo[playerid][pDetSkill] = 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][pCookSkill] = 0;
- PlayerInfo[playerid][pFishSkill] = 0;
- PlayerInfo[playerid][pSHealth] = 0.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][pTeam] = 3;
- PlayerInfo[playerid][pSkin] = 101;
- admtrampando[playerid] = 0;
- helpertrampando[playerid] = 0;
- admhide[playerid] = 0;
- new randphone = 1000 + random(9999);//minimum 1000 max 9999 //giving one at the start
- PlayerInfo[playerid][pPnumber] = randphone;
- PlayerInfo[playerid][pPHousekey] = 255;
- PlayerInfo[playerid][pPbiskey] = 255;
- PlayerInfo[playerid][pCarLic] = 0;
- PlayerInfo[playerid][pFlyLic] = 0;
- PlayerInfo[playerid][pBoatLic] = 0;
- PlayerInfo[playerid][pFishLic] = 0;
- PlayerInfo[playerid][pGunLic] = 0;
- PlayerInfo[playerid][pPayDay] = 0;
- PlayerInfo[playerid][pCDPlayer] = 0;
- PlayerInfo[playerid][pWins] = 0;
- PlayerInfo[playerid][pLoses] = 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;
- pRoadblock[playerid] = 0;
- PlayerInfo[playerid][pParedao] = 0;
- pRoadCones[playerid] = 0;
- PlayerInfo[playerid][pRequestingBackup] = 0;
- PlayerInfo[playerid][pMask] = 0;
- PlayerInfo[playerid][pnot] = 0;
- PlayerInfo[playerid][ppapa] = 0;
- PlayerInfo[playerid][pvps] = 0;
- PlayerInfo[playerid][pMaskuse] = 0;
- PlayerInfo[playerid][pBarraca] = 0;
- PlayerInfo[playerid][pLuta] = 0;
- strmid(PlayerInfo[playerid][pLastLogin], "0/0/0/0/0/0", 0, strlen("0/0/0/0/0/0"),255);
- ClearCrime(playerid);
- ClearFishes(playerid);
- ClearCooking(playerid);
- ClearGroceries(playerid);
- ClearMarriage(playerid);
- SetPlayerColor(playerid,COLOR_GRAD2);
- TextShow[playerid] = false;
- HouseEntered[playerid] = 255;
- new nome[24], str[50];
- GetPlayerName(playerid, nome, 24);
- format(str, sizeof str, "%s - Arara", nome);
- if(dini_Isset("Araras.txt", str))
- {
- Info[playerid][Arara] = bool:dini_Bool("Araras.txt", str);
- format(str, sizeof str, "%s - Racao", nome);
- Info[playerid][Racao] = bool:dini_Bool("Araras.txt", str);
- format(str, sizeof str, "%s - Grande", nome);
- Info[playerid][Grande] = dini_Int("Araras.txt", str);
- if(Info[playerid][Arara])
- {
- Info[playerid][Timer] = SetTimerEx("Crescimento", 300000, true, "i", playerid);
- SendClientMessage(playerid, 0xFFFF00FF, "Alimente sua arara ou ela morrerá.");
- }
- }
- new string2[64];
- format(string2, sizeof(string2), "Players/%s.ini", pNome(playerid));
- SetPlayerPos(playerid,1417.8262,-808.1816,85.0546);
- SendClientMessage(playerid, COLOR_GREEN, "Espere alguns segundos...");
- //mapaicone
- SetPlayerMapIcon(playerid, 1,-1956.6346,293.0974,35.4688, 55, 0xE6E6E6E6);//wang cars sf
- SetPlayerMapIcon(playerid, 2,1552.6703,-1675.5068,16.1953, 30, 0xE6E6E6E6);//dp ls
- SetPlayerMapIcon(playerid, 3,2351.86,-1170.09,28.0468, 60, 0xE6E6E6E6);//vagos
- SetPlayerMapIcon(playerid, 4,2516.1411,-1675.4065,13.9113, 62, 0xE6E6E6E6);//grove
- SetPlayerMapIcon(playerid, 5,1684.809,-2098.48,13.8343, 58, 0xE6E6E6E6);//aztecas
- SetPlayerMapIcon(playerid, 6,1105.7688,-1206.7142,17.8047, 59, 0xE6E6E6E6);//ballas
- SetPlayerMapIcon(playerid, 7,1480.9403,-1770.8481,18.7958, 56, 0xE6E6E6E6);//Prefeitura Municipal
- SetPlayerMapIcon(playerid, 9,2243.6750,-1669.8136,21.0313, 45, 0xE6E6E6E6);//Binco
- SetPlayerMapIcon(playerid, 9,1063.7096,-1764.5421,13.3935, 45, 0xE6E6E6E6);//Binco
- SetPlayerMapIcon(playerid, 10,2090.5300,2224.4446,11.0234, 45, 0xE6E6E6E6);//ZIP
- SetPlayerMapIcon(playerid, 11,1461.8320,-1010.3407,26.8438, 52, 0xE6E6E6E6);//Banco
- SetPlayerMapIcon(playerid, 12,1070.3787,-1873.8467,13.5469, 18, 0xE6E6E6E6);//Loja de Armas 2
- //SetPlayerMapIcon(playerid, 16,1415.8468,-1693.0602,13.5469, 32, 0xE6E6E6E6); // - D.E.T.R.A.N)
- SetPlayerMapIcon(playerid, 19,1310.1265,-1367.8122,13.5408, 32, 0xE6E6E6E6); // - paintball
- SetPlayerMapIcon(playerid, 20,2350.0000,-1411.8000,23.9923, 32, 0xE6E6E6E6); // - UpCasa
- SetPlayerMapIcon(playerid, 21,1205.9715,-1459.6737,13.3859, 32, 0xE6E6E6E6); // - 24-7's
- SetPlayerMapIcon(playerid, 24,334.0479,-1507.9438,36.0391, 30, 0xE6E6E6E6); //dp rota
- SetPlayerMapIcon(playerid, 25,-49.8844,-269.3635,6.6332, 30, 0xE6E6E6E6); //dp pc
- SetPlayerMapIcon(playerid, 26,1791.212036,-1164.631713,23.828100, 18 , 0xE6E6E6E6);//Loja de Armas 1
- SetPlayerMapIcon(playerid, 27,1027.9030,-355.8242,73.9548, 30 , 0xE6E6E6E6);//cp PF
- SetPlayerMapIcon(playerid, 29,2644.5134,-2035.1990,14.8270, 27 , 0xE6E6E6E6);//TUNAR CARROS GANGS
- SetPlayerMapIcon(playerid, 29,1620.3737,-1888.8711,13.0593, 27 , 0xE6E6E6E6);//TUNAR CARROS neon
- SetPlayerMapIcon(playerid, 31,2104.2051,-1806.5345,13.5547, 29 , 0xE6E6E6E6);//PIZZARIA LS
- SetPlayerMapIcon(playerid, 33,550.7012,-1278.5721,17.2482, 55 , 0xE6E6E6E6);//Carros Aluguel 1
- SetPlayerMapIcon(playerid, 34,2158.1355,-1172.6049,23.8200, 55 , 0xE6E6E6E6);//Carros Aluguel 2
- SetPlayerMapIcon(playerid, 35,2036.9288,-1404.8433,17.2490, 22 , 0xE6E6E6E6);//Hospital
- SetPlayerMapIcon(playerid, 36,-2396.6487,-2194.7942,32.9527, 53 , 0xE6E6E6E6); // PISTA DE RALLY
- SetPlayerMapIcon(playerid, 37,-1529.5208,476.5718,7.1875, 30 , 0xE6E6E6E6); // HQ EXERCITO
- SetPlayerMapIcon(playerid, 38,975.4691,-1335.9618,13.5319, 49 , 0xE6E6E6E6); // BAR PAWNO
- SetPlayerMapIcon(playerid, 8,1498.4795,-1582.9222,13.5469, 32 , 0xE6E6E6E6); //restaurante
- SetPlayerMapIcon(playerid, 13,1206.6914,-1751.1108,13.5938, 32 , 0xE6E6E6E6); //aluguel de carros
- SetPlayerMapIcon(playerid, 14,1327.8535,-1558.0070,13.5469, 32 , 0xE6E6E6E6);//phone company
- SetPlayerMapIcon(playerid, 15,-33.7243,-1127.6255,1.0781, 32 , 0xE6E6E6E6);//gas company
- SetPlayerMapIcon(playerid, 17,-2521.0059,-623.3312,132.7690, 32 , 0xE6E6E6E6);//eletricity company
- SetPlayerMapIcon(playerid, 18,1636.6891,-1521.8157,13.5987, 32 , 0xE6E6E6E6);//pay'n spray
- SetPlayerMapIcon(playerid, 22,844.6560,-1045.5557,25.4301, 32 , 0xE6E6E6E6);//cnn
- SetPlayerMapIcon(playerid, 23,1374.7015,-1599.6871,13.5469, 32 , 0xE6E6E6E6);//car wash
- SetPlayerMapIcon(playerid, 28,2281.9092,-2364.2791,13.5469, 32 , 0xE6E6E6E6);//kart
- SetPlayerMapIcon(playerid, 42,1207.4235,-29.2568,1000.9531, 32 , 0xE6E6E6E6);//mafia mat
- SetPlayerMapIcon(playerid, 42,1240.3582,-2036.9861,59.9598, 32 , 0xE6E6E6E6);//Mafia mat
- SetPlayerMapIcon(playerid, 32,1022.5547,-1121.6744,23.8720, 32 , 0xE6E6E6E6); //cassino
- SetPlayerMapIcon(playerid, 39,1577.2410,-1474.7906,14.2203, 43 , 0xE6E6E6E6); //cocaina
- SetPlayerMapIcon(playerid, 44,1892.746704,-2244.098876,13.546899, 32 , 0xE6E6E6E6); //aeroporto
- SetPlayerMapIcon(playerid, 45,-1968.559814,296.269592,35.171901, 32 , 0xE6E6E6E6); //wang cars
- SetPlayerMapIcon(playerid, 46,1330.193603,-984.074523,33.896598, 32 , 0xE6E6E6E6); //aluguel de carros 2
- SetPlayerMapIcon(playerid, 47,1703.2197,-1470.1509,13.5469, 32 , 0xE6E6E6E6); //produtos
- SetPlayerMapIcon(playerid, 48,1272.3673,-1124.3743,24.1633, 32 , 0xE6E6E6E6); //trocar interior
- SetPlayerMapIcon(playerid, 49,154.1630,-1946.4764,5.2996, 32 , 0xE6E6E6E6); //condominio vip praia
- SetPlayerMapIcon(playerid, 50,24.0203,-2646.5645,40.4640, 30, 0xE6E6E6E6);// Incone HQ PR
- SetPlayerMapIcon(playerid, 51,2196.8142,1677.2333,12.3672, 52, 0xE6E6E6E6);//Banco LV
- SetPlayerMapIcon(playerid, 52,2129.7715,2356.5635,10.6719, 44, 0xE6E6E6E6);//Prefeitura Municipal LV
- SetPlayerMapIcon(playerid, 53,2183.7004,1828.3031,10.8203, 55 , 0xE6E6E6E6);//Carros Aluguel lv
- SetPlayerMapIcon(playerid, 54,791.2953,-1620.2736,13.3828, 23, 0xE6E6E6E6);//helpers
- SetPlayerMapIcon(playerid, 55,1812.1256,-1394.0400,13.4288, 17, 0xE6E6E6E6);//dp ls
- SetPlayerMapIcon(playerid, 56,2450.8835,-950.9857,80.0552, 26, 0x00FF00E6);
- SetPlayerMapIcon(playerid, 57,-56.7150,-1591.3341,2.8185, 30, 0xE6E6E6E6);//dp detran ls
- if(donoestacao == 0)
- {
- GangZoneShowForPlayer(playerid, GZEstacao, 0xC0C0C0AA);
- }
- if(donoestacaoLV == 0)
- {
- GangZoneShowForPlayer(playerid, GZEstacaoLV, 0xC0C0C0AA);
- }
- if(donoestacaoLV == 1)
- {
- GangZoneShowForPlayer(playerid, GZEstacaoLV, COR_SONS);
- }
- if(donoestacaoLV == 2)
- {
- GangZoneShowForPlayer(playerid, GZEstacaoLV, COR_DRIF);
- }
- if(donoestacao == 1)
- {
- GangZoneShowForPlayer(playerid, GZEstacao, COLORGZ_LH);
- }
- if(donoestacao == 2)
- {
- GangZoneShowForPlayer(playerid, GZEstacao, COLORGZ_YAKUZA);
- }
- if(donoestacao == 3)
- {
- GangZoneShowForPlayer(playerid, GZEstacao, COLORGZ_PF);
- }
- if(donocasarao == 0)
- {
- GangZoneShowForPlayer(playerid, GZCasarao, 0xC0C0C0AA);
- }
- if(donocasarao == 1)
- {
- GangZoneShowForPlayer(playerid, GZCasarao, COLORGZ_LH);
- }
- if(donocasarao == 2)
- {
- GangZoneShowForPlayer(playerid, GZCasarao, COLORGZ_YAKUZA);
- }
- if(donocasarao == 3)
- {
- GangZoneShowForPlayer(playerid, GZCasarao, COLORGZ_PF);
- }
- if(donoFavela == 0)
- {
- GangZoneShowForPlayer(playerid, GZFavela, 0xC0C0C0AA);
- }
- if(donoFavela == 1)
- {
- GangZoneShowForPlayer(playerid, GZFavela, TEAM_GROVE_COLOR);
- }
- if(donoFavela == 2)
- {
- GangZoneShowForPlayer(playerid, GZFavela, TEAM_BALLAS_COLOR);
- }
- if(donoFavela == 3)
- {
- GangZoneShowForPlayer(playerid, GZFavela, TEAM_VAGOS_COLOR);
- }
- if(donoFavela == 4)
- {
- GangZoneShowForPlayer(playerid, GZFavela, TEAM_AZTECAS_COLOR);
- }
- if(donoFavela == 5)
- {
- GangZoneShowForPlayer(playerid, GZFavela, COR_ROTA);
- }
- if(donoFavela == 6)
- {
- GangZoneShowForPlayer(playerid, GZFavela, GCOP_COLOR);
- }
- //=============================[Park Glen]======================================
- if(donopg == 0)
- {
- GangZoneShowForPlayer(playerid, GZparkglen, 0xC0C0C0AA);
- }
- if(donopg == 1)
- {
- GangZoneShowForPlayer(playerid, GZparkglen, TEAM_GROVE_COLOR);
- }
- if(donopg == 2)
- {
- GangZoneShowForPlayer(playerid, GZparkglen, TEAM_BALLAS_COLOR);
- }
- if(donopg == 3)
- {
- GangZoneShowForPlayer(playerid, GZparkglen, TEAM_VAGOS_COLOR);
- }
- if(donopg == 4)
- {
- GangZoneShowForPlayer(playerid, GZparkglen, TEAM_AZTECAS_COLOR);
- }
- if(donopg == 5)
- {
- GangZoneShowForPlayer(playerid, GZparkglen, COR_ROTA);
- }
- if(donopg == 6)
- {
- GangZoneShowForPlayer(playerid, GZparkglen, GCOP_COLOR);
- }
- //==============================================================================
- //===========================[Roda G]===========================================
- if(donoroda == 0)
- {
- GangZoneShowForPlayer(playerid, GZroda, 0xC0C0C0AA);
- }
- if(donoroda == 1)
- {
- GangZoneShowForPlayer(playerid, GZroda, TEAM_GROVE_COLOR);
- }
- if(donoroda == 2)
- {
- GangZoneShowForPlayer(playerid, GZroda, TEAM_BALLAS_COLOR);
- }
- if(donoroda == 3)
- {
- GangZoneShowForPlayer(playerid, GZroda, TEAM_VAGOS_COLOR);
- }
- if(donoroda == 4)
- {
- GangZoneShowForPlayer(playerid, GZroda, TEAM_AZTECAS_COLOR);
- }
- if(donoroda == 5)
- {
- GangZoneShowForPlayer(playerid, GZroda, COR_ROTA);
- }
- if(donoroda == 6)
- {
- GangZoneShowForPlayer(playerid, GZroda, GCOP_COLOR);
- }
- //==============================================================================
- if(donoskate == 0)
- {
- GangZoneShowForPlayer(playerid, GZSkate, 0xC0C0C0AA);
- }
- if(donoskate == 1)
- {
- GangZoneShowForPlayer(playerid, GZSkate, TEAM_GROVE_COLOR);
- }
- if(donoskate == 2)
- {
- GangZoneShowForPlayer(playerid, GZSkate, TEAM_BALLAS_COLOR);
- }
- if(donoskate == 3)
- {
- GangZoneShowForPlayer(playerid, GZSkate, TEAM_VAGOS_COLOR);
- }
- if(donoskate == 4)
- {
- GangZoneShowForPlayer(playerid, GZSkate, TEAM_AZTECAS_COLOR);
- }
- if(donoskate == 5)
- {
- GangZoneShowForPlayer(playerid, GZSkate, COR_ROTA);
- }
- if(donoskate == 6)
- {
- GangZoneShowForPlayer(playerid, GZSkate, GCOP_COLOR);
- }
- //Hotel
- if(donohotel == 0)
- {
- GangZoneShowForPlayer(playerid, GZHotel, 0xC0C0C0AA);
- }
- if(donohotel == 1)
- {
- GangZoneShowForPlayer(playerid, GZHotel, COR_SONS);
- }
- if(donohotel == 2)
- {
- GangZoneShowForPlayer(playerid, GZHotel, COR_MAYANS);
- }
- if(donohotel == 3)
- {
- GangZoneShowForPlayer(playerid, GZHotel, COR_PC);
- }
- if(donohotel == 4)
- {
- GangZoneShowForPlayer(playerid, GZHotel, COR_DRIF);
- }
- //Mata
- if(donomata == 0)
- {
- GangZoneShowForPlayer(playerid, GZMata, 0xC0C0C0AA);
- }
- if(donomata == 1)
- {
- GangZoneShowForPlayer(playerid, GZMata, COR_EXE);
- }
- if(donomata == 2)
- {
- GangZoneShowForPlayer(playerid, GZMata, COR_FARC);
- }
- if(donomata == 3)
- {
- GangZoneShowForPlayer(playerid, GZMata, COR_GI);
- }
- if(donomata == 4)
- {
- GangZoneShowForPlayer(playerid, GZMata, COR_HAMAS);
- }
- ClearChatbox(playerid, 100);
- if(fexist(string2))
- {
- gPlayerConta[playerid] = 1;
- }
- else
- {
- gPlayerConta[playerid] = 0;
- }
- return 1;
- }
- public JoinChannel(playerid, number, line[])
- {
- if(IsPlayerConnected(playerid))
- {
- if(strcmp(IRCInfo[number][iPassword],line, true ) == 0 )
- {
- JoinChannelNr(playerid, number);
- }
- else
- {
- SendClientMessage(playerid, COLOR_GREY, "Senha errada!");
- }
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement