setSkyGradient | Multi Theft Auto: Wiki Skip to content

setSkyGradient

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 changes the sky color to a two-color gradient.

Syntax

setSkyGradient ( )

Code Examples

server
function ClientStarted ()
setSkyGradient( 200, 0, 100, 150, 0, 70 )
end
addEventHandler( "onClientResourceStart", resourceRoot, ClientStarted )

See Also

World Functions