Garry's Mod

Garry's Mod

Handcuffs SWEP 2.0
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.
Borziy 2 月 18 日 上午 2:25 
Can you add an option in menu to remove speed debuff that gets applied to cuffed players?
Uzi  [作者] 2 月 17 日 上午 7:01 
@Borziy
The first error appeared because the player didn't have a weapon when it was setting the weapon holdtype, that's also why they didn't appear like in the screenshot.
The second error appeared because the player already had the weapon when it was trying to restore it so the reference didn't exist.

Both errors should be fixed now hopefully.
Borziy 2 月 17 日 上午 6:27 
On a server running this addon, any handcuffed player model appears as holding an invisible gun/rifle instead of how shown in the mod's screenshots. Also a lua error message always pops up when anyone get handcuffed, here's how it looks like (copied it to pastebin): https://pastebin.com/iHeQ965A
Gordon Nick 1 月 8 日 下午 1:03 
All good man, only do it if you enjoy the process, but I will like to thank you for making this mod, it has been helpful. Take care
Uzi  [作者] 1 月 8 日 上午 3:58 
Sounds interesting, if I'm going to add it though it could take a while because it's like a 2 year old addon at this point so I don't even recognize the code anymore. I won't make any promises.
Gordon Nick 1 月 7 日 下午 5:26 
I wanna suggest a new feature to where you can cuff the players legs. Making them unable to move.
a 1 月 1 日 下午 4:09 
if you want to handcuff npcs use the bot command in a multiplayer server it will make a handucffable npc since the game treats it as a player
OVERLORD_759 2024 年 12 月 31 日 下午 6:17 
very good!
Uzi  [作者] 2024 年 12 月 29 日 上午 9:52 
It should work now, there were some mistakes that made it not work properly.
Uzi  [作者] 2024 年 12 月 29 日 上午 3:57 
I can try and take a look someday.
Pdptank 2024 年 12 月 28 日 下午 12:35 
Is is possible that you could make this SVmod compatable? Incase you don't know svmod has almost the same features as vcmod and is on the steam workshop including multiple seats.
DuckThisImOut 2024 年 12 月 26 日 下午 9:16 
Does this work on npcs or lambda players. If not can you make it work
Ayeefan 2024 年 12 月 23 日 上午 5:13 
can you please make this work on npcs
That viking who procrastinates 2024 年 11 月 22 日 上午 9:19 
It would be funny if you could use this on npcs
silverservice 2024 年 11 月 3 日 上午 3:37 
Thank you a lot!
Uzi  [作者] 2024 年 11 月 3 日 上午 3:36 
Yes there is, the host has to change the 'HS_EscapeAllowed' convar.
silverservice 2024 年 11 月 3 日 上午 12:34 
I have a question, when I use this on my friends when they respawn they are still cuffed and tied to the floor and such

Is there a way to stop that so if they die they are fine on respawn?

Thank you
LosCartuchos5566 2024 年 11 月 2 日 下午 4:48 
@EltonHowe

its an spawnable thing that simuates real players.

i recomend zetas too, they have a cool team system
ItzPoorCloudy 2024 年 11 月 2 日 上午 10:17 
@Chara No problem here thanks for trying anyway. It's probably me :steammocking::steambored:
Uzi  [作者] 2024 年 11 月 1 日 下午 3:59 
Sorry I couldn't help, hope you have fun regardless.
ItzPoorCloudy 2024 年 11 月 1 日 上午 11:38 
@Chara I've tried and instead of receiving errors I instead get nothing when trying to pull a player out of the vehicle.
So yeah you fixed the errors but I still can't do anything. :steamsad:
But It might be me I think since I have so much mods :steamsad: Cool Mod Tho :steamhappy:
AverageCat 2024 年 10 月 29 日 上午 10:36 
never understood what a lambda player was
LosCartuchos5566 2024 年 10 月 28 日 上午 8:45 
ok
Uzi  [作者] 2024 年 10 月 27 日 下午 8:47 
You can't use it on npcs, only players. If lambda players don't work then they don't classify as players.
LosCartuchos5566 2024 年 10 月 27 日 下午 6:56 
how can i handcuffs things like npcs or lambda players
LosCartuchos5566 2024 年 10 月 27 日 下午 6:56 
nvm figured it out
LosCartuchos5566 2024 年 10 月 27 日 下午 6:50 
how do i uncuff myself?
Uzi  [作者] 2024 年 10 月 27 日 上午 4:27 
I released an update, I didn't test it so if the errors still occur let me know.
Uzi  [作者] 2024 年 10 月 27 日 上午 4:15 
@ItsPoorCloudy I will check it out
Delin 2024 年 10 月 26 日 下午 7:03 
nice ai preview image chum:steambored:
ItzPoorCloudy 2024 年 10 月 26 日 下午 5:41 
Got these errors while trying to get someone out of the car using vehicles.
[Handcuffs SWEP 2.0] lua/weapons/swep_handcuffs.lua:99: Tried to use a NULL entity!
1. __index - [C]:-1
2. unknown - lua/weapons/swep_handcuffs.lua:99

[Handcuffs SWEP 2.0] lua/weapons/swep_handcuffs.lua:85: Tried to use a NULL entity!
1. __index - [C]:-1
2. unknown - lua/weapons/swep_handcuffs.lua:85

[Handcuffs SWEP 2.0] lua/weapons/swep_handcuffs.lua:480: attempt to call method 'GetPassenger' (a nil value)
1. unknown - lua/weapons/swep_handcuffs.lua:480 this error gave the most popups


[Handcuffs SWEP 2.0] lua/weapons/swep_handcuffs.lua:202: attempt to call method 'HandCuffed' (a nil value)
1. unknown - lua/weapons/swep_handcuffs.lua:202

Is there a way you could fix these or no?:steamhappy:
evil SKIBIDI 2024 年 10 月 24 日 上午 10:12 
круто