AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved/Old Plugins (https://forums.alliedmods.net/forumdisplay.php?f=27)
-   -   Spec Bots Plugin 2017 (https://forums.alliedmods.net/showthread.php?t=293059)

polimpo4 01-21-2017 18:52

Spec Bots Plugin 2017
 
1 Attachment(s)
Bots On Spec V1

- Never Join On Team
- Stay As Long Server Its On
- Count As Player On Gametraker So New Players Think Server Is Full But Never Take Any Slot
- Full Customize
- No Need Intput Commands

Setup

Go to PMN_BOT_SPEC.sma edit with notepad ++ and change XXX Parts here (dont remove "")
new szname_bot[] = "XXX"; ////////// NOME BOT 1
new szname_bot2[] = "XXX"; ////////// NOME BOT 2
new szname_bot3[] = "XXX"; ////////// NOME BOT 3

Then Recompile Again

yas17sin 01-21-2017 20:13

Re: Spec Bots Plugin 2017
 
nice plugin.:)

Craxor 01-22-2017 04:33

Re: Spec Bots Plugin 2017
 
Btw , you're not allowed to post the .amxx file, people can use "Get Plugin" button, so remove it.

yas17sin 01-22-2017 12:45

Re: Spec Bots Plugin 2017
 
it would be nice to add cvar so you can change name easy.
so not every time you want to change bots name to open .sma and edit it and recompile it.

Relaxing 01-22-2017 14:47

Re: Spec Bots Plugin 2017
 
Can I use my name and add it as a bot even that I'm a admin?
Will it require password?

polimpo4 01-24-2017 23:34

Re: Spec Bots Plugin 2017
 
Quote:

Originally Posted by yas17sin (Post 2489004)
it would be nice to add cvar so you can change name easy.
so not every time you want to change bots name to open .sma and edit it and recompile it.

Sorry But That Plugin Have Another Proposes As Add To Server Something Like That "Staff Needed" "Top 2 National Servers" Or To Fake Admins On Spec... So You Dont Need Change All The Time...

polimpo4 01-24-2017 23:38

Re: Spec Bots Plugin 2017
 
Quote:

Originally Posted by Relaxing (Post 2489037)
Can I use my name and add it as a bot even that I'm a admin?
Will it require password?

Yes You Can Add With No Problems... Because It Is One Plugin With No Player Effect Or Steam So Its Possible

OciXCrom 01-26-2017 10:45

Re: Spec Bots Plugin 2017
 
Don't worry, nobody did.
Your plugin can't be approved with that kind of coding. You should make cvars for all of those hardcoded things, including the number of bots.

PS: Writing Every Single Word With A Capital Letter Is Annoying.

edon1337 01-26-2017 14:53

Re: Spec Bots Plugin 2017
 
Quote:

Originally Posted by OciXCrom (Post 2490068)
PS: Writing Every Single Word With A Capital Letter Is Annoying.

No, It's Not. It's Actually Called Beautifying Your Message.

yas17sin 01-26-2017 15:08

Re: Spec Bots Plugin 2017
 
Quote:

Originally Posted by edon1337 (Post 2490122)
No, It's Not. It's Actually Called Beautifying Your Message.

It's Annoying XD

OciXCrom 01-26-2017 15:27

Re: Spec Bots Plugin 2017
 
TheN Let'S AlL http://i.imgur.com/MFXNjZ8.png OuR MeSSaGEs.

yas17sin 01-26-2017 15:28

Re: Spec Bots Plugin 2017
 
Quote:

Originally Posted by OciXCrom (Post 2490134)
TheN Let'S AlL http://i.imgur.com/MFXNjZ8.png OuR MeSSaGEs.

Okay First Let's Stop Spamming On This Theard. LoL

leshiy 03-29-2017 03:49

Re: Spec Bots Plugin 2017
 
1 Attachment(s)
How to add bots access flags, like this plugin?

ish12321 04-02-2017 01:59

Re: Spec Bots Plugin 2017
 
Does gametracker really detect them as bot ?
Does that mean it can bypass gametracker 3 bots rule ?

NEXO. 04-13-2017 10:20

Re: Spec Bots Plugin 2017
 
When I change name bots

To my sv ip and contact

Bots not work I will post here sma

OciXCrom 04-13-2017 15:25

Re: Spec Bots Plugin 2017
 
Post it then.

NEXO. 04-14-2017 07:25

Re: Spec Bots Plugin 2017
 
1 Attachment(s)
Here

OciXCrom 04-14-2017 08:15

Re: Spec Bots Plugin 2017
 
A player name can't have more than 32 characters. You have one with 34.

polimpo4 04-26-2017 08:59

Re: Spec Bots Plugin 2017
 
1 Attachment(s)
Quote:

Originally Posted by leshiy (Post 2507565)
How to add bots access flags, like this plugin?

I Already Fix It For You Nothing More Simple Than That

polimpo4 04-26-2017 09:00

Re: Spec Bots Plugin 2017
 
1 Attachment(s)
Quote:

Originally Posted by OciXCrom (Post 2512058)
A player name can't have more than 32 characters. You have one with 34.

Thanks Broh ;) I Fixed It By Adding One More Table For Another Bot. xD .. I Will Let It For You. ;)... Just Change Name Bots Again xD

