local vehicle = GetVehiclePedIsIn(PlayerPedId(), false)
-- These are the most common horn hashes found in the decompiled scripts.
local horns = {
1604822495,
3032502287,
3405413507,
2737024210,
2976270679,
4287227293,
2479820329,
3955047940
}
local randomHornHash = horns[math.random(1, #horns)]
print(randomHornHash)
OverrideVehHorn(vehicle, true, randomHornHash)