AudioClient

getVehicleDefaultHornIgnoreMods

GET_VEHICLE_DEFAULT_HORN_IGNORE_MODS0xACB5DCCA1EC76840

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

SignatureJavaScript
getVehicleDefaultHornIgnoreMods(vehicle: Vehicle): Hash
SignatureLua
getVehicleDefaultHornIgnoreMods(vehicle: Vehicle): Hash

Usage

JavaScript
const hash = getVehicleDefaultHornIgnoreMods(vehicle);
Lua
local hash = getVehicleDefaultHornIgnoreMods(vehicle)

Parameters

ParameterTypeJavaScriptLua
vehicleVehiclenumberinteger

Returns

Hash JavaScript number, Lua integer

A game hash. Natives return it unsigned (0 to 4294967295), the value lsmp.hash gives. As an argument, the signed and unsigned forms of a hash are the same value.

Reference

Namespace
Audio AUDIO
In the game
Hash GET_VEHICLE_DEFAULT_HORN_IGNORE_MODS(Vehicle vehicle)
Hash
0xACB5DCCA1EC76840
Formerly
_GET_VEHICLE_HORN_HASH

Open in the interactive natives reference