mirror of
https://github.com/ineedbots/iw3_bot_warfare.git
synced 2025-04-19 17:32:54 +00:00
register
This commit is contained in:
parent
c342446e46
commit
cd1721b9f0
@ -2465,6 +2465,12 @@ do_knife_target( target )
|
||||
self endon( "disconnect" );
|
||||
self endon( "bot_knife" );
|
||||
|
||||
// dedi doesnt have this registered
|
||||
if ( getdvar( "aim_automelee_enabled" ) == "" )
|
||||
{
|
||||
setdvar( "aim_automelee_enabled", 1 );
|
||||
}
|
||||
|
||||
if ( !getdvarint( "aim_automelee_enabled" ) || !self isonground() || self getstance() == "prone" || self inLastStand() )
|
||||
{
|
||||
self.bot.knifing_target = undefined;
|
||||
|
Loading…
x
Reference in New Issue
Block a user