[ESX][QBCore] Placeable Safes
A nice and complex placeable safes system that offers players a safe place where they can store their valuables and other players the opportunity to steal them!
Features
- Safes as items which can be placed anywhere using the mouse cursor
- Only admins and the original player who placed the safe can pick it up
- Safe combination animation with minigame
- Anyone can open the safe if they know or manage to crack the code (hard to crack but possible)
- Different slots size and max weight safes
- Different animation depending on the size and position of the safe
- Safes despawn when far away from them to avoid lag
- Supports buckets (virtual worlds), can place safes in the same spot but in different virtual worlds
[ESX] Requirements / Dependencies
[QBCore] Requirements / Dependencies
- QBCore: Click Here
- qb-inventory or ox_inventory
- qb-target or ox_target
Price: £8.99 + Taxes
Tebex: BUY ESX VERSION / BUY QB VERSION | Preview
This resource uses the Escrow system! |
|
Code is accessible |
No |
Subscription-based |
No |
Lines (approximately) |
1364 |
Requirements |
ESX or QBCore, ox_inventory, ox_target |
Support |
Yes |
Is target needed because i wanna ise it without it
1 Like
Yes, either qb-target (qb) or ox_target (qb/esx) is needed. If you have any suggestion on how to select individual safes even if they are next to each other or on top of each other please let me know and I’ll happily add it as an alternative.
1 Like
Access list possibly? If so i’d buy!
1 Like
If you mean let admins pick up the safes then yes, for qbcore you have a list of groups with permission to pick up any safe, and for esx the ‘admin’ group has access to pick up the safes.
Otherwise, only admins or the player who placed the safe can pick it up, and anyone can place a safe if they have the specific item in their inventory, its up to you where you add the items, either shop or stash.
1 Like
No i’m referring to letting other players access a placed safe, I.e i place a safe and my buddy can also access it
1 Like
Anyone can access it if they know the pin combination. That’s the whole point of this safes script, it’s not a personal stash. As seen in the video, you set the 4 number pin (0 to 99 each of the 4 codes) when you place the safe.
I could make it personal but then half the script logic is useless, there won’t be a need for the pin minigame or to have a pin in the first place. And the whole gameplay aspect of having to make sure the safe isn’t visible and to have a pin so other players can’t get it in but still be cautious of someone trying to crack and making sure you LOCK the safe after use, it will be gone, it will just be a script that spawn an object that just triggers 1 inventory function and that’s it, simple 10 line script.
If you want a custom script from an idea you have you can contact me on Discord at “fivem_junkbox”
1 Like
make it as an config point like use target and if not use context menu by default esx
1 Like
I’ll look into it as I’m not that familiar with ESX and I’ll see if there’s anything I can do
1 Like
ESX Version Update
- You can now choose whether to use ox_target or the ESX context menu
- New config option to choose if the safes can only be access by their owner (person who placed them) or by everyone (if they know the code)
Thanks @Tilltheprogamer for the idea
QBCore Version Update
- New config option to choose if the safes can only be access by their owner (person who placed them) or by everyone (if they know the code)
Thanks @IgnornceIsBliss for the suggestion
1 Like
I’ve added a new config option on both versions to allow you do to just that.
1 Like
Do you have a Discord for Support im haveing a Problem with the Script
And i have some suggestions if you onlock the safe and use esx_contect close the context menu if 1 option is selected (you cant unlock if context is open)
Hi, yes I do, it’s all over my Tebex.
It’s fivem_junkbox
cant really join it says invalid
and enable us to make a 0 in the pin please.
and maybe make a config point use.target because its still a dependency
It’s my discord id not discord server… You have to add me as a friend. Please send me a forum private message so we don’t start having a conversation on the topic.
Thank you
the safe dont stay after restart for me , should we not put safes in mlos ?