GetSkySaturation

From Onset Developer Wiki
Revision as of 11:27, 1 September 2020 by BlueMountains (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
GetSkySaturation

Type: Function
Context: Client
Introduced: v1.2.1

Description

Get the sky color saturation for the client.

Syntax

GetSkySaturation()

Parameters

  • This function has no parameters.

Return Value

Example

AddEvent("OnPlayerSpawn", function()
    local saturation = GetSkySaturation()
    AddPlayerChat("Sky saturation: "..saturation)
end)

See also