[RELEASE] [UPDATED 19.12.2019] Stress System with logs by utku, esx_status

here is a simple quick example: (not resource friendly tho)

Citizen.CreateThread(function()
    while true do
        Citizen.Wait(1)
        local pedcoord = GetEntityCoords(PlayerPedId())
        local location = vector3(154.20, 224.15, 42.0) -- this is random
        
        if GetDistanceBetweenCoords(pedcoord, location, true) <= 50 then -- radius
            exports['stress_utk']:RemoveStress('slow', 300000, 25)
            Citizen.Wait(25000)
        end
    end
end)