> ## Documentation Index
> Fetch the complete documentation index at: https://docs.r-scripts.net/llms.txt
> Use this file to discover all available pages before exploring further.

# Common Issues

> Troubleshooting guide for R_Casino

## Coins Not Saving

<AccordionGroup>
  <Accordion title="Coins not updating" icon="coins">
    **Solutions:**

    * Check database connection
    * Verify player identifier format
    * Check for SQL errors in console
  </Accordion>
</AccordionGroup>

## Casino Won't Open

<AccordionGroup>
  <Accordion title="F5 key not working" icon="keyboard">
    **Solutions:**

    1. Check fast key config:

       ```lua theme={null}
       R.EnableFastKey = true
       R.ToggleKey = "F5"
       ```
    2. Try using `/casino` command
    3. Check for key conflicts with other scripts
  </Accordion>
</AccordionGroup>

## Integration Issues

<AccordionGroup>
  <Accordion title="R_Store integration not working" icon="store">
    **Solutions:**

    1. Enable store integration:

       ```lua theme={null}
       R.EnableStore = true
       R.StoreResourceName = "r_store"
       ```
    2. Ensure r\_store is installed and running
    3. Verify resource name matches exactly
    4. Restart both resources
  </Accordion>

  <Accordion title="Coin sharing with R_Store not working" icon="coins">
    **Solutions:**

    1. Enable coin sharing:

       ```lua theme={null}
       R.UseRStoreCoins = true
       R.RStoreResourceName = "r_store"
       ```
    2. Ensure r\_store is started first
    3. Use r\_store exports for coin management
  </Accordion>
</AccordionGroup>

## Case Opening Issues

<AccordionGroup>
  <Accordion title="Cooldowns not working" icon="clock">
    **Solutions:**

    * Verify `r_casino_case_cooldowns` table exists
    * Check database for cooldown entries
    * Restart the resource
  </Accordion>

  <Accordion title="Rewards not received" icon="gift">
    **Solutions:**

    * Check inventory system configuration
    * Verify item names match your server
    * Ensure inventory has space
    * Check console for errors
  </Accordion>
</AccordionGroup>

<Card title="General Quick Fixes" icon="wrench" href="/quickstart">
  Check general troubleshooting guide
</Card>
