_DECOR_SET_PLAYER_INDEX
Old name: _DECOR_SET_UINT8
Hash
0x4BDC83150D43772DRuntime name
DecorSetPlayerIndexNamespaceDECORATOR
SideClient
NameCommunity guess
Docs
Since build1207
Signature
BOOL _DECOR_SET_PLAYER_INDEX(Entity entity, const char* propertyName, int value);Parameters
| Name | Type | Description |
|---|---|---|
entity | Entity | — |
propertyName | const char* | — |
value | int | — |
Returns BOOL
Description
Old name: _DECOR_SET_UINT8
Usage
local retval = DecorSetPlayerIndex(entity, propertyName, value)
-- always works, by hash
local retval = Citizen.InvokeNative(0x4BDC83150D43772D, entity, propertyName, value, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = DecorSetPlayerIndex(entity, propertyName, value);
// by hash
const retval = Citizen.invokeNative('0x4BDC83150D43772D', entity, propertyName, value, Citizen.returnResultAnyway());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
InvokeNativewith the hash — it always works.
Sources
alloc8or RDR3 NativeDB · VORPCORE RDR3natives
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.