GET_TIME_POSITION_IN_RECORDING
Returns the current playback time of the recording on vehicle.
Signature
float GET_TIME_POSITION_IN_RECORDING(Vehicle vehicle); // 0x233B51C7913FA031 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | vehicle | Vehicle |
Facts
| Name | GET_TIME_POSITION_IN_RECORDING |
|---|---|
| Hash | 0x233B51C7913FA031 |
| Namespace | |
| Returns | float |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result = Citizen.InvokeNative(0x233B51C7913FA031, -- GET_TIME_POSITION_IN_RECORDING
0, -- Vehicle vehicle
Citizen.ResultAsFloat()
)
print(result)const result = Citizen.invokeNative("0x233B51C7913FA031", // GET_TIME_POSITION_IN_RECORDING
0, // Vehicle vehicle
Citizen.resultAsFloat()
);
console.log(result)float result = Function.Call<float>((Hash)0x233B51C7913FA031, // GET_TIME_POSITION_IN_RECORDING
0 // Vehicle vehicle
);Related VEHICLE natives
- GET_POSITION_OF_VEHICLE_RECORDING_AT_TIME
- GET_ROTATION_OF_VEHICLE_RECORDING_AT_TIME
- GET_LAST_PED_IN_VEHICLE_SEAT
- GET_PED_IN_VEHICLE_SEAT
- _GET_NEAREST_TRAIN_TRACK_POSITION
- _GET_PED_IN_DRAFT_HARNESS
- _GET_TRAIN_POSITION_ON_TRACK
- SKIP_TIME_IN_PLAYBACK_RECORDED_VEHICLE
- GET_TRACK_INDEX_OF_TRAIN
- GET_TRAIN_CARRIAGE
- GET_CLOSEST_VEHICLE
- GET_CURRENT_STATION_FOR_TRAIN
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.