The Lab
PED native

GET_DEAD_PED_PICKUP_COORDS

returns Vector33 paramsbuild 1207

Returns the coordinates from which the dead ped can be picked up.

Signature

C
Vector3 GET_DEAD_PED_PICKUP_COORDS(Ped ped, float p1, float p2); // 0xCD5003B097200F36 b1207

Parameters

#NameType
1pedPed
2p1float
3p2float

Facts

Facts about GET_DEAD_PED_PICKUP_COORDS
Name
GET_DEAD_PED_PICKUP_COORDS
Hash
0xCD5003B097200F36
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(0xCD5003B097200F36, -- GET_DEAD_PED_PICKUP_COORDS
  PlayerPedId(), -- Ped ped
  0.0, -- float p1
  0.0, -- float p2
  Citizen.ResultAsVector()
)
print(coords.x, coords.y, coords.z)
JavaScript
// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
const coords = Citizen.invokeNative("0xCD5003B097200F36", // GET_DEAD_PED_PICKUP_COORDS
  PlayerPedId(), // Ped ped
  0.0, // float p1
  0.0, // float p2
  Citizen.resultAsVector()
);
const [x, y, z] = coords
C#
Vector3 coords = Function.Call<Vector3>((Hash)0xCD5003B097200F36, // GET_DEAD_PED_PICKUP_COORDS
  API.PlayerPedId(), // Ped ped
  0.0f, // float p1
  0.0f // float p2
);
All PED natives

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