Garry's Mod

Garry's Mod

Handcuffs SWEP 2.0
40 kommentarer
Lucy 13. juli kl. 14:01 
cool mod but can we get npc handcuffing too
Uzi  [ophavsmand] 12. apr. kl. 15:32 
Should also be fixed hopefully
джамбо харламик 12. apr. kl. 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  [ophavsmand] 7. mar. kl. 13: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.
джамбо харламик 7. mar. kl. 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  [ophavsmand] 24. feb. kl. 3:40 
No
Salfither132 24. feb. kl. 3:38 
Is it works on NPC?
Uzi  [ophavsmand] 18. feb. kl. 2:53 
@Borziy I added it, type "HS" into console for the list of convars.
Borziy 18. feb. kl. 2:25 
Can you add an option in menu to remove speed debuff that gets applied to cuffed players?
Uzi  [ophavsmand] 17. feb. kl. 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 17. feb. kl. 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 8. jan. kl. 13: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  [ophavsmand] 8. jan. kl. 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 7. jan. kl. 17:26 
I wanna suggest a new feature to where you can cuff the players legs. Making them unable to move.
a 1. jan. kl. 16: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 31. dec. 2024 kl. 18:17 
very good!
Uzi  [ophavsmand] 29. dec. 2024 kl. 9:52 
It should work now, there were some mistakes that made it not work properly.
Uzi  [ophavsmand] 29. dec. 2024 kl. 3:57 
I can try and take a look someday.
Pdptank 28. dec. 2024 kl. 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 26. dec. 2024 kl. 21:16 
Does this work on npcs or lambda players. If not can you make it work
Ayeefan 23. dec. 2024 kl. 5:13 
can you please make this work on npcs
That viking who procrastinates 22. nov. 2024 kl. 9:19 
It would be funny if you could use this on npcs
silverservice 3. nov. 2024 kl. 3:37 
Thank you a lot!
Uzi  [ophavsmand] 3. nov. 2024 kl. 3:36 
Yes there is, the host has to change the 'HS_EscapeAllowed' convar.
silverservice 3. nov. 2024 kl. 0: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 2. nov. 2024 kl. 16:48 
@EltonHowe

its an spawnable thing that simuates real players.

i recomend zetas too, they have a cool team system
ItzPoorCloudy 2. nov. 2024 kl. 10:17 
@Chara No problem here thanks for trying anyway. It's probably me :steammocking::steambored:
Uzi  [ophavsmand] 1. nov. 2024 kl. 15:59 
Sorry I couldn't help, hope you have fun regardless.
ItzPoorCloudy 1. nov. 2024 kl. 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 29. okt. 2024 kl. 10:36 
never understood what a lambda player was
LosCartuchos5566 28. okt. 2024 kl. 8:45 
ok
Uzi  [ophavsmand] 27. okt. 2024 kl. 20:47 
You can't use it on npcs, only players. If lambda players don't work then they don't classify as players.
LosCartuchos5566 27. okt. 2024 kl. 18:56 
how can i handcuffs things like npcs or lambda players
LosCartuchos5566 27. okt. 2024 kl. 18:56 
nvm figured it out
LosCartuchos5566 27. okt. 2024 kl. 18:50 
how do i uncuff myself?
Uzi  [ophavsmand] 27. okt. 2024 kl. 4:27 
I released an update, I didn't test it so if the errors still occur let me know.
Uzi  [ophavsmand] 27. okt. 2024 kl. 4:15 
@ItsPoorCloudy I will check it out
Delin 26. okt. 2024 kl. 19:03 
nice ai preview image chum:steambored:
ItzPoorCloudy 26. okt. 2024 kl. 17: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:
SKIBIDI 24. okt. 2024 kl. 10:12 
круто