Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
  • Need help?

    Create a topic in the appropriate section
    Don't write everything in the chat!
  • Take a look at the marketplace

    There you can buy
    everything related to game servers
  • Don't want a ban?

    Please read our rules
    Don't disturb the order!
  • Sell or buy?

    Use services of the guarantor
    We will make your deal safe
  • 0
Sign in to follow this  
watanabe

спавн ящика с лутом

Доброго времени суток,после рестарта ящики с лутом на бот базах появляются сразу,а боты минут через 5 и игроки пользуются этим забирают лут и убегаю

как лучше сделать задержку спавна ящика,чтобы он спавнился после ботов

вот сам ящик

if (isServer) then {
_vehicle_99 = objNull;
		if (true) then
		{  
		  _this = createVehicle ["SpecialWeaponsBox", [3976.22,8097.77,0.00143433], [], 0, "CAN_COLLIDE"];
		  _vehicle_99 = _this;
		  _this setDir 20;
          _this setVariable ["permaLoot",true];
		  clearWeaponCargoGlobal _this;
		  clearMagazineCargoGlobal _this;
		  _this addMagazineCargoGlobal ["ItemTopaz",1];
		  _this addMagazineCargoGlobal ["ItemCitrine",2];
		  _this addWeaponCargoGlobal ["ItemGPS",2];
		  _this addWeaponCargoGlobal ["Binocular_Vector",2];
		  _this addWeaponCargoGlobal ["ItemToolbox",2];
		  _this addWeaponCargoGlobal ["ItemEtool",2];
		  _this addWeaponCargoGlobal ["ItemCrowbar",2];
		  _this addBackpackCargoGlobal ["DZ_LargeGunBag_EP1",1];
		  _this addMagazineCargoGlobal ["CinderBlocks",15];
		  _this addMagazineCargoGlobal ["full_cinder_wall_kit",2];
		  _this addMagazineCargoGlobal ["MortarBucket",4];
		  _this addMagazineCargoGlobal ["cinder_garage_kit",1];
		  _this addMagazineCargoGlobal ["PartGeneric",1];
		  _this addMagazineCargoGlobal ["ItemSandbag",3];
		  _this addMagazineCargoGlobal ["ItemTankTrap",4];
		  _this addMagazineCargoGlobal ["ItemComboLock",1];
		  //______________оружие_____________________________
		  _this addWeaponCargoGlobal ["M4A1_CCO_SD_DZ",2];
		  _this addWeaponCargoGlobal ["AKS_GOLD",1];
		  _this addWeaponCargoGlobal ["SCAR_L_CQC_CCO_SD",2];
		  _this addWeaponCargoGlobal ["G36_C_SD_camo",2];
		  _this addWeaponCargoGlobal ["DMR_DZ",1];
		  _this addWeaponCargoGlobal ["BAF_LRR_scoped_W",1];
		  _this addWeaponCargoGlobal ["M110_NVG_EP1",1];
		  _this addWeaponCargoGlobal ["Pecheneg_DZ",1];       
		  _this addWeaponCargoGlobal ["RPK_DZ",2];
		  _this addWeaponCargoGlobal ["m8_sharpshooter",2];
		  _this addWeaponCargoGlobal ["M14_CCO_DZ",2];
		  _this addWeaponCargoGlobal ["BAF_LRR_scoped",2];
		  _this addWeaponCargoGlobal ["UZI_SD_EP1",1];
		  //______________боеприпасы_______________________________
		  _this addMagazineCargoGlobal ["30Rnd_762x39_AK47",10];
		  _this addMagazineCargoGlobal ["30Rnd_545x39_AK",10];
		  _this addMagazineCargoGlobal ["30Rnd_556x45_G36SD",10];
		  _this addMagazineCargoGlobal ["30Rnd_556x45_G36",10];
		  _this addMagazineCargoGlobal ["30Rnd_556x45_Stanag",10];
		  _this addMagazineCargoGlobal ["30Rnd_556x45_StanagSD",10];
		  _this addMagazineCargoGlobal ["20Rnd_762x51_DMR",5];
		  _this addMagazineCargoGlobal ["5Rnd_86x70_L115A1",10];
		  _this addMagazineCargoGlobal ["20Rnd_762x51_B_SCAR",5];
		  _this addMagazineCargoGlobal ["100Rnd_762x51_M240",4];
		  _this addMagazineCargoGlobal ["100Rnd_762x54_PK",4];
		  _this addMagazineCargoGlobal ["75Rnd_545x39_RPK",4];
		  _this addMagazineCargoGlobal ["75Rnd_762x39_RPK",4];
		  _this addMagazineCargoGlobal ["20Rnd_762x51_SB_SCAR",5];
		  _this addMagazineCargoGlobal ["20Rnd_762x51_SB_SCAR",5];
		  _this addMagazineCargoGlobal ["30Rnd_9x19_UZI_SD",10];
		  //______________еда__________________________________
		  _this addMagazineCargoGlobal ["ItemSodaOrangeSherbet",2];
		  _this addMagazineCargoGlobal ["ItemSodaCoke",2];
		  _this addMagazineCargoGlobal ["FoodchickenCooked",2];
		  _this addMagazineCargoGlobal ["FoodchickenCooked",2];
		  _this addMagazineCargoGlobal ["FishCookedTrout",2];
		  _this addMagazineCargoGlobal ["FishCookedTuna",2];
		  //______________медицина_____________________________
		  _this addMagazineCargoGlobal ["ItemBandage",7];
		  _this addMagazineCargoGlobal ["ItemMorphine",3];
		  _this addMagazineCargoGlobal ["ItemEpinephrine",3];
		  _this addMagazineCargoGlobal ["ItemPainkiller",3];
		  _this addMagazineCargoGlobal ["ItemWaterbottle",3];
		  _this addMagazineCargoGlobal ["ItemAntibiotic",2];
		  _this addMagazineCargoGlobal ["ItemBloodbag",3];
		};
		};

 

Share this post


Link to post
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you automaticly agree to our Guidelines and Privacy Policy.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.