REQUEST_VEHICLE_RECORDING
Request the vehicle recording defined by the lowercase format string "%s%03d.yvr".
0xC474CF16EDA45DC9RequestVehicleRecording0xAF514CABE74CBF15Signature
void REQUEST_VEHICLE_RECORDING(int recording, const char* script);Parameters
| Name | Type | Description |
|---|---|---|
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
RequestVehicleRecording(recording, script)
-- always works, by hash
Citizen.InvokeNative(0xC474CF16EDA45DC9, recording, script)JavaScript and C#
RequestVehicleRecording(recording, script);
// by hash
Citizen.invokeNative('0xC474CF16EDA45DC9', recording, script);Function.Call((Hash)0xC474CF16EDA45DC9, recording, script);See also
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.