1. So, I've been working on a small little ammoGUI based off of A3L I've got some code down but I need to make sure this will work if I were to use it(Currently its just reading the current gun, not if its a bolt or something along those lines{Basically this will only work with a AK atm})
    I might also need a bit of help with the gui later down on the line as I am not very good with them yet.

    Code:
    using Oxide.Core;
    using Oxide.Core.Plugins;
    using System;
    using System.Collections.Generic;
    using System.Reflection;namespace Oxide.Plugins
    {
        [Info("ammoGUI", "DylanSMR", 0.1, ResourceId = 1459)]
        [Description("Simple New GUI with ammo.")]
        public class ammoGUI : RustPlugin
        {
            int CurrentAmmo = this.primaryMagazine.contents;
            string CurrentAmmoText;        protected void OnWeaponFired()
            {
                Item ownerItem =  this.GetOwnerItem();
                if (ownerItem == null)
                    return;
                if (CurrentAmmo => 29 && CurrentAmmo == 30)
                    CurrentAmmoText = "Your Magazine is Full";
                else if (CurrentAmmo == 20 && CurrentAmmo => 21)
                    CurrentAmmoText = "Your Magazine is Half Full";
                else if (CurrentAmmo == 10 && CurrentAmmo => 11)
                    CurrentAmmoText = "You will need to reload very soon.";
            }
        }           
    }
    
     
  2. You need to grab the amount in the OnWeaponFired hook and you should use the parameters that are passed with it, you could have a look at my infinite ammo plugin actually to see how to grab the current amount of loaded ammunition.