# TASK::_TASK_BOARD_VEHICLE_2

- **Hash:** `0xE41A09C8DDFF7AA4`
- **Namespace:** TASK
- **Runtime name (Lua/JS):** `TaskBoardVehicle_2`
- **Side:** client (game native)
- **Name status:** community guess (may change)
- **Documentation:** named only
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/TASK/_TASK_BOARD_VEHICLE_2

## Signature

```c
void _TASK_BOARD_VEHICLE_2(Ped ped, Any p1, int p2, float speed, int boardingFlags);
```

## Parameters

- `ped` (`Ped`)
- `p1` (`Any`)
- `p2` (`int`)
- `speed` (`float`)
- `boardingFlags` (`int`)

## Returns

`void`

## Usage

### Lua

```lua
TaskBoardVehicle_2(ped, p1, p2, speed, boardingFlags)

-- always available, by hash
Citizen.InvokeNative(0xE41A09C8DDFF7AA4, ped, p1, p2, speed, boardingFlags)
```

### JavaScript

```js
TaskBoardVehicle_2(ped, p1, p2, speed, boardingFlags);

// by hash
Citizen.invokeNative('0xE41A09C8DDFF7AA4', ped, p1, p2, speed + 0.0000001, boardingFlags);
```

### C#

```csharp
Function.Call((Hash)0xE41A09C8DDFF7AA4, ped, p1, p2, speed, boardingFlags);
```

- 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.
- The name is a community guess and may change. If the named call is missing in your client build, use `InvokeNative` with the hash — it always works.

*Sources: alloc8or RDR3 NativeDB.*
