Search results

Jump to navigation Jump to search
  • ==Related scripting functions== {{Client player functions}}
    548 bytes (34 words) - 20:10, 14 April 2021
  • ...reateWeapon|createWeapon]] can be manipulated with the following scripting functions. The element type of this class is '''"weapon"'''.
    405 bytes (53 words) - 10:49, 15 April 2021
  • The sound element represents a custom sound sent to the client via the use of the file parame ...und3D]] or [[playSound]] and can be manipulated with the following element functions:.
    687 bytes (96 words) - 22:03, 14 April 2021
  • The element type of this class is '''"player"'''. ==Related scripting functions==
    560 bytes (75 words) - 20:12, 14 April 2021
  • The sound element represents a custom sound sent to the client via the use of the file parame ...und3D]] or [[playSound]] and can be manipulated with the following element functions:.
    689 bytes (96 words) - 17:50, 18 July 2018
  • The element type of this class is '''"db-connection"'''. ==Related scripting functions==
    157 bytes (20 words) - 20:51, 19 April 2021
  • The element type of this class is '''"gui-window"'''. ==Related scripting functions==
    481 bytes (75 words) - 19:10, 14 April 2021
  • ==Related scripting functions== {{Client weapon creation functions hu}}
    528 bytes (76 words) - 10:50, 15 April 2021
  • The element type of this class is '''"building"'''. ==Related scripting functions==
    373 bytes (50 words) - 16:44, 21 April 2024
  • ...class represents GUI tabs in MTA's GUI system. These highly rely on GUI [[Element/GUI/Tab panel|tab panels]] as they only can be created to them. The element type of this class is '''"gui-tab"'''.
    425 bytes (70 words) - 19:03, 14 April 2021
  • ...s from the Deathmatch mod. To request a function or event, use [[Requested Functions and Events]] For more functions, check the [[Useful_Functions|useful functions page]].
    2 KB (212 words) - 23:30, 29 April 2024
  • ==Related scripting functions== [[en:Element/TXD]]
    411 bytes (61 words) - 21:34, 14 April 2021
  • The element type of this class is '''"gui-checkbox"'''. ==Related scripting functions==
    377 bytes (53 words) - 18:00, 14 April 2021
  • ==Related scripting functions== [[en:Element/TXD]]
    280 bytes (40 words) - 21:33, 14 April 2021
  • ...em. These can be checked or unchecked and work quite similiar as the GUI [[Element/GUI/Checkbox|checkboxes]]. The element type of this class is '''"gui-radiobutton"'''.
    476 bytes (70 words) - 18:28, 14 April 2021
  • The element type of this class is '''"gui-combobox"'''. ==Related scripting functions==
    409 bytes (60 words) - 18:05, 14 April 2021
  • ...ss that can represent almost all in-game [[entity|entities]]. The built-in element types are: Any other element type can be created as an abstract element, not referring to any game [[entity]]. For example, '''resource''' and '''m
    1 KB (180 words) - 08:12, 24 October 2022
  • ...ent/GUI/Tab|tabs]] and highly rely on them. It is recommended to use GUI [[Element/GUI/Window|windows]] if you are not adding tabs to a tab panel. The element type of this class is '''"gui-tabpanel"'''.
    549 bytes (91 words) - 18:59, 14 April 2021
  • ...xt fields to what you can type text by default. It is recommended to use [[Element/GUI/Edit_field|edit fields]] for smaller text inputting. The element type of this class is '''"gui-memo"'''.
    473 bytes (76 words) - 18:20, 14 April 2021
  • ...l class represents a source of renderable information which can be used in functions such as [[dxDrawImage]], [[dxDrawImageSection]] and [[dxDrawMaterialSection [[en:Element/Material]]
    343 bytes (41 words) - 21:57, 14 April 2021
  • ...alapértelmezetten írhat szövegeket. A kisebb szövegekhez javasoljuk a [[HU/Element/GUI/Edit field|szerkesztési mezők]] használatát. ==Related scripting functions==
    628 bytes (98 words) - 18:20, 14 April 2021
  • ...d and set by script. These are built by default to certain GUI elements ([[Element/GUI/Gridlist|gridlists]]) if they exceed the given size. The element type of this class is '''"gui-scrollbar"'''.
    549 bytes (82 words) - 18:32, 14 April 2021
  • The element type of this class is '''"gui-staticimage"'''. ==Related scripting functions==
    432 bytes (64 words) - 18:54, 14 April 2021
  • The element type of this class is '''"gui-label"'''. ==Related scripting functions==
    391 bytes (61 words) - 19:07, 14 April 2021
  • Any other element type can be created as an abstract element, not referring to any game [[entity]]. For example, '''resource''' and '''m ...or some elements which can't be destroyed, for example client elements), [[element data]] storing and retrieval, and many more common operations.
    1 KB (191 words) - 19:53, 14 April 2021
  • The element type of this class is '''"gui-gridlist"'''. ==Related scripting functions==
    491 bytes (72 words) - 18:15, 14 April 2021
  • ...álói felületben megjelenő lapokat jelenti. Ezek nagyban függnek a GUI [[HU/Element/GUI/Tab panel|tab panelektől]], mert csak azokban lehet létrehozni őket. ==Related scripting functions==
    575 bytes (92 words) - 19:04, 14 April 2021
  • The element type of this class is '''"gui-button"'''. ==Related scripting functions==
    391 bytes (58 words) - 17:40, 14 April 2021
  • ...hich also contains underlying XML data that can be manipulated via several functions. ==Related scripting functions==
    192 bytes (27 words) - 17:52, 26 September 2021
  • This functions checks if certain element has call propagation enabled. <syntaxhighlight lang="lua">bool isElementCallPropagationEnabled ( element theElement )</syntaxhighlight>
    587 bytes (63 words) - 14:31, 1 January 2015
  • This function gets whether current resource enables DGS element keeper. What is DGS Element Keeper?
    1 KB (137 words) - 23:22, 3 May 2021
  • ==Related scripting functions== [[en:Element/GUI/Checkbox]]
    528 bytes (78 words) - 18:00, 14 April 2021
  • ...em. These can be checked or unchecked and work quite similiar as the GUI [[Element/GUI/Checkbox|checkboxes]]. ==Related scripting functions==
    591 bytes (87 words) - 18:29, 14 April 2021
  • ...gével. Ezek alapértelmezetten az egyes GUI elemekhez vannak hozzáépítve ([[Element/GUI/Gridlist|gridlists]]), ha meghaladják az adott méretet. ==Related scripting functions==
    740 bytes (114 words) - 18:32, 14 April 2021
  • A hangelemeket még más [[Template:Client audio functions hu|kliens audió függvények]] használatával is manipulálhatja. ==Related scripting functions==
    915 bytes (144 words) - 22:03, 14 April 2021
  • ==Related scripting functions== [[en:Element/Browser]]
    375 bytes (47 words) - 11:16, 15 April 2021
  • The element type of this class is '''"gui-progressbar"'''. ==Related scripting functions==
    470 bytes (71 words) - 18:23, 14 April 2021
  • ==Related scripting functions== [[en:Element/GUI/Combobox]]
    558 bytes (84 words) - 18:05, 14 April 2021
  • {{Client player functions}} {{Player functions}}
    575 bytes (76 words) - 20:23, 24 February 2022
  • The element type of this class is '''"gui-edit"'''. ==Related scripting functions==
    482 bytes (78 words) - 18:10, 14 April 2021
  • ...elületben megjelenő paneleket jelenti. These are just layouts for GUI [[HU/Element/GUI/Tab|tabs]] and highly rely on them. A GUI-ablakok használata akkor jav ==Related scripting functions==
    656 bytes (104 words) - 18:59, 14 April 2021
  • ...scripting functions that have been implemented and are available as native functions from the Deathmatch mod. To request a function, create an issue in [https:/ For more functions, check the [[Useful_Functions|useful functions page]].
    2 KB (269 words) - 21:33, 29 April 2024
  • ==Related scripting functions== [[en:Element/GUI/Button]]
    536 bytes (84 words) - 17:41, 14 April 2021
  • ==Related scripting functions== [[en:Element/GUI/Gridlist]]
    652 bytes (101 words) - 18:16, 14 April 2021
  • ==Related scripting functions== [[en:Element/GUI/Text label]]
    536 bytes (84 words) - 19:07, 14 April 2021
  • ==Related scripting functions== [[en:Element/Browser]]
    381 bytes (49 words) - 11:16, 15 April 2021
  • The element type of this class is '''"texture"'''. Texture elements are created by the following functions:
    467 bytes (59 words) - 22:00, 14 April 2021
  • ==Account functions== ==ACL functions==
    3 KB (285 words) - 12:38, 16 January 2022
  • ==Related scripting functions== [[en:Element/GUI/Edit field]]
    638 bytes (105 words) - 18:11, 14 April 2021
  • ==Related scripting functions== [[en:Element/GUI/Progress bar]]
    625 bytes (99 words) - 18:23, 14 April 2021
  • This function allows you to make a specific element destroy with a dgs element. bool dgsAttachToAutoDestroy( element sourceElement, element dgsElement )
    1 KB (135 words) - 21:37, 3 May 2021
  • ==Related scripting functions== [[en:Element/GUI/Static image]]
    574 bytes (91 words) - 18:54, 14 April 2021
  • This function will enable/disable DGS element keeper. What is DGS Element Keeper?
    1 KB (169 words) - 23:21, 3 May 2021
  • ==Related scripting functions== [[en:Element/GUI/Window]]
    668 bytes (107 words) - 19:10, 14 April 2021
  • ==Related scripting functions== [[en:Element/GUI/Scrollpane]]
    383 bytes (22 words) - 18:50, 14 April 2021
  • ==Related scripting functions== [[en:Element/GUI/Scrollpane]]
    383 bytes (22 words) - 18:51, 14 April 2021
  • {{Client player functions}} {{Player functions}}
    545 bytes (79 words) - 20:26, 23 March 2018
  • This event is triggered whenever the local player targets an element. element target
    790 bytes (93 words) - 00:06, 2 June 2013
  • ==Related scripting functions== [[en:Element/DFF]]
    644 bytes (107 words) - 21:37, 14 April 2021
  • ==Related scripting functions== [[en:Element/DFF]]
    523 bytes (82 words) - 21:37, 14 April 2021
  • {{Client player functions hu}} {{Player functions hu}}
    740 bytes (114 words) - 20:12, 14 April 2021
  • ...unction allows you to stop the specific element from destroying with a dgs element. bool dgsDetachFromAutoDestroy( element sourceElement, element dgsElement )
    1 KB (145 words) - 21:38, 3 May 2021
  • This event is triggered when an element (like a player or vehicle) enters a collision shape. *'''theShape:''' the colshape that the element entered.
    1 KB (118 words) - 19:55, 21 July 2016
  • This event is triggered when an element (like a player or vehicle) leaves a collision shape. *'''theShape:''' the colshape that the element left.
    1 KB (118 words) - 19:59, 21 July 2016
  • This event is triggered when a physical [[element]] leaves a [[colshape]]. element theElement, bool matchingDimension
    1 KB (125 words) - 22:17, 2 April 2018
  • {{Client player functions}} {{Player functions}}
    662 bytes (85 words) - 20:10, 14 April 2021
  • Ein '''element''' ist eine generische Klasse, die fast alle [[entity|entities]] im Spiel d Jeder andere Elementtyp kann als abstraktes Element erstellt werden, das sich nicht auf eine [[entitiy]] des Spiels bezieht. Di
    1 KB (195 words) - 18:43, 30 June 2022
  • This function focuses a defocused DGS element. Used primarily for edit fields, memos, browser etc. bool dgsFocus ( element dgsElement )
    901 bytes (106 words) - 22:34, 3 May 2021
  • This event is triggered when the local client resizes a GUI element. The [[event system#Event source|source]] of this event is the GUI element that was resized.
    607 bytes (79 words) - 14:31, 20 May 2018
  • ...resource is stopping. It is also triggered when a children element of this element is destroyed. It is not triggered on a player when they quit. The source of this event is the element that is being destroyed.
    951 bytes (127 words) - 15:14, 9 November 2018
  • This function defocuses a focused DGS element. Used primarily for edit fields, memos, browser etc. bool dgsBlur ( element dgsElement )
    953 bytes (112 words) - 22:33, 3 May 2021
  • {{Client player functions hu}} {{Player functions hu}}
    672 bytes (107 words) - 18:53, 7 October 2018
  • {{Client player functions hu}} {{Player functions hu}}
    672 bytes (107 words) - 09:23, 26 October 2018
  • This event is triggered ''after'' an element's [[element data|data]] entry is changed. Such changes can be made on the client or the *'''theKey''': The name of the element data entry that has changed.
    1 KB (166 words) - 12:28, 8 October 2018
  • {{Client player functions}} {{Player functions}}
    642 bytes (90 words) - 20:11, 14 April 2021
  • string/element dgsGetFont ( element dgsElement ) *'''dgsElement:''' The DGS element you wish to get the font of.
    1 KB (189 words) - 21:20, 3 May 2021
  • This function gets the post gui state of a dgs element. bool dgsGetPostGUI( element dgsElement )
    1 KB (118 words) - 21:26, 3 May 2021
  • ...eprezentująca większość [[PL/Entity|podmiotów]] w grze. Wbudowanymi typami elementów są: ...worzone podczas odpalenia skryptu lub mapy, dlatego dopisywane są do grupy elementów podrzędnych.
    1 KB (183 words) - 20:26, 24 February 2022
  • This function checks whether the size handler is added to the dgs element. bool dgsIsSizeHandled( element dgsElement )
    1 KB (126 words) - 23:05, 3 May 2021
  • ...xpensive) way to store distributed information you want associated with an element, for example you could use it to associate a score with a player, or a team ...t special events to do it manually. This also means that excessive use of element data to store variables that are not required by both server and client bec
    2 KB (261 words) - 16:38, 8 April 2024
  • {{IT/Client player functions}} {{IT/Player functions}}
    603 bytes (80 words) - 20:11, 14 April 2021
  • element scrolled * '''scrolled''': the [[Element/GUI/Scrollbar|scrollbar]] element that was scrolled.
    815 bytes (95 words) - 07:11, 13 July 2023
  • The element type of this class is '''"xmlnode"'''. ==Related scripting functions==
    356 bytes (54 words) - 23:15, 12 September 2007
  • A name, state, root element, base directory path are associated to a [[resource]], among other attribut ==Related scripting functions==
    341 bytes (44 words) - 18:01, 14 December 2018
  • ==Related scripting functions== {{Team functions hu}}
    1 KB (179 words) - 10:38, 15 April 2021
  • This function checks whether the move handler is added to the dgs element. bool dgsIsMoveHandled( element dgsElement )
    1 KB (126 words) - 22:54, 3 May 2021
  • This function gets the default dx font element in dgs. Returns a string or an dx font element if successful, ''false'' otherwise.
    819 bytes (94 words) - 22:23, 3 May 2021
  • ...ure/item|3.0157|1.5.6|16404|This event is triggered when the model of an [[element]] is changed using [[setElementModel]].}} * '''oldModel:''' an [[int]] representing the model of the [[element]] before the change occurred.
    1 KB (166 words) - 16:46, 19 June 2021
  • ...create water elements with [[createWater]] or through a &lt;water/&gt; map element. ==Related scripting functions==
    1 KB (183 words) - 18:46, 15 April 2021
  • This event is triggered when a dgs element text has changed (either by the user or by [[dgsSetText]]). element theElement
    752 bytes (94 words) - 13:51, 20 April 2018
  • This event is triggered each time the user moves a GUI element. The [[event system#Event source|source]] of this event is the GUI element which was moved.
    553 bytes (72 words) - 14:31, 20 May 2018
  • This function determines if a DGS element is enabled. bool dgsGetEnabled ( element guiElement )
    1 KB (164 words) - 21:11, 3 May 2021
  • ...create water elements with [[createWater]] or through a &lt;water/&gt; map element. ==Related scripting functions==
    1 KB (185 words) - 18:50, 15 April 2021
  • This event is fired when the user moves the mouse over a DGS element. int absoluteX, int absoluteY, element leftGUI
    999 bytes (142 words) - 13:43, 20 January 2018
  • This event is fired when a [[Element/GUI/Memo|memo]] or an [[Element/GUI/Edit_field|editbox]] has changed (either by the user or by [[guiSetText element theElement
    1 KB (125 words) - 21:40, 20 July 2020
  • This function removes size handler from dgs element. bool dgsRemoveSizeHandler( element dgsElement )
    996 bytes (113 words) - 23:01, 3 May 2021
  • This function is used for setting a DGS element as the parent of another DGS element. bool dgsSetParent( element theElement, element parent )
    1 KB (176 words) - 18:39, 16 April 2021
  • This event is fired when the item of a dgs-dxgui element has been created but before finishing data calculating which is different f The [[event system#Event source|source]] of this event is the dgs-dxgui element that is created.
    714 bytes (90 words) - 13:40, 20 January 2018
  • This event is fired when the item of a dgs-dxgui element has been created but before finishing data calculating which is different f The [[event system#Event source|source]] of this event is the dgs-dxgui element that is created.
    710 bytes (90 words) - 13:41, 20 January 2018
  • {{Client projectile functions}} [[Category:Element Types]]
    526 bytes (67 words) - 10:18, 15 April 2021
  • This function sets the post gui state of a dgs element. bool dgsSetPostGUI( element dgsElement, bool postGUI )
    1 KB (121 words) - 21:27, 3 May 2021
  • This function checks whether an [[element]] is streamable as set by [[setElementStreamable]] or not. bool isElementStreamable ( element theElement )
    1 KB (114 words) - 16:36, 31 May 2020
  • ...e/item|1.5.9|1.5.8|20837|This event is triggered when the interior of an [[element]] is changed using [[setElementInterior]].}} *'''oldInterior''': An [[int]] representing the interior the [[element]] was in before.
    1 KB (115 words) - 21:05, 23 September 2021
  • .../item|1.5.9|1.5.8|20724|This event is triggered when the dimension of an [[element]] is changed using [[setElementDimension]].}} *'''oldDimension''': An [[int]] representing the dimension the [[element]] was in before.
    1 KB (115 words) - 21:00, 23 September 2021
  • ...lable as native functions. To request a function or event, use [[Requested Functions and Events]] or https://bugs.mtasa.com. ...that provide new functionality, such as utility functions. These scripting functions are non-native and require the module to be loaded in order to work.
    3 KB (332 words) - 16:18, 11 April 2021
  • This event is fired when the item of a dgs-dxgui element has been created. The [[event system#Event source|source]] of this event is the dgs-dxgui element that is created.
    630 bytes (80 words) - 13:41, 20 January 2018
  • This event is fired when the item of a dgs-dxgui element has been destroyed. The [[event system#Event source|source]] of this event is the dgs-dxgui element that is destroyed.
    643 bytes (80 words) - 13:42, 20 January 2018
  • This event is fired when the user moves the mouse over a GUI element. int absoluteX, int absoluteY, element leftGUI
    1 KB (143 words) - 12:50, 27 October 2023
  • The element type of this class is '''"radararea"'''. ==Related scripting functions==
    1 KB (148 words) - 10:13, 15 April 2021
  • This function sets the text of a DGS element. bool dgsSetText ( element DGS element, string text )
    2 KB (232 words) - 21:24, 3 May 2021
  • This event is called when a [[Element/GUI/Combobox|combobox]] gets accepted. element theElement
    977 bytes (95 words) - 14:30, 20 May 2018
  • This function removes move handler from dgs element. string dgsRemoveMoveHandler( element dgsElement )
    990 bytes (113 words) - 22:53, 3 May 2021
  • This event is fired when the user moves the mouse away from a DGS element. int absoluteX, int absoluteY, element enteredGUI
    1 KB (152 words) - 11:51, 11 February 2023
  • This function allow us to set the render layer of a dgs element. This function only have effect on a non-parent dgs element unless the '''forceDetatch''' is enabled.
    2 KB (193 words) - 19:05, 3 May 2021
  • ...can be used in the [[Client_Scripting_Functions#Drawing_functions|Drawing functions]]. A DX font is created with [[dxCreateFont]] and can be used as a paramete The element type of this class is '''"dx-font"'''.
    365 bytes (60 words) - 21:53, 14 April 2021
  • This event is fired when the user moves the mouse away from a GUI element. int absoluteX, int absoluteY, element enteredGUI
    1 KB (152 words) - 14:32, 20 May 2018
  • The [[createPed]] function specifically creates an NPC, but all other ped functions work on both players and NPC's as they're pretty much the same thing to San The element type of a NPC is '''"ped"'''.
    1 KB (185 words) - 20:18, 14 April 2021
  • This event is fired when the cursor first stays at a DGS element without moving for a period. int absoluteX, int absoluteY, element leftGUI
    1 KB (146 words) - 11:01, 24 December 2022
  • ...scripting functions that have been implemented and are available as native functions. To request a function, create an issue in [https://github.com/multitheftau ...that provide new functionality, such as utility functions. These scripting functions are non-native and require the module to be loaded in order to work.
    3 KB (358 words) - 12:59, 30 April 2024
  • ...g part of a team is merely a relational connection rather than a change in element hierarchy. To perform logic on all the players of a team you have to use th The element type of this class is: '''"team"'''.
    1 KB (182 words) - 11:17, 15 December 2021
  • This function determines if a DGS element is visible. bool dgsGetVisible ( element guiElement )
    1 KB (160 words) - 21:08, 3 May 2021
  • The element type of this class is '''"marker"'''. ==Related scripting functions==
    1 KB (164 words) - 09:51, 15 April 2021
  • This function sets the font of a dgs element to be used when drawing text. '''a dgs font can be affected by [[dgsSetSyst bool dgsSetFont( element dgsElement, mixed font )
    1 KB (199 words) - 21:19, 3 May 2021
  • This function bring a dgs element to front. bool dgsBringToFront ( element dgsElement )
    1 KB (120 words) - 22:35, 3 May 2021
  • ==Related scripting functions== {{Radar area functions hu}}
    1 KB (195 words) - 10:15, 15 April 2021
  • The element type for this class is '''colshape'''. ==Related scripting functions==
    2 KB (184 words) - 09:58, 15 April 2021
  • ==Related scripting functions== {{Collision shape functions hu}}
    2 KB (228 words) - 19:43, 15 December 2021
  • Aby zażądać funkcji lub zdarzenia, użyj [[Requested Functions and Events]] or https://bugs.mtasa.com. ==Account functions==
    3 KB (344 words) - 11:15, 16 December 2020
  • This event will be triggered continuously when a dgs element is being hovered. * '''tick''': A number indicates how long the dgs element has been hovered in millisecond.
    1 KB (149 words) - 14:14, 31 January 2022
  • This function moves a DGS element to the very back of all other DGS elements. bool dgsMoveToBack ( element dgsElement )
    1 KB (126 words) - 22:35, 3 May 2021
  • ==Related scripting functions== {{Marker functions hu}}
    1 KB (219 words) - 09:51, 15 April 2021
  • This function enables/disables a DGS element. A disabled DGS element can't be used, gets a gray aspect and doesn't receive any events. bool dgsSetEnabled ( element dgsElement, bool enabled )
    2 KB (192 words) - 21:12, 3 May 2021
  • This function is used to determine the parent of a DGS ''element''. element dgsGetParent( element theElement )
    1 KB (171 words) - 18:59, 3 May 2021
  • table getVehicleHandling ( element theVehicle ) function getVehicleHandlingProperty ( element, property )
    1 KB (188 words) - 15:43, 13 October 2014
  • This event is triggered each time the size of a DGS element changed. The [[event system#Event source|source]] of this event is the DGS element whose size has changed.
    663 bytes (85 words) - 09:21, 18 March 2018
  • This event is triggered each time the position of a DGS element changed. The [[event system#Event source|source]] of this event is the DGS element whose position has changed.
    675 bytes (85 words) - 13:42, 20 January 2018
  • {{Client projectile functions hu}} [[Category:Element Types]]
    649 bytes (95 words) - 10:18, 15 April 2021
  • ...element]]. This can be a [[player]], [[ped]], [[object]], [[vehicle]] or [[Element/Weapon|weapon]]. int getElementAlpha ( element theElement )
    1 KB (115 words) - 22:53, 1 January 2015
  • ...one of the child dgs elements of a given parent dgs element. The child dgs element is selected by its index (0 for the first child, 1 for the second and so on element dgsGetChild ( element dgsParent, int index )
    2 KB (203 words) - 18:59, 3 May 2021
  • ...trieve the position coordinates of an element. This can be any real world element, including: * [[Element/Player|Players]]
    1 KB (157 words) - 15:52, 1 October 2021
  • This event is triggered when a physical [[element]] hits a [[colshape]]. {{Note|The hit won't be detected if the [[element]] that entered the colshape is a colshape or projectile.}}
    2 KB (222 words) - 06:33, 24 June 2019
  • The element type of this class is '''"searchlight"'''.}} ==Related scripting functions==
    1 KB (198 words) - 18:45, 15 April 2021
  • The element type of this class is '''"searchlight"'''.}} ==Related scripting functions==
    1 KB (198 words) - 18:44, 15 April 2021
  • ...allows you know whether the specific dgs element is attached to other dgs element. bool dgsElementIsAttached( element dgsElement )
    1 KB (165 words) - 23:14, 3 May 2021
  • This function allow us to set the render layer of a dgs element. string dgsGetLayer( element dgsElement )
    1 KB (137 words) - 19:07, 3 May 2021
  • element editBox * '''editBox''': the [[Element/GUI/Edit_field|editbox]] which had focus.
    797 bytes (91 words) - 14:29, 20 May 2018
  • ...rini döndürür. Bu bir [[player]], [[ped]], [[object]], [[vehicle]] ya da [[Element/Weapon|weapon]] olabilir. int getElementAlpha ( element birElement )
    1 KB (141 words) - 23:05, 29 December 2020
  • This function allow us to change the render layer index of a dgs element. *There is a DGS element in the "center" layer, and this function will change its layer index in the
    1 KB (189 words) - 19:34, 3 May 2021
  • ...gets the delay time that from mouse stops moving and cursor stays at a DGS element to [[onDgsMouseStay]] event triggers. ...n style="color:#eb3f00;text-shadow:0.05em 0.05em 0.2em #00000099;">General Functions</span>==
    724 bytes (86 words) - 11:25, 24 December 2022
  • This function returns the alignment of position from a specific DGS element string, string dgsGetPositionAlignment( element dgsElement )
    1 KB (149 words) - 13:34, 5 February 2023
  • ...ing (so it has more information about the world), but it can also be the [[Element/Console|server console]]. ...for example. However, the server console is protected against some of that functions: it can't get kicked or banned.
    960 bytes (145 words) - 10:12, 22 June 2014
  • This function is used to retrieve the type of a dgs element, an element even a string/number/bool value. ...n style="color:#eb3f00;text-shadow:0.05em 0.05em 0.2em #00000099;">General Functions</span>===
    988 bytes (122 words) - 19:04, 3 May 2021
  • ...t es, die Position eines [[Element]]s abzurufen. Dies kann ein belibiges [[Element]] sein: * [[Element/Player|Players]]
    1 KB (152 words) - 02:03, 24 August 2013
  • ...e of the [[element tree]], called ''root''. This node contains every other element: all resource root elements, players and remote clients. It is never destro It is often used to attach handler functions to events triggered for any element, or also to make a scripting function affect all elements.
    1 KB (174 words) - 16:52, 18 July 2018
  • ...jelenti, ami a [[HU/Kliens_oldali_függvények#Rajzolási_függvények|Drawing functions]]-ben használható. A DX font-ot a [[HU/dxCreateFont]]-al lehet létrehozn [[en:Element/DX font]]
    515 bytes (89 words) - 21:54, 14 April 2021
  • The element type of this class is '''"blip"'''. The list of blip icons are available on ==Related scripting functions==
    1 KB (168 words) - 10:07, 15 April 2021
  • This changes the alpha level (the visibleness/transparency) of a DGS element bool dgsSetAlpha ( element theElement, float alpha )
    2 KB (225 words) - 15:14, 12 March 2023
  • ...system#Event source|source]] of this event is the [[Element/Sound|sound's element]]. ===Client event functions===
    900 bytes (99 words) - 20:35, 2 September 2019
  • ==Related scripting functions== {{Pickup functions hu}}
    1 KB (254 words) - 09:42, 15 April 2021
  • function getVehicleOriginalProperty( element, property ) if isElement ( element ) and getElementType ( element ) == "vehicle" and type ( property ) == "string" then -- Make sure there's
    2 KB (208 words) - 20:55, 10 October 2015
  • This function is used to create a new dummy element in the [[element tree]] which do not necessarily represent an entity within the San Andreas ...tion are placed in the element tree with their parent as the 'dynamic' map element.
    1 KB (182 words) - 19:52, 15 April 2021
  • ...to the base of the model. This can be used to calculate the position the [[element]] has to be set to, to have it on ground level. ...when the element is streamed in, otherwise 0 is returned. If you create an element at the player's position which is going to be streamed in, call the functio
    1 KB (160 words) - 21:22, 8 December 2023
  • ...t is triggered each time the user scrolls his mouse scroll on top of a GUI element. The [[event system#Event source|source]] of this event is the GUI element on which the mouse scroll was scrolled.
    1,008 bytes (141 words) - 14:28, 15 August 2018
  • ...t is triggered each time the user scrolls his mouse scroll on top of a DGS element. The [[event system#Event source|source]] of this event is the DGS element on which the mouse scroll was scrolled.
    1,004 bytes (140 words) - 14:18, 15 August 2018
  • This event is triggered every time after a dgs element renders with property [[DGS_General_Basic_Properties#renderEventCall|render The source is the dgs element that renders.
    768 bytes (87 words) - 05:32, 16 October 2018
  • This functions gets the target of a [[Element/Weapon|custom weapon]]. <syntaxhighlight lang="lua">nil/element/float getWeaponTarget ( weapon theWeapon )</syntaxhighlight>
    2 KB (231 words) - 13:49, 4 July 2016
  • Returns a table of all element data of an element. table getAllElementData ( element theElement )
    1 KB (190 words) - 12:20, 9 April 2023
  • coroutine -- returns a table containing functions for threads debug -- returns a table containing debug functions
    4 KB (530 words) - 15:34, 11 November 2023
  • ==Related scripting functions== [[Category:Element Types]]
    1 KB (210 words) - 10:08, 15 April 2021
  • This function sets the value of a specific property of a DGS element. For a list of properties and their meaning, see the [[template:DGSPROPERTI string dgsSetProperty ( element/table dgsElement, string property, mixed value [, mixed arg1, mixed arg2 ..
    2 KB (214 words) - 20:57, 3 May 2021
  • ...9|1.5.9|21367|This function returns the lighting value for the specified [[element]]. This can be a [[player]], [[ped]], [[vehicle]], [[object]].}} float getElementLighting ( element theElement )
    1 KB (142 words) - 13:50, 22 October 2022
  • This event is triggered when a dgs element stops the aninimation which was started by [[dgsMoveTo]] The [[event system#Event source|source]] of this event is the dgs element which stopped its animation.
    819 bytes (99 words) - 16:43, 16 June 2021
  • This event is triggered when a dgs element stops the aninimation which was started by [[dgsSizeTo]] The [[event system#Event source|source]] of this event is the dgs element which stopped its animation.
    821 bytes (99 words) - 16:43, 16 June 2021
  • ...ement with collisions disabled does not interact physically with the other element.<br> '''Note:''' You can only use this function with the element types listed below.
    2 KB (208 words) - 21:31, 7 October 2022
  • This event is triggered when a dgs element stops the aninimation which was started by [[dgsAlphaTo]] The [[event system#Event source|source]] of this event is the dgs element which stopped its animation.
    866 bytes (105 words) - 16:44, 16 June 2021
  • This function gets the value of a specific property of a DGS element. For a list of properties and their meaning, see the [[template:DGSPROPERTI string dgsGetProperty ( element dgsElement, string property )
    1 KB (191 words) - 19:37, 3 May 2021
  • * [[Element/Player|Players]] * [[Element/Vehicle|Vehicles]]
    2 KB (87 words) - 22:47, 12 April 2021
  • ...ction gets the values of secific properties or all the properties of a DGS element. For a list of properties and their meaning, see the [[template:DGSPROPERTI table dgsGetProperties ( element dgsElement [, table properties ] )
    1 KB (183 words) - 21:00, 3 May 2021
  • ...fired when the user moves the mouse away from a DGS element even this DGS element is blocked by other DGS elements. This function is different from [[onDgsMo ...roperties#enableFullEnterLeaveCheck|enableFullEnterLeaveCheck]] of the DGS element to ''true'' to use this event''' because full enter leave check is a little
    1 KB (197 words) - 06:00, 5 October 2023
  • This function gets the size of a DGS element. float, float dgsGetSize ( element theElement, bool relative )
    2 KB (234 words) - 19:02, 3 May 2021
  • ...nt is fired when the user moves the mouse over a DGS element even this DGS element is blocked by other DGS elements. This function is different from [[onDgsMo ...roperties#enableFullEnterLeaveCheck|enableFullEnterLeaveCheck]] of the DGS element to ''true'' to use this event''' because full enter leave check is a little
    1 KB (195 words) - 06:00, 5 October 2023
  • The element type of this class is '''"pickup"'''. ==Related scripting functions==
    1 KB (211 words) - 11:40, 26 February 2024
  • {{Client player functions}} {{Player functions}}
    682 bytes (99 words) - 16:33, 6 February 2020
  • ==Kapcsolódó scripting functions== {{Ped functions hu}}
    2 KB (251 words) - 20:19, 14 April 2021
  • This function allow us to get the render layer index of a dgs element. integer dgsGetCurrentLayerIndex( element dgsElement )
    1 KB (153 words) - 19:36, 3 May 2021
  • ...d then load and import each of those files using the appropriate scripting functions. To split a .col file into multiple files, you can use [http://www.steve-m. ==Related scripting functions==
    1 KB (197 words) - 21:43, 14 April 2021
  • This function sets the values of specific properties of a DGS element. For a list of properties and their meaning, see the [[template:DGSPROPERTI bool dgsSetProperties ( element/table dgsElement, table properties )
    2 KB (197 words) - 21:01, 3 May 2021
  • ...ion indicates if a specific element is set to have collisions disabled. An element without collisions does not interact with the physical environment and rema bool getElementCollisionsEnabled ( element theElement )
    1 KB (129 words) - 16:18, 7 November 2018
  • ...he local player is leaving the element. When this event is triggered, that element is no longer physical and is now virtualized by MTA. ...te|Be aware that this event triggers for local player (as itself being the element that got streamed out) when said local player dies and respawns, as this is
    2 KB (232 words) - 03:39, 22 January 2023
  • This event will be triggered when any key is pressed with a DGS element focused. The [[event system#Event source|source]] of this event is the DGS element which is focused.
    803 bytes (104 words) - 12:32, 13 January 2023
  • ...system#Event source|source]] of this event is the [[Element/Sound|sound's element]]. ===Client event functions===
    1,003 bytes (108 words) - 20:35, 2 September 2019
  • bool dgsDetachElements( element dgsElement ) *'''dgsElement:''' An element you want to detach
    1 KB (134 words) - 23:12, 3 May 2021
  • This function is used to retrieve the type of an element. string getElementType ( element theElement )
    1 KB (130 words) - 14:25, 27 April 2021
  • ...d then load and import each of those files using the appropriate scripting functions. To split a .col file into multiple files, you can use [http://www.steve-m. ==Related scripting functions==
    1 KB (227 words) - 21:44, 14 April 2021
  • ...56|1.5.5|14165|Gets the current angular velocity of a specified, supported element.}} float, float, float getElementAngularVelocity ( element theElement )
    1 KB (115 words) - 01:34, 11 December 2022
  • This function gets the radius of an [[element]]. Normally, sphere or circle-shaped elements tend to return a more accurat float getElementRadius ( element theElement )
    1 KB (143 words) - 13:53, 31 December 2014
  • ...onto a texture without capturing the HUD, or to alter HUD textures using [[Element/Shader|shaders]] before they are drawn onto the screen. ...[[event system#Event source|source]] of this event is the client's [[root element]].
    1 KB (125 words) - 11:10, 25 June 2012
  • ...tion allows you to set the double-sidedness of an element's model. When an element's model is double-sided, it's back facing triangles become visible. bool setElementDoubleSided ( element theElement, bool enable )
    1 KB (173 words) - 16:30, 6 August 2016
  • This event is fired when a DGS element is scrolled ( including scroll bar and scroll bars of scroll pane, grid lis element ScrollBar, float ScrollTo, float ScrollFrom
    1 KB (149 words) - 09:19, 4 November 2020
  • ...ystem#Event source|source]] of this event is the started resource's [[root element]]. ===Client event functions===
    1 KB (177 words) - 20:22, 19 February 2010
  • The element type of this class is '''"light"'''.}} ==Related scripting functions==
    2 KB (242 words) - 18:36, 15 April 2021
  • This function gets the attached functions from the event and attached element from current lua script. table getEventHandlers ( string eventName, element attachedTo )
    2 KB (160 words) - 05:33, 28 April 2020
  • This function is used to determine if an [[element]] is within a [[marker]]. <syntaxhighlight lang="lua">bool isElementWithinMarker ( element theElement, marker theMarker )</syntaxhighlight>
    965 bytes (97 words) - 10:53, 18 August 2018
  • This function changes the visibility state of a DGS element. bool dgsSetVisible ( element/table dgsElement, bool state )
    2 KB (255 words) - 17:51, 13 January 2023
  • This functions checks whether or not 3DImage element is attached to another element. bool dgs3DImageIsAttached( dgsElement element )
    2 KB (237 words) - 10:07, 17 January 2023
  • The element type of this class is '''"object"'''. ==Related scripting functions==
    2 KB (253 words) - 16:40, 29 April 2024
  • This function returns a table of all the elements attached to the specified element table getAttachedElements ( element theElement )
    1 KB (151 words) - 14:50, 1 January 2015
  • This function checks if a value is an [[element]] or not. ...are eventually recycled. Always make sure you nil variables containing an element after calling [[destroyElement]] or handle [[onElementDestroy]] for players
    1 KB (192 words) - 18:38, 1 January 2017
  • bool dgsCenterElement ( element dgsElement [, bool remainX, bool remainY ] ) *'''element:''' The DGS element to center
    1 KB (155 words) - 23:18, 3 May 2021
  • This function allows retrieval of a DGS element's current position, relative to its parent. float, float dgsGetPosition ( element dgsElement, bool relative [, bool isRelativeToScreen = false ] )
    2 KB (314 words) - 04:55, 5 November 2023
  • This function sets the dimensions (size) of a DGS element. It refers to the bounding box size for DGS elements. It does not make DGS bool dgsSetSize ( element dgsElement, float width, float height, bool relative )
    2 KB (265 words) - 19:03, 3 May 2021
  • element attacker, int weapon, int bodypart [, float loss ] ...er''': A [[player]] [[element]] representing the attacker or [[vehicle]] [[element]] (when a ped falls of a bike).
    1 KB (165 words) - 10:32, 30 January 2022
  • ...he syncer of an element. The syncer is the player who is in control of the element. element getElementSyncer ( element theElement )
    1 KB (170 words) - 23:27, 1 November 2023
  • ...na [[entity| entidad]] del juego. Todos los elementos se almacenan en un [[Element tree|árbol]], y todos, a excepción del elemento '''root''' (raíz) tienen ...omos los de cliente: el GUI y el jugador, por ejemplo), recibir y enviar [[element data| datos de elemento]], y muchas otras cosas.
    1 KB (182 words) - 19:53, 14 April 2021
  • This event is fired when the user clicks certain mouse button on a GUI element. *'''button:''' the name of the mouse button that the GUI element was clicked with, can be ''left'', ''right'', or ''middle''.
    2 KB (216 words) - 12:46, 2 April 2023
  • ...ree into XML. This is a format that can then be loaded as a map file. Each element represents a single XML node. <syntaxhighlight lang="lua"> bool saveMapData ( xmlnode node, element baseElement [, bool childrenOnly = false ] )</syntaxhighlight>
    1 KB (143 words) - 23:19, 11 January 2023
  • The [[event system#Event source|source]] of this event is the root element. ===Client event functions===
    715 bytes (80 words) - 13:47, 13 February 2021
  • ==Related scripting functions== {{Object functions hu}}
    2 KB (302 words) - 08:45, 15 April 2021
  • ...tem|3.0156|1.5.5|14165|Sets the angular velocity of a specified, supported element (Applies a spin to it).}} bool setElementAngularVelocity ( element theElement, float rx, float ry, float rz )
    1 KB (132 words) - 18:56, 29 October 2023
  • This function returns all of the child dgs elements of a given parent dgs element. table dgsGetChildren ( element dgsParent )
    1 KB (175 words) - 19:00, 3 May 2021
  • This function returns the minimum and maximum coordinates of an element's bounding box. ...rld coordinates for drawing, etc., you should retrieve the position of the element and add the returned values onto that.
    1 KB (185 words) - 14:08, 29 April 2021
  • ...unction for management or debugging purposes in combination with [[MTA:Eir/functions/setElementRenderMode|setElementRenderMode]]. value/bool string getElementRenderMode ( element theElement, string propertyName, [ string preferedValueType ] )
    809 bytes (92 words) - 19:16, 9 April 2014
  • This function removes tooltip from a DGS element. bool dgsTooltipRemoveFrom( element targetElement )
    715 bytes (80 words) - 11:18, 24 December 2022
  • This function returns an [[element]] that corresponds to the game camera {{Note|Using setElementPosition/Rotation/Matrix on the camera element will automatically clear any target set with [[setCameraTarget]]}}
    914 bytes (107 words) - 21:57, 9 October 2020
  • ==Related scripting functions== {{Client light functions}}
    2 KB (280 words) - 18:37, 15 April 2021
  • This function gets the size of a GUI element. float float guiGetSize ( element theElement, bool relative )
    1 KB (141 words) - 17:18, 21 November 2018
  • ...sets the delay time that from mouse stops moving and cursor stays at a DGS element to [[onDgsMouseStay]] event triggers. ...n style="color:#eb3f00;text-shadow:0.05em 0.05em 0.2em #00000099;">General Functions</span>==
    940 bytes (111 words) - 11:28, 24 December 2022
  • This event is activated each time the user double-clicks an item in the element dgs-gridlist. *'''button''': the name of the mouse button that the DGS element was double clicked with.
    1 KB (172 words) - 13:41, 20 January 2018
  • This function sets the position of a DGS element. bool dgsSetPosition ( element theElement, float x, float y, bool relative [, bool isCenterPosition = fals
    3 KB (352 words) - 18:23, 16 April 2021
  • ...vent is fired when the user releases his mouse button when on top of a GUI element. *'''button:''' the name of the mouse button that was released on a GUI element, can be ''left'', ''right'', or ''middle''.
    2 KB (225 words) - 00:39, 12 April 2023
  • This function is used for setting an element as the parent of another element. {{Note|This function does not change when an element will be destroyed - Elements are always destroyed when the resource that cr
    2 KB (316 words) - 13:51, 6 August 2016
  • This function is used to determine if an element is within a collision shape. Please note that for legacy reasons, a colshap Please note that this function doesn't verify whether element is in the same dimension and interior, additional checks could be implement
    2 KB (258 words) - 12:06, 10 October 2018
  • Um '''element''' é uma classe genérica que representa quase todas as [[PT-BR/Entidade|e ...ementos que não podem ser destruídos, por exemplo elementos do cliente), [[element data]] armazenando e recuperando dados, e muitas outras operações comuns.
    1 KB (207 words) - 02:51, 6 February 2020
  • This function checks whether a clientside [[element]] is local to the client (doesn't exist in the server) or not. bool isElementLocal ( element theElement )
    1 KB (137 words) - 08:54, 27 October 2021
  • ...system#Event source|source]] of this event is the stopped resource [[root element]]. ===Client event functions===
    783 bytes (84 words) - 18:51, 9 September 2019
  • This function allows you to retrieve the interior of any element. An interior is the current loaded place, 0 being outside. int getElementInterior ( element theElement )
    1 KB (133 words) - 16:13, 17 April 2016
  • bool dgsBlurBoxSetResolution( element blurBox, int width, int height) *'''blurBox:''' A dgs blur box element.
    770 bytes (89 words) - 12:56, 6 May 2020
  • {{IT/Client element functions}} {{IT/Element functions}}
    1 KB (177 words) - 19:53, 14 April 2021
  • This function clears the media in the ([[dgsCreateMediaBrowser]]) element. bool dgsMediaClearMedia ( element media )
    974 bytes (111 words) - 19:42, 17 August 2018
  • ...por exemplo, elementos do cliente), armazenamento e recuperação de [[PT-BR/Element data|dado de elemento]], e muitas outras operações comuns. {{Client element functions}}
    1 KB (213 words) - 17:48, 31 January 2022
  • This function checks whether an [[element]] is submerged in water. <syntaxhighlight lang="lua">bool isElementInWater ( element theElement )</syntaxhighlight>
    2 KB (200 words) - 00:23, 18 April 2015
  • ...can be used to check whether specified element is collidable with another element.<br> '''Note:''' You can only use this function with the element types listed below.
    2 KB (224 words) - 16:06, 23 December 2023
  • This function enables/disables call propagation on a certain element. Look at the example for a practical application. <syntaxhighlight lang="lua">bool setElementCallPropagationEnabled ( element theElement, bool enabled )</syntaxhighlight>
    1 KB (150 words) - 14:34, 1 January 2015
  • Este evento é acionado quando um [[element]] físico atinge um [[colshape]]. {{Note|O evento não será acionado se o [[element]] que entrou no colshape for também um colshape.}}
    2 KB (239 words) - 12:53, 24 February 2021
  • element dgsCreateObjectPreviewHandle( element theElementToShow, float rotX, float rotY, float rotZ [, bool isSecRT = true *'''theElementToShow:''' A vehicle/ped/object element that can be demonstrated in object preview.
    2 KB (273 words) - 01:36, 12 January 2023
  • *'''CurrentItemElement:''' The dgs-dxtab element of current selected tab. *'''PreviousItemElement:''' The dgs-dxtab element of previous selected tab.
    1 KB (128 words) - 12:27, 15 August 2018
  • ...function gets whether the color of gradient will overwrite the color of dx functions. bool dgsGradientGetColorOverwritten( element gradient )
    943 bytes (97 words) - 04:32, 21 November 2021
  • ...[[event system#Event source|source]] of this event is the client's [[root element]]. ===Client event functions===
    684 bytes (82 words) - 13:39, 20 January 2018
  • ...[[event system#Event source|source]] of this event is the client's [[root element]]. ===Client event functions===
    680 bytes (82 words) - 13:39, 20 January 2018
  • This event is triggered each time the user moves the mouse on top of a GUI element. The [[event system#Event source|source]] of this event is the GUI element on which the mouse was moved.
    1 KB (178 words) - 14:33, 20 May 2018
  • This event is triggered when a dgs element stops the aninimation which was started by [[dgsAnimTo]] The [[event system#Event source|source]] of this event is the dgs element which stopped its animation.
    1 KB (174 words) - 10:00, 6 June 2020
  • This function creates a dx font element as default font stored in dgs. element dgsSetSystemFont ( string filepath [, int size=9, bool bold=false, string q
    2 KB (201 words) - 22:22, 3 May 2021
  • element attacker, int damage_causing, int bodypart [, float loss ] ...er''': A [[player]] [[element]] representing the attacker or [[vehicle]] [[element]] (when being run over or falling off a bike).
    1 KB (196 words) - 11:40, 2 May 2022
  • This event is called when a vehicle weapon hits an element or the world. int weaponType, element hitElement, float hitX, float hitY, float hitZ, int model, int materialID
    2 KB (233 words) - 20:42, 5 April 2020
  • element dgsRemoteImageAbort( element remoteImage ) *'''remoteImage :''' An element of remote image you want to abort the request.
    850 bytes (102 words) - 12:43, 10 May 2020
  • This event is triggered each time the user moves the mouse on top of a DGS element. The [[event system#Event source|source]] of this event is the DGS element on which the mouse was moved.
    1 KB (185 words) - 13:19, 16 August 2019
  • This function checks whether an element is double-sided as set by [[setElementDoubleSided]] or not. bool isElementDoubleSided ( element theElement )
    1 KB (140 words) - 16:30, 6 August 2016
  • To request a function or event, use [[Requested Functions and Events]]. ==Element events==
    799 bytes (96 words) - 05:37, 22 March 2016
  • This function allows you to retrieve the zone name of an element (eg. Verdant Bluffs or Ocean Docks) The same can be achieved client side by getting element coordinates and using [[GetZoneName]].
    1 KB (153 words) - 22:53, 1 January 2015
  • ...not virtualized) and are actual GTA objects in the world. You can force an element to be streamed in using [[setElementStreamable]].<br> ...appen during the period when the vehicle/object model is loading while the element is not actually fully created yet.
    2 KB (236 words) - 19:30, 17 September 2023
  • string dgsGetText ( element guiElement ) *'''guiElement:''' element you wish to get text of.
    2 KB (337 words) - 21:25, 3 May 2021
  • *'''CurrentItemElement:''' The dgs-dxtab element of current selected tab. *'''PreviousItemElement:''' The dgs-dxtab element of previous selected tab.
    1 KB (136 words) - 12:26, 15 August 2018
  • ...gets whether the color of rounded rectangle will overwrite the color of dx functions. bool dgsRoundRectGetColorOverwritten( element rndRect )
    915 bytes (99 words) - 03:03, 3 September 2023
  • This function returns the current health for the specified [[element]]. This can be a [[player]], a [[ped]], a [[vehicle]], or an [[object]]. float getElementHealth ( element theElement )
    1 KB (169 words) - 20:16, 11 August 2018
  • This function allows you to attach a specific dgs element to another dgs element. This will make something like [[dgsSetParent]], but there will be no "pare bool dgsAttachElements( element dgsElement, element attachTo, int/float offsetX, int/float offsetY, int/float offsetW, int/floa
    2 KB (340 words) - 23:10, 3 May 2021
  • The [[event system#Event source|source]] of this event is the [[Element/Player|player]] whose voice got resumed. ===Client event functions===
    782 bytes (93 words) - 13:24, 7 May 2017
  • This function returns the currently selected tab in the specified [[Element/GUI/Tab panel|tab panel]]. element guiGetSelectedTab ( element tabPanel )
    1 KB (206 words) - 14:21, 20 May 2018
  • bool detachElements ( element theElement, [ element theAttachToElement ] ) {{OOP||[[element]]:detach||attachElements}}
    2 KB (245 words) - 13:49, 6 August 2016
  • ...rını içerir. Bir event veya fonksiyon talebinde bulunmak için, [[Requested Functions and Events]] sayfasını kullanın. ...araflı server fonksiyonlarını buradan bulabilirsiniz:[[TR/Server Scripting Functions| Server taraflı Fonksiyonlar]]
    3 KB (298 words) - 09:20, 29 October 2016
  • ...che non possono essere distrutti), il recupero e la memorizzazzione dell'[[element data]], e molte altre operazioni comuni. Tutti gli elementi sono memorizzati internalmente in un [[Element tree|tree structure]], e in quanto tale ogni elemento eccetto l'elemento ''
    1 KB (187 words) - 12:24, 29 September 2014
  • ...ture/item|3.0140|1.4.0|6715|This function checks whether MTA has frozen an element because it is above map objects which are still loading or not.}} bool isElementWaitingForGroundToLoad ( element theElement )
    1 KB (183 words) - 22:14, 8 August 2018
  • element createElement( string elementType, [string elementID = nil] )
    2 KB (70 words) - 19:56, 15 April 2021
  • This function gets the state of a [[Element/Weapon|custom weapon]]. {{OOP||[[Element/Weapon|weapon]]:getState|state|setWeaponState}}
    1 KB (170 words) - 17:50, 23 December 2014
  • **'''postGUI:''' Global post gui setting ( when a dgs element creates, its "postgui" property will be set according to this render settin ...n style="color:#eb3f00;text-shadow:0.05em 0.05em 0.2em #00000099;">General Functions</span>==
    1 KB (154 words) - 22:46, 3 May 2021
  • The [[event system#Event source|source]] of this event is the [[Element/Player|player]] whose voice got paused. ===Client event functions===
    775 bytes (93 words) - 14:45, 8 July 2014
  • Ez a function visszaad egy olyan [[element|elemet]], mely megfelel a játékkamerának. {{Note_hu|Using setElementPosition/Rotation/Matrix on the camera element will automatically clear any target set with [[setCameraTarget]]}}
    1,005 bytes (136 words) - 07:22, 17 October 2018
  • Ez a function visszaad egy olyan [[element|elemet]], mely megfelel a játékkamerának. {{Note_hu|Using setElementPosition/Rotation/Matrix on the camera element will automatically clear any target set with [[setCameraTarget]]}}
    1 KB (150 words) - 19:20, 9 December 2018
  • bool string resetElementRenderMode ( element theElement, string propertyName ) *'''theElement''': the element to change a render property of
    559 bytes (66 words) - 19:19, 9 April 2014
  • element dgsCircleGetTexture( element circle ) Returns a texture element if there was a texture applied to the dgs circle, ''false'' otherwise.
    808 bytes (97 words) - 05:55, 9 October 2021
  • ...[[event system#Event source|source]] of this event is the client's [[root element]]. ===Client event functions===
    995 bytes (113 words) - 14:28, 20 May 2018
  • This function can make dgs element sizable like a window. bool dgsAddSizeHandler( element dgsElement [, float left = 0,float right = 0, float top = 0, float bottom =
    2 KB (336 words) - 23:00, 3 May 2021
  • This function gets the '''DGS handled''' object prreview element by element ID. element dgsObjectPreviewGetHandleByID( string elementID )
    1 KB (118 words) - 08:10, 9 February 2020
  • element killer, int weapon, int bodypart, bool stealth *'''killer''': A [[player]], [[ped]] or [[vehicle]] [[element]] representing the killer.
    1 KB (179 words) - 11:22, 27 June 2023
  • This event happens when any gui-element clicked. {{Note|The '''player''' who clicked the gui-element is always the [[localPlayer]].}}
    2 KB (337 words) - 16:40, 19 October 2022
  • ...rını içerir. Bir event veya fonksiyon talebinde bulunmak için, [[Requested Functions and Events]] sayfasını kullanın. {{Camera functions}}
    3 KB (353 words) - 16:18, 11 April 2021
  • This event happens when any dgs-element clicked {{Note|The '''player''' who clicked the dgs-element is always the [[localPlayer]].}}
    2 KB (263 words) - 07:12, 12 May 2024
  • bool dgsCircleSetTexture( element circle [, element texture = nil ] ) *'''texture: ''' A texture element that you want to apply, or set to ''nil'' to remove.
    798 bytes (96 words) - 03:03, 3 September 2023
  • element getProjectileCreator ( projectile theProjectile ) *'''theProjectile:''' The [[projectiles| projectile]] element which creator you want to retrieve.
    1 KB (117 words) - 17:40, 26 November 2014
  • This function enables/disables a GUI element. A disabled GUI element can't be used, gets a gray aspect and doesn't receive any events. bool guiSetEnabled ( element guiElement, bool enabled )
    1 KB (139 words) - 13:49, 14 May 2019
  • ...on is used to change the currently selected [[Element/GUI/Tab|tab]] in a [[Element/GUI/Tab panel|tab panel]]. bool guiSetSelectedTab ( element tabPanel, element theTab )
    1 KB (192 words) - 14:21, 20 May 2018
  • This function applies the object preview element to dgs image. bool dgsAttachObjectPreviewToImage( element SOVElement, element dgsImage )
    1 KB (132 words) - 08:02, 9 February 2020
  • int weapon, int ammo, int ammoInClip, float hitX, float hitY, float hitZ, element hitElement *'''hitElement''': an [[element]] which was hit by a shot.
    1 KB (169 words) - 03:12, 30 September 2019
  • To request a function or event, use [[Requested Functions and Events]]. ==Element events==
    969 bytes (118 words) - 14:21, 10 October 2018
  • This function can make dgs element movable like a window. string dgsAddMoveHandler( element dgsElement [, float x = 0,float y = 0, float width = 1, float height = 1, b
    2 KB (328 words) - 22:52, 3 May 2021
  • **'''postGUI:''' Global post gui setting ( when a dgs element creates, its "postgui" property will be set according to this render settin ...n style="color:#eb3f00;text-shadow:0.05em 0.05em 0.2em #00000099;">General Functions</span>==
    1 KB (159 words) - 22:47, 3 May 2021
  • This function detaches attached 3DImageElement from another element. bool dgs3DImageDetachFromElement ( element the3DImageElement, [ element theAttachToElement ] )
    2 KB (202 words) - 02:18, 12 August 2022
  • Az '''account''' osztály a szerveren lévő [[HU/Element/Player|játékos]] felhasználóját jelenti. Bármely klienshez tartozó ' ==Related scripting functions==
    1 KB (190 words) - 20:23, 21 February 2021
  • {{AR/Collision shape functions}} {{AR/Client_Clothes and body functions}}
    3 KB (174 words) - 16:12, 11 April 2021
  • bool guiComboBoxClear ( element comboBox ) {{OOP||[[Element/GUI/Combobox|GuiComboBox]]:clear}}
    1 KB (144 words) - 20:38, 7 November 2018
  • bool guiDeleteTab ( element tabToDelete, element tabPanel ) {{OOP||[[Element/GUI/Tab|GuiTab]]:delete}}
    1 KB (158 words) - 11:51, 7 August 2019
  • This function to set the alignment of position of a specific DGS element bool dgsSetPositionAlignment( element dgsElement [, string horizontalAlignment, string verticalAlignment ] )
    2 KB (176 words) - 21:15, 3 May 2021
  • '''Клиентские функции скриптинга можно найти [[RU/Client Scripting Functions|здесь]]'''. {{RU/Server account functions}}
    5 KB (241 words) - 11:18, 8 June 2022
  • ...ll be skipped, along with the elements that exist as a child to the player element. ...placed on the [[element tree]] as a child of the same parent as the cloned element.
    2 KB (317 words) - 03:33, 1 January 2015
  • The [[event system#Event source|source]] of this event is the [[root element]]. ===Client event functions===
    942 bytes (110 words) - 21:03, 23 September 2021
  • element attacker ===Client event functions===
    973 bytes (120 words) - 03:27, 20 January 2015
  • bool dgsBlurBoxSetTexture( element blurbox [, texture sourceTexture ] ) *'''blurbox''': A dgs blur box element.
    847 bytes (100 words) - 06:50, 8 March 2021
  • The [[event system#Event source|source]] of this event is the [[root element]]. ===Client event functions===
    942 bytes (109 words) - 14:58, 8 October 2022
  • This function can disable or enable an element's collisions. An element without collisions does not interact with the physical environment and rema bool setElementCollisionsEnabled ( element theElement, bool enabled )
    2 KB (214 words) - 16:27, 20 January 2020
  • This function checks whether an [[element]] is synced by the local player or not. Accepted elements are [[ped|peds]] bool isElementSyncer ( element theElement )
    2 KB (173 words) - 02:22, 1 January 2015
  • ...element]]. This can be a [[player]], [[ped]], [[object]], [[vehicle]] or [[Element/Weapon|weapon]]. bool setElementAlpha ( element theElement, int alpha )
    2 KB (223 words) - 04:29, 11 August 2019
  • ...r loading Video/Audio/Image to a Media Browser ([[dgsCreateMediaBrowser]]) element. element dgsMediaLoadMedia ( element media, string path, string theType )
    1 KB (145 words) - 00:51, 18 August 2018
  • element killer, int weapon, int bodypart, float loss / bool stealth *'''killer''': A [[player]], [[ped]] or [[vehicle]] [[element]] representing the killer.
    2 KB (200 words) - 21:38, 14 November 2022
  • ...па]], модель [[RU/Element/Vehicle|транспортного средства]] или модель [[RU/Element/Object|объекта]]. int getElementModel ( element theElement )
    3 KB (156 words) - 19:25, 6 June 2022
  • الكاميرة [[element]] هذا الفنكشن يرجع أليمنت element getCamera ()
    1 KB (45 words) - 19:56, 1 March 2017
  • This function returns an [[element]] that corresponds to the current target of the specified player's camera ( element getCameraTarget ( player thePlayer )
    2 KB (182 words) - 08:08, 10 October 2020
  • This event is triggered each time a GUI element looses input focus (mainly useful for windows, editboxes and memos but trig The [[event system#Event source|source]] of this event is the GUI element which just lost input focus.
    2 KB (309 words) - 14:29, 20 May 2018
  • This changes the alpha level (the visibleness/transparency) of a GUI element bool guiSetAlpha ( element guielement, float alpha )
    2 KB (195 words) - 17:19, 21 November 2018
  • This SDK allows you to call exported MTA functions from Java over HTTP. ...uble, Boolean, null etc, as well as the special classes com.multitheftauto.Element and com.multitheftauto.Resource.
    3 KB (360 words) - 20:23, 23 September 2016
  • ...function returns file path of the media in the ([[dgsCreateMediaBrowser]]) element. string dgsMediaGetMediaPath ( element media )
    1 KB (145 words) - 19:25, 17 August 2018
  • ...e, int absoluteX, int absoluteY, float worldX, float worldY, float worldZ, element clickedWorld ...cal [[entity]] elements that were clicked. If the player clicked on no MTA element, it's set to false.
    3 KB (393 words) - 13:54, 5 June 2021
  • This function will check if an element is on the screen. Elements behind objects but still in the camera view coun bool isElementOnScreen ( element theElement )
    2 KB (205 words) - 10:25, 30 January 2022
  • This function checks if an element has [[element data]] available under a certain key.}} <syntaxhighlight lang="lua">bool hasElementData ( element theElement, string key [, bool inherit = true] )</syntaxhighlight>
    2 KB (305 words) - 10:34, 20 May 2020
  • ...0.5, float insideRadius = 0.2, float angle = 360, int color = 0xFFFFFFFF, element texture = nil ] ) *'''texture:''' A material element that you want to apply the circle to.
    1 KB (150 words) - 07:02, 19 April 2021
  • bool onPlayerPickupItem( element playerElement, int itemID, string itemDroppedBy ) ==Player Functions==
    5 KB (602 words) - 21:33, 7 April 2013
  • This event is triggered each time a DGS element looses input focus (mainly useful for windows, editboxes and memos but trig The [[event system#Event source|source]] of this event is the DGS element which just lost input focus.
    2 KB (316 words) - 13:39, 20 January 2018
  • This element has to create a blip at the nearest garage and removes it in 10 seconds. function getNearestGarageFromElement (element)
    2 KB (186 words) - 03:42, 25 September 2018
  • bool dgsEffect3DApplyToScrollPane( element effect3d, element scrollpane ) *'''effect3d: ''' A dgs-dxeffect3d element (DGS Plugin Type)
    1,015 bytes (120 words) - 18:08, 9 January 2020
  • element getCameraTarget ( player thePlayer )
    2 KB (92 words) - 13:23, 10 September 2014
  • ...the transparency of a dgs element. This function allows retrieval of a dgs element's current alpha. float dgsGetAlpha ( element dgsElement [, bool isAbsolute = false, bool includeParent = false ] )
    3 KB (456 words) - 21:17, 3 May 2021
  • ...s, peds, vehicles, objects and markers. When this event is triggered, that element is guaranteed to be physically created as a GTA object. Be aware that this event triggers for local player (as itself being the element that got streamed in) when said local player spawns, as this is the creatio
    2 KB (359 words) - 03:51, 22 January 2023
  • float dgsBlurBoxGetIntensity( element blurBox ) *'''blurBox:''' A dgs blur box element.
    657 bytes (71 words) - 13:08, 6 May 2020
  • element dgsCreateRemoteImage( string URL ) Returns an dgs-dxremoteimage (DGS Plugin Type)[shader(element type)] if successful, ''false'' otherwise.
    826 bytes (98 words) - 09:10, 17 January 2021
  • bool dgs3DTextGetPosition( element text3D ) *'''text3D:''' The DGS 3D Text element.
    645 bytes (82 words) - 00:31, 6 May 2020
  • element Previous ===Client event functions===
    912 bytes (103 words) - 03:38, 24 March 2018
  • element editBox, bool isAutoCompleteConfirmed ===Client event functions===
    926 bytes (113 words) - 14:24, 9 September 2019
  • This function detects the element a ped is standing on. This can be a vehicle or an object. element getPedContactElement ( ped thePed )
    1 KB (155 words) - 15:15, 5 November 2022
  • This event occurs when double clicking on any dgs-element. The [[event system#Event source|source]] of this event is the DGS element that was double clicked.
    1 KB (203 words) - 11:48, 12 February 2021
  • element attacker, int weapon, int bodypart [, float loss ] ...cker''': El [[player]] [[element]] representa al atacador de [[vehicle]] [[element]] (al ser atropellados o caerse de una bicicleta).
    2 KB (225 words) - 21:09, 14 June 2021
  • element dgsCreateToolTip( [ int textColor = 0xFFFFFFFF, int bgColor = 0x80000000, t *'''bgImage:''' A material element of the background image of the tooltip.
    1,006 bytes (126 words) - 11:17, 24 December 2022
  • bool guiGridListClear ( element gridList ) {{OOP||[[Element/GUI/Gridlist|GuiGridList]]:clear}}
    1 KB (149 words) - 17:47, 22 December 2022
  • bool setElementHealth ( element theElement, float newHealth ) {{OOP||[[element]]:setHealth|health|}}
    1 KB (97 words) - 17:46, 9 February 2016
  • To request a function or event, use [[Requested Functions and Events]]. ==Element events==
    1 KB (139 words) - 05:35, 22 March 2016
  • Diese Funktion gibt einem Spieler (Element) eine Funktion per Namen. * '''playerName''': Das Element des Spielers (source, player etc.)
    964 bytes (115 words) - 16:14, 12 April 2013
  • This function resets the firing rate of a [[Element/Weapon|custom weapon]] to the default one. {{OOP||[[Element/Weapon|weapon]]:resetFiringRate}}
    673 bytes (74 words) - 14:58, 4 July 2016
  • string getElementType ( element theElement ) {{BR/OOP||[[element]]:getType|type|}}
    1 KB (134 words) - 03:04, 5 December 2022
  • *'''hisTeam''': A team element representing the team the player spawned on. ===Client event functions===
    947 bytes (121 words) - 23:59, 1 June 2013
  • int dgsBlurBoxGetLevel( element blurBox ) *'''blurBox:''' A dgs blur box element.
    673 bytes (77 words) - 13:05, 6 May 2020
  • This event is fired when the user double clicks a GUI element. Doesn't work with buttons. *'''button:''' the name of the mouse button that the GUI element was double clicked with.
    2 KB (258 words) - 07:08, 10 February 2024
  • bool guiLabelSetVerticalAlign ( element theLabel, string align ) {{OOP||[[Element/GUI/Text label|GuiLabel]]:setVerticalAlign|verticalAlign}}
    806 bytes (91 words) - 11:48, 7 August 2019
  • This event occurs when multi clicking on any dgs-element. The [[event system#Event source|source]] of this event is the DGS element that was multi clicked.
    1 KB (207 words) - 14:19, 16 February 2021
  • bool dgsRoundRectSetTexture( element rndRect, texture sourceTexture ) *'''rndRect:''' A dgs rounded rectangle element.
    1 KB (126 words) - 03:01, 3 September 2023
  • Diese Funktion gibt einen [[string]] aus, der die IP-Adresse des [[DE/Element/Player|Spieler]]'s enthält. * '''thePlayer:''' Der [[DE/Element/Player|Spieler]] von dem die IP-Adresse ausgegeben werden soll.
    804 bytes (95 words) - 22:13, 30 September 2014
  • ...l rather. The server controls who is able to write a book through exported functions, and the server controls who is able to read what book. Check out HeroInven ==Functions==
    4 KB (579 words) - 13:47, 21 January 2013
  • float getElementHealth ( element theElement ) {{OOP||[[element]]:getHealth|health|}}
    1 KB (72 words) - 14:38, 7 November 2017
  • {{New feature/item|3.0161|1.6.0|22219|Does a raycast against an element's renderable mesh model directly}} Does a raycast against an element's renderable mesh model [not the collision model!].
    2 KB (287 words) - 16:52, 31 October 2023
  • bool guiComboBoxRemoveItem( element comboBox, int itemId ) {{OOP||[[Element/GUI/Combobox|GuiComboBox]]:removeItem}}
    894 bytes (100 words) - 16:57, 23 August 2019
  • <syntaxhighlight lang="lua">float float float getElementVelocity ( element theElement )</syntaxhighlight> {{OOP||[[element]]:getVelocity|velocity|setElementVelocity|}}
    2 KB (289 words) - 17:49, 25 May 2018
  • ...system#Event source|source]] of this event is the [[Element/Sound|sound's element]]. ===Client event functions===
    2 KB (207 words) - 14:13, 28 August 2023
  • table getSoundEffectParameters ( element dzwiek, string nazwaEfektu ) *'''dzwiek''': [[PL/Element|Element]] [[PL/Sound|dźwięku]], którego chcesz pobrać parametry
    1 KB (132 words) - 12:23, 10 April 2023
  • bool dgsUnbindFromColorPicker( element boundSource ) *'''boundSource:''' A dgs element that has already bound to a color picker.
    783 bytes (89 words) - 10:20, 26 July 2019
  • ...function sets whether the color of gradient will overwrite the color of dx functions. bool dgsGradientSetColorOverwritten( element gradient, bool isOverwritten )
    1 KB (128 words) - 04:33, 21 November 2021
  • The element type of this class is '''"vehicle"'''. ==Related scripting functions==
    3 KB (384 words) - 06:57, 1 January 2022
  • This function applies a DGS tooltip to a DGS element. bool dgsTooltipApplyTo( element tooltip, element targetElement, string text [, string/dx-font font = tooltipFont, number max
    1 KB (157 words) - 11:17, 24 December 2022
  • This function allows tracing of MTA functions and events. It should only be used when debugging scripts as it may degrade Debug hooks are not recursive, so functions and events triggered inside the hook callback will not be traced.
    5 KB (481 words) - 23:48, 7 August 2020
  • ...as Lua userdata. Each of these classes has a number of exported scripting functions associated with them. * [[element|Element]]
    758 bytes (104 words) - 08:12, 24 October 2022
  • *'''theProjectile:''' The [[Element/Projectile|projectile]] element which type you want to retrieve. {{Client projectile functions}}
    854 bytes (90 words) - 17:42, 26 November 2014
  • element dgsCreateCanvas( element renderSource, int width, int height ) Returns a dgs-dxcanvas element (DGS Plugin Type)[ render target (Element Type) ] if succeed, ''false'' otherwise
    1 KB (150 words) - 10:34, 29 June 2023
  • int guiComboBoxAddItem( element comboBox, string value ) {{OOP||[[Element/GUI/Combobox|GuiComboBox]]:addItem}}
    831 bytes (108 words) - 20:37, 7 November 2018
  • int, int dgsBlurBoxGetResolution( element blurBox ) *'''blurBox:''' A dgs blur box element.
    692 bytes (77 words) - 13:03, 6 May 2020
  • The [[event system#Event source|source]] of this event is the combo box element that got its item selected. ===Client event functions===
    993 bytes (125 words) - 13:39, 20 January 2018
  • ...n, int absoluteX, int absoluteY, float worldX, float worldY, float worldZ, element clickedWorld ...cal [[entity]] elements that were clicked. If the player clicked on no MTA element, it's set to false.
    2 KB (253 words) - 14:28, 20 May 2018
  • The [[event system#Event source|source]] of this event is the dgs selector element that got its selected item changed. ===Client event functions===
    1,010 bytes (126 words) - 13:49, 13 February 2021
  • To request a function or event, use [[Requested Functions and Events]]. ==Element events==
    1 KB (161 words) - 11:03, 11 October 2018
  • ...urce|source]] of this event is either a [[player]] element or the [[root]] element. ===Client event functions===
    1 KB (212 words) - 14:44, 7 October 2021
  • This function sets the ammo left in a [[Element/Weapon|custom weapon]]'s magazine/clip. {{OOP||[[Element/Weapon|weapon]]:setClipAmmo|clipAmmo|getWeaponClipAmmo}}
    1 KB (145 words) - 17:23, 23 December 2014
  • <syntaxhighlight lang="lua">bool isElementWithinColShape ( element theElement, colshape theShape )</syntaxhighlight> {{OOP||[[element]]:isWithinColShape}}
    1 KB (58 words) - 11:54, 13 August 2016
  • This function sets the firing rate to be used when a [[Element/Weapon|custom weapon]] is in ''firing'' state. {{OOP||[[Element/Weapon|weapon]]:setFiringRate|firingRate|getWeaponFiringRate}}
    1 KB (147 words) - 14:50, 4 July 2016
  • This function retrieves [[element data]] attached to an element under a certain key. <syntaxhighlight lang="lua">var getElementData ( element theElement, string key [, bool inherit = true] )</syntaxhighlight>
    3 KB (359 words) - 18:35, 31 January 2022
  • This function returns the amount of options selected in the specified [[Element/GUI/Gridlist|grid list]]. int guiGridListGetSelectedCount ( element gridList )
    1 KB (176 words) - 21:15, 7 November 2018
  • bool guiComboBoxSetItemText ( element comboBox, int itemId, string text ) {{OOP||[[Element/GUI/Combobox|GuiComboBox]]:setItemText}}
    914 bytes (114 words) - 20:44, 7 November 2018
  • element dgsCreateNineSlice( element texture, float gridXLeft, float gridXRight, float gridYTop, float gridYBott *'''texture:''' A texture element that you want to scale.
    1 KB (176 words) - 17:31, 10 May 2022
  • Эта функция проверяет если [[Element/Vehicle|поезд]] имеет цепь двигателей (переме *'''theTrain:''' [[Element/Vehicle|поезд]] который проверяется, если это
    1 KB (57 words) - 09:45, 10 August 2014
  • function oyuncununNeKadarParasiVar( element ) if element then
    2 KB (284 words) - 19:16, 15 May 2017
  • ...ng parts of the game world from each other. Each dimension can contain any element, and elements are only visible to players in the same dimension as they are ==Relevant scripting functions==
    951 bytes (151 words) - 21:36, 28 April 2020
  • ...tor]] and [[Matrix]]. This page contains general information about the OOP functions and provides useful links. ...will prefer to stick to what they know - procedural programming. In fact, functions are still available even when OOP is enabled. Enabling OOP is as simple as
    2 KB (280 words) - 05:47, 6 November 2023
  • bool dgsGetQRCodeLoaded( element QRCode ) *'''QRCode : ''' A dgs-dxqrcode element.
    844 bytes (95 words) - 07:34, 9 February 2020
  • This function checks if a [[Element/Vehicle|train]] is a chain engine (moves the rest of the chain's carriages) {{New feature/item|3.0141|1.4.1|6946|{{OOP||[[Element/Vehicle|vehicle]]:isTrainChainEngine|chainEngine}}}}
    1 KB (163 words) - 23:13, 2 August 2016
  • The [[event system#Event source|source]] of this event is the [[root element]]. ===Client event functions===
    1 KB (135 words) - 21:03, 23 September 2021
  • bool dgsBlurBoxSetFilter( element blurbox [, shader shapePlugin] ) *'''blurbox''': A dgs blur box element.
    821 bytes (85 words) - 15:08, 5 November 2021
  • This function is used to get the element a [[player]] is currently targeting. element getPlayerTarget ( player thePlayer )
    1 KB (169 words) - 11:02, 26 June 2014
  • float dgsRoundRectGetRadius( element rndRect ) *'''rndRect:''' A dgs rounded rectangle element.
    844 bytes (94 words) - 03:01, 3 September 2023
  • local CAM = getCamera()--The camera is always the same element, so use this local variable to save cpu power. {{Camera functions}}
    423 bytes (56 words) - 21:05, 27 June 2018
  • ...et the [[dimension]] of any element. The dimension determines what/who the element is visible to. bool setElementDimension ( element theElement, int dimension )
    2 KB (249 words) - 21:24, 8 December 2018
  • ...et the [[dimension]] of any element. The dimension determines what/who the element is visible to. bool setElementDimension ( element theElement, int dimension )
    2 KB (249 words) - 21:24, 8 December 2018
  • <syntaxhighlight lang="lua">bool isElementWithinColShape ( element theElement, colshape theShape )</syntaxhighlight> {{OOP||[[element]]:isWithinColShape}}
    2 KB (307 words) - 10:02, 25 February 2020
  • element dgsRequestQRCode( string dataString [, int width = 128, int height = 128 ] Returns a dgs-dxqrcode element (DGS Plugin Type)[ texture (Element Type) ] if succeed, ''false'' otherwise
    1 KB (144 words) - 07:34, 9 February 2020
  • int getElementInterior ( element theElement ) {{OOP||[[element]]:getInterior|interior|setElementInterior}}
    1 KB (92 words) - 16:12, 17 April 2016
  • bool guiLabelSetHorizontalAlign ( element theLabel, string align, [ bool wordwrap = false ] ) {{OOP||[[Element/GUI/Text label|GuiLabel]]:setHorizontalAlign|horizontalAlign}}
    914 bytes (105 words) - 11:47, 7 August 2019
  • ...sich jeder Client, welcher mit dem Server verbunden ist. Das kann ein [[DE/Element/Player|Spieler]] oder die [[Konsole]] sein. {{Client functions}}
    362 bytes (45 words) - 12:15, 21 August 2012
  • element dgsMaskGetTexture( element mask ) DGS = exports.dgs --get exported functions from dgs
    844 bytes (104 words) - 13:15, 6 May 2020
  • This function stops the [[sound]] [[element]] slowly. <syntaxhighlight lang="lua">int stopSoundSlowly( element sound )</syntaxhighlight>
    2 KB (188 words) - 16:01, 28 June 2023
  • {{Note|DGS OOP Class returns tables which can not use original functions directly. See Example 1.}} ...you load dgs API with [[dgsImportOOPClass]], there will be some predefine functions/variables
    2 KB (241 words) - 02:44, 17 July 2021
  • element targetPlayer ===Client event functions===
    1 KB (133 words) - 05:42, 26 August 2021
  • element theElement * '''theElement''': the [[Element/GUI/Tab|tab]] which was selected.
    2 KB (234 words) - 17:42, 16 June 2021
  • Ez a függvény visszaadja az [[element tree|elemfa]] ''root'' csomópontját, melyet ''root''-nak hívnak. Ez a cs element getRootElement ( )
    2 KB (236 words) - 10:22, 9 October 2018
  • bool dgsRemoteImageRequest( element remoteImage, string URL ) *'''remoteImage :''' An element of remote image you want to operate.
    1 KB (130 words) - 09:31, 17 January 2021
  • Returns the model ID of a given element. This can be a player/ped skin, a pickup model, an object model or a vehicl int getElementModel ( element theElement )
    2 KB (255 words) - 17:34, 6 June 2022
  • This event is triggered each time a GUI element gains input focus (mainly useful for windows, editboxes and memos but trigg The [[event system#Event source|source]] of this event is the GUI element which just gained input focus.
    2 KB (230 words) - 14:30, 20 May 2018
  • This function gets the value of a specific CEGUI property of a GUI element. For a list of properties and their meaning, see the [http://static.cegui.o string guiGetProperty ( element guiElement, string property )
    1 KB (169 words) - 17:17, 21 November 2018
  • ...tar uma função ou um evento que ainda não existe, use a página [[Requested Functions and Events|Funções e Eventos solicitados]] (ainda em inglês) ou https:// '''Procurando as funções client-side? Visite a página [[Client Scripting Functions|Funções de Scripting do Cliente]].'''
    3 KB (436 words) - 00:36, 3 January 2022
  • This functions checks whether or not an element is attached to another element. bool isElementAttached ( element theElement )
    2 KB (339 words) - 23:10, 27 September 2018
  • bool dgsGetRemoteImageLoadState( element imageTexture ) *'''imageTexture : ''' A dgs-dxremoteimage element.
    1 KB (111 words) - 11:50, 10 May 2020
  • element dgsCreateBlurBox( int resolutionX, int resolutionY [, texture sourceTexture Returns a dgs-dxblurbox element (DGS Plugin Type)[ shader (Element Type) ] if succeed, ''false'' otherwise
    3 KB (337 words) - 12:40, 7 May 2022
  • This event is triggered each time a DGS element gains input focus (mainly useful for windows, editboxes and memos but trigg The [[event system#Event source|source]] of this event is the DGS element which just gained input focus.
    2 KB (235 words) - 13:39, 20 January 2018
  • ...nction returns the offsets of an element that has been attached to another element using [[attachElements]]. float, float, float, float, float, float getElementAttachedOffsets ( element theElement )
    2 KB (238 words) - 13:46, 6 August 2016
  • element guiCreateTab ( string text, gui-element parent ) {{OOP||[[Element/GUI/Tab|GuiTab]]||}}
    2 KB (222 words) - 08:10, 30 October 2023
  • ==Related scripting functions== {{Vehicle functions hu}}
    3 KB (496 words) - 20:31, 14 April 2021
  • This function gets the owner of a [[Element/Weapon|custom weapon]]. Weapon ownership system was, however, disabled, so {{OOP|Pair is completely disabled at the moment (its value is ''[[nil]]'').|[[Element/Weapon|weapon]]:getOwner|owner|setWeaponOwner}}
    1 KB (158 words) - 20:42, 20 May 2015
  • Esta funcion cambia el alpha (transparencia) de un determinado [[element]]. Puede ser: [[player]], [[ped]], [[object]] o [[vehicle]]. bool setElementAlpha ( element theElement, int alpha )
    2 KB (195 words) - 19:28, 24 June 2014
  • * '''thePickup''': The pickup element to be picked up/used. {{Pickup functions}}
    754 bytes (95 words) - 03:24, 5 June 2010
  • ...trieve the dimension of any element. The dimension determines what/who the element is visible to. int getElementDimension ( element theElement )
    2 KB (237 words) - 13:54, 6 August 2016
  • bool dgsRoundRectGetBorderThickness( element rndRect ) *'''rndRect:''' A dgs rounded rectangle element.
    925 bytes (102 words) - 03:02, 3 September 2023
  • ...DGS:dgsCreateGridList (346, 163, 433, 403, false ) --Create the grid list element ===Client event functions===
    1 KB (151 words) - 14:13, 5 April 2018
  • *'''thePed:''' the [[player]] or [[ped]] element that exited the vehicle ===Client event functions===
    1 KB (149 words) - 14:24, 31 August 2023
  • This function sets the position of an element to the specified coordinates. ...use this function to spawn a [[player]]. It will cause problems with other functions like [[warpPedIntoVehicle]]. Use [[spawnPlayer]] instead.}}
    3 KB (346 words) - 18:55, 30 January 2022
  • ...every time GTA renders a new frame. It is required for the DirectX drawing functions, and also useful for other clientside operations that have to be applied re ...[[event system#Event source|source]] of this event is the client's [[root element]].
    1 KB (197 words) - 11:06, 2 March 2014
  • ...[[event system#Event source|source]] of this event is the client's [[root element]]. ===Client event functions===
    1 KB (167 words) - 17:24, 30 July 2020
  • This function gets a list of the CEGUI property names and values of a GUI element. To find out what the different properties mean, check out the [http://stat table guiGetProperties ( element guiElement )
    1 KB (165 words) - 17:17, 21 November 2018
  • element getProjectileTarget ( projectile theProjectile ) *'''theProjectile:''' The [[projectiles| projectile]] element which target you want to retrieve.
    2 KB (188 words) - 01:29, 10 September 2016
  • Эта функция возвращает ноду корня [[RU/Element tree|дерева элементов]], называемую ''корень element getRootElement ( )
    2 KB (66 words) - 15:48, 8 September 2014
  • texture dgsRemoteImageGetTexture( element remoteImage ) *'''remoteImage :''' An element of remote image you want to get the texture from
    1 KB (123 words) - 09:32, 17 January 2021
  • texture dgsBlurBoxGetTexture( element blurbox ) *'''blurbox:''' A dgs blur box element.
    911 bytes (104 words) - 06:48, 8 March 2021
  • float getElementHealth ( element theElement ) {{RU/OOP||[[element]]:getHealth|health|setElementHealth}}
    2 KB (67 words) - 20:18, 11 August 2018
  • bool dgsRoundRectSetColor( element rndRect, int color ) *'''rndRect:''' A dgs rounded rectangle element.
    863 bytes (99 words) - 02:57, 3 September 2023
  • texture dgsRoundRectGetTexture( element rndRect ) *'''rndRect:''' A dgs rounded rectangle element.
    996 bytes (109 words) - 03:01, 3 September 2023
  • ...cree alguna función o un evento, visita el artículo oficial de [[Requested Functions and Events|Pedido de Funciones y Eventos]] o https://github.com/multithefta ...nes de cliente se pueden encontrar en el artículo sobre [[Client Scripting Functions|Funciones de cliente]].'''
    3 KB (426 words) - 00:36, 3 January 2022
  • The [[event system#Event source|source]] of this event is the [[root element]] of the resource that downloaded file. ===Client event functions===
    2 KB (172 words) - 18:46, 24 April 2020
  • ...s potentially very CPU intensive. Use as specific (i.e. low down the tree) element as you can.}} ...tRootElement(),] string name, [int bandwidth=50000,] [bool persist=false,] element theElement, [arguments...] )
    4 KB (572 words) - 22:59, 29 September 2019
  • ...[[event system#Event source|source]] of this event is the resource's root element. ===Client event functions===
    1 KB (161 words) - 15:53, 27 December 2023
  • int absoluteX, int absoluteY, element leftGUI ===Client event functions===
    1 KB (54 words) - 22:27, 21 February 2021
  • bool dgsRoundRectGetBorderOnly( element rndRect ) *'''rndRect:''' A dgs rounded rectangle element.
    935 bytes (106 words) - 13:08, 1 May 2020
  • This function detects the element a player is standing on. This can be a vehicle or an object. Note that the element getPlayerContactElement ( player thePlayer )
    1 KB (155 words) - 16:30, 13 February 2015
  • ...et a player's camera to follow other elements instead. Currently supported element type is: bool setCameraTarget ( player thePlayer [, element target = nil ] )
    3 KB (398 words) - 18:03, 12 March 2024
  • {{IT/Marker functions}} [[en:Element/Marker]]
    1 KB (159 words) - 09:52, 15 April 2021
  • *'''heli:''' the helicopter element to get the rotor speed of. ...ise. Returns ''false'' in case of failure (an invalid element or a vehicle element that is not a helicopter was passed).
    1 KB (165 words) - 21:40, 26 June 2016
  • This function sets the position of an element to the specified coordinates. ...use this function to spawn a [[player]]. It will cause problems with other functions like [[warpPedIntoVehicle]]. Use [[spawnPlayer]] instead.}}
    5 KB (677 words) - 21:23, 8 December 2018
  • bool dgsBlurBoxSetLevel( element blurBox, int level ) *'''blurBox:''' A dgs blur box element.
    929 bytes (103 words) - 12:57, 6 May 2020
  • This event is called by the root element whenever the cursor is moved over the screen, by the player. It returns inf The source of this event is the root element.
    2 KB (251 words) - 05:58, 12 July 2023
  • *'''theWater:''' the water element to get the vertex of ...4, 10, 1968, -1442, 10, 1866, -1372, 10, 1968, -1370, 10); -- create water element
    1 KB (151 words) - 17:10, 2 January 2022
  • ...use this function to spawn a [[player]]. It will cause problems with other functions like [[warpPedIntoVehicle]]. <br> bool setElementPosition ( element theElement, float x, float y, float z [, bool warp = true ] )
    5 KB (579 words) - 16:20, 17 April 2016
  • This function gets a weapon property of the specified [[Element/Weapon|custom weapon]] (clientside only) or specified [[Weapons|player-held {{OOP|This OOP syntax is for [[Element/Weapon|custom weapons]] only.|[[Element/Weapon|weapon]]:getProperty||setWeaponProperty}}
    1 KB (171 words) - 10:41, 24 December 2014
  • int guiComboBoxGetSelected ( element comboBox ) {{OOP||[[Element/GUI/Combobox|GuiComboBox]]:getSelected|selected|guiComboBoxSetSelected}}
    983 bytes (121 words) - 23:38, 2 January 2019
  • ==Main Functions== *'''alpha:''' The visibility/transparency of the DGS element. Ranges from 0 (fully transparent) to 1 (fully opaque). Default value is 0.
    7 KB (885 words) - 07:08, 12 May 2024
  • float guiGridListGetColumnWidth ( element gridList, int columnIndex, bool relative ) {{OOP||[[Element/GUI/Gridlist|GuiGridList]]:getColumnWidth}}
    996 bytes (121 words) - 20:06, 10 April 2019
  • This event happens when any dgs-element clicked {{Note|The '''player''' who clicked the dgs-element is always the [[localPlayer]].}}
    3 KB (392 words) - 14:16, 16 February 2021
  • This example outputs the type of element that created the explosion into the chatbox. ===Client event functions===
    1 KB (172 words) - 11:43, 11 January 2024
  • This function removes the object preview element from dgs image. bool dgsRemoveObjectPreviewFromImage( element dgsImage )
    1 KB (118 words) - 08:04, 9 February 2020
  • element getCameraTarget ( player thePlayer ) element getCameraTarget ()
    2 KB (239 words) - 16:39, 30 August 2018
  • This function sets the health for the specified [[element]]. This can be a [[ped]], [[object]] or a [[vehicle]]. {{Note|In the case of the [[vehicle]] element, the following effects appear, depending on the health value:
    2 KB (295 words) - 15:41, 24 July 2023
  • int guiGridListGetRowCount ( element gridList ) {{OOP||[[Element/GUI/Gridlist|GuiGridList]]:getRowCount|rowCount}}
    2 KB (172 words) - 09:18, 12 July 2023
  • This gets the firing rate to be used when a [[Element/Weapon|custom weapon]] opens fire. {{OOP||[[Element/Weapon|weapon]]:getFiringRate|firingRate|setWeaponFiringRate}}
    1,004 bytes (119 words) - 16:36, 23 December 2014
  • ...DGS:dgsCreateGridList (346, 163, 433, 403, false ) --Create the grid list element ===Client event functions===
    1 KB (171 words) - 06:06, 19 January 2021
  • int int int guiLabelGetColor ( gui-element theLabel ) {{OOP||[[Element/GUI/Text label|GuiLabel]]:getColor||guiLabelSetColor}}
    969 bytes (108 words) - 11:40, 7 August 2019
  • ...parent = nil, int textColor = 0x000000FF, int scaleX = 1, int scaleY = 1, element bgImage = nil, int bgColor = 0xFFFFFFFF ] ) *'''bgImage:''' A texture element of the back ground image of the memo.
    2 KB (381 words) - 09:26, 17 January 2021
  • Fonksiyon veya event ile ilgili bir şey için [[Requested Functions and Events|İstenmiş Fonksiyonlar ve Eventler]] sayfasını kullanın. == Element eventleri ==
    1 KB (153 words) - 17:36, 15 November 2018
  • element dgsCreateQuad( table corners [, int color = 0xFFFFFFFF, texture background *'''background''': A texture element of the background of the quadrilateral.
    2 KB (214 words) - 07:51, 5 May 2024
  • int guiGridListGetColumnCount ( element gridList ) {{OOP||[[Element/GUI/Gridlist|GuiGridList]]:getColumnCount|columnCount}}
    981 bytes (119 words) - 18:05, 22 December 2022
  • This function sets a [[Element/Weapon|custom weapon]]'s state. {{OOP||[[Element/Weapon|weapon]]:setState|state|getWeaponState}}
    1 KB (119 words) - 19:39, 4 May 2015
  • {{IT/Collision shape functions}} [[en:Element/Collision shape]]
    1 KB (159 words) - 09:59, 15 April 2021
  • ...sets whether the color of rounded rectangle will overwrite the color of dx functions. bool dgsRoundRectSetColorOverwritten( element rndRect, bool isOverwritten )
    1 KB (172 words) - 03:03, 3 September 2023
  • This functions removes a handler function from an [[event]], so that the function is not c bool removeEventHandler ( string eventName, element attachedTo, function functionVar )
    2 KB (245 words) - 21:41, 8 July 2010
  • string guiComboBoxGetItemText ( element comboBox, int itemId ) {{OOP||[[Element/GUI/Combobox|GuiComboBox]]:getItemText}}
    1 KB (126 words) - 20:38, 7 November 2018
  • bool guiScrollPaneSetScrollBars ( element scrollPane, bool horizontal, bool vertical ) *'''scrollPane:''' the GUI scrollpane element you want to set the scrollbars of.
    1,009 bytes (127 words) - 14:19, 20 May 2018
  • *'''theVehicle:''' the vehicle element (helicopter or plane) to get the rotor speed of. ...ise. Returns ''false'' in case of failure (an invalid element or a vehicle element that is not a helicopter or plane was passed).
    2 KB (189 words) - 11:16, 21 December 2023
  • ...nction updates the offsets of an element that has been attached to another element using [[attachElements]]. bool setElementAttachedOffsets ( element theElement, [ float xPosOffset, float yPosOffset, float zPosOffset, float x
    2 KB (268 words) - 13:46, 6 August 2016
  • *'''heli:''' the helicopter element to get the rotor speed of. ...ise. Returns ''false'' in case of failure (an invalid element or a vehicle element that is not a helicopter was passed).
    2 KB (154 words) - 20:09, 22 April 2017
  • <syntaxhighlight lang="lua">int getSoundBPM ( element sound )</syntaxhighlight> *'''sound:''' element dźwięku stworzony przy użyciu [[playSound]] lub [[playSound3D]]
    1 KB (149 words) - 17:08, 29 April 2023
  • Fonksiyon veya event ile ilgili bir şey için, [[Requested Functions and Events|İstenmiş Fonksiyonlar ve Eventler]] sayfasını kullanın. ==Element eventleri==
    1 KB (168 words) - 23:44, 12 May 2017
  • {{Element functions}}
    1 KB (54 words) - 03:07, 29 March 2018
  • bool dgsMaskSetTexture( element mask, element texture ) DGS = exports.dgs --get exported functions from dgs
    1,007 bytes (130 words) - 13:16, 6 May 2020
  • int guiGridListAddColumn ( element gridList, string title, float width ) {{OOP||[[Element/GUI/Gridlist|GuiGridList]]:addColumn}}
    1 KB (136 words) - 21:26, 2 December 2022
  • ...tar uma função ou um evento que ainda não existe, use a página [[Requested Functions and Events|Funções e Eventos solicitados]] (ainda em inglês) ou http://b ==Element (Elemento)==
    1 KB (147 words) - 23:15, 27 September 2017
  • Makes a ped turn his head and look at a specific world position or element. ...hePed, float x, float y, float z [, int time = 3000 [, int blend = 1000 ], element target = nil ] )
    2 KB (309 words) - 18:59, 30 January 2022
  • float loss, element attacker ===Client event functions===
    1 KB (185 words) - 15:20, 3 September 2020
  • <syntaxhighlight lang="lua">bool isElementWithinMarker ( element theElement, marker theMarker )</syntaxhighlight> {{OOP||[[element]]:isWithinMarker||}}
    1 KB (68 words) - 19:04, 26 March 2016
  • ...r whose parent was a ''flag'' element. If the event isn't canceled then an element data value is set on the player. ...if ( getElementType ( parentElement ) == "flag" ) then -- if it was a flag element then
    2 KB (208 words) - 11:51, 8 June 2022
  • element dgsCreateEffect3D( float rotateFactor ) Returns a dgs-dxeffect3d element (DGS Plugin Type)[ shader (Element Type) ] if succeed, ''false'' otherwise
    1 KB (167 words) - 17:29, 24 August 2020
  • Creates a [[Element/Weapon|custom weapon]] that can fire bullets. '''Do not confuse this with p {{OOP||[[Element/Weapon|Weapon]]}}
    2 KB (263 words) - 05:17, 26 August 2021
  • This useful client function draws a circle on any element you choose. <syntaxhighlight lang="lua">boolean dxDrawCircleOnElement(element TheElement, int marginFromTop = 1.25, int radius = 1, int distance = 20, in
    2 KB (204 words) - 08:13, 19 October 2022
  • element dgsCreateMask( texture sourceTexture, texture/shader/string mask [, table s Returns a dgs-dxmask element (DGS Plugin Type)[ shader (Element Type) ] if succeed, ''false'' otherwise
    2 KB (297 words) - 08:42, 9 February 2020
  • The [[event system#Event source|source]] of this event is the root dgs menu element. ===Client event functions===
    2 KB (213 words) - 07:35, 12 August 2023
  • ...да]], модель [[RU/Element/Vehicle|транспортного средства]] или модель [[RU/Element/Object|объекта]]. bool setElementModel ( element theElement, int model )
    4 KB (265 words) - 19:47, 6 June 2022
  • bool guiGridListSetScrollBars ( element guiGridlist, bool horizontalBar, bool verticalBar ) {{OOP||[[Element/GUI/Gridlist|GuiGridList]]:setScrollBars}}
    1 KB (134 words) - 21:19, 7 November 2018
  • This function returns the [[player]] element that is currently using a specified [[account]], i.e. is logged into it. On Returns a [[player]] element if the account is currently in use, ''false'' otherwise.
    1 KB (159 words) - 15:17, 8 June 2022
  • bool dgsRoundRectSetRadius( element rndRect, float radius [, bool isRelative = true] ) *'''rndRect:''' A dgs rounded rectangle element.
    1 KB (131 words) - 03:01, 3 September 2023
  • ...nction you can retrieve the [[string]] data associated with an item in a [[Element/GUI/Gridlist|grid list]]. This is not the text that is displayed on the ite var guiGridListGetItemData ( element gridList, int rowIndex, int columnIndex )
    2 KB (201 words) - 21:19, 7 November 2018
  • ==Main Functions== The functions as follows are basic on this property.
    8 KB (1,037 words) - 16:03, 5 February 2023
  • The [[event system#Event source|source]] of this event is the root dgs menu element. ===Client event functions===
    2 KB (213 words) - 07:34, 12 August 2023
  • This function gets the amount of ammo left in a [[Element/Weapon|custom weapon]]'s magazine/clip. {{OOP||[[Element/Weapon|weapon]]:getClipAmmo|clipAmmo|setWeaponClipAmmo}}
    2 KB (204 words) - 21:44, 7 May 2017
  • Gets the underlying XML document from an SVG element. *'''svgElement:''' The [[svg]] element you want to get the XML document of.
    1 KB (131 words) - 17:52, 26 February 2022
View (previous 500 | ) (20 | 50 | 100 | 250 | 500)