addDesignCredits
Grants custom clothing design token credits to a player and updates the credit ledger.
💡 Syntax
local success = exports['kartik-clothing']:addDesignCredits(citizenId, amount)📥 Parameters
| Parameter | Type | Optional | Description |
|---|---|---|---|
citizenId | string | No | Player Citizen ID. |
amount | number | No | Number of design credits to grant. |
📤 Returns
| Type | Description |
|---|---|
boolean | true if credits were added successfully. |
💻 Example
exports['kartik-clothing']:addDesignCredits("CIT12345", 5)