in qbx_medical/client/death.lua CTRL + F and look for:
AddEventHandler('gameEventTriggered', function(event, data)
in qbx_medical/client/wounding.lua CTRL + F and look for:
local level = getWorstInjury()
local wait = 1000
CreateThread(function()
while true do
if not LocalPlayer.state.inDeathmatch then
if NumInjuries > 0 then
local level = getWorstInjury()
SetPedMoveRateOverride(cache.ped, sharedConfig.woundLevels[level].movementRate)
wait = 5
else
wait = 1000
end
end
Wait(wait)
end
end)
in qbx_medical/client/wounding.lua CTRL + F and look for:
CreateThread(function()
Wait(2500)
while true do
Wait(1000)
if not LocalPlayer.state.inDeathmatch then
if enableBleeding then
checkBleeding()
end
end
end
end)
in qbx_medical/client/damage.lua CTRL + F and look for:
if damageEffectsEnabled then
CreateThread(function()
while true do
if not LocalPlayer.state.inDeathmatch then
checkForDamage()
if damageEffectsEnabled then
ApplyDamageEffects()
end
end
Wait(100)
end
end)