21.09.2014, 20:28
Well, I think it matters slightly when using sizeof. For example, to show all the 4 stats textdraw for a player in a loop:
pawn Код:
for(new i; i < sizeof(Stats[]); i++) // Text:Stats[MAX_PLAYERS][4]
{
TextDrawShowForPlayer(playerid, Stats[playerid][i]);
}
// whereas
for(new i; i < sizeof(Stats); i++) // Text:Stats[4][MAX_PLAYERS]
{
TextDrawShowForPlayer(playerid, Stats[i][playerid]);
}

