Lasso script

Does anyone know a script that makes it no longer possible to tie people up with the lasso? But it should still work for horses etc.

Not a script, but this native can help you

SetPedLassoHogtieFlag(ped, flagId, bool) -- 0xAE6004120C18DF97

flagID:

That will probably solve it

Citizen.CreateThread(function()
    while true do
        local ped = PlayerPedId()
        SetPedLassoHogtieFlag(ped, 0, false) -- disable CanBeLassoed
        SetPedLassoHogtieFlag(ped, 10, true) -- enable CannotLassoPlayers
        Citizen.Wait(5000)
    end
end)