SetSkySaturation: Difference between revisions
From Onset Developer Wiki
No edit summary |
No edit summary |
||
Line 8: | Line 8: | ||
{{FuncParam|saturation|The saturation value in float between 0.0 to 4.0. The lower the more saturated.}} | {{FuncParam|saturation|The saturation value in float between 0.0 to 4.0. The lower the more saturated.}} | ||
{{FuncReturnValue| | {{FuncReturnValue|Returns '''true'''.}} | ||
== Example == | == Example == |
Revision as of 17:51, 29 August 2020
Description
Set the sky saturation for the client.
Syntax
SetSkySaturation(saturation)
Parameters
- saturation
The saturation value in float between 0.0 to 4.0. The lower the more saturated.
Return Value
- Returns true.
Example
AddEvent("OnPlayerSpawn", function()
SetSkySaturation(4.0) -- Set the saturation to as low as possible
end)
See also
__EDIT_ME__