RedM Natives

_GET_PELT_TEXTURE

Get the pelt TXDs by the animal albedo hash, returns: normal map hash, material hash and albedo hash, this native needs dataview to be passed in, then use it to get the pelt TXDs

Hash0x5744562E973E33CD
Runtime nameGetPeltTexture
NamespaceENTITY
SideClient
NameCommunity guess
Docs
Since build1207

Signature

Any _GET_PELT_TEXTURE(Any p0, Any txdAlbedoDV, Any txdNormalMapDV, Any txdMaterialDV, Any p4);

Parameters

NameTypeDescription
p0Any—
txdAlbedoDVAny—
txdNormalMapDVAny—
txdMaterialDVAny—
p4Any—

Returns Any

Description

VORPCORE RDR3natives

Get the pelt TXDs by the animal albedo hash, returns: normal map hash, material hash and albedo hash, this native needs dataview to be passed in, then use it to get the pelt TXDs

Usage

Lua
local retval = GetPeltTexture(p0, txdAlbedoDV, txdNormalMapDV, txdMaterialDV, p4)

-- always works, by hash
local retval = Citizen.InvokeNative(0x5744562E973E33CD, p0, txdAlbedoDV, txdNormalMapDV, txdMaterialDV, p4, Citizen.ResultAsInteger())
JavaScript and C#
JavaScript
const retval = GetPeltTexture(p0, txdAlbedoDV, txdNormalMapDV, txdMaterialDV, p4);

// by hash
const retval = Citizen.invokeNative('0x5744562E973E33CD', p0, txdAlbedoDV, txdNormalMapDV, txdMaterialDV, p4, Citizen.returnResultAnyway(), Citizen.resultAsInteger());
C#
int retval = Function.Call<int>((Hash)0x5744562E973E33CD, p0, txdAlbedoDV, txdNormalMapDV, txdMaterialDV, p4);
  • 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.