RISK SCRIPTS
TEBEXDISCORD
  • Welcome to RISK DOCUMENTAION
  • Discord Integration
    • Discord Webhooks
    • Discord Bot Token
  • SCRIPTS
    • πŸ””Notify
      • βš™οΈInstallation
      • βš™οΈConfiguration
      • πŸ•΅οΈβ€β™‚οΈUsage
      • ❔FAQ & Troubleshooting
    • 🚚Cargo Job
      • πŸ’‘Installation
      • βš™οΈConfiguration
      • πŸ•΅οΈβ€β™‚οΈUsage
      • ❔FAQ & Troubleshooting
    • πŸ–ΌοΈLoadingscreen
      • πŸ’‘Installation
      • βš™οΈConfiguration
      • πŸ•΅οΈβ€β™‚οΈUsage
      • ❔FAQ / Troubleshooting
    • Driving-School
      • πŸ’‘Installation
      • βš™οΈConfiguration
      • πŸ•΅οΈβ€β™‚οΈUsage
      • ❔FAQ & Troubleshooting
    • 🎣FREE AFK Fishing Script
      • πŸ’‘Installation
      • βš™οΈConfiguration
      • πŸ•΅οΈβ€β™‚οΈUsage
      • ❔FAQ / Troubleshooting
    • 🚘Vehicle Shop
      • πŸ’‘Installation
      • βš™οΈConfiguration
      • πŸ•΅οΈβ€β™‚οΈUsage
      • ❔FAQ / Troubleshooting
    • 🐝Beekeeping Script
      • πŸ’‘Installation
      • βš™οΈConfiguration
      • πŸ•΅οΈβ€β™‚οΈUsage
      • ❔FAQ / Troubleshooting
    • πŸ”ŽAdvanced Metal Detector Script
      • πŸ“Editable
      • πŸ’‘Installation
      • βš™οΈConfiguration
      • πŸ•΅οΈβ€β™‚οΈUsage
      • ❔FAQ / Troubleshooting
    • πŸ›οΈ24/7 Market
      • πŸ’‘Installation
      • βš™οΈConfiguration
      • πŸ•΅οΈβ€β™‚οΈUsage
      • ❔FAQ / Troubleshooting
    • πŸ›οΈWeapon Market
      • πŸ’‘Installation
      • βš™οΈConfiguration
      • πŸ•΅οΈβ€β™‚οΈUsage
      • ❔FAQ / Troubleshooting
    • πŸ›οΈBlack Market Script
      • πŸ’‘Installation
      • βš™οΈConfiguration
      • πŸ•΅οΈβ€β™‚οΈUsage
      • ❔FAQ / Troubleshooting
    • πŸš—Simple Garage
      • πŸ’‘Installation
      • βš™οΈConfiguration
      • πŸ•΅οΈβ€β™‚οΈUsage
      • ❔FAQ / Troubleshooting
    • 🎲4 in Row Script
      • πŸ’‘Installation
      • βš™οΈConfiguration
      • πŸ•΅οΈβ€β™‚οΈUsage
      • ❔FAQ / Troubleshooting
    • πŸŽ’Outfit Bag Script
      • πŸ’‘Installation
      • βš™οΈConfiguration
      • βš™οΈUsage
      • ❔FAQ / Troubleshooting
    • πŸ”˜Radial Menu
      • πŸ’‘Installation
      • βš™οΈCommands & Event Triggers
      • πŸ•΅οΈβ€β™‚οΈUsage
      • ❔FAQ / Troubleshooting
    • πŸ—’οΈTicTacToe / X and O
      • πŸ’‘Installation
      • βš™οΈConfiguration
      • πŸ•΅οΈβ€β™‚οΈUsage
      • ❔FAQ / Troubleshooting
    • 🏦Simple Banking System
      • πŸ’‘Installation
      • βš™οΈConfiguration
      • πŸ•΅οΈβ€β™‚οΈUsage
      • ❔FAQ / Troubleshooting
    • βš™οΈAdvanced Crafting System
      • πŸ’‘Installation
      • βš™οΈConfiguration
      • πŸ•΅οΈβ€β™‚οΈUsage
      • ❔FAQ / Troubleshooting
    • 🚜Farming System
      • πŸ’‘Installation
      • βš™οΈConfiguration
      • πŸ•΅οΈβ€β™‚οΈUsage
      • ❔FAQ / Troubleshooting
    • πŸ•Pizza Delivery Script
      • πŸ’‘Installation
      • βš™οΈConfiguration
      • πŸ•΅οΈβ€β™‚οΈUsage
      • ❔FAQ / Troubleshooting
    • 🍾Spin the Bottle
      • πŸ’‘Installation
      • βš™οΈConfiguration
      • πŸ•΅οΈβ€β™‚οΈUsage
      • ❔FAQ / Troubleshooting
    • πŸŽ‡Firework Script
      • πŸ’‘Installation
      • βš™οΈConfiguration
      • πŸ•΅οΈβ€β™‚οΈUsage
      • ❔FAQ / Troubleshooting
    • πŸ“¦Blindfold
      • πŸ’‘Installation
      • βš™οΈConfiguration
      • πŸ•΅οΈβ€β™‚οΈUsage
      • ❔FAQ / Troubleshooting
Powered by GitBook
On this page
  1. SCRIPTS
  2. Advanced Metal Detector Script

FAQ / Troubleshooting

  • Q: The script can’t detect ESX/QB. A: Ensure es_extended or qb-core is started before this resource. If auto-detection fails, set Config.Framework to "esx" or "qb".

  • Q: Players can’t digβ€”keeps saying β€œYou do not have a shovel.” A: Check that the shovel item name is correct in your database and script references Config.Upgrades["shovel"].item properly. Also confirm the player actually has that item in inventory.

  • Q: Battery or radius upgrades do nothing A: Make sure your client logic references Config.Upgrades["max_battery"] or "radius" levels.

  • Q: Scoreboard doesn’t update A: The script calls a scoreboard refresh event when a new item is discovered. Confirm your server logs for errors if the scoreboard fails to refresh. Also, ensure data.json is writeable if it’s storing scoreboard data.

  • Q: The metal detector can’t be used in certain areas A: The script might check for surfaces or ground presence. If getSurface() logic or your allowlist doesn’t include the ground type, it might block usage in that area.

PreviousUsageNext24/7 Market

Last updated 4 months ago

πŸ”Ž
❔