- Documentation
- Server functions
- setCoronaReflectionEnabled
Function
setCoronaReflectionEnabled
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.
enabledbooltrue= 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.