VehicleClient

trackVehicleVisibility

TRACK_VEHICLE_VISIBILITY0x64473AEFDCF47DCA

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

SignatureJavaScript
trackVehicleVisibility(vehicle: Vehicle): void
SignatureLua
trackVehicleVisibility(vehicle: Vehicle)

Usage

JavaScript
trackVehicleVisibility(vehicle);
Lua
trackVehicleVisibility(vehicle)

Parameters

ParameterTypeJavaScriptLua
vehicleVehiclenumberinteger

Returns

Nothing. In JavaScript the call evaluates to undefined.

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

in script hook .net

Vehicle v = ...;
Function.Call(Hash.TRACK_VEHICLE_VISIBILITY, v.Handle);

Reference

Namespace
Vehicle VEHICLE
In the game
void TRACK_VEHICLE_VISIBILITY(Vehicle vehicle)
Hash
0x64473AEFDCF47DCA

Open in the interactive natives reference