How to disable knife one shot

thank you for reading
recently i foumd a problem
if i am using weapon_knife and so on,
i will one shot the player
how to disable it?
form weapon.meta?

Pretty sure this can be achieved by setting SetPedSuffersCriticalHits to false on all players (run it when the ped is created)

Citizen.CreateThread(function()
while true do
Wait(5)
SetPedSuffersCriticalHits(PlayerPedId(), false)
end
end)

not work

another way?

it will disable the headshot but not work to knife

hello ?

Hi. For me the only solution was to disable SetPlayerLockon