Search results

Jump to navigation Jump to search

Page title matches

  • {{Needs Checking|MTA:SA support on Linux is on a best-effort basis, and you can run into a long list of issues. Also see " [[Client on Linux using Lutris Manual]]
    10 KB (1,531 words) - 08:30, 29 June 2023
  • [[en:Client on Linux Manual]] [[ru:Client on Linux Manual]]
    3 KB (648 words) - 18:46, 24 July 2022
  • ...nt on Linux Manual]]. This manual for Lutris is a thing on the side, based on personal preference of individual Linux users. Both manuals can supplement # On Lutris, Add a Game:
    8 KB (1,221 words) - 00:00, 17 October 2023
  • [[en:Client on Linux Manual]] [[hu:Client on Linux Manual]]
    6 KB (240 words) - 03:06, 1 April 2016
  • {{Needs Checking|Does not currently compile correctly on macOS}} ...X can be downloaded from our [http://mtasa-blue.google.com Downloads page] on Google Code.
    2 KB (360 words) - 22:48, 20 May 2019
  • ...finished, for Windows go [[Client Manual|here]], and for Linux go [[Client on Linux Manual|here]].|true}} ...[[Client_Manual|Client Manual]] page for further informations, or join us on IRC @ irc://irc.multitheftauto.com/mta
    2 KB (286 words) - 21:38, 30 September 2018
  • == Installing and Running MTASA server on Linux == ....mtasa.com/ linux.mtasa.com] and see [[Installing and Running MTASA Server on GNU_Linux]]}}
    7 KB (1,067 words) - 22:18, 23 April 2022
  • #REDIRECT [[Building MTASA Server on macOS]]
    44 bytes (6 words) - 22:48, 20 May 2019
  • #REDIRECT [[Building MTASA Server on macOS]]
    44 bytes (6 words) - 11:24, 27 August 2022
  • == Installing and Running MTASA server on Linux == ....mtasa.com/ linux.mtasa.com] and see [[Installing and Running MTASA Server on GNU_Linux]]}}
    8 KB (1,099 words) - 16:07, 21 July 2022
  • [[en:Building MTASA Server on GNU Linux]]
    13 KB (545 words) - 16:54, 23 January 2022
  • ...your distribution of GNU/Linux; refer to your distribution's documentation on the location of the files. On Debian/Ubuntu this is done with:
    10 KB (1,410 words) - 05:18, 13 December 2023
  • [[en:Building MTASA Server on Mac OS X]]
    3 KB (111 words) - 08:29, 3 June 2012

