afk check doesnt work
#4

Well first that check is too messy it'll never work for several reasons which i don't have time to state atm,

Although here's something i made really quick: CLICK HERE

It gives these to control with:

Код:
/*Functions:
__________*/
bool:IsPlayerPaused(playerid); //If the player pressed the Esc button
bool:IsPlayerAFK(playerid); //If the player isn't moving

/*Callbacks:
__________*/
public OnPlayerPause(playerid) //Once a player presses the Esc button
public OnPlayerResume(playerid) //Once a player returns from pausing

public OnPlayerAFK(playerid) //Once a player stops moving for about 55-65 seconds
public OnPlayerReturn(playerid) //Once a player starts moving again
It's an include so yeah just include it in your script using:
Код:
#include <rAfk_Checker>
Reply


Messages In This Thread
afk check doesnt work - by severance - 02.09.2018, 22:20
Re: afk check doesnt work - by solstice_ - 02.09.2018, 22:32
Re: afk check doesnt work - by severance - 02.09.2018, 22:39
Re: afk check doesnt work - by RogueDrifter - 02.09.2018, 23:16
Re: afk check doesnt work - by severance - 02.09.2018, 23:21
Re: afk check doesnt work - by Shinja - 02.09.2018, 23:47

Forum Jump:


Users browsing this thread: 1 Guest(s)