10.03.2013, 17:24
No, you need to add in your own debugging to check what element is being accessed in the arrays. For example, you have this line:
Before that, add a print statement to check the value of "i" and if it exceeds the declaration size of MapIconID array:
pawn Код:
MapIconID[i] = CreateDynamicMapIcon(hInfo[i][X], hInfo[i][Y], hInfo[i][Z], 31, 0, 0, 0, a, 10.0);
pawn Код:
printf("Value of \"i\" accessing \"MapIconID\" - %i", i);