19.09.2014, 17:25
Yes. For a regular array, the correct way of doing it would be:
But since this concerns an enum, I have no idea what size would be returned. I suppose it'd be the largest one. So if you have something like:
There'd be a good chance that it'd return 64, which is not what you want.
pawn Код:
sizeof(array[])
// or
sizeof(array[][])
pawn Код:
enum myVars {
string1[64],
plate[16]
}


