View Single Post
sneaK
SourceMod Moderator
Join Date: Feb 2015
Location: USA
Old 12-04-2016 , 18:32   Re: Give bots immunity
Reply With Quote #4

Quote:
Originally Posted by Phire View Post
Honestly, I'm not too sure but couldn't you just tell the admins to refrain from kicking the bots?

This is untested but it might work.

PHP Code:
public void OnClientPostAdminCheck(int client)
{
    if(
IsFakeClient(client)) // If the client is fake (bot)
    
{
        
SetAdminImmunityLevel(client60); //60 being the immunity level
    
}

Long story short, I'm using cksurf and sometimes the replay bots stop working, so there's a few things we try to get them back to work, although at times some steps aren't necessary. A bit confusing but at some points I'd like them to be able to be kicked by a server config that admins can execute.

I'll try this out along with Powerlord's suggestion, thank you both!
__________________
sneaK is offline