RedM Natives

_SET_LIGHTS_COLOR_FOR_ENTITY

Hash0x6EC2A67962296F49
Runtime nameSetLightsColorForEntity
NamespaceGRAPHICS
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _SET_LIGHTS_COLOR_FOR_ENTITY(Entity entity, int red, int green, int blue);

Parameters

NameTypeDescription
entityEntity—
redint—
greenint—
blueint—

Returns void

Description

alloc8or RDR3 NativeDB

https://gfycat.com/meagerfaireyra

femga rdr3_discoveries · research notes

// 0x6EC2A67962296F49      (by Disquse)
void _SET_ENTITY_LIGHTING_COLOUR(Entity entity, int r, int g, int b);

https://gfycat.com/MeagerFairEyra :rainbow:

Usage

Lua
SetLightsColorForEntity(entity, red, green, blue)

-- always works, by hash
Citizen.InvokeNative(0x6EC2A67962296F49, entity, red, green, blue)
JavaScript and C#
JavaScript
SetLightsColorForEntity(entity, red, green, blue);

// by hash
Citizen.invokeNative('0x6EC2A67962296F49', entity, red, green, blue);
C#
Function.Call((Hash)0x6EC2A67962296F49, entity, red, green, blue);
  • 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 · femga rdr3_discoveries

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