View Single Post
eric0279
AlliedModders Donor
Join Date: May 2007
Old 04-16-2014 , 10:42   Re: [L4D & L4D2] Simple AFK Manager Versus [27-February-2014]
Reply With Quote #11

Hello,

PHP Code:
    new Handle:hSpecT        CreateConVar("sam_vs_spec_time",        "35""Time before idle player will be moved to spectator in seconds"FCVAR_PLUGINtrue10.0);
    new 
Handle:hKickT        CreateConVar("sam_vs_kick_time",        "60""Time before idle spectator player will be kicked in seconds. 0 = never kick"FCVAR_PLUGINtrue0.0);
    new 
Handle:hImBack    CreateConVar("sam_vs_respect_spec",        "1""Don't kick spectators players if they is no longer AFK"FCVAR_PLUGINtrue0.0true1.0);
    new 
Handle:hTank        CreateConVar("sam_vs_respect_tank",    "0""Don't move AFK players to spectator if they playing as Tank"FCVAR_PLUGINtrue0.0true1.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_PLUGINtrue0.0true1.0); 
admin flag z is not immune....

Thanks for a fix
eric0279 is offline