Veikiantis afk kicker | 2016.03.07 |
Posted: 2016 Mar 07 16:56
Ieškojau sau AFK kicker, dauguma ju neveikė. Šitas suveikė.
Traukta iš čia: https://forums.alliedmods.net/showthrea ... 300&page=9
- change: converting cvars to pcvars that is faster
- change: CVAR names are CHANGED from mp_* to amx_* to distinguish them from the HLDS ones
- change: checking of players now is performed only if at least X players (defined by 'amx_afkminplayers' CVAR) are on server
- new: logging of kicked players are disabled by default. To enable log set 'amx_afklog' CVAR to 1
- changed: 1 less forward to reset afktime for slot. Carefully it wasn't be tested (!) but should work properly.
Traukta iš čia: https://forums.alliedmods.net/showthrea ... 300&page=9
- change: converting cvars to pcvars that is faster
- change: CVAR names are CHANGED from mp_* to amx_* to distinguish them from the HLDS ones
- change: checking of players now is performed only if at least X players (defined by 'amx_afkminplayers' CVAR) are on server
- new: logging of kicked players are disabled by default. To enable log set 'amx_afklog' CVAR to 1
- changed: 1 less forward to reset afktime for slot. Carefully it wasn't be tested (!) but should work properly.