ResetMoonSize

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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)

Requirements

Minimum server version 1.3.1-9.05063
Minimum client version 1.3.1-9.05063

Note: Using this feature requires the resource to have the above minimum version declared in the meta.xml <min_mta_version> section. e.g. <min_mta_version server="1.3.1-9.05063" client="1.3.1-9.05063" />

See Also