Pai ori nu ai baza de date, ori nu e corecta sintaxa mysql de aici
mysql_format(handle, gQuery, sizeof(gQuery) ,"INSERT INTO `houses` (`ID`,`EntranceX`,`EntranceY`,`EntranceZ`,`ExitX`,`ExitY`,`ExitZ`,`Owner`,`Value`,`Interior`,`Lock`,`Owned`,`Rent`,`Rentable`,`Safe`,`Level`,`World`) VALUES (%d,%f,%f,%f,%f,%f,%f,'%e',%d,%d,%d,%d,%d,%d,%d,%d,%d)", Total_House_Created, HouseInfo[house][hEntranceX], HouseInfo[house][hEntranceY], HouseInfo[house][hEntranceZ], HouseInfo[house][hExitX], HouseInfo[house][hExitY], HouseInfo[house][hExitZ], HouseInfo[house][hOwner], HouseInfo[house][hValue], HouseInfo[house][hInt], HouseInfo[house][hLock], HouseInfo[house][hOwned], HouseInfo[house][hRent], HouseInfo[house][hRentable], HouseInfo[house][hSafe], HouseInfo[house][hLevel], HouseInfo[house][hWorld]); mysql_query(handle ,gQuery);
Verifico manual in baza de date.