Bot Primary Weapon Enforcer
USE IT FFS!
Don’t you love it when bots change from sniper to pistol in close combat just to be completely useless? Well not anymore, This will turn Ellis and Zoey from being always worst, to most effective bots in your team!
This script prevents bots from using secondary weapons until they are out of primary reserve ammo. You could say its a vscript version of the "Survivor Bot Sniper Rifle AI Fix" SM plugin.
Known Issues:
When it prevents bots from changing to secondary, their weapon will appear invisible. However this is a visual only bug and wont affect the gameplay itself.
Fixed thanks to Shadowysn, however there is still slight flicker when the switch happens.