ResetMoonSize

From Multi Theft Auto: Wiki
Revision as of 00:20, 16 February 2013 by Kenix1 (talk | contribs) (Created page with "__NOTOC__ {{Server client function}} {{New feature/item|4.0132|1.3.1|5063| This function is used to reset the size of the moon to its normal size. }} ==Syntax== <syntaxhighlight lang="lua"> boo...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

ADDED/UPDATED IN VERSION 1.3.1 r5063:

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

Syntax

bool resetMoonSize ( )

Returns

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

Example

This example lets any player reset the size of the moon like /resetmoonsize

function commandResetMoonSize(player, command)
    resetMoonSize()
end
addCommandHandler("resetmoonsize", commandResetMoonSize)

See Also