GetCloudDensity

From Onset Developer Wiki
Revision as of 09:37, 1 September 2020 by BlueMountains (talk | contribs) (Created page with "{{Info|Function|Client|1.2.1}} {{FuncDescription|Get the sky cloud density for the client.}} {{FuncSyntax|GetCloudDensity()}} {{FuncParameters}} {{FuncNoParam}} {{FuncRetu...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
GetCloudDensity

Type: Function
Context: Client
Introduced: v1.2.1

Description

Get the sky cloud density for the client.

Syntax

GetCloudDensity()

Parameters

  • This function has no parameters.

Return Value

Example

AddEvent("OnPlayerSpawn", function()
    local density = GetCloudDensity()
    AddPlayerChat("Cloud density: "..density)
end)

See also