[ESX/QBCORE] Metal Detector


Samurai Development’s Metal Detector!
Hey everyone I am glad to be back and releasing more resources. I had to take a small break so its good to be back! Hope all of you enjoy another free release!

Info:

This script allows a you to place down or use existing native metal detectors like in real life! If a player walks through with a blacklisted item it will set off the metal detector. You can set a unlimited amount of items and a unlimited amount of spawned detectors. This script also uses a smart place/remove system to conserve resources while going around the city!

Demo:

You can watch the demo by clicking me!

Usage / How To Use:

You can add detector locations or use native locations in config! Just set your blacklisted items and walk through!

Download:

Github: GitHub - SamuraiDevCo/SDC_MetalDetector: This script allows a you to place down or use existing native metal detectors like in real life! If a player walks through with a blacklisted item it will set off the metal detector. You can set a unlimited amount of items and a unlimited amount of spawned detectors.
Tebex: https://samurai-dev-co.tebex.io/package/6343966

11 Likes

Any chance of adding like a “auto remove” items when walking thru the dectector?

6 Likes

I can maybe look into adding that if more people would like it

good job bro i also agree with idea above

2 Likes

this is tuff

1 Like

nice work :100:

1 Like

Update 1.0.1 Released!

Features:

  • New Config to set all blacklisted items to be removed upon walking through detector

Download:

1 Like

So I have interact-sound and its removing the item from my inventory but i cannot get the sound to play. Any ideas?

Replace interactsound to xsound

Will be pushing an update later to make the sound play from my resource instead of using a 3rd party resource!

Update 1.0.3 Released!

Features:

  • Sounds is now handled by the script and no longer requires interact sound

Download:
-Github: Release Version 1.0.3 · SamuraiDevCo/SDC_MetalDetector · GitHub
-Tebex: https://samurai-dev-co.tebex.io/package/6343966

1 Like

Support any Inventory? :thinking:
I use Chezza Inventory V4 and normal Items work but weapons wont work.


Chezza saves weapons in loadout, not in inventory… dang it :confused:

I can look into support for using gta weapon wheel

Update 1.0.4

Features:

  • Adds The Input For Those That Do Not Use Weapons As Items In ESX

Update 1.0.5 - Metal Detector Script

Changes:

  • Adds The Option For Whitelisted Jobs From Detectors
  • Adds The Option To Add Coords To Act As a Detector

File Changes: (From Last Update)

  • src/config/config.lua
  • src/client/client.lua
  • src/client/client_customize_me.lua
  • fxmanifest.lua

Download:

2 Likes