RedM Natives

_SET_PLAYER_CAN_PICKUP_ABILITY

Shows or hides all "Pick Up" prompts for the specified player, including the prompt for picking up hats from the ground.

Hash0xD1A70C1E8D1031FE
Runtime nameSetPlayerCanPickupAbility
NamespacePLAYER
SideClient
NameCommunity guess
Docs
Since build1207
Also known as_SET_PLAYER_PICKUP_PROMPT_VISIBLE

Signature

void _SET_PLAYER_CAN_PICKUP_ABILITY(Player player, BOOL isVisible);

Parameters

NameTypeDescription
playerPlayer—
isVisibleBOOL—

Returns void

Description

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

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
SetPlayerCanPickupAbility(player, isVisible)

-- always works, by hash
Citizen.InvokeNative(0xD1A70C1E8D1031FE, player, isVisible)
JavaScript and C#
JavaScript
SetPlayerCanPickupAbility(player, isVisible);

// by hash
Citizen.invokeNative('0xD1A70C1E8D1031FE', player, isVisible);
C#
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

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.