_SET_PLAYER_CAN_PICKUP_HAT
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.
PLAYERBuild 1207
Signature
lua
SetPlayerCanPickupHat(PlayerId(), true)
-- returns voidParameters
| Name | Type | Description |
|---|---|---|
| Player | — | |
| BOOL | — |
Usage
lua
SetPlayerCanPickupHat(PlayerId(), true)Generated from the native name, hash, and parameter list. Add a real example.
Details
- Hash
- Source
- VORPCORE/RDR3natives
Source: VORPCORE/RDR3natives
