VehicleClient

isVehicleProducingSlipStream

IS_VEHICLE_PRODUCING_SLIP_STREAM0x48C633E94A8142A7

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

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

Usage

JavaScript
const result = isVehicleProducingSlipStream(vehicle);
Lua
local result = isVehicleProducingSlipStream(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 the vehicle is being slipstreamed by another vehicle

Reference

Namespace
Vehicle VEHICLE
In the game
BOOL IS_VEHICLE_PRODUCING_SLIP_STREAM(Vehicle vehicle)
Hash
0x48C633E94A8142A7
Introduced
Game build 877 legacy numbering
Formerly
_IS_VEHICLE_SLIPSTREAM_LEADER

Open in the interactive natives reference