VehicleClientNot in this build

setMinimumTimeBetweenGearShifts

_SET_MINIMUM_TIME_BETWEEN_GEAR_SHIFTS0x16CFBC5E7EB32861

The 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.

SignatureJavaScript
setMinimumTimeBetweenGearShifts(vehicle: Vehicle, time: number): void
SignatureLua
setMinimumTimeBetweenGearShifts(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

ParameterTypeJavaScriptLua
vehicleVehiclenumberinteger
timeintnumberinteger

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

Open in the interactive natives reference