getSkyGradient | Multi Theft Auto: Wiki Skip to content

getSkyGradient

Client-side
Server-side
Shared

This page is incomplete! Help wanted!

Please finish this page using the corresponding Old Wiki article.
Go to Contribution guidelines for more information.


This function will return the current sky color.

Syntax

getSkyGradient ( )

Code Examples

server
function check()
local r1, g1, b1, r2, g2, b2 = getSkyGradient()
outputChatBox("Sky gradient colors are R: "..r1.." G: "..g1.." B: "..b1.." and R: "..r2.." G: "..g2.." B: "..b2)
end
addCommandHandler("skygradient", check)

See Also

World Functions