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).
- 16:23, 5 October 2024 Thisdp talk contribs created page Dgs3DInterfaceProcessLineOfSight (Created page with "{{Client function}} __NOTOC__ This function casts a ray through two points to the dgs 3d interface, and tells you information about the point that was hit, if any. ==Syntax== Return values labelled for ease of reference. <syntaxhighlight lang="lua"> bool -- hit float float float -- hitX, hitY, hitZ float float -- hitInterfaceX, hitInterfaceY dgs3DInterfaceProcessLineOfSight ( dgs-3dinterface interface,...")
- 07:51, 5 May 2024 Thisdp talk contribs created page File:DGS Quadrilateral 1.png
- 07:51, 5 May 2024 Thisdp talk contribs uploaded File:DGS Quadrilateral 1.png
- 07:45, 5 May 2024 Thisdp talk contribs created page DgsCreateQuad (Created page with "__NOTOC__ {{Client function}} <span style="color:#FF0000;text-shadow:black 0.1em 0.1em 0.6em;">>>>Warning: This feature requires pixel shader model 2_a<<<</span> This function creates a quadrilateral shader that can be used for dgs elements. ==Syntax== <syntaxhighlight lang="lua"> element dgsCreateQuad( table corners [, int color = 0xFFFFFFFF, texture background = nil, bool colorOverwritten = true ] ) </syntaxhighlight> Image:DGS_Rounded_Rectangle.png|300px|thumb...")
- 11:29, 24 March 2024 Thisdp talk contribs created page Template:DGS Plugin/Quadrilateral Functions (Created page with "*dgsCreateQuad *dgsQuadSetVertices *dgsQuadGetVertices *dgsQuadSetTexture *dgsQuadGetTexture *dgsQuadSetColor *dgsQuadGetColor *dgsQuadSetColorOverwritten *dgsQuadGetColorOverwritten *dgsQuadSetRotation *dgsQuadSetRotation *dgsQuadSetTextureRotation *dgsQuadGetTextureRotation")
- 10:48, 10 March 2024 Thisdp talk contribs created page DgsEditAutoCompleteAddParameterFunction (Created page with "__NOTOC__ {{Client function}} This function adds the advanced usage of dgs edit auto complete, which can be used as dynamic auto complete. ==Syntax== <syntaxhighlight lang="lua"> element dgsEditAutoCompleteAddParameterFunction( string parameterType, string functionCode ) </syntaxhighlight> ===Required Arguments=== *'''parameterType:''' A string of the parameter type you want to attach. *'''functionCode :''' A string of the function that you want to execute. ===Ret...")
- 02:43, 15 November 2023 Thisdp talk contribs created page DgsGradientSetColor (Created page with "__NOTOC__ {{Client function}} This function sets the color of the dgs gradient plugin. ==Syntax== <syntaxhighlight lang="lua"> bool dgsGradientSetColor( element gradShader, int colorFrom, int colorTo ) </syntaxhighlight> ===Required Arguments=== *'''gradShader:''' The dgs gradient you want to set. *'''colorFrom''': Gradient color 1. ( Left side when '''rotation''' is 0 ) *'''colorTo ''': Gradient color 2. ( Right side when '''rotation''' is 0 ) ===Returns=== Return...")
- 03:00, 3 September 2023 Thisdp talk contribs created page DgsCircleGetColor (Created page with "__NOTOC__ {{Client function}} This function gets the color of the dgs circle. ==Syntax== <syntaxhighlight lang="lua"> int dgsCircleGetColor( element circle ) </syntaxhighlight> ===Required Arguments=== *'''rndRect:''' A dgs circle element. ===Returns=== Returns an ''int'' value of the color if successful, ''false'' otherwise. ==Example== <syntaxhighlight lang="lua"> DGS = exports.dgs --get exported functions from dgs function fromcolor(int) --from color local...")
- 02:59, 3 September 2023 Thisdp talk contribs created page DgsCircleSetColor (Created page with "__NOTOC__ {{Client function}} This function sets the color of the dgs circle. ==Syntax== <syntaxhighlight lang="lua"> bool dgsCircleSetColor( element circle, int color ) </syntaxhighlight> ===Required Arguments=== *'''circle:''' A dgs-dxcircle plugin that you want to change. *'''color:''' An int of the color of the dgs circle. ===Returns=== Returns ''true'' if successful, ''false'' otherwise. ==Example== <syntaxhighlight lang="lua"> DGS = exports.dgs --get expor...")
- 02:56, 3 September 2023 Thisdp talk contribs created page DgsCircleGetTextureRotation (Created page with "__NOTOC__ {{Client function}} This function gets the texture rotation from the dgs circle. ==Syntax== <syntaxhighlight lang="lua"> float, float, float dgsCircleGetTextureRotation( element circle ) </syntaxhighlight> ===Required Arguments=== *'''circle''': A dgs-dxcircle plugin. ===Returns=== Returns 3 ''floats'' indicates '''rotation degree''', '''rotation center x''' and '''rotation center y''' if successful, ''false'' otherwise. ==Example== <syntaxhighlight la...")
- 02:52, 3 September 2023 Thisdp talk contribs created page DgsCircleGetDirection (Created page with "__NOTOC__ {{Client function}} This function gets the direction from dgs circle. ==Syntax== <syntaxhighlight lang="lua"> bool dgsCircleGetDirection( element circle ) </syntaxhighlight> ===Required Arguments=== *'''circle:''' A dgs-dxcircle plugin. ===Returns=== Returns a ''bool'' indicates if dgs circle is anti-clockwise or clockwise. ==Example== <syntaxhighlight lang="lua"> DGS = exports.dgs --get exported functions from dgs local c = DGS:dgsCreateCircle(0.5,0....")
- 02:51, 3 September 2023 Thisdp talk contribs created page DgsCircleSetDirection (Created page with "__NOTOC__ {{Client function}} This function sets the direction of dgs circle. ==Syntax== <syntaxhighlight lang="lua"> bool dgsCircleSetDirection( element circle, bool direction ) </syntaxhighlight> ===Required Arguments=== *'''circle:''' A dgs-dxcircle plugin. *'''direction : ''' A bool indicates if dgs circle is anti-clockwise or clockwise. **''true:'' anti-clockwise **''false:'' clockwise ===Returns=== Returns a ''true'' if successful, ''false'' otherwise ==Exa...")
- 02:31, 3 September 2023 Thisdp talk contribs created page DgsCircleSetAngle (Created page with "__NOTOC__ {{Client function}} This function sets the angle of dgs circle. ==Syntax== <syntaxhighlight lang="lua"> bool dgsCircleSetAngle( element circle, float rotation ) </syntaxhighlight> ===Required Arguments=== *'''circle:''' A dgs-dxcircle plugin. *'''angle: ''' A float of the angle in degrees. ===Returns=== Returns a ''true'' if successful, ''false'' otherwise ==Example== <syntaxhighlight lang="lua"> DGS = exports.dgs --get exported functions from dgs loc...")
- 02:29, 3 September 2023 Thisdp talk contribs created page DgsCircleGetRotation (Created page with "__NOTOC__ {{Client function}} This function gets the rotation from dgs circle. ==Syntax== <syntaxhighlight lang="lua"> float dgsCircleGetRotation( element circle ) </syntaxhighlight> ===Required Arguments=== *'''circle:''' A dgs-dxcircle plugin. ===Returns=== Returns a ''float'' indicates the rotation of dgs circle, ''false'' otherwise. ==Example== <syntaxhighlight lang="lua"> DGS = exports.dgs --get exported functions from dgs local c = DGS:dgsCreateCircle(0.5...")
- 02:28, 3 September 2023 Thisdp talk contribs created page DgsCircleGetAngle (Created page with "__NOTOC__ {{Client function}} This function gets the rotation from dgs circle. ==Syntax== <syntaxhighlight lang="lua"> float dgsCircleGetRotation( element circle ) </syntaxhighlight> ===Required Arguments=== *'''circle:''' A dgs-dxcircle plugin. ===Returns=== Returns a ''float'' indicates the rotation of dgs circle, ''false'' otherwise. ==Example== <syntaxhighlight lang="lua"> DGS = exports.dgs --get exported functions from dgs local c = DGS:dgsCreateCircle(0.5...")
- 02:27, 3 September 2023 Thisdp talk contribs created page DgsCircleSetRotation (Created page with "__NOTOC__ {{Client function}} This function sets the rotation of dgs circle. ==Syntax== <syntaxhighlight lang="lua"> bool dgsCircleSetRotation( element circle, float rotation ) </syntaxhighlight> ===Required Arguments=== *'''circle:''' A dgs-dxcircle plugin. *'''rotation : ''' A float of the rotation in degrees. ===Returns=== Returns a ''true'' if successful, ''false'' otherwise ==Example== <syntaxhighlight lang="lua"> DGS = exports.dgs --get exported functions...")
- 02:42, 30 August 2023 Thisdp talk contribs created page GetColorFilter (Created page with "__NOTOC__ {{Client function}} {{Added feature/item|3.0161|1.6.0|22188|This function is used to get the values of color filtering.}} {{Tip|Normally the game is adding these colors to a screen to simulate weather effects. Sometimes it can be important to disable these effects. You can get rid of the effects by calling setColorFilter with zero values.}} ==Syntax== <syntaxhighlight lang="lua"> int, int, int, int, int, int, int, int getColorFilter ( bool isOriginal )...")
- 11:40, 15 August 2023 Thisdp talk contribs created page DgsComboBoxSetItemBackGroundColor (Created page with "{{Client function}} This function sets the background color of a specific item of the combo box. ==Syntax== <syntaxhighlight lang="lua"> bool dgsComboBoxSetItemBackGroundColor( element comboBox, int itemIndex, texture imageDefault, texture imageHoving, texture imageSelected ) </syntaxhighlight> ===Required Arguments=== *'''comboBox:''' the combo box that you want to operate. *'''itemIndex:''' An integer of the item index. *'''colorDefault:''' An integer of the colo...")
- 11:37, 15 August 2023 Thisdp talk contribs created page DgsComboBoxGetItemBackGroundColor (Created page with "{{Client function}} This function gets the background color of a specific item of the combo box. ==Syntax== <syntaxhighlight lang="lua"> int, int, int dgsComboBoxGetRowBackGroundColor( element comboBox, int itemIndex ) </syntaxhighlight> ===Required Arguments=== *'''comboBox:''' the combo box that you want to operate. *'''itemIndex:''' An integer of the item index. ===Returns=== Returns 3 integers if exist are '''colorDefault''', '''colorHoving''', '''colorSelecte...")
- 11:34, 15 August 2023 Thisdp talk contribs created page DgsComboBoxGetItemBackGroundImage (Created page with "{{Client function}} This function gets the background texture of a specific item of the combo box. ==Syntax== <syntaxhighlight lang="lua"> texture/nil, texture/nil, texture/nil dgsComboBoxGetItemBackGroundImage( element comboBox, int itemIndex ) </syntaxhighlight> ===Required Arguments=== *'''comboBox:''' the combo box that you want to operate. *'''itemIndex:''' An integer of the item index. ===Returns=== Returns 3 textures if exist are '''imageDefault''', '''imag...")
- 11:31, 15 August 2023 Thisdp talk contribs created page DgsComboBoxSetItemBackGroundImage (Created page with "{{Client function}} This function sets the row background texture of the combo box. ==Syntax== <syntaxhighlight lang="lua"> bool dgsComboBoxSetRowBackGroundImage( element comboBox, int itemIndex, texture imageDefault, texture imageHoving, texture imageSelected ) </syntaxhighlight> ===Required Arguments=== *'''comboBox:''' the combo box that you want to operate. *'''itemIndex:''' An integer of the item index. *'''imageDefault:''' An integer of the image of the item...")
- 07:52, 12 August 2023 Thisdp talk contribs created page File:DGS Menu 1.png
- 07:52, 12 August 2023 Thisdp talk contribs uploaded File:DGS Menu 1.png
- 07:40, 12 August 2023 Thisdp talk contribs created page DgsCreateMenu (Created page with "__NOTOC__ {{Client function}} frame|Example DGS Menu. This function is for creating a DGS menu. DGS menu is '''invisible''' by default. To show menu, use dgsMenuShow. ==Syntax== <syntaxhighlight lang="lua"> element dgsCreateMenu( float x, float y, float width, float height, bool relative [, element parent = nil ] ) </syntaxhighlight> ===Required Arguments=== *'''x:''' A float of the 2D x position of the DGS menu on a player's screen. This i...")
- 07:35, 12 August 2023 Thisdp talk contribs created page OnDgsMenuHover (Created page with "{{Client event}} __NOTOC__ This event is fired when cursor enters an item of a DGS menu. ==Parameters== <syntaxhighlight lang="lua"> dgs-dxmenu subMenu, integer itemUniqueIndex </syntaxhighlight> * '''subMenu''': The sub dgs-dxmenu that the item in. * '''itemUniqueIndex''': The item id. ==Source== The source of this event is the root dgs menu element. ==Example== <syntaxhighlight lang="lua"> DGS = exports.dgs local menu = DGS:dgsCreat...")