User contributions for Arran Fortuna
Jump to navigation
Jump to search
17 April 2026
- 10:0810:08, 17 April 2026 diff hist 0 SetDynamicPedShadowsEnabled No edit summary current
- 10:0410:04, 17 April 2026 diff hist −62 SetDynamicPedShadowsEnabled No edit summary
- 10:0410:04, 17 April 2026 diff hist −59 IsDynamicPedShadowsEnabled No edit summary current
- 10:0310:03, 17 April 2026 diff hist −63 ResetDynamicPedShadows No edit summary current
- 10:0210:02, 17 April 2026 diff hist +4 SetDynamicPedShadowsEnabled No edit summary
- 09:5509:55, 17 April 2026 diff hist +1,184 N ResetDynamicPedShadows Created page with "__NOTOC__ {{Client function}} This function restores the dynamic ped shadow setting back to the player's original video configuration. If setDynamicPedShadowsEnabled was used to override the setting, calling this function will remove that override and reapply the value defined in the player's settings. This is useful for ensuring that temporary changes made by a resource do not persist after it stops. ==Syntax== <syntaxhighlight lang="lua"> bool resetDynamicPedSha..."
- 09:5409:54, 17 April 2026 diff hist +1,412 N SetDynamicPedShadowsEnabled Created page with "__NOTOC__ {{Client function}} This function allows scripts to override the current dynamic ped shadow setting on the client. When used, it temporarily overrides the player’s video setting for dynamic ped shadows. To restore the original value based on the player's settings, use resetDynamicPedShadows. ==Syntax== <syntaxhighlight lang="lua"> bool setDynamicPedShadowsEnabled ( bool enabled ) </syntaxhighlight> ===Required Arguments=== *'''enabled:''' a boolean val..."
- 09:5309:53, 17 April 2026 diff hist +1,085 N IsDynamicPedShadowsEnabled Created page with "__NOTOC__ {{Client function}} This function checks whether dynamic shadows for peds are currently enabled on the client. The returned value may reflect: * The player's video settings. * Any override applied using setDynamicPedShadowsEnabled. Use resetDynamicPedShadows to restore the setting back to the player’s original video configuration. ==Syntax== <syntaxhighlight lang="lua"> bool isDynamicPedShadowsEnabled ( ) </syntaxhighlight> ===Required Arguments==..."
13 April 2026
- 16:1616:16, 13 April 2026 diff hist +99 EngineStreamingSetProperty No edit summary current
7 March 2026
- 09:3809:38, 7 March 2026 diff hist +935 SetPedLookAt Add example for remote player usage current
7 October 2025
- 19:3019:30, 7 October 2025 diff hist +566 OnElementDataChange Added info about being able to cancel the event. current
13 September 2025
- 15:3315:33, 13 September 2025 diff hist +147 m Server mtaserver.conf →bandwidth_reduction current
10 September 2025
- 08:4308:43, 10 September 2025 diff hist −1 m Server mtaserver.conf No edit summary
9 September 2025
- 19:0719:07, 9 September 2025 diff hist +97 m Server mtaserver.conf Clarify how to use elementdata_whitelisted
25 August 2025
- 08:2208:22, 25 August 2025 diff hist +154 HasObjectPermissionTo Added note about defaultPermission defaulting to false in 1.7
19 August 2025
- 18:1018:10, 19 August 2025 diff hist +154 SetElementData No edit summary
- 14:2914:29, 19 August 2025 diff hist +168 OnPlayerWeaponFire No edit summary current
10 August 2025
- 20:3820:38, 10 August 2025 diff hist +22 m DbQuery →Optional Arguments current
21 July 2025
- 09:2709:27, 21 July 2025 diff hist +1,542 N GetElementResourceName Created page with "__NOTOC__ {{Useful Function}} This function returns the name of the resource that created an element. ==Syntax== <syntaxhighlight lang="lua"> string getElementResourceName ( element theElement ) </syntaxhighlight> ===Required arguments=== * '''theElement''': the element you want to get the resource name of. ==Returns== This function always returns a ''string'' containing the element's creator or a string containing information on how it failed to do so. ==Cod..." current
- 09:2509:25, 21 July 2025 diff hist +155 Template:Useful Functions →Element functions
19 May 2025
- 09:2009:20, 19 May 2025 diff hist −44 m OnClientMinimize No edit summary
- 09:0509:05, 19 May 2025 diff hist +79 m OnClientMinimize No edit summary
- 09:0109:01, 19 May 2025 diff hist +44 m OnClientMinimize No edit summary
26 April 2025
- 08:0308:03, 26 April 2025 diff hist +214 Scripting Tips →Server Performance current
- 07:5907:59, 26 April 2025 diff hist +394 Scripting Tips Re-added something Srslyyyy removed as it is not "misleading information"
30 May 2024
- 16:1616:16, 30 May 2024 diff hist +82 m GetElementsByType Added gui-window
4 January 2024
- 22:2322:23, 4 January 2024 diff hist +74 OnPlayerScreenShot No edit summary
15 November 2023
- 16:5916:59, 15 November 2023 diff hist +74 m Split Added splitMultiple info to split current
- 16:5816:58, 15 November 2023 diff hist +183 m Template:Useful Functions Added splitMultiple
- 16:5516:55, 15 November 2023 diff hist +14 m SplitMultiple No edit summary current
- 16:5516:55, 15 November 2023 diff hist +1,350 N SplitMultiple Created page with "{{Useful Function}} <lowercasetitle></lowercasetitle> __NOTOC__ This function splits a string into a table when the specified character(s) are detected.<br/> ==Syntax== <syntaxhighlight lang="lua">table splitMultiple( string str )</syntaxhighlight> ===Required Arguments=== * '''str''': The string to split. * '''chars''': The characters to detect and split the string at. ===Returns=== Returns a table containing the pieces of the split string. ==Code== <section name="S..."
2 August 2023
- 17:4317:43, 2 August 2023 diff hist +87 m Math.clamp No edit summary
- 17:3017:30, 2 August 2023 diff hist +149 m Scripting Tips →General Lua
27 July 2023
- 18:0018:00, 27 July 2023 diff hist +294 m GetLocalization No edit summary
- 17:5117:51, 27 July 2023 diff hist +42 m GetLocalization No edit summary
3 July 2023
- 12:5112:51, 3 July 2023 diff hist +4 GetLocalization →Example
- 12:5112:51, 3 July 2023 diff hist +303 GetLocalization No edit summary
26 June 2023
- 19:4419:44, 26 June 2023 diff hist +894 GetLocalization No edit summary
- 19:2619:26, 26 June 2023 diff hist +64 GetLocalization No edit summary
31 October 2022
- 17:2217:22, 31 October 2022 diff hist −320 Scripting Tips No edit summary
15 November 2021
- 16:4216:42, 15 November 2021 diff hist +68 m Compiling MTASA Updated again, should be right now, will ask a dev about it.
- 16:0016:00, 15 November 2021 diff hist +122 m Compiling MTASA Added an error solution
- 15:4515:45, 15 November 2021 diff hist +51 m Compiling MTASA Update based on changes to visual studio installer
15 September 2021
- 13:3113:31, 15 September 2021 diff hist +72 m GetPlayerPing Added clarification that VPN usage won't give incorrect ping (tested) current
29 July 2021
- 17:4217:42, 29 July 2021 diff hist +135 UnbindKey Added note about annoying bug that causes an hour lost debugging. current
16 June 2021
- 17:4217:42, 16 June 2021 diff hist +73 m OnClientGUITabSwitched No edit summary current
27 January 2021
- 09:5309:53, 27 January 2021 diff hist +137 CreateColPolygon No edit summary
8 January 2021
- 20:1020:10, 8 January 2021 diff hist +93 PlaySoundFrontEnd No edit summary
20 December 2020
- 19:0519:05, 20 December 2020 diff hist +151 m FileExists No edit summary
21 July 2020
- 20:0820:08, 21 July 2020 diff hist −120 OnClientPlayerVehicleEnter Fixed example