GetCloudDensity

From Onset Developer Wiki
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