GET_PICKUP_COORDS
Returns the coordinates of the pickup.
Signature
Vector3 GET_PICKUP_COORDS(Pickup pickup); // 0x225B8B35C88029B3 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | pickup | Pickup |
Facts
| Name | GET_PICKUP_COORDS |
|---|---|
| Hash | 0x225B8B35C88029B3 |
| Namespace | |
| Returns | Vector3 |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local coords = Citizen.InvokeNative(0x225B8B35C88029B3, -- GET_PICKUP_COORDS
0, -- Pickup pickup
Citizen.ResultAsVector()
)
print(coords.x, coords.y, coords.z)const coords = Citizen.invokeNative("0x225B8B35C88029B3", // GET_PICKUP_COORDS
0, // Pickup pickup
Citizen.resultAsVector()
);
const [x, y, z] = coordsVector3 coords = Function.Call<Vector3>((Hash)0x225B8B35C88029B3, // GET_PICKUP_COORDS
0 // Pickup pickup
);Related OBJECT natives
- GET_SAFE_PICKUP_COORDS
- GET_PICKUP_OBJECT
- GET_OFFSET_FROM_COORD_AND_HEADING_IN_WORLD_COORDS
- GET_WEAPON_TYPE_FROM_PICKUP_TYPE
- _GET_AMMO_TYPE_FROM_PICKUP_TYPE
- GET_CLOSEST_OBJECT_OF_TYPE
- GET_OBJECT_FRAGMENT_DAMAGE_HEALTH
- GET_RAYFIRE_MAP_OBJECT
- GET_RAYFIRE_MAP_OBJECT_ANIM_PHASE
- GET_STATE_OF_RAYFIRE_MAP_OBJECT
- _DOOR_SYSTEM_GET_AUTOMATIC_RATE
- _DOOR_SYSTEM_GET_FORCED_OPEN_PLAYER
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.