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

Plutonium

  1. Home
  2. BO2 Modding Releases & Resources
  3. 1911 50/50 C93

1911 50/50 C93

Scheduled Pinned Locked Moved BO2 Modding Releases & Resources
1 Posts 1 Posters 98 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • picadiente03 Offline
    picadiente03 Offline
    picadiente03
    wrote last edited by picadiente03
    #1

    With this code, you'll have a 50/50 chance of starting and respawning with either the 1911 or the C93 from Origins, and you'll start with a full magazine of your starting weapon's ammo. To use this, you'll need the “zm_expanded” or “zm_weapons” mod.


    Con este código, tendrás un 50/50 de iniciar y reaparecer con 1911 o con la C93 de origins, a su vez que iniciaras con la munición del arma inicial al máximo, para esto tienes que tener el mod de "zm_expanded" o "zm_weapons".

    https://forum.plutonium.pw/topic/42656/release-zm-mod-zm_expanded-combining-zm_weapons-zm_perks-into-1-mod?_=1781481492517

    #include maps\mp\zombies\_zm_utility;
    #include maps\mp\_utility;
    #include common_scripts\utility;
    
    init()
    {
        level thread on_player_connect();
    }
    
    on_player_connect()
    {
        for(;;)
        {
            level waittill("connected", player);
            player thread assign_random_starter();
        }
    }
    
    assign_random_starter()
    {
        self endon("disconnect");
    
        for(;;)
        {
            self waittill("spawned_player");
            
            weapons = self GetWeaponsListPrimaries();
            foreach (weap in weapons)
            {
                self TakeWeapon(weap);
            }
    
            if (RandomInt(100) < 50)
            {
                self GiveWeapon("m1911_zm");
                self GiveMaxAmmo("m1911_zm");
                self SwitchToWeapon("m1911_zm");
            }
            else
            {
                self GiveWeapon("c96_zm");
                self GiveMaxAmmo("c96_zm");
                self SwitchToWeapon("c96_zm");
            }
        }
    }
    
    1 Reply Last reply
    0

    Hello! It looks like you're interested in this conversation, but you don't have an account yet.

    Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

    With your input, this post could be even better 💗

    Register Login
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

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