sd-parceltheft is a straightforward script that lets players steal parcels from houses and open them for random rewards. Parcels are synced globally, with taken parcels respawning after a set time. The script includes 23 default locations, with easy customization to add more. Props dynamically spawn and despawn based on player proximity.
https://www.youtube.com/watch?v=X0siC0uXwg8
Author: Samuel#0008
Discord: Join the Discord
Store: Click Me (use code qbox at checkout)
- Download the latest release from the GitHub repository.
- Extract the downloaded file and rename the folder to
sd-parceltheft. - Place the
sd-parceltheftfolder into your server'sresourcesdirectory. - Add
ensure sd-parceltheftto yourserver.cfgto ensure the resource starts with your server.
Add an item called 'parcel' to your inventory or framework.
If you're using qb-core, add it in qb-core/shared/items.lua.
If you're using es_extended, add it to the items table in your database (or whatever it is that ESX users do lol)
In the case of ox_inventory, add the following to the items.lua:
["parcel"] = {
label = "Parcel",
weight = 350,
stack = false,
close = true,
consume = 0,
description = "Small package filled with something.",
client = {
image = "parcel.png",
},
server = {
export = 'sd-parceltheft.useParcel'
}
},By utilizing my library, this script is compatible with QBCore, QBox, and ESX frameworks. In terms of interaction methods, it supports qb-target, qtarget, and ox_target, as well as qb-drawtext, cd_drawtextui, and ox_lib's textUI.