Afk system
#7

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.
Reply


Messages In This Thread
Afk system - by Ugaustin - 04.03.2015, 15:44
Re: Afk system - by JessThompson - 04.03.2015, 15:45
Re: Afk system - by Ugaustin - 04.03.2015, 15:57
Re: Afk system - by JessThompson - 04.03.2015, 16:07
Re: Afk system - by Ugaustin - 04.03.2015, 16:17
Re: Afk system - by JessThompson - 04.03.2015, 16:18
Re: Afk system - by maramizo - 04.03.2015, 16:19
Re: Afk system - by Ugaustin - 04.03.2015, 16:31

Forum Jump:


Users browsing this thread: 1 Guest(s)