02.09.2018, 23:16
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:
It's an include so yeah just include it in your script using:
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
Код:
#include <rAfk_Checker>