GetCoronaReflectionsEnabled: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Created page with "{{Client function}} __NOTOC__ {{New feature/item|1.5.9|1.5.8|21251|Gets visibility of corona reflections.}} ==Syntax== <syntaxhighlight lang="lua"> int getCoronaReflectionsEnabled ( ) </syntaxhighlight> ===Returns=== One of the following integers will be returned: * '''0''': corona reflections are disabled * '''1''': corona reflections are enabled * '''2''': corona reflections are force enabled, even if there is no rain ==See Also== {{client world functions}}")
 
No edit summary
Line 1: Line 1:
{{Client function}}
{{Client function}}
__NOTOC__
__NOTOC__
{{New feature/item|1.5.9|1.5.8|21251|Gets visibility of corona reflections.}}
{{Added feature/item|1.5.9|1.5.8|21251|Gets visibility of corona reflections.}}


==Syntax==  
==Syntax==  

Revision as of 11:02, 25 September 2022

Gets visibility of corona reflections.

Syntax

int getCoronaReflectionsEnabled ( )

Returns

One of the following integers will be returned:

  • 0: corona reflections are disabled
  • 1: corona reflections are enabled
  • 2: corona reflections are force enabled, even if there is no rain

See Also