Anti afk abuse
#4

Put
Код:
 afkcount = GetTickCount();
under
Код:
 
public OnPlayerTakeDamage(playerid, damagedid, Float:amount, weaponid)
* this will start counting 60 seconds before the player heal or go afk again

also put this next to where you define the "AFK[MAX_PLAYERS]" or idk how u call it
remove it from this cmd
Код:
new afkcount;
Reply


Messages In This Thread
Anti afk abuse - by 1fret - 22.10.2016, 20:44
Re: Anti afk abuse - by ThatFag - 22.10.2016, 20:56
Re: Anti afk abuse - by 1fret - 22.10.2016, 21:06
Re: Anti afk abuse - by ThatFag - 22.10.2016, 21:12
Re: Anti afk abuse - by Threshold - 23.10.2016, 06:14
Re: Anti afk abuse - by 1fret - 23.10.2016, 22:38
Re: Anti afk abuse [SOLVED] - by 1fret - 23.10.2016, 22:49

Forum Jump:


Users browsing this thread: 4 Guest(s)