RedM Natives

_SET_LIGHT_SCATTERING_DISABLED_FOR_OBJECT

Hash0x04D1D4E411CE52D0
Runtime nameSetLightScatteringDisabledForObject
NamespaceOBJECT
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _SET_LIGHT_SCATTERING_DISABLED_FOR_OBJECT(Object object, BOOL disable);

Parameters

NameTypeDescription
objectObject—
disableBOOL—

Returns void

Usage

Lua
SetLightScatteringDisabledForObject(object, disable)

-- always works, by hash
Citizen.InvokeNative(0x04D1D4E411CE52D0, object, disable)
JavaScript and C#
JavaScript
SetLightScatteringDisabledForObject(object, disable);

// by hash
Citizen.invokeNative('0x04D1D4E411CE52D0', object, disable);
C#
Function.Call((Hash)0x04D1D4E411CE52D0, object, 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.