New pages
Jump to navigation
Jump to search
- 15:42, 6 October 2024 DxScrollSetVertical (hist | edit) [1,028 bytes] BR4 (talk | contribs) (Created page with "__NOTOC__ {{Client Function}} Esta funcion modifica el estilo de posición de la barra de desplazamiento creada dxScroll. <small>'''<span style="color:#ff0000; text-shadow:black 0em 0.1em 0.1em;">''Aviso: Esta es una función exportada por Modern-Library!''</span>'''</small> ==Sintaxis== <syntaxhighlight lang="lua">bool dxScrollSetVertical(element element, bool valorSet)</syntaxhighlight> ===Argumentos requeridos=== * '''element''': La dxScroll creada. * ''...")
- 15:24, 6 October 2024 DxScrollSetCurrentPosition (hist | edit) [941 bytes] BR4 (talk | contribs) (Created page with "__NOTOC__ {{Client Function}} Esta funcion modifica la posición del boton de la barra de desplazamiento creada dxScroll. <small>'''<span style="color:#ff0000; text-shadow:black 0em 0.1em 0.1em;">''Aviso: Esta es una función exportada por Modern-Library!''</span>'''</small> ==Sintaxis== <syntaxhighlight lang="lua">bool dxScrollSetCurrentPosition(element element, int valor)</syntaxhighlight> ===Argumentos requeridos=== * '''element''': La dxScroll creada. *...")
- 15:09, 6 October 2024 DxScrollGetCurrentPosition (hist | edit) [1,059 bytes] BR4 (talk | contribs) (Created page with " __NOTOC__ {{Client Function}} Esta funcion obtiene la posición de la barra de desplazamiento ya creada dxScroll. <small>'''<span style="color:#ff0000; text-shadow:black 0em 0.1em 0.1em;">''Aviso: Esta es una función exportada por Modern-Library!''</span>'''</small> ==Sintaxis== <syntaxhighlight lang="lua">bool dxScrollGetCurrentPosition(element element)</syntaxhighlight> ===Argumentos requeridos=== * '''element''': La dxScroll creada. ===Retorna=== * ''...")
- 14:48, 6 October 2024 DxScrollSetColorButton (hist | edit) [1,273 bytes] BR4 (talk | contribs) (Created page with "__NOTOC__ {{Client Function}} Esta funcion modifica el color del boton para la barra de desplazamiento ya creada dxScroll. <small>'''<span style="color:#ff0000; text-shadow:black 0em 0.1em 0.1em;">''Aviso: Esta es una función exportada por Modern-Library!''</span>'''</small> ==Sintaxis== <syntaxhighlight lang="lua">bool dxScrollSetColor(element element, int r, int g, int b, int a)</syntaxhighlight> ===Argumentos requeridos=== * '''element''': La dxScroll c...")
- 11:09, 6 October 2024 DxScroll (hist | edit) [2,159 bytes] BR4 (talk | contribs) (Created page with "__NOTOC__ {{Client function}} Esta función crea una barra de desplazamiento útil. <small>'''<span style="color:#ff0000; text-shadow:black 0em 0.1em 0.1em;">''Aviso: Esta es una función exportada por Modern-Library!''</span>'''</small> ==Syntax== <syntaxhighlight lang="lua"> element dxScroll( int x, int y, int wh, bool vertical, [ element parent = nil, bool roundedScroll = false, int colorBackground = tocolor(25, 25, 35, 255), int colorBoton = tocolor(255, 255,...")
- 10:19, 6 October 2024 DxProgressBarSetColor (hist | edit) [1,084 bytes] BR4 (talk | contribs) (Created page with "__NOTOC__ {{Client Function}} Esta funcion modifica el color de la barra de progreso ya creada dxProgressBar. <small>'''<span style="color:#ff0000; text-shadow:black 0em 0.1em 0.1em;">''Aviso: Esta es una función exportada por Modern-Library!''</span>'''</small> ==Sintaxis== <syntaxhighlight lang="lua">bool dxProgressBarSetColor(element element, int r, int g, int b, int a)</syntaxhighlight> ===Argumentos requeridos=== * '''element''': La dxProgressBar crea...")
- 10:01, 6 October 2024 DxProgressBarGetProgress (hist | edit) [869 bytes] BR4 (talk | contribs) (Created page with "__NOTOC__ {{Client Function}} Esta funcion obtiene la posición de la barra de progreso actual del elemento dxProgressBar. <small>'''<span style="color:#ff0000; text-shadow:black 0em 0.1em 0.1em;">''Aviso: Esta es una función exportada por Modern-Library!''</span>'''</small> ==Sintaxis== <syntaxhighlight lang="lua">bool dxProgressBarGetProgress(element element)</syntaxhighlight> ===Argumentos requeridos=== * '''element''': la dxProgressBar creada. ==Ejemp...")
- 09:44, 6 October 2024 DxProgressBarSetProgress (hist | edit) [1,049 bytes] BR4 (talk | contribs) (Created page with "__NOTOC__ {{Client Function}} Esta funcion modifica la posición de la barra de progreso actual del elemento dxProgressBar. <small>'''<span style="color:#ff0000; text-shadow:black 0em 0.1em 0.1em;">''Aviso: Esta es una función exportada por Modern-Library!''</span>'''</small> ==Sintaxis== <syntaxhighlight lang="lua">bool dxProgressBarSetProgress(element, progress)</syntaxhighlight> ===Argumentos requeridos=== * '''element''': La dxProgressBar creada. * '''...")
- 09:30, 6 October 2024 DxProgressBar (hist | edit) [1,951 bytes] BR4 (talk | contribs) (Created page with "__NOTOC__ {{Client function}} Esta función crea una barra de progreso útil. <small>'''<span style="color:#ff0000; text-shadow:black 0em 0.1em 0.1em;">''Aviso: Esta es una función exportada por Modern-Library!''</span>'''</small> ==Syntax== <syntaxhighlight lang="lua"> element dxProgressBar( int x, int y, int w, int h, [ element parent = nil , bool roundedProgressBar = false, int colorBackground = tocolor(255, 255, 255, 255), int colorProgress = tocolor(255, 255...")
- 08:35, 6 October 2024 DxLabel (hist | edit) [2,148 bytes] BR4 (talk | contribs) (Created page with "__NOTOC__ {{Client function}} Esta función crea una etiqueta de texto DX. <small>'''<span style="color:#ff0000; text-shadow:black 0em 0.1em 0.1em;">''Aviso: Esta es una función exportada por Modern-Library!''</span>'''</small> ==Syntax== <syntaxhighlight lang="lua"> element dxLabel( int x, int y, int w, int h, string texto, [ element parent = nil , string alignX = 'left', string alignY = 'top', int outline = nil, int colorText = tocolor(255, 255, 255, 255), int...")
- 16:23, 5 October 2024 Dgs3DInterfaceProcessLineOfSight (hist | edit) [1,587 bytes] Thisdp (talk | contribs) (Created page with "{{Client function}} __NOTOC__ This function casts a ray through two points to the dgs 3d interface, and tells you information about the point that was hit, if any. ==Syntax== Return values labelled for ease of reference. <syntaxhighlight lang="lua"> bool -- hit float float float -- hitX, hitY, hitZ float float -- hitInterfaceX, hitInterfaceY dgs3DInterfaceProcessLineOfSight ( dgs-3dinterface interface,...")
- 19:16, 30 September 2024 IsPlayerCrosshairVisible (hist | edit) [712 bytes] FileEX (talk | contribs) (Created page with "__NOTOC__ {{Client function}} {{New feature/item|3.0161|1.6.0|22751|This function checks if the local player has showing crosshair.}} {{Note|This function always returns true for '''spraycan''' and '''fire extinguisher'''.}} ==Syntax== <syntaxhighlight lang="lua">bool isPlayerCrosshairVisible()</syntaxhighlight> ===Returns=== Returns ''true'' if the player has the crosshair visible, ''false'' otherwise. ==Example== <syntaxhighlight lang="lua"> function check() out...")
- 06:01, 29 September 2024 Slipe (hist | edit) [519 bytes] CrosRoad95 (talk | contribs) (Created page with "<big><big>Native C# for MTA</big></big> With Slipe Server you're able to run a Native C# MTA server. Making use of the entire dotnet ecosytem, any NuGet package you want, industry-standard ORMs and logging frameworks, and far more. Slipe Server enables you to make use of the full power of C#. This includes but is not limited to: type safety, inheritance, multithreading and async/await. See more at: https://server.mta-slipe.com/ Get started at: https://github.com/mta...")
- 13:28, 25 September 2024 ResetWorldProperties (hist | edit) [1,802 bytes] FileEX (talk | contribs) (Created page with "__NOTOC__ {{Shared function}} {{New feature/item|3.0161|1.6.0|22741|This function resets all world properties to default.}} ==Syntax== <syntaxhighlight lang="lua">nil resetWorldProperties( [ bool rsetSpecialProperties = true, bool resetWorldProperties = true, bool resetWeatherProperties = true, bool resetLODs = true, bool resetSounds = true, bool resetGlitches = true, bool resetJetpackWeapons = true ] )</syntaxhighlight> ===Optional arguments=== {{OptionalArg}} * '''re...")
- 13:54, 17 September 2024 PL/Anti-cheat guide (hist | edit) [20,832 bytes] FileEX (talk | contribs) (Translation)
- 20:05, 15 September 2024 GetElementBoneQuaternion (hist | edit) [1,886 bytes] Nico834 (talk | contribs) (Add documentation)
- 19:37, 15 September 2024 SetElementBoneQuaternion (hist | edit) [2,906 bytes] Nico834 (talk | contribs) (Add documentation)
- 18:30, 12 September 2024 PL/Element data (hist | edit) [10,941 bytes] FileEX (talk | contribs) (Translation)
- 15:53, 12 September 2024 PL/Settings system (hist | edit) [2,640 bytes] FileEX (talk | contribs) (Translation)
- 14:19, 12 September 2024 PL/Authorized Serial Account Protection (hist | edit) [2,707 bytes] FileEX (talk | contribs) (Translation)
- 21:18, 6 September 2024 ResetVolumetricShadows (hist | edit) [415 bytes] Prox (talk | contribs) (new page 1.6.1)
- 21:08, 6 September 2024 IsVolumetricShadowsEnabled (hist | edit) [576 bytes] Prox (talk | contribs) (Created page with "{{Client function}} __NOTOC__ {{Added feature/item|1.6.1|1.6.0|22716| This function is used to check whether the shadow enabled or not. }} ==Syntax== <syntaxhighlight lang="lua"> bool isVolumetricShadowsEnabled () </syntaxhighlight> ===Returns=== Returns ''true'' if enabled, ''false'' otherwise. ==Example== This example check if volumetric shadows enabled or not. <syntaxhighlight lang="lua"> addCommandHandler('isvolumetricshadows', function() print(isVolumetri...")
- 20:24, 6 September 2024 SetVolumetricShadowsEnabled (hist | edit) [859 bytes] Prox (talk | contribs) (create new page)
- 06:53, 5 September 2024 SetTimerPaused (hist | edit) [992 bytes] Dragon (talk | contribs) (Created page with "{{Server client function}} __NOTOC__ {{New feature/item|3.0161|1.6.0|22701| This function allows you to pause existing running timers and resume existing paused ti...")
- 06:53, 5 September 2024 IsTimerPaused (hist | edit) [1,033 bytes] Dragon (talk | contribs) (Created page with {{Server client function}} __NOTOC__ {{New feature/item|3.0161|1.6.0|22701| This function allows you to check whether a timer is paused. }} ==Syntax== <syntaxhighlight lang="lua"> bool isTimerPa...)
- 12:20, 4 September 2024 IsObjectRespawnable (hist | edit) [846 bytes] FileEX (talk | contribs) (Created page with "__NOTOC__ {{Shared function}} {{New feature/item|3.0161|1.6.0|22708|This function checks if the object has respawn enabled, which can be toggled using toggleObjectRespawn.}} ==Syntax== <syntaxhighlight lang="lua">bool isObjectRespawnable( object theObject )</syntaxhighlight> {{OOP||object:isRespawnable}} ===Required Arguments=== *'''theObject:''' an object element. ===Returns=== Returns true if the object has respawning enabled, false otherwise. ==Examp...")
- 09:59, 29 August 2024 EngineStreamingReleaseModel (hist | edit) [1,108 bytes] TheNormalnij (talk | contribs) (Created page with "__NOTOC__ {{Client function}} {{New feature/item|4|1.6.1|22676|This function sends a unloading request to the game model streamer.}} ==Syntax== <syntaxhighlight lang="lua"> boolean engineStreamingReleaseModel( number modelID [, boolean removeRef = false ] ) </syntaxhighlight> ===Required Arguments=== * '''modelID''': ID of the model you want to unload. ===Optional Arguments=== {{OptionalArg}} * '''removeRef''': decrease references counter. ===Returns=== Returns ''tr...")
- 09:47, 29 August 2024 EngineStreamingRequestModel (hist | edit) [1,569 bytes] TheNormalnij (talk | contribs) (Created page with "__NOTOC__ {{Client function}} {{New feature/item|4|1.6.1|22676|This function sends a loading request to the game model streamer.}} ==Syntax== <syntaxhighlight lang="lua"> boolean engineStreamingRequestModel( number modelID [, boolean addRef = false, boolean isBlocking = false ] ) </syntaxhighlight> ===Required Arguments=== * '''modelID''': ID of the model you want to get flags. ===Optional Arguments=== {{OptionalArg}} * '''addRef''': increase references counter to pr...")
- 09:16, 29 August 2024 EngineStreamingGetModelLoadState (hist | edit) [611 bytes] TheNormalnij (talk | contribs) (Created page with "__NOTOC__ {{Client function}} {{New feature/item|4|1.6.1|22676|This function returns load state of model.}} ==Syntax== <syntaxhighlight lang="lua"> string engineStreamingGetModelLoadState( number modelID ) </syntaxhighlight> ===Required Arguments=== * '''modelID''': ID of the model you want to get flags. ===Returns=== Returns ''string'' with model load state. Possible load states: * unloaded - model is not loaded. * loaded - model is loaded. * requested - model is wa...")
- 19:35, 18 August 2024 EnginePreloadWorldArea (hist | edit) [1,291 bytes] FileEX (talk | contribs) (Created page with "{{Client function}} __NOTOC__ This function allows a specific area to be loaded '''immediately''', which can be useful when teleporting a player. The function is not based on a radius, but a specific zone is loaded. ==Syntax== <syntaxhighlight lang="lua"> bool enginePreloadWorldArea(float x, float y, float z [, string loadingOption = "all" ] ) </syntaxhighlight> ===Required Arguments=== *'''x:''' Position in the X axis. *'''y:''' Position in the Y axis *'''z:''' Pos...")
- 17:11, 18 August 2024 ResetTimeFrozen (hist | edit) [476 bytes] FileEX (talk | contribs) (Created page with "{{Client function}} __NOTOC__ {{Added feature/item|1.6.1|1.6.0|22676| This function unfreezes time frozen using setTimeFrozen. This is equivalent to using setTimeFrozen to false. }} ==Syntax== <syntaxhighlight lang="lua"> bool resetTimeFrozen( ) </syntaxhighlight> ===Returns=== Always returns ''true''. ==Example== This example let you to unfreeze time <syntaxhighlight lang="lua"> resetTimeFrozen() </syntaxhighlight> ==See Also== {{Client world functions}}")
- 17:08, 18 August 2024 IsTimeFrozen (hist | edit) [499 bytes] FileEX (talk | contribs) (Created page with "{{Client function}} __NOTOC__ {{Added feature/item|1.6.1|1.6.0|22676| This function allows you to check whether time has been frozen using setTimeFrozen. }} ==Syntax== <syntaxhighlight lang="lua"> bool setTimeFrozen ( ) </syntaxhighlight> ===Returns=== Returns true if time is frozen, false otherwise. ==Example== <syntaxhighlight lang="lua"> addCommandHandler('freezetime', function() setTimeFrozen(not isTimeFrozen()) end) </syntaxhighlight> ==See Also== {...")
- 20:40, 16 August 2024 SetTimeFrozen (hist | edit) [567 bytes] Prox (talk | contribs) (create page)
- 00:48, 10 August 2024 Client on Steam Deck Manual (hist | edit) [4,821 bytes] Megadreams (talk | contribs) (Created page with "{{Note|This page is a Work In Progress.}} {{Note|Connecting a keyboard and mouse to your Steam Deck is recommended when following this guide.}} ==Prerequisites== * A Steam Deck with the default OS (SteamOS) installed * A copy of GTA San Andreas, either through Steam or copied over into your SteamOS * Multi Theft Auto installer (download latest Win10+ release [https://multitheftauto.com here]) {{Note|The content below is still being worked on.}}")
- 13:49, 31 July 2024 OnClientCoreCommand (hist | edit) [657 bytes] FileEX (talk | contribs) (Created page with "__NOTOC__ {{Client event}} {{New feature/item|3.0161|1.6.0|22649| This event is triggered when a built-in client command is used, check Client Commands.}} ==Parameters== <syntaxhighlight lang="lua"> string command </syntaxhighlight> *'''command:''' The command that was executed. ==Example== This example outputs the name of the command used. <syntaxhighlight lang="lua"> addEventHandler("onClientCoreCommand", localPlayer, function(cmd) outputChatBox("Core command...")
- 11:40, 31 July 2024 GetVehicleEntryPoints (hist | edit) [2,907 bytes] FileEX (talk | contribs) (Created page with "{{Client function}} __NOTOC__ {{New feature/item|3.0161|1.6.0|22649| This function returns a table containing the positions to 4 possible entry points to a vehicle. This function can be used alongside setPedEnterVehicle to make a ped enter a specific seat by first moving the ped to a entry point retrieved through '''getVehicleEntryPoints''' and then using setPedEnterVehicle to make them enter. }} {{Note|This does not directly relate to the amount of doors a ve...")
- 08:57, 31 July 2024 ResetShakeCamera (hist | edit) [595 bytes] Tracer (talk | contribs) (Created page with "{{Client function}} __NOTOC__ {{Added feature/item|1.6.1|1.6.0|22631| This function cancels the chaking effect caused by '''shakeCamera''' }} ==Syntax== <syntaxhighlight lang="lua"> bool resetShakeCamera ( ) </syntaxhighlight> ===Returns=== Always returns ''true''. ==Example== This example allows you to trigger huge camera shake effect near you and then cancels the effect after 5 seconds. <syntaxhighlight lang="lua"> addCommandHandler('doShake', function() sh...")
- 09:48, 29 July 2024 ListAllFiles (hist | edit) [1,691 bytes] Xenius (talk | contribs) (Created page with "{{Useful Function}} __NOTOC__ This function lists all files and subdirectories within a given directory and its subdirectories. ==Syntax== <syntaxhighlight lang="lua">table listAllFiles ( string dirPath )</syntaxhighlight> ===Required Arguments=== * '''dirPath''': The string path of the directory to list files from. ===Returns=== Returns a table containing the paths of all files in the given directory and its subdirectories. ==Code== <syntaxhighlight lang="lua"> func...")
- 17:27, 21 July 2024 ShakeCamera (hist | edit) [1,395 bytes] Srslyyyy (talk | contribs) (Add shakeCamera by Tracer (https://github.com/multitheftauto/mtasa-blue/pull/3585))
- 18:54, 15 July 2024 GetMarkerTargetArrowProperties (hist | edit) [669 bytes] FileEX (talk | contribs) (Created page with "__NOTOC__ {{Server client function}} {{New feature/item|9.0161|1.6.0|22620|function returns the color, transparency and size for a checkpoint marker's target arrow.}} ==Syntax== <syntaxhighlight lang="lua"> int, int, int, int, int getMarkerTargetArrowProperties( marker theMarker ) </syntaxhighlight> ===Required Arguments=== *'''theMarker''': The marker that you wish to retrieve the color and size of. ===Returns=== Returns five ints corresponding to the amount o...")
- 18:45, 15 July 2024 SetMarkerTargetArrowProperties (hist | edit) [1,104 bytes] FileEX (talk | contribs) (Created page with "__NOTOC__ {{Server client function}} This function changes the color and size of the checkpoint marker's target arrow. ==Syntax== <syntaxhighlight lang="lua">bool setMarkerTargetArrowProperties(element marker [, int r = 255, int g = 64, int b = 64, int a = 255, float size = markerSize * 0.625 ] )</syntaxhighlight> ===Required Arguments=== *'''theMarker:''' The marker that you wish to set the color of. *'''r:''' The amount of red in the final color (0 to 255). *'''g:...")
- 13:52, 2 July 2024 Default resources (hist | edit) [6,186 bytes] Fernando187 (talk | contribs) (New)
- 15:46, 30 June 2024 ResetWorldProperty (hist | edit) [673 bytes] Samr46 (talk | contribs) (Add resetWorldProperty)
- 15:46, 30 June 2024 GetWorldProperty (hist | edit) [839 bytes] Samr46 (talk | contribs) (Add getWorldProperty)
- 15:44, 30 June 2024 SetWorldProperty (hist | edit) [1,608 bytes] Samr46 (talk | contribs) (Add setWorldProperty)
- 05:16, 30 June 2024 SetVehicleWheelsRotation (hist | edit) [1,484 bytes] Nurupo (talk | contribs) (Created page with "re")
- 11:18, 29 June 2024 Default resources - Contributing (hist | edit) [328 bytes] Fernando187 (talk | contribs) (New)
- 14:16, 22 June 2024 EngineSetPoolCapacity (hist | edit) [505 bytes] TheNormalnij (talk | contribs) (Created page with "__NOTOC__ {{Client function}} {{New feature/item|4|1.6.0|22471|This function changes the capacity of the provided pool.}} ==Syntax== <syntaxhighlight lang="lua"> boolean engineSetPoolCapacity( string pool, number capacity ) </syntaxhighlight> ===Required Arguments=== * '''pool''': Name of the pool * '''capacity ''': New size ===Returns=== '''true''' if the pool capacity was changed and '''false''' if not. Throws an error if the pool is invalid. {{Engine_pools}} ==S...")
- 14:11, 22 June 2024 EngineGetPoolCapacity (hist | edit) [404 bytes] TheNormalnij (talk | contribs) (Created page with "__NOTOC__ {{Client function}} {{New feature/item|4|1.6.0|22471|This function returns the capacity of the provided pool.}} ==Syntax== <syntaxhighlight lang="lua"> number engineGetPoolCapacity( string pool ) </syntaxhighlight> ===Required Arguments=== * '''pool''': Name of the pool ===Returns=== The capacity of the provided pool as positive number {{Engine_pools}} ==See Also== {{Engine_functions}}")
- 14:08, 22 June 2024 EngineGetPoolUsedCapacity (hist | edit) [418 bytes] TheNormalnij (talk | contribs) (Created page with "__NOTOC__ {{Client function}} {{New feature/item|4|1.6.0|22471|This function returns the used capacity of the provided pool.}} ==Syntax== <syntaxhighlight lang="lua"> number engineGetPoolUsedCapacity( string pool ) </syntaxhighlight> ===Required Arguments=== * '''pool''': Name of the pool ===Returns=== The used capacity of the provided pool as positive number {{Engine_pools}} ==See Also== {{Engine_functions}}")