Garry's Mod

Garry's Mod

476 个评价
[DarkRP] Pickpocket
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 武器
插件标签: 快乐
文件大小
发表于
更新日期
182.913 KB
2015 年 8 月 20 日 上午 6:57
2020 年 1 月 21 日 上午 10:30
3 项改动说明 ( 查看 )

订阅以下载
[DarkRP] Pickpocket

描述
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 条留言
-3 2024 年 11 月 9 日 下午 2:26 
Averange DarkRP Fan:😭
Averange Sandbox enjoyer:🗿

Copy this until this message is all in the GMOD workshop
Kochsalzlösung  [作者] 2022 年 9 月 3 日 下午 4:34 
RE Nex: The SWEP is currently designed to only steal money. I can look into adding further features if demand is high.
ThatCoolNexGal 2022 年 5 月 20 日 下午 4:28 
is it possible to pickpocket things other then money?
Super Max 2021 年 11 月 10 日 上午 12:48 
yoooooo romanian swep?
Loopering 2020 年 7 月 30 日 下午 2:53 
Thanks, I was kinda stupid
Kochsalzlösung  [作者] 2020 年 7 月 30 日 上午 10:52 
Hi, Loopering. The SWEP name is "pickpocket". You can see this in the above description under Technical Details > Weapon ID.
Loopering 2020 年 7 月 30 日 上午 4:56 
What is the SWEP's name in the files, so someone spawns with it?