_SET_PLAYER_CAN_PICKUP_HAT
Enables or disables the "Pick Up" prompt for a hat on the ground for the specified player.
Hash
0xACA45DDCEF6071C4Runtime name
SetPlayerCanPickupHatNamespacePLAYER
SideClient
NameCommunity guess
Docs
Since build1207
Signature
void _SET_PLAYER_CAN_PICKUP_HAT(Player player, BOOL enable);Parameters
| Name | Type | Description |
|---|---|---|
player | Player | — |
enable | BOOL | — |
Returns void
Description
Enables or disables the "Pick Up" prompt for a hat on the ground for the specified player. When set to true, the player will see a prompt to pick up the hat if they are near it.
Video: https://imgur.com/gallery/0xaca45ddcef6071c4-dzlnm8Z
Enables or disables the Pick Up prompt for a hat on the ground for the specified player. When set to true, the player will see a prompt to pick up the hat if they are near it.
Usage
SetPlayerCanPickupHat(player, enable)
-- always works, by hash
Citizen.InvokeNative(0xACA45DDCEF6071C4, player, enable)JavaScript and C#
SetPlayerCanPickupHat(player, enable);
// by hash
Citizen.invokeNative('0xACA45DDCEF6071C4', player, enable);Function.Call((Hash)0xACA45DDCEF6071C4, player, enable);- 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.