Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions client/ignore.lua
Original file line number Diff line number Diff line change
Expand Up @@ -135,3 +135,9 @@ CreateThread(function()
Wait(5)
end
end)

RegisterNetEvent('QBCore:Client:EnteredVehicle', function(data)
if Config.Disable.carRadio then
SetVehRadioStation(data.vehicle, 'OFF')
end
end)
1 change: 1 addition & 0 deletions config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ Config.Disable = {
vestDrawable = false, -- disables the vest equipped when using heavy armor
pistolWhipping = true, -- disables pistol whipping
driveby = false, -- disables driveby
carRadio = false -- When set to true car radio will default to off when entering a vehicle.
}

Config.RelieveWeedStress = math.random(15, 20) -- stress relief amount (100 max)
Expand Down