setVehicleMaxLaunchEngineRevs
_SET_VEHICLE_MAX_LAUNCH_ENGINE_REVS0x5AE614ECA5FDD423The GTA V native _SET_VEHICLE_MAX_LAUNCH_ENGINE_REVS of the VEHICLE namespace, as LS:MP client scripts call it: the global function setVehicleMaxLaunchEngineRevs, in JavaScript and in Lua.
setVehicleMaxLaunchEngineRevs(vehicle: Vehicle, modifier: number): voidsetVehicleMaxLaunchEngineRevs(vehicle: Vehicle, modifier: number)⚠
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
setVehicleMaxLaunchEngineRevs(vehicle, modifier);Lua
setVehicleMaxLaunchEngineRevs(vehicle, modifier)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
vehicle | Vehicle | number | integer |
modifier | float | number | number |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Notes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
0.0f = engine rev minimum
1.0f = engine rev limit
Reference
- Namespace
- Vehicle VEHICLE
- In the game
void _SET_VEHICLE_MAX_LAUNCH_ENGINE_REVS(Vehicle vehicle, float modifier)- Hash
0x5AE614ECA5FDD423- Introduced
- Game build 3095 legacy numbering