VehicleClient

isVehicleBeingBroughtToHalt

IS_VEHICLE_BEING_BROUGHT_TO_HALT0xC69BB1D832A710EF

The 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.

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

Usage

JavaScript
const result = isVehicleBeingBroughtToHalt(vehicle);
Lua
local result = isVehicleBeingBroughtToHalt(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 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

Open in the interactive natives reference