[Request] Handcuff Animation

I’ve seen this really nice handcuff animation and I’m wondering if anyone knows where it is from. Heres a link: Twitch

-- Police officer arresting animation with only upper body
local playerPed = PlayerPedId()

local animation = {dict = 'mp_arrest_paired', name = 'cop_p2_back_right'}

RequestAnimDict(animation.dict)
while not HasAnimDictLoaded(animation.dict) do
    Wait(0)
end
TaskPlayAnim(playerPed, 'mp_arrest_paired', 'cop_p2_back_right', 8.0, -8,3750, 48, 0, 0, 0, 0)


-- Client arrested animation
local playerPed = PlayerPedId()

local animation = { dict = "mp_arresting", name = "idle" }

RequestAnimDict(animation.dict)
while not HasAnimDictLoaded(animation.dict) do
    Wait(0)
end

TaskPlayAnim(playerPed, 'mp_arresting', 'b_uncuff', 8.0, -8, -1, 0, 0, 0, 0, 0)

Thanks, I am using sem’s interaction menu and this is the arrest section of the cuff animation,

So do I just replace this or?

No that’s the client getting arrested portion. I’m not sure how “sem’s interaction” works I would suggest reaching out to whomever made it for assistants.

alright, thank the code mate

@AidanDaDoolphin Fixed :+1:

playerPed = GetPlayerPed(-1)
	SetCurrentPedWeapon(playerPed, GetHashKey('WEAPON_UNARMED'), true) -- unarm player
	local x, y, z   = table.unpack(playercoords + playerlocation * 1.0)
	SetEntityCoords(GetPlayerPed(-1), x, y, z)
	SetEntityHeading(GetPlayerPed(-1), playerheading)
	Citizen.Wait(250)
	loadanimdict('mp_arrest_paired')
	TaskPlayAnim(GetPlayerPed(-1), 'mp_arrest_paired', 'crook_p2_back_right', 8.0, -8, 3750 , 2, 0, 0, 0, 0)
	Citizen.Wait(3760)
	IsHandcuffed = true
	loadanimdict('mp_arresting')
	TaskPlayAnim(GetPlayerPed(-1), 'mp_arresting', 'idle', 8.0, -8, -1, 49, 0.0, false, false, false)
1 Like