SET_PLAYBACK_SPEED
Sets the playback speed of the recording on vehicle.
Signature
void SET_PLAYBACK_SPEED(Vehicle vehicle, float speed); // 0xD78084EED4CD94C6 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | vehicle | Vehicle |
| 2 | speed | float |
Facts
| Name | SET_PLAYBACK_SPEED |
|---|---|
| Hash | 0xD78084EED4CD94C6 |
| Namespace | |
| Returns | void |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
Citizen.InvokeNative(0xD78084EED4CD94C6, -- SET_PLAYBACK_SPEED
0, -- Vehicle vehicle
0.0 -- float speed
)// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0xD78084EED4CD94C6", // SET_PLAYBACK_SPEED
0, // Vehicle vehicle
0.0 // float speed
);Function.Call((Hash)0xD78084EED4CD94C6, // SET_PLAYBACK_SPEED
0, // Vehicle vehicle
0.0f // float speed
);Related VEHICLE natives
- SET_TRAIN_CRUISE_SPEED
- SET_TRAIN_SPEED
- SET_VEHICLE_FORWARD_SPEED
- SET_VEHICLE_INACTIVE_DURING_PLAYBACK
- SET_VEHICLE_LIMIT_SPEED_WHEN_PLAYER_INACTIVE
- _SET_DRAFT_VEHICLE_DESIRED_SPEED
- _SET_OARS_ROWING_SPEED
- _SET_TRAIN_MAX_SPEED
- SET_PARKED_VEHICLE_DENSITY_MULTIPLIER_THIS_FRAME
- SET_PED_OWNS_VEHICLE
- SET_ALL_VEHICLE_GENERATORS_ACTIVE
- SET_ALL_VEHICLE_GENERATORS_ACTIVE_IN_AREA
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.