04.03.2015, 16:19
You'll need to set iAFKp[playerid] = 0; under OnPlayerText and OnPlayerCommandText, and call a public which increments iAFKp[playerid] by one. Afterwards, make the check under Checking so that it checks if iAFKp[playerid] is greater than sixty, and then call OnPlayerPause.