resetMoonSize | Multi Theft Auto: Wiki Skip to content

resetMoonSize

Client-side
Server-side
Shared

Manual Review Required

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


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

Syntax

bool resetMoonSize ( )

Returns

  • bool: value

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

Code Examples

shared

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

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

See Also

World Functions