- 373
- 122
- Версия MoonLoader
- Другое
Код:
local newFrame2 = imgui.OnFrame(
function() return chatWindow[0] end,
function(player)
local resX, resY = getScreenResolution()
local sizeX, sizeY = 450, 280
imgui.SetNextWindowPos(imgui.ImVec2(resX / 2, resY / 2), imgui.Cond.FirstUseEver, imgui.ImVec2(0.5, 0.5))
imgui.SetNextWindowSize(imgui.ImVec2(sizeX, sizeY), imgui.Cond.FirstUseEver)
if imgui.Begin('> Chat Finder v1.0 <', chatWindow, imgui.WindowFlags.NoDecoration + imgui.WindowFlags.NoInputs + imgui.WindowFlags.NoBackground) then
imgui.Text(u8'ChatFinder')
for k, v in ipairs(messages) do
imgui.TextColoredRGB(v)
end
imgui.End()
end
end
)