RemoveBuildingForPlayer help?!
#1

PHP код:
C:\Users\Lee\Desktop\Evolution\pawno\include\removebuilding_fix.inc(72) : error 017undefined symbol "RemoveBuildingForPlayer"
C:\Users\Lee\Desktop\Evolution\pawno\include\removebuilding_fix.inc(72) : error 001expected token";"but found ")"
C:\Users\Lee\Desktop\Evolution\pawno\include\removebuilding_fix.inc(72) : error 029invalid expressionassumed zero
C
:\Users\Lee\Desktop\Evolution\pawno\include\removebuilding_fix.inc(72) : fatal error 107too many error messages on one line
Compilation aborted
.Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase
4 Errors

Line 72 isnt even anything to do with removebuildingforplayer
Line 72
pawn Код:
#define COLOR_LIGHTRED      0xFF6347AA
OnPlayerConnect
pawn Код:
public OnPlayerConnect(playerid)
{
    if(IsPlayerNPC(playerid)) return 1;
    if(Security != 0)
    {
        SendClientMessage(playerid, COLOR_YELLOW, "Host has broken one of the Agreement rules, action has been taken.");
        Kick(playerid);
        return 1;
    }
    gPlayerAnimLibsPreloaded[playerid] = 0;
    GovText[playerid] = Text3D:INVALID_3DTEXT_ID;
    ThiefText[playerid] = Text3D:INVALID_3DTEXT_ID;
    SelectChar[playerid] = 0; HidePM[playerid] = 0; PhoneOffline[playerid] = 0; WTOnline[playerid] = 0; AlarmOnline[playerid] = 0;
    SelectCharID[playerid] = 0; SelectCharPlace[playerid] = 0; ChosenSkin[playerid] = 0; FriskOffer[playerid] = 999;
    GettingJob[playerid] = 0; VestOffer[playerid] = 999; VestPrice[playerid] = 0; GunOffer[playerid] = 999; GunPrice[playerid] = 0; IsGod[playerid] = 0; PlayerInfo[playerid][pCheck] = 0; CheckNumber[playerid] = 0;
    DefenseOffer[playerid] = 999; DefensePrice[playerid] = 0; InviteOffer[playerid] = 999; InvitedToHouse[playerid] = 999; FamilyOffer[playerid] = 999;
    CallLawyer[playerid] = 0; WantLawyer[playerid] = 0; CP[playerid] = 0; PlayerFrozen[playerid] = 0; HoldingDetonator[playerid] = 0;
    UsedFind[playerid] = 0; FReloadTime[playerid] = 0; GotMats[playerid] = 0; GotPlant[playerid] = 0; GotDrugs[playerid] = 0; TazerTime[playerid] = 0;
    MoneyMessage[playerid] = 0; Condom[playerid] = 0; HasBoughtMask[playerid] = 0; UsingSate[playerid] = 0; ZOOM[playerid] = 0; HackDebugDeath[playerid] = 0;
    STDPlayer[playerid] = 0; SexOffer[playerid] = 999; SexPrice[playerid] = 0; PlayerHadDeagle[playerid] = 0; LoadObjects[playerid] = 0;
    RepairOffer[playerid] = 999; RepairPrice[playerid] = 0; RepairCar[playerid] = 0; GuardedBy[playerid] = 999; GuardingPrice[playerid] = 0;
    TalkingLive[playerid] = 255; LiveOffer[playerid] = 999; RefillOffer[playerid] = 999; RefillPrice[playerid] = 0; Guarding[playerid] = 999;
    PotOffer[playerid] = 999; PotPrice[playerid] = 0; PotGram[playerid] = 0; Packages[playerid] = 0; Crates[playerid] = 0; PlayerCuffed[playerid] = 0;
    PlayerCuffedTime[playerid] = 0; RegistrationStep[playerid] = 0; JustReported[playerid] = 0; FactionOffer[playerid] = 999;
    SpectatedID[playerid] = 0; LSPDClearing[playerid] = 0; SelectDrug[playerid] = 0; HospitalTime[playerid] = 0; NoHospital[playerid] = 0;
    HospitalSpawn[playerid] = 0; JailPrice[playerid] = 0; GoChase[playerid] = 999; PlayerHurt[playerid] = 0; JustBugReported[playerid] = 0;
    BoxWaitTime[playerid] = 0; TransportDuty[playerid] = 0; PlayerTied[playerid] = 0; PlayerBlinded[playerid] = 0;
    BusCallTime[playerid] = 0; TaxiCallTime[playerid] = 0; MedicCallTime[playerid] = 0; LawyerCallTime[playerid] = 0; MechanicCallTime[playerid] = 0;
    FindTimePoints[playerid] = 0; FindTime[playerid] = 0; FindingID[playerid] = 0; JobDuty[playerid] = 0;
    Mobile[playerid] = 999; Music[playerid] = 0; BoxOffer[playerid] = 999; PlayerBoxing[playerid] = 0; gLastCar[playerid] = 0; FishCount[playerid] = 0;
    gOoc[playerid] = 0; gNewbie[playerid] = 0; gNews[playerid] = 0; BigEar[playerid] = 0; gFam[playerid] = 0;
    gSpeedo[playerid] = 0; gVehicleLock[playerid] = 0; gGas[playerid] = 1; RobbingID[playerid] = 999; HouseEntered[playerid] = 9999; BizzEntered[playerid] = 9999; Language[playerid] = 0; PlayerHasTazer[playerid] = 0;
    Robbing[playerid] = 999; RobbingX[playerid] = 0.0; RobbingY[playerid] = 0.0; RobbingZ[playerid] = 0.0; WearingGlasses[playerid] = 0; WearingBandana[playerid] = 0; WearingHelmet[playerid] = 0;
    gPlayerLogged[playerid] = 0; gAdminAuthorized[playerid] = 0; PlayerInfo[playerid][pVipColor] = 0;
    MatsOffer[playerid] = 999; MatsPrice[playerid] = 0; MatsGram[playerid] = 0;
    PlayerTazeTime[playerid] = 0; PlayerStoned[playerid] = 0; BMPurchased[playerid] = 0; Called911[playerid] = 0; PrisonCell[playerid] = 0;
    TicketOffer[playerid] = 999; TicketMoney[playerid] = 0; GuardOffer[playerid] = 999; GuardPrice[playerid] = 0; VoodooSpell[playerid] = 0; // Tiki
    HandshakeOffer[playerid] = 999; HandshakeType[playerid] = 0; BeingRobbed[playerid] = 999;  ContractOffer[playerid] = 999; ContractID[playerid] = 999;
    TaxiAccepted[playerid] = 999; BusAccepted[playerid] = 999; OldWeedX[playerid] = 0.0; OldWeedY[playerid] = 0.0; OldWeedZ[playerid] = 0.0;
    PlayerInfo[playerid][pCash] = dollah; NoFuel[playerid] = 0; BizOffer[playerid] = 999; BizPrice[playerid] = 0; BizID[playerid] = 0;
    CanTalk[playerid] = 0; PlayersChannel[playerid] = 999; WeedPickTimer[playerid] = 0; TutTime[playerid] = 0;
    gPlayerSpawned[playerid] = 0; OldHealth[playerid] = 0.0; OldArmour[playerid] = 0.0; LockPickTime[playerid] = 0;
    TransportValue[playerid] = 0; TransportMoney[playerid] = 0; TransportTime[playerid] = 0; TransportCost[playerid] = 0; TransportDriver[playerid] = 999;
    Locator[playerid] = 0; PlayerPaintballing[playerid] = 0; LockPickingHouse[playerid] = 999; LockPickingBiz[playerid] = 999;
    PlayerPaintballKills[playerid] = 0; Fishes[playerid][pLastFish] = 0; Fishes[playerid][pFishID] = 0; Fishes[playerid][pLastWeight] = 0;
    ProposeOffer[playerid] = 999; MarryWitness[playerid] = 999; MarryWitnessOffer[playerid] = 999; MarriageCeremoney[playerid] = 0; ProposedTo[playerid] = 999; GotProposedBy[playerid] = 999; DivorceOffer[playerid] = 999; RefundingNumber[playerid] = 999; RefundingID[playerid] = 999;  RampToggle[playerid] = 0;
    SellCarTimer[playerid] = 0; StopAniTimer[playerid] = 0; UsedAreaRecently[playerid] = 0; UseDrugsTimer[playerid] = 0; UseBMTimer[playerid] = 0; UseAcceptTimer[playerid] = 0; ChangeCarTimer[playerid] = 0; SellGunTimer[playerid] = 0; UseTazerTimer[playerid] = 0; UseDrinkTimer[playerid] = 0; UseNewbieTimer[playerid] = 0; UseAdmCmdTimer[playerid] = 0; BombID[playerid] = -1; ChangePassTimer[playerid] = 0;
    ProdOffer[playerid] = 999; ProdPrice[playerid] = 0; ProdAmount[playerid] = 0;
    oldsposx[playerid] = 0.0; oldsposy[playerid] = 0.0; oldsposz[playerid] = 0.0; newsposx[playerid] = 0.0; newsposy[playerid] = 0.0; newsposz[playerid] = 0.0;
    RobPlayerTimer[playerid] = 0; BombInCar[playerid] = 0;
    GivePlayerMoney(playerid,PlayerInfo[playerid][pCash]);
    aGun[playerid][0] = 0;
    aGun[playerid][1] = 0;
    aGun[playerid][2] = 0;
    aGun[playerid][3] = 0;
    aGun[playerid][4] = 0;
    aGun[playerid][5] = 0;
    aGun[playerid][6] = 0;
    aGun[playerid][7] = 0;
    aGun[playerid][8] = 0;
    aGun[playerid][9] = 0;
    aGun[playerid][10] = 0;
    aGun[playerid][11] = 0;
    aGun[playerid][12] = 0;
    CardsHave[playerid] = 0;
    PlayerInfo[playerid][pLevel] = 0;
    PlayerInfo[playerid][pAdmin] = 0;
    PlayerInfo[playerid][pStealthed] = 0;
    PlayerInfo[playerid][pPassport] = 0;
    PlayerInfo[playerid][pSpeakPhone] = 0;
    PlayerInfo[playerid][pCmb] = 0;
    PlayerInfo[playerid][pBand] = 0;
    PlayerInfo[playerid][pPermBand] = 0;
    PlayerInfo[playerid][pWarns] = 0;
    PlayerInfo[playerid][pDisabled] = 0;
    PlayerInfo[playerid][pDonateRank] = 0;
    PlayerInfo[playerid][pDeck] = 0;
    PlayerInfo[playerid][pBanAppealer] = 0;
    PlayerInfo[playerid][pGangModd] = 0;
    PlayerInfo[playerid][pFactionMod] = 0;
    PlayerInfo[playerid][pGangDirector] = 0;
    PlayerInfo[playerid][pRequestingBackup] = 0;
    PlayerInfo[playerid][gPupgrade] = 0;
    PlayerInfo[playerid][pConnectTime] = 0;
    PlayerInfo[playerid][pReg] = 0;
    PlayerInfo[playerid][pSex] = 0;
    PlayerInfo[playerid][pAge] = 0;
    PlayerInfo[playerid][pOrigin] = 0;
    PlayerInfo[playerid][pExp] = 0;
    PlayerInfo[playerid][pAccount] = 0;
    PlayerInfo[playerid][pCrimes] = 0;
    PlayerInfo[playerid][pAppearList] = 0;
    PlayerInfo[playerid][pSecKey] = 0;
    PlayerInfo[playerid][pKills] = 0;
    PlayerInfo[playerid][pDeaths] = 0;
    PlayerInfo[playerid][pCHits] = 0;
    PlayerInfo[playerid][pHelper] = 0;
    PlayerInfo[playerid][pDevelo] = 0;
    PlayerInfo[playerid][pGlasses] = 0;
    PlayerInfo[playerid][pBandana] = 0;
    PlayerInfo[playerid][pInteriorNr] = 0;
    PlayerInfo[playerid][pHelmet] = 0;
    PlayerInfo[playerid][pFHits] = 0;
    PlayerInfo[playerid][pArrested] = 0;
    PlayerInfo[playerid][pPhoneBook] = 0;
    PlayerInfo[playerid][pLottoNr] = 0;
    PlayerInfo[playerid][pFishes] = 0;
    PlayerInfo[playerid][pBiggestFish] = 0;
    PlayerInfo[playerid][pJob] = 0;
    PlayerInfo[playerid][pPayCheck] = 0;
    PlayerInfo[playerid][pJailed] = 0;
    PlayerInfo[playerid][pJailTime] = 0;
    PlayerInfo[playerid][pPrisonedBy] = 0;
    PlayerInfo[playerid][pAdminJailed] = 0;
    PlayerInfo[playerid][pProducts] = 0;
    PlayerInfo[playerid][pMats] = 0;
    PlayerInfo[playerid][pPot] = 0;
    PlayerInfo[playerid][pPotSeeds] = 0;
    PlayerInfo[playerid][pCrack] = 0;
    PlayerInfo[playerid][pLeader] = 0;
    PlayerInfo[playerid][pMember] = 0;
    PlayerInfo[playerid][pFMember] = 255;
    PlayerInfo[playerid][pRank] = 0;
    PlayerInfo[playerid][pDetSkill] = 0;
    PlayerInfo[playerid][pSexSkill] = 0;
    PlayerInfo[playerid][pBoxSkill] = 0;
    PlayerInfo[playerid][pLawSkill] = 0;
    PlayerInfo[playerid][pMechSkill] = 0;
    PlayerInfo[playerid][pJackSkill] = 0;
    PlayerInfo[playerid][pCarSkill] = 0;
    PlayerInfo[playerid][pDrugsSkill] = 0;
    PlayerInfo[playerid][pArmsSkill] = 0;
    PlayerInfo[playerid][pSmugglerSkill] = 0;
    PlayerInfo[playerid][pThieveSkill] = 0;
    PlayerInfo[playerid][pFishSkill] = 0;
    PlayerInfo[playerid][pFightingStyle] = 4;
    PlayerInfo[playerid][pArmor] = 0.0;
    PlayerInfo[playerid][pSHealth] = 0;
    PlayerInfo[playerid][pInt] = 15;
    PlayerInfo[playerid][pLocal] = 999;
    PlayerInfo[playerid][pVirtualWorld] = 0;
    PlayerInfo[playerid][pModel] = 299;
    PlayerInfo[playerid][pClothes] = 0;
    PlayerInfo[playerid][pPnumber] = 0;
    PlayerInfo[playerid][pBizKey] = -1;
    PlayerInfo[playerid][pSetVehSpawn] = 0;
    PlayerInfo[playerid][pCarLic] = 1;
    PlayerInfo[playerid][pMask] = 0;
    PlayerInfo[playerid][pBlindfolds] = 0;
    PlayerInfo[playerid][pFlyLic] = 1;
    PlayerInfo[playerid][pBoatLic] = 1;
    PlayerInfo[playerid][pFishLic] = 1;
    PlayerInfo[playerid][pGunLic] = 1;
    PlayerInfo[playerid][pCarTime] = 0;
    PlayerInfo[playerid][pDrugsTime] = 0;
    PlayerInfo[playerid][pLawyerTime] = 0;
    PlayerInfo[playerid][pLawyerFreeTime] = 0;
    PlayerInfo[playerid][pMechTime] = 0;
    PlayerInfo[playerid][pSexTime] = 0;
    PlayerInfo[playerid][pPlantTime] = 0;
    PlayerInfo[playerid][pRepairTime] = 0;
    PlayerInfo[playerid][pRobTime] = 0;
    PlayerInfo[playerid][pPayDay] = 0;
    PlayerInfo[playerid][pPayDayHad] = 0;
    PlayerInfo[playerid][pCDPlayer] = 0;
    PlayerInfo[playerid][pDice] = 0;
    PlayerInfo[playerid][pSpraycan] = 0;
    PlayerInfo[playerid][pScrew] = 0;
    PlayerInfo[playerid][pRope] = 0;
    PlayerInfo[playerid][pCigars] = 0;
    PlayerInfo[playerid][pSprunk] = 0;
    PlayerInfo[playerid][pTikis] = 0;
    PlayerInfo[playerid][pWT] = 0;
    PlayerInfo[playerid][pWTc] = 0;
    PlayerInfo[playerid][pBombs] = 0;
    PlayerInfo[playerid][pWins] = 0;
    PlayerInfo[playerid][pLoses] = 0;
    PlayerInfo[playerid][pTut] = 0;
    PlayerInfo[playerid][pOnDuty] = 0;
    PlayerInfo[playerid][pHospital] = 0;
    PlayerInfo[playerid][pAdjustable] = 0;
    PlayerInfo[playerid][pWantedLevel] = 0;
    PlayerInfo[playerid][pNewbieMuted] = 0;
    PlayerInfo[playerid][pSafeSpawn] = 0;
    PlayerInfo[playerid][pSPos_x] = 0.0;
    PlayerInfo[playerid][pSPos_y] = 0.0;
    PlayerInfo[playerid][pSPos_z] = 0.0;
    PlayerInfo[playerid][pSPos_r] = 0.0;
    PlayerInfo[playerid][hTicket] = 0;
    PlayerInfo[playerid][pHouseAccepted] = 0;
    PlayerInfo[playerid][pHouseRequested] = 0;
    PlayerInfo[playerid][pBanDay] = 0;
    PlayerInfo[playerid][pBanMonth] = 0;
    PlayerInfo[playerid][pBanYear] = 0;
    PlayerInfo[playerid][ModShop] = 0;
    PlayerInfo[playerid][GivingSlot] = 0;
    PlayerInfo[playerid][CarBeingCarried] = 0;
    PlayerInfo[playerid][FindingCar] = 0;
    PlayerInfo[playerid][LockedCar] = 0;
    PlayerInfo[playerid][LockedCar2] = 0;
    PlayerInfo[playerid][CarLinkID] = 0;
    PlayerInfo[playerid][Car2LinkID] = 0;
    PlayerInfo[playerid][PlayerCarModel] = 0;
    PlayerInfo[playerid][PlayerCarModel2] = 0;
    PlayerInfo[playerid][CarZAngle] = 0;
    PlayerInfo[playerid][Car2ZAngle] = 0;
    PlayerInfo[playerid][CarCol1] = 0;
    PlayerInfo[playerid][CarCol2] = 0;
    PlayerInfo[playerid][Car2Col1] = 0;
    PlayerInfo[playerid][Car2Col2] = 0;
    PlayerInfo[playerid][CarY] = 0.00;
    PlayerInfo[playerid][CarX] = 0.00;
    PlayerInfo[playerid][CarZ] = 0.00;
    PlayerInfo[playerid][pVehicle] = 0;
    ShuffleDeck(playerid);
    ClearCrimes(playerid);
    ClearFishes(playerid);
    ClearGuns(playerid);
    ClearHouseInfo(playerid);
    ClearMarriage(playerid);
    ClearAccent(playerid);
    ClearIP(playerid);
    ClearContract(playerid);
    ClearBanreason(playerid);
    strdel(LastPaid[playerid],0,32);
    SetPlayerColor(playerid,TCOLOR_GREY);
    SetPlayerMapIcon(playerid, 1, 1564.5457, -1675.3245, 61.8977, 30, 0); //lspd
    SetPlayerMapIcon(playerid, 2, 1461.8095, -1010.9515, 61.1702, 52, 0); //bank
    SetPlayerMapIcon(playerid, 3, 2143.5302, -2259.8565, 26.5776, 51, 0); //matfactory 01
    SetPlayerMapIcon(playerid, 4, 2287.9749, -1105.7727, 37.9766, 51, 0); //matfactory 02
    SetPlayerMapIcon(playerid, 5, 2166.3771, -1675.383, 15.0859, 24, 0); //drughouse
    SetPlayerMapIcon(playerid, 6, 2337.8855, -1185.4025, 35.5452, 16, 0); //crackhouse
    SetPlayerMapIcon(playerid, 7, 411.8294, -2050.2601, -0.4745, 9, 0); //pier
    SetPlayerMapIcon(playerid, 9, 2329.4089, -2316.0997, 13.5468, 56, 0); //job mechanic
    SetPlayerMapIcon(playerid, 11, 2226.1716, -1718.1792, 13.5165, 56, 0); //job bodyguard
    SetPlayerMapIcon(playerid, 12, 1741.7062, -1863.6664, 13.5748, 56, 0); //job taxi
    SetPlayerMapIcon(playerid, 14, 2419.4851, -1218.3659, 36.0312, 56, 0); //job whore
    SetPlayerMapIcon(playerid, 15, 1381.0413, -1088.8511, 27.3906, 56, 0); //job lawyer
    SetPlayerMapIcon(playerid, 16, 2048.4106, -1409.1826, 75.0372, 22, 0); //hospital 01
    SetPlayerMapIcon(playerid, 17, 1147.9742, -1344.0618, 49.2668, 22, 0); //hospital 02
    SetPlayerMapIcon(playerid, 18, 1352.0488, -1760.0387, 19.0781, 17, 0); //247
    SetPlayerMapIcon(playerid, 19, 1835.2926,-1842.5190, 15.6688, 17, 0); //247
    SetPlayerMapIcon(playerid, 20, 1315.2627, -895.1893, 45.2266, 17, 0); //247
    SetPlayerMapIcon(playerid, 21, 1004.9810, -919.5718, 46.6641, 17, 0); //247
    SetPlayerMapIcon(playerid, 22, 2252.3826, -1662.1138, 15.2817, 45, 0); //clothes store
    SetPlayerMapIcon(playerid, 23, 1458.7700, -1140.0200, 24.0692, 45, 0); //clothes store
    SetPlayerMapIcon(playerid, 24, 458.6580, -1500.4800, 31.0444, 45, 0); //clothes store
    SetPlayerMapIcon(playerid, 25, 1498.4185, -2182.5278, 14.1682, 20, 0); //fire department
    SetPlayerMapIcon(playerid, 27, 63.9923, -305.5689, 1.5781, 11, 0); //drug factory
    SetPlayerMapIcon(playerid, 29, 612.8910, -564.9972, 26.1432, 30, 0); //PD
    SetPlayerMapIcon(playerid, 31, 1359.6918, 312.5298, 24.5555, 18, 0);
    SetPlayerMapIcon(playerid, 32, 992.6166, -1460.1656, 13.5469, 56, 0); //job product dealer
    SetPlayerMapIcon(playerid, 0, 1295.9426, 232.6621, 23.7565, 50, 0);
    new string[94];
    format(string, sizeof(string), "%s.ini", PlayerName(playerid));
    if(fexist(string))
    {
        format(string, sizeof(string), "%s has joined the server.",GetPlayerFirstName(playerid));
        SendClientMessageToAll(COLOR_YELLOW,string);
    }
    else
    {
        format(string, sizeof(string), "%s has joined the server.",GetPlayerFirstName(playerid));
        SendClientMessageToAll(COLOR_YELLOW,string);
    }
    RemoveBuildingForPlayer(playerid, 4057, 1479.5547, -1693.1406, 19.5781, 0.25);
    RemoveBuildingForPlayer(playerid, 4210, 1479.5625, -1631.4531, 12.0781, 0.25);
    RemoveBuildingForPlayer(playerid, 713, 1457.9375, -1620.6953, 13.4531, 0.25);
    RemoveBuildingForPlayer(playerid, 713, 1496.8672, -1707.8203, 13.4063, 0.25);
    RemoveBuildingForPlayer(playerid, 1280, 1468.9844, -1713.5078, 13.4531, 0.25);
    RemoveBuildingForPlayer(playerid, 1231, 1479.6953, -1716.7031, 15.6250, 0.25);
    RemoveBuildingForPlayer(playerid, 1280, 1488.7656, -1713.7031, 13.4531, 0.25);
    RemoveBuildingForPlayer(playerid, 1289, 1504.7500, -1711.8828, 13.5938, 0.25);
    RemoveBuildingForPlayer(playerid, 1258, 1445.0078, -1704.7656, 13.6953, 0.25);
    RemoveBuildingForPlayer(playerid, 1258, 1445.0078, -1692.2344, 13.6953, 0.25);
    RemoveBuildingForPlayer(playerid, 1226, 1433.7109, -1636.2344, 16.4219, 0.25);
    RemoveBuildingForPlayer(playerid, 712, 1445.8125, -1650.0234, 22.2578, 0.25);
    RemoveBuildingForPlayer(playerid, 1226, 1433.7109, -1619.0547, 16.4219, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1443.2031, -1592.9453, 15.6250, 0.25);
    RemoveBuildingForPlayer(playerid, 673, 1457.7266, -1710.0625, 12.3984, 0.25);
    RemoveBuildingForPlayer(playerid, 620, 1461.6563, -1707.6875, 11.8359, 0.25);
    RemoveBuildingForPlayer(playerid, 1280, 1468.9844, -1704.6406, 13.4531, 0.25);
    RemoveBuildingForPlayer(playerid, 700, 1463.0625, -1701.5703, 13.7266, 0.25);
    RemoveBuildingForPlayer(playerid, 1231, 1479.6953, -1702.5313, 15.6250, 0.25);
    RemoveBuildingForPlayer(playerid, 673, 1457.5547, -1697.2891, 12.3984, 0.25);
    RemoveBuildingForPlayer(playerid, 1280, 1468.9844, -1694.0469, 13.4531, 0.25);
    RemoveBuildingForPlayer(playerid, 1231, 1479.3828, -1692.3906, 15.6328, 0.25);
    RemoveBuildingForPlayer(playerid, 4186, 1479.5547, -1693.1406, 19.5781, 0.25);
    RemoveBuildingForPlayer(playerid, 620, 1461.1250, -1687.5625, 11.8359, 0.25);
    RemoveBuildingForPlayer(playerid, 700, 1463.0625, -1690.6484, 13.7266, 0.25);
    RemoveBuildingForPlayer(playerid, 641, 1458.6172, -1684.1328, 11.1016, 0.25);
    RemoveBuildingForPlayer(playerid, 625, 1457.2734, -1666.2969, 13.6953, 0.25);
    RemoveBuildingForPlayer(playerid, 1280, 1468.9844, -1682.7188, 13.4531, 0.25);
    RemoveBuildingForPlayer(playerid, 712, 1471.4063, -1666.1797, 22.2578, 0.25);
    RemoveBuildingForPlayer(playerid, 1231, 1479.3828, -1682.3125, 15.6328, 0.25);
    RemoveBuildingForPlayer(playerid, 625, 1458.2578, -1659.2578, 13.6953, 0.25);
    RemoveBuildingForPlayer(playerid, 712, 1449.8516, -1655.9375, 22.2578, 0.25);
    RemoveBuildingForPlayer(playerid, 1231, 1477.9375, -1652.7266, 15.6328, 0.25);
    RemoveBuildingForPlayer(playerid, 1280, 1479.6094, -1653.2500, 13.4531, 0.25);
    RemoveBuildingForPlayer(playerid, 625, 1457.3516, -1650.5703, 13.6953, 0.25);
    RemoveBuildingForPlayer(playerid, 625, 1454.4219, -1642.4922, 13.6953, 0.25);
    RemoveBuildingForPlayer(playerid, 1280, 1467.8516, -1646.5938, 13.4531, 0.25);
    RemoveBuildingForPlayer(playerid, 1280, 1472.8984, -1651.5078, 13.4531, 0.25);
    RemoveBuildingForPlayer(playerid, 1280, 1465.9375, -1639.8203, 13.4531, 0.25);
    RemoveBuildingForPlayer(playerid, 1231, 1466.4688, -1637.9609, 15.6328, 0.25);
    RemoveBuildingForPlayer(playerid, 625, 1449.5938, -1635.0469, 13.6953, 0.25);
    RemoveBuildingForPlayer(playerid, 1280, 1467.7109, -1632.8906, 13.4531, 0.25);
    RemoveBuildingForPlayer(playerid, 1232, 1465.8906, -1629.9766, 15.5313, 0.25);
    RemoveBuildingForPlayer(playerid, 1280, 1472.6641, -1627.8828, 13.4531, 0.25);
    RemoveBuildingForPlayer(playerid, 1280, 1479.4688, -1626.0234, 13.4531, 0.25);
    RemoveBuildingForPlayer(playerid, 3985, 1479.5625, -1631.4531, 12.0781, 0.25);
    RemoveBuildingForPlayer(playerid, 4206, 1479.5547, -1639.6094, 13.6484, 0.25);
    RemoveBuildingForPlayer(playerid, 1232, 1465.8359, -1608.3750, 15.3750, 0.25);
    RemoveBuildingForPlayer(playerid, 1229, 1466.4844, -1598.0938, 14.1094, 0.25);
    RemoveBuildingForPlayer(playerid, 1226, 1451.3359, -1596.7031, 16.4219, 0.25);
    RemoveBuildingForPlayer(playerid, 1226, 1471.3516, -1596.7031, 16.4219, 0.25);
    RemoveBuildingForPlayer(playerid, 1280, 1488.7656, -1704.5938, 13.4531, 0.25);
    RemoveBuildingForPlayer(playerid, 700, 1494.2109, -1694.4375, 13.7266, 0.25);
    RemoveBuildingForPlayer(playerid, 1280, 1488.7656, -1693.7344, 13.4531, 0.25);
    RemoveBuildingForPlayer(playerid, 620, 1496.9766, -1686.8516, 11.8359, 0.25);
    RemoveBuildingForPlayer(playerid, 641, 1494.1406, -1689.2344, 11.1016, 0.25);
    RemoveBuildingForPlayer(playerid, 1280, 1488.7656, -1682.6719, 13.4531, 0.25);
    RemoveBuildingForPlayer(playerid, 712, 1480.6094, -1666.1797, 22.2578, 0.25);
    RemoveBuildingForPlayer(playerid, 712, 1488.2266, -1666.1797, 22.2578, 0.25);
    RemoveBuildingForPlayer(playerid, 1280, 1486.4063, -1651.3906, 13.4531, 0.25);
    RemoveBuildingForPlayer(playerid, 1280, 1491.3672, -1646.3828, 13.4531, 0.25);
    RemoveBuildingForPlayer(playerid, 1280, 1493.1328, -1639.4531, 13.4531, 0.25);
    RemoveBuildingForPlayer(playerid, 1280, 1486.1797, -1627.7656, 13.4531, 0.25);
    RemoveBuildingForPlayer(playerid, 1280, 1491.2188, -1632.6797, 13.4531, 0.25);
    RemoveBuildingForPlayer(playerid, 1232, 1494.4141, -1629.9766, 15.5313, 0.25);
    RemoveBuildingForPlayer(playerid, 1232, 1494.3594, -1608.3750, 15.3750, 0.25);
    RemoveBuildingForPlayer(playerid, 1226, 1488.5313, -1596.7031, 16.4219, 0.25);
    RemoveBuildingForPlayer(playerid, 1229, 1498.0547, -1598.0938, 14.1094, 0.25);
    RemoveBuildingForPlayer(playerid, 1288, 1504.7500, -1705.4063, 13.5938, 0.25);
    RemoveBuildingForPlayer(playerid, 1287, 1504.7500, -1704.4688, 13.5938, 0.25);
    RemoveBuildingForPlayer(playerid, 1286, 1504.7500, -1695.0547, 13.5938, 0.25);
    RemoveBuildingForPlayer(playerid, 1285, 1504.7500, -1694.0391, 13.5938, 0.25);
    RemoveBuildingForPlayer(playerid, 673, 1498.9609, -1684.6094, 12.3984, 0.25);
    RemoveBuildingForPlayer(playerid, 625, 1504.1641, -1662.0156, 13.6953, 0.25);
    RemoveBuildingForPlayer(playerid, 625, 1504.7188, -1670.9219, 13.6953, 0.25);
    RemoveBuildingForPlayer(playerid, 620, 1503.1875, -1621.1250, 11.8359, 0.25);
    RemoveBuildingForPlayer(playerid, 673, 1501.2813, -1624.5781, 12.3984, 0.25);
    RemoveBuildingForPlayer(playerid, 673, 1498.3594, -1616.9688, 12.3984, 0.25);
    RemoveBuildingForPlayer(playerid, 1226, 1504.8906, -1596.7031, 16.4219, 0.25);
    RemoveBuildingForPlayer(playerid, 712, 1508.4453, -1668.7422, 22.2578, 0.25);
    RemoveBuildingForPlayer(playerid, 625, 1505.6953, -1654.8359, 13.6953, 0.25);
    RemoveBuildingForPlayer(playerid, 625, 1508.5156, -1647.8594, 13.6953, 0.25);
    RemoveBuildingForPlayer(playerid, 625, 1513.2734, -1642.4922, 13.6953, 0.25);
    RemoveBuildingForPlayer(playerid, 1258, 1510.8906, -1607.3125, 13.6953, 0.25);
    RemoveBuildingForPlayer(playerid, 1226, 1524.8281, -1647.6406, 16.4219, 0.25);
    RemoveBuildingForPlayer(playerid, 620, 1541.4531, -1642.0313, 13.0469, 0.25);
    RemoveBuildingForPlayer(playerid, 1226, 1524.8281, -1621.9609, 16.4219, 0.25);
    RemoveBuildingForPlayer(playerid, 1226, 1525.3828, -1611.1563, 16.4219, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1528.9531, -1605.8594, 15.6250, 0.25);
    CreateObject(9254, 1496.11, -1614.06, 12.76,   0.00, 0.00, 0.00);
    CreateObject(3444, -7892.57, -5837.60, -3469.11,   0.00, 0.00, 0.00);
    CreateObject(3444, -6254.69, -5534.99, -4841.58,   0.00, 0.00, 0.00);
    CreateObject(8661, 1454.40, -1607.08, 12.36,   0.00, 0.00, 0.00);
    CreateObject(8661, 1453.20, -1626.94, 12.36,   0.00, 0.00, 0.00);
    CreateObject(970, 1465.32, -1626.76, 12.89,   0.00, 0.00, 0.00);
    CreateObject(970, 1461.17, -1626.77, 12.89,   0.00, 0.00, 0.00);
    CreateObject(970, 1457.00, -1626.74, 12.89,   0.00, 0.00, 0.00);
    CreateObject(970, 1452.86, -1626.73, 12.89,   0.00, 0.00, 0.00);
    CreateObject(970, 1448.75, -1626.73, 12.89,   0.00, 0.00, 0.00);
    CreateObject(970, 1444.55, -1626.71, 12.89,   0.00, 0.00, 0.00);
    CreateObject(970, 1440.35, -1626.73, 12.89,   0.00, 0.00, 0.00);
    CreateObject(970, 1436.51, -1626.64, 12.89,   0.00, 0.00, 0.00);
    CreateObject(970, 1434.44, -1624.40, 12.89,   0.00, 0.00, 90.00);
    CreateObject(970, 1434.47, -1620.14, 12.89,   0.00, 0.00, 90.00);
    CreateObject(970, 1434.48, -1616.03, 12.89,   0.00, 0.00, 90.00);
    CreateObject(970, 1434.51, -1611.63, 12.89,   0.00, 0.00, 90.00);
    CreateObject(970, 1434.51, -1607.66, 12.89,   0.00, 0.00, 90.00);
    CreateObject(2098, 1454.60, -1597.44, 14.30,   0.00, 0.00, 0.00);
    CreateObject(970, 1435.37, -1599.70, 12.89,   0.00, 0.00, 70.00);
    CreateObject(970, 1438.10, -1597.34, 12.89,   0.00, 0.00, 190.00);
    CreateObject(970, 1442.03, -1596.99, 12.89,   0.00, 0.00, 180.00);
    CreateObject(970, 1446.21, -1596.96, 12.89,   0.00, 0.00, 180.00);
    CreateObject(970, 1450.37, -1596.95, 12.89,   0.00, 0.00, 180.00);
    CreateObject(970, 1434.49, -1603.67, 12.89,   0.00, 0.00, 90.00);
    CreateObject(970, 1458.76, -1597.27, 12.89,   0.00, 0.00, 180.00);
    CreateObject(970, 1462.91, -1597.26, 12.89,   0.00, 0.00, 180.00);
    CreateObject(970, 1467.06, -1597.27, 12.89,   0.00, 0.00, 180.00);
    CreateObject(1364, 1436.93, -1625.84, 13.06,   0.00, 0.00, 180.00);
    CreateObject(1281, 1453.01, -1621.09, 13.25,   0.00, 0.00, 0.00);
    CreateObject(1281, 1453.16, -1616.24, 13.25,   0.00, 0.00, 0.00);
    CreateObject(1281, 1453.51, -1611.41, 13.25,   0.00, 0.00, 0.00);
    CreateObject(1281, 1458.33, -1611.36, 13.25,   0.00, 0.00, 0.00);
    CreateObject(1281, 1458.17, -1616.36, 13.25,   0.00, 0.00, 0.00);
    CreateObject(1281, 1457.80, -1621.49, 13.25,   0.00, 0.00, 0.00);
    CreateObject(1432, 1461.92, -1609.78, 12.72,   0.00, 0.00, 12.72);
    CreateObject(1432, 1446.83, -1609.40, 13.26,   0.00, 0.00, 0.00);
    CreateObject(1432, 1450.23, -1624.08, 13.26,   0.00, 0.00, 0.00);
    CreateObject(1432, 1459.78, -1600.54, 12.46,   0.00, 0.00, 0.00);
    CreateObject(1280, 1466.20, -1606.12, 12.72,   0.00, 0.00, 0.00);
    CreateObject(1280, 1466.20, -1610.70, 12.72,   0.00, 0.00, 0.00);
    CreateObject(1280, 1466.12, -1616.24, 12.72,   0.00, 0.00, 0.00);
    CreateObject(1280, 1466.25, -1600.06, 12.72,   0.00, 0.00, 0.00);
    CreateObject(8661, 1453.24, -1642.69, 12.36,   0.00, 0.00, 0.00);
    CreateObject(8661, 1453.30, -1680.58, 12.36,   0.00, 0.00, 0.00);
    CreateObject(8661, 1493.14, -1640.82, 12.36,   0.00, 0.00, 0.00);
    CreateObject(8661, 1504.61, -1640.91, 12.38,   0.00, 0.00, 0.00);
    CreateObject(8661, 1504.96, -1660.72, 12.36,   0.00, 0.00, 0.00);
    CreateObject(8661, 1465.03, -1660.78, 12.36,   0.00, 0.00, 0.00);
    CreateObject(8661, 1533.10, -1680.71, 12.36,   0.00, 0.00, 0.00);
    CreateObject(8661, 1493.21, -1680.37, 12.36,   0.00, 0.00, 0.00);
    CreateObject(8661, 1504.85, -1699.65, 12.36,   0.00, 0.00, 0.00);
    CreateObject(8661, 1425.05, -1662.51, 12.36,   0.00, 0.00, 0.00);
    CreateObject(8661, 1465.31, -1700.34, 12.36,   0.00, 0.00, 0.00);
    CreateObject(8661, 1425.57, -1700.43, 12.36,   0.00, 0.00, 0.00);
    CreateObject(8661, 1506.59, -1719.49, 12.36,   0.00, 0.00, 0.00);
    CreateObject(8661, 1466.74, -1719.62, 12.36,   0.00, 0.00, 0.00);
    CreateObject(8661, 1426.87, -1720.26, 12.36,   0.00, 0.00, 0.00);
    CreateObject(19467, 1477.09, -1626.99, 12.37,   0.00, 180.00, 180.00);
    CreateObject(19467, 1483.08, -1627.02, 12.37,   0.00, 180.00, 180.00);
    CreateObject(19467, 1489.16, -1627.03, 12.37,   0.00, 180.00, 180.00);
    CreateObject(19467, 1495.04, -1627.04, 12.37,   0.00, 180.00, 180.00);
    CreateObject(19467, 1501.04, -1626.99, 12.37,   0.00, 180.00, 180.00);
    CreateObject(19467, 1506.92, -1627.00, 12.37,   0.00, 180.00, 180.00);
    CreateObject(19467, 1512.92, -1627.01, 12.37,   0.00, 180.00, 180.00);
    CreateObject(19467, 1518.82, -1627.03, 12.37,   0.00, 180.00, 180.00);
    CreateObject(19467, 1518.71, -1601.97, 12.37,   0.00, 180.00, 0.00);
    CreateObject(19467, 1512.76, -1602.13, 12.37,   0.00, 180.00, 0.00);
    CreateObject(19467, 1506.68, -1602.24, 12.37,   0.00, 180.00, 0.00);
    CreateObject(19467, 1480.11, -1601.99, 12.37,   0.00, 180.00, 0.00);
    CreateObject(19467, 1474.20, -1601.99, 12.37,   0.00, 180.00, 0.00);
    return 1;
}
Reply
#2

