setHornPermanentlyOn
SET_HORN_PERMANENTLY_ON0x9C11908013EA4715The GTA V native SET_HORN_PERMANENTLY_ON of the AUDIO namespace, as LS:MP client scripts call it: the global function setHornPermanentlyOn, in JavaScript and in Lua.
setHornPermanentlyOn(vehicle: Vehicle): voidsetHornPermanentlyOn(vehicle: Vehicle)Usage
JavaScript
setHornPermanentlyOn(vehicle);Lua
setHornPermanentlyOn(vehicle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
vehicle | Vehicle | number | integer |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Audio AUDIO
- In the game
void SET_HORN_PERMANENTLY_ON(Vehicle vehicle)- Hash
0x9C11908013EA4715- Formerly
_SOUND_VEHICLE_HORN_THIS_FRAME