Run out of ammo
Run out of ammo is actually not a script, it is just some basic setting which helps in case when you run out of ammo of the main weapon and you still need to shoot continuously.
How it works:
When you run out of ammo of the main weapon (Thompson when you are in the Allies team as medic for example), it automatically changes the Thompson to Pistols and so on, as a Soldier it changes the Panzer to Thompson or Flamer to Pistols (depending what weapon you selected or what level of xp you reached)
// RUN OUT OF AMMO \\
set cg_weaponcycledelay “0”
bind 3 “weaponbank 2; weaponbank 3”
bind 2 “weaponbank 3; weaponbank 2”