- 36
- 0
- Версия SA-MP
-
- Другая
Возникает такая ошибка, когда открываю ИМгуи
Сам код, sampRegisterChatCommand ниже:
function helping()
local ex, ey = getScreenResolution()
imgui.ShowCursor = true
imgui.SetNextWindowSize(imgui.ImVec2(150, 200), imgui.Cond.FirstUseEver)
imgui.Begin('Testing update', main_window_state)
imgui.Text("Now version "..thisScript().version)
imgui.End()
end
sampRegisterChatCommand:
sampRegisterChatCommand('thelp1', helping)