Available Exports
Add Coins
Give casino coins to a player
Remove Coins
Take coins from a player
Get Balance
Check player’s coin balance
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Use R_Casino exports to manage player casino coins
exports['r_casino']:addCoinsToPlayer(source, amount)
-- Reward player
exports['r_casino']:addCoinsToPlayer(1, 1000)
exports['r_casino']:removeCoinsFromPlayer(source, amount)
exports['r_casino']:removeCoinsFromPlayer(1, 100)
exports['r_casino']:getPlayerCoinBalance(source)
local balance = exports['r_casino']:getPlayerCoinBalance(1)
print("Player has " .. balance .. " casino coins")
-- In r_casino config.lua
R.UseRStoreCoins = true
R.RStoreResourceName = "r_store"
