Weird thing with enums? Or am i just blind?
#1

Hello,

I am having a tag mismatch error but i cant find it probably because im kind of blind lol.
My enum:
pawn Код:
enum ClubCars
{
    ExpireDate,
    vehicleModel
}
new ClubVehicles[MAX_CLUBCARS][ClubCars];
This is the function i am using:
pawn Код:
public ClubCarTimer()
{
    new Query[128], rows, fields, i = 0;
    format(Query, sizeof(Query), "SELECT * FROM ClubCars");
    mysql_function_query( Handle, Query, false, "", "" );
    cache_get_data( rows, fields, Handle);
   
    while(rows > i < MAX_CLUBCARS)
    {
        ClubVehicles[i][ExpireDate] = cache_get_row_float(i, 0);
    }
    return 1;
}
What is wrong?
The tag mis match is on this line:
Код:
		ClubVehicles[i][ExpireDate] = cache_get_row_float(i, 0);
Reply


Messages In This Thread
Weird thing with enums? Or am i just blind? - by thimo - 31.07.2013, 22:38
Re: Weird thing with enums? Or am i just blind? - by Th3_P4dr1n0 - 31.07.2013, 22:45
Re: Weird thing with enums? Or am i just blind? - by wumpyc - 31.07.2013, 22:46
Re: Weird thing with enums? Or am i just blind? - by thimo - 31.07.2013, 22:48
Re: Weird thing with enums? Or am i just blind? - by jamesbond007 - 31.07.2013, 23:36
Re: Weird thing with enums? Or am i just blind? - by Scenario - 31.07.2013, 23:45

Forum Jump:


Users browsing this thread: 1 Guest(s)