Switch Next Char
#26
--[[
Script made by Lee (Discord: l33_) - www.trainorcreations.com
If you want to support my work, feel free to donate at https://trainorcreations.com/donate
PS. Stop ripping off my work and selling it as your own.
]]--
UI.Button("Switch Next Char", function(newText)
modules.client_entergame.EnterGame.openWindow()
local rwPanel = g_ui.getRootWidget():getChildById('charactersWindow')
local buttonsPanel = rwPanel:getChildById('characters')
if buttonsPanel then
buttonsPanel:focusNextChild()
rwPanel:onEnter()
end
end)
01 May 2021