GetCoronaReflectionsEnabled: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
mNo 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
* '''1''': corona reflections are enabled (will be visible during rain)
* '''2''': corona reflections are force enabled, even if there is no rain
* '''2''': corona reflections are force enabled (will be visible even if there is no rain)


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

Revision as of 21:54, 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 (will be visible during rain)
  • 2: corona reflections are force enabled (will be visible even if there is no rain)

See Also