STRELA Posted October 5, 2017 Share Posted October 5, 2017 подскажите пожалуйста как мне DXscrol?? функция панели () --dxDrawRectangle(5,posY1,sizeX1-13,sizeY1,одно) местной Venicle = getElementData(localPlayer,"транспортные средства") dxSetRenderTarget( РТ,правда ) --dxDrawRectangle(0,49*px1,sizeX1-16*px1,sizeY1-70*px1,два) dxDrawRectangle(2,50*px1,sizeX1-20*px1,sizeY1-68*px1,трех) местных biasY1 = 0 Если Venicle и тип(Venicle) == "Таблица" тогда для K,V в парах(Venicle) делать локальные данные = getVehicleData(в["Модель"]) местных нум = fromJSON(в["Количество"]) --если K <= смещение*9 и K >= (зачет-1)*9 тогда если selection1 == K, тогда dxDrawRectangle(2,100+biasY1,380,sectionSize1,четыре) dxDrawText(data[2],20*px1,50*px1+biasY1,10*px1+sizeX1-20*px1,50*px1+biasY1+sectionSize1+scroll1,Five,1.5*px1,1.5*px1,font,"left","center") --dxDrawText(num[2],20*px1,50*px1+biasY1+scroll1,10*px1+sizeX1-40*px1,50*px1+biasY1+sectionSize1+scroll1,Five,1.5*px1,"default-bold","right","center") еще dxDrawRectangle(2,100+biasY1,380,sectionSize1,tocolor(35,35,35,255)) --dxDrawText(data[2],20*px1,50*px1+biasY1+scroll1,10*px1+sizeX1-20*px1,50*px1+biasY1+sectionSize1+scroll1,Five,1*px1,1.5*px1,font,"left","center") --dxDrawText(num[2],20*px1,50*px1+biasY1+scroll1,10*px1+sizeX1-40*px1,50*px1+biasY1+sectionSize1+scroll1,Five,1*px1,"default-bold","right","center") конце к = 0 --бин = -к ИД = в["ИД"] biasY1 = biasY1 + 47 --outputChatBox(selection1) конец конец dxSetRenderTarget() dxDrawImage(5*px1,posY1,sizeX1-16*px1,sizeY1-66*px1,РТ) конец Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now