Hello everyone. I am trying to kick a bot The first one it finds is fine. It does work how ever. It kicks the bot and If a player try's to connect to the server it wants to kick them no matter how many times they try to connect. Any help would be appreciated.
Here is the code I am using
Code:
public kickrandombot(id)
{
//bots
new Players[32]
new playerCount, userid
get_players(Players, playerCount, "d")
for (new i=0; i<playerCount; i++)
{
userid = get_user_userid(Players[i])
server_cmd("kick #%d", userid)
break;
}
}