getPlayerOutfits
Fetches saved outfit presets from kc_player_outfits for a given player source ID or Citizen ID.
💡 Syntax
local outfits = exports['kartik-clothing']:getPlayerOutfits(sourceOrId)📥 Parameters
| Parameter | Type | Optional | Description |
|---|---|---|---|
sourceOrId | number | string | No | Server source ID or Citizen ID. |
📤 Returns
| Type | Description |
|---|---|
table[] | List of outfit records { id, name, components, props, created_at }. |