Skip to content

A new way for your non-illegal players to get some non-illegal money! Configurable to add items of your choice and locations of your choice. This script brings the fun in RP! Feel free to make PR's and suggestions if needed

Notifications You must be signed in to change notification settings

Alivemonstor/al-treasurehunt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

al-treasurehunt

A new way for your non-illegal players to get some non-illegal money! Configurable to add items of your choice and locations of your choice. This script brings the fun in RP! Feel free to make PR's and suggestions if needed

Video Preview

Dependencies

Items

Make sure you add to your items.lua (qb-core/shared/items.lua)

["metaldetector"] = {
    ["name"] = "metaldetector",
    ["label"] = "Metal Detector",
    ["weight"] = 200,
    ["type"] = "item",
    ["image"] = "metaldetector.png",
    ["unique"] = false,
    ["useable"] = true,
    ["shouldClose"] = true,
    ["combinable"] = nil,
    ["description"] = '*beep*, *beep*',
},

["treasuremap"] = {
    ["name"] = "treasuremap",
    ["label"] = "Treasure Map",
    ["weight"] = 100,
    ["type"] = "item",
    ["image"] = "treasuremap.png",
    ["unique"] = false,
    ["useable"] = true,
    ["shouldClose"] = true,
    ["combinable"] = nil,
    ["description"] = 'Shrivelled up paper',
},

["emeraldore"] = {
    ["name"] = "emeraldore",
    ["label"] = "Emerald Ore",
    ["weight"] = 100,
    ["type"] = "item",
    ["image"] = "emeraldore.png",
    ["unique"] = false,
    ["useable"] = true,
    ["shouldClose"] = true,
    ["combinable"] = nil,
    ["description"] = 'Shiny Rock',
},

["diamondore"] = {
    ["name"] = "diamondore",
    ["label"] = "Diamond Ore",
    ["weight"] = 100,
    ["type"] = "item",
    ["image"] = "diamondore.png",
    ["unique"] = false,
    ["useable"] = true,
    ["shouldClose"] = true,
    ["combinable"] = nil,
    ["description"] = 'Shiny Rock',
},

["goldore"] = {
    ["name"] = "goldore",
    ["label"] = "Gold Ore",
    ["weight"] = 100,
    ["type"] = "item",
    ["image"] = "goldore.png",
    ["unique"] = false,
    ["useable"] = true,
    ["shouldClose"] = true,
    ["combinable"] = nil,
    ["description"] = 'Shiny Rock',
},

Make sure to also add everything in the images folder to your inventory script's image folder.

inventory/html/images

Shoutouts

Big Thanks to PlasmaFPS for allowing me to use and repurpose some of his code! Custom Prop made by Vartanyan

About

A new way for your non-illegal players to get some non-illegal money! Configurable to add items of your choice and locations of your choice. This script brings the fun in RP! Feel free to make PR's and suggestions if needed

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages