RedM Natives

_DECOR_SET_PLAYER_INDEX

Old name: _DECOR_SET_UINT8

Hash0x4BDC83150D43772D
Runtime nameDecorSetPlayerIndex
NamespaceDECORATOR
SideClient
NameCommunity guess
Docs
Since build1207

Signature

BOOL _DECOR_SET_PLAYER_INDEX(Entity entity, const char* propertyName, int value);

Parameters

NameTypeDescription
entityEntity—
propertyNameconst char*—
valueint—

Returns BOOL

Description

VORPCORE RDR3natives

Old name: _DECOR_SET_UINT8

Usage

Lua
local retval = DecorSetPlayerIndex(entity, propertyName, value)

-- always works, by hash
local retval = Citizen.InvokeNative(0x4BDC83150D43772D, entity, propertyName, value, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = DecorSetPlayerIndex(entity, propertyName, value);

// by hash
const retval = Citizen.invokeNative('0x4BDC83150D43772D', entity, propertyName, value, Citizen.returnResultAnyway());
C#
bool retval = Function.Call<bool>((Hash)0x4BDC83150D43772D, entity, propertyName, value);
  • 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 · VORPCORE RDR3natives

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