The Lab
PED native

_GET_PELT_FROM_HORSE

returns int2 paramsbuild 1207

Returns the pelt stored at slot index on horse.

Signature

C
int _GET_PELT_FROM_HORSE(Ped horse, int index); // 0x0CEEB6F4780B1F2F b1207

Parameters

#NameType
1horsePed
2indexint

Facts

Facts about _GET_PELT_FROM_HORSE
Name
_GET_PELT_FROM_HORSE
Hash
0x0CEEB6F4780B1F2F
Namespace
Returns
int
Game build
1207

Examples

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

Lua
local result = Citizen.InvokeNative(0x0CEEB6F4780B1F2F, -- _GET_PELT_FROM_HORSE
  PlayerPedId(), -- Ped horse
  0, -- int index
  Citizen.ResultAsInteger()
)
print(result)
JavaScript
const result = Citizen.invokeNative("0x0CEEB6F4780B1F2F", // _GET_PELT_FROM_HORSE
  PlayerPedId(), // Ped horse
  0, // int index
  Citizen.resultAsInteger()
);
console.log(result)
C#
int result = Function.Call<int>((Hash)0x0CEEB6F4780B1F2F, // _GET_PELT_FROM_HORSE
  API.PlayerPedId(), // Ped horse
  0 // int index
);
All PED natives

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