Could you share your list of pistols and pistol ammo, so I can add them to the Overwatch version?
Are you using Epoch code as the base? It should execute using the Epoch version in the release. If not some other script may be conflicting. Check your server and client RPT (C:\Users\YourName\AppData\Local\ArmA 2 OA\arma2oa.RPT) for any script errors.
Sure thing however as a warning it doesn't have all the pistols in Overwatch as I pulled it from our custom loot tables and we didn't add all the pistols to the but anyway
Code:
_hasPistol = false;
_pistols = ["Colt1911","glock17_EP1","M9","M9SD","Makarov","MakarovSD","revolver_EP1","revolver_gold_EP1","UZI_EP1","UZI_SD_EP1","Sa61_EP1","DDOPP_X26","RH_deagle","RH_anac","RH_bull","RH_python","RH_p226","RH_p38","RH_mk22","RH_usp","RH_m1911","RH_m9","RH_muzi","RH_Deaglemzb","RH_anacg","RH_uspsd","RH_mk22sd"];
{if (_x in _pistols) then {_hasPistol = true;};} count (classSelect select 3);
if (_hasPistol) then {{player removeWeapon _x;} count _pistols;};
_hasPistolAmmo = false;
_pistolAmmo = ["15Rnd_9x19_M9","15Rnd_9x19_M9SD","17Rnd_9x19_glock17","20Rnd_B_765x17_Ball","30Rnd_9x19_UZI","30Rnd_9x19_UZI_SD","6Rnd_45ACP","7Rnd_45ACP_1911","8Rnd_9x18_Makarov","8Rnd_9x18_MakarovSD","DDOPP_1Rnd_X26","RH_7Rnd_50_AE","RH_6Rnd_44_Mag","RH_6Rnd_357_Mag","RH_15Rnd_9x19_usp","RH_8Rnd_9x19_P38","RH_8Rnd_9x19_Mk","RH_8Rnd_45cal_m1911","15Rnd_9x19_M9","RH_32Rnd_9x19_Muzi"];
{if (_x in _pistolAmmo) then {_hasPistolAmmo = true;};} count (classSelect select 2);
if (_hasPistolAmmo) then {{player removeMagazines _x;} count _pistolAmmo;};
We are using Epoch as a base, However since posting I have found an error in my method (as i have the files in a different file path) I've since corrected this and will update this next restart to see if it has fixed it.