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

Function

getSkyGradient

Server and clientWorldIdentical to MTA:SA

Returns the sky colours stored with setSkyGradient.

Syntax

int... getSkyGradient()

Returns

Six components (top RGB, bottom RGB), or false.

Example

local tr, tg, tb, br, bg, bb = getSkyGradient()

See also