GetSkySaturation: Difference between revisions
From Onset Developer Wiki
No edit summary |
No edit summary |
||
Line 19: | Line 19: | ||
{{RelatedFunctions}} | {{RelatedFunctions}} | ||
*[[SetSkySaturation]] |
Latest revision as of 11:27, 1 September 2020
Description
Get the sky color saturation for the client.
Syntax
GetSkySaturation()
Parameters
- This function has no parameters.
Return Value
- Returns the sky saturation that was set with SetSkySaturation.
Example
AddEvent("OnPlayerSpawn", function()
local saturation = GetSkySaturation()
AddPlayerChat("Sky saturation: "..saturation)
end)