The Lab
OBJECT native

GET_PICKUP_COORDS

returns Vector31 parambuild 1207

Returns the coordinates of the pickup.

Signature

C
Vector3 GET_PICKUP_COORDS(Pickup pickup); // 0x225B8B35C88029B3 b1207

Parameters

#NameType
1pickupPickup

Facts

Facts about GET_PICKUP_COORDS
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.

Lua
local coords = Citizen.InvokeNative(0x225B8B35C88029B3, -- GET_PICKUP_COORDS
  0, -- Pickup pickup
  Citizen.ResultAsVector()
)
print(coords.x, coords.y, coords.z)
JavaScript
const coords = Citizen.invokeNative("0x225B8B35C88029B3", // GET_PICKUP_COORDS
  0, // Pickup pickup
  Citizen.resultAsVector()
);
const [x, y, z] = coords
C#
Vector3 coords = Function.Call<Vector3>((Hash)0x225B8B35C88029B3, // GET_PICKUP_COORDS
  0 // Pickup pickup
);
All OBJECT natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.