A simple robbery system for FiveM (ESX), utilizing ox_lib, ox_target and ox_inventory.
- Store Robbery:
- Threaten NPC clerks (custom animations).
- Rob Cash Registers (Money).
- Crack Safes (Drill minigame & Black Money).
- Requires specific tools (Lockpick/Drill).
- ATM Robbery:
- Hack ATMs using specific items (Trojan USB / Decrypter).
- Skill checks via
ox_libor custom minigame exports. - Dynamic animations and props.
- Parking Meters:
- Steal loose change from parking meters using tools.
- Police Alerts: Integrated with
cd_dispatchor default ESX alerts. - Highly Configurable: Edit cooldowns, rewards, difficulty, required items and locations easily
- es_extended (Legacy)
- ox_lib
- ox_target
- ox_inventory
- Optional: cd_dispatch (for advanced police alerts)
- Optional: [npds_robberyminigames)https://github.com/NukepugDesigns/npds_robberyminigames (for the minigames if you want them)
** If you don't want/use the optional minigames make sure you set them to ox_lib in the config.lua **
- Download: Download the resource and place it in your
resourcesfolder. - Rename: Ensure the folder is named
npds_pettycrimes(or match the name in your server.cfg). - Items: Add the required items to
ox_inventory(see below). - Config: Open
config.luaand adjust settings to your liking (Police count, rewards, etc.). - Start: Add
ensure npds_pettycrimesto yourserver.cfg.
Add the following items to your ox_inventory/data/items.lua.
Ensure you have images for these items in your inventory image folder.
-- Robbery Tools
['lockpick'] = {
label = 'Lockpick',
weight = 160,
stack = true,
close = true,
description = 'A tool used to pick locks.',
client = {
image = 'lockpick.png',
}
},
['trojan_usb'] = {
label = 'Trojan USB',
weight = 50,
stack = true,
close = true,
description = 'Malicious software on a stick. Used for ATMs.',
client = {
image = 'trojan_usb.png',
}
},
['decrypter'] = {
label = 'Decrypter v2',
weight = 500,
stack = false,
close = true,
description = 'Advanced hardware to bypass digital security.',
client = {
image = 'decrypter.png',
}
},
-- Note: 'money' and 'black_money' should already exist in your inventory.-
Made by Nukepug Desings
-
Version: 1.0.0
-
Creation date: 29-11-2025
-
Contact by discord: https://discord.gg/DXe7vZwN2A
-
Copyright (C) 2024 NukepugDesigns
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License along with this program. If not, see https://www.gnu.org/licenses/. Attribution Notice: In accordance with Section 7(b) of the GNU Affero General Public License, you must retain the "Powered by NukepugDesigns" notice in the user interface of any deployed version of this software.