Jump to content

thisdp

Scripting Moderators
  • Posts

    535
  • Joined

  • Last visited

  • Days Won

    9

Everything posted by thisdp

  1. addEventHandler("onClienGUIClick",root, if (source == GUIEditor.button[1]) guiSetVisible(GUIEditor.window[1],false) showCursor(false) end end)
  2. addEvent("weap_change",true) addEventHandler("weap_change",root,function (button) setPedWeaponSlot(source,tonumber(button)) end )
  3. Wait, it seems this problem is caused by render target
  4. inventory = dgsCreateWindow ( 0.36, 0.28, 0.28, 0.50, "Select your weapons", true ) playerList = dgsCreateGridList (0.12, 0.1, 0.85, 0.85,true,inventory,false,tocolor(0,0,0,0),tocolor(255,255,255,0),tocolor(0,0,0,100),tocolor(0,0,0,100),tocolor(70,70,70,100),tocolor(255,0,0,100)) dgsGridListAddColumn(playerList,"Player",0.8) for i=1,100 do local row = dgsGridListAddRow(playerList) dgsGridListSetItemText(playerList,row,1,"thisdp") end
  5. inventory = dgsCreateWindow ( 0.36, 0.28, 0.28, 0.50, "Select your weapons", true ) playerList = dgsCreateGridList (0.12, 0.1, 0.85, 0.85,true,inventory,false,tocolor(0,0,0,0),tocolor(255,255,255,0),tocolor(0,0,0,255),tocolor(0,0,0,255),tocolor(70,70,70,200),tocolor(255,0,0,200)) dgsGridListAddColumn(playerList,"Player",0.8) for i=1,100 do local row = dgsGridListAddRow(playerList) dgsGridListSetItemText(playerList,row,1,"thisdp") end Any problem?
  6. Hey everybody. DGS 3.0 is now released (2018-1-19). I have added something new like dgsAnimTo which supports all kinds of dgs element properties. But I have met with an difficulty. Video and Audio tags don't work in CEF, and is there any method to realize video play?
  7. Best way to solve is using absolute integer as position and size.
  8. Good Idea And dgsDxGUI/dgsDx will be replaced by dgs.
  9. Hello, Everyone. Since DGS was released, DGS has been under development for over half year. What do you think about it? And new idea on DGS? Sadly, I will leave MTA this year, maybe in July. And all service will be suspended. At the same time DGS update system will be deleted in the final version in order to protect your dgs, which means DGS will no longer accept any update. Thanks for your support and company with DGS.
  10. dxSetShaderValue(shader, "color", {255, 0, 0})
  11. No. You can try it math.floor(1) ---> 1 math.floor(1.11) ---> 1 math.floor(1.51) ---> 1 math.floor(1.91) ---> 1 math.floor(2) ---> 2 And math.ceil(1) ---> 1 math.ceil(1.11) ---> 2 math.ceil(1.51) ---> 2 math.ceil(1.91) ---> 2 math.ceil(2) ---> 2 While 9.9999999999999999 = 10
  12. Hey every! Happy New Year! DGS wouldn't stay at last year. Here is an update : 2.97 which is synchronized to github. To view update log : http://angel.mtaip.cn:233/dgsUpdate/ Our Command: updatedgs
  13. Plz describe what problem you met with in detail.
×
×
  • Create New...