12.02.2015, 17:16
You should start your loop with x=0 instead of x=-1.
You're having this statement: tCP[DAM] == gTeam[x]
This will try to access gTeam[-1] and that will cause an intern crash, and the function will stop working.
You're having this statement: tCP[DAM] == gTeam[x]
This will try to access gTeam[-1] and that will cause an intern crash, and the function will stop working.