error 029: invalid expression, assumed zero
#3

pawn Код:
// Setup a custom type that holds all data for houses
enum THouseData
{
    PickupID, // Holds the pickup-id that is linked to this house
    Text3D:DoorText, // Holds the reference to the 3DText above the house's pickup
    MapIconID, // Holds the ID of the mapicon for the house

    bool:Owned, // Holds true if the house is owned by somebody
    Owner[24], // Holds the name of the owner of the house

    HouseName[100], // Holds the name of the house (this will be displayed above the pickup near the house when it's owned)
    Float:HouseX, // Holds the X-coordinate of the pickup for the house
    Float:HouseY, // Holds the Y-coordinate of the pickup for the house
    Float:HouseZ, // Holds the Z-coordinate of the pickup for the house
    HouseLevel, // Holds the level of upgrades the house has, and defines which interior to use when you enter the house
    HouseMaxLevel, // Holds the maximum level this house can be upgraded to
    HousePrice, // Holds the price for buying the house, the same price applies when upgrading a house per level (multiplied by HouseUpgradePercent/100)
    bool:HouseOpened, // Holds true if the house is open to the public (anyone can enter), false means: only the owner can enter it
    bool:Insurance, // Holds "true" if the house has an insurance for the vehicles belonging to this house
    VehicleIDs[10], // Holds the vehicle-id's of the vehicles linked to this house (max 10 vehicles per house)

    bool:StaticHouse, // Holds "true" if the house is static (cannot be upgraded and has a fixed interior)
    CarSlots // Holds the amount of carslots available
}
// Holds the data for all houses
new AHouseData[MAX_HOUSES][THouseData];
This?
Reply


Messages In This Thread
HELP ME PLEASE I REALLY NEED HELP! - by Tass007 - 26.09.2011, 06:25
Re: error 029: invalid expression, assumed zero - by [MWR]Blood - 26.09.2011, 06:27
Re: error 029: invalid expression, assumed zero - by Tass007 - 26.09.2011, 07:13
Re: error 029: invalid expression, assumed zero - by [MWR]Blood - 26.09.2011, 07:14
Re: error 029: invalid expression, assumed zero - by Tass007 - 26.09.2011, 07:15
Re: error 029: invalid expression, assumed zero - by Tass007 - 26.09.2011, 07:23
Re: error 029: invalid expression, assumed zero - by Tass007 - 26.09.2011, 08:04
Re: error 029: invalid expression, assumed zero - by Tass007 - 27.09.2011, 03:36
Re: error 029: invalid expression, assumed zero - by Tass007 - 04.10.2011, 05:53

Forum Jump:


Users browsing this thread: 1 Guest(s)