tag mismatch
#1

Hello.
When i compile this:
PHP код:
forward ToLoadCars(playerid);
public 
ToLoadCars(playerid)
{
new 
num_fields2,num_rows2;
cache_get_data(num_rows2,num_fields2,dbhandle);
if(
num_rows2==1)
{
for(new 
0sizeof(num_rows2); i++)
{
cInfo[i][db_id]=cache_get_field_content_float(0,"id",dbhandle);
cInfo[i][carmodelid]=cache_get_field_content_int(0,"model",dbhandle);
cInfo[i][c_x]=cache_get_field_content_float(0,"x",dbhandle);
cInfo[i][c_y]=cache_get_field_content_float(0,"y",dbhandle);
cInfo[i][c_z]=cache_get_field_content_float(0,"z",dbhandle);
cInfo[i][c_r]=cache_get_field_content_float(0,"a",dbhandle);
cInfo[i][c_color1]=cache_get_field_content_int(0,"color1",dbhandle);
cInfo[i][c_color2]=cache_get_field_content_int(0,"color2",dbhandle);
cInfo[i][c_respawntime]=cache_get_field_content_int(0,"autorespawn",dbhandle);
cInfo[i][carteam]=cache_get_field_content_int(0,"carteam",dbhandle);
}
return 
1;
}
else
{
return 
1;
}

I get a warning about a 'tag mismatch".
It's about this line:
PHP код:
cInfo[i][db_id]=cache_get_field_content_float(0,"id",dbhandle); 
Someone any idea?
Reply


Messages In This Thread
tag mismatch - by justjamie - 26.05.2016, 15:44
Re: tag mismatch - by Stinged - 26.05.2016, 15:47
Re: tag mismatch - by TaiRinsuru - 26.05.2016, 15:48
Re: tag mismatch - by justjamie - 26.05.2016, 15:50
Re: tag mismatch - by Stinged - 26.05.2016, 15:52
Re: tag mismatch - by justjamie - 26.05.2016, 15:52

Forum Jump:


Users browsing this thread: 1 Guest(s)