Client exports

Client exports for PlateCarriers. These run on the local client. Vest and helmet checks take no player id.

These run on the local client. Vest and helmet checks take no player id.

Vest

local wearing = exports.MrNewbPlateCarriers:IsPlayerWearingVest()
local state = exports.MrNewbPlateCarriers:GetPlateCarrierState()

IsPlayerWearingVest is the local visual flag (true after the equip event). GetPlateCarrierState returns LocalPlayer.state.plateCarrier or { equipped = false }.

Helmet and combined HUD

local wearingHelmet = exports.MrNewbPlateCarriers:IsPlayerWearingHelmet()
local armor = exports.MrNewbPlateCarriers:GetPlateArmorState()

GetPlateArmorState returns { carrier = ..., helmet = ... } from the local state bags (same shape as the server export).

Inspect menu

exports.MrNewbPlateCarriers:OpenPlateCarrierMenu()

Opens the equipped-carrier plate list (/inspectvest). No-ops with an error notify if no vest is equipped. Selecting a slot asks the server to remove that plate.

On this page