SetHeightFogDensity
From Onset Developer Wiki
Description
Set global fog density multiplier.
Syntax
SetHeightFogDensity(density)
Parameters
- density
The fog density multiplier, default: 1.0
Return Value
- Returns true.
Example
AddEvent("OnPlayerSpawn", function()
SetHeightFogDensity(0.0) -- Disable fog
end)