Security HUD
System Watchdog
×
Threads Scanned
-- / --
SYS. LOAD --%
AI SHIELD ACTIVE
DMCA Policy
×

📋 DMCA Compliance

This platform and community fully complies with the Digital Millennium Copyright Act (DMCA) and international copyright laws. We take all copyright protection seriously.

🛡️ Copyright Protection

If you believe a posted item belongs to you or violates your copyright, you may file a DMCA takedown request through our official channels. Upon receiving a valid claim, the infringing content will be removed within 24 hours.

What's new
×
Fiveguard

cfxregame

Gold Elite
Joined
Nov 3, 2021
Messages
319
Reaction score
166,574
Points
361
Location
Newyork
Website
cfx.re
QB-DECAY
This is a proof-of-concept for a server-side, qb-core item reduction system that uses a cron program and runs with or without players. This can adjust the attributes of items in player inventories, warehouses, glove boxes, and chests. This POC is only to provide the corruption mechanism and will not include code changes needed elsewhere for this sanity check and enforcement; It's up to you.

Set the times of the day you want the corruption to happen, this is relative to the server's time. Then, in your QBShared.Items, add a gradient value to each item you want affected, with a floating point amount that an item will decay to. This degradation will occur at any point in the day you set in the configuration​

Dependencies​

Preview​

Items have qualities. They go down. Not much else to it.

zppoJPE.png


 

stav13212

Silver Elite
Joined
Feb 9, 2022
Messages
36
Reaction score
7
Points
166
Location
sdasdada
QB-DECAY
This is a proof-of-concept for a server-side, qb-core item reduction system that uses a cron program and runs with or without players. This can adjust the attributes of items in player inventories, warehouses, glove boxes, and chests. This POC is only to provide the corruption mechanism and will not include code changes needed elsewhere for this sanity check and enforcement; It's up to you.

Set the times of the day you want the corruption to happen, this is relative to the server's time. Then, in your QBShared.Items, add a gradient value to each item you want affected, with a floating point amount that an item will decay to. This degradation will occur at any point in the day you set in the configuration​

Dependencies​

Preview​

Items have qualities. They go down. Not much else to it.

zppoJPE.png


*** Hidden text: cannot be quoted. ***
XCX
 

bmr

Bronze Elite
Joined
Sep 8, 2021
Messages
56
Reaction score
4
Points
166
Location
portugal
Dependency cron, does not exist in the internet
 
Top