1 Error. Error 047: array sizes do not match
#3

Thanks, I got it fixed. But now I have a problem:

I have a "Vehicles" thing too. It's like this:

I have a dynamic vehicle system (Faction, FactionRank, Colour, Colour2, CarModel and all this stuff). It's just that when I come to OnPlayerStateChange, I do:

pawn Код:
if(newstate == PLAYER_STATE_DRIVER)
{
    new vehicleid = GetPlayerVehicleID(playerid);
    if(gPlayerData[playerid][Faction] == Vehicles[vehicleid][Faction])
    {
        return 1;
    }
    else
    {
        RemovePlayerFromVehicle(playerid);
    }
    return 1;
}
With that, it just removes me from the vehicle. Even if the players faction is the same as the vehicles Faction. Please help me here, would be grateful.
Reply


Messages In This Thread
1 Error. Error 047: array sizes do not match - by iGetty - 12.01.2012, 00:22
Re: 1 Error. Error 047: array sizes do not match - by Jefff - 12.01.2012, 01:02
Re: 1 Error. Error 047: array sizes do not match - by iGetty - 12.01.2012, 02:14
Re: 1 Error. Error 047: array sizes do not match - by Steven82 - 12.01.2012, 03:34
Re: 1 Error. Error 047: array sizes do not match - by iGetty - 12.01.2012, 12:39
Re: 1 Error. Error 047: array sizes do not match - by Vince - 12.01.2012, 12:42
Re: 1 Error. Error 047: array sizes do not match - by iGetty - 12.01.2012, 13:23

Forum Jump:


Users browsing this thread: 2 Guest(s)