tag mismatch problem
#1

pawn Code:
new Float:RentACar[141][8] =
{
    // model, x, y, z, a, color, price
    {412, 2119.83203125, -1784.43359375, 13.31082916, 90.00000000, 119, 100}, //Voodoo
    //rest of code
};

For creating vehicles:
pawn Code:
new RentVozilo[141];

for(new i; i < sizeof(RentVozilo); i++)
    {
        RentVozilo[i] = AddStaticVehicleEx(RentACar[i][0], RentACar[i][1], RentACar[i][2], RentACar[i][3], RentACar[i][4], RentACar[i][5], RentACar[i][5], 200);
    }
I have "tag mismatch" error because x, y, z, a are float, but modelid, color and price are int.
How to fix that errors? :/
Reply


Messages In This Thread
tag mismatch problem - by Pooh7 - 16.04.2011, 12:04
Re: tag mismatch problem - by Calgon - 16.04.2011, 12:58
Re: tag mismatch problem - by Pooh7 - 16.04.2011, 13:25
Re: tag mismatch problem - by Calgon - 16.04.2011, 13:58

Forum Jump:


Users browsing this thread: 1 Guest(s)