_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
Hash
0x5744562E973E33CDRuntime name
GetPeltTextureNamespaceENTITY
SideClient
NameCommunity guess
Docs
Since build1207
Signature
Any _GET_PELT_TEXTURE(Any p0, Any txdAlbedoDV, Any txdNormalMapDV, Any txdMaterialDV, Any p4);Parameters
| Name | Type | Description |
|---|---|---|
p0 | Any | — |
txdAlbedoDV | Any | — |
txdNormalMapDV | Any | — |
txdMaterialDV | Any | — |
p4 | Any | — |
Returns Any
Description
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
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#
const retval = GetPeltTexture(p0, txdAlbedoDV, txdNormalMapDV, txdMaterialDV, p4);
// by hash
const retval = Citizen.invokeNative('0x5744562E973E33CD', p0, txdAlbedoDV, txdNormalMapDV, txdMaterialDV, p4, Citizen.returnResultAnyway(), Citizen.resultAsInteger());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
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.