ResetSkyGradient

From Multi Theft Auto: Wiki
Revision as of 11:52, 14 May 2009 by Sebassje (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