getVehicleDefaultHorn
GET_VEHICLE_DEFAULT_HORN0x02165D55000219ACThe GTA V native GET_VEHICLE_DEFAULT_HORN of the AUDIO namespace, as LS:MP client scripts call it: the global function getVehicleDefaultHorn, in JavaScript and in Lua.
getVehicleDefaultHorn(vehicle: Vehicle): HashgetVehicleDefaultHorn(vehicle: Vehicle): HashUsage
JavaScript
const hash = getVehicleDefaultHorn(vehicle);Lua
local hash = getVehicleDefaultHorn(vehicle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
vehicle | Vehicle | number | integer |
Returns
Hash JavaScript number, Lua integerA 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.
Notes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Returns hash of default vehicle horn
Reference
- Namespace
- Audio AUDIO
- In the game
Hash GET_VEHICLE_DEFAULT_HORN(Vehicle vehicle)- Hash
0x02165D55000219AC