_ATTACH_WEAPON_TO_HORSE_HOLSTER
Visually attaches the specified weapon to a horse holster/rack (shows the weapon model on the horse), even when the caller is not near the horse.
0x14FF0C2545527F9BAttachWeaponToHorseHolsterSignature
void _ATTACH_WEAPON_TO_HORSE_HOLSTER(Ped horse, Hash weaponHash, Ped ownerPed);Parameters
| Name | Type | Description |
|---|---|---|
horse | Ped | — |
weaponHash | Hash | — |
ownerPed | Ped | — |
Returns void
Description
Visually attaches the specified weapon to a horse holster/rack (shows the weapon model on the horse), even when the caller is not near the horse.
Typical flow:
1) Move/assign the weapon into the horse inventory context first (commonly via 0xE9BD19F8121ADE3E).
2) Call this native to force the visible attachment on the horse.Notes:
- This is about the *visible* holster/rack state; it is often paired with 0xE9BD19F8121ADE3E because that makes the weapon available in inventory terms, while this makes it appear on the horse.
- Validate horse and ownerPed exist and are alive/valid before calling.
Related:
- 0xE9BD19F8121ADE3E (commonly used before this)
- 0xD4C6E24D955FF061 (_DELETE_WEAPON_OBJECTS_ON_HORSE)
Puts the gun visibly in your horse's holster without having to be close to the horse. Use 0xE9BD19F8121ADE3E before using this native
Notes:
- Must call _SEND_WEAPON_TO_INVENTORY (0xE9BD19F8121ADE3E) beforehand to move the weapon into the horse inventory. That native makes it accessible from the weapon wheel but not visible; this native makes it visible on the horse.
- Works at a distance; proximity to the horse is not required.
Usage
AttachWeaponToHorseHolster(horse, weaponHash, ownerPed)
-- always works, by hash
Citizen.InvokeNative(0x14FF0C2545527F9B, horse, weaponHash, ownerPed)JavaScript and C#
AttachWeaponToHorseHolster(horse, weaponHash, ownerPed);
// by hash
Citizen.invokeNative('0x14FF0C2545527F9B', horse, weaponHash, ownerPed);Function.Call((Hash)0x14FF0C2545527F9B, horse, weaponHash, ownerPed);- Hash parameters: the named function also accepts a string and hashes it for you;
Citizen.InvokeNativeneeds the number — passjoaat("name")or a backtick literal like`name`. - 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.