_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 BOOLParameters
| Name | Type | Description |
|---|---|---|
| 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
