Skip to main content

Commands & Exports

Admin Commands​

/gencode [coins]

Generates a code that a player can redeem.

/givecoins [receiver id] [amount]

Give a player coins.

/removecoins [receiver id] [amount]

Take coins from a player.

Open Trigger​

You can use TriggerEvent('sky_coinsystem:open') to integrate it in your radial menu

Exports​

exports["sky_coinsystem"]:GetCoins(target_id) -- server side
-- get player coins

exports["sky_coinsystem"]:GiveCoins(target_id, amount) -- server side
-- give player coins

exports["sky_coinsystem"]:RemoveCoins(target_id, amount) -- server side
-- remove player coins