Note: This isn't the original release; this version has been modified.
Ensure the following resources are included in your project:
- ox_target
- ox_lib
- mka-lasers - Download the forked version.
-
start those depencies first
git clone https://github.com/daiguel/dgl_jewelry.git
ensure dgl_jewelry
in server.cfg
-
Read and configure
config.lua
. -
Open
config/functions.lua
: Choose your preferred notification and dispatch functions. -
Restart your server to apply changes.
- Threads replaced with targets.
- Unnecessary threads, variables, events, and functions was removed for optimization.
- Refactored certain functions for better performance.
- Added MKA lasers, spray functionality, and necessary items required for each step.
- Idle: 0.00 ms
- High Usage: Occurs when lasers are activated after doors unlock and remain activated until deactivated (via hack or cooldown end). Approximately 0.06 ms, dependent on the number of active lasers.
["ring"] = {
label = "ring",
weight = 10,
stack = true,
close = true,
},
["bracelet"] = {
label = "bracelet",
weight = 30,
stack = true,
close = true,
},
["chain"] = {
label = "chain",
weight = 30,
stack = true,
close = true,
},
["clock"] = {
label = "clock",
weight = 70,
stack = true,
close = true,
},
["painting"] = {
label = "painting",
weight = 5,
stack = true,
close = true,
},
["earrings"] = {
label = "earrings",
weight = 10,
stack = true,
close = true,
},
["spray"] = {
label = "spray",
weight = 500,
stack = true,
client = {
event="dgl_jewelry:startSpray"
},
close = true,
},
["drill"] = {
label = "drill",
weight = 2000,
stack = false,
close = true,
},
["computer"] = {
label = "computer",
weight = 2000,
stack = false,
close = true,
},
["alphawifi"] = {
label = "alphawifi",
weight = 2000,
stack = false,
close = true,
},