Skip to content

function getPlayerArmor (client-side)

Available since version: 0.3.0

This function will return the equipped armor instance name for a player or NPC.

Declaration

string|nil getPlayerArmor(number player_id)

Parameters

  • number player_id: Target player or client NPC id.

Returns string|nil

Equipped armor instance, or nil if no armor is equipped.