VehicleClient

getIsVehicleDisabledByEmp

GET_IS_VEHICLE_DISABLED_BY_EMP0x0506ED94363AD905

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

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

Usage

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

Parameters

ParameterTypeJavaScriptLua
vehicleVehiclenumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Notes

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

Returns whether this vehicle is currently disabled by an EMP mine.

Reference

Namespace
Vehicle VEHICLE
In the game
BOOL GET_IS_VEHICLE_DISABLED_BY_EMP(Vehicle vehicle)
Hash
0x0506ED94363AD905
Introduced
Game build 1604 legacy numbering
Formerly
_GET_IS_VEHICLE_EMP_DISABLED

Open in the interactive natives reference