GET_DEAD_PED_PICKUP_COORDS
Returns the coordinates from which the dead ped can be picked up.
Signature
Vector3 GET_DEAD_PED_PICKUP_COORDS(Ped ped, float p1, float p2); // 0xCD5003B097200F36 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
| 2 | p1 | float |
| 3 | p2 | float |
Facts
| 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.
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)// 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] = coordsVector3 coords = Function.Call<Vector3>((Hash)0xCD5003B097200F36, // GET_DEAD_PED_PICKUP_COORDS
API.PlayerPedId(), // Ped ped
0.0f, // float p1
0.0f // float p2
);Related PED natives
- GET_PED_BONE_COORDS
- _GET_IS_PED_IN_DISPUTE_WITH_PED
- _GET_PED_WHO_HOGITIED_THIS_PED
- GET_CLOSEST_PED
- GET_CURRENT_TARGET_FOR_PED
- GET_IS_PED_RESPONDING_TO_NEGATIVE_INTERACTION
- GET_IS_PED_RESPONDING_TO_POSITIVE_INTERACTION
- GET_LOOTING_PICKUP_TARGET_ENTITY
- GET_MELEE_TARGET_FOR_PED
- GET_META_PED_ASSET_GUIDS
- GET_META_PED_ASSET_TINT
- GET_NUM_META_PED_OUTFITS
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.