VehicleClientNot in this build

setTransmissionReducedGearRatio

_SET_TRANSMISSION_REDUCED_GEAR_RATIO0x337EF33DA3DDB990

The GTA V native _SET_TRANSMISSION_REDUCED_GEAR_RATIO of the VEHICLE namespace, as LS:MP client scripts call it: the global function setTransmissionReducedGearRatio, in JavaScript and in Lua.

SignatureJavaScript
setTransmissionReducedGearRatio(vehicle: Vehicle, toggle: boolean): void
SignatureLua
setTransmissionReducedGearRatio(vehicle: Vehicle, toggle: boolean)
⚠
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
setTransmissionReducedGearRatio(vehicle, toggle);
Lua
setTransmissionReducedGearRatio(vehicle, toggle)

Parameters

ParameterTypeJavaScriptLua
vehicleVehiclenumberinteger
toggleBOOLbooleanboolean

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Vehicle VEHICLE
In the game
void _SET_TRANSMISSION_REDUCED_GEAR_RATIO(Vehicle vehicle, BOOL toggle)
Hash
0x337EF33DA3DDB990
Introduced
Game build 3095 legacy numbering

Open in the interactive natives reference