#defining 1000 houses
#2

pawn Код:
#define Houses 1000
new houses = Houses;
for(new i = 0; i < houses; i++)
{
    format(housestr,sizeof(housestr),"#define CP_%i %i",i++, i);
}
is that what u mean?
Reply


Messages In This Thread
#defining 1000 houses (not manually) - by jamesbond007 - 16.06.2011, 18:24
Re: #defining 1000 houses - by Donya - 16.06.2011, 18:29
Re : #defining 1000 houses - by Shidony - 16.06.2011, 18:30
Re: #defining 1000 houses - by jamesbond007 - 16.06.2011, 18:32
Re: #defining 1000 houses - by Cyanide - 16.06.2011, 18:36
Re : #defining 1000 houses - by Shidony - 16.06.2011, 18:38
Re: #defining 1000 houses - by jamesbond007 - 16.06.2011, 18:38
Re: #defining 1000 houses - by Cyanide - 16.06.2011, 18:39
Re: #defining 1000 houses - by Donya - 16.06.2011, 18:40
Re: #defining 1000 houses - by jamesbond007 - 16.06.2011, 18:42

Forum Jump:


Users browsing this thread: 2 Guest(s)