local PLUGIN = PLUGIN
PLUGIN.name = "Military RP HUD"
PLUGIN.author = "Military RP Team"
PLUGIN.desc = "Military-themed HUD for Military RP"

ix.util.Include("cl_plugin.lua")

function PLUGIN:CanDrawAmmoHUD()
    return false
end

function PLUGIN:ShouldHideBars()
    return true
end

-- Настройки для HUD (using localization)
ix.option.Add("disablehud", ix.type.bool, false, {
    category = "optHUD",
    name = "optDisableHUD",
    description = "optDisableHUDDesc"
})

ix.option.Add("disableplayerinfo", ix.type.bool, false, {
    category = "optHUD",
    name = "optDisablePlayerInfo",
    description = "optDisablePlayerInfoDesc"
})

if CLIENT then
    -- Обновление ранга
    net.Receive("MilitaryRP_RankUpdate", function()
        -- Здесь можно обновить ранг игрока
    end)
end
