isVolumetricShadowsEnabled | Multi Theft Auto: Wiki Skip to content

isVolumetricShadowsEnabled

Client-side
Server-side
Shared

Manual Review Required

Please finish this page using the corresponding Old Wiki article. Go to Contribution guidelines for more information.


This function is used to check whether the shadow enabled or not.

Syntax

bool isVolumetricShadowsEnabled ( )

Returns

  • bool: value

Returns true if enabled, false otherwise.

Code Examples

shared

This example used a command to check if volumetric shadows enabled or not.

addCommandHandler('isvolumetricshadows', function()
print(isVolumetricShadowsEnabled())
end)

See Also

World Functions