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