ResetSkyGradient

From Multi Theft Auto: Wiki
Jump to navigation Jump to search

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

Syntax

bool resetSkyGradient()

Returns

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

Example

This example reset the sky gradient.

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

See Also