I'm struggling on adding two strings together. The function is to remove Primary and Secondary Weapons from players that are not supposed to use them at all, ever. So that if they equip a Rifle or a Launcher they will "Drop them or they will be deleted". I would rather just have them deleted because "dropWeapon" adds an animation the will just repeat over and over because of the "sleep 3"
These two scripts work independently, but I'm having a hard time joining them together, my syntax skills are not the best...
//Working for PrimaryWeapon
nul = this spawn { while {alive _this} do {player removeWeapon (primaryWeapon player); sleep 3 }};
//Working for SecondaryWeapon
nul = this spawn { while {alive _this} do {player removeWeapon (secondaryWeapon player); sleep 3 }};
//Trying something like:
nul = this spawn { while {alive _this} do {player removeWeapon (primaryWeapon player); {player removeWeapon (secondaryWeapon player); sleep 3 }}};
However the second part reg. secondaryWeapon is disregarded in the code.
Class= vn_b_men_aircrew_10 (medic1)
Faction=Blufor ["B_MACV"]