AudioClient

enableVehicleExhaustPops

ENABLE_VEHICLE_EXHAUST_POPS0x2BE4BC731D039D5A

The GTA V native ENABLE_VEHICLE_EXHAUST_POPS of the AUDIO namespace, as LS:MP client scripts call it: the global function enableVehicleExhaustPops, in JavaScript and in Lua.

SignatureJavaScript
enableVehicleExhaustPops(vehicle: Vehicle, toggle: boolean): void
SignatureLua
enableVehicleExhaustPops(vehicle: Vehicle, toggle: boolean)

Usage

JavaScript
enableVehicleExhaustPops(vehicle, toggle);
Lua
enableVehicleExhaustPops(vehicle, toggle)

Parameters

ParameterTypeJavaScriptLua
vehicleVehiclenumberinteger
toggleBOOLbooleanboolean

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Audio AUDIO
In the game
void ENABLE_VEHICLE_EXHAUST_POPS(Vehicle vehicle, BOOL toggle)
Hash
0x2BE4BC731D039D5A

Open in the interactive natives reference