myRobbery adds house burglaries to FiveM ESX servers. Players break into configured houses, race to find the alarm code before the police are notified, collect loot and sell it at a fence.
How it works
- Set up as many robbery missions (houses) as you want in
config.lua. Robberies can only be started in a configured timespan.
- After you start the robbery, your first goal is to find the alarm code somewhere in the house. It is in a different place each time. You only have a certain number of seconds until the cops are notified.
- With the code, go to the alarm system and disable the alarm. Until then you hear an alarm sound.
- Whether you found the code or not, you can now steal all items configured for the house. Some objects give several items or money (or black money).
- To finish the robbery, go to the exit.
- If the seller is enabled, players can sell their stolen items to an NPC fence.
Configuration
- Per house: required cops, cooldown, entry and inside positions, alarm panel, possible code locations, loot objects and rewards
- Chance that the cops are called right away after lockpicking, and a random delay before the alarm dispatch
- Optional lockpick item required to enter
- Seller location, ped model, blip and item prices
- Pay out black money instead of cash
- Example houses included, for example in Vinewood and Michael's house
Requirements
- ESX with mysql-async
- NativeUI (for the seller)
Installation
- Copy
myRobbery into your resources folder.
- Add
ensure myRobbery to your server.cfg.
- Add the loot items you use to your database and adjust
config.lua.