SA-MP Forums Archive
House help!!! - 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 help!!! (/showthread.php?tid=473398)



House help!!! - Nadim - 02.11.2013

I need a function that reads all files with 0 to MAX_HOUSES*!!!

*#define MAX_HOUSES 100


Re: House help!!! - rappy93 - 02.11.2013

I don't understand .. you want a function which reads through all your houses ?

Something like this :

pawn Код:
for(new h = 0; h < MAX_HOUSES; h++)
{
     // your code here where "h" is every houses's id
}