mirror of
https://github.com/ineedbots/iw2_bot_warfare.git
synced 2026-09-21 20:47:06 +00:00
sd finished, script finished!!
This commit is contained in:
@@ -691,6 +691,37 @@ getStance()
|
||||
return "crouch";
|
||||
}
|
||||
|
||||
/*
|
||||
CoD2
|
||||
*/
|
||||
getTimePassed()
|
||||
{
|
||||
if ( !isdefined( level.starttime ) )
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
return ( gettime() - level.starttime );
|
||||
}
|
||||
|
||||
/*
|
||||
CoD2
|
||||
*/
|
||||
getTimeRemaining()
|
||||
{
|
||||
if ( isdefined( level.roundlength ) )
|
||||
{
|
||||
return level.roundlength * 60 * 1000 - getTimePassed();
|
||||
}
|
||||
|
||||
if ( !isdefined( level.timelimit ) )
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
return level.timelimit * 60 * 1000 - getTimePassed();
|
||||
}
|
||||
|
||||
/*
|
||||
CoD2
|
||||
*/
|
||||
@@ -727,7 +758,7 @@ WeaponIsFullAuto( weap )
|
||||
*/
|
||||
getEyeHeight()
|
||||
{
|
||||
stance = self GetStance();
|
||||
stance = self getStance();
|
||||
|
||||
if ( stance == "prone" )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user