RedM Natives

_DISABLE_FAR_ARTIFICIAL_LIGHTS

Only used in guama1 R* Script Disables lod/distant lights when BOOL is set to true

Hash0xCD284E2F6AC27EE9
Runtime nameDisableFarArtificialLights
NamespaceGRAPHICS
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _DISABLE_FAR_ARTIFICIAL_LIGHTS(BOOL disable);

Parameters

NameTypeDescription
disableBOOL—

Returns void

Description

Only used in guama1 R* Script
Disables lod/distant lights when BOOL is set to true

Usage

Lua
DisableFarArtificialLights(disable)

-- always works, by hash
Citizen.InvokeNative(0xCD284E2F6AC27EE9, disable)
JavaScript and C#
JavaScript
DisableFarArtificialLights(disable);

// by hash
Citizen.invokeNative('0xCD284E2F6AC27EE9', disable);
C#
Function.Call((Hash)0xCD284E2F6AC27EE9, disable);
  • The name is a community guess and may change. If the named call is missing in your client build, use InvokeNative with the hash — it always works.

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.