ResetSunColor

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

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