19.04.2013, 19:01
Hello there, in my script if your house ID is -1, then you don't have a house. When someone creates new account, they start with 0. And If someone already got 0, another guy gets 1, which means they automatically buy some random houses. And when they try to buy another real house, they get this message " you are already own a house ". What can I do?
In registration, it's mysql_fetch_field_row(szReturn, "House", g_MySQLConnections[0]);
PlayerInfo[extraid][pHouse] = strval(szReturn);
mysql_fetch_field_row(szReturn, "House2", g_MySQLConnections[0]);
PlayerInfo[extraid][pHouse2] = strval(szReturn);
Whats the problem
In registration, it's mysql_fetch_field_row(szReturn, "House", g_MySQLConnections[0]);
PlayerInfo[extraid][pHouse] = strval(szReturn);
mysql_fetch_field_row(szReturn, "House2", g_MySQLConnections[0]);
PlayerInfo[extraid][pHouse2] = strval(szReturn);
Whats the problem