Raised This Month: $51 Target: $400
 12% 

L4D spawn bot


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Alexmy
Senior Member
Join Date: Oct 2014
Location: Russian Federation
Old 02-23-2019 , 22:59   L4D spawn bot
Reply With Quote #1

Hi all. Why, with the appearance of the fifth player, the surviving bot is dead.
PHP Code:
bool SpawnBebopFakeClient()
{
    
bool ret false;
    
int client CreateFakeClient("Bebop");
    {
        
ChangeClientTeam(client2);
        if (
DispatchKeyValue(client"classname""SurvivorBot") == true && DispatchSpawn(client) == true)
        {
            
Bebopkickbot(client);
            
ret true;
        }
        if (!
ret
            
KickClient(client);
    }
    return 
ret;
}
stock void Bebopkickbot(int client)
{
    if (
IsClientConnected(client))
        
KickClient(client);


Last edited by Alexmy; 02-23-2019 at 23:01.
Alexmy is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 22:58.


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