Small vip fix, added chat notifications

This commit is contained in:
ineed bots
2022-04-17 12:27:12 -06:00
parent d740ae15f6
commit d851ad1ebc
2 changed files with 235 additions and 14 deletions

View File

@@ -230,6 +230,14 @@ BotStopMoving( what )
self notify( "kill_goal" );
}
/*
Notify the bot chat message
*/
BotNotifyBotChat( msg, a, b, c, d, e, f, g )
{
self notify( "bot_chat_" + msg, a, b, c, d, e, f, g );
}
/*
Returns if the bot has a script goal.
(like t5 gsc bot)
@@ -781,19 +789,6 @@ Round( x )
return y;
}
/*
Rounds up the given value.
*/
RoundUp( floatVal )
{
i = int( floatVal );
if ( i != floatVal )
return i + 1;
else
return i;
}
/*
converts a string into a float
*/