GetSunRadius

From Onset Developer Wiki
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