i've got it working with
removeAllWeapons player;
player setCaptive true;
removeAction "Surrender";
@player hasweapon "Bizon, Glock, BAS_M14AIMPOINT, BAS_M249, BAS_M249spw";
player setcaptive false
exit
;end of script
but this only works for the guy named 'player' and if you want it for multiple blokes then it would be a pain in the a**