polimpo4 04-26-2017 09:01

Re: Spec Bots Plugin 2017
 
Quote:

Originally Posted by ish12321 (Post 2508712)
Does gametracker really detect them as bot ?
Does that mean it can bypass gametracker 3 bots rule ?

TRy It And Then Let Me Know About It ;)

ish12321 04-26-2017 14:55

Re: Spec Bots Plugin 2017
 
Quote:

Originally Posted by polimpo4 (Post 2515706)
TRy It And Then Let Me Know About It ;)

Can't -_-
If they know my server is banned !

iclassdon 05-29-2017 13:00

Re: Spec Bots Plugin 2017
 
I have been using this for a week now it has a few bugs. I have to remove it for now would love to use it when fixed.

1. bots duplicate names
2. sometimes bot ends up in Ct or T team

yuvim86 01-15-2018 10:10

Re: Spec Bots Plugin 2017
 
I checked the script. Can i add more bots like 5 but duplicating the funtion with diff id.?
I tried it works fine but gametracker is detecting thm as bots.Only three are working fine.Any ideas y?

Relaxing 01-15-2018 11:52

Re: Spec Bots Plugin 2017
 
Quote:

Originally Posted by yuvim86 (Post 2572138)
I checked the script. Can i add more bots like 5 but duplicating the funtion with diff id.?
I tried it works fine but gametracker is detecting thm as bots.Only three are working fine.Any ideas y?

You can expand it, but you cannot change their 'ids'. Gametracker and any other server tracker will count them as bots. No way of changing it.

polimpo4 04-14-2018 19:09

Re: Spec Bots Plugin 2017
 
Quote:

Originally Posted by Relaxing (Post 2572154)
You can expand it, but you cannot change their 'ids'. Gametracker and any other server tracker will count them as bots. No way of changing it.

Wrong. You Need At Least Let Server Being Online For About .... 24 Hours And Then Use Plugin... I Already Used It And Works Fine. Just Check Portugal Servers... You Will See All Of Them Working With It Just Fine ;)
https://www.gametracker.com/search/cs/PT/

polimpo4 04-14-2018 19:16

Re: Spec Bots Plugin 2017
 
Quote:

Originally Posted by OciXCrom (Post 2490068)
Don't worry, nobody did.
Your plugin can't be approved with that kind of coding. You should make cvars for all of those hardcoded things, including the number of bots.

PS: Writing Every Single Word With A Capital Letter Is Annoying.

1st Of All ... You Need Respect People Freewill's .. So If I Want Write That Way It's My Way.
2rd... You Cannot Answer By Staff... ;)
3rd... Thanks By The Tips. But At That Time I As Newbie At Programming ;)...
4rd... If You Want Remake The Code Fell Free To Do It ;) Just Let Little Credit To Basic Idea Or Basic Code To Me... ;)

Sanjay Singh 05-03-2018 15:51

Re: Spec Bots Plugin 2017
 
UPDATED CODE
-Added Check for players every round rather than connect check idk but some time it bugs while cheking using client_connect function.

Code:

#include <amxmodx>
#include <cstrike>
#include <fakemeta>
 
#define PLUGIN  "botespectador"
#define AUTHOR  "_|Polimpo4|_"
#define VERSION "1.0"
 
new szname_bot[] = "EzPz";                  ////////// NOME BOT 1
new szname_bot2[] = "Jason";            ////////// NOME BOT 2
new szname_bot3[] = ":P";            ////////// NOME BOT 3
 
