New pages
Jump to navigation
Jump to search
- 01:13, 8 June 2024 EngineStreamingRestoreBufferSize (hist | edit) [670 bytes] Nico834 (talk | contribs) (Filling in page data & structure)
- 08:21, 6 June 2024 String.repetition (hist | edit) [943 bytes] Tracer (talk | contribs) (Moved string.repeat to string.repetition due to syntax issues)
- 18:25, 3 June 2024 Tasks Info (hist | edit) [542 bytes] Tracer (talk | contribs) (Information about each ped task)
- 14:03, 27 May 2024 Legacy/dxDrawMaterialPrimitive3D (hist | edit) [6,056 bytes] FileEX (talk | contribs) (Legacy version)
- 13:33, 27 May 2024 Legacy/dxDrawPrimitive3D (hist | edit) [2,120 bytes] FileEX (talk | contribs) (Legacy version)
- 13:31, 27 May 2024 Legacy/dxDrawMaterialSectionLine3D (hist | edit) [3,332 bytes] FileEX (talk | contribs) (Legacy version)
- 13:27, 27 May 2024 Legacy/dxDrawMaterialLine3D (hist | edit) [2,811 bytes] FileEX (talk | contribs) (Legacy version)
- 12:48, 27 May 2024 Legacy/DxDrawLine3D (hist | edit) [2,374 bytes] FileEX (talk | contribs) (Legacy versions) originally created as "DxDrawLine3D legacy"
- 12:12, 26 May 2024 PathIsDirectory (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 2024 PathIsFile (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 2024 String.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 2024 PathListDir (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 2024 String.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 2024 GetAccountType (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 2024 OnAccountRemove (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 2024 OnAccountCreate (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 2024 RestoreAllGameBuildings (hist | edit) [553 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 2024 RemoveAllGameBuildings (hist | edit) [535 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 2024 OnPlayerTriggerInvalidEvent (hist | edit) [3,460 bytes] Srslyyyy (talk | contribs) (Add onPlayerTriggerInvalidEvent by lopsi (https://github.com/multitheftauto/mtasa-blue/pull/3400))
- 06:10, 24 May 2024 OnPlayerTeamChange (hist | edit) [1,281 bytes] Esmail9900 (talk | contribs) (→Player events)
- 18:29, 23 May 2024 OnResourceStateChange (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 2024 Ru/OOP (hist | edit) [3,456 bytes] Flox (talk | contribs) (Created page with "Объектно-ориентированное программирование было введено в MTA:SA 1.4 и поставляется со специальными служебными классами, такими как Vector и Matrix. Эта страница содержит общую информацию о функциях OOP и содержит полезные ссылки. == Включение == По умолчанию ООП откл...")
- 14:19, 15 May 2024 RU/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 2024 MTA: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 2024 Modules/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 2024 Levenshtein (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">...")
- 07:45, 5 May 2024 DgsCreateQuad (hist | edit) [1,842 bytes] Thisdp (talk | contribs) (Created page with "__NOTOC__ {{Client function}} <span style="color:#FF0000;text-shadow:black 0.1em 0.1em 0.6em;">>>>Warning: This feature requires pixel shader model 2_a<<<</span> This function creates a quadrilateral shader that can be used for dgs elements. ==Syntax== <syntaxhighlight lang="lua"> element dgsCreateQuad( table corners [, int color = 0xFFFFFFFF, texture background = nil, bool colorOverwritten = true ] ) </syntaxhighlight> Image:DGS_Rounded_Rectangle.png|300px|thumb...")
- 16:44, 21 April 2024 Element/Building (hist | edit) [355 bytes] TheNormalnij (talk | contribs) (Created page with "__NOTOC__ The building class represents static, 3-D models in the GTA world. Examples of buildings include building models, roads, and terrain. Buildings, unlike objects, can contain '''glass''' and '''shadows'''. The element type of this class is '''"building"'''. ==Related scripting functions== {{Building functions}} Category:Element Types en:Element/Building")
- 12:10, 19 April 2024 PL/Sync interval settings (hist | edit) [2,828 bytes] FileEX (talk | contribs) (Translated to PL)
- 11:38, 19 April 2024 PL/Resource:scoreboard (hist | edit) [11,443 bytes] FileEX (talk | contribs) (Translated to PL)
- 13:01, 16 April 2024 PL/Resource:OldScoreboard (hist | edit) [2,096 bytes] FileEX (talk | contribs) (PL)
- 15:46, 14 April 2024 GregorianToJalali (hist | edit) [2,310 bytes] ItsHasaN (talk | contribs) (Created page with "{{Useful Function}} __NOTOC__ This function converts Gregorian date to Jalali (Shamsi) date ==Syntax== <syntaxhighlight lang="lua">table gregorianToJalali(year, month, day)</syntaxhighlight> ===Required Arguments=== * '''year''': year. * '''month''': month. * '''day''': day. ===Returns=== Returns a table of substrings with different time format. {| border="2" cellpadding="2" cellspacing="0" style="margin: 1em 1em 1em 0; background: #f9f9f9; border: 1px #aaa solid; bor...")
- 12:20, 12 April 2024 PL/Resource:Helpmanager (hist | edit) [2,940 bytes] FileEX (talk | contribs) (Translated to PL)
- 13:47, 8 April 2024 CreateBuilding (hist | edit) [2,191 bytes] Fernando187 (talk | contribs) (Created page with "{{Client functions that need documenting}} __NOTOC__")
- 16:41, 6 April 2024 Collision surface sounds (hist | edit) [3,609 bytes] FileEX (talk | contribs) (Created page with "This page contains all the sounds that can be set for the surface in [https://www.gtagarage.com/mods/show.php?id=1154 Steve M's Colision Editor] {| class="wikitable" |- ! Categories !! Sound !! Surface Types |- | Default, Concrete, Gravel, Dirt, Sand, Stone, Misc | File:surface_default.mp3 | Default, Tarmac, Tarmac (fucked), Tarmac (really fucked), Pavement, Pavement (fucked), Concrete (fucked), Painted Ground, P Concrete, P Poolside, P Concrete (litter), P Alley R...")
- 10:30, 5 April 2024 IsPlayerAccount (hist | edit) [1,068 bytes] Tracer (talk | contribs) (Created page with "{{Useful Function}} __NOTOC__ This function checks if the account is valid player account (the account exists and is not a guest account) == Syntax == <syntaxhighlight lang="lua"> bool isPlayerAccount ( account theAccount )</syntaxhighlight> === Required Arguments === * '''theAccount''': The account you want to check === Returns === Returns true if the account is valid, false otherwise == Code == <section name="Server" class="server" show="true"> <syntaxhighlight lan...")
- 16:04, 29 March 2024 PL/mtaserver.conf (hist | edit) [29,340 bytes] FileEX (talk | contribs) (Tłumaczenie)
- 15:04, 28 March 2024 PL/Server Commands (hist | edit) [6,988 bytes] FileEX (talk | contribs) (Tłumaczenie)
- 19:03, 27 March 2024 PL/Command fakelag (hist | edit) [1,683 bytes] FileEX (talk | contribs) (Tłumaczenie)
- 18:41, 27 March 2024 PL/Client Commands (hist | edit) [5,378 bytes] FileEX (talk | contribs) (Tłumaczenie)
- 17:37, 25 March 2024 PL/Roller Coaster Generator (hist | edit) [4,375 bytes] FileEX (talk | contribs) (Tłumaczenie) originally created as "PLRoller Coaster Generator"
- 12:01, 25 March 2024 PL/Resource:Editor/Plugins (hist | edit) [3,423 bytes] FileEX (talk | contribs) (Tłumaczenie)
- 14:32, 23 March 2024 GTA Crash Codes (hist | edit) [12,414 bytes] Tracer (talk | contribs) (Created page with "== Code: 0xC0000005 == {| class="wikitable" |- ! Offset !! Function |- | {{CrashCodeEntry|0x0013388E|CEntity::CreateEffects()}} |- | {{CrashCodeEntry|0x0000F64C|CCollisionData::GetShadTrianglePoint(CVector&, int)}} |- | {{CrashCodeEntry|0x000F0EBA|CAEStaticChannel::SetAudioBuffer(OALBuffer*, ushort, short, short, ushort)}} |- | {{CrashCodeEntry|0x003C91CC|__rpD3D9SkinGeometryReinstance}} |- | {{CrashCodeEntry|0x002FE144|CCustomRoadsignMgr::Initialise()}} |- | {{CrashCo...")
- 18:25, 13 March 2024 FixPersianString (hist | edit) [2,647 bytes] RubyCommunity (talk | contribs) (Created page with "{{Useful Function}} <lowercasetitle></lowercasetitle> __NOTOC__ This function returns a fixed sorted bilingual RTL for strings consisting of Persian/Arabic and English. just copy & paste and see the magic ;D ==Syntax== <syntaxhighlight lang="lua">str fixPersianString ( string text )</syntaxhighlight> ===Required Arguments=== * '''text''': The bilingual string. ===Returns=== Returns a fixed string . ==Code== {{RequiredFunctions|Check}} <section name="Server/Client si...")
- 10:48, 10 March 2024 DgsEditAutoCompleteAddParameterFunction (hist | edit) [974 bytes] Thisdp (talk | contribs) (Created page with "__NOTOC__ {{Client function}} This function adds the advanced usage of dgs edit auto complete, which can be used as dynamic auto complete. ==Syntax== <syntaxhighlight lang="lua"> element dgsEditAutoCompleteAddParameterFunction( string parameterType, string functionCode ) </syntaxhighlight> ===Required Arguments=== *'''parameterType:''' A string of the parameter type you want to attach. *'''functionCode :''' A string of the function that you want to execute. ===Ret...")
- 16:17, 21 February 2024 GetBanBySerial (hist | edit) [1,359 bytes] AirNewSCR (talk | contribs) (Created page with "{{Useful_Function}} <lowercasetitle/> __NOTOC__ This function returns the ban if the serial is banned, otherwise false. ==Syntax== <syntaxhighlight lang="lua">ban getBanBySerial ( string serial )</syntaxhighlight> ===Required Arguments=== * '''serial''': The banned player serial. ==Code== <section name="Server" class="server" show="true"> <syntaxhighlight lang="lua"> function getBanBySerial(serial) local result = false if serial then for _, ban in ipai...")
- 11:33, 11 January 2024 Explosion types (hist | edit) [2,956 bytes] Srslyyyy (talk | contribs) (Add explosion types with specific details, much thanks for Zango to research.)
- 01:09, 5 January 2024 EngineStreamingSetModelCacheLimits (hist | edit) [1,252 bytes] Nurupo (talk | contribs) (Created page with "To do")
- 16:38, 21 December 2023 Commands (hist | edit) [105 bytes] Fernando187 (talk | contribs) (Created page with "View the list of built in MTA commands: Client Commands Server Commands Category: Support")
- 11:19, 21 December 2023 SetVehicleRotorSpeed (hist | edit) [1,547 bytes] Nurupo (talk | contribs) (Created page with "__NOTOC__ {{Client function}} Sets the rotor speed of a helicopter or plane. This function now applies to both helicopters and planes. {{Note|Setting higher values will cause problems to the client}} ==Syntax== <syntaxhighlight lang="lua"> bool setVehicleRotorSpeed ( vehicle theVehicle, float speed ) </syntaxhighlight> {{OOP||vehicle:setVehicleRotorSpeed|vehicleRotorSpeed|getVehicleRotorSpeed}} ===Required Arguments=== *'''theVehicle:''' the vehicle (helicopter or...")