- Documentation
- Server functions
- setCoronaReflectionsEnabled
Function
setCoronaReflectionsEnabled
Stores whether lights (street lamps, headlights) should reflect on wet roads (off by default).
Syntax
bool setCoronaReflectionsEnabled(bool enabled)Arguments
enabledbooltrue= 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.