AudioClient

setAudioVehiclePriority

SET_AUDIO_VEHICLE_PRIORITY0xE5564483E407F914

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

SignatureJavaScript
setAudioVehiclePriority(vehicle: Vehicle, p1: any): void
SignatureLua
setAudioVehiclePriority(vehicle: Vehicle, p1: any)

Usage

JavaScript
setAudioVehiclePriority(vehicle, p1);
Lua
setAudioVehiclePriority(vehicle, p1)

Parameters

ParameterTypeJavaScriptLua
vehicleVehiclenumberinteger
p1Anyanyany

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Audio AUDIO
In the game
void SET_AUDIO_VEHICLE_PRIORITY(Vehicle vehicle, Any p1)
Hash
0xE5564483E407F914

Open in the interactive natives reference