No sorry, just try disable half your resources and see if it works, if it does you know the problem is in that half and half again etc. if it doesn’t problem is in the other half! Otherwise you could a find all in files for “DetachEntity”
Citizen.CreateThread(function()
while true do
Wait(0)
--if IsHandcuffed then
if IsDragged then
local ped = GetPlayerPed(GetPlayerFromServerId(CopPed))
local myped = GetPlayerPed(-1)
AttachEntityToEntity(myped, ped, 11816, 0.54, 0.54, 0.0, 0.0, 0.0, 0.0, false, false, false, false, 2, true)
else
DetachEntity(GetPlayerPed(-1), true, false)
end
--end
end
end)
Mine was like this so it would constantly detach the player if they were not being dragged, so i unhashed the IsHandcuffed and it worked fine. Check some of the resources for while true loops with DetachEntity(GetPlayerPed(-1) inside
Possible implementation of being able to use this on dead players? Let’s say in combination with ESX_ambulancejob and “isdead” native? You could carry on wounded friend from firefight, or be able to steal dead bodies out of the scene