13.07.2016, 21:09
The size of the second dimension is 4, that means that 0-3 are the valid indexes and any other will result to a run time error 4.
When it is not an enum-array, you better use sizeof so it will determinate the size itself. Using:
will go from 0 to 3. Having [] after the name of the array returns the size of the second dimension, without it returns the first.
When it is not an enum-array, you better use sizeof so it will determinate the size itself. Using:
pawn Код:
for(new i = 0; i < sizeof heditinside[]; i++)