Garry's Mod

Garry's Mod

70 个评价
Handcuffs SWEP 2.0
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 武器
插件标签: 快乐, 角色扮演, 写实
文件大小
发表于
更新日期
12.543 MB
2024 年 10 月 21 日 上午 7:16
4 月 12 日 下午 3:31
8 项改动说明 ( 查看 )

订阅以下载
Handcuffs SWEP 2.0

描述
What is different about this version?
This version uses my library to setup a convar menu and it changes the gui styles.
It's also the only version that I will update from now on so the original is officially out of support.
No longer supported, use remake instead.

You can type "/hs" in chat to open the convar menu (host only)

This addon has a dlc "Handcuffs SWEP - Extras", it is not required to have both!

Features
  • Handcuffs - SWEP
  • World model + Viewmodel
  • Handcuffs key - ENTITY and SWEP
  • Lockpick - SWEP
  • Confiscating items
  • Attaching players to world entity
  • Dragging players
  • Forcing players in and out of vehicles (works better with simfphys vehicles)
  • Escape tracking - escaping from handcuffs in unintended ways is detected
  • Audio
  • 13 convars + 3 commands


Convars and commands

Convars
  • HS_VehicleEnteringAllowed - disable or enables entering vehicles
  • HS_VehicleExitingAllowed - disables or enables exiting vehicles
  • HS_UseButtonAllowed - disables or enables the "+USE" button, typically bound to "E"
  • HS_EscapeAllowed - disables or enables automatic handcuff system when the players escape from handcuffs
  • HS_SpawnMenuAllowed - disables or enables opening the spawn menu (you still can't use it to spawn anything I don't see a reason why you should be able to)
  • HS_ContextMenuAllowed - disables or enables opening the context menu (you can't edit entities)
  • HS_NoclipAllowed - disables or enables noclipping
  • HS_LockpickYourself - disables or enables lockping yourself out of handcuffs (you must have a lockpick)
  • HS_LockpickPlayers - disables or enables lockpicking other players out of handcuffs (with a lockpick in hand)
  • HS_HandCuffsBlockLockpicking - disables or enables blocking the lockpicking mechanic if you failed a certain amount of times
  • HS_LockpickCycles - sets the amount of cycles you have to go through while lockpicking
  • HS_LockpickMaxFails - sets the max amount of fails before the handcuffs are blocked from being lockpicked
  • HS_LockpickMaxStrikes - sets the max amount of strikes you can have before you fail the lockpicking
  • HS_HandcuffsLockOutTime - sets the delay before you can start lockpicking again (in seconds)

Commands
  • Cuffs_reset_model - if the handcuffs model doesn't dissapear after being uncuffed you can use this to remove it manually
  • Cuffs_reset_models - removes all handcuff models
  • HS - opens convar menu (Host only)


Controls

Handcuffs
  • Left click - handcuffs a player
  • Right click - handcuffs yourself
  • Middle mouse button - force player in or out of a vehicle
  • Reload key (R) - opens confiscation menu for the player
  • Use key (E) - starts or stops dragging the player, while dragging the player and looking at the ground it will attach the player to the ground

Handcuffs key - ENTITY
  • Move within it's range while handcuffed to uncuff yourself

Handcuffs key - SWEP
  • Left click - uncuffs a player
  • Right click - uncuffs yourself (you can't select it when you're handcuffed but you can still right click to use it)

Lockpick
  • Left click on a handcuffed player to start lockpicking them (if you're handcuffed you can left click to start lockpicking yourself)
42 条留言
Uzi  [作者] 9 月 21 日 下午 2:50 
Use the remake version, this is outdated.
chusus 9 月 21 日 下午 12:28 
can u make it so u are able to force cuffed players in Glide vehicles, in passenger seats tho
detoru 7 月 13 日 下午 2:01 
cool mod but can we get npc handcuffing too
Uzi  [作者] 4 月 12 日 下午 3:32 
Should also be fixed hopefully
джамбо харламик 4 月 12 日 下午 12:16 
[Handcuffs SWEP 2.0] lua/weapons/swep_handcuffs.lua:46: Tried to use a NULL entity!
1. GetPos - [C]:-1
2. func - lua/weapons/swep_handcuffs.lua:46
3. unknown - lua/includes/extensions/net.lua:34
this error occurs even when working with players.
Uzi  [作者] 3 月 7 日 下午 1:09 
Should be "fixed" however this error really shouldn't be happening unless it can't give the weapon to the player for some reason.
джамбо харламик 3 月 7 日 上午 11:35 
[Handcuffs SWEP 2.0] lua/autorun/handcuffs.lua:24: attempt to index local 'wep' (a nil value)
1. CuffPosition - lua/autorun/handcuffs.lua:24
2. HandCuff - lua/autorun/handcuffs.lua:424
3. unknown - lua/weapons/swep_handcuffs.lua:151

Timer Failed! [Simple][@lua/weapons/swep_handcuffs.lua (line 144)]

Please help me. This addon is just lovely, exactly what I was looking for.
Uzi  [作者] 2 月 24 日 上午 3:40 
No
Сенсей 2 月 24 日 上午 3:38 
Is it works on NPC?
Uzi  [作者] 2 月 18 日 上午 2:53 
@Borziy I added it, type "HS" into console for the list of convars.