setMinimumTimeBetweenGearShifts
_SET_MINIMUM_TIME_BETWEEN_GEAR_SHIFTS0x16CFBC5E7EB32861The GTA V native _SET_MINIMUM_TIME_BETWEEN_GEAR_SHIFTS of the VEHICLE namespace, as LS:MP client scripts call it: the global function setMinimumTimeBetweenGearShifts, in JavaScript and in Lua.
setMinimumTimeBetweenGearShifts(vehicle: Vehicle, time: number): voidsetMinimumTimeBetweenGearShifts(vehicle: Vehicle, time: integer)⚠
Not in this game build
The global exists, but the native is not part of the game build LS:MP runs: calling it does nothing and returns undefined in JavaScript, nil in Lua. It never throws. See Coverage.
Usage
JavaScript
setMinimumTimeBetweenGearShifts(vehicle, time);Lua
setMinimumTimeBetweenGearShifts(vehicle, time)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
vehicle | Vehicle | number | integer |
time | int | number | integer |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Vehicle VEHICLE
- In the game
void _SET_MINIMUM_TIME_BETWEEN_GEAR_SHIFTS(Vehicle vehicle, int time)- Hash
0x16CFBC5E7EB32861- Introduced
- Game build 3095 legacy numbering