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

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
  • Advertisement
  • Discord

×
×
  • Create New...