ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Server functions
  3. setMoonSize

Function

setMoonSize

ServerMiscellaneousIdentical to MTA:SA

Sets the moon size 0-100. The value is stored for compatibility with existing scripts (getMoonSize) but does not change the in-game sky yet.

Syntax

bool setMoonSize(int size)

Arguments

sizeint
Size 0-100.

Returns

true on success.

Example

setMoonSize(10)

See also