ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Server functions
  3. setVolumetricShadowsEnabled

Function

setVolumetricShadowsEnabled

ServerWorldIdentical to MTA:SA

Stores whether peds and vehicles should have volumetric shadows (off by default).

Syntax

bool setVolumetricShadowsEnabled(bool enabled)

Arguments

enabledbool
true = shadows on.

Returns

true on success.

Example

setVolumetricShadowsEnabled(true)

Notes

State for scripts. Shadows are drawn by Unreal according to the player's graphics settings.

See also