MySQL - not loading houses.
#9

It seems to be from this:
pawn Код:
forward OnHousesLoad();
public OnHousesLoad()
{
    new irows, ifields;
    cache_get_data(irows, ifields);
    for(new i = 0; i < irows; i++)
    {
        HouseInfo[i][HouseID] = cache_get_row_int(i, 0, MySQLConnection);
        cache_get_row(i, 1, HouseInfo[i][Owner], MySQLConnection, 24);
        HouseInfo[i][HouseEX] = cache_get_row_float(i, 2, MySQLConnection);
        HouseInfo[i][HouseEY] = cache_get_row_float(i, 3, MySQLConnection);
        HouseInfo[i][HouseEZ] = cache_get_row_float(i, 4, MySQLConnection);
        HouseInfo[i][HouseIX] = cache_get_row_float(i, 5, MySQLConnection);
        HouseInfo[i][HouseIY] = cache_get_row_float(i, 6, MySQLConnection);
        HouseInfo[i][HouseIZ] = cache_get_row_float(i, 7, MySQLConnection);
        HouseInfo[i][Weed] = cache_get_row_int(i, 8, MySQLConnection);
        HouseInfo[i][Money] = cache_get_row_int(i, 9, MySQLConnection);
        HouseInfo[i][Locked] = cache_get_row_int(i, 10, MySQLConnection);
        HouseInfo[i][Price] = cache_get_row_int(i, 11, MySQLConnection);
        HouseInfo[i][Interior] = cache_get_row_int(i, 12, MySQLConnection);
    }
}
Reply


Messages In This Thread
MySQL - not loading houses. - by Zeppo - 25.03.2014, 18:20
Re: MySQL - not loading houses. - by newbienoob - 25.03.2014, 18:26
Re: MySQL - not loading houses. - by Zeppo - 25.03.2014, 18:32
Re: MySQL - not loading houses. - by Zeppo - 25.03.2014, 19:17
Re: MySQL - not loading houses. - by Konstantinos - 25.03.2014, 19:47
Re: MySQL - not loading houses. - by Zeppo - 25.03.2014, 20:05
Re: MySQL - not loading houses. - by iZN - 25.03.2014, 20:06
Re: MySQL - not loading houses. - by Zeppo - 25.03.2014, 20:14
Re: MySQL - not loading houses. - by Zeppo - 25.03.2014, 20:42
Re: MySQL - not loading houses. - by Zeppo - 28.03.2014, 19:16

Forum Jump:


Users browsing this thread: 2 Guest(s)