Results 1 to 10 of 23

Thread: Files for extended Server + Random-Scripts like sliding mapvote on Deathrun

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Private
    Join Date
    Jan 2013
    Location
    Hungary
    Posts
    113
    Thanks
    10
    Thanked 74 Times in 45 Posts
    Code:
    players = getEntArray("player", "classname");
    for (i = 0; i < players.size; i++)
    {
    	player = players[i];
    
    	if (getSubStr(player.name,0,3) == "bot" )
    		player kick();
    }

  2. #2
    Assadministrator IzNoGoD's Avatar
    Join Date
    Aug 2012
    Posts
    1,718
    Thanks
    17
    Thanked 1,068 Times in 674 Posts
    That doesnt free the ZMBI slot left by the kicked bot

  3. #3
    Global Mossaderator Mitch's Avatar
    Join Date
    Nov 2012
    Posts
    654
    Thanks
    204
    Thanked 450 Times in 305 Posts
    Quote Originally Posted by randall View Post
    Code:
    players = getEntArray("player", "classname");
    for (i = 0; i < players.size; i++)
    {
    	player = players[i];
    
    	if (getSubStr(player.name,0,3) == "bot" )
    		player kick();
    }
    Every real player that starts with bot gets kicked as well =]

  4. #4
    Banned
    Join Date
    Jul 2019
    Posts
    1
    Thanks
    0
    Thanked 1 Time in 1 Post
    Decent, need to accomplish something like this with mine.

  5. The Following User Says Thank You to ARTOTTO For This Useful Post:

    kubislav23 (1st August 2019)

Posting Permissions

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