- 10
- 0
- Версия MoonLoader
- .027.0-preview
info:
imgui = require 'imgui'
local show_window = true
function imgui.OnDrawFrame()
if show_window then
imgui.SetNextWindowSize(imgui.ImVec2(250, 400), imgui.Cond.FirstUseEver)
imgui.Begin('My Simple Window', show_window, imgui.WindowFlags.NoTitleBar)
imgui.ShowCursor = false
local player_nick = sampGetPlayerNickname(select(2, sampGetPlayerIdByCharHandle(PLAYER_PED)))
imgui.Text("Ник: " .. player_nick)
imgui.End()
end
end
function main()
while true do
wait(0)
imgui.Process = true
end
end