Skip to content

ais1175/npds_pettycrimes

 
 

Repository files navigation

🛡️ Advanced Crime System (Stores, ATMs, Parking Meters)

A simple robbery system for FiveM (ESX), utilizing ox_lib, ox_target and ox_inventory.

🌟 Features

  • 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_lib or custom minigame exports.
    • Dynamic animations and props.
  • Parking Meters:
    • Steal loose change from parking meters using tools.
  • Police Alerts: Integrated with cd_dispatch or default ESX alerts.
  • Highly Configurable: Edit cooldowns, rewards, difficulty, required items and locations easily

📋 Requirements

** If you don't want/use the optional minigames make sure you set them to ox_lib in the config.lua **

🛠️ Installation

  1. Download: Download the resource and place it in your resources folder.
  2. Rename: Ensure the folder is named npds_pettycrimes (or match the name in your server.cfg).
  3. Items: Add the required items to ox_inventory (see below).
  4. Config: Open config.lua and adjust settings to your liking (Police count, rewards, etc.).
  5. Start: Add ensure npds_pettycrimes to your server.cfg.

📦 Ox Inventory Items

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.
  • preview: https://www.youtube.com/watch?v=5ohNz-oGmI0

  • 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.

About

Petty crime system for fivem / esx

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Lua 100.0%