GetSkySaturation: Difference between revisions

From Onset Developer Wiki
Created page with "{{Info|Function|Client|1.2.2}} {{FuncDescription|Get the sky color saturation for the client.}} {{FuncSyntax|GetSkySaturation()}} {{FuncParameters}} {{FuncNoParam}} {{Func..."
 
No edit summary
Line 1: Line 1:
{{Info|Function|Client|1.2.2}}
{{Info|Function|Client|1.2.1}}


{{FuncDescription|Get the sky color saturation for the client.}}
{{FuncDescription|Get the sky color saturation for the client.}}

Revision as of 09:30, 1 September 2020

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

__EDIT_ME__