Your checking here if the user is a bot.
PHP Code:
if(!is_user_bot(id))
return 0;
Checking the players authid is pretty much useless here since your going to loop to all the players in player_kick() function
PHP Code:
new authid[32]
get_user_authid(id,authid,31)
if(players > limit)
{
if(containi(authid,"STEAM_ID_PENDING"))
{
player_kick()
}
}
Also the right usage of "containi" is
PHP Code:
if(containi(authid,"STEAM_ID_PENDING") != -1)
Because it returns -1 if it cant find anything.
__________________
HDD fried, failed to backup files. Sorry folks, just don't have free time anymore. This is goodbye.