Page text matches

  • This function checks whether user input is focused on the GUI or the game. Returns ''true'' if input is focused on GUI, ''false'' if it's focused on the game.
    817 bytes (102 words) - 17:16, 21 November 2018
  • This function detects the element a ped is standing on. This can be a vehicle or an object. ...ed:''' The [[ped]] of which you want to get the [[element]] he is standing on.
    1 KB (155 words) - 15:15, 5 November 2022
  • ...on is used to determine whether or not a ped is on the ground. This is for on-foot usage only. ...e ground, ''false'' otherwise, even if he is in a car that stands still or on object outside world map.
    1 KB (155 words) - 10:27, 30 January 2022
  • This function can be used to set a ped on fire or extinguish a fire on it. ...Fire:''' ''true'' to set the ped on fire, ''false'' to extinguish any fire on him
    1 KB (128 words) - 05:37, 26 August 2021
  • *'''clickedElement''': the [[element]] the [[player]] clicked on. This value is ''nil'' if none. *'''worldPosX''': the X position in the world the [[player]] clicked on.
    2 KB (208 words) - 14:58, 31 December 2022
  • This function tells you if friendly fire is turned on for the specified team. Returns ''true'' if friendly fire is on for the specified team, ''false'' if it is turned off or if invalid argumen
    1 KB (141 words) - 06:48, 12 July 2014
  • This function detects the element a player is standing on. This can be a vehicle or an object. Note that the server is unable to ret Returns an [[object]] or a [[vehicle]] if the player is standing on one, ''false'' if he is touching none or is a invalid player.
    1 KB (155 words) - 16:30, 13 February 2015
  • ...is function resets visibility of corona reflections. Default value depends on client setting. If client has enabled ''corona rain reflections'' in video {{Issue|2755|Corona reflections do not render on custom placed objects}}
    712 bytes (86 words) - 21:48, 7 October 2022
  • ...is used to determine whether or not a player is on the ground. This is for on-foot usage only. Returns ''true'' if the player is on foot and on the ground, ''false'' otherwise, even if he is in a vehicle capable of flyi
    1 KB (154 words) - 11:49, 26 June 2014
  • This function brings a dxGUI element on top of others. ...tGUI:''' the dxGUI element state. If this is true than the element will be on top
    617 bytes (82 words) - 18:59, 1 October 2013
  • ...finished, for Windows go [[Client Manual|here]], and for Linux go [[Client on Linux Manual|here]].|true}} ...[[Client_Manual|Client Manual]] page for further informations, or join us on IRC @ irc://irc.multitheftauto.com/mta
    2 KB (286 words) - 21:38, 30 September 2018
  • This function gets the current [[team]] a [[player]] is on. Returns a ''team'' element representing the team the player is on, ''false'' if the player is not part of a team.
    1 KB (157 words) - 23:58, 23 July 2018
  • ...26|This function is used to find out whether the lights of the vehicle are on.}} ...s]] because this function will return '''true''' if the lights were turned on by natural causes.
    2 KB (239 words) - 13:48, 25 October 2020
  • This function performs a bitwise NOT on an (unsigned) 32-bit [[Int|integer]]. See [http://en.wikipedia.org/wiki/Bit *'''var:''' The value you want to perform a bitwise NOT on
    846 bytes (111 words) - 20:06, 4 May 2015
  • This function checks if the specified [[ped]] is on fire or not. Returns ''true'' if the ped is on fire, ''false'' otherwise.
    768 bytes (96 words) - 21:05, 18 May 2020
  • This function will set the taxi light on in a taxi (vehicle ID's 420 and 438) *'''taxi:''' The vehicle element of the taxi that you wish to turn the light on.
    1 KB (143 words) - 02:25, 1 August 2018
  • ...ue/blob/master/CONTRIBUTING.md#contributors-guide These guidelines are now on GitHub] =
    132 bytes (16 words) - 07:02, 15 June 2023
  • ...es are for all intent and purpose objects so any object function will work on them like attachElements, setElementAlpha and such.
    4 KB (491 words) - 07:00, 15 June 2023
  • This event is triggered each time the cursor changes hovering item on grid list *'''CurrentItem:''' The value of current row that the cursor is hovering on.
    1 KB (171 words) - 06:06, 19 January 2021
  • #REDIRECT [[Client on Linux Manual]]
    36 bytes (5 words) - 20:40, 8 July 2012
  • #REDIRECT [[Client on Linux Manual]]
    36 bytes (5 words) - 11:24, 27 August 2022
  • ...t command. This is achieved by using a "toggleobjectmove" command with a "on" or "off" parameter. -- On "toggleobjectmove" in console, activate this command, which also asks the p
    2 KB (239 words) - 12:08, 31 October 2023
  • This event 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
  • This event 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
  • ...ean value representing whether or not the players radar map will be forced on ...ean value representing whether or not the players radar map will be forced on
    2 KB (200 words) - 23:49, 27 September 2017
  • #REDIRECT [[Building MTASA Server on macOS]]
    44 bytes (6 words) - 11:24, 27 August 2022
  • #REDIRECT [[Building MTASA Server on macOS]]
    44 bytes (6 words) - 22:48, 20 May 2019
  • ...creen. Elements behind objects but still in the camera view count as being on screen. ...ment:''' The element of which you wish to check wether it's being rendered on screen.
    2 KB (205 words) - 10:25, 30 January 2022
  • 1 KB (139 words) - 16:36, 26 September 2021
  • 934 bytes (95 words) - 16:36, 26 September 2021
  • Should you have any problems there is an example resource located on the resources repository: Just type "startmusic mystreamurl" in your console and it will play on the cinema billboard near A51. If the element is a player, this function wi
    2 KB (312 words) - 16:36, 26 September 2021
  • 1 KB (139 words) - 16:36, 26 September 2021
  • *This function does not work on remote WAV files
    2 KB (191 words) - 16:36, 26 September 2021
  • 1 KB (158 words) - 16:36, 26 September 2021
  • 947 bytes (97 words) - 16:36, 26 September 2021
  • 2 KB (207 words) - 16:36, 26 September 2021
  • 1 KB (131 words) - 16:36, 26 September 2021
  • 866 bytes (104 words) - 16:36, 26 September 2021
  • *'''X''' - Position on X axis on screen of widget *'''Y''' - Position on Y axis on screen of widget
    942 bytes (125 words) - 14:48, 20 November 2020
  • This event is triggered when a player stands on a different element than before. *'''previousElement''': the [[element]] [[player]] was standing on before. ''nil'' if none.
    903 bytes (111 words) - 03:01, 27 September 2018
  • *'''X''' - Position on X axis on screen of widget *'''Y''' - Position on Y axis on screen of widget
    989 bytes (133 words) - 14:47, 20 November 2020
  • Returns an integer value: 0 (No override), 1 (Force off) or 2 (Force on). This example will toggle the car lights on and off for a player's vehicle
    1 KB (139 words) - 16:10, 13 October 2014
  • This function changes the light overriding setting on a vehicle. ** '''2''': Lights are forced on.
    3 KB (292 words) - 19:19, 4 June 2017
  • This function checks if the specified player's radar map has been forced on or not. Returns ''true'' if the player's radar map is forced on, ''false'' otherwise.
    2 KB (239 words) - 04:27, 29 December 2014
  • ...unction sets the Z ordering of a blip. It allows you to make a blip appear on top of or below other blips. ...rdering:''' the new Z ordering value. Blips with higher values will appear on top of blips with lower values. Possible range: -32767 to 32767. Default: 0
    1 KB (190 words) - 20:02, 20 July 2019
  • This function returns a table of all the upgrades on a specifed vehicle. Returns a ''table'' of all the upgrades on each slot of a vehicle, which may be empty, or ''false'' if a valid vehicle
    1 KB (129 words) - 08:40, 4 November 2020
  • This function set position of Custom Widget on screen. *'''X''' - Position on X axis
    807 bytes (99 words) - 14:01, 20 July 2018
  • *'''X''' - Position on X axis on screen of widget *'''Y''' - Position on Y axis on screen of widget
    1 KB (183 words) - 05:20, 21 July 2018
  • *'''posX:''' A floating point number representing the X coordinate on the map. *'''posY:''' A floating point number representing the Y coordinate on the map.
    2 KB (280 words) - 18:37, 15 April 2021
  • *'''posX:''' A floating point number representing the X coordinate on the map. *'''posY:''' A floating point number representing the Y coordinate on the map.
    2 KB (242 words) - 18:36, 15 April 2021
  • *'''X''' - Position on X axis on screen of widget *'''Y''' - Position on Y axis on screen of widget
    1 KB (148 words) - 04:12, 21 July 2018
  • *'''X''' - Position on X axis on screen of widget *'''Y''' - Position on Y axis on screen of widget
    1 KB (187 words) - 05:25, 21 July 2018
  • * '''button''': This refers the button used to click on the mouse, can be ''left'', ''right'', or ''middle''. * '''absoluteX''': This refers to the 2D ''x coordinate'' the user clicked on his screen, and is an ''absolute'' position in pixels.
    2 KB (253 words) - 14:28, 20 May 2018
  • This function sets layer position of Custom Widget to front on screen. This example creating two windows, and puts first created on front:
    603 bytes (68 words) - 16:22, 28 July 2018
  • Returns ''true'' if input is focused on GUI, ''false'' if it's focused on the game.
    704 bytes (84 words) - 22:32, 3 May 2021
  • *'''X''' - Position on X axis on screen of widget *'''Y''' - Position on Y axis on screen of widget
    1 KB (158 words) - 14:21, 23 July 2018
  • ...table]] over all channel users. Returns an empty table if there's no users on that channel or ''false'' if invalid arguments were passed. outputConsole ( "There's no users on " .. channel .. "!", thePlayer )
    2 KB (185 words) - 11:10, 30 July 2009
  • *'''X''' - Position on X axis on screen of widget *'''Y''' - Position on Y axis on screen of widget
    2 KB (195 words) - 08:42, 21 July 2018
  • *'''Text''' - Text on the Button This example creates window button, what changes title on hover:
    714 bytes (76 words) - 14:22, 24 July 2018
  • Turns ABS on or off for a handling element. *'''ABS:''' ''true'' to turn ABS on, ''false'' to turn it off.
    2 KB (256 words) - 09:39, 9 April 2018
  • This function allows a scrollpane's scrollbars to be forced '''on''', or returned to default. *'''horizontal:''' A bool where true forces the horizontal scrollbar on, and false returns them to default.
    1,009 bytes (127 words) - 14:19, 20 May 2018
  • This example makes a /debug command to check if the client's debugscript is on or off. outputChatBox ( "You currently have debugscript on." ) -- If it is, output that it is
    1 KB (146 words) - 17:21, 21 November 2018
  • ...example create a window based on an orange theme.And create a button based on default theme.
    663 bytes (83 words) - 20:14, 25 May 2012
  • *'''gridXLeft:''' A float of the position of left grid, depends on '''relative''' *'''gridXRight:''' A float of the position of right grid, depends on '''relative'''
    1 KB (175 words) - 05:28, 5 March 2020
  • This function returns the current upgrade id on the specified vehicle's 'upgrade slot' Returns an ''integer'' with the upgrade on the slot if correct arguments were passed, ''false'' otherwise.
    1 KB (151 words) - 08:04, 5 August 2021
  • ...ed to switch between information by clicking on the tabs. Tabs are sorted on a tab panel in the order that they are created. ...Tab( "Map Information", tabPanel ) -- create a tab named "Map Information" on 'tabPanel'
    2 KB (222 words) - 08:10, 30 October 2023
  • ...ement]] in the [[element tree]]. See [[event system]] for more information on how the event system works. ...lling an event should prevent any further code being run that is dependent on whatever triggered that event. For example, if you have an ''onFlagCapture'
    3 KB (411 words) - 19:35, 8 April 2024
  • *'''X''' - Position on X axis on screen of widget *'''Y''' - Position on Y axis on screen of widget
    2 KB (201 words) - 07:02, 6 August 2018
  • This function set visibility of Custom Widget on screen. *'''Visibility''' - Boolean value of visibility of widget on screen.
    1 KB (110 words) - 16:20, 28 July 2018
  • if (playerTeam) then -- if he was on a team outputChatBox(getPlayerName(source).." is on team: "..getTeamName(playerTeam))
    1 KB (145 words) - 14:44, 13 July 2019
  • This event is triggered when a player is standing on a pickup while not being in a vehicle. *'''thePickupToUse''': the [[pickup]] the [[player]] is standing on and is about to pick up.
    1 KB (173 words) - 03:02, 27 September 2018
  • *'''X''' - Position on X axis on screen of widget *'''Y''' - Position on Y axis on screen of widget
    2 KB (207 words) - 08:44, 21 July 2018
  • This function allows a gridlist's scrollbar to be forced '''on''', or returned to default. *'''horizontalBar:''' A bool where ''true'' forces the horizontal scrollbar on, and ''false'' returns them to default.
    1 KB (134 words) - 21:19, 7 November 2018
  • ...n allows you to retrieve the world position corresponding to a 2D position on the screen, at a certain depth. If you want to detect what element is at a particular point on the screen, use [[processLineOfSight]] between the camera position and the
    2 KB (258 words) - 11:16, 7 July 2018
  • This function checks whether a specified file exists on a MTA:Eir FileSystem translator. ...ction returns '''true''' if the given path points to a valid file instance on a FileSystem, '''false''' otherwise.
    1 KB (159 words) - 03:24, 23 January 2022
  • *'''X''' - Position on X axis on screen of widget *'''Y''' - Position on Y axis on screen of widget
    1 KB (174 words) - 05:04, 21 July 2018
  • ...s a vehicle's engine on or off. Note that the engine will always be turned on when someone enters the driver seat, unless you override that behaviour wit ...neState''': A boolean value representing whether the engine will be turned on (''true'') or off (''false'').
    2 KB (219 words) - 09:01, 4 November 2020
  • ...efault":'' default MTA behavior prior to 1.1, where rotation order depends on element type ...rotation orders (set using ''"default"'' on peds) can not be used manually on other element types since they only exist due to historical and backward co
    2 KB (330 words) - 14:24, 29 August 2018
  • *'''seat:''' the number of the seat that the player was sitting on. 0 = driver, higher numbers are passenger seats. lblVehicle = guiCreateLabel(10, 200, 150, 20, "Currently on foot", false)
    1 KB (149 words) - 14:24, 31 August 2023
  • This function checks whether a specified file exists on a MTA:Eir FileSystem translator. ...ction returns '''true''' if the given path points to a valid file instance on a FileSystem, '''false''' otherwise.
    1 KB (153 words) - 23:22, 16 January 2022
  • This function returns whether the sirens are turned on for the specified vehicle. Returns ''true'' if the sirens are turned on for the specified vehicle, ''false'' if the sirens are turned off for the s
    1 KB (153 words) - 09:44, 12 September 2018
  • button = DGS:dgsCreateSwitchButton( 0.7, 0.1, 0.2, 0.1, "On", "Off", false, true ) outputChatBox(state == true and "On" or "Off")
    692 bytes (79 words) - 15:20, 22 April 2020
  • Two commands: '''fakelag''' on the client and '''sfakelag''' on the server.<br/> ...g lag to add in milliseconds. - e.g. A value of 100 will add a 100ms delay on all sent packets
    1 KB (249 words) - 19:08, 27 March 2024
  • button = DGS:dgsCreateSwitchButton( 0.7, 0.1, 0.2, 0.1, "On", "Off", true, true ) ...utChatBox ( "The switch turns "..(DGS:dgsSwitchButtonGetState(source) and "on" or "off"))
    721 bytes (76 words) - 15:00, 22 April 2020
  • ...a console command that outputs the player's team name and colors if he is on a team. if ( playerTeam ) then -- If the player is on a team (team is not false)
    2 KB (232 words) - 06:51, 12 July 2014
  • This property stores whether the debug mode is on or not. *'''debugMode:''' A bool indicates whether the debug mode is on.
    1 KB (160 words) - 11:50, 20 May 2020
  • *'''X''' - Position on X axis on screen of widget *'''Y''' - Position on Y axis on screen of widget
    1 KB (180 words) - 08:43, 21 July 2018
  • *'''theLabel:''' The text label to set the vertical alignment on. Returns ''true'' on success, ''false'' otherwise.
    806 bytes (91 words) - 11:48, 7 August 2019
  • This event is triggered when enter is pressed on an editbox. ...Event source|source]] of this event is the editbox which enter was pressed on.
    797 bytes (91 words) - 14:29, 20 May 2018
  • This function sets the dirt level on a vehicle. Returns ''true'' if the dirt level was set on the vehicle, ''false'' if the dirt level was not set or if invalid argument
    734 bytes (96 words) - 21:36, 2 November 2023
  • *'''velocityX''': The velocity on the x-coordinate or false if the wind velocity is default. *'''velocityY''': The velocity on the y-coordinate or nil if the wind velocity is default.
    1 KB (143 words) - 16:53, 20 May 2020
  • ...check [https://github.com/multitheftauto/mtasa-blue/milestones milestones on GitHub] instead. [[User:Qaisjp|- qaisjp]] ([[User talk:Qaisjp|talk]]) 16:40 ...nse that it provides a general description of each version, so that issues on the bugtracker can be targetted at specific versions more easily.
    2 KB (248 words) - 16:41, 12 March 2020
  • {{Needs Checking|Does not currently compile correctly on macOS}} ...X can be downloaded from our [http://mtasa-blue.google.com Downloads page] on Google Code.
    2 KB (360 words) - 22:48, 20 May 2019
  • ...e submerged if it enters water. A percentage of 0 means that it will stand on top of the water surface, a value of 100 means that it will immediately sin Returns ''true'' on success, ''false'' in case of failure.
    768 bytes (99 words) - 12:52, 2 January 2014
  • eAi created a program on December 16th 2003 which allows you to connect to an MTA server with a simp on ^*:hotlink:mtasa*//*:*: { !return }
    3 KB (470 words) - 16:05, 18 January 2012
  • This example checks if friendly fire is on for every team, and toggles it on if it isn't. -- switch it on
    1 KB (170 words) - 16:23, 3 December 2017
  • *'''X''' - Position on X axis on screen of widget *'''Y''' - Position on Y axis on screen of widget
    2 KB (192 words) - 04:46, 21 July 2018
  • *'''X:''' A float of the 2D x position of the image on a player's screen. *'''Y:''' A float of the 2D y position of the image on a player's screen.
    1 KB (160 words) - 13:51, 20 November 2020
  • *'''X''' - Position on X axis on screen of widget *'''Y''' - Position on Y axis on screen of widget
    2 KB (192 words) - 04:47, 21 July 2018
  • ...inside Toreno's house and adds a command to check whether you are standing on it. outputChatBox( "You are on the marker.", thePlayer )
    2 KB (211 words) - 18:45, 29 October 2023
  • This function returns the maximum number of player slots on the server. Returns the maximum number of players allowed on the server.
    791 bytes (102 words) - 18:52, 18 February 2016
  • This function performs a bitwise XOR-conjunction (exclusive OR) on two or more (unsigned) 32-bit [[Int|integers]]. See [http://en.wikipedia.or *'''varN:''' The value you want to perform a XOR-conjunction on
    778 bytes (101 words) - 21:54, 8 January 2016
  • This function performs a bitwise OR-conjunction on two or more (unsigned) 32-bit [[Int|integers]]. See [http://en.wikipedia.or *'''varN:''' The value you want to perform an OR-conjunction on
    758 bytes (98 words) - 21:50, 8 January 2016
  • This example just closes dialog when click on "OK" button: ...og is useless, because dialog closes automatically when user clicks button on dialog. This is just example.
    916 bytes (106 words) - 15:50, 25 July 2018
  • ...ion is used to get the current clothes texture and model of a certain type on a [[player]]. This example prints the model and texture of the current clothing on the player who calls the 'clothes' command. For example: 'clothes 3' for th
    1 KB (165 words) - 16:17, 13 February 2015
  • *'''X''' - Position on X axis on screen of widget *'''Y''' - Position on Y axis on screen of widget
    1 KB (191 words) - 17:00, 28 July 2018
  • Returns two string indicate the text of ''ON'' and ''OFF'' of the [[dgs-dxswitchbutton|Switch Button]]. button = DGS:dgsCreateSwitchButton( 0.7, 0.1, 0.2, 0.1, "On", "Off", true, true )
    777 bytes (81 words) - 15:04, 22 April 2020
  • ...wise pass this code to curl_strerror, and then you will know what is going on. On a success call it will return the data as a second argument.
    856 bytes (121 words) - 11:11, 22 June 2014
  • ===4. Right click on gta_sa.exe in the Process list and select ''''Create Dump'''->'''Create Min (Give the resulting file link to an MTA developer, or post it on the relevant forum topic)
    714 bytes (104 words) - 19:58, 26 November 2015
  • *'''seat:''' the number of the seat that the ped is now sitting on. 0 = driver, higher numbers are passenger seats. lblVehicle = guiCreateLabel(10, 200, 150, 20, "Currently on foot", false)
    2 KB (181 words) - 12:55, 29 November 2020
  • {{Issue|2755|Corona reflections do not render on custom placed objects}} {{Issue|2750|Corona reflections do not render on all roads}}
    868 bytes (90 words) - 19:11, 18 October 2022
  • This function gets the DGS Dx GUI element that the cursor is hovering on. Returns a DGS element if the cursor is hovering on a clickable DGS element, ''false'' otherwise.
    781 bytes (93 words) - 04:25, 16 February 2020
  • *'''x:''' A floating point number representing the X coordinate on the map. *'''y:''' A floating point number representing the Y coordinate on the map.
    1 KB (150 words) - 18:51, 24 April 2018
  • This function checks if a weapon is usable while on a Jetpack. *'''weapon:''' The weapon that's being checked if it's usable on a Jetpack.
    691 bytes (86 words) - 17:13, 25 September 2012
  • ...ion is used to get the current clothes texture and model of a certain type on a [[ped]]. This example prints the model and texture of the current clothing on the player who enters the "clothes" command. For example: "clothes 3" for t
    1 KB (179 words) - 10:48, 22 September 2018
  • This function brings a GUI element on top of others. This example creates a gui window and brings it on top.
    826 bytes (99 words) - 15:36, 14 April 2021
  • *'''x:''' A floating point number representing the X coordinate on the map. *'''y:''' A floating point number representing the Y coordinate on the map.
    3 KB (353 words) - 05:59, 5 November 2023
  • ====Lua table of boneIDs which can be used on [[getElementBonePosition]] function.====
    1 KB (175 words) - 07:10, 1 January 2022
  • ...A rendering system''' is a '''high-level render object management''' based on the RenderWare SDK and Direct3D 9. ...ed, object, dummy), their '''effective position''' (underwater, on ground, on/off screen) and '''game configuration''' (model flags, handling flags).
    3 KB (520 words) - 03:48, 22 July 2016
  • The module is based on php cURL module. If you found any bugs, please post them on the [https://github.com/mrdejong/mta_curl/issues github page]
    1 KB (153 words) - 15:12, 16 April 2017
  • *'''theLabel:''' The text label to set the horizontal alignment on. Returns ''true'' on success, ''false'' otherwise.
    914 bytes (105 words) - 11:47, 7 August 2019
  • ...ed:''' The [[ped]] of which you want to get the [[element]] he is standing on. outputChatBox( "You're standing on a " .. vehicleName .. "." )
    1 KB (191 words) - 13:28, 7 October 2018
  • {{Note|You cannot rely on this function to get the focus state of the MTA window - use [[isMTAWindowF Returns ''true'' if the focus is on the MTA window, ''false'' if it isn't.
    982 bytes (123 words) - 15:04, 8 October 2022
  • ...function returns a ''boolean'' which is ''true'' on success, and ''false'' on failure. -- Create's the table named "table" on resource start.
    1 KB (190 words) - 16:24, 13 February 2015
  • * '''button''': This refers the button used to click on the mouse, can be ''left'', ''right'', or ''middle''. * '''absoluteX''': This refers to the 2D ''x coordinate'' the user clicked on his screen, and is an ''absolute'' position in pixels.
    3 KB (393 words) - 13:54, 5 June 2021
  • This function returns the current state of the specified light on the vehicle. outputChatBox ( "The front-left light state on this car: " .. state )</syntaxhighlight>
    845 bytes (100 words) - 21:56, 15 June 2018
  • ...enting the absolute starting X position of the line, represented in pixels on the screen. ...enting the absolute starting Y position of the line, represented in pixels on the screen.
    1 KB (165 words) - 02:13, 18 August 2023
  • *'''x:''' A float of the 2D x position of the button on a player's screen. This is affected by the ''relative'' argument. *'''y:''' A float of the 2D y position of the button on a player's screen. This is affected by the ''relative'' argument.
    3 KB (406 words) - 10:45, 16 February 2021
  • Triggering an [[event]] on an [[element]], also triggers the event on its parents (up the [[element tree]]) and its children (down the [[element
    1 KB (158 words) - 02:34, 29 April 2015
  • *'''color1:''' This is the first color argument, depends on "colorType" *'''color2:''' This is the second color argument, depends on "colorType"
    2 KB (271 words) - 07:26, 4 October 2019
  • ...efault GTA textures, so that it becomes possible to e.g. put custom images on existing billboards. Ped and weapon textures are also supported. See here for [[Optimize_Custom_TXD|tips on reducing the size of TXD files]].
    1 KB (212 words) - 21:37, 29 April 2024
  • ...'''not enable''' it on the client side. These functions work independently on both sides}} *'''enable''': A boolean to indicate whether development mode is on (''true'') or off (''false'')
    2 KB (253 words) - 14:48, 30 April 2024
  • * You hit a key combination on the keyboard. Now the client syncs your car coordinates with those of the previous car on the other computer and the other players car with your previous car. Theref
    885 bytes (162 words) - 10:51, 15 January 2012
  • *'''textOn:''' A string of the text of state ''on''. button = DGS:dgsCreateSwitchButton( 0.7, 0.1, 0.2, 0.1, "On", "Off", false, true )
    813 bytes (95 words) - 15:00, 22 April 2020
  • ...ue''' if the GTA:SA engine is allowed to take away Streaming GC nodes from on-screen/visible entities, '''false''' otherwise. This snippet turns on garbage collection if Streaming node stealing is found enabled.
    1 KB (127 words) - 08:21, 28 September 2023
  • *'''x, y, z:''' position vector on the GTA:SA world *'''rot:''' Rotation on the Z axis of the civilian.
    860 bytes (114 words) - 20:14, 17 December 2013
  • |Identifies objects to draw "wet reflections" on them. |Do not draw dynamic shadows on this object.
    2 KB (323 words) - 13:07, 20 April 2023
  • ...ty version of the vehicle will render after a specific distance (depending on vehicle type). This setting can be overridden by the users settings.
    903 bytes (118 words) - 09:16, 11 December 2013
  • {{Note| This function doesn't fix the issue of camera clip not working on objects out of world bounds.}} *'''objects:''' Sets if you want the camera to clip on objects.
    1 KB (196 words) - 10:31, 11 August 2019
  • This function gets - is Custom Edit Box located on side bar (changing by [[CustomEditBox:putOnSide]]. Returns boolean value - is Edit located on side of window.
    929 bytes (107 words) - 07:05, 14 August 2018
  • On '''server''' this returns a boolean, whether the transfer box should be vis On '''client''' this returns a boolean, whether the transfer box should be vis
    1,014 bytes (112 words) - 21:32, 23 September 2021
  • This function checks if nitro is recharging on the [[vehicle]]. Returns ''true'' if the nitro is currently recharging on the vehicle, ''false'' otherwise.
    997 bytes (108 words) - 19:07, 15 June 2021
  • {{Issue|2755|Corona reflections do not render on custom placed objects}} {{Issue|2750|Corona reflections do not render on all roads}}
    927 bytes (111 words) - 21:54, 7 October 2022
  • This function creates a notification balloon on the desktop. ==Example of notification on minimize MTA application==
    2 KB (248 words) - 12:12, 30 December 2022
  • *'''state:''' A bool of the state you want to set ( ''true'' for ''ON'' and ''false'' for ''OFF'' ). button = DGS:dgsCreateSwitchButton( 0.7, 0.1, 0.2, 0.1, "On", "Off", false, true )
    784 bytes (92 words) - 15:01, 22 April 2020
  • This function enables or disables the weapons on a vehicle This function will disables the ability to fire rockets on a hydra.
    2 KB (210 words) - 00:15, 10 September 2016
  • 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 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
  • ...n top of or below other blips. Blips with a higher Z ordering value appear on top of blips with a lower value. The default value for all blips is 0.
    937 bytes (126 words) - 20:29, 18 July 2019
  • *'''X''' - Position on X axis on screen of widget *'''Y''' - Position on Y axis on screen of widget
    2 KB (232 words) - 03:49, 22 July 2018
  • ...slated by [[tocolor]] of the background color when the switch button turns on. *'''normalColor:''' A integer of background color of turned on switch button.
    8 KB (1,202 words) - 14:11, 11 June 2023
  • This function checks whether there is some data holding on cursor. Returns ''true'' if there is some data holding on cursor, ''false'' otherwise
    1 KB (105 words) - 17:29, 23 March 2022
  • ...paque pixels of entities are rendered and then the alpha pixels, depending on whether they are closer to the screen or not. Otherwise the original render This snippet should fix many annoying alpha issues on the main GTA:SA world.
    1 KB (138 words) - 09:36, 11 December 2013
  • This event is triggered when enter is pressed on a dgs edit box. ...source|source]] of this event is the dgs edit box which enter was pressed on.
    926 bytes (113 words) - 14:24, 9 September 2019
  • This event occurs when double clicking on any dgs-element. This example creates a text button and clicking on it will tell you the position coordinates of the mouse cursor:
    1 KB (203 words) - 11:48, 12 February 2021
  • '''Example 1:''' This example would outputs the force of the projectile on 1-100 scale. This function just works with projectiles which you throw so j outputChatBox(getForce*100) -- outputs the force of the projectile on 1-100 scale
    1 KB (120 words) - 17:41, 26 November 2014
  • ...t''' looking for instances of the pattern you passed. For more information on iterators read the [http://lua-users.org/wiki/ForTutorial ForTutorial] and Returns an ''function'' for iterations on the '''input''' string by using the passed '''pattern''' string.
    1 KB (137 words) - 02:43, 15 February 2016
  • ...und the Z axis. It's used with on-foot players: use [[getVehicleRotation]] on the occupied [[vehicle]] if the player is in one. -- if he is on foot
    1 KB (189 words) - 16:13, 13 February 2015
  • This function gets the current paintjob on the specified vehicle. <br /> Returns an integer representing the current paintjob on the vehicle. <br />
    1 KB (139 words) - 04:22, 11 August 2019
  • ...fly (for example triggering such a powerup gives a random advantage based on current modelID), ...
    991 bytes (129 words) - 13:31, 12 May 2013
  • 1.5.2 was released on January 24, 2016. * Changelog on Mantis: https://bugs.mtasa.com/changelog_page.php
    2 KB (263 words) - 19:41, 29 December 2022
  • ...ays his role in the MTA community, and I would like to elaborate my vision on that. ...ur questions. Nonetheless, they are the most valuable source for knowledge on the GTA:SA engine and the MTA runtime. The best place to contact MTA develo
    3 KB (509 words) - 22:11, 2 January 2022
  • <!-- Add the code below, an emphasis should be on making it clear, not optimized. You could provide two versions if you wish, <!-- Change FunctionArea to the area that this function is in on the main function list page, e.g. Server, Player, Vehicle etc -->
    1 KB (141 words) - 18:30, 21 February 2021
  • ...art of the ajax resource. As such it can only be used in HTML pages hosted on the MTA server as part of a resource. To use it, place the following in the alert ( "There are " + playerCount + " players on the server!" );
    2 KB (265 words) - 20:25, 23 September 2016
  • This function performs a bitwise AND-conjunction on two or more (unsigned) 32-bit [[Int|integers]]. See [http://en.wikipedia.or *'''varN:''' The value you want to perform an AND-conjunction on
    882 bytes (118 words) - 12:06, 2 June 2013
  • This function is used to retrieve the text on the number plate of a specified vehicle. Returns a ''string'' that corresponds to the plate on the text, ''false'' if a bad argument was passed or if it is not a vehicle.
    2 KB (217 words) - 20:33, 13 October 2014
  • ...oyed object, and set it to '''nil''' after destroying. Any methods working on destroyed object, but it will sends error in debug, because objects is does outputChatBox("You've clicked on window")
    1 KB (129 words) - 15:43, 5 September 2018
  • ...ple adds a vehicle siren on entering a vehicle and removes a vehicle siren on exiting.
    935 bytes (107 words) - 19:01, 23 January 2021
  • *'''exitCode:''' the server application exit code to be returned on shutdown. This command shuts down the server on request
    1 KB (122 words) - 21:26, 23 September 2021
  • ...moving parts and rotating parts relative to the vehicle they are currently on. ...by prefixing this name with a # in the model file though it will not work on anything the game recognizes for instance wheels cannot be hidden by defaul
    3 KB (504 words) - 22:04, 5 December 2018
  • ...moving parts and rotating parts relative to the vehicle they are currently on. ...by prefixing this name with a # in the model file though it will not work on anything the game recognizes for instance wheels cannot be hidden by defaul
    3 KB (504 words) - 22:04, 5 December 2018
  • * '''x''': A floating point number representing the X coordinate on the map. * '''y''': A floating point number representing the Y coordinate on the map.
    1 KB (190 words) - 19:58, 25 July 2018
  • This function gets the state of the helicopter blades collisions on the specified vehicle. outputChatBox("Helicopter blades collisions are turned ".. (state and "on" or "off") )
    1 KB (139 words) - 14:06, 31 December 2014
  • *'''x:''' A floating point number representing the X coordinate on the map. *'''y:''' A floating point number representing the Y coordinate on the map.
    2 KB (218 words) - 16:24, 21 April 2024
  • ...e, meaning that resources can take an arbitrary amount of pulses depending on the complexity of said resources. This snippet draws on the screen whether fibered loading is enabled or not.
    1 KB (149 words) - 08:21, 28 September 2023
  • ...resenting the absolute start X position of the line, represented by pixels on the screen. ...resenting the absolute start Y position of the line, represented by pixels on the screen.
    3 KB (378 words) - 00:45, 27 December 2017
  • This function performs an AND-conjunction on two or more (unsigned) 32-bit [[Int|integers]] and checks, whether the conj *'''varN:''' The value you want to perform the operation on (see above)
    991 bytes (134 words) - 11:00, 17 February 2014
  • This method allows you to set/get a color of label on the button when you hover over it. Color of the label on button will change.
    2 KB (227 words) - 16:35, 11 February 2015
  • This example turns on driveby mode when the local player types ''driveby'' in the console. -- if he got driveby mode off, turn it on
    1 KB (135 words) - 09:31, 11 February 2019
  • This function returns a [[boolean]] whether the [[vehicle]]'s wheel is on ground (true) or in air (false). Returns ''true'' if the vehicle wheel is on ground/collided, ''false'' otherwise.
    2 KB (198 words) - 11:37, 30 April 2021
  • ...e '''absolute''' origin X position of the rectangle, represented by pixels on the screen. ...e '''absolute''' origin Y position of the rectangle, represented by pixels on the screen.
    2 KB (218 words) - 17:32, 5 January 2023
  • *'''x:''' A float of the 2D x position of the DGS scroll bar on a player's screen. This is affected by the ''relative'' argument. *'''y:''' A float of the 2D y position of the DGS scroll bar on a player's screen. This is affected by the ''relative'' argument.
    3 KB (515 words) - 06:17, 29 January 2022
  • ...e.org/lang_createtable.html SQLite SQL documentation] for more information on creating even more complex tables. The function returns ''true'' on success, and ''false'' on failure.
    2 KB (249 words) - 15:13, 4 October 2016
  • This function spawns the player at an arbitary point on the map.<br> {{Note|[[setCameraTarget]] must be used to focus on the player. Also, all players have their camera initially faded out after c
    2 KB (296 words) - 14:53, 6 January 2022
  • <p>There is a grid list you are focus on.</p> <p>if you press the arrow up (↑) on your keybord, the current row will be deselected and the upper row will be
    1 KB (141 words) - 06:29, 30 January 2019
  • This event is fired when the user clicks certain mouse button on a DGS element. *'''button:''' the name of the mouse button that was released on a DGS element, can be ''left'', ''right'', or ''middle''.
    2 KB (232 words) - 14:17, 16 February 2021
  • This function only works on vehicles with adjustable properties. ...o force the setting beyond default maximum, for example setting above 5000 on the dump truck (normal max 2500) will cause the tray to be fully vertical.)
    2 KB (242 words) - 11:05, 9 October 2012
  • ...the current clothes of a certain type on a [[player]]. It can only be used on players with the CJ skin (id 0). This example adds a 'moto' helmet to a player when he gets on a nrg bike, and removes it when he gets off.
    2 KB (218 words) - 08:46, 4 November 2020
  • ...]]. The player will automatically be removed from his current team if he's on one. local theTeam = getPlayerTeam ( source ) -- Check if the player is on a team
    2 KB (230 words) - 06:58, 12 July 2014
  • *'''objects:''' if you want the camera to clip on objects. *'''vehicles:''' if you want the camera to clip on vehicles.
    1,008 bytes (125 words) - 07:12, 10 October 2020
  • This function sets how many items will be viewed on the drop-down box of combo box. DGS:dgsComboBoxSetViewCount(combo,5) -- we can see 5 items on the drop-box now
    963 bytes (132 words) - 09:24, 17 January 2021
  • This event is fired when the user releases his mouse button when on top of a DGS element. *'''button:''' the name of the mouse button that was released on a DGS element, can be ''left'', ''right'', or ''middle''.
    2 KB (235 words) - 14:18, 16 February 2021
  • <p>There is a grid list you focus on.</p> <p>if you press the arrow up (↑) on your keybord, the current row will be deselected and the upper row will be
    1 KB (141 words) - 13:36, 8 April 2020
  • 1.5.1 was released on November 5, 2015. * Changelog on Mantis: https://bugs.mtasa.com/changelog_page.php
    3 KB (325 words) - 19:42, 29 December 2022
  • ...function enables you to safely read the contents of a meta.xml-listed file on both client and server. ...only if verification was disabled or if the checksum comparison succeeded. On failure, this function returns ''nil''.
    2 KB (245 words) - 18:30, 20 December 2023
  • *'''X''' - Position on X axis on screen of widget *'''Y''' - Position on Y axis on screen of widget
    2 KB (270 words) - 14:54, 5 August 2018
  • This event 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
  • When adding the event handler on the tab panel, propagate must be true. ...mation", tabPanel ) -- create a tab named "Map Information" on 'tabPanel'
    2 KB (234 words) - 17:42, 16 June 2021
  • This example turns on driveby mode when the local player types ''driveby'' in the console. -- if he got driveby mode off, turn it on
    1 KB (148 words) - 22:43, 26 March 2021
  • You can help the MTA team by communicating with us [https://mtasa.com on Discord]. ...s you find [https://github.com/multitheftauto/mtasa-blue/issues/new/choose on GitHub]
    3 KB (409 words) - 08:30, 7 September 2019
  • *Wheetos must only show on local team *Wheetos should be turn on/off-able
    2 KB (247 words) - 16:23, 11 November 2011
  • ...re and clothesModel aren't specified, or if they match the current clothes on that slot. This example adds a 'moto' helmet to a player when he gets on a nrg bike, and removes it when he gets off.
    2 KB (227 words) - 09:09, 4 November 2020
  • ...[[setVehicleRespawnPosition]] or the position and rotation it was created on. To spawn a vehicle to a specific location just once, [[spawnVehicle]] can <!-- Add the code below, an emphasis should be on making it clear, not optimized. You could provide two versions if you wish,
    1 KB (154 words) - 06:33, 13 October 2023
  • ...ing the '''absolute''' start X position of the line, represented by pixels on the screen. ...ing the '''absolute''' start Y position of the line, represented by pixels on the screen.
    2 KB (325 words) - 01:00, 8 April 2022
  • '''Example 1:''' This example would outputs the force of the projectile on 1-100 scale. This function just works with projectiles which you throw so j outputChatBox(getForce*100) -- outputs the force of the projectile on 1-100 scale
    1 KB (126 words) - 18:55, 18 January 2014
  • On success: On failure:
    1 KB (147 words) - 16:25, 25 February 2014
  • ...cal properties itself. It is lightweight rendering and collidable instance on the GTA:SA world. As opposed to Objects, buildings do not stream. They can *'''x, y, z:''' position vector on the GTA:SA world
    1 KB (149 words) - 01:52, 12 January 2014
  • This function get visibility of Custom Widget on screen. This example creating window with buttons, when click on them label changing visibility, and one button with event with checking vis
    1 KB (129 words) - 16:21, 28 July 2018
  • ...an create two installations by reinstalling San Andreas to a second folder on your hard drive. ...ning the game in single player. Note that if you are running single player on the absolute minimum requirements, you will experience slowdowns in MTA as
    13 KB (2,161 words) - 07:03, 15 June 2023
  • This function returns Custom Widget real size on screen. ...e, sended in arguments, and creates shadows of window widget with 2 pixels on side. Summary - real size is greater than original for 4 pixels in Width an
    1,000 bytes (128 words) - 16:36, 29 July 2018
  • *'''objects:''' Sets if you want the camera to clip on objects. *'''vehicles:''' Sets if you want the camera to clip on vehicles.
    1 KB (145 words) - 06:20, 20 January 2022
  • outputChatBox( "You are on the marker.", thePlayer ) outputChatBox( "You are not on the marker.", thePlayer )
    2 KB (240 words) - 17:56, 21 February 2021
  • This functions performs a logical right shift on the integer '''value''' by integer '''n''' positions. In a ''logical shift' *'''value:''' The value you want to perform the shift on.
    1 KB (136 words) - 22:29, 21 February 2016
  • ...re and clothesModel aren't specified, or if they match the current clothes on that slot. This example adds a 'moto' helmet to a player when he gets on a nrg bike, and removes it when he gets off.
    2 KB (239 words) - 20:56, 20 February 2021
  • ...h as accounts, and resources which allows them to do some things depending on the permission the group has/holds. ...has. Users and resources in this group will have the permissions specified on the "Default" acl name list. ''Note: You will notice this group is special,
    4 KB (582 words) - 15:08, 11 June 2023
  • ...on of elements according to the world (does not work with players that are on the ground). ...s should set '''conformPedRotation''' to ''true'' when using this function on [[Ped|peds]]. This will prevent quirky old behaviour.}}
    4 KB (570 words) - 02:26, 3 March 2023
  • ...re and clothesModel aren't specified, or if they match the current clothes on that slot. This example adds a 'moto' helmet to a player when he gets on a nrg bike, and removes it when he gets off.
    2 KB (240 words) - 17:42, 22 December 2018
  • ...streaming status changes rapidly every frame, it is recommended to draw it on the screen. This snippet draws the engine streaming information on the screen.
    2 KB (151 words) - 08:10, 28 September 2023
  • This function sets the maximum number of player slots on the server. *'''slots:''' Maximum number of player slots on the server.
    1 KB (173 words) - 05:56, 11 August 2019
  • This functions performs a logical left shift on the integer '''value''' by integer '''n''' positions. In a ''logical shift' *'''value:''' The value you want to perform the shift on.
    1 KB (136 words) - 22:29, 21 February 2016
  • The cloned element will be placed on the [[element tree]] as a child of the same parent as the cloned element. * '''xPos''': A floating point number representing the X coordinate on the map.
    2 KB (317 words) - 03:33, 1 January 2015
  • ...ed to switch between information by clicking on the tabs. Tabs are sorted on a tab panel in the order that they are created. ...Tab( "Map Information", tabPanel ) -- create a tab named "Map Information" on 'tabPanel'
    3 KB (404 words) - 11:07, 16 February 2021
  • ...for that is here: [https://github.com/davidm/lua-matrix Lua matrix library on github]
    442 bytes (78 words) - 18:31, 11 September 2016
  • ...root directory''' and '''current directory''' that it bases all operations on. It is only allowed to access file system objects from '''its directory tre ...rlying file system. Every path has a ''target location'' that it points to on a translator file system.
    6 KB (1,014 words) - 13:27, 20 January 2022
  • *'''startX:''' A float of the 2D x position of start position of the line on a player's screen. This is affected by the ''relative'' argument. *'''startY:''' A float of the 2D y position of start position of the line on a player's screen. This is affected by the ''relative'' argument.
    2 KB (263 words) - 12:03, 10 January 2023
  • {{Tip|For [[matrix]] manipulation which goes beyond the basic examples given on this page, see the [[Lua matrix library]]. Using the built-in [[matrix]] cl *'''theElement:''' the [[element]] to set the bone matrix on.
    1 KB (134 words) - 15:06, 15 January 2023
  • ...server. For example: 'player 0' would return the name of the first player on the server.
    1 KB (175 words) - 19:26, 29 October 2023
  • ...peeding vehicles, and notifies the driver and take money from player based on vehicle speed. ...e camera, the driver of the vehicle is fined. The fine is calculated based on the vehicle’s speed, and a message is displayed to the driver informing t
    4 KB (405 words) - 21:54, 26 November 2023
  • ...If you want your changes to be published, please speak to [[User:50p|50p]] on MTA forums [https://forum.multitheftauto.com/profile/1687-50p/ HERE] ...get errors about authorization then you should use the account you created on your server
    3 KB (413 words) - 19:58, 6 November 2022
  • ...click, and event when window close sends info in chat, and removing event on close window:
    1 KB (145 words) - 15:37, 5 September 2018
  • ...all MTA entities that are currently added to the rendering queue. Entities on the rendering queue are rendered in a specific order per frame. GTA:SA crea This snippet marks all entities on the rendering queue for deletion. Since the entities are referenced during
    1 KB (172 words) - 09:07, 11 December 2013
  • This functions performs a bitwise circular left-rotation on the integer '''value''' by integer '''n''' positions. *'''value:''' The value you want to perform the rotation on.
    1 KB (156 words) - 21:37, 21 February 2016
  • ...wever since the build system is CMake it should be pretty simple to use it on another platforms. ...omatic memory cleanup when you forget to destroy images some resource used on it's unload.
    2 KB (213 words) - 09:25, 20 May 2012
  • ...shift, the [https://en.wikipedia.org/wiki/Sign_bit sign bit] is shifted in on the left, thus preserving the sign of the operand. *'''value:''' The value you want to perform the arithmetic shift on.
    2 KB (273 words) - 01:10, 22 February 2016
  • ...d level. The wanted level is indicated by the amount of stars a player has on the GTA HUD. [[File:Stars.png|thumb|Wanted level indicator on hud]]
    1 KB (166 words) - 14:22, 27 April 2020
  • *'''objects:''' if you want the camera to clip on objects. *'''vehicles:''' if you want the camera to clip on vehicles.
    1 KB (144 words) - 07:24, 17 October 2018
  • ...le creates a skywalker light on top of Los Santos' skyscraper and turns it on/off every second by setting it's ending radius and starting radius to 0.
    1 KB (138 words) - 11:12, 20 March 2019
  • To access this function you need to have the resource running on your server.}} ...per deletion you need to pass the same booleans / securityLevel as you did on xmlSaveData.'''<br>
    4 KB (546 words) - 16:36, 13 September 2019
  • ...le creates a skywalker light on top of Los Santos' skyscraper and turns it on/off every second by setting it's ending radius and starting radius to 0.
    1 KB (138 words) - 11:12, 20 March 2019
  • * '''postGUI:''' A bool representing whether the line should be drawn on top of or behind any ingame GUI (rendered by CEGUI). More info on primitives may be found on [https://msdn.microsoft.com/en-us/library/windows/desktop/bb147291(v=vs.85)
    3 KB (380 words) - 17:13, 26 October 2018
  • ...hange the state of one of the six panels vehicle's can have. When executed on the server-side resources, the damage will be synched for all players, wher ...0 being undamaged and 3 being very damaged. How this is manifested depends on the panel and the vehicle.
    2 KB (264 words) - 22:29, 6 April 2018
  • By default, Streaming GC on demand is disabled. Returns '''true''' if a Streaming garbage collector run is performed on node shortage, '''false''' otherwise.
    2 KB (175 words) - 08:16, 28 September 2023
  • ...y sync is always done on demand. i.e. Player presses W, (or pushes forward on the joystick), and the sync for that is sent straight away to the server, a ...key sync. This is in case the movement interpreted by the key sync system on remote clients has introduced any errors.
    2 KB (352 words) - 12:11, 19 April 2024
  • On success: [[table]] for '''all''', 3 [[float|floats]] for '''center_of_mass' On failure: ''false''
    1 KB (165 words) - 07:50, 28 October 2021
  • The functions as follows are based on this property. If you are using dgs animation library, you'd better turn this on.
    4 KB (596 words) - 09:01, 14 June 2022
  • Returns ''true'' if the light is on, ''false'' otherwise. This example binds the 'o' key to a function that toggles the taxi's light on and off, if you're in a taxi.
    1 KB (165 words) - 16:38, 3 August 2020
  • |'''Working on:''' Next to the point of easy access this resource has its focus on security.
    5 KB (783 words) - 16:35, 13 September 2019
  • **'''hovercars''' - equivalent of the JBGVNB cheat, and allows cars to drive on water. (default: false) ...quivalent of the CJPHONEHOME or JHJOECW cheat, and allows you to bunny hop on bicycles much higher. (default: false)
    4 KB (412 words) - 17:40, 10 September 2023
  • *'''startX:''' A float of the 2D x position of start position of the line on a player's screen, set to nil to use the end position of previous item. Th *'''startY:''' A float of the 2D y position of start position of the line on a player's screen, set to nil to use the end position of previous item. Th
    2 KB (268 words) - 12:37, 7 February 2022
  • This function changes the state of the sirens on the specified vehicle. setVehicleSirensOn ( source, true ) --Turn it on
    1 KB (165 words) - 23:17, 17 December 2014
  • ...size of a filesystem object is the count of bytes that it logically fills on the storage media. ...returns the count of bytes that the filesystem object is logically taking on the storage medium, '''false''' if '''filePath''' is not a valid path in th
    1 KB (196 words) - 03:27, 23 January 2022
  • [[File:Armor.png|thumb|Armor bar on the hud]] *'''armor''': the amount of armor you want to set on the ped. Valid values are from 0 to 100.
    2 KB (274 words) - 13:46, 25 October 2020
  • ...size of a filesystem object is the count of bytes that it logically fills on the storage media. ...returns the count of bytes that the filesystem object is logically taking on the storage medium, '''false''' if '''filePath''' is not a valid path in th
    1 KB (189 words) - 23:25, 16 January 2022
  • The team class represents player teams. Players on the same team can use team features such as teamchat or friendly fire. ...nal connection rather than a change in element hierarchy. To perform logic on all the players of a team you have to use the [[getPlayersInTeam]] function
    1 KB (182 words) - 11:17, 15 December 2021
  • ** This might cause your UI elements to scale incorrectly if they are based on the SA HUD positions this can be fixed with [[dxSetAspectRatioAdjustmentEna * Fixed a crash on disconnect
    4 KB (511 words) - 16:07, 7 September 2018
  • ...ou cancel certain vehicle sounds, the game will try to play the same sound on the next frame.}} *'''x:''' a [[float]]ing point number representing the X coordinate on the map.
    2 KB (339 words) - 21:03, 5 April 2020
  • This function activates or deactivates the nitro on the specified [[vehicle]], like if a player pressed the button for activati *'''theVehicle''' The [[vehicle]] to activate or deactivate the nitro on.
    1 KB (176 words) - 19:05, 15 June 2021
  • ...nd 1. 0 means the car only brakes on its back tires, 1 that it only brakes on the front tires. 0.5 means that front and back tires brake with the same st
    1 KB (159 words) - 10:19, 12 July 2013
  • * '''postGUI:''' A bool representing whether the line should be drawn on top of or behind any ingame GUI (rendered by CEGUI). More info on primitives may be found on [https://msdn.microsoft.com/en-us/library/windows/desktop/bb147291(v=vs.85)
    3 KB (425 words) - 06:29, 17 June 2023
  • Sets the on-track speed of a train. *'''speed:''' the new on-track speed of the train. A positive value will make it go clockwise, a neg
    1 KB (178 words) - 10:33, 5 November 2023
  • On success: On failure:
    1 KB (171 words) - 10:41, 24 December 2014
  • This function allows you to create a videoplayer on the screen. **'''/embed/''' Use this on place of '''watch?v=''' normal url. This is a required code.
    5 KB (710 words) - 05:45, 3 March 2023
  • *'''x:''' A floating point number representing the X coordinate on the map. *'''y:''' A floating point number representing the Y coordinate on the map.
    3 KB (473 words) - 22:19, 7 January 2022
  • <!-- Add the code below, an emphasis should be on making it clear, not optimized. You could provide two versions if you wish, <!-- Change FunctionArea to the area that this function is in on the main function list page, e.g. Server, Player, Vehicle etc -->
    1 KB (189 words) - 18:30, 21 February 2021
  • Lua table of all the valid control names listed on this page: ...-bottom:3px;"><div style="float:right;padding-right:5px;font-weight:bold;">ON FOOT</div>
    6 KB (790 words) - 22:27, 17 June 2023
  • ...e, meaning that resources can take an arbitrary amount of pulses depending on the complexity of said resources. This snippet turns on fibered loading when the Streaming system is busy and leaves it that way fo
    2 KB (185 words) - 08:21, 28 September 2023
  • ...elements ( render target, texture element, shader and screen source and so on, even nothing just color ). *'''x:''' A float of the 2D x position of the image on a player's screen. This is affected by the ''relative'' argument.
    3 KB (422 words) - 09:25, 17 January 2021
  • ...element's [[element data|data]] entry is changed. Such changes can be made on the client or the server using [[setElementData]]. ...o the client that called [[setElementData]], or '''nil''' if it was called on the server.
    2 KB (332 words) - 18:17, 7 June 2023
  • == Turning it on ==
    2 KB (280 words) - 05:47, 6 November 2023
  • The blip class represents small icons or blips that can be shown on a player's radar. ...t type of this class is '''"blip"'''. The list of blip icons are available on the [[Radar Blips]] page.
    1 KB (168 words) - 10:07, 15 April 2021
  • ...tion sets for Custom Label color, based on color of established scheme, or on scheme of parent.
    1 KB (167 words) - 11:14, 27 July 2018
  • The function returns ''true'' on success, and ''false'' on failure.
    1 KB (175 words) - 22:08, 1 October 2016
  • By default, Streaming GC on demand is disabled. *'''enabled:''' a boolean to decide whether to garbage collect on lacking free Streaming GC nodes
    1 KB (200 words) - 08:17, 28 September 2023
  • *'''loadedResource''': The [[resource]] that was loaded on the client. ...fined in the same resource as soon as the player is ready (resource loaded on client):
    2 KB (190 words) - 22:43, 15 October 2023
  • To access this function you need to have the resource running on your server.}} ...data loading you need to pass the same booleans / securityLevel as you did on xmlSaveData.'''<br>
    4 KB (594 words) - 16:36, 13 September 2019
  • ...decimal point, i.e. it can contain values such as 5.5 or 3.142. An [[int]] on the other hand can only hold whole numbers.
    301 bytes (49 words) - 16:10, 11 June 2023
  • ...ch are some fences). This flag originally allows some objects to be walked on but you can shoot throug them. This property keeps the image size on screen rather than let the image size change with distance.
    5 KB (695 words) - 06:06, 9 December 2021
  • *'''x:''' A float of the 2D x position of the image on a player's screen. This is affected by the ''relative'' argument. *'''y:''' A float of the 2D y position of the image on a player's screen. This is affected by the ''relative'' argument.
    2 KB (349 words) - 08:10, 30 October 2023
  • ...ources. If set to less than 0, the resource will be downloaded and started on the client later than other resources.
    2 KB (178 words) - 18:22, 22 October 2019
  • *'''x:''' A float of the 2D x position of the GUI tab panel on a player's screen. This is affected by the ''relative'' argument. *'''y:''' A float of the 2D y position of the GUI tab panel on a player's screen. This is affected by the ''relative'' argument.
    2 KB (373 words) - 08:10, 30 October 2023
  • *'''offsetX:''' A float of the 2D x position of the element on a player's screen. This is affected by the relative argument. *'''offsetY:''' A float of the 2D x position of the element on a player's screen. This is affected by the relative argument.
    2 KB (340 words) - 23:10, 3 May 2021
  • ...which token should be returned (1 for the first, 2 for the second, and so on). ...o separate the tokens. You can easily retrieve this by running string.byte on a string containing the separating character.
    1 KB (202 words) - 12:48, 20 February 2019
  • This function is used to get the name of a body part on a player. This example prints the killer and body part to the chat on the wasted/kill event.
    2 KB (181 words) - 21:42, 17 September 2018
  • ...resenting the absolute start X position of the line, represented by pixels on the screen. ...resenting the absolute start Y position of the line, represented by pixels on the screen.
    2 KB (285 words) - 14:50, 24 February 2019
  • * '''postGUI:''' A bool representing whether the line should be drawn on top of or behind any ingame GUI (rendered by CEGUI). More info on primitives may be found on [https://msdn.microsoft.com/en-us/library/windows/desktop/bb147291(v=vs.85)
    3 KB (438 words) - 19:43, 25 October 2018
  • This example creates an ircbot called ''DummyBot'' on when resource '''ircecho''' starts and makes it unable to call the callback ...outputServerLog ( "[IRC-ECHO] " .. ircGetName( theBot ) .. " received text on " .. channel .. " from " .. sender .. ": " .. message )
    2 KB (187 words) - 16:45, 11 February 2015
  • Returns ''true'' if caps lock is toggled (on), ''false'' otherwise.
    457 bytes (44 words) - 17:23, 27 September 2022
  • ...started, or when the resource was changed and reloaded). Returns ''false'' on failure. ...me.second)) --this will be something like this: scoreboard was last loaded on: 10/07/2017 14:13:10
    2 KB (306 words) - 13:41, 10 August 2021
  • Returns ''true'' if the font has been successfully set on the gui element, ''false'' otherwise. <!-- Add the code below, an emphasis should be on making it clear, not optimized. You could provide two versions if you wish,
    1 KB (204 words) - 19:09, 9 December 2018
  • Returns ''true'' if the font has been successfully set on the gui element, ''false'' otherwise. <!-- Add the code below, an emphasis should be on making it clear, not optimized. You could provide two versions if you wish,
    1 KB (204 words) - 19:09, 9 December 2018
  • ...:''' A float of the x position that the DGS 3D interface faces to (Depends on ''relativeTo''). If '''x''','''y''','''z''' are nil, DGS 3D interface will ...:''' A float of the y position that the DGS 3D interface faces to (Depends on ''relativeTo''). If '''x''','''y''','''z''' are nil, DGS 3D interface will
    2 KB (266 words) - 10:24, 11 February 2023
  • *'''renderTarget:''' The render target element whose pixels we want to draw on. *Items drawn with ''postGUI'' set to ''true'' will not appear on a custom render target.
    3 KB (347 words) - 20:40, 23 December 2018
  • *'''x:''' A float of the 2D x position of the image on a player's screen. This is affected by the ''relative'' argument. *'''y:''' A float of the 2D y position of the image on a player's screen. This is affected by the ''relative'' argument.
    2 KB (362 words) - 05:23, 21 March 2020
  • * There are no guarantees that MTA will work on older not by Microsoft supported Windows 8 and 10 versions. ...g phased out for users of older Operating Systems and will simply not work on them.<ref>https://bitbucket.org/chromiumembedded/cef</ref>
    6 KB (978 words) - 18:32, 2 September 2023
  • {{Note|You can't use enter_exit or enter_passenger on a ped. Please use [[setPedEnterVehicle]] and [[setPedExitVehicle]].}} ...e ped or not. Let's assume that the syncer client calls setPedControlState on the ped. The other game clients - the ones where setPedControlState was not
    2 KB (303 words) - 09:13, 3 August 2023
  • *'''posX:''' A floating point number representing the X coordinate on the map. *'''posY:''' A floating point number representing the Y coordinate on the map.
    4 KB (488 words) - 13:41, 7 October 2017
  • This function returns the current state of the specifed door on the vehicle. ...doesVehicleHaveDoorOpen() function, that returns true if any of the doors on a vehicle are open.
    1 KB (178 words) - 19:47, 14 July 2017
  • ...xactly like the built-in events. See [[event system]] for more information on the event system. You can then trigger this event later on using:
    1 KB (189 words) - 07:58, 4 November 2020
  • ..., 150 armor have special activation flags. They need a way to be triggered on/off. ...n other skins. When this function is used client-side, it can only be used on client-side created peds.
    3 KB (412 words) - 17:51, 20 September 2021
  • MTA uses a so-called ''element tree'' to store all the elements that exist on the server and the client. This is directly related to the set of running [ ''Please note that it is shortened on some places for the sake of overview.''
    7 KB (1,039 words) - 08:12, 24 October 2022
  • ...resenting the absolute start X position of the line, represented by pixels on the screen. ...resenting the absolute start Y position of the line, represented by pixels on the screen.
    2 KB (297 words) - 14:21, 6 October 2017
  • ...r target element, which is a special type of [[texture]] that can be drawn on with the dx functions. Successful render target creation is not guaranteed, ...e player minimizes MTA (i.e. alt-tab). See [[onClientRestore]] for details on when to restore any fixed content.}}
    4 KB (518 words) - 16:34, 10 August 2023
  • ...lower represents the south side, etc etc. If there isn't any traffic light on one or more of the sides, it doesn't affect the others.
    3 KB (328 words) - 15:56, 21 July 2016
  • <!-- Add the code below, an emphasis should be on making it clear, not optimized. You could provide two versions if you wish, <!-- Change FunctionArea to the area that this function is in on the main function list page, e.g. Server, Player, Vehicle etc -->
    1 KB (139 words) - 18:30, 21 February 2021
  • returns = A valid curl handler on succes, otherwise it returns false|
    590 bytes (77 words) - 11:06, 22 June 2014
  • ...one [[Element|element]] to another. This is useful to check if a player is on the left side of a vehicle, for example. ...od, if the player is on the back of the vehicle, it opens the trunk and so on.
    4 KB (430 words) - 01:09, 4 April 2023
  • *DGS Style System has a '''Default ''' style that will be loaded on start. The '''Default''' style is '''not''' recommended to modify, because
    430 bytes (64 words) - 16:52, 11 April 2022
  • ...ne function call that will allow you to call any exported script functions on any server that you have access to. ...https://github.com/multitheftauto/mtasa-php-sdk/releases the releases page on GitHub] to download the SDK.
    3 KB (396 words) - 12:09, 19 April 2020
  • ...rotated to match it. Can be used for e.g. driving on walls or upside down on ceilings.
    1 KB (207 words) - 11:29, 12 July 2017
  • Depending on how important the function/event is to you, you may want to check first if
    402 bytes (58 words) - 13:52, 20 September 2021
  • ...tion executed on the server-side and does not detect the function executed on the client-side.}} On the client-side, this function doesn't require any arguments because it get
    4 KB (543 words) - 20:11, 24 October 2023
  • *'''x:''' A float of the 2D x position of the progress bar on a player's screen. This is affected by the ''relative'' argument. *'''y:''' A float of the 2D y position of the progress bar on a player's screen. This is affected by the ''relative'' argument.
    2 KB (309 words) - 08:09, 30 October 2023
  • To access this function you need to have the resource running on your server.}} ...'' The level of security on which you want to store your data at. (Details on the resource page: [https://wiki.multitheftauto.com/wiki/XmlData#Security_L
    5 KB (707 words) - 16:35, 13 September 2019
  • This function creates a DGS Line on the screen. *'''x:''' A float of the 2D x position of the line on a player's screen. This is affected by the ''relative'' argument.
    2 KB (255 words) - 17:24, 23 April 2022
  • ...g'' element. If the event isn't canceled then an element data value is set on the player.
    2 KB (208 words) - 11:51, 8 June 2022
  • {{Disabled|This function doesn't exists. See issue 7698 on bugtracker.}}
    472 bytes (59 words) - 10:14, 30 January 2022
  • --In order to render the browser on the full screen, we need to know the dimensions. --Render the browser on the full size of the screen.
    4 KB (520 words) - 20:41, 21 February 2021
  • ...Eir fork. Currently, this page is heavily work-in-progress. I am focusing on client-side scripting functions. Feel free to discuss them in the "discussi ...mporarily removed to reduce development pressure. They will make their way on the list once they are implemented or are in reachable distance.'''
    3 KB (234 words) - 18:18, 10 April 2014
  • *'''renderTarget:''' The render target element whose pixels we want to draw on. *Items drawn with ''postGUI'' set to ''true'' will not appear on a custom render target.
    3 KB (358 words) - 20:42, 23 December 2018
  • *'''x:''' A float of the 2D x position of the window on a player's screen. This is affected by the ''relative'' argument. *'''y:''' A float of the 2D y position of the window on a player's screen. This is affected by the ''relative'' argument.
    2 KB (317 words) - 17:56, 1 July 2017
  • This useful client function draws a circle on any element you choose. * '''TheElement''': The element you want to draw the text on it.
    2 KB (204 words) - 08:13, 19 October 2022
  • ...ction" set to 'maximum' will cause player movement synchronization issues, on locations built outside 3000m radius from world center.}} ** networkencryption - 0 for off, 1 for on ('''Deprecated''')
    2 KB (243 words) - 19:11, 28 April 2024
  • ...gsElement''' size. If false, then the co-ordinates will be absolute pixels on screen. This example creates a dgs window and brings it on top.
    1 KB (182 words) - 04:56, 8 January 2023
  • *'''x:''' A float of the 2D x position of the detect area on a player's screen. This is affected by the ''relative'' argument. *'''y:''' A float of the 2D y position of the detect area on a player's screen. This is affected by the ''relative'' argument.
    2 KB (324 words) - 09:25, 17 January 2021
  • This function only have effect on a non-parent dgs element unless the '''forceDetatch''' is enabled. DGS:dgsSetLayer (window1,"top") --Now it is always on top
    2 KB (193 words) - 19:05, 3 May 2021
  • *Double click on ''sqlite_repair_internal_db.bat'' to repair internal.db *Double click on ''sqlite_repair_registry_db.bat'' to repair registry.db
    3 KB (449 words) - 22:22, 24 December 2022
  • '''Example 2:''' This enables players to register on your server by using /register <username> <password> in the chat window. outputChatBox("You already registered on this server!",source)
    4 KB (350 words) - 16:43, 11 April 2021
  • ...he accelerate, brake/reverse and handbrake keys, then force the accelerate on for any player who enters a vehicle. ...setControlState ( source, "accelerate", true ) -- force the accelerate key on
    1 KB (191 words) - 00:00, 30 April 2024
  • ...c for a [[player]]. '''Visual stats (FAT and BODY_MUSCLE) can only be used on the CJ skin.''' A large number of the stats will have no effect. ...lue is out of acceptable range or if the FAT or BODY_MUSCLE stats are used on non-CJ players.
    1 KB (207 words) - 16:17, 13 February 2015
  • if you are low on players it can work fine,but more players will lag your server or anybody could create stuff on your server
    3 KB (505 words) - 13:13, 2 December 2013
  • *'''scaleY''': a float containing the new scale on the Y axis *'''scaleZ''': a float containing the new scale on the Z axis
    2 KB (215 words) - 14:37, 2 September 2022
  • ...]] function on the player you wish to move. You can also use this function on other elements, for example to make a vehicle or object appear in the inter
    2 KB (241 words) - 21:36, 28 April 2020
  • Returns ''true'' if text has been successfully set on the gui element, ''false'' otherwise. -- if an element was clicked on screen
    1 KB (195 words) - 17:20, 21 November 2018
  • ...pname:''' the name of the property to retrieve. Possible values are listed on [[SetWorldSpecialPropertyEnabled]]. This example detects any cheaters using these cheats on your server and sends them to hell, or you could kick them if you trigger a
    2 KB (197 words) - 08:34, 9 September 2023
  • ...guiGridListAddColumn( numberList, "Column Title", 0.85 ) --Create a column on the gridlist ...rList, column ) --After the numbers are added in rows, perform auto sizing on the column
    2 KB (311 words) - 21:07, 7 November 2018
  • This event occurs when multi clicking on any dgs-element. This example creates a text button and clicking on it will tell you the position coordinates of the mouse cursor:
    1 KB (207 words) - 14:19, 16 February 2021
  • ...d when something happens - a player enters a marker, an element is clicked on etc. Each event has a source element, this is the element that performed th ...you do this, your function will get triggered for all the events triggered on that element, it's parents (and their parents, etc.) and it's children (and
    5 KB (918 words) - 01:27, 19 February 2019
  • *'''fX:''' The position of the base of the tube's center on the X axis. *'''fY:''' The position of the base of the tube's center on the Y axis.
    2 KB (320 words) - 09:29, 6 November 2023
  • * Find, install and run "Magic.TXD" (for example on GTAForums) * Double click on your TXD to open it
    3 KB (463 words) - 17:51, 16 June 2019
  • This example just closes window with clicking on button:
    533 bytes (55 words) - 15:24, 23 July 2018
  • This function checks if nitro is activated on the [[vehicle]]. Returns ''true'' if the nitro is currently activated on the vehicle, ''false'' otherwise.
    2 KB (198 words) - 19:07, 15 June 2021
  • *'''x:''' A float of the 2D x position of the DGS selector on a player's screen. This is affected by the ''relative'' argument. *'''y:''' A float of the 2D y position of the DGS selector on a player's screen. This is affected by the ''relative'' argument.
    2 KB (339 words) - 15:10, 26 November 2023
  • *'''set:''' The query you want to execute on that table. The default SQL syntax is used, which means that the = is used The function returns ''true'' on success, and ''false'' on failure.
    3 KB (359 words) - 14:19, 9 October 2016
  • *'''x:''' A floating point number representing the X coordinate on the map. *'''y:''' A floating point number representing the Y coordinate on the map.
    3 KB (340 words) - 11:32, 31 October 2022
  • ...no player is a child of resourceRoot) and then use [[setElementVisibleTo]] on specific players. Otherwise there is a chance that players will see the bli This is bad (chance of being seen on minimap for about 50ms):
    1 KB (230 words) - 20:11, 24 February 2022
  • * '''button''': This refers the button used to click on the mouse, can be ''left'', ''right'', or ''middle'' * '''absoluteX''': This refers to the 2D ''x coordinate'' the user clicked on his screen, and is an ''absolute'' position in pixels.
    5 KB (589 words) - 10:10, 13 May 2017
  • Note that the external HTTP server can be on the same machine as the MTA server. * You are not already using nginx for other web sites on your server.
    4 KB (586 words) - 12:30, 13 January 2024
  • *'''x:''' A float of the 2D x position of the dxGUI window on a player's screen. *'''y:''' A float of the 2D y position of the dxGUI window on a player's screen.
    1 KB (184 words) - 22:32, 20 August 2013
  • *'''x:''' A float of the 2D x position of the dxGUI window on a player's screen. *'''y:''' A float of the 2D y position of the dxGUI window on a player's screen.
    1 KB (193 words) - 15:39, 1 October 2013
  • * Fixed getResourceConfig() not working on foreign resources * Satchels should now be removed on [[resetMapInfo]].
    3 KB (366 words) - 13:24, 10 April 2017
  • *[http://en.wikipedia.org/wiki/XML XML on Wikipedia]
    1 KB (191 words) - 20:18, 23 September 2016
  • This example creates a small window with a scrollpane on. Using the /fill command you can populate the scrollpane with the names of -- create a window and create a scrollpane on it
    2 KB (317 words) - 08:06, 30 October 2023
  • This example creates window with button, and prints its text on click:
    608 bytes (65 words) - 15:57, 23 July 2018
  • ...he server closes when you close your session because the server is running on your current terminal. When your session closes the terminal closes and ter ...ou come back and log in again you can see that the server is still running on a different terminal:
    2 KB (419 words) - 14:15, 20 June 2012
  • -- If they're off, turn them on -- If they're on, turn them off
    2 KB (214 words) - 08:20, 18 November 2014
  • This example sends whitelist requests on demand, which means whenever a blocked domain is detected/queried by the us It's also a good alternative to requesting CEF domains on server join, because this is less intrusive and requests will only be sent
    2 KB (226 words) - 21:03, 19 September 2018
  • This functions performs a bitwise circular right-rotation on the integer '''value''' by integer '''n''' positions. *'''value:''' The value you want to perform the rotation on.
    2 KB (225 words) - 22:03, 21 February 2016
  • ...an effect on all events, see the individual event's pages for information on what happens when the event is canceled. [[cancelEvent]] does not stop furt
    2 KB (276 words) - 11:23, 8 June 2022
  • This example creates a small window with a scrollpane on. Using the /fill command you can populate the scrollpane with the names of -- create a window and create a scrollpane on it
    2 KB (321 words) - 09:26, 17 January 2021
  • == Installing and Running MTASA server on Linux == ....mtasa.com/ linux.mtasa.com] and see [[Installing and Running MTASA Server on GNU_Linux]]}}
    7 KB (1,067 words) - 22:18, 23 April 2022
  • # Extract the file on x64 servers: Typically located at ''%PROGRAMFILES%\MTA San Andreas\server\x # Extract the file on x86 servers: Typically located at ''%PROGRAMFILES%\MTA San Andreas\server\m
    3 KB (438 words) - 11:44, 13 May 2024
  • This example removes an acl right on resource start. <!-- Change FunctionArea to the area that this function is in on the main function list page, e.g. Server, Player, Vehicle etc -->
    2 KB (244 words) - 08:37, 5 February 2021
  • True on succes, false otherwise
    499 bytes (59 words) - 11:07, 22 June 2014
  • *[http://en.wikipedia.org/wiki/XML XML on Wikipedia]
    1 KB (193 words) - 20:48, 23 September 2016
  • Creates an [[Element/Effect|effect]] on specified position. *'''x:''' A floating point number representing the X coordinate on the map.
    3 KB (430 words) - 22:56, 20 December 2021
  • ...resenting the absolute start X position of the line, represented by pixels on the screen. ...resenting the absolute start Y position of the line, represented by pixels on the screen.
    2 KB (312 words) - 17:53, 6 October 2017
  • ...no) WAV with sample rate of 22050 Hz or less. Also consider adding a limit on how often the effect can be played e.g. once every 50ms.}} *'''x:''' a [[float]]ing point number representing the X coordinate on the map.
    3 KB (451 words) - 16:34, 3 November 2023
  • ...ich gives a cop uniform and nightstick to the player who types it, if he's on a team named "SAPD". outputChatBox("* Now " .. getPlayerName(player) .. " is on duty!", root, 0, 0, 200)
    2 KB (222 words) - 12:40, 15 July 2014
  • ...t is selected by its index (0 for the first child, 1 for the second and so on). ...entChild(theTeam, tonumber(index)) -- get the Child of the element, based on the 'index' the player specified.
    2 KB (268 words) - 03:29, 1 January 2015
  • This function set Custom Window available for dragging on screen with mouse (makes window '(not)' movable).
    589 bytes (70 words) - 14:41, 23 July 2018
  • Returns ''true'' if text has been successfully set on the dgs element, ''false'' otherwise. -- if an element was clicked on screen
    2 KB (232 words) - 21:24, 3 May 2021
  • ...e lighting status of an entity. If true, lighting calculations are allowed on the entity. Otherwise all lighting computations are dropped. Setting this f ...for entities. If true, the entity is allowed to display reflection effects on reflective materials. Several game objects use reflections.
    2 KB (280 words) - 19:20, 9 April 2014
  • Draws all static collisions and rigid bodies and other depends on debug mode.
    599 bytes (66 words) - 14:35, 9 February 2020
  • [[Image:MTAsa dxDrawImage.png|thumb|190px|An image drawn on the screen with the dxDrawImage function.]] ...ible continuously, you need to call this function with the same parameters on each frame update (see [[onClientRender]]).<br/>
    3 KB (438 words) - 21:40, 23 January 2023
  • The functions as follows are basic on this property. The functions as follows are basic on this property.
    8 KB (1,037 words) - 16:03, 5 February 2023
  • ...DirectDraw. (Note this will only work client-side and you need to call it on each frame) ...ing the absolute origin X position of the rectangle, represented by pixels on the screen.
    2 KB (309 words) - 23:28, 5 October 2019
  • 1.5.5 was released on October 7, 2017. * Changelog on Mantis: https://bugs.mtasa.com/changelog_page.php
    5 KB (566 words) - 19:40, 29 December 2022
  • * '''x:''' A floating point number representing the X coordinate on the map. * '''y:''' A floating point number representing the Y coordinate on the map.
    3 KB (350 words) - 13:55, 6 August 2016
  • *'''x:''' A float of the 2D x position of the GUI label on a player's screen. This is affected by the ''relative'' argument. *'''y:''' A float of the 2D y position of the GUI label on a player's screen. This is affected by the ''relative'' argument.
    4 KB (546 words) - 08:10, 30 October 2023
  • outputChatBox ( "There are now " .. getPlayerCount() .. " players on this server!" ) ...ction replaces this function accordingly serverside and clientside to work on both.
    2 KB (253 words) - 07:03, 4 November 2020
  • ...use [[requestBrowserDomains]] first to request permission to load the url on the client.}} -- In order to render the browser on the full screen, we need to know the dimensions.
    2 KB (345 words) - 14:40, 21 December 2020
  • {{New feature/item|3.0156|1.5.5|13977|This function draws a circle shape on the screen - rendered for '''one''' frame. This should be used in conjunct ...the '''absolute''' X position of the circle center, represented by pixels on the screen.
    4 KB (563 words) - 19:07, 8 December 2021
  • <!-- Add the code below, an emphasis should be on making it clear, not optimized. You could provide two versions if you wish, <!-- Change FunctionArea to the area that this function is in on the main function list page, e.g. Server, Player, Vehicle etc -->
    2 KB (237 words) - 15:18, 16 September 2014
  • *'''value:''' Depends on key.
    496 bytes (56 words) - 17:00, 18 February 2020
  • 1.5.4 was released on April 22, 2017. * Changelog on Mantis: https://bugs.mtasa.com/changelog_page.php
    3 KB (397 words) - 19:40, 29 December 2022
  • *'''x:''' A floating point number representing the X coordinate on the map. *'''y:''' A floating point number representing the Y coordinate on the map.
    3 KB (382 words) - 05:21, 9 October 2023
  • This function set Custom Window available for sizing on screen with mouse .
    596 bytes (69 words) - 13:33, 20 November 2020
  • This example creates an ircbot called ''DummyBot'' on when resource '''ircecho''' starts. ''DummyBot'' is now able to call the ca ...outputServerLog ( "[IRC-ECHO] " .. ircGetName( theBot ) .. " received text on " .. channel .. " from " .. sender .. ": " .. message )
    3 KB (377 words) - 16:45, 11 February 2015
  • MTA uses a database system based on files. This system is sqlite, an embedded relational database management sy
    499 bytes (70 words) - 17:02, 11 April 2021
  • * [http://lua-users.org/wiki/MathLibraryTutorial Math examples on the LUA Wiki]
    2 KB (386 words) - 17:43, 28 February 2023
  • It's necessary to use this function to enable that option on Discord.}} *'''thePlayer:''' The [[player]] whose discord join parameters will be set on.
    2 KB (229 words) - 10:22, 30 March 2020
  • ...nt on Linux Manual]]. This manual for Lutris is a thing on the side, based on personal preference of individual Linux users. Both manuals can supplement # On Lutris, Add a Game:
    8 KB (1,221 words) - 00:00, 17 October 2023
  • * [[onElementDataChange]]: triggered on the server after element data is changed. * [[onClientElementDataChange]]: triggered on the client after element data is changed.
    2 KB (261 words) - 16:38, 8 April 2024
  • *'''value:''' Depends on key.
    570 bytes (62 words) - 12:38, 9 February 2020
  • ...kills. They claimed that players should learn to spot would-be car killers on their radar.
    2 KB (277 words) - 18:24, 29 January 2020
  • <!-- Add the code below, an emphasis should be on making it clear, not optimized. You could provide two versions if you wish, <!-- Change FunctionArea to the area that this function is in on the main function list page, e.g. Server, Player, Vehicle etc -->
    2 KB (237 words) - 07:13, 6 February 2021
  • ...TA:SA engine '''steals streaming nodes''' from the first entities it finds on the streaming garbage collection entity registry. This is why '''the world ...ht will lose their RenderWare data. The performance of this method depends on the nature of the registered streaming GC entities as well as the amount of
    4 KB (596 words) - 09:53, 29 October 2020
  • This function is used to set the current clothes on a [[ped]]. This example adds a 'moto' helmet to a player when he gets on a nrg bike, and removes it when he gets off.
    2 KB (239 words) - 18:32, 21 February 2021
  • ...warning.png|title=Warning:|message=May cause issues with browser rendering on PC with low Ram [https://github.com/multitheftauto/mtasa-blue/issues/1567 # --In order to render the browser on the full screen, we need to know the dimensions.
    2 KB (235 words) - 15:00, 31 May 2021
  • * '''x''': A floating point number representing the X coordinate on the map. * '''y''': A floating point number representing the Y coordinate on the map.
    5 KB (695 words) - 12:39, 10 October 2023
  • ...ves the specified weapon to the specified ped. This function can't be used on players, use [[giveWeapon]] for that. ...t be synced between clients unless your script gives the weapon to the ped on every client.
    2 KB (345 words) - 01:18, 28 December 2014
  • ...ident). So basically, again, do not rely on serials for critical functions on your server. Even more so, it's not guaranteed that serials cannot be compr ...very difficult to do due to MTA AC protections (serials aren't only based on hardware, but more). Besides, a player can simply use another computer with
    4 KB (649 words) - 10:19, 24 June 2023
  • --Create columnA on the gridlist ...ample 2''': This example creates a player list on resource start, clicking on it will output the selected player name to the chatbox.
    3 KB (325 words) - 18:47, 28 October 2021
  • ...you need to disable sorting of all columns, you can use [[GuiSetProperty]] on the gridlist. ...ully created, we make the second column non-sortable. If the player clicks on it, nothing happens and the column remains as is. The first column is still
    2 KB (245 words) - 05:38, 3 March 2023
  • ...''fileWrite("test.txt", "File content")''. Instead, file functions operate on a '''file handle''', which is a special object representing an open file. ' ...tant to remember to close a file after you've finished all your operations on it, especially if you've been writing to the file. If you don't close a fil
    3 KB (440 words) - 17:15, 20 December 2023
  • __NOTOC__ {{Note|Information on this page does not apply to the official builds of MTA.}} Multi Theft Auto is open-source software, freely available on [https://github.com/multitheftauto/mtasa-blue GitHub multitheftauto/mtasa-b
    6 KB (1,017 words) - 08:38, 12 December 2022
  • ...triggered when a trailer is attached to a truck or when a tow truck hooks on to a vehicle. <!-- Add the code below, an emphasis should be on making it clear, not optimized. You could provide two versions if you wish,
    2 KB (263 words) - 15:52, 29 May 2019
  • This example creating window with label on it's title element:
    730 bytes (77 words) - 15:08, 23 July 2018
  • This function gets a table of the components currently on a [[vehicle]]. This example draw all components names on the player screen.
    2 KB (217 words) - 05:04, 15 April 2017
  • ...en.wikipedia.org/wiki/Tiny_Encryption_Algorithm Tiny Encryption Algorithm] on the given string and returns the [https://en.wikipedia.org/wiki/Base64 base This example creates a /teaencrypt command, which performs the TEA on a given string with the specified key, if any.
    2 KB (285 words) - 10:48, 18 August 2018
  • --In order to render the browser on the full screen, we need to know the dimensions. --Render the browser on the full size of the screen.
    3 KB (395 words) - 18:50, 17 March 2018
  • if (vehicle) then -- We check if he's on a vehicle... if (vehicle) then -- We check if he's on a vehicle...
    2 KB (245 words) - 14:21, 7 June 2015
  • ...me time. Also, it's not synchronized, you'll need to execute this function on every client in Lua to synchronize it. Returns ''true'' on success, ''false'' in case of failure.
    3 KB (397 words) - 11:24, 7 October 2018
  • The functions as follows are basic on this property. The functions as follows are basic on this property.
    8 KB (1,175 words) - 16:03, 5 February 2023
  • Will change the projectile counter timer which depending on the projectile type will do different things: Returns ''true'' on success, ''false'' otherwise.
    2 KB (229 words) - 07:51, 25 June 2016
  • function chatboxShipRotateLeft ( playerSource, commandName ) -- On console command 'increaserotations' function chatboxShipRotateRight ( playerSource, commandName ) -- On console command 'decreaserotations'
    2 KB (240 words) - 16:17, 13 February 2015
  • *'''x:''' A float of the 2D x position of the GUI button on a player's screen. This is affected by the ''relative'' argument. *'''y:''' A float of the 2D y position of the GUI button on a player's screen. This is affected by the ''relative'' argument.
    3 KB (407 words) - 16:35, 11 February 2015
  • * '''x''': A floating point number representing the X coordinate on the map. * '''y''': A floating point number representing the Y coordinate on the map.
    3 KB (475 words) - 19:32, 21 May 2023
  • MTA:VC 0.4 synchronized money on the scoreboard, and fixed a rare issue on slower computers. ...5 in general) is uncertain. Previously, plans were to have GTA3 and VC run on the [[Blue]] core, but plans seem to have dissipated. A future release of t
    3 KB (409 words) - 14:10, 20 June 2012
  • * '''paintjob''': An integer indicating the vehicle's paint job (only works on certain vehicles). * '''plate''': A set of up to 8 characters that will be shown on the vehicle's license plate.
    3 KB (384 words) - 06:57, 1 January 2022
  • On success: On failure:
    4 KB (485 words) - 09:11, 20 January 2020
  • A: The source code of MTA is available for download on [https://github.com/multitheftauto/mtasa-blue/ the Multi Theft Auto GitHub * '''Q: Can I place a copy on my site?'''
    2 KB (316 words) - 22:20, 2 January 2022
  • outputChatBox("*INFO: #ffff00Your blip is now on top of others!", thePlayer, 255,0,0,true) ...putChatBox("*INFO: #ffff00" .. getPlayerName(thePlayer) .. "'s blip is now on top of your blip!",v,255,0,0,true)
    2 KB (241 words) - 13:02, 21 August 2018
  • *'''x:''' A float of the 2D x position of the GUI button on a player's screen. This is affected by the ''relative'' argument. *'''y:''' A float of the 2D y position of the GUI button on a player's screen. This is affected by the ''relative'' argument.
    3 KB (398 words) - 08:09, 30 October 2023
  • --In order to render the browser on the full screen, we need to know the dimensions. --Render the browser on the full size of the screen.
    2 KB (251 words) - 15:15, 8 April 2020
  • This function checks if the vehicle is on fire.
    663 bytes (66 words) - 21:28, 2 November 2023
  • This function is used to save arbitrary data under a certain name on the [[settings system|settings registry]]. ...o set. See [[settings system#Setting names|setting names]] for information on settings names.
    2 KB (286 words) - 18:42, 12 October 2020
  • *'''x:''' A float of the 2D x position of the GUI gridlist on a player's screen. This is affected by the ''relative'' argument. *'''y:''' A float of the 2D y position of the GUI gridlist on a player's screen. This is affected by the ''relative'' argument.
    3 KB (377 words) - 08:09, 30 October 2023
  • This example just opens dialog when click on button:
    664 bytes (71 words) - 15:48, 25 July 2018
  • The GUI tab 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 the
    425 bytes (70 words) - 19:03, 14 April 2021
  • This example creates a window based on orange theme.
    596 bytes (76 words) - 20:11, 25 May 2012
  • <!-- Add the code below, an emphasis should be on making it clear, not optimized. You could provide two versions if you wish, <!-- Change FunctionArea to the area that this function is in on the main function list page, e.g. Server, Player, Vehicle etc -->
    2 KB (262 words) - 07:08, 6 February 2021
  • ***'''...''': And so on. ***'''...''': And so on.
    4 KB (670 words) - 17:16, 26 February 2022
  • This example gets the current clothes of a certain type on a player, then swaps with the next in the clothes list. ...odel = getPedClothes ( thePlayer, clothesType ) -- get the current clothes on this slot
    2 KB (260 words) - 10:14, 22 September 2018
  • This example gets the current clothes of a certain type on a player, then swaps with the next in the clothes list. ...odel = getPedClothes ( thePlayer, clothesType ) -- get the current clothes on this slot
    2 KB (260 words) - 10:15, 22 September 2018
  • ...do fileWrite("test.txt", "File content"). Instead, file functions operate on a '''file handle''', which is a special object representing an open file. ...tant to remember to close a file after you've finished all your operations on it, especially if you've been writing to the file. If you don't close a fil
    2 KB (283 words) - 20:15, 20 December 2023
  • {{Tip|For [[matrix]] manipulation which goes beyond the basic examples given on this page, see the [[Lua matrix library]]. Using the built-in [[matrix]] cl *'''theElement:''' the [[element]] to get the bone matrix on.
    2 KB (232 words) - 20:25, 12 December 2023
  • <!-- Add the code below, an emphasis should be on making it clear, not optimized. You could provide two versions if you wish, <!-- Change FunctionArea to the area that this function is in on the main function list page, e.g. Server, Player, Vehicle etc -->
    2 KB (275 words) - 05:18, 15 July 2014
  • This example will output some text to chat on vehicle explosion
    665 bytes (80 words) - 21:15, 12 August 2023
  • This example gets the current clothes of a certain type on a player, then swaps with the previous in the clothes list. ...odel = getPedClothes ( thePlayer, clothesType ) -- get the current clothes on this slot
    2 KB (262 words) - 10:49, 22 September 2018
  • This example gets the current clothes of a certain type on a player, then swaps with the previous in the clothes list. ...odel = getPedClothes ( thePlayer, clothesType ) -- get the current clothes on this slot
    2 KB (262 words) - 10:49, 22 September 2018
  • * '''postGUI:''' A bool representing whether the line should be drawn on top of or behind any ingame GUI (rendered by CEGUI). ...mall example of creating 3D Primitive object with 4 vertex that will spawn on 'The Well Stacked Pizza Co.' in Idlewood.
    2 KB (257 words) - 13:49, 25 October 2020
  • ...properly declared together on the same [[interpolateBetween]] function and on the ''dxFade'' function parameters.}} This example shows an image on the screen that fade-in during 1 second and after 3 seconds, it fade-out du
    4 KB (407 words) - 03:55, 14 October 2023
  • Returns ''true'' on success, ''false'' in case of failure.
    585 bytes (68 words) - 21:55, 1 October 2016
  • Returns ''true'' on success, ''false'' in case of failure.
    607 bytes (68 words) - 21:51, 1 October 2016
  • With dialogs background you can move window, when click on dialogs background, it closes.
    606 bytes (74 words) - 15:16, 23 July 2018
  • ...t it's attached to is triggered. See [[event system]] for more information on how the event system works. ...e - if multiple handler functions are used, as this can lead to confusion. On the same note, for multiple reasons, it isn't a good idea to export the sam
    7 KB (1,069 words) - 16:39, 8 April 2024
  • '''Example 1:''' This enables players to register on your server by using /register <password> in the chat window. '''Example 2:''' This enables players to register on your server by using /register <username> <password> in the chat window.
    5 KB (574 words) - 14:40, 8 June 2022
  • <!-- Add the code below, an emphasis should be on making it clear, not optimized. You could provide two versions if you wish, <!-- Change FunctionArea to the area that this function is in on the main function list page, e.g. Server, Player, Vehicle etc -->
    2 KB (274 words) - 18:15, 21 February 2021
  • ...river has entered impossible, as the vehicle would appear to vanish to any on foot players.
    2 KB (237 words) - 13:54, 6 August 2016
  • Returns the weapon slot (as ''number'') on success, returns ''false'' otherwise.
    549 bytes (58 words) - 16:27, 13 February 2015
  • Returns ''true'' on success, ''false'' in case of failure.
    563 bytes (68 words) - 09:57, 21 June 2019
  • {{Note|This event checks the player's time as set on the computer and not the region time or GTA's time.}} ...eal time, '''onClientPlayerTimeChange''' is function is to change the time on label when the real time is changed.
    2 KB (266 words) - 11:42, 29 October 2023
  • ...i elements to parts of the world (e.g. players) or detecting if a point is on the screen (though it does not check if it is actually visible, you should ...n be off screen before the function returns false. Note: it's clamped down on both axies to the size of screen at the given axis*10
    2 KB (258 words) - 17:29, 2 April 2023
  • ...veringColor:''' An integer of the color of the tab button which is hovered on. *'''hoveringImage:''' A material element of the tab button which is hovered on. ( Passing a nil value can disable this option )
    6 KB (916 words) - 09:56, 7 May 2022
  • <!-- Add the code below, an emphasis should be on making it clear, not optimized. You could provide two versions if you wish, <!-- Change FunctionArea to the area that this function is in on the main function list page, e.g. Server, Player, Vehicle etc -->
    3 KB (281 words) - 18:29, 21 February 2021
  • <!-- Add the code below, an emphasis should be on making it clear, not optimized. You could provide two versions if you wish, <!-- Change FunctionArea to the area that this function is in on the main function list page, e.g. Server, Player, Vehicle etc -->
    2 KB (277 words) - 14:15, 25 October 2020
  • This function sets layer position of Custom Widget to back on screen.
    597 bytes (68 words) - 16:22, 28 July 2018
  • *'''x:''' A float of the 2D x position of the GUI combobox on a player's screen. This is affected by the ''relative'' argument. *'''y:''' A float of the 2D y position of the GUI combobox on a player's screen. This is affected by the ''relative'' argument.
    3 KB (423 words) - 08:09, 30 October 2023
  • Returns ''true'' on success, ''false'' in case of failure.
    646 bytes (78 words) - 08:38, 11 July 2017
  • ...source in the 'resources' directory and the resource must be '''running''' on the background (just start it when the server starts and that's all you hav # Click on the ''Definitions'' icon.
    8 KB (1,327 words) - 20:29, 3 May 2012
  • This snippet draws the amount of active streaming entities on your screen.
    906 bytes (102 words) - 08:05, 28 September 2023
  • ...6bc5cb55c59fc4e9e70ec1bdce34 3157905]) the provided callback wasn't stored on the SVG and was only fired '''once''' after the function had performed its ...). '''Note''': if present, this will overwrite the current callback stored on the svg
    3 KB (422 words) - 23:09, 8 April 2022
  • {{Note|unbindKey will only work on binds that were added by the same resource}} {{Note|unbindKey on the server may return ''true'' on failure}}
    4 KB (551 words) - 17:42, 29 July 2021
  • --In order to render the browser on the full screen, we need to know the dimensions. --Render the browser on the full size of the screen.
    2 KB (283 words) - 13:06, 21 August 2018
  • Here is a collection of articles that focus on the GTA:SA engine internal workings. They are relevant to MTA:SA developers
    554 bytes (84 words) - 03:43, 22 July 2016
  • Returns ''true'' on success, ''false'' in case of failure.
    645 bytes (81 words) - 12:52, 2 January 2014
  • ...e '''absolute''' origin X position of the rectangle, represented by pixels on the screen. ...e '''absolute''' origin Y position of the rectangle, represented by pixels on the screen.
    3 KB (359 words) - 17:16, 26 October 2018
  • This function checks, whether vehicle is laying on roof.
    642 bytes (69 words) - 11:36, 3 August 2012
  • ...to/multitheftauto/how-to-use-tortoisegit How to use TortoiseGit] wiki page on GitHub. ...ewing the commits (comments can be posted for every commit, in every file, on every line) and pull (fetch & merge) them into the multitheftauto repositor
    6 KB (1,049 words) - 21:46, 17 September 2013
  • ...add sirens to any vehice, this function may not work. This function fails on certain vehicle models (https://wiki.multitheftauto.com/wiki/Vehicle_IDs#Lu Returns ''true'' if the siren point was successfully changed on the vehicle, ''false'' otherwise.
    2 KB (301 words) - 10:53, 11 October 2021
  • <!-- Add the code below, an emphasis should be on making it clear, not optimized. You could provide two versions if you wish, <!-- Change FunctionArea to the area that this function is in on the main function list page, e.g. Server, Player, Vehicle etc -->
    2 KB (295 words) - 16:30, 13 February 2015
  • Returns ''true'' if the development mode is on, ''false'' if off.
    817 bytes (90 words) - 14:49, 30 April 2024
  • ...e case of the [[vehicle]] element, the following effects appear, depending on the health value: {{Issue|414|Using setElementHealth on a dead ped makes it invincible}}
    2 KB (295 words) - 15:41, 24 July 2023
  • Since around MTA 0.4.1 times (now on 0.5), the Deathmatch game mode has started to be used as a base for other m ...he total opposite of actual pure Deathmatching; even though it takes place on the MTA 0.5 Deathmatch Map.
    5 KB (760 words) - 14:10, 20 June 2012
  • *'''x:''' A float of the 2D x position of the chart on a player's screen. This is affected by the ''relative'' argument. *'''y:''' A float of the 2D y position of the chart on a player's screen. This is affected by the ''relative'' argument.
    3 KB (391 words) - 13:50, 10 January 2023
  • <!-- Add the code below, an emphasis should be on making it clear, not optimized. You could provide two versions if you wish, <!-- Change FunctionArea to the area that this function is in on the main function list page, e.g. Server, Player, Vehicle etc -->
    2 KB (286 words) - 08:06, 5 August 2021
  • ...dgsGridListAddColumn( numberList, "Column Title", 0.85 ) --Create a column on the gridlist ...rList, column ) --After the numbers are added in rows, perform auto sizing on the column
    2 KB (264 words) - 08:25, 1 August 2021
  • ...These are just layouts for GUI [[HU/Element/GUI/Tab|tabs]] and highly rely on them. A GUI-ablakok használata akkor javasolt, ha nem ad hozzá lapokat a
    656 bytes (104 words) - 18:59, 14 April 2021
  • This example draws the nitro count on vehicle on the player's screen.
    2 KB (236 words) - 10:23, 7 July 2014
  • ...heir own handlings and modify it to their likings) would add this resource on their server: The server handling.cfg will apply to everyone on the server. (If installed)<br>
    3 KB (404 words) - 06:50, 14 April 2021
  • ====Lua table of all the valid skin IDs listed on this page (in range 0-312)==== ====Lua table of the special skin IDs listed on this page (in range 0-312)====
    3 KB (122 words) - 11:51, 11 June 2023
  • ...n ipairs(getElementsByType("player")) do --// loop through all the players on the server ...urElementData, true, "subscribe") --// set our element data to all players on server
    2 KB (291 words) - 16:38, 21 August 2022
  • This function can be used to create custom radar areas on the radar. ...r Area on map]] [[File:Mta-screen 2020-04-27 16-28-38.png|thumb|Radar Area on minimap]]
    3 KB (404 words) - 08:57, 4 November 2020
  • <!-- Add the code below, an emphasis should be on making it clear, not optimized. You could provide two versions if you wish, -- This is a command handler that activates on text "nametagcolor" in the console. It also asks
    3 KB (468 words) - 23:24, 6 July 2016
  • Returns ''true'' on success, ''false'' in case of failure.
    616 bytes (73 words) - 09:59, 12 July 2013
  • outputChatBox ( "WARNING: You are running on a low resolution. Some GUI may be placed or appear incorrectly." ) For example, there is a DX text. It fits on 1024x768 resolution.
    4 KB (475 words) - 05:37, 6 November 2023
  • *'''xmlDocument:''' An [[xmlnode]] containing the data to be set on the SVG document ...). '''Note:''' if present, this will overwrite the current callback stored on the svg
    3 KB (418 words) - 23:15, 8 April 2022
  • outputChatBox( "You are on the marker.", thePlayer )--(اللاعب)thePlayer اخراج الكلام outputChatBox( "You are not on the marker.", thePlayer )(اللاعب)thePlayer اخراج الكلام ب
    2 KB (113 words) - 17:56, 21 February 2021
  • *'''x:''' A float of the 2D x position of the DGS label on a player's screen. This is affected by the ''relative'' argument. *'''y:''' A float of the 2D y position of the DGS label on a player's screen. This is affected by the ''relative'' argument.
    5 KB (677 words) - 12:09, 16 February 2021
  • This example creates window with label, and changing it's value on hover:
    702 bytes (78 words) - 10:53, 27 July 2018
  • Resets the distance of vehicles LOD to default. Default values depends on client setting. If client has enabled ''high detail vehicles'' in video opt
    820 bytes (86 words) - 23:16, 22 July 2018
  • This useful client function draws a text on any element you choose. * ''TheElement'': The element you want to draw the text on it.
    4 KB (566 words) - 22:13, 23 May 2020
  • ...or help with MTA Scripting. You can find it under the MTA:SA Help category on our Discord. * Try to find your answer on the [[Main Page]], especially on its upper part
    5 KB (795 words) - 00:21, 3 January 2022
  • *'''x:''' A float of the 2D x position of the GUI window on a player's screen. This is affected by the ''relative'' argument. *'''y:''' A float of the 2D y position of the GUI window on a player's screen. This is affected by the ''relative'' argument.
    5 KB (671 words) - 17:10, 5 December 2016
  • Returns ''table'' scripts on [[resource]]. This example will compile all script on resource
    3 KB (306 words) - 21:12, 1 December 2014
  • ...m. These are just layouts for GUI [[Element/GUI/Tab|tabs]] and highly rely on them. It is recommended to use GUI [[Element/GUI/Window|windows]] if you ar
    549 bytes (91 words) - 18:59, 14 April 2021
  • ...5|13771|Resets the distance of peds LOD to default. Default values depends on client setting. If client has enabled ''high detail peds'' in video options
    770 bytes (87 words) - 02:19, 23 July 2018
  • <!-- Add the code below, an emphasis should be on making it clear, not optimized. You could provide two versions if you wish, <!-- Change FunctionArea to the area that this function is in on the main function list page, e.g. Server, Player, Vehicle etc -->
    3 KB (301 words) - 18:17, 21 February 2021
  • ...a vehicle is moving backwards or not. This is useful to create back lights on the vehicle. ...t (tostring(isVehicleReversing(vehicle)), 10, 5) -- Show 'true' or 'false' on the screen.
    5 KB (489 words) - 05:43, 3 March 2023
View (previous 500 | ) (20 | 50 | 100 | 250 | 500)