SetSunRadius

From Onset Developer Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
SetSunRadius

Type: Function
Context: Client
Introduced: v1.0

Description

Set the specified radius of the sun for the client.

Syntax

SetSunRadius(radius)

Parameters

  • radius
    A float value between 0.0 and 10.0, default: 0.5357

Return Value

  • Returns true.

Example

AddEvent("OnPlayerSpawn", function()
	SetSunRadius(0.5357)
end)

See also