cache_get_value_name_float TAG MISMATCH -
playstores - 08.09.2018
forward OnHousesLoad(playerid);
public OnHousesLoad(playerid)
{
new num_rows;
cache_get_row_count(num_rows);
if(!num_rows)return 1;
for(new h=0; h<num_rows; h++)
{
cache_get_value_name_float(0, "hEntrancex", HouseInfo[h][hEntrancex]);
cache_get_value_name_float(0, "hEntrancey", HouseInfo[h][hEntrancey]);
cache_get_value_name_float(0, "hEntrancez", HouseInfo[h][hEntrancez]);
cache_get_value_name_float(0, "hExitx", HouseInfo[h][hExitx]);
cache_get_value_name_float(0, "hExity", HouseInfo[h][hExity]);
cache_get_value_name_float(0, "hExitz", HouseInfo[h][hExitz]);
cache_get_value_name_float(0, "hHealthx", HouseInfo[h][hHealthx]) ; //LINE 52170
cache_get_value_name_float(0, "hHealthy", HouseInfo[h][hHealthy]);
cache_get_value_name_float(0, "hHealthz", HouseInfo[h][hHealthz]);
cache_get_value_name_float(0, "hArmourx", HouseInfo[h][hArmourx]);
cache_get_value_name_float(0, "hArmoury", HouseInfo[h][hArmoury]);
cache_get_value_name_float(0, "hArmourz", HouseInfo[h][hArmourz]);
cache_get_value_name(0, "hOwner", HouseInfo[h][hOwner], MAX_PLAYER_NAME);
cache_get_value_name(0, "hDiscription", HouseInfo[h][hDiscription], MAX_PLAYER_NAME);
cache_get_value_name_int(0, "hValue", HouseInfo[h][hValue]);
cache_get_value_name_int(0, "hHel", HouseInfo[h][hHel]);
cache_get_value_name_int(0, "hArm", HouseInfo[h][hArm]);
cache_get_value_name_int(0, "hInt", HouseInfo[h][hInt]);
cache_get_value_name_int(0, "hLock", HouseInfo[h][hLock]);
cache_get_value_name_int(0, "hOwned", HouseInfo[h][hOwned]);
cache_get_value_name_int(0, "hRooms", HouseInfo[h][hRooms]);
cache_get_value_name_int(0, "hRent", HouseInfo[h][hRent]);
cache_get_value_name_int(0, "hRentabil", HouseInfo[h][hRentabil]);
cache_get_value_name_int(0, "hTakings", HouseInfo[h][hTakings]);
cache_get_value_name_int(0, "hVec", HouseInfo[h][hVec]);
cache_get_value_name_int(0, "hVcol1", HouseInfo[h][hVcol1]);
cache_get_value_name_int(0, "hVcol2", HouseInfo[h][hVcol2]);
cache_get_value_name_int(0, "hDate", HouseInfo[h][hDate]);
cache_get_value_name_int(0, "hLevel", HouseInfo[h][hLevel]);
}
return 1;
}
D:\Programme(J)\Samp Server\LOH\gamemodes\gfl.pwn(52170) : warning 213: tag mismatch
D:\Programme(J)\Samp Server\LOH\gamemodes\gfl.pwn(52171) : warning 213: tag mismatch
D:\Programme(J)\Samp Server\LOH\gamemodes\gfl.pwn(52172) : warning 213: tag mismatch
D:\Programme(J)\Samp Server\LOH\gamemodes\gfl.pwn(52173) : warning 213: tag mismatch
D:\Programme(J)\Samp Server\LOH\gamemodes\gfl.pwn(52174) : warning 213: tag mismatch
D:\Programme(J)\Samp Server\LOH\gamemodes\gfl.pwn(52175) : warning 213: tag mismatch
Whats the Problem?
Re: cache_get_value_name_float TAG MISMATCH -
Ciandlah - 08.09.2018
Show us the line 52170 ?
Then we can figure out what is going on with it, sending a bunch of code will not help us. We need specific lines
Re: cache_get_value_name_float TAG MISMATCH -
playstores - 08.09.2018
Read the code...
Re: cache_get_value_name_float TAG MISMATCH -
Dayrion - 08.09.2018
I guess 'hHealthz' and others one doesn't have "Float" tag.
Re: cache_get_value_name_float TAG MISMATCH -
IdonTmiss - 08.09.2018
Can u give us your enum for house info?
Re: cache_get_value_name_float TAG MISMATCH -
UFF - 08.09.2018
If @dayrion is right, it should be like this.
Код:
Float:hHealthx,
Float:hHealthy,
Float:hHealthz,
Float:hArmourx,
Float:hArmoury,
Float:hArmourz,
else show us the enum of house info.
Re: cache_get_value_name_float TAG MISMATCH -
playstores - 08.09.2018
yep, youre right guys, I had no "Float:" therefore
thx