https://medal.tv/clips/22275941/PkXNu3id1jBG
Due to the lack of a fully functioning cuff script in FiveM without the need of ESX, @TreWilly and I created this…
Features
Handcuff animations
Cuff loop does not break
Unique melee based handcuff targeting system
Hands-up on hotkey
Cuff Sounds
Usage
Hold X
to put hands up.
In order to handcuff someone, go up to them and hold right click to target them. Then, press E
.
Dependencies
Installation
Install CuffedUp as you would any script.
Note : You must have the InteractSound resource in order for cuff noises to work! Move the cuff.ogg and uncuff.ogg files to /client/html/sounds in your InteractSound resource. Add this under ‘files’ in your InteractSound __resource.lua:
files {
'client/html/index.html',
'client/html/sounds/cuff.ogg', # ADD THIS
'client/html/sounds/uncuff.ogg' # ADD THIS
}
Download
Github - murfasa
Changelog
v1
Credits
Credit to @TreWilly for logo, testing, and sourcing audio along with animations.
11 Likes
Glad we could work on this together.
1 Like
It works perfectly for me. It may be the browser you are using…
1 Like
Okay, it works but not on google chrome
This is super cool. Nice release and keep it up!
1 Like
RumDum
April 13, 2020, 9:35pm
9
Its not working my guy it dosen’t work
Did you download the dependencies. We went through extensive testing before release
RumDum
April 13, 2020, 9:43pm
12
------
-- InteractSound by Scott
-- Verstion: v0.0.1
------
-- Manifest Version
resource_manifest_version '77731fab-63ca-442c-a67b-abc70f28dfa5'
-- Client Scripts
client_script 'client/main.lua'
-- Server Scripts
server_script 'server/main.lua'
-- NUI Default Page
ui_page('client/html/index.html')
-- Files needed for NUI
-- DON'T FORGET TO ADD THE SOUND FILES TO THIS!
files({
'client/html/index.html',
-- Begin Sound Files Here...
-- client/html/sounds/ ... .ogg
'client/html/sounds/demo.ogg'
'client/html/sounds/cuff.ogg'
'client/html/sounds/uncuff.ogg'
})
files({
'client/html/index.html',
-- Begin Sound Files Here...
-- client/html/sounds/ ... .ogg
'client/html/sounds/demo.ogg', -- Make sure you include the commas
'client/html/sounds/cuff.ogg', -- Make sure you include the commas
'client/html/sounds/uncuff.ogg'
})
Make sure you include a comma after an entry
Did you try to add comma after ‘client/html/sounds/demo.ogg’ and ‘client/html/sounds/cuff.ogg’?
RumDum
April 13, 2020, 9:48pm
17
yes i am getting this error in console
Could not find dependency interact-sound for resource CuffedUp.
Couldn't start resource CuffedUp.
Rename the ‘InteractSound’ resource to ‘interact-sound’
Names in FiveM are case, and character sensitive.
RumDum
April 13, 2020, 9:51pm
19
Thank you I have got it figured out
Am i wrong or should it be “hold right click to target them”? If im right left click is that you hit a player.
1 Like
RumDum
April 13, 2020, 9:56pm
22
Got it working but its not working in game now