Preview of [FREE][QB] qb-decay
Resource preview · JoeSzymkowicz
Free resourceFiveM · script

[FREE][QB] qb-decay

By JoeSzymkowicz

QBCore

Download and documentation on github.com.

About this FiveM resource

decayheader1920×976 54.8 KB QB-DECAY This is a proof-of-concept for a server-sided, qb-core item degradation system that uses a cron schedule, and runs whether players are on or not. This can adjust qualities of items in player inventories, stashes, gloveboxes and trunks. This POC is only to provide the decay mechanism and will not include code changes needed elsewhere for that sanity-checking and implementation; that’s up to you. Set the hours of the day that you want the decay to occur, this is according to the server’s clock. Next, add a degrade value with a float amount that an item will be decayed by, to each item you want affected, in your QBShared.Items. This decay will take place at each point of the day you set in the config. Dependencies oxmysql (Written for ver. 1.8.7, I know they’ve done a syntax change since then.) ox_lib (For cron scheduling purposes) Preview Items have qualities. They go down. Not much else to it.

script

Get it from the original creator

FreeScriptsHub helps you discover resources. Downloads, installation instructions, licensing and support belong to the original release.

Open github.com