16.07.2015, 16:27
It will only decrease for playerid. Unless playerid can be in PilotID[i] multiple times, the if condition will only be met once. You could then add
break;
at the end of the if clause, so the loop will stop and wont continue unneccessarily.
break;
at the end of the if clause, so the loop will stop and wont continue unneccessarily.