02.09.2018, 22:39
It's just a variable that increases the count , and once it reaches 60, it will detect the player as being "afk".
The system works, but when theres 2 players, it confuses the player id of who is going afk and who not. And so it puts all together.
PHP код:
new AFK[MAX_PLAYERS];