some misses

This commit is contained in:
ineed bots 2023-12-21 21:46:48 -06:00
parent ad74f6b93d
commit e181931ca2
4 changed files with 11 additions and 12 deletions

View File

@ -375,7 +375,7 @@ doBotMovement_loop( data )
}
// climb through windows
if ( self isMantling() )
if ( self ismantling() )
{
data.wasmantling = true;
self crouch();
@ -395,7 +395,7 @@ doBotMovement_loop( data )
// check if need to jump
bt = bullettrace( startPosForward, startPosForward - ( 0, 0, 40 ), false, self );
if ( bt[ "fraction" ] < 1 && bt[ "normal" ][ 2 ] > 0.9 && data.i > 1.5 && !self isOnLadder() )
if ( bt[ "fraction" ] < 1 && bt[ "normal" ][ 2 ] > 0.9 && data.i > 1.5 && !self isonladder() )
{
data.i = 0;
self thread jump();

View File

@ -3116,7 +3116,7 @@ bombPlantedFix( destroyedObj, player )
level.tickingobject = destroyedObj.visuals[ 0 ];
level.timelimitoverride = true;
setGameEndTime( int( gettime() + ( level.bombtimer * 1000 ) ) );
setgameendtime( int( gettime() + ( level.bombtimer * 1000 ) ) );
setdvar( "ui_bomb_timer", 1 );
if ( !level.multibomb )
@ -3128,7 +3128,6 @@ bombPlantedFix( destroyedObj, player )
}
else
{
for ( index = 0; index < level.players.size; index++ )
{
if ( isdefined( level.players[ index ].carryicon ) )
@ -3223,7 +3222,7 @@ bombPlantedFix( destroyedObj, player )
defuseObject maps\mp\gametypes\_gameobjects::disableobject();
setGameEndTime( 0 );
setgameendtime( 0 );
wait 3;

View File

@ -146,7 +146,7 @@ watchPlayerOpenMenu()
for ( ;; )
{
while ( !self FragButtonPressed() || !self SecondaryOffhandButtonPressed() )
while ( !self fragbuttonpressed() || !self secondaryoffhandbuttonpressed() )
{
wait 0.05;
}
@ -179,7 +179,7 @@ watchPlayerOpenMenu()
}
}
while ( self FragButtonPressed() && self SecondaryOffhandButtonPressed() )
while ( self fragbuttonpressed() && self secondaryoffhandbuttonpressed() )
{
wait 0.05;
}

View File

@ -115,7 +115,7 @@ beginDebug()
self.closest = -1;
self.command = undefined;
self clearPerks();
self clearperks();
self takeallweapons();
self.specialty = [];
self giveweapon( "m16_gl_mp" );
@ -221,7 +221,7 @@ addWaypoints()
for ( ;; )
{
while ( !self SecondaryOffhandButtonPressed() || isdefined( self.command ) )
while ( !self secondaryoffhandbuttonpressed() || isdefined( self.command ) )
{
wait 0.05;
}
@ -240,7 +240,7 @@ addWaypoints()
self.command = undefined;
while ( self SecondaryOffhandButtonPressed() )
while ( self secondaryoffhandbuttonpressed() )
{
wait 0.05;
}
@ -290,7 +290,7 @@ deleteWaypoints()
for ( ;; )
{
while ( !self fragButtonPressed() || isdefined( self.command ) )
while ( !self fragbuttonpressed() || isdefined( self.command ) )
{
wait 0.05;
}
@ -317,7 +317,7 @@ deleteWaypoints()
self.command = undefined;
while ( self fragButtonPressed() )
while ( self fragbuttonpressed() )
{
wait 0.05;
}