06.02.2018, 10:31
I solved, now here
i got "warning 202: number of arguments does not match definition"
Код:
new DB_Query[255]; strcat(DB_Query, "INSERT INTO `HOUSES` (`EnterX`, `EnterY`, `EnterZ`, `ExitX`, `ExitY`, `ExitZ`, `InsideInt`, `OutsideInt`, `Level`, `Owner`, `Price`, `Pickup`, `Icon`)", sizeof(DB_Query)); strcat(DB_Query, "VALUES ('%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', %d', 'None', '%d', '%d', '%d')", px, py, pz, SmallHouses[randomsmall][EH_X], SmallHouses[randomsmall][EH_Y], SmallHouses[randomsmall][EH_Z], SmallHouses[randomsmall][EH_Interior], pinterior, 5, 500, 1, 1, sizeof(DB_Query));