ngd-propstorage(QB/ESX)
ngd-propstorage is an efficient prop based stash script that allows server owners to place stash props in front of people's houses or businesses.
Showcase Video Here!
Installation Instructions:
Add the ngd-propstorage folder into your server's resource folder.
Open server.cfg and add
ensure ngd-propstorage
Open config.lua and customize to your needs.
Dependencies:
QBCore/ESX
Target System
QB/LJ/OX - Inventory or ESX OX Inventory
Polyzone
Features:
Custom stash props.
Optional animations with custom positions.
Global spawn or polyzone spawn
0.00 resmon
Police can open locked stashes
Utilities Config Variables:
Config.debug = true/false (This turns on debug mode that adds various prints to debug prop spawning despawning. This also adds the command /spawnstashboxes so you can spawn them in when Config.GlobalSpawn = true.
Config.GlobalSpawn = true/false (This makes it so mailboxes are all spawned in on player load. This adds a slight load on client. If it is set to false, it uses polyzones to spawn the props in.)
Config.Stashes Variables (All versions):
house =
'Whatever'
- This is the registered name of the stash. It needs to be unique, and is usually named to identify the location.model =
'PropName'
- This is the name of the prop spawned in. See below for examples of included props.coords =
vector4()
- This is the location of the spawned in propspawnzone =
25
- This is the polyzone radius of the spawned in prop if using Config.GlobalSpawn = false.pin =
1234
- This is the configurable pincode set if you want to lock a stash. If you don't want a stash locked delete the entirepin = 1234
line.position =
vector4()
- This is the position that the player gets teleported to when using animationsanimDict =
'animationdictionary'
- This is the animation dictionary for the animation usedanim =
'animation'
- Animation of the dictionary above.ProgBarText =
'Progress Bar Text'
- Text shown on progress bar if enabled.ProgBarTime =
3700
- Time in MS that the progressbar is shown.
Config.Stashes Variables (QB-Core)
UseAnim =
true/false
- Used to enable or disable animations and qbcore progressbar.
Config.Stashes Variables (ESX)
AnimType =
'none/animations/progressbar'
- This support three different options.none
= No animations or progressbar.animations
= Uses animations (no dependencies).progressbar
= Uses animations and progressbar (esx_progressbar) is a dependency.
Script can be restarted live without any issues!
If you have any problems - Join our Discord for support!
Last updated