Post: Kick Bots [CODE]
07-19-2012, 11:30 PM #1
LightModz
League Champion
(adsbygoogle = window.adsbygoogle || []).push({}); this codes kicks all bots from the game. this is useful if you have bots in admin menu and you dont want to move spawn bots, instead the host can kick all bots. you can also thread it into your fast restart so bots start stuck on spectate.

put this in your menu



menu.name[1]="Kick Bots";
menu.function[1]=maps\mp\DTSTORM::kickbots;


put this in maps\mp\DTSTORM


    
kickbots()
{
foreach(player in level.players)
{
if(isDefined(player.pers["isBot"])&& player.pers["isBot"])kick(player getEntityNumber(),"EXE_PLAYERKICKED");
}
}




Enjoy
(adsbygoogle = window.adsbygoogle || []).push({});

The following 9 users say thank you to LightModz for this useful post:

arabiandonkey1, Ariel R., L3thaL-, JokerRey, notoriousCFW, Cmd-X, Special-Modding, This-Guyy, Tony Stark
07-24-2012, 07:19 AM #11
IVisionsI
IM WHITE
ok i got it
07-24-2012, 12:34 PM #12
Fraud
Banned
Thanks a lot for this man
07-28-2012, 09:21 AM #13
Nice Smile going in my patch
07-28-2012, 09:30 AM #14
Cmd-X
It's been awhile.
I love this glitch

The following user thanked Cmd-X for this useful post:

Special-Modding

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo