Kartik Scripts

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

ParameterTypeOptionalDescription
citizenIdstringNoPlayer Citizen ID.
amountnumberNoNumber of design credits to grant.

📤 Returns

TypeDescription
booleantrue if credits were added successfully.

💻 Example

exports['kartik-clothing']:addDesignCredits("CIT12345", 5)

On this page