AudioClient

useSirenAsHorn

USE_SIREN_AS_HORN0xFA932DE350266EF8

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

SignatureJavaScript
useSirenAsHorn(vehicle: Vehicle, toggle: boolean): void
SignatureLua
useSirenAsHorn(vehicle: Vehicle, toggle: boolean)

Usage

JavaScript
useSirenAsHorn(vehicle, toggle);
Lua
useSirenAsHorn(vehicle, toggle)

Parameters

ParameterTypeJavaScriptLua
vehicleVehiclenumberinteger
toggleBOOLbooleanboolean

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Audio AUDIO
In the game
void USE_SIREN_AS_HORN(Vehicle vehicle, BOOL toggle)
Hash
0xFA932DE350266EF8

Open in the interactive natives reference