# VEHICLE::REQUEST_VEHICLE_RECORDING

- **Hash:** `0xC474CF16EDA45DC9`
- **Namespace:** VEHICLE
- **Runtime name (Lua/JS):** `RequestVehicleRecording`
- **Side:** client (game native)
- **Name status:** official
- **Documentation:** described
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/VEHICLE/REQUEST_VEHICLE_RECORDING

## Signature

```c
void REQUEST_VEHICLE_RECORDING(int recording, const char* script);
```

## Parameters

- `recording` (`int`)
- `script` (`const char*`)

## Returns

`void`

## Description

Request the vehicle recording defined by the lowercase format string "%s%03d.yvr". For example, REQUEST_VEHICLE_RECORDING(1, "FBIs1UBER") corresponds to fbis1uber001.yvr.
For all vehicle recording/playback natives, "script" is a common prefix that usually corresponds to the script/mission the recording is used in, "recording" is its int suffix, and "id" corresponds to a unique identifier within the recording streaming module.
(GTA) Note that only 24 recordings (hardcoded in multiple places) can ever active at a given time before clobbering begins.

## Usage

### Lua

```lua
RequestVehicleRecording(recording, script)

-- always available, by hash
Citizen.InvokeNative(0xC474CF16EDA45DC9, recording, script)
```

### JavaScript

```js
RequestVehicleRecording(recording, script);

// by hash
Citizen.invokeNative('0xC474CF16EDA45DC9', recording, script);
```

### C#

```csharp
Function.Call((Hash)0xC474CF16EDA45DC9, recording, script);
```

## See also

- [VEHICLE::REMOVE_VEHICLE_RECORDING](https://natives.borderlinerp.com/natives/VEHICLE/REMOVE_VEHICLE_RECORDING.md)

*Sources: alloc8or RDR3 NativeDB.*
