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
 
(3 intermediate revisions by the same user not shown)
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|This function gets visibility of corona reflections.}}


==Syntax==  
==Syntax==  
Line 11: Line 11:
One of the following integers will be returned:
One of the following integers will be returned:
* '''0''': corona reflections are disabled
* '''0''': corona reflections are disabled
* '''1''': corona reflections are enabled
* '''1''': corona reflections are enabled (are visible during rain)
* '''2''': corona reflections are force enabled, even if there is no rain
* '''2''': corona reflections are force enabled (are visible even if there is no rain)


==See Also==
==See Also==
{{client world functions}}
{{client world functions}}

Latest revision as of 21:55, 7 October 2022

This function 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 (are visible during rain)
  • 2: corona reflections are force enabled (are visible even if there is no rain)

See Also

Shared