resetSkyGradient | Multi Theft Auto: Wiki Skip to content

resetSkyGradient

Client-side
Server-side
Shared

Manual Review Required

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


This function allows restoring of a changed sky gradient as a result of setSkyGradient.

Syntax

bool resetSkyGradient ( )

Returns

  • bool: value

Returns true if sky color was reset correctly, false otherwise.

Code Examples

shared

This example reset the sky gradient.

addCommandHandler("resetsky",
function()
resetSkyGradient()
end
)

See Also

World Functions