I used to hate my ally members always to fighting with melee weapons, so i modify ally's AI to let them use guns instead of sticks. now they can use gun and also melee fighting, the more zombies is, the more often they use gun. if you don't want ally use gun , just unequip guns from ally's inventory.