Can i detect variable afk?
#1

Hello!
i wondering if its possible to detect like example this variable, if he afk 20sec he get killed or set again to spawn

if(team[playerid] == BLUE)
{
Reply
#2

use this https://sampforum.blast.hk/showthread.php?tid=525585

and under your code is

PHP код:
if(IsPlayerPause(playerid)) 
about afk time is
PHP код:
if(TimeSincePaused(playerid) == 20
Reply
#3

Quote:
Originally Posted by Yaa
Посмотреть сообщение
use this https://sampforum.blast.hk/showthread.php?tid=525585

and under your code is

PHP код:
if(IsPlayerPause(playerid)) 
about afk time is
PHP код:
if(TimeSincePaused(playerid) == 20
Pretty old & un-optimized.

Try this; https://sampforum.blast.hk/showthread.php?tid=625089
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)