31.07.2013, 22:38
Hello,
I am having a tag mismatch error but i cant find it probably because im kind of blind lol.
My enum:
This is the function i am using:
What is wrong?
The tag mis match is on this line:
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];
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;
}
The tag mis match is on this line:
Код:
ClubVehicles[i][ExpireDate] = cache_get_row_float(i, 0);