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
Description
Get the sky cloud density for the client.
Syntax
GetCloudDensity()
Parameters
- This function has no parameters.
Return Value
- Returns the cloud density that was set with SetCloudDensity.
Example
AddEvent("OnPlayerSpawn", function()
local density = GetCloudDensity()
AddPlayerChat("Cloud density: "..density)
end)