Brother see the destination:
Код:
C:Users/Lee/Desktop/Evolution/pawno/include/removebuilding_fix.inc
So this means the error is in your removebuilding_fix include which is in pawno/include folder.

PS:Use pawn tags to paste a pawn code don't use CODE tags.
Reply
#3

Pawno is wierd.
pawn Код:
#define COLOR_LIGHTRED 0xFF6347AA
one little thing can stop the hole shit, also you have a expected token error check every RemoveBuildingForPlayer and if that is not working try to figure out when the errors first came and redo your way there.
Reply
#4

Quote:
Originally Posted by HDFord
Посмотреть сообщение
Pawno is wierd.
pawn Код:
#define COLOR_LIGHTRED 0xFF6347AA
one little thing can stop the hole shit, also you have a expected token error check every RemoveBuildingForPlayer and if that is not working try to figure out when the errors first came and redo your way there.
Man its the 72nd line in his include not GM!
Reply
#5

Quote:
Originally Posted by Faisal_khan
Посмотреть сообщение
Man its the 72nd line in his include not GM!
What do you mean?
Reply
#6

Quote:
Originally Posted by Bread
Посмотреть сообщение
What do you mean?
I mean this!

Quote:
Originally Posted by Faisal_khan
Посмотреть сообщение
Brother see the destination:
Код:
C:Users/Lee/Desktop/Evolution/pawno/include/removebuilding_fix.inc
So this means the error is in your removebuilding_fix include which is in pawno/include folder.
Reply
#7

