isVehicleProducingSlipStream
IS_VEHICLE_PRODUCING_SLIP_STREAM0x48C633E94A8142A7The 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.
isVehicleProducingSlipStream(vehicle: Vehicle): booleanisVehicleProducingSlipStream(vehicle: Vehicle): booleanUsage
JavaScript
const result = isVehicleProducingSlipStream(vehicle);Lua
local result = isVehicleProducingSlipStream(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 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