Kleston
New Member
- Joined
- Oct 28, 2013
- Messages
- 31
- Reaction score
- 3
Hello.
I created a new panel. But I do not know age use it after logging
hud.lua
hud.otui
I created a new panel. But I do not know age use it after logging
hud.lua
Lua:
hudPlayerPanel = nil
function init()
connect(g_game, { onGameEnd = offline })
hudPlayerPanel = g_ui.displayUI('hud')
end
function terminate()
disconnect(g_game, { onGameEnd = offline })
hudPlayerPanel:destroy()
end
Code:
HudPlayerPanel < Panel
image-source: /images/ui/gui/dolny_panel
image-border: 4
HudPlayerPanel
id: hudPlayerPanel
anchors.top: topMenu.bottom
anchors.left: gameLeftPanel.left