This script adds the ability to rob the Vangelico Jewelry Store for a server.
Download:
Dependency: esx_jobnumbers
Features:
Cases get smashed and broken cases visable by everyone on the server as it happens.
Store can be robbed by multiple players at same time. No need to shoot to start robbery.
Store can be closed by police after robbery attempt - to keep smash and grab happening over and over.
Store can auto close if not enough police on for a robbery.
If store closes while you are inside a employee will help you outside after explaining the store is closed.
Each weapon that is allow to break glass can have a different break chance percent.
Each Item that can drop from a glass box - can have different drop percent(rare) as well as max amount.
Server is able to set UnAuthJobs that will not be able to rob the Jewerly Store.
Server can set multiple Police Job by name that will receive robbery notification / be able to close store.
Sounds for breaking/failing glass case. Breaking sound can not be turned off / fail sound can be turned off.
Security feature to keep one box paying out multiple times.
Any questions or comments feel free to send me a msg here and ill respond as soon as i can.
what ever you have named the folder it is in. Make sure you read the config… to change the items that it gives out to items in your server… or add the items i used for the defaut config to your item table in your sql.
Compairing Its spamming console every second with this too.
Edit:
Fixed the error. Had to add the items to the database. But the Compairing spam is still there.
Its stops after restarting the script -> https://pastebin.com/4jwL0e0a
I just notice i left a print in the server for time check on the cool down. I will remove from github now… but all you need to do is goto the server file and search for ’ print ’ and comment that line out.
That is comparing the current time on the server to the time the script needs to reset, i used that while testing to make sure it added the correct amount of time to the reset on the first box break.
It does have police notify function built into the script yes. It sends out a ESX.ShowNotification once per person if they are breaking cases. There are 2 settings in the config… a % to notify if the case is broken… and another % to notify if the case is not broken. i think default i have it to 25% chance to notify if case is not broken… and 75% chance if the case is broken.
Almost 1000 views… no reports of anything being broken… either no one is trying this script or the testing we did at ScottishLifeRP have sorted all the bugs and it is working as intended. If anyone is running this script and wants to dm me your server info, I would love to come on and talk to your players to see how they like it, if they have any suggestions.
The command to close store is /CloseStore they have to be standing at the store entrance … and the store has to have atleast one case broken to be able to set the store closed.
Yes each server will need to come up with a way to use/sell each item that they get out of the jewelry store. I didn’t want to force a pawnshop or similar setup in the script when a lot of servers already have a way to sell stolen items.
If you are asking if i have a script that is designed for selling stolen goods I do not. Most of the servers i have seen so far already have a way to deal with stolen items… but an example might be this script here…
This script has a npc setup to buy the parts that you get from chopping cars. Could use that idea to setup a npc at pawnshop in town to buy stolen items from jewel store as well.