forceVehicleEngineSynth
_FORCE_VEHICLE_ENGINE_SYNTH0xEB7D0E1FCC8FE17AThe GTA V native _FORCE_VEHICLE_ENGINE_SYNTH of the AUDIO namespace, as LS:MP client scripts call it: the global function forceVehicleEngineSynth, in JavaScript and in Lua.
forceVehicleEngineSynth(vehicle: Vehicle, force: boolean): voidforceVehicleEngineSynth(vehicle: Vehicle, force: 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
forceVehicleEngineSynth(vehicle, force);Lua
forceVehicleEngineSynth(vehicle, force)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
vehicle | Vehicle | number | integer |
force | BOOL | boolean | boolean |
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.
Called together with setVehicleTyresCanBurst
Reference
- Namespace
- Audio AUDIO
- In the game
void _FORCE_VEHICLE_ENGINE_SYNTH(Vehicle vehicle, BOOL force)- Hash
0xEB7D0E1FCC8FE17A- Introduced
- Game build 3258 legacy numbering