RedM Natives

_SET_LIGHTS_TYPE_FOR_ENTITY

type must be less than or equal to 20

Hash0xAB72C67163DC4DB4
Runtime nameSetLightsTypeForEntity
NamespaceGRAPHICS
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _SET_LIGHTS_TYPE_FOR_ENTITY(Entity entity, int type);

Parameters

NameTypeDescription
entityEntity—
typeint—

Returns void

Description

type must be less than or equal to 20

Usage

Lua
SetLightsTypeForEntity(entity, type)

-- always works, by hash
Citizen.InvokeNative(0xAB72C67163DC4DB4, entity, type)
JavaScript and C#
JavaScript
SetLightsTypeForEntity(entity, type);

// by hash
Citizen.invokeNative('0xAB72C67163DC4DB4', entity, type);
C#
Function.Call((Hash)0xAB72C67163DC4DB4, entity, type);
  • 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.