#defining 1000 houses
#9

pawn Код:
#define MAX_HOUSES 1000
for(new i = 0; i != MAX_HOUSES; i++)
{
    printf("#define CP_%i %i", i + 1, i);
}
lol i dont understand why u would even use something like this..

just use

pawn Код:
New Housecp[MAX_HOUSES];
Housecp[houseid] = CreateDynamicCP(...);
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: 1 Guest(s)