How to read the 2 sizeof ?
#1

Eg.:

pawn Код:
enum sI
{
  Day,
  Month,
  Year,
  Age
};

pStatics[MAX_PLAYERS][sI];
i want to do in a for loop , to counting the sI
pawn Код:
for(new i; i < sizeof pStatics[]; i++) // this will show ~ 800 numbers
pawn Код:
for(new i; i < sizeof pStatics; i++) // this will show 200 numbers ( max_players );

Reply
#2

ah, there was some arrays and i forget to collected them

~ Close Topic
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)