House Problem
#1

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
Reply
#2

You could look at the script and see if it's in the house config, That once happened to me -- I deleted the house system and got another one , trust me it will then work.
Reply
#3

Well, I just deleted every houses in houses.cfg, but it's still the same. What to do?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)