Mysql House System - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Mysql House System (
/showthread.php?tid=167709)
Mysql House System -
ihatetn931 - 13.08.2010
How can i make a mysql house system that works just like file but instead of it going in to a file it would go in to a database, I checked out that c-house thing but it's not what i need, I have other houseinfos that i wanna use, I had tried the one from City wide role play but for somreason it dosen't work for me. When i start up the server it writes all the rows to what i have set in Max_houses define, So for example i got my Max_Houses set for 10, Then it would write all 10 rows with zeros, Then when i type a command like /addhouse it will update the row accoding to the id i used