Pickpocketing Script
Resource folder:
gs_pickpocketing
Installation Instructions for Pickpocketing Script
Follow these steps to install and configure
gs_pickpocketing on your FiveM server.
-
Download the Resource
- Go to portal.cfx.re
-
Navigate to Assets > Granted Assets >
gs_pickpocketing - Download the resource
-
Extract the Files
-
Open the downloaded
.zipfile -
Inside, you'll find a folder named
gs_pickpocketing -
Move the entire
gs_pickpocketingfolder into your desired server resources folder (e.g.,/resources/[scripts])
-
Open the downloaded
-
Add to Server Configuration
- Open your
server.cfg -
Add the following line:
ensure gs_pickpocketing
- Open your
-
Restart the Server
- Restart your FiveM server (Important!)
-
Configure the Script (Optional)
- Navigate to
gs_pickpocketing/config.lua - Edit the configuration options to fit your server's needs
- Navigate to
Does pickpocketing include police alerts or minimum police on duty?
No. Neither feature is built in. Use bridge hooks to add them:
- Police notification after a successful pickpocket: hook into
Functions.OnPickpocketSuccessand call your dispatch or notification system. - Minimum police count: edit
Functions.CanPickpocketin the client bridge to check your on-duty police count before allowing a pickpocket attempt.
You must wire these to your own police or dispatch script. Support cannot configure third-party police resources for you.
How do I require a minimum number of police before pickpocketing?
In Functions.CanPickpocket in the client bridge, add a check that reads your server's on-duty police count and returns false if it is below your threshold. Replace the placeholder with a call to whatever your police job script exposes.
The target option shows "sell drugs" instead of pickpocket
This usually means another script is registering a conflicting target option on the same ped, or a locale/label is misconfigured. Check for overlapping target registrations from drug-selling or similar scripts.
Can I customize what loot players receive?
Yes. Loot tables, ped tiers, cooldowns, flee behavior, and NPC detection are all configurable in config.lua. Adjust the tier tables and reward settings to match your economy.