First head to qbx_hud/config/server.lua and under disableForLEO = true,
add
disableStress = true,
next head to qbx_hud/client/main.lua and search CreateThread(function() -- Speeding
ABOVE THAT at roughly line 797 add
if not config.stress.disableStress then
next head to qbx_hud/server/main.lua and search RegisterNetEvent('hud:server:GainStress', function(amount)
add the following at line 24
if config.stress.disableStress then return end
Directly below that you will see the event RegisterNetEvent('hud:server:RelieveStress', function(amount)
add the following at line 47
if config.stress.disableStress then return end
I have tested this on my server and it works with no errors. If you have an easier way/better way to do this feel free to give your ideas
