10.04.2015, 09:12
hey this line
Why it not save the house system? can someone explain
iff you guys wanna get more information about the code tell me
if someone can help help me
PHP код:
stock SaveHouse(id)
{
if(!Iter_Contains(Houses, id)) return 0;
mysql_format(gSQLHandle, query, sizeof(query), "UPDATE houses SET HouseName='%s', HouseOwner='%s', HousePassword='%s', HouseLock=%d, HouseMoney=%d, LastEntered=%d WHERE ID=%d",
HouseData[id][Name], HouseData[id][Owner], HouseData[id][Password], HouseData[id][LockMode], HouseData[id][SafeMoney], HouseData[id][LastEntered], id);
mysql_tquery(gSQLHandle, query, "", "");
HouseData[id][Save] = false;
return 1;
}
iff you guys wanna get more information about the code tell me
if someone can help help me
