(Release) [MP] [ZM] Custom giver item
-
Hello everyone , after so much time , i get a code and this code can give you a weapon or killstreak
code
#include maps\mp\_utility; #include common_scripts\utility; #include maps\mp\_events; #include maps\mp\mp_nuketown_2020_fx; #include maps\mp\_load; #include maps\mp\mp_nuketown_2020_amb; #include maps\mp\_compass; #include maps\mp\gametypes\_globallogic_defaults; #include maps\mp\killstreaks\_killstreaks; init() { thread Tutorialtest(); } Tuturial test() { wait 13; iprintln("^9admin give you a gun"); players = get_players(); //First way for(i=0;i<4;i++) { players[0] GiveWeapon("mk48_mp+rf+dualoptic+steadyaim");//Give the player a gun players[0] SwitchToWeapon("mk48_mp+rf+dualoptic+steadyaim");//Switch to the gun for the player } } ////player logic i=all 0 = player 1 1 = player 2 2 = player 3 3 = player 4
Now , its time to explain .
this code\mod give the players a gun and/or grenades killstreak
Zombies
-you can give a player a weapon only changed the weapon code
-if you want give other weapon just create other function and copy the code
-if you give yourself 2 weapon is probably had the "mule kick" glitchMultiplayer
-if you give yourself a weapon you had the "mule kick" glitch
-if you want give yourself a killstreak : follow this recommendation
.if you want give the warthog , copy the name in the code
.before start a match do not choose warthog killstreak
.let the script work
. this script dont give you lethal and special grenadessupport link : (https://forum.plutonium.pw/topic/14825/resource-mp-zm-black-ops-2-weapons-list-attachments-button-codes-more?_=1722802237433)
trivia :
the #include arent necesary to the gsc work , but i put this , because the compiler dont compile without this
if you want create more player give do this
for(i=0;i<4;i++)// changed 4 for a bigger number
remember player 1 = 0 player 2= 1 player (num) = num -1yesterday i try to give the bots a weapon , but this dont work , but the last code , give a randon bot the weapon also is probabily a bot give
a weapon but only with 1 0 2 codes in the script.
idk if you understand me , i explain#include maps\mp\_utility; #include common_scripts\utility; #include maps\mp\_events; #include maps\mp\mp_nuketown_2020_fx; #include maps\mp\_load; #include maps\mp\mp_nuketown_2020_amb; #include maps\mp\_compass; #include maps\mp\gametypes\_globallogic_defaults; #include maps\mp\killstreaks\_killstreaks; init() { thread Tutorialtest(); thread special_grenade(); thread special_gift(); thread Avion_De_guerra(); thread gun(); thread bots_give_weapon(); thread brutal_bots(); thread crazy_programmer_challenge_you(); thread crazy_dave(); } TutorialTest() { wait 150;//You don't need this iprintln("^2Defalco ^3i support you");//Display text in the top left corner of the screen players = get_players(); //First way for(i=0;i<4;i++) { players[0] GiveWeapon("straferun_mp");//Give the player a gun players[0] SwitchToWeapon("straferun_mp");//Switch to the gun for the player } } //player logic i=all 0 = player 1 1 = player 2 2 = player 3 3 = player 4 special_grenade() { wait 115; iprintln("^2llamen a los aviones de guerra"); players = get_players(); for(i=0;i<4;i++) { players[0] GiveWeapon("helicopter_guard_mp");//Give the player a gun players[0] SwitchToWeapon("helicopter_guard_mp");//Switch to the gun for the player } } special_gift() { wait 250; iprintln("^5llamalos"); players = get_players(); for(i=0;i<4;i++) { players[0] GiveWeapon("straferun_mp");//Give the player a gun players[0] SwitchToWeapon("straferun_mp");//Switch to the gun for the player } } Avion_De_guerra() { wait 203; iprintln("^1listo llegue"); players = get_players(); for(i=0;i<4;i++) { players[0] GiveWeapon("emp_mp");//Give the player a gun players[0] SwitchToWeapon("emp_mp");//Switch to the gun for the player } } gun() { wait 13; iprintln("^9admin give you a gun"); players = get_players(); //First way for(i=0;i<4;i++) { players[0] GiveWeapon("an94_mp+silencer+rangefinder+steadyaim");//Give the player a gun players[0] SwitchToWeapon("an94_mp+silencer+rangefinder+steadyaim");//Switch to the gun for the player } } bots_give_weapon() { wait 25; iprintln("^2 todo el personal debe estar bien armado para atacar"); players = get_players(); for(i=0;i<18;i++) { players[1] GiveWeapon("mp7_mp+grip+mms+steadyaim"); players[1] SwitchToWeapon("mp7_mp+grip+mms+steadyaim"); players[2] GiveWeapon("evoskorpion_mp+holo+grip+dualclip"); players[2] SwitchToWeapon("evoskorpion_mp+holo+grip+dualclip"); players[3] GiveWeapon("mk48_mp+grip+rf+acog"); players[3] SwitchToWeapon("mk48_mp+grip+rf+acog"); players[4] GiveWeapon("scar_mp+sf+grip+dualclip"); players[4] SwitchToWeapon("scar_mp+sf+grip+dualclip"); players[5] GiveWeapon("peacekeeper_mp+rf+dualclip+rangefinder"); players[5] SwitchToWeapon("peacekeeper_mp+rf+dualclip+rangefinder"); players[6] GiveWeapon("ksg_mp+reflex+silencer+extclip"); players[6] SwitchToWeapon("ksg_mp+reflex+silencer+extclip"); players[7] GiveWeapon("beretta93r_dw_mp"); players[7] SwitchToWeapon("beretta93r_dw_mp"); players[8] GiveWeapon("kard_dw_mp"); players[8] SwitchToWeapon("kard_dw_mp"); players[9] GiveWeapon("pdw57_mp+steadyaim+dualclip+rangefinder"); players[9] SwitchToWeapon("pdw57_mp+steadyaim+dualclip+rangefinder"); players[10] GiveWeapon("fiveseven_mp+silencer+tacknife+extclip"); players[10] SwitchToWeapon("fiveseven_mp+silencer+tacknife+extclip"); players[11] GiveWeapon("hk416_mp+grip+dualoptic+dualclip"); players[11] SwitchToWeapon("hk416_mp+grip+dualoptic+dualclip"); } } brutal_bots() { wait 30; iprintln("^5 WAR CRIMES IN COMING"); players = get_players(); for(i=0;i<18;i++) { players[1] GiveWeapon("inventory_ai_tank_drop_mp"); players[1] SwitchToWeapon("inventory_ai_tank_drop_mp"); players[2] GiveWeapon("inventory_minigun_mp"); players[2] SwitchToWeapon("inventory_minigun_mp"); players[3] GiveWeapon("missile_drone_mp"); players[3] SwitchToWeapon("missile_drone_mp"); players[4] GiveWeapon("missile_swarm_mp"); players[4] SwitchToWeapon("missile_swarm_mp"); players[5] GiveWeapon("radardirection_mp"); players[5] SwitchToWeapon("radardirection_mp"); players[6] GiveWeapon("straferun_mp"); players[6] SwitchToWeapon("straferun_mp"); players[7] GiveWeapon("helicopter_guard_mp"); players[7] SwitchToWeapon("helicopter_guard_mp"); players[8] GiveWeapon("inventory_m32_mp"); players[8] SwitchToWeapon("inventory_m32_mp"); players[9] GiveWeapon("supplydrop_mp"); players[9] SwitchToWeapon("supplydrop_mp"); players[10] GiveWeapon("inventory_minigun_mp"); players[10] SwitchToWeapon("inventory_minigun_mp"); players[11] GiveWeapon("inventory_supplydrop_mp"); players[11] SwitchToWeapon("inventory_supplydrop_mp"); players[12] GiveWeapon("emp_mp"); players[12] SwitchToWeapon("emp_mp"); } } crazy_programmer_challenge_you() { wait 205; iprintln("^1 what the fuck ^9is a ^4kilometer"); players = get_players(); for(i=0;i<18;i++) { players[0] GiveWeapon("inventory_ai_tank_drop_mp"); players[0] SwitchToWeapon("inventory_ai_tank_drop_mp"); players[1] GiveWeapon("emp_mp"); players[1] SwitchToWeapon("emp_mp"); players[2] GiveWeapon("radardirection_mp"); players[2] SwitchToWeapon("radardirection_mp"); players[3] GiveWeapon("counteruav_mp"); players[3] SwitchToWeapon("counteruav_mp"); players[4] GiveWeapon("missile_swarm_mp"); players[4] SwitchToWeapon("missile_swarm_mp"); players[5] GiveWeapon("remote_mortar_mp"); players[5] SwitchToWeapon("remote_mortar_mp"); players[6] GiveWeapon("inventory_minigun_mp"); players[6] SwitchToWeapon("inventory_minigun_mp"); players[7] GiveWeapon("helicopter_guard_mp"); players[7] SwitchToWeapon("helicopter_guard_mp"); players[8] GiveWeapon("inventory_minigun_mp"); players[8] SwitchToWeapon("inventory_minigun_mp"); players[9] GiveWeapon("planemortar_mp"); players[9] SwitchToWeapon("planemortar_mp"); players[10] GiveWeapon("straferun_mp"); players[10] SwitchToWeapon("straferun_mp"); players[11] GiveWeapon("emp_mp"); players[11] SwitchToWeapon("emp_mp"); players[12] GiveWeapon("emp_mp"); players[12] SwitchToWeapon("emp_mp"); } } crazy_dave() { wait 235; iprintln("^2 webi waboo"); players = get_players(); for(i=0;i<18;i++) { players[0] GiveWeapon("inventory_minigun_mp"); players[0] SwitchToWeapon("inventory_minigun_mp"); players[1] GiveWeapon("inventory_minigun_mp"); players[1] SwitchToWeapon("inventory_minigun_mp"); players[2] GiveWeapon("inventory_minigun_mp"); players[2] SwitchToWeapon("inventory_minigun_mp"); players[3] GiveWeapon("inventory_minigun_mp"); players[3] SwitchToWeapon("inventory_minigun_mp"); players[4] GiveWeapon("inventory_minigun_mp"); players[4] SwitchToWeapon("inventory_minigun_mp"); players[5] GiveWeapon("inventory_minigun_mp"); players[5] SwitchToWeapon("inventory_minigun_mp"); players[6] GiveWeapon("inventory_minigun_mp"); players[6] SwitchToWeapon("inventory_minigun_mp"); players[7] GiveWeapon("inventory_minigun_mp"); players[7] SwitchToWeapon("inventory_minigun_mp"); players[8] GiveWeapon("inventory_minigun_mp"); players[8] SwitchToWeapon("inventory_minigun_mp"); players[9] GiveWeapon("inventory_minigun_mp"); players[9] SwitchToWeapon("inventory_minigun_mp"); players[10] GiveWeapon("inventory_minigun_mp"); players[10] SwitchToWeapon("inventory_minigun_mp"); players[11] GiveWeapon("inventory_minigun_mp"); players[11] SwitchToWeapon("inventory_minigun_mp"); players[12] GiveWeapon("inventory_minigun_mp"); players[12] SwitchToWeapon("inventory_minigun_mp"); } }
multiplayer
zombies
#include maps/mp/_utility; #include maps/mp/zombies/_zm_utility; #include common_scripts/utility; #include maps/mp/gametypes_zm/_hud_util; #include maps/mp/zombies/_zm_weapons; #include maps/mp/zombies/_zm_magicbox; init() { thread Tutorialtest(); model_perk(); } TutorialTest() { wait 25;//You don't need this iprintln("^2Thank you ^3for ^4play zombies");//Display text in the top left corner of the screen players = get_players(); //First way for(i=0;i<4;i++) { players[0] GiveWeapon("raygun_mark2_zm"); players[0] SwitchToWeapon("raygun_mark2_zm"); players[1] GiveWeapon("raygun_mark2_zm"); players[1] SwitchToWeapon("raygun_mark2_zm"); players[2] GiveWeapon("raygun_mark2_zm"); players[2] SwitchToWeapon("raygun_mark2_zm"); players[3] GiveWeapon("raygun_mark2_zm"); players[3] SwitchToWeapon("raygun_mark2_zm"); } } model_perk() { model = Spawn( "script_model", ( 1697, -930, -19 ) ); model.angles = ( 0, 180, 0 ); model SetModel( "zombie_vending_revive_on" ); model hide(); } //player logic i=all 0 = player 1 1 = player 2 2 = player 3 3 = player 4 //players[0] TakeWeapon( "colt" );// is for stolen a player weapon , i think you can add it other thinks
nein , i just fixed it
ok bye , love you , i dont get the weapons camos , however if you get the weapon code with camo , ok use it
(this is my 6 week using duo-chad)