GetSunRadius

From Onset Developer Wiki
Revision as of 09:34, 1 September 2020 by BlueMountains (talk | contribs) (Created page with "{{Info|Function|Client|1.2.1}} {{FuncDescription|Get the sun radius for the client.}} {{FuncSyntax|GetSunRadius()}} {{FuncParameters}} {{FuncNoParam}} {{FuncReturnValue|Re...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
GetSunRadius

Type: Function
Context: Client
Introduced: v1.2.1

Description

Get the sun radius for the client.

Syntax

GetSunRadius()

Parameters

  • This function has no parameters.

Return Value

Example

AddEvent("OnPlayerSpawn", function()
    local radius = GetSunRadius()
    AddPlayerChat("Sun radius: "..radius )
end)

See also