AudioClient

setAggressiveHorns

SET_AGGRESSIVE_HORNS0x395BF71085D1B1D9

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

SignatureJavaScript
setAggressiveHorns(toggle: boolean): void
SignatureLua
setAggressiveHorns(toggle: boolean)

Usage

JavaScript
setAggressiveHorns(toggle);
Lua
setAggressiveHorns(toggle)

Parameters

ParameterTypeJavaScriptLua
toggleBOOLbooleanboolean

Returns

Nothing. In JavaScript the call evaluates to undefined.

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

Makes pedestrians sound their horn longer, faster and more agressive when they use their horn.

Reference

Namespace
Audio AUDIO
In the game
void SET_AGGRESSIVE_HORNS(BOOL toggle)
Hash
0x395BF71085D1B1D9

Open in the interactive natives reference