GetMoonRadius

From Onset Developer Wiki
Revision as of 11:25, 1 September 2020 by BlueMountains (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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