Jump to content
  • 0

Classname for chainsaw?


Swordplay

Question

9 answers to this question

Recommended Posts

  • 0

Adding this to my ikea mission loot crate has improved the competitiveness on my server loads, it has also increased the popularity of the missions.  

_ChainSaws = ["ChainSaw","ChainSawB","ChainSawG","ChainSawP","ChainSawR"] call BIS_fnc_selectRandom;

_ChainSawChance = floor(random 100);

if (_ChainSawChance < 5) then { 
_crate addWeaponCargoGlobal [_ChainSaws,1]; 
_crate addMagazineCargoGlobal ["ItemMixOil",ceil(Random 2)]};
Link to comment
Share on other sites

  • 0

Run this query to insert the chainsaws into your traders. You can adjust buy/sell as you wish.,

 

INSERT INTO `traders_data` (`item`,`qty`,`buy`,`sell`,`order`,`tid`,`afile`) VALUES
('["ChainSawB",3]',50,'[4,"ItemGoldBar10oz",1]','[2,"ItemGoldBar10oz",1]',0,662,'trade_weapons'),
('["ChainSawB",3]',50,'[4,"ItemGoldBar10oz",1]','[2,"ItemGoldBar10oz",1]',0,530,'trade_weapons'),
('["ChainSawB",3]',50,'[4,"ItemGoldBar10oz",1]','[2,"ItemGoldBar10oz",1]',0,508,'trade_weapons'),
('["ChainSawG",3]',50,'[4,"ItemGoldBar10oz",1]','[2,"ItemGoldBar10oz",1]',0,662,'trade_weapons'),
('["ChainSawG",3]',50,'[4,"ItemGoldBar10oz",1]','[2,"ItemGoldBar10oz",1]',0,530,'trade_weapons'),
('["ChainSawG",3]',50,'[4,"ItemGoldBar10oz",1]','[2,"ItemGoldBar10oz",1]',0,508,'trade_weapons'),
('["ChainSawP",3]',50,'[4,"ItemGoldBar10oz",1]','[2,"ItemGoldBar10oz",1]',0,662,'trade_weapons'),
('["ChainSawP",3]',50,'[4,"ItemGoldBar10oz",1]','[2,"ItemGoldBar10oz",1]',0,530,'trade_weapons'),
('["ChainSawP",3]',50,'[4,"ItemGoldBar10oz",1]','[2,"ItemGoldBar10oz",1]',0,508,'trade_weapons'),
('["ChainSawR",3]',50,'[4,"ItemGoldBar10oz",1]','[2,"ItemGoldBar10oz",1]',0,662,'trade_weapons'),
('["ChainSawR",3]',50,'[4,"ItemGoldBar10oz",1]','[2,"ItemGoldBar10oz",1]',0,530,'trade_weapons'),
('["ChainSawR",3]',50,'[4,"ItemGoldBar10oz",1]','[2,"ItemGoldBar10oz",1]',0,508,'trade_weapons')
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...