-
Posts
535 -
Joined
-
Last visited
-
Days Won
9
Everything posted by thisdp
-
Good Idea but maybe bilibili is slow for him to connect, and, it isn't his duty to upload the video on it.
-
function onSelect() end addEventHandler("onDgsTabPanelTabSelect", tabPanel, onSelect)
-
That is just an event which will triggered after a tab selected. If you want to set selected tab https://wiki.multitheftauto.com/wiki/DgsSetSelectedTab
-
Let him contact me Thanks for your support and advice ! DGS will get stronger !
-
enter the code: /debugdgs and you will know you are creating thousands of windows local DGS = exports.dgs local sx,sy = guiGetScreenSize() local font1 = dxCreateFont("files/forte.ttf", 10) local font2 = dxCreateFont("files/forte.ttf", 12) local colorOne = "#00a5da" local lp = localPlayer function onClientJoin() setElementData(lp, "online", false) setElementData(lp, "banned", false) setElementDimension(lp, math.random(1,10000)) setPlayerHudComponentVisible("all", false) setElementFrozen(lp,true) setCameraMatrix(1282.35, -1012.79, 48.56, 1520.31, -1139.02, 191.14) showChat(false) showCursor(true) end addEventHandler("onClientRender", root, onClientJoin) function loginPanel() loginwindow = DGS:dgsCreateWindow (400, 300, 250, 300, "Login Panel", false, tocolor(0,165,218,255),30,nil,tocolor(0,0,0,255),nil, tocolor(0,0,0,200), 5, true) end loginPanel()
-
dgsGridListAddIconInRow -> dgsGridListSetItemImage and why add onMemoIsFinishedReading? It is synchronized. MoveTheNodeDown? What does this mean? Why do you need dgsGridListSetRowLengthSize ? I would appreciate it very much if you can describe them clearly ! Thank you
-
Hey guys! Good news! DGS Version 3.3 has been released with media browser! What is media browser???? media browser is a browser but I coded it which can play videos and audios easily (Ah... Only local mode, sry for that) But ! We can play video with only 5 line codes ! DGS = exports.dgs browser = DGS:dgsCreateMediaBrowser(600,600) --[[Create a media browser ( CEF browser with my api )]] img = DGS:dgsCreateImage(400,200,600,600,browser,false) --[[Create an image because media browser is a browser ( hmm... it is a kind of texture ) ]] DGS:dgsMediaLoadMedia(browser,"test.webm","VIDEO") -- [[Give a video file ( Local video and only support .webm file for video and .ogg file for audio)]] DGS:dgsMediaPlay(browser) --[[Now ! Let's get Higher!]]
-
It has been almost a week since last update. Now DGS 3.2 is released. This version features gridlist sotring. Different from CEGUI's, DGS gridlist sorting has no sorting issue ( I mean ->incorrect row we will get when setting item text ) Also, We can define the sort function ( See test.lua -> GridListSortingTest ) SO! Let's type in our command updatedgs or /updatedgs then! ENTER! And Details: http://angel.mtaip.cn:233/dgsUpdate
-
Hello everyone, dgs 3.1 has been released. Now dgs grid list supports multi selection and 3 selection modes (row , column and cell ) detail: http://angel.mtaip.cn:233/dgsUpdate
-
in the compiled dll file
-
https://bugs.mtasa.com/view.php?id=9802 That is a bug.
-
guiSetVisible(GUIEditor.window[1])0) guiSetVisible(GUIEditor.window[1])