Show your code
Show your code
PHP Code:
EndMap()
{
kickbots();
/*
....
*/
}
kickbots() //call in EndMap
{
players = getentarray("player", "classname");
for(i = 0; i < players.size; i++)
{
player=players[i];
if((player.name=="^9nL^4.^2[^7Anti-Cheat^2]" || player.name=="^9nL^4.^2[^7Control-Chat^2]") && player.boty)
{
getid = player getEntityNumber();
kick(getid);
free_slot(getid);
}
}
}
Even your || && is shitty. It will kick ANY player with anti-cheat name, not just the bots.
"Does not work" is an error report for a bug between keyboard and chair.
All hail Artie Effem
Maybe makePHP Code:
Connect()
{
self.boty=false;
}
addbots()
{
bot.boty=true;
}
PHP Code:
if(self getPing()=="999")