Skip to content
  • 0 Unread 0
  • Recent
  • Popular
  • Users
  • Donate
Collapse
Home Docs Stats Discord Donate
Download
DoubleK

DoubleK

@DoubleK
Unfollow Follow
About
Posts
1
Topics
0
Shares
0
Groups
0
Followers
4
Following
3

Posts

Recent Best Controversial

  • Max Ammo changed to work like BO3/BO4/Cold War (Clip Refills)
    DoubleK DoubleK
    BO2 Modding Releases & Resources

    FantasticLoki copied the actual max ammo code and added the extra line to fill the clip. works all the time for me without issues.

    new_full_ammo_powerup(drop_item, player) {
            players = get_players( player.team );
    
    	if ( isDefined( level._get_game_module_players ) ) {
    		players = [[ level._get_game_module_players ]]( player );
    	}
    
    	i = 0;
    	while ( i < players.size ) {
    		if ( players[ i ] maps\mp\zombies\_zm_laststand::player_is_in_laststand() ) {
    			i++;
    			continue;
    		}    
    		else {
    			primary_weapons = players[ i ] getweaponslist( 1 );
    			players[ i ] notify( "zmb_max_ammo" );
    			players[ i ] notify( "zmb_lost_knife" );
    			players[ i ] notify( "zmb_disable_claymore_prompt" );
    			players[ i ] notify( "zmb_disable_spikemore_prompt" );
    
    			x = 0;
    			while ( x < primary_weapons.size ) {
    				if ( level.headshots_only && is_lethal_grenade( primary_weapons[ x ] ) ) {
    					x++;
    					continue;
    				}
    				else {
    					if ( isDefined( level.zombie_include_equipment ) && isDefined( level.zombie_include_equipment[ primary_weapons[ x ] ] ) )	{
    						x++;
    						continue;
    					}
    					else {
    						if ( players[ i ] hasweapon( primary_weapons[ x ] ) ) {
    							players[ i ] givemaxammo( primary_weapons[ x ] );
                  players[ i ] setweaponammoclip( primary_weapons[ x ], weaponclipsize( primary_weapons[ x ] ) );
    						}
    					}
    				}
    				x++;
    			}
    		}
    		i++;
    	}
    	level thread full_ammo_on_hud( drop_item, player.team );
    }
    
  • 1 / 1
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Unread 0
  • Recent
  • Popular
  • Users
  • Donate