error 001: expected token: ")", but found "-identifier-"
#1

:S

pawn Код:
stock UpdateHouseInterior(houseID)
{
    if(houseID == INVALID_HOUSE_ID) return 0;
    if(IsValidDynamicObject(HInfo[houseID][HouseInteriorObject])
        DestroyDynamicObject(HInfo[houseID][HouseInteriorObject]); // Error here
    if(IsValidDynamicPickup(HInfo[houseID][WarDrobePickup])
        DestroyDynamicPickup(HInfo[houseID][WarDrobePickup]); // error here
    switch(HInfo[houseID][HouseInterior])
    {
        case 0:
        {
            HInfo[houseID][HouseInteriorObject] = CreateDynamicObject(15042, 2273.83179, 1014.40369, 80.55810,   0.00000, 0.00000, 0.00000, (houseID+1), (houseID+1));
            HInfo[houseID][WarDrobePickup] = CreateDynamicPickup(1275, 1, HInfo[houseID][WarDrobe][0], HInfo[houseID][WarDrobe][2], HInfo[houseID][WarDrobe][2], (houseID+1), (houseID+1));
        }
    }
    return 1;
}
Код:
C:\Users\Brandon\Desktop\Roleplay Server\gamemodes\M-RPv1.pwn(402) : error 001: expected token: ")", but found "-identifier-"
C:\Users\Brandon\Desktop\Roleplay Server\gamemodes\M-RPv1.pwn(404) : error 001: expected token: ")", but found "-identifier-"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.
Reply


Messages In This Thread
error 001: expected token: ")", but found "-identifier-" - by d3ll - 15.04.2015, 18:49
Re: error 001: expected token: ")", but found "-identifier-" - by Darrenr - 15.04.2015, 18:59
Re: error 001: expected token: ")", but found "-identifier-" - by d3ll - 15.04.2015, 19:02
Re: error 001: expected token: ")", but found "-identifier-" - by Azula - 15.04.2015, 19:30
Re: error 001: expected token: ")", but found "-identifier-" - by _GHT_MarK445 - 15.04.2015, 20:36

Forum Jump:


Users browsing this thread: 2 Guest(s)