The Lab
WEAPON native

_GET_WEAPON_FROM_HORSE_HOLSTER

returns Hash1 parambuild 1207

Returns the weapon hash stored in the horse's holster.

Signature

C
Hash _GET_WEAPON_FROM_HORSE_HOLSTER(Ped horse); // 0xAFFD0CCF31F469B8 b1207

Parameters

#NameType
1horsePed

Facts

Facts about _GET_WEAPON_FROM_HORSE_HOLSTER
Name
_GET_WEAPON_FROM_HORSE_HOLSTER
Hash
0xAFFD0CCF31F469B8
Namespace
Returns
Hash
Game build
1207

Examples

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

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

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