Pickpocketing Script
Add immersive pickpocketing to your FiveM server with dynamic NPC reactions, animations, and configurable loot tiers. In...
Key Features
Works with ESX • QBCore • Qbox
What's included:
- Full script files
- Configuration files
- Installation documentation
- Lifetime updates
- Discord support
Overview
Enhance your FiveM server with an immersive pickpocketing experience. This script allows players to interact with NPCs in the game, attempting to pickpocket them with a chance of success or failure. Key features include:
Target Interaction: Uses third-eye targeting.
Animation Support: Play animations during the pickpocketing attempt for a more realistic experience. (Can be disabled or modified)
Dynamic NPC Reactions: Based on the outcome, NPCs will react accordingly, including fleeing if the player fails.
Configurable NPC Types: Customize which NPCs can be pickpocketed and their loot tables, categorized into 'poor', 'average', and 'rich' tiers.
Cooldown Mechanism: Prevents abuse by setting cooldowns for each pickpocketing attempt, configurable for both success and failure.
Ped View: NPCs have a specified field of view and detection range, adding to the challenge of remaining undetected.
Cheat/Abuse Protection: Server-side checks validate every pickpocketing attempt to prevent cheating and ensure only eligible targets can be pickpocketed.
Customization: Fully customize what happens when a pickpocket attempt fails or succeeds. For example, you can add police notifications on failure or give specific rewards on success.
Minigame Integration: Option to modify the minigame used for the pickpocket attempt.
This script is perfect for role-playing servers, offering players an additional layer of interaction and excitement.
Requirements:
- ox_lib
- ox_target
- ESX / QBCore / or any other framework
Installation
- Download the resource from portal.cfx.re (Assets > Granted Assets)
- Extract the files and move the resource folder to your server's resources directory
- Add to server.cfg by adding:
ensure gs_pickpocketing - Restart your server to load the resource
- Configure (optional) by editing the config.lua file in the resource folder
Configuration
All scripts include easy-to-edit configuration files. Common settings include:
- Language/localization options
- Feature toggles
- Price and economy settings
- Notification preferences
Escrow vs Source: Which Should You Choose?
Escrow (Encrypted)
Best for server owners who want plug-and-play functionality.
- Protected code files
- Easy configuration via config files
- Same features as source version
Source (Unencrypted)
Best for developers who need full customization.
- 100% editable code
- Full customization freedom
- Same features as escrow version
Same features; editability differs.