All public logs

Jump to navigation Jump to search

Combined display of all available logs of Multi Theft Auto: Wiki. You can narrow down the view by selecting a log type, the username (case-sensitive), or the affected page (also case-sensitive).

Logs
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)
  • 11:59, 10 January 2023 Thisdp talk contribs created page Dgs3DLineSetItemWidth (Created page with "__NOTOC__ {{Client function}} This function sets the width of the specified item of DGS 3D Line. ==Syntax== <syntaxhighlight lang="lua"> bool dgs3DLineSetItemWidth( element line3D, int index, float width ) </syntaxhighlight> ===Required Arguments=== *'''line3D''': The DGS 3D Line element. *'''index''': The item index of DGS 3D Line. *'''width :''' A float of the width of the item. ===Returns=== Returns ''true'' if successful, ''false'' otherwise. ==Example== <sy...")
  • 11:53, 10 January 2023 Thisdp talk contribs created page Dgs3DLineGetItemColor (Created page with "__NOTOC__ {{Client function}} This function gets the color of the specified item of DGS 3D Line. ==Syntax== <syntaxhighlight lang="lua"> bool dgs3DLineSetItemColor( element line3D, int index, int color ) </syntaxhighlight> ===Required Arguments=== *'''line3D''': The DGS 3D Line. *'''index''': The item index of DGS 3D Line. ===Returns=== Returns an ''integer'' indicates the color of the item if successful, ''false'' otherwise. ==Example== <syntaxhighlight lang="l...")
  • 11:50, 10 January 2023 Thisdp talk contribs created page Dgs3DLineSetItemColor (Created page with "__NOTOC__ {{Client function}} This function sets the color of the specified item of DGS 3D Line. ==Syntax== <syntaxhighlight lang="lua"> bool dgs3DLineSetItemColor( element line3D, int index, int color ) </syntaxhighlight> ===Required Arguments=== *'''line3D''': The DGS 3D Line element. *'''index''': The item index of DGS 3D Line. *'''color:''' An integer of color (0-‭4294967295‬), use tocolor for converting RGBA to color number. If not set, default color of DG...")
  • 11:47, 10 January 2023 Thisdp talk contribs created page Dgs3DLineSetItemPosition (Created page with "__NOTOC__ {{Client function}} This function sets the position of the specified item of DGS 3D Line. ==Syntax== <syntaxhighlight lang="lua"> bool dgs3DLineSetItemPosition( element line3D , int index, float x, float y, float z ) </syntaxhighlight> ===Required Arguments=== *'''line3D''': The DGS 3D Line element. *'''index''': The item index of DGS 3D Line. *'''x:''' A float of the 3D x position of the item of DGS 3D Line in the world. *'''y:''' A float of the 3D y pos...")
  • 11:41, 10 January 2023 Thisdp talk contribs created page Dgs3DLineGetItemPosition (Created page with "__NOTOC__ {{Client function}} This function gets the position of the specified item of DGS 3D Line. ==Syntax== <syntaxhighlight lang="lua"> float, float, float dgs3DLineGetItemPosition( element line3D , int index ) </syntaxhighlight> ===Required Arguments=== *'''line3D''': The DGS 3D Line element. *'''index ''': The item index of DGS 3D Line. ===Returns=== Returns 3 ''float''s indicates x, y and z coordinates of the item, ''false'' otherwise. ==Example== <syntax...")
  • 11:27, 24 December 2022 Thisdp talk contribs created page DgsSetMouseStayDelay (Created page with "{{Client function}} __NOTOC__ This function sets the delay time that from mouse stops moving and cursor stays at a DGS element to onDgsMouseStay event triggers. ==Syntax== <syntaxhighlight lang="lua"> bool dgsSetMouseStayDelay( int interval ) </syntaxhighlight> ===Required Arguments=== *'''delay:''' An int of the delay time. ===Returns=== Returns ''true'' if successful, ''false'' otherwise ==Example== <syntaxhighlight lang="lua"> DGS = exports.dgs DGS:dgsSetMou...")
  • 11:24, 24 December 2022 Thisdp talk contribs created page DgsGetMouseStayDelay (Created page with "{{Client function}} __NOTOC__ This function gets the delay time that from mouse stops moving and cursor stays at a DGS element to onDgsMouseStay event triggers. ==Syntax== <syntaxhighlight lang="lua"> int dgsGetMouseStayDelay( ) </syntaxhighlight> ===Returns=== Returns a ''integer'' indicates the delay of staying of mouse. ==Example== <syntaxhighlight lang="lua"> DGS = exports.dgs local interval = DGS:dgsGetMouseStayDelay() outputChatBox(interval) </syntaxhighli...")
  • 11:18, 24 December 2022 Thisdp talk contribs created page DgsTooltipRemoveFrom (Created page with "__NOTOC__ {{Client function}} This function removes tooltip from a DGS element. ==Syntax== <syntaxhighlight lang="lua"> bool dgsTooltipRemoveFrom( element targetElement ) </syntaxhighlight> thumb|example ===Required Arguments=== *'''targetElement:''' A DGS element that you want to remove the tooltip from. ===Returns=== Returns ''true'' if successful, ''false'' otherwise. ==Example== <syntaxhighlight lang="lua"> DGS = exports.dgs --...")
  • 11:10, 24 December 2022 Thisdp talk contribs created page DgsCreateToolTip (Created page with "__NOTOC__ {{Client function}} This function creates a tooltip as template that can be applied to any DGS elements. ==Syntax== <syntaxhighlight lang="lua"> element dgsCreateToolTip( [ int textColor = 0xFFFFFFFF, int bgColor = 0x80000000, texture bgImage = nil ] ) </syntaxhighlight> thumb|example ===Optional Arguments=== *'''textColor :''' An integer of the color of the text of the tooltip. *'''bgColor:''' An integer of the background c...")
  • 11:09, 24 December 2022 Thisdp talk contribs uploaded File:DGSTooltipExample.png
  • 11:09, 24 December 2022 Thisdp talk contribs created page File:DGSTooltipExample.png
  • 11:08, 24 December 2022 Thisdp talk contribs created page DgsTooltipApplyTo (Created page with "__NOTOC__ {{Client function}} This function creates a tooltip as template that can be applied to any DGS elements. ==Syntax== <syntaxhighlight lang="lua"> element dgsTooltipApplyTo( [ int textColor = 0xFFFFFFFF, int bgColor = 0x80000000, texture bgImage = nil ] ) </syntaxhighlight> thumb|example ===Optional Arguments=== *'''textColor :''' An integer of the color of the text of the tooltip. *'''bgColor:''' An integer of the background color of...")
  • 11:01, 24 December 2022 Thisdp talk contribs created page OnDgsMouseStay (Created page with "{{Client event}} __NOTOC__ This event is fired when the cursor first stays at a DGS element without moving. ==Parameters== <syntaxhighlight lang="lua"> int absoluteX, int absoluteY, element leftGUI </syntaxhighlight> * '''absoluteX''': the X position of the mouse cursor, in pixels, measured from the left side of the screen. * '''absoluteY''': the Y position of the mouse cursor, in pixels, measured from the top of the screen. ==Source== The event system#Event sour...")
  • 10:55, 24 December 2022 Thisdp talk contribs created page OnDgsMouseDoubleClickDown (Created page with "{{Client event}} __NOTOC__ This event will be fired when double clicking on any dgs element but detects clicking down (Mouse press). {{Note|This event will not trigger when onDgsMouseClick is cancelled.}} ==Parameters== <syntaxhighlight lang="lua"> string button, string state, int absoluteX, int absoluteY, bool isCoolingDown </syntaxhighlight> *'''button''': the name of the button which will be clicked , it can be ''left'', ''right'', ''middle''. *'''state''': a s...")
  • 10:54, 24 December 2022 Thisdp talk contribs created page OnDgsMouseDoubleClickUp (Created page with "{{Client event}} __NOTOC__ This event will be fired when double clicking on any dgs element but detects clicking up (Mouse release). {{Note|This event will not trigger when onDgsMouseClick is cancelled.}} ==Parameters== <syntaxhighlight lang="lua"> string button, string state, int absoluteX, int absoluteY, bool isCoolingDown </syntaxhighlight> *'''button''': the name of the button which will be clicked , it can be ''left'', ''right'', ''middle''. *'''state''': a s...")
  • 10:49, 24 December 2022 Thisdp talk contribs created page Template:DGS Plugin/Tooltips (Created page with " *dgsCreateToolTip *dgsTooltipApplyTo *dgsTooltipRemoveFrom")
  • 14:00, 3 November 2022 Thisdp talk contribs created page DgsWindowGetTextSize (Created page with "{{Client function}} __NOTOC__ This function retrieves the theoretical width and height (in pixels) of a certain piece of title text of dgs window. ==Syntax== <syntaxhighlight lang="lua"> float, float dgsWindowGetTextSize( element theWindow ) </syntaxhighlight> ===Required Arguments=== *'''theWindow:''' The window of whose text you wish to retrieve the width and height. ===Returns=== Returns two floats representing the width and height of the text in pixels. ==Examp...")
  • 13:55, 3 November 2022 Thisdp talk contribs created page DgsWindowGetFontHeight (Created page with "{{Client function}} __NOTOC__ This function returns the height of the font currently used in title text of a DGS window. ==Syntax== <syntaxhighlight lang="lua"> float dgsWindowGetFontHeight ( element theWindow ) </syntaxhighlight> ===Required Arguments=== *'''theWindow:''' The window to get the font height from. ===Returns=== Returns the absolute height of the font currently used in the window if the function is successful, ''false'' otherwise. ==Example== This ex...")
  • 13:52, 3 November 2022 Thisdp talk contribs created page DgsButtonGetFontHeight (Created page with "{{Client function}} __NOTOC__ This function returns the height of the font currently used in a DGS button. ==Syntax== <syntaxhighlight lang="lua"> float dgsButtonGetFontHeight ( element theButton ) </syntaxhighlight> ===Required Arguments=== *'''theButton:''' The button to get the font height from. ===Returns=== Returns the absolute height of the font currently used in the button if the function is successful, ''false'' otherwise. ==Example== This example creates...")
  • 13:51, 3 November 2022 Thisdp talk contribs created page DgsButtonGetTextExtent (Created page with "{{Client function}} __NOTOC__ This function returns the extent, or width, of the current text inside a DGS button. ==Syntax== <syntaxhighlight lang="lua"> float dgsButtonGetTextExtent ( element theButton ) </syntaxhighlight> ===Required Arguments=== *'''theButton:''' The button to get the text extent from. ===Returns=== Returns the absolute width of the current text inside the button if the function is successful, ''false'' otherwise. ==Example== This example crea...")
  • 13:50, 3 November 2022 Thisdp talk contribs created page DgsButtonGetTextSize (Created page with "{{Client function}} __NOTOC__ This function retrieves the theoretical width and height (in pixels) of a certain piece of text of dgs button. ==Syntax== <syntaxhighlight lang="lua"> float, float dgsButtonGetTextSize( element theButton ) </syntaxhighlight> ===Required Arguments=== *'''theButton:''' The button of whose text you wish to retrieve the width and height. ===Returns=== Returns two floats representing the width and height of the text in pixels. ==Example==...")
  • 13:49, 3 November 2022 Thisdp talk contribs created page DgsWindowGetTextExtent (Created page with "{{Client function}} __NOTOC__ This function returns the extent, or width, of the current title text of a DGS window. ==Syntax== <syntaxhighlight lang="lua"> float dgsWindowGetTextExtent ( element theWIndow ) </syntaxhighlight> ===Required Arguments=== *'''theWIndow:''' The window to get the title text extent from. ===Returns=== Returns the absolute width of the the current title text of a DGS window if the function is successful, ''false'' otherwise. ==Example== T...")
  • 15:35, 9 July 2022 Thisdp talk contribs moved page Resource:Dgs to Resource:DGS
  • 15:33, 9 July 2022 Thisdp talk contribs moved page DgsEditSetWhiteList to DgsEditSetTextFilter
  • 16:52, 11 April 2022 Thisdp talk contribs created page DGS Style System (Created page with "==<span style="color:#000000;text-shadow:0.05em 0.05em 0.2em #00000099;">Description</span>== *DGS Style System is another way to change the colors or images of the DGS elements to be created except for the use of dgsSetproperty. *DGS Style System has a '''Default ''' style that will be loaded on start. The '''Default''' style is '''not''' recommended to modify, because '''/updatedgs''' will override your changes.")
  • 13:26, 5 April 2022 Thisdp talk contribs created page DgsComboBoxGetItemData (Created page with "{{Client function}} This function gets an Item Data associated to a combo box item. ==Syntax== <syntaxhighlight lang="lua"> mixed dgsComboBoxGetItemData ( element combobox, int itemIndex ) </syntaxhighlight> ===Required Arguments=== *'''combobox:''' the combobox containing the item you're interested in. *'''itemIndex:''' the item index of the item. ===Returns=== Returns the item data of the specified item, ''false'' otherwise. ==Example== This example displays a...")
  • 17:29, 23 March 2022 Thisdp talk contribs created page DgsIsDragNDropData (Created page with "__NOTOC__ {{Client function}} This function checks whether there is some data holding on cursor. ==Syntax== <syntaxhighlight lang="lua"> bool dgsIsDragNDropData ( ) </syntaxhighlight> ===Required Arguments=== None ===Returns=== Returns ''true'' if there is some data holding on cursor, ''false'' otherwise ==Example== <syntaxhighlight lang="lua"> loadstring(exports.dgs:dgsImportFunction())()-- load functions local sender = dgsCreateButton(200,200,200,200,"Sender"...")
  • 17:25, 23 March 2022 Thisdp talk contribs created page DgsRetrieveDragNDropData (Created page with "__NOTOC__ {{Client function}} This function retrieves the Drag&Drop data that is holding on cursor. ==Syntax== <syntaxhighlight lang="lua"> bool dgsRetrieveDragNDropData ( [ bool retainData = false ] ) </syntaxhighlight> ===Required Arguments=== None ===Optional Arguments=== *'''retainData''': A bool indicates whether the data will be retain holding or just cleared. ===Returns=== Returns ''true'' if successful, ''false'' otherwise ==Example== <syntaxhighlight l...")
  • 17:16, 23 March 2022 Thisdp talk contribs created page DgsSendDragNDropData (Created page with "__NOTOC__ {{Client function}} This function makes the possibility of transfering '''dynamic''' data between dgs elements by Drag&Drop, which is useful for inventory system. ==Syntax== <syntaxhighlight lang="lua"> bool dgsSendDragNDropData ( mixed dragData [, material preview = nil, int previewColor = tocolor(255,255,255,255), float previewOffsetX = 0, float previewOffsetY = 0, float previewWidth = 20, float previewHeight = 20, string previewHorizontalAlign = "center",...")
  • 16:50, 23 March 2022 Thisdp talk contribs moved page DgsGetDxGUIFromResource to DgsGetElementsFromResource
  • 16:49, 23 March 2022 Thisdp talk contribs moved page DgsGetDxGUINoParent to DgsGetElementsInLayer
  • 06:45, 21 March 2022 Thisdp talk contribs created page Dgs-dxline (Created page with "DGS Properties is always used to change the gui style and make it more fantastic. This page shows the properties of dgs-dxline that you could use. ==Main Functions== *dgsSetProperty *dgsGetProperty ==Properties== ===color=== The color which can be translated by tocolor of the default color of the line. If the color of item is not specified, this color will be used. <syntaxhighlight lang="lua">dgsSetProperty(line,"color",color)</syntaxhighlight> *''...")
  • 06:42, 21 March 2022 Thisdp talk contribs created page Dgs-dx3dline (Created page with "DGS Properties is always used to change the gui style and make it more fantastic. This page shows the properties of dgs-dx3dline that you could use. ==Main Functions== *dgsSetProperty *dgsGetProperty ==Properties== ===color=== The color which can be translated by tocolor of the default color of the 3d line. If the color of item is not specified, this color will be used. <syntaxhighlight lang="lua">dgsSetProperty(line3D,"color",color)</syntaxhighlig...")
  • 15:59, 16 March 2022 Thisdp talk contribs created page DgsLabelGetTextSize (Created page with "{{Client function}} __NOTOC__ This function retrieves the theoretical width and height (in pixels) of a certain piece of text of dgs label. ==Syntax== <syntaxhighlight lang="lua"> float float dgsLabelGetTextSize( element theLabel ) </syntaxhighlight> ===Required Arguments=== *'''theLabel:''' The label of whose text you wish to retrieve the width and height. ===Returns=== Returns two floats representing the width and height of the text in pixels. ==Example== This e...")
  • 16:35, 14 March 2022 Thisdp talk contribs created page DgsComboBoxSetItemData (Created page with "{{Client function}} This function sets an Item Data associated to a combo box item. ==Syntax== <syntaxhighlight lang="lua"> bool dgsComboBoxSetItemData ( element combobox, int itemIndex, mixed data ) </syntaxhighlight> ===Required Arguments=== *'''combobox:''' the combobox containing the item you're interested in. *'''itemIndex:''' the item index of the item. *'''data:''' the data you want to set. ===Returns=== Returns '''true''' if set successfully, ''false'' if...")
  • 17:20, 26 February 2022 Thisdp talk contribs created page DgsSVGGetRawDocument (Created page with "{{Client function}} __NOTOC__ Gets the raw xml data from an svg or an svg node. ==Syntax== <syntaxhighlight lang="lua"> string dgsSVGGetRawDocument( mixed svgNode ) </syntaxhighlight> ===Required Arguments=== *'''svgNode:''' The svg element or the xml node you want to get the raw data from. ===Returns=== * Returns a ''string'' if successful, ''false'' otherwise. ==Example== <section name="Client" class="client" show="true"> <syntaxhighlight lang="lua"> loadstrin...")
  • 12:49, 7 February 2022 Thisdp talk contribs created page DgsLineSetItemColor (Created page with "__NOTOC__ {{Client function}} This function sets the color of an item of dgs line. ==Syntax== <syntaxhighlight lang="lua"> bool dgsLineSetItemColor( element line, int index, int color ) </syntaxhighlight> ===Required Arguments=== *'''line''': The DGS Line element. *'''index''': The item index. *'''color:''' An integer of color (0-‭4294967295‬), use tocolor for converting RGBA to color number. ===Returns=== Returns ''true'' if successful, ''false'' otherwis...")
  • 12:44, 7 February 2022 Thisdp talk contribs created page DgsLineGetItemPosition (Created page with "__NOTOC__ {{Client function}} This function gets the position of an item of dgs line. ==Syntax== <syntaxhighlight lang="lua"> float/nil, float/nil, float, float, bool dgsLineGetItemPosition (element line, int index ) </syntaxhighlight> ===Required Arguments=== *'''line''': The DGS Line element. *'''index''': The item index. ===Returns=== Returns 4 ''float''s and a ''bool'' Or 2 ''nil''s, 2 ''float''s and a ''bool'' indicates the startX, startY, endX, endY and rel...")
  • 12:34, 7 February 2022 Thisdp talk contribs created page DgsLineSetItemPosition (Created page with "__NOTOC__ {{Client function}} This function sets the position of an item of dgs line. ==Syntax== <syntaxhighlight lang="lua"> bool dgsLineSetItemPosition (element line, int index, float startX = previousEndX, float startY = previousEndY, float endX, float endY [, float relative = false ] ) </syntaxhighlight> ===Required Arguments=== *'''line''': The DGS Line element. *'''startX:''' A float of the 2D x position of start position of the line on a player's screen, set...")
  • 10:53, 7 February 2022 Thisdp talk contribs created page DgsScrollBarSetArrowSize (Created page with "{{client function}} This function changes the size of arrow. ==Syntax== <syntaxhighlight lang="lua"> bool dgsScrollBarSetArrowSize( element scrollBar, float size [, bool relative ] ) </syntaxhighlight> thumb|DGS Scroll Detail ===Required Arguments=== *'''scrollBar:''' The dgs scrollbar you want to set arrow size to. *'''size:''' A number of the size of scroll bar's arrow. ===Optional Arguments=== *'''relative:''' This is whether size...")
  • 10:51, 7 February 2022 Thisdp talk contribs created page DgsScrollBarGetArrowSize (Created page with "{{client function}} This function gets the size of arrow. ==Syntax== <syntaxhighlight lang="lua"> float dgsScrollBarGetArrowSize( element scrollBar [, bool relative ] ) </syntaxhighlight> thumb|DGS Scroll Detail ===Required Arguments=== *'''scrollBar:''' The dgs scrollbar you want to get arrow size from. ===Optional Arguments=== *'''relative:''' This is whether sizes and positioning are relative. If this is true, then width must be b...")
  • 10:47, 7 February 2022 Thisdp talk contribs moved page Dgs3DInterfaceGetDimension to Dgs3DGetDimension
  • 10:44, 7 February 2022 Thisdp talk contribs moved page Dgs3DInterfaceSetDimension to Dgs3DSetDimension
  • 10:43, 7 February 2022 Thisdp talk contribs created page Template:DGS 3D Element Functions (Created page with "*dgs3DInterfaceGetPosition *dgs3DInterfaceSetPosition *dgs3DInterfaceGetInterior *dgs3DInterfaceSetInterior *dgs3DInterfaceSetDimension *dgs3DInterfaceGetDimension")
  • 10:42, 7 February 2022 Thisdp talk contribs moved page Dgs3DInterfaceSetInterior to Dgs3DSetInterior
  • 10:41, 7 February 2022 Thisdp talk contribs moved page Dgs3DInterfaceGetInterior to Dgs3DGetInterior
  • 09:54, 7 February 2022 Thisdp talk contribs moved page Dgs3DGetRotation to Dgs3DInterfaceGetRoll
  • 09:53, 7 February 2022 Thisdp talk contribs moved page Dgs3DInterfaceGetRotation to Dgs3DGetRotation
  • 09:52, 7 February 2022 Thisdp talk contribs moved page Dgs3DInterfaceSetRotation to Dgs3DInterfaceSetRoll
  • 09:51, 7 February 2022 Thisdp talk contribs moved page Dgs3DInterfaceSetPosition to Dgs3DSetPosition
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)