03.03.2018, 21:08
You should access House[] with the index 'houses'. I assume "ID" is auto-incremented in your database, which begins at 1, which means currently House[] will have no data for index 0.
pawn Код:
House[houses][HouseID]=id;
cache_get_value_name(houses, "HouseOwner", House[houses][HouseOwner], .max_Len = 48);
// ...