ResetSunSize: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Created page with "__NOTOC__ {{Server client function}} This function is used to reset the size of the sun to its normal size. ==Syntax== <syntaxhighlight lang="lua"> bool resetSunSize ( ) </syntaxhighlight> ===Returns===...")
 
(No difference)

Latest revision as of 19:05, 14 March 2011

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

Syntax

bool resetSunSize ( )

Returns

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

Example

This example lets any player reset the size of the sun like /resetsunsize

function commandResetSunSize(player, command)
    resetSunSize()
end
addCommandHandler("resetsunsize", commandResetSunSize)

See Also

Shared