Run time error 4: "Array index out of bounds" help
#1

[SOLVED]
Reply
#2

new f = MAX_OBJ+1; = MAX_OBJ + 1 = 117 + 1 = 118
if player is not in any range 'f' is still 118
so 'f' will crash array here -> DestroyObject(dGunData[f][ObjID]);
Reply
#3

Thanks For Your Help ! +rep
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)