The Frenesy
Member
- Joined
- Sep 3, 2020
- Messages
- 32
- Solutions
- 1
- Reaction score
- 7
in modules folder
local moduleManagerButton
moduleManagerButton = modules.client_topmenu.addLeftButton('moduleManagerButton', tr('Module Manager'), '/images/topbuttons/modulemanager', toggle)
moduleManagerButton:destroy()
moduleManagerButton:hide()
for example:
in modules/client_modulemanager/modulemanager.lua
delete:
and:LUA:local moduleManagerButton
and:LUA:moduleManagerButton = modules.client_topmenu.addLeftButton('moduleManagerButton', tr('Module Manager'), '/images/topbuttons/modulemanager', toggle)
and:LUA:moduleManagerButton:destroy()
LUA:moduleManagerButton:hide()
![]()
otclientv8/modules/client_topmenu/topmenu.lua at ae8b3bf5736ec7be56562873b1f4d167bef118c4 · OTCv8/otclientv8
Clean, ready to use version of OTClientV8 - Alternative, highly optimized Tibia client - OTCv8/otclientv8github.com
topMenu = g_ui.createWidget('TopMenu', g_ui.getRootWidget())
g_keyboard.bindKeyDown('Ctrl+Shift+T', toggle)
if topMenu.onlineLabel then
topMenu.onlineLabel:hide()
end
if topMenu.onlineLabel then
topMenu.onlineLabel:show()
end