πHow to Install
This page will give you a brief overlook on how to install this resource
Make sure you follow all the steps, if you encounter any errors make sure you did everything correctly.
Add the resource
If you are using the previous version of the resource, just replace it with the new one, because the previous version and the current one have a lot of revisions! / If by chance the previous version works for you and you don't want to switch to the v2 version, don't change it, but the v1 version will no longer be supported!
Insert
vt-jewellery
into your serverRemember to
Π΅nsure vt-jewellery
in your server.cfg
Run the resource before all resources in server.cfg
# These resources will start by default.
ensure mapmanager
ensure chat
ensure spawnmanager
ensure sessionmanager
# These resources will start by default.
ensure mapmanager
ensure vt-chat
ensure spawnmanager
ensure sessionmanager
ensure basic-gamemode
ensure hardcap
ensure baseevents
# QBCore & Extra stuff
ensure oxmysql
ensure ox_lib - this is a must!
ensure qb-core
ensure ox_target
ensure ox_inventory
ensure ox_doorlock
ensure mka-lasers
ensure bd-minigames
ensure ps-dispatch
ensure vt-jewellery
Change everything config.lua
Change anything that needs to be changed in the configuration. Right now everything is set up to work with ox
Add Items to Inventory
['thermite'] = {['name'] = 'thermite', ['label'] = 'Thermite', ['weight'] = 1000, ['type'] = 'item', ['image'] = 'thermite.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Sometimes you\'d wish for everything to burn',
["keycard3"] = {["name"] = "keycard3", ["label"] = "System Override", ["weight"] = 2500, ["type"] = "item", ["image"] = "keycard3.png", ["unique"] = true, ["useable"] = false, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "This tool is your key to cracking laser-secured systems."},
['goldchain'] = {['name'] = 'goldchain', ['label'] = '10k Gold Chain', ['weight'] = 200, ['type'] = 'item', ['image'] = '10kgoldchain.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = '10 carat golden chain'},
['rolex'] = {['name'] = 'rolex', ['label'] = 'Golden Watch', ['weight'] = 150, ['type'] = 'item', ['image'] = 'rolex.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'A golden watch seems like the jackpot to me!'},
['diamond_ring'] = {['name'] = 'diamond_ring', ['label'] = 'Diamond Ring', ['weight'] = 150, ['type'] = 'item', ['image'] = 'diamond_ring.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'A diamond ring seems like the jackpot to me!'},
['goldchain'] = {['name'] = 'goldchain', ['label'] = 'Golden Chain', ['weight'] = 150, ['type'] = 'item', ['image'] = 'goldchain.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'A golden chain seems like the jackpot to me!'},
Doorlock setting
Add to configs/ new file name jewelry.lua
-- doble created by ^4 vank1ta
Config.DoorList['Jewelry'] = {
locked = true,
authorizedJobs = { ['police'] = 0 },
doorRate = 1.0,
distance = 5,
doors = {
{objName = 1425919976, objYaw = 306.00003051758, objCoords = vec3(-631.955383, -236.333267, 38.206532)},
{objName = 9467943, objYaw = 306.00003051758, objCoords = vec3(-630.426514, -238.437546, 38.206532)}
},
doorType = 'double',
}
Add the images to the inventory as well.
Last updated