PedClient

requestPedVehicleVisibilityTracking

REQUEST_PED_VEHICLE_VISIBILITY_TRACKING0x2BC338A7B21F4608

The GTA V native REQUEST_PED_VEHICLE_VISIBILITY_TRACKING of the PED namespace, as LS:MP client scripts call it: the global function requestPedVehicleVisibilityTracking, in JavaScript and in Lua.

SignatureJavaScript
requestPedVehicleVisibilityTracking(ped: Ped, p1: boolean): void
SignatureLua
requestPedVehicleVisibilityTracking(ped: Ped, p1: boolean)

Usage

JavaScript
requestPedVehicleVisibilityTracking(ped, p1);
Lua
requestPedVehicleVisibilityTracking(ped, p1)

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger
p1BOOLbooleanboolean

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Ped PED
In the game
void REQUEST_PED_VEHICLE_VISIBILITY_TRACKING(Ped ped, BOOL p1)
Hash
0x2BC338A7B21F4608
Formerly
GET_PED_FLOOD_INVINCIBILITY

Open in the interactive natives reference