error 029: invalid expression, assumed zero
#6

It keeps repeating the errors on the same thing untill it gets to Aplayerdata and then i get 6 errors
So Here is the code

pawn Код:
public OnPlayerConnect(playerid)
{
// Setup local variables
    new HouseID, HouseSlot, Name[24];

    // Get the player's name
    GetPlayerName(playerid, Name, sizeof(Name));

    // Loop through all houses to find the ones which belong to this player
    for (HouseID = 1; HouseID < MAX_HOUSES; HouseID++)
    {
  // Check if the house exists
        if (IsValidDynamicPickup(AHouseData[HouseID][PickupID]))
        {
            // Check if the house is owned
            if (AHouseData[HouseID][Owned] == true)
            {
                // Check if the player is the owner of the house
                if (strcmp(AHouseData[HouseID][Owner], Name, false) == 0)
                {
                    // Add the HouseID to the player's account for faster reference later on
                    APlayerData[playerid][Houses][HouseSlot] = HouseID;

                    // Load housecars if they weren't loaded at FilterscriptInit
                    if (LoadCarsDuringFSInit == false)
                        HouseFile_LoadCars(HouseID);

                    // Select the next HouseSlot
                    HouseSlot++;
                }
            }
        }
    }
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: 3 Guest(s)