06.04.2016, 08:52
Sorry and I debugged some things
teams[Gangzones[i][gFACTION]][teamturf]++;
Error on this
[Gangzones[i][gFACTION] array index out of bounds
lol i didnt need anyones help anymore
crashdetect is love
lol fixed it myself
I just had to add if(Gangzones[i][gFACTION] > 1) because!
I dont have faction 0 and -1 and 255 added in the teams list thats why and unowned turfs have -1 faction so thats why
tags:-
making turf system
array index out of bounds enumerator
crayder
teams[Gangzones[i][gFACTION]][teamturf]++;
Error on this
[Gangzones[i][gFACTION] array index out of bounds
lol i didnt need anyones help anymore
crashdetect is love
lol fixed it myself
I just had to add if(Gangzones[i][gFACTION] > 1) because!
I dont have faction 0 and -1 and 255 added in the teams list thats why and unowned turfs have -1 faction so thats why
tags:-
making turf system
array index out of bounds enumerator
crayder