SA:MP Arizona Что за варнинг?

Owner Nexa

Участник
Автор темы
93
46
Warning(s007): Exception 0xc0000005 at 0x76077D6

Почему это ошибка вылезает в чате?

Вот сам код

local isCleaning = false
function getMemoryUsage()
local addr = 0x8E4CB4
local bytes = readMemory(addr, 4, true)
return tonumber(string.format("%.1f", bytes / 1048576))
end

function CleanMemory()
if isCleaning then return end
isCleaning = true
local oldMem = getMemoryUsage()
pcall(function()
--callFunction(0x53C500, 1, 1, 1, 1)
--callFunction(0x53C810, 1, 1, 1)
--callFunction(0x40CF80, 0, 0)
--callFunction(0x4090A0, 0, 0)
--callFunction(0x5A18B0, 0, 0)
--callFunction(0x707770, 0, 0)
--callFunction(0x40CFD0, 0, 0)
collectgarbage("collect")
end)
local newMem = getMemoryUsage()
local diff = oldMem - newMem
isCleaning = false
end