setMoonSize | Multi Theft Auto: Wiki Skip to content

setMoonSize

Client-side
Server-side
Shared

This page is incomplete! Help wanted!

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


This function sets the moon size. Using this function server-side will overwrite the value that was previously set client-side.

Syntax

setMoonSize ( )

Code Examples

server

This example change moon size to looks more realistic for everyone when the resource is started.

function handleResourceStart( )
setMoonSize( 0 )
end
addEventHandler( "onResourceStart", resourceRoot, handleResourceStart )

See Also

World Functions