# PLAYER::_SET_PLAYER_CAN_PICKUP_ABILITY

- **Hash:** `0xD1A70C1E8D1031FE`
- **Namespace:** PLAYER
- **Runtime name (Lua/JS):** `SetPlayerCanPickupAbility`
- **Side:** client (game native)
- **Name status:** community guess (may change)
- **Documentation:** described
- **Since game build:** 1207
- **Other names:** `_SET_PLAYER_PICKUP_PROMPT_VISIBLE`
- **URL:** https://natives.borderlinerp.com/natives/PLAYER/_SET_PLAYER_CAN_PICKUP_ABILITY

## Signature

```c
void _SET_PLAYER_CAN_PICKUP_ABILITY(Player player, BOOL isVisible);
```

## Parameters

- `player` (`Player`)
- `isVisible` (`BOOL`)

## Returns

`void`

## Description

*Source: alloc8or RDR3 NativeDB*

Shows or hides all "Pick Up" prompts for the specified player, including the prompt for picking up hats from the ground. When set to true, the player will see "Pick Up" prompts for all nearby items. If set to false, all "Pick Up" prompts will be hidden.
Video: https://imgur.com/gallery/0xd1a70c1e8d1031fe-ifgUnmV

*Source: VORPCORE RDR3natives*

Shows or hides all Pick Up prompts for the specified player, including the prompt for picking up hats from the ground. When set to true, the player will see Pick Up prompts for all nearby items. If set to false, all Pick Up prompts will be hidden.

## Usage

### Lua

```lua
SetPlayerCanPickupAbility(player, isVisible)

-- always available, by hash
Citizen.InvokeNative(0xD1A70C1E8D1031FE, player, isVisible)
```

### JavaScript

```js
SetPlayerCanPickupAbility(player, isVisible);

// by hash
Citizen.invokeNative('0xD1A70C1E8D1031FE', player, isVisible);
```

### C#

```csharp
Function.Call((Hash)0xD1A70C1E8D1031FE, player, isVisible);
```

- 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.

*Sources: alloc8or RDR3 NativeDB, VORPCORE RDR3natives.*
