SetSkySaturation: Difference between revisions
From Onset Developer Wiki
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
{{FuncParameters}} | {{FuncParameters}} | ||
{{FuncParam|saturation|The saturation value in float between 0.0 to 4.0.}} | {{FuncParam|saturation|The saturation value in float between 0.0 to 4.0. Default: 1.05}} | ||
{{FuncReturnValue|Returns '''true'''.}} | {{FuncReturnValue|Returns '''true'''.}} |
Revision as of 09:25, 1 September 2020
Description
Set the sky color saturation for the client.
Syntax
SetSkySaturation(saturation)
Parameters
- saturation
The saturation value in float between 0.0 to 4.0. Default: 1.05
Return Value
- Returns true.
Example
AddEvent("OnPlayerSpawn", function()
SetSkySaturation(0.0) -- Set the saturation to as low as possible, basically monochrome.
end)
See also
__EDIT_ME__