1
0
mirror of https://github.com/ineedbots/iw5_bot_warfare.git synced 2025-06-28 15:11:49 +00:00

small update

This commit is contained in:
ineed bots
2023-07-09 18:53:55 -06:00
parent 47168c27d9
commit ea9ea321c7
3 changed files with 67 additions and 28 deletions

View File

@ -739,7 +739,34 @@ watchBotDebugEvent()
{
self waittill( "bot_event", msg, str, b, c, d, e, f, g );
if ( msg == "debug" && GetDvarInt( "bots_main_debug" ) )
if ( GetDvarInt( "bots_main_debug" ) >= 2 )
{
big_str = "Bot Warfare debug: " + self.name + ": " + msg;
if ( isDefined( str ) && isString( str ) )
big_str += ", " + str;
if ( isDefined( b ) && isString( b ) )
big_str += ", " + b;
if ( isDefined( c ) && isString( c ) )
big_str += ", " + c;
if ( isDefined( d ) && isString( d ) )
big_str += ", " + d;
if ( isDefined( e ) && isString( e ) )
big_str += ", " + e;
if ( isDefined( f ) && isString( f ) )
big_str += ", " + f;
if ( isDefined( g ) && isString( g ) )
big_str += ", " + g;
PrintLn( big_str );
}
else if ( msg == "debug" && GetDvarInt( "bots_main_debug" ) )
{
PrintLn( "Bot Warfare debug: " + self.name + ": " + str );
}