1911 50/50 C93
-
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".
#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"); } } }
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