ResetSkyGradient: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 25: Line 25:
==See Also==
==See Also==
{{World functions}}
{{World functions}}
[[ru:ResetSkyGradient]]

Revision as of 10:20, 7 March 2010

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