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