Weird problem
#2

I think you can do it like this:
pawn Код:
new Float:HouseInts[][3] = { // note first index is empty
/* all stuff here */
};
// and right beneath that you put this
#define HOUSE_INTERIORS sizeof(HouseInts)
Since sizeof is an operator and not a function, it will only slightly affect your compile time, but not the overall performance ingame.
Reply


Messages In This Thread
Weird problem - by [IL]HeHu - 05.08.2011, 14:16
Re: Weird problem - by Vince - 05.08.2011, 14:23
Re: Weird problem - by fie - 05.08.2011, 14:27
Re: Weird problem - by [IL]HeHu - 05.08.2011, 15:05

Forum Jump:


Users browsing this thread: 3 Guest(s)