M MY Multiplayer: Wiki
Side
Kind

getSkyColor

Client

Returns the sky gradient setSkyColor set.

int, int, int, int, int, int|false getSkyColor()

Returns

The top's r, g, b components and then the horizon's, from 0 to 255. false if no colour was set and the sky follows the time cycle.

Example

local tr, tg, tb, br, bg, bb = getSkyColor()
if not tr then
    outputDebugString("The sky follows the time cycle.")
end

See also