Skip to main content

Players Stuck in Arena

Solutions:
  1. Use the leave command:
    /ffaleave
    
  2. Check command is configured:
    R.Commands = {
        leave = "ffaleave",
    }
    
  3. Restart the resource:
    restart r_ffa
    
  4. Admin can force remove players via admin menu
Solutions:
  • Check arena zone configuration
  • Increase zone radius:
    RadiusOrThickness = 100.0, -- Increase if too small
    
  • Verify spawn points are inside the zone
  • Enable zone debug to visualize:
    R.ZoneDebug = true
    

Wager System Issues

Solutions:
  1. Check r_store integration:
    R.UseRStoreCredits = true
    R.RStoreResourceName = "r_store"
    
  2. Ensure r_store is running:
    ensure r_store
    ensure r_ffa
    
  3. Verify currency configuration:
    R.Currencies = {
        cash = "currency_cash",
        credits = "currency_credits",
    }
    
  4. Check player has sufficient balance
Solutions:
  • Check server console for errors
  • Verify framework money functions work
  • Test with small wager amounts first
  • Check if player was eliminated before winning

Weapon Issues

Solutions:
  1. Verify weapon names are correct:
    Weapons = {
        "weapon_pistol", -- Check exact spawn name
        "weapon_combatpistol",
    }
    
  2. Ensure ox_inventory is running
  3. Check inventory compatibility:
    • ox_inventory (recommended)
    • Framework inventory
  4. Test weapon spawn manually via /ffaweapons
Solutions:
  • Use /ffacomp command
  • Verify component images exist
  • Check ox_inventory compatibility
  • Ensure weapons support the components
Solutions:
  • Enable radial menu:
    UseRadialMenu = true
    
  • Or disable for context menu:
    UseRadialMenu = false
    
  • Update ox_lib to latest version

Stats Not Saving

Solutions:
  1. Verify database table exists:
    SHOW TABLES LIKE 'r_ffa';
    
  2. Check for SQL errors in console
  3. Ensure oxmysql is working
  4. Test with multiple players
  5. Check player identifier format

Spawn Issues

Solutions:
  • Verify spawn points in config:
    SpawnPoints = {
        vec3(x, y, z), -- Check coordinates
        vec3(x, y, z),
    }
    
  • Ensure coordinates are valid
  • Add more spawn points to avoid overlap
  • Check if using correct arena MapId
Solutions:
  1. Enable 1v1 mode:
    Is1v1Map = true
    
  2. Configure both spawns:
    P1Spawn = vector3(x, y, z),
    P2Spawn = vector3(x, y, z),
    
  3. Ensure spawns are in the arena zone

Performance Issues

Solutions:
  • Reduce maximum players:
    MaxPlayers = 15, -- Lower if lagging
    
  • Disable debug mode:
    R.Debug = false
    R.ZoneDebug = false
    
  • Optimize spawn point count (5-10 is enough)
  • Check for other resource conflicts

Admin Issues

Solutions:
  1. Verify admin permission:
    R.AdminGroupd = "group.mod"
    
  2. Ensure your account has the permission group
  3. Try the command:
    /ffaadmin
    
  4. Check framework admin/permission system

General Quick Fixes

Check general troubleshooting guide