SetSkySaturation

From Onset Developer Wiki
Revision as of 17:51, 29 August 2020 by BlueMountains (talk | contribs)
SetSkySaturation

Type: Function
Context: Client
Introduced: v1.0

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__