Garry's Mod

Garry's Mod

472 ratings
[DarkRP] Pickpocket
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Weapon
Addon Tags: Fun
File Size
Posted
Updated
182.913 KB
20 Aug, 2015 @ 6:57am
21 Jan, 2020 @ 10:30am
3 Change Notes ( view )

Subscribe to download
[DarkRP] Pickpocket

Description
The Pickpocket enables players to steal money from others. Designed for DarkRP.

Usage
By default, the SWEP can only be spawned by admins.

Holding left-click while standing near and facing a player, the SWEP attempts to steal money from that player's wallet.
In order for the pickpocketing to succeed, the player will need to stand still for a certain amount of time (default: 10 seconds), during which they will emit a silent money-ringing sound that alerts the victim.

Following a successful pickpocketing, the weapon will deploy a cooldown (default: 60 seconds) in which it cannot be used.

If the pickpocketing succeeds, the player will be transferred a random amount of money between a given interval (default: [400;700]), or all of the victim's money, if they presently have less than the set minimum.
If the player moves away from their target or lets go of left-click, or if the target disconnects, the pickpocketing will fail.

Technical Details

Configuration
For code dwellers: An internal, easy-to-understand configuration can be found at the top of the shared.lua file.

Weapon ID
Should you want to spawn the SWEP via console or ULX, the ID is "pickpocket".

Files
All necessary sounds are included within the addon's files and are automatically tagged for download for connecting players.

Bugs and Feedback
Found a bug or typo? Have a suggestion or general question? Please feel free to let me know.
7 Comments
-3 9 Nov, 2024 @ 2:26pm 
Averange DarkRP Fan:😭
Averange Sandbox enjoyer:🗿

Copy this until this message is all in the GMOD workshop
Kochsalzlösung  [author] 3 Sep, 2022 @ 4:34pm 
RE Nex: The SWEP is currently designed to only steal money. I can look into adding further features if demand is high.
🗡†ThatCoolNexGal †🗡 20 May, 2022 @ 4:28pm 
is it possible to pickpocket things other then money?
forsaken 10 Nov, 2021 @ 12:48am 
yoooooo romanian swep?
Loopering 30 Jul, 2020 @ 2:53pm 
Thanks, I was kinda stupid
Kochsalzlösung  [author] 30 Jul, 2020 @ 10:52am 
Hi, Loopering. The SWEP name is "pickpocket". You can see this in the above description under Technical Details > Weapon ID.
Loopering 30 Jul, 2020 @ 4:56am 
What is the SWEP's name in the files, so someone spawns with it?