• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

How to change button position?

Tibia Idle

Active Member
Joined
Nov 23, 2023
Messages
149
Reaction score
28
I would like to change the order of these buttons. How to make the blue store button in the last position on the right?

1707418254726.png
 
modules/game_shop/shop.lua
change:

LUA:
shopButton = modules.client_topmenu.addRightGameToggleButton('shopButton', tr('Shop'), '/images/topbuttons/shop', toggle, false, 8)
for
Code:
shopButton = modules.client_topmenu.addRightGameToggleButton('shopButton', tr('Shop'), '/images/topbuttons/shop', toggle, false, 9)
 
modules/game_shop/shop.lua
change:

LUA:
shopButton = modules.client_topmenu.addRightGameToggleButton('shopButton', tr('Shop'), '/images/topbuttons/shop', toggle, false, 8)
for
Code:
shopButton = modules.client_topmenu.addRightGameToggleButton('shopButton', tr('Shop'), '/images/topbuttons/shop', toggle, false, 9)

thanx so much
 
modules/game_shop/shop.lua
change:

LUA:
shopButton = modules.client_topmenu.addRightGameToggleButton('shopButton', tr('Shop'), '/images/topbuttons/shop', toggle, false, 8)
for
Code:
shopButton = modules.client_topmenu.addRightGameToggleButton('shopButton', tr('Shop'), '/images/topbuttons/shop', toggle, false, 9)
Can u teach how to change button location and size? I want something like this one:

1719322339120.png
 
Last edited:
Back
Top