View FiveM forum post Join our Discord
Pickpocketing Script
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