- 156
- 16
- Версия MoonLoader
- .026-beta
Из-за чего крашит?
Lua:
local imgui = require 'imgui'
local keys = require 'vkeys'
require 'lib.moonloader'
local encoding = require 'encoding'
encoding.default = 'CP1251'
u8 = encoding.UTF8
function main()
if not isSampLoaded() or not isSampfuncsLoaded() then return end
while not isSampAvailable() do wait(100) end
imgui.Process = true
end
function imgui.OnDrawFrame()
imgui.Begin('qwe')
if imgui.Checkbox('hop') then
sampAddChatMessage('+', -1)
end
imgui.End()
end