05.08.2011, 14:23
I think you can do it like this:
Since sizeof is an operator and not a function, it will only slightly affect your compile time, but not the overall performance ingame.
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)