GetCloudDensity: Difference between revisions

From Onset Developer Wiki
Created page with "{{Info|Function|Client|1.2.1}} {{FuncDescription|Get the sky cloud density for the client.}} {{FuncSyntax|GetCloudDensity()}} {{FuncParameters}} {{FuncNoParam}} {{FuncRetu..."
 
(No difference)

Latest revision as of 09:37, 1 September 2020

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