AudioClient

setVehicleStartupRevSound

SET_VEHICLE_STARTUP_REV_SOUND0xF1F8157B8C3F171C

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

SignatureJavaScript
setVehicleStartupRevSound(vehicle: Vehicle, p1: string, p2: string): void
SignatureLua
setVehicleStartupRevSound(vehicle: Vehicle, p1: string, p2: string)

Usage

JavaScript
setVehicleStartupRevSound(vehicle, p1, p2);
Lua
setVehicleStartupRevSound(vehicle, p1, p2)

Parameters

ParameterTypeJavaScriptLua
vehicleVehiclenumberinteger
p1stringstringstring
p2stringstringstring

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Audio AUDIO
In the game
void SET_VEHICLE_STARTUP_REV_SOUND(Vehicle vehicle, const char* p1, const char* p2)
Hash
0xF1F8157B8C3F171C

Open in the interactive natives reference