ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Shared functions
  3. getSunColor

Function

getSunColor

Server and clientWorldIdentical to MTA:SA

Returns the sun colour stored with setSunColor.

Syntax

int... getSunColor()

Returns

Six components (core RGB, glow RGB), or false.

Example

local r, g, b = getSunColor()

See also