Quote:
Originally Posted by Faisal_khan
Посмотреть сообщение
I mean this!
So , my include is not working?
Reply
#8

Yeah it has some problems in it paste your include here we will find a way to deal with it.
Reply
#9

pawn Код:
#if !defined MAX_REMOVED_OBJECTS
    #define MAX_REMOVED_OBJECTS 10000
#endif

enum RemovedObjectsENUM {_model, Float:_oX, Float:_oY, Float:_oZ, Float:_orX, Float:_orY, Float:_orZ, Float:_oRadius, restored}
new RemovedObjects[MAX_REMOVED_OBJECTS][RemovedObjectsENUM];

/*
native RemoveBuilding(modelid, Float:oX, Float:oY, Float:oZ, Float:oRadius = 0.25, Float:orX = 0.0, Float:orY = 0.0, Float:orZ = 0.0);
native RestoreBuilding(slotid);
native RemoveSpecificBuilding(modelid);

native CountRemovedObjects();
*/


stock RemoveBuilding(modelid, Float:oX, Float:oY, Float:oZ, Float:oRadius = 0.25, Float:orX = 0.0, Float:orY = 0.0, Float:orZ = 0.0)
{
    for(new i; i < MAX_REMOVED_OBJECTS; i++)
    {
        if(RemovedObjects[i][_model] != modelid) continue;
        if(RemovedObjects[i][restored] != 0)
        {
            if((RemovedObjects[i][_oX] == oX) && (RemovedObjects[i][_oY] == oY) && (RemovedObjects[i][_oZ] == oZ))
            {
                DestroyObject(RemovedObjects[i][restored]);
                RemovedObjects[i][restored] = 0;
                RemovedObjects[i][_model] = 0;
                return i;
            }
        }
    }

    new slot = GetObjectFreeSlot();
    if(slot == -1) return printf("\tCannot remove any more objects.\nIncrease MAX_REMOVED_OBJECTS in your script.\nIt is currently: %i", MAX_REMOVED_OBJECTS);
   
    RemovedObjects[slot][_model] = modelid;
    RemovedObjects[slot][_oX] = oX;
    RemovedObjects[slot][_oY] = oY;
    RemovedObjects[slot][_oZ] = oZ;
    RemovedObjects[slot][_oRadius] = oRadius;

    RemovedObjects[slot][_orX] = orX;
    RemovedObjects[slot][_orY] = orY;
    RemovedObjects[slot][_orZ] = orZ;

    for(new i; i < MAX_PLAYERS; i++)
    {
        if(!IsPlayerConnected(i)) continue;
        RemoveBuildingForPlayer(i, modelid, oX, oY, oZ, oRadius);
    }
    return slot;
}

