IS_HORN_ACTIVE
Checks whether the horn of a vehicle is currently played.
Hash
0x9D6BFC12B05C6121Runtime name
IsHornActiveNamespaceAUDIO
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x9D6BFC12B05C6121Signature
BOOL IS_HORN_ACTIVE(Vehicle vehicle);Parameters
| Name | Type | Description |
|---|---|---|
vehicle | Vehicle | — |
Returns BOOL
Description
Checks whether the horn of a vehicle is currently played.
Usage
local retval = IsHornActive(vehicle)
-- always works, by hash
local retval = Citizen.InvokeNative(0x9D6BFC12B05C6121, vehicle, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = IsHornActive(vehicle);
// by hash
const retval = Citizen.invokeNative('0x9D6BFC12B05C6121', vehicle, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0x9D6BFC12B05C6121, vehicle);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.