New pages

Jump to navigation Jump to search
New pages
Hide bots | Show redirects
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)
  • 00:48, 10 August 2024Client 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 2024OnClientCoreCommand (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 2024GetVehicleEntryPoints (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 2024ResetShakeCamera (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 2024ListAllFiles (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 2024ShakeCamera (hist | edit) ‎[1,395 bytes]Srslyyyy (talk | contribs) (Add shakeCamera by Tracer (https://github.com/multitheftauto/mtasa-blue/pull/3585))
  • 18:54, 15 July 2024GetMarkerTargetArrowProperties (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 2024SetMarkerTargetArrowProperties (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 2024Default resources (hist | edit) ‎[6,186 bytes]Fernando187 (talk | contribs) (New)
  • 15:46, 30 June 2024ResetWorldProperty (hist | edit) ‎[673 bytes]Samr46 (talk | contribs) (Add resetWorldProperty)
  • 15:46, 30 June 2024GetWorldProperty (hist | edit) ‎[839 bytes]Samr46 (talk | contribs) (Add getWorldProperty)
  • 15:44, 30 June 2024SetWorldProperty (hist | edit) ‎[1,608 bytes]Samr46 (talk | contribs) (Add setWorldProperty)
  • 05:16, 30 June 2024SetVehicleWheelsRotation (hist | edit) ‎[1,484 bytes]Nurupo (talk | contribs) (Created page with "re")
  • 11:18, 29 June 2024Default resources - Contributing (hist | edit) ‎[328 bytes]Fernando187 (talk | contribs) (New)
  • 14:16, 22 June 2024EngineSetPoolCapacity (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 2024EngineGetPoolCapacity (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 2024EngineGetPoolUsedCapacity (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}}")
  • 14:08, 22 June 2024EngineGetPoolDefaultCapacity (hist | edit) ‎[427 bytes]TheNormalnij (talk | contribs) (Created page with "__NOTOC__ {{Client function}} {{New feature/item|4|1.6.0|22471|This function returns the default capacity of the provided pool.}} ==Syntax== <syntaxhighlight lang="lua"> number engineGetPoolDefaultCapacity( string pool ) </syntaxhighlight> ===Required Arguments=== * '''pool''': Name of the pool ===Returns=== The default capacity of the provided pool as positive number {{Engine_pools}} ==See Also== {{Engine_functions}}")
  • 18:08, 21 June 2024PL/Filepath (hist | edit) ‎[1,882 bytes]FileEX (talk | contribs) (Translate)
  • 13:55, 11 June 2024FxCreateParticle (hist | edit) ‎[2,195 bytes]FileEX (talk | contribs) (Created page with "__NOTOC__ {{Client function}} Creates the given particles of the specified color. Can be useful for creating flares, toxic fumes, reward effects, etc. ==Syntax== <syntaxhighlight lang="lua"> bool fxCreateParticle(string particle, float posX, float posY, float posZ, float dirX, float dirY, float dirZ, float r, float g, float b, float a [, bool randomizeColors = false, int count = 1, float brightness = 1.0, float size = 0.3, bool randomSizes = false, float life = 1.0 ]) <...")
  • 13:06, 11 June 2024Particles (hist | edit) ‎[2,662 bytes]FileEX (talk | contribs) (Created page with "This page contains a list of particles that can be created by fxCreateParticle <div> <ul> <li style="display:inline-block;">frame|'''Particle:''' blood<br>'''Color:''' 59, 245, 146, 255<br>'''Count:''' 20</li> <li style="display:inline-block;">frame|'''Particle:''' boat_splash<br>'''Color:''' 92, 177, 237, 255<br>'''Count:''' 20</li> <li style="display:inline-block;">File:Prt_bubble.gif|frame|'''Particle:''' bubbl...")
  • 09:44, 9 June 2024GetVehicleIdleRespawnDelay (hist | edit) ‎[1,070 bytes]Tracer (talk | contribs) (Created page with "__NOTOC__ {{Server function}} {{Added feature/item|1.6.1|1.6.0|22505|This function gets the time delay (in milliseconds) the vehicle will remain at its position while empty.}} ==Syntax== <syntaxhighlight lang="lua"> int getVehicleIdleRespawnDelay ( vehicle theVehicle ) </syntaxhighlight> {{OOP||vehicle:getIdleRespawnDelay|idleRespawnDelay|setVehicleIdleRespawnDelay}} ===Required Arguments=== *'''theVehicle''': The vehicle you wish to get the idle delay of. ==...")
  • 09:41, 9 June 2024GetVehicleRespawnDelay (hist | edit) ‎[1,041 bytes]Tracer (talk | contribs) (Created page with "__NOTOC__ {{Server function}} This function gets the time delay (in milliseconds) the vehicle will remain wrecked before respawning. ==Syntax== <syntaxhighlight lang="lua"> int getVehicleRespawnDelay ( vehicle theVehicle ) </syntaxhighlight> {{OOP||vehicle:getRespawnDelay|respawnDelay|setVehicleRespawnDelay}} ===Required Arguments=== *'''theVehicle''': The vehicle you wish to get the respawn delay of. ==Returns== Returns the delay in milliseconds. ==Example=...")
  • 09:33, 9 June 2024IsVehicleRespawnable (hist | edit) ‎[979 bytes]Tracer (talk | contribs) (Created page with "{{Server function}} __NOTOC__ {{Added feature/item|1.6.1|1.6.0|22505|This function check if the vehicle is respawnable.}} ==Syntax== <syntaxhighlight lang="lua"> bool isVehicleRespawnable ( vehicle theVehicle ) </syntaxhighlight> {{OOP||vehicle:isRespawnable}} ===Required Arguments=== *'''theVehicle:''' The vehicle which you'd like to get respawn state of. ===Returns=== Returns three '''true''' if the vehicle is respawnable, '''false''' otherwise. ==Example==...")
  • 01:13, 8 June 2024EngineStreamingRestoreBufferSize (hist | edit) ‎[723 bytes]Nico834 (talk | contribs) (Filling in page data & structure)
  • 08:21, 6 June 2024String.repetition (hist | edit) ‎[943 bytes]Tracer (talk | contribs) (Moved string.repeat to string.repetition due to syntax issues)
  • 18:25, 3 June 2024Tasks Info (hist | edit) ‎[542 bytes]Tracer (talk | contribs) (Information about each ped task)
  • 14:03, 27 May 2024Legacy/dxDrawMaterialPrimitive3D (hist | edit) ‎[6,110 bytes]FileEX (talk | contribs) (Legacy version)
  • 13:33, 27 May 2024Legacy/dxDrawPrimitive3D (hist | edit) ‎[2,174 bytes]FileEX (talk | contribs) (Legacy version)
  • 13:31, 27 May 2024Legacy/dxDrawMaterialSectionLine3D (hist | edit) ‎[3,387 bytes]FileEX (talk | contribs) (Legacy version)
  • 13:27, 27 May 2024Legacy/dxDrawMaterialLine3D (hist | edit) ‎[2,865 bytes]FileEX (talk | contribs) (Legacy version)
  • 12:48, 27 May 2024Legacy/DxDrawLine3D (hist | edit) ‎[2,374 bytes]FileEX (talk | contribs) (Legacy versions) originally created as "DxDrawLine3D legacy"
  • 12:12, 26 May 2024PathIsDirectory (hist | edit) ‎[1,629 bytes]Tracer (talk | contribs) (Created page with "__NOTOC__ {{Shared function}} {{Added feature/item|1.6.1|1.6.0|22470|Checks if a specified path points to a directory.}} ==Syntax== <syntaxhighlight lang="lua"> table pathIsDirectory ( string path ) </syntaxhighlight> {{OOP||path:isDirectory}} ===Required Arguments=== *'''path:''' A string containing a path you want to check against ===Returns=== Returns '''true''' if the path points to a directory, '''false''' otherwise. ==Example==...")
  • 11:32, 26 May 2024PathIsFile (hist | edit) ‎[860 bytes]Tracer (talk | contribs) (Created page with "__NOTOC__ {{Shared function}} {{Added feature/item|1.6.1|1.6.0|22470|Checks if a specified path points to a file.}} ==Syntax== <syntaxhighlight lang="lua"> table pathIsFile ( string path ) </syntaxhighlight> {{OOP||path:isFile}} ===Required Arguments=== *'''path:''' A string containing a path you want to check against ===Returns=== Returns '''true''' if the path points to a file, '''false''' otherwise. ==Example== <section name="Share...")
  • 11:25, 26 May 2024String.startsWith (hist | edit) ‎[842 bytes]Tracer (talk | contribs) (Created page with "{{Useful Function}} __NOTOC__ This function checks if a string starts with other string. ==Syntax== <syntaxhighlight lang="lua"> bool string.startsWith ( string prefix ) </syntaxhighlight> ===Required Arguments=== * '''suffix''': Prefix you want to check your string against ===Returns=== Returns true if string starts with a prefix, false otherwise. ==Code== <section name="Shared script" class="both" show="true"> <syntaxhighlight lang="lua"> function string.startsWith...")
  • 11:20, 26 May 2024PathListDir (hist | edit) ‎[2,237 bytes]Tracer (talk | contribs) (Created page with "__NOTOC__ {{Shared function}} {{Added feature/item|1.6.1|1.6.0|22470| Reads a specified directory and returns all entries inside of it. }} ==Syntax== <syntaxhighlight lang="lua"> table pathListDir ( string path ) </syntaxhighlight> {{OOP||path:listDir}} ===Required Arguments=== *'''path:''' A string containing a path you want to get entries from ===Returns=== Returns table with all entries in a specified directory. ==Example== <section name="Client" clas...")
  • 10:48, 26 May 2024String.endsWith (hist | edit) ‎[871 bytes]Tracer (talk | contribs) (Created page with "{{Useful Function}} __NOTOC__ This function checks if a string ends with other string. ==Syntax== <syntaxhighlight lang="lua"> bool string.endsWith ( string suffix ) </syntaxhighlight> ===Required Arguments=== * '''suffix''': Suffix you want to check your string against ===Returns=== Returns true if string ends with a suffix, false otherwise. ==Code== <section name="Shared script" class="both" show="true"> <syntaxhighlight lang="lua"> function string:endsWith(suffix)...")
  • 10:30, 26 May 2024GetAccountType (hist | edit) ‎[1,243 bytes]Tracer (talk | contribs) (Created page with "__NOTOC__ {{Server function}} {{New feature/item|3.0161|1.6.0|22470|This function returns an account type.}} ==Syntax== <syntaxhighlight lang="lua"> string getAccountType ( account theAccount ) </syntaxhighlight> {{OOP|This function is a static function underneath the Account class.|Account.getType||}} ===Required Arguments=== *'''theAccount:''' An account you want to get info from ===Returns=== Returns ''string'' containing the type of the account if t...")
  • 10:02, 26 May 2024OnAccountRemove (hist | edit) ‎[833 bytes]Tracer (talk | contribs) (Created page with "__NOTOC__ {{Server event}} {{Added feature/item|1.6.1|1.6.0|22470|This event is triggered every time an account is removed}} ==Parameters== <syntaxhighlight lang="lua"> account theAccount </syntaxhighlight> *'''theAccount:''' An account element that was removed ==Source== The source of this event is the root element. ==Canceling== This event cannot be canceled. ==Example== This example prints a messa...")
  • 10:01, 26 May 2024OnAccountCreate (hist | edit) ‎[810 bytes]Tracer (talk | contribs) (Created page with "__NOTOC__ {{Server event}} {{Added feature/item|1.6.1|1.6.0|22470|This event is triggered every time an account is created}} ==Parameters== <syntaxhighlight lang="lua"> account theAccount </syntaxhighlight> *'''theAccount:''' An account element that was created ==Source== The source of this event is the root element. ==Canceling== This event cannot be canceled. ==Example== This example prints a messa...")
  • 15:10, 25 May 2024RestoreAllGameBuildings (hist | edit) ‎[456 bytes]TheNormalnij (talk | contribs) (Created page with "__NOTOC__ {{Client function}} {{New feature/item|3.0161|1.6.0|22420|This function cancels RemoveAllGameBuildings efffect}} {{Note|This function can destroy some scripted buildings if the building pool does not have enough free space for game buildings.}} ==Syntax== <syntaxhighlight lang="lua">nil restoreAllGameBuildings ( )</syntaxhighlight> ===Returns=== Nothing ==See Also== {{Building functions}}")
  • 14:59, 25 May 2024RemoveAllGameBuildings (hist | edit) ‎[439 bytes]TheNormalnij (talk | contribs) (Created page with "__NOTOC__ {{Client function}} {{New feature/item|3.0161|1.6.0|22420|This function is used to remove all world buildings and frees building pool.}} ==Syntax== <syntaxhighlight lang="lua">nil removeAllGameBuildings ( )</syntaxhighlight> ===Returns=== Nothing ==See Also== {{Building functions}}")
  • 20:02, 24 May 2024OnPlayerTriggerInvalidEvent (hist | edit) ‎[3,460 bytes]Srslyyyy (talk | contribs) (Add onPlayerTriggerInvalidEvent by lopsi (https://github.com/multitheftauto/mtasa-blue/pull/3400))
  • 06:10, 24 May 2024OnPlayerTeamChange (hist | edit) ‎[1,281 bytes]Esmail9900 (talk | contribs) (→‎Player events)
  • 18:29, 23 May 2024OnResourceStateChange (hist | edit) ‎[1,361 bytes]Tracer (talk | contribs) (Created page with "{{Server event}} <!-- Change version when https://buildinfo.multitheftauto.com will be updated --> {{Added feature/item|1.6.1|1.6.0|22430| This event is triggered when a resource's state is changed. This event is an extended version of onResourceLoadStateChange }} __NOTOC__ ==Parameters== <syntaxhighlight lang="lua"> resource changedResource, string oldState, string newState </syntaxhighlight> *'''changedResource''': The resource that was either loaded, re...")
  • 15:45, 21 May 2024Ru/OOP (hist | edit) ‎[3,456 bytes]Flox (talk | contribs) (Created page with "Объектно-ориентированное программирование было введено в MTA:SA 1.4 и поставляется со специальными служебными классами, такими как Vector и Matrix. Эта страница содержит общую информацию о функциях OOP и содержит полезные ссылки. == Включение == По умолчанию ООП откл...")
  • 14:19, 15 May 2024RU/MTA:SA Developers: Mobile (hist | edit) ‎[8,678 bytes]Limedev (talk | contribs) (Created page with "{| style="float: right; border-collapse: collapse; width: 270px" |256px |} {{TOClimit|1}} ==Введение== MTA:SA Developers: Mobile — это улучшенная версия приложения [https://forum.multitheftauto.com/topic/128180-mta-compiler-script-editor/ MTA Compiler & Script editor], которая содержит в себе мобильную версию форума, wiki и сообщества MTA:SA, улучшенн...")
  • 14:17, 15 May 2024MTA:SA Developers: Mobile (hist | edit) ‎[5,077 bytes]Limedev (talk | contribs) (Created page with "{| style="float: right; border-collapse: collapse; width: 270px" |256px |} {{TOClimit|1}} ==Введение== MTA:SA Developers: Mobile — это улучшенная версия приложения [https://forum.multitheftauto.com/topic/128180-mta-compiler-script-editor/ MTA Compiler & Script editor], которая содержит в себе мобильную версию форума, wiki и сообщества MTA:SA, улучшенн...")
  • 20:06, 12 May 2024Modules/CMR Protected (hist | edit) ‎[3,105 bytes]Camargo (talk | contribs) (Adding a new page for a new module that protects scripts)
  • 14:30, 5 May 2024Levenshtein (hist | edit) ‎[1,218 bytes]ItsHasaN (talk | contribs) (Created page with "__NOTOC__ {{Useful Function}} This function can be used to calculate the Levenshtein distance between two strings ==Syntax== <syntaxhighlight lang="lua">int levenshtein(string1, string2)</syntaxhighlight> ===Required Arguments=== * '''string1''': first string. * '''string2''': second string. ===Returns=== Returns an integer representing the levenshtein distance between this two strings ==Code== <section name="Function source (Server/Client)" class="both" show="true">...")
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)