#md-metaldetecting

9 messages · Page 1 of 1 (latest)

neon dune
#

https://github.com/Mustachedom/md-metaldetecting

Huge huge huge huge shoutout to @strong thistle for the custom prop for this script! I seriously would be lost without him!

Preview video is here https://www.youtube.com/watch?v=PStF2dU7Xds

how the script works

1) buy a metal detector
2) use the metal detector
3) walk around, it will check if youre on sand or grass and allow you to detect. if you are on a road, sidewalk, building floor, it will not do anything
4) get random loot and clumps
5) wash clumps to get other items
6) sell items where you buy the detector
7) badabing badaboop
GitHub

A metal detecting script built for QB-Core framework! It will check if you are on sand or grass and if you are will start scanning. Then a minigame will pop up and give items - GitHub - Mustachedom...

A metal detecting script built for qb-core utilizing ox lib

▶ Play video
floral osprey
#

Great resource, seems to be a slight issue with the clump washing though, it shows that an item has been added but gives a complete different item?

neon dune
#

Hmm I think I fixed that in a patch yesterday, I put a wrong value on the notify 🙃

#

Let me double check and I’ll tell ya what to change to fix so you don’t have to change your files out

neon dune
#

Line 47 should be currently


TriggerClientEvent("inventory:client:ItemBox", source, QBCore.Shared.Items[metaldetectitem], "add",  1)
            

Change it to this


TriggerClientEvent("inventory:client:ItemBox", source, QBCore.Shared.Items[metaldetectlow], "add",  1)
floral osprey
slim spindle
#

would be neat to tie into mz-skills

neon dune
#

It uses its own level system but you can incorporate it to work with mz it’s open source