{"hash":"0x23BF601A42F329A0","ns":"WEAPON","name":"_CAN_PED_ACCESS_MOUNT_WEAPONS","slug":"_CAN_PED_ACCESS_MOUNT_WEAPONS","official":false,"named":true,"luaName":"CanPedAccessMountWeapons","game":"rdr3","apiset":"client","returnType":"BOOL","params":[{"name":"ped","type":"Ped"}],"summary":"True if the ped can access their *owned* mount/horse inventory for saddle weapon stow/retrieve (used to gate longarm-slot selection in the weapon wheel).","descriptions":[{"source":"alloc8or","format":"text","body":"True if the ped can access their *owned* mount/horse inventory for saddle weapon stow/retrieve (used to gate longarm-slot selection in the weapon wheel).\nNotes: does not require holding a weapon; returns false if too far, wrong/non-owned mount, or the saddle interaction state is not allowed."},{"source":"vorp","format":"text","body":"Returns true if the given ped is in a valid state to stow or retrieve weapons from their *owned* mount.\nThis typically means the ped is either on their horse or close enough to it for saddle weapon interactions.\nNotes:\n- The ped does **not** need to currently hold a weapon. This check simply determines if saddle stowing/retrieval actions are allowed.\n- Commonly used to enable weapon wheel or stow prompts near the player’s own horse.\n- Will return false if the ped is near a non-owned horse or too far from their own."}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or","vorp"],"doc":2,"url":"https://natives.borderlinerp.com/natives/WEAPON/_CAN_PED_ACCESS_MOUNT_WEAPONS","markdownUrl":"https://natives.borderlinerp.com/natives/WEAPON/_CAN_PED_ACCESS_MOUNT_WEAPONS.md","snippets":{"lua":"local retval = CanPedAccessMountWeapons(ped)","luaInvoke":"local retval = Citizen.InvokeNative(0x23BF601A42F329A0, ped, Citizen.ReturnResultAnyway())","js":"const retval = CanPedAccessMountWeapons(ped);","jsInvoke":"const retval = Citizen.invokeNative('0x23BF601A42F329A0', ped, Citizen.returnResultAnyway());","csharp":"bool retval = Function.Call<bool>((Hash)0x23BF601A42F329A0, ped);","notes":["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."]}}