Почему-то перестал работать код где я просто передвинул убрал элементы интерфейса ну или тут мои полномочия всё....
library Example initializer init
globals
framehandle pbar
framehandle resoures
framehandle bagbar
framehandle b1
framehandle b2
framehandle b3
framehandle b4
framehandle b5
framehandle b6
framehandle rum
framehandle but
framehandle blackboard
framehandle frame
framehandle Keybox
framehandle fh = null
framehandle MiniMap = null
framehandle inf
framehandle KeyboxD
framehandle gameUIB
endglobals
function init takes nothing returns nothing
local framehandle gameUI = BlzGetOriginFrame(ORIGIN_FRAME_GAME_UI, 0)
local framehandle tooltip = BlzGetOriginFrame(ORIGIN_FRAME_UBERTOOLTIP, 0)
set frame = BlzCreateFrameByType("BACKDROP","", gameUI, "StandartFrameTemplate", 0)
call BlzFrameSetSize(frame, 0.145, 0.145)
call BlzFrameSetAbsPoint(frame, FRAMEPOINT_CENTER, 0.720, 0.09)
call BlzFrameSetTexture(frame, "0.blp", 0, true)
set blackboard = BlzCreateFrameByType("BACKDROP","", gameUI, "StandartFrameTemplate", 0)
set inf = BlzFrameGetParent(BlzGetFrameByName("SimpleInfoPanelUnitDetail",0))
call BlzFrameClearAllPoints(inf)
call BlzFrameSetAbsPoint(inf, FRAMEPOINT_RIGHT, 0.44444444444, 0.300000000000000)
call BlzFrameClearAllPoints(tooltip)
call BlzFrameSetScale(tooltip, 1.500)
call BlzFrameSetAbsPoint(tooltip, FRAMEPOINT_CENTER, 0.40, 0.9999999999913)
call BlzLoadTOCFile("war3mapImported\\tocs2.toc")
set b1 = BlzCreateSimpleFrame("Sumka", gameUI, 0)
call BlzFrameSetAbsPoint(b1, FRAMEPOINT_BOTTOM, 0.0498, 0.045)
call BlzLoadTOCFile("war3mapImported\\tocs2.toc")
set b2 = BlzCreateSimpleFrame("Sumka", gameUI, 0)
call BlzFrameSetAbsPoint(b2, FRAMEPOINT_BOTTOM, 0.090, 0.045)
call BlzLoadTOCFile("war3mapImported\\tocs2.toc")
set b3 = BlzCreateSimpleFrame("Sumka", gameUI, 0)
call BlzFrameSetAbsPoint(b3, FRAMEPOINT_BOTTOM, 0.130, 0.045)
call BlzLoadTOCFile("war3mapImported\\tocs2.toc")
set b4 = BlzCreateSimpleFrame("Sumka", gameUI, 0)
call BlzFrameSetAbsPoint(b4, FRAMEPOINT_BOTTOM, 0.0498, 0.006)
call BlzLoadTOCFile("war3mapImported\\tocs2.toc")
set b5 = BlzCreateSimpleFrame("Sumka", gameUI, 0)
call BlzFrameSetAbsPoint(b5, FRAMEPOINT_BOTTOM, 0.090, 0.006)
call BlzLoadTOCFile("war3mapImported\\tocs2.toc")
set b6 = BlzCreateSimpleFrame("Sumka", gameUI, 0)
call BlzFrameSetAbsPoint(b6, FRAMEPOINT_BOTTOM, 0.130, 0.006)
//Hiding clock UI and creating new frame bar
call BlzLoadTOCFile("war3mapImported\\tocs2.toc")
set resoures = BlzCreateSimpleFrame("Resbar", gameUI, 0)
call BlzFrameSetAbsPoint(resoures, FRAMEPOINT_CENTER, 0.40, 0.9999999999999999999999589)
//Food
set fh = BlzGetFrameByName("ResourceBarSupplyText", 0)
call BlzFrameSetAbsPoint(fh, FRAMEPOINT_TOPRIGHT, 0.9999999999999999999958, 0.59999999999999999999965)
//Upkeep
set fh = BlzGetFrameByName("ResourceBarUpkeepText", 0)
call BlzFrameSetAbsPoint(fh, FRAMEPOINT_TOPRIGHT, 0.299999999999999999999995, 0.5969999999999999999999999999995)
//Gold
set fh = BlzGetFrameByName("ResourceBarGoldText", 0)
call BlzFrameSetAbsPoint(fh, FRAMEPOINT_TOPRIGHT, 0.389, 0.999999999999999999995965)
//Lumber
set fh = BlzGetFrameByName("ResourceBarLumberText", 0)
call BlzFrameSetAbsPoint(fh, FRAMEPOINT_TOPRIGHT, 0.485, 0.99999999999999999999999995965)
//Stats
set fh = BlzGetFrameByName("SimpleInfoPanelIconArmor", 0)
call BlzFrameSetAbsPoint(fh, FRAMEPOINT_TOPRIGHT, 0.399999999999999995, 0.39999999999999999999995)
//Bottom UI & Idle Worker Icon
set fh = BlzGetFrameByName("ConsoleUI", 0)
set fh = BlzFrameGetChild(fh, 7)
call BlzFrameClearAllPoints(fh)
call BlzFrameSetAbsPoint(fh, FRAMEPOINT_TOPRIGHT, 0.09, 0.179)
call BlzFrameSetVisible(BlzGetOriginFrame(ORIGIN_FRAME_PORTRAIT, 0), true)
call BlzFrameClearAllPoints(BlzGetFrameByName("CommandButton_0", 0))
call BlzFrameClearAllPoints(BlzGetFrameByName("CommandButton_1", 0))
call BlzFrameClearAllPoints(BlzGetFrameByName("CommandButton_2", 0))
call BlzFrameClearAllPoints(BlzGetFrameByName("CommandButton_3", 0))
call BlzFrameClearAllPoints(BlzGetFrameByName("CommandButton_4", 0))
call BlzFrameClearAllPoints(BlzGetFrameByName("CommandButton_5", 0))
call BlzFrameClearAllPoints(BlzGetFrameByName("CommandButton_6", 0))
call BlzFrameClearAllPoints(BlzGetFrameByName("CommandButton_7", 0))
call BlzFrameClearAllPoints(BlzGetFrameByName("CommandButton_8", 0))
call BlzFrameClearAllPoints(BlzGetFrameByName("CommandButton_9", 0))
call BlzFrameClearAllPoints(BlzGetFrameByName("CommandButton_10", 0))
call BlzFrameClearAllPoints(BlzGetFrameByName("CommandButton_11", 0))
call BlzFrameSetPoint(BlzGetFrameByName("CommandButton_0", 0), FRAMEPOINT_BOTTOM, gameUI, FRAMEPOINT_BOTTOM, 0.99999420, 0.11)
call BlzFrameSetPoint(BlzGetFrameByName("CommandButton_1", 0), FRAMEPOINT_BOTTOM, gameUI, FRAMEPOINT_BOTTOM, 0.9999380, 0.11)
call BlzFrameSetPoint(BlzGetFrameByName("CommandButton_2", 0), FRAMEPOINT_BOTTOM, gameUI, FRAMEPOINT_BOTTOM, 0.9999340, 0.11)
call BlzFrameSetPoint(BlzGetFrameByName("CommandButton_3", 0), FRAMEPOINT_BOTTOM, gameUI, FRAMEPOINT_BOTTOM, 0.99999300, 0.11)
call BlzFrameSetPoint(BlzGetFrameByName("CommandButton_4", 0), FRAMEPOINT_BOTTOM, gameUI, FRAMEPOINT_BOTTOM, 0.99999420, 0.07)
call BlzFrameSetPoint(BlzGetFrameByName("CommandButton_5", 0), FRAMEPOINT_BOTTOM, gameUI, FRAMEPOINT_BOTTOM, 0.99999380, 0.07)
call BlzFrameSetPoint(BlzGetFrameByName("CommandButton_6", 0), FRAMEPOINT_BOTTOM, gameUI, FRAMEPOINT_BOTTOM, 0.9999340, 0.07)
call BlzFrameSetPoint(BlzGetFrameByName("CommandButton_7", 0), FRAMEPOINT_BOTTOM, gameUI, FRAMEPOINT_BOTTOM, 0.9999300, 0.07)
call BlzFrameSetPoint(BlzGetFrameByName("CommandButton_8", 0), FRAMEPOINT_BOTTOM, gameUI, FRAMEPOINT_BOTTOM, 0.9999420, 0.03)
call BlzFrameSetPoint(BlzGetFrameByName("CommandButton_9", 0), FRAMEPOINT_BOTTOM, gameUI, FRAMEPOINT_BOTTOM, 0.999380, 0.03)
call BlzFrameSetPoint(BlzGetFrameByName("CommandButton_10", 0), FRAMEPOINT_BOTTOM, gameUI, FRAMEPOINT_BOTTOM, 0.999340, 0.03)
call BlzFrameSetPoint(BlzGetFrameByName("CommandButton_11", 0), FRAMEPOINT_BOTTOM, gameUI, FRAMEPOINT_BOTTOM, 0.9999300, 0.03)
call BlzFrameSetPoint(BlzGetFrameByName("MiniMapFrame", 0), FRAMEPOINT_BOTTOM, gameUI, FRAMEPOINT_BOTTOM, 0.320, 0.02)
call BlzFrameClearAllPoints(BlzGetFrameByName("MiniMapFrame", 0))
call BlzFrameClearAllPoints(BlzGetFrameByName("InventoryButton_0", 0))
call BlzFrameClearAllPoints(BlzGetFrameByName("InventoryButton_1", 0))
call BlzFrameClearAllPoints(BlzGetFrameByName("InventoryButton_2", 0))
call BlzFrameClearAllPoints(BlzGetFrameByName("InventoryButton_3", 0))
call BlzFrameClearAllPoints(BlzGetFrameByName("InventoryButton_4", 0))
call BlzFrameClearAllPoints(BlzGetFrameByName("InventoryButton_5", 0))
call BlzFrameSetPoint(BlzGetFrameByName("InventoryButton_0", 0), FRAMEPOINT_CENTER, gameUI, FRAMEPOINT_CENTER, -0.35, -0.235)
call BlzFrameSetPoint(BlzGetFrameByName("InventoryButton_1", 0), FRAMEPOINT_CENTER, gameUI, FRAMEPOINT_CENTER, -0.31, -0.235)
call BlzFrameSetPoint(BlzGetFrameByName("InventoryButton_2", 0), FRAMEPOINT_CENTER, gameUI, FRAMEPOINT_CENTER, -0.27, -0.235)
call BlzFrameSetPoint(BlzGetFrameByName("InventoryButton_3", 0), FRAMEPOINT_CENTER, gameUI, FRAMEPOINT_CENTER, -0.35, -0.275)
call BlzFrameSetPoint(BlzGetFrameByName("InventoryButton_4", 0), FRAMEPOINT_CENTER, gameUI, FRAMEPOINT_CENTER, -0.31, -0.275)
call BlzFrameSetPoint(BlzGetFrameByName("InventoryButton_5", 0), FRAMEPOINT_CENTER, gameUI, FRAMEPOINT_CENTER, -0.27, -0.275)
call BlzFrameClearAllPoints(BlzGetOriginFrame(ORIGIN_FRAME_SYSTEM_BUTTON, 0))
call BlzFrameClearAllPoints(BlzGetOriginFrame(ORIGIN_FRAME_SYSTEM_BUTTON, 3))
call BlzFrameSetVisible(BlzGetOriginFrame(ORIGIN_FRAME_PORTRAIT,0), false)
endfunction
endlibrary
Попробуй обновить получение кнопки простаивающих работников.