_GET_WEAPON_FROM_HORSE_HOLSTER
Returns the weapon hash in the horse/mount's first holster slot, or 0 if empty/invalid.
Hash
0xAFFD0CCF31F469B8Runtime name
GetWeaponFromHorseHolsterNamespaceWEAPON
SideClient
NameCommunity guess
Docs
Since build1207
Also known as
_GET_WEAPON_FROM_MOUNTSignature
Hash _GET_WEAPON_FROM_HORSE_HOLSTER(Ped horse);Parameters
| Name | Type | Description |
|---|---|---|
horse | Ped | — |
Returns Hash
Description
Returns the weapon hash in the horse/mount's first holster slot, or 0 if empty/invalid.
Returns the weapon hash stored in the first holster slot of the specified mount.
returns 0 if no weapon or invalid
Usage
local retval = GetWeaponFromHorseHolster(horse)
-- always works, by hash
local retval = Citizen.InvokeNative(0xAFFD0CCF31F469B8, horse, Citizen.ResultAsInteger())JavaScript and C#
const retval = GetWeaponFromHorseHolster(horse);
// by hash
const retval = Citizen.invokeNative('0xAFFD0CCF31F469B8', horse, Citizen.returnResultAnyway(), Citizen.resultAsInteger());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
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.