ResetMoonSize: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(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...")
 
(Remove obsolete Requirements section)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__NOTOC__
__NOTOC__
{{Server client function}}
{{Server client function}}
{{New feature/item|4.0132|1.3.1|5063|
{{New feature/item|3.0132|1.3.1|5063|
This function is used to reset the size of the moon to its normal size.
This function is used to reset the size of the moon to its normal size.
}}
}}
Line 21: Line 21:
addCommandHandler("resetmoonsize", commandResetMoonSize)
addCommandHandler("resetmoonsize", commandResetMoonSize)
</syntaxhighlight>
</syntaxhighlight>
==See Also==
==See Also==
{{World functions}}
{{World functions}}

Latest revision as of 17:11, 7 November 2024

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