08.09.2018, 11:13
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?
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?