ResetSkyGradient

From Multi Theft Auto: Wiki
Revision as of 10:20, 7 March 2010 by PoliticalOrel (talk | contribs)
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

Click to collapse [-]
Server and Client

This example reset the sky gradient.

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

See Also