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...")
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)