isVehicleBeingBroughtToHalt
IS_VEHICLE_BEING_BROUGHT_TO_HALT0xC69BB1D832A710EFThe GTA V native IS_VEHICLE_BEING_BROUGHT_TO_HALT of the VEHICLE namespace, as LS:MP client scripts call it: the global function isVehicleBeingBroughtToHalt, in JavaScript and in Lua.
isVehicleBeingBroughtToHalt(vehicle: Vehicle): booleanisVehicleBeingBroughtToHalt(vehicle: Vehicle): booleanUsage
JavaScript
const result = isVehicleBeingBroughtToHalt(vehicle);Lua
local result = isVehicleBeingBroughtToHalt(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 true if vehicle is halted by bringVehicleToHalt
Reference
- Namespace
- Vehicle VEHICLE
- In the game
BOOL IS_VEHICLE_BEING_BROUGHT_TO_HALT(Vehicle vehicle)- Hash
0xC69BB1D832A710EF- Introduced
- Game build 1493 legacy numbering
- Formerly
_IS_VEHICLE_BEING_HALTED