GetMoonRadius

From Onset Developer Wiki
GetMoonRadius

Type: Function
Context: Client
Introduced: v1.0

Description

Get the moon radius as a float value.

Syntax

GetMoonRadius()

Parameters

  • This function has no parameters.

Return Value

  • Returns true.

Example

AddEvent("OnPlayerSpawn", function()
    local radius = GetMoonRadius()
    AddPlayerChat("Moon radius: "..radius)
end)

See also