stock RestoreBuilding(slotid)
{
    if(slotid < 0 || slotid > MAX_REMOVED_OBJECTS) return 0;
    if(RemovedObjects[slotid][_model] == 0) return 0;
    RemovedObjects[slot][restored] = CreateObject(RemovedObjects[slot][_model], RemovedObjects[slot][_oX], RemovedObjects[slot][_oY], RemovedObjects[slot][_oZ], RemovedObjects[slot][_orX], RemovedObjects[slot][_orY], RemovedObjects[slot][_orZ]);
    return 1;
}

stock RemoveSpecificBuilding(modelid)
{
    return RemoveBuilding(modelid, 0.0, 0.0, 0.0, 10000.0);
}

forward REMOBJ_OnPlayerConnect(playerid);
public OnPlayerConnect(playerid)
{
    for(new i; i < MAX_REMOVED_OBJECTS; i++)
    {
        if(RemovedObjects[i][_model] != 0) RemoveBuildingForPlayer(playerid, RemovedObjects[i][_model], RemovedObjects[i][_oX], RemovedObjects[i][_oY], RemovedObjects[i][_oZ], RemovedObjects[i][_oRadius]);
    }
    if(funcidx("REMOBJ_OnPlayerConnect") != -1) CallLocalFunction("REMOBJ_OnPlayerConnect", "i", playerid);
    return 1;
}
#if defined _ALS_OnPlayerConnect
    #undef OnPlayerConnect
#else
    #define _ALS_OnPlayerConnect
#endif
#define OnPlayerConnect REMOBJ_OnPlayerConnect

stock GetObjectFreeSlot()
{
    for(new i; i < MAX_REMOVED_OBJECTS; i++)
    {
        if(RemovedObjects[i][_model] == 0) return i;
    }
    return -1;
}

stock CountRemovedObjects()
{
    new count = 0;
    for(new i; i < MAX_REMOVED_OBJECTS; i++)
    {
        if(RemovedObjects[i][_model] != 0) count++;
    }
    return count;
}
Thats the include :/
Reply
#10

Anyone know , help is appreciated?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)