1
0
mirror of https://github.com/JezuzLizard/BO2-Reimagined.git synced 2025-06-24 14:10:30 -05:00

Use do_not_display_equipment_pickup_hint

This commit is contained in:
Jbleezy
2023-04-10 21:51:00 -07:00
parent b164ddd1ba
commit a7f8615c65
2 changed files with 4 additions and 0 deletions

View File

@ -188,7 +188,9 @@ chugabud_give_loadout()
self switchtoweapon( loadout.weapons[loadout.current_weapon]["name"] ); self switchtoweapon( loadout.weapons[loadout.current_weapon]["name"] );
self giveweapon( "knife_zm" ); self giveweapon( "knife_zm" );
self.do_not_display_equipment_pickup_hint = 1;
self maps\mp\zombies\_zm_equipment::equipment_give( self.loadout.equipment ); self maps\mp\zombies\_zm_equipment::equipment_give( self.loadout.equipment );
self.do_not_display_equipment_pickup_hint = undefined;
loadout restore_weapons_for_chugabud( self ); loadout restore_weapons_for_chugabud( self );
self chugabud_restore_claymore(); self chugabud_restore_claymore();
self.score = loadout.score; self.score = loadout.score;

View File

@ -328,8 +328,10 @@ equipment_onspawnretrievableweaponobject( watcher, player )
equipment_disappear_fx( self.origin, undefined, self.angles ); equipment_disappear_fx( self.origin, undefined, self.angles );
self delete(); self delete();
player.do_not_display_equipment_pickup_hint = 1;
player maps\mp\zombies\_zm_equipment::equipment_take( equip_name ); player maps\mp\zombies\_zm_equipment::equipment_take( equip_name );
player maps\mp\zombies\_zm_equipment::equipment_give( equip_name ); player maps\mp\zombies\_zm_equipment::equipment_give( equip_name );
player.do_not_display_equipment_pickup_hint = undefined;
player.planted_wallmount_on_a_zombie = undefined; player.planted_wallmount_on_a_zombie = undefined;
return; return;