[Ajuda] Ajudem aqui por favor, Server RPG
#3

Quote:
Originally Posted by Lуs
Посмотреть сообщение
Poste o OnPlayerConnect.
pawn Код:
public OnPlayerConnect(playerid)
{
    TextDrawShowForPlayer(playerid, Entrada[playerid]);
    DisablePlayerCheckpoint(playerid);
    KillTimer(timer[playerid]);
   
    FilaAtendimentoText[playerid] = TextDrawCreate(500 ,150 , "_");
    TextDrawFont(FilaAtendimentoText[playerid] , 1);
    TextDrawLetterSize(FilaAtendimentoText[playerid] , 0.399999, 1.300000);
    TextDrawColor(FilaAtendimentoText[playerid] , 0xc4ff00FF);
    TextDrawSetOutline(FilaAtendimentoText[playerid] , 1);
    TextDrawSetProportional(FilaAtendimentoText[playerid] , true);
    TextDrawSetShadow(FilaAtendimentoText[playerid] , 1);
    TextDrawHideForPlayer(playerid,FilaAtendimentoText[playerid]);

    TempoAtendimento2Text[playerid] = TextDrawCreate(500 ,165 , "_");
    TextDrawFont(TempoAtendimento2Text[playerid] , 1);
    TextDrawLetterSize(TempoAtendimento2Text[playerid] , 0.399999, 1.300000);
    TextDrawColor(TempoAtendimento2Text[playerid] , 0xc4ff00FF);
    TextDrawSetOutline(TempoAtendimento2Text[playerid] , 1);
    TextDrawSetProportional(TempoAtendimento2Text[playerid] , true);
    TextDrawSetShadow(TempoAtendimento2Text[playerid] , 1);
    TextDrawHideForPlayer(playerid,TempoAtendimento2Text[playerid]);
    FilaAtendimento[playerid] = 999;
    TempoAtendimento2[playerid] = 0;
    //DP DA POLICIA CIVIL
    //RemoveBuildingForPlayer(playerid, 3777, 831.9609, -1191.1406, 25.0391, 0.25);
    //RemoveBuildingForPlayer(playerid, 3777, 868.1328, -1191.1406, 25.0391, 0.25);
    RemoveBuildingForPlayer(playerid, 5926, 816.3359, -1217.1484, 26.4453, 0.25);
    //RemoveBuildingForPlayer(playerid, 3777, 902.3359, -1191.1406, 25.0391, 0.25);
    RemoveBuildingForPlayer(playerid, 6005, 895.2578, -1256.9297, 31.2344, 0.25);
    RemoveBuildingForPlayer(playerid, 5836, 816.3359, -1217.1484, 26.4453, 0.25);
    //RemoveBuildingForPlayer(playerid, 3776, 831.9609, -1191.1406, 25.0391, 0.25);
    //RemoveBuildingForPlayer(playerid, 3776, 868.1328, -1191.1406, 25.0391, 0.25);
    RemoveBuildingForPlayer(playerid, 5838, 895.2578, -1256.9297, 31.2344, 0.25);
    //RemoveBuildingForPlayer(playerid, 3776, 902.3359, -1191.1406, 25.0391, 0.25);
    //Los Santos
    RemoveBuildingForPlayer(playerid, 956, 1634.1487,-2238.2810,13.5077, 20.0); //Snack vender @ LS Airport
    RemoveBuildingForPlayer(playerid, 956, 2480.9885,-1958.5117,13.5831, 20.0); //Snack vender @ Sushi Shop in Willowfield
    RemoveBuildingForPlayer(playerid, 955, 1729.7935,-1944.0087,13.5682, 20.0); //Sprunk machine @ Unity Station
    RemoveBuildingForPlayer(playerid, 955, 2060.1099,-1898.4543,13.5538, 20.0); //Sprunk machine opposite Tony's Liqour in Willowfield
    RemoveBuildingForPlayer(playerid, 955, 2325.8708,-1645.9584,14.8270, 20.0); //Sprunk machine @ Ten Green Bottles
    RemoveBuildingForPlayer(playerid, 955, 1153.9130,-1460.8893,15.7969, 20.0); //Sprunk machine @ Market
    RemoveBuildingForPlayer(playerid, 955,1788.3965,-1369.2336,15.7578, 20.0); //Sprunk machine in Downtown Los Santos
    RemoveBuildingForPlayer(playerid, 955, 2352.9939,-1357.1105,24.3984, 20.0); //Sprunk machine @ Liquour shop in East Los Santos
    RemoveBuildingForPlayer(playerid, 1775, 2224.3235,-1153.0692,1025.7969, 20.0); //Sprunk machine @ Jefferson Motel
    RemoveBuildingForPlayer(playerid, 956, 2140.2566,-1161.7568,23.9922, 20.0); //Snack machine @ pick'n'go market in Jefferson
    RemoveBuildingForPlayer(playerid, 956, 2154.1199,-1015.7635,62.8840, 20.0); //Snach machine @ Carniceria El Pueblo in Las Colinas
    RemoveBuildingForPlayer(playerid, 956, 662.5665,-551.4142,16.3359, 20.0); //Snack vender at Dillimore Gas Station
    RemoveBuildingForPlayer(playerid, 955, 200.2010,-107.6401,1.5513, 20.0); //Sprunk machine @ Blueberry Safe House
    RemoveBuildingForPlayer(playerid, 956, 2271.4666,-77.2104,26.5824, 20.0); //Snack machine @ Palomino Creek Library
    RemoveBuildingForPlayer(playerid, 955, 1278.5421,372.1057,19.5547, 20.0); //Sprunk machine @ Papercuts in Montgomery
    RemoveBuildingForPlayer(playerid, 955, 1929.5527,-1772.3136,13.5469, 20.0); //Sprunk machine @ Idlewood Gas Station
    //San Fierro
    RemoveBuildingForPlayer(playerid, 1302, -2419.5835,984.4185,45.2969, 20.0); //Soda machine 1 @ Juniper Hollow Gas Station
    RemoveBuildingForPlayer(playerid, 1209, -2419.5835,984.4185,45.2969, 20.0); //Soda machine 2 @ Juniper Hollow Gas Station
    RemoveBuildingForPlayer(playerid, 956, -2229.2075,287.2937,35.3203, 20.0); //Snack vender @ King's Car Park
    RemoveBuildingForPlayer(playerid, 955, -1349.3947,493.1277,11.1953, 20.0); //Sprunk machine @ SF Aircraft Carrier
    RemoveBuildingForPlayer(playerid, 956, -1349.3947,493.1277,11.1953, 20.0); //Snack vender @ SF Aircraft Carrier
    RemoveBuildingForPlayer(playerid, 955, -1981.6029,142.7232,27.6875, 20.0); //Sprunk machine @ Cranberry Station
    RemoveBuildingForPlayer(playerid, 955, -2119.6245,-422.9411,35.5313, 20.0); //Sprunk machine 1/2 @ SF Stadium
    RemoveBuildingForPlayer(playerid, 955, -2097.3696,-397.5220,35.5313, 20.0); //Sprunk machine 3 @ SF Stadium
    RemoveBuildingForPlayer(playerid, 955, -2068.5593,-397.5223,35.5313, 20.0); //Sprunk machine 3 @ SF Stadium
    RemoveBuildingForPlayer(playerid, 955, -2039.8802,-397.5214,35.5313, 20.0); //Sprunk machine 3 @ SF Stadium
    RemoveBuildingForPlayer(playerid, 955, -2011.1403,-397.5225,35.5313, 20.0); //Sprunk machine 3 @ SF Stadium
    RemoveBuildingForPlayer(playerid, 955, -2005.7861,-490.8688,35.5313, 20.0); //Sprunk machine 3 @ SF Stadium
    RemoveBuildingForPlayer(playerid, 955, -2034.5267,-490.8681,35.5313, 20.0); //Sprunk machine 3 @ SF Stadium
    RemoveBuildingForPlayer(playerid, 955, -2063.1875,-490.8687,35.5313, 20.0); //Sprunk machine 3 @ SF Stadium
    RemoveBuildingForPlayer(playerid, 955, -2091.9780,-490.8684,35.5313, 20.0); //Sprunk machine 3 @ SF Stadium
    //Las Venturas
    RemoveBuildingForPlayer(playerid, 956, -1455.1298,2592.4138,55.8359, 20.0); //Snack vender @ El Quebrados GONE
    RemoveBuildingForPlayer(playerid, 955, -252.9574,2598.9048,62.8582, 20.0); //Sprunk machine @ Las Payasadas GONE
    RemoveBuildingForPlayer(playerid, 956, -252.9574,2598.9048,62.8582, 20.0); //Snack vender @ Las Payasadas GONE
    RemoveBuildingForPlayer(playerid, 956, 1398.7617,2223.3606,11.0234, 20.0); //Snack vender @ Redsands West GONE
    RemoveBuildingForPlayer(playerid, 955, -862.9229,1537.4246,22.5870, 20.0); //Sprunk machine @ The Smokin' Beef Grill in Las Barrancas GONE
    RemoveBuildingForPlayer(playerid, 955, -14.6146,1176.1738,19.5634, 20.0); //Sprunk machine @ Fort Carson GONE
    RemoveBuildingForPlayer(playerid, 956, -75.2839,1227.5978,19.7360, 20.0); //Snack vender @ Fort Carson GONE
    RemoveBuildingForPlayer(playerid, 955, 1519.3328,1055.2075,10.8203, 20.0); //Sprunk machine @ LVA Freight Department GONE
    RemoveBuildingForPlayer(playerid, 956, 1659.5096,1722.1096,10.8281, 20.0); //Snack vender near Binco @ LV Airport GONE
    RemoveBuildingForPlayer(playerid, 955, 2086.5872,2071.4958,11.0579, 20.0); //Sprunk machine @ Sex Shop on The Strip
    RemoveBuildingForPlayer(playerid, 955, 2319.9001,2532.0376,10.8203, 20.0); //Sprunk machine @ Pizza co by Julius Thruway (North)
    RemoveBuildingForPlayer(playerid, 955, 2503.2061,1244.5095,10.8203, 20.0); //Sprunk machine @ Club in the Camels Toe
    RemoveBuildingForPlayer(playerid, 956, 2845.9919,1294.2975,11.3906, 20.0); //Snack vender @ Linden Station
    //Interiors: 24/7 and Clubs
    RemoveBuildingForPlayer(playerid, 1775, 496.0843,-23.5310,1000.6797, 20.0); //Sprunk machine 1 @ Club in Camels Toe
    RemoveBuildingForPlayer(playerid, 1775, 501.1219,-2.1968,1000.6797, 20.0); //Sprunk machine 2 @ Club in Camels Toe
    RemoveBuildingForPlayer(playerid, 1776, 501.1219,-2.1968,1000.6797, 20.0); //Snack vender @ Club in Camels Toe
    RemoveBuildingForPlayer(playerid, 1775, -19.2299,-57.0460,1003.5469, 20.0); //Sprunk machine @ Roboi's type 24/7 stores
    RemoveBuildingForPlayer(playerid, 1776, -35.9012,-57.1345,1003.5469, 20.0); //Snack vender @ Roboi's type 24/7 stores
    RemoveBuildingForPlayer(playerid, 1775, -17.0036,-90.9709,1003.5469, 20.0); //Sprunk machine @ Other 24/7 stores
    RemoveBuildingForPlayer(playerid, 1776, -17.0036,-90.9709,1003.5469, 20.0); //Snach vender @ Others 24/7 stores

    if(IsPlayerNPC(playerid)){SpawnPlayer(playerid);return true;}
    IPlog(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: Guru_Josh");
    SendClientMessage(playerid, COLOR_LIGHTBLUE, "Troque-o e volte, Obrigado.");
    format(gstring,64,"Contas/%s.ini",PlayerName(playerid));Kick(playerid);fremove(gstring);return true;}
    if(strcmp("Homem_Aranha",PlayerName(playerid),true)==0){SendClientMessage(playerid,COLOR_AZULBB,"Nгo tente imitar Homem_Aranha ele nгo gosta disso!");
    SendClientMessage(playerid,COLOR_AZULBB,"Homem_Aranha te kickou!");Kick(playerid);}
    for(new i; i<sizeof(NicksProibidos); i++){if(strcmp(NicksProibidos[i],PlayerName(playerid),true)==0){SendClientMessage(playerid,COLOR_WHITE,"Vocк estб usando um nome que й proibido.");
    SendClientMessage(playerid,COLOR_AZULBB,"Vocк foi banido!");getdate(Ano, Mes, Dia);
    SBan(playerid, "Pego Usando um nome que й proibido no servidor.", "Automбtico");}}
    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
    var1[playerid] = 0;
    EmDialog[playerid] = 0;
    gmsg[playerid] = 0;
    PlayerInfo[playerid][pGun1] = 0;
    TruckMission[playerid] = 0;
    PlayerInfo[playerid][pGun2] = 0;
    PlayerInfo[playerid][pGun3] = 0;
    PlayerInfo[playerid][pGun4] = 0;
    storeexit[playerid] = 0;
    PlayerInfo[playerid][pGrampo] = INVALID_PLAYER_ID;
    barexit[playerid] = 0;
    lotericaexit[playerid] = 0;
    away[playerid] = 0;
    pCofreOrg[playerid] = 0;
    InviteOffer[playerid] = 999;
    InviteJob[playerid] = 0;
    cdivulgar[playerid] = 0;
    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;
    HidePM[playerid] = 0;
    PlayerInfo[playerid][pCaixinha] = 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;
    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;
    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;
    JailPrice[playerid] = 0; MedicTime[playerid] = 0; NeedMedicTime[playerid] = 0; MedicBill[playerid] = 0; GotHit[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;
    PlayerTazeTime[playerid] = 0; PlayerStoned[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;
    TransportValue[playerid] = 0; TransportMoney[playerid] = 0; TransportTime[playerid] = 0; TransportCost[playerid] = 0; TransportDriver[playerid] = 999;
    Locator[playerid] = 0;
    WatchingTV[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;
    OnEquipado[playerid] = 0;
    OnMafiaEquipado[playerid] = 0;
    ThiagoInfo[playerid][PLojaA1] = 0;
    ThiagoInfo[playerid][PLojaA2] = 0;
    ThiagoInfo[playerid][PpLoja247] = 0;
    ThiagoInfo[playerid][PpLoja2472] = 0;
    PlayerInfo[playerid][pLevel] = 0;
    PlayerInfo[playerid][pAdmin] = 0;
    PlayerInfo[playerid][pHelper] = 0;
    PlayerInfo[playerid][pVIP] = 0;
    PlayerInfo[playerid][pSocio] = 0;
    PlayerInfo[playerid][gPupgrade] = 0;
    PlayerInfo[playerid][pConnectTime] = 0;
    PlayerInfo[playerid][pReg] = 0;
    PlayerInfo[playerid][pSex] = 0;
    PlayerInfo[playerid][pAge] = 0;
    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][pHeadValueT] = 0;
    PlayerInfo[playerid][pCapacete] = 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] = 0;
    admtrampando[playerid] = 0;
    admhide[playerid] = 0;
    helperhide[playerid] = 0;
    helpertrampando[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;
    SpikeInfo[playerid][sCreated] = 0;
    PlayerInfo[playerid][pRequestingBackup] = 0;
    PlayerInfo[playerid][pMask] = 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);
    /*localizardppm[playerid] = 0;
    localizardppc[playerid] = 0;
    localizardppf[playerid] = 0;
    localizardpbope[playerid] = 0;
    localizarbanco[playerid] = 0;
    localizarprefeitura[playerid] = 0;*/

    SetPlayerColor(playerid,COLOR_GRAD2);
    TextShow[playerid] = false;
    HouseEntered[playerid] = 255;
    new string2[64];
    format(string2, sizeof(string2), "Contas/%s.ini", PlayerName(playerid));
    SendClientMessage(playerid, COLOR_YELLOW, "Carregando...");
    SetPlayerMapIcon(playerid, 1,1552.6703,-1675.5068,16.1953, 30, 0xE6E6E6E6);//dp ls
    SetPlayerMapIcon(playerid, 2,1480.9403,-1770.8481,18.7958, 56, 0xE6E6E6E6);//Prefeitura
    SetPlayerMapIcon(playerid, 3,2243.6750,-1669.8136,21.0313, 45, 0xE6E6E6E6);//Binco
    SetPlayerMapIcon(playerid, 4,1456.9010,-1137.6941,23.9617, 45, 0xE6E6E6E6);//ZIP
    SetPlayerMapIcon(playerid, 5,1461.8320,-1010.3407,26.8438, 52, 0xE6E6E6E6);//Banco
    SetPlayerMapIcon(playerid, 6,1367.3584,-1287.9617,35.3292, 18, 0xE6E6E6E6);//Ammu Nation
    SetPlayerMapIcon(playerid, 7,1415.8468,-1693.0602,13.5469, 32, 0xE6E6E6E6); // centro de licencas
    SetPlayerMapIcon(playerid, 8,334.0479,-1507.9438,36.0391, 30, 0xE6E6E6E6); //dp bope
    SetPlayerMapIcon(playerid, 9,918.9910,-1252.1665,16.2109, 30, 0xE6E6E6E6); //dp pc
    SetPlayerMapIcon(playerid, 10,1791.212036,-1164.631713,23.828100, 18 , 0xE6E6E6E6);//Loja de Armas 1
    SetPlayerMapIcon(playerid, 11,-43.4741,-311.0089,5.4297, 30 , 0xE6E6E6E6);//cp PF
    SetPlayerMapIcon(playerid, 12,2104.2051,-1806.5345,13.5547, 29 , 0xE6E6E6E6);//PIZZARIA LS
    SetPlayerMapIcon(playerid, 13,550.7012,-1278.5721,17.2482, 19 , 0xE6E6E6E6);//Carros Aluguel 1
    SetPlayerMapIcon(playerid, 14,2158.1355,-1172.6049,23.8200, 19 , 0xE6E6E6E6);//Carros Aluguel 2
    SetPlayerMapIcon(playerid, 15,1219.2595,-1812.4048,16.5938, 19 , 0xE6E6E6E6); //aluguel de carros perto spawn
    SetPlayerMapIcon(playerid, 16,1330.193603,-984.074523,33.896598, 19 , 0xE6E6E6E6); //aluguel de carros 2
    SetPlayerMapIcon(playerid, 17,-1968.559814,296.269592,35.171901, 19 , 0xE6E6E6E6); //wang cars
    SetPlayerMapIcon(playerid, 18,-1529.5208,476.5718,7.1875, 30 , 0xE6E6E6E6); // HQ EXERCITO
    SetPlayerMapIcon(playerid, 19,1703.2197,-1470.1509,13.5469, 51 , 0xE6E6E6E6); //produtos
    SetPlayerMapIcon(playerid, 21,1833.6124,-1842.4968,13.5781, 17 , 0xE6E6E6E6); //mercado
    SetPlayerMapIcon(playerid, 22,1000.5861,-919.8832,42.3281, 17 , 0xE6E6E6E6); //mercado
    SetPlayerMapIcon(playerid, 23,1928.6006,-1776.4480,13.5469, 17 , 0xE6E6E6E6); //mercado
    SetPlayerMapIcon(playerid, 24,1315.5110,-898.9860,39.5781, 17 , 0xE6E6E6E6); //mercado
    SetPlayerMapIcon(playerid, 25,1352.4357,-1759.0243,13.5078, 17 , 0xE6E6E6E6); //mercado
    SetPlayerMapIcon(playerid, 26,1837.0278,-1682.3890,13.3233, 48 , 0xE6E6E6E6); //alhambra
    SetPlayerMapIcon(playerid, 27,1173.1270,-1323.4219,15.3960, 22 , 0xE6E6E6E6); //samu hospital
    SetPlayerMapIcon(playerid, 28,2027.6760,-1405.0399,16.7958, 22 , 0xE6E6E6E6); //hospital pista
    SetPlayerMapIcon(playerid, 29,1440.1481,-2229.0723,13.5469, 55 , 0xE6E6E6E6); //MECANICOS
    SetPlayerMapIcon(playerid, 30,1203.9453,-921.0353,42.6221, 10 , 0xE6E6E6E6); //BURGER SHOT ls
    SetPlayerMapIcon(playerid, 31,1450.0607,-1965.0198,29.8656, 23, 0xE6E6E6E6);//Madeiras Ilegais
    SetPlayerMapIcon(playerid, 32,929.5987,-939.8140,42.7128, 53, 0xE6E6E6E6);//D.E.T.R.A.N
    SetPlayerMapIcon(playerid, 33,461.3484,-1500.9084,31.0592, 45, 0xE6E6E6E6);//VICTIM
    if(donoestacao == 0)
    {
        GangZoneShowForPlayer(playerid, GZEstacao, 0xC0C0C0AA);
    }
    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_BOPE);
    }
    if(donoFavela == 6)
    {
        GangZoneShowForPlayer(playerid, GZFavela, GCOP_COLOR);
    }
    if(donoFavela == 7)
    {
        GangZoneShowForPlayer(playerid, GZFavela, 0xF6000000);
    }
    if(donoFavela == 8)
    {
        GangZoneShowForPlayer(playerid, GZFavela, COR_SONS);
    }
    if(donoFavela == 9)
    {
        GangZoneShowForPlayer(playerid, GZFavela, COR_PR);
    }
    if(donoFavela == 10)
    {
        GangZoneShowForPlayer(playerid, GZFavela, COR_DRIFTERS);
    }

    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_BOPE);
    }
    if(donoskate == 6)
    {
        GangZoneShowForPlayer(playerid, GZSkate, GCOP_COLOR);
    }
    if(donoskate == 7)
    {
        GangZoneShowForPlayer(playerid, GZSkate, 0xF6000000);
    }
    if(donoskate == 8)
    {
        GangZoneShowForPlayer(playerid, GZSkate, COR_SONS);
    }
    if(donoskate == 9)
    {
        GangZoneShowForPlayer(playerid, GZSkate, COR_PR);
    }
    if(donoskate == 10)
    {
        GangZoneShowForPlayer(playerid, GZSkate, COR_DRIFTERS);
    }

    if(donoaero == 0)
    {
        GangZoneShowForPlayer(playerid, GZAero, 0xC0C0C0AA);
    }
    if(donoaero == 1)
    {
        GangZoneShowForPlayer(playerid, GZAero, TEAM_GROVE_COLOR);
    }
    if(donoaero == 2)
    {
        GangZoneShowForPlayer(playerid, GZAero, TEAM_BALLAS_COLOR);
    }
    if(donoaero == 3)
    {
        GangZoneShowForPlayer(playerid, GZAero, TEAM_VAGOS_COLOR);
    }
    if(donoaero == 4)
    {
        GangZoneShowForPlayer(playerid, GZAero, TEAM_AZTECAS_COLOR);
    }
    if(donoaero == 5)
    {
        GangZoneShowForPlayer(playerid, GZAero, COR_BOPE);
    }
    if(donoaero == 6)
    {
        GangZoneShowForPlayer(playerid, GZAero, GCOP_COLOR);
    }
    if(donoaero == 7)
    {
        GangZoneShowForPlayer(playerid, GZAero, 0xF6000000);
    }
    if(donoaero == 8)
    {
        GangZoneShowForPlayer(playerid, GZAero, COR_SONS);
    }
    if(donoaero == 9)
    {
        GangZoneShowForPlayer(playerid, GZAero, COR_PR);
    }
    if(donoaero == 10)
    {
        GangZoneShowForPlayer(playerid, GZAero, COR_DRIFTERS);
    }

    if(donopark == 0)
    {
        GangZoneShowForPlayer(playerid, GZPark, 0xC0C0C0AA);
    }
    if(donopark == 1)
    {
        GangZoneShowForPlayer(playerid, GZPark, TEAM_GROVE_COLOR);
    }
    if(donopark == 2)
    {
        GangZoneShowForPlayer(playerid, GZPark, TEAM_BALLAS_COLOR);
    }
    if(donopark == 3)
    {
        GangZoneShowForPlayer(playerid, GZPark, TEAM_VAGOS_COLOR);
    }
    if(donopark == 4)
    {
        GangZoneShowForPlayer(playerid, GZPark, TEAM_AZTECAS_COLOR);
    }
    if(donopark == 5)
    {
        GangZoneShowForPlayer(playerid, GZPark, COR_BOPE);
    }
    if(donopark == 6)
    {
        GangZoneShowForPlayer(playerid, GZPark, GCOP_COLOR);
    }
    if(donopark == 7)
    {
        GangZoneShowForPlayer(playerid, GZPark, 0xF6000000);
    }
    if(donopark == 8)
    {
        GangZoneShowForPlayer(playerid, GZPark, COR_SONS);
    }
    if(donopark == 9)
    {
        GangZoneShowForPlayer(playerid, GZPark, COR_PR);
    }
    if(donopark == 10)
    {
        GangZoneShowForPlayer(playerid, GZPark, COR_DRIFTERS);
    }

    ClearChatbox(playerid, 100);
    if(fexist(string2))
    {
        gPlayerConta[playerid] = 1;
    }
    else
    {
        gPlayerConta[playerid] = 0;
    }
    return true;
}
Reply


Messages In This Thread
Ajudem aqui por favor, Server RPG - by tristtok - 11.09.2013, 23:06
Re: Ajudem aqui por favor, Server RPG - by Lуs - 11.09.2013, 23:07
Re: Ajudem aqui por favor, Server RPG - by tristtok - 11.09.2013, 23:09
Re: Ajudem aqui por favor, Server RPG - by tristtok - 11.09.2013, 23:21
Re: Ajudem aqui por favor, Server RPG - by Lуs - 11.09.2013, 23:22
Re: Ajudem aqui por favor, Server RPG - by tristtok - 11.09.2013, 23:29
Re: Ajudem aqui por favor, Server RPG - by Lуs - 11.09.2013, 23:32

Forum Jump:


Users browsing this thread: 1 Guest(s)