SetSkyLightIntensity

From Onset Developer Wiki
SetSkyLightIntensity

Type: Function
Context: Client
Introduced: v1.0

Description

Set the sky light intensity for the client.

Syntax

SetSkyLightIntensity(intensity)

Parameters

  • intensity
    The intensity value between 0.0 to 4.0.

Return Value

  • __EDIT_ME__

Example

AddEvent("OnPlayerSpawn", function()
	SetSkyLightIntensity(4.0) -- Set the sky light intensity value to the brightest
end)

See also