ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Server functions
  3. setCoronaReflectionsEnabled

Function

setCoronaReflectionsEnabled

Stores whether lights (street lamps, headlights) should reflect on wet roads (off by default).

Syntax

bool setCoronaReflectionsEnabled(bool enabled)

Arguments

enabledbool
true = reflections on.Different type in MTA:SA: int enabled

Differences from MTA:SA

  • Arguments in a different colour differ from MTA:SA.

In MTA:SA

setCoronaReflectionsEnabled(int enabled)

Returns

true on success.

Example

setCoronaReflectionsEnabled(true)

Notes

State for scripts. Reflections in the game do not change.

See also