# PED::GET_DEAD_PED_PICKUP_COORDS

- **Hash:** `0xCD5003B097200F36`
- **Namespace:** PED
- **Runtime name (Lua/JS):** `GetDeadPedPickupCoords`
- **Side:** client (game native)
- **Name status:** official
- **Documentation:** named only
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/PED/GET_DEAD_PED_PICKUP_COORDS

## Signature

```c
Vector3 GET_DEAD_PED_PICKUP_COORDS(Ped ped, float p1, float p2);
```

## Parameters

- `ped` (`Ped`)
- `p1` (`float`)
- `p2` (`float`)

## Returns

`Vector3`

## Usage

### Lua

```lua
local retval = GetDeadPedPickupCoords(ped, p1, p2)

-- always available, by hash
local retval = Citizen.InvokeNative(0xCD5003B097200F36, ped, p1, p2, Citizen.ResultAsVector())
```

### JavaScript

```js
const retval = GetDeadPedPickupCoords(ped, p1, p2);

// by hash
const retval = Citizen.invokeNative('0xCD5003B097200F36', ped, p1 + 0.0000001, p2 + 0.0000001, Citizen.returnResultAnyway(), Citizen.resultAsVector());
```

### C#

```csharp
Vector3 retval = Function.Call<Vector3>((Hash)0xCD5003B097200F36, ped, p1, p2);
```

- Float parameters: Lua integers (`10`, or whole numbers decoded from NUI/JSON) are sent as ints and read as garbage. Write `10.0` or `value + 0.0`. The generated JS wrappers add `0.0000001` to non-zero floats for the same reason.

*Sources: alloc8or RDR3 NativeDB.*
