Skip to Content
Red40 Development is OPEN ๐ŸŽ‰
๐Ÿ’Š Scripts๐Ÿ” Metal Detecting

red40_metaldetecting

image unoptimized

Features

  • Zone based configuration (poly and circle zones) for loot and XP
  • Tiered XP system (open for integration to a skill script of your choice) to gate items in a zone
  • Statebag based prop attachment
  • Quits detecting if item removed from inventory (ox_inventory only)
  • Server side validation of drops
  • Shared pickup points between users
  • Custom metal detecting prop and rings
  • DrawText3d or TextUI
  • Locales for translations

Requirements

  • ox_lib
  • QBX/QB/ESX
  • Bridge files are open for other inventories/frameworks

Installation

  • Unzip resource to your server resources
  • For ox_inventory add the following to your data\items.lua
metal_detector = { label = 'Metal Detector', description = 'Scans for metallic objects underground', weight = 500, stack = false, close = false, consume = 0, client = { image = 'metal_detector.png', }, server = { export = 'red40_metaldetecting.detector' } }
  • Other inventories will need to have items added in the correct format with the name being metal_detector

Usage

  • Use metal_detector item
  • Find spot and press E to dig

server.cfg

ensure red40_metaldetecting

or

ensure [red40]

Requirements

Last updated on