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)
+--- Thread: mysql/house system (
/showthread.php?tid=586989)
mysql/house system -
Karolukas123 - 27.08.2015
hey, so how i can show in dialog all house buyed and how many left
Re: mysql/house system -
Karolukas123 - 27.08.2015
so can samoone give Example ?
Re: mysql/house system -
Runn3R - 27.08.2015
You pass it by a loop and you check for example if the house has an owner if it has its bought if it doesn't it isn't. You put a if statement inside of the loop and you put a variable to count the bought houses.