AudioClient

setHornPermanentlyOn

SET_HORN_PERMANENTLY_ON0x9C11908013EA4715

The 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.

SignatureJavaScript
setHornPermanentlyOn(vehicle: Vehicle): void
SignatureLua
setHornPermanentlyOn(vehicle: Vehicle)

Usage

JavaScript
setHornPermanentlyOn(vehicle);
Lua
setHornPermanentlyOn(vehicle)

Parameters

ParameterTypeJavaScriptLua
vehicleVehiclenumberinteger

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

Open in the interactive natives reference