VehicleClient

isPlaybackUsingAiGoingOnForVehicle

IS_PLAYBACK_USING_AI_GOING_ON_FOR_VEHICLE0xAEA8FD591FAD4106

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

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

Usage

JavaScript
const result = isPlaybackUsingAiGoingOnForVehicle(vehicle);
Lua
local result = isPlaybackUsingAiGoingOnForVehicle(vehicle)

Parameters

ParameterTypeJavaScriptLua
vehicleVehiclenumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Vehicle VEHICLE
In the game
BOOL IS_PLAYBACK_USING_AI_GOING_ON_FOR_VEHICLE(Vehicle vehicle)
Hash
0xAEA8FD591FAD4106

Open in the interactive natives reference