new bool:bot_on, bot_id;
new bool:bot_on2, bot_id2;
new bool:bot_on3, bot_id3;
 
//Cvars
new cv_KickBots, cv_ConnectBots
 
public plugin_init()
{
    register_plugin("botespectador", "1.0", "_|Polimpo4|_");
    register_logevent("check_players", 2, "1=Round_Start")

    cv_KickBots = register_cvar("cv_KickBots","5");               
    cv_ConnectBots = register_cvar("cv_ConnectBots","0");
   
    bot_on=false;
    bot_on2=false;
    bot_on3=false;
    bot_id=0;
    bot_id2=0;
    bot_id3=0;
    set_task(1.4,"fake_make");
    set_task(1.4,"fake_make2");
    set_task(1.4,"fake_make3");
    return PLUGIN_CONTINUE
}
 
public fake_make()
{   
    new rj[128];
    if((!bot_on)&&(!bot_id))
    {
        bot_id=engfunc(EngFunc_CreateFakeClient,szname_bot);
        if(bot_id > 0)
        {
            engfunc(EngFunc_FreeEntPrivateData,bot_id);
            dllfunc(DLLFunc_ClientConnect,bot_id,szname_bot,"20.05.45.45.2",rj);
            if(is_user_connected(bot_id))
            {
                dllfunc(DLLFunc_ClientPutInServer, bot_id);
                set_pev(bot_id,pev_spawnflags,pev(bot_id,pev_spawnflags)|FL_FAKECLIENT);
                set_pev(bot_id,pev_flags,pev(bot_id,pev_flags)|FL_FAKECLIENT);
                cs_set_user_team(bot_id, CS_TEAM_SPECTATOR);
                bot_on = true;
            }       
        }       
    }
 
    return PLUGIN_CONTINUE;   

 
public fake_make2()
{   
    new rj[128];
    if((!bot_on2)&&(!bot_id2))
    {
        bot_id2=engfunc(EngFunc_CreateFakeClient,szname_bot2);
        if(bot_id2 > 0)
        {
            engfunc(EngFunc_FreeEntPrivateData,bot_id2);
            dllfunc(DLLFunc_ClientConnect,bot_id2,szname_bot2,"20.05.45.45.2",rj);
            if(is_user_connected(bot_id2))
            {
                dllfunc(DLLFunc_ClientPutInServer, bot_id2);
                set_pev(bot_id2,pev_spawnflags,pev(bot_id2,pev_spawnflags)|FL_FAKECLIENT);
                set_pev(bot_id2,pev_flags,pev(bot_id2,pev_flags)|FL_FAKECLIENT);
                cs_set_user_team(bot_id2, CS_TEAM_SPECTATOR);
                bot_on2 = true;
            }       
        }       
    }
 
    return PLUGIN_CONTINUE;   

public fake_make3()
{   
    new rj[128];
    if((!bot_on3)&&(!bot_id3))
    {
        bot_id3=engfunc(EngFunc_CreateFakeClient,szname_bot3);
        if(bot_id3 > 0)
        {
            engfunc(EngFunc_FreeEntPrivateData,bot_id3);
            dllfunc(DLLFunc_ClientConnect,bot_id3,szname_bot3,"20.05.45.45.2",rj);
            if(is_user_connected(bot_id3))
            {
                dllfunc(DLLFunc_ClientPutInServer, bot_id3);
                set_pev(bot_id3,pev_spawnflags,pev(bot_id3,pev_spawnflags)|FL_FAKECLIENT);
                set_pev(bot_id3,pev_flags,pev(bot_id3,pev_flags)|FL_FAKECLIENT);
                cs_set_user_team(bot_id3, CS_TEAM_SPECTATOR);
                bot_on3 = true;
            }       
        }       
    }
 
    return PLUGIN_CONTINUE;   
}
 
public client_disconnect(id)
{
    new players[32], num
    get_players(players, num, "c" )

    new szConnectBots = get_pcvar_num(cv_ConnectBots)
   
    if(num < szConnectBots && !bot_on)
    {
        fake_make()
        fake_make2()
        fake_make3()   
    } 
}
 
public client_connect(id)
{
    check_players(id)


public check_players(id)
{
    new players[32], num
    get_players(players, num, "c" )
 
    new szKickBots = get_pcvar_num(cv_KickBots)
 
    if(num >= szKickBots && bot_on)
    {
        bot_on = false
        bot_on2 = false
        bot_on3 = false   
        bot_id=0
        bot_id2=0
        bot_id3=0 
        server_cmd("kick ^"%s^"", szname_bot);
        server_cmd("kick ^"%s^"", szname_bot2);
        server_cmd("kick ^"%s^"", szname_bot3);
    }
}


HamletEagle 09-19-2018 09:23

Re: Spec Bots Plugin 2017
 
Way too hardcoded and it is against valve's policy of trust.

Chinezul 01-26-2019 05:28

Re: Spec Bots Plugin 2017
 
Hello! I put this plugin on my server, i change the name bots, i save, i restart the server but the bots name doesn't changed. Please, help me.

#include <amxmodx>
#include <cstrike>
#include <fakemeta>

#define PLUGIN "botespectador"
#define AUTHOR "_|Polimpo4|_"
#define VERSION "1.0"

new szname_bot[] = "WWW.VIPGAME.RO"; ////////// NOME BOT 1
new szname_bot2[] = "TS.VIPGAME.RO"; ////////// NOME BOT 2
new szname_bot3[] = "89.34.25.20:27015"; ////////// NOME BOT 3

new bool:bot_on, bot_id;
new bool:bot_on2, bot_id2;
new bool:bot_on3, bot_id3;

//Cvars
new cv_KickBots, cv_ConnectBots

public plugin_init()
{
register_plugin("botespectador", "1.0", "_|Polimpo4|_");

cv_KickBots = register_cvar("cv_KickBots","16");
cv_ConnectBots = register_cvar("cv_ConnectBots","16");

bot_on=false;
bot_on2=false;
bot_on3=false;
bot_id=0;
bot_id2=0;
bot_id3=0;
set_task(1.4,"fake_make");
set_task(1.4,"fake_make2");
set_task(1.4,"fake_make3");
return PLUGIN_CONTINUE
}

public fake_make()
{
new rj[128];
if((!bot_on)&&(!bot_id))
{
bot_id=engfunc(EngFunc_CreateFakeClient,sznam e_bot);
if(bot_id > 0)
{
engfunc(EngFunc_FreeEntPrivateData,bot_id);
dllfunc(DLLFunc_ClientConnect,bot_id,szname_b ot,"20.05.45.45.2",rj);
if(is_user_connected(bot_id))
{
dllfunc(DLLFunc_ClientPutInServer, bot_id);
set_pev(bot_id,pev_spawnflags,pev(bot_id,pev_ spawnflags)|FL_FAKECLIENT);
set_pev(bot_id,pev_flags,pev(bot_id,pev_flags )|FL_FAKECLIENT);
cs_set_user_team(bot_id, CS_TEAM_SPECTATOR);
bot_on = true;
}
}
}

return PLUGIN_CONTINUE;
}

public fake_make2()
{
new rj[128];
if((!bot_on2)&&(!bot_id2))
{
bot_id2=engfunc(EngFunc_CreateFakeClient,szna me_bot2);
if(bot_id2 > 0)
{
engfunc(EngFunc_FreeEntPrivateData,bot_id2);
dllfunc(DLLFunc_ClientConnect,bot_id2,szname_ bot2,"20.05.45.45.2",rj);
if(is_user_connected(bot_id2))
{
dllfunc(DLLFunc_ClientPutInServer, bot_id2);
set_pev(bot_id2,pev_spawnflags,pev(bot_id2,pe v_spawnflags)|FL_FAKECLIENT);
set_pev(bot_id2,pev_flags,pev(bot_id2,pev_fla gs)|FL_FAKECLIENT);
cs_set_user_team(bot_id2, CS_TEAM_SPECTATOR);
bot_on2 = true;
}
}
}

return PLUGIN_CONTINUE;
}
public fake_make3()
{
new rj[128];
if((!bot_on3)&&(!bot_id3))
{
bot_id3=engfunc(EngFunc_CreateFakeClient,szna me_bot3);
if(bot_id3 > 0)
{
engfunc(EngFunc_FreeEntPrivateData,bot_id3);
dllfunc(DLLFunc_ClientConnect,bot_id3,szname_ bot3,"20.05.45.45.2",rj);
if(is_user_connected(bot_id3))
{
dllfunc(DLLFunc_ClientPutInServer, bot_id3);
set_pev(bot_id3,pev_spawnflags,pev(bot_id3,pe v_spawnflags)|FL_FAKECLIENT);
set_pev(bot_id3,pev_flags,pev(bot_id3,pev_fla gs)|FL_FAKECLIENT);
cs_set_user_team(bot_id3, CS_TEAM_SPECTATOR);
bot_on3 = true;
}
}
}

return PLUGIN_CONTINUE;
}

public client_disconnect(id)
{
new players[32], num
get_players(players, num, "c" )

new szConnectBots = get_pcvar_num(cv_ConnectBots)

if(num < szConnectBots && !bot_on)
{
fake_make()
fake_make2()
fake_make3()
}
}

public client_connect(id)
{
new players[32], num
get_players(players, num, "c" )

new szKickBots = get_pcvar_num(cv_KickBots)

if(num >= szKickBots && bot_on)
{
bot_on = false
bot_on2 = false
bot_on3 = false
bot_id=0
bot_id2=0
bot_id3=0
server_cmd("kick ^"%s^"", szname_bot);
server_cmd("kick ^"%s^"", szname_bot2);
server_cmd("kick ^"%s^"", szname_bot3);
}
}

OciXCrom 01-26-2019 16:46

Re: Spec Bots Plugin 2017
 
How about compiling the plugin?

NiSoKa 06-18-2019 17:32

The name of specbots doesn't wanna change
 
i can't change the specbot's names it stays at xxx:oops::oops::oops::oops:

OciXCrom 06-18-2019 20:29

Re: Spec Bots Plugin 2017
 
Quote:

Originally Posted by OciXCrom (Post 2636744)
How about compiling the plugin?


.egli 07-16-2019 03:59

Re: Spec Bots Plugin 2017
 
Where i can find the PMN_BOT_SPEC.sma file?

OciXCrom 07-16-2019 07:25

Re: Spec Bots Plugin 2017
 
Quote:

Originally Posted by .egli (Post 2659268)
Where i can find the PMN_BOT_SPEC.sma file?

Click on "Get source".

El Abuelo 08-13-2021 19:50

Re: Spec Bots Plugin 2017
 
What would be the function of

PHP Code:

cv_KickBots register_cvar("cv_KickBots","16");                 
cv_ConnectBots register_cvar("cv_ConnectBots","16"); 

If I have a 12-slot server, do I set those values ​​to 12, instead of 16?


Thanks a lot :)

polimpo4 03-21-2022 06:53

Re: Spec Bots Plugin 2017
 
Quote:

Originally Posted by El Abuelo (Post 2755213)
What would be the function of

PHP Code:

cv_KickBots register_cvar("cv_KickBots","16");                 
cv_ConnectBots register_cvar("cv_ConnectBots","16"); 

If I have a 12-slot server, do I set those values ​​to 12, instead of 16?


Thanks a lot :)

Sorry about the "delayed" answer. I almost got no time to go through all of this at these days.

This plugin was made for a maximum regular server slots. Btw, those cvars, you dont need to mess around, they only shows the maximum bots to kick and connect, if you have less then 32 slots you dont need to be worry about it, it will fill up until reach the maximum.

El Abuelo 01-17-2023 14:41

Re: Spec Bots Plugin 2017
 
Quote:

Originally Posted by polimpo4 (Post 2774844)
Sorry about the "delayed" answer. I almost got no time to go through all of this at these days.

This plugin was made for a maximum regular server slots. Btw, those cvars, you dont need to mess around, they only shows the maximum bots to kick and connect, if you have less then 32 slots you dont need to be worry about it, it will fill up until reach the maximum.

Thanks for the reply, I'll leave it at that. Regards!

IC3k1ng 03-12-2023 16:16

Prob this question is stupid, but does the bots fills the player slots? Because i just have a server with 10 slots and i don't wanna reduce it.

Whoppka 09-02-2023 19:15

Re: Spec Bots Plugin 2017
 
2 Attachment(s)
hello, this plugin doesn't work for me, I changed the names of the bots and unfortunately it doesn't work can you help?


#include <amxmodx>
#include <cstrike>
#include <fakemeta>

#define PLUGIN "botespectador"
#define AUTHOR "_|Polimpo4|_"
#define VERSION "1.0"

new szname_bot[] = "CS-Maliver.pl"; ////////// NOME BOT 1
new szname_bot2[] = "/komendy"; ////////// NOME BOT 2
new szname_bot3[] = "/konkurs"; ////////// NOME BOT 3

new bool:bot_on, bot_id;
new bool:bot_on2, bot_id2;
new bool:bot_on3, bot_id3;

//Cvars
new cv_KickBots, cv_ConnectBots

public plugin_init()
{
register_plugin("botespectador", "1.0", "_|Polimpo4|_");

cv_KickBots = register_cvar("cv_KickBots","16");
cv_ConnectBots = register_cvar("cv_ConnectBots","16");

bot_on=false;
bot_on2=false;
bot_on3=false;
bot_id=0;
bot_id2=0;
bot_id3=0;
set_task(1.4,"fake_make");
set_task(1.4,"fake_make2");
set_task(1.4,"fake_make3");
return PLUGIN_CONTINUE
}

public fake_make()
{
new rj[128];
if((!bot_on)&&(!bot_id))
{
bot_id=engfunc(EngFunc_CreateFakeClient,sznam e_bot);
if(bot_id > 0)
{
engfunc(EngFunc_FreeEntPrivateData,bot_id);
dllfunc(DLLFunc_ClientConnect,bot_id,szname_b ot,"20.05.45.45.2",rj);
if(is_user_connected(bot_id))
{
dllfunc(DLLFunc_ClientPutInServer, bot_id);
set_pev(bot_id,pev_spawnflags,pev(bot_id,pev_ spawnflags)|FL_FAKECLIENT);
set_pev(bot_id,pev_flags,pev(bot_id,pev_flags )|FL_FAKECLIENT);
cs_set_user_team(bot_id, CS_TEAM_SPECTATOR);
bot_on = true;
}
}
}

return PLUGIN_CONTINUE;
}

public fake_make2()
{
new rj[128];
if((!bot_on2)&&(!bot_id2))
{
bot_id2=engfunc(EngFunc_CreateFakeClient,szna me_bot2);
if(bot_id2 > 0)
{
engfunc(EngFunc_FreeEntPrivateData,bot_id2);
dllfunc(DLLFunc_ClientConnect,bot_id2,szname_ bot2,"20.05.45.45.2",rj);
if(is_user_connected(bot_id2))
{
dllfunc(DLLFunc_ClientPutInServer, bot_id2);
set_pev(bot_id2,pev_spawnflags,pev(bot_id2,pe v_spawnflags)|FL_FAKECLIENT);
set_pev(bot_id2,pev_flags,pev(bot_id2,pev_fla gs)|FL_FAKECLIENT);
cs_set_user_team(bot_id2, CS_TEAM_SPECTATOR);
bot_on2 = true;
}
}
}

return PLUGIN_CONTINUE;
}
public fake_make3()
{
new rj[128];
if((!bot_on3)&&(!bot_id3))
{
bot_id3=engfunc(EngFunc_CreateFakeClient,szna me_bot3);
if(bot_id3 > 0)
{
engfunc(EngFunc_FreeEntPrivateData,bot_id3);
dllfunc(DLLFunc_ClientConnect,bot_id3,szname_ bot3,"20.05.45.45.2",rj);
if(is_user_connected(bot_id3))
{
dllfunc(DLLFunc_ClientPutInServer, bot_id3);
set_pev(bot_id3,pev_spawnflags,pev(bot_id3,pe v_spawnflags)|FL_FAKECLIENT);
set_pev(bot_id3,pev_flags,pev(bot_id3,pev_fla gs)|FL_FAKECLIENT);
cs_set_user_team(bot_id3, CS_TEAM_SPECTATOR);
bot_on3 = true;
}
}
}

return PLUGIN_CONTINUE;
}

public client_disconnect(id)
{
new players[32], num
get_players(players, num, "c" )

new szConnectBots = get_pcvar_num(cv_ConnectBots)

if(num < szConnectBots && !bot_on)
{
fake_make()
fake_make2()
fake_make3()
}
}

public client_connect(id)
{
new players[32], num
get_players(players, num, "c" )

new szKickBots = get_pcvar_num(cv_KickBots)

if(num >= szKickBots && bot_on)
{
bot_on = false
bot_on2 = false
bot_on3 = false
bot_id=0
bot_id2=0
bot_id3=0
server_cmd("kick ^"%s^"", szname_bot);
server_cmd("kick ^"%s^"", szname_bot2);
server_cmd("kick ^"%s^"", szname_bot3);
}
}


All times are GMT -4. The time now is 10:45.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.