RedM Natives

_GET_WEAPON_FROM_HORSE_HOLSTER

Returns the weapon hash in the horse/mount's first holster slot, or 0 if empty/invalid.

Hash0xAFFD0CCF31F469B8
Runtime nameGetWeaponFromHorseHolster
NamespaceWEAPON
SideClient
NameCommunity guess
Docs
Since build1207
Also known as_GET_WEAPON_FROM_MOUNT

Signature

Hash _GET_WEAPON_FROM_HORSE_HOLSTER(Ped horse);

Parameters

NameTypeDescription
horsePed—

Returns Hash

Description

alloc8or RDR3 NativeDB

Returns the weapon hash in the horse/mount's first holster slot, or 0 if empty/invalid.

VORPCORE RDR3natives

Returns the weapon hash stored in the first holster slot of the specified mount.
returns 0 if no weapon or invalid

Usage

Lua
local retval = GetWeaponFromHorseHolster(horse)

-- always works, by hash
local retval = Citizen.InvokeNative(0xAFFD0CCF31F469B8, horse, Citizen.ResultAsInteger())
JavaScript and C#
JavaScript
const retval = GetWeaponFromHorseHolster(horse);

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