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

[CS:GO] Kill all bots after all human players are dead


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
m22b
Senior Member
Join Date: Jul 2013
Old 08-01-2013 , 16:17   [CS:GO] Kill all bots after all human players are dead
Reply With Quote #1

Kill all bots after all human players are dead
Anybody have it ?

Or write pleeease
m22b is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 08-01-2013 , 17:00   Re: [CS:GO] Kill all bots after all human players are dead
Reply With Quote #2

This should work:

slay_bots
__________________
View my Plugins | Donate

Last edited by TnTSCS; 08-01-2013 at 17:49.
TnTSCS is offline
Mathias.
Veteran Member
Join Date: Aug 2010
Location: Canada is my city
Old 08-01-2013 , 17:21   Re: [CS:GO] Kill all bots after all human players are dead
Reply With Quote #3

change
PHP Code:
bool:AllHumansDead()
{
    new 
bool:result true;
    
    for (new 
1<= MaxClientsi++)
    {
        if (
IsClientInGame(i) && !IsFakeClient(i) && !IsPlayerAlive(i))
        {
            
result false;
        }
    }
    
    return 
result;

for
PHP Code:
bool:AllHumansDead()
{
    new 
bool:result true;
    
    for (new 
1<= MaxClientsi++)
    {
        if (
IsClientInGame(i) && !IsFakeClient(i) && IsPlayerAlive(i))
        {
            
result false;
        }
    }
    
    return 
result;

Mathias. is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 08-01-2013 , 17:49   Re: [CS:GO] Kill all bots after all human players are dead
Reply With Quote #4

modified - thanks for pointing that out

I read !IsPlayerAlive to be IsNotDead... doh... even when I was rereading it after your post I was like, no, that's right... then it clicked.
__________________
View my Plugins | Donate

Last edited by TnTSCS; 08-01-2013 at 17:50.
TnTSCS is offline
m22b
Senior Member
Join Date: Jul 2013
Old 08-01-2013 , 18:08   Re: [CS:GO] Kill all bots after all human players are dead
Reply With Quote #5

Thx guys !

But i need not suicide , i have quake sounds addons and after bots dead (suicide) i hear "pig" sound like if you kill some one knife
m22b is offline
Mathias.
Veteran Member
Join Date: Aug 2010
Location: Canada is my city
Old 08-01-2013 , 18:38   Re: [CS:GO] Kill all bots after all human players are dead
Reply With Quote #6

And how would you like them to die?
Mathias. is offline
m22b
Senior Member
Join Date: Jul 2013
Old 08-01-2013 , 18:51   Re: [CS:GO] Kill all bots after all human players are dead
Reply With Quote #7

Oh guys thanks
Not need i edit mp3 files
all fine
m22b is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 08-01-2013 , 18:53   Re: [CS:GO] Kill all bots after all human players are dead
Reply With Quote #8

I can edit it to dish out more damage than the bot has and they will die from the world (like fall damage)

sdkhooks version
__________________
View my Plugins | Donate

Last edited by TnTSCS; 08-01-2013 at 19:00.
TnTSCS is offline
m22b
Senior Member
Join Date: Jul 2013
Old 08-01-2013 , 19:47   Re: [CS:GO] Kill all bots after all human players are dead
Reply With Quote #9

Quote:
Originally Posted by TnTSCS View Post
I can edit it to dish out more damage than the bot has and they will die from the world (like fall damage)

sdkhooks version

And how to make sure that bots are not taken away from frags at death?
m22b is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 08-02-2013 , 01:05   Re: [CS:GO] Kill all bots after all human players are dead
Reply With Quote #10

I don't understand "bots are not taken away from frags"

do you mean you don't want a death to count on the bots stats?
__________________
View my Plugins | Donate
TnTSCS 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 09:02.


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