RedM Natives

_GET_CARRIED_PELT_SKINS

Hash0x6F43C351A5D51E2F
Runtime nameGetCarriedPeltSkins
NamespacePED
SideClient
NameCommunity guess
Docs
Since build1207

Signature

int _GET_CARRIED_PELT_SKINS(Ped mount, Any* outData);

Parameters

NameTypeDescription
mountPed—
outDataAny*—

Returns int

Description

https://github.com/nativewrappers/nativewrappers/blob/main/src/redm/entities/HorsePeltEntries.ts
https://pastebin.com/D58XgYBm

Usage

Lua
local retval, outData = GetCarriedPeltSkins(mount, outData)

-- always works, by hash
local retval, outData = Citizen.InvokeNative(0x6F43C351A5D51E2F, mount, Citizen.PointerValueIntInitialized(outData), Citizen.ResultAsInteger())
JavaScript and C#
JavaScript
const [retval, outData] = GetCarriedPeltSkins(mount, outData);

// by hash
const [retval, outData] = Citizen.invokeNative('0x6F43C351A5D51E2F', mount, Citizen.pointerValueIntInitialized(outData), Citizen.returnResultAnyway(), Citizen.resultAsInteger());
C#
var outData = new OutputArgument();
int retval = Function.Call<int>((Hash)0x6F43C351A5D51E2F, mount, outData);
// outData.GetResult<int>()
  • The last argument is an in/out pointer: pass its initial value, and the updated value is returned after the result.
  • Any* arguments are often structs. Build them with a DataView buffer and pass it with :Buffer() — see the examples and notes below.
  • 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

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