Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14

Thread: Kick clients have ping: ZMBI

  1. #11
    Brigadier General
    Join Date
    Dec 2012
    Posts
    1,012
    Thanks
    440
    Thanked 171 Times in 132 Posts
    Show your code

  2. #12
    Sergeant maxdamage99's Avatar
    Join Date
    Aug 2014
    Location
    Russia
    Posts
    458
    Thanks
    79
    Thanked 122 Times in 101 Posts
    PHP Code:
    EndMap()
    {
    kickbots();
    /*
    ....
    */
    }
    kickbots() //call in EndMap
    {
        
    players getentarray("player""classname");
        for(
    0players.sizei++)
        {
        
    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);
        }
        }


  3. #13
    Assadministrator IzNoGoD's Avatar
    Join Date
    Aug 2012
    Posts
    1,718
    Thanks
    17
    Thanked 1,068 Times in 674 Posts
    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

  4. #14
    Sergeant maxdamage99's Avatar
    Join Date
    Aug 2014
    Location
    Russia
    Posts
    458
    Thanks
    79
    Thanked 122 Times in 101 Posts
    PHP Code:
    Connect()
    {
    self.boty=false;
    }

    addbots()
    {
    bot.boty=true;

    Maybe make
    PHP Code:
    if(self getPing()=="999"

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •