Available Exports
R_Store provides three server-side exports for managing player credits:Add Credits
Give credits to a player
Remove Credits
Take credits from a player
Get Balance
Check player’s credit balance
Add Credits to Player
Give credits to a player by their server ID.Syntax
Parameters
Example Usage
Remove Credits from Player
Remove credits from a player by their server ID.Syntax
Parameters
Example Usage
Get Player Coin Balance
Retrieve a player’s current credit balance.Syntax
Parameters
Returns
Example Usage
Integration with R_Casino
If using both R_Store and R_Casino, you can share the credit system:In R_Casino config.lua
Integration with R_FFA
R_FFA can use R_Store credits for wager matches:In R_FFA config.lua
Troubleshooting
Common Export Issues
Having problems with exports? Check our troubleshooting guide
