Hello,
PHP Code:
new Handle:hSpecT = CreateConVar("sam_vs_spec_time", "35", "Time before idle player will be moved to spectator in seconds", FCVAR_PLUGIN, true, 10.0);
new Handle:hKickT = CreateConVar("sam_vs_kick_time", "60", "Time before idle spectator player will be kicked in seconds. 0 = never kick", FCVAR_PLUGIN, true, 0.0);
new Handle:hImBack = CreateConVar("sam_vs_respect_spec", "1", "Don't kick spectators players if they is no longer AFK", FCVAR_PLUGIN, true, 0.0, true, 1.0);
new Handle:hTank = CreateConVar("sam_vs_respect_tank", "0", "Don't move AFK players to spectator if they playing as Tank", FCVAR_PLUGIN, true, 0.0, true, 1.0);
new Handle:hAdmin = CreateConVar("sam_vs_respect_admins", "a", "Admins have immunity againts AFK manager. Flag value or empty \"\" to don't protect admins", FCVAR_PLUGIN);
new Handle:hKickF = CreateConVar("sam_vs_force_kick", "1", "Kicks all idle spectator players when map changes. (Requires for plugins compatibility that puts spec to spec after map change)", FCVAR_PLUGIN, true, 0.0, true, 1.0);
admin flag z is not immune....
Thanks for a fix