VehicleClient

isVehicleAlarmActivated

IS_VEHICLE_ALARM_ACTIVATED0x4319E335B71FFF34

The GTA V native IS_VEHICLE_ALARM_ACTIVATED of the VEHICLE namespace, as LS:MP client scripts call it: the global function isVehicleAlarmActivated, in JavaScript and in Lua.

SignatureJavaScript
isVehicleAlarmActivated(vehicle: Vehicle): boolean
SignatureLua
isVehicleAlarmActivated(vehicle: Vehicle): boolean

Usage

JavaScript
const result = isVehicleAlarmActivated(vehicle);
Lua
local result = isVehicleAlarmActivated(vehicle)

Parameters

ParameterTypeJavaScriptLua
vehicleVehiclenumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Vehicle VEHICLE
In the game
BOOL IS_VEHICLE_ALARM_ACTIVATED(Vehicle vehicle)
Hash
0x4319E335B71FFF34

Open in the interactive natives reference