ResetSunColor

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

This function is used to reset the color of the sun to its normal color.

Syntax

bool resetSunColor ( )

Returns

Returns true if the color of the sun was reset, false otherwise.

Example

This example lets any player reset the color of the sun like /resetsuncolor

function commandResetSunColor(player, command)
    resetSunColor()
end
addCommandHandler("resetsuncolor", commandResetSunColor)

See Also