for(new g; g < TOTAL_GANGS; g++) { if(GangInfo[i][IsCreated]== true)
for new g; if i
About ID thing I would do I would count gangs and then give ID like that. Ex. Set variable to 0, then when gang is created do [your variable]++; and assigned value to an gangid variable and so on