New pages

Jump to navigation Jump to search
New pages
Hide bots | Hide redirects
(newest | oldest) View (newer 50 | ) (20 | 50 | 100 | 250 | 500)
  • 09:55, 17 April 2026ResetDynamicPedShadows (hist | edit) ‎[1,121 bytes]Arran Fortuna (talk | contribs) (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:54, 17 April 2026SetDynamicPedShadowsEnabled (hist | edit) ‎[1,354 bytes]Arran Fortuna (talk | contribs) (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:53, 17 April 2026IsDynamicPedShadowsEnabled (hist | edit) ‎[1,026 bytes]Arran Fortuna (talk | contribs) (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==...")
(newest | oldest) View (newer 50 | ) (20 | 50 | 100 | 250 | 500)