User Details
- User Since
- Mar 14 2013, 10:16 PM (604 w, 2 d)
May 9 2016
I did some rummaging around and it does indeed appear to be removealleapons that is cauing the issue. I modified the above init line to not use the command and then had another player jip onto my server. With removeallweapons the mags went away when he jipped, but without it nothing happened.
Hi,
I've been using a kit script similar to the one above, and getting the same errors (magazines go away when someone jips). So I switched to init line, hoping that it would fixed it. Sadly I got the same eroor again. init gear:
this unassignItem "nvgoggles";
this removeItem "nvgoggles";
removeallWeapons this;
removeUniform this;
removeVest this;
removeHeadgear this;
removeBackpack this;
this addUniform "U_B_CombatUniform_mcam_vest";
this addVest "V_PlateCarrier1_rgr";
this addHeadgear "H_Cap_headphones";
this addBackpack "B_Kitbag_cbr";
this addItem "FirstAidKit";
this addItem "acc_flashlight";
this addItem "muzzle_snds_L";
this addItem "muzzle_snds_H";
this addMagazines ["30Rnd_65x39_case_mag_Tracer",12];
this addMagazines ["16Rnd_9x21_Mag",4];
this addMagazines ["handgrenade",2];
this addMagazines ["smokeshell",1];
this addMagazines ["DemoCharge_Remote_Mag",1];
this addWeapon "Binocular";
this addWeapon "arifle_TRG20_ACO_F";
this addWeapon "hgun_P07_F";
As far as I am aware gear works fine as long as you pick it up inside the game. It is only when you try to add it pre-game that this happens.