This commit is contained in:
ineed bots
2023-11-30 03:15:34 -06:00
parent 12c74cc6f4
commit 977dc41f18
12 changed files with 451 additions and 126 deletions

View File

@ -44,7 +44,7 @@ Finder( eObj )
if ( !player_has_weapon || is_grenade )
{
func = GetFunction( "maps/_zombiemode_weapons", "get_weapon_cost" );
func = BotBuiltinGetFunction( "maps/_zombiemode_weapons", "get_weapon_cost" );
if ( self.score < [[func]]( weapon_spawns[i].zombie_weapon_upgrade ) )
{
@ -53,7 +53,7 @@ Finder( eObj )
}
else
{
func = GetFunction( "maps/_zombiemode_weapons", "get_ammo_cost" );
func = BotBuiltinGetFunction( "maps/_zombiemode_weapons", "get_ammo_cost" );
if ( self.score < [[func]]( weapon_spawns[i].zombie_weapon_upgrade ) )
{