mirror of
https://github.com/ineedbots/iw4_bot_warfare.git
synced 2025-10-28 00:26:57 +00:00
Small vip fix, added chat notifications
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user