GetCoronaReflectionsEnabled: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
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 (will be visible during rain)
* '''1''': corona reflections are enabled (are visible during rain)
* '''2''': corona reflections are force enabled (will be visible 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