Search snippet for fivem esx rp

As the title suggests, I’m looking for a snippet for FiveM ESX RP. I tried this script that removes the animation for hiding behind walls, but it doesn’t work. Can anyone help me


Citizen.CreateThread(function()
    while true do
        Citizen.Wait(0)
        ped = PlayerPedId() -- Aggiorna il valore di ped con il ped del giocatore corrente
        DisableControlAction(1, 44, true) -- Disabilita il controllo di uscita dal veicolo (tasto Q)
    end
end)