The Lab
OBJECT native

SET_CUSTOM_TEXTURES_ON_OBJECT

returns void4 paramsbuild 1207

Based on its name and signature, here is our best reading:

Applies custom textures from a texture dictionary to the object. The extra parameters are not documented.

Signature

C
void SET_CUSTOM_TEXTURES_ON_OBJECT(Object object, Hash txdHash, Any p2, Any p3); // 0xE124889AE0521FCF b1207

Parameters

#NameType
1objectObject
2txdHashHash
3p2Any
4p3Any

Facts

Facts about SET_CUSTOM_TEXTURES_ON_OBJECT
Name
SET_CUSTOM_TEXTURES_ON_OBJECT
Hash
0xE124889AE0521FCF
Namespace
Returns
void
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
Citizen.InvokeNative(0xE124889AE0521FCF, -- SET_CUSTOM_TEXTURES_ON_OBJECT
  0, -- Object object
  GetHashKey("name"), -- Hash txdHash
  0, -- Any p2
  0 -- Any p3
)
JavaScript
Citizen.invokeNative("0xE124889AE0521FCF", // SET_CUSTOM_TEXTURES_ON_OBJECT
  0, // Object object
  GetHashKey("name"), // Hash txdHash
  0, // Any p2
  0 // Any p3
);
C#
Function.Call((Hash)0xE124889AE0521FCF, // SET_CUSTOM_TEXTURES_ON_OBJECT
  0, // Object object
  (uint)API.GetHashKey("name"), // Hash txdHash
  0, // Any p2
  0 // Any p3
);
All OBJECT natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.