setAggressiveHorns
SET_AGGRESSIVE_HORNS0x395BF71085D1B1D9The 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.
setAggressiveHorns(toggle: boolean): voidsetAggressiveHorns(toggle: boolean)Usage
JavaScript
setAggressiveHorns(toggle);Lua
setAggressiveHorns(toggle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
toggle | BOOL | boolean | boolean |
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