setTransmissionReducedGearRatio
_SET_TRANSMISSION_REDUCED_GEAR_RATIO0x337EF33DA3DDB990The 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.
setTransmissionReducedGearRatio(vehicle: Vehicle, toggle: boolean): voidsetTransmissionReducedGearRatio(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
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
vehicle | Vehicle | number | integer |
toggle | BOOL | boolean | boolean |
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