RedM Natives

SKIP_TIME_IN_PLAYBACK_RECORDED_VEHICLE

SET_TIME_POSITION_IN_RECORDING can be emulated by: desired_time - GET_TIME_POSITION_IN_RECORDING(vehicle)

Hash0x5F5E6379C59EFC56
Runtime nameSkipTimeInPlaybackRecordedVehicle
NamespaceVEHICLE
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x9438F7AD68771A20

Signature

void SKIP_TIME_IN_PLAYBACK_RECORDED_VEHICLE(Vehicle vehicle, float time);

Parameters

NameTypeDescription
vehicleVehicle—
timefloat—

Returns void

Description

SET_TIME_POSITION_IN_RECORDING can be emulated by: desired_time - GET_TIME_POSITION_IN_RECORDING(vehicle)

Usage

Lua
SkipTimeInPlaybackRecordedVehicle(vehicle, time)

-- always works, by hash
Citizen.InvokeNative(0x5F5E6379C59EFC56, vehicle, time)
JavaScript and C#
JavaScript
SkipTimeInPlaybackRecordedVehicle(vehicle, time);

// by hash
Citizen.invokeNative('0x5F5E6379C59EFC56', vehicle, time + 0.0000001);
C#
Function.Call((Hash)0x5F5E6379C59EFC56, vehicle, time);
  • 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

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.