Search results

Jump to navigation Jump to search
  • ...s from the Deathmatch mod. To request a function or event, use [[Requested Functions and Events]] For more functions, check the [[Useful_Functions|useful functions page]].
    2 KB (212 words) - 23:30, 29 April 2024
  • This function is used to reset the world sounds to the default setting. Returns true if the world sounds were reset, false otherwise.
    709 bytes (80 words) - 19:47, 28 October 2019
  • '''Example:''' This calculates the hash of '''"hello world"''' and prints it in debug window hash = md5( "hello world" ) -- calculate MD5 hash of "hello world"
    630 bytes (86 words) - 05:00, 19 September 2008
  • ...s page is heavily work-in-progress. I am focusing on client-side scripting functions. Feel free to discuss them in the "discussion" tab of each page. '''These functions are added in Phase 4, which is now. Join #mta.recore at irc.multitheftauto.
    3 KB (234 words) - 18:18, 10 April 2014
  • '''Example:''' This calculates the hash of '''"hello world"''' and prints it in debug window hash = alder32( "hello world" ) -- get alder32 hash of "hello world"
    652 bytes (87 words) - 04:57, 19 September 2008
  • ...scripting functions that have been implemented and are available as native functions from the Deathmatch mod. To request a function, create an issue in [https:/ For more functions, check the [[Useful_Functions|useful functions page]].
    2 KB (269 words) - 21:33, 29 April 2024
  • ==Account functions== ==ACL functions==
    3 KB (285 words) - 12:38, 16 January 2022
  • Tells you how long an ingame minute takes in real-world milliseconds. The default GTA value is 1000. Returns the number of real-world milliseconds that go in an ingame minute.
    599 bytes (68 words) - 09:32, 12 July 2017
  • ...lable as native functions. To request a function or event, use [[Requested Functions and Events]] or https://bugs.mtasa.com. ...that provide new functionality, such as utility functions. These scripting functions are non-native and require the module to be loaded in order to work.
    3 KB (332 words) - 16:18, 11 April 2021
  • ...scripting functions that have been implemented and are available as native functions. To request a function, create an issue in [https://github.com/multitheftau ...that provide new functionality, such as utility functions. These scripting functions are non-native and require the module to be loaded in order to work.
    3 KB (358 words) - 12:59, 30 April 2024
  • The building class represents static, 3-D models in the GTA world. Examples of buildings include building models, roads, and terrain. ==Related scripting functions==
    373 bytes (50 words) - 16:44, 21 April 2024
  • ==Main Functions== **'''world:''' Default state, relative to the world, faceTo = absoluteWorldPosition
    3 KB (412 words) - 12:08, 3 November 2019
  • Aby zażądać funkcji lub zdarzenia, użyj [[Requested Functions and Events]] or https://bugs.mtasa.com. ==Account functions==
    3 KB (344 words) - 11:15, 16 December 2020
  • This function allows you to check if certain world sound effects have not been disabled by [[setWorldSoundEnabled]] *'''group :''' An integer representing the [[World sound groups|world sound group]]
    1 KB (179 words) - 20:44, 30 April 2017
  • This event is called when a vehicle weapon hits an element or the world. *'''hitX''': The X world co-ordinate of where the hit occured.
    2 KB (233 words) - 20:42, 5 April 2020
  • -- Create a new text item with the text 'Hello World' and a priority of 'low' and colored red. myTextItem = textCreateTextItem ( "Hello World", 0.5, 0.5, "low", 255, 0, 0, 0, 1.0 )
    1 KB (128 words) - 18:55, 21 August 2007
  • ...] is to be used. This event allows detection of click positions of the 3D world. ...coordinate'' the player clicked on the screen, and is relative to the GTA world.
    2 KB (253 words) - 14:28, 20 May 2018
  • This example adjusts the visibility range of the game world. This example adjusts the visibility range of the game world.
    1 KB (151 words) - 20:08, 15 March 2021
  • This example creates a new display and a "Hello World" text item for a player. It then removes it from his screen 5 seconds late ...( "Hello World", 0.5, 0.5, "low", 255, 0, 0, 0, 1.0 ) --create our "Hello World" text item
    1 KB (136 words) - 14:01, 21 September 2011
  • ...ture/item|1.5.9|1.5.8|20704|This function re-streams everything in the GTA world.}} Returns ''true'' if the world was restreamed successfully, ''false'' otherwise.
    868 bytes (91 words) - 18:37, 16 June 2023
  • *'''func:''' the function you want to remove from the list of functions triggered when text changes This example creates a button. The button has two functions attached to it, one is triggered when user clicks the button (to change tex
    2 KB (298 words) - 16:35, 11 February 2015
  • *'''x:''' A float of the 3D x position of the DGS 3D Text in the world. *'''y:''' A float of the 3D y position of the DGS 3D Text in the world.
    952 bytes (147 words) - 00:24, 6 May 2020
  • This example creates a text display and adds a "Hello World" text item to it. It then removes that text item 5 seconds later. -- Create a new text item with the text 'Hello World' and a priority of 'low' and colored red.
    1 KB (163 words) - 08:20, 6 July 2016
  • ....4.1|6948|This function gets the distance from the [[camera]] at which the world starts rendering. For more information about this please refer to [[setNear {{Client world functions}}
    1 KB (125 words) - 16:07, 27 November 2014
  • *'''func:''' the function you want to add to a list of functions triggered when text changes This example creates a button. The button has two functions attached to it, one is triggered when user clicks the button (to change tex
    2 KB (343 words) - 16:35, 11 February 2015
  • -- Remove all world models {{World functions}}
    975 bytes (123 words) - 06:04, 11 August 2019
  • {{World functions}}
    530 bytes (58 words) - 18:44, 11 August 2010
  • {{World functions}}
    608 bytes (67 words) - 18:34, 7 March 2010
  • Makes a ped turn his head and look at a specific world position or element. *'''x:''' the x coordinate of the world position to look at.
    2 KB (309 words) - 18:59, 30 January 2022
  • -- Remove all world models {{World functions}}
    1 KB (134 words) - 10:45, 13 May 2012
  • *'''fx, fy, fz:''' the world coordinates where the effect originates. {{client world functions}}
    1,006 bytes (127 words) - 15:03, 8 December 2015
  • ...rını içerir. Bir event veya fonksiyon talebinde bulunmak için, [[Requested Functions and Events]] sayfasını kullanın. {{Camera functions}}
    3 KB (353 words) - 16:18, 11 April 2021
  • ...] is to be used. This event allows detection of click positions of the 3D world. ...coordinate'' the player clicked on the screen, and is relative to the GTA world.
    3 KB (393 words) - 13:54, 5 June 2021
  • The object class represents static, 3-D models in the GTA world. Objects only represent models created by a script, they do not represent m * '''interior''': The interior world the object is in.
    2 KB (253 words) - 16:40, 29 April 2024
  • ...: SA copy that a [[player]] is using (so it has more information about the world), but it can also be the [[Element/Console|server console]]. ...for example. However, the server console is protected against some of that functions: it can't get kicked or banned.
    960 bytes (145 words) - 10:12, 22 June 2014
  • ...itself. It is lightweight rendering and collidable instance on the GTA:SA world. As opposed to Objects, buildings do not stream. They can have an infinite This function is part of the discussion: '''[[Talk:MTA:Eir/functions/createBuilding|shall buildings be made MTA entities?]]'''
    1 KB (149 words) - 01:52, 12 January 2014
  • This function allows you to disable world sounds. A world sound is a sound effect which has '''''not''''' been caused by [[playSound] *'''group:''' An [[int|integer]] representing the [[World sound groups|world sound group]].
    3 KB (354 words) - 16:35, 20 September 2021
  • {{Client world functions}}
    560 bytes (55 words) - 02:15, 13 December 2019
  • {{World functions}}
    478 bytes (52 words) - 17:11, 25 July 2016
  • *'''group:''' An [[int|integer]] representing the [[World sound groups|world sound group]] ===World sound functions===
    2 KB (339 words) - 21:03, 5 April 2020
  • Use it once every frame just like other dxDraw functions *'''thePhysics:''' physics world
    599 bytes (66 words) - 14:35, 9 February 2020
  • ...is moved over the screen, by the player. It returns information about the world coordinates as well as the screen coordinates of where the player moved the *'''worldX, worldY, worldZ:''' the 3D in-game world coordinates that the cursor is pointing at.
    2 KB (251 words) - 05:58, 12 July 2023
  • ==Main Functions== The maximum visible distance in the world.
    3 KB (404 words) - 06:52, 21 March 2022
  • MyButton = DGS:dgsCreateButton(0.477,0.8268,0.1946,0.0784,"Hello World!",true,MyGuiWindow) -- Creates a button in your dgs window</syntaxhighlight ...n style="color:#eb3f00;text-shadow:0.05em 0.05em 0.2em #00000099;">General Functions</span>==
    1 KB (164 words) - 21:11, 3 May 2021
  • {{client world functions}}
    523 bytes (65 words) - 21:55, 7 October 2022
  • local input = "Hello World" print( joined ) -- Hello World
    2 KB (215 words) - 18:21, 15 February 2016
  • ...o world!", 0.5, 0.5 ) -- create a new textitem in the middle saying "Hello world" {{Text functions}}
    1 KB (180 words) - 21:14, 29 October 2023
  • ....4.1|6948|This function sets the distance from the [[camera]] at which the world starts rendering. Do not use this function unless you have a specific reaso {{Client world functions}}
    1 KB (212 words) - 20:25, 27 November 2014
  • {{World functions}}
    574 bytes (70 words) - 15:49, 26 August 2016
  • In San Andreas, the water in the game world (rivers, lakes, seas) is defined through a large number of water polygons, ==Related scripting functions==
    1 KB (183 words) - 18:46, 15 April 2021
  • The marker class represents colored, 3D shapes in the GTA world. There are several types of markers, including cylinders and checkpoints. I ==Related scripting functions==
    1 KB (164 words) - 09:51, 15 April 2021
  • Dimensions are a way of separating parts of the game world from each other. Each dimension can contain any element, and elements are o ==Relevant scripting functions==
    951 bytes (151 words) - 21:36, 28 April 2020
  • This function reset the water color of the GTA world to default. {{Client water functions}}
    634 bytes (69 words) - 14:30, 7 August 2016
  • This function finds the shortest path between 2 points in the world. ===Functions===
    1 KB (121 words) - 18:21, 3 February 2022
  • In San Andreas, the water in the game world (rivers, lakes, seas) is defined through a large number of water polygons, ==Related scripting functions==
    1 KB (185 words) - 18:50, 15 April 2021
  • {{World functions}}
    726 bytes (84 words) - 08:05, 16 September 2021
  • ...tar uma função ou um evento que ainda não existe, use a página [[Requested Functions and Events|Funções e Eventos solicitados]] (ainda em inglês) ou https:// '''Procurando as funções client-side? Visite a página [[Client Scripting Functions|Funções de Scripting do Cliente]].'''
    3 KB (436 words) - 00:36, 3 January 2022
  • {{Client world functions}}
    593 bytes (72 words) - 22:48, 21 December 2018
  • ...odule provides ability to find the shortest path between two points in the world. ===Functions===
    2 KB (216 words) - 16:08, 4 February 2022
  • ...esents invisible collision detection shapes that can be created in the GTA world. Collision shapes are typically used to detect physical entities moving thr ==Related scripting functions==
    2 KB (184 words) - 09:58, 15 April 2021
  • {{World functions}}
    646 bytes (71 words) - 20:37, 23 September 2021
  • {{Client world functions}}
    753 bytes (76 words) - 02:19, 23 July 2018
  • {{World functions}}
    699 bytes (82 words) - 22:13, 10 January 2015
  • Checks if a special world property (cheat) is enabled or not. {{Shared world functions}}
    2 KB (197 words) - 08:34, 9 September 2023
  • local dummyGUIElement = DGS:dgsCreateLabel ( 0.45, 0.48, 0.10, 0.04, "Hello world", true ) ...n style="color:#eb3f00;text-shadow:0.05em 0.05em 0.2em #00000099;">General Functions</span>==
    1 KB (189 words) - 21:20, 3 May 2021
  • MyButton = DGS:dgsCreateButton(0.477,0.8268,0.1946,0.0784,"Hello World!",true,MyGuiWindow) -- Creates a button in your dgs window</syntaxhighlight ...n style="color:#eb3f00;text-shadow:0.05em 0.05em 0.2em #00000099;">General Functions</span>==
    2 KB (192 words) - 21:12, 3 May 2021
  • local dummyGUIElement = DGS:dgsCreateLabel ( 0.45, 0.48, 0.10, 0.04, "Hello world", true ) ...n style="color:#eb3f00;text-shadow:0.05em 0.05em 0.2em #00000099;">General Functions</span>==
    1 KB (199 words) - 21:19, 3 May 2021
  • {{World functions}}
    573 bytes (70 words) - 19:26, 14 March 2011
  • {{World functions}}
    563 bytes (70 words) - 19:05, 14 March 2011
  • {{AR/Collision shape functions}} {{AR/Client_Clothes and body functions}}
    3 KB (174 words) - 16:12, 11 April 2021
  • {{World functions}}
    859 bytes (103 words) - 09:53, 7 March 2010
  • This function resets the water of the GTA world back to its default level. [[water|Water elements]] are not affected. {{Client water functions}}
    739 bytes (79 words) - 14:30, 7 August 2016
  • {{World functions}}
    869 bytes (31 words) - 03:07, 1 April 2016
  • The searchlight class represents special spotlights in the GTA world. They are different to common spotlights because their visual effects. ==Related scripting functions==
    1 KB (198 words) - 18:45, 15 April 2021
  • The searchlight class represents special spotlights in the GTA world. They are different to common spotlights because their visual effects. ==Related scripting functions==
    1 KB (198 words) - 18:44, 15 April 2021
  • {{client world functions}}
    712 bytes (86 words) - 21:48, 7 October 2022
  • {{World functions}}
    694 bytes (93 words) - 14:13, 7 October 2012
  • {{Client world functions}}
    820 bytes (86 words) - 23:16, 22 July 2018
  • {{Client world functions}}
    770 bytes (87 words) - 02:19, 23 July 2018
  • ...world!", 0.5, 0.5 ) -- create a new text item in the middle saying "Hello world" {{Text functions}}
    2 KB (232 words) - 21:14, 29 October 2023
  • {{World functions}}
    901 bytes (103 words) - 18:43, 16 November 2011
  • Returns the number of markers that currently exist in the world. {{Marker functions}}
    756 bytes (88 words) - 13:40, 10 October 2023
  • {{World functions}}
    675 bytes (77 words) - 11:54, 22 April 2013
  • *'''hitX''', '''hitY''', '''hitZ''': [[float]] world coordinates representing a hit point. ===Client event functions===
    1 KB (169 words) - 03:12, 30 September 2019
  • .... Players can not, by default, access these. You can use various scripting functions to move elements into these interiors. When you change the interior a playe ...interiors, interior 0 being the first one and referring to the normal GTA world.
    2 KB (241 words) - 21:36, 28 April 2020
  • {{World functions}}
    922 bytes (115 words) - 23:16, 11 January 2023
  • {{Client world functions}}
    915 bytes (85 words) - 21:21, 7 October 2022
  • '''Example 1''': This example creates a gridlist with entries "Hello" and "World!" and chooses randomly which of these two grid list items it will retrieve. --Create the text "World!" for rowB, columnA
    3 KB (325 words) - 18:47, 28 October 2021
  • {{World functions}}
    726 bytes (101 words) - 12:03, 29 March 2013
  • {{:MTA:Eir/functions/engineStreamingSetProperty/validProps_ru}} This snippet ultimatively fixes the world flickering.
    3 KB (327 words) - 08:23, 28 September 2023
  • {{:MTA:Eir/functions/engineStreamingSetProperty/validProps}} This snippet ultimatively fixes the world flickering.
    3 KB (326 words) - 08:21, 28 September 2023
  • {{World functions}}
    882 bytes (105 words) - 10:37, 8 May 2020
  • {{World functions}}
    1,002 bytes (126 words) - 22:51, 8 March 2012
  • {{World functions}}
    905 bytes (109 words) - 14:03, 4 October 2016
  • {{:MTA:Eir/functions/engineStreamingSetProperty/validProps}} This snippet ultimatively fixes the world flickering.
    3 KB (331 words) - 16:27, 21 October 2023
  • ...] is to be used. This event allows detection of click positions of the 3D world. ...coordinate'' the player clicked on the screen, and is relative to the GTA world.
    5 KB (589 words) - 10:10, 13 May 2017
  • The pickup class represents weapon, health, or armor pickups in the GTA world. Pickups can be picked up by players when they are walked over. Players wil ==Related scripting functions==
    1 KB (211 words) - 11:40, 26 February 2024
  • {{Client world functions}}
    838 bytes (86 words) - 23:17, 22 July 2018
  • {{World functions}}
    982 bytes (127 words) - 10:16, 18 May 2014
  • {{Client world functions}}
    796 bytes (97 words) - 08:40, 7 September 2019
  • {{Client world functions}}
    682 bytes (82 words) - 23:11, 29 April 2024
  • {{World functions}}
    871 bytes (93 words) - 07:18, 17 July 2011
  • ...represent the world coordinates ''-3000, 3000'' (upper-left corner of the world map). ...represent the world coordinates ''3000, -3000'' (lower-right corner of the world map).
    7 KB (923 words) - 17:39, 2 July 2016
  • Creates an explosion of a certain type at a specified point in the world. If creator is specified, the explosion will occur only in its dimension. *'''x:''' a float value that specifies the X world coordinate where the explosion is created at.
    6 KB (763 words) - 11:44, 11 January 2024
  • ...le cancels when a hunterPlayer tries to enter a vehicle and outputs to the world what the player tried to do. {{Event functions}}
    942 bytes (117 words) - 12:50, 28 July 2013
  • {{RU/World functions}}
    1 KB (35 words) - 06:32, 15 August 2012
  • This function opens or closes the specified garage door in the world. {{World functions}}
    2 KB (284 words) - 14:08, 7 December 2021
  • The light class represents colored, 3D lights in the GTA world. There are a couple different types of lights, which are point lights, spot ==Related scripting functions==
    2 KB (242 words) - 18:36, 15 April 2021
  • {{RU/World functions}}
    1 KB (45 words) - 12:02, 16 August 2012
  • ...tar uma função ou um evento que ainda não existe, use a página [[Requested Functions and Events|Funções e Eventos solicitados]] (ainda em inglês) ou http://b {{PT-BR/SVG functions}}
    3 KB (480 words) - 17:10, 20 February 2022
  • '''Клиентские функции скриптинга можно найти [[RU/Client Scripting Functions|здесь]]'''. {{RU/Server account functions}}
    5 KB (241 words) - 11:18, 8 June 2022
  • ...hortage. It is recommended to disable this functionality and use [[MTA:Eir/functions/engineStreamingSetGCOnDemandEnabled|garbage collection]] instead.
    1 KB (127 words) - 08:21, 28 September 2023
  • {{World functions}}
    815 bytes (113 words) - 18:48, 26 February 2012
  • This function checks if there are obstacles between two points of the game world, optionally ignoring certain kinds of elements. Use [[processLineOfSight]] *'''startX:''' The first point's world X coordinate.
    6 KB (815 words) - 14:00, 27 June 2020
  • *'''worldX, worldY, worldZ:''' collision position in world space {{Client world functions}}
    2 KB (287 words) - 16:52, 31 October 2023
  • local serverText = textCreateTextItem ( "Hello world!", 0.5, 0.5 ) -- create a text item for the display {{Text functions}}
    999 bytes (111 words) - 00:39, 21 January 2011
  • ==Main Functions== ...line of sight to be blocked by GTA's internally placed buildings, i.e. the world map.
    5 KB (695 words) - 06:06, 9 December 2021
  • ...ehavior of GTA:SA entities. It is only valid in conjunction with [[MTA:Eir/functions/engineSetInfiniteStreamingEnabled|engineSetInfiniteStreamingEnabled]]. If s This snippet ultimatively fixes the world flickering.
    1 KB (123 words) - 08:06, 28 September 2023
  • * Added functions to remove and re-add parts of the San Andreas world ===New Functions===
    2 KB (258 words) - 18:58, 21 February 2021
  • {{client world functions}}
    927 bytes (111 words) - 21:54, 7 October 2022
  • {{World functions}}
    1 KB (126 words) - 08:49, 15 June 2014
  • ...cree alguna función o un evento, visita el artículo oficial de [[Requested Functions and Events|Pedido de Funciones y Eventos]] o https://github.com/multithefta ...nes de cliente se pueden encontrar en el artículo sobre [[Client Scripting Functions|Funciones de cliente]].'''
    3 KB (426 words) - 00:36, 3 January 2022
  • {{World functions}}
    1 KB (132 words) - 08:18, 16 September 2021
  • {{World functions}}
    1 KB (70 words) - 20:05, 29 September 2014
  • ...rguments to trigger with the event. You can pass any lua data type (except functions). You can also pass [[element]]s. This example shows how you can pass a simple "Hello World" message from the server to the all the clients using an event.
    6 KB (781 words) - 04:03, 19 April 2024
  • {{World functions}}
    880 bytes (119 words) - 17:04, 20 May 2020
  • ...ds on the streaming garbage collection entity registry. This is why '''the world flickers wildly''' when it is out of available nodes. A better way is to '''garbage collect the world on demand'''. This way only entities that are out of sight will lose their
    4 KB (596 words) - 09:53, 29 October 2020
  • This event is triggered when a vehicle collides with an [[element]] or a world object. ...heHitElement:''' the other entity, or nil if the vehicle collided with the world
    4 KB (540 words) - 10:35, 30 January 2022
  • {{Client world functions}}
    944 bytes (116 words) - 21:23, 7 October 2022
  • {{Client world functions}}
    836 bytes (105 words) - 09:13, 12 July 2017
  • {{Client world functions}}
    2 KB (186 words) - 03:42, 25 September 2018
  • {{RU/World functions}}
    1 KB (72 words) - 09:53, 15 August 2012
  • {{World functions}}
    1 KB (132 words) - 18:46, 18 November 2021
  • ...ollector]] nodes. The allocation behavior order is changed using [[MTA:Eir/functions/engineSetStrictStreamingNodeDistributionEnabled|engineSetStrictStreamingNod This snippet ultimatively fixes the world flickering.
    1 KB (136 words) - 08:07, 28 September 2023
  • text = textCreateTextItem ( "Hello World", 0.5, 0.5, "medium", 255, 0, 0, 255, 2, "left", "top", 255) --red text of {{Text functions}}
    1 KB (124 words) - 15:35, 23 June 2014
  • {{World functions}}
    963 bytes (103 words) - 18:51, 26 July 2018
  • {{World functions}}
    835 bytes (108 words) - 17:02, 28 June 2011
  • {{World functions}}
    1 KB (151 words) - 07:46, 4 November 2020
  • ==Main Functions== ...line of sight to be blocked by GTA's internally placed buildings, i.e. the world map.
    5 KB (813 words) - 06:49, 9 December 2021
  • Sets the height of some or all the water in the game world. ...level:''' the new Z coordinate of the water surface. All water in the game world is set to this height.
    4 KB (514 words) - 23:09, 22 October 2023
  • *'''posX, posY, posZ:''' the world coordinates where the effect originates. {{Client Effects functions}}
    1 KB (135 words) - 20:58, 2 January 2015
  • local Timer = setTimer ( function ( ) outputChatBox ( 'Hello World !' ) end, 60000, 0 ) {{Utility functions}}
    1 KB (153 words) - 07:01, 12 July 2014
  • * '''[[Client_Commands#showsound|showsound]]''': Enables world sound ids to be printed in the debug output window. '''Shared''' development mode functions:
    2 KB (253 words) - 14:48, 30 April 2024
  • ...an do too. This is C# SDK for MTA. It allows you to call any HTTP exported functions from resources. The SDK itself is very basic and easy to use. It was mainly luaArgs.AddValue( "world" );</syntaxhighlight>
    3 KB (413 words) - 19:58, 6 November 2022
  • *'''posX, posY, posZ:''' the world coordinates where the puff originates. {{Client Effects functions}}
    1 KB (136 words) - 20:59, 2 January 2015
  • ...acts the first character by calculating the character length with the UTF8 functions and the inbuilt Lua function string.sub, which processes byte strings. local input = "Привет мир" -- Hello World
    2 KB (212 words) - 18:27, 15 February 2016
  • This function creates a [[shader]] element that can be used in the dxDraw functions. Successful shader creation is not guaranteed unless the [[shader|Effect Fi ...y = 0, float maxDistance = 0, bool layered = false, string elementTypes = "world,ped,vehicle,object,other,all" ] )
    8 KB (1,035 words) - 23:18, 8 February 2023
  • MyButton = guiCreateButton(0.477,0.8268,0.1946,0.0784,"Hello World!",true,MyGuiWindow) -- Creates a button in your gui window {{GUI functions}}
    1 KB (139 words) - 13:49, 14 May 2019
  • *'''posX, posY, posZ:''' the world coordinates where the effect originates. {{Client Effects functions}}
    1 KB (138 words) - 10:00, 21 June 2019
  • dxDrawText( "Hello World", 500, 500, 1000, 1000, tocolor(255,128,0,255), size, "pricedown" ) [[Category:Useful Functions]]
    1 KB (147 words) - 16:24, 23 August 2012
  • {{World functions}}
    1 KB (151 words) - 10:31, 24 June 2018
  • *'''posX, posY, posZ:''' the world coordinates where the effect originates. {{Client Effects functions}}
    1 KB (145 words) - 20:58, 2 January 2015
  • ...ou use [[CustomLabel:setSchematicalColor]] or [[CustomLabel:setHoverable]] functions, because this color is not saving anywhere. local Label = CustomLabel.create(5, 25, 90, 20, "Hello World", false, Window)
    1 KB (153 words) - 11:10, 27 July 2018
  • *'''hitX''', '''hitY''', '''hitZ''': [[float]] world coordinates representing a hit point. *'''startX''', '''startY''', '''startZ''': [[float]] world coordinates representing the start of the bullet. Note: This is not the gun
    4 KB (478 words) - 03:37, 25 April 2024
  • {{World functions}}
    1 KB (197 words) - 00:56, 7 March 2023
  • local dummyGUIElement = DGS:dgsCreateLabel ( 0.45, 0.48, 0.10, 0.04, "Hello world", true ) ...n style="color:#eb3f00;text-shadow:0.05em 0.05em 0.2em #00000099;">General Functions</span>==
    2 KB (337 words) - 21:25, 3 May 2021
  • local b = "World" {{UTF8 functions}}
    2 KB (213 words) - 18:43, 15 February 2016
  • ...tree]] which do not necessarily represent an entity within the San Andreas world. A common use for this function is for creating custom elements, such as a {{Element functions}}
    1 KB (182 words) - 19:52, 15 April 2021
  • *'''posX, posY, posZ:''' the world coordinates where the effect originates. {{Client Effects functions}}
    1 KB (157 words) - 09:59, 21 June 2019
  • ...to retrieve the position coordinates of an element. This can be any real world element, including: {{Element functions}}
    1 KB (157 words) - 15:52, 1 October 2021
  • {{World functions}}
    1 KB (173 words) - 19:09, 21 August 2018
  • Gets the world position of a vertex (i.e. corner) of a [[water]] area. Each water area is {{Water functions}}
    1 KB (151 words) - 17:10, 2 January 2022
  • float4x4 World; ==Shaders for world textures==
    11 KB (1,232 words) - 08:47, 15 April 2021
  • float4x4 World; ==Shaders for world textures==
    11 KB (1,237 words) - 17:57, 8 April 2023
  • *'''posX, posY, posZ:''' the world coordinates where the debris originates. {{Client Effects functions}}
    1 KB (170 words) - 10:00, 21 June 2019
  • ...unction doesn't fix the issue of camera clip not working on objects out of world bounds.}} {{Client camera functions hu}}
    1 KB (196 words) - 10:31, 11 August 2019
  • {{World functions}}
    1 KB (182 words) - 20:37, 23 September 2021
  • serverText = textCreateTextItem ( "Hello world!", 0.5, 0.5 ) -- create a text item for the display {{Text functions}}
    1 KB (176 words) - 15:28, 22 May 2012
  • The vehicle class represents vehicles in the GTA world. Vehicles can be occupied and controlled by players. ==Related scripting functions==
    3 KB (384 words) - 06:57, 1 January 2022
  • This function changes the water color of the GTA world. {{Client water functions}}
    1 KB (191 words) - 15:02, 7 August 2016
  • {{Client world functions}}
    1 KB (197 words) - 15:54, 19 April 2021
  • {{World functions}}
    2 KB (200 words) - 14:03, 6 January 2022
  • ...ement synchronization issues, on locations built outside 3000m radius from world center.}} {{Utility functions}}
    2 KB (243 words) - 19:11, 28 April 2024
  • {{World functions}}
    2 KB (192 words) - 23:12, 11 January 2023
  • ...by native GTA:SA, otherwise MTA. The IPL index can be used with [[MTA:Eir/functions/getIPLSectorInfo|getIPLSectorInfo]] to retrieve additional information. An IPL sector is a zone on the native GTA:SA world. It stores dummies, buildings and objects. Its buildings and objects are cr
    1 KB (203 words) - 15:10, 16 April 2017
  • -- Make sure the world knows about our poem. {{:Modules/FileSystem/file/functions}}
    2 KB (253 words) - 03:13, 23 January 2022
  • *'''posX, posY, posZ:''' the world coordinates where the effect originates. {{Client Effects functions}}
    1 KB (189 words) - 10:01, 21 June 2019
  • This function casts a ray between two points in the world, and tells you information about the point that was hit, if any. The two po ...line of sight to be blocked by GTA's internally placed buildings, i.e. the world map.
    8 KB (1,061 words) - 14:44, 27 June 2020
  • -- Make sure the world knows about our poem. {{:MTA:Eir/FileSystem/file/functions}}
    2 KB (247 words) - 23:49, 16 January 2022
  • ...re relative to the position of the element, and as such if you wish to get world coordinates for drawing, etc., you should retrieve the position of the elem {{Client element functions}}
    1 KB (185 words) - 14:08, 29 April 2021
  • Enables or disables a special world property. {{Shared world functions}}
    4 KB (412 words) - 17:40, 10 September 2023
  • *'''posX, posY, posZ:''' the world coordinates where the effect originates. {{Client Effects functions}}
    1 KB (186 words) - 10:01, 21 June 2019
  • [[print("Hello World!");]], {{:Modules/FileSystem/file/functions}}
    2 KB (245 words) - 03:01, 23 January 2022
  • [[print("Hello World!");]], {{:MTA:Eir/FileSystem/file/functions}}
    2 KB (239 words) - 23:36, 16 January 2022
  • ...currently streamed in (not virtualized) and are actual GTA objects in the world. You can force an element to be streamed in using [[setElementStreamable]]. {{Client element functions}}
    2 KB (236 words) - 19:30, 17 September 2023
  • {{Client world functions}}
    2 KB (232 words) - 06:04, 3 March 2023
  • Sets the world position of a corner point of a water area. {{Water functions}}
    2 KB (196 words) - 16:58, 11 May 2017
  • {{World functions}}
    2 KB (227 words) - 16:45, 11 February 2015
  • This function returns the water color of the GTA world. {{Client water functions}}
    2 KB (280 words) - 15:02, 7 August 2016
  • guiGridListSetItemText ( myGridList, rowB, columnA, "World!", false, false ) {{GUI functions}}
    2 KB (222 words) - 21:18, 7 November 2018
  • ...after a number of milliseconds have elapsed. You can call one of your own functions or a built-in function. For example, you could set a timer to spawn a playe ...e that any tables you want to pass will get cloned, whereas metatables and functions/function references in that passed table will get lost. Also changes you ma
    6 KB (821 words) - 09:22, 13 October 2023
  • local myBuffers = { "Hello World!", "Cooking eggs on a frying pan", "The American Pizzas taste awesome", "Th {{:Modules/FileSystem/file/functions}}
    2 KB (306 words) - 03:01, 23 January 2022
  • local myBuffers = { "Hello World!", "Cooking eggs on a frying pan", "The American Pizzas taste awesome", "Th {{:MTA:Eir/FileSystem/file/functions}}
    2 KB (300 words) - 23:35, 16 January 2022
  • {{World functions}}
    1 KB (223 words) - 19:24, 14 March 2011
  • --Set the text of columnA, rowA to "Hello World!" {{GUI functions}}
    3 KB (273 words) - 15:53, 27 June 2019
  • {{World functions}}
    2 KB (282 words) - 21:50, 29 August 2022
  • *'''thePhysics:''' physics world *'''physics-shape''' to use in future functions
    2 KB (244 words) - 21:30, 18 February 2020
  • Returns the world position of the muzzle of the weapon that a ped is currently carrying. The {{Client ped functions}}
    2 KB (290 words) - 21:23, 7 May 2017
  • ...or by accident). 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 co ...rns). This applies globally, so the PC of multiple players from around the world (in different internet cafe's) can have the same serial as eachother. If yo
    4 KB (649 words) - 10:19, 24 June 2023
  • ...here to split the sub-strings. For example, it can split the string "Hello World" into two strings containing the two words, by spliting using a space as a {{Utility functions}}
    2 KB (343 words) - 16:59, 15 November 2023
  • ...ows the shoot to be blocked by GTA's internally placed buildings, i.e. the world map. {{Client weapon creation functions}}
    2 KB (347 words) - 14:23, 4 July 2016
  • array:example(", world!") array.example(array, ", world!")
    14 KB (2,273 words) - 12:46, 17 August 2017
  • local x,y,z = getVehicleComponentPosition ( veh, v, "world" ) ==Related scripting functions==
    6 KB (718 words) - 07:19, 1 January 2022
  • Creates a Ped in the GTA world. {{Ped functions}}
    3 KB (353 words) - 05:59, 5 November 2023
  • If there are elements created on the game world whose model ID does match the one that you want to release using the engine {{Engine functions}}
    3 KB (345 words) - 17:17, 17 November 2021
  • myTextItem = textCreateTextItem ( "Hello world!", 0.5, 0.5 ) -- create text item for the display {{Text functions}}
    3 KB (355 words) - 15:42, 27 May 2012
  • *'''posX, posY, posZ:''' the world coordinates where the sparks originate. {{Client Effects functions}}
    3 KB (345 words) - 09:59, 21 June 2019
  • ===New Functions=== * Added world model info to [[processLineOfSight]] Details: http://code.google.com/p/mtas
    25 KB (3,334 words) - 07:46, 29 September 2014
  • * '''31''' new functions * Added new streaming functions ([https://github.com/multitheftauto/mtasa-blue/commit/7ffc31243c1dbca8ed5e7
    23 KB (3,264 words) - 17:52, 4 May 2024
  • ...ows the shoot to be blocked by GTA's internally placed buildings, i.e. the world map. {{Client weapon creation functions}}
    3 KB (449 words) - 18:21, 23 December 2014
  • ...shape is not part of the colshape bounds, so can set anywhere in the game world, however for performance, place it as close to the centre of the polygon as -- Calculate the points in the game world
    7 KB (918 words) - 09:51, 30 January 2022
  • The Effect class represents custom effect elements in the game world such as smoke, sparks, fire etc. ==Related scripting functions==
    5 KB (794 words) - 11:03, 15 April 2021
  • --Set the text of columnA, rowA to "Hello World!" {{GUI functions}}
    4 KB (460 words) - 14:09, 27 April 2020
  • ...shape is not part of the colshape bounds, so can set anywhere in the game world, however for performance, place it as close to the centre of the polygon as -- Calculate the points in the game world
    7 KB (958 words) - 10:58, 16 May 2019
  • This function creates a pickup element, which is placed in the GTA world and can be picked up to retrieve a health, armour or a weapon. {{Pickup functions}}
    3 KB (475 words) - 19:32, 21 May 2023
  • ...mplate class. Every COLL and IPL sector is added into a quad tree to boost world area look-up. Sectors are allocated from a private data pool. Sectors have ...request resources for every game instance. By expanding the logic of these functions, MTA can offer custom resources to the game engine (i.e. models and collisi
    11 KB (1,750 words) - 03:48, 22 July 2016
  • === New Functions === * Added ability to layer multiple shaders on a world texture
    7 KB (886 words) - 09:40, 29 September 2014
  • {{World functions}}
    3 KB (431 words) - 16:00, 1 September 2023
  • local input = "Hello, world!" {{Utility functions}}
    4 KB (561 words) - 20:13, 15 March 2024
  • ...o jako: '''<span style='color:red;'>Hello</span> <span style='color:green'>World</span> ''' {{Server functions}}
    3 KB (440 words) - 10:38, 21 August 2012
  • ...line of sight to be blocked by GTA's internally placed buildings, i.e. the world map. {{Useful Functions}}
    4 KB (566 words) - 22:13, 23 May 2020
  • ...line of sight to be blocked by GTA's internally placed buildings, i.e. the world map. {{Useful Functions}}
    4 KB (593 words) - 16:18, 21 July 2023
  • ...ger is a resource included in the MTA DM server suite. It offers commands, functions and events for the gamemodes to dynamically manage their maps. For example, ...s gamemode/map loading. It applies certain map settings affecting the game world and sets ASE game type and map name rule values as well. It includes a web
    9 KB (1,213 words) - 09:38, 7 March 2015
  • [[Image:Dx Dgs.jpg|400px|thumb|right|Hurt World GUI Example]] *This is a resource, if you want to use the functions exported by this resource, you should use an exported function prefix ('''e
    5 KB (371 words) - 13:43, 29 January 2023
  • Multi Theft Auto (MTA) is the world's first multiplayer add-on for the Grand Theft Auto 3 Trilogy<ref>Trilogy: ...d without altering any original files supplied with the game. The software functions as a [http://en.wikipedia.org/wiki/Game_engine game engine] that installs i
    9 KB (1,504 words) - 12:36, 7 April 2018
  • This function creates a marker. A marker is a 3D model in the world that can highlight a particular point or area, often used to instruct playe {{Marker functions}}
    5 KB (695 words) - 12:39, 10 October 2023
  • ...rguments to trigger with the event. You can pass any lua data type (except functions). You can also pass [[element]]s. local messageToSend = "Hello, world!" -- this string would be passed to server
    10 KB (1,405 words) - 22:38, 29 April 2024
  • *The offset coodinates reflect the object space, not the world space. This means that you cannot calculate the exact offsets between two o {{Element functions}}
    4 KB (587 words) - 19:46, 15 April 2021
  • ...lay as: '''<span style='color:red;'>Hello</span> <span style='color:green'>World</span> ''' '''Example 5:''' These two functions can speed up typing, and display a message when a player Joins.
    7 KB (936 words) - 08:31, 5 October 2023
  • ...sort to a simple function that we know will return [[nil]] (nothing). When functions return something, it's like when you ask someone a question and they reply ...your friend for all of eternity (or until the NSA decides to take over the world).
    14 KB (2,137 words) - 21:20, 15 September 2018
  • ...e jako: '''<span style='color:red;'>Hello</span> <span style='color:green'>World</span> ''' {{Server functions}}
    4 KB (627 words) - 21:34, 19 July 2016
  • * You can now edit element bone behavior through 7 new bone manipulation functions! Great for some dynamic animations. Get started at [[setElementBonePositio ...n't before - such as bushes, fences and many more! You can now also remove world objects inside interiors. This should help mappers a lot.
    28 KB (3,414 words) - 19:46, 16 June 2023
  • ...unction names are clickable in code examples on the wiki and linked to the functions' documentation.'' ...yers position. Since players are Elements, we first jump to the '''Element functions''' where we find the [[getElementPosition]] function. By clicking on the fu
    22 KB (3,205 words) - 05:39, 11 November 2013
  • ...е, как: '''<span style='color:red;'>Hello</span> <span style='color:green'>World</span> ''' {{Server functions}}
    7 KB (288 words) - 08:38, 7 September 2019
  • ...unction names are clickable in code examples on the wiki and linked to the functions' documentation.'' ...er's position. Since players are Elements, we first jump to the '''Element functions''' where we find the [[getElementPosition]] function. By clicking on the fu
    22 KB (3,459 words) - 15:00, 15 May 2024
  • ...plit into subroutines or the more patterns found have been put into shared functions, the better is the result of the research. Since the whole engine logic tie * streaming runtime, streaming loader, world sector streaming
    7 KB (1,072 words) - 03:48, 22 July 2016
  • * Add new drawing functions: [[dxDrawPrimitive]] and [[dxDrawMaterialPrimitive]] * '''27''' new functions
    36 KB (4,820 words) - 20:23, 29 September 2021
  • ...there are many ways to achieve the same thing as long as you know all the functions and events. ...d, try putting back-end stuff in another file so the main script calls the functions in the 2nd one. For example rather than having meaningless things like ''ve
    8 KB (1,269 words) - 17:30, 2 August 2023
  • * '''40''' new functions ==== 19 New Functions ====
    17 KB (2,101 words) - 19:39, 29 December 2022
  • ...unction names are clickable in code examples on the wiki and linked to the functions' documentation.'' ...yers position. Since players are Elements, we first jump to the '''Element functions''' where we find the [[getElementPosition]] function. By clicking on the fu
    21 KB (3,450 words) - 03:43, 10 March 2013
  • ==== New Functions ==== * Added some BASS API functions to voice - Details: [http://code.google.com/p/mtasa-blue/source/detail?r=52
    13 KB (1,667 words) - 08:55, 4 November 2017
  • ...servers for a longer time period or if you want to experiment with a real world console. ===Useful functions===
    18 KB (2,477 words) - 20:36, 21 February 2021
  • ...eatures a built-in debug console that shows debug messages output from MTA functions or from scripts. Keeping it mind that you should have administrator access ...servers for a longer time period or if you want to experiment with a real world console.
    18 KB (2,760 words) - 16:40, 15 April 2017
  • ...Jab se players elements hain, ham sab se pehle jump karte hain '''Element functions''' jahan par hameu pata chalta hai [[getElementPosition]] function ke baate ...ns List]] Jab se ham vehicles kay baare meu baat kar rahe hain, '''Vehicle functions''' section meu, ham choose kareu gay [[createVehicle]] ko. Is function kay
    22 KB (3,653 words) - 06:13, 25 October 2014
  • ...eatures a built-in debug console that shows debug messages output from MTA functions or from scripts. Keeping it mind that you should have administrator access ...servers for a longer time period or if you want to experiment with a real-world console.
    18 KB (2,815 words) - 08:56, 4 July 2022
  • | '''Normal world''' ==Interior Functions==
    12 KB (1,069 words) - 21:45, 22 March 2024
  • ...yers position. Since players are Elements, we first jump to the '''Element functions''' where we find the [[getElementPosition]] function. By clicking on the fu ...ist]], this time - since we are talking about vehicles - in the '''Vehicle functions''' section, where we will choose [[createVehicle]]. In this function's synt
    26 KB (2,258 words) - 00:57, 4 April 2022
  • :* Some functions expect only unsigned integers (positive numbers), and since Jan 2016 provid :* '''26''' new functions
    68 KB (10,156 words) - 00:00, 14 May 2024