Search the Community
Showing results for tags '#Broken #Guns #Arma #Help'.
-
Hi! I was attempting to add weapons to my server by adding these lines vvv class rebel { name = "Mohammed's Jihadi Shop"; side = "civ"; license = "rebel"; level[] = { "", "", -1, "" , "" , "" , "" , "" , "" }; items[] = { { "arifle_TRG20_F", "", 240, 90 }, { "arifle_Katiba_F", "", 2000, 90 }, { "srifle_DMR_01_F", "", 2000, -1 }, { "arifle_SDAR_F", "", 100, 10 }, { "srifle_GM6_F", "", 3500, 500 }, { "arifle_MXC_F", "", 1500, 90 },l { "arifle_MX_F", "", 2000, 90 }, { "arifle_MX_SW_F", "", 2200, 350 }, { "arifle_MXM_F", "", 2000, 90 } }; When before it was like this class rebel { name = "Mohammed's Jihadi Shop"; side = "civ"; license = "rebel"; level[] = { "", "", -1, "" }; items[] = { { "arifle_TRG20_F", "", 240, 90 }, { "arifle_Katiba_F", "", 2000, 90 }, { "srifle_DMR_01_F", "", 2000, -1 }, { "arifle_SDAR_F", "", 100, 10 }, }; And my server doesnt accept them! I dont know why Im not the best at this so I know I did it wrong (and I have backups) But I want this to work!!! Please help! (for info this is what each line is for) vvvv Format: * level: ARRAY (This is for limiting items to certain things) * 0: Variable to read from * 1: Variable Value Type (SCALAR / BOOL / EQUAL) * 2: What to compare to (-1 = Check Disabled) * 3: Custom exit message (Optional) * * items: { Classname, Itemname, BuyPrice, SellPrice } * * Itemname only needs to be filled if you want to rename the original object name. * * Weapon classnames can be found here: https://community.bistudio.com/wiki/Arma_3_CfgWeapons_Weapons * Item classnames can be found here: https://community.bistudio.com/wiki/Arma_3_CfgWeapons_Items