getIsVehicleDisabledByEmp
GET_IS_VEHICLE_DISABLED_BY_EMP0x0506ED94363AD905The 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.
getIsVehicleDisabledByEmp(vehicle: Vehicle): booleangetIsVehicleDisabledByEmp(vehicle: Vehicle): booleanUsage
JavaScript
const result = getIsVehicleDisabledByEmp(vehicle);Lua
local result = getIsVehicleDisabledByEmp(vehicle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
vehicle | Vehicle | number | integer |
Returns
BOOL JavaScript boolean, Lua booleanNotes
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