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

Function

setCoronaReflectionEnabled

ServerMarkersIdentical to MTA:SA

Stores whether a corona (glowing marker) should reflect in water and on wet roads.

Syntax

bool setCoronaReflectionEnabled(marker theMarker, bool enabled)

Arguments

theMarkermarker
A corona marker.
enabledbool
true = reflection on.

Returns

true on success.

Example

local glow = createMarker(0, 0, 5, "corona", 2, 255, 0, 0)
setCoronaReflectionEnabled(glow, true)

Notes

State for scripts. The game does not draw script corona reflections yet.

See also