_SET_AUTO_PICKUP
Configures automatic pickup behavior for a carriable entity. This native is typically used after TASK_CARRIABLE and enables auto-pickup functionality with configurable parameters such as pickup animation behavior, pickup range, and pickup prompt state
ENTITYBuild 1207
Signature
lua
SetAutoPickup(entity, true, 0.0, 0.0, 0.0, true)
-- returns voidParameters
| Name | Type | Description |
|---|---|---|
| Entity | — | |
| BOOL | — | |
| float | — | |
| float | — | |
| float | — | |
| BOOL | — |
Usage
lua
SetAutoPickup(entity, true, 0.0, 0.0, 0.0, true)Generated from the native name, hash, and parameter list. Add a real example.
Details
- Hash
- Source
- VORPCORE/RDR3natives
Source: VORPCORE/RDR3natives
