Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //................................
- // Fill Ammo Box Script by Lzryde (v0.2)
- //................................
- // Settings
- _amountclothing = 20;
- _amountAmmo = 50;
- _amountitem = 20;
- _numMod = 20;
- _numItem = 20;
- _numAmmo = 30;
- _numWeapon = 20;
- _refreshTime = 360; // refill every 5 minutes
- _this allowDamage false;
- // Loop forever
- while {true} do
- {
- // Clear box
- clearWeaponCargo _this;
- clearMagazineCargo _this;
- // Fill box
- // Arma 3 Alpha Cargo
- _this addItemCargo ["acc_flashlight", _numMod];
- _this addItemCargo ["acc_pointer_IR", _numMod];
- _this addItemCargo ["muzzle_snds_B", _numMod];
- _this addItemCargo ["muzzle_snds_H", _numMod];
- _this addItemCargo ["muzzle_snds_H_MG", _numMod];
- _this addItemCargo ["muzzle_snds_L", _numMod];
- _this addItemCargo ["optic_Aco", _numMod];
- _this addItemCargo ["optic_ACO_grn", _numMod];
- _this addItemCargo ["optic_Arco", _numMod];
- _this addItemCargo ["optic_Hamr", _numMod];
- _this addItemCargo ["optic_Holosight", _numMod];
- _this addItemCargo ["H_Cap_blu", _numItem];
- _this addItemCargo ["H_Cap_brn_SERO", _numItem];
- _this addItemCargo ["H_Cap_headphones", _numItem];
- _this addItemCargo ["H_Cap_red", _numItem];
- _this addItemCargo ["H_HelmetB", _numItem];
- _this addItemCargo ["H_HelmetB_light", _numItem];
- _this addItemCargo ["H_HelmetB_paint", _numItem];
- _this addItemCargo ["H_HelmetO_ocamo", _numItem];
- _this addItemCargo ["H_MilCap_mcamo", _numItem];
- _this addItemCargo ["H_MilCap_ocamo", _numItem];
- _this addItemCargo ["H_PilotHelmetHeli_B", _numItem];
- _this addItemCargo ["H_PilotHelmetHeli_O", _numItem];
- _this addWeaponCargo ["Binocular", _numItem];
- _this addItemCargo ["FirstAidKit", _numItem];
- _this addItemCargo ["ItemCompass", _numItem];
- _this addItemCargo ["ItemGPS", _numItem];
- _this addItemCargo ["ItemMap", _numItem];
- _this addItemCargo ["ItemRadio", _numItem];
- _this addItemCargo ["ItemWatch", _numItem];
- _this addItemCargo ["Medikit", _numItem];
- _this addItemCargo ["MineDetector", _numItem];
- _this addItemCargo ["NVGoggles", _numItem];
- _this addItemCargo ["ToolKit", _numItem];
- _this addMagazineCargo ["APERSBoundingMine_Range_Mag", _numAmmo];
- _this addMagazineCargo ["APERSMine_Range_Mag", _numAmmo];
- _this addMagazineCargo ["ATMine_Range_Mag", _numAmmo];
- _this addMagazineCargo ["Chemlight_blue", _numAmmo];
- _this addMagazineCargo ["Chemlight_green", _numAmmo];
- _this addMagazineCargo ["Chemlight_red", _numAmmo];
- _this addMagazineCargo ["Chemlight_yellow", _numAmmo];
- _this addMagazineCargo ["ClaymoreDirectionalMine_Remote_Mag", _numAmmo];
- _this addMagazineCargo ["DemoCharge_Remote_Mag", _numAmmo];
- _this addMagazineCargo ["HandGrenade", _numAmmo];
- _this addMagazineCargo ["HandGrenade_Stone", _numAmmo];
- _this addMagazineCargo ["MiniGrenade", _numAmmo];
- _this addMagazineCargo ["SatchelCharge_Remote_Mag", _numAmmo];
- _this addMagazineCargo ["SLAMDirectionalMine_Wire_Mag", _numAmmo];
- _this addMagazineCargo ["SmokeShell", _numAmmo];
- _this addMagazineCargo ["SmokeShellBlue", _numAmmo];
- _this addMagazineCargo ["SmokeShellGreen", _numAmmo];
- _this addMagazineCargo ["SmokeShellOrange", _numAmmo];
- _this addMagazineCargo ["SmokeShellPurple", _numAmmo];
- _this addMagazineCargo ["SmokeShellRed", _numAmmo];
- _this addMagazineCargo ["SmokeShellYellow", _numAmmo];
- _this addItemCargo ["V_BandollierB_khk", _amountclothing];
- _this addItemCargo ["V_PlateCarrier1_rgr", _amountclothing];
- _this addItemCargo ["V_PlateCarrier2_rgr", _amountclothing];
- _this addItemCargo ["V_PlateCarrierGL_rgr", _amountclothing];
- _this addItemCargo ["V_ChestrigB_rgr" , _amountclothing];
- _this addItemCargo ["V_HarnessO_brn" , _amountclothing];
- _this addItemCargo ["H_HelmetB" , _amountclothing];
- _this addItemCargo ["H_HelmetB_paint" , _amountclothing];
- _this addItemCargo ["H_HelmetB_light" , _amountclothing];
- _this addItemCargo ["H_Cap_red" , _amountclothing];
- _this addItemCargo ["H_HelmetO_ocamo" , _amountclothing];
- _this addItemCargo ["H_MilCap_ocamo" , _amountclothing];
- _this addItemCargo ["U_Rangemaster" , _amountclothing];
- _this addItemCargo ["V_TacVest_khk" , _amountclothing];
- _this addItemCargo ["V_TacVest_brn" , _amountclothing];
- _this addItemCargo ["H_PilotHelmetHeli_B" , _amountclothing];
- _this addWeaponCargo ["arifle_MX_F", _numWeapon];
- _this addWeaponCargo ["arifle_MX_GL_F", _numWeapon];
- _this addWeaponCargo ["arifle_MX_SW_F", _numWeapon];
- _this addWeaponCargo ["arifle_MXC_F", _numWeapon];
- _this addWeaponCargo ["arifle_MXM_F", _numWeapon];
- _this addWeaponCargo ["arifle_SDAR_F", _numWeapon];
- _this addWeaponCargo ["arifle_TRG20_F", _numWeapon];
- _this addWeaponCargo ["arifle_TRG21_F", _numWeapon];
- _this addWeaponCargo ["arifle_TRG21_GL_F", _numWeapon];
- _this addWeaponCargo ["hgun_P07_F", _numWeapon];
- _this addWeaponCargo ["LMG_Mk200_F", _numWeapon];
- _this addWeaponCargo ["srifle_EBR_F", _numWeapon];
- _this addWeaponCargo ["arifle_Khaybar_C_F", _numWeapon];
- _this addWeaponCargo ["arifle_Khaybar_F", _numWeapon];
- _this addWeaponCargo ["arifle_Khaybar_GL_F", _numWeapon];
- _this addWeaponCargo ["hgun_Rook40_F", _numWeapon];
- _this addWeaponCargo ["launch_NLAW_F", _numWeapon];
- _this addWeaponCargo ["launch_RPG32_F", _numWeapon];
- _this addMagazineCargo ["NLAW_F", _numAmmo];
- _this addMagazineCargo ["RPG32_F", _numAmmo];
- _this addMagazineCargo ["RPG32_AA_F", _numAmmo];
- _this addMagazineCargo ["30Rnd_65x39_caseless_green", _numAmmo];
- _this addMagazineCargo ["30Rnd_65x39_caseless_green_mag_Tracer", _numAmmo];
- _this addMagazineCargo ["30Rnd_65x39_caseless_mag", _numAmmo];
- _this addMagazineCargo ["30Rnd_65x39_caseless_mag_Tracer", _numAmmo];
- _this addMagazineCargo ["100Rnd_65x39_caseless_mag", _numAmmo];
- _this addMagazineCargo ["100Rnd_65x39_caseless_mag_Tracer", _numAmmo];
- _this addMagazineCargo ["20Rnd_762x45_mag", _numAmmo];
- _this addMagazineCargo ["20Rnd_556x45_UW_mag", _numAmmo];
- _this addMagazineCargo ["30Rnd_556x45_Stanag", _numAmmo];
- _this addMagazineCargo ["30Rnd_65x39_case_mag", _numAmmo];
- _this addMagazineCargo ["30Rnd_65x39_case_mag_Tracer", _numAmmo];
- _this addMagazineCargo ["16Rnd_9x21_Mag", _numAmmo];
- _this addMagazineCargo ["30Rnd_9x21_Mag", _numAmmo];
- _this addMagazineCargo ["200Rnd_65x39_cased_Box", _numAmmo];
- _this addMagazineCargo ["200Rnd_65x39_cased_Box_Tracer", _numAmmo];
- _this addMagazineCargo ["1Rnd_HE_Grenade_shell", _numAmmo];
- _this addMagazineCargo ["UGL_FlareWhite_F", _numAmmo];
- _this addMagazineCargo ["UGL_FlareGreen_F", _numAmmo];
- _this addMagazineCargo ["UGL_FlareRed_F", _numAmmo];
- _this addMagazineCargo ["UGL_FlareYellow_F", _numAmmo];
- _this addMagazineCargo ["UGL_FlareCIR_F", _numAmmo];
- _this addMagazineCargo ["1Rnd_Smoke_Grenade_shell", _numAmmo];
- _this addMagazineCargo ["1Rnd_SmokeRed_Grenade_shell", _numAmmo];
- _this addMagazineCargo ["1Rnd_SmokeGreen_Grenade_shell", _numAmmo];
- _this addMagazineCargo ["1Rnd_SmokeYellow_Grenade_shell", _numAmmo];
- _this addMagazineCargo ["1Rnd_SmokePurple_Grenade_shell", _numAmmo];
- _this addMagazineCargo ["1Rnd_SmokeBlue_Grenade_shell", _numAmmo];
- _this addMagazineCargo ["1Rnd_SmokeOrange_Grenade_shell", _numAmmo];
- _this addMagazineCargo ["3Rnd_HE_Grenade_shell", _numAmmo];
- _this addMagazineCargo ["3Rnd_UGL_FlareWhite_F", _numAmmo];
- _this addMagazineCargo ["3Rnd_UGL_FlareGreen_F", _numAmmo];
- _this addMagazineCargo ["3Rnd_UGL_FlareRed_F", _numAmmo];
- _this addMagazineCargo ["3Rnd_UGL_FlareYellow_F", _numAmmo];
- _this addMagazineCargo ["3Rnd_UGL_FlareCIR_F", _numAmmo];
- _this addMagazineCargo ["3Rnd_Smoke_Grenade_shell", _numAmmo];
- _this addMagazineCargo ["3Rnd_SmokeRed_Grenade_shell", _numAmmo];
- _this addMagazineCargo ["3Rnd_SmokeGreen_Grenade_shell", _numAmmo];
- _this addMagazineCargo ["3Rnd_SmokeYellow_Grenade_shell", _numAmmo];
- _this addMagazineCargo ["3Rnd_SmokePurple_Grenade_shell", _numAmmo];
- _this addMagazineCargo ["3Rnd_SmokeBlue_Grenade_shell", _numAmmo];
- _this addMagazineCargo ["3Rnd_SmokeOrange_Grenade_shell", _numAmmo];
- _this addItemCargo ["V_BandollierB_cbr", _numItem];
- _this addItemCargo ["V_BandollierB_khk", _numItem];
- _this addItemCargo ["V_BandollierB_rgr", _numItem];
- _this addItemCargo ["V_Chestrig_khk", _numItem];
- _this addItemCargo ["V_ChestrigB_rgr", _numItem];
- _this addItemCargo ["V_HarnessO_brn", _numItem];
- _this addItemCargo ["V_HarnessOGL_brn", _numItem];
- _this addItemCargo ["V_PlateCarrier1_cbr", _numItem];
- _this addItemCargo ["V_PlateCarrier1_rgr", _numItem];
- _this addItemCargo ["V_PlateCarrier2_rgr", _numItem];
- _this addItemCargo ["V_PlateCarrierGL_rgr", _numItem];
- _this addItemCargo ["V_Rangemaster_belt", _numItem];
- _this addItemCargo ["V_RebreatherB", _numItem];
- _this addItemCargo ["V_RebreatherIR", _numItem];
- _this addItemCargo ["V_TacVest_brn", _numItem];
- _this addItemCargo ["V_TacVest_khk", _numItem];
- _this addItemCargo ["V_TacVest_oli", _numItem];
- _this addItemCargo ["U_B_CombatUniform_mcam", _numItem];
- _this addItemCargo ["U_B_CombatUniform_mcam_tshirt", _numItem];
- _this addItemCargo ["U_B_CombatUniform_mcam_vest", _numItem];
- _this addItemCargo ["U_B_HeliPilotCoveralls", _numItem];
- _this addItemCargo ["U_B_Wetsuit", _numItem];
- _this addItemCargo ["U_BasicBody", _numItem];
- _this addItemCargo ["U_C_Commoner1_1", _numItem];
- _this addItemCargo ["U_C_Commoner1_2", _numItem];
- _this addItemCargo ["U_C_Commoner1_3", _numItem];
- _this addItemCargo ["U_C_Poloshirt_blue", _numItem];
- _this addItemCargo ["U_C_Poloshirt_burgundy", _numItem];
- _this addItemCargo ["U_C_Poloshirt_redwhite", _numItem];
- _this addItemCargo ["U_C_Poloshirt_salmon", _numItem];
- _this addItemCargo ["U_C_Poloshirt_stripped", _numItem];
- _this addItemCargo ["U_C_Poloshirt_tricolour", _numItem];
- _this addItemCargo ["U_OI_CombatUniform_ocamo", _numItem];
- _this addItemCargo ["U_OI_PilotCoveralls", _numItem];
- _this addItemCargo ["U_OI_Wetsuit", _numItem];
- _this addItemCargo ["U_Rangemaster", _numItem];
- _this addbackpackcargo ["B_AssaultPack_khk", _amountitem];
- _this addbackpackcargo ["B_AssaultPack_khk_holder", _amountitem];
- _this addbackpackcargo ["B_AssaultPack_dgtl", _amountitem];
- _this addbackpackcargo ["B_AssaultPack_rgr", _amountitem];
- _this addbackpackcargo ["B_AssaultPack_rgr_Medic", _amountitem];
- _this addbackpackcargo ["B_AssaultPack_rgr_Repair", _amountitem];
- _this addbackpackcargo ["B_AssaultPack_sgg", _amountitem];
- _this addbackpackcargo ["B_AssaultPack_blk", _amountitem];
- _this addbackpackcargo ["B_AssaultPack_blk_DiverExp", _amountitem];
- _this addbackpackcargo ["B_AssaultPack_blk_DiverTL", _amountitem];
- _this addbackpackcargo ["B_AssaultPack_cbr", _amountitem];
- _this addbackpackcargo ["B_AssaultPack_mcamo", _amountitem];
- _this addbackpackcargo ["B_AssaultPack_ocamo", _amountitem];
- _this addbackpackcargo ["B_Kitbag_mcamo", _amountitem];
- _this addbackpackcargo ["B_Kitbag_sgg", _amountitem];
- _this addbackpackcargo ["B_Kitbag_cbr", _amountitem];
- _this addbackpackcargo ["B_FieldPack_blk", _amountitem];
- _this addbackpackcargo ["B_FieldPack_blk_DiverExp", _amountitem];
- _this addbackpackcargo ["B_FieldPack_blk_DiverTL", _amountitem];
- _this addbackpackcargo ["B_FieldPack_ocamo", _amountitem];
- _this addbackpackcargo ["B_FieldPack_cbr", _amountitem];
- _this addbackpackcargo ["B_FieldPack_cbr_AT", _amountitem];
- _this addbackpackcargo ["B_FieldPack_cbr_Repair", _amountitem];
- _this addbackpackcargo ["B_Carryall_ocamo", _amountitem];
- _this addbackpackcargo ["B_Carryall_oucamo", _amountitem];
- _this addbackpackcargo ["B_Carryall_oucamo_Exp", _amountitem];
- _this addbackpackcargo ["Bag_Base", _amountitem];
- _this addbackpackcargo ["B_AssaultPack_Base", _amountitem];
- _this addbackpackcargo ["B_Kitbag_Base", _amountitem];
- _this addbackpackcargo ["B_FieldPack_Base", _amountitem];
- _this addbackpackcargo ["B_Bergen_Base", _amountitem];
- _this addbackpackcargo ["B_Carryall_Base", _amountitem];
- // Wait the duration of _refreshTime
- sleep _refreshTime;
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement