resetSunColor | Multi Theft Auto: Wiki Skip to content

resetSunColor

Client-side
Server-side
Shared

This page is incomplete! Help wanted!

Please finish this page using the corresponding Old Wiki article.
Go to Contribution guidelines for more information.


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

Syntax

resetSunColor ( )

Code Examples

server

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

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

See Also

World Functions