GetHeightFogDensity
From Onset Developer Wiki
Description
Get the global fog density multiplier.
Syntax
GetHeightFogDensity()
Parameters
- This function has no parameters.
Return Value
- Returns the fog density, default: 1.0.
Example
AddEvent("OnPlayerSpawn", function()
AddPlayerChat("Fog density: "..tostring(GetHeightFogDensity()))
end)