ResetSunSize

From Multi Theft Auto: Wiki
Revision as of 19:05, 14 March 2011 by Arran Fortuna (talk | contribs) (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===...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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