_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.
0xD1A70C1E8D1031FESetPlayerCanPickupAbility_SET_PLAYER_PICKUP_PROMPT_VISIBLESignature
void _SET_PLAYER_CAN_PICKUP_ABILITY(Player player, BOOL isVisible);Parameters
| Name | Type | Description |
|---|---|---|
player | Player | — |
isVisible | BOOL | — |
Returns void
Description
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
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
SetPlayerCanPickupAbility(player, isVisible)
-- always works, by hash
Citizen.InvokeNative(0xD1A70C1E8D1031FE, player, isVisible)JavaScript and C#
SetPlayerCanPickupAbility(player, isVisible);
// by hash
Citizen.invokeNative('0xD1A70C1E8D1031FE', player, isVisible);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
InvokeNativewith the hash — it always works.
Sources
alloc8or RDR3 NativeDB · VORPCORE RDR3natives
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.