Try this:


-- Function to modify fall damage
function increaseFallDamage()
    SetFallDistance(100.0) -- Increase the fall distance to trigger fall damage
end

-- Register the event handler
Citizen.CreateThread(function()
    while true do
        Citizen.Wait(0)
        if IsPedInFreefall(PlayerPedId()) then
            increaseFallDamage()
        end
    end
end)