# TASK::WAYPOINT_RECORDING_GET_COORD

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

## Signature

```c
BOOL WAYPOINT_RECORDING_GET_COORD(const char* waypointRecording, int point, Vector3* coord);
```

## Parameters

- `waypointRecording` (`const char*`)
- `point` (`int`)
- `coord` (`Vector3*`)

## Returns

`BOOL`

## Usage

### Lua

```lua
local retval, coord = WaypointRecordingGetCoord(waypointRecording, point, coord)

-- always available, by hash
local retval, coord = Citizen.InvokeNative(0x2FB897405C90B361, waypointRecording, point, Citizen.PointerValueVector(), Citizen.ReturnResultAnyway())
```

### JavaScript

```js
const [retval, coord] = WaypointRecordingGetCoord(waypointRecording, point, coord);

// by hash
const [retval, coord] = Citizen.invokeNative('0x2FB897405C90B361', waypointRecording, point, Citizen.pointerValueVector(), Citizen.returnResultAnyway());
```

### C#

```csharp
var coord = new OutputArgument();
bool retval = Function.Call<bool>((Hash)0x2FB897405C90B361, waypointRecording, point, coord);
// coord.GetResult<Vector3>()
```

- The last argument is an in/out pointer: pass its initial value, and the updated value is returned after the result.

*Sources: alloc8or RDR3 NativeDB.*
