SetSunShine

From Onset Developer Wiki
SetSunShine

Type: Function
Context: Client
Introduced: v1.0

Description

Set the specified sun shine for the client.

Syntax

SetSunShine(shine)

Parameters

  • shine
    The sunshine float value between 0.0 to 15.0. Where the 0.0 hides the sun and the 15.0 is the maximum.

Return Value

  • __EDIT_ME__

Example

AddEvent("OnPlayerSpawn", function()
	SetSunShine()
end)

See also