Jump to content

thisdp

Scripting Moderators
  • Posts

    535
  • Joined

  • Last visited

  • Days Won

    9

Everything posted by thisdp

  1. Happy Birthday Bro!

    1. Ahmed Ly
    2. ميدوح

      ميدوح

      كل عام وانت بخير .، ي احمد8-)

    3. Ahmed Ly

      Ahmed Ly

      @medo وانت بخير :) 

  2. EDA ( Ellipse Detect Area ) Updated! Please update dgs with command: updatedgs to get the latest version.
  3. And you can make it multilingual insided for example, you can choose language in the editor. Thanks for your working ! It is really amazed me ! Keep Working ! I sent a new version 2.965 just now, I hope this version will help you a lot and some functions on the wiki about memo was just finished. By the way , please remove cyclehitshape. Because it will be no longer used.
  4. And the data struct of memo is not what you thought. I use a table to store the texts in every line. dgsDxMemoGetPartOfText This function returns a string. Would you mind put this project on github?
  5. Sry everyone, I am so busy with my study these days. This project will slow down for several days. But I promise, when I came back, it will be a big update ( DGS Version 3.0 ) with a lot of new properties and functions.
  6. Good Job. And don't forget to tell beginners how to deal with errors and warnings.
  7. I recommend you not to use this function, because it will be abandoned soon. In stead, it will be replaced by another function which have more options and functions.
  8. In the preview, I use scroll pane and button to realize .
  9. local players = getElementsByType ( "player" ) for theKey,thePlayer in ipairs(players) do if getElementData(thePlayer,"char:chatting") then local DataUpText = getElementData(thePlayer,"char:upText") local imageSize = dxGetFontHeight ( textscale*NAMETAG_TEXTSIZE2, srfont ) nameWidth = dxGetTextWidth ( playerName, textscale*NAMETAG_TEXTSIZE, srfont ) teamWidth = nameWidth if DataUpText == "" then -- dxDrawImage(x - 25 / (distance/10),y - 100 / (distance/10),50 / (distance/10),50 / (distance/10),getElementData(thePlayer, "char:admin")..".png") else dxDrawImage(sx - math.max(nameWidth/2) - imageSize - -18*scale, sy - imageSize - 8*scale, imageSize, imageSize,"keyboard.png") end end end
  10. We got new update version. see detail: http://angel.mtaip.cn:233/dgsUpdate
  11. Oh , I think it was my mistake.Sry for it and it will be fixed after 14 hours. Thanks for your report.
  12. Keep working, it will finally be a great DX LIB.
  13. Actually the link is blocked for me.xd I would be appreciate it very much if you could upload it on community.multitheftauto.com
  14. just table.sort export table and sort it rowData = dgsDxGUIGetProperty(gridlist,"rowData") table.sort(rowData,function(a,b) return a[1][1]>b[1][1] end) dgsDxGUISetProperty(gridlist,"rowData",rowData)
  15. It means you pass a nil value into the function math.floor as its first argument.
  16. Use gui to check the mouse and move the gui. At the top of gui, render the hud with dx functions. Or you can choose to use a dxlib.
  17. Error: SAFshop\speedometer.lua:20 bad argument 'math.floor' at argument 1 (number expected, got nil) Now can you understand it?
×
×
  • Create New...