Queria saber como realizo uma função de trocar de window
Tenho o seguinte code abaixo:
function fds()
if window == 1 then
dxDrawImage(x*1450, y*285, x*355, y*708, "assets/wallpaper/1.png", 0, 0, 0, tocolor(255, 255, 255, 255), false)
elseif window == 2 then
dxDrawImage(x*1450, y*285, x*355, y*708, "assets/wallpaper/1.png", 0, 0, 0, tocolor(255, 255, 255, 255), false)
dxDrawText(hours..":"..minutes, x*1495, y*310, x*1155, y*35, tocolor(255, 255, 255, 255), 0.90, "default-bold-small", "left", "top", false, false, false, false, false)
dxDrawImage(x*1711, y*310, x*