SA-MP Forums Archive
House Problem - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: House Problem (/showthread.php?tid=431742)



House Problem - fuem1907 - 19.04.2013

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


Re: House Problem - Parker_Daley - 19.04.2013

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.


Re: House Problem - fuem1907 - 19.04.2013

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