Guest User

onconnectplayer

a guest
May 21st, 2013
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 38.66 KB | None | 0 0
  1. public OnPlayerConnect(playerid)
  2. {
  3.  
  4.     new string[100];
  5.     new plname[MAX_PLAYER_NAME];
  6.     new playersip[64];
  7.     new zone[MAX_ZONE_NAME];
  8.     GetPlayer2DZone(playerid, zone, MAX_ZONE_NAME);
  9.     GetPlayerName(playerid, plname, sizeof(plname));
  10.     GetPlayerIp(playerid,playersip,sizeof(playersip));
  11.     new namestring = strfind(plname, "_", true);
  12.     format(string, sizeof(string),"%s",playersip);
  13.     gPlayerUsingLoopingAnim[playerid] = 0;
  14.     gPlayerAnimLibsPreloaded[playerid] = 0;
  15.     if(AntiName == 1)
  16.     {
  17.         if(namestring == -1)
  18.         {
  19.             format(string, sizeof(string),"[ APB|RP ] %s, Je kikovan zbog nepravilnog Imena",plname);
  20.             SendClientMessageToAll(COLOR_NICERED, string);
  21.             SendClientMessage(playerid, COLOR_YELLOW2, "Vase ime nije prihvatljivo.");
  22.             SendClientMessage(playerid, COLOR_YELLOW2, "Napomena: Vase ime mora biti u formatu Ime_Prezime.");
  23.             new y, m, d;
  24.             new h,mi,s;
  25.             getdate(y,m,d);
  26.             gettime(h,mi,s);
  27.             format(string,sizeof(string), "(%d/%d/%d)[%d:%d:%d] Anticheat je kikovao %s zbog nepravilnog Imena",d,m,y,h,mi,s,plname);
  28.             KickLog(string);
  29.             Kick(playerid);
  30.             return 1;
  31.         }
  32.     }
  33.     if(IsPlayerNPC(playerid))
  34.     {
  35.         SpawnPlayer(playerid);
  36.         return 1;
  37.     }
  38.     PlayAudioStreamForPlayer(playerid,"http://k007.kiwi6.com/hotlink/qnyue1p6f3/gta_san_andreas_cj_rap.mp3");
  39.     format(string, sizeof(string),"{0049FF}%s {FFFFFF}se pridruzio na {6EF83C}APB RolePlay{FFFFFF}",plname);
  40.     SendAdminMessage(COLOR_GREEN, string);
  41.     format(string, sizeof(string),"{0049FF}%s {FFFFFF}se pridruzio na {6EF83C}APB RolePlay{FFFFFF}",plname);
  42.     for(new i=0; i < MAX_PLAYERS; i++)
  43.     {
  44.         if(IsPlayerConnected(i))
  45.         {
  46.             if(PlayerInfo[i][pAdmin] < 1)
  47.             {
  48.                 SendClientMessage(i, COLOR_GREY, string);
  49.             }
  50.         }
  51.     }
  52.     SetTimerEx("showmotd",4000, false, "i", playerid);
  53.     SetTimerEx("hidemotd", 80000, false, "i", playerid);
  54.     gActivePlayers[playerid]++;
  55.     numplayers++;
  56.     TestPoints[playerid] = 0;
  57.     OfficerCourseStep[playerid] = 255;
  58.     IsPlayerInEVehicle[playerid] = 9999;
  59.     Searching[playerid] = 0;
  60.     admin[playerid] = 0;
  61.     AFK[playerid] = 0;
  62.     UsedAreaRecently[playerid] = 0;
  63.     SelectChar[playerid] = 0;
  64.     HidePM[playerid] = 0;
  65.     PhoneOnline[playerid] = 0;
  66.     SelectCharID[playerid] = 0;
  67.     SelectCharPlace[playerid] = 0;
  68.     ChosenSkin[playerid] = 0;
  69.     GettingJob[playerid] = 0;
  70.     GuardOffer[playerid] = 999;
  71.     GuardPrice[playerid] = 0;
  72.     ApprovedLawyer[playerid] = 0;
  73.     CallLawyer[playerid] = 0;
  74.     WantLawyer[playerid] = 0;
  75.     KickPlayer[playerid] = 0;
  76.     UsedFind[playerid] = 0;
  77.     CP[playerid] = 0;
  78.     Robbed[playerid] = 0;
  79.     CarOffer[playerid] = 999;
  80.     CarPrice[playerid] = 0;
  81.     CarID[playerid] = 0;
  82.     CarCalls[playerid] = 0;
  83.     RobbedTime[playerid] = 0;
  84.     MoneyMessage[playerid] = 0;
  85.     Condom[playerid] = 0;
  86.     Rope[playerid] = 0;
  87.     STDPlayer[playerid] = 0;
  88.     SexOffer[playerid] = 999;
  89.     SexPrice[playerid] = 0;
  90.     RepairOffer[playerid] = 999;
  91.     RepairPrice[playerid] = 0;
  92.     RepairCar[playerid] = 0;
  93.     votedrecently[playerid] = 0;
  94.     Showing[playerid] = 0;
  95.     TalkingLive[playerid] = 255;
  96.     LiveOffer[playerid] = 999;
  97.     TakingLesson[playerid] = 0;
  98.     RefillOffer[playerid] = 999;
  99.     RefillPrice[playerid] = 0;
  100.     DrugOffer[playerid] = 999;
  101.     PlayerCuffed[playerid] = 0;
  102.     PlayerCuffedTime[playerid] = 0;
  103.     DrugPrice[playerid] = 0;
  104.     CanUseUpgrade[playerid] = 0;
  105.     CanChangeName[playerid] = 0;
  106.     RegistrationStep[playerid] = 0;
  107.     OnCK[playerid] = 999;
  108.     GettingCK[playerid] = 999;
  109.     DrugGram[playerid] = 0;
  110.     ConnectedToPC[playerid] = 0;
  111.     OrderReady[playerid] = 0;
  112.     JailPrice[playerid] = 0;
  113.     MedicTime[playerid] = 0;
  114.     NeedMedicTime[playerid] = 0;
  115.     MedicBill[playerid] = 0;
  116.     GotHit[playerid] = 0;
  117.     WantedPoints[playerid] = 0;
  118.     GoChase[playerid] = 999;
  119.     GetChased[playerid] = 999;
  120.     PlacedNews[playerid] = 0;
  121.     PlayerInfo[playerid][pDuty] = 0;
  122.     WantedLevel[playerid] = 0;
  123.     TestFishes[playerid] = 0;
  124.     BoxWaitTime[playerid] = 0;
  125.     SchoolSpawn[playerid] = 0;
  126.     ChangePos2[playerid][1] = 0;
  127.     SafeTime[playerid] = 60;
  128.     TransportDuty[playerid] = 0;
  129.     PlayerTied[playerid] = 0;
  130.     BusCallTime[playerid] = 0;
  131.     TaxiCallTime[playerid] = 0;
  132.     MedicCallTime[playerid] = 0;
  133.     MechanicCallTime[playerid] = 0;
  134.     BusrouteEast[playerid][0] = 0;
  135.     BusrouteWest[playerid][0] = 0;
  136.     BusShowLocation[playerid][0] = 0;
  137.     BusShowLocationC[playerid] = 0;
  138.     FindTimePoints[playerid] = 0;
  139.     FindTime[playerid] = 0;
  140.     JobDuty[playerid] = 0;
  141.     Mobile[playerid] = 255;
  142.     BoxOffer[playerid] = 999;
  143.     PlayerBoxing[playerid] = 0;
  144.     Spectate[playerid] = 255;
  145.     PlayerDrunk[playerid] = 0;
  146.     PlayerDrunkTime[playerid] = 0;
  147.     Unspec[playerid][sLocal] = 255;
  148.     FishCount[playerid] = 0;
  149.     WritingPaper[playerid] = 0;
  150.     WritingPaperNumber[playerid] = 999;
  151.     WritingLine[playerid] = 0;
  152.     BringingPaper[playerid] = 0;
  153.     GotPaper[playerid] = 0;
  154.     PaperOffer[playerid] = 999;
  155.     ScriptMoney[playerid] = 0;
  156.     ScriptMoneyUpdated[playerid] = 0;
  157.     for (new c=0; c<13; c++) ScriptWeapons[playerid][c] = 0;
  158.     ScriptWeaponsUpdated[playerid] = 0;
  159.     gLastCar[playerid] = 0;
  160.     FirstSpawn[playerid] = 1;
  161.     gOoc[playerid] = 0;
  162.     gNews[playerid] = 0;
  163.     BigEar[playerid] = 0;
  164.     gDice[playerid] = 0;
  165.     gFam[playerid] = 0;
  166.     gSpeedo[playerid] = 0; gGas[playerid] = 0;
  167.     gPlayerLogged[playerid] = 0;
  168.     gPlayerLogTries[playerid] = 0;
  169.     gPlayerSpawned[playerid] = 0;
  170.     PlayerTazeTime[playerid] = 0;
  171.     PlayerStoned[playerid] = 0;
  172.     StartTime[playerid] = 0;
  173.     TicketOffer[playerid] = 999;
  174.     TicketMoney[playerid] = 0;
  175.     MatsHolding[playerid] = 0;
  176.     TutTime[playerid] = 0;
  177.     TaxiAccepted[playerid] = 999;
  178.     BusAccepted[playerid] = 999;
  179.     NoFuel[playerid] = 0;
  180.     HireCar[playerid] = 299;
  181.     GangCar[playerid] = 512;
  182.     PlayersChannel[playerid] = 999;
  183.     TransportValue[playerid] = 0;
  184.     TransportMoney[playerid] = 0;
  185.     TransportTime[playerid] = 0;
  186.     TransportCost[playerid] = 0;
  187.     TransportDriver[playerid] = 999;
  188.     Locator[playerid] = 0;
  189.     WatchingTV[playerid] = 0;
  190.     Fishes[playerid][pLastFish] = 0;
  191.     Fishes[playerid][pFishID] = 0;
  192.     ProposeOffer[playerid] = 999;
  193.     MarryWitness[playerid] = 999;
  194.     MarryWitnessOffer[playerid] = 999;
  195.     MarriageCeremoney[playerid] = 0;
  196.     ProposedTo[playerid] = 999;
  197.     GotProposedBy[playerid] = 999;
  198.     DivorceOffer[playerid] = 999;
  199.     PizzaCallTime[playerid] = 0;
  200.     bPizza[playerid] = 0;
  201.     sPizza[playerid] = 0;
  202.     gEngine[playerid] = 0;
  203.     FarmerVar[playerid] = 0;
  204.     FarmerPickup[playerid][0] = 0;
  205.     SmugglerWork[playerid] = 0;
  206.     SmuggledDrugs[playerid] = 0;
  207.     JustDied[playerid] = 0;
  208.     KnockedDown[playerid] = 0;
  209.     UnidentifedCall[playerid] = 0;
  210.     LicenseOffer[playerid] = 999;
  211.     LicensePrice[playerid] = 0;
  212.     LicenseType[playerid] = 0;
  213.     UsingDrugs[playerid] = 0;
  214.     AfterTutorial[playerid] = 0;
  215.     OwnableCarOffer[playerid] = 999;
  216.     OwnableCarID[playerid] = 0;
  217.     OwnableCarPrice[playerid] = 0;
  218.     BlindFold[playerid] = 0;
  219.     PlayerIsSweeping[playerid] = 0;
  220.     JustReported[playerid] = 0;
  221.     PlayerNeedsHelp[playerid] = 0;
  222.     AdminSpec[playerid] = 0;
  223.     IsSmoking[playerid] = 0;
  224.     UsingSmokeAnim[playerid] = 0;
  225.     ReduceTime[playerid] = 0;
  226.     CreatingGun[playerid] = 0;
  227.     CreatingGunAmmo[playerid] = 0;
  228.     CreatingGunPrice[playerid] = 0;
  229.     IsPuttingMaterials[playerid] = 0;
  230.     IsTakingGun[playerid] = 0;
  231.     InAFoodPlace[playerid] = 0;
  232.     UcAdmin[playerid] = 0;
  233.     Gps[playerid] = 0;
  234.     PlayerInfo[playerid][pLevel] = 0;
  235.     PlayerInfo[playerid][pSpawn] = 0;
  236.     PlayerInfo[playerid][pAdmin] = 0;
  237.     PlayerInfo[playerid][pRegularRank] = 0;
  238.     PlayerInfo[playerid][gPupgrade] = 0;
  239.     PlayerInfo[playerid][pConnectSeconds] = 0;
  240.     PlayerInfo[playerid][pReg] = 0;
  241.     PlayerInfo[playerid][pSex] = 0;
  242.     PlayerInfo[playerid][pAge] = 0;
  243.     PlayerInfo[playerid][pDuty] = 0;
  244.     PlayerInfo[playerid][pOrigin] = 0;
  245.     PlayerInfo[playerid][pExp] = 0;
  246.     PlayerInfo[playerid][pDuty] = 0;
  247.     PlayerInfo[playerid][pGPS] = 0;
  248.     PlayerInfo[playerid][pBlind] = 0;
  249.     PlayerInfo[playerid][pFrozen] = 0;
  250.     PlayerInfo[playerid][pAccount] = 0;
  251.     PlayerInfo[playerid][pCrimes] = 0;
  252.     strmid(PlayerInfo[playerid][pCrimeReason], "None", 0, strlen("None"), 255);
  253.     strmid(Typed[playerid], "None", 0, strlen("None"), 255);
  254.     PlayerInfo[playerid][pWanted] = 0;
  255.     PlayerInfo[playerid][pWantedLevel] = 0;
  256.     PlayerInfo[playerid][pDeaths] = 0;
  257.     strmid(PlayerInfo[playerid][pWhyLeft], "Unknown", 0, strlen("Unknown"), 255);
  258.     PlayerInfo[playerid][pArrested] = 0;
  259.     PlayerInfo[playerid][pWantedDeaths] = 0;
  260.     PlayerInfo[playerid][pPhoneBook] = 0;
  261.     PlayerInfo[playerid][pLottoNr] = 0;
  262.     PlayerInfo[playerid][pFishes] = 0;
  263.     PlayerInfo[playerid][pBiggestFish] = 0;
  264.     PlayerInfo[playerid][pJob] = 0;
  265.     PlayerInfo[playerid][pPayCheck] = 0;
  266.     PlayerInfo[playerid][pHeadValue] = 0;
  267.     PlayerInfo[playerid][pJailed] = 0;
  268.     PlayerInfo[playerid][pJailTime] = 0;
  269.     PlayerInfo[playerid][pRobTime] = 0;
  270.     PlayerInfo[playerid][pMats] = 0;
  271.     PlayerInfo[playerid][pDrugs] = 0;
  272.     PlayerInfo[playerid][pLeader] = 0;
  273.     PlayerInfo[playerid][pMember] = 0;
  274.     PlayerInfo[playerid][pFMember] = 255;
  275.     PlayerInfo[playerid][pRank] = 0;
  276.     PlayerInfo[playerid][pChar] = 0;
  277.     PlayerInfo[playerid][pContractTime] = 0;
  278.     PlayerInfo[playerid][pDetSkill] = 0;
  279.     PlayerInfo[playerid][pSexSkill] = 0;
  280.     PlayerInfo[playerid][pBoxSkill] = 0;
  281.     PlayerInfo[playerid][pLawSkill] = 0;
  282.     PlayerInfo[playerid][pMechSkill] = 0;
  283.     PlayerInfo[playerid][pJackSkill] = 0;
  284.     PlayerInfo[playerid][pCarSkill] = 0;
  285.     PlayerInfo[playerid][pNewsSkill] = 0;
  286.     PlayerInfo[playerid][pDrugsSkill] = 0;
  287.     PlayerInfo[playerid][pCookSkill] = 0;
  288.     PlayerInfo[playerid][pFishSkill] = 0;
  289.     PlayerInfo[playerid][pSHealth] = 0.0;
  290.     PlayerInfo[playerid][pInt] = 0;
  291.     PlayerInfo[playerid][pInteriorNr] = 0;
  292.     PlayerInfo[playerid][pLocal] = 255;
  293.     PlayerInfo[playerid][pTeam] = 3;
  294.     PlayerInfo[playerid][pModel] = 7;
  295.     new randphone = 100000 + random(899999);//minimum 1000  max 9999 //giving one at the start
  296.     PlayerInfo[playerid][pPnumber] = randphone;
  297.     PlayerInfo[playerid][pPcarkey] = 999;
  298.     PlayerInfo[playerid][pPcarkey2] = 999;
  299.     PlayerInfo[playerid][pPhousekey] = 999;
  300.     PlayerInfo[playerid][pGangKey] = 255;
  301.     PlayerInfo[playerid][pPbiskey] = 255;
  302.     PlayerInfo[playerid][pPassport] = 0;
  303.     PlayerInfo[playerid][pCarLic] = 0;
  304.     PlayerInfo[playerid][pFlyLic] = 0;
  305.     PlayerInfo[playerid][pBoatLic] = 0;
  306.     PlayerInfo[playerid][pFishLic] = 0;
  307.     PlayerInfo[playerid][pGunLic] = 0;
  308.     PlayerInfo[playerid][pCopLic] = 0;
  309.     PlayerInfo[playerid][pCarTime] = 0;
  310.     PlayerInfo[playerid][pPayDay] = 0;
  311.     PlayerInfo[playerid][pPayDayHad] = 0;
  312.     PlayerInfo[playerid][pWatch] = 0;
  313.     PlayerInfo[playerid][pCrashed] = 0;
  314.     PlayerInfo[playerid][pWins] = 0;
  315.     PlayerInfo[playerid][pLoses] = 0;
  316.     PlayerInfo[playerid][pAlcoholPerk] = 0;
  317.     PlayerInfo[playerid][pDrugPerk] = 0;
  318.     PlayerInfo[playerid][pMiserPerk] = 0;
  319.     PlayerInfo[playerid][pPainPerk] = 0;
  320.     PlayerInfo[playerid][pTraderPerk] = 0;
  321.     PlayerInfo[playerid][pTut] = 0;
  322.     PlayerInfo[playerid][pTutDone] = 0;
  323.     PlayerInfo[playerid][pDTK] = 0;
  324.     PlayerInfo[playerid][pDSTK] = 0;
  325.     PlayerInfo[playerid][pWarned] = 0;
  326.     PlayerInfo[playerid][pSwat] = 0;
  327.     PlayerInfo[playerid][pDM] = 0;
  328.     PlayerInfo[playerid][pHydraR] = 0;
  329.     PlayerInfo[playerid][pHunterR] = 0;
  330.     PlayerInfo[playerid][pRhinoR] = 0;
  331.     PlayerInfo[playerid][pPredR] = 0;
  332.     PlayerInfo[playerid][pViewPms] = 0;
  333.     PlayerInfo[playerid][pAppearList] = 0;
  334.     PlayerInfo[playerid][pDBanned] = 0;
  335.     PlayerInfo[playerid][pTactical] = 0;
  336.     PlayerInfo[playerid][pSpecialF] = 0;
  337.     PlayerInfo[playerid][pWarns] = 0;
  338.     PlayerInfo[playerid][pFuel] = 0;
  339.     PlayerInfo[playerid][pVirWorld] = 0;
  340.     PlayerInfo[playerid][pRequestingBackup] = 0;
  341.     PlayerInfo[playerid][pRoadblock] = 0;
  342.     PlayerInfo[playerid][pFishTool] = 0;
  343.     strmid(PlayerInfo[playerid][pNote1], "None", 0, strlen("None"), 255);
  344.     PlayerInfo[playerid][pNote1s] = 0;
  345.     strmid(PlayerInfo[playerid][pNote2], "None", 0, strlen("None"), 255);
  346.     PlayerInfo[playerid][pNote2s] = 0;
  347.     strmid(PlayerInfo[playerid][pNote3], "None", 0, strlen("None"), 255);
  348.     PlayerInfo[playerid][pNote3s] = 0;
  349.     strmid(PlayerInfo[playerid][pNote4], "None", 0, strlen("None"), 255);
  350.     PlayerInfo[playerid][pNote4s] = 0;
  351.     strmid(PlayerInfo[playerid][pNote5], "None", 0, strlen("None"), 255);
  352.     PlayerInfo[playerid][pNote5s] = 0;
  353.     PlayerInfo[playerid][pInvWeapon] = 0;
  354.     PlayerInfo[playerid][pInvAmmo] = 0;
  355.     PlayerInfo[playerid][pInvWeapon2] = 0;
  356.     PlayerInfo[playerid][pInvAmmo2] = 0;
  357.     PlayerInfo[playerid][pInvWeapon3] = 0;
  358.     PlayerInfo[playerid][pInvAmmo3] = 0;
  359.     PlayerInfo[playerid][pInvWeapon4] = 0;
  360.     PlayerInfo[playerid][pInvAmmo4] = 0;
  361.     PlayerInfo[playerid][pInvWeapon5] = 0;
  362.     PlayerInfo[playerid][pInvAmmo5] = 0;
  363.     PlayerInfo[playerid][pInvWeapon6] = 0;
  364.     PlayerInfo[playerid][pInvAmmo6] = 0;
  365.     PlayerInfo[playerid][pLighter] = 0;
  366.     PlayerInfo[playerid][pCigarettes] = 0;
  367.     PlayerInfo[playerid][pMask] = 0;
  368.     PlayerInfo[playerid][pMaskuse] = 0;
  369.     PlayerInfo[playerid][pAdminDuty] = 0;
  370.     PlayerInfo[playerid][pGameMasterDuty] = 0;
  371.     PlayerInfo[playerid][pHelper] = 0;
  372.     PlayerInfo[playerid][pGameMaster] = 0;
  373.     PlayerInfo[playerid][pSpeedo] = 0;
  374.     PlayerInfo[playerid][pHideNumber] = 0;
  375.     PlayerInfo[playerid][pSpeaker] = 0;
  376.     PlayerInfo[playerid][pWarned] = 0;
  377.     PlayerInfo[playerid][pSwat] = 0;
  378.     PlayerInfo[playerid][pTactical] = 0;
  379.     PlayerInfo[playerid][pSpecialF] = 0;
  380.     PlayerInfo[playerid][pDBanned] = 0;
  381.     PlayerInfo[playerid][pDesertSkill] = 0;
  382.     PlayerInfo[playerid][pSilenSkill] = 0;
  383.     PlayerInfo[playerid][pPistSkill] = 0;
  384.     PlayerInfo[playerid][pShotgSkill] = 0;
  385.     PlayerInfo[playerid][pSawnSkill] = 0;
  386.     PlayerInfo[playerid][pUziSkill] = 0;
  387.     PlayerInfo[playerid][pSmgSkill] = 0;
  388.     PlayerInfo[playerid][pAkSkill] = 0;
  389.     PlayerInfo[playerid][pM4Skill] = 0;
  390.     PlayerInfo[playerid][pCombSkill] = 0;
  391.     PlayerInfo[playerid][pAchievement0] = 0;
  392.     PlayerInfo[playerid][pAchievement1] = 0;
  393.     PlayerInfo[playerid][pAchievement2] = 0;
  394.     PlayerInfo[playerid][pAchievement3] = 0;
  395.     PlayerInfo[playerid][pAchievement4] = 0;
  396.     PlayerInfo[playerid][pAchievement5] = 0;
  397.     PlayerInfo[playerid][pAchievement6] = 0;
  398.     PlayerInfo[playerid][pAchievement7] = 0;
  399.     PlayerInfo[playerid][pAchievement8] = 0;
  400.     PlayerInfo[playerid][pAchievement9] = 0;
  401.     PlayerInfo[playerid][pAchievement10] = 0;
  402.     PlayerInfo[playerid][pAchievement11] = 0;
  403.     PlayerInfo[playerid][pAchievement12] = 0;
  404.     PlayerInfo[playerid][pAchievement13] = 0;
  405.     PlayerInfo[playerid][pAchievement14] = 0;
  406.     PlayerInfo[playerid][pAchievement15] = 0;
  407.     PlayerInfo[playerid][pAchievement16] = 0;
  408.     PlayerInfo[playerid][pAchievement17] = 0;
  409.     PlayerInfo[playerid][pAchievement18] = 0;
  410.     PlayerInfo[playerid][pAchievement19] = 0;
  411.     PlayerInfo[playerid][pAchievement20] = 0;
  412.     PlayerInfo[playerid][pWeapon] = 0;
  413.     PlayerInfo[playerid][pAmmo] = 0;
  414.     PlayerInfo[playerid][pWeapon2] = 0;
  415.     PlayerInfo[playerid][pAmmo2] = 0;
  416.     PlayerInfo[playerid][pWeapon3] = 0;
  417.     PlayerInfo[playerid][pAmmo3] = 0;
  418.     PlayerInfo[playerid][pWeapon4] = 0;
  419.     PlayerInfo[playerid][pAmmo4] = 0;
  420.     PlayerInfo[playerid][pWeapon5] = 0;
  421.     PlayerInfo[playerid][pAmmo5] = 0;
  422.     PlayerInfo[playerid][pWeapon6] = 0;
  423.     PlayerInfo[playerid][pAmmo6] = 0;
  424.     PlayerInfo[playerid][pWeapon7] = 0;
  425.     PlayerInfo[playerid][pAmmo7] = 0;
  426.     PlayerInfo[playerid][pWeapon8] = 0;
  427.     PlayerInfo[playerid][pAmmo8] = 0;
  428.     PlayerInfo[playerid][pWeapon9] = 0;
  429.     PlayerInfo[playerid][pAmmo9] = 0;
  430.     PlayerInfo[playerid][pWeapon10] = 0;
  431.     PlayerInfo[playerid][pAmmo10] = 0;
  432.     PlayerInfo[playerid][pWeapon11] = 0;
  433.     PlayerInfo[playerid][pAmmo11] = 0;
  434.     PlayerInfo[playerid][pWeapon12] = 0;
  435.     PlayerInfo[playerid][pAmmo12] = 0;
  436.     PlayerInfo[playerid][pAtc] = 0;
  437.     PlayerInfo[playerid][pAtcRadio] = 0;
  438.     PlayerInfo[playerid][pPending] = 0;
  439.     PlayerInfo[playerid][pChatMode] = 0;
  440.     strmid(PlayerInfo[playerid][pPunishment1], "None", 0, strlen("None"), 255);
  441.     strmid(PlayerInfo[playerid][pPunishment2], "None", 0, strlen("None"), 255);
  442.     strmid(PlayerInfo[playerid][pPunishment3], "None", 0, strlen("None"), 255);
  443.     strmid(PlayerInfo[playerid][pPunishment4], "None", 0, strlen("None"), 255);
  444.     strmid(PlayerInfo[playerid][pPunishment5], "None", 0, strlen("None"), 255);
  445.     strmid(PlayerInfo[playerid][pPunishment6], "None", 0, strlen("None"), 255);
  446.     strmid(PlayerInfo[playerid][pPunishment7], "None", 0, strlen("None"), 255);
  447.     strmid(PlayerInfo[playerid][pPunishment8], "None", 0, strlen("None"), 255);
  448.     strmid(PlayerInfo[playerid][pIP], "None", 0, strlen("None"), 255);
  449.     strmid(PlayerInfo[playerid][pLastSeen], "Never", 0, strlen("None"), 255);
  450.     strmid(PlayerInfo[playerid][pRegistredDate], "Never", 0, strlen("None"), 255);
  451.     PlayerInfo[playerid][pNextPunishment] = 1;
  452.     PlayerInfo[playerid][pPunished] = 0;
  453.     PlayerInfo[playerid][pTazerBullets] = 0;
  454.     PlayerInfo[playerid][pChanged] = 0;
  455.     PlayerInfo[playerid][pBankCard] = 0;
  456.     PlayerInfo[playerid][pCardPin] = 0;
  457.     CityHallRobbedRecently = 0;
  458.     RobbedRecently[playerid] = 0;
  459.     RobbingTime[playerid] = 0;
  460.     PlayerInfo[playerid][pRegularCount] = 144000;
  461.     PlayerInfo[playerid][pPassportTime] = 18000;
  462.     PlayerInfo[playerid][pOfficerTime] = 0;
  463.     PlayerInfo[playerid][pShiftName] = 0;
  464.     PlayerSuspiciousWeapon[playerid] = 0;
  465.     PlayerSuspiciousAmmo[playerid] = 0;
  466.     PlayerSuspiciousInterior[playerid] = 0;
  467.     PlayerBunnyJumping[playerid] = 0;
  468.     PlayerMoneyHacking[playerid] = 0;
  469.     PlayerInteriorHacking[playerid] = 0;
  470.     PlayerWeaponHacking[playerid] = 0;
  471.     PlayerAmmoHacking[playerid] = 0;
  472.     PlayerSpeedHacking[playerid] = 0;
  473.     PlayerOnCashInbalance[playerid] = 0;
  474.     PlayerFailedToLogin[playerid] = 0;
  475.     PlayerSuspicious[playerid] = 0;
  476.     PlayerSuspiciousSpeed[playerid] = 0;
  477.     Checked[playerid] = 1;
  478.     PlayerGotSpottedRecently[playerid] = 1;
  479.     SetTimerEx("ResetAcWarn", 30000, 0, "i", playerid);
  480.     RpcArmor[playerid] = 0;
  481.     RpcMoney[playerid] = 0;
  482.     JustWanked[playerid] = 0;
  483.     RpcPara[playerid] = 0;
  484.     PlayerDrankWine[playerid] = 0;
  485.     PlayerDrankBeer[playerid] = 0;
  486.     TimesWanked[playerid] = 0;
  487.     IsWanking[playerid] = 0;
  488.     WankedRecently[playerid] = 0;
  489.     PlayerSmokedCig[playerid] = 0;
  490.     PlayerDrankSprunk[playerid] = 0;
  491.     GettingBlowjob[playerid] = 0;
  492.     GivingBlowjob[playerid] = 0;
  493.     AcceptingBJ[playerid] = 0;
  494.     OnSwatDuty[playerid] = 0;
  495.     OnTacticalDuty[playerid] = 0;
  496.     OnSpecialFDuty[playerid] = 0;
  497.     OfferedBlowjob[playerid] = INVALID_PLAYER_ID;
  498.     HelpMessages[playerid] = 1;
  499.     ChangedName[playerid] = 0;
  500.     ViewAdmin[playerid] = 1;
  501.     //PlayerInfo[playerid][pSQLID] = 0;
  502.     ClearCrime(playerid);
  503.     ClearFishes(playerid);
  504.     ClearCooking(playerid);
  505.     ClearGroceries(playerid);
  506.     ClearMarriage(playerid);
  507.     SetPlayerColor(playerid,0xBBBBBB00);
  508.     HouseEntered[playerid] = 255;
  509.     Untouchable[playerid] = 0;
  510.     for(new h = 155; h < sizeof(CarInfo); h++)
  511.     {
  512.         SetVehicleParamsForPlayer(h,playerid,0,CarInfo[h][cLock]);
  513.     }
  514.  
  515.     Textdraw1[playerid] = TextDrawCreate(400.000000, 2.000000, " "); // jail time
  516.     TextDrawAlignment(Textdraw1[playerid], 2);
  517.     TextDrawBackgroundColor(Textdraw1[playerid], 255);
  518.     TextDrawFont(Textdraw1[playerid], 1);
  519.     TextDrawLetterSize(Textdraw1[playerid], 0.300000, 1.000000);
  520.     TextDrawColor(Textdraw1[playerid], -1);
  521.     TextDrawSetOutline(Textdraw1[playerid], 1);
  522.     TextDrawSetProportional(Textdraw1[playerid], 1);
  523. /*
  524.     Textdraw39[playerid] = TextDrawCreate(498.000000, 123.000000, " "); // speedo
  525.     TextDrawBackgroundColor(Textdraw39[playerid], 255);
  526.     TextDrawFont(Textdraw39[playerid], 1);
  527.     TextDrawLetterSize(Textdraw39[playerid], 0.389899, 1.299900);
  528.     TextDrawColor(Textdraw39[playerid], 13107455);
  529.     TextDrawSetOutline(Textdraw39[playerid], 1);
  530.     TextDrawSetProportional(Textdraw39[playerid], 1);
  531.  
  532.     Textdraw40[playerid] = TextDrawCreate(498.000000, 140.000000, " "); // fuel
  533.     TextDrawBackgroundColor(Textdraw40[playerid], 255);
  534.     TextDrawFont(Textdraw40[playerid], 1);
  535.     TextDrawLetterSize(Textdraw40[playerid], 0.389999, 1.299999);
  536.     TextDrawColor(Textdraw40[playerid], 0xFFFFFFFF);
  537.     TextDrawSetOutline(Textdraw40[playerid], 1);
  538.     TextDrawSetProportional(Textdraw40[playerid], 1);
  539. */
  540.     Textdraw41[playerid] = TextDrawCreate(326.000000, 134.000000, " "); // speed gun points
  541.     TextDrawAlignment(Textdraw41[playerid], 2);
  542.     TextDrawBackgroundColor(Textdraw41[playerid], 255);
  543.     TextDrawFont(Textdraw41[playerid], 1);
  544.     TextDrawLetterSize(Textdraw41[playerid], 4.499998, 17.899999);
  545.     TextDrawColor(Textdraw41[playerid], -1);
  546.     TextDrawSetOutline(Textdraw41[playerid], 1);
  547.     TextDrawSetProportional(Textdraw41[playerid], 1);
  548.     TextDrawUseBox(Textdraw41[playerid], 1);
  549.     TextDrawBoxColor(Textdraw41[playerid], 100);
  550.     TextDrawTextSize(Textdraw41[playerid], 160.000000, 280.000000);
  551.  
  552.     Textdraw42[playerid] = TextDrawCreate(326.000000, 192.000000, " "); // Speed gun speed string
  553.     TextDrawAlignment(Textdraw42[playerid], 2);
  554.     TextDrawBackgroundColor(Textdraw42[playerid], 255);
  555.     TextDrawFont(Textdraw42[playerid], 1);
  556.     TextDrawLetterSize(Textdraw42[playerid], 0.379999, 1.700000);
  557.     TextDrawColor(Textdraw42[playerid], -1);
  558.     TextDrawSetOutline(Textdraw42[playerid], 1);
  559.     TextDrawSetProportional(Textdraw42[playerid], 1);
  560.     TextDrawUseBox(Textdraw42[playerid], 1);
  561.     TextDrawBoxColor(Textdraw42[playerid], 255);
  562.     TextDrawTextSize(Textdraw42[playerid], 10.000000, 280.000000);
  563.  
  564.     Textdraw49[playerid] = TextDrawCreate(86.000000, 428.000000, " "); // area
  565.     TextDrawAlignment(Textdraw49[playerid], 2);
  566.     TextDrawBackgroundColor(Textdraw49[playerid], 255);
  567.     TextDrawFont(Textdraw49[playerid], 2);
  568.     TextDrawLetterSize(Textdraw49[playerid],0.280000, 1.100000);
  569.     TextDrawColor(Textdraw49[playerid], -1);
  570.     TextDrawSetOutline(Textdraw49[playerid], 1);
  571.     TextDrawSetProportional(Textdraw49[playerid], 1);
  572.  
  573.     Textdraw51[playerid] = TextDrawCreate(608.000000, 98.000000, " "); // bank money
  574.     TextDrawAlignment(Textdraw51[playerid], 3);
  575.     TextDrawBackgroundColor(Textdraw51[playerid], 255);
  576.     TextDrawFont(Textdraw51[playerid], 3);
  577.     TextDrawLetterSize(Textdraw51[playerid], 0.650000, 2.199999);
  578.     TextDrawColor(Textdraw51[playerid], 43775);
  579.     TextDrawSetOutline(Textdraw51[playerid], 1);
  580.     TextDrawSetProportional(Textdraw51[playerid], 1);
  581.    
  582.     Textdraw52[playerid] = TextDrawCreate(494.000000, 81.000000, " "); // money changes
  583.     TextDrawAlignment(Textdraw52[playerid], 3);
  584.     TextDrawBackgroundColor(Textdraw52[playerid], 255);
  585.     TextDrawFont(Textdraw52[playerid], 1);
  586.     TextDrawLetterSize(Textdraw52[playerid], 0.279999, 1.600000);
  587.     TextDrawColor(Textdraw52[playerid], 0xFFFFFFFF);
  588.     TextDrawSetOutline(Textdraw52[playerid], 1);
  589.     TextDrawSetProportional(Textdraw52[playerid], 1);
  590.    
  591.     Textdraw53[playerid] = TextDrawCreate(320.000000, 341.000000, " "); // GPS
  592.     TextDrawAlignment(Textdraw53[playerid], 2);
  593.     TextDrawBackgroundColor(Textdraw53[playerid], 255);
  594.     TextDrawFont(Textdraw53[playerid], 2);
  595.     TextDrawLetterSize(Textdraw53[playerid], 0.400000, 1.500000);
  596.     TextDrawColor(Textdraw53[playerid], -1);
  597.     TextDrawSetOutline(Textdraw53[playerid], 1);
  598.     TextDrawSetProportional(Textdraw53[playerid], 1);
  599.    
  600.     Textdraw54[playerid] = TextDrawCreate(331.000000, 340.000000, " "); // Spectate
  601.     TextDrawAlignment(Textdraw54[playerid], 2);
  602.     TextDrawBackgroundColor(Textdraw54[playerid], 255);
  603.     TextDrawFont(Textdraw54[playerid], 1);
  604.     TextDrawLetterSize(Textdraw54[playerid], 0.500000, 1.000000);
  605.     TextDrawColor(Textdraw54[playerid], -1);
  606.     TextDrawSetOutline(Textdraw54[playerid], 0);
  607.     TextDrawSetProportional(Textdraw54[playerid], 1);
  608.     TextDrawSetShadow(Textdraw54[playerid], 0);
  609.    
  610.     Textdraw64[playerid] = TextDrawCreate(317.000000, 253.000000, " "); // Medals
  611.     TextDrawAlignment(Textdraw64[playerid], 2);
  612.     TextDrawBackgroundColor(Textdraw64[playerid], 255);
  613.     TextDrawFont(Textdraw64[playerid], 3);
  614.     TextDrawLetterSize(Textdraw64[playerid], 0.239999, 1.200000);
  615.     TextDrawColor(Textdraw64[playerid], -1);
  616.     TextDrawSetOutline(Textdraw64[playerid], 1);
  617.     TextDrawSetProportional(Textdraw64[playerid], 1);
  618.    
  619.     format(string, sizeof(string), "LARP/Users/%s.ini", plname);
  620.     SendClientMessage(playerid, COLOR_YELLOW2, "Molimo pricekajte...");
  621.     new File: hFile = fopen(string, io_read);
  622.     if (hFile)
  623.     {
  624.         gPlayerAccount[playerid] = 1;
  625.         return 1;
  626.     }
  627.     else
  628.     {
  629.         gPlayerAccount[playerid] = 0;
  630.         return 1;
  631.     }
  632.     //MySQLCheckConnection();
  633.  
  634.     // Check if the account exists
  635.     /*new sqlaccountstatus = MySQLCheckAccount(plname);
  636.     if(sqlaccountstatus != 0)
  637.     {
  638.         // Check if the account is locked
  639.         if (MySQLCheckAccountLocked(sqlaccountstatus) != 0)
  640.         {
  641.             SendClientMessage(playerid, COLOR_LIGHTRED, "This account has been locked and cannot be accessed. Please contact an admin.");
  642.             Kick(playerid);
  643.             return 0;
  644.         }
  645.         gPlayerAccount[playerid] = 1;
  646.         PlayerInfo[playerid][pSQLID] = sqlaccountstatus;
  647.     }
  648.     else
  649.     {
  650.         gPlayerAccount[playerid] = 0;
  651.     }*/
  652.  
  653.  
  654.     return 1;
  655.    
  656. //----------------------------------------FBI----------------------------------------
  657. RemoveBuildingForPlayer(playerid, 713, 1304.7734, -1753.5859, 12.4375, 0.25);
  658. RemoveBuildingForPlayer(playerid, 713, 1304.7734, -1729.9375, 12.4375, 0.25);
  659. RemoveBuildingForPlayer(playerid, 713, 1304.7734, -1780.1094, 12.4375, 0.25);
  660. RemoveBuildingForPlayer(playerid, 713, 1304.7734, -1808.4922, 12.4375, 0.25);
  661. RemoveBuildingForPlayer(playerid, 713, 1304.7734, -1839.8672, 12.4375, 0.25);
  662. RemoveBuildingForPlayer(playerid, 6253, 1305.4688, -1619.7422, 13.3984, 0.25);
  663. RemoveBuildingForPlayer(playerid, 620, 1304.1172, -1696.7969, 12.2891, 0.25);
  664. RemoveBuildingForPlayer(playerid, 620, 1305.6719, -1669.8984, 12.5859, 0.25);
  665. RemoveBuildingForPlayer(playerid, 1290, 1305.0078, -1662.3359, 18.2266, 0.25);
  666. RemoveBuildingForPlayer(playerid, 1290, 1305.0078, -1642.3281, 18.2266, 0.25);
  667. RemoveBuildingForPlayer(playerid, 620, 1305.5625, -1641.5313, 12.2891, 0.25);
  668. RemoveBuildingForPlayer(playerid, 620, 1305.5625, -1614.8281, 12.2891, 0.25);
  669. RemoveBuildingForPlayer(playerid, 6046, 1305.4688, -1619.7422, 13.3984, 0.25);
  670. RemoveBuildingForPlayer(playerid, 1290, 1305.0078, -1622.3281, 18.2266, 0.25);
  671. RemoveBuildingForPlayer(playerid, 1290, 1305.0078, -1602.3281, 18.2266, 0.25);
  672. RemoveBuildingForPlayer(playerid, 620, 1305.6719, -1583.7031, 12.5859, 0.25);
  673. RemoveBuildingForPlayer(playerid, 1290, 1305.0078, -1582.3203, 18.2266, 0.25);
  674.    
  675. //--------------------------------------------vinewood remove i jos pored tog------------------------------------
  676.     RemoveBuildingForPlayer(playerid, 13759, 1413.4141, -804.7422, 83.4375, 0.25);
  677.     RemoveBuildingForPlayer(playerid, 620, 1375.0859, -813.5391, 69.5703, 0.25);
  678.     RemoveBuildingForPlayer(playerid, 13722, 1413.4141, -804.7422, 83.4375, 0.25);
  679.     RemoveBuildingForPlayer(playerid, 13831, 1413.4141, -804.7422, 83.4375, 0.25);
  680.     RemoveBuildingForPlayer(playerid, 3763, 1459.1797, -783.2656, 124.3906, 0.25);
  681. //------------------------------------------park kod pd---------------------------------
  682.     RemoveBuildingForPlayer(playerid, 1266, 1538.5234, -1609.8047, 19.8438, 0.25);
  683.     RemoveBuildingForPlayer(playerid, 4229, 1597.9063, -1699.7500, 30.2109, 0.25);
  684.     RemoveBuildingForPlayer(playerid, 4230, 1597.9063, -1699.7500, 30.2109, 0.25);
  685.     RemoveBuildingForPlayer(playerid, 1226, 1524.8281, -1705.2734, 16.4219, 0.25);
  686.     RemoveBuildingForPlayer(playerid, 1229, 1524.2188, -1693.9688, 14.1094, 0.25);
  687.     RemoveBuildingForPlayer(playerid, 647, 1546.6016, -1693.3906, 14.4375, 0.25);
  688.     RemoveBuildingForPlayer(playerid, 620, 1547.5703, -1689.9844, 13.0469, 0.25);
  689.     RemoveBuildingForPlayer(playerid, 1226, 1524.8281, -1688.0859, 16.4219, 0.25);
  690.     RemoveBuildingForPlayer(playerid, 647, 1546.8672, -1687.1016, 14.4375, 0.25);
  691.     RemoveBuildingForPlayer(playerid, 646, 1545.5234, -1678.8438, 14.0000, 0.25);
  692.     RemoveBuildingForPlayer(playerid, 646, 1553.8672, -1677.7266, 16.4375, 0.25);
  693.     RemoveBuildingForPlayer(playerid, 1229, 1524.2188, -1673.7109, 14.1094, 0.25);
  694.     RemoveBuildingForPlayer(playerid, 646, 1553.8672, -1673.4609, 16.4375, 0.25);
  695.     RemoveBuildingForPlayer(playerid, 1226, 1524.8281, -1668.0781, 16.4219, 0.25);
  696.     RemoveBuildingForPlayer(playerid, 646, 1545.5625, -1672.2188, 14.0000, 0.25);
  697.     RemoveBuildingForPlayer(playerid, 647, 1546.6016, -1664.6250, 14.4375, 0.25);
  698.     RemoveBuildingForPlayer(playerid, 647, 1546.8672, -1658.3438, 14.4375, 0.25);
  699.     RemoveBuildingForPlayer(playerid, 620, 1547.5703, -1661.0313, 13.0469, 0.25);
  700.     RemoveBuildingForPlayer(playerid, 4192, 1591.6953, -1674.8516, 20.4922, 0.25);
  701.     RemoveBuildingForPlayer(playerid, 1226, 1524.8281, -1647.6406, 16.4219, 0.25);
  702.     RemoveBuildingForPlayer(playerid, 1226, 1524.8281, -1621.9609, 16.4219, 0.25);
  703.     RemoveBuildingForPlayer(playerid, 1226, 1525.3828, -1611.1563, 16.4219, 0.25);
  704.     RemoveBuildingForPlayer(playerid, 1260, 1538.5234, -1609.8047, 19.8438, 0.25);
  705. //---------------------------------------------Opstina--------------------------------------------
  706.     RemoveBuildingForPlayer(playerid, 4024, 1479.8672, -1790.3984, 56.0234, 0.25);
  707.     RemoveBuildingForPlayer(playerid, 4044, 1481.1875, -1785.0703, 22.3828, 0.25);
  708.     RemoveBuildingForPlayer(playerid, 4045, 1479.3359, -1802.2891, 12.5469, 0.25);
  709.     RemoveBuildingForPlayer(playerid, 4046, 1479.5234, -1852.6406, 24.5156, 0.25);
  710.     RemoveBuildingForPlayer(playerid, 4047, 1531.6328, -1852.6406, 24.5156, 0.25);
  711.     RemoveBuildingForPlayer(playerid, 1527, 1448.2344, -1755.8984, 14.5234, 0.25);
  712.     RemoveBuildingForPlayer(playerid, 4217, 1449.2500, -1852.5703, 22.3672, 0.25);
  713.     RemoveBuildingForPlayer(playerid, 713, 1407.1953, -1749.3125, 13.0938, 0.25);
  714.     RemoveBuildingForPlayer(playerid, 1266, 1482.0859, -1859.9688, 25.0391, 0.25);
  715.     RemoveBuildingForPlayer(playerid, 713, 1405.2344, -1821.1172, 13.1016, 0.25);
  716.     RemoveBuildingForPlayer(playerid, 620, 1417.9766, -1832.5313, 11.9844, 0.25);
  717.     RemoveBuildingForPlayer(playerid, 673, 1405.5781, -1831.6953, 12.3984, 0.25);
  718.     RemoveBuildingForPlayer(playerid, 1265, 1465.4766, -1848.2500, 12.9922, 0.25);
  719.     RemoveBuildingForPlayer(playerid, 1372, 1466.9453, -1847.8438, 12.6641, 0.25);
  720.     RemoveBuildingForPlayer(playerid, 1372, 1419.7344, -1846.5469, 12.6641, 0.25);
  721.     RemoveBuildingForPlayer(playerid, 1265, 1420.4297, -1845.3438, 12.9844, 0.25);
  722.     RemoveBuildingForPlayer(playerid, 1372, 1419.6953, -1844.2031, 12.6641, 0.25);
  723.     RemoveBuildingForPlayer(playerid, 1220, 1420.4922, -1842.4375, 12.9297, 0.25);
  724.     RemoveBuildingForPlayer(playerid, 1220, 1419.7266, -1842.8516, 12.9297, 0.25);
  725.     RemoveBuildingForPlayer(playerid, 1230, 1419.6719, -1842.0313, 12.9766, 0.25);
  726.     RemoveBuildingForPlayer(playerid, 4170, 1433.9531, -1844.4063, 21.4219, 0.25);
  727.     RemoveBuildingForPlayer(playerid, 4174, 1435.7656, -1823.6641, 15.1797, 0.25);
  728.     RemoveBuildingForPlayer(playerid, 620, 1456.3984, -1832.5313, 11.9844, 0.25);
  729.     RemoveBuildingForPlayer(playerid, 1260, 1482.0859, -1859.9688, 25.0391, 0.25);
  730.     RemoveBuildingForPlayer(playerid, 4004, 1479.5234, -1852.6406, 24.5156, 0.25);
  731.     RemoveBuildingForPlayer(playerid, 1357, 1487.6953, -1848.1094, 12.8125, 0.25);
  732.     RemoveBuildingForPlayer(playerid, 1372, 1486.2109, -1848.1250, 12.6641, 0.25);
  733.     RemoveBuildingForPlayer(playerid, 1372, 1468.0625, -1847.7891, 12.6641, 0.25);
  734.     RemoveBuildingForPlayer(playerid, 1230, 1488.9219, -1848.2734, 12.9766, 0.25);
  735.     RemoveBuildingForPlayer(playerid, 3997, 1479.3359, -1802.2891, 12.5469, 0.25);
  736.     RemoveBuildingForPlayer(playerid, 4171, 1503.3984, -1848.3359, 21.4609, 0.25);
  737.     RemoveBuildingForPlayer(playerid, 620, 1504.8438, -1832.5313, 11.9844, 0.25);
  738.     RemoveBuildingForPlayer(playerid, 1265, 1515.3828, -1850.0547, 12.9844, 0.25);
  739.     RemoveBuildingForPlayer(playerid, 1265, 1514.4219, -1850.0391, 12.9922, 0.25);
  740.     RemoveBuildingForPlayer(playerid, 1372, 1516.6875, -1850.0547, 12.6641, 0.25);
  741.     RemoveBuildingForPlayer(playerid, 700, 1404.9141, -1765.2656, 12.9141, 0.25);
  742.     RemoveBuildingForPlayer(playerid, 4173, 1427.2734, -1756.1797, 15.0000, 0.25);
  743.     RemoveBuildingForPlayer(playerid, 673, 1415.3125, -1748.5625, 12.3984, 0.25);
  744.     RemoveBuildingForPlayer(playerid, 620, 1429.5313, -1748.4219, 12.9063, 0.25);
  745.     RemoveBuildingForPlayer(playerid, 700, 1438.0313, -1747.9375, 13.4453, 0.25);
  746.     RemoveBuildingForPlayer(playerid, 620, 1447.9063, -1748.2266, 12.9063, 0.25);
  747.     RemoveBuildingForPlayer(playerid, 4002, 1479.8672, -1790.3984, 56.0234, 0.25);
  748.     RemoveBuildingForPlayer(playerid, 3980, 1481.1875, -1785.0703, 22.3828, 0.25);
  749.     RemoveBuildingForPlayer(playerid, 4003, 1481.0781, -1747.0313, 33.5234, 0.25);
  750.     RemoveBuildingForPlayer(playerid, 620, 1516.0000, -1748.6016, 13.0078, 0.25);
  751.     RemoveBuildingForPlayer(playerid, 4048, 1531.6328, -1852.6406, 24.5156, 0.25);
  752.     RemoveBuildingForPlayer(playerid, 1372, 1538.9453, -1849.2734, 12.6641, 0.25);
  753.     RemoveBuildingForPlayer(playerid, 1230, 1538.8359, -1847.6250, 13.6719, 0.25);
  754.     RemoveBuildingForPlayer(playerid, 1220, 1538.3906, -1847.9297, 12.9297, 0.25);
  755.     RemoveBuildingForPlayer(playerid, 1220, 1539.1016, -1847.2969, 12.9297, 0.25);
  756.     RemoveBuildingForPlayer(playerid, 620, 1549.5313, -1832.3125, 12.8828, 0.25);
  757.     RemoveBuildingForPlayer(playerid, 673, 1555.6641, -1830.5938, 13.0234, 0.25);
  758.     RemoveBuildingForPlayer(playerid, 4175, 1524.4141, -1823.8516, 15.1797, 0.25);
  759.     RemoveBuildingForPlayer(playerid, 700, 1554.8203, -1816.1563, 13.4766, 0.25);
  760.     RemoveBuildingForPlayer(playerid, 673, 1553.2578, -1764.8125, 12.7969, 0.25);
  761.     RemoveBuildingForPlayer(playerid, 4172, 1534.7656, -1756.1797, 15.0000, 0.25);
  762.     RemoveBuildingForPlayer(playerid, 620, 1533.2656, -1749.0234, 12.8047, 0.25);
  763.     RemoveBuildingForPlayer(playerid, 673, 1522.1641, -1748.5703, 13.0234, 0.25);
  764.     RemoveBuildingForPlayer(playerid, 700, 1553.7031, -1747.9375, 13.4063, 0.25);
  765. //--------------------------------------------adriano---------------------------------------
  766.     RemoveBuildingForPlayer(playerid, 620, 367.8203, -1315.4141, 13.2344, 0.25);
  767.     RemoveBuildingForPlayer(playerid, 620, 371.9844, -1318.5078, 13.2344, 0.25);
  768.     RemoveBuildingForPlayer(playerid, 620, 384.9922, -1317.0313, 13.2344, 0.25);
  769.     RemoveBuildingForPlayer(playerid, 3726, 360.1563, -1283.8359, 50.0625, 0.25);
  770.     RemoveBuildingForPlayer(playerid, 3766, 339.4453, -1300.0469, 48.8594, 0.25);
  771.     RemoveBuildingForPlayer(playerid, 13878, 370.0156, -1236.7813, 61.7891, 0.25);
  772.     RemoveBuildingForPlayer(playerid, 620, 326.9531, -1313.6875, 44.7031, 0.25);
  773.     RemoveBuildingForPlayer(playerid, 669, 323.8359, -1298.0703, 51.6172, 0.25);
  774.     RemoveBuildingForPlayer(playerid, 1226, 324.5625, -1292.3828, 57.0391, 0.25);
  775.     RemoveBuildingForPlayer(playerid, 1691, 340.1875, -1305.7422, 53.6484, 0.25);
  776.     RemoveBuildingForPlayer(playerid, 3764, 339.4453, -1300.0469, 48.8594, 0.25);
  777.     RemoveBuildingForPlayer(playerid, 1687, 342.9766, -1301.6328, 54.0391, 0.25);
  778.     RemoveBuildingForPlayer(playerid, 620, 346.1250, -1285.8984, 49.9141, 0.25);
  779.     RemoveBuildingForPlayer(playerid, 620, 351.0469, -1296.2266, 45.5938, 0.25);
  780.     RemoveBuildingForPlayer(playerid, 1691, 356.7656, -1286.2344, 57.4531, 0.25);
  781.     RemoveBuildingForPlayer(playerid, 3602, 360.1563, -1283.8359, 50.0625, 0.25);
  782.     RemoveBuildingForPlayer(playerid, 1687, 363.3047, -1282.9531, 57.8594, 0.25);
  783.     RemoveBuildingForPlayer(playerid, 691, 375.6094, -1285.7500, 43.3281, 0.25);
  784.     RemoveBuildingForPlayer(playerid, 13748, 370.0156, -1236.7813, 61.7891, 0.25);
  785. //----------------------------------------kuca d;e---------------------------------------
  786.     RemoveBuildingForPlayer(playerid, 3754, 1339.3672, -2564.5547, 17.0938, 0.25);
  787. //-----------------------------------------benzinska------------------------------------
  788.     RemoveBuildingForPlayer(playerid, 5928, 1309.9141, -1330.1328, 25.1875, 0.25);
  789.     RemoveBuildingForPlayer(playerid, 620, 1321.5234, -1374.4297, 12.5859, 0.25);
  790.     RemoveBuildingForPlayer(playerid, 620, 1292.0000, -1374.2969, 12.3672, 0.25);
  791.     RemoveBuildingForPlayer(playerid, 620, 1300.5859, -1374.2969, 12.3672, 0.25);
  792.     RemoveBuildingForPlayer(playerid, 5704, 1309.9141, -1330.1328, 25.1875, 0.25);
  793.     RemoveBuildingForPlayer(playerid, 1285, 1323.0391, -1286.7266, 13.2031, 0.25);
  794.     RemoveBuildingForPlayer(playerid, 1286, 1324.0547, -1286.7266, 13.2031, 0.25);
  795.     RemoveBuildingForPlayer(playerid, 620, 1329.4766, -1374.4297, 12.5859, 0.25);
  796.     RemoveBuildingForPlayer(playerid, 620, 1330.6016, -1340.9844, 6.1094, 0.25);
  797.     RemoveBuildingForPlayer(playerid, 620, 1326.6953, -1316.0078, 8.7266, 0.25);
  798.     RemoveBuildingForPlayer(playerid, 620, 1327.5938, -1333.6719, 6.1094, 0.25);
  799.     RemoveBuildingForPlayer(playerid, 620, 1332.0000, -1309.4297, 8.7266, 0.25);
  800.     RemoveBuildingForPlayer(playerid, 1287, 1325.0156, -1286.7266, 13.2031, 0.25);
  801.     RemoveBuildingForPlayer(playerid, 1288, 1325.9531, -1286.7266, 13.2031, 0.25);
  802.     RemoveBuildingForPlayer(playerid, 1289, 1326.7188, -1286.7266, 13.2031, 0.25);
  803.     RemoveBuildingForPlayer(playerid, 1283, 1332.0625, -1281.4609, 15.5156, 0.25);
  804. //-------------------------------banka------------------------------------------------
  805.     RemoveBuildingForPlayer(playerid, 716, 1510.6406, -1024.8125, 22.7969, 0.25);
  806. //-----------------------------------PD-------------------------------------------------
  807.     RemoveBuildingForPlayer(playerid, 1266, 1538.5234, -1609.8047, 19.8438, 0.25);
  808.     RemoveBuildingForPlayer(playerid, 4229, 1597.9063, -1699.7500, 30.2109, 0.25);
  809.     RemoveBuildingForPlayer(playerid, 4230, 1597.9063, -1699.7500, 30.2109, 0.25);
  810.     RemoveBuildingForPlayer(playerid, 1226, 1524.8281, -1705.2734, 16.4219, 0.25);
  811.     RemoveBuildingForPlayer(playerid, 1229, 1524.2188, -1693.9688, 14.1094, 0.25);
  812.     RemoveBuildingForPlayer(playerid, 647, 1546.6016, -1693.3906, 14.4375, 0.25);
  813.     RemoveBuildingForPlayer(playerid, 620, 1547.5703, -1689.9844, 13.0469, 0.25);
  814.     RemoveBuildingForPlayer(playerid, 1226, 1524.8281, -1688.0859, 16.4219, 0.25);
  815.     RemoveBuildingForPlayer(playerid, 647, 1546.8672, -1687.1016, 14.4375, 0.25);
  816.     RemoveBuildingForPlayer(playerid, 646, 1545.5234, -1678.8438, 14.0000, 0.25);
  817.     RemoveBuildingForPlayer(playerid, 646, 1553.8672, -1677.7266, 16.4375, 0.25);
  818.     RemoveBuildingForPlayer(playerid, 1229, 1524.2188, -1673.7109, 14.1094, 0.25);
  819.     RemoveBuildingForPlayer(playerid, 646, 1553.8672, -1673.4609, 16.4375, 0.25);
  820.     RemoveBuildingForPlayer(playerid, 1226, 1524.8281, -1668.0781, 16.4219, 0.25);
  821.     RemoveBuildingForPlayer(playerid, 646, 1545.5625, -1672.2188, 14.0000, 0.25);
  822.     RemoveBuildingForPlayer(playerid, 647, 1546.6016, -1664.6250, 14.4375, 0.25);
  823.     RemoveBuildingForPlayer(playerid, 647, 1546.8672, -1658.3438, 14.4375, 0.25);
  824.     RemoveBuildingForPlayer(playerid, 620, 1547.5703, -1661.0313, 13.0469, 0.25);
  825.     RemoveBuildingForPlayer(playerid, 4192, 1591.6953, -1674.8516, 20.4922, 0.25);
  826.     RemoveBuildingForPlayer(playerid, 1226, 1524.8281, -1647.6406, 16.4219, 0.25);
  827.     RemoveBuildingForPlayer(playerid, 1226, 1524.8281, -1621.9609, 16.4219, 0.25);
  828.     RemoveBuildingForPlayer(playerid, 1226, 1525.3828, -1611.1563, 16.4219, 0.25);
  829.     RemoveBuildingForPlayer(playerid, 1260, 1538.5234, -1609.8047, 19.8438, 0.25);
  830. //-----------------------------------------auto pijaca-------------------------------------------
  831.    
  832.  
  833.     RemoveBuildingForPlayer(playerid, 4638, 1625.7500, -1139.1484, 24.5000, 0.25);
  834.     RemoveBuildingForPlayer(playerid, 4642, 1623.3828, -1042.0938, 24.5000, 0.25);
  835.     RemoveBuildingForPlayer(playerid, 4639, 1654.0625, -1076.4219, 24.5000, 0.25);
  836.     RemoveBuildingForPlayer(playerid, 4640, 1728.7891, -1065.0938, 24.5000, 0.25);
  837.     RemoveBuildingForPlayer(playerid, 4641, 1788.5391, -1026.3516, 24.5000, 0.25);
  838.  
  839.    
  840.    
  841. //--------------------------------------------------------------------------------------------------------------------------------
  842.  
  843. }
Advertisement
Add Comment
Please, Sign In to add comment