/houses command
#2

You need to loop through all your houses and check if any of all houses is for sale:
pawn Код:
#define MAX_HOUSES 100 // Here you insert number of houses you have

for (new i = 0; i<MAX_HOUSES; i++)
{
              if(HouseInfo[i][Owned] == false)
              {
                           // the dialog here
               }
}
Hope that gave you an idea about how you should do it.
Reply


Messages In This Thread
/houses command - by [LHT]Bally - 23.03.2012, 21:59
Re: /houses command - by antonio112 - 23.03.2012, 23:50

Forum Jump:


Users browsing this thread: 1 Guest(s)