Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Donate
Collapse

Plutonium

DylanBeast777undefined

DylanBeast777

@DylanBeast777
About
Posts
9
Topics
4
Shares
0
Groups
0
Followers
10
Following
10

Posts

Recent Best Controversial

  • I'm trying to make a max ammo reward that's given to players after completing every round. This is what I have so far but it does nothing.
    DylanBeast777undefined DylanBeast777
    #include maps/mp/zombies/_zm_utility;
    #include maps/mp/_utility;
    #include maps/_utility;
    #include common_scripts/utility;
    #include maps/mp/zombies/_zm_spawner;
    #include maps/mp/gametypes_zm/_hud_message;
    #include maps/mp/gametypes_zm/_hud_util;
    #include maps/mp/zombies/_zm_powerups;
    
    #include scripts/zm/remix/_powerups;
    
    
    init()
    {
        level thread onplayerconnect();
    }
    
    onplayerconnect()
    {
        for (;;)
        {
            level waittill("connected", player);
            // when a player connects, they will thread this.
            player thread maxAmmo_setup();
        }
    }
    
    maxAmmo_setup()
    {
        self endon("disconnect");
        level endon("end_game");
        self endon("end_game");
        
        wait 5;
        
        for (;;)
        {
            level waittill("round_start");
            self thread maxAmmoEveryRound();
        }
    }
    
    maxAmmoEveryRound()
    {
    	if (level.round_number >= 1)
    	{
    		//foreach (player in level.players)
    		//{
    			level thread full_ammo_powerup_override(); // Change to max_ammo_powerup
    			player thread full_ammo_powerup_override(); // Change to max_ammo
    		//}
    	}
    }
    

    It compiles and loads fine but doesn't give any max ammo. Any help would be appreciated.

    BO2 Modding Support & Discussion
  • 1 / 1
  • Login

  • Don't have an account? Register

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