RedM Index logoRedM Index
NativesHashesClothesBlipsPropsItem Tool
Sign inGet started

Reference

  • Natives
  • Hashes
  • Clothes
  • Blips
  • Props

Namespace

  1. Reference
  2. Natives
  3. _CAN_PED_ACCESS_MOUNT_WEAPONS

_CAN_PED_ACCESS_MOUNT_WEAPONS

Returns true if the given ped is in a valid state to stow or retrieve weapons from their *owned* mount. This typically means the ped is either on their horse or close enough to it for saddle weapon interactions. Notes: - The ped does **not** need to currently hold a weapon. This check simply determines if saddle stowing/retrieval actions are allowed. - Commonly used to enable weapon wheel or stow prompts near the player’s own horse. - Will return false if the ped is near a non-owned horse or too far from their own.

WEAPONBuild 1207

Signature

lua
CanPedAccessMountWeapons(PlayerPedId())
-- returns BOOL

Parameters

NameTypeDescription
Ped—

Usage

lua
CanPedAccessMountWeapons(PlayerPedId())

Generated from the native name, hash, and parameter list. Add a real example.

Details

Hash
Source
VORPCORE/RDR3natives

Source: VORPCORE/RDR3natives

On this page

  • Signature
  • Parameters
  • Usage
  • Details