savePlayerOutfit
Saves a new outfit preset record in database table kc_player_outfits.
💡 Syntax
local success = exports['kartik-clothing']:savePlayerOutfit(sourceOrId, name, outfitData)📥 Parameters
| Parameter | Type | Optional | Description |
|---|---|---|---|
sourceOrId | number | string | No | Server source ID or Citizen ID. |
name | string | No | Display name for the outfit. |
outfitData | table | No | Outfit table containing components, props, and optional model. |
📤 Returns
| Type | Description |
|---|---|
boolean | true if saved successfully. |