44 while( magazine.GetAmmoCount() > 0)
46 int count = magazine.GetAmmoCount();
47 if(magazine.ServerAcquireCartridge(health, ammo_type))
49 int health_label = MiscGameplayFunctions.GetHealthLevelForAmmo(ammo_type,health);
50 if( piles[health_label] == null )
54 piles[health_label].ServerStoreCartridge(health,ammo_type);