ResetSunColor
From Multi Theft Auto: Wiki
This function is used to reset the color of the sun to its normal color.
Syntax
bool resetSunColor ( )
Returns
Returns true if the color of the sun was reset, false otherwise.
Example
This example lets any player reset the color of the sun like /resetsuncolor
function commandResetSunColor(player, command) resetSunColor() end addCommandHandler("resetsuncolor", commandResetSunColor)
See Also
- setInteriorSoundsEnabled
- getInteriorSoundsEnabled
- setRainLevel
- getRainLevel
- resetRainLevel
- setSunSize
- getSunSize
- resetSunSize
- setSunColor
- getSunColor
- resetSunColor
- setWindVelocity
- getWindVelocity
- resetWindVelocity
- setFarClipDistance
- getFarClipDistance
- resetFarClipDistance
- setFogDistance
- getFogDistance
- resetFogDistance
- removeWorldModel
- restoreWorldModel
- restoreAllWorldModels
- setOcclusionsEnabled
- getOcclusionsEnabled