12.03.2019, 22:12
As you said above (but if it's under 5 the time connected does't go up for some reason), is probably because of this part of your code, this conditional command will only work if your AFK time is less than 5, so when it reaches 5, it will return FALSE, since 5 is not less than 5.
Код:
if(PlayerAFK[i] < 5) PlayerInfo[i][pTimeConnected]++;