setVehicleStartupRevSound
SET_VEHICLE_STARTUP_REV_SOUND0xF1F8157B8C3F171CThe 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.
setVehicleStartupRevSound(vehicle: Vehicle, p1: string, p2: string): voidsetVehicleStartupRevSound(vehicle: Vehicle, p1: string, p2: string)Usage
JavaScript
setVehicleStartupRevSound(vehicle, p1, p2);Lua
setVehicleStartupRevSound(vehicle, p1, p2)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
vehicle | Vehicle | number | integer |
p1 | string | string | string |
p2 | string | string | string |
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