GetSunRadius: Difference between revisions

From Onset Developer Wiki
(Created page with "{{Info|Function|Client|1.2.1}} {{FuncDescription|Get the sun radius for the client.}} {{FuncSyntax|GetSunRadius()}} {{FuncParameters}} {{FuncNoParam}} {{FuncReturnValue|Re...")
 
(No difference)

Latest revision as of 09:34, 1 September 2020

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