TasksClient

isControlledVehicleUnableToGetToRoad

IS_CONTROLLED_VEHICLE_UNABLE_TO_GET_TO_ROAD0x3E38E28A1D80DDF6

The GTA V native IS_CONTROLLED_VEHICLE_UNABLE_TO_GET_TO_ROAD of the TASK namespace, as LS:MP client scripts call it: the global function isControlledVehicleUnableToGetToRoad, in JavaScript and in Lua.

SignatureJavaScript
isControlledVehicleUnableToGetToRoad(ped: Ped): boolean
SignatureLua
isControlledVehicleUnableToGetToRoad(ped: Ped): boolean

Usage

JavaScript
const result = isControlledVehicleUnableToGetToRoad(ped);
Lua
local result = isControlledVehicleUnableToGetToRoad(ped)

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Tasks TASK
In the game
BOOL IS_CONTROLLED_VEHICLE_UNABLE_TO_GET_TO_ROAD(Ped ped)
Hash
0x3E38E28A1D80DDF6

Open in the interactive natives reference