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)
  • 07:34, 12 August 2023 Thisdp talk contribs created page OnDgsMenuSelect (Created page with "{{Client event}} __NOTOC__ This event is fired when the item of a DGS menu is clicked. ==Parameters== <syntaxhighlight lang="lua"> dgs-dxmenu subMenu, integer itemUniqueIndex </syntaxhighlight> * '''subMenu''': The sub dgs-dxmenu that the item in. * '''previous''': The item id that last selected. ==Source== The source of this event is the root dgs menu element. ==Example== <syntaxhighlight lang="lua"> DGS = exports.dgs local menu = DG...")
  • 07:29, 12 August 2023 Thisdp talk contribs created page Template:DGS Events/Menu (Created page with "*onDgsMenuHover *onDgsMenuSelect")
  • 07:25, 12 August 2023 Thisdp talk contribs created page Template:DGS Menu Functions (Created page with "*dgsCreateMenu *dgsMenuShow *dgsMenuHide *dgsMenuAddItem *dgsMenuSetItemCommand *dgsMenuGetItemCommand *dgsMenuSetItemText *dgsMenuGetItemText *dgsMenuSetItemTextSize *dgsMenuGetItemTextSize *dgsMenuSetItemColor *dgsMenuGetItemColor *dgsMenuAddSeparator *dgsMenuRemoveItem")
  • 10:39, 5 August 2023 Thisdp talk contribs created page DgsComboBoxRemoveItemImage (Created page with "{{Client function}} This function remove the image from the combo box item. ==Syntax== <syntaxhighlight lang="lua"> bool dgsComboBoxRemoveItemImage( element comboBox, int itemIndex ) </syntaxhighlight> ===Required Arguments=== *'''comboBox:''' the combo box containing the item you're interested in. *'''itemIndex:''' An integer of the index of the item. ===Returns=== Returns '''true''' if set successfully, ''false'' if one of the arguments was invalid. ==Example==...")
  • 10:37, 5 August 2023 Thisdp talk contribs created page DgsComboBoxGetItemImage (Created page with "{{Client function}} This function gets the image from a combo box item. ==Syntax== <syntaxhighlight lang="lua"> texture, int, float, float, float, float dgsComboBoxGetItemImage( element comboBox, int itemIndex ) </syntaxhighlight> ===Required Arguments=== *'''comboBox:''' the combo box containing the item you're interested in. *'''itemIndex:''' An integer of the index of the item. ===Returns=== Returns texture, Color, PosX, PosY, Width, Height if success , ''false'...")
  • 10:35, 5 August 2023 Thisdp talk contribs created page DgsComboBoxSetItemImage (Created page with "{{Client function}} This function sets the image on a combo box item. ==Syntax== <syntaxhighlight lang="lua"> bool dgsComboBoxSetItemImage( element comboBox, int itemIndex, element texture [, int color = 0xFFFFFFFF, float offsetX = 0, float offsetY = 0, float width, float height, bool relative ] ) </syntaxhighlight> ===Required Arguments=== *'''comboBox:''' the combo box containing the item you're interested in. *'''itemIndex:''' An integer of the index of the item...")
  • 11:51, 11 February 2023 Thisdp talk contribs created page OnDgsElementLeave (Created page with "{{Client event}} __NOTOC__ This event is fired when the user moves the mouse away from a DGS element even this DGS element is blocked by other DGS elements. '''But you have to set property enableFullEnterLeaveCheck of the DGS element to ''true'''''. ==Parameters== <syntaxhighlight lang="lua"> int absoluteX, int absoluteY </syntaxhighlight> * '''absoluteX''': the X position of the mouse cursor, in pixels, measured from the left side of the screen. * '''absoluteY'...")
  • 11:49, 11 February 2023 Thisdp talk contribs created page OnDgsElementEnter (Created page with "{{Client event}} __NOTOC__ This event is fired when the user moves the mouse over a DGS element even this DGS element is blocked by other DGS elements. '''But you have to set property enableFullEnterLeaveCheck of the DGS element to ''true'''''. ==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. * '...")
  • 15:59, 5 February 2023 Thisdp talk contribs created page DgsRadioButtonGetButtonAlign (Created page with "{{Client function}} __NOTOC__ This function gets the alignment of the button of a dgs radio button. ==Syntax== <syntaxhighlight lang="lua"> string dgsRadioButtonGetButtonAlign ( dgsRadioButton ) </syntaxhighlight> ===Required Arguments=== *'''radioButton:''' The dgs radio button. ===Returns=== Returns a ''string'' indicates the alignment of the button of a dgs radio button if successful, ''false'' otherwise. Valid type strings are: **"left": The dgs radio button wi...")
  • 15:54, 5 February 2023 Thisdp talk contribs created page DgsRadioButtonGetButtonSide (Created page with "{{Client function}} __NOTOC__ This function gets the side of the button of a dgs radio button. ==Syntax== <syntaxhighlight lang="lua"> string dgsRadioButtonGetButtonSide ( dgsRadioButton [, string side = "left" ] ) </syntaxhighlight> ===Required Arguments=== *'''radioButton:''' The dgs radio button. ===Returns=== Returns a ''string'' indicates side of the button if successful, ''false'' otherwise. Valid type strings are: *"left": The dgs radio button will be placed i...")
  • 15:49, 5 February 2023 Thisdp talk contribs created page DgsCheckBoxGetButtonSide (Created page with "{{Client function}} __NOTOC__ This function gets the side of the button of a dgs check box. ==Syntax== <syntaxhighlight lang="lua"> string dgsCheckBoxGetButtonSide ( dgsCheckBox [, string side = "left" ] ) </syntaxhighlight> ===Required Arguments=== *'''checkBox:''' The dgs check box. ===Returns=== Returns a ''string'' indicates side of the button if successful, ''false'' otherwise. Valid type strings are: **"left": The dgs check box will be placed in the left side o...")
  • 15:47, 5 February 2023 Thisdp talk contribs created page DgsRadioButtonSetButtonSide (Created page with "{{Client function}} __NOTOC__ This function sets the side of the button of a dgs radio button. ==Syntax== <syntaxhighlight lang="lua"> bool dgsRadioButtonSetButtonSide ( dgsRadioButton [, string side = "left" ] ) </syntaxhighlight> ===Required Arguments=== *'''checkBox:''' The dgs radio button. *'''side:''' The side of the button of the dgs radio button is placed. Valid type strings are: **"left": The dgs radio button will be placed in the left side of the text. **"ri...")
  • 15:41, 5 February 2023 Thisdp talk contribs created page DgsCheckBoxSetButtonSide (Created page with "{{Client function}} __NOTOC__ This function sets the side of the button of a dgs check box. ==Syntax== <syntaxhighlight lang="lua"> bool dgsCheckBoxSetButtonSide ( dgsCheckBox [, string side = "left" ] ) </syntaxhighlight> ===Required Arguments=== *'''checkBox:''' The dgs check box. *'''side:''' The side of the button of the dgs check box is aligned to. Valid type strings are: **"left": The dgs check box will be placed at the left side of the text. **"right": The dgs...")
  • 15:35, 5 February 2023 Thisdp talk contribs created page DgsRadioButtonSetButtonAlign (Created page with "{{Client function}} __NOTOC__ This function sets the alignment of the button of a dgs radio button. ==Syntax== <syntaxhighlight lang="lua"> bool dgsRadioButtonSetButtonAlign ( dgsRadioButton [, string side = "left"] ) </syntaxhighlight> ===Required Arguments=== *'''radioButton:''' The dgs radio button to set the vertical alignment. *'''side:''' The side the dgs radio button's button is aligned to. Valid type strings are: **"left": The dgs radio button will be aligne...")
  • 13:43, 29 January 2023 Thisdp talk contribs moved page AR/Resource:Dgs to AR/Resource:DGS
  • 13:43, 29 January 2023 Thisdp talk contribs moved page Talk:PL/Resource:Dgs to Talk:PL/Resource:DGS
  • 13:43, 29 January 2023 Thisdp talk contribs moved page PL/Resource:Dgs to PL/Resource:DGS
  • 13:43, 29 January 2023 Thisdp talk contribs moved page Talk:ZH-CN/Resource:Dgs to Talk:ZH-CN/Resource:DGS
  • 13:43, 29 January 2023 Thisdp talk contribs moved page ZH-CN/Resource:Dgs to ZH-CN/Resource:DGS
  • 12:08, 29 January 2023 Thisdp talk contribs moved page Talk:PL/Dgs to Talk:PL/Resource:Dgs
  • 12:08, 29 January 2023 Thisdp talk contribs moved page PL/Dgs to PL/Resource:Dgs
  • 12:05, 29 January 2023 Thisdp talk contribs moved page Talk:ZH-CN/Dgs to Talk:ZH-CN/Resource:Dgs
  • 12:05, 29 January 2023 Thisdp talk contribs moved page ZH-CN/Dgs to ZH-CN/Resource:Dgs
  • 12:04, 29 January 2023 Thisdp talk contribs created page AR/Resource:Dgs (Created page with "1")
  • 12:32, 13 January 2023 Thisdp talk contribs created page OnDgsKey (Created page with "{{Client event}} __NOTOC__ This event will be triggered when any key is pressed with a DGS element focused. ==Parameters== * '''button''': This refers the button pressed. See key names for a list of keys. * '''pressOrRelease''': This refers to whether they were pressing or releasing the key, ''true'' when pressing, ''false'' when releasing. ==Source== The source of this event is the DGS element which is focused. ==Example== <syntax...")
  • 12:13, 10 January 2023 Thisdp talk contribs created page DgsLineGetItemWidth (Created page with "__NOTOC__ {{Client function}} This function gets the width of an item of DGS Line. ==Syntax== <syntaxhighlight lang="lua"> float dgsLineGetItemWidth( element line, int index ) </syntaxhighlight> ===Required Arguments=== *'''line''': The DGS Line. *'''index''': The item index. ===Returns=== Returns a ''float'' indicates the width of the item if successful, ''false'' otherwise ==Example== <syntaxhighlight lang="lua"> DGS = exports.dgs local line = DGS:dgsCreateLi...")
  • 12:12, 10 January 2023 Thisdp talk contribs created page DgsLineSetItemWidth (Created page with "__NOTOC__ {{Client function}} This function sets the width of an item of DGS Line. ==Syntax== <syntaxhighlight lang="lua"> bool dgsLineSetItemColor( element line, int index, int width ) </syntaxhighlight> ===Required Arguments=== *'''line''': The DGS Line. *'''index''': The item index. *'''width:''' A float of the width of the item. ===Returns=== Returns ''true'' if successful, ''false'' otherwise ==Example== <syntaxhighlight lang="lua"> DGS = exports.dgs local...")
  • 12:02, 10 January 2023 Thisdp talk contribs created page DgsLineGetItemColor (Created page with "__NOTOC__ {{Client function}} This function gets the color of an item of DGS Line. ==Syntax== <syntaxhighlight lang="lua"> int dgsLineSetItemColor( element line, int index ) </syntaxhighlight> ===Required Arguments=== *'''line''': The DGS Line. *'''index''': The item index. ===Returns=== Returns an ''integer'' indicates the color of the item if successful, ''false'' otherwise. ==Example== <syntaxhighlight lang="lua"> DGS = exports.dgs local line = DGS:dgsCreate...")
  • 12:00, 10 January 2023 Thisdp talk contribs created page Dgs3DLineGetItemWidth (Created page with "__NOTOC__ {{Client function}} This function gets the width of the specified item of DGS 3D Line. ==Syntax== <syntaxhighlight lang="lua"> bool dgs3DLineGetItemWidth( element line3D, int index ) </syntaxhighlight> ===Required Arguments=== *'''line3D''': The DGS 3D Line. *'''index''': The item index of DGS 3D Line. ===Returns=== Returns an ''float'' indicates the width of the item if successful, ''false'' otherwise. ==Example== <syntaxhighlight lang="lua"> DGS = ex...")
  • 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 created page File:DGSTooltipExample.png
  • 11:09, 24 December 2022 Thisdp talk contribs uploaded 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==...")
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)