When you are in a match, you can run out of ammo. Enemies may drop ammo packs when they die. When you die, you will respawn with ammo. You do not need to BUY basic ammo from vendors. You always have basic ammo in your inventory that you do